APX-3302 User's Manual (OM110000019A)
-93 -
■
Registration cancellation of callback function
Registered callback function is able to be canceled if performs 4
th
argument of
AcapRegistCallback/AcapRegistCallbackEx as “NULL”.
■
The setting example for software
The sample code to re-register callback function by different interrupt is as follows.
<Sample code>
// Register
“GPIN interrupt“
int
rtn;
rtn = AcapRegistCallback(hDevice, channel, ACL_INT_GPIN, (EVENT_FUNC)&CallbackFunc);
// Cancel
“GPIN interrupt”
rtn = AcapRegistCallback(hDevice, channel, ACL_INT_GPIN, NULL);
// Register 1 frame input completion
rtn = AcapRegistCallback(hDevice, channel, ACL_INT_FRAMEEND, (EVENT_FUNC)&CallbackFunc);
Summary of Contents for APX-3302
Page 1: ...APX 3302 User s Manual ...