944
Chapter 20
Port Functions
User’s Manual U16580EE3V1UD00
(b) Port mode register AH (PMAH)
The PMAH register is an 8-bit register that specifies the input or output mode of port pins PAL0 to
PAL15.
This register can be read or written in 8-bit units.
Reset input sets this register to FFH.
Figure 20-62:
Port Mode Register AH (PMAH)
(c) Port mode control register AH (PMCAH)
The PMCAHL register is an 8-bit register that specifies the port mode or control mode (alternate
function) of Port AL.
This register can be read or written in 8-bit units.
Reset input sets this register to 00H in single-chip mode 0, and to 3FH in ROM-less mode and
single-chip mode 1.
Caution:
On
μ
PD70F3447 do not set PMCAHn bits to 1, since the corresponding alternate
function is not available.
Figure 20-63:
Port Mode Control Register AH (PMCAH)
Notes: 1.
In single-chip mode 0:
00H
In single-chip mode 1 and ROM-less mode (
μ
PD70F31187 only): 3FH
2.
On the
μ
PD70F31187, in single-chip mode 1 or in ROM-less mode, this register can not be
written. Reading is possible and returns 3FH.
3.
Alternate function not available on
μ
PD70F3447.
Remark:
n = 0 to 5
After reset:
FFH
R/W
Address:
FFFFF022H
7
6
5
4
3
2
1
0
PMAH
1
1
PMAH5
PMAH4
PMAH3
PMAH2
PMAH1
PMAH0
PMAHn
Input/Output Mode Control of Pin PAHn (in Port Mode)
0
Output mode
1
Input mode
After reset
Note 1
:
00H/3FH
R/W
Note 2
Address:
FFFFF042H
7
6
5
4
3
2
1
0
PMCAH
0
0
PMCAH5 PMCAH4 PMCAH3 PMCAH2 PMCAH1 PMCAH0
PMCAHn
Port/Control Mode Specification of Pin PAHn
0
I/O port mode
1
External memory address bus output mode (A21 to A16)
Note 3
Summary of Contents for MuPD70F3187
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 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: ......