ADM5120
Register Description
Bit # Type Name
Descriptions
Initial Value
3
R/W STP2
Two Stop Bits Select:
If this bit is set to 1, two stop bits are transmitted at the
end of the frame. The receive logic does not check for
two stop bits being received.
0
4 R/W
FEN
Enable
FIFOs:
If this bit is set to 1,transmit and receive FIFO buffers
are enabled (FIFO mode). When cleared to 0 the FIFOs
are disable (character mode) that is, the FIFOs become
1 byte-deep holding register.
0
6:5
R/W WLEN
Word length [1:0]
The select bits indicate the number of data bits
transmitted or received in a frame as follows:
11 = 8 bits
10 = 7 bits
01 = 6 bits
00 = 5 bits
00
7
Reserved
Not Applicable
4.8.5 UART line control register, middle byte, offset 0ch
Bit #
Name
Descriptions
Initial Value
7:0
R/W BAUD DIVMS
Most significant byte of baud rate divisor.
These bits are cleared to 0 on reset.
0
Type
4.8.6 UART line control register, low byte, offset 10h
Bit # Type Name
Descriptions
Initial Value
R/W BAUD DIVLS
Least significant byte of baud rate divisor.
These bits are cleared to 0 on reset.
0
7:0
Note:
The baud rate divisor is calculated as follow:
Baud rat divisor BAUDDIV = (FUARTCLK/(16*Baud rate))-1
Where FUARTCLK is the UART reference clock frequency
The below table show some typical bit rates and their corresponding divisor, given a
UART clock frequency of 62.5 MHz. A divisor value of zero is illegal, and so no
transmission or reception will occur.
4.8.7 UART control register (UARTCR), offset 14h
Bit #
ADMtek Inc.
4-54
Type Name
Descriptions
Initial Value
0 R/W
UARTEN
UART
enable:
If this bit set to 1, the UART is enabled.
0
2:1
Reserved
Not Applicable
3
R/W MSIE
Modem status interrupt enable:
If this bit is set to 1, the modem interrupt is enabled.
The modem status interrupt is asserted if any of the
modem status lines (CTS,DCD,DSR) change.
0