EasyManua.ls Logo

Espressif ESP32-S2 - Page 488

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
Public Members
int baud_rate
UART baud rate
uart_word_length_t data_bits
UART byte size
uart_parity_t parity
UART parity mode
uart_stop_bits_t stop_bits
UART stop bits
uart_hw_flowcontrol_t flow_ctrl
UART HW flow control mode (cts/rts)
uint8_t rx_flow_ctrl_thresh
UART HW RTS threshold
uart_sclk_t source_clk
UART source clock selection
bool use_ref_tick
Deprecated method to select ref tick clock source, set source_clk field instead
Type Definitions
typedef int uart_port_t
UART port number, can be UART_NUM_0 ~ (UART_NUM_MAX -1).
Enumerations
enum uart_mode_t
UART mode selection.
Values:
UART_MODE_UART = 0x00
mode: regular UART mode
UART_MODE_RS485_HALF_DUPLEX = 0x01
mode: half duplex RS485 UART mode control by RTS pin
UART_MODE_IRDA = 0x02
mode: IRDA UART mode
UART_MODE_RS485_COLLISION_DETECT = 0x03
mode: RS485 collision detection UART mode (used for test purposes)
UART_MODE_RS485_APP_CTRL = 0x04
mode: application control RS485 UART mode (used for test purposes)
enum uart_word_length_t
UART word length constants.
Values:
UART_DATA_5_BITS = 0x0
word length: 5bits
UART_DATA_6_BITS = 0x1
word length: 6bits
UART_DATA_7_BITS = 0x2
word length: 7bits
UART_DATA_8_BITS = 0x3
word length: 8bits
Espressif Systems 477
Submit Document Feedback
Release v4.4

Table of Contents