Copyright (c) 2014-2018 Microchip Technology Inc.
and its subsidiaries.
Functions | |
ISR (RTC_OVF_vect) | |
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... | |
ISR | ( | RTC_OVF_vect | ) |
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 device to sleep.
This function puts the transceiver and device to sleep.
References sleepmgr_enter_sleep().
Referenced by APP_TaskHandler().