DAC_Init_TypeDef Struct Reference
[DAC]

#include <em_dac.h>

Collaboration diagram for DAC_Init_TypeDef:
Collaboration graph
[legend]

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

Detailed Description

DAC init structure, common for both channels.

Definition at line 126 of file em_dac.h.


Field Documentation

Enable/disable reset of prescaler on ch0 start.

Definition at line 150 of file em_dac.h.

Referenced by DAC_Init().

Conversion mode.

Definition at line 138 of file em_dac.h.

Referenced by DAC_Init().

Select if single ended or differential mode.

Definition at line 159 of file em_dac.h.

Referenced by DAC_Init().

Enable/disable use of low pass filter on output.

Definition at line 147 of file em_dac.h.

Enable/disable output enable control by CH1 PRS signal.

Definition at line 153 of file em_dac.h.

Referenced by DAC_Init().

Output mode

Definition at line 135 of file em_dac.h.

Referenced by DAC_Init().

Prescaler used to get DAC clock. Derived as follows: DACclk=HFPERclk/(2^prescale). The DAC clock should be <= 1MHz.

Definition at line 144 of file em_dac.h.

Referenced by DAC_Init().

Reference voltage to use.

Definition at line 132 of file em_dac.h.

Referenced by DAC_Init().

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

Definition at line 129 of file em_dac.h.

Referenced by DAC_Init().

Enable/disable sine mode.

Definition at line 156 of file em_dac.h.

Referenced by DAC_Init().


The documentation for this struct was generated from the following file: