17 lines
482 B
C
17 lines
482 B
C
#ifndef _MCU_TASK_LOW_POWER_H_
|
|
#define _MCU_TASK_LOW_POWER_H_
|
|
|
|
#include <stdint.h>
|
|
#include <stddef.h>
|
|
|
|
void McuTaskLowPowerInit(void);
|
|
void McuTaskLowPowerSetPeriod(uint8_t Period); // 设置唤醒周期
|
|
void McuTaskLowPowerJoin(void); // 进入低功耗
|
|
void McuTaskSleep(void); // 进入休眠
|
|
void McuTaskLowPowerSetGpioCallback(void);
|
|
void McuTaskLowPowerUpclk(void);
|
|
void McuTaskLowPowerSetLowerPowerBlth(uint8_t Flag);
|
|
uint8_t McuTaskLowPowerGetLowerPowerBlth(void);
|
|
|
|
#endif
|