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

public S2RAM APIs. More...

Go to the source code of this file.

Typedefs

typedef int(* pm_s2ram_system_off_fn_t) (void)
 System off function.
 

Functions

int arch_pm_s2ram_suspend (pm_s2ram_system_off_fn_t system_off)
 Save CPU context on suspend.
 
void pm_s2ram_mark_set (void)
 Mark that core is entering suspend-to-RAM state.
 
bool pm_s2ram_mark_check_and_clear (void)
 Check suspend-to-RAM marking and clear its state.
 

Detailed Description

public S2RAM APIs.