nrf802154.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2019 Freie Universit├Ąt Berlin
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
36#ifndef NRF802154_H
37#define NRF802154_H
38
39#include "net/ieee802154/radio.h"
40
41#ifdef __cplusplus
42extern "C" {
43#endif
44
48typedef struct nrf802154 nrf802154_t;
49
62#ifndef CONFIG_NRF802154_CCA_THRESH_DEFAULT
63#define CONFIG_NRF802154_CCA_THRESH_DEFAULT 0x14
64#endif
73#ifndef NRF802154_TIMER
74#define NRF802154_TIMER TIMER_DEV(1)
75#endif
76
85
93
100
101#ifdef __cplusplus
102}
103#endif
104
105#endif /* NRF802154_H */
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:48
the IEEE802.15.4 device descriptor
Definition: radio.h:415