English
Language : 

HD6417705 Datasheet, PDF (571/739 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7700 Series
20.14.1 Register Description
Port SC has the following register. For details on the register address and access size, see section
24, List of Registers.
• SC port data register (SCPDR)
20.14.2 Port SC Data Register (SCPDR)
SCPDR is an 8-bit readable/writable that stores data for pins SCPT5 to SCPT0. Bits SCP5DT to
SCP0DT correspond to pins SCPT5 to SCPT0. When the pin function is general output port, if the
port is read, the value of the corresponding SCPDR bit is returned directly. When the function is
general input port, if the port is read, the corresponding pin level is read.
When the RE bit of SCSCR_2 or SCSCR_0 in the serial communication interface with FIFO
(SCIF) is set to 1, the RxD2 and RxD0 pins become input pins, and their states can be read
regardless of the setting of SCPCR.
Bit
Bit Name
7, 6 —
Initial
Value R/W
0
R
5 to 0 SCP5DT 0
R/W
to
SCP0DT
Description
Reserved
These bits are always read as 0. The write value should
always be 0.
Table 20.14 shows the function of SCPDR.
Table 20.14 SC Port Data Register (SCPDR) Read/Write Operations
• SCP1DR and SCP3DR to SCP5DR
SCPCR State
SCPnMD1 SCPnMD0 Pin State
0
0
Other function
Read
SCPDR value
1
Output
SCPDR value
1
0
1
Note: n= 1 and 3 to 5
Input (Pull-up MOS
on)
Input (Pull-up MOS
off)
Pin state
Pin state
Write
Data can be written to SCPDR
but no effect on pin state.
Written data is output from the
pin.
Data can be written to SCPDR
but no effect on pin state.
Data can be written to SCPDR
but no effect on pin state.
Rev. 2.00, 09/03, page 525 of 690