#ifndef _SOFT_TIMER_H #define _SOFT_TIMER_H #include "tim.h" #include "stdbool.h" typedef struct { bool seed; bool weight; bool pump; bool nozzle; bool arm; bool flow; bool checklow; bool radar; bool bms; bool current; bool L_pump1; bool L_pump2; bool part_radar; }Dev_timer; extern Dev_timer devinfo_time; void timer_function(void); extern bool vol_flag,engine_flag,devtype_flag,can_debug_flag,dev_version_flag,mimo360_radar_flag,DM_radar_flag,pmu_heart_flag; uint32_t Get_Systimer_Us(void); #endif