Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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 
31 void cc2500setRssiDbm(uint8_t value);
32 bool cc2500getGdo(void);
33 #if defined(USE_RX_CC2500_SPI_PA_LNA) && defined(USE_RX_CC2500_SPI_DIVERSITY)
34 void cc2500switchAntennae(void);
35 #endif
36 #if defined(USE_RX_CC2500_SPI_PA_LNA)
37 void cc2500TxEnable(void);
38 void cc2500TxDisable(void);
39 #endif
40 bool cc2500SpiInit(void);
bool cc2500SpiInit(void)
bool cc2500getGdo(void)
Definition: cc2500_common.c:80
void cc2500setRssiDbm(uint8_t value)
Definition: cc2500_common.c:69
uint16_t cc2500getRssiDbm(void)
Definition: cc2500_common.c:64
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
Definition: vl53l1_types.h:88
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
Definition: vl53l1_types.h:98