![]() |
RMVL
2.4.0-dev
Robotic Manipulation and Vision Library
|
同步/异步的数据链路层串口通信框架 更多...
#include <cstdint>#include <cstdio>#include <cstring>#include <string>#include "rmvl/core/rmvldef.hpp"#include "async.hpp"类 | |
| class | rm::SerialPort |
| 同步模式串行接口通信库 更多... | |
| class | rm::async::SerialPort |
| 异步串行接口通信库,仅支持读写字符串 更多... | |
| class | rm::async::SerialPort::SerialReadAwaiter |
| 串口读等待器 更多... | |
| class | rm::async::SerialPort::SerialWriteAwaiter |
| 串口写等待器 更多... | |
命名空间 | |
| namespace | rm |
| namespace | rm::async |
枚举 | |
| enum class | rm::BaudRate : uint8_t { rm::BaudRate::BR_1200 , rm::BaudRate::BR_2400 , rm::BaudRate::BR_4800 , rm::BaudRate::BR_9600 , rm::BaudRate::BR_19200 , rm::BaudRate::BR_38400 , rm::BaudRate::BR_57600 , rm::BaudRate::BR_115200 } |
| 波特率 更多... | |
| enum class | rm::SerialReadMode : uint8_t { rm::SerialReadMode::BLOCK , rm::SerialReadMode::NONBLOCK } |
| 同步模式串口数据读取模式 更多... | |
同步/异步的数据链路层串口通信框架
提供对串口设备的同步和异步读写操作,支持多种波特率和读取模式