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_shared.h
Go to the documentation of this file.
1// betaflight/src/main/rx/cc2500_frsky_shared.h @ cb66ee0
2/*
3 * This file is part of Cleanflight and Betaflight.
4 *
5 * Cleanflight and Betaflight are free software. You can redistribute
6 * this software and/or modify this software under the terms of the
7 * GNU General Public License as published by the Free Software
8 * Foundation, either version 3 of the License, or (at your option)
9 * any later version.
10 *
11 * Cleanflight and Betaflight are distributed in the hope that they
12 * will be useful, but WITHOUT ANY WARRANTY; without even the implied
13 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 * See the GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this software.
18 *
19 * If not, see <http://www.gnu.org/licenses/>.
20 */
21
22#pragma once
23
24//#include "rx/rx_spi.h"
25
26#define MAX_MISSING_PKT 100
27
28#define DEBUG_DATA_ERROR_COUNT 0
29#define DEBUG_DATA_MISSING_PACKETS 1
30#define DEBUG_DATA_BAD_FRAME 2
31
32
33#define SYNC_DELAY_MAX 9000
34
35#define MAX_MISSING_PKT 100
36
37enum {
49};
50
51extern uint8_t listLength;
54
56
int32_t timeDelta_t
timeDelta_t timeoutUs
uint32_t missingPackets
uint8_t listLength
@ STATE_BIND_BINDING1
@ STATE_BIND_BINDING2
@ STATE_DATA
@ STATE_BIND_COMPLETE
@ STATE_TELEMETRY
@ STATE_INIT
@ STATE_STARTING
@ STATE_RESUME
@ STATE_UPDATE
@ STATE_BIND_TUNING
@ STATE_BIND
void nextChannel(uint8_t skip)
void initialiseData(bool inBindState)
uint16_t foo
Definition main_demo5.c:58
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.