![]()  | 
![]()  | 
![]()  | 
![]()  | 
Control a feature for a USB device
#include <sys/usbdi.h>
int usbd_feature( struct usbd_device *device,
                  int set,
                  uint16_t feature, 
                  uint16_t rtype,
                  uint16_t index );
libusbdi
The usbd_feature() function lets you control a specific feature on a USB device.
| Safety: | |
|---|---|
| Cancellation point | Yes | 
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | Yes | 
usbd_descriptor(), usbd_io(), usbd_setup_bulk(), usbd_setup_control(), usbd_setup_interrupt(), usbd_setup_isochronous(), usbd_setup_vendor(), usbd_status()
![]()  | 
![]()  | 
![]()  | 
![]()  |