usbus Struct Reference

USBUS context struct. More...

Detailed Description

USBUS context struct.

Definition at line 397 of file usbus.h.

#include <usbus.h>

Data Fields

usbus_string_t manuf
 Manufacturer string

 
usbus_string_t product
 Product string

 
usbus_string_t config
 Configuration string

 
usbus_endpoint_t ep_out [USBDEV_NUM_ENDPOINTS]
 USBUS OUT endpoints

 
usbus_endpoint_t ep_in [USBDEV_NUM_ENDPOINTS]
 USBUS IN endpoints

 
event_queue_t queue
 Event queue

 
usbdev_tdev
 usb phy device of the usb manager

 
usbus_handler_tcontrol
 Ptr to the control endpoint handler

 
usbus_descr_gen_tdescr_gen
 Linked list of top level descriptor generators

 
usbus_string_tstrings
 List of descriptor strings

 
usbus_interface_tiface
 List of USB interfaces

 
usbus_handler_thandlers
 List of event callback handlers

 
uint32_t ep_events
 bitflags with endpoint event state

 
kernel_pid_t pid
 PID of the usb manager's thread

 
uint16_t str_idx
 Number of strings registered

 
usbus_state_t state
 Current state

 
usbus_state_t pstate
 state to recover to from suspend

 
uint8_t addr
 Address of the USB peripheral

 

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