22.4.2.1 Enabling, Disabling, and Resetting

The TC is enabled by writing a ‘1’ to the Enable bit in the Control A register (CTRLA.ENABLE). The TC is disabled by writing a ‘0’ to CTRLA.ENABLE.

The TC is reset by writing a ‘1’ to the Software Reset bit in the Control A register (CTRLA.SWRST). All registers in the TC, except DBGCTRL, will be reset to their initial state. Refer to the CTRLA register for details.

The TC must be disabled before the TC is reset to avoid undefined behavior.