This commit is contained in:
2026-03-20 21:19:53 +08:00
parent 9d3b4b836f
commit 6a749331db
125 changed files with 29972 additions and 23051 deletions

View File

@@ -1,6 +1,10 @@
#ifndef __MODBUS_h__
#define __MODBUS_h__
#define MAX 0
#define MIN 1
#define DEFAULT 2
//******************************************************************************
typedef struct
{
u16 StartAddr;
@@ -35,7 +39,6 @@ typedef struct
#define SLAVER_ADDR_MIN 1
//******************************************************************************
#define SLAVER_ID 0
#define FUNCTION_CODE 1
//******************************************************************************