- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 ++;
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Are you call back the function of " CyU3PPibRegisterCallback(gpif_error_cb, 0xffff);" after Start the USB functionality in the function of "void CyFxSlFifoApplnInit()" ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have try it as you say,but it didn't work!Thanks!
I also find another phenomenon , if the intMask in function CyU3PPibRegisterCallback (gpif_err_cb,intMask) is less than 0x0004,like 0x0003,it works!but I need to enable CYU3P_PIB_INT_ERROR,which the intMask is 0x0004.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have solved it by rebulid a new project,thanks,it maybe the old cyfxgpif2xonfig.h file has something wrong!