mcs7840 MosChip, mcs7840 Datasheet - Page 14

no-image

mcs7840

Manufacturer Part Number
mcs7840
Description
Usb-2.0 To Four Serial Ports
Manufacturer
MosChip
Datasheet
Page 14
MCS7840
USB-2.0 to Four Serial Ports
Line Control Register (LCR):
The LCR specifi es the data format that is common to both transmitter and receiver.
LCR[1:0] Data Length of serial characters.
LCR[2]
LCR[5:3] Parity Type
LCR[6]
LCR[7]
Register:
Description:
Offset:
Permissions:
Access Condition:
Default Value:
Number of Stop-Bits per serial character.
The selected parity type will be generated
during transmission and checked by the
receiver, which may produce a parity
error as a result. In 9-bit mode parity is
disabled and LCR[5:3] are ignored.
Transmission Break
Logic 0: Transmission Break Disabled.
Logic 1: Forces the transmitter data
Divisor Latch Enable
Logic 0: Accesses to DLL and DLM
Logic 1: Accesses to DLL and DLM
Bit[7]
DLE
output SOUT low to alert the
communications channel, or
sends zeroes in IrDA mode.
registers disabled.
registers enabled.
LCR
Line Control Register
3
Read/Write
0x00
Break
Bit[6]
TX
Bit[5]
Force
Parity
Odd/Even
Bit[4]
Parity
LCR[1:0]
LCR[5:3]
Enable
LCR[2]
3’b001
3’b101
3’bxx0
3’b011
3’b111
Bit[3]
Parity
2’b00
2’b01
2’b10
2’b11
0
1
1
Bit[2]
Data Length
5, 6, 7, 8
6, 7, 8
Number of
Stop-Bits
Parity bit forced to 1
Parity bit forced to 0
5
Data Length
Parity Type
Even Parity
Odd Parity
No Parity
Bit[1]
5 bits
6 bits
7 bits
8 bits
Number of
Stop-Bits
1.5
1
2
Rev.
Length
Bit[0]
Data
1.2

Related parts for mcs7840