These are the lines from DSCUD.H that provide the interface to user interrupt functions. For complete details see the function descriptions and the datatype descriptions.
// User Interrupt Modes#defineUSER_INT_CANCEL0#defineUSER_INT_AFTER1#defineUSER_INT_INSTEAD2// User Interrupt Sources#defineUSER_INT_SOURCE_INTERNAL0#defineUSER_INT_SOURCE_EXTERNAL1// Type Definitionstypedefvoid (*DSCUserInterruptFunction) (void* parameter);// Structures// The following structure is used by all type of user interruptstypedefstruct{DSCUserInterruptFunction func;BYTE int_mode;} DSCUSERINTFUNCTION;// The following structure is used only by the solo type user interruptstypedefstruct{BYTE intsource;FLOAT rate;BYTE clksource;BYTE counter;DWORD int_type;DSCUserInterruptFunction func;BOOL Enable;BOOL Mode;BOOL BitSelect;BOOL Edge;}// Function PrototypesBYTE DSCUDAPICALL dscSetUserInterruptFunction(DSCB board, DSCUSERINTFUNCTION * dscuserintfunction);BYTE DSCUDAPICALL dscClearUserInterruptFunction(DSCB board);BYTE DSCUDAPICALL dscUserInt(DSCB board, DSCUSERINT* dscuserint, DSCUserInterruptFunction func);