Zephyr Project API 4.0.0
A Scalable Open Source RTOS
|
USB device controller event. More...
#include <udc.h>
Data Fields | ||
enum udc_event_type | type | |
Event type. | ||
union { | ||
uint32_t value | ||
Event value. More... | ||
int status | ||
Event status value, if any. More... | ||
struct net_buf * buf | ||
Pointer to request used only for UDC_EVT_EP_REQUEST. More... | ||
}; | ||
const struct device * | dev | |
Pointer to device struct. | ||
USB device controller event.
Common structure for all events that originate from the UDC driver and are passed to higher layer using message queue and a callback (udc_event_cb_t) provided by higher layer during controller initialization (udc_init).
union { ... } udc_event |
struct net_buf* udc_event::buf |
Pointer to request used only for UDC_EVT_EP_REQUEST.
const struct device* udc_event::dev |
Pointer to device struct.
int udc_event::status |
Event status value, if any.
enum udc_event_type udc_event::type |
Event type.
uint32_t udc_event::value |
Event value.