Microchip® Advanced Software Framework

sleep.h File Reference

Sleep mode access.

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

#include <compiler.h>
#include "pm.h"

Macros

#define AVR32_PM_SMODE_DEEPSTOP   0x00000004
 Sets the MCU in the specified sleep mode. More...
 
#define AVR32_PM_SMODE_GMCLEAR_MASK   0x80
 

Functions

static void pm_sleep (int sleep_mode)
 

#define AVR32_PM_SMODE_GMCLEAR_MASK   0x80

Referenced by pm_sleep(), and sleepmgr_sleep().