![]() |
EVE 1.0
|
#include <pm.h>
Data Fields | |
struct pm_lock_t * | next |
bool(* | ready_cb )(uint32_t data) |
uint32_t | data |
uint8_t | level |
uint8_t | locked |
System power lock structure.
The power lock structure represents a request for a power level the system should be kept on while CPU is in idle.
The structure must be instantiated in the RAM memory using one of PM_LOCK_INIT() or DECLARE_PM_LOCK(). Note that the power request is not active unless PM_LOCK() is called for it.
struct pm_lock_t* pm_lock_t::next |
bool(* pm_lock_t::ready_cb) (uint32_t data) |
uint8_t pm_lock_t::level |
pm_level_t, the given power level