Datasheet

24.8.2 Channel
Name:  CHANNEL
Offset:  0x04
Reset:  0x00000000
Property:  Write-Protected
Bit 31 30 29 28 27 26 25 24
EDGSEL[1:0] PATH[1:0]
Access
R/W R/W R/W R/W
Reset 0 0 0 0
Bit 23 22 21 20 19 18 17 16
EVGEN[6:0]
Access
R/W R/W R/W R/W R/W R/W R/W
Reset 0 0 0 0 0 0 0
Bit 15 14 13 12 11 10 9 8
SWEVT
Access
R/W
Reset 0
Bit 7 6 5 4 3 2 1 0
CHANNEL[3:0]
Access
R/W R/W R/W R/W
Reset 0 0 0 0
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.
EDGSEL[1:0] Name Description
0x0 NO_EVT_OUTPUT No event output when using the resynchronized or synchronous
path
0x1 RISING_EDGE Event detection only on the rising edge of the signal from the event
generator when using the resynchronized or synchronous path
0x2 FALLING_EDGE Event detection only on the falling edge of the signal from the event
generator when using the resynchronized or synchronous path
0x3 BOTH_EDGES Event detection on rising and falling edges of the signal from the
event generator when using the resynchronized or synchronous
path
Bits 25:24 – PATH[1:0] Path Selection
These bits are used to choose the path to be used by the selected channel.
The path choice can be limited by the channel source.
SAM D21 Family
EVSYS – Event System
© 2018 Microchip Technology Inc.
Datasheet Complete
DS40001882D-page 447