40.6.2.2 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 zero 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. See CTRLA from Related Links.
The TC must be disabled before the TC is reset to avoid undefined behavior.