Datasheet
Section 10 I/O Ports 
R01UH0310EJ0500 Rev. 5.00    Page 575 of 1384 
Sep 25, 2012     
H8S/2426, H8S/2426R, H8S/2424 Group 
10.4  Port 4 
Port 4 is an 8-bit input-only port that also has other functions, such as analog input pins. Port 4 has 
the following register. 
•  Port 4 register (PORT4) 
10.4.1  Port 4 Register (PORT4) 
PORT4 is an 8-bit read-only register that shows the pin states of port 4. PORT4 cannot be 
modified. 
Bit  Bit Name  Initial Value  R/W  Description 
7 P47  ⎯* R 
6 P46  ⎯* R 
5 P45  ⎯* R 
4 P44  ⎯* R 
3 P43  ⎯* R 
2 P42  ⎯* R 
1 P41  ⎯* R 
0 P40  ⎯* R 
The pin states are always read from this register. 
Note:  *  Determined by the states of pins P47 to P40. 
10.4.2  Pin Functions 
Port 4 also functions as the pins for A/D converter analog inputs and interrupt inputs (the 
H8S/2424 Group). The correspondence between pins is as follows. 
(1)  Pin Functions of H8S/2426 Group and H8S/2426R Group 
•  P40/AN0_0, P41/AN1_0, P42/AN2_0, P43/AN3_0, P44/AN4_0, P45/AN5_0, P46/AN6_0, 
P47/AN7_0 
Pin function  ANn_0 input 
[Legend] 
n = 7 to 0 










