Datasheet

V850ES/JG3-H, V850ES/JH3-H CHAPTER 4 PORT FUNCTIONS
R01UH0042EJ0500 Rev.5.00 Page 114 of 1513
Aug 12, 2011
4.3.3 Port 2 (V850ES/JH3-H only)
Port 2 is a 6-bit port for which I/O settings can be controlled in 1-bit units.
Port 2 includes the following alternate-function pins.
Table 4-8. Port 2 Alternate-Function Pins
Pin No. Pin Name
V850ES/
JG3-H
V850ES/
JH3-H
Alternate-Function Pin Name I/O Remark
P20
32 TIAB03/KR2/TOAB03/RTP02 I/O
P21
33
SIF2/KR3/TIAB00/TOAB00
/RTP03
I/O
P22
34 SOF2/KR4/RTP04 I/O
P23
35 SCKF2/KR5/RTP05 I/O
P24
36 INTP05 Input
P25
28 INTP06 Input
Selectable as N-ch open-drain output
Caution The P20 to P25 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 2 register (P2)
Outputs 0.
Outputs 1.
P2n
0
1
Output data control (in output mode) (n = 0 to 5)
P2
After reset: 00H (output latch) R/W Address: FFFFF404H
0 0 P25 P24 P23 P22 P21 P20
76543210
(2) Port 2 mode register (PM2)
Output mode
Input mode
PM2n
0
1
I/O mode control (n = 0 to 5)
PM2
After reset: FFH R/W Address: FFFFF424H
1 1 PM25 PM24 PM23 PM22 PM21 PM20
76543210