Expanded
Modes
Single-Chip
Mode
Port
Description
Pins
Mode 1
Mode 2
Mode 3
Port 8
• 7-bit I/O port
P86/IRQ5/SCK1/SCL
Serial communication interface 1 input/output (TxD1,
RxD1, SCK1), HIF control input (CS2, IOW), I2C clock
input/output (SCL), external interrupt input (IRQ5 to
IRQ3), or general input/output
• Can drive a bus P85/IRQ4/RxD1/CS2
line (P86)
P84/IRQ3/TxD1/IOW
P83/IOR
P82/CS1
P81/GA20
P80/HA0
HIF control input/output (HA0, GA20, CS1, IOR), or
general input/output
Port 9
• 8-bit I/O port
P97/WAIT/SDA
Expanded data bus control input
(WAIT), I2C data input/output (SDA),
or general input/output
I2C data
input/output
(SDA) or
general input/
output
• Can drive a bus
line (P97)
P96/ø
System clock (ø)
output
System clock (ø)
output
ø output or
general input
P95/AS
Expanded data bus control output
(RD, WR, AS)
General
input/output
P94/WR
P93/RD
P92/IRQ0
HIF control input (ECS2, EIOW), trigger input to A/D
converter (ADTRG), external interrupt input (IRQ2 to
IRQ0), or general input/output
P91/IRQ1/EIOW
P90/IRQ2/ECS2/ADTRG
Port A
• 8-bit I/O port
PA7 to PA0/
Key-sense interrupt input (KEYIN15 to KEYIN8) or
KEYIN15 to KEYIN8
general input/output
• Built-in input
pull-ups
• Key-sense
interrupt inputs
• Can drive bus
lines (PA4, PA5,
PA6, PA7)
Port B
• 8-bit I/O port
• HIF data bus
PB7 to PB0/
XDB7 to XDB0
HIF data bus (XDB7 to XDB0) or
general input/output
General
input/output
• Built-in input
pull-up MOS
103