403
16-bit Timer/Event Counter P (TMP)
Chapter 11
Preliminary User’s Manual U17566EE1V2UM00
11.5.6
Free-running timer mode (TPnMD2 to TPnMD0 = 101)
In the free-running timer mode, 16-bit timer/event counter P starts counting
when the TPnCTL0.TPnCE bit is set to 1. At this time, the TPnCCRm register
can be used as a compare register or a capture register, depending on the
setting of the TPnOPT0.TPnCCS0 and TPnOPT0.TPnCCS1 bits.
Figure 11-25
Configuration in free-running timer mode
TPnCCR0 regi
s
ter
(c
a
pt
u
re)
TPnCE
b
it
TPnCCR1 regi
s
ter
(comp
a
re)
16-
b
it co
u
nter
TPnCCR1 regi
s
ter
(comp
a
re)
TPnCCR0 regi
s
ter
(c
a
pt
u
re)
O
u
tp
u
t
controller
TPnCC
S
0, TPnCC
S
1
b
it
s
(c
a
pt
u
re/comp
a
re
s
election)
TOPn0 pin o
u
tp
u
t
O
u
tp
u
t
controller
TOPn1 pin o
u
tp
u
t
Edge
detector
Co
u
nt
clock
s
election
Edge
detector
Edge
detector
TIPn0 pin
(extern
a
l event
co
u
nt inp
u
t/
c
a
pt
u
re
trigger inp
u
t)
TIPn1 pin
(c
a
pt
u
re
trigger inp
u
t)
Intern
a
l co
u
nt clock
0
1
0
1
INTTPnOV
s
ign
a
l
INTTPnCC1
s
ign
a
l
INTTPnCC0
s
ign
a
l
electronic components distributor