941
Chapter 20
Port Functions
User’s Manual U16580EE3V1UD00
(b) Port mode register AL (PMAL)
The PMAL register is a 16-bit register that specifies the input or output mode of port pins PAL0 to
PAL15.
This register can be read or written in 16-bit units.
If the higher 8 bits of the PMAL register are used as PMALH register, and the lower 8 bits as the
PMALL register, however, these registers can be read or written in 8-bit or 1-bit units.
Reset input sets this register to FFFFH.
Figure 20-59:
Port Mode Register AL(PMAL)
Remark:
n = 0 to 15
After reset:
FFFFH
R/W
Address:
FFFFF020H
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
PMAL
PMAL
15
PMAL
14
PMAL
13
PMAL
12
PMAL
11
PMAL
10
PMAL
9
PMAL
8
PMAL
7
PMAL
6
PMAL
5
PMAL
4
PMAL
3
PMAL
2
PMAL
1
PMAL
0
PMALH
PMALL
After reset:
FFH
R/W
Address:
FFFFF020H
7
6
5
4
3
2
1
0
PMALL
PMAL7
PMAL6
PMAL5
PMAL4
PMAL3
PMAL2
PMAL1
PMAL0
After reset:
FFH
R/W
Address:
FFFFF021H
7
6
5
4
3
2
1
0
PMALH
PMAL15
PMAL14
PMAL13
PMAL12
PMAL11
PMAL10
PMAL9
PMAL8
PMALn
Input/Output Mode Control of Pin PALn (in Port Mode)
0
Output mode
1
Input mode
Содержание 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: ......