⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mb_mfunction.h

📁 Modbus协议主从协议栈
💻 H
字号:
/****************************************Copyright (c)**************************************************
**                                  广州致远电子有限公司
**
**                                 http://www.21cm.com.cn
**
**
**--------------File Info-------------------------------------------------------------------------------
** File name:			MB_MFunction.h
** Last modified Date:  2005-01-11
** Last Version:		1.0
** Descriptions:		
**
**------------------------------------------------------------------------------------------------------
** Created by:			ZhouLishan
** Created date:		2005-01-11
** Version:				1.0
** Descriptions:		
**
**------------------------------------------------------------------------------------------------------
** Modified by:
** Modified date:
** Version:
** Descriptions:
**
********************************************************************************************************/

#ifndef __MB_MFUNCTION_H
#define __MB_MFUNCTION_H
/*
 typedef struct __READ_PARAMET{
 	uint16 RStartAddr;
 	uint16 RQuantity;
 	uint16 *DataPtr;
 }READ_PARAMET,PARAMETER_01,PARAMETER_03,PARAMETER_04,PARAMETER_16;

 typedef struct __WRITE_PARAMET{
 	uint16 WStartAddr;
 	uint16 WQuantity;
 	//uint8  ByteCount;
  	uint16 *DataPtr;
 }WRITE_PARAMET;
*/

 typedef struct __RW_PARAMET{
 	uint16 RStartAddr;
 	uint16 RQuantity;
 	uint16 WStartAddr;
 	uint16 WQuantity;
  	uint16 *DataPtr;
 }RW_PARAMET,READ_PARAMET,WRITE_PARAMET;

 typedef struct __MASK_WRITE_REG{
 	uint16 RefAddress;
 	uint16 And_Mask;
 	uint16 OR_Mask;
 }MASK_WRITE_REG;


#define COIL_ON 	0xff00
#define COIL_OFF 	0x0000
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -