958
Chapter 20
Port Functions
User’s Manual U16580EE3V1UD00
20.3.18 Port
CM
Port CM is a 4-bit I/O port that can be set to input or output mode in 1-bit units.
(1)
Functions
•
Input/output data can be specified in 1-bit units by using the port register CM (PCM).
•
Input or output mode can be set in 1-bit units by using the port mode register CM (PMCM).
•
Port mode or control mode (for alternate function) can be specified in 1-bit units by using the
port mode control register CM (PMCCM).
Table 20-21:
Alternate Function Pins and Port Types of Port CM
Note:
Alternate function not available on
μ
PD70F3447.
Caution:
On the
μ
PD70F31187, in single-chip mode 1 or in ROM-less mode, this port has exter-
nal control bus function only. Reprogramming of port CM to port mode is not possi-
ble in these modes. Reading and writing of the port register PCM and port mode
register PMCM is possible but has no effect. Reading of the port mode control regis-
ter PMCCM is possible and the result is always 01H. Writing of the port mode control
register PMCCM is not possible.
(2)
Control registers
(a) Port register CM (PCM)
The PCM register is an 8-bit register that controls reading the pin levels and writing the output
levels of port pins PCM0, PCM1, PCM6 and PCM7.
This register can be read or written in 8-bit or 1-bit units.
Reset input causes an undefined register content.
Figure 20-76:
Port Register CM (PCM)
Remark:
n = 0, 1, 6, 7
Port
Alternate Function
Remark
Port Type
Port CM
PCM0
WAIT
Note
Wait insertion signal input
Note
2C
PCM1
-
1
PCM6
-
PCM7
-
After reset:
Undefined
R/W
Address:
FFFFF00CH
7
6
5
4
3
2
1
0
PCM
PCM7
PCM6
0
0
0
0
PCM1
PCM0
PCMn
Input/Output Data Control of Pin PCMn
0
Input mode: Low level is input
Output mode: Low level is output
1
Input mode: High level is input
Output mode: High level is output
Содержание 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: ......