English
Language : 

SH7050 Datasheet, PDF (499/841 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperH RISC engine Family/
16.3 Register Descriptions
Section 16 Pin Function Controller (PFC)
16.3.1 Port A IO Register (PAIOR)
Bit: 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PA15 PA14 PA13 PA12 PA11 PA10 PA9 PA8 PA7 PA6 PA5 PA4 PA3 PA2 PA1 PA0
IOR IOR IOR IOR IOR IOR IOR IOR IOR IOR IOR IOR IOR IOR IOR IOR
Initial value: 0 0 0 0 0 0 0 0 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 R/W R/W R/W R/W R/W R/W R/W R/W
The port A IO register (PAIOR) is a 16-bit readable/writable register that selects the input/output
direction of the 16 pins in port A. Bits PA15IOR to PA0IOR correspond to pins PA15/A15 to
PA0/A0. PAIOR is enabled when port A pins function as general input/output pins (PA15 to
PA0), and disabled otherwise.
When port A pins function as PA15 to PA0, a pin becomes an output when the corresponding bit
in PAIOR is set to 1, and an input when the bit is cleared to 0.
PAIOR is initialized to H'0000 by a power-on reset (excluding a WDT power-on reset), and in
hardware standby mode. It is not initialized in software standby mode or sleep mode.
16.3.2 Port A Control Register (PACR)
Bit: 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PA15 PA14 PA13 PA12 PA11 PA10 PA9 PA8 PA7 PA6 PA5 PA4 PA3 PA2 PA1 PA0
MD MD MD MD MD MD MD MD MD MD MD MD MD MD MD MD
Initial value: 0 0 0 0 0 0 0 0 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 R/W R/W R/W R/W R/W R/W R/W R/W
The port A control register (PACR) is a 16-bit readable/writable register that selects the functions
of the 16 multiplex pins in port A. PACR settings are not valid in all operating modes.
1. Expanded mode with on-chip ROM disabled
Port A pins function as address output pins, and PACR settings are invalid.
2. Expanded mode with on-chip ROM enabled
Port A pins are multiplexed as address output pins and general input/output pins. PACR
settings are valid.
3. Single-chip mode
Port A pins function as general input/output pins, and PACR settings are invalid.
Rev. 5.00 Jan 06, 2006 page 479 of 818
REJ09B0273-0500