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_sleep ( uint32_t  interval)

This function puts the transceiver and device to sleep.

This function puts the transceiver and device to sleep.

Parameters
interval: in seconds for the device to sleep.Range of Interval is 1-68719s

References COMPARE_MODE, CONFIG_MACSC_HZ, MACSC_CC3, macsc_enable(), macsc_enable_manual_bts(), macsc_use_cmp(), sleep_enable(), and sleep_enter.