Skip to content
Snippets Groups Projects
Commit be23c931 authored by Andreas "Paul" Pauli's avatar Andreas "Paul" Pauli
Browse files

board/nucleo-f303: corrected timer 3 clock value

parent 8aa0dde3
No related branches found
No related tags found
No related merge requests found
...@@ -120,7 +120,7 @@ extern "C" { ...@@ -120,7 +120,7 @@ extern "C" {
/* PWM 0 device configuration */ /* PWM 0 device configuration */
#define PWM_0_DEV TIM3 #define PWM_0_DEV TIM3
#define PWM_0_CHANNELS 4 #define PWM_0_CHANNELS 4
#define PWM_0_CLK (36000000U) #define PWM_0_CLK (72000000U)
#define PWM_0_CLKEN() (RCC->APB1ENR |= RCC_APB1ENR_TIM3EN) #define PWM_0_CLKEN() (RCC->APB1ENR |= RCC_APB1ENR_TIM3EN)
#define PWM_0_CLKDIS() (RCC->APB1ENR &= ~(RCC_APB1ENR_TIM3EN)) #define PWM_0_CLKDIS() (RCC->APB1ENR &= ~(RCC_APB1ENR_TIM3EN))
/* PWM 0 pin configuration */ /* PWM 0 pin configuration */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment