264
Chapter 9
16-Bit Timer/Event Counter P
User’s Manual U16580EE3V1UD00
9.4 Control
Registers
(1)
TMPn control register 0 (TPnCTL0)
The TPnCTL0 register is an 8-bit register that controls the operation of timer P.
This register can be read or written in 8-bit or 1-bit units.
Reset input clears this register to 00H.
The same value can always be written to the TPnCTL0 register by software.
Figure 9-5:
TMPn Control Register 0 (TPnCTL0)
Caution:
Set the TPnCKS2 to TPnCKS0 bits when TPnCE = 0. When the value of the TPnCE bit
is changed from 0 to 1, the TPnCKS2 to TPnCKS0 bits can be set simultaneously.
Remark:
n = 0 to 8
After reset:
00H
R/W
Address:
TP0CTL0 FFFFF600H, TP1CTL0 FFFFF610H,
TP2CTL0 FFFFF620H, TP3CTL0 FFFFF630H,
TP4CTL0 FFFFF640H, TP5CTL0 FFFFF650H,
TP6CTL0 FFFFF660H, TP7CTL0 FFFFF670H,
TP8CTL0 FFFFF680H
7
6
5
4
3
2
1
0
TPnCTL0
TPnCE
0
0
0
0
TPnCKS2 TPnCKS1 TPnCKS0
(n = 0 to 8)
TPnCE
Timer Pn Operation Control
0
Internal operating clock operation disabled (TMPn reset asynchronously)
1
Internal operating clock operation enabled
•
Internal operating clock control and TMPn asynchronous reset are performed with the
TPnCE bit. When the TPnCE bit is cleared to 0, the internal operating clock of TMPn
stops (fixed to low level) and TMPn is reset asynchronously.
•
When the TPnCE bit is set to 1, the internal operating clock is enabled and count-up
operation starts within 2 input clocks after the TPnCE bit was set to 1
TPnCKS2 TPnCKS1 TPnCKS0
Internal Count Clock Selection
0
0
0
f
XX
/2
0
0
1
f
XX
/4
0
1
0
f
XX
/8
0
1
1
f
XX
/16
1
0
0
f
XX
/32
1
0
1
f
XX
/64
1
1
0
f
XX
/256
1
1
1
f
XX
/1024
Summary of Contents for MuPD70F3187
Page 6: ...6 Preface User s Manual U16580EE3V1UD00 ...
Page 16: ...16 User s Manual U16580EE3V1UD00 ...
Page 28: ...28 User s Manual U16580EE3V1UD00 ...
Page 32: ...32 User s Manual U16580EE3V1UD00 ...
Page 84: ...84 Chapter 2 Pin Functions User s Manual U16580EE3V1UD00 MEMO ...
Page 144: ...144 Chapter 3 CPU Functions User s Manual U16580EE3V1UD00 MEMO ...
Page 312: ...312 Chapter 9 16 Bit Timer Event Counter P User s Manual U16580EE3V1UD00 MEMO ...
Page 534: ...534 Chapter 11 16 bit Timer Event Counter T User s Manual U16580EE3V1UD00 ...
Page 969: ...969 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 MEMO ...
Page 970: ...970 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 ...
Page 976: ...976 Chapter 22 Internal RAM Parity Check Function User s Manual U16580EE3V1UD00 MEMO ...
Page 984: ...984 Chapter 23 On Chip Debug Function OCD User s Manual U16580EE3V1UD00 MEMO ...
Page 1006: ...1006 Chapter 24 Flash Memory User s Manual U16580EE3V1UD00 MEMO ...
Page 1036: ...1036 Chapter 27 Recommended Soldering Conditions User s Manual U16580EE3V1UD00 MEMO ...
Page 1046: ...1046 Appendix A Index User s Manual U16580EE3V1UD00 MEMO ...
Page 1052: ...1052 User s Manual U16580EE3V1UD00 ...
Page 1053: ......