Home
last modified time | relevance | path

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

/device/google/accessory/arduino/USB_Host_Shield/
DUsb.cpp90 SETUP_PKT setup_pkt; in ctrlReq() local
97 setup_pkt.ReqType_u.bmRequestType = bmReqType; in ctrlReq()
98 setup_pkt.bRequest = bRequest; in ctrlReq()
99 setup_pkt.wVal_u.wValueLo = wValLo; in ctrlReq()
100 setup_pkt.wVal_u.wValueHi = wValHi; in ctrlReq()
101 setup_pkt.wIndex = wInd; in ctrlReq()
102 setup_pkt.wLength = nbytes; in ctrlReq()
103 bytesWr( rSUDFIFO, 8, ( char *)&setup_pkt ); //transfer to setup packet FIFO in ctrlReq()