#include <ddf/driver.h>
#include <bool.h>
#include <errno.h>
#include <usbhc_iface.h>
#include <usb/descriptor.h>
#include <usb/classes/hub.h>
#include "usbhub.h"
#include "usbhub_private.h"
#include "port_status.h"
Go to the source code of this file.
Functions | |
usb_hub_descriptor_t * | usb_create_deserialized_hub_desriptor (void *serialized_descriptor) |
create deserialized desriptor structure out of serialized descriptor | |
void * | usb_create_serialized_hub_descriptor (usb_hub_descriptor_t *descriptor) |
create uint8_t array with serialized descriptor | |
void | usb_deserialize_hub_desriptor (void *serialized_descriptor, usb_hub_descriptor_t *descriptor) |
deserialize descriptor into given pointer | |
void | usb_serialize_hub_descriptor (usb_hub_descriptor_t *descriptor, void *serialized_descriptor) |
serialize descriptor into given buffer | |
Variables | |
size_t | USB_HUB_MAX_DESCRIPTOR_SIZE = 71 |
Maximum size of usb hub descriptor in bytes. |
Definition in file utils.c.