Datasheet

Table Of Contents
536
Atmel | SMART SAM D20 [DATASHEET]
Atmel-42129K–SAM-D20_datasheet–06/2014
29.9.10 Window Control
Name: WINCTRL
Offset: 0x0C
Reset: 0x00
Property: Write-Synchronized, Write-Protected
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: Window 0 Interrupt Selection
These bits configure the interrupt mode for the comparator window 0 mode.
Table 29-4. 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.
Bit76543210
WINTSEL0[1:0] WEN0
AccessRRRRRR/WR/WR/W
Reset00000000
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