English
Language : 

SH7040 Datasheet, PDF (646/923 Pages) Renesas Technology Corp – Renesas 32-Bit Single-Chip RISC Microprocessor SuperH RISC engine Family/SH7040 Series(CPU Core SH-2)
18.3 Register Descriptions
18.3.1 Port A I/O Register H (PAIORH)
The port A I/O register H (PAIORH) is a 16-bit read/write register that selects input or output for
the most significant 8 pins of port A. Bits PA23IOR–PA16IOR correspond to pins PA23/WRHH–
PA16/AH. PAIORH is enabled when the port A pins function as general input/outputs (PA23–
PA16). For other functions, it is disabled.
For port A pin functions PA23–PA16, a given pin in port A is an output pin if its corresponding
PAIORH bit is set to 1, and an input pin if the bit is cleared to 0.
PAIORH is initialized to H'0000 by external power-on reset; however, it is not initialized for
manual resets, reset by WDT, standby mode, or sleep mode, so the previous data is maintained.
The settings for this register are effective only for the 144-pin version. There are no corresponding
pins for this register in the 112-pin and 120-pin versions. However, read/writes are possible.
Bit: 15
14
13
12
11
10
9
8
—
—
—
—
—
—
—
—
Initial value: 0
0
0
0
0
0
0
0
R/W: R
R
R
R
R
R
R
R
Bit:
Initial value:
R/W:
7
PA23
IOR
0
R/W
6
PA22
IOR
0
R/W
5
PA21
IOR
0
R/W
4
PA20
IOR
0
R/W
3
PA19
IOR
0
R/W
2
PA18
IOR
0
R/W
1
PA17
IOR
0
R/W
0
PA16
IOR
0
R/W
608