Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
|
System Power Management Hooks . More...
Functions | |
void | pm_state_set (enum pm_state state, uint8_t substate_id) |
Put processor into a power state. | |
void | pm_state_exit_post_ops (enum pm_state state, uint8_t substate_id) |
Do any SoC or architecture specific post ops after sleep state exits. | |
System Power Management Hooks .
#include <zephyr/pm/pm.h>
Do any SoC or architecture specific post ops after sleep state exits.
This function is a place holder to do any operations that may be needed to be done after sleep state exits. Currently it enables interrupts after resuming from sleep state. In future, the enabling of interrupts may be moved into the kernel.
state | Power state. |
substate_id | Power substate id. |
#include <zephyr/pm/pm.h>
Put processor into a power state.
This function implements the SoC specific details necessary to put the processor into available power states.
state | Power state. |
substate_id | Power substate id. |