![]() |
Midnight Sun Firmware
|
UART Settings. More...
#include <uart.h>

Public Attributes | |
| GpioAddress | tx |
| GpioAddress | rx |
| uint32_t | baudrate |
| UartFlowControl | flow_control |
UART Settings.
TX Pin will transmit data. RX pin will receive data. The baudrate is the number of symbols sent per second. Both devices must agree on the baudrate with a tolerance of +-3%. Flow control is of type UartFlowControl.
| uint32_t baudrate |
Symbols per second
| UartFlowControl flow_control |
UART Flow control settings
| GpioAddress rx |
GPIO Pin for UART RX
| GpioAddress tx |
GPIO Pin for UART TX