Interrupt Flags

Name:
INTFLAGS
Offset:
0x0B
Reset:
0x00
Access:
-
Bit76543210
WCMPRESRDY
AccessR/WR/W
Reset00

Bit 1 – WCMP: Window Comparator Interrupt Flag

Window Comparator Interrupt Flag

This window comparator interrupt flag is set when the measurement is complete and if the result matches the selected Window Comparator mode defined by WINCM (ADCn.CTRLE). The comparison is done at the end of the conversion. The flag is cleared by either writing a ‘1’ to the bit position or by reading the Result (ADCn.RES) register. Writing a ‘0’ to this bit has no effect.

Bit 0 – RESRDY: Result Ready Interrupt Flag

Result Ready Interrupt Flag

The Result Ready interrupt flag is set when a measurement is complete, and a new result is ready. The flag is cleared by either writing a ‘1’ to the bit location or by reading the Result (ADCn.RES) register. Writing a ‘0’ to this bit has no effect.