PWR_MGMT HAL module driver. More...
Macros | |
| #define | HAL_PM_SUSPEND(_PM_FUNC_) if(HAL_PM_SLEEP != (_PM_FUNC_)){ return HAL_PM_ACTIVE; } |
| #define | HAL_PM_ASSERT_ENABLE 0 |
| #define | HAL_PM_ASSERT(ignore) ((void)0) |
Enumerations | |
| enum | hal_pm_status_t { HAL_PM_ACTIVE = 0, HAL_PM_SLEEP } |
Functions | |
| void | hal_pm_init (void) |
| void | hal_pm_deinit (void) |
| void | hal_pm_resume_system (void) |
| void | hal_pm_resume_user (void) |
| hal_pm_status_t | hal_pm_suspend_system (void) |
| hal_pm_status_t | hal_pm_suspend_user (void) |
PWR_MGMT HAL module driver.
| #define HAL_PM_ASSERT | ( | ignore | ) | ((void)0) |
Definition at line 78 of file hal_pwr_mgmt.h.
| #define HAL_PM_ASSERT_ENABLE 0 |
Definition at line 73 of file hal_pwr_mgmt.h.
| #define HAL_PM_SUSPEND | ( | _PM_FUNC_ | ) | if(HAL_PM_SLEEP != (_PM_FUNC_)){ return HAL_PM_ACTIVE; } |
Definition at line 71 of file hal_pwr_mgmt.h.
| enum hal_pm_status_t |
| Enumerator | |
|---|---|
| HAL_PM_ACTIVE | |
| HAL_PM_SLEEP | |
Definition at line 58 of file hal_pwr_mgmt.h.
| void hal_pm_deinit | ( | void | ) |
| void hal_pm_init | ( | void | ) |
| void hal_pm_resume_system | ( | void | ) |
| void hal_pm_resume_user | ( | void | ) |
| hal_pm_status_t hal_pm_suspend_system | ( | void | ) |
| hal_pm_status_t hal_pm_suspend_user | ( | void | ) |