19 / 41 page

MCS7840
USB-2.0 to Four Serial Ports
Rev.
1.2
Page 19
Divisor Latch Registers (DLL & DLM):
The Divisor Latch Registers are used to program the BAUD Rate divisor.
This is a value between 1 and 65535 by which the input clock is divided in order to generate serial BAUD
rates.
After the hardware reset, the BAUD Rate used by the transmitter & receiver is given by:
BAUD Rate = Input Clock / (16 * Divisor)
where divisor is given by (256 * DLM) + DLL.
More flexible BAUD rate generation options are also available.
Register:
DLL
Description:
Divisor Latch (Least Significant Byte)
Offset:
0
Permissions:
Read/Write
Access Condition:
LCR[7] = 1
Default Value:
0x01
Bit[7]
Bit[6]
Bit[5]
Bit[4]
Bit[3]
Bit[2]
Bit[1]
Bit[0]
Least Significant Byte of divisor latch
Register:
DLM
Description:
Divisor Latch (Most Significant Byte)
Offset:
1
Permissions:
Read/Write
Access Condition:
LCR[7] = 1
Default Value:
0x00
Bit[7]
Bit[6]
Bit[5]
Bit[4]
Bit[3]
Bit[2]
Bit[1]
Bit[0]
Most Significant Byte of divisor latch