Hitachi F-ZTAT H8/3039 Series Hardware Manual page 149

Single-chip microcomputer
Table of Contents

Advertisement

Modes 6 and 7 (Single-Chip Mode): Input or output can be selected separately for each pin in
port 1. A pin becomes an output pin if the corresponding P1DDR bit is set to 1, and an input pin if
this bit is cleared to 0. Figure 7-4 shows the pin functions in modes 6 and 7.
138
When P1DDR = 1
A (output)
7
A (output)
6
A (output)
5
A (output)
4
Port 1
A (output)
3
A (output)
2
A (output)
1
A (output)
0
Figure 7-3 Pin Functions in Mode 5 (Port 1)
Port 1
Figure 7-4 Pin Functions in Modes 6 and 7 (Port 1)
When P1DDR = 0
P1 (input)
7
P1 (input)
6
P1 (input)
5
P1 (input)
4
P1 (input)
3
P1 (input)
2
P1 (input)
1
P1 (input)
0
P1 (input/output)
7
P1 (input/output)
6
P1 (input/output)
5
P1 (input/output)
4
P1 (input/output)
3
P1 (input/output)
2
P1 (input/output)
1
P1 (input/output)
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

F-ztat h8/3039F-ztat h8/3038F-ztat h8/3037F-ztat h8/3036

Table of Contents