3 Replies Latest reply on Jun 3, 2016 11:03 PM by meiming_1674436

    CyU3PPibRegisterCallback API can't be right register  in cyusb3014 in slavefifosync project.

    meiming_1674436

      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
      static void
      gpif_err_cb(CyU3PPibIntrType cbType,uint16_t  cbArg)
      {
      if(cbType == CYU3P_PIB_INTR_ERROR)
      {
      glPIBErroCount ++;
      }

      }