Zephyr API Documentation
3.5.0
A Scalable Open Source RTOS
|
|
3.5.0 |
USB device support runtime context. More...
#include <usbd.h>
Data Fields | |
const char * | name |
Name of the USB device. | |
struct k_mutex | mutex |
Access mutex. | |
const struct device * | dev |
Pointer to UDC device. | |
struct usbd_ch9_data | ch9_data |
Middle layer runtime data. | |
sys_dlist_t | descriptors |
slist to manage descriptors like string, bos | |
sys_slist_t | configs |
slist to manage device configurations | |
struct usbd_status | status |
Status of the USB device support. | |
void * | desc |
Pointer to device descriptor. | |
USB device support runtime context.
Main structure that organizes all descriptors, configuration, and interfaces. An UDC device must be assigned to this structure.
struct usbd_ch9_data usbd_contex::ch9_data |
Middle layer runtime data.
sys_slist_t usbd_contex::configs |
slist to manage device configurations
void* usbd_contex::desc |
Pointer to device descriptor.
sys_dlist_t usbd_contex::descriptors |
slist to manage descriptors like string, bos
const struct device* usbd_contex::dev |
Pointer to UDC device.
struct k_mutex usbd_contex::mutex |
Access mutex.
const char* usbd_contex::name |
Name of the USB device.
struct usbd_status usbd_contex::status |
Status of the USB device support.