Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

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.
 

Detailed Description

System Power Management Hooks .

Function Documentation

◆ pm_state_exit_post_ops()

void pm_state_exit_post_ops ( enum pm_state state,
uint8_t substate_id )

#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.

Parameters
statePower state.
substate_idPower substate id.

◆ pm_state_set()

void pm_state_set ( enum pm_state state,
uint8_t 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.

Parameters
statePower state.
substate_idPower substate id.