37 #ifndef SAM_SLEEPMGR_INCLUDED 38 #define SAM_SLEEPMGR_INCLUDED 71 #if (!(SAMG51 || SAMG53 || SAMG54)) 83 #if defined(CONFIG_SLEEPMGR_ENABLE) || defined(__DOXYGEN__) 84 extern uint8_t sleepmgr_locks[];
93 #ifdef CONFIG_SLEEPMGR_ENABLE 97 pmc_sleep(sleep_mode);
#define cpu_irq_disable()
Disable interrupts globally.
#define UNUSED(v)
Marking v as a unused parameter or value.
Chip-specific sleep manager configuration.
static void sleepmgr_sleep(const enum sleepmgr_mode sleep_mode)
Commonly used includes, types and macros.
Global interrupt management for 8- and 32-bit AVR.
Backup mode. Potential Wake Up sources: WKUPs, SM, RTT, RTC.
sleepmgr_mode
Sleep mode locks.
#define Assert(expr)
This macro is used to test fatal errors.
#define cpu_irq_enable()
Enable interrupts globally.