(FCTRLn.BLANK). The desired duration of the blanking must be written to the Fault n
Blanking Time bits (FCTRLn.BLANKVAL).
The blanking time
t
b
is calculated by
�
�
= 1 + BLANKVAL
�
GCLK_TCCx_PRESC
Here,
f
GCLK_TCCx_PRESC
is the frequency of the prescaled peripheral clock frequency
f
GCLK_TCCx
.
The maximum blanking time (FCTRLn.BLANKVAL=
255) at
f
GCLK_TCCx
=96MHz is 2.67µs (no prescaler) or 170µs (prescaling). For
f
GCLK_TCCx
=1MHz, the maximum blanking time is either 170µs (no prescaling) or 10.9ms
(prescaling enabled).
Figure 36-20. Fault Blanking in RAMP1 Operation with Inverted Polarity
COUNT
"match"
ZERO
"clear" update
FaultA Input
CC0
TOP
WO[0]
CMP0
FCTRLA.BLANKVAL = 0
FCTRLA.BLANKVAL > 0
FCTRLA.BLANKVAL > 0
-
-
FaultA Blanking
x
x x x
"Fault input enabled"
-
"Fault input disabled"
x
"Fault discarded"
Fault
Qualification
This is enabled by writing a '1' to the Fault n Qualification bit in the Recoverable Fault
n Configuration register (FCTRLn.QUAL). When the recoverable fault qualification is
enabled (FCTRLn.QUAL=1), the fault input is disabled all the time the corresponding
channel output has an inactive level, as shown in the figures below.
Figure 36-21. Fault Qualification in RAMP1 Operation
COUNT
MAX
TOP
ZERO
Fault Input A
CC0
-
-
-
-
-
-
-
-
-
Fault B Input Qual
-
-
Fault Input B
x x x
x x x x x x
x
x x x
x
x x x
x x x
x
x x x
x
x
x x
CC1
Fault A Input Qual
"match"
"clear" update
"Fault input enabled"
-
"Fault input disabled"
x
"Fault discarded"
Atmel SAM L22G / L22J / L22N [DATASHEET]
Atmel-42402E-SAM L22G / L22J / L22N_Datasheet_Complete-07/2016
816