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_rx_spi.h
Go to the documentation of this file.
1#include "cc2500_compat.h"
2
3#include "cc2500_settings.h"
4#include "cc2500_rx.h"
5
6// betaflight/src/main/rx/rx_spi.h @ 766c90b
7/*
8 * This file is part of Cleanflight and Betaflight.
9 *
10 * Cleanflight and Betaflight are free software. You can redistribute
11 * this software and/or modify this software under the terms of the
12 * GNU General Public License as published by the Free Software
13 * Foundation, either version 3 of the License, or (at your option)
14 * any later version.
15 *
16 * Cleanflight and Betaflight are distributed in the hope that they
17 * will be useful, but WITHOUT ANY WARRANTY; without even the implied
18 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19 * See the GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with this software.
23 *
24 * If not, see <http://www.gnu.org/licenses/>.
25 */
26
27#pragma once
28
29//#include "pg/rx.h"
30//#include "rx/rx.h"
31//#include "pg/rx_spi.h"
32
33// Used in MSP. Append at end.
53
60
61// RC channels in AETR order
82
83// RC channels as used by deviation
84#define RC_CHANNEL_RATE RC_SPI_AUX1
85#define RC_CHANNEL_FLIP RC_SPI_AUX2
86#define RC_CHANNEL_PICTURE RC_SPI_AUX3
87#define RC_CHANNEL_VIDEO RC_SPI_AUX4
88#define RC_CHANNEL_HEADLESS RC_SPI_AUX5
89#define RC_CHANNEL_RTH RC_SPI_AUX6 // return to home
90
rxRuntimeConfig_t rxRuntimeConfig
Definition cc2500_rx.c:131
rx_spi_protocol_e
@ RX_SPI_NRF24_INAV
@ RX_SPI_A7105_FLYSKY_2A
@ RX_SPI_NRF24_KN
@ RX_SPI_CYRF6936_DSM
@ RX_SPI_NRF24_SYMA_X
@ RX_SPI_NRF24_CX10A
@ RX_SPI_FRSKY_X
@ RX_SPI_SFHSS
@ RX_SPI_NRF24_SYMA_X5C
@ RX_SPI_NRF24_CX10
@ RX_SPI_NRF24_H8_3D
@ RX_SPI_NRF24_V202_1M
@ RX_SPI_FRSKY_D
@ RX_SPI_PROTOCOL_COUNT
@ RX_SPI_FRSKY_X_LBT
@ RX_SPI_A7105_FLYSKY
@ RX_SPI_NRF24_V202_250K
bool rxSpiInit(const rxSpiConfig_t *rxSpiConfig, rxRuntimeConfig_t *rxRuntimeConfig)
rc_spi_aetr_e
@ RC_SPI_AUX4
@ RC_SPI_AUX3
@ RC_SPI_AUX11
@ RC_SPI_AUX7
@ RC_SPI_THROTTLE
@ RC_SPI_AUX12
@ RC_SPI_YAW
@ RC_SPI_AUX6
@ RC_SPI_AUX14
@ RC_SPI_AUX2
@ RC_SPI_AUX13
@ RC_SPI_ROLL
@ RC_SPI_AUX8
@ RC_SPI_AUX9
@ RC_SPI_AUX5
@ RC_SPI_AUX10
@ RC_SPI_AUX1
@ RC_SPI_PITCH
rx_spi_received_e
@ RX_SPI_RECEIVED_NONE
@ RX_SPI_ROCESSING_REQUIRED
@ RX_SPI_RECEIVED_DATA
@ RX_SPI_RECEIVED_BIND
const rxSpiConfig_t * rxSpiConfig(void)