897
Chapter 20
Port Functions
User’s Manual U16580EE3V1UD00
20.3 Port Pin Functions
20.3.1 Port
0
Port 0 is a 5-bit input only port.
(1)
Functions
•
Input data can be read in 1-bit units by using the port register 0 (P0).
•
The alternate functions shared with the input port functionality of port 0 are always enabled.
Table 20-4:
Alternate Function Pins and Port Types of Port 0
(2)
Control registers
(a) Port register 0 (P0)
The port register 0 (P0) is an 8-bit register that reflects the input levels of port pins P00 to P04.
This register is read-only in 8-bit or 1-bit units.
Reset input causes an undefined register content.
Figure 20-23:
Port Register 0 (P0)
Remark:
n = 0 to 4
Port
Alternate Function
Remark
Port Type
Port 0
P00
NMI
Non maskable interrupt
3
P01
INTP0,
ESO0
External interrupt request input,
Emergency output shut off input (TMR0)
15A
P02
INTP1,
ESO1
External interrupt request input,
Emergency output shut off input (TMR1)
P03
INTP2,
ADTRG0
External interrupt request input,
External A/D conversion start trigger (ADC0)
15
P04
INTP3,
ADTRG1
External interrupt request input,
External A/D conversion start trigger (ADC1)
After reset:
Undefined
R
Address:
FFFFF400H
7
6
5
4
3
2
1
0
P0
0
0
0
P04
P03
P02
P01
P00
P0n
Input Data Control of Pin P0n
0
Low level is input
1
High level is input
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: ......