English
Language : 

SH7014 Datasheet, PDF (511/754 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
17. I/O Ports (I/O)
17.2.2 Port A Data Register L (PADRL)
Bit: 15
14
13
12
11
10
9
PA15DR PA14DR PA13DR PA12DR PA11DR PA10DR PA9DR
Initial value:
0
0
0
0
0
0
0
R/W: R/W R/W* R/W* R/W* R/W* R/W* R/W
8
PA8DR
0
R/W
Bit:
7
6
PA7DR PA6DR
Initial value:
0
0
R/W: R/W
R/W
Note: * R only in the SH7014.
5
PA5DR
0
R/W
4
PA4DR
0
R/W
3
PA3DR
0
R/W
2
PA2DR
0
R/W
1
PA1DR
0
R/W
0
PA0DR
0
R/W
PADRL is a 16-bit read/write register that stores data for port A. The bits PA15DR to PA0DR
correspond to the PA15/CK to 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 17.3
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 a reset
by WDT, standby mode, or sleep mode.
The settings of bits 14 to 10 of this register are functional only in the SH7016 and SH7017. In the
SH7014, there are no pins corresponding to bits 14 to 10; these bits are always read as 0, and their
write value should always be 0.
Table 17.3 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
Rev.5.00 Sep. 27, 2007 Page 477 of 716
REJ09B0398-0500