Contiki 3.x
|
Header file with register, macro and function declarations for the cc2538 low power module. More...
Go to the source code of this file.
Macros | |
#define | lpm_init(void) |
Initialise the LPM module. | |
#define | lpm_enter(void) |
Drop to Deep Sleep. More... | |
#define | lpm_exit(void) |
Perform an 'Exit Deep Sleep' sequence. More... | |
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 |
Functions | |
void | lpm_set_max_pm (uint8_t pm) |
Prevent the SoC from dropping to a PM higher than max_pm. More... | |
void | lpm_register_peripheral (lpm_periph_permit_pm1_func_t permit_pm1_func) |
Register a peripheral function which will get called by the LPM module to get 'permission' to drop to PM1+. More... | |
Header file with register, macro and function declarations for the cc2538 low power module.
Definition in file lpm.h.