Home
last modified time | relevance | path

Searched refs:pktsize (Results 1 – 1 of 1) sorted by relevance

/device/google/accessory/arduino/USB_Host_Shield/
DUsb.cpp158 byte pktsize; in inTransfer() local
172 pktsize = regRd( rRCVBC ); //number of received bytes in inTransfer()
173 data = bytesRd( rRCVFIFO, pktsize, data ); in inTransfer()
175 …xfrlen += pktsize; // add this packet's byte count to total transfer … in inTransfer()
179 … if (( pktsize < maxpktsize ) || (xfrlen >= nbytes )) { // have we transferred 'nbytes' bytes? in inTransfer()
194 byte pktsize; in newInTransfer() local
208 pktsize = regRd( rRCVBC ); //number of received bytes in newInTransfer()
209 data = bytesRd( rRCVFIFO, pktsize, data ); in newInTransfer()
211 …xfrlen += pktsize; // add this packet's byte count to total transfer … in newInTransfer()
215 … if (( pktsize < maxpktsize ) || (xfrlen >= nbytes )) { // have we transferred 'nbytes' bytes? in newInTransfer()