Zephyr API 3.6.99
|
USB host controller event. More...
#include <uhc.h>
Data Fields | ||
sys_snode_t | node | |
slist node for the message queue | ||
enum uhc_event_type | type | |
Event type. | ||
union { | ||
int status | ||
Event status value, if any. More... | ||
struct uhc_transfer * xfer | ||
Pointer to request used only for UHC_EVT_EP_REQUEST. More... | ||
}; | ||
const struct device * | dev | |
Pointer to controller's device struct. | ||
USB host controller event.
Common structure for all events that originate from the UHC driver and are passed to higher layer using message queue and a callback (uhc_event_cb_t) provided by higher layer during controller initialization (uhc_init).
union { ... } uhc_event |
const struct device* uhc_event::dev |
Pointer to controller's device struct.
sys_snode_t uhc_event::node |
slist node for the message queue
int uhc_event::status |
Event status value, if any.
enum uhc_event_type uhc_event::type |
Event type.
struct uhc_transfer* uhc_event::xfer |
Pointer to request used only for UHC_EVT_EP_REQUEST.