Pin Functions In Each Mode - Hitachi H8/3032 Series Hardware Manual

Table of Contents

Advertisement

Downloaded from
Elcodis.com
electronic components distributor

7.4.3 Pin Functions in Each Mode

The pin functions of port 3 differ between modes 1 and modes 2 and 3. The pin functions in each
mode are described below.
Mode 1: All pins of port 3 automatically become data input/output pins. Figure 7-8 shows the pin
functions in mode 1.
Figure 7-8 Pin Functions in Mode 1 (Port 3)
Modes 2 and 3: Input or output can be selected separately for each pin in port 3. A pin becomes an
output pin if the corresponding P3DDR bit is set to 1, and an input pin if this bit is cleared to 0.
Figure 7-9 shows the pin functions in modes 2 and 3.
Figure 7-9 Pin Functions in Modes 2 and 3 (Port 3)
D
(input/output)
7
D
(input/output)
6
D
(input/output)
5
D
(input/output)
4
Port 3
D
(input/output)
3
D
(input/output)
2
D
(input/output)
1
D
(input/output)
0
P3 (input/output)
7
P3 (input/output)
6
P3 (input/output)
5
P3 (input/output)
4
Port 3
P3 (input/output)
3
P3 (input/output)
2
P3 (input/output)
1
P3 (input/output)
0
133

Advertisement

Table of Contents
loading

Table of Contents