Module stm32_hal2::dac

source ·
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.
  • 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 H743 RM, Table 225. DAC interconnection.