Port 4; Overview; Register Configuration; Pin Functions - Renesas H8S Series Hardware Manual

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

Advertisement

9.5

Port 4

9.5.1

Overview

Port 4 is an 8-bit input-only port. Port 4 pins also function as A/D converter analog input pins (AN0 to AN7) and D/A
converter analog output pins (DA0 and DA1). Port 4 pin functions are the same in all operating modes. Figure 9-4 shows
the port 4 pin configuration.
9.5.2

Register Configuration

Table 9-8 shows the port 4 register configuration. Port 4 is an input-only port, and does not have a data direction register
or data register.
Table 9-8
Port 4 Registers
Name
Port 4 register
Note: * Lower 16 bits of the address.
Port 4 Register (PORT4): The pin states are always read when a port 4 read is performed.
Bit
:
7
P47
Initial value :
—*
R/W
:
R
Note: * Determined by state of pins P4
9.5.3

Pin Functions

Port 4 pins also function as A/D converter analog input pins (AN0 to AN7) and D/A converter analog output pins (DA0
and DA1).
Port 4
Figure 9-4 Port 4 Pin Functions
Abbreviation
PORT4
6
5
4
P46
P45
P44
—*
—*
—*
R
R
R
to P4
.
7
0
Port 4 pins
P4
(input)/
AN7 (input)/DA1 (output)
7
P4
(input)/
AN6 (input)/DA0 (output)
6
P4
(input)/
AN5 (input)
5
P4
(input)/
AN4 (input)
4
P4
(input)/
AN3 (input)
3
AN2 (input)
P4
(input)/
2
P4
(input)/
AN1 (input)
1
P4
(input)/
AN0 (input)
0
R/W
Initial Value
R
Undefined
3
2
1
P43
P42
P41
—*
—*
—*
R
R
R
Rev.6.00 Oct.28.2004 page 293 of 1016
Address*
H'FF53
0
P40
—*
R
REJ09B0138-0600H

Advertisement

Table of Contents
loading

Table of Contents