Atmel Software Framework

sleep.h File Reference

Sleep controller driver.

Copyright (c) 2010-2015 Atmel Corporation. All rights reserved.

#include <compiler.h>
#include <intrinsics.h>

Macros

#define sleep_enter()   __sleep()
 Macro for issuing the sleep instruction. More...
 

Functions

static void sleep_disable (void)
 Disable sleep. More...
 
static void sleep_enable (void)
 Enable sleep. More...
 
static void sleep_set_mode (enum SLEEP_SMODE_enum mode)
 Set new sleep mode. More...