Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
cc2500_frsky_x.h
Go to the documentation of this file.
1 #include "cc2500_compat.h"
2 
3 // betaflight/src/main/rx/cc2500_frsky_x.h @ 766c90b
4 /*
5  * This file is part of Cleanflight and Betaflight.
6  *
7  * Cleanflight and Betaflight are free software. You can redistribute
8  * this software and/or modify this software under the terms of the
9  * GNU General Public License as published by the Free Software
10  * Foundation, either version 3 of the License, or (at your option)
11  * any later version.
12  *
13  * Cleanflight and Betaflight are distributed in the hope that they
14  * will be useful, but WITHOUT ANY WARRANTY; without even the implied
15  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16  * See the GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this software.
20  *
21  * If not, see <http://www.gnu.org/licenses/>.
22  */
23 
24 #pragma once
25 
26 //#include "rx/rx.h"
27 //#include "rx/rx_spi.h"
28 
29 #define RC_CHANNEL_COUNT_FRSKY_X 16
30 
31 void frSkyXSetRcData(uint16_t *rcData, const uint8_t *payload);
32 
uint16_t
unsigned short uint16_t
Definition: types.h:16
frSkyXProcessFrame
rx_spi_received_e frSkyXProcessFrame(uint8_t *const packet)
Definition: cc2500_frsky_x.c:544
frSkyXSetRcData
void frSkyXSetRcData(uint16_t *rcData, const uint8_t *payload)
Definition: cc2500_frsky_x.c:304
rcData
int16_t rcData[MAX_SUPPORTED_RC_CHANNEL_COUNT]
Definition: cc2500_rx.c:118
frSkyXInit
void frSkyXInit(const rx_spi_protocol_e spiProtocol)
Definition: cc2500_frsky_x.c:582
protocolState
static uint8_t protocolState
Definition: cc2500_frsky_shared.c:65
frSkyXHandlePacket
rx_spi_received_e frSkyXHandlePacket(uint8_t *const packet, uint8_t *const protocolState)
Definition: cc2500_frsky_x.c:340
uint8_t
unsigned char uint8_t
Definition: types.h:14
spiProtocol
static rx_spi_protocol_e spiProtocol
Definition: cc2500_frsky_shared.c:62
rx_spi_protocol_e
rx_spi_protocol_e
Definition: cc2500_rx_spi.h:34
rx_spi_received_e
rx_spi_received_e
Definition: cc2500_rx_spi.h:54
cc2500_compat.h