#ifndef POWER_CONTROLS_H__ #define POWER_CONTROLS_H__ #include "RTE_GPIO.h" #include "Key.h" #include "Display_Info.h" #include "Check_Ctrl.h" #include "Barcode_Scanner.h" #include "Task.h" #define DUAN_DIAN_STATE 1 /*0--只控制13.5V电,1--控制所有电*/ #define SHANG_DIAN_TIMES 250U /*上电时间*/ #define DUAN_DIAN_TIMES 40U /*断电时长,4s*/ extern uint8_t KL1530ON; extern void Power_Controls_Init(void); extern void Power_Control_Count(void); extern void Power_KL15_KL30_Controls(void); #endif