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. Parameters
Data direction Parameter name Description



Software instance for the Analog Comparator peripheral



Window Comparator channel to test


Window Comparator channel readiness state.