4. Linux SDK
bcStartIntEx
Description: Start the interrupt thread. This thread will execute bcShowInt() function every time an
interrupt is detected. The interrupt mask defines the source of interrupts. (See section 4.4 for a pro-
gramming example.)
bcStopInt
Prototype
void bcStopInt (BC_PCI_HANDLE hBC_PCI);
Packet
N/A
Input Parameter
BC_PCI_HANDLE hBC_PCI : Handle returned from
'bcStartPci' function
Returns
None
Description: Stops the interrupt thread. (See section 4.4 for a programming example.)
bcSetInt
Prototype
BOOL bcSetInt (BC_PCI_HANDLE hBC_PCI, BYTE IntVal);
Packet
N/A
Input Parameter
BC_PCI_HANDLE hBC_PCI : Handle returned from
'bcStartPci' function
IntVal = unsigned char value for selecting the interrupt source.
The allowed values are defined in the 'bcuser.h' file:
enum { INTERRUPT_EVENT = 0x01 };
enum { INTERRUPT_PERIODIC
= 0x02 };
enum { INTERRUPT_STROBE
= 0x04 };
enum { INTERRUPT_1PPS
= 0x08 };
enum { INTERRUPT_GPS
= 0x10 };
enum { INTERRUPT_EVENT2
= 0x20 };
enum { INTERRUPT_EVENT3
= 0x40 };
Returns
TRUE On Success
FALSE On Failure
Description: Enable one-interrupt sources. (See section 4.4 for a programming example.)
bcReqInt
Prototype
BOOL bcReqInt (BC_PCI_HANDLE hBC_PCI, PBYTE Ints);
Packet
N/A
- 174 -
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com