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

Product codes
ATSAMD20-XPRO
Page of 660
540
Atmel | SMART SAM D20 [DATASHEET]
Atmel-42129K–SAM-D20_datasheet–06/2014
z
Bit 14 – Reserved
This bit is unused and reserved for future use. For compatibility with future devices, always write this bit to zero 
when this register is written. This bit will always return zero when read.
z
Bits 13:12 – MUXPOS[1:0]: Positive Input Mux Selection
These bits select which input will be connected to the positive input of comparator n. COMPCTRLn.MUXPOS can 
be written only while COMPCTRLn.ENABLE is zero.
These bits are not synchronized.
Table 29-7. Positive Input Mux Selection
z
Bit 11 – Reserved
This bit is unused and reserved for future use. For compatibility with future devices, always write this bit to zero 
when this register is written. This bit will always return zero when read.
z
Bits 10:8 – MUXNEG[2:0]: Negative Input Mux Selection
These bits select which input will be connected to the negative input of comparator n. COMPCTRLn.MUXNEG can 
only be written while COMPCTRLn.ENABLE is zero.
These bits are not synchronized.
Table 29-8. Negative Input Mux Selection
z
Bit 7 – Reserved
This bit is unused and reserved for future use. For compatibility with future devices, always write this bit to zero 
when this register is written. This bit will always return zero when read.
z
Bits 6:5 – INTSEL[1:0]: Interrupt Selection
These bits select the condition for comparator n to generate an interrupt or event. COMPCTRLn.INTSEL can be 
written only while COMPCTRLn.ENABLE is zero.
These bits are not synchronized.
Value
Name
Description
0x0
PIN0
I/O pin 0
0x1
PIN1
I/O pin 1
0x2
PIN2
I/O pin 2
0x3
PIN3
I/O pin 3
Value
Name
Description
0x0
PIN0
I/O pin 0
0x1
PIN1
I/O pin 1
0x2
PIN2
I/O pin 2
0x3
PIN3
I/O pin 3
0x4
GND
Ground
0x5
VSCALE
V
DDANA
 scaler
0x6
BANDGAP
Internal bandgap voltage
0x7
DAC
DAC output