GKD.RoboCtrl
载入中...
搜索中...
未找到
serial.h 文件参考

串口裸 IO 封装。 更多...

详细描述

串口裸 IO 封装。

针对 POSIX 平台的串口封装,提供异步读写接口。

在文件 serial.h 中定义.

#include <array>
#include <asio.hpp>
#include <cstddef>
#include <cstdint>
#include <format>
#include <span>
#include <string_view>
#include <utility>
#include "core/async.hpp"
#include "io/base.hpp"
#include "utils/concepts.hpp"
#include "utils/utils.hpp"

浏览源代码.

class  roboctrl::io::serial
 串口设备对象。 更多...
 
struct  roboctrl::io::serial::info_type
 串口初始化参数。 更多...