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
Содержание 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: ......