22.4.2.7.3 Pulse-Width (PW) Capture Action on Events

The TC performs input capture on the falling edge of the input signal. When this edge is detected, the counter value is cleared and the TC stops counting. When a rising edge is detected on the input signal, the counter resumes counting. To enable the operation on opposite edges, the input signal for capture must be inverted (refer to DRVCTRL.INVEN or EVCTRL.TCEINV).

Figure 22-14. Pulse-Width Capture on Channel 0

The TC can detect capture overflow of the input capture channels: If a new capture event occurs while the Capture Interrupt flag (INTFLAG.MCn) is still set, the new timestamp will not be stored, and INTFLAG.ERR will be set.