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  )
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 ast_alarm, ast_counter, ast_enable_interrupt(), AST_INTERRUPT_ALARM, ast_read_counter_value(), ast_write_alarm0_value(), and sleepmgr_enter_sleep().

Referenced by APP_TaskHandler().