396
Chapter 11
16-bit Timer/Event Counter P (TMP)
Preliminary User’s Manual U17566EE1V2UM00
(1)
Setting of registers in PWM output 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
0
0
TPnCTL1
1
0
0
TPnMD2 TPnMD1 TPnMD0
TPnEEE
TPnE
S
T
1, 0, 0:
PWM o
u
tp
u
t mode
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 while
oper
a
tion of TOPn0 pin i
s
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
pecifie
s
a
ctive level of TOPn1
pin o
u
tp
u
t
0: Active-high
1: Active-low
0/1
0/1
0/1
TPnOE1
TPnOL0
TPnOE0
TPnOL1
TOPn1 pin o
u
tp
u
t
16-
b
it co
u
nter
•
When TPnOL1
b
it = 0
TOPn1 pin o
u
tp
u
t
16-
b
it co
u
nter
•
When TPnOL1
b
it = 1
electronic components distributor