Datasheet
34.8.7 Status A
Name: STATUSA
Offset: 0x08
Reset: 0x00
Property: –
Bit 7 6 5 4 3 2 1 0
WSTATE1[1:0] WSTATE0[1:0] STATEx STATEx STATEx STATEx
Access
R R R R R R R R
Reset 0 0 0 0 0 0 0 0
Bits 7:6 – WSTATE1[1:0] Window 1 Current State
These bits show the current state of the signal if the window 1 mode is enabled.
Value Name Description
0x0
ABOVE Signal is above window
0x1
INSIDE Signal is inside window
0x2
BELOW Signal is below window
0x3
Reserved
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.
Value Name Description
0x0
ABOVE Signal is above window
0x1
INSIDE Signal is inside window
0x2
BELOW Signal is below window
0x3
Reserved
Bits 3,2,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.
SAM D21 Family
AC – Analog Comparators
© 2018 Microchip Technology Inc.
Datasheet Complete
DS40001882D-page 952