406
Chapter 11
16-bit Timer/Event Counter P (TMP)
Preliminary User’s Manual U17566EE1V2UM00
(1)
Register setting in free-running timer mode
(a) TMPn control register 0 (TPnCTL0)
Note
The setting is invalid when the TPnCTL1.TPnEEE bit = 1
(b) TMPn control register 1 (TPnCTL1)
(c) TMPn I/O control register 0 (TPnIOC0)
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
0
1
TPnMD2 TPnMD1 TPnMD0
TPnEEE
TPnE
S
T
1, 0, 1:
Free-r
u
nning 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 on extern
a
l
event
co
u
nt inp
u
t
s
ign
a
l
0
0
0
0
0/1
TPnIOC0
0: Di
sab
le TOPn0 pin o
u
tp
u
t
1: En
ab
le TOPn0 pin o
u
tp
u
t
S
etting of o
u
tp
u
t level with
oper
a
tion of TOPn0 pin di
sab
led
0: Low level
1: High level
0: Di
sab
le TOPn1 pin o
u
tp
u
t
1: En
ab
le TOPn1 pin o
u
tp
u
t
S
etting of o
u
tp
u
t level with
oper
a
tion of TOPn1 pin di
sab
led
0: Low level
1: High level
0/1
0/1
0/1
TPnOE1
TPnOL0
TPnOE0
TPnOL1
electronic components distributor