TIM Clock Divider
- group TIM_Clock_Divider
Defines
-
TIM_CLOCK_DIVIDER_1 ((uint16_t)0x0)
The clock divider is 1.
-
TIM_CLOCK_DIVIDER_2 ((uint16_t)0x4)
The clock divider is 2.
-
TIM_CLOCK_DIVIDER_4 ((uint16_t)0x5)
The clock divider is 4.
-
TIM_CLOCK_DIVIDER_8 ((uint16_t)0x6)
The clock divider is 8.
-
TIM_CLOCK_DIVIDER_40 ((uint16_t)0x7)
The clock divider is 40.
-
IS_TIM_SOURCE_DIVIDER(DIV) (((DIV) == TIM_CLOCK_DIVIDER_1
) || \
((DIV) ==
TIM_CLOCK_DIVIDER_2) || \
((DIV) ==
TIM_CLOCK_DIVIDER_4) || \
((DIV) ==
TIM_CLOCK_DIVIDER_8) ||\
((DIV) ==
TIM_CLOCK_DIVIDER_40)) Check whether is the TIM clock divider.
-
TIM_CLOCK_DIVIDER_1 ((uint16_t)0x0)