STM32F4xx HAL Driver master
STM32CubeF4 HAL / LL Drivers API Reference
Loading...
Searching...
No Matches
TIM Master Mode Selection
Collaboration diagram for TIM Master Mode Selection:

Macros

#define TIM_TRGO_RESET   0x00000000U
#define TIM_TRGO_ENABLE   TIM_CR2_MMS_0
#define TIM_TRGO_UPDATE   TIM_CR2_MMS_1
#define TIM_TRGO_OC1   (TIM_CR2_MMS_1 | TIM_CR2_MMS_0)
#define TIM_TRGO_OC1REF   TIM_CR2_MMS_2
#define TIM_TRGO_OC2REF   (TIM_CR2_MMS_2 | TIM_CR2_MMS_0)
#define TIM_TRGO_OC3REF   (TIM_CR2_MMS_2 | TIM_CR2_MMS_1)
#define TIM_TRGO_OC4REF   (TIM_CR2_MMS_2 | TIM_CR2_MMS_1 | TIM_CR2_MMS_0)

Detailed Description

Macro Definition Documentation

◆ TIM_TRGO_ENABLE

#define TIM_TRGO_ENABLE   TIM_CR2_MMS_0

TIMx_CR1.CEN bit is used as trigger output (TRGO)

Definition at line 867 of file stm32f4xx_hal_tim.h.

◆ TIM_TRGO_OC1

#define TIM_TRGO_OC1   (TIM_CR2_MMS_1 | TIM_CR2_MMS_0)

Capture or a compare match 1 is used as trigger output (TRGO)

Definition at line 869 of file stm32f4xx_hal_tim.h.

◆ TIM_TRGO_OC1REF

#define TIM_TRGO_OC1REF   TIM_CR2_MMS_2

OC1REF signal is used as trigger output (TRGO)

Definition at line 870 of file stm32f4xx_hal_tim.h.

◆ TIM_TRGO_OC2REF

#define TIM_TRGO_OC2REF   (TIM_CR2_MMS_2 | TIM_CR2_MMS_0)

OC2REF signal is used as trigger output(TRGO)

Definition at line 871 of file stm32f4xx_hal_tim.h.

◆ TIM_TRGO_OC3REF

#define TIM_TRGO_OC3REF   (TIM_CR2_MMS_2 | TIM_CR2_MMS_1)

OC3REF signal is used as trigger output(TRGO)

Definition at line 872 of file stm32f4xx_hal_tim.h.

◆ TIM_TRGO_OC4REF

#define TIM_TRGO_OC4REF   (TIM_CR2_MMS_2 | TIM_CR2_MMS_1 | TIM_CR2_MMS_0)

OC4REF signal is used as trigger output(TRGO)

Definition at line 873 of file stm32f4xx_hal_tim.h.

◆ TIM_TRGO_RESET

#define TIM_TRGO_RESET   0x00000000U

TIMx_EGR.UG bit is used as trigger output (TRGO)

Definition at line 866 of file stm32f4xx_hal_tim.h.

◆ TIM_TRGO_UPDATE

#define TIM_TRGO_UPDATE   TIM_CR2_MMS_1

Update event is used as trigger output (TRGO)

Definition at line 868 of file stm32f4xx_hal_tim.h.