33.6.6 Window Control
| Name: | WINCTRL |
| Offset: | 0x1C |
| Reset: | 0x00000000 |
| Property: | Local Write-Protection |
| Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
| Access | |||||||||
| Reset |
| Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
| Access | |||||||||
| Reset |
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| Access | |||||||||
| Reset |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| WINSRC | WINMODE[2:0] | ||||||||
| Access | R/W | R/W | R/W | R/W | |||||
| Reset | 0 | 0 | 0 | 0 | |||||
Bit 3 – WINSRC Window Mode Source
This bit selects the source for the Window Comparator.
Note: The number of bits populated in
the result register may be more than 16 when using normal scaling. Refer to
Window Comparator for details.
| Value | Name | Description |
|---|---|---|
| 0 | RESULT | Use RESULT[15:0] as Window Comparator source |
| 1 | SAMPLE | Use SAMPLE[15:0] as Window Comparator source |
Bits 2:0 – WINMODE[2:0] Window Comparator Mode
This bit field enables and defines when the interrupt flag is set in Window Comparator mode. In the table below, OUTPUT refers to the 16-bit result or sample selected by WINCTRL.WINSRC. WINLT and WINHT are the 16-bit low and high threshold values configured in the Window Low Threshold (WINLT) and Window High Threshold (WINHT) registers, respectively.
| Value | Name | Description |
|---|---|---|
| 0x0 | NONE | No Window Comparison |
| 0x1 | BELOW | OUTPUT < WINLT |
| 0x2 | ABOVE | OUTPUT > WINHT |
| 0x3 | INSIDE | WINLT < OUTPUT < WINHT |
| 0x4 | OUTSIDE | OUTPUT < WINLT or OUTPUT >WINHT |
| Other | — | Reserved |
