English
Language : 

SH7040 Datasheet, PDF (647/923 Pages) Renesas Technology Corp – Renesas 32-Bit Single-Chip RISC Microprocessor SuperH RISC engine Family/SH7040 Series(CPU Core SH-2)
18.3.2 Port A I/O Register L (PAIORL)
The port A I/O register L (PAIORL) is a 16-bit read/write register that selects input or output for
the least significant 16 pins of port A. Bits PA15IOR–PA0IOR correspond to pins PA15/CK–
PA0/RXD0. PAIORL is enabled when the port A pins function as general input/outputs (PA15–
PA0), or with the serial clock (SCK1, SCK0). For other functions, it is disabled.
When the port A pin functions PA15–PA0 are SCK1, SCK0, a given pin in port A is an output pin
if its corresponding PAIORL bit is set to 1, and an input pin if the bit is cleared to 0.
PAIORL 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.
Bit: 15
14
13
12
11
10
9
8
PA15 PA14 PA13 PA12 PA11 PA10 PA9 PA8
IOR
IOR
IOR
IOR
IOR
IOR
IOR
IOR
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
PA7 PA6 PA5 PA4 PA3 PA2 PA1 PA0
IOR
IOR
IOR
IOR
IOR
IOR
IOR
IOR
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
18.3.3 Port A Control Register H (PACRH)
PACRH is a 16-bit read/write register that selects the multiplex pin function for the eight most
significant pins of port A. PACRH selects the PA23/WRHH–PA16/AH pin functions.
The eight most significant pins of port A have bus control signals (WRHH, WRHL, CASHH,
CASHL, BACK, BREQ, WAIT, AH) and DMAC control signals (DRAK1, DRAK0), but there
are instances when the register settings that select these pin functions will be ignored. Refer to
table 18.2, Pin Arrangement by Mode.
PACRH is initialized to H'0000 by external power-on reset but is not initialized for manual resets,
reset by WDT, standby mode, or sleep mode, so the previous data is maintained.
609