nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches

◆ NRF_802154_CALLBACKS_DISPATCHER_REGISTER

#define NRF_802154_CALLBACKS_DISPATCHER_REGISTER ( _entry_name,
_callbacks_var )

#include <include/net/nrf_802154_callbacks_dispatcher.h>

Value:
static STRUCT_SECTION_ITERABLE(nrf_802154_cb_dispatch_entry, _entry_name) = { \
.callbacks = &(_callbacks_var), \
.saved_configuration = false, \
.ext_address = {0}, \
.short_address = 0, \
.pan_id = {0}, \
}
#define NRF_802154_CALLBACKS_DISPATCHER_NAME_STR_EXPAND(x)
Definition nrf_802154_callbacks_dispatcher.h:83
Static registration entry in the iterable linker section.
Definition nrf_802154_callbacks_dispatcher.h:66

Statically register an IEEE 802.15.4 radio driver client.

Place this macro in file scope (for example in a protocol radio implementation file).

Parameters
_entry_nameUnique name for this registration (for example openthread). Pass the same string to nrf_802154_callbacks_dispatcher_switch.
_callbacks_varVariable of type nrf_802154_callbacks.