74
CHAPTER 5 PORT FUNCTIONS
Table 5-1. Port Functions
Pin Name
Input/Output
Function
Alternate
Function
P00 to P02
Input/Output
INTP0 to INTP2
P03 to P07
—
P10 to P14
Input
Port 1
ANI0 to ANI4
5-bit input only port.
P20 to P23
Output
Port 2
SM11 to SM14
P24 to P27
8-bit output only port.
SM21 to SM24
P30 to P33
Output
Port 3
SM31 to SM34
P34 to P37
8-bit output only port.
SM41 to SM44
P40 to P42
Input/Output
TI00 to TI02
P43, P44
TIO2, TIO3
P50
Input/Output
Port 5
SCK
P51
5-bit input/output port.
SO
P52
Input/output mode can be specified bit-wise.
SI
P53
RxD
P54
TxD
P60
Input/Output
PCL/SGOA
P61
SGO/SGOF
P81
Input/Output
S19/TPO
P82 to P87
S18 to S13
P90 to P97
Input/Output
Port 9
S12 to S5
8-bit input/output port.
Input/output mode can be specified bit-wise.
Can be set in input/output port or segment output mode in 2-bit units by
using LCD display control register (LCDC).
Port 0
8-bit input/output port.
Input/output mode can be specified bit-wise.
If used as an input port, an on-chip pull-up resistor can be used by
software.
Port 4
5-bit input/output port.
Input/output mode can be specified bit-wise.
Port 6
2-bit input/output port.
Input/output mode can be specified bit-wise.
Port 8
7-bit input/output port.
Input/output mode can be specified bit-wise.
Can be set in input/output port or segment output mode in 2-bit units by
using LCD display control register (LCDC).
Содержание 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 ...