58void dac_enable(dac_channel_mask_t channelmask);
void dac_enable(dac_channel_mask_t channelmask)
Enables the DAC channels specified in the mask, and disables others.
Definition dac.c:75
void dac_set_analog_value(uint16_t channel, uint16_t value)
Set the analog value of the DAC.
Definition dac.c:97
void dac_disable(uint16_t channel)
Disables the given DAC channel.
Definition dac.c:110
void dac_init(void)
Initializes the DAC peripheral, but does not enable it.
Definition dac.c:40