RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Macros

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)

◆ 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)

◆ TIM_TRGO_OC1REF

#define TIM_TRGO_OC1REF   TIM_CR2_MMS_2

OC1REF signal is used as trigger output (TRGO)

◆ TIM_TRGO_OC2REF

#define TIM_TRGO_OC2REF   (TIM_CR2_MMS_2 | TIM_CR2_MMS_0)

OC2REF signal is used as trigger output(TRGO)

◆ TIM_TRGO_OC3REF

#define TIM_TRGO_OC3REF   (TIM_CR2_MMS_2 | TIM_CR2_MMS_1)

OC3REF signal is used as trigger output(TRGO)

◆ 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)

◆ TIM_TRGO_RESET

#define TIM_TRGO_RESET   0x00000000U

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

◆ TIM_TRGO_UPDATE

#define TIM_TRGO_UPDATE   TIM_CR2_MMS_1

Update event is used as trigger output (TRGO)