CyU3PPibRegisterCallback API can't be right register in cyusb3014 in slavefifosync project. | Cypress Semiconductor
CyU3PPibRegisterCallback API can't be right register in cyusb3014 in slavefifosync project.
I Register a PIB callback as shown below.But the CYUSB3014 did't work ,I can't find it in Device Manager anymore.I used it in slavefifosync project .what happened to it?
CyU3PPibRegisterCallback (gpif_err_cb,CYU3P_PIB_INTR_ERROR );
Define the function gpif_err_cb as follows
gpif_err_cb(CyU3PPibIntrType cbType,uint16_t cbArg)
if(cbType == CYU3P_PIB_INTR_ERROR)