VDAC initialization structure, common for both channels.

Public Attributes#

uint32_t

Number of prescaled CLK_DAC + 1 for the VDAC to warmup.

bool

Halt during debug.

bool

Always allow clk_dac.

bool

DMA Wakeup.

bool

Bias keep warm enable.

Channel refresh period.

uint32_t

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

Reference voltage to use.

bool

Enable/disable reset of prescaler on CH 0 start.

bool

Sine reset mode.

bool

Enable/disable sine mode.

bool

Select if single ended or differential output mode.

bool

PRS controlled sinemode enable.

bool

PRS controlled channel output enable.

Public Attribute Documentation#

warmup_time#

uint32_t sl_hal_vdac_init_t::warmup_time

Number of prescaled CLK_DAC + 1 for the VDAC to warmup.


debug_halt#

bool sl_hal_vdac_init_t::debug_halt

Halt during debug.


on_demand_clk#

bool sl_hal_vdac_init_t::on_demand_clk

Always allow clk_dac.


dma_wakeup#

bool sl_hal_vdac_init_t::dma_wakeup

DMA Wakeup.


bias_keep_warm#

bool sl_hal_vdac_init_t::bias_keep_warm

Bias keep warm enable.


refresh#

sl_hal_vdac_refresh_t sl_hal_vdac_init_t::refresh

Channel refresh period.


timer_overflow#

sl_hal_vdac_timer_overflow_period_t sl_hal_vdac_init_t::timer_overflow

Internal timer overflow period.


prescaler#

uint32_t sl_hal_vdac_init_t::prescaler

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


reference#

sl_hal_vdac_vref_t sl_hal_vdac_init_t::reference

Reference voltage to use.


ch0_reset_prescaler#

bool sl_hal_vdac_init_t::ch0_reset_prescaler

Enable/disable reset of prescaler on CH 0 start.


sine_reset#

bool sl_hal_vdac_init_t::sine_reset

Sine reset mode.


sine_enable#

bool sl_hal_vdac_init_t::sine_enable

Enable/disable sine mode.


diff#

bool sl_hal_vdac_init_t::diff

Select if single ended or differential output mode.


sine_mode_prs_enable#

bool sl_hal_vdac_init_t::sine_mode_prs_enable

PRS controlled sinemode enable.


prs_output_enable#

bool sl_hal_vdac_init_t::prs_output_enable

PRS controlled channel output enable.