The different operating states of the Transceiver are controlled by the TAL state machine.
Sets transceiver state.
- Parameters
-
trx_cmd | needs to be one of the trx commands |
- Returns
- current trx state
static void switch_pll_on |
( |
void |
| ) |
|
|
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_bit_read(), TRX_IRQ_0_PLL_LOCK, TRX_OFF, TRX_OFF_TO_PLL_ON_TIME_US, trx_reg_read(), and trx_reg_write().
Referenced by set_trx_state().
Indicates if the transceiver needs to switch on its receiver by tal_task(), because it could not be switched on due to buffer shortage.
Current state of the TAL state machine.
Current state of the transceiver.