Datasheet

Figure 31-26. Waveform Generation in RAMP1 mode with Restart Action
COUNT
MAX
TOP
"match"
ZERO
"clear" update
Fault Input A
CC0
CC1
RestartRestart
WO[0]
WO[1]
Figure 31-27. Waveform Generation in RAMP2 mode with Restart Action
COUNT
MAX
TOP
"match"
ZERO
CCx=ZERO
CC0/CC1
CCx=TOP
"clear" update
Fault Input A
Cycle
Restart
No fault A action
in cycle B
WO[1]
WO[0]
Capture
Action
Several capture actions can be selected by writing the Fault n Capture Action bits in the
Fault n Control register (FCTRLn.CAPTURE). When one of the capture operations is
selected, the counter value is captured when the fault occurs. These capture operations are
available:
CAPT - the equivalent to a standard capture operation, for further details refer to
31.6.2.7 Capture Operations
CAPTMIN - gets the minimum time stamped value: on each new local minimum
captured value, an event or interrupt is issued.
CAPTMAX - gets the maximum time stamped value: on each new local maximum
captured value, an event or interrupt (IT) is issued, see Figure 31-28.
LOCMIN - notifies by event or interrupt when a local minimum captured value is
detected.
LOCMAX - notifies by event or interrupt when a local maximum captured value is
detected.
DERIV0 - notifies by event or interrupt when a local extreme captured value is
detected, see Figure 31-29.
SAM D21 Family
TCC – Timer/Counter for Control Applications
© 2018 Microchip Technology Inc.
Datasheet Complete
DS40001882D-page 729