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_SW   (0x0 << 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_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_T6   (0x7 << DAC_CR_TSEL2_SHIFT)
 
#define DAC_CR_TSEL2_T3   (0x8 << DAC_CR_TSEL2_SHIFT)
 
#define DAC_CR_TSEL2_HRR1   (0x9 << DAC_CR_TSEL2_SHIFT)
 
#define DAC_CR_TSEL2_HRR2   (0xA << DAC_CR_TSEL2_SHIFT)
 
#define DAC_CR_TSEL2_HRR3   (0xB << DAC_CR_TSEL2_SHIFT)
 
#define DAC_CR_TSEL2_HRR4   (0xC << DAC_CR_TSEL2_SHIFT)
 
#define DAC_CR_TSEL2_HRR5   (0xD << DAC_CR_TSEL2_SHIFT)
 
#define DAC_CR_TSEL2_HRR6   (0xE << DAC_CR_TSEL2_SHIFT)
 
#define DAC_CR_TSEL2_HR2   (0xF << DAC_CR_TSEL2_SHIFT)
 

Detailed Description

Note
: 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 109 of file dac_common_v2.h.

◆ DAC_CR_TSEL2_HR2

#define DAC_CR_TSEL2_HR2   (0xF << DAC_CR_TSEL2_SHIFT)

Definition at line 118 of file dac_common_v2.h.

◆ DAC_CR_TSEL2_HRR1

#define DAC_CR_TSEL2_HRR1   (0x9 << DAC_CR_TSEL2_SHIFT)

Definition at line 112 of file dac_common_v2.h.

◆ DAC_CR_TSEL2_HRR2

#define DAC_CR_TSEL2_HRR2   (0xA << DAC_CR_TSEL2_SHIFT)

Definition at line 113 of file dac_common_v2.h.

◆ DAC_CR_TSEL2_HRR3

#define DAC_CR_TSEL2_HRR3   (0xB << DAC_CR_TSEL2_SHIFT)

Definition at line 114 of file dac_common_v2.h.

◆ DAC_CR_TSEL2_HRR4

#define DAC_CR_TSEL2_HRR4   (0xC << DAC_CR_TSEL2_SHIFT)

Definition at line 115 of file dac_common_v2.h.

◆ DAC_CR_TSEL2_HRR5

#define DAC_CR_TSEL2_HRR5   (0xD << DAC_CR_TSEL2_SHIFT)

Definition at line 116 of file dac_common_v2.h.

◆ DAC_CR_TSEL2_HRR6

#define DAC_CR_TSEL2_HRR6   (0xE << DAC_CR_TSEL2_SHIFT)

Definition at line 117 of file dac_common_v2.h.

◆ DAC_CR_TSEL2_SW

#define DAC_CR_TSEL2_SW   (0x0 << DAC_CR_TSEL2_SHIFT)

Definition at line 103 of file dac_common_v2.h.

◆ DAC_CR_TSEL2_T15

#define DAC_CR_TSEL2_T15   (0x3 << DAC_CR_TSEL2_SHIFT)

Definition at line 106 of file dac_common_v2.h.

◆ DAC_CR_TSEL2_T2

#define DAC_CR_TSEL2_T2   (0x4 << DAC_CR_TSEL2_SHIFT)

Definition at line 107 of file dac_common_v2.h.

◆ DAC_CR_TSEL2_T3

#define DAC_CR_TSEL2_T3   (0x8 << DAC_CR_TSEL2_SHIFT)

Definition at line 111 of file dac_common_v2.h.

◆ DAC_CR_TSEL2_T4

#define DAC_CR_TSEL2_T4   (0x5 << DAC_CR_TSEL2_SHIFT)

Definition at line 108 of file dac_common_v2.h.

◆ DAC_CR_TSEL2_T6

#define DAC_CR_TSEL2_T6   (0x7 << DAC_CR_TSEL2_SHIFT)

Definition at line 110 of file dac_common_v2.h.

◆ DAC_CR_TSEL2_T7

#define DAC_CR_TSEL2_T7   (0x2 << DAC_CR_TSEL2_SHIFT)

Definition at line 105 of file dac_common_v2.h.

◆ DAC_CR_TSEL2_T8

#define DAC_CR_TSEL2_T8   (0x1 << DAC_CR_TSEL2_SHIFT)

Definition at line 104 of file dac_common_v2.h.