DSCUSERINTFUNCTION
Structure Definition
typedef struct {
DSCUserInterruptFunction func;
BYTE int_mode;
DWORD int_type;
} DSCUSERINTFUNCTION;
typedef void (*DSCUserInterruptFunction) (void* parameter);
// int_mode: user interrupt execution time choices
#define USER_INT_CANCEL 0
#define USER_INT_AFTER 1
#define USER_INT_INSTEAD 2
// int_type: which interrupt type to attach to
#define INT_TYPE_AD 0x01
#define INT_TYPE_DA 0x02
#define INT_TYPE_DIOIN 0x04
#define INT_TYPE_USER 0x08
#define INT_TYPE_COUNTER 0x10
#define INT_TYPE_DIOOUT 0x20
#define INT_TYPE_OPTO 0x40Structure Members
Last updated
Was this helpful?