EasyManua.ls Logo

GOWIN UART Master IP - Line Status Register (LSR); Figure4-8 Line Status Register; Table4-8 Line Status Register

Default Icon
23 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4Working Principle
4.2Gowin UART Master IP Register
IPUG511-1.4E
10(15)
Bit
Name
Defaults
Access type
Description
1
RTS
0x0
write
Request to send
1Drive RTSn signal is
low
0Drive RTSn signal is
high
0
DTR
0x0
write
The data terminal is ready
1Drive DTRn signal is
low
0Drive DTRn signal is
high
4.2.7 Line Status Register (LSR)
The line status register is shown in Figure4-8. The line status register
contains the current transmit and receive status. The bit definitions are
shown in Table4-8.
Figure4-8 Line Status Register
31 7
6
5
4
3
2
1
0
Reserved
TEMT
THRE
BI
FE
PE
OE
RxRDY
Table4-8 Line Status Register
Bit
Name
Defaults
Access type
Description
31:7
Reserved
N/A
N/A
Reserved
6
TEMT
0x1
read
Send empty
0THR or Transmit
Shift Register contains
data
1THR or Transmit
Shift Register is empty.
In FIFO mode, both
transmit FIFO and shift
register are empty.
5
THRE
0x1
read
Transmit Holding Register
(THR) is
0THR or FIFO has
data to send
1THR is empty. In
FIFO mode, the
transmit FIFO is empty.
4
BI
0x0
read
Break Interrupt. Set this
interrupt when SIN is held
low for the entire data
transfer (start bit + data bit +
parity + stop bit)
3
FE
0x0
read
Frame error. The
transmission loses a stop
bit. After the frame error, the
UART assumes that the
frame error is caused by the
start bit of the next
transmission. Try to
resynchronize by sampling
the start bit twice and
receiving the next data.
2
PE
0x0
read
Parity error

Table of Contents

Related product manuals