Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
|
Common UDC driver data structure. More...
#include <udc.h>
Data Fields | |
struct udc_ep_config * | ep_lut [32] |
LUT for endpoint management. | |
struct udc_device_caps | caps |
Controller capabilities. | |
struct k_mutex | mutex |
Driver access mutex. | |
udc_event_cb_t | event_cb |
Callback to submit an UDC event to upper layer. | |
atomic_t | status |
USB device controller status. | |
int | stage |
Internal used Control Sequence Stage. | |
struct net_buf * | setup |
Pointer to buffer containing setup packet. | |
void * | priv |
Driver private data. | |
Common UDC driver data structure.
Mandatory structure for each UDC controller driver. To be implemented as device's private data (device->data).
struct udc_device_caps udc_data::caps |
Controller capabilities.
struct udc_ep_config* udc_data::ep_lut[32] |
LUT for endpoint management.
udc_event_cb_t udc_data::event_cb |
Callback to submit an UDC event to upper layer.
struct k_mutex udc_data::mutex |
Driver access mutex.
void* udc_data::priv |
Driver private data.
struct net_buf* udc_data::setup |
Pointer to buffer containing setup packet.
int udc_data::stage |
Internal used Control Sequence Stage.
atomic_t udc_data::status |
USB device controller status.