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

Product codes
ATSAMD20-XPRO
Page of 660
535
Atmel | SMART SAM D20 [DATASHEET]
Atmel-42129K–SAM-D20_datasheet–06/2014
29.9.9 Status C
STATUSC is a copy of STATUSA (see 
 register), with the additional feature of automatically starting single-
shot comparisons. A read of STATUSC will start a comparison on all comparators currently configured for single-shot 
operation. The read will stall the bus until all enabled comparators are ready. If a comparator is already busy with a 
comparison, the read will stall until the current comparison is compete, and a new comparison will not be started.
Name:
STATUSC
Offset:
0x0A
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. If the window 0 function is not 
implemented, WSTATE0 always reads as zero.
Table 29-3. 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. If comparator x is not implemented, STATEx 
always reads as zero. STATEx is only valid 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