Serial Status Register (Scfsr) - Renesas HD6417641 Hardware Manual

32-bit risc microcomputer superh risc engine family / sh7641 series
Table of Contents

Advertisement

19.3.7

Serial Status Register (SCFSR)

The serial status register (SCFSR) is a 16-bit register. The upper 8 bits indicate the number of
receives errors in the SCFRDR data, and the lower 8 bits indicate the status flag indicating SCIF
operating state.
The CPU can always read and write to SCFSR, but cannot write 1 to the status flags (ER, TEND,
TDFE, BRK, RDF, and DR). These flags can be cleared to 0 only if they have first been read
(after being set to 1). Bits 3 (FER) and 2 (PER) are read-only bits that cannot be written. SCFSR is
initialized to H'0060 by a power-on reset.
Bit
Bit Name
15
PER3
14
PER2
13
PER1
12
PER0
11
FER3
10
FER2
9
FER1
8
FER0
Section 19 Serial Communication Interface with FIFO (SCIF)
Initial
value
R/W
Description
0
R
Number of Parity Errors
0
R
Indicate the quantity of data including a parity error in
the receive data stored in the receive FIFO data
0
R
register (SCFRDR). The value indicated by bits 15 to
0
R
12 represents the number of parity errors in SCFRDR.
When parity errors have occurred in all 16-byte
receive data in SCFRDR, PER3 to PER0 show 0.
0
R
Number of Framing Errors
0
R
Indicate the quantity of data including a framing error
in the receive data stored in SCFRDR. The value
0
R
indicated by bits 11 to 8 represents the number of
0
R
framing errors in SCFRDR. When framing errors
have occurred in all 16-byte receive data in SCFRDR,
FER3 to FER0 show 0.
Rev. 4.00 Sep. 14, 2005 Page 699 of 982
REJ09B0023-0400

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7641

Table of Contents