nrfxlib API 0.1.0
Loading...
Searching...
No Matches
802.15.4 radio driver

Modules

 802.15.4 driver ACK timeout support
 ACK timeout feature.
 
 802.15.4 driver CSMA-CA support
 CSMA-CA procedure.
 
 802.15.4 driver SWI management
 SWI manager for the 802.15.4 driver.
 
 802.15.4 driver configuration
 Configuration of the 802.15.4 radio driver for nRF SoCs.
 
 802.15.4 driver critical section
 Critical section used with requests to the 802.15.4 driver.
 
 802.15.4 driver notification
 Notifications to the next higher layer triggered from the 802.15.4 radio driver.
 
 802.15.4 driver request
 Requests to the driver triggered from the MAC layer.
 
 ACK timeout procedure
 
 Auto ACK management
 
 CCA configuration management
 
 CSMA-CA procedure
 
 Driver memory management
 
 Functions to request FSM transitions and check current state
 
 Hooks for the 802.15.4 driver core
 Hooks for the 802.15.4 driver core module.
 
 Incoming frame filter API
 Module that implements the incoming frame filter API.
 
 Inter-frame spacing feature
 
 Promiscuous mode
 
 RSSI measurement function
 RSSI calculations used internally in the 802.15.4 driver.
 
 Radio driver Information Element data injection feature.
 Information element writer module.
 
 Radio driver MAC security feature.
 
 Radio driver run-time capabilities feature.
 
 Random Abstraction Layer for the 802.15.4 driver
 Module that defines the pseudo-random number generator Abstraction Layer.
 
 Setting addresses and PAN ID of the device
 
 Statistics and measurements
 
 Test modes
 
 Type definitions used in the 802.15.4 driver
 Definitions of types used in the 802.15.4 driver.
 
 Utils definitions for byte ordering used in the 802.15.4 driver
 Definitions of utils for byte ordering used in the 802.15.4 driver.
 
 Utils definitions used in the 802.15.4 driver
 Definitions of utils used in the 802.15.4 driver.
 
 Wifi Coex feature
 

Macros

#define NRF_802154_NO_TIMESTAMP   0
 Timestamp value indicating that the timestamp is inaccurate.
 
#define NRF_802154_RESERVED_INVALID_ID   UINT32_MAX
 Invalid delayed timeslot identifier.
 
#define NRF_802154_RESERVED_IMM_RX_WINDOW_ID   (UINT32_MAX - 1)
 Reception window identifier reserved for immediate reception.
 
#define NRF_802154_RESERVED_DRX_ID_UPPER_BOUND   (UINT32_MAX - 4)
 Upper bound for delayed reception window identifiers used by the application.
 
#define NRF_802154_MAX_PENDING_NOTIFICATIONS    (NRF_802154_RX_BUFFERS + NRF_802154_MAX_DISREGARDABLE_NOTIFICATIONS + 4 + 1)
 Maximum number of simultaneously pending notifications the driver can issue.
 

Functions

void nrf_802154_init (void)
 Initializes the 802.15.4 driver.
 
void nrf_802154_deinit (void)
 Deinitializes the 802.15.4 driver.
 
void nrf_802154_channel_set (uint8_t channel)
 Sets the channel on which the radio is to operate.
 
uint8_t nrf_802154_channel_get (void)
 Gets the channel on which the radio operates.
 
void nrf_802154_tx_power_set (int8_t power)
 Sets the transmit power.
 
int8_t nrf_802154_tx_power_get (void)
 Gets the currently set transmit power.
 
bool nrf_802154_antenna_diversity_rx_mode_set (nrf_802154_sl_ant_div_mode_t mode)
 Sets the antenna diversity rx mode.
 
nrf_802154_sl_ant_div_mode_t nrf_802154_antenna_diversity_rx_mode_get (void)
 Gets current antenna diversity rx mode.
 
bool nrf_802154_antenna_diversity_tx_mode_set (nrf_802154_sl_ant_div_mode_t mode)
 Sets the antenna diversity tx mode.
 
nrf_802154_sl_ant_div_mode_t nrf_802154_antenna_diversity_tx_mode_get (void)
 Gets current antenna diversity tx mode.
 
bool nrf_802154_antenna_diversity_rx_antenna_set (nrf_802154_sl_ant_div_antenna_t antenna)
 Manually selects the antenna to be used for rx.
 
nrf_802154_sl_ant_div_antenna_t nrf_802154_antenna_diversity_rx_antenna_get (void)
 Gets antenna currently used for rx.
 
bool nrf_802154_antenna_diversity_tx_antenna_set (nrf_802154_sl_ant_div_antenna_t antenna)
 Manually selects the antenna to be used for tx.
 
nrf_802154_sl_ant_div_antenna_t nrf_802154_antenna_diversity_tx_antenna_get (void)
 Gets antenna currently used for tx.
 
nrf_802154_sl_ant_div_antenna_t nrf_802154_antenna_diversity_last_rx_best_antenna_get (void)
 Gets which antenna was selected as best for the last reception.
 
void nrf_802154_antenna_diversity_config_set (const nrf_802154_sl_ant_div_cfg_t *p_cfg)
 Sets antenna diversity configuration.
 
bool nrf_802154_antenna_diversity_config_get (nrf_802154_sl_ant_div_cfg_t *p_cfg)
 Gets the antenna diversity interface configuration.
 
bool nrf_802154_antenna_diversity_init (void)
 Initializes antenna diversity module.
 
void nrf_802154_antenna_diversity_timer_irq_handler (void)
 Handles TIMER IRQ of the antenna diversity interface.
 
uint64_t nrf_802154_time_get (void)
 Gets the current time.
 

Detailed Description