Module stm32_hal2::dac[][src]

Expand description

Support for the digital to Analog converter (DAC) peripheral.

Structs

Represents a Digital to Analog Converter (DAC) peripheral.

Enums

Three options are available to set DAC precision. Sets the DHR8R1 etc register contents.

Select the channel to output to. Most MCUs only use 2 channels.

Select the DAC to use.

Sets the DAC_MCR register, Mode1 and Mode2 fields.

Select a trigger, used by some features. Sets DAC_CR, TSEL1 and TSEL2 fields, for Channel 1 and Channel 2 triggers respectively. See L44 RM, Table 75. DAC trigger selection.