Datasheet
V850ES/JG3-H, V850ES/JH3-H CHAPTER 4 PORT FUNCTIONS
R01UH0042EJ0500 Rev.5.00 Page 123 of 1513
Aug 12, 2011
4.3.5 Port 4
Port 4 is a 3-bit port that controls I/O in 1-bit units.
Port 4 includes the following alternate-function pins.
Table 4-10. Port 4 Alternate-Function Pins
Pin No. Pin Name
V850ES/
JG3-H
V850ES/
JH3-H
Alternate-Function Pin Name I/O Remark
P40 22 29 SIF0/TXDC4/SDA01 I/O
P41 23 30 SOF0/RXDC4/SCL01 I/O
P42 24 31 SCKF0/INTP10 I/O
Selectable as N-ch open-drain output
Caution The P40 to P42 pins have hysteresis characteristics in the input mode of the alternate-function pin,
but do not have the hysteresis characteristics in the port mode.
(1) Port 4 register (P4)
0
Outputs 0.
Outputs 1.
P4n
0
1
Output data control (in output mode) (n = 0 to 2)
P4 0 0 0 0 P42 P41 P40
After reset: 00H (output latch) R/W Address: FFFFF408H
(2) Port 4 mode register (PM4)
1
Output mode
Input mode
PM4n
0
1
I/O mode control (n = 0 to 2)
PM4 1 1 1 1 PM42 PM41 PM40
After reset: FFH R/W Address: FFFFF428H