13 line status register n (sclsr) – Renesas SH7781 User Manual

Page 1099

Advertising
background image

21. Serial Communication Interface with FIFO (SCIF)

Rev.1.00 Jan. 10, 2008 Page 1069 of 1658

REJ09B0261-0100

21.3.13

Line Status Register n (SCLSR)

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

ORER

R/W*

R

R

R

R

R

R

R

R

R

R

R

R

R

R

R

BIt:

Initial value:

R/W:

Note: * Only 0 can be written to clear the flag.

Bit Bit

Name

Initial
Value R/W

Description

15 to 1

All 0

R

Reserved

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

0 ORER

0 R/W*

1

Overrun Error

Indicates that an overrun error occurred during
reception, causing abnormal termination.

0: Reception in progress, or reception has ended

normally*

2

[Clearing conditions]

• Power-on reset or manual reset
• When 0 is written to ORER after reading ORER = 1,
1: An overrun error occurred during reception*

3

[Setting condition]

• When the next serial reception is completed while

SCFRDR receives 64-byte data (SCFRDR is full)

Notes: 1. Only 0 can be written to clear the flag.

2. The ORER flag is not affected and retains its previous state when the RE bit in SCSCR

is cleared to 0.

3. The receive data prior to the overrun error is retained in SCFRDR, and the data

received subsequently is lost. Serial reception cannot be continued while the ORER flag
is set to 1.

Advertising