Solved

Interrupt handling

Posted on 1998-06-20
2
267 Views
Last Modified: 2010-04-10
I have special hardware card for some puprose which can generate interrupts from IRQ1 to IRQ7. Interrupt number can be selected by setting appropriate jumper on card.
Problem: I set IRQ5 which corresponds to interrupt vector 0dH . I have LPT2 on this IRQ.
Question : Can I handle interrupt if another device already uses it ? Should LPT2 be disabled ?
0
Comment
Question by:set29
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
ID: 1166356
You should be able to use IRQ5 for this purpose even if LPT2: is present.  The LPT ports don't use the interrupts even if there is a printer on the port.  Often, however, Soundblaster (and compatible) sound cards are using IRQ5 so if you have a sound card you may want to double check which IRQ it's using.
0
 
LVL 32

Expert Comment

by:jhance
ID: 1166357
BTW, you asked this question twice.  Delete the other one and get your points back.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question