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
Access:
-
Bit76543210
CHANNELn[7:0]
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset00000000

Bits 7:0 – CHANNELn: Channel Generator Selection

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 Sync The rising edge of SYNCH character detection All channels
0x05 MVIO VDDIO2OK Async VDDIO2 OK All channels
0x06 RTC OVF Async Counter overflow All channels
0x07 CMP Compare match
0x08 PIT_DIV8192 Prescaled RTC clock divided by 8192 Even numbered channels only
0x09 PIT_DIV4096 Prescaled RTC clock divided by 4096
0x0A PIT_DIV2048 Prescaled RTC clock divided by 2048
0x0B PIT_DIV1024 Prescaled RTC clock divided by 1024
0x08 PIT_DIV512 Prescaled RTC clock divided by 512 Odd numbered channels only
0x09 PIT_DIV256 Prescaled RTC clock divided by 256
0x0A PIT_DIV128 Prescaled RTC clock divided by 128
0x0B PIT_DIV64 Prescaled RTC clock divided by 64
0x10 CCL LUT0 Async LUT output level All channelsgive
0x11 LUT1
0x12 LUT2
0x13 LUT3
0x20 AC0 OUT Async Comparator output level All channels
0x24 ADC0 RESRDY Sync Result ready All channels
0x30 ZCD3 OUT Async ZCD output level All channels
0x40-0x47 PORTA PIN0-PIN7 Async Pin level(2) CHANNEL0 and CHANNEL1 only
0x40-0x47 PORTC PIN0-PIN3 Async Pin level(2) CHANNEL2 and CHANNEL3 only
0x48-0x4F PORTD PIN1-PIN7
0x48-0x4F PORTF PIN0-PIN7 Async Pin level (2) CHANNEL4 and CHANNEL5 only
0x60 USART0 XCK Sync Clock signal in SPI Host mode and synchronous USART Host mode All channels
0x61 USART1
0x68 SPI0 SCK Sync SPI host clock signal All channels
0x80 TCA0 OVF_LUNF Sync Overflow/Low byte timer underflow All channels
0x81 HUNF High byte timer underflow
0x84 CMP0_LCMP0 Compare channel 0 match/Low byte timer compare channel 0 match
0x85 CMP1_LCMP1 Compare channel 1 match/Low byte timer compare channel 1 match
0x86 CMP2_LCMP2 Compare channel 2 match/Low byte timer compare channel 2 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
0xA4 TCB2(1) CAPT Sync CAPT interrupt flag set(3) All channels
0xA5 OVF Counter overflow
0xB0 TCD0 CMPBCLR Async Counter matches CMPBCLR All channels
0xB1 CMPASET Counter matches CMPASET
0xB2 CMPBSET Counter matches CMPBSET
0xB3 PROGEV Programmable event output
Notes:
  1. 1.Not all peripheral instances are available for all pin counts. Refer to the Peripherals and Architecture section for details.
  2. 2.Event from PORT pin will be zero if input driver is disabled.
  3. 3.The operational mode of the timer decides when to raise the CAPT flag. See the TCB - 16-bit Timer/Counter Type B section for details.