Quatech ES-100 user manual Fifo polled mode operation 16550 Uart only

Page 27

FIFO polled mode operation (16550 UART only)

The receiver and transmitter are operated independently, which would allow either or both to be used in a polled mode rather than using interrupts to determine when the UART needs to be serviced.

To use the UART in a polled mode, the software is responsible for continuously checking for the conditions that normally cause interrupts to occur. This would be done using the Line Status Register.

1.The Data Ready bit will be set to logic 1 whenever there is at least one byte in the receive FIFO.

2.Errors can be detected using the various error bits.

3.The Transmitter Holding Register Empty bit can be used to determine when the transmit FIFO is empty.

4.The Transmitter Empty bit indicates that the transmitter shift register is empty as well as the transmit FIFO being empty.

5.Trigger levels and FIFO timeouts do not apply. Both FIFOs are fully capable of holding multiple characters at any time.

22

Quatech ES-100D User's Manual

Image 27
Contents ES-100 Page Warranty Information Page FCC Class B EC Council Directive 89/336/EECGeneral Information Port Address IRQ InstallationDiagram of ES-100D Addressing Ports Setting the addressExamination of a serial port base address Interrupt Level IRQ Interrupt SharingInterrupt Status register Interrupt Status Register contents This page intentionally left blank External Connections ES-100D connector definitions Channel Output ConfigurationES-100D output connectors Serial Port Functional Description Dlab Accessing the Serial Port registersInterrupt Identification Register Interrupt Enable RegisterInterrupt Identification Register bit definitions RXT0 Fifo Control Register 16550 onlyEPS PEN Parity Line Control RegisterModem Control Register bit definitions Modem Control RegisterLine Status Register bit definitions Line Status RegisterScratchpad Register Modem Status RegisterWhen the receiver Fifo and receiver interrupts are enabled Fifo Interrupt Mode Operation 16550 Uart onlyFifo polled mode operation 16550 Uart only Value Values % Baud Rate Selection16450 16550 optional SpecificationsComputer will not boot up TroubleshootingVersion March Quatech Inc, ES-100 Manual