1 /*===================================================================================== 2 * Description: 3 * C file to define parameter storage instances 4 *====================================================================================*/ 5 #include <stdint.h> 6 #include "modbus_params.h" 7 8 // Here are the user defined instances for device parameters packed by 1 byte 9 // These are keep the values that can be accessed from Modbus master 10 holding_reg_params_t holding_reg_params = { 0 }; 11 12 input_reg_params_t input_reg_params = { 0 }; 13 14 coil_reg_params_t coil_reg_params = { 0 }; 15 16 discrete_reg_params_t discrete_reg_params = { 0 }; 17