Belkin F8E211 Guia do Utilizador Página 74

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 114
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 73
usbd interface descriptor() 2006, QNX Software Systems GmbH & Co. KG.
Get the interface descriptor for a specific interface setting
Synopsis:
#include <sys/usbdi.h>
usbd
interface descriptor t
*usbd
interface descriptor(
struct usbd
device *device,
uint8 cfg,
uint8 ifc,
uint8 alt,
struct usbd
desc node **node );
Description:
The usbd interface descriptor() function lets you obtain the interface
descriptor for a specific interface setting.
device An opaque handle used to identify the USB device.
cfg The device’s configuration identifier
(
bConfigurationValue).
ifc Interface identifier (
bInterfaceNumber).
alt Alternate identifier (
bAlternateSetting).
node Indicates the descriptor’s location for rooting future
requests (e.g. endpoints of this interface).
The
usbd interface descriptor t structure looks like this:
typedef struct usbd interface descriptor {
uint8 bLength;
uint8 bDescriptorType;
uint8 bInterfaceNumber;
uint8 bAlternateSetting;
uint8 bNumEndpoints;
uint8 bInterfaceClass;
uint8 bInterfaceSubClass;
uint8 bInterfaceProtocol;
uint8 iInterface;
} usbd
interface descriptor t;
62 Chapter 4 USB Library Reference November 2, 2006
Vista de página 73
1 2 ... 69 70 71 72 73 74 75 76 77 78 79 ... 113 114

Comentários a estes Manuais

Sem comentários