English
Language : 

SH7080_09 Datasheet, PDF (1149/1622 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family
Section 21 Pin Function Controller (PFC)
21.1.5 Port C I/O Registers L, H (PCIORL, PCIORH)
PCIORL and PCIORH are 16-bit readable/writable registers that are used to set the pins on port C
as inputs or outputs. Bits PC25IOR to PC18IOR and PC15IOR to PC0IOR correspond to pins
PC25 to PC18 and PC15 to PC0, respectively (names of multiplexed pins are here given as port
names and pin numbers alone). PCIORL is enabled when the port C pins are functioning as
general-purpose inputs/outputs (PC15 to PC0). In other states, PCIORL is disabled. PCIORH is
enabled when the port C pins are functioning as general-purpose input/output (PC25 to PC18). In
other states, PCIORH is disabled.
A given pin on port C will be an output pin if the corresponding bit in PCIORH or PCIORL is set
to 1, and an input pin if the bit is cleared to 0.
However, bits 9 to 2 of PCIORH are disabled in SH7083/SH7084/SH7085.
Bits 15 to 10, 1 and 0 of PCIORH are reserved. These bits are always read as 0. The write value
should always be 0.
The initial values of PCIORL and PCIORH are H'0000, respectively.
• Port C I/O Register H (PCIORH)
Bit: 15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
-
-
-
-
-
-
PC25 PC24 PC23 PC22 PC21 PC20 PC19 PC18
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
R
R
R
R
R R/W R/W R/W R/W R/W R/W R/W R/W R
R
• Port C I/O Register L (PCIORL)
Bit: 15
PC15
IOR
Initial value: 0
R/W: R/W
14
PC14
IOR
0
R/W
13
PC13
IOR
0
R/W
12
PC12
IOR
0
R/W
11
PC11
IOR
0
R/W
10
PC10
IOR
0
R/W
9
PC9
IOR
0
R/W
8
PC8
IOR
0
R/W
7
PC7
IOR
0
R/W
6
PC6
IOR
0
R/W
5
PC5
IOR
0
R/W
4
PC4
IOR
0
R/W
3
PC3
IOR
0
R/W
2
PC2
IOR
0
R/W
1
PC1
IOR
0
R/W
0
PC0
IOR
0
R/W
Rev. 4.00 Dec. 15, 2009 Page 1089 of 1558
REJ09B0181-0400