|
Data Structures |
struct | usb_device_info |
| Information about attached USB device. More...
|
struct | usb_device_keeper_t |
| Host controller device keeper. More...
|
Defines |
#define | USB_ADDRESS_COUNT (USB11_ADDRESS_MAX + 1) |
| Number of USB address for array dimensions.
|
Functions |
usb_address_t | device_keeper_get_free_address (usb_device_keeper_t *instance, usb_speed_t speed) |
| Get a free USB address.
|
void | usb_device_keeper_bind (usb_device_keeper_t *instance, usb_address_t address, devman_handle_t handle) |
| Bind USB address to devman handle.
|
usb_address_t | usb_device_keeper_find (usb_device_keeper_t *instance, devman_handle_t handle) |
| Find USB address associated with the device.
|
bool | usb_device_keeper_find_by_address (usb_device_keeper_t *instance, usb_address_t address, devman_handle_t *handle) |
| Find devman handle assigned to USB address.
|
usb_speed_t | usb_device_keeper_get_speed (usb_device_keeper_t *instance, usb_address_t address) |
| Get speed associated with the address.
|
void | usb_device_keeper_init (usb_device_keeper_t *instance) |
| Initialize device keeper structure.
|
void | usb_device_keeper_release (usb_device_keeper_t *instance, usb_address_t address) |
| Release used USB address.
|