Microchip® Advanced Software Framework

samc/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_0,
  SLEEPMGR_IDLE_1,
  SLEEPMGR_IDLE_2,
  SLEEPMGR_STANDBY,
  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...