Atmel Software Framework

uc3/sleepmgr.h File Reference

AVR UC3 Sleep manager implementation.

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

#include <compiler.h>
#include <conf_sleepmgr.h>
#include <sleep.h>

Enumerations

enum  sleepmgr_mode {
  SLEEPMGR_ACTIVE = 0,
  SLEEPMGR_IDLE,
  SLEEPMGR_FROZEN,
  SLEEPMGR_STDBY,
  SLEEPMGR_STOP,
  SLEEPMGR_DEEPSTOP,
  SLEEPMGR_STATIC,
  SLEEPMGR_NR_OF_MODES
}
 Sleep mode locks. More...
 

Functions

static void sleepmgr_sleep (const enum sleepmgr_mode sleep_mode)
 

Variables

Internal arrays
uint8_t sleepmgr_locks []
 Sleep mode lock counters. More...