nRF5 SDK for Thread and Zigbee v3.2.0
Modules | Macros | Functions
802.15.4 radio driver

Modules

 Thermometer Abstraction Layer for the 802.15.4 driver
 This module defines Thermometer Abstraction Layer for the 802.15.4 driver.
 
 Front-end module management
 
 Setting addresses and PAN ID of the device
 
 Functions to calculate data given by the driver
 
 Functions to request FSM transitions and check current state
 
 Calls to higher layer
 
 Driver memory management
 
 RSSI measurement function
 
 Promiscuous mode
 
 Auto ACK management
 
 CCA configuration management
 
 CSMA-CA procedure
 
 ACK timeout procedure
 
 802.15.4 driver configuration
 Configuration of the 802.15.4 radio driver for nRF SoCs.
 
 Type definitions used in the 802.15.4 driver.
 Definitions of types used in the 802.15.4 driver.
 

Macros

#define NRF_802154_NO_TIMESTAMP   0
 Timestamp value indicating that the timestamp is inaccurate.
 

Functions

void nrf_802154_init (void)
 Initialize the 802.15.4 driver. More...
 
void nrf_802154_deinit (void)
 Deinitialize the 802.15.4 driver. More...
 
void nrf_802154_channel_set (uint8_t channel)
 Set channel on which the radio shall operate. More...
 
uint8_t nrf_802154_channel_get (void)
 Get channel on which the radio operates. More...
 
void nrf_802154_tx_power_set (int8_t power)
 Set transmit power. More...
 
int8_t nrf_802154_tx_power_get (void)
 Get currently set transmit power. More...
 

Detailed Description

Function Documentation

uint8_t nrf_802154_channel_get ( void  )

Get channel on which the radio operates.

Returns
Channel number (11-26).
void nrf_802154_channel_set ( uint8_t  channel)

Set channel on which the radio shall operate.

Parameters
[in]channelChannel number (11-26).
void nrf_802154_deinit ( void  )

Deinitialize the 802.15.4 driver.

Deinitialize the RADIO peripheral and reset it to the default state.

void nrf_802154_init ( void  )

Initialize the 802.15.4 driver.

Initialize the RADIO peripheral to Sleep state.

Note
This function shall be called once, before any other functions from this module.
int8_t nrf_802154_tx_power_get ( void  )

Get currently set transmit power.

Returns
Currently used transmit power [dBm].
void nrf_802154_tx_power_set ( int8_t  power)

Set transmit power.

Note
The driver recalculates the requested value to the nearest value accepted by the hardware. The calculation result is rounded up.
Parameters
[in]powerTransmit power [dBm].

Documentation feedback | Developer Zone | Subscribe | Updated