Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Telepathy Communications Library - <b>tp_shared()</b> - configure shared irqs. http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   tp_shared() - configure shared IRQs.

   tp_shared(nIRQ)

   nIRQ        IRQ (interrupt request) number.

   Configures Telepathy to work with multiple serial ports sharing one
   interrupt request line.  This can happen on Microchannel machines, or
   with add-on cards like the STB 4-COM.

   Note: With normal ISA-bus serial ports, you can have several ports on
   one IRQ, but can only use one of them at a time.  You should not use
   tp_shared() for normal ISA ports.

   Pass tp_shared() the shared IRQ number.  After you do that, you must
   call tp_setport() for each port that uses the IRQ.

   Example:

       tp_shared(4)                // IRQ 4 will be shared...
       tp_setport(1, 1016, 4)      // ...by COM1 at 3F8h...
       tp_setport(3, 1000, 4)      // ...and COM3 at 3E8h, unit 1
       tp_open(1,,,9600, 8, "N", 1)
       tp_open(3,,,9600, 8, "N", 1)

See Also: tp_pcserial() tp_setport()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson