Loading...
Searching...
No Matches
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
9#pragma once
10
37
38#include "net/ieee802154/radio.h"
39
40#ifdef __cplusplus
41extern "C" {
42#endif
43
47typedef struct nrf802154 nrf802154_t;
48
55
61#ifndef CONFIG_NRF802154_CCA_THRESH_DEFAULT
62#define CONFIG_NRF802154_CCA_THRESH_DEFAULT 0x14
63#endif
65
72#ifndef NRF802154_TIMER
73#define NRF802154_TIMER TIMER_DEV(1)
74#endif
75
84
92
99
100#ifdef __cplusplus
101}
102#endif
103
struct ieee802154_dev ieee802154_dev_t
Forward declaration of the IEEE802.15.4 device descriptor.
Definition radio.h:400
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:47