USBUS context struct. More...
#include <usbus.h>
Data Fields | |
usbus_string_t | manuf |
Manufacturer string | |
usbus_string_t | product |
Product string | |
usbus_string_t | config |
Configuration string | |
usbus_string_t | serial |
serial 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_t * | dev |
usb phy device of the usb manager | |
usbus_handler_t * | control |
Ptr to the control endpoint handler | |
usbus_descr_gen_t * | descr_gen |
Linked list of top level descriptor generators | |
usbus_string_t * | strings |
List of descriptor strings | |
usbus_interface_t * | iface |
List of USB interfaces | |
usbus_handler_t * | handlers |
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 | |
bool | wakeup_enabled |
Remote wakeup device feature status | |
char | serial_str [2 *CONFIG_USB_SERIAL_BYTE_LENGTH+1] |
Hex representation of the device serial number. | |
usbus_string_t usbus::config |
usbus_handler_t* usbus::control |
usbus_descr_gen_t* usbus::descr_gen |
uint32_t usbus::ep_events |
usbus_endpoint_t usbus::ep_in[USBDEV_NUM_ENDPOINTS] |
usbus_endpoint_t usbus::ep_out[USBDEV_NUM_ENDPOINTS] |
usbus_handler_t* usbus::handlers |
usbus_interface_t* usbus::iface |
usbus_string_t usbus::manuf |
kernel_pid_t usbus::pid |
usbus_string_t usbus::product |
usbus_state_t usbus::pstate |
event_queue_t usbus::queue |
usbus_string_t usbus::serial |
char usbus::serial_str[2 *CONFIG_USB_SERIAL_BYTE_LENGTH+1] |
usbus_state_t usbus::state |
usbus_string_t* usbus::strings |
bool usbus::wakeup_enabled |