English
Language : 

SH7080 Datasheet, PDF (1243/1644 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperH™ RISC engine Family
Section 22 I/O Ports
22.3.1 Register Descriptions
Port C is a 16-bit input/output port in the SH7083, SH7084, and SH7085; a 24-bit input/output
port in the SH7086. Port C has the following registers. For details on register addresses and
register states during each processing, refer to section 27, List of Registers.
Table 22.5 Register Configuration
Register Name
Port C data register H
Port C data register L
Port C port register H
Port C port register L
Abbrevia-
tion
R/W Initial Value Address
Access Size
PCDRH
R/W H'0000
H'FFFFD200 8, 16, 32
PCDRL
R/W H'0000
H'FFFFD202 8, 16
PCPRH
R
H'xxxx
H'FFFFD21C 8, 16, 32
PCPRL
R
H'xxxx
H'FFFFD21E 8, 16
22.3.2 Port C Data Registers H and L (PCDRH and PCDRL)
The port C data registers H and L (PCDRH and PCDRL) are 16-bit readable/writable registers that
store port C data. Bits PC15DR to PC0DR correspond to pins PC15 to PC0 (multiplexed functions
omitted here) in the SH7083, SH7084, and SH7085. Bits PC25DR to PC18DR and PC15DR to
PC0DR correspond to pins PC25 to PC18 and PC15 to PC0, respectively (multiplexed functions
omitted here) in the SH7086.
When a pin function is general output, if a value is written to PCDRH or PCDRL, that value is
output directly from the pin, and if PCDRH or PCDRL is read, the register value is returned
directly regardless of the pin state.
When a pin function is general input, if PCDRH or PCDRL is read, the pin state, not the register
value, is returned directly. If a value is written to PCDRH or PCDRL, although that value is
written into PCDRH or PCDRL, it does not affect the pin state. Table 22.6 summarizes port C data
register read/write operations.
Rev. 3.00 May 17, 2007 Page 1185 of 1582
REJ09B0181-0300