| 
    Zephyr Project API
    3.4.0
    
   A Scalable Open Source RTOS 
   | 
 
USB HOST Core Layer API. More...
Data Structures | |
| struct | usbh_contex | 
| struct | usbh_peripheral | 
| USB host peripheral structure.  More... | |
| struct | usbh_class_code | 
| Class Code.  More... | |
| struct | usbh_class_data | 
| USB host class data and class instance API.  More... | |
Macros | |
| #define | USBH_CONTROLLER_DEFINE(device_name, uhc_dev) | 
| #define | USBH_DEFINE_CLASS(name) static STRUCT_SECTION_ITERABLE(usbh_class_data, name) | 
Functions | |
| int | usbh_init (struct usbh_contex *uhs_ctx) | 
| Initialize the USB host support;.  More... | |
| int | usbh_enable (struct usbh_contex *uhs_ctx) | 
| Enable the USB host support and class instances.  More... | |
| int | usbh_disable (struct usbh_contex *uhs_ctx) | 
| Disable the USB host support.  More... | |
| int | usbh_shutdown (struct usbh_contex *const uhs_ctx) | 
| Shutdown the USB host support.  More... | |
USB HOST Core Layer API.
| #define USBH_CONTROLLER_DEFINE | ( | device_name, | |
| uhc_dev | |||
| ) | 
#include <include/zephyr/usb/usbh.h>
| #define USBH_DEFINE_CLASS | ( | name | ) | static STRUCT_SECTION_ITERABLE(usbh_class_data, name) | 
#include <include/zephyr/usb/usbh.h>
| int usbh_disable | ( | struct usbh_contex * | uhs_ctx | ) | 
#include <include/zephyr/usb/usbh.h>
Disable the USB host support.
This function disables the USB host support.
| [in] | uhs_ctx | Pointer to USB host support context | 
| int usbh_enable | ( | struct usbh_contex * | uhs_ctx | ) | 
#include <include/zephyr/usb/usbh.h>
Enable the USB host support and class instances.
This function enables the USB host support.
| [in] | uhs_ctx | Pointer to USB host support context | 
| int usbh_init | ( | struct usbh_contex * | uhs_ctx | ) | 
#include <include/zephyr/usb/usbh.h>
Initialize the USB host support;.
| [in] | uhs_ctx | Pointer to USB host support context | 
| int usbh_shutdown | ( | struct usbh_contex *const | uhs_ctx | ) | 
#include <include/zephyr/usb/usbh.h>
Shutdown the USB host support.
This function completely disables the USB host support.
| [in] | uhs_ctx | Pointer to USB host support context |