Home | History | Annotate | Download | only in USB_Host_Shield

Lines Matching refs:USB

3  * MAX3421E USB host controller support
30 /* USB functions */
32 #include "Usb.h"
42 USB::USB () {
47 void USB::init()
59 byte USB::getUsbTaskState( void )
63 void USB::setUsbTaskState( byte state )
67 EP_RECORD* USB::getDevTableEntry( byte addr, byte ep )
76 void USB::setDevTableEntry( byte addr, EP_RECORD* eprecord_ptr )
86 byte USB::ctrlReq( byte addr, byte ep, byte bmReqType, byte bRequest, byte wValLo, byte wValHi, unsigned int wInd, unsigned int nbytes, char* dataptr, unsigned int nak_limit )
125 byte USB::ctrlStatus( byte ep, boolean direction, unsigned int nak_limit )
137 byte USB::ctrlData( byte addr, byte ep, unsigned int nbytes, char* dataptr, boolean direction, unsigned int nak_limit )
154 fe USB xfer timeout */
155 byte USB::inTransfer( byte addr, byte ep, unsigned int nbytes, char* data, unsigned int nak_limit )
191 int USB::newInTransfer( byte addr, byte ep, unsigned int nbytes, char* data, unsigned int nak_limit )
231 byte USB::outTransfer( byte addr, byte ep, unsigned int nbytes, char* data, unsigned int nak_limit )
287 /* dispatch usb packet. Assumes peripheral address is set and relevant buffer is loaded/empty */
292 byte USB::dispatchPkt( byte token, byte ep, unsigned int nak_limit )
334 /* USB main task. Performs enumeration/cleanup */
335 void USB::Task( void ) //USB state machine
344 /* modify USB task state if Vbus changed */
363 //Serial.print("USB task state: ");
389 delay = millis() + 20; //20ms wait after reset per USB spec