Skip to content

Struct SYN_USB_HostCDC

ClassList > SYN_USB_HostCDC

More...

  • #include <syn_usb_host_cdc.h>

Public Attributes

Type Name
bool connected
uint8_t dev_addr
uint8_t ep_bulk_in
uint8_t ep_bulk_out
SYN_USB_CDC_LineCoding line_coding
uint8_t pipe_bulk_in
uint8_t pipe_bulk_out
uint8_t rx_buf
uint16_t rx_len
uint8_t tx_buf
uint16_t tx_len

Detailed Description

USB Host CDC Instance Context

Public Attributes Documentation

variable connected

bool SYN_USB_HostCDC::connected;

True if probe succeeded and device active


variable dev_addr

uint8_t SYN_USB_HostCDC::dev_addr;

Connected device bus address


variable ep_bulk_in

uint8_t SYN_USB_HostCDC::ep_bulk_in;

Endpoint address for Bulk IN


variable ep_bulk_out

uint8_t SYN_USB_HostCDC::ep_bulk_out;

Endpoint address for Bulk OUT


variable line_coding

SYN_USB_CDC_LineCoding SYN_USB_HostCDC::line_coding;

Active line coding config


variable pipe_bulk_in

uint8_t SYN_USB_HostCDC::pipe_bulk_in;

Pipe index for Bulk IN


variable pipe_bulk_out

uint8_t SYN_USB_HostCDC::pipe_bulk_out;

Pipe index for Bulk OUT


variable rx_buf

uint8_t SYN_USB_HostCDC::rx_buf[SYN_USB_HOST_CDC_BUF_SIZE];

RX data buffer


variable rx_len

uint16_t SYN_USB_HostCDC::rx_len;

Unread bytes in rx_buf


variable tx_buf

uint8_t SYN_USB_HostCDC::tx_buf[SYN_USB_HOST_CDC_BUF_SIZE];

TX data buffer


variable tx_len

uint16_t SYN_USB_HostCDC::tx_len;

Pending bytes in tx_buf



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