Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the source code of this file.
Macros | |
#define | MAX_MISSING_PKT 100 |
#define | DEBUG_DATA_ERROR_COUNT 0 |
#define | DEBUG_DATA_MISSING_PACKETS 1 |
#define | DEBUG_DATA_BAD_FRAME 2 |
#define | SYNC_DELAY_MAX 9000 |
#define | MAX_MISSING_PKT 100 |
Enumerations | |
enum | { STATE_INIT = 0, STATE_BIND, STATE_BIND_TUNING, STATE_BIND_BINDING1, STATE_BIND_BINDING2, STATE_BIND_COMPLETE, STATE_STARTING, STATE_UPDATE, STATE_DATA, STATE_TELEMETRY, STATE_RESUME } |
Functions | |
void | initialiseData (bool inBindState) |
void | nextChannel (uint8_t skip) |
Variables | |
uint8_t | listLength |
uint32_t | missingPackets |
timeDelta_t | timeoutUs |
#define DEBUG_DATA_BAD_FRAME 2 |
Definition at line 30 of file cc2500_frsky_shared.h.
#define DEBUG_DATA_ERROR_COUNT 0 |
Definition at line 28 of file cc2500_frsky_shared.h.
#define DEBUG_DATA_MISSING_PACKETS 1 |
Definition at line 29 of file cc2500_frsky_shared.h.
#define MAX_MISSING_PKT 100 |
Definition at line 35 of file cc2500_frsky_shared.h.
#define MAX_MISSING_PKT 100 |
Definition at line 35 of file cc2500_frsky_shared.h.
#define SYNC_DELAY_MAX 9000 |
Definition at line 33 of file cc2500_frsky_shared.h.
anonymous enum |
Enumerator | |
---|---|
STATE_INIT | |
STATE_BIND | |
STATE_BIND_TUNING | |
STATE_BIND_BINDING1 | |
STATE_BIND_BINDING2 | |
STATE_BIND_COMPLETE | |
STATE_STARTING | |
STATE_UPDATE | |
STATE_DATA | |
STATE_TELEMETRY | |
STATE_RESUME |
Definition at line 37 of file cc2500_frsky_shared.h.
void initialiseData | ( | bool | inBindState | ) |
Definition at line 169 of file cc2500_frsky_shared.c.
References bindOffset, CC2500_03_FIFOTHR, CC2500_07_PKTCTRL1, CC2500_09_ADDR, CC2500_0C_FSCTRL0, CC2500_18_MCSM0, CC2500_19_FOCCFG, cc2500WriteReg(), delay, and rxCc2500SpiConfig().
Referenced by frSkySpiDataReceived(), and frSkyXHandlePacket().
void nextChannel | ( | uint8_t | skip | ) |
Definition at line 412 of file cc2500_frsky_shared.c.
References calData, CC2500_0A_CHANNR, CC2500_23_FSCAL3, CC2500_24_FSCAL2, CC2500_25_FSCAL1, CC2500_SFRX, CC2500_SIDLE, cc2500Strobe(), cc2500WriteReg(), listLength, RX_SPI_FRSKY_D, rxCc2500SpiConfig(), and spiProtocol.
Referenced by frSkyXHandlePacket().
uint8_t listLength |
Definition at line 72 of file cc2500_frsky_shared.c.
Referenced by frSkyXHandlePacket(), getBind2(), initGetBind(), and nextChannel().
uint32_t missingPackets |
Definition at line 67 of file cc2500_frsky_shared.c.
Referenced by frSkySpiInit(), and frSkyXHandlePacket().
timeDelta_t timeoutUs |
Definition at line 68 of file cc2500_frsky_shared.c.
Referenced by frSkySpiInit(), and frSkyXHandlePacket().