Microchip® Advanced Software Framework

sleep_mgr.c File Reference

Copyright (c) 2014-2018 Microchip Technology Inc.

and its subsidiaries.

#include "sleep_mgr.h"
#include "sleepmgr.h"
#include "conf_sleepmgr.h"
#include "rtt.h"
#include "pmc.h"
#include "supc.h"
#include "asf.h"

Functions

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

void RTT_Handler ( void  )

References rtt_get_status().

void sm_init ( void  )
void sm_sleep ( uint32_t  interval)

This function puts the device to sleep.

This function puts the transceiver and device to sleep.

References rtt_read_timer_value(), rtt_write_alarm_time(), and sleepmgr_enter_sleep().

Referenced by APP_TaskHandler().