A set of commands can be issued by software to immediately change the state of the peripheral. These commands give direct control of the UPDATE, RESTART, and RESET signals. A command is issued by writing the respective value to the Command bit field (CMD) in the Control E register (TCA.CTRLESET).
An UPDATE command has the
same effect as when an update condition occurs, except that the UPDATE
command is not affected by the state of the Lock Update bit (LUPD) in the Control E
register (TCA.CTRLE).
The software can force a restart of the
current waveform period by issuing a RESTART command. In this case the
counter, direction, and all compare outputs are set to zero.
A RESET command will set
all timer/counter registers to their initial values. A RESET can be issued
only when the timer/counter is not running (ENABLE=0 in TCA.CTRLA).