Zephyr API 3.6.99
Loading...
Searching...
No Matches

Common UHC driver data structure. More...

#include <uhc.h>

Data Fields

struct uhc_device_caps caps
 Controller capabilities.
 
struct k_mutex mutex
 Driver access mutex.
 
sys_dlist_t ctrl_xfers
 dlist for control transfers
 
sys_dlist_t bulk_xfers
 dlist for bulk transfers
 
uhc_event_cb_t event_cb
 Callback to submit an UHC event to upper layer.
 
atomic_t status
 USB host controller status.
 
void * priv
 Driver private data.
 

Detailed Description

Common UHC driver data structure.

Mandatory structure for each UHC controller driver. To be implemented as device's private data (device->data).

Field Documentation

◆ bulk_xfers

sys_dlist_t uhc_data::bulk_xfers

dlist for bulk transfers

◆ caps

struct uhc_device_caps uhc_data::caps

Controller capabilities.

◆ ctrl_xfers

sys_dlist_t uhc_data::ctrl_xfers

dlist for control transfers

◆ event_cb

uhc_event_cb_t uhc_data::event_cb

Callback to submit an UHC event to upper layer.

◆ mutex

struct k_mutex uhc_data::mutex

Driver access mutex.

◆ priv

void* uhc_data::priv

Driver private data.

◆ status

atomic_t uhc_data::status

USB host controller status.


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