Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
cc2500_common.h
Go to the documentation of this file.
1#include "cc2500_compat.h"
2
3#include "cc2500_rx_spi.h"
4
5// betaflight/src/main/rx/cc2500_common.h @ 50bbe0b on Jul 1
6/*
7 * This file is part of Cleanflight and Betaflight.
8 *
9 * Cleanflight and Betaflight are free software. You can redistribute
10 * this software and/or modify this software under the terms of the
11 * GNU General Public License as published by the Free Software
12 * Foundation, either version 3 of the License, or (at your option)
13 * any later version.
14 *
15 * Cleanflight and Betaflight are distributed in the hope that they
16 * will be useful, but WITHOUT ANY WARRANTY; without even the implied
17 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 * See the GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this software.
22 *
23 * If not, see <http://www.gnu.org/licenses/>.
24 */
25
26#pragma once
27
28//#include "rx/rx_spi.h"
29
31void cc2500setRssiDbm(uint8_t value);
32bool cc2500getGdo(void);
33#if defined(USE_RX_CC2500_SPI_PA_LNA) && defined(USE_RX_CC2500_SPI_DIVERSITY)
34void cc2500switchAntennae(void);
35#endif
36#if defined(USE_RX_CC2500_SPI_PA_LNA)
37void cc2500TxEnable(void);
38void cc2500TxDisable(void);
39#endif
40bool cc2500SpiInit(void);
bool cc2500SpiInit(void)
bool cc2500getGdo(void)
void cc2500setRssiDbm(uint8_t value)
uint16_t cc2500getRssiDbm(void)
uint16_t foo
Definition main_demo5.c:58
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.