STM32F439xx HAL User Manual
Defines
Output Configuration Mode
TIM Exported Constants

Defines

#define LL_TIM_OCMODE_FROZEN   0x00000000U
#define LL_TIM_OCMODE_ACTIVE   TIM_CCMR1_OC1M_0
#define LL_TIM_OCMODE_INACTIVE   TIM_CCMR1_OC1M_1
#define LL_TIM_OCMODE_TOGGLE   (TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_0)
#define LL_TIM_OCMODE_FORCED_INACTIVE   TIM_CCMR1_OC1M_2
#define LL_TIM_OCMODE_FORCED_ACTIVE   (TIM_CCMR1_OC1M_2 | TIM_CCMR1_OC1M_0)
#define LL_TIM_OCMODE_PWM1   (TIM_CCMR1_OC1M_2 | TIM_CCMR1_OC1M_1)
#define LL_TIM_OCMODE_PWM2   (TIM_CCMR1_OC1M_2 | TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_0)

Define Documentation

#define LL_TIM_OCMODE_ACTIVE   TIM_CCMR1_OC1M_0

OCyREF is forced high on compare match

Definition at line 622 of file stm32f4xx_ll_tim.h.

#define LL_TIM_OCMODE_FORCED_ACTIVE   (TIM_CCMR1_OC1M_2 | TIM_CCMR1_OC1M_0)

OCyREF is forced high

Definition at line 626 of file stm32f4xx_ll_tim.h.

#define LL_TIM_OCMODE_FORCED_INACTIVE   TIM_CCMR1_OC1M_2

OCyREF is forced low

Definition at line 625 of file stm32f4xx_ll_tim.h.

#define LL_TIM_OCMODE_FROZEN   0x00000000U

The comparison between the output compare register TIMx_CCRy and the counter TIMx_CNT has no effect on the output channel level

Definition at line 621 of file stm32f4xx_ll_tim.h.

Referenced by LL_TIM_OC_StructInit().

#define LL_TIM_OCMODE_INACTIVE   TIM_CCMR1_OC1M_1

OCyREF is forced low on compare match

Definition at line 623 of file stm32f4xx_ll_tim.h.

#define LL_TIM_OCMODE_PWM1   (TIM_CCMR1_OC1M_2 | TIM_CCMR1_OC1M_1)

In upcounting, channel y is active as long as TIMx_CNT<TIMx_CCRy else inactive. In downcounting, channel y is inactive as long as TIMx_CNT>TIMx_CCRy else active.

Definition at line 627 of file stm32f4xx_ll_tim.h.

#define LL_TIM_OCMODE_PWM2   (TIM_CCMR1_OC1M_2 | TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_0)

In upcounting, channel y is inactive as long as TIMx_CNT<TIMx_CCRy else active. In downcounting, channel y is active as long as TIMx_CNT>TIMx_CCRy else inactive

Definition at line 628 of file stm32f4xx_ll_tim.h.

Referenced by LL_TIM_HALLSENSOR_Init().

#define LL_TIM_OCMODE_TOGGLE   (TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_0)

OCyREF toggles on compare match

Definition at line 624 of file stm32f4xx_ll_tim.h.