|
PebbleOS v4.47.0-327-g7753e801d
|
Idle hook, see PBL_IDLE_HOOK_DEFINE. More...
#include <idle.h>
Data Fields | |
| void(* | enter )(pbl_idle_state_id_t state, void *arg) |
| Called before the CPU enters a state, may be NULL. | |
| void(* | exit )(pbl_idle_state_id_t state, void *arg) |
| Called after the CPU left a state, may be NULL. | |
| void * | arg |
| Passed to the functions. | |
| struct pbl_idle_hook_times * | times |
| Times, NULL for a late hook. | |
Idle hook, see PBL_IDLE_HOOK_DEFINE.
| void* pbl_idle_hook::arg |
Passed to the functions.
| void(* pbl_idle_hook::enter) (pbl_idle_state_id_t state, void *arg) |
Called before the CPU enters a state, may be NULL.
| void(* pbl_idle_hook::exit) (pbl_idle_state_id_t state, void *arg) |
Called after the CPU left a state, may be NULL.
| struct pbl_idle_hook_times* pbl_idle_hook::times |
Times, NULL for a late hook.