#define DAC_CH_CTRL_PRSSEL_MASK
#define DAC_CH_CTRL_PRSSEL(v)
#define DAC_CH_CTRL_REFREN
#define DAC_CHx_CTRL(base, x)
#define DAC_CH_CTRL_PRSEN
void dac_set_refresh_cycle(uint32_t dac, uint32_t refrsel)
Set DAC refresh cycle.
void dac_set_clock_prescaler(uint32_t dac, uint32_t presc)
Set DAC clock prescaler.
void dac_disable_auto_refresh(uint32_t dac, enum dac_ch ch)
Disable auto refresh.
void dac_set_reference(uint32_t dac, uint32_t refsel)
Set DAC reference.
void dac_disable_sine(uint32_t dac)
Disable Sine wave on output.
void dac_enable_sine(uint32_t dac)
Enable Sine wave on output.
void dac_set_conversion_mode(uint32_t dac, uint32_t convmode)
Set conversion mode.
void dac_set_out_mode(uint32_t dac, uint32_t outmode)
Set DAC output mode.
void dac_enable_auto_refresh(uint32_t dac, enum dac_ch ch)
Enable auto refresh.
void dac_disable_channel(uint32_t dac, enum dac_ch ch)
Disable channel.
void dac_enable_channel(uint32_t dac, enum dac_ch ch)
Enable channel.
void dac_disable_prs_trigger(uint32_t dac, enum dac_ch ch)
Disable PRS triggerring.
void dac_set_prs_trigger(uint32_t dac, enum dac_ch dac_chan, enum prs_ch prs_chan)
Set PRS trigger source on DAC channel.
void dac_enable_prs_trigger(uint32_t dac, enum dac_ch ch)
Enable PRS triggerring.