Microchip® Advanced Software Framework

sleep_mgr.h File Reference
#include "compiler.h"

Functions

void sm_init (void)
 This function Initializes the Sleep functions. More...
 
void sm_sleep (uint32_t interval)
 This function puts the transceiver and device to sleep. More...
 

void sm_init ( void  )

This function Initializes the Sleep functions.

References sleepmgr_init(), sleepmgr_lock_mode(), SLEEPMGR_PSAVE, sysclk_enable_module(), SYSCLK_PORT_GEN, and SYSCLK_RTC.

Referenced by wsndemo_init().

void sm_sleep ( uint32_t  interval)

This function puts the transceiver and device to sleep.

This function puts the transceiver and device to sleep.

References sleepmgr_enter_sleep().

Referenced by APP_TaskHandler().