1.6.4.5.1 Function ac_win_is_ready()

Determines if a given Window Comparator is ready for comparisons.

bool ac_win_is_ready( struct ac_module *const module_inst, const enum ac_win_channel win_channel)

Checks a Window Comparator to see if the both comparators used for window detection is currently ready to begin comparisons.

Table 1-28. Parameters
Data directionParameter nameDescription

[in]

module_inst

Software instance for the Analog Comparator peripheral

[in]

win_channel

Window Comparator channel to test

Returns

Window Comparator channel readiness state.