EasyManua.ls Logo

Espressif ESP32-S2 - Page 489

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
UART_DATA_BITS_MAX = 0x4
enum uart_stop_bits_t
UART stop bits number.
Values:
UART_STOP_BITS_1 = 0x1
stop bit: 1bit
UART_STOP_BITS_1_5 = 0x2
stop bit: 1.5bits
UART_STOP_BITS_2 = 0x3
stop bit: 2bits
UART_STOP_BITS_MAX = 0x4
enum uart_parity_t
UART parity constants.
Values:
UART_PARITY_DISABLE = 0x0
Disable UART parity
UART_PARITY_EVEN = 0x2
Enable UART even parity
UART_PARITY_ODD = 0x3
Enable UART odd parity
enum uart_hw_flowcontrol_t
UART hardware flow control modes.
Values:
UART_HW_FLOWCTRL_DISABLE = 0x0
disable hardware flow control
UART_HW_FLOWCTRL_RTS = 0x1
enable RX hardware flow control (rts)
UART_HW_FLOWCTRL_CTS = 0x2
enable TX hardware flow control (cts)
UART_HW_FLOWCTRL_CTS_RTS = 0x3
enable hardware flow control
UART_HW_FLOWCTRL_MAX = 0x4
enum uart_signal_inv_t
UART signal bit map.
Values:
UART_SIGNAL_INV_DISABLE = 0
Disable UART signal inverse
UART_SIGNAL_IRDA_TX_INV = (0x1 << 0)
inverse the UART irda_tx signal
UART_SIGNAL_IRDA_RX_INV = (0x1 << 1)
inverse the UART irda_rx signal
UART_SIGNAL_RXD_INV = (0x1 << 2)
inverse the UART rxd signal
UART_SIGNAL_CTS_INV = (0x1 << 3)
inverse the UART cts signal
Espressif Systems 478
Submit Document Feedback
Release v4.4

Table of Contents