Datasheet
Section 8 I/O Ports
Rev. 6.00 Aug 04, 2006 page 204 of 680
REJ09B0145-0600
Port Description Pins Other Functions
Function
Switching
Registers
Port 3 P3
7
/AEVL
P3
6
/AEVH
P3
5
/TXD
31
P3
4
/RXD
31
P3
3
/SCK
31
SCI3-1 data output (TXD
31
), data
input (RXD
31
), clock input/output
(SCK
31
), and asynchronous counter
event inputs AEVL, AEVH
PMR3
SCR31
SMR31
• 8-bit I/O port
• MOS input pull-up
option
• Large-current port
(H8/3847R Group,
H8/38347 Group
and H8/38447
Group)
P3
2
/RESO
*
1
P3
1
/UD/EXCL
*
2
P3
0
/PWM
Reset output
*
1
, timer C count-up/
down select input, and 14-bit PWM
output, external subclock input
*
2
PMR2
PMR3
Port 4 P4
3
/IRQ
0
External interrupt 0 PMR3• 1-bit input port
• 3-bit I/O port
P4
2
/TXD
32
P4
1
/RXD
32
P4
0
/SCK
32
SCI3-2 data output (TXD
32
), data
input (RXD
32
), clock input/output
(SCK
32
)
SCR32
SMR32
Port 5 • 8-bit I/O port
• MOS input pull-up
option
P5
7
to P5
0
/
WKP
7
to WKP
0
/
SEG
8
to SEG
1
Wakeup input (WKP
7
to WKP
0
),
segment output (SEG
8
to SEG
1
)
PMR5
LPCR
Port 6 • 8-bit I/O port
• MOS input pull-up
option
P6
7
to P6
0
/
SEG
16
to SEG
9
Segment output (SEG
16
to SEG
9
)LPCR
Port 7 • 8-bit I/O port P7
7
to P7
0
/
SEG
24
to SEG
17
Segment output (SEG
24
to SEG
17
)LPCR
Port 8 • 8-bit I/O port P8
7
to P8
0
/
SEG
32
to SEG
25
Segment output (SEG
32
to SEG
25
)LPCR
Port 9 • 8-bit I/O port P9
7
/SEG
40
/CL
1
*
3
P9
6
/SEG
39
/CL
2
*
3
P9
5
/SEG
38
/DO
*
3
P9
4
/SEG
37
/M
*
3
P9
3
to P9
0
/
SEG
36
to SEG
33
• Segment output (SEG
40
to SEG
37
)
• Latch clock (CL
1
)
*
3
, shift clock
(CL
2
)
*
3
, display data (DO)
*
3
and
alternating signal (M)
*
3
for external
expansion of segment
• Segment output (SEG
36
to SEG
33
)
LPCR
Port A • 4-bit I/O port PA
3
to PA
0
/
COM
4
to COM
1
Common output (COM
4
to COM
1
)LPCR
Port B • 8-bit input port PB
7
to PB
0
/
AN
7
to AN
0
A/D converter analog input AMR
Port C • 4-bit input port PC
3
to PC
0
/
AN
11
to AN
8
A/D converter analog input AMR
Notes: 1. The RESO function is not implemented in the H8/38347 Group and H8/38447 Group.
2. The EXCL function is only implemented in the H8/38347 Group and H8/38447 Group.
3. The external expansion function for LCD segments is not implemented in the H8/38347
Group and H8/38447 Group.










