Contiki-NG
Macros

Header file with register, macro and function declarations for the cc2538 low power module. More...

#include "contiki.h"
#include "rtimer.h"
#include <stdbool.h>
#include <stdint.h>

Go to the source code of this file.

Macros

#define lpm_init()
 Initialise the low-power mode management module.
 
LPM stats

Maintains a record of how many rtimer ticks spent in each Power Mode.

Mainly used for debugging the module

#define LPM_STATS_GET(pm)
 
Constants to be used as arguments to lpm_set_max_pm()
#define LPM_PM0   0
 
#define LPM_PM1   1
 
#define LPM_PM2   2
 

Detailed Description

Header file with register, macro and function declarations for the cc2538 low power module.

Definition in file lpm.h.