85
CHAPTER 5 PORT FUNCTIONS
Table 5-3. Port Mode Register and Output Latch Settings when Using Alternate Functions
Notes 1. If these ports are read out when these pins are used in the alternate function mode, undefined
values are read.
2. The P20 to P27 and P30 to P37 pins have an alternate function as meter driving PWM signal output.
When 0 is set to ENn (n = 1 to 4) of port mode control register (PMC) and 1 is set to PM
××
, these
pins go into the high-impedance state. Refer to the port mode register format.
3. When the P81 to P87 and P90 to P97 pins are used for alternate functions, set the function with
the LCD display control register (LCDC).
Caution
When port 5 is used for serial interface, the I/O latch or output latch must be set according
to their function. For the setting methods, see Figure 14-2 Asynchronous Serial Interface
Mode Register (ASIM) Format and Figure 15-2 Serial Operation Mode Register (CSIM)
Format.
Remark
×
: don’t care
PM
××
: port mode register
P
××
: port output latch
P00
INTP0
Input
1
×
P01
INTP1
Input
1
×
P02
INTP2
Input
1
×
P10 to P14
Note 1
ANI0 to ANI4
Input
1
×
P20 to P27
SM11 to SM24
Output
0
Note 2
×
P30 to P37
SM31 to SM44
Output
0
Note 2
×
P40 to P42
TI00 to TI02
Input
1
×
P43, P44
TIO2, TIO3
Output
0
0
P60
SGOA/PCL
Output
0
0
P61
SGO/SGOF
Output
0
0
P81, P82 to P87
S19/TPO, S18 to S13 Output
×
Note 3
P90 to P97
S12 to S5
Output
×
Note 3
Alternate Functions
Name
P
××
PM
××
Input/Output
Pin Name
Содержание mPD780973 Series
Страница 2: ...2 MEMO ...
Страница 66: ...66 MEMO ...
Страница 98: ...98 MEMO ...
Страница 138: ...138 MEMO ...
Страница 164: ...164 MEMO ...
Страница 182: ...182 MEMO ...
Страница 204: ...204 MEMO ...
Страница 244: ...244 MEMO ...
Страница 262: ...262 MEMO ...
Страница 278: ...278 MEMO ...
Страница 290: ...290 MEMO ...