40.6.6 Events
The TC can generate the following output events:
- Overflow/Underflow (OVF)
- Match or Capture Channel x (MCX0-1)
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)
- 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 (EVU0-2)
to the TC. Writing a ‘0
’ to this bit disables input events to the TC. The
TC requires only asynchronous event inputs. See Event System (EVSYS) from Related
Links for additional information on configuring the asynchronous events.