
UART0 and UART1
LH75400/01/10/11 (Preliminary) User’s Guide
19-8
7/15/03
19.3.1.2 Receive Status/Error Clear Register
RSR/ECR is the Receive Status Register/ Error Clear Register.
If the status is read from this register, the status bits in this register correspond to the status
bits of the last word read from the DR Register. The status information for overrun is set
immediately when an overrun condition occurs.
A write to the ECR Register clears the framing, parity, break, and overrun errors. All bits
clear to ‘0’ on System Reset.
NOTE: The received data character must be read first from the DR Register before reading the error status
associated with that data character from the RSR Register. This read sequence cannot be reversed
because the RSR Register is updated only when a read occurs from the DR Register. However, the
status information can also be obtained by reading the DR Register.
Table 19-4 and Table 19-5 describe the RSR/ECR Register for write operations.
Table 19-4. RSR/ECR Register (Write Operations)
BIT
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
FIELD
///
RESET
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
RW
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
BIT
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
FIELD
///
ERROR CLEAR
RESET
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
RW
R
R
R
R
R
R
R
R
W
W
W
W
W
W
W
W
ADDR
UART0: 0xFF 0x004
UART1: 0xFF 0x004
Table 19-5. RSR/ECR Register Definitions (Write Operations)
BITS
NAME
DESCRIPTION
31:8
///
Reserved
Do not modify. Read as zero.
7:0
ERROR CLEAR
Error Clear1
A write to this register clears the framing, parity, break,
and overrun errors. The data value is not important.