This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

c6748 USB 处于挂起状态

c6748 USB  处于挂起状态

使用C6748作为USB 从设备,注册的中断号INT8,当控制器作为从设备,接入电脑后,发现了USB设备,但是拔除后,发现停留在

HandleEndpoints()函数中语句处:

while(!(cppdmagetpendstatus(g_usbinstance[ulindex].uiUSBinstance) & CPDMA_RX_PENDING));

其中cppdmagetpendstatus(g_usbinstance[ulindex].uiUSBinstance),返回值为0x01;

请问这是什么问题,如何解决?