#include "modbus_table_v2.h" #include "DSP281x_Examples.h" // DSP281x Examples Include File #include "DSP281x_Device.h" // DSP281x Headerfile Include File #include "RS_Functions.h" #include "xp_project.h" //#include "modbus_fill_table.h" //#include "adc_tools.h" //#include "can_setup.h" //#include "isolation.h" //#include "rotation_speed.h" // #include "IQmathLib.h" //#include "errors.h" //#include "params.h" //#include "can_watercool.h" // #include "doors_control.h" #pragma DATA_SECTION(modbus_table_rs_in,".logs"); MODBUS_REG_STRUCT modbus_table_rs_in[SIZE_MODBUS_TABLE]; #pragma DATA_SECTION(modbus_table_rs_out,".logs"); MODBUS_REG_STRUCT modbus_table_rs_out[SIZE_MODBUS_TABLE]; #pragma DATA_SECTION(modbus_table_can_in,".logs"); MODBUS_REG_STRUCT modbus_table_can_in[SIZE_MODBUS_TABLE]; #pragma DATA_SECTION(modbus_table_can_out,".logs"); MODBUS_REG_STRUCT modbus_table_can_out[SIZE_MODBUS_TABLE]; void clear_modbus_table_in() { int i; for (i=0;i