Datasheet
Section 8 I/O Ports
Rev.7.00 Dec. 24, 2008 Page 227 of 698
REJ09B0074-0700
8.3 Port 4
The port 4 is a 4-bit input port also functioning as A/D converter analog input pins. The port 4 of
the H8S/2218 Group has the same function as that of the H8S/2212 Group. The port 4 has the
following register.
• Port 4 register (PORT4)
8.3.1 Port 4 Register (PORT4)
PORT4 indicates the pin states of the port 4.
Bit Bit Name Initial Value R/W Description
7 to
4
⎯ Undefined ⎯ Reserved
These bits are undefined.
3
2
1
0
P43
P42
P41
P40
⎯*
⎯*
⎯*
⎯*
R
R
R
R
The pin states are always read when these bits are read.
Note: * Determined by the states of pins P43 to P40.
8.3.2 Pin Function
The port 4 also functions as A/D converter analog input (AN3 to AN0) pins.