1.6.4.5.2 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.
Data direction | Parameter name | Description |
---|---|---|
[in] |
module_inst |
Software instance for the Analog Comparator peripheral |
[in] |
win_channel |
Comparator Window channel to test |
Returns
Bit mask of Analog Comparator window channel status flags.