English
Language : 

HD6417727BP160CV Datasheet, PDF (913/1098 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH™ RISC engine Family/ SH7700 Series
Section 27 I/O Ports
27.9 SC Port
Each pin has an input pullup MOS, which is controlled by SC port control register (SCPCR) in
PFC.
27.9.1 Port SC Data Register (SCPDR)
Bit: 7
6
5
4
3
2
1
0
SCP7DT SCP6DT SP5DT SCP4DT SCP3DT SCP2DT SCP1DT SCP0DT
Initial value: *
0
0
0
0
0
0
0
R/W: R
R/W R/W R/W R/W R/W R/W R/W
Note: * Undefined
Port SC Data Register (SCPDR) is a 7-bit read/write and 1-bit read register that stores data for
pins SCPT7 to SCPT0. SCP7DT to SCP0DT bit corresponds to SCPT7 to SCPT0 pin. 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. Table 27.8 shows the function of SCPDR.
SCPDR is initialized to B'*0000000 by a power-on reset. After initialization, the general input
port function (pullup MOS: on) is set as the initial pin function, and the corresponding pin levels
are read from bits SCP7DT to SCP5DT, SCP3DT, and SCP1DT. It retains its previous value in
standby mode and sleep mode, and by a manual reset.
Note that the low level is read if bit 7 is read except in general-purpose input.
Set the RE bit in SCSCR to 1, when reading RxD2 to RxD0 pin states of the SCP4DT, SCP2DT,
and SCP0DT bits in SDPDR while the TE or RE bit in SCSCR is not cleared to 0. When the RE
bit is set to 1, the RxD pins function as input pins and their states are read in preference to the
SCPCR setting.
Rev.6.00 Mar. 27, 2009 Page 855 of 1036
REJ09B0254-0600