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_frsky_common.h
Go to the documentation of this file.
1#include "cc2500_compat.h"
2#include "cc2500_settings.h"
3
4// betaflight/src/main/rx/cc2500_frsky_common.h @ 766c90b
5/*
6 * This file is part of Cleanflight and Betaflight.
7 *
8 * Cleanflight and Betaflight are free software. You can redistribute
9 * this software and/or modify this software under the terms of the
10 * GNU General Public License as published by the Free Software
11 * Foundation, either version 3 of the License, or (at your option)
12 * any later version.
13 *
14 * Cleanflight and Betaflight are distributed in the hope that they
15 * will be useful, but WITHOUT ANY WARRANTY; without even the implied
16 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17 * See the GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this software.
21 *
22 * If not, see <http://www.gnu.org/licenses/>.
23 */
24
25#pragma once
26
27//#include "rx/rx_spi.h"
28
32void frSkySpiSetRcData(uint16_t *rcData, const uint8_t *payload);
rx_spi_received_e frSkySpiDataReceived(uint8_t *packet)
void frSkySpiSetRcData(uint16_t *rcData, const uint8_t *payload)
rx_spi_received_e frSkySpiProcessFrame(uint8_t *packet)
bool frSkySpiInit(const rxSpiConfig_t *rxSpiConfig, rxRuntimeConfig_t *rxRuntimeConfig)
int16_t rcData[MAX_SUPPORTED_RC_CHANNEL_COUNT]
Definition cc2500_rx.c:118
rxRuntimeConfig_t rxRuntimeConfig
Definition cc2500_rx.c:131
rx_spi_received_e
const rxSpiConfig_t * rxSpiConfig(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.