Atmel Xplained Pro Evaluation Kit for the ATSAMD21J18A Microcontroller ATSAMD21-XPRO ATSAMD21-XPRO Data Sheet

Product codes
ATSAMD21-XPRO
Page of 1018
409
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181C–SAM-D21_Datasheet–07/2014
23.8.3 User Multiplexer
This register is used to configure a specified event user. To write to this register, do a single 16-bit write of all the 
configuration and event user selection data.
To read from this register, first do an 8-bit write to the USER.USER bit group specifying the event user configuration to be 
read, and then read USER.
Name:
USER
Offset:
0x08
Reset:
0x0000
Property:
Write-Protected
z
Bits 15:13 – 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 12:8 – CHANNEL[4:0]: Channel Event Selection
These bits are used to select the channel to connect to the event user.
Note that to select channel n, the value (n+1) must be written to the USER.CHANNEL bit group.
Table 23-5. Channel Event Selection
z
Bits 7:5 – 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 4:0 – USER[4:0]: User Multiplexer Selection
These bits select the event user to be configured with a channel, or the event user to read the channel value from.
Bit
15
14
13
12
11
10
9
8
CHANNEL[4:0]
Access
R
R
R
R/W
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
Bit
7
6
5
4
3
2
1
0
USER[4:0]
Access
R
R
R
R/W
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
CHANNEL[4:0]
Channel Number
0x0
No Channel Output Selected
0x1-0xC
Channel n-1 selected
0xD-0xFF
Reserved