Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
cc2500_frsky_x.h File Reference
#include "cc2500_compat.h"
Include dependency graph for cc2500_frsky_x.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RC_CHANNEL_COUNT_FRSKY_X   16

Functions

void frSkyXSetRcData (uint16_t *rcData, const uint8_t *payload)
void frSkyXInit (const rx_spi_protocol_e spiProtocol)
rx_spi_received_e frSkyXHandlePacket (uint8_t *const packet, uint8_t *const protocolState)
rx_spi_received_e frSkyXProcessFrame (uint8_t *const packet)

Macro Definition Documentation

◆ RC_CHANNEL_COUNT_FRSKY_X

#define RC_CHANNEL_COUNT_FRSKY_X   16

Definition at line 29 of file cc2500_frsky_x.h.

Referenced by frSkySpiInit().

Function Documentation

◆ frSkyXHandlePacket()

◆ frSkyXInit()

void frSkyXInit ( const rx_spi_protocol_e spiProtocol)

Definition at line 582 of file cc2500_frsky_x.c.

References FEATURE_TELEMETRY, featureIsEnabled, frSkyXTelemetryWriteFrame(), initSmartPortTelemetryExternal(), packetLength, RX_SPI_FRSKY_X, RX_SPI_FRSKY_X_LBT, spiProtocol, telemetryDelayUs, and telemetryEnabled.

Referenced by frSkySpiInit().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ frSkyXProcessFrame()

rx_spi_received_e frSkyXProcessFrame ( uint8_t *const packet)

Definition at line 544 of file cc2500_frsky_x.c.

References frSkyXCheckQueueEmpty(), millis, processSmartPortTelemetry(), remoteToProcessId, remoteToProcessIndex, RX_SPI_RECEIVED_NONE, smartPortDataReceive(), TELEMETRY_SEQUENCE_LENGTH, telemetryRxBuffer, and UNUSED.

Referenced by frSkySpiInit().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ frSkyXSetRcData()

void frSkyXSetRcData ( uint16_t * rcData,
const uint8_t * payload )

Definition at line 304 of file cc2500_frsky_x.c.

References rcData.

Referenced by frSkySpiInit().

Here is the caller graph for this function: