DAC initialization structure, common for both channels.
Public Attributes#
Refresh interval.
Reference voltage to use.
Output mode.
Conversion mode.
uint8_t
Prescaler used to get DAC clock.
bool
Enable/disable use of low pass filter on output.
bool
Enable/disable reset of prescaler on ch0 start.
bool
Enable/disable output enable control by CH1 PRS signal.
bool
Enable/disable sine mode.
bool
Select if single ended or differential mode.
Public Attribute Documentation#
refresh#
DAC_Refresh_TypeDef DAC_Init_TypeDef::refresh
Refresh interval.
Only used if REFREN bit set for a DAC channel.
prescale#
uint8_t DAC_Init_TypeDef::prescale
Prescaler used to get DAC clock.
Derived as follows: DACclk=HFPERclk/(2^prescale). The DAC clock should be <= 1MHz.
outEnablePRS#
bool DAC_Init_TypeDef::outEnablePRS
Enable/disable output enable control by CH1 PRS signal.