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.

This function Initializes the Sleep functions.

Continuously update the counter value so no synchronization is needed for reading.

References configure_rtc_callbacks(), rtc_count_config::continuously_update, rtc_count_config::mode, rtc_count_config::prescaler, rtc_count_get_config_defaults(), rtc_count_init(), RTC_COUNT_MODE_16BIT, RTC_COUNT_PRESCALER_DIV_1, and rtc_instance.

Referenced by wsndemo_init().

void sm_sleep ( uint32_t  interval)