STM32F439xx HAL User Manual
Defines
Slave Mode
TIM Exported Constants

Defines

#define LL_TIM_SLAVEMODE_DISABLED   0x00000000U
#define LL_TIM_SLAVEMODE_RESET   TIM_SMCR_SMS_2
#define LL_TIM_SLAVEMODE_GATED   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_0)
#define LL_TIM_SLAVEMODE_TRIGGER   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_1)

Define Documentation

#define LL_TIM_SLAVEMODE_DISABLED   0x00000000U

Slave mode disabled

Definition at line 745 of file stm32f4xx_ll_tim.h.

#define LL_TIM_SLAVEMODE_GATED   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_0)

Gated Mode - The counter clock is enabled when the trigger input (TRGI) is high

Definition at line 747 of file stm32f4xx_ll_tim.h.

#define LL_TIM_SLAVEMODE_RESET   TIM_SMCR_SMS_2

Reset Mode - Rising edge of the selected trigger input (TRGI) reinitializes the counter

Definition at line 746 of file stm32f4xx_ll_tim.h.

Referenced by LL_TIM_HALLSENSOR_Init().

#define LL_TIM_SLAVEMODE_TRIGGER   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_1)

Trigger Mode - The counter starts at a rising edge of the trigger TRGI

Definition at line 748 of file stm32f4xx_ll_tim.h.