Home
last modified time | relevance | path

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

/device/google/accessory/arduino/USB_Host_Shield/
DUsb.h131 EP_RECORD* getDevTableEntry( byte addr, byte ep );
133 …byte ctrlReq( byte addr, byte ep, byte bmReqType, byte bRequest, byte wValLo, byte wValHi, unsigne…
135 …byte getDevDescr( byte addr, byte ep, unsigned int nbytes, char* dataptr, unsigned int nak_limit =…
136 …byte getConfDescr( byte addr, byte ep, unsigned int nbytes, byte conf, char* dataptr, unsigned int…
137 …byte getStrDescr( byte addr, byte ep, unsigned int nbytes, byte index, unsigned int langid, char* …
138 byte setAddr( byte oldaddr, byte ep, byte newaddr, unsigned int nak_limit = USB_NAK_LIMIT );
139 byte setConf( byte addr, byte ep, byte conf_value, unsigned int nak_limit = USB_NAK_LIMIT );
141 …byte setProto( byte addr, byte ep, byte interface, byte protocol, unsigned int nak_limit = USB_NAK…
142 …byte getProto( byte addr, byte ep, byte interface, char* dataptr, unsigned int nak_limit = USB_NAK…
143 …byte getReportDescr( byte addr, byte ep, unsigned int nbytes, char* dataptr, unsigned int nak_limi…
[all …]
DUsb.cpp67 EP_RECORD* USB::getDevTableEntry( byte addr, byte ep ) in getDevTableEntry() argument
71 ptr += ep; in getDevTableEntry()
86 byte USB::ctrlReq( byte addr, byte ep, byte bmReqType, byte bRequest, byte wValLo, byte wValHi, uns… in ctrlReq() argument
104 rcode = dispatchPkt( tokSETUP, ep, nak_limit ); //dispatch packet in ctrlReq()
113 rcode = ctrlData( addr, ep, nbytes, dataptr, direction ); in ctrlReq()
120 rcode = ctrlStatus( ep, direction ); //status stage in ctrlReq()
125 byte USB::ctrlStatus( byte ep, boolean direction, unsigned int nak_limit ) in ctrlStatus() argument
129 rcode = dispatchPkt( tokOUTHS, ep, nak_limit ); in ctrlStatus()
132 rcode = dispatchPkt( tokINHS, ep, nak_limit ); in ctrlStatus()
137 byte USB::ctrlData( byte addr, byte ep, unsigned int nbytes, char* dataptr, boolean direction, unsi… in ctrlData() argument
[all …]
/device/google/accessory/arduino/AndroidAccessory/
DAndroidAccessory.cpp148 EP_RECORD *ep; in findEndpoints() local
162 ep = inEp; in findEndpoints()
164 ep = outEp; in findEndpoints()
166 ep = NULL; in findEndpoints()
168 if (ep) { in findEndpoints()
169 ep->epAddr = epDesc->bEndpointAddress & 0x7f; in findEndpoints()
170 ep->Attr = epDesc->bmAttributes; in findEndpoints()
171 ep->MaxPktSize = epDesc->wMaxPacketSize; in findEndpoints()
172 ep->sndToggle = bmSNDTOG0; in findEndpoints()
173 ep->rcvToggle = bmRCVTOG0; in findEndpoints()