Deep Sleep Manager HAL Public API. More...
#include "libIARM.h"#include "libIBusDaemon.h"Go to the source code of this file.
Data Structures | |
| struct | _IARM_Bus_DeepSleepMgr_SetDeepSleepTimer_Param_t |
| Structure which holds the HAL timeout in seconds. More... | |
| struct | _IARM_Bus_DeepSleepMgr_WakeupKeyCode_Param_t |
| Struct for handling the wake up key code. More... | |
Macros | |
| #define | IARM_BUS_DEEPSLEEPMGR_NAME "DEEPSLEEPMgr" |
| #define | IARM_BUS_DEEPSLEEPMGR_API_SetDeepSleepTimer "SetDeepSleepTimer" |
| #define | IARM_BUS_DEEPSLEEPMGR_API_GetLastWakeupReason "GetLastWakeupReason" |
| #define | IARM_BUS_DEEPSLEEPMGR_API_GetLastWakeupKeyCode "GetLastWakeupKeycode" |
Typedefs | |
| typedef enum _DeepSleepStatus_t | DeepSleepStatus_t |
| typedef struct _IARM_Bus_DeepSleepMgr_SetDeepSleepTimer_Param_t | IARM_Bus_DeepSleepMgr_SetDeepSleepTimer_Param_t |
| Structure which holds the HAL timeout in seconds. | |
| typedef enum _DeepSleep_WakeupReason_t | DeepSleep_WakeupReason_t |
| Enum for all possible Wakeup Reasons from DeepSleep State. | |
| typedef struct _IARM_Bus_DeepSleepMgr_WakeupKeyCode_Param_t | IARM_Bus_DeepSleepMgr_WakeupKeyCode_Param_t |
| Struct for handling the wake up key code. | |
Functions | |
| int | PLAT_DS_INIT (void) |
| Initializes the underlying Deep Sleep Management module. | |
| int | PLAT_DS_SetDeepSleep (uint32_t deep_sleep_timeout, bool *isGPIOWakeup) |
| Sets the CPE's Power State to Deep Sleep. | |
| void | PLAT_DS_DeepSleepWakeup (void) |
| Sets or configures the platform status after deepsleep wake-up. | |
| void | PLAT_DS_TERM (void) |
| Terminates the CPE Deep Sleep Management module. | |
| int | PLAT_DS_GetLastWakeupReason (DeepSleep_WakeupReason_t *wakeupReason) |
| Gets the CPE's Last wakeup reason. | |
| int | PLAT_DS_GetLastWakeupKeyCode (IARM_Bus_DeepSleepMgr_WakeupKeyCode_Param_t *wakeupKeyCode) |
| Gets the CPE's Last wakeup key code. | |
Deep Sleep Manager HAL Public API.
This API defines the structures and functions for the Deep Sleep Manager HAL