Datasheet

Figure 31-31. Waveform Generation with Fault Qualification, Halt, and Restart
Actions
KEEP
HALT
COUNT
MAX
TOP
"match"
ZERO
"update"
Fault Input A
CC0
-
- -Fault A Input Qual -
Resume
x x x
-
WO[0]
Software
Halt Action
This is configured by writing 0x2 to the Fault n Halt mode bits in the Recoverable Fault n
configuration register (FCTRLn.HALT). Software halt action is similar to hardware halt
action, but in order to restart the timer/counter, the corresponding fault condition must not
be present anymore, and the corresponding FAULT n bit in the STATUS register must be
cleared by software.
Figure 31-32. Waveform Generation with Software Halt, Fault Qualification, Keep and Restart
Actions
KEEP
HALT
COUNT
MAX
TOP
"match"
ZERO
"update"
Fault Input A
CC0
-
-Fault A Input Qual -
Software Clear
NO
KEEP
Restart Restart
x x
-
WO[0]
FCTRLA.KEEP = 1 FCTRLA.KEEP = 0
31.6.3.6 Non-Recoverable Faults
The non-recoverable fault action will force all the compare outputs to a pre-defined level programmed into
the Driver Control register (DRVCTRL.NRE and DRVCTRL.NRV). The non-recoverable fault input (EV0
and EV1) actions are enabled in Event Control register (EVCTRL.EVACT0 and EVCTRL.EVACT1).
To avoid false fault detection on external events (e.g. a glitch on an I/O port) a digital filter can be enabled
using Non-Recoverable Fault Input x Filter Value bits in the Driver Control register
SAM D21 Family
TCC – Timer/Counter for Control Applications
© 2018 Microchip Technology Inc.
Datasheet Complete
DS40001882D-page 732