Zephyr Project API  3.3.0
A Scalable Open Source RTOS

#include <uhc.h>

Data Fields

sys_snode_t node
 
enum uhc_event_type type
 
union {
   uint32_t   value
 
   struct uhc_transfer *   xfer
 
}; 
 
int status
 
const struct device * dev
 

Detailed Description

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).

Field Documentation

◆ 

union { ... } uhc_event::@145

◆ dev

const struct device* uhc_event::dev

Pointer to controller's device struct

◆ node

sys_snode_t uhc_event::node

slist node for the message queue

◆ status

int uhc_event::status

Event status, 0 on success, other (transfer) values on error

◆ type

enum uhc_event_type uhc_event::type

Event type

◆ value

uint32_t uhc_event::value

Event value

◆ xfer

struct uhc_transfer* uhc_event::xfer

Pointer to request used only for UHC_EVT_EP_REQUEST


The documentation for this struct was generated from the following file: