forked from SZV10X_Software/SZV103_FM33A0xxEV_SiZhu

jinlicong
2024-05-14 ec1ec68ba7d175f39f5d4e066663cf29fa7c262a
Function/FLOW_METER_DATA_COLLECT/rs485_read_data.h
@@ -2,6 +2,9 @@
#define _RS485_READ_DATA_H_
#include "define_all.h"
#include "system_general_para.h"
#define RS485_SEND_NORMAL(__DATA__,__SIZE__)    UARTx_SendData_Normal(UART5,__DATA__,__SIZE__)
#define      RS485_REREAD_NUM   3
@@ -58,8 +61,8 @@
   FlagStatus               pwr_delay_status;  //¹©µçµÈ´ý״̬
   uint8_t                   pwr_delay_time_out_cnt; //¹©µçµÈ´ý¼ÆÊý
   
   RS485_MODBUS_STEP_STATUS_T   modbus_step_status;
   RS485_MODBUS_STEP_STATUS_T   modbus_last_status;
   RS485_MODBUS_STEP_STATUS_T   modbus_step_status;  //ÓÃÓÚmodbusµØÖ··ÖµÄ±È½Ï¿ª£¬²»ÄÜÒ»´ÎÐÔ¶ÁÈ¡µÄÇé¿ö£¬ÐèÒª·Ö¶à´Î¶ÁÈ¡
   RS485_MODBUS_STEP_STATUS_T   modbus_last_status;  //ÓÃÓÚmodbusµØÖ··ÖµÄ±È½Ï¿ª£¬²»ÄÜÒ»´ÎÐÔ¶ÁÈ¡µÄÇé¿ö£¬ÐèÒª·Ö¶à´Î¶ÁÈ¡
   
}RS485_COM_CTRL_PARA_T;
@@ -69,7 +72,7 @@
//extern __IO FlagStatus   rs485_pwr_delay_status_g; //¹©µçʱ¼äµ½´ï±êÖ¾
extern RS485_COM_UART_PARA_T   rs485_com_uart_data_g;
extern __IO RS485_COM_CTRL_PARA_T rs485_com_ctrl_pata_g;
void rs485ReadDataPro(void);
void rs485ReadDataPro(FUN_START_CTRL_PARA_T * sys_fun_run_ctrl_p);
#endif