Skip to content

Struct SYN_USB_Host

ClassList > SYN_USB_Host

More...

  • #include <syn_usb_host.h>

Public Attributes

Type Name
uint8_t class_count
SYN_USB_HostClassDriver classes
SYN_USB_HostDevInfo dev_info
uint8_t enum_buf
uint16_t enum_buf_len
uint8_t enum_step
uint8_t next_addr
uint8_t state
bool xfer_pending

Detailed Description

USB Host Instance Context

Public Attributes Documentation

variable class_count

uint8_t SYN_USB_Host::class_count;

Number of registered class drivers


variable classes

SYN_USB_HostClassDriver SYN_USB_Host::classes[SYN_USB_HOST_MAX_CLASSES];

Class driver registry


variable dev_info

SYN_USB_HostDevInfo SYN_USB_Host::dev_info;

Cached device descriptor info


variable enum_buf

uint8_t SYN_USB_Host::enum_buf[SYN_USB_HOST_ENUM_BUF_SIZE];

Descriptor scratch buffer


variable enum_buf_len

uint16_t SYN_USB_Host::enum_buf_len;

Valid bytes in enum_buf


variable enum_step

uint8_t SYN_USB_Host::enum_step;

Enumeration sub-step


variable next_addr

uint8_t SYN_USB_Host::next_addr;

Next device address to assign (1..127)


variable state

uint8_t SYN_USB_Host::state;

Host state (SYN_USB_HOST_STATE_*)


variable xfer_pending

bool SYN_USB_Host::xfer_pending;

True if a HAL transfer is in-flight



The documentation for this class was generated from the following file src/syntropic/drivers/syn_usb_host.h