Skip to content

Struct SYN_USB_CDC

ClassList > SYN_USB_CDC

More...

  • #include <syn_usb_cdc.h>

Public Attributes

Type Name
bool configured
uint8_t dev_address
uint8_t ep_cmd
uint8_t ep_in
uint8_t ep_out
SYN_USB_CDC_LineCoding line_coding
uint8_t rx_buf
uint16_t rx_len
uint8_t tx_buf
uint16_t tx_len

Detailed Description

USB CDC Instance.

Public Attributes Documentation

variable configured

bool SYN_USB_CDC::configured;

True if USB device is in Configured state


variable dev_address

uint8_t SYN_USB_CDC::dev_address;

Assigned USB device bus address


variable ep_cmd

uint8_t SYN_USB_CDC::ep_cmd;

Interrupt Command Endpoint address


variable ep_in

uint8_t SYN_USB_CDC::ep_in;

Bulk IN Endpoint address


variable ep_out

uint8_t SYN_USB_CDC::ep_out;

Bulk OUT Endpoint address


variable line_coding

SYN_USB_CDC_LineCoding SYN_USB_CDC::line_coding;

Active CDC line coding configuration


variable rx_buf

uint8_t SYN_USB_CDC::rx_buf[128];

Internal RX ring/linear payload buffer


variable rx_len

uint16_t SYN_USB_CDC::rx_len;

Length of unread data in rx_buf


variable tx_buf

uint8_t SYN_USB_CDC::tx_buf[128];

Internal TX ring/linear payload buffer


variable tx_len

uint16_t SYN_USB_CDC::tx_len;

Length of pending data in tx_buf



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