Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
|
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. | |
Common UHC driver data structure.
Mandatory structure for each UHC controller driver. To be implemented as device's private data (device->data).
sys_dlist_t uhc_data::bulk_xfers |
dlist for bulk transfers
struct uhc_device_caps uhc_data::caps |
Controller capabilities.
sys_dlist_t uhc_data::ctrl_xfers |
dlist for control transfers
uhc_event_cb_t uhc_data::event_cb |
Callback to submit an UHC event to upper layer.
struct k_mutex uhc_data::mutex |
Driver access mutex.
void* uhc_data::priv |
Driver private data.
atomic_t uhc_data::status |
USB host controller status.