Chapter 2. API Reference
UART_PARITY_ERR
UART RX parity event
UART_DATA_BREAK
UART TX data and break event
UART_PATTERN_DET
UART pattern detected
UART_EVENT_MAX
UART event max index
Header File
• components/hal/include/hal/uart_types.h
Structures
struct uart_at_cmd_t
UART AT cmd char configuration parameters Note that this function may different on different chip. Please
refer to the TRM at confirguration.
Public Members
uint8_t cmd_char
UART AT cmd char
uint8_t char_num
AT cmd char repeat number
uint32_t gap_tout
gap time(in baud-rate) between AT cmd char
uint32_t pre_idle
the idle time(in baud-rate) between the non AT char and first AT char
uint32_t post_idle
the idle time(in baud-rate) between the last AT char and the none AT char
struct uart_sw_flowctrl_t
UART software flow control configuration parameters.
Public Members
uint8_t xon_char
Xon flow control char
uint8_t xoff_char
Xoff flow control char
uint8_t xon_thrd
If the software flow control is enabled and the data amount in rxfifo is less than xon_thrd, an xon_char
will be sent
uint8_t xoff_thrd
If the software flow control is enabled and the data amount in rxfifo is more than xoff_thrd, an xoff_char
will be sent
struct uart_config_t
UART configuration parameters for uart_param_config function.
Espressif Systems 476
Submit Document Feedback
Release v4.4