23.3.5 Events
The TCE can generate the events described in the table below.
| Generator Name | Description | Event Type | Generating Clock Domain | Length of Event | |||
|---|---|---|---|---|---|---|---|
| Peripheral | Event | ||||||
| TCE0 | OVF | Overflow/Low-byte timer underflow | Sync,Pulse | CLK_PER | One CLK_PER period | ||
| CMP0 | Compare channel 0 match/Low-byte timer compare channel 0 match | Sync,Pulse/Level | One CLK_PER period or WO | ||||
| CMP1 | Compare channel 1 match/Low-byte timer compare channel 1 match | ||||||
| CMP2 | Compare channel 2 match/Low-byte timer compare channel 2 match | ||||||
| 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 | |||
