|
JLab Pipeline TS Library
3v7.1
|
Functions | |
| int | tsIntConnect (unsigned int vector, VOIDFUNCPTR routine, unsigned int arg) |
| Connect a user routine to the TS Interrupt or latched trigger, if polling. More... | |
| int | tsIntDisconnect () |
| Disable interrupts or kill the polling service thread. More... | |
| int | tsAckConnect (VOIDFUNCPTR routine, unsigned int arg) |
| Connect a user routine to be executed instead of the default TS interrupt/trigger latching acknowledge prescription. More... | |
| void | tsIntAck () |
| Acknowledge an interrupt or latched trigger. This "should" effectively release the "Busy" state of the TS. More... | |
| int | tsIntEnable (int iflag) |
| Enable interrupts or latching triggers (depending on set TS mode) More... | |
| void | tsIntDisable () |
| Disable interrupts or latching triggers. More... | |
| int tsAckConnect | ( | VOIDFUNCPTR | routine, |
| unsigned int | arg | ||
| ) |
Connect a user routine to be executed instead of the default TS interrupt/trigger latching acknowledge prescription.
| routine | Routine to call |
| arg | argument to pass to routine |
| void tsIntAck | ( | ) |
Acknowledge an interrupt or latched trigger. This "should" effectively release the "Busy" state of the TS.
Execute a user defined routine, if it is defined. Otherwise, use a default prescription.
| int tsIntConnect | ( | unsigned int | vector, |
| VOIDFUNCPTR | routine, | ||
| unsigned int | arg | ||
| ) |
Connect a user routine to the TS Interrupt or latched trigger, if polling.
| vector | VME Interrupt Vector |
| routine | Routine to call if block is available |
| arg | argument to pass to routine |
| void tsIntDisable | ( | ) |
Disable interrupts or latching triggers.
References TS_A24RegStruct::intsetup, TS_INTSETUP_ENABLE, tsDisableTriggerSource(), and TSLOCK.
| int tsIntDisconnect | ( | ) |
Disable interrupts or kill the polling service thread.
| int tsIntEnable | ( | int | iflag | ) |
Enable interrupts or latching triggers (depending on set TS mode)
| iflag | if = 1, trigger counter will be reset |
References tsAckCount, tsIntCount, TSLOCK, and tsResetEventCounter().