English
Language : 

SH7065 Datasheet, PDF (730/941 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7000 Series
Section 18 I/O Ports (I/O)
18.4.1 Register Configuration
The port C registers are shown in table 18.5.
Table 18.5 Port C Registers
Name
Port C data register H
Port C data register L
Abbreviation R/W
PCDRH
R/W
PCDRL
R/W
Initial Value
H'0000
H'0000
Address
H'FFFF 1220
H'FFFF 1222
Access Size
8, 16, 32
8, 16, 32
18.4.2 Port C Data Register H (PCDRH)
Bit: 15
14
13
12
11
10
9
8
—
—
—
—
—
— PC25DR PC24DR
Initial value:
0
0
0
0
0
0
0
0
R/W: R
R
R
R
R
R
R/W
R/W
Bit: 7
6
5
4
3
2
1
0
PC23DR PC22DR PC21DR PC20DR PC19DR PC18DR PC17DR PC16DR
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
Port C data register H (PCDRH) is a 16-bit readable/writable register that stores port C data. Bits
PC25DR to PC16DR correspond to pins PC25/A25/TIOC3B/TCLKD to PC16/A16/TIOC3A.
When a pin functions as a general output, if a value is written to PCDRH, that value is output
directly from the pin, and if PCDRH is read, the register value is returned directly regardless of the
pin state.
When a pin functions as a general input, if PCDRH is read the pin state, not the register value, is
returned directly. If a value is written to PCDRH, although that value is written into PCDRH it
does not affect the pin state. Table 18.6 summarizes port C data register read/write operations.
PCDRH is initialized by an external power-on reset, but is not initialized by a WDT reset or in
standby mode or sleep mode.
Rev. 5.00 Sep 11, 2006 page 708 of 916
REJ09B0332-0500