#include <stdbool.h>
#include <stdint.h>
#include <stddef.h>
#include "pal.h"
#include "return_val.h"
#include "tal.h"
#include "tal_constants.h"
#include "at86rf231.h"
#include "tal_internal.h"
#include "sal_types.h"
#include "stb.h"
Functions | |
retval_t | tal_trx_sleep (sleep_mode_t mode) |
retval_t | tal_trx_wakeup (void) |
retval_t tal_trx_sleep | ( | sleep_mode_t | mode | ) |
References CMD_SLEEP, CMD_TRX_OFF, MAC_INVALID_PARAMETER, MAC_SUCCESS, pal_timer_source_select(), pal_timer_stop(), set_trx_state(), SLEEP_MODE_1, stb_restart(), TAL_BUSY, TAL_IDLE, tal_rx_on_required, tal_state, TAL_TRX_ASLEEP, tal_trx_status, TMR_CLK_SRC_DURING_TRX_SLEEP, TRX_OFF, and TRX_SLEEP.
Referenced by mac_trx_init_sleep(), mlme_set(), toggle_trx_sleep(), and trx_config().
retval_t tal_trx_wakeup | ( | void | ) |
References Assert, CMD_TRX_OFF, FAILURE, FUNC_PTR, MAC_SUCCESS, NULL, pal_timer_source_select(), pal_timer_start(), set_trx_state(), TAL_CALIBRATION_TIMEOUT_US, TAL_TRX_AWAKE, tal_trx_status, TIMEOUT_RELATIVE, TMR_CLK_SRC_DURING_TRX_AWAKE, TRX_OFF, and TRX_SLEEP.
Referenced by mac_trx_wakeup(), mlme_set(), stb_ccm_secure(), tal_pib_set(), toggle_trx_sleep(), and trx_config().