English
Language : 

HD64F2149 Datasheet, PDF (230/1035 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer
8.2.2 Register Configuration
Table 8.2 shows the port 1 register configuration.
Table 8.2 Port 1 Registers
Name
Abbreviation R/W
Port 1 data direction register P1DDR
W
Port 1 data register
P1DR
R/W
Port 1 MOS pull-up control
P1PCR
R/W
register
Note: * Lower 16 bits of the address.
Initial Value
H'00
H'00
H'00
Address*
H'FFB0
H'FFB2
H'FFAC
Port 1 Data Direction Register (P1DDR)
Bit
Initial value
Read/Write
7
6
5
4
3
2
1
0
P17DDR P16DDR P15DDR P14DDR P13DDR P12DDR P11DDR P10DDR
0
0
0
0
0
0
0
0
W
W
W
W
W
W
W
W
P1DDR is an 8-bit write-only register, the individual bits of which specify input or output for the
pins of port 1. P1DDR cannot be read; if it is, an undefined value will be returned.
P1DDR is initialized to H'00 by a reset and in hardware standby mode. It retains its prior state in
software standby mode. The address output pins maintain their output state in a transition to
software standby mode.
• Mode 1
The corresponding port 1 pins are address outputs, regardless of the P1DDR setting.
In hardware standby mode, the address outputs go to the high-impedance state.
• Modes 2 and 3 (EXPE = 1)
The corresponding port 1 pins are address outputs or PWM outputs when P1DDR bits are set
to 1, and input ports when cleared to 0.
• Modes 2 and 3 (EXPE = 0)
The corresponding port 1 pins are output ports or PWM outputs when P1DDR bits are set to 1,
and input ports when cleared to 0.
196