811.searchresults
来自「usb2.0驱动程序」· SEARCHRESULTS 代码 · 共 18 行
SEARCHRESULTS
18 行
---- main Matches (20 in 1 files) ----
Host_811.c:xdata BYTE remainder; // Remaining byte in a USB transfer
Host_811.c: return FALSE; // flag true, so that main loop will
Host_811.c: SL811Read(EP0Counter,&remainder); // remainder value in last pkt xfer
Host_811.c: wLen -= (WORD)xferLen; // update remainding wLen value
Host_811.c: if(remainder==xferLen) // empty data detected
Host_811.c: // remainder is equal to zero, not a short pkt
Host_811.c: if(!remainder && wLen) // remainder==0 when last xferLen
Host_811.c: // Terminate on short packets, i.e. remainder!=0
Host_811.c: if(remainder || !wLen)
Host_811.c: wLen -= (WORD)xferLen; // update remainding wLen value
Host_811.c: if(remainder==xferLen) // empty data detected
Host_811.c: // remainder is equal to zero, not a short pkt
Host_811.c: if(!remainder && wLen) // remainder==0 when last xferLen
Host_811.c: // Terminate on short packets, i.e. remainder!=0
Host_811.c: if(remainder || !wLen)
Host_811.c: break; // main loop control the interval polling
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?