Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
#include <pm/state.h>
Go to the source code of this file.
Functions | |
struct pm_state_info | pm_policy_next_state (int32_t ticks) |
Function to get the next PM state. More... | |
struct pm_state_info pm_policy_next_state | ( | int32_t | ticks | ) |
Function to get the next PM state.
This function is called by the power subsystem when the system is idle and returns the most appropriate state based on the number of ticks to the next event.
ticks | The number of ticks to the next scheduled event. |