|
Zephyr Project API 3.5.0
A Scalable Open Source RTOS
|
USB device support class data. More...
#include <usbd.h>
Data Fields | |
| struct usbd_contex * | uds_ctx |
| Pointer to USB device stack context structure. | |
| void * | desc |
| Pointer to a class implementation descriptor that should end with a nil descriptor (bLength = 0 and bDescriptorType = 0). | |
| const struct usbd_cctx_vendor_req * | v_reqs |
| Supported vendor request table, can be NULL. | |
| uint32_t | ep_assigned |
| Bitmap of all endpoints assigned to the instance. | |
| uint32_t | ep_active |
| Bitmap of the enabled endpoints of the instance. | |
| uint32_t | iface_bm |
| Bitmap of the bInterfaceNumbers of the class instance. | |
| atomic_t | state |
| Variable to store the state of the class instance. | |
| void * | priv |
| Pointer to private data. | |
USB device support class data.
| void* usbd_class_data::desc |
Pointer to a class implementation descriptor that should end with a nil descriptor (bLength = 0 and bDescriptorType = 0).
| uint32_t usbd_class_data::ep_active |
Bitmap of the enabled endpoints of the instance.
The IN endpoints are mapped in the upper halfword.
| uint32_t usbd_class_data::ep_assigned |
Bitmap of all endpoints assigned to the instance.
The IN endpoints are mapped in the upper halfword.
| uint32_t usbd_class_data::iface_bm |
Bitmap of the bInterfaceNumbers of the class instance.
| void* usbd_class_data::priv |
Pointer to private data.
| atomic_t usbd_class_data::state |
Variable to store the state of the class instance.
| struct usbd_contex* usbd_class_data::uds_ctx |
Pointer to USB device stack context structure.
| const struct usbd_cctx_vendor_req* usbd_class_data::v_reqs |
Supported vendor request table, can be NULL.