JLab Pipeline TI Library
3v6.1
|
Functions | |
int | tiIntConnect (unsigned int vector, VOIDFUNCPTR routine, unsigned int arg) |
Connect a user routine to the TI Interrupt or latched trigger, if polling. More... | |
int | tiIntDisconnect () |
Disable interrupts or kill the polling service thread. More... | |
int | tiAckConnect (VOIDFUNCPTR routine, unsigned int arg) |
Connect a user routine to be executed instead of the default TI interrupt/trigger latching acknowledge prescription. More... | |
void | tiIntAck () |
Acknowledge an interrupt or latched trigger. This "should" effectively release the "Busy" state of the TI. More... | |
int | tiIntEnable (int iflag) |
Enable interrupts or latching triggers (depending on set TI mode) More... | |
void | tiIntDisable () |
Disable interrupts or latching triggers. More... | |
int tiAckConnect | ( | VOIDFUNCPTR | routine, |
unsigned int | arg | ||
) |
Connect a user routine to be executed instead of the default TI interrupt/trigger latching acknowledge prescription.
routine | Routine to call |
arg | argument to pass to routine |
void tiIntAck | ( | ) |
Acknowledge an interrupt or latched trigger. This "should" effectively release the "Busy" state of the TI.
Execute a user defined routine, if it is defined. Otherwise, use a default prescription.
int tiIntConnect | ( | unsigned int | vector, |
VOIDFUNCPTR | routine, | ||
unsigned int | arg | ||
) |
Connect a user routine to the TI 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 tiIntDisable | ( | ) |
Disable interrupts or latching triggers.
References TI_A24RegStruct::intsetup, TI_A24RegStruct::runningMode, TI_INTSETUP_ENABLE, tiDisableTriggerSource(), and TILOCK.
int tiIntDisconnect | ( | ) |
Disable interrupts or kill the polling service thread.
int tiIntEnable | ( | int | iflag | ) |
Enable interrupts or latching triggers (depending on set TI mode)
iflag | if = 1, trigger counter will be reset |
References tiAckCount, tiIntCount, and TILOCK.