5 serial mode register (scsmr) – Renesas SH7781 User Manual

Page 1078

Advertising
background image

21. Serial Communication Interface with FIFO (SCIF)

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

21.3.5

Serial Mode Register (SCSMR)

SCSMR is a 16-bit register used to set the SCIF's serial communication format and select the baud
rate generator clock source.

SCSMR can always be read from and written to by the CPU.

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

0

0

0

0

CKS0

CKS1

STOP

O/

E

PE

CHR

C/

A

R/W

R/W

R

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 C/

A 0 R/W

Communication

Mode

Selects asynchronous mode or clocked synchronous
mode as the SCIF operating mode.

0: Asynchronous mode

1: Clocked synchronous mode

6 CHR

0 R/W

Character

Length

Selects 7 or 8 bits as the asynchronous mode data
length. In clocked synchronous mode, the data length is
fixed at 8 bits regardless of the CHR bit setting. When
7-bit data is selected, the MSB (bit 7) of SCFTDR is not
transmitted.

0: 8-bit data

1: 7-bit data

Advertising