Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
usbh_class_data Struct Reference

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

 

Detailed Description

USB host class data and class instance API.

Field Documentation

◆ code

struct usbh_code_triple usbh_class_data::code

Class code supported by this instance.

◆ connected

int(* usbh_class_data::connected) (struct usbh_contex *const uhs_ctx)

Device connected handler

◆ removed

int(* usbh_class_data::removed) (struct usbh_contex *const uhs_ctx)

Device removed handler

◆ request

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

◆ resumed

int(* usbh_class_data::resumed) (struct usbh_contex *const uhs_ctx)

Bus resumed handler

◆ rwup

int(* usbh_class_data::rwup) (struct usbh_contex *const uhs_ctx)

Bus remote wakeup handler

◆ suspended

int(* usbh_class_data::suspended) (struct usbh_contex *const uhs_ctx)

Bus suspended handler


The documentation for this struct was generated from the following file: