Pin Functions - Renesas H8S Series Hardware Manual

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

Advertisement

9.12.3

Pin Functions

Mode 7*: In mode 7, port E pins function as I/O ports. Input or output can be specified for each pin on a bit-by-bit basis.
Setting a PEDDR bit to 1 makes the corresponding port E pin an output port, while clearing the bit to 0 makes the pin an
input port.
Note: * Modes 6 and 7 are provided in the on-chip ROM version only.
Port E pin functions in mode 7 are shown in figure 9-23.
Modes 4 to 6*: In modes 4 to 6, when 8-bit access is designated and 8-bit bus mode is selected, port E pins are
automatically designated as I/O ports. Setting a PEDDR bit to 1 makes the corresponding port E pin an output port, while
clearing the bit to 0 makes the pin an input port.
When 16-bit bus mode is selected, the input/output direction specification by PEDDR is ignored, and port E is designated
for data I/O.
Port E pin functions in modes 4 to 6 are shown in figure 9-24.
Note: * Modes 6 and 7 are provided in the on-chip ROM version only.
Port E
Figure 9-23 Port E Pin Functions (Mode 7)
8-bit bus mode
(I/O)
PE
7
PE
(I/O)
6
PE
(I/O)
5
PE
(I/O)
4
Port E
PE
(I/O)
3
PE
(I/O)
2
(I/O)
PE
1
PE
(I/O)
0
Figure 9-24 Port E Pin Functions (Modes 4 to 6)
PE
(I/O)
7
PE
(I/O)
6
PE
(I/O)
5
PE
(I/O)
4
PE
(I/O)
3
PE
(I/O)
2
PE
(I/O)
1
PE
(I/O)
0
16-bit bus mode
D
(I/O)
7
D
(I/O)
6
D
(I/O)
5
D
(I/O)
4
D
(I/O)
3
D
(I/O)
2
D
(I/O)
1
D
(I/O)
0
Rev.6.00 Oct.28.2004 page 325 of 1016
REJ09B0138-0600H

Advertisement

Table of Contents
loading

Table of Contents