Datasheet

V850ES/JG3 CHAPTER 4 PORT FUNCTIONS
R01UH0015EJ0300 Rev.3.00 Page 73 of 870
Sep 30, 2010
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-5. Port 1 Alternate-Function Pins
Pin Name Pin No. Alternate-Function Pin Name I/O Remark Block Type
P10 3 ANO0 Output
A-2
P11 4 ANO1 Output
A-2
(1) Port 1 register (P1)
0
Outputs 0.
Outputs 1.
P1n
0
1
Output data control (in output mode) (n = 0, 1)
P1 0 0 0 0 0 P11 P10
After reset: 00H (output latch) R/W Address: FFFFF402H
Caution Do not read or write the P1 register during D/A conversion (see 14.4.3 Cautions).
(2) Port 1 mode register (PM1)
1
Output mode
Input mode
PM1n
0
1
I/O mode control (n = 0, 1)
PM1 1 1 1 1 1 PM11 PM10
After reset: FFH R/W Address: FFFFF422H
Cautions 1. When using P1n as the alternate function (ANOn pin output), set the PM1n bit to 1.
2. When using one of the P10 and P11 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.