STM32L486xx HAL User Manual
Defines
TIM Slave mode
TIM Exported Constants

Defines

#define TIM_SLAVEMODE_DISABLE   0x00000000U
#define TIM_SLAVEMODE_RESET   TIM_SMCR_SMS_2
#define TIM_SLAVEMODE_GATED   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_0)
#define TIM_SLAVEMODE_TRIGGER   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_1)
#define TIM_SLAVEMODE_EXTERNAL1   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_1 | TIM_SMCR_SMS_0)
#define TIM_SLAVEMODE_COMBINED_RESETTRIGGER   TIM_SMCR_SMS_3

Define Documentation

#define TIM_SLAVEMODE_COMBINED_RESETTRIGGER   TIM_SMCR_SMS_3

Combined reset + trigger mode

Definition at line 934 of file stm32l4xx_hal_tim.h.

#define TIM_SLAVEMODE_DISABLE   0x00000000U

Slave mode disabled

Definition at line 929 of file stm32l4xx_hal_tim.h.

#define TIM_SLAVEMODE_EXTERNAL1   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_1 | TIM_SMCR_SMS_0)

External Clock Mode 1

Definition at line 933 of file stm32l4xx_hal_tim.h.

Referenced by HAL_TIM_ConfigClockSource(), and TIM_ITRx_SetConfig().

#define TIM_SLAVEMODE_GATED   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_0)

Gated Mode

Definition at line 931 of file stm32l4xx_hal_tim.h.

#define TIM_SLAVEMODE_RESET   TIM_SMCR_SMS_2

Reset Mode

Definition at line 930 of file stm32l4xx_hal_tim.h.

Referenced by HAL_TIMEx_HallSensor_Init().

#define TIM_SLAVEMODE_TRIGGER   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_1)

Trigger Mode

Definition at line 932 of file stm32l4xx_hal_tim.h.

Referenced by HAL_TIM_OnePulse_ConfigChannel().