nRF5 SDK for Thread and Zigbee v4.0.0
Macros | Typedefs | Functions
Frontend Module management

Macros

#define NRF_802154_FEM_DEFAULT_SETTINGS
 

Typedefs

typedef nrf_fem_control_cfg_t nrf_802154_fem_control_cfg_t
 

Functions

void nrf_802154_fem_control_cfg_set (nrf_802154_fem_control_cfg_t const *const p_cfg)
 Sets the PA & LNA GPIO toggle configuration. More...
 
void nrf_802154_fem_control_cfg_get (nrf_802154_fem_control_cfg_t *p_cfg)
 Get the PA & LNA GPIO toggle configuration. More...
 

Detailed Description

Macro Definition Documentation

#define NRF_802154_FEM_DEFAULT_SETTINGS
Value:
.pa_cfg = { \
.enable = 1, \
.active_high = 1, \
.gpio_pin = NRF_FEM_CONTROL_DEFAULT_PA_PIN, \
}, \
.lna_cfg = { \
.enable = 1, \
.active_high = 1, \
.gpio_pin = NRF_FEM_CONTROL_DEFAULT_LNA_PIN, \
}, \
.pa_gpiote_ch_id = NRF_FEM_CONTROL_DEFAULT_PA_GPIOTE_CHANNEL, \
.lna_gpiote_ch_id = NRF_FEM_CONTROL_DEFAULT_LNA_GPIOTE_CHANNEL, \
.ppi_ch_id_set = NRF_FEM_CONTROL_DEFAULT_SET_PPI_CHANNEL, \
.ppi_ch_id_clr = NRF_FEM_CONTROL_DEFAULT_CLR_PPI_CHANNEL, \
})
nrf_fem_control_cfg_t nrf_802154_fem_control_cfg_t
Definition: nrf_802154.h:130

Macro with the default configuration of the Frontend Module.

Typedef Documentation

typedef nrf_fem_control_cfg_t nrf_802154_fem_control_cfg_t

Structure that contains the run-time configuration of the Frontend Module.

Function Documentation

void nrf_802154_fem_control_cfg_get ( nrf_802154_fem_control_cfg_t p_cfg)

Get the PA & LNA GPIO toggle configuration.

Parameters
[out]p_cfgPointer to the structure for the PA & LNA GPIO toggle configuration.
Note
This function is deprecated. Only to be used with Skyworks module. Consider using nrf_fem_interface_configuration_get instead.
void nrf_802154_fem_control_cfg_set ( nrf_802154_fem_control_cfg_t const *const  p_cfg)

Sets the PA & LNA GPIO toggle configuration.

Note
This function must not be called when the radio is in use.
This function is deprecated. Only to be used with Skyworks module. Consider using nrf_fem_interface_configuration_set instead.
Parameters
[in]p_cfgPointer to the PA & LNA GPIO toggle configuration.

Documentation feedback | Developer Zone | Subscribe | Updated