EasyManua.ls Logo

GOWIN UART Master IP - Line Control Register (LCR); Modem Control Register (MCR); Figure4-6 Line Control Register; Figure 4-7 Modem Control 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
9(15)
Bit
Name
Defaults
Access type
Description
1No interruption waiting
4.2.5 Line Control Register (LCR)
The line control register is shown in Figure4-6. The line control register
contains the serial communication configuration bits as defined in Table4-6.
Figure4-6 Line Control Register
31 7
6
5
4
3
2
1 0
Reserved
SB
SP
EPS
EPN
STB
WLS
Table4-6 Line Control Register
Bit
Name
Defaults
Access type
Description
31:7
Reserved
N/A
write
Reserved
6
SB
0x0
write
Setup interruption
1Start interrupt
0Disable interrupt
5
SP
0x0
write
Forced parity
1: When the 3, 4 bits are logic 1, the
parity bit is transmitted and forced to logic
0; When bit 4 is logic 0 and bit 3 is logic 1,
the parity bit is transmitted and forced to
logic 1
0Disable forced parity
4
EPS
0x0
write
Check selection
1Select even parity
0Select odd parity
3
PEN
0x0
write
Parity enable
1Enable parity
0Disable parity
2
STB
0x0
write
Number of stop bits
0: 1 stop bit
1: 2 stop bits, select 1.5 stop bits when
transferring 5 data bits. The reception
only detects one stop bit and does not
care about the number of selected stop
bits.
1:0
WLS
0x0
write
Byte length selection
00: 5-bit data
01: 6-bit data
10: 7-bit data
11: 8-bit data
4.2.6 Modem Control Register (MCR)
The modem control register is shown in Figure4-7. The modem control
register contains the modem signal configuration bits. The bit definitions are
shown in Table4-7.
Figure4-7 Modem Control Register
31 8
7 2
1
0
Reserved
000000
RTS
DTR
Table4-7 Modem Control Register
Bit
Name
Defaults
Access type
Description
31:8
Reserved
N/A
N/A
Reserved
7:2
N/A
0x0
write
Always "000000"

Table of Contents

Related product manuals