Function ac_win_get_status()

Determines the state of a specified Window Comparator.

uint8_t ac_win_get_status(
		struct ac_module *const module_inst,
		const enum ac_win_channel win_channel)

Retrieves the current window detection state, indicating what the input signal is currently comparing to relative to the window boundaries.

Table 1. Parameters
Data direction Parameter name Description



Software instance for the Analog Comparator peripheral



Comparator Window channel to test


Bit mask of Analog Comparator window channel status flags.