Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C++ and interrupts

Status
Not open for further replies.

zaphy2k2

Programmer
Dec 23, 2001
30
GB
Hi,

Ive just been lumbered with a project, which basically takes input from a digital board in a pci slot. It has nice c++ functions in a lib/dll, but also has an interrupt which i can use, from what i know of them, it alerts me when something happens(?), like a callback does, is this correct? And if so, how would i go about using one? Any tips or pointers would be great. Says it has a timer/counter thingie. The manual is exactly helpful sadly, most of the stuff ive had to work out myself so far!

cheers

zaph
 
To use the interrupt, you'd need to register an interrupt handler with the system. I've never needed to do this, so I'm not sure how to go about it, but a Google search on "interrupt handler" should produce some leads.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top