265
Chapter 9
16-Bit Timer/Event Counter P
User’s Manual U16580EE3V1UD00
(2)
TMPn control register 1 (TPnCTL1)
The TPnCTL1 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.
Figure 9-6:
TMPn Control Register 1 (TPnCTL1) (1/2)
Cautions: 1. Always clear the TPnSYE bit for the master timers TMP0 and TMP4.
2. Always clear the TPnSYE bit for TMP8. Do not operate TMP8 in synchronous
mode.
Remark:
n = 0 to 8
After reset:
00H
R/W
Address:
TP0CTL1 FFFFF601H, TP1CTL1 FFFFF611H,
TP2CTL1 FFFFF621H, TP3CTL1 FFFFF631H,
TP4CTL1 FFFFF641H, TP5CTL1 FFFFF651H,
TP6CTL1 FFFFF661H, TP7CTL1 FFFFF671H,
TP8CTL1 FFFFF681H
7
6
5
4
3
2
1
0
TPnCTL1
TPnSYE
TPnEST
TPnEEE
0
0
TPnMD2
TPnMD1
TPnMD0
(n = 0 to 8)
TPnSYE
Synchronous Mode Selection
0
Timer Pn operates in single operation mode
1
Timer Pn operates in synchronous operation mode
Note
•
This bit supports synchronous operation of two or more timer P.
•
Two groups of timers exist, which can be synchronized: TMP0 to TMP3 with TMP0 as
master, and TMP4 to TMP7 with TMP4 as master.
Note:
Synchronous operation mode is not available for TMP8 (n = 8).
TPnEST
Software Trigger Control
0
No operation
1
In one-shot pulse mode: One-shot pulse software trigger
In external trigger pulse output mode: Pulse output software trigger
•
The TPnEST bit functions as a software trigger in the one-shot pulse mode and the
external trigger pulse output mode
Note 1
, if it is set to 1 when TPnCE = 1. Therefore, be
sure to set TPnEST to 1 after setting TPnCE to 1.
•
TTRGPn
pin is used as the external trigger input of TMPn.
Note 2
•
The read value of the TPnEST bit is always 0.
Notes: 1.
The TRnEST bit is invalid even if it is controlled in any other mode.
2.
External trigger input pin is not available for TMP8 (n = 8)
Summary of Contents for V850E/PH2
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 192: ...192 Chapter 5 Memory Access Control Function PD70F3187 only 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: ......