Atmel Software Framework

xmega/sleepmgr.h File Reference

AVR XMEGA Sleep manager implementation.

Copyright (c) 2010-2015 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_ESTDBY,
  SLEEPMGR_PSAVE,
  SLEEPMGR_STDBY,
  SLEEPMGR_PDOWN,
  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...
 
enum SLEEP_SMODE_enum sleepmgr_configs []
 Look-up table with sleep mode configurations. More...