Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
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) |
System Power Management API.
#include <include/pm/pm.h>
#define pm_constraint_release | ( | pm_state | ) |
#include <include/pm/pm.h>
#define pm_constraint_set | ( | pm_state | ) |
#include <include/pm/pm.h>
#define pm_notifier_register | ( | notifier | ) |
#include <include/pm/pm.h>
#define pm_notifier_unregister | ( | notifier | ) | (-ENOSYS) |
#include <include/pm/pm.h>
#define pm_power_state_exit_post_ops | ( | info | ) |
#include <include/pm/pm.h>
#define pm_power_state_set | ( | info | ) |
#include <include/pm/pm.h>
Application defined function for doing any target specific operations for power state entry.