serial port uart config struct More...
#include <serial_port_uart.h>
Public Attributes | |
uint32_t | baudRate |
uint32_t | clockRate |
uint8_t | enableRx |
uint8_t | enableTx |
uint8_t | instance |
serial_port_uart_parity_mode_t | parityMode |
serial_port_uart_stop_bit_count_t | stopBitCount |
serial port uart config struct
Definition at line 45 of file serial_port_uart.h.
uint32_t _serial_port_uart_config::baudRate |
baud rate
Definition at line 48 of file serial_port_uart.h.
uint32_t _serial_port_uart_config::clockRate |
clock rate
Definition at line 47 of file serial_port_uart.h.
uint8_t _serial_port_uart_config::enableRx |
Enable RX
Definition at line 53 of file serial_port_uart.h.
uint8_t _serial_port_uart_config::enableTx |
Enable TX
Definition at line 54 of file serial_port_uart.h.
uint8_t _serial_port_uart_config::instance |
Instance (0 - UART0, 1 - UART1, ...), detail information please refer to the SOC corresponding RM.
Definition at line 51 of file serial_port_uart.h.
serial_port_uart_parity_mode_t _serial_port_uart_config::parityMode |
Parity mode, disabled (default), even, odd
Definition at line 49 of file serial_port_uart.h.
serial_port_uart_stop_bit_count_t _serial_port_uart_config::stopBitCount |
Number of stop bits, 1 stop bit (default) or 2 stop bits
Definition at line 50 of file serial_port_uart.h.