61 #if defined(__DOXYGEN__) 68 #if (SAM3S || SAM3N || SAM3XA || SAM3U || SAM4S || SAM4E || SAM4N || SAM4C || \ 69 SAM4CM || SAM4CP || SAMG || SAMV71 || SAME70 || SAMS70) 70 # define SAM_PM_SMODE_ACTIVE 0 71 # define SAM_PM_SMODE_SLEEP_WFE 1 72 # define SAM_PM_SMODE_SLEEP_WFI 2 73 # define SAM_PM_SMODE_WAIT_FAST 3 74 # define SAM_PM_SMODE_WAIT 4 75 #if (!(SAMG51 || SAMG53 || SAMG54)) 76 # define SAM_PM_SMODE_BACKUP 5 80 #define SCR_SLEEPDEEP (0x1 << 2) 87 typedef void (*pmc_callback_wakeup_clocks_restored_t) (void);
93 void pmc_sleep(
int sleep_mode);
101 bool pmc_is_wakeup_clocks_restored(
void);
106 void pmc_wait_wakeup_clocks_restore(
107 pmc_callback_wakeup_clocks_restored_t callback);
Commonly used includes, types and macros.