VDAC_Init_TypeDef Struct Reference

VDAC initialization structure, common for both channels.

Definition at line 158 of file em_vdac.h .

#include < em_vdac.h >

Data Fields

bool asyncClockMode
bool ch0ResetPre
bool diff
bool mainCalibration
bool outEnablePRS
uint32_t prescaler
VDAC_Ref_TypeDef reference
VDAC_Refresh_TypeDef refresh
bool sineEnable
bool warmupKeepOn

Field Documentation

bool VDAC_Init_TypeDef::asyncClockMode

Selects clock from asynchronous or synchronous (with respect to peripheral clock) source.

Definition at line 164 of file em_vdac.h .

Referenced by VDAC_Init() .

bool VDAC_Init_TypeDef::ch0ResetPre

Enable/disable reset of prescaler on CH 0 start.

Definition at line 179 of file em_vdac.h .

Referenced by VDAC_Init() .

bool VDAC_Init_TypeDef::diff

Select if single ended or differential output mode.

Definition at line 188 of file em_vdac.h .

Referenced by VDAC_Init() .

bool VDAC_Init_TypeDef::mainCalibration

Selects between main and alternate output path calibration values.

Definition at line 160 of file em_vdac.h .

Referenced by VDAC_Init() .

bool VDAC_Init_TypeDef::outEnablePRS

Enable/disable output enable control by CH1 PRS signal.

Definition at line 182 of file em_vdac.h .

Referenced by VDAC_Init() .

uint32_t VDAC_Init_TypeDef::prescaler

Prescaler for VDAC clock. Clock is source clock divided by prescaler+1.

Definition at line 173 of file em_vdac.h .

Referenced by VDAC_Init() .

VDAC_Ref_TypeDef VDAC_Init_TypeDef::reference

Reference voltage to use.

Definition at line 176 of file em_vdac.h .

Referenced by VDAC_Init() .

VDAC_Refresh_TypeDef VDAC_Init_TypeDef::refresh

Channel refresh period.

Definition at line 170 of file em_vdac.h .

Referenced by VDAC_Init() .

bool VDAC_Init_TypeDef::sineEnable

Enable/disable sine mode.

Definition at line 185 of file em_vdac.h .

Referenced by VDAC_Init() .

bool VDAC_Init_TypeDef::warmupKeepOn

Warm-up mode, keep VDAC on (in idle) - or shutdown between conversions.

Definition at line 167 of file em_vdac.h .

Referenced by VDAC_Init() .


The documentation for this struct was generated from the following file:
  • C:/HandsOn/super/platform/emlib/inc/ em_vdac.h