Receiver Fifo Interrupt Operation; Receiver Data Available Interrupt; Receiver Character Timeout Interrupts; Transmitter Fifo Interrupt Operation - Multitech SocketModem MT5600SMI-32 Developer's Manual

Mt5600smi family embedded modem
Table of Contents

Advertisement

Receiver FIFO Interrupt Operation

Receiver Data Available Interrupt

When the FIFO mode is enabled (FCR0 = 1) and receiver interrupt (RX Data Available) is enabled
(IER0 = 1), receiver interrupt operation is as follows:
1. The Receiver Data Available Flag (LSR0) is set as soon as a received data character is
available in the RX FIFO. LSR0 is cleared when RX FIFO is empty.
2. The Receiver Data Available Interrupt code (IIR0-IIR4 = 4h) is set whenever the number of
received data bytes in the RX FIFO reaches the trigger level specified by FCR6-FCR7 bits. It
is cleared whenever the number of received data bytes in the RX FIFO drops below the
trigger level specified by FCR6-FCR7 bits.
3. The HINT interrupt is asserted whenever the number of received data bytes in the RX FIFO
reaches the trigger level specified by FCR6-FCR7 bits. HINT interrupt is de-asserted when
the number of received data bytes in the RX FIFO drops below the trigger level specified by
FCR6-FCR7 bits.

Receiver Character Timeout Interrupts

When the FIFO mode is enabled (FCR0 = 1) and receiver interrupt (Receiver Data Available) is
enabled (IER0 = 1), receiver character timeout interrupt operation is as follows:
1. A Receiver character timeout interrupt code (IIR0-IIR3 = Ch) is set if at least one received
character is in the RX FIFO, the most recent received serial character was longer than four
continuous character times ago (if 2 stop bits are specified, the second stop bit is included in
this time period), and the most recent host read of the RX FIFO was longer than four
continuous character times ago.

Transmitter FIFO Interrupt Operation

Transmitter Empty Interrupt

When the FIFO mode is enabled (FCR0 = 1) and transmitter interrupt (TX Buffer Empty) is enabled
(IER0 =1), transmitter interrupt operation is as follows:
1. The TX Buffer Empty interrupt code (IIR0-IIR3 = 2h) will occur when the TX Buffer is empty. It
is cleared when the TX Buffer is written to (1 to 16 characters) or the IIR is read.
2. The TX Buffer Empty indications will be delayed 1 character time minus the last stop bit time
whenever the following occur: THRE = 1 and there have not been at least two bytes at the
same time in the TX FIFO Buffer since the last setting of THRE was set. The first transmitter
interrupt after setting FCR0 will be immediate.
Multi-Tech Systems, Inc. SocketModem MT5600SMI Developer's Guide
Chapter 4 – SocketModem Parallel Interface – A Programmer's Description
28

Advertisement

Table of Contents
loading

Table of Contents