Data Sheet

907
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181G–SAM-D21_Datasheet–09/2015
33.9.10 Window Control
Name: WINCTRL
Offset: 0x0C
Reset: 0x00
Property: Write-Protected, Write-Synchronized
z Bits 7:3 – Reserved
These bits are unused and reserved for future use. For compatibility with future devices, always write these bits to
zero when this register is written. These bits will always return zero when read.
z Bits 2:1 – WINTSEL0[1:0]: Window 0 Interrupt Selection
These bits configure the interrupt mode for the comparator window 0 mode.
Table 33-5. Window 0 Interrupt Selection
z Bit 0 – WEN0: Window 0 Mode Enable
0: Window mode is disabled for comparators 0 and 1.
1: Window mode is enabled for comparators 0 and 1.
Bit 76543210
WINTSEL0[1:0] WEN0
AccessRRRRRR/WR/WR/W
Reset00000000
WINTSEL0[1:0] 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