Port 4; Port 4 Register (Port4); Pin Function; Table 9.15 P31 Pin Function - Hitachi H8S/2215 Series Hardware Manual

Hitachi single-chip microcomputer
Table of Contents

Advertisement

Table 9.15 P31 Pin Function

RE
P31DDR

Pin function

Table 9.16 P30 Pin Function

TE
P30DDR
Pin function
9.3

Port 4

Port 4 is a 4-bit I/O port also functioning as A/D converter analog input. Port 4 has the following
register.

• Port 4 register (PORT4)

9.3.1
Port 4 Register (PORT4)
PORT4 shows port 4 pin states. PORT4 cannot be modified.
Bit
Bit
Initial Value
Name
7 to
Undefined
4
3
P43
*
2
P41
*
1
P41
*
0
P40
*
Note: * Determined by the states of pins P43 to P40.
9.3.2
Pin Function
Port 4 also functions as A/D converter analog input (AN3 to AN0).
Rev. 3.0, 10/02, page 228 of 686
0
0
P31 input
0
0
P30 input
R/W
Description
Reserved
These bits are undefined and cannot be modified.
R
The pin states are always read when a port 4 read is
performed.
R
R
R
1
P31 output
1
P30 output
1
RxD0 input
1
TxD0 output

Advertisement

Table of Contents
loading

Table of Contents