Port 4; Overview; Register Configuration - Renesas H8S/2319 series Hardware Manual

Renesas 16-bit single-chip microcomputer
Table of Contents

Advertisement

8.5

Port 4

8.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 8-4 shows the port 4 pin configuration.
8.5.2

Register Configuration

Table 8-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 8-8
Port 4 Register
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 P47 to P40.
Port 4 pins
P47 (input) / AN7 (input) / DA1 (output)
P46 (input) / AN6 (input) / DA0 (output)
P45 (input) / AN5 (input)
P44 (input) / AN4 (input)
Port 4
P43 (input) / AN3 (input)
P42 (input) / AN2 (input)
P41 (input) / AN1 (input)
P40 (input) / AN0 (input)
Figure 8-4 Port 4 Pin Functions
Abbreviation
PORT4
6
5
P46
P45
— *
— *
R
R
R/W
Initial Value
R
Undefined
4
3
P44
P43
P42
— *
— *
R
R
Rev. 5.00, 12/03, page 247 of 1088
Address *
H'FF53
2
1
P41
P40
— *
— *
— *
R
R
0
R

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2318 series

Table of Contents