Atmel Xplained Pro Evaluation Kit ATSAMD20-XPRO ATSAMD20-XPRO Data Sheet

Product codes
ATSAMD20-XPRO
Page of 660
533
Atmel | SMART SAM D20 [DATASHEET]
Atmel-42129K–SAM-D20_datasheet–06/2014
29.9.7 Status A
Name:
STATUSA
Offset:
0x08
Reset:
0x00
Property:
z
Bits 7:6 – 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 5:4 – WSTATE0[1:0]: Window 0 Current State
These bits show the current state of the signal if the window 0 mode is enabled, according to 
. If the win-
dow 0 function is not implemented, WSTATE0 always reads as zero.
Table 29-2. Window Mode Current State
z
Bits 3:2 – 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 1:0 – STATEx: Comparator x Current State
This bit shows the current state of the output signal from COMPx. STATEx is valid only when STATUSB.READYx 
is one.
Bit
7
6
5
4
3
2
1
0
WSTATE0[1:0]
STATE1
STATE0
Access
R
R
R
R
R
R
R
R
Reset
0
0
0
0
0
0
0
0
Value
Name
Description
0x0
ABOVE
Signal is above window
0x1
INSIDE
Signal is inside window
0x2
BELOW
Signal is below window
0x3
Reserved