Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
usbh.h File Reference

New experimental USB device stack APIs and structures. More...

Go to the source code of this file.

Data Structures

struct  usbh_contex
 USB host support runtime context. More...
 
struct  usbh_code_triple
 USB Class Code triple. 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;.
 
int usbh_enable (struct usbh_contex *uhs_ctx)
 Enable the USB host support and class instances.
 
int usbh_disable (struct usbh_contex *uhs_ctx)
 Disable the USB host support.
 
int usbh_shutdown (struct usbh_contex *const uhs_ctx)
 Shutdown the USB host support.
 

Detailed Description

New experimental USB device stack APIs and structures.

This file contains the USB device stack APIs and structures.