Table 8-1 Port Functions (cont)
Function
Switching
Registers
Port Description
Pins
Other Functions
Port 3 • 8-bit I/O port
P37/AEVL
P36/AEVH
P35/TXD31
P34/RXD31
P33/SCK31
SCI3-1 data output (TXD31),
data input (RXD31), clock
input/output (SCK31), and
asynchronous counter event
inputs AEVL, AEVH
PMR3
SCR31
SMR31
•
•
MOS input pull-up option
Large-current port
P32/RESO
P31/UD
P30/PWM
Reset output, timer C count-
up/down select input, and
14-bit PWM output
PMR3
PMR3
Port 4 • 1-bit input port
3-bit I/O port
P43/IRQ0
External interrupt 0
•
P42/TXD32
P41/RXD32
P40/SCK32
SCI3-2 data output (TXD32),
data input (RXD32), clock
input/output (SCK32)
SCR32
SMR32
Port 5 • 8-bit I/O port
P57 to P50/
WKP7 to WKP0/
SEG8 to SEG1
Wakeup input (WKP7 to
PMR5
WKP0), segment output (SEG8 LPCR
•
MOS input pull-up option
to SEG1)
Port 6 • 8-bit I/O port
P67 to P60/
Segment output (SEG16 to
SEG9)
LPCR
LPCR
LPCR
LPCR
SEG16 to SEG9
MOS input pull-up option
•
Port 7 • 8-bit I/O port
P77 to P70/
SEG24 to SEG17
Segment output (SEG24 to
SEG17)
Port 8 • 8-bit I/O port
Port 9 • 8-bit I/O port
P87 to P80/
SEG32 to SEG25
Segment output (SEG32 to
SEG25)
•
Segment output (SEG40 to
SEG37)
P97/SEG40/CL1
P96/SEG39/CL2
P95/SEG38/DO
P94/SEG37/M
P93 to P90/
•
Latch clock (CL1), shift
clock (CL2), display data
(DO) and alternating signal
(M) for external expansion
of segment
SEG36 to SEG33
•
Segment output (SEG36 to
SEG33)
Port A • 4-bit I/O port
Port B • 8-bit input port
Port C • 4-bit input port
PA3 to PA0/
COM4 to COM1
Common output (COM4 to
COM1)
LPCR
AMR
AMR
PB7 to PB0/
AN7 to AN0
A/D converter analog input
PC3 to PC0/
AN11 to AN8
A/D converter analog input
131