Hello, I would like to know how to use interrupts in parallel port. I know there is a bit in the control register that is bit4 of 37AH. It is used to trigger an interrupt. What next? How do I use this interrupt for my convenience. How can I program it to suit my needs? I know it detects low to high transition of nACK. Can I use any other pin like online and interrupt when it transits from 0 to 1? Is this implemented by shorting ONLINE and nACK? Above all how do I implement the interrupt service routine? What should I do to this? What initialisations should I make? How do I write the Interrupt service routine? I heard something about IRQ5 and IRQ7 in parallel port. What are they? Is it related to what I said earlier? If yes how do I know which IRQ should I use it and how? Any more info required please reply. Thank you, Have a nice time.
- posted
17 years ago