Contiki-NG
|
Driver for the cc2538 power modes. More...
Files | |
file | lpm.c |
Implementation of low power modes ofr the cc2538. | |
file | lpm.h |
Header file with register, macro and function declarations for the cc2538 low power module. | |
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 |
Driver for the cc2538 power modes.