422
Chapter 11
16-bit Timer/Event Counter P (TMP)
Preliminary User’s Manual U17566EE1V2UM00
(1)
Register setting in pulse width measurement mode
(a) TMPn control register 0 (TPnCTL0)
Note
Setting is invalid when the TPnEEE bit = 1.
(b) TMPn control register 1 (TPnCTL1)
(c) TMPn I/O control register 1 (TPnIOC1)
0/1
0
0
0
0
TPnCTL0
S
elect co
u
nt clock
Note
0:
S
top co
u
nting
1: En
ab
le co
u
nting
0/1
0/1
0/1
TPnCK
S
2 TPnCK
S
1 TPnCK
S
0
TPnCE
0
0
0/1
0
0
TPnCTL1
1
1
0
TPnMD2 TPnMD1 TPnMD0
TPnEEE
TPnE
S
T
1, 1, 0:
P
u
l
s
e width me
asu
rement mode
0: Oper
a
te with co
u
nt
clock
s
elected
b
y
TPnCK
S
0 to TPnCK
S
2
b
it
s
1: Co
u
nt extern
a
l event
co
u
nt inp
u
t
s
ign
a
l
0
0
0
0
0/1
TPnIOC1
S
elect v
a
lid edge
of TIPn0 pin inp
u
t
S
elect v
a
lid edge
of TIPn1 pin inp
u
t
0/1
0/1
0/1
TPnI
S
2
TPnI
S
1
TPnI
S
0
TPnI
S3
electronic components distributor