16.5.2 Channel n Generator Selection

Each channel can be connected to one event generator. Not all generators can be connected to all channels. Refer to the table below to see which generator sources can be routed onto each channel and the generator value to be written to EVSYS.CHANNELn to achieve this routing. Writing the value 0x00 to EVSYS.CHANNELn turns the channel off.

Refer to the Peripheral Overview section for the available number of Event System channels.

Name: CHANNELn
Offset: 0x10 + n*0x01 [n=0..5]
Reset: 0x00
Property: -

Bit 76543210 
 CHANNELn[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 7:0 – CHANNELn[7:0] Channel Generator Selection

The specific generator name corresponding to each bit group configuration is given by combining Peripheral and Output from the table below in the following way: PERIPHERAL_OUTPUT.
GENERATOR Async/Sync Description Channel Availability
Value Name
Peripheral Output
0x01 UPDI SYNCH Async Rising edge of SYNCH character detection All channels
0x06 RTC OVF Async Counter overflow All channels
0x07 CMP Compare match
0x08 EVGEN0 Selectable prescaled RTC event All channels
0x09 EVGEN1
0x10 CCL LUT0 Async LUT output level All channels
0x11 LUT1
0x12 LUT2
0x13 LUT3
0x20 AC0 OUT Async Comparator output level All channels
0x21 AC1 OUT
0x24 ADC0 RES Sync Result ready All channels(1)
0x25 SAMP Sample ready
0x26 WCMP Window compare match
0x40 PORTA EVGEN0 Async Pin level(2) All channels
0x41 EVGEN1
0x44 PORTC EVGEN0 Async Pin level(2) All channels
0x45 EVGEN1
0x46 PORTD EVGEN0 Async Pin level(2) All channels
0x47 EVGEN1
0x4A PORTF EVGEN0 Async Pin level(2) All channels
0x4B EVGEN1
0x60 USART0 XCK Sync Clock signal in SPI host mode and synchronous USART host mode All channels
0x68 SPI0 SCK Sync SPI host clock signal All channels
0x80 TCE0 OVF Sync Overflow/Low byte timer underflow All channels
0x84 CMP0 Sync Compare channel 0 match
0x85 CMP1 Sync Compare channel 1 match
0x86 CMP2 Sync Compare channel 2 match
0x87 CMP3 Sync Compare channel 3 match
0xA0 TCB0 CAPT Sync CAPT interrupt flag set(3) All channels
0xA1 OVF Counter overflow
0xA2 TCB1 CAPT Sync CAPT interrupt flag set(3) All channels
0xA3 OVF Counter overflow
0xB8 TCF0 OVF Sync Counter overflow All channels
0xB9 CMP0 Compare channel 0
0xBA CMP1 Compare channel 1
Note:
  1. Not all peripheral instances are available for all pin counts. Refer to the Peripherals and Architecture section for details.
  2. An event from the PORT pin will be zero if the input driver is disabled.
  3. The operational mode of the timer decides when the CAPT flag is raised. Refer to the TCB section for details.