If register should be written or read.
This value is passed to the calback functions which support either reading or writing register values. Writing means that the application registers should be updated and reading means that the modbus protocol stack needs to know the current register values.
See also: eMBRegHoldingCB(), eMBRegCoilsCB(), eMBRegDiscreteCB() and eMBReglnputCB().
Enumeration values: MB_REG_READ Read register values and pass to protocol stack.
MB_REG_WRITE Update register values.
Note: Note all ports implement this function.A port which wants to get an callback must define the macro MB_PORT_HAS_CLOSE to 1.
Returns: If the resources where released it return eMBErrorCode:: MB_ENOERR. If the protocol stack is not in the disabled state it returns eMBErrorCode:: MB_EILLSTATE.
Examples: LINUX/demo.c, MCF5235TCP/demo.c, STR71XTCP/demo.c, WIN32/demo. cpp, and WIN32TCP/
demo. cpp.
his function disables processing of Modbus frames.
Returns: If the protocol stack has been disabled
资源简介:ATmega16英文资料,芯片的英文资料
上传时间: 2013-10-26
上传用户:mengmeng444425
资源简介:MC9S08QG8英文资料 The MC9S08QG8 is the newest member of the Freescale 8-bit family of highly integratedmicrocontrollers, based on the high-performance yet low power HCS08 core. The MC9S08QG8is an excellent solution for power-sensitive appli...
上传时间: 2014-12-28
上传用户:dxxx
资源简介:一个关于CD-ROM和DVD-ROM的英文资料,也许对一些人有用的。
上传时间: 2014-01-15
上传用户:zhangzhenyu
资源简介:时序测试英文资料
上传时间: 2013-12-16
上传用户:wfeel
资源简介:实时嵌入式LINUX程序设计(英文资料),已解密可屏幕取词阅读。资料相当出色!
上传时间: 2015-03-06
上传用户:songyue1991
资源简介:MapInfo软件系统mif数据格式详细介绍。(英文资料)
上传时间: 2013-12-15
上传用户:pkkkkp
资源简介:介绍vb.net的一本很好的英文资料,深入浅出,值得一读
上传时间: 2014-01-02
上传用户:李梦晗
资源简介:JPEG图像标准的英文资料,对了解JPEG图像格式有很大帮助,PDF格式17页。
上传时间: 2015-03-22
上传用户:wqxstar
资源简介:介绍Windows CE开发工具Platform Builder的原版英文资料!不可不看!
上传时间: 2015-04-07
上传用户:duoshen1989
资源简介:是一本英文资料,详细的介绍了软件测试的方法,流程。
上传时间: 2015-04-09
上传用户:R50974