libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
DAC Channel 2 Trigger Source Selection
Collaboration diagram for DAC Channel 2 Trigger Source Selection:

Macros

#define DAC_CR_TSEL2_T6   (0x0 << DAC_CR_TSEL2_SHIFT)
 
#define DAC_CR_TSEL2_T3   (0x1 << DAC_CR_TSEL2_SHIFT)
 
#define DAC_CR_TSEL2_T8   (0x1 << DAC_CR_TSEL2_SHIFT)
 
#define DAC_CR_TSEL2_T7   (0x2 << DAC_CR_TSEL2_SHIFT)
 
#define DAC_CR_TSEL2_T5   (0x3 << DAC_CR_TSEL2_SHIFT)
 
#define DAC_CR_TSEL2_T15   (0x3 << DAC_CR_TSEL2_SHIFT)
 
#define DAC_CR_TSEL2_T2   (0x4 << DAC_CR_TSEL2_SHIFT)
 
#define DAC_CR_TSEL2_T4   (0x5 << DAC_CR_TSEL2_SHIFT)
 
#define DAC_CR_TSEL2_E9   (0x6 << DAC_CR_TSEL2_SHIFT)
 
#define DAC_CR_TSEL2_SW   (0x7 << DAC_CR_TSEL2_SHIFT)
 

Detailed Description

Note
: Refer to the timer documentation for details of the TRGO event.
: T3 replaced by T8 and T5 replaced by T15 in some devices.
: this is not valid for the STM32L1 family.
: only used if bit TEN2 is set (DAC channel 2 trigger enabled)

Macro Definition Documentation

◆ DAC_CR_TSEL2_E9

#define DAC_CR_TSEL2_E9   (0x6 << DAC_CR_TSEL2_SHIFT)

Definition at line 74 of file dac_common_v1.h.

◆ DAC_CR_TSEL2_SW

#define DAC_CR_TSEL2_SW   (0x7 << DAC_CR_TSEL2_SHIFT)

Definition at line 75 of file dac_common_v1.h.

◆ DAC_CR_TSEL2_T15

#define DAC_CR_TSEL2_T15   (0x3 << DAC_CR_TSEL2_SHIFT)

Definition at line 71 of file dac_common_v1.h.

◆ DAC_CR_TSEL2_T2

#define DAC_CR_TSEL2_T2   (0x4 << DAC_CR_TSEL2_SHIFT)

Definition at line 72 of file dac_common_v1.h.

◆ DAC_CR_TSEL2_T3

#define DAC_CR_TSEL2_T3   (0x1 << DAC_CR_TSEL2_SHIFT)

Definition at line 67 of file dac_common_v1.h.

◆ DAC_CR_TSEL2_T4

#define DAC_CR_TSEL2_T4   (0x5 << DAC_CR_TSEL2_SHIFT)

Definition at line 73 of file dac_common_v1.h.

◆ DAC_CR_TSEL2_T5

#define DAC_CR_TSEL2_T5   (0x3 << DAC_CR_TSEL2_SHIFT)

Definition at line 70 of file dac_common_v1.h.

◆ DAC_CR_TSEL2_T6

#define DAC_CR_TSEL2_T6   (0x0 << DAC_CR_TSEL2_SHIFT)

Definition at line 66 of file dac_common_v1.h.

◆ DAC_CR_TSEL2_T7

#define DAC_CR_TSEL2_T7   (0x2 << DAC_CR_TSEL2_SHIFT)

Definition at line 69 of file dac_common_v1.h.

◆ DAC_CR_TSEL2_T8

#define DAC_CR_TSEL2_T8   (0x1 << DAC_CR_TSEL2_SHIFT)

Definition at line 68 of file dac_common_v1.h.