To activate a particular configuration use this function.
The argument is
of
0 <= configuration < dev->descriptor.bNumConfigurations.
Configuration 0 is selected by default after the device is attached to the
bus.
This function activates an alternate setting of a specified interface. The
argument interface is of
0 <= interface < dev->actconfig->bNumInterfaces.
The argument alternate is of
0 <= alternate < dev->actconfig->interface[interface].num_altsetting
This function rereads the complete descriptor tree from a particular device. It is called automatically whenever a device is attached to the bus or it may be called whenever a USB descriptor has changed.
Single USB descriptors can be read as raw data from a device. This function can be used to parse extended or vendor specific descriptors. The arguments desctype and descindex are documented in [4] section 9.4.3 and 9.5.
If a device, configuration or interface descriptor references a string index value (see [4] section 9.6.5) this function can be used to retrieve the string descriptor. According to the specification USB strings are coded as Unicode. If successful the function returns 0 otherwise an error code is returned.
This function simplifies usb_get_string by converting Unicode strings into ASCII strings.
This USB control request is documented in [4] section 9.4.5.
If an endpoint is stalled (see [4] chapter 8.4.4) call this function to clear the STALL condition. STALL indicates that a function is unable to transmit or receive data, or that a control pipe request is not supported. The argument endpoint defines a pipe handle.
This HID USB control request is documented in [6] section 7.2.5.
This HID USB control request is documented in [6] section 7.2.1
This HID USB control request is documented in [6] section 7.2.4