USBGenericRequest.h
Default mainpageat91libusbcommoncoreUSBGenericRequest.h
Description Overview
Classes Brief description
 USBGenericRequest Generic USB SETUP request sent over Control endpoints.
Methods  
 USBGenericRequest_GetDirection Returns the direction of the data transfer following the given request.
 USBGenericRequest_GetEndpointNumber Returns the endpoint number targetted by a given request.
 USBGenericRequest_GetIndex Returns the wIndex field of the given request.
 USBGenericRequest_GetLength Returns the expected length of the data phase following a request.
 USBGenericRequest_GetRecipient Returns the intended recipient of a given request.
 USBGenericRequest_GetRequest Returns the request code of the given request.
 USBGenericRequest_GetType Returns the type of the given request.
 USBGenericRequest_GetValue Returns the wValue field of the given request.
Defines  
 USBGenericRequest_CLASS Request is class-specific.
 USBGenericRequest_CLEARFEATURE CLEAR_FEATURE request code.
 USBGenericRequest_DEVICE Recipient is the whole device.
 USBGenericRequest_ENDPOINT Recipient is an endpoint.
 USBGenericRequest_GETCONFIGURATION GET_CONFIGURATION request code.
 USBGenericRequest_GETDESCRIPTOR GET_DESCRIPTOR request code.
 USBGenericRequest_GETINTERFACE GET_INTERFACE request code.
 USBGenericRequest_GETSTATUS GET_STATUS request code.
 USBGenericRequest_IN Transfer occurs from the host to the device.
 USBGenericRequest_INTERFACE Recipient is an interface.
 USBGenericRequest_OTHER Recipient is another entity.
 USBGenericRequest_OUT Transfer occurs from device to the host.
 USBGenericRequest_SETADDRESS SET_ADDRESS request code.
 USBGenericRequest_SETCONFIGURATION SET_CONFIGURATION request code.
 USBGenericRequest_SETDESCRIPTOR SET_DESCRIPTOR request code.
 USBGenericRequest_SETFEATURE SET_FEATURE request code.
 USBGenericRequest_SETINTERFACE SET_INTERFACE request code.
 USBGenericRequest_STANDARD Request is standard.
 USBGenericRequest_SYNCHFRAME SYNCH_FRAME request code.
 USBGenericRequest_VENDOR Request is vendor-specific.