Blink LED with timer

This commit is contained in:
Alexander Heldt
2024-08-03 11:50:37 +02:00
parent 062a014c7c
commit a3c1de878a
10 changed files with 9001 additions and 954 deletions

View File

@@ -118,4 +118,7 @@ struct rcc {
#define RCC_APB1ENR_PWREN_BIT 28
#define RCC_APB1ENR_PWREN_CLOCK_ENABLE (1 << RCC_APB1ENR_PWREN_BIT)
#define RCC_APB1ENR_TIM4_BIT 2
#define RCC_APB1ENR_TIM4_ENABLE (1 << RCC_APB1ENR_TIM4_BIT)
#endif