This bit field controls whether the Window Comparator is enabled and which
thresholds will set the Window Comparator (WCMP) interrupt flag.
In the table below, OUTPUT is the 16-bit result or sample selected by
WINSRC. WINLT and WINHT are the 16-bit low threshold value and the 16-bit high
threshold value, respectively.
Value | Name | Description |
---|
0x0 |
NONE |
Window
Comparator disabled |
0x1 |
BELOW |
OUTPUT < WINLT |
0x2 |
ABOVE |
OUTPUT > WINHT |
0x3 |
INSIDE |
WINLT < OUTPUT < WINHT |
0x4 |
OUTSIDE |
OUTPUT < WINLT or OUTPUT >WINHT |
Other |
- |
Reserved |