Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
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
29
bool
frSkySpiInit
(
const
rxSpiConfig_t
*
rxSpiConfig
,
rxRuntimeConfig_t
*
rxRuntimeConfig
);
30
rx_spi_received_e
frSkySpiDataReceived
(
uint8_t
*packet);
31
rx_spi_received_e
frSkySpiProcessFrame
(
uint8_t
*packet);
32
void
frSkySpiSetRcData
(
uint16_t
*
rcData
,
const
uint8_t
*payload);
uint16_t
unsigned short uint16_t
Definition:
types.h:16
frSkySpiInit
bool frSkySpiInit(const rxSpiConfig_t *rxSpiConfig, rxRuntimeConfig_t *rxRuntimeConfig)
Definition:
cc2500_frsky_shared.c:433
rcData
int16_t rcData[MAX_SUPPORTED_RC_CHANNEL_COUNT]
Definition:
cc2500_rx.c:118
rxRuntimeConfig
rxRuntimeConfig_t rxRuntimeConfig
Definition:
cc2500_rx.c:131
frSkySpiSetRcData
void frSkySpiSetRcData(uint16_t *rcData, const uint8_t *payload)
Definition:
cc2500_frsky_shared.c:407
cc2500_settings.h
frSkySpiDataReceived
rx_spi_received_e frSkySpiDataReceived(uint8_t *packet)
Definition:
cc2500_frsky_shared.c:327
uint8_t
unsigned char uint8_t
Definition:
types.h:14
rxSpiConfig
const rxSpiConfig_t * rxSpiConfig(void)
Definition:
cc2500_settings.c:87
rxRuntimeConfig_s
Definition:
cc2500_rx.h:142
rx_spi_received_e
rx_spi_received_e
Definition:
cc2500_rx_spi.h:54
rxSpiConfig_s
Definition:
cc2500_settings.h:96
frSkySpiProcessFrame
rx_spi_received_e frSkySpiProcessFrame(uint8_t *packet)
Definition:
cc2500_frsky_shared.c:398
cc2500_compat.h
sw
airborne
subsystems
radio_control
cc2500_frsky
cc2500_frsky_common.h
Generated on Tue Feb 1 2022 13:51:18 for Paparazzi UAS by
1.8.17