MF32BSP_XerolySkinner 2.0.0
C++版本的驱动库
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
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测试 更多...
 
u16KeepRegDat
 
u8 KeepRegMem
 
u16InRegDat
 
u8 InRegMem
 
u8OutCoilDat
 
u8 OutCoilMem
 
u8InCoilDat
 
u8 InCoilMem
 

详细描述

ModBus协议分析器

在文件 bsp_ModBus.h82 行定义.

构造及析构函数说明

◆ bsp_ModBus_Rx()

bsp_ModBus_Rx::bsp_ModBus_Rx ( void  )

在文件 bsp_ModBus.cpp365 行定义.

◆ ~bsp_ModBus_Rx()

bsp_ModBus_Rx::~bsp_ModBus_Rx ( void  )

在文件 bsp_ModBus.cpp371 行定义.

成员函数说明

◆ analysis()

void bsp_ModBus_Rx::analysis ( u8 dat)

以ModBus协议分析缓冲区内数据

参数
*dat待分析的缓冲区
返回
无返回值

在文件 bsp_ModBus.cpp304 行定义.

函数调用图:

类成员变量说明

◆ crcts

u8 bsp_ModBus_Rx::crcts

CRC测试

在文件 bsp_ModBus.h91 行定义.

◆ Func

u8 bsp_ModBus_Rx::Func

功能号

在文件 bsp_ModBus.h90 行定义.

◆ ID

u8 bsp_ModBus_Rx::ID

器件ID

在文件 bsp_ModBus.h89 行定义.

◆ InCoilDat

u8* bsp_ModBus_Rx::InCoilDat

在文件 bsp_ModBus.h102 行定义.

◆ InCoilMem

u8 bsp_ModBus_Rx::InCoilMem

在文件 bsp_ModBus.h103 行定义.

◆ InRegDat

u16* bsp_ModBus_Rx::InRegDat

在文件 bsp_ModBus.h96 行定义.

◆ InRegMem

u8 bsp_ModBus_Rx::InRegMem

在文件 bsp_ModBus.h97 行定义.

◆ KeepRegDat

u16* bsp_ModBus_Rx::KeepRegDat

在文件 bsp_ModBus.h93 行定义.

◆ KeepRegMem

u8 bsp_ModBus_Rx::KeepRegMem

在文件 bsp_ModBus.h94 行定义.

◆ OutCoilDat

u8* bsp_ModBus_Rx::OutCoilDat

在文件 bsp_ModBus.h99 行定义.

◆ OutCoilMem

u8 bsp_ModBus_Rx::OutCoilMem

在文件 bsp_ModBus.h100 行定义.


该类的文档由以下文件生成: