Contiki 2.6

sleep.c File Reference

STM32W108 micro specific sleep functions. More...

#include "hal/micro/micro-common.h"
#include "hal/micro/cortexm3/micro-common.h"

Go to the source code of this file.

Functions

int32u halGetWakeInfo (void)
 Obtains the events that caused the last wake from sleep.
void halInternalSleep (SleepModes sleepMode)
 Puts the microcontroller to sleep in a specified mode.
void halSleepWithOptions (SleepModes sleepMode, int32u gpioWakeBitMask)
 Puts the microcontroller to sleep in a specified mode, allows the GPIO wake sources to be determined at runtime.

Detailed Description

STM32W108 micro specific sleep functions.

Definition in file sleep.c.