10 #ifndef _CI130X_LOWPOWER_H_ 11 #define _CI130X_LOWPOWER_H_ 20 #define POWER_MODE_DOWN_FREQUENCY_EN 1 21 #define POWER_MODE_OSC_FREQUENCY_EN 1 22 #define POWER_MODE_SLEEP_EN 0 //sleep模式暂时不使用 23 #define POWER_MODE_DEEP_SLEEP_EN 0 //deep sleep模式暂时不使用 void register_lowpower_user_fn(void *enter_lowpower_fn, void *exit_lowpower_fn)
注册进出低功耗模式切换用户扩展函数
Definition: ci130x_lowpower.c:397
power_mode_t
Definition: ci130x_lowpower.h:32
Definition: ci130x_lowpower.h:36
Definition: ci130x_lowpower.h:39
Definition: ci130x_lowpower.h:40
power_mode_t get_curr_power_mode(void)
查询当前所处的模式
Definition: ci130x_lowpower.c:502
Definition: ci130x_lowpower.h:37
power_mode_t power_mode_switch(power_mode_t power_mode)
切换电源模式
Definition: ci130x_lowpower.c:430
Definition: ci130x_lowpower.h:35
Definition: ci130x_lowpower.h:34