libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
TIMx_CR1 CMS[1:0]: Center-aligned Mode Selection
Collaboration diagram for TIMx_CR1 CMS[1:0]: Center-aligned Mode Selection:

Macros

#define TIM_CR1_CMS_EDGE   (0x0 << 5)
 
#define TIM_CR1_CMS_CENTER_1   (0x1 << 5)
 
#define TIM_CR1_CMS_CENTER_2   (0x2 << 5)
 
#define TIM_CR1_CMS_CENTER_3   (0x3 << 5)
 
#define TIM_CR1_CMS_MASK   (0x3 << 5)
 

Detailed Description

Macro Definition Documentation

◆ TIM_CR1_CMS_CENTER_1

#define TIM_CR1_CMS_CENTER_1   (0x1 << 5)

Definition at line 406 of file timer_common_all.h.

◆ TIM_CR1_CMS_CENTER_2

#define TIM_CR1_CMS_CENTER_2   (0x2 << 5)

Definition at line 407 of file timer_common_all.h.

◆ TIM_CR1_CMS_CENTER_3

#define TIM_CR1_CMS_CENTER_3   (0x3 << 5)

Definition at line 408 of file timer_common_all.h.

◆ TIM_CR1_CMS_EDGE

#define TIM_CR1_CMS_EDGE   (0x0 << 5)

Definition at line 405 of file timer_common_all.h.

◆ TIM_CR1_CMS_MASK

#define TIM_CR1_CMS_MASK   (0x3 << 5)

Definition at line 409 of file timer_common_all.h.