Belkin F8E211 Guía de usuario Pagina 62

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 114
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 61
usbd endpoint descriptor() 2006, QNX Software Systems GmbH & Co. KG.
Get the endpoint descriptor for a specific endpoint setting
Synopsis:
#include <sys/usbdi.h>
usbd
endpoint descriptor t
*usbd
endpoint descriptor(
struct usbd
device *device,
uint8 config,
uint8 iface,
uint8 alt,
uint8 endpoint,
struct usbd
desc node **node );
Description:
The usbd endpoint descriptor() function lets you obtain the endpoint
descriptor for a specific endpoint on a configuration/interface.
device An opaque handle used to identify the USB device.
config Configuration identifier (
bConfigurationValue).
ifc Interface identifier (
bInterfaceNumber).
alt Alternate identifier (
bAlternateSetting).
endpoint Endpoint identifier (
bEndpointAddress).
node Indicates the descriptor’s location for rooting future
requests.
The
endpoint descriptor t structure looks like this:
typedef struct usbd endpoint descriptor {
uint8 bLength;
uint8 bDescriptorType;
uint8 bEndpointAddress;
uint8 bmAttributes;
uint16 wMaxPacketSize;
uint8 bInterval;
} usbd
endpoint descriptor t;
50 Chapter 4 USB Library Reference November 2, 2006
Vista de pagina 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 113 114

Comentarios a estos manuales

Sin comentarios