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

Macros

#define DAC_CR_TSEL1_T6   (0x0 << DAC_CR_TSEL1_SHIFT)
 
#define DAC_CR_TSEL1_T3   (0x1 << DAC_CR_TSEL1_SHIFT)
 
#define DAC_CR_TSEL1_T8   (0x1 << DAC_CR_TSEL1_SHIFT)
 
#define DAC_CR_TSEL1_T7   (0x2 << DAC_CR_TSEL1_SHIFT)
 
#define DAC_CR_TSEL1_T5   (0x3 << DAC_CR_TSEL1_SHIFT)
 
#define DAC_CR_TSEL1_T15   (0x3 << DAC_CR_TSEL1_SHIFT)
 
#define DAC_CR_TSEL1_T2   (0x4 << DAC_CR_TSEL1_SHIFT)
 
#define DAC_CR_TSEL1_T4   (0x5 << DAC_CR_TSEL1_SHIFT)
 
#define DAC_CR_TSEL1_E9   (0x6 << DAC_CR_TSEL1_SHIFT)
 
#define DAC_CR_TSEL1_SW   (0x7 << DAC_CR_TSEL1_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 TEN1 is set (DAC channel 1 trigger enabled).

Macro Definition Documentation

◆ DAC_CR_TSEL1_E9

#define DAC_CR_TSEL1_E9   (0x6 << DAC_CR_TSEL1_SHIFT)

Definition at line 113 of file dac_common_v1.h.

◆ DAC_CR_TSEL1_SW

#define DAC_CR_TSEL1_SW   (0x7 << DAC_CR_TSEL1_SHIFT)

Definition at line 114 of file dac_common_v1.h.

◆ DAC_CR_TSEL1_T15

#define DAC_CR_TSEL1_T15   (0x3 << DAC_CR_TSEL1_SHIFT)

Definition at line 110 of file dac_common_v1.h.

◆ DAC_CR_TSEL1_T2

#define DAC_CR_TSEL1_T2   (0x4 << DAC_CR_TSEL1_SHIFT)

Definition at line 111 of file dac_common_v1.h.

◆ DAC_CR_TSEL1_T3

#define DAC_CR_TSEL1_T3   (0x1 << DAC_CR_TSEL1_SHIFT)

Definition at line 106 of file dac_common_v1.h.

◆ DAC_CR_TSEL1_T4

#define DAC_CR_TSEL1_T4   (0x5 << DAC_CR_TSEL1_SHIFT)

Definition at line 112 of file dac_common_v1.h.

◆ DAC_CR_TSEL1_T5

#define DAC_CR_TSEL1_T5   (0x3 << DAC_CR_TSEL1_SHIFT)

Definition at line 109 of file dac_common_v1.h.

◆ DAC_CR_TSEL1_T6

#define DAC_CR_TSEL1_T6   (0x0 << DAC_CR_TSEL1_SHIFT)

Definition at line 105 of file dac_common_v1.h.

◆ DAC_CR_TSEL1_T7

#define DAC_CR_TSEL1_T7   (0x2 << DAC_CR_TSEL1_SHIFT)

Definition at line 108 of file dac_common_v1.h.

◆ DAC_CR_TSEL1_T8

#define DAC_CR_TSEL1_T8   (0x1 << DAC_CR_TSEL1_SHIFT)

Definition at line 107 of file dac_common_v1.h.