微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > mt2523 Please describe sleep manager function

mt2523 Please describe sleep manager function

时间:10-02 整理:3721RD 点击:
Enter power saving mode
The purpose is to save power.
Use API : hal_sleep_manager_enter_sleep_mode() to enter sleep mode.

Sleep lock control
The purpose is to lock sleep.
If module need hold system awake, let device can’t go to sleep.
Use API : hal_sleep_manager_lock_sleep() to apply Sleep Lock or call hal_sleep_manager_unlock_sleep() to unlock the applied Sleep Lock.

Set wake up time
Set sleep time length. If no other wake up event occurs, the system will sleep for a specific time
Use API : hal_sleep_manager_set_sleep_time() to wake up the system after a specific time in milliseconds.

Config the Wakeup Source
It is possible to apply multiple Wakeup Sources in the hardware design to wake up the system fROM the Sleep Mode.
Use API : hal_sleep_manager_enable_wakeup_pin() to set a specific

Wakeup Source.
Use API : hal_sleep_manager_disable_wakeup_pin() to disable the specific Wakeup Source.

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top