bsp_ModBus_Rx类 参考
bsp_ModBus_Rx
ModBus协议分析器
#include <bsp_ModBus.h>
Public 成员函数
bsp_ModBus_Rx (void)
~bsp_ModBus_Rx (void)
void analysis (u8 *dat)
以ModBus协议分析缓冲区内数据
Public 属性
u8 ID
器件ID
u8 Func
功能号
u8 crcts
CRC测试
u16 * KeepRegDat
u8 KeepRegMem
u16 * InRegDat
u8 InRegMem
u8 * OutCoilDat
u8 OutCoilMem
u8 * InCoilDat
u8 InCoilMem
详细描述
ModBus协议分析器
在文件 bsp_ModBus.h 第 82 行定义.
构造及析构函数说明
bsp_ModBus_Rx()
bsp_ModBus_Rxbsp_ModBus_Rx
bsp_ModBus_Rxbsp_ModBus_Rx
bsp_ModBus_Rx::bsp_ModBus_Rx (void )
在文件 bsp_ModBus.cpp 第 365 行定义.
~bsp_ModBus_Rx()
~bsp_ModBus_Rxbsp_ModBus_Rx
bsp_ModBus_Rx~bsp_ModBus_Rx
bsp_ModBus_Rx::~bsp_ModBus_Rx (void )
在文件 bsp_ModBus.cpp 第 371 行定义.
成员函数说明
analysis()
analysisbsp_ModBus_Rx
bsp_ModBus_Rxanalysis
void bsp_ModBus_Rx::analysis (u8 * dat)
以ModBus协议分析缓冲区内数据
参数
返回
无返回值
在文件 bsp_ModBus.cpp 第 304 行定义.
函数调用图:
类成员变量说明
crcts
crctsbsp_ModBus_Rx
bsp_ModBus_Rxcrcts
u8 bsp_ModBus_Rx::crcts
CRC测试
在文件 bsp_ModBus.h 第 91 行定义.
Func
Funcbsp_ModBus_Rx
bsp_ModBus_RxFunc
u8 bsp_ModBus_Rx::Func
功能号
在文件 bsp_ModBus.h 第 90 行定义.
ID
IDbsp_ModBus_Rx
bsp_ModBus_RxID
u8 bsp_ModBus_Rx::ID
器件ID
在文件 bsp_ModBus.h 第 89 行定义.
InCoilDat
InCoilDatbsp_ModBus_Rx
bsp_ModBus_RxInCoilDat
u8* bsp_ModBus_Rx::InCoilDat
在文件 bsp_ModBus.h 第 102 行定义.
InCoilMem
InCoilMembsp_ModBus_Rx
bsp_ModBus_RxInCoilMem
u8 bsp_ModBus_Rx::InCoilMem
在文件 bsp_ModBus.h 第 103 行定义.
InRegDat
InRegDatbsp_ModBus_Rx
bsp_ModBus_RxInRegDat
u16* bsp_ModBus_Rx::InRegDat
在文件 bsp_ModBus.h 第 96 行定义.
InRegMem
InRegMembsp_ModBus_Rx
bsp_ModBus_RxInRegMem
u8 bsp_ModBus_Rx::InRegMem
在文件 bsp_ModBus.h 第 97 行定义.
KeepRegDat
KeepRegDatbsp_ModBus_Rx
bsp_ModBus_RxKeepRegDat
u16* bsp_ModBus_Rx::KeepRegDat
在文件 bsp_ModBus.h 第 93 行定义.
KeepRegMem
KeepRegMembsp_ModBus_Rx
bsp_ModBus_RxKeepRegMem
u8 bsp_ModBus_Rx::KeepRegMem
在文件 bsp_ModBus.h 第 94 行定义.
OutCoilDat
OutCoilDatbsp_ModBus_Rx
bsp_ModBus_RxOutCoilDat
u8* bsp_ModBus_Rx::OutCoilDat
在文件 bsp_ModBus.h 第 99 行定义.
OutCoilMem
OutCoilMembsp_ModBus_Rx
bsp_ModBus_RxOutCoilMem
u8 bsp_ModBus_Rx::OutCoilMem
在文件 bsp_ModBus.h 第 100 行定义.
该类的文档由以下文件生成:
D:/gitt/MicrochipFor32/bsp_Device/bsp_ModBus.hD:/gitt/MicrochipFor32/bsp_Device/bsp_ModBus.cpp