EVE 1.0
pm.h File Reference

Header file for the EVE power management framework. More...

#include <stdbool.h>
Include dependency graph for pm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pm_lock_t
 

Macros

#define PM_LOCK_INIT(l, pm, cb, d)
 
#define PM_LOCK(pm)   pm_lock(&pm)
 
#define PM_UNLOCK(pm)   pm_unlock(&pm)
 
#define PM_AUTO_LOCK(l)
 
#define DECLARE_PM_LOCK(l, pm, cb, d)   static struct pm_lock_t pm = PM_LOCK_INIT(l, pm, cb, d)
 

Enumerations

Functions

void pm_relax (void)
 
void pm_wakeup (void)
 
void pm_lock (struct pm_lock_t *pm)
 
void pm_unlock (struct pm_lock_t *pm)
 
enum pm_level_t pm_waterlevel (void)
 

Detailed Description

Header file for the EVE power management framework.

Author
DT, Jetro AS

Definition in file pm.h.