English
Language : 

D12320VF25V Datasheet, PDF (270/1146 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
Section 8 I/O Ports
Port 2 Data Direction Register (P2DDR)
Bit
:7
6
5
4
3
2
1
0
P27DDR P26DDR P25DDR P24DDR P23DDR P22DDR P21DDR P20DDR
Initial value : 0
0
0
0
0
0
0
0
R/W
:W
W
W
W
W
W
W
W
P2DDR is an 8-bit write-only register, the individual bits of which specify input or output for the
pins of port 2. P2DDR cannot be read; if it is, an undefined value will be read.
Setting P2DDR bits to 1 makes the corresponding port 2 pins output pins, while clearing the bits
to 0 makes the pins input pins.
P2DDR is initialized to H'00 by a reset, and in hardware standby mode. It retains its prior state in
software standby mode.
Port 2 Data Register (P2DR)
Bit
:7
P27DR
Initial value : 0
R/W
: R/W
6
P26DR
0
R/W
5
P25DR
0
R/W
4
P24DR
0
R/W
3
P23DR
0
R/W
2
P22DR
0
R/W
1
P21DR
0
R/W
0
P20DR
0
R/W
P2DR is an 8-bit readable/writable register that stores output data for the port 2 pins (P27 to P20).
P2DR is initialized to H'00 by a reset, and in hardware standby mode. It retains its prior state in
software standby mode.
Rev.7.00 Feb. 14, 2007 page 236 of 1108
REJ09B0089-0700