Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
System Power Management API

System Power Management API. More...

Data Structures

struct  pm_notifier
 

Macros

#define pm_notifier_register(notifier)
 
#define pm_notifier_unregister(notifier)   (-ENOSYS)
 
#define pm_constraint_set(pm_state)
 
#define pm_constraint_release(pm_state)
 
#define pm_constraint_get(pm_state)   (true)
 
#define pm_power_state_set(info)
 
#define pm_power_state_exit_post_ops(info)
 

Variables

void(* pm_notifier::state_entry )(enum pm_state state)
 
void(* pm_notifier::state_exit )(enum pm_state state)
 

Detailed Description

System Power Management API.

Macro Definition Documentation

◆ pm_constraint_get

#define pm_constraint_get (   pm_state)    (true)

#include <include/pm/pm.h>

◆ pm_constraint_release

#define pm_constraint_release (   pm_state)

#include <include/pm/pm.h>

◆ pm_constraint_set

#define pm_constraint_set (   pm_state)

#include <include/pm/pm.h>

◆ pm_notifier_register

#define pm_notifier_register (   notifier)

#include <include/pm/pm.h>

◆ pm_notifier_unregister

#define pm_notifier_unregister (   notifier)    (-ENOSYS)

#include <include/pm/pm.h>

◆ pm_power_state_exit_post_ops

#define pm_power_state_exit_post_ops (   info)

#include <include/pm/pm.h>

◆ pm_power_state_set

#define pm_power_state_set (   info)

#include <include/pm/pm.h>

Variable Documentation

◆ state_entry

void(* pm_notifier::state_entry) (enum pm_state state)

Application defined function for doing any target specific operations for power state entry.

◆ state_exit

void(* pm_notifier::state_exit) (enum pm_state state)

Application defined function for doing any target specific operations for power state exit.