libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
TIMx_CR2 MMS[6:4]: Master Mode Selection
Collaboration diagram for TIMx_CR2 MMS[6:4]: Master Mode Selection:

Macros

#define TIM_CR2_MMS_RESET   (0x0 << 4)
 
#define TIM_CR2_MMS_ENABLE   (0x1 << 4)
 
#define TIM_CR2_MMS_UPDATE   (0x2 << 4)
 
#define TIM_CR2_MMS_COMPARE_PULSE   (0x3 << 4)
 
#define TIM_CR2_MMS_COMPARE_OC1REF   (0x4 << 4)
 
#define TIM_CR2_MMS_COMPARE_OC2REF   (0x5 << 4)
 
#define TIM_CR2_MMS_COMPARE_OC3REF   (0x6 << 4)
 
#define TIM_CR2_MMS_COMPARE_OC4REF   (0x7 << 4)
 
#define TIM_CR2_MMS_MASK   (0x7 << 4)
 

Detailed Description

Macro Definition Documentation

◆ TIM_CR2_MMS_COMPARE_OC1REF

#define TIM_CR2_MMS_COMPARE_OC1REF   (0x4 << 4)

Definition at line 471 of file timer_common_all.h.

◆ TIM_CR2_MMS_COMPARE_OC2REF

#define TIM_CR2_MMS_COMPARE_OC2REF   (0x5 << 4)

Definition at line 472 of file timer_common_all.h.

◆ TIM_CR2_MMS_COMPARE_OC3REF

#define TIM_CR2_MMS_COMPARE_OC3REF   (0x6 << 4)

Definition at line 473 of file timer_common_all.h.

◆ TIM_CR2_MMS_COMPARE_OC4REF

#define TIM_CR2_MMS_COMPARE_OC4REF   (0x7 << 4)

Definition at line 474 of file timer_common_all.h.

◆ TIM_CR2_MMS_COMPARE_PULSE

#define TIM_CR2_MMS_COMPARE_PULSE   (0x3 << 4)

Definition at line 470 of file timer_common_all.h.

◆ TIM_CR2_MMS_ENABLE

#define TIM_CR2_MMS_ENABLE   (0x1 << 4)

Definition at line 468 of file timer_common_all.h.

◆ TIM_CR2_MMS_MASK

#define TIM_CR2_MMS_MASK   (0x7 << 4)

Definition at line 475 of file timer_common_all.h.

◆ TIM_CR2_MMS_RESET

#define TIM_CR2_MMS_RESET   (0x0 << 4)

Definition at line 467 of file timer_common_all.h.

◆ TIM_CR2_MMS_UPDATE

#define TIM_CR2_MMS_UPDATE   (0x2 << 4)

Definition at line 469 of file timer_common_all.h.