Classes | Macros | Typedefs | Functions
USBRequests.h File Reference
#include <stdint.h>
Include dependency graph for USBRequests.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  USBGenericRequest
 

Macros

#define USBFeatureRequest_DEVICEREMOTEWAKEUP   1
 
#define USBFeatureRequest_ENDPOINTHALT   0
 
#define USBFeatureRequest_OTG   0x0B
 
#define USBFeatureRequest_OTG_A_ALT_HNP_SUPPORT   5
 
#define USBFeatureRequest_OTG_A_HNP_SUPPORT   4
 
#define USBFeatureRequest_OTG_B_HNP_ENABLE   3
 
#define USBFeatureRequest_TESTFORCEENABLE   5
 
#define USBFeatureRequest_TESTJ   1
 
#define USBFeatureRequest_TESTK   2
 
#define USBFeatureRequest_TESTMODE   2
 
#define USBFeatureRequest_TESTPACKET   4
 
#define USBFeatureRequest_TESTSE0NAK   3
 
#define USBFeatureRequest_TESTSENDZLP   6
 
#define USBGenericRequest_CLASS   1
 
#define USBGenericRequest_CLEARFEATURE   1
 
#define USBGenericRequest_DEVICE   0
 
#define USBGenericRequest_ENDPOINT   2
 
#define USBGenericRequest_GETCONFIGURATION   8
 
#define USBGenericRequest_GETDESCRIPTOR   6
 
#define USBGenericRequest_GETINTERFACE   10
 
#define USBGenericRequest_GETSTATUS   0
 
#define USBGenericRequest_IN   1
 
#define USBGenericRequest_INTERFACE   1
 
#define USBGenericRequest_OTHER   3
 
#define USBGenericRequest_OUT   0
 
#define USBGenericRequest_SETADDRESS   5
 
#define USBGenericRequest_SETCONFIGURATION   9
 
#define USBGenericRequest_SETDESCRIPTOR   7
 
#define USBGenericRequest_SETFEATURE   3
 
#define USBGenericRequest_SETINTERFACE   11
 
#define USBGenericRequest_STANDARD   0
 
#define USBGenericRequest_SYNCHFRAME   12
 
#define USBGenericRequest_VENDOR   2
 

Typedefs

typedef uint8_t USBHS_Add_t
 
typedef uint8_t USBHS_Ep_t
 

Functions

uint8_t USBFeatureRequest_GetFeatureSelector (const USBGenericRequest *request)
 
uint8_t USBFeatureRequest_GetTestSelector (const USBGenericRequest *request)
 
uint8_t USBGenericRequest_GetDirection (const USBGenericRequest *request)
 
uint8_t USBGenericRequest_GetEndpointNumber (const USBGenericRequest *request)
 
uint16_t USBGenericRequest_GetIndex (const USBGenericRequest *request)
 
uint16_t USBGenericRequest_GetLength (const USBGenericRequest *request)
 
uint8_t USBGenericRequest_GetRecipient (const USBGenericRequest *request)
 
uint8_t USBGenericRequest_GetRequest (const USBGenericRequest *request)
 
uint8_t USBGenericRequest_GetType (const USBGenericRequest *request)
 
uint16_t USBGenericRequest_GetValue (const USBGenericRequest *request)
 
uint8_t USBGetDescriptorRequest_GetDescriptorIndex (const USBGenericRequest *request)
 
uint8_t USBGetDescriptorRequest_GetDescriptorType (const USBGenericRequest *request)
 
uint8_t USBInterfaceRequest_GetAlternateSetting (const USBGenericRequest *request)
 
uint8_t USBInterfaceRequest_GetInterface (const USBGenericRequest *request)
 
uint8_t USBSetAddressRequest_GetAddress (const USBGenericRequest *request)
 
uint8_t USBSetConfigurationRequest_GetConfiguration (const USBGenericRequest *request)
 

Detailed Description

Purpose

Definitions and methods for USB request structures described by the USB specification.

Usage

Definition in file USBRequests.h.



inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:07