Datasheet

V850ES/JG3-H, V850ES/JH3-H CHAPTER 4 PORT FUNCTIONS
R01UH0042EJ0500 Rev.5.00 Page 113 of 1513
Aug 12, 2011
4.3.2 Port 1
Port 1 is a 2-bit port for which I/O settings can be controlled in 1-bit units.
Port 1 includes the following alternate-function pins.
Table 4-7. Port 1 Alternate-Function Pins
Pin No. Pin Name
V850ES/
JG3-H
V850ES/
JH3-H
Alternate-Function Pin Name I/O Remark
P10 3 3 ANO0 Output
P11 4 4 ANO1 Output
Caution When the power is turned on, the P10 and P11 pins may output an undefined level temporarily even
during reset.
(1) Port 1 register (P1)
Outputs 0.
Outputs 1.
P1n
0
1
Output data control (in output mode) (n = 0, 1)
P1
After reset: 00H (output latch) R/W Address: FFFFF402H
0 0 0 0 0 0 P11 P10
76543210
Caution Do not read or write the P1 register during D/A conversion (see 16.4.3 Cautions).
(2) Port 1 mode register (PM1)
Output mode
Input mode
PM1n
0
1
I/O mode control (n = 0, 1)
PM1
After reset: FFH R/W Address: FFFFF422H
1 1 1 1 1 1 PM11 PM10
76543210
Cautions 1. When using P1n as the alternate function (ANOn pin output), set the PM1n bit
to 1.
2. When using one of the PM10 and PM11 pins as an I/O port and the other as a
D/A output pin, do so in an application where the port I/O level does not change
during D/A output.