Custom SerialComm structure for UART adaptablity. More...
#include <serial_communication.h>
Data Fields | |
int | gpio_rx |
int | gpio_tx |
int | gpio_rts |
int | gpio_cts |
uart_port_t | uart_num |
uint32_t | baud_rate |
uart_parity_t | parity |
uart_stop_bits_t | stop_bits |
uart_word_length_t | data_bits |
Custom SerialComm structure for UART adaptablity.
This structure allows the user to select the UART pins, baud rate, stop bits, parity and data bits
uint32_t SerialComm::baud_rate |
baud rate
uart_word_length_t SerialComm::data_bits |
data bits
int SerialComm::gpio_cts |
gpio cts
int SerialComm::gpio_rts |
gpio rts
int SerialComm::gpio_rx |
gpio rx
int SerialComm::gpio_tx |
gpio tx
uart_parity_t SerialComm::parity |
parity selection
uart_stop_bits_t SerialComm::stop_bits |
stop bits
uart_port_t SerialComm::uart_num |
uart selection