Belkin F8E211 Guida Utente Pagina 57

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 107
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 56
© 2007, QNX Software Systems GmbH & Co. KG. usbd
_
feature()
Control a feature for a USB device
Synopsis:
#include <sys/usbdi.h>
int usbd_feature( struct usbd_device *device,
int set,
_uint16 feature,
_uint16 rtype,
_uint16 index );
Arguments:
device An opaque handle used to identify the USB device.
set Set or clear a feature on the USB device.
feature A specific feature on the device.
rtype Type of request (e.g.
USB_RECIPIENT_DEVICE,
USB_RECIPIENT_INTERFACE, USB_RECIPIENT_ENDPOINT,
USB_RECIPIENT_OTHER, USB_TYPE_STANDARD, USB_TYPE_CLASS,
USB_TYPE_VENDOR).
index This varies, depending on the request. It’s used for passing a parameter to
the device.
Library:
libusbdi
Description:
The usbd
_
feature() function lets you control a specific feature on a USB device.
Returns:
EOK Success.
ENOMEM No memory for URB.
ENODEV Device was removed.
EIO I/O error on USB device.
Classification:
QNX Neutrino, QNX 4
September 10, 2007 Chapter 4 USB Library Reference 43
Vedere la pagina 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 106 107

Commenti su questo manuale

Nessun commento