This file is the interface for Transceiver Feature Access (TFA) functionality.
Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
#define | SUPPLY_VOLTAGE_ABOVE_UPPER_LIMIT (0xFFFF) |
Supply voltage above upper limit. More... | |
#define | SUPPLY_VOLTAGE_BELOW_LOWER_LIMIT (0) |
Supply voltage below lower limit. More... | |
#define | TFA_PIB_RX_SENS_DEF (RSSI_BASE_VAL_DBM) |
Default value of TFA PIB attribute to reduce the Rx sensitivity. More... | |
Typedefs | |
typedef enum continuous_tx_mode_tag | continuous_tx_mode_t |
Continuous Transmission modes. More... | |
typedef enum tfa_pib_t | tfa_pib_t |
Transceiver commands. More... | |
Enumerations | |
enum | continuous_tx_mode_tag { CW_MODE = 0, PRBS_MODE = 1 } |
Continuous Transmission modes. More... | |
enum | tfa_pib_t { TFA_PIB_RX_SENS = 0 } |
Transceiver commands. More... | |
Functions | |
retval_t | tfa_batmon_irq_init (FUNC_PTR(batmon_irq_cb), uint16_t vth) |
Setups the battery monitor interrupt. More... | |
phy_enum_t | tfa_cca_perform (void) |
Perform a CCA. More... | |
void | tfa_continuous_tx_start (continuous_tx_mode_t tx_mode, bool random_content) |
Starts continuous transmission on current channel. More... | |
void | tfa_continuous_tx_stop (void) |
Stops CW transmission. More... | |
uint8_t | tfa_ed_sample (void) |
Perform a single ED measurement. More... | |
uint16_t | tfa_get_batmon_voltage (void) |
Gets the transceiver's supply voltage. More... | |
double | tfa_get_temperature (void) |
Get the temperature value from the integrated sensor. More... | |
retval_t | tfa_init (void) |
Initializes the TFA. More... | |
retval_t | tfa_pib_get (tfa_pib_t tfa_pib_attribute, void *value) |
Gets a TFA PIB attribute. More... | |
retval_t | tfa_pib_set (tfa_pib_t tfa_pib_attribute, void *value) |
Sets a TFA PIB attribute. More... | |
void | tfa_reset (bool set_default_pib) |
Reset the TFA. More... | |