Function ac_chan_clear_status()

Clears an interrupt status flag.

void ac_chan_clear_status(
		struct ac_module *const module_inst,
		const enum ac_chan_channel channel)

This function is used to clear the AC_CHAN_STATUS_INTERRUPT_SET flag it will clear the flag for the channel indicated by the channel argument.

Table 1. Parameters
Data direction Parameter name Description

[in]

module_inst

Software instance for the Analog Comparator peripheral

[in]

channel

Comparator channel to clear