Paparazzi UAS
v5.18.0_stable
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
30
uint16_t
cc2500getRssiDbm
(
void
);
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
);
uint16_t
unsigned short uint16_t
Definition:
types.h:16
cc2500setRssiDbm
void cc2500setRssiDbm(uint8_t value)
Definition:
cc2500_common.c:69
cc2500_rx_spi.h
cc2500SpiInit
bool cc2500SpiInit(void)
Definition:
cc2500_common.c:127
cc2500getGdo
bool cc2500getGdo(void)
Definition:
cc2500_common.c:80
uint8_t
unsigned char uint8_t
Definition:
types.h:14
cc2500getRssiDbm
uint16_t cc2500getRssiDbm(void)
Definition:
cc2500_common.c:64
cc2500_compat.h
sw
airborne
subsystems
radio_control
cc2500_frsky
cc2500_common.h
Generated on Tue Feb 1 2022 13:51:18 for Paparazzi UAS by
1.8.17