29.5.5 Control E
| Name: | CTRLE |
| Offset: | 0x4 |
| Reset: | 0x00 |
| Property: | - |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| WINCM[2:0] | |||||||||
| Access | R/W | R/W | R/W | ||||||
| Reset | 0 | 0 | 0 | ||||||
Bits 2:0 – WINCM[2:0] Window Comparator Mode
This bit field enables and defines when the interrupt flag is set in Window Comparator mode. RESULT is the 16-bit accumulator result. WINLT and WINHT are 16-bit lower threshold value and 16-bit higher threshold value, respectively.
| Value | Name | Description |
|---|---|---|
| 0x0 | NONE | No Window Comparison (default) |
| 0x1 | BELOW | RESULT < WINLT |
| 0x2 | ABOVE | RESULT > WINHT |
| 0x3 | INSIDE | WINLT < RESULT < WINHT |
| 0x4 | OUTSIDE | RESULT < WINLT or RESULT > WINHT |
| Other | - | Reserved |
