23.4.3.1 One-Shot Operation
When one-shot is enabled, the counter automatically stops on the next counter overflow or underflow condition. When the counter is stopped, the Stop bit in the Status register (STATUS.STOP) is set, and the waveform outputs are set to the value defined by the Non-Recoverable State x Output Enable and Non-Recoverable State x Output Value bits in the Driver Control register (DRVCTRL.NREx and DRVCTRL.NRVx).
One-shot operation can be enabled by writing a '1' to the One-Shot bit in the Control B Set register (CTRLBSET.ONESHOT) and disabled by writing a '1' to the One-Shot bit in the Control B Clear register (CTRLBCLR.ONESHOT). When enabled, the TCC will count until an overflow or underflow occurs and then stop counting. The one-shot operation can be restarted by a retrigger software command, a retrigger event, or a start event. When the counter restarts its operation, the STATUS.STOP bit is automatically cleared.
