Datasheet

Table Of Contents
316
Atmel | SMART SAM D20 [DATASHEET]
Atmel-42129K–SAM-D20_datasheet–06/2014
Table 22-1. Edge Detection Selection
z Bits 25:24 – PATH: 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 22-6.
Table 22-2. Path Selection
z Bits 23:16 – EVGEN: Event Generator
These bits are used to choose the event generator to connect to the selected channel.
Value 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
0x2 FALLING_EDGE Event detection only on the falling edge of the signal from the event generator
0x3 BOTH_EDGES
Event detection on rising and falling edges of the signal from the event
generator
Value Name Description
0x0 SYNCHRONOUS Synchronous path
0x1 RESYNCHRONIZED Resynchronized path
0x2 ASYNCHRONOUS Asynchronous path
0x3 - Reserved
Table 22-3. Event Generator Selection
Value Event Generator Description
0x00 NONE No event generator selected
0x01 RTC CMP0 Compare 0 (mode 0 and 1) or Alarm 0 (mode 2)
0x02 RTC CMP1 Compare 1
0x03 RTC OVF Overflow
0x04 RTC PER0 Period 0
0x05 RTC PER1 Period 1
0x06 RTC PER2 Period 2
0x07 RTC PER3 Period 3
0x08 RTC PER4 Period 4
0x09 RTC PER5 Period 5
0x0A RTC PER6 Period 6
0x0B RTC PER7 Period 7
0x0C EIC EXTINT0 External Interrupt 0
0x0D EIC EXTINT1 External Interrupt 1