English
Language : 

SH7059 Datasheet, PDF (731/1042 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
23. I/O Ports (I/O)
The port L data register (PLDR) is a 16-bit readable/writable register that stores port L data. Bits PL13DR to PL0DR
correspond to pins PL13/IRQOUT/SCS1 to PL0/TI10.
When a pin functions as a general output, if a value is written to PLDR, that value is output directly from the pin, and if
PLDR is read, the register value is returned directly regardless of the pin state.
When a pin functions as a general input, if PLDR is read, the pin state, not the register value, is returned directly. If a value
is written to PLDR, although that value is written into PLDR, it does not affect the pin state. Table 23.22 summarizes port
L data register read/write operations.
PLDR is initialized to H'0000 by a power-on reset (excluding a WDT power-on reset), in hardware standby mode, and in
software standby mode. It is not initialized in sleep mode.
• Bits 15 and 14—Reserved: These bits are always read as 0. The write value should always be 0.
Table 23.22 Port L Data Register (PLDR) Read/Write Operations
Bits 13 to 0:
PLIOR
0
1
Pin Function
Read
General input
Pin state
Other than general input Pin state
General output
PLDR value
Other than general
output
PLDR value
Write
Value is written to PLDR, but does not affect pin state
Value is written to PLDR, but does not affect pin state
Write value is output from pin
Value is written to PLDR, but does not affect pin state
23.12.3 Port L Port Register (PLPR)
Bit: 15
—
Initial value: 0
R/W: R
14
13
12
11
10
9
8
— PL13PR PL12PR PL11PR PL10PR PL9PR PL8PR
0
PL13 PL12 PL11 PL10 PL9
PL8
R
R
R
R
R
R
R
Bit:
Initial value:
R/W:
7
PL7PR
PL7
R
6
PL6PR
PL6
R
5
PL5PR
PL5
R
4
PL4PR
PL4
R
3
PL3PR
PL3
R
2
PL2PR
PL2
R
1
PL1PR
PL1
R
0
PL0PR
PL0
R
The port L port register (PLPR) is a 16-bit read-only register that always stores the value of the port L pins. The CPU
cannot write data to this register. Bits PL13PR to PL0PR correspond to pins PL13/IRQOUT/SCS1 to PL0/TI10. If PLPR
is read, the corresponding pin values are returned.
Rev.3.00 Mar. 12, 2008 Page 641 of 948
REJ09B0177-0300