ARCS SDK API  0.24.0
| 命名空间 | 宏定义 | 类型定义
serial.h 文件参考

串口通信 更多...

#include <vector>
#include <memory>
#include <aubo/type_def.h>
#include <aubo/global_config.h>
serial.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

class  arcs::common_interface::Serial
 

命名空间

 arcs
 
 arcs::common_interface
 

宏定义

#define Serial_DECLARES
 

类型定义

using arcs::common_interface::SerialPtr = std::shared_ptr< Serial >
 

详细描述

串口通信

在文件 serial.h 中定义.

宏定义说明

#define Serial_DECLARES
值:
_INST(Serial, 5, serialOpen, device, baud, stop_bits, even, serial_name) \
_INST(Serial, 1, serialClose, serial_name) \
_FUNC(Serial, 2, serialReadByte, variable, serial_name) \
_FUNC(Serial, 3, serialReadByteList, number, variable, serial_name) \
_FUNC(Serial, 5, serialReadString, variable, serial_name, prefix, suffix, interpret_escape) \
_INST(Serial, 2, serialSendByte, value, serial_name) \
_INST(Serial, 2, serialSendInt, value, serial_name) \
_INST(Serial, 2, serialSendLine, str, serial_name) \
_INST(Serial, 2, serialSendString, str, serial_name) \
_INST(Serial, 3, serialSendAllString, is_check, str, serial_name)

在文件 serial.h241 行定义.