EasyManua.ls Logo

Espressif ESP32-S2 - Page 496

Espressif ESP32-S2
1695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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 objects size
bool tusb_cdc_acm_initialized(tinyusb_cdcacm_itf_t itf)
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 type
Event type
cdcacm_event_rx_wanted_char_data_t rx_wanted_char_data
Data input of the callback_rx_wanted_char callback
cdcacm_event_line_state_changed_data_t line_state_changed_data
Data input of the callback_line_state_changed callback
cdcacm_event_line_coding_changed_data_t line_coding_changed_data
Data input of the line_coding_changed callback
Espressif Systems 485
Submit Document Feedback
Release v4.4

Table of Contents