Functions | |
void | handle_tal_state (void) |
Handles the transceiver state. More... | |
trx_retval_t | tal_init (void) |
Initializes the TAL. More... | |
void | trx_irq_handler_cb (void) |
Transceiver interrupt handler. More... | |
void | tx_frame_config (void) |
Configures the transceiver for frame transmission. More... | |
void handle_tal_state | ( | void | ) |
Handles the transceiver state.
References Assert, TAL_IDLE, tal_state, TAL_TX_AUTO, TAL_TX_END, and tx_end_handling().
Referenced by at86rfx_task().
trx_retval_t tal_init | ( | void | ) |
Initializes the TAL.
This function is called to initialize the TAL. The transceiver is initialized and the TAL state is set to TAL_IDLE state.
References CCA_MODE_DEFAULT, CMD_RX_ON, internal_tal_reset(), MINBE_DEFAULT, pal_trx_bit_write(), pal_trx_reg_read(), RG_IRQ_STATUS, set_trx_state(), SR_CCA_MODE, SR_MIN_BE, TRX_FAILURE, trx_init(), and TRX_SUCCESS.
Referenced by at86rfx_init().
void trx_irq_handler_cb | ( | void | ) |
Transceiver interrupt handler.
This function handles the transceiver generated interrupts.
References handle_received_frame_irq(), handle_tx_end_irq(), pal_trx_reg_read(), RG_IRQ_STATUS, tal_state, TAL_TX_AUTO, and TRX_IRQ_TRX_END.
Referenced by ISR().
void tx_frame_config | ( | void | ) |
Configures the transceiver for frame transmission.
References CMD_PLL_ON, PLL_ON, set_trx_state(), SLP_TR_HIGH, SLP_TR_LOW, tal_state, TAL_TX_AUTO, and WAIT_65_NS.
Referenced by at86rfx_tx_frame().