Function dac_chan_set_config()

Writes a DAC channel configuration to the hardware module.

void dac_chan_set_config(
		struct dac_module *const dev_inst,
		const enum dac_channel channel,
		struct dac_chan_config *const config)

Writes out a given channel configuration to the hardware module.

Note: The DAC device instance structure must be initialized before calling this function.
Table 1. Parameters
Data direction Parameter name Description

[in]

module_inst

Pointer to the DAC software instance struct

[in]

channel

Channel to configure

[in]

config

Pointer to the configuration struct