HD6417660 RENESAS [Renesas Technology Corp], HD6417660 Datasheet - Page 669

no-image

HD6417660

Manufacturer Part Number
HD6417660
Description
Renesas 32-Bit RISC Microcomputer
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
23.3
Port D is a 6-bit input/output port with the pin configuration shown in figure 23.3. Each pin has an
input pull-up MOS, which is controlled by the port D control register (PDCR) in the PFC.
23.3.1
Port D has the following register. Refer to section 27, List of Registers, for the address of this
register and state of this register in each processing mode.
• Port D data register (PDDR)
23.3.2
PDDR is a 6-bit readable/writable register that stores data for pins PTD5 to PTD0. Bits PD5DT to
PD0DT correspond to pins PTD5 to PTD0. When the pin function is general output port, if the
port is read, the value of the corresponding PDDR bit is returned directly. When the function is
general input port, if the port is read, the corresponding pin level is read.
Bit
7, 6
5
4
3
2
1
0
Bit Name
PD5DT
PD4DT
PD3DT
PD2DT
PD1DT
PD0DT
Port D
Register Description
Port D Data Register (PDDR)
Initial
Value
All 0
0
0
0
0
0
0
Port D
R/W
R
R/W
R/W
R/W
R/W
R/W
R/W
Figure 23.3 Port D
Description
Reserved
These bits are always read as 0. The write value should
always be 0. If 1 is written to these bits, correct operation
cannot be guaranteed.
Table 23.3 shows the function of PDDR.
PTD5 (input/output) / A23 (output)
PTD4 (input/output) / A22 (output)
PTD3 (input/output) / A21 (output)
PTD2 (input/output) / A20 (output)
PTD1 (input/output) / A19 (output)
PTD0 (input/output) / A0 (output)
Rev. 1.00, 02/04, page 631 of 804

Related parts for HD6417660