Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

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.

Parameters
trx_cmdneeds to be one of the trx commands
Returns
current trx state
static void switch_pll_on ( void  )
static

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.

Referenced by handle_received_frame_irq(), handle_tx_end_irq(), internal_tal_reset(), tal_pib_set(), tal_rx_enable(), tal_task(), and tal_trx_sleep().