libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
dac_common_v1.h File Reference
Include dependency graph for dac_common_v1.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DAC_CR_TSEL2_SHIFT   19
 TSEL2[2:0]: DAC channel2 trigger selection. More...
 
#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)
 
#define DAC_CR_TEN2   (1 << 18)
 
#define DAC_CR_BOFF2   (1 << 17)
 
#define DAC_CR_TSEL1_SHIFT   3
 
#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)
 
#define DAC_CR_TEN1   (1 << 2)
 
#define DAC_CR_BOFF1   (1 << 1)