40.8.10 Window Control
| Name: | WINCTRL |
| Offset: | 0x0A |
| Reset: | 0x00 |
| Property: | PAC Write-Protection, Write-Synchronized |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| WINTSEL1[1:0] | WEN1 | WINTSEL0[1:0] | WEN0 | ||||||
| Access | R/W | R/W | R/W | R/W | R/W | R/W | |||
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | |||
Bits 6:5 – WINTSEL1[1:0] Window 1 Interrupt Selection
These bits configure the interrupt mode for the comparator window 1 mode.
| Value | Name | Description |
|---|---|---|
| 0x0 | ABOVE | Interrupt on signal above window |
| 0x1 | INSIDE | Interrupt on signal inside window |
| 0x2 | BELOW | Interrupt on signal below window |
| 0x3 | OUTSIDE | Interrupt on signal outside window |
Bit 4 – WEN1 Window 1 Mode Enable
| Value | Description |
|---|---|
| 0 | Window mode is disabled for comparators 2 and 3. |
| 1 | Window mode is enabled for comparators 2 and 3. |
Bits 2:1 – WINTSEL0[1:0] Window 0 Interrupt Selection
These bits configure the interrupt mode for the comparator window 0 mode.
| Value | Name | Description |
|---|---|---|
| 0x0 | ABOVE | Interrupt on signal above window |
| 0x1 | INSIDE | Interrupt on signal inside window |
| 0x2 | BELOW | Interrupt on signal below window |
| 0x3 | OUTSIDE | Interrupt on signal outside window |
Bit 0 – WEN0 Window 0 Mode Enable
| Value | Description |
|---|---|
| 0 | Window mode is disabled for comparators 0 and 1. |
| 1 | Window mode is enabled for comparators 0 and 1. |
