USBGetDescriptorRequest_GetDescriptorIndex
Default mainpageat91libusbcommoncoreUSBGetDescriptorRequest_GetDescriptorIndex
Description Source Call Graph
USBGetDescriptorRequest_GetDescriptorIndex
Returns the index of the requested descriptor, given the corresponding GET_DESCRIPTOR request.
 
Syntax / parameters
unsigned char USBGetDescriptorRequest_GetDescriptorIndex (const USBGenericRequest *request)

Name Type Default Description
request const USBGenericRequest *
  Pointer to a USBGenericDescriptor instance.
 
Return value unsigned char
  Index of the requested descriptor.
Description
Returns the index of the requested descriptor, given the corresponding GET_DESCRIPTOR request.

 
Source
The documentation for this Member was generated from the following files:
  • USBGetDescriptorRequest.c