| | |
| | | #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__) |
| | | |
| | |
| | | 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; |
| | | |
| | |
| | | //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 |