DAC_Init_TypeDef Struct ReferenceEMLIB > DAC

DAC initialization structure, common for both channels.

Definition at line 135 of file em_dac.h .

#include < em_dac.h >

Data Fields

bool ch0ResetPre
DAC_ConvMode_TypeDef convMode
bool diff
bool lpEnable
bool outEnablePRS
DAC_Output_TypeDef outMode
uint8_t prescale
DAC_Ref_TypeDef reference
DAC_Refresh_TypeDef refresh
bool sineEnable

Field Documentation

bool DAC_Init_TypeDef::ch0ResetPre

Enable/disable reset of prescaler on ch0 start.

Definition at line 158 of file em_dac.h .

Referenced by DAC_Init() .

DAC_ConvMode_TypeDef DAC_Init_TypeDef::convMode

Conversion mode.

Definition at line 146 of file em_dac.h .

Referenced by DAC_Init() .

bool DAC_Init_TypeDef::diff

Select if single ended or differential mode.

Definition at line 167 of file em_dac.h .

Referenced by DAC_Init() .

bool DAC_Init_TypeDef::lpEnable

Enable/disable use of low pass filter on output.

Definition at line 155 of file em_dac.h .

bool DAC_Init_TypeDef::outEnablePRS

Enable/disable output enable control by CH1 PRS signal.

Definition at line 161 of file em_dac.h .

Referenced by DAC_Init() .

DAC_Output_TypeDef DAC_Init_TypeDef::outMode

Output mode.

Definition at line 143 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 152 of file em_dac.h .

Referenced by DAC_Init() .

DAC_Ref_TypeDef DAC_Init_TypeDef::reference

Reference voltage to use.

Definition at line 140 of file em_dac.h .

Referenced by DAC_Init() .

DAC_Refresh_TypeDef DAC_Init_TypeDef::refresh

Refresh interval. Only used if REFREN bit set for a DAC channel.

Definition at line 137 of file em_dac.h .

Referenced by DAC_Init() .

bool DAC_Init_TypeDef::sineEnable

Enable/disable sine mode.

Definition at line 164 of file em_dac.h .

Referenced by DAC_Init() .


The documentation for this struct was generated from the following file:
  • C:/repos/embsw_super_h1/platform/emlib/inc/ em_dac.h