|
Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
|
New experimental USB device stack APIs and structures. More...
#include <stdint.h>#include <zephyr/device.h>#include <zephyr/net_buf.h>#include <zephyr/sys/util.h>#include <zephyr/sys/dlist.h>#include <zephyr/sys/bitarray.h>#include <zephyr/drivers/usb/uhc.h>#include <zephyr/sys/iterable_sections.h>Go to the source code of this file.
Data Structures | |
| struct | usbh_status |
| USB host support status. More... | |
| struct | usbh_context |
| USB host support runtime context. More... | |
| struct | usbh_class_filter |
| Information about a device, which is relevant for matching a particular class. More... | |
| struct | usbh_class_api |
| USB host class instance API. More... | |
| struct | usbh_class_data |
| USB host class instance data. More... | |
Macros | |
| #define | USBH_CONTROLLER_DEFINE(device_name, uhc_dev) |
| #define | USBH_DEFINE_CLASS(class_name, class_api, class_priv, filt) |
| Define USB host support class data. | |
Functions | |
| int | usbh_init (struct usbh_context *uhs_ctx) |
| Initialize the USB host support;. | |
| int | usbh_enable (struct usbh_context *uhs_ctx) |
| Enable the USB host support and class instances. | |
| int | usbh_disable (struct usbh_context *uhs_ctx) |
| Disable the USB host support. | |
| int | usbh_shutdown (struct usbh_context *const uhs_ctx) |
| Shutdown the USB host support. | |
New experimental USB device stack APIs and structures.
This file contains the USB device stack APIs and structures.