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

Macros

#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
 

Detailed Description

Macro Definition Documentation

◆ TIM_SLAVEMODE_COMBINED_RESETTRIGGER

#define TIM_SLAVEMODE_COMBINED_RESETTRIGGER   TIM_SMCR_SMS_3

Combined reset + trigger mode

◆ TIM_SLAVEMODE_DISABLE

#define TIM_SLAVEMODE_DISABLE   0x00000000U

Slave mode disabled

◆ TIM_SLAVEMODE_EXTERNAL1

#define TIM_SLAVEMODE_EXTERNAL1   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_1 | TIM_SMCR_SMS_0)

External Clock Mode 1

◆ TIM_SLAVEMODE_GATED

#define TIM_SLAVEMODE_GATED   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_0)

Gated Mode

◆ TIM_SLAVEMODE_RESET

#define TIM_SLAVEMODE_RESET   TIM_SMCR_SMS_2

Reset Mode

◆ TIM_SLAVEMODE_TRIGGER

#define TIM_SLAVEMODE_TRIGGER   (TIM_SMCR_SMS_2 | TIM_SMCR_SMS_1)

Trigger Mode