123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- #ifndef __INCpower
- #define __INCpower
- #ifdef __cplusplus
- extern "C" {
- #endif
- #ifdef CONFIG_SYS_POWER_MANAGEMENT
- #define SYS_PM_ACTIVE_STATE 0
- #define SYS_PM_LOW_POWER_STATE 1
- #define SYS_PM_DEEP_SLEEP 2
- #define SYS_PM_NOT_HANDLED SYS_PM_ACTIVE_STATE
- extern unsigned char _sys_pm_idle_exit_notify;
- static inline void _sys_soc_pm_idle_exit_notification_disable(void)
- {
- _sys_pm_idle_exit_notify = 0;
- }
- void _sys_soc_resume_from_deep_sleep(void);
- void _sys_soc_resume(void);
- extern int _sys_soc_suspend(int32_t ticks);
- #endif
- #ifdef __cplusplus
- }
- #endif
- #endif
|