Microchip® Advanced Software Framework

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Power Manager (PM)

This is a stub on the AVR UC3 Power Manager(PM) for the sleepmgr service.

Note
To minimize the code overhead, these functions do not feature interrupt-protected access since they are likely to be called inside interrupt handlers or in applications where such protection is not necessary. If such protection is needed, it must be ensured by the calling code.

Functions

static void pm_sleep (int sleep_mode)
 Sets the MCU in the specified sleep mode. More...
 

static void pm_sleep ( int  sleep_mode)
inlinestatic

Sets the MCU in the specified sleep mode.

Parameters
sleep_modeSleep mode to set.

References AVR32_PM_SMODE_GMCLEAR_MASK, and SLEEP.

Referenced by sleepmgr_sleep().