ESP-IDF Firmware
Firmware architecture and call graph
Loading...
Searching...
No Matches
tinyusb_config_cdcacm_t Struct Reference

Configuration structure for CDC-ACM. More...

#include <tusb_cdc_acm.h>

Collaboration diagram for tinyusb_config_cdcacm_t:
[legend]

Data Fields

tinyusb_usbdev_t usb_dev
tinyusb_cdcacm_itf_t cdc_port
size_t rx_unread_buf_sz
tusb_cdcacm_callback_t callback_rx
tusb_cdcacm_callback_t callback_rx_wanted_char
tusb_cdcacm_callback_t callback_line_state_changed
tusb_cdcacm_callback_t callback_line_coding_changed

Detailed Description

Configuration structure for CDC-ACM.

Definition at line 88 of file tusb_cdc_acm.h.

Field Documentation

◆ callback_line_coding_changed

tusb_cdcacm_callback_t tinyusb_config_cdcacm_t::callback_line_coding_changed

Pointer to the function with the tusb_cdcacm_callback_t type that will be handled as a callback

Definition at line 95 of file tusb_cdc_acm.h.

Referenced by tusb_cdc_acm_init().

◆ callback_line_state_changed

tusb_cdcacm_callback_t tinyusb_config_cdcacm_t::callback_line_state_changed

Pointer to the function with the tusb_cdcacm_callback_t type that will be handled as a callback

Definition at line 94 of file tusb_cdc_acm.h.

Referenced by tusb_cdc_acm_init().

◆ callback_rx

tusb_cdcacm_callback_t tinyusb_config_cdcacm_t::callback_rx

Pointer to the function with the tusb_cdcacm_callback_t type that will be handled as a callback

Definition at line 92 of file tusb_cdc_acm.h.

Referenced by tusb_cdc_acm_init().

◆ callback_rx_wanted_char

tusb_cdcacm_callback_t tinyusb_config_cdcacm_t::callback_rx_wanted_char

Pointer to the function with the tusb_cdcacm_callback_t type that will be handled as a callback

Definition at line 93 of file tusb_cdc_acm.h.

Referenced by tusb_cdc_acm_init().

◆ cdc_port

tinyusb_cdcacm_itf_t tinyusb_config_cdcacm_t::cdc_port

CDC port

Definition at line 90 of file tusb_cdc_acm.h.

Referenced by tusb_cdc_acm_init().

◆ rx_unread_buf_sz

size_t tinyusb_config_cdcacm_t::rx_unread_buf_sz

Amount of data that can be passed to the ACM at once

Definition at line 91 of file tusb_cdc_acm.h.

Referenced by tusb_cdc_acm_init().

◆ usb_dev

tinyusb_usbdev_t tinyusb_config_cdcacm_t::usb_dev

Usb device to set up

Definition at line 89 of file tusb_cdc_acm.h.

Referenced by tusb_cdc_acm_init().


The documentation for this struct was generated from the following file: