English
Language : 

SH7727 Datasheet, PDF (571/1109 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7700 Series
Section 17 Serial Communication Interface (SCI)
17.2.8 Port SC Control Register (SCPCR)/Port SC Data Register (SCPDR)
The port SC control register (SCPCR) and port SC data register (SCPDR) control I/O and data for
the port multiplexed with the serial communication interface (SCI) pins.
SCPCR settings are used to perform I/O control, to enable data written in SCPDR to be output to
the TxD0 pin, and input data to be read from the RxD0 pin, and to control serial
transmission/reception breaks.
It is also possible to read data on the SCK0 pin, and write output data.
SCPCR
Bit: 15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
SCP7 SCP7 SCP6 SCP6 SCP5 SCP5 SCP4 SCP4 SCP3 SCP3 SCP2 SCP2 SCP1 SCP1 SCP0 SCP0
MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0
Initial value: 1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
R/W: R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W R/W
SCPDR
Bit:
Initial value:
R/W:
7
SCP7DT
0
R
6
SCP6DT
0
R/W
5
SCP5DT
0
R/W
4
SCP4DT
0
R/W
3
SCP3DT
0
R/W
2
SCP2DT
0
R/W
1
SCP1DT
0
R/W
0
SCP0DT
0
R/W
SCI pin I/O and data control are performed by bits 3 to 0 of SCPCR and bits 1 and 0 of SCPDR.
SCPCR Bits 3 and 2—Serial Clock Port I/O (SCP1MD1, SCP1MD0): These bits specify serial
port SCK0 pin I/O. When the SCK0 pin is actually used as a port I/O pin, clear the C/A bit of
SCSMR and bits CKE1 and CKE0 of SCSCR to 0.
Bit 3:
SCP1MD1
0
1
Bit 2:
SCP1MD0
0
1
0
1
Description
SCP1DT bit value is not output to SCK0 pin
SCP1DT bit value is output to SCK0 pin
SCK0 pin value is read from SCP1DT bit
(Initial values: 1 and 0)
Rev. 5.00 Dec 12, 2005 page 499 of 1034
REJ09B0254-0500