![]() |
![]() |
![]() |
![]() |
Get information on the USB host controller and SDK library
#include <sys/usbdi.h> int usbd_hcd_info( struct usbd_connection *connection, usbd_hcd_info_t *info );
You use the usbd_hcd_info() function to obtain information from the USB host controller and SDK library.
typedef struct usbd_hcd_info { _uint16 vusb; _uint16 vusbd; char controller[8]; _uint32 capabilities; } usbd_hcd_info_t;
The vusb and vusbd fields hold the version numbers of the USB stack and the SDK; controller and capabilities hold the name and capabilities of the USB host controller.
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
usbd_args_lookup(), usbd_configuration_descriptor(), usbd_device_lookup(), usbd_device_extra(), usbd_device_descriptor(), usbd_endpoint_descriptor(), usbd_hub_descriptor(), usbd_interface_descriptor(), usbd_languages_descriptor(), usbd_parse_descriptors(), usbd_string(), usbd_urb_status()
![]() |
![]() |
![]() |
![]() |