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.

Name: CHANNELn
Offset: 0x10 + n*0x01 [n=0..9]
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.
GeneratorAsync/SyncDescriptionChannel Availability
ValueName
PeripheralOutput
0x01UPDISYNCHSyncRising edge of SYNCH character detectionAll channels
0x05MVIOVDDIO2OKAsyncVDDIO2 OKAll Channels
0x06RTCOVFAsyncCounter overflowAll channels
0x07CMPCompare match
0x08PIT_DIV8192Prescaled RTC clock divided by 8192Even numbered channels only
0x09PIT_DIV4096Prescaled RTC clock divided by 4096
0x0APIT_DIV2048Prescaled RTC clock divided by 2048
0x0BPIT_DIV1024Prescaled RTC clock divided by 1024
0x08PIT_DIV512Prescaled RTC clock divided by 512Odd numbered channels only
0x09PIT_DIV256Prescaled RTC clock divided by 256
0x0APIT_DIV128Prescaled RTC clock divided by 128
0x0BPIT_DIV64Prescaled RTC clock divided by 64
0x10CCLLUT0AsyncLUT output levelAll channels
0x11LUT1
0x12LUT2
0x13LUT3
0x14LUT4(1)
0x15LUT5(1)
0x20AC0OUTAsyncComparator output levelAll channels
0x21AC1
0x22AC2
0x24ADC0RESRDYSyncResult readyAll channels
0x30ZCD0OUTAsyncZCD output levelAll channels
0x31ZCD1(1)
0x32ZCD2(1)
0x34OPAMP0READYSyncOPAMP ReadyAll Channels
0x35OPAMP1
0x36OPAMP2
0x40-0x47PORTAPIN0-PIN7AsyncPin level(2)CHANNEL0 and CHANNEL1 only
0x48-0x4FPORTB(1)
0x40-0x47PORTCPIN0-PIN7AsyncPIN level(2)CHANNEL2 and CHANNEL3 only
0x48-0x4FPORTD
0x40-0x47PORTE (1)PIN0-PIN7AsyncPin level (2)CHANNEL4 and CHANNEL5 only
0x48-0x4FPORTF
0x40-0x47PORTG(1)PIN0-PIN7AsyncPin level (2)CHANNEL6 and CHANNEL7 only
0x60USART0XCKSyncClock signal in SPI Host mode and synchronous USART Host modeAll channels
0x61USART1
0x62USART2
0x63USART3(1)
0x64USART4(1)
0x65USART5(1)
0x68SPI0SCKSyncSPI host clock signalAll channels
0x69SPI1
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
0x88TCA1(1)OVF_LUNFSyncOverflow/Low byte timer underflowAll channels
0x89HUNFHigh byte timer underflow
0x8CCMP0_LCMP0Compare channel 0 match/Low byte timer compare channel 0 match
0x8DCMP1_LCMP1Compare channel 1 match/Low byte timer compare channel 1 match
0x8ECMP2_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
0xA4TCB2CAPTSyncCAPT interrupt flag set(3)All channels
0xA5OVFCounter overflow
0xA6TCB(1)CAPTSyncCAPT interrupt flag set(3)All channels
0xA7OVFCounter overflow
0xA8TCB4 (1)CAPTSyncCAPT interrupt flag set (3)All channels
0xA9OVFCounter overflow
0xB0TCD0CMPBCLRAsyncCounter matches CMPBCLRAll channels
0xB1CMPASETCounter matches CMPASET
0xB2CMPBSETCounter matches CMPBSET
0xB3PROGEVProgrammable event output
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 the input driver is disabled.
  3. The operational mode of the timer decides when the CAPT flag is raised. See the 16-bit Timer/Counter Type B (TCB) section for details.