/* * @Description: * @Version: * @Author: Arnold * @Date: 2023-11-24 17:20:20 * @LastEditTime: 2023-11-24 18:45:10 */ #ifndef __User_H_ #include #include #include #include "led.h" #include "chipid.h" #include "delay.h" #include "sys.h" #include "timer.h" #include "usart.h" #include "can.h" #include "adc.h" #include "ADS1015.h" #include "dc300.h" #include "24cxx.h" #include "sd.h" #include "common.h" #include "stm32f10x_exti.h" #include "stm32f10x_pwr.h" #include "stm32f10x_rtc.h" #include "app_pwr_manage.h" #include "spi.h" enum MCU_Sleep_State { ActiveState,/* 活跃状态 */ standby_condition,/* 等待状态 */ Go_to_sleep,/* 进入休眠 */ }; void PwrManageWorkPlus(void); void RTC_Init(void); #define MAX_Scount 300 //最大进入休眠时间 // struct MCU_Sleep // { // enum MCU_Sleep_State MCU_PowerState;/* MCU活动状态 */ // }; #endif