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

[in]

module_inst

Software instance for the Analog Comparator peripheral

[in]

channel

Comparator channel to test

Returns

Comparator channel readiness state.