#include <em_dac.h>
Data Fields | |
DAC_Refresh_TypeDef | refresh |
DAC_Ref_TypeDef | reference |
DAC_Output_TypeDef | outMode |
DAC_ConvMode_TypeDef | convMode |
uint8_t | prescale |
bool | lpEnable |
bool | ch0ResetPre |
bool | outEnablePRS |
bool | sineEnable |
bool | diff |
DAC init structure, common for both channels.
Definition at line 146 of file em_dac.h.
Enable/disable reset of prescaler on ch0 start.
Definition at line 170 of file em_dac.h.
Referenced by DAC_Init().
Select if single ended or differential mode.
Definition at line 179 of file em_dac.h.
Referenced by DAC_Init().
Enable/disable output enable control by CH1 PRS signal.
Definition at line 173 of file em_dac.h.
Referenced by DAC_Init().
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.
Definition at line 164 of file em_dac.h.
Referenced by DAC_Init().
Refresh interval. Only used if REFREN bit set for a DAC channel.
Definition at line 149 of file em_dac.h.
Referenced by DAC_Init().