269
Chapter 9
16-Bit Timer/Event Counter P
User’s Manual U16580EE3V1UD00
(5)
TMPn I/O control register 2 (TPnIOC2)
The TPnIOC2 register is an 8-bit register that controls the valid edge of the external event count
input signal (TEVTPn) and external trigger input signal (TTRGPn).
This register can be read or written in 8-bit or 1-bit units.
Reset input clears this register to 00H.
Figure 9-9:
TMPn I/O Control Register 2 (TPnIOC2)
Cautions: 1. Rewrite the TPnEES1, TPnEES0, TPnEST1, and TPnEST0 bits only when TPnCE =
0. (The same value can be written when TPnCE = 1.) If rewriting was mistakenly
performed, set TPnCE = 0 and then set the bits again.
2. The TPnEES1 and TPnEES0 bits are valid only when TPnEEE = 1 or when the
external event count mode (TPnMD2 to TPnMD0 = 001B of the TPnCTL1 register)
has been set.
Remark:
n = 0 to 7
After reset:
00H
R/W
Address:
TP0IOC2 FFFFF604H, TP1IOC2 FFFFF614H,
TP2IOC2 FFFFF624H, TP3IOC2 FFFFF634H,
TP4IOC2 FFFFF644H, TP5IOC2 FFFFF654H,
TP6IOC2 FFFFF664H, TP7IOC2 FFFFF674H,
TP8IOC2 FFFFF684H
7
6
5
4
3
2
1
0
TPnIOC2
0
0
0
0
TPnEES1 TPnEES0 TPnETS1 TPnETS0
(n = 0 to 7)
TP1EES1 TP1EES0
External Event Counter Input (TEVTPn)
Valid Edge Setting
0
0
No edge detection (capture operation invalid)
0
1
Rising edge detection
1
0
Falling edge detection
1
1
Both, rising and falling edge detection
TP1ETS1 TP1ETS0
External Trigger Input (TTRGPn) Valid Edge Setting
0
0
No edge detection (capture operation invalid)
0
1
Rising edge detection
1
0
Falling edge detection
1
1
Both, rising and falling edge detection
Содержание V850E/PH2
Страница 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: ......