PebbleOS v4.44.0-150-gc3023ce72
Loading...
Searching...
No Matches
pbl_idle_state Struct Reference

Idle state. More...

#include <idle.h>

Data Fields

const char * name
 Name, for statistics.
 
pbl_tick_t min_ticks
 Shortest time until the next timeout worth entering the state for, in ticks.
 
pbl_tick_t exit_ticks
 Time the state takes to wake up from, in ticks; the CPU is woken up this early.
 
void(* enter )(void)
 Enter the state.
 

Detailed Description

Idle state.

Field Documentation

◆ enter

void(* pbl_idle_state::enter) (void)

Enter the state.

Called with every interrupt masked; returns once one is pending, with interrupts still masked.

◆ exit_ticks

pbl_tick_t pbl_idle_state::exit_ticks

Time the state takes to wake up from, in ticks; the CPU is woken up this early.

◆ min_ticks

pbl_tick_t pbl_idle_state::min_ticks

Shortest time until the next timeout worth entering the state for, in ticks.

◆ name

const char* pbl_idle_state::name

Name, for statistics.


The documentation for this struct was generated from the following file: