266
Chapter 9
16-Bit Timer/Event Counter P
User’s Manual U16580EE3V1UD00
Figure 9-6:
TMPn Control Register 1 (TPnCTL1) (2/2)
Cautions: 1. Rewrite the TPnEEE and TPnMD2 to TPnMD0 bits only when TPnCE = 0. (The
same value can be written when TPnCE = 1.) The operation is not guaranteed if
rewriting is performed when TPnCE = 1. If rewriting was mistakenly performed,
set TPnCE = 0 and then set the bits again.
2. Set TP8EEE bit of the TR0CTL1 register always to 0, because TMP8 does not
incorporate an external clock input. In case of TP8EEE = 1 operation of TMP8 is
not guaranteed.
Remark:
n = 0 to 8
TPnEEE
Count Clock Selection
0
Use the internal clock (selected by bits TPnCKS2 to TPnCKS0)
1
Use external clock input (TEVTPn input edge)
Note
•
When TPnEEE = 1 (external clock input TEVTPn), the valid edge is specified by bits
TPnEES1 and TPnEES0.
Note:
External clock input pin is not available for TMP8 (n = 8).
TPnMD2
TPnMD1
TPnMD0
Timer Mode Selection
0
0
0
Interval timer mode
Note 1, 2
0
0
1
External event count mode
Note 1, 2, 3
0
1
0
External trigger pulse output mode
Note 2, 3
0
1
1
One-shot pulse mode
Note 2
1
0
0
PWM mode
Note 2
1
0
1
Free-running mode
1
1
0
Pulse width measurement mode
Note 1, 2
1
1
1
Setting prohibited
Notes: 1.
Setting prohibited for TMP0 and TMP4, when synchronous operation function
is enabled (TPnSYE = 1).
2.
Setting prohibited for TMP1 to TMP3, and TMP5 to TMP7, when synchronous
operation function is enabled (TPnSYE = 1).
3.
Setting prohibited for TMP8.
Содержание MuPD70F3187
Страница 6: ...6 Preface User s Manual U16580EE3V1UD00 ...
Страница 16: ...16 User s Manual U16580EE3V1UD00 ...
Страница 28: ...28 User s Manual U16580EE3V1UD00 ...
Страница 32: ...32 User s Manual U16580EE3V1UD00 ...
Страница 84: ...84 Chapter 2 Pin Functions User s Manual U16580EE3V1UD00 MEMO ...
Страница 144: ...144 Chapter 3 CPU Functions User s Manual U16580EE3V1UD00 MEMO ...
Страница 192: ...192 Chapter 5 Memory Access Control Function μPD70F3187 only User s Manual U16580EE3V1UD00 MEMO ...
Страница 312: ...312 Chapter 9 16 Bit Timer Event Counter P User s Manual U16580EE3V1UD00 MEMO ...
Страница 534: ...534 Chapter 11 16 bit Timer Event Counter T User s Manual U16580EE3V1UD00 ...
Страница 969: ...969 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 MEMO ...
Страница 970: ...970 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 ...
Страница 976: ...976 Chapter 22 Internal RAM Parity Check Function User s Manual U16580EE3V1UD00 MEMO ...
Страница 984: ...984 Chapter 23 On Chip Debug Function OCD User s Manual U16580EE3V1UD00 MEMO ...
Страница 1006: ...1006 Chapter 24 Flash Memory User s Manual U16580EE3V1UD00 MEMO ...
Страница 1036: ...1036 Chapter 27 Recommended Soldering Conditions User s Manual U16580EE3V1UD00 MEMO ...
Страница 1046: ...1046 Appendix A Index User s Manual U16580EE3V1UD00 MEMO ...
Страница 1052: ...1052 User s Manual U16580EE3V1UD00 ...
Страница 1053: ......