Espressif ESP32-S2 Programming Manual page 496

Hide thumbs Also See for ESP32-S2:
Table of Contents

Advertisement

Chapter 2. API Reference
Return esp_err_t ESP_OK, ESP_FAIL or ESP_ERR_INVALID_STATE
Parameters
• itf: - number of a CDC object
• out_buf: - to this array will be stored the object from a CDC buffer
• out_buf_sz: - size of buffer for results
• rx_data_size: - to this address will be stored the object's size
bool
tusb_cdc_acm_initialized(tinyusb_cdcacm_itf_t
Check if the ACM initialized.
Return true or false
Parameters
• itf: - number of a CDC object
Structures
struct cdcacm_event_rx_wanted_char_data_t
Data provided to the input of the callback_rx_wanted_char callback.
Public Members
char wanted_char
Wanted character
struct cdcacm_event_line_state_changed_data_t
Data provided to the input of the callback_line_state_changed callback.
Public Members
bool dtr
Data Terminal Ready (DTR) line state
bool rts
Request To Send (RTS) line state
struct cdcacm_event_line_coding_changed_data_t
Data provided to the input of the line_coding_changed callback.
Public Members
cdc_line_coding_t const *p_line_coding
New line coding value
struct cdcacm_event_t
Describes an event passing to the input of a callbacks.
Public Members
cdcacm_event_type_t
Event type
cdcacm_event_rx_wanted_char_data_t
Data input of the callback_rx_wanted_char callback
cdcacm_event_line_state_changed_data_t
Data input of the callback_line_state_changed callback
cdcacm_event_line_coding_changed_data_t
Data input of the line_coding_changed callback
Espressif Systems
type
rx_wanted_char_data
line_state_changed_data
line_coding_changed_data
Submit Document Feedback
itf)
485
Release v4.4

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32-S2 and is the answer not in the manual?

Table of Contents

Save PDF