libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
51/radio.h
Go to the documentation of this file.
1/** @defgroup radio_defines RADIO Defines
2 *
3 * @brief <b>Defined Constants and Types for the NRF51xx 2.4GHz radio</b>
4 *
5 * @ingroup NRF51xx_defines
6 *
7 * @version 1.0.0
8 *
9 * @date Nov 2021
10 *
11 *LGPL License Terms @ref lgpl_license
12 */
13/*
14 * This file is part of the libopencm3 project.
15 *
16 * Copyright (C) 2017-2018 Unicore MX project<dev(at)lists(dot)unicore-mx(dot)org>
17 * Copyright (C) 2021 Eduard Drusa <ventyl86(at)netkosice(dot)sk>
18 *
19 * This library is free software: you can redistribute it and/or modify
20 * it under the terms of the GNU Lesser General Public License as published by
21 * the Free Software Foundation, either version 3 of the License, or
22 * (at your option) any later version.
23 *
24 * This library is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 * GNU Lesser General Public License for more details.
28 *
29 * You should have received a copy of the GNU Lesser General Public License
30 * along with this library. If not, see <http://www.gnu.org/licenses/>.
31 */
32
33#pragma once
34
39
45};
46
48
49void radio_set_mode(enum radio_mode mode);
50
52
radio_mode
Definition: 51/radio.h:40
@ RADIO_MODE_NRF_1MBIT
Definition: 51/radio.h:41
@ RADIO_MODE_NRF_2MBIT
Definition: 51/radio.h:42
@ RADIO_MODE_BLE_1MBIT
Definition: 51/radio.h:44
@ RADIO_MODE_NRF_250KBIT
Definition: 51/radio.h:43
#define END_DECLS
Definition: common.h:34
#define BEGIN_DECLS
Definition: common.h:33
void radio_set_mode(enum radio_mode mode)
Set radio mode.
Definition: radio.c:39