Serial Port Register (Scsptr2) - Hitachi SH7751 Hardware Manual

Superh risc engine
Table of Contents

Advertisement

16.2.11 Serial Port Register (SCSPTR2)

Bit:
15
Initial value:
0
R/W:
R
Bit:
7
RTSIO
Initial value:
0
R/W:
R/W
SCSPTR2 is a 16-bit readable/writable register that controls input/output and data for the port pins
multiplexed with the serial communication interface with FIFO (SCIF) pins. Input data can be
read from the RxD2 pin, output data written to the TxD2 pin, and breaks in serial
transmission/reception controlled, by means of bits 1 and 0. Data can be read from, and output
data written to, the SCK2 pin by means of bits 3 and 2. Data can be read from, and output data

written to, the

to, the
pin by means of bits 6 and 7.
SCSPTR2 can be read or written to by the CPU at all times. All SCSPTR2 bits except bits 6, 4, 2,
and 0 are initialized to 0 by a power-on reset or manual reset; the value of bits 6, 4, 2, and 0 is
undefined. SCSPTR2 is not initialized in standby mode or in the module standby state.
Bits 15 to 8—Reserved: These bits are always read as 0, and should only be written with 0.
Bit 7—Serial Port RTS Port I/O (RTSIO): Specifies the serial port

condition. When the
RTSDT bit, the MCE bit in SCFCR2 should be cleared to 0.
Bit 7: RTSIO
0
1
Bit 6—Serial Port RTS Port Data (RTSDT): Specifies the serial port
data. Input or output is specified by the RTSIO bit (see the description of bit 7, RTSIO, for
details). In output mode, the RTSDT bit value is output to the
read from the RTSDT bit regardless of the value of the RTSIO bit. The initial value of this bit
after a power-on reset or manual reset is undefined.
14
13
0
0
R
R
6
5
RTSDT
CTSIO
0
R/W
R/W
pin by means of bits 5 and 4. Data can be read from, and output data written
pin is actually set as a port output pin and outputs the value set by the
Description
RTSDT bit value is not output to
RTSDT bit value is output to
12
11
0
0
R
R
4
3
CTSDT
SCKIO
SCKDT
0
R/W
R/W

pin

pin

pin. The
Rev. 3.0, 04/02, page 655 of 1064
10
9
0
0
R
R
2
1
SPB2IO SPB2DT
0
R/W
R/W

pin input/output
(Initial value)

pin input/output

pin value is
8
0
R
0
R/W

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7751r

Table of Contents