–
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
36.3. Block Diagram
Figure 36-1. Timer/Counter for Control Applications - Block Diagram
Base Counter
Compare/Capture
(Unit x = {0,1,…,3})
Counter
=
CCx
CCBUFx
Waveform
Generation
BV
=
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
P
D
A
T
E
BOTTOM
Recoverable
Faults
O
ut
p
ut
M
at
rix
D
ea
d-
T
im
e
In
se
rt
io
n
SW
AP
P
at
te
rn
G
en
er
at
io
n
N
on
-r
ec
ov
er
ab
le
F
au
lts
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"
PERBUFx
36.4. Signal Description
Pin Name
Type
Description
TCC/WO[0]
Digital output
Compare channel 0 waveform output
TCC/WO[1]
Digital output
Compare channel 1 waveform output
…
...
...
TCC/WO[WO_NUM-1]
Digital output
Compare channel n waveform output
Refer to
I/O Multiplexing and Considerations
for details on the pin mapping for this peripheral. One signal
can be mapped on several pins.
Related Links
I/O Multiplexing and Considerations
on page 27
Atmel SAM L22G / L22J / L22N [DATASHEET]
Atmel-42402E-SAM L22G / L22J / L22N_Datasheet_Complete-07/2016
796