Table 5-1. Port Functions
Expanded modes
Single-chip mode
Port
Description
Pins
Mode 1
Mode 2
Mode 3
Port 1 • 8-bit input-output P1
7
to P1
0
/
Address output General input
General input/
port
A
7
to A
0
(low)
when DDR = “0” output
• Can drive LEDs
(initial state)
• Input pull-ups
Address output
(low) when
DDR = “1”
Port 2 • 8-bit input-output P2
7
to P2
0
/
Address output General input
General input/
port
A
15
to A
8
(high)
when DDR = “0” output
• Can drive LEDs
(initial state)
• Input pull-ups
Address output
(high) when
DDR = “1”
Port 3 • 8-bit input-output P3
7
to P3
0
/
Data bus
Data bus
General input/
port
D
7
to D
0
output
• Input pull-ups
Port 4 • 8-bit input/output P4
7
/WAIT
WAIT input
General input/
output
P4
6
/Ø
System clock
General input
output
when DDR = “0”
(initial state)
System clock
output when
DDR = “1”
P4
5
/AS
AS output
General input/
P4
4
/WR
WR output
output
P4
3
/RD
RD output
P4
2
/IRQ
0
General input/output or external interrupt input
P4
1
/IRQ
1
(IRQ
0
, IRQ
1
)
P4
0
/ADTRG/
General input/output, A/D converter trigger input
IRQ
2
(ADTRG), or external interrupt input (IRQ
2
)
Port 5 • 3-bit input-output P5
2
to P5
0
General input/output or serial communication interface
port
input/output (TxD, RxD, SCK)
Port 6 • 8-bit input-output P6
7
to P6
0
General input/output, 16-bit free-running timer
port
input/output (FTCI, FTOA, FTOB, FTIA, FTIB, FTIC,
FTID), or 8-bit timer 0/1 input/output (TMCI
0
, TMO
0
,
TMRI
0
, TMCI
1
, TMO
1
, TMRI
1
)
Port 7 • 8-bit input port
P7
7
to P7
0
General input, or analog input to A/D converter
76
Summary of Contents for H8/326 Series
Page 67: ...58 ...
Page 121: ...112 ...
Page 274: ... 3 Clock Settling Timing Ø VCC RES STBY tOSC1 tOSC1 Figure 14 8 Clock Setting Timing 265 ...
Page 279: ...270 ...