Datasheet

Two recoverable fault sources
Two non-recoverable fault sources
Debugger can be source of non-recoverable fault
Input events:
Two input events (EVx) for counter
One input event (MCx) for each channel
Output events:
Three output events (Count, Re-Trigger and Overflow) available for counter
One Compare Match/Input Capture event output for each channel
Interrupts:
Overflow and Re-Trigger interrupt
Compare Match/Input Capture interrupt
Interrupt on fault detection
Can be used with DMA and can trigger DMA transactions
31.3 Block Diagram
Figure 31-1. Timer/Counter for Control Applications - Block Diagram
Base Counter
Compare/Capture
(Unit x = {0,1,…,3})
Counter
=
CCx
CCBx
Waveform
Generation
BV
=
PERB
PER
COUNT
BV
= 0
"count"
"clear"
"direction"
"load"
Control Logic
Prescaler
OVF
(INT/Event/DMA Req.)
ERR
(INT Req.)
TOP
"match"
MCx (INT/Event/DMA Req.)
Control Logic
"capture"
U
PD
A
TE
BOTTOM
Recoverable
Faults
O
u
t
p
u
t
Mat
r
i
x
Dead-Time
Inse
r
tion
SWAP
P
at
t
e
rn
G
ene
r
a
t
ion
N
on
-r
e
cov
e
r
a
b
le
F
a
u
l
ts
WO[0]
WO[1]
WO[2]
WO[3]
WO[4]
WO[5]
WO[6]
WO[7]
Event
System
"TCCx_EV0" (TCE0)
"TCCx_EV1" (TCE1)
"TCCx_MCx"
"event"
SAM D21 Family
TCC – Timer/Counter for Control Applications
© 2018 Microchip Technology Inc.
Datasheet Complete
DS40001882D-page 705