Espressif ESP32-S2 Programming Manual page 486

Table of Contents

Advertisement

Chapter 2. API Reference
uint8_t txfifo_empty_intr_thresh
UART TX empty interrupt threshold.
uint8_t rxfifo_full_thresh
UART RX full interrupt threshold.
struct uart_event_t
Event structure used in UART event queue.
Public Members
uart_event_type_t
type
UART event type
size_t size
UART data size for UART_DATA event
bool timeout_flag
UART data read timeout flag for UART_DATA event (no new data received during configured RX
TOUT) If the event is caused by FIFO-full interrupt, then there will be no event with the timeout flag
before the next byte coming.
Macros
UART_NUM_0
UART port 0
UART_NUM_1
UART port 1
UART_NUM_MAX
UART port max
UART_PIN_NO_CHANGE
UART_FIFO_LEN
Length of the UART HW FIFO.
UART_BITRATE_MAX
Maximum configurable bitrate.
Type Definitions
typedef
intr_handle_t
uart_isr_handle_t
Enumerations
enum uart_event_type_t
UART event types used in the ring buffer.
Values:
UART_DATA
UART data event
UART_BREAK
UART break event
UART_BUFFER_FULL
UART RX buffer full event
UART_FIFO_OVF
UART FIFO overflow event
UART_FRAME_ERR
UART RX frame error event
Espressif Systems
475
Submit Document Feedback
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?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF