Sleep Mode - Libelium Waspmote Technical Manual

Hide thumbs Also See for Waspmote:
Table of Contents

Advertisement

6.2. Sleep mode

The main program is paused, the microcontroller passes to a latent state, from which it can be woken by all asynchronous
interruptions and by the synchronous interruption generated by the Watchdog. When the Watchdog Timer is set up, the
duration interval of this state is from 16ms to 8s. Consumption in this state is 55μA.
In this mode the microcontroller stops executing the main program. The program stack where all the variables and log values
are stored keep their value, so when Waspmote returns to ON mode, the next instruction is executed and the variable values
are maintained.
Figure: From ON to Sleep
The following example would set Waspmote in the Sleep mode for 32ms. The microprocessor would be in a state of minimum
consumption waiting for the synchronous interruption from the Watchdog.
{
PWR.sleep(WTD_32MS, ALL_OFF);
}
-53-
Energy System
v6.3

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Waspmote and is the answer not in the manual?

Table of Contents