beautypg.com

12 serial port register n (scsptr) – Renesas SH7781 User Manual

Page 1096

background image

21. Serial Communication Interface with FIFO (SCIF)

Rev.1.00 Jan. 10, 2008 Page 1066 of 1658
REJ09B0261-0100

21.3.12

Serial Port Register n (SCSPTR)

SCSPTR is a 16-bit readable/writable register that controls input/output and data for the port pins
multiplexed with the serial communication interface (SCIF) pins at all times. Input data can be
read from the RXD pin, and output data written to the TXD pin, and breaks in serial
transmission/reception controlled, by means of bits 1 and 0.

All SCSPTR 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. SCSPTR is not initialized in the module standby state.

Note that when reading data via a serial port pin in the SCIF, the peripheral clock value from 2
cycles before is read.

0

1

2

3

4

5

6

7

8

9

10

11

12

13

15

14

0

0

0

0

0

0

0

0

0

0

0

0

SPB2

DT

SPB2

IO

SCK

DT

SCK

IO

CTS

DT*

CTS

IO*

RTS

DT*

RTS

IO*

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R

R

R

R

R

R

R

R

BIt:

Initial value:

R/W:

Bit Bit

Name

Initial
Value R/W

Description

15 to 8

All 0

R

Reserved

These bits are always read as 0. The write value
should always be 0.

7 RTSIO* 0

R/W

Serial

Port

SCIF_RTS Port Input/Output

Specifies the serial port

SCIF_RTS pin input/output

condition. When actually setting the

SCIF_RTS pin as

a port output pin to output the value set by the RTSDT
bit, the MCE bit in SCFCR should be cleared to 0.

0: RTSDT bit value is not output to

SCIF_RTS pin

1: RTSDT bit value is output to

SCIF_RTS pin