Data Sheet
417
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181G–SAM-D21_Datasheet–09/2015
Table 23-2. Edge Detection Selection
z 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, see Table 23-6.
Table 23-3. Path Selection
z Bit 23 – Reserved
This bit is unused and reserved for future use. For compatibility with future devices, always write this bit to zero
when this register is written. This bit will always return zero when read.
z Bits 22:16 – EVGEN[6:0]: Event Generator Selection
These bits are used to choose which event generator to connect to the selected channel.
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
PATH[1:0] Name Description
0x0 SYNCHRONOUS Synchronous path
0x1 RESYNCHRONIZED Resynchronized path
0x2 ASYNCHRONOUS Asynchronous path
0x3 Reserved