
usbd hcd info() 2006, QNX Software Systems GmbH & Co. KG.
Get information on the USB host controller and SDK library
Synopsis:
#include <sys/usbdi.h>
int usbd
hcd info( struct usbd connection *connection,
uint32 cindex, usbd hcd info t*info );
Description:
You use the usbd hcd info() function to obtain information from the
USB host controller and SDK library.
connection Identifies the USB stack (from usbd
connect()).
cindex Gets information about a specific host controller.
info A pointer to the
usbd hcd info t data structure,
which is filled in by usbd
hcd info(). The structure
contains at least the following:
typedef struct usbd hcd info {
uint16 vusb;
uint16 vusbd;
char controller[8];
uint32 capabilities;
uint8 ndev;
uint8 reserved[1];
uint16 vhcd;
uint8 reserved[12];
} usbd
hcd info t;
The vusb, vusbd, and vhcd fields hold the version numbers of the
USB stack, the SDK, and the HCD;
controller and
capabilities hold the name and capabilities of the USB host
controller;
ndev contains the number of devices currently connected.
58 Chapter 4 USB Library Reference November 2, 2006
Comentarios a estos manuales