Function ac_chan_is_ready()

Determines if a given comparator channel is ready for comparisons.

bool ac_chan_is_ready(
		struct ac_module *const module_inst,
		const enum ac_chan_channel channel)

Checks a comparator channel to see if the comparator is currently ready to begin comparisons.

Table 1. Parameters
Data direction Parameter name Description



Software instance for the Analog Comparator peripheral



Comparator channel to test


Comparator channel readiness state.