Loading...
Searching...
No Matches
nrf802154.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2019 Freie Universität Berlin
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
34
35#include "net/ieee802154/radio.h"
36
37#ifdef __cplusplus
38extern "C" {
39#endif
40
44typedef struct nrf802154 nrf802154_t;
45
52
58#ifndef CONFIG_NRF802154_CCA_THRESH_DEFAULT
59#define CONFIG_NRF802154_CCA_THRESH_DEFAULT 0x14
60#endif
62
69#ifndef NRF802154_TIMER
70#define NRF802154_TIMER TIMER_DEV(1)
71#endif
72
81
89
96
97#ifdef __cplusplus
98}
99#endif
100
struct ieee802154_dev ieee802154_dev_t
Forward declaration of the IEEE802.15.4 device descriptor.
Definition radio.h:407
int nrf802154_init(void)
Initialize the NRF52840 radio.
void nrf802154_setup(nrf802154_t *dev)
Setup a NRF802154 radio device.
void nrf802154_hal_setup(ieee802154_dev_t *hal)
Setup NRF802154 in order to be used with the IEEE 802.15.4 Radio HAL.
struct nrf802154 nrf802154_t
Device descriptor for NRF802154 transceiver.
Definition nrf802154.h:44