|
libxr
1.0
Want to be the best embedded framework
|
UART 配置结构体 / UART configuration structure. More...
#include <uart.hpp>
Data Fields | |
| uint32_t | baudrate |
| 波特率 / Baud rate | |
| Parity | parity |
| 校验模式 / Parity mode | |
| uint8_t | data_bits |
| 数据位长度 / Number of data bits | |
| uint8_t | stop_bits |
| 停止位长度 / Number of stop bits | |
UART 配置结构体 / UART configuration structure.
该结构体包含 UART 端口的基本配置参数,如波特率、数据位、停止位等。 This structure contains basic configuration parameters for the UART port, such as baud rate, data bits, and stop bits.
| uint32_t LibXR::UART::Configuration::baudrate |
| uint8_t LibXR::UART::Configuration::data_bits |
| Parity LibXR::UART::Configuration::parity |
| uint8_t LibXR::UART::Configuration::stop_bits |