Loading...
Searching...
No Matches
IEEE802.15.4 Driver for nRF52840 SoCs

Driver for using the nRF52's radio in IEEE802.15.4 mode. More...

Detailed Description

Driver for using the nRF52's radio in IEEE802.15.4 mode.

Implementation state

Netdev events supported:

Transmission options not yet implemented:

Modules

 nrf802154 driver compile configuration
 

Files

file  nrf802154.h
 Driver interface for using the nRF52 in IEEE802.15.4 mode.
 

Macros

#define NRF802154_TIMER   TIMER_DEV(1)
 IEEE 802.15.4 radio timer configuration.
 

Typedefs

typedef struct nrf802154 nrf802154_t
 Device descriptor for NRF802154 transceiver.
 

Functions

void nrf802154_hal_setup (ieee802154_dev_t *hal)
 Setup NRF802154 in order to be used with the IEEE 802.15.4 Radio HAL.
 
int nrf802154_init (void)
 Initialize the NRF52840 radio.
 
void nrf802154_setup (nrf802154_t *dev)
 Setup a NRF802154 radio device.
 

Macro Definition Documentation

◆ NRF802154_TIMER

#define NRF802154_TIMER   TIMER_DEV(1)

IEEE 802.15.4 radio timer configuration.

     this radio relies on a dedicated hardware timer to maintain IFS
     the default timer may be overwritten in the board configuration

Definition at line 74 of file nrf802154.h.

Typedef Documentation

◆ nrf802154_t

typedef struct nrf802154 nrf802154_t

Device descriptor for NRF802154 transceiver.

Definition at line 48 of file nrf802154.h.

Function Documentation

◆ nrf802154_hal_setup()

void nrf802154_hal_setup ( ieee802154_dev_t hal)

Setup NRF802154 in order to be used with the IEEE 802.15.4 Radio HAL.

Note
This functions MUST be called before nrf802154_init.
Parameters
[in]halpointer to the HAL descriptor associated to the device.

◆ nrf802154_init()

int nrf802154_init ( void  )

Initialize the NRF52840 radio.

Returns
0 on success
negative errno on error

◆ nrf802154_setup()

void nrf802154_setup ( nrf802154_t dev)

Setup a NRF802154 radio device.

Parameters
[out]devDevice descriptor