33.6.6 Events
The TC can generate the following output events:
- Overflow/Underflow (OVF)
- Match or Capture Channel x (MCx)
Writing a '1' to an Event Output bit in the Event Control register (EVCTRL.MCEOx) enables the corresponding output event. The output event is disabled by writing EVCTRL.MCEOx=0.
- Disable event action (OFF)
- Start TC (START)
- Re-trigger TC (RETRIGGER)
- If a re-trigger event occurs exactly at the time a Channel Compare Match occurs, the next waveform will be corrupted. To avoid this issue, use two channels to store two successive CC register values (n and n+1) and combine the related waveform outputs to provide signal redundancy.
- Count on event (COUNT)
- Capture time stamp (STAMP)
- Capture Period (PPW and PWP)
- Capture Pulse Width (PW)
Writing a '1' to the TC Event Input bit in the Event Control register (EVCTRL.TCEI) enables input events (EVU) to the TC. Writing a '0' to this bit disables input events to the TC. The TC requires only asynchronous event inputs. For additional information on how configuring the asynchronous events, refer to the 28 Event System (EVSYS).