372
Chapter 11
16-bit Timer/Event Counter P (TMP)
Preliminary User’s Manual U17566EE1V2UM00
(3)
Operation timing in external event count mode
(a) Operation if TPnCCR0 register is set to 0000H
If the TPnCCR0 register is set to 0000H, the INTTPnCC0 signal is
generated each time the valid signal of the external event count signal has
been detected.
The 16-bit counter is always 0000H.
(b) Operation if TPnCCR0 register is set to FFFFH
If the TPnCCR0 register is set to FFFFH, the 16-bit counter counts to
FFFFH each time the valid edge of the external event count signal has
been detected. The 16-bit counter is cleared to 0000H in synchronization
with the next count-up timing, and the INTTPnCC0 signal is generated. At
this time, the TPnOPT0.TPnOVF bit is not set.
Extern
a
l event co
u
nt
s
ign
a
l
16-
b
it co
u
nter
TPnCE
b
it
TPnCCR0 regi
s
ter
INTTPnCC0
s
ign
a
l
0000H
Extern
a
l event
co
u
nt
s
ign
a
l
interv
a
l
Extern
a
l event
co
u
nt
s
ign
a
l
interv
a
l
Extern
a
l event
co
u
nt
s
ign
a
l
interv
a
l
FFFFH
0000H
0000H
0000H
0000H
FFFFH
16-
b
it co
u
nter
0000H
TPnCE
b
it
TPnCCR0 regi
s
ter
INTTPnCC0
s
ign
a
l
FFFFH
Extern
a
l event
co
u
nt
s
ign
a
l
interv
a
l
Extern
a
l event
co
u
nt
s
ign
a
l
interv
a
l
Extern
a
l event
co
u
nt
s
ign
a
l
interv
a
l
electronic components distributor