23.3.5 Events
The TCE can generate the events described in the table below.
| Generator Name | EVGEN | Description | Event Type | Generating Clock Domain | Length of Event | |
|---|---|---|---|---|---|---|
| Peripheral | Event | |||||
| TCEn | OVF | Overflow | Pulse | CLK_PER | One CLK_PER period | |
| CMP0 | PULSE | Compare Channel 0 match | Pulse | |||
| WAVEFORM | Waveform Output 0 | Level | One CLK_PER period | |||
| CMP1 | PULSE | Compare Channel 1 match | Pulse | |||
| WAVEFORM | Waveform Output 1 | Level | One CLK_PER period | |||
| CMP2 | PULSE | Compare Channel 2 match | Pulse | |||
| WAVEFORM | Waveform Output 2 | Level | One CLK_PER period | |||
| CMP3 | PULSE | Compare Channel 3 match | Pulse | |||
| WAVEFORM | Waveform Output 3 | Level | One CLK_PER period | |||
| User Name | Description | Input Detection | Async/Sync | |
|---|---|---|---|---|
| Peripheral | Input | |||
| TCEn | CNTA | Count on a positive event edge | Edge | Sync |
| Count on any event edge | Edge | |||
| Count with the CLKSEL setting while the event signal is high | Level | |||
| Count with the CLKSEL setting. The event input controls the direction. | Level | |||
| CNTB | Count with the CNTA or CLKSEL setting. The event controls the count direction. | Level | ||
| Restart the counter on a positive event edge | Edge | |||
| Restart the counter on any event edge | Edge | |||
| Restart the counter while the event signal is high | Level | |||
