English
Language : 

SH7040 Datasheet, PDF (697/923 Pages) Renesas Technology Corp – Renesas 32-Bit Single-Chip RISC Microprocessor SuperH RISC engine Family/SH7040 Series(CPU Core SH-2)
19.5.2 Port D Data Register H (PDDRH)
PDDRH is a 16-bit read/write register that stores data for port D. The bits PD31DR–PD16DR
correspond to the PD31/D31/ADTRG–PD16/D16/IRQ0 pins. When the pins are used as ordinary
outputs, they will output whatever value is written in the PDDRH; when PDDRH is read, the
register value will be read regardless of the pin status. When the pins are used as ordinary inputs,
the pin status rather than the register value is read directly when PDDRH is read. When a value is
written to PDDRH, that value can be written into PDDRH, but it will not affect the pin status.
Table 19.14 shows the read/write operations of the port D data register.
PDDRH is initialized by an external power-on reset. However, PDDRH is not initialized for a
manual reset, reset by WDT, standby mode, or sleep mode.
These register settings function only for the 144-pin version. There are no pins corresponding to
this register in the 112-pin version. However, read/writes are possible.
Bit: 15
14
13
12
11
10
9
8
PD31DR PD30DR PD29DR PD28DR PD27DR PD26DR PD25DR PD24DR
Initial value: 0
0
0
0
0
0
0
0
R/W: R/W R/W R/W R/W R/W R/W R/W R/W
Bit: 7
6
5
4
3
2
1
0
PD23DR PD22DR PD21DR PD20DR PD19DR PD18DR PD17DR PD16DR
Initial value: 0
0
0
0
0
0
0
0
R/W: R/W R/W R/W R/W R/W R/W R/W R/W
659