Functions | |
| void | platform_idle_hook (void) |
| uint32_t | platform_power_down_hook (uint32_t sleep_ms) |
| int | platform_power_down_permission (void) |
Defines globally accessible powersave functions
| void platform_idle_hook | ( | void | ) |
Hook for RTOS for entering idle mode
| uint32_t platform_power_down_hook | ( | uint32_t | sleep_ms | ) |
Hook for RTOS for entering deep sleep mode
| [in] | sleep_ms | : period in millisecond the MCU needs to sleep |
| int platform_power_down_permission | ( | void | ) |
Hook for RTOS to ask MCU whether it want to enter power-down mode