English
Language : 

SH7040 Datasheet, PDF (689/923 Pages) Renesas Technology Corp – Renesas 32-Bit Single-Chip RISC Microprocessor SuperH RISC engine Family/SH7040 Series(CPU Core SH-2)
19.2.3 Port A Data Register L (PADRL)
PADRL is a 16-bit read/write register that stores data for port A. The bits PA15DR–PA0DR
correspond to the PA15/CK–PA0/RXD0 pins. When the pins are used as ordinary outputs, they
will output whatever value is written in the PADRL; when PADRL is read, the register value will
be output 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 PADRL is read. When a value is written to
PADRL, that value can be written into PADRL, but it will not affect the pin status. Table 19.4
shows the read/write operations of the port A data register.
PADRL is initialized by an external power-on reset. However, PADRL is not initialized for
manual reset, reset by WDT, standby mode, or sleep mode.
Bit: 15
14
13
12
11
10
9
8
PA15DR PA14DR PA13DR PA12DR PA11DR PA10DR PA9DR PA8DR
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
PA7DR PA6DR PA5DR PA4DR PA3DR PA2DR PA1DR PA0DR
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
Table 19.4 Read/Write Operation of the Port A Data Register (PADR)
PAIOR Pin Status
0
Ordinary input
Other function
1
Ordinary output
Other function
Read
Pin status
Pin status
PADR value
PADR value
Write
Can write to PADR, but it has no effect on pin status
Can write to PADR, but it has no effect on pin status
Value written is output by pin
Can write to PADR, but it has no effect on pin status
651