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.


asyncClockMode#

bool VDAC_Init_TypeDef::asyncClockMode

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


warmupKeepOn#

bool VDAC_Init_TypeDef::warmupKeepOn

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


refresh#

VDAC_Refresh_TypeDef VDAC_Init_TypeDef::refresh

Channel refresh period.


prescaler#

uint32_t VDAC_Init_TypeDef::prescaler

Prescaler for VDAC clock.

Clock is source clock divided by prescaler+1.


reference#

VDAC_Ref_TypeDef VDAC_Init_TypeDef::reference

Reference voltage to use.


ch0ResetPre#

bool VDAC_Init_TypeDef::ch0ResetPre

Enable/disable reset of prescaler on CH 0 start.


outEnablePRS#

bool VDAC_Init_TypeDef::outEnablePRS

Enable/disable output enable control by CH1 PRS signal.


sineEnable#

bool VDAC_Init_TypeDef::sineEnable

Enable/disable sine mode.


diff#

bool VDAC_Init_TypeDef::diff

Select if single ended or differential output mode.