#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.
References pmc_set_fast_startup_input(), rtt_enable_interrupt(), rtt_init(), sleepmgr_init(), sleepmgr_lock_mode(), SLEEPMGR_WAIT, and supc_set_wakeup_mode().
Referenced by wsndemo_init().
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 rtt_read_timer_value(), rtt_write_alarm_time(), and sleepmgr_enter_sleep().
Referenced by APP_TaskHandler().