Atmel Xplained Pro Evaluation Kit for the ATSAMD21J18A Microcontroller ATSAMD21-XPRO ATSAMD21-XPRO Data Sheet

Product codes
ATSAMD21-XPRO
Page of 1018
895
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181C–SAM-D21_Datasheet–07/2014
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
7
6
5
4
3
2
1
0
WINTSEL0[1:0]
WEN0
Access
R
R
R
R
R
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
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