Table 8-1 Port Functions
Function
Switching
Port
Description
Pins
Other Functions
Registers
Port 5
• 8-bit I/O port
P5
7
to P5
0
/
Wakeup input (
WKP
7
to
PMR5
• MOS input pull-up
WKP
7
to
WKP
0
/
WKP
0
), segment output
LPCR
option
SEG
8
to SEG
1
(SEG
8
to SEG
1
)
Port 6
• 8-bit I/O port
P6
7
to P6
0
/
Segment output (SEG
16
LPCR
• MOS input pull-up
SEG
16
to SEG
9
to SEG
9
)
option
Port 7
• 8-bit I/O port
P7
7
to P7
0
/
Segment output (SEG
24
LPCR
SEG
24
to SEG
17
to SEG
17
)
Port 8
• 8-bit I/O port
P8
7
/SEG
32
/CL
1
Segment output
LPCR
P8
6
/SEG
31
/CL
2
(SEG
32
to SEG
25
)
P8
5
/SEG
30
/DO
Segment external expansion
P8
4
/SEG
29
/M
latch clock (CL
1
),
P8
3
to P8
0
/
shift clock (CL
2
),
SEG
28
to SEG
25
display data (DO),
alternation signal (M)
Port A
• 4-bit I/O port
PA
3
to PA
0
/
Common output (COM
4
LPCR
COM
4
to COM
1
to COM
1
)
Port B
• 8-bit input port
PB
7
to PB
0
/
A/D converter analog input
AMR
AN
7
to AN
0
132