/**
* @file agile_modbus_slave_util.h
* @brief The simple slave access header file provided by the Agile Modbus software package
* @author Ma Longwei (2544047213@qq.com)
* @date 2022-07-28
*
* @attention
*
*
© Copyright (c) 2022 Ma Longwei.
* All rights reserved.
*
*/
#ifndef __PKG_AGILE_MODBUS_SLAVE_UTIL_H
#define __PKG_AGILE_MODBUS_SLAVE_UTIL_H
#ifdef __cplusplus
extern "C" {
#endif
#include
/** @addtogroup UTIL
* @{
*/
/** @addtogroup SLAVE_UTIL
* @{
*/
/** @defgroup SLAVE_UTIL_Exported_Types Slave Util Exported Types
* @{
*/
/**
* @brief slave register mapping structure
*/
typedef struct agile_modbus_slave_util_map {
int start_addr; /**