1.6.4.2.2 Function ac_chan_set_config()

Writes an Analog Comparator channel configuration to the hardware module.

enum status_code ac_chan_set_config( struct ac_module *const module_inst, const enum ac_chan_channel channel, struct ac_chan_config *const config)

Writes a given Analog Comparator channel configuration to the hardware module.

Table 1-15. Parameters
Data directionParameter nameDescription

[in]

module_inst

Software instance for the Analog Comparator peripheral

[in]

channel

Analog Comparator channel to configure

[in]

config

Pointer to the channel configuration struct