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.
Table 16-5. Event Generators
GENERATORAsync/SyncDescriptionChannel Availability
ValueName
PeripheralOutput
0x01UPDISYNCHSyncRising edge of SYNCH character detectionAll channels
0x06RTCOVFAsyncCounter overflowAll channels
0x07CMPCompare match
0x08EVGEN0Selectable prescaled RTC event
0x09EVGEN1
0x10CCLLUT0AsyncLUT output levelAll channels
0x11LUT1
0x12LUT2
0x13LUT3
0x20AC0OUTAsyncComparator output levelAll channels
0x24ADC0RESRDYSyncResult readyAll channels
0x25SAMPRDYSample ready
0x26WCMPWindow compare
0x40PORTA(1)EVGEN0AsyncPin level (2)All channels
0x41EVGEN1
0x44PORTC(1)EVGEN0AsyncPin level (2)All channels
0x45EVGEN1
0x46PORTD(1)EVGEN0AsyncPin level (2)All channels
0x47EVGEN1
0x4APORTF(1)EVGEN0AsyncPin level (2)All channels
0x4BEVGEN1
0x60USART0XCKSyncClock signal in SPI Host mode and synchronous USART Host modeAll channels
0x61USART1
0x68SPI0SCKSyncSPI server clock signalAll channels
0x80TCA0OVF_LUNFSyncOverflow/Low-byte timer underflowAll channels
0x81HUNFHigh-byte timer underflow
0x84CMP0_LCMP0Compare channel 0 match/Low-byte timer compare channel 0 match
0x85CMP1_LCMP1Compare channel 1 match/Low-byte timer compare channel 1 match
0x86CMP2_LCMP2Compare channel 2 match/Low-byte timer compare channel 2 match
0xA0TCB0CAPTSyncCAPT Interrupt flag set(3)All channels
0xA1OVFCounter overflow
0xA2TCB1CAPTSyncCAPT Interrupt flag set(3)All channels
0xA3OVFCounter overflow
0xC0USB0SETUPSyncSETUP receivedAll channels
0xC1SOFSOF token received
0xC2CRCCRC error
0xC3UNFOVFUSB under- or overflow
0xC4RXData byte received
0xC5TXData byte transmitted
Note:
  1. Not all peripheral instances are available for all pin counts. Refer to the Peripherals and Architecture section for details.
  2. Event from PORT pin will be zero if 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.