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

Product codes
ATSAMD20-XPRO
Page of 660
320
Atmel | SMART SAM D20 [DATASHEET]
Atmel-42129K–SAM-D20_datasheet–06/2014
22.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:8 – CHANNEL: 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.
z
Bits 7:0 – USER: 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[7:0]
Access
R/W
R/W
R/W
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[7:0]
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
Table 22-5. Channel Event Selection
Value
Channel Number
0x00
No channel output selected
0x01
0
0x02
1
0x03
2
0x04
3
0x05
4
0x06
5
0x07
6
0x08
7
0x09-0xFF
Reserved