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

Macros

#define DAC_CHANNEL1   (1 << 0)
 
#define DAC_CHANNEL2   (1 << 1)
 
#define DAC_CHANNEL_BOTH   (DAC_CHANNEL1 | DAC_CHANNEL2)
 

Detailed Description

Note
Not all parts have two channels, notably, some of the smaller F0's

Macro Definition Documentation

◆ DAC_CHANNEL1

#define DAC_CHANNEL1   (1 << 0)

Definition at line 231 of file dac_common_all.h.

◆ DAC_CHANNEL2

#define DAC_CHANNEL2   (1 << 1)

Definition at line 232 of file dac_common_all.h.

◆ DAC_CHANNEL_BOTH

#define DAC_CHANNEL_BOTH   (DAC_CHANNEL1 | DAC_CHANNEL2)

Definition at line 233 of file dac_common_all.h.