Zephyr API Documentation 3.7.99
A Scalable Open Source RTOS
|
USB host class data and class instance API. More...
#include <usbh.h>
Data Fields | |
struct usbh_code_triple | code |
Class code supported by this instance. | |
int(* | request )(struct usbh_contex *const uhs_ctx, struct uhc_transfer *const xfer, int err) |
Initialization of the class implementation. | |
int(* | connected )(struct usbh_contex *const uhs_ctx) |
Device connected handler | |
int(* | removed )(struct usbh_contex *const uhs_ctx) |
Device removed handler | |
int(* | rwup )(struct usbh_contex *const uhs_ctx) |
Bus remote wakeup handler | |
int(* | suspended )(struct usbh_contex *const uhs_ctx) |
Bus suspended handler | |
int(* | resumed )(struct usbh_contex *const uhs_ctx) |
Bus resumed handler | |
USB host class data and class instance API.
struct usbh_code_triple usbh_class_data::code |
Class code supported by this instance.
int(* usbh_class_data::connected) (struct usbh_contex *const uhs_ctx) |
Device connected handler
int(* usbh_class_data::removed) (struct usbh_contex *const uhs_ctx) |
Device removed handler
int(* usbh_class_data::request) (struct usbh_contex *const uhs_ctx, struct uhc_transfer *const xfer, int err) |
Initialization of the class implementation.
Request completion event handler
int(* usbh_class_data::resumed) (struct usbh_contex *const uhs_ctx) |
Bus resumed handler
int(* usbh_class_data::rwup) (struct usbh_contex *const uhs_ctx) |
Bus remote wakeup handler
int(* usbh_class_data::suspended) (struct usbh_contex *const uhs_ctx) |
Bus suspended handler