Zephyr Project API 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Host representation of a USB device. More...

#include <uhc.h>

Data Fields

sys_dnode_t node
 dlist node
 
void * ctx
 An opaque pointer to the host context to which this device belongs.
 
struct k_mutex mutex
 Device mutex.
 
struct usb_device_descriptor dev_desc
 USB device descriptor.
 
enum usb_device_state state
 Device state.
 
enum usb_device_speed speed
 Device speed.
 
uint8_t actual_cfg
 Actual active device configuration.
 
uint8_t addr
 Device address.
 
void * cfg_desc
 Pointer to actual device configuration descriptor.
 
struct usb_host_interface ifaces [32+1]
 Pointers to device interfaces.
 
struct usb_host_ep ep_out [16]
 Pointers to device OUT endpoints.
 
struct usb_host_ep ep_in [16]
 Pointers to device IN endpoints.
 

Detailed Description

Host representation of a USB device.

Field Documentation

◆ actual_cfg

uint8_t usb_device::actual_cfg

Actual active device configuration.

◆ addr

uint8_t usb_device::addr

Device address.

◆ cfg_desc

void* usb_device::cfg_desc

Pointer to actual device configuration descriptor.

◆ ctx

void* usb_device::ctx

An opaque pointer to the host context to which this device belongs.

◆ dev_desc

struct usb_device_descriptor usb_device::dev_desc

USB device descriptor.

◆ ep_in

struct usb_host_ep usb_device::ep_in[16]

Pointers to device IN endpoints.

◆ ep_out

struct usb_host_ep usb_device::ep_out[16]

Pointers to device OUT endpoints.

◆ ifaces

struct usb_host_interface usb_device::ifaces[32+1]

Pointers to device interfaces.

◆ mutex

struct k_mutex usb_device::mutex

Device mutex.

◆ node

sys_dnode_t usb_device::node

dlist node

◆ speed

enum usb_device_speed usb_device::speed

Device speed.

◆ state

enum usb_device_state usb_device::state

Device state.


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