23 #ifndef M2MB_PWR_MGMT_API_H 24 #define M2MB_PWR_MGMT_API_H 54 #define M2MB_SYSTEM_STABALIZE_TIME_MS 200 56 #define UNUSED(x) ((void)(x)) INT32 m2mb_pwr_mgmt_standby(UINT32 duration)
m2mb_pwr_mgmt_standby puts the system to standby mode.
INT32 m2mb_pwr_mgmt_cfg_sleep(UINT32 enable, UINT32 duration)
m2mb_pwr_mgmt_cfg_sleep configures the sleep mode.
INT32 m2mb_pwr_mgmt_cfg_sleep_cb(M2MB_SLEEP_CB_T after, M2MB_SLEEP_CB_T before)
m2mb_pwr_mgmt_cfg_sleep_cb configures callback for the sleep mode.
VOID(* M2MB_SLEEP_CB_T)(UINT32 expected_idle_time, void *param)