Zephyr API Documentation
3.6.99
A Scalable Open Source RTOS
|
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. | |
usbd_msg_cb_t | msg_cb |
Notification message recipient callback. | |
struct usbd_ch9_data | ch9_data |
Middle layer runtime data. | |
sys_dlist_t | descriptors |
slist to manage descriptors like string, BOS | |
sys_slist_t | fs_configs |
slist to manage Full-Speed device configurations | |
sys_slist_t | hs_configs |
slist to manage High-Speed device configurations | |
struct usbd_status | status |
Status of the USB device support. | |
void * | fs_desc |
Pointer to Full-Speed device descriptor. | |
void * | hs_desc |
Pointer to High-Speed 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_dlist_t usbd_contex::descriptors |
slist to manage descriptors like string, BOS
const struct device* usbd_contex::dev |
Pointer to UDC device.
sys_slist_t usbd_contex::fs_configs |
slist to manage Full-Speed device configurations
void* usbd_contex::fs_desc |
Pointer to Full-Speed device descriptor.
sys_slist_t usbd_contex::hs_configs |
slist to manage High-Speed device configurations
void* usbd_contex::hs_desc |
Pointer to High-Speed device descriptor.
usbd_msg_cb_t usbd_contex::msg_cb |
Notification message recipient callback.
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.