344
Chapter 11
16-bit Timer/Event Counter P (TMP)
Preliminary User’s Manual U17566EE1V2UM00
11.2 Functions
TMPn has the following functions.
• Interval timer
• External event counter
• External trigger pulse output
• One-shot pulse output
• PWM output
• Free-running timer
• Pulse width measurement
• TMP0 and TMP1 can be used for triggering the DMA Controller.
• All TMPn can be optionally stopped when a breakpoint is hit during
debugging (refer to
“On-Chip Debug Unit“ on page 877
).
11.3 Configuration
TMPn includes the following hardware.
Figure 11-1
Block diagram of TMPn
PCLK0 (16 MHz)
PCLK01=PCLK0/2
Note
(
8
MHz)
PCLK02=PCLK0/4
Note
(4 MHz)
PCLK4 (1 MHz)
PCLK5 (500 KHz)
PCLK6 (250 KHz)
PCLK7 (125 KHz)
TIPn0
TIPn1
S
elector
S
elector
TPnCNT
16-
b
it co
u
nter
CCR0
bu
ffer
regi
s
ter
CCR1
bu
ffer
regi
s
ter
TPnCCR0
TPnCCR1
O
u
tp
u
t
controller
INTTPnOV
TPn0
TPn1
INTTPnCC0
INTTPnCC1
Cle
a
r
Edge
detector
Intern
a
l
bus
Intern
a
l
bus
electronic components distributor