VDAC initialization structure, common for both channels.

Public Attributes#

bool

Selects between main and alternate output path calibration values.

bool

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

bool

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

Channel refresh period.

uint32_t

Prescaler for VDAC clock.

Reference voltage to use.

bool

Enable/disable reset of prescaler on CH 0 start.

bool

Enable/disable output enable control by CH1 PRS signal.

bool

Enable/disable sine mode.

bool

Select if single ended or differential output mode.

Public Attribute Documentation#

mainCalibration#

bool VDAC_Init_TypeDef::mainCalibration

Selects between main and alternate output path calibration values.


Definition at line 163 of file platform/emlib/inc/em_vdac.h

asyncClockMode#

bool VDAC_Init_TypeDef::asyncClockMode

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


Definition at line 167 of file platform/emlib/inc/em_vdac.h

warmupKeepOn#

bool VDAC_Init_TypeDef::warmupKeepOn

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


Definition at line 170 of file platform/emlib/inc/em_vdac.h

refresh#

VDAC_Refresh_TypeDef VDAC_Init_TypeDef::refresh

Channel refresh period.


Definition at line 173 of file platform/emlib/inc/em_vdac.h

prescaler#

uint32_t VDAC_Init_TypeDef::prescaler

Prescaler for VDAC clock.

Clock is source clock divided by prescaler+1.


Definition at line 176 of file platform/emlib/inc/em_vdac.h

reference#

VDAC_Ref_TypeDef VDAC_Init_TypeDef::reference

Reference voltage to use.


Definition at line 179 of file platform/emlib/inc/em_vdac.h

ch0ResetPre#

bool VDAC_Init_TypeDef::ch0ResetPre

Enable/disable reset of prescaler on CH 0 start.


Definition at line 182 of file platform/emlib/inc/em_vdac.h

outEnablePRS#

bool VDAC_Init_TypeDef::outEnablePRS

Enable/disable output enable control by CH1 PRS signal.


Definition at line 185 of file platform/emlib/inc/em_vdac.h

sineEnable#

bool VDAC_Init_TypeDef::sineEnable

Enable/disable sine mode.


Definition at line 188 of file platform/emlib/inc/em_vdac.h

diff#

bool VDAC_Init_TypeDef::diff

Select if single ended or differential output mode.


Definition at line 191 of file platform/emlib/inc/em_vdac.h