Datasheet

Table Of Contents
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.
Bit151413121110 9 8
CHANNEL[7:0]
Access R/W R/W R/W R/W R/W R/W R/W R/W
Reset00000000
Bit76543210
USER[7:0]
Access R/W R/W R/W R/W R/W R/W R/W R/W
Reset00000000
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