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

Macros

#define TIM_COUNTERMODE_UP   0x00000000U
 
#define TIM_COUNTERMODE_DOWN   TIM_CR1_DIR
 
#define TIM_COUNTERMODE_CENTERALIGNED1   TIM_CR1_CMS_0
 
#define TIM_COUNTERMODE_CENTERALIGNED2   TIM_CR1_CMS_1
 
#define TIM_COUNTERMODE_CENTERALIGNED3   TIM_CR1_CMS
 

Detailed Description

Macro Definition Documentation

◆ TIM_COUNTERMODE_CENTERALIGNED1

#define TIM_COUNTERMODE_CENTERALIGNED1   TIM_CR1_CMS_0

Center-aligned mode 1

◆ TIM_COUNTERMODE_CENTERALIGNED2

#define TIM_COUNTERMODE_CENTERALIGNED2   TIM_CR1_CMS_1

Center-aligned mode 2

◆ TIM_COUNTERMODE_CENTERALIGNED3

#define TIM_COUNTERMODE_CENTERALIGNED3   TIM_CR1_CMS

Center-aligned mode 3

◆ TIM_COUNTERMODE_DOWN

#define TIM_COUNTERMODE_DOWN   TIM_CR1_DIR

Counter used as down-counter

◆ TIM_COUNTERMODE_UP

#define TIM_COUNTERMODE_UP   0x00000000U

Counter used as up-counter