25.3.5 Events
The TCF can generate the events described in the following table:
Event | Description | CMPnEV | Event Type | Generating Clock Domain | Event Length |
---|---|---|---|---|---|
OVF | OVF flag is set | 0 | Pulse | CLK_TCF | One CLK_TCF period |
CMPn | CMPn Match | 0 | Pulse | CLK_TCF | One CLK_TCF period |
Waveform Output n (WO0/WO1) | 1 | Level | CLK_TCF | Waveform Output |
The TCF is an event generator. Any condition that causes the OVF Interrupt flag in the TCFn.INTFLAGS register to be set or a compare match will also generate an event.
The peripheral uses one event input. Incoming events will give an event
action as defined by Event Action A (EVACTA) bit field in the TCFn.EVCTRL register if the
Counter Event A Input Enable (CNTAEI) bit in the Event Control (TCFn.EVCTRL) register is
set to '1
'.