Struct SYN_USB_HostCDC¶
#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¶
True if probe succeeded and device active
variable dev_addr¶
Connected device bus address
variable ep_bulk_in¶
Endpoint address for Bulk IN
variable ep_bulk_out¶
Endpoint address for Bulk OUT
variable line_coding¶
Active line coding config
variable pipe_bulk_in¶
Pipe index for Bulk IN
variable pipe_bulk_out¶
Pipe index for Bulk OUT
variable rx_buf¶
RX data buffer
variable rx_len¶
Unread bytes in rx_buf
variable tx_buf¶
TX data buffer
variable 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