Microchip® Advanced Software Framework

saml/sleepmgr.h File Reference

Chip-specific sleep manager configuration.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

#include <compiler.h>
#include <conf_sleepmgr.h>
#include <interrupt.h>
#include "system.h"

Enumerations

enum  sleepmgr_mode {
  SLEEPMGR_ACTIVE = 0,
  SLEEPMGR_IDLE,
  SLEEPMGR_STANDBY,
  SLEEPMGR_BACKUP,
  SLEEPMGR_OFF,
  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...