Pin Functions - Renesas H8S Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8S Series:
Table of Contents

Advertisement

9.9.3

Pin Functions

Mode 7 (On-Chip ROM Version Only): In mode 7, port B pins function as I/O ports. Input or output can be specified
for each pin on an individual bit basis. Setting a PBDDR bit to 1 makes the corresponding port B pin an output port, while
clearing the bit to 0 makes the pin an input port.
Port B pin functions in mode 7 are shown in figure 9-12.
Mode 6 (On-Chip ROM Version Only): In mode 6, port B pins function as address outputs or input ports. Input or
output can be specified on an individual bit basis. Setting a PBDDR bit to 1 makes the corresponding port B pin an
address output, while clearing the bit to 0 makes the pin an input port.
Port B pin functions in mode 6 are shown in figure 9-13.
Rev.6.00 Oct.28.2004 page 310 of 1016
REJ09B0138-0600H
Port B
Figure 9-12 Port B Pin Functions (Mode 7)
When PBDDR = 1
A
(output)
15
A
(output)
14
A
(output)
13
A
(output)
Port B
12
A
(output)
11
A
(output)
10
A
(output)
9
A
(output)
8
Figure 9-13 Port B Pin Functions (Mode 6)
PB
(I/O)
7
PB
(I/O)
6
PB
(I/O)
5
PB
(I/O)
4
PB
(I/O)
3
PB
(I/O)
2
PB
(I/O)
1
PB
(I/O)
0
When PBDDR = 0
PB
(input)
7
PB
(input)
6
PB
(input)
5
PB
(input)
4
PB
(input)
3
PB
(input)
2
PB
(input)
1
PB
(input)
0

Advertisement

Table of Contents
loading

Table of Contents