The different operating states of the Transceiver are controlled by the TAL state machine.
Functions | |
tal_trx_status_t | set_trx_state (trx_cmd_t trx_cmd) |
Sets transceiver state. More... | |
static void | switch_pll_on (void) |
Switches the PLL on. More... | |
Variables | |
bool | tal_rx_on_required |
Indicates if the transceiver needs to switch on its receiver by tal_task(), because it could not be switched on due to buffer shortage. More... | |
tal_state_t | tal_state |
Current state of the TAL state machine. More... | |
tal_trx_status_t | tal_trx_status |
Current state of the transceiver. More... | |
tal_trx_status_t set_trx_state | ( | trx_cmd_t | trx_cmd | ) |
Sets transceiver state.
trx_cmd | needs to be one of the trx commands |
|
static |
Switches the PLL on.
References Assert, CMD_PLL_ON, pal_timer_delay, PLL_LOCK_ATTEMPTS, RG_IRQ_STATUS, RG_TRX_STATE, SR_TRX_STATUS, TRX_IRQ_0_PLL_LOCK, TRX_OFF, and TRX_OFF_TO_PLL_ON_TIME_US.
Referenced by set_trx_state().
bool tal_rx_on_required |
Indicates if the transceiver needs to switch on its receiver by tal_task(), because it could not be switched on due to buffer shortage.
tal_state_t tal_state |
Current state of the TAL state machine.
tal_trx_status_t tal_trx_status |
Current state of the transceiver.