2023-10-08 08:10:23 +00:00
|
|
|
#ifndef _MCU_TASK_LOW_POWER_H_
|
|
|
|
|
#define _MCU_TASK_LOW_POWER_H_
|
|
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
#include <stddef.h>
|
|
|
|
|
|
2023-10-09 01:01:31 +00:00
|
|
|
void McuTaskLowPowerInit(void);
|
2023-10-08 08:10:23 +00:00
|
|
|
void McuTaskLowPowerSetPeriod(uint8_t Period); // 设置唤醒周期
|
|
|
|
|
void McuTaskLowPowerJoin(void); // 进入低功耗
|
|
|
|
|
void McuTaskSleep(void); // 进入休眠
|
|
|
|
|
void McuTaskLowPowerSetGpioCallback(void);
|
2024-07-31 00:52:45 +00:00
|
|
|
void McuTaskLowPowerUpclk(void);
|
|
|
|
|
void McuTaskLowPowerSetLowerPowerBlth(uint8_t Flag);
|
|
|
|
|
uint8_t McuTaskLowPowerGetLowerPowerBlth(void);
|
2023-10-08 08:10:23 +00:00
|
|
|
|
|
|
|
|
#endif
|