151
CHAPTER 6 PORT FUNCTIONS
Table 6-5. Port Mode Register and Output Latch Settings when Using Dual-Functions
P00
INTP0
Input
1 (Fixed)
None
TI00
Input
1 (Fixed)
None
P01
INTP1
Input
1
×
TI01
Input
1
×
P02 to P06
INTP2 to INTP6
Input
1
×
P07
Note1
XT1
Input
1 (Fixed)
None
P10 to P17
Note1
ANI0 to ANI7
Input
1
×
P30 to P32
TO0 to TO2
Output
0
0
P33, P34
TI1, TI2
Input
1
×
P35
PCL
Output
0
0
P36
BUZ
Output
0
0
P40 to P47
AD0 to AD7
Input/Output
×
Note2
P50 to P57
A8 to A15
Output
×
Note2
P64
RD
Output
×
Note2
P65
WR
Output
×
Note2
P66
WAIT
Input
×
Note2
P67
ASTB
Output
×
Note2
P120 to P127
RTP0 to RTP7
Output
0
desired value
P130, P131
(Note1)
ANO0, ANO1
Output
1
×
Dual-functions
Name
P
××
PM
××
Input/Output
Pin Name
Notes
1. If these ports are read out when these pins are used in the alternative function mode, undefined values
are read.
2. When the P40 to P47 pins P50 to P57 pins, and P64 to P67 pins are used for dual-functions, set the
function by the memory extension mode register (MM).
Cautions 1. When not using external wait in the external memory extension mode, the P66 pin can be used
as an I/O port.
2. When port 2 and port 7 are used for serial interface, the I/O latch or output latch must be
set according to its function. For the setting methods, see Figure 16-4 “Serial Operation
Mode Register 0 Format”, Figure 17-4 “Serial Operation Mode Register 0 Format”, Figure
18-3 “Serial Operation Mode Register 1 Format”, and Table 19-2 “Serial Interface Channel
2 Operating Mode Settings”.
Remarks
×
: don’t care
PM
××
: port mode register
P
××
: port output latch
Summary of Contents for PD78052
Page 2: ...2 MEMO ...
Page 8: ...8 MEMO ...
Page 16: ...16 MEMO ...
Page 36: ...36 MEMO ...
Page 158: ...158 MEMO ...
Page 174: ...174 MEMO ...
Page 240: ...240 MEMO ...
Page 260: ...260 MEMO ...
Page 340: ...340 MEMO ...
Page 392: ...392 MEMO ...
Page 438: ...438 MEMO ...
Page 482: ...482 CHAPTER 20 REAL TIME OUTPUT PORT MEMO ...
Page 510: ...510 MEMO ...
Page 524: ...524 MEMO ...
Page 560: ...560 MEMO ...
Page 576: ...576 MEMO ...
Page 598: ...598 MEMO ...
Page 602: ...602 MEMO ...