DM336P Davicom Semiconductor Incorporated, DM336P Datasheet - Page 12

no-image

DM336P

Manufacturer Part Number
DM336P
Description
Manufacturer
Davicom Semiconductor Incorporated
Datasheet
f. Modem Control Register (MCR): Address 4
Reset State 00h
Bit 0: This bit asserts a Data Terminal Ready
Bit 1: This bit asserts a Request To Send condition
g. Line Status Register (LSR): Address 5
Reset State 60h, Read only
This register provides status information to the host
PC concerning the data transfer. Bit 1-4 indicate the
error conditions that produce a Receiver Line Status
interrupt whenever any of the corresponding
conditions are detected. The Line Status Register is
intended for read operations only.
Bit 0: Set to logic 1 when a received character is
Bit 1: An Overrun error will occur only after the
Bit 2: A value of logic 1 indicates that a received
12
RCV ETEMT THRE
bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0
bit7
0
condition that is readable via port P1.1 of micro-
controller 8031. When bit 0 is set to logic 1, the
P1.1 is forced to logic 0. When bit 0 is reset to
logic 0, the P1.1 is forced to logic 1.
that is readable via port P3.4 of the micro-
controller 8031. Bit 1 affects P3.4 in a manner
identical to that described above for bit 0.
available in the RxFIFO. This bit is reset to logic
0 when the RxFIFO is empty.
RxFIFO is full and the next character has
overwritten the unread FIFO data. This bit is
reset upon reading the Line Status Register.
character does not have the correct even or
odd parity as selected by the Even Parity Select
bit. This error is set when the corresponding
character is at the top of the RxFIFO. It will
remain set until the CPU reads the LSR. This
Parity Error indication is associated with the
particular character in the FIFO to which it
applies. This error is revealed to the CPU when
its associated character is at the top of the
FIFO.
0
bit6
0
bit5
0
bit4 bit3 bit2 bit1 bit0
BI
0
FE
V.34 Integrated Data/ Fax/Voice/Speakerphone Modem Device Set
0
PE
RTS DTR
OE
DR
Bit 3: This bit is the Framing Error (FE) indicator. Bit 3
Bit 4: This bit is a Break Interrupt (BI) indicator. Bit 4
Bit 5: This bit is a Transmitter Holding Register Empty
Bit 6: This bit is the Transmitter Empty indicator. Bit 6
Bit 7: In character mode, this bit is 0. In FIFO mode,
indicator. Bit 5 indicates that UART is ready to
accept a new character for transmission. In
addition, this bit causes UART to issue an
interrupt to the CPU when the Transmit Holding
Register Empty Interrupt Enable is set high. The
THRE bit is reset to logic 0 when the host CPU
loads a character into the Transmit Holding
register. In the FIFO mode, this bit is set when
the TxFIFO is empty, and is cleared when at
least 1 byte is written to the TxFIFO.
indicates that the received character did not
have a valid stop bit. Bit 3 is set to a logic 1
whenever the stop bit following the last data bit
or parity bit is detected as a zero bit (spacing
level). The FE bit is reset whenever the CPU
reads the contents of the Line Status Register.
The FE error condition is associated with the
particular character in the FIFO to which it
applies. This error is revealed to the CPU when
its associated character is at the top of the
FIFO.h. Modem Status Register (MSR):
Address 6 Reset State, bit 0-3: low, bit 4-7:
input signal.
is set to logic 1 whenever the received data
input is held in the Spacing (logic 0) state for
longer than a full word transmission time (that is,
the total time of Start bit + data bits + Parity +
Stop bits). The BI indicator is reset whenever
the CPU reads the contents of the Line Status
Register. The BI error condition is associated
with the particular character in the FIFO to
which it applies. This error is revealed to the
CPU when its associated character is at the top
of the FIFO.
is set to a logic 1 whenever the Transmitter
Holding Register (THR) is empty, and is reset to
a logic 0 whenever the THR contains a
character. In FIFO mode, this bit is set to 1
whenever the transmitter FIFO is empty.
this bit is set when there is at least one parity
error, framing error, or break indication in the
FIFO. If there are no subsequent errors in the
FIFO, LSR7 is cleared when the CPU reads the
LSR.
Version: DM336P-DS-F02
DM336P
August 15, 2000
Final

Related parts for DM336P