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

Product codes
ATSAMD21-XPRO
Page of 1018
404
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181C–SAM-D21_Datasheet–07/2014
23.8.2 Channel
This register allows the user to configure the channel specified in the CHANNEL bit group. To write to this register, do a 
single 32-bit write of all the configuration and channel selection data.
To read from this register, first do an 8-bit write to the CHANNEL.CHANNEL bit group specifying the channel 
configuration to be read, and then read the Channel register (CHANNEL).
Name:
CHANNEL
Offset:
0x04
Reset:
0x00000000
Property:
Write-Protected
z
Bits 31:28 – 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 27:26 – EDGSEL[1:0]: Edge Detection Selection
These bits set the type of edge detection to be used on the channel.
These bits must be written to zero when using the asynchronous path.
Bit
31
30
29
28
27
26
25
24
EDGSEL[1:0]
PATH[1:0]
Access
R
R
R
R
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
Bit
23
22
21
20
19
18
17
16
EVGEN[6:0]
Access
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
Bit
15
14
13
12
11
10
9
8
SWEVT
Access
R
R
R
R
R
R
R
R/W
Reset
0
0
0
0
0
0
0
0
Bit
7
6
5
4
3
2
1
0
CHANNEL[3:0]
Access
R
R
R
R
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0