nRF5 SDK for Thread and Zigbee v3.2.0
Macros | Typedefs | Functions
Front-end 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 (const nrf_802154_fem_control_cfg_t *p_cfg)
 Set PA & LNA GPIO toggle configuration. More...
 
void nrf_802154_fem_control_cfg_get (nrf_802154_fem_control_cfg_t *p_cfg)
 Get 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:128

Macro with default configuration of the FEM module.

Typedef Documentation

typedef nrf_fem_control_cfg_t nrf_802154_fem_control_cfg_t

Structure containing run-time configuration of the FEM module.

Function Documentation

void nrf_802154_fem_control_cfg_get ( nrf_802154_fem_control_cfg_t p_cfg)

Get PA & LNA GPIO toggle configuration.

Parameters
[out]p_cfgA pointer to the structure for the PA & LNA GPIO toggle configuration.
void nrf_802154_fem_control_cfg_set ( const nrf_802154_fem_control_cfg_t p_cfg)

Set PA & LNA GPIO toggle configuration.

Note
This function shall not be called when the radio is in use.
Parameters
[in]p_cfgA pointer to the PA & LNA GPIO toggle configuration.

Documentation feedback | Developer Zone | Subscribe | Updated