Zephyr API Documentation  3.4.0
A Scalable Open Source RTOS
3.4.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
usbd_class_data Struct Reference

USB device support class data. More...

#include <usbd.h>

Data Fields

struct usbd_contexuds_ctx
 
void * desc
 
const struct usbd_cctx_vendor_reqv_reqs
 
uint32_t ep_assigned
 
uint32_t ep_active
 
uint32_t iface_bm
 
atomic_t state
 
void * priv
 

Detailed Description

USB device support class data.

Field Documentation

◆ desc

void* usbd_class_data::desc

Pointer to a class implementation descriptor that should end with a nil descriptor (bLength = 0 and bDescriptorType = 0).

◆ ep_active

uint32_t usbd_class_data::ep_active

Bitmap of the enabled endpoints of the instance. The IN endpoints are mapped in the upper halfword.

◆ ep_assigned

uint32_t usbd_class_data::ep_assigned

Bitmap of all endpoints assigned to the instance. The IN endpoints are mapped in the upper halfword.

◆ iface_bm

uint32_t usbd_class_data::iface_bm

Bitmap of the bInterfaceNumbers of the class instance

◆ priv

void* usbd_class_data::priv

Pointer to private data

◆ state

atomic_t usbd_class_data::state

Variable to store the state of the class instance

◆ uds_ctx

struct usbd_contex* usbd_class_data::uds_ctx

Pointer to USB device stack context structure

◆ v_reqs

const struct usbd_cctx_vendor_req* usbd_class_data::v_reqs

Supported vendor request table, can be NULL


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