Contiki-NG
Loading...
Searching...
No Matches

Header file for the management of CC13xx/CC26xx low-power operation. More...

#include "pwr_ctrl.h"
#include <stdint.h>

Go to the source code of this file.

Macros

#define LPM_MODULE(n, m, s, w, l)
 Declare a variable to be used in order to get notifications from LPM.
 

Functions

void lpm_drop (void)
 Drop the cortex to sleep / deep sleep and shut down peripherals.
 
void lpm_sleep (void)
 Enter sleep mode.
 
void lpm_shutdown (uint32_t wakeup_pin, uint32_t io_pull, uint32_t wake_on)
 Put the chip in shutdown power mode.
 
void lpm_register_module (lpm_registered_module_t *module)
 Register a module for LPM notifications.
 
void lpm_unregister_module (lpm_registered_module_t *module)
 Unregister a module from LPM notifications.
 
void lpm_init (void)
 Initialise the low-power mode management module.
 
void lpm_pin_set_default_state (uint32_t ioid)
 Sets an IOID to a default state.
 

Detailed Description

Header file for the management of CC13xx/CC26xx low-power operation.

Definition in file lpm.h.