Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
#include <pm.h>
Data Fields | |
void(* | state_entry )(enum pm_state state) |
void(* | state_exit )(enum pm_state state) |
Power management notifier struct
This struct contains callbacks that are called when the target enters and exits power states.
As currently implemented the entry callback is invoked when transitioning from PM_STATE_ACTIVE to another state, and the exit callback is invoked when transitioning from a non-active state to PM_STATE_ACTIVE. This behavior may change in the future.