UART Registers
13-24
ADSP-BF537 Blackfin Processor Hardware Reference
UARTx_LSR Registers
The
UARTx_LSR
registers contain UART status information as shown in
The
DR
bit indicates that data is available in the receiver and can be read
from the
UARTx_RBR
register. The bit is set by hardware when the receiver
detects the first valid stop bit. It is cleared by hardware when the
UARTx_RBR
register is read.
The
OE
bit indicates that a start bit condition has been detected, but the
internal receive shift register (
RSR
) and the receive buffer (
UARTx_RBR
)
already contain data. New data overwrites the content of the buffers. To
avoid overruns read the
UARTx_RBR
register in time. The
OE
bit cleared
when the
LSR
register is read.
Figure 13-9. UART Line Status Registers
15 14
13 12
11 10
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
DR (Data Ready)
TEMT (TSR and UARTx_THR Empty)
UART Line Status Registers (UARTx_LSR)
0 - Full
1 - Both empty
0 - THR not empty
1 - THR empty
0 - No break interrupt
1 - Break interrupt; this
indicates RX was held low
for more than the maximum
word length
BI (Break Interrupt)
THRE (THR Empty)
FE (Framing Error)
0 - No new data
1 - UARTx_RBR holds
new data
OE (Overrun Error)
0 - No overrun
1 - UARTx_RBR overwritten
before read
PE (Parity Error)
0 - No parity error
1 - Parity error
0 - No error
1 - Invalid stop bit error
Reset = 0x0060
RO
UART0:
0xFFC0 0414
UART1:
0xFFC0 2014
Summary of Contents for Blackfin ADSP-BF537
Page 42: ...Contents xlii ADSP BF537 Blackfin Processor Hardware Reference ...
Page 90: ...Development Tools 1 32 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 138: ...Programming Examples 4 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 340: ...SDC Programming Examples 6 84 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 606: ...Programming Examples 9 94 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 660: ...Programming Examples 10 54 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 720: ...Electrical Specifications 11 60 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 840: ...Programming Examples 13 42 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 876: ...Programming Examples 14 36 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 938: ...Programming Examples 15 62 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 958: ...Programming Examples 17 12 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 986: ...Programming Examples 18 28 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1162: ...G 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1218: ...Index I 56 ADSP BF537 Blackfin Processor Hardware Reference ...