Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "cc2500_paparazzi.h"
#include "modules/radio_control/radio_control.h"
#include "modules/core/abi.h"
#include "peripherals/cc2500.h"
#include "cc2500_common.h"
#include "cc2500_frsky_common.h"
#include "cc2500_settings.h"
#include "cc2500_rx.h"
#include <stdint.h>
#include "modules/datalink/telemetry.h"
Go to the source code of this file.
Functions | |
static void | send_cc2500_ppm (struct transport_tx *trans, struct link_device *dev) |
void | radio_control_cc2500_init (void) |
void | radio_control_cc2500_event (void) |
Variables | |
static uint16_t | frsky_raw [RADIO_CTL_NB] |
void radio_control_cc2500_event | ( | void | ) |
Definition at line 63 of file cc2500_paparazzi.c.
References RadioControl::frame_cpt, frsky_raw, radio_control, RADIO_CONTROL_FRSKY_ID, RadioControl::radio_ok_cpt, RC_OK, rxRuntimeConfig_s::rcFrameStatusFn, rxRuntimeConfig_s::rcProcessFrameFn, rxRuntimeConfig_s::rcReadRawFn, RX_FRAME_COMPLETE, rxRuntimeConfig, RadioControl::status, and RadioControl::time_since_last_frame.
void radio_control_cc2500_init | ( | void | ) |
Definition at line 51 of file cc2500_paparazzi.c.
References cc2500_init(), cc2500_settings_init(), cc2500Reset(), DefaultPeriodic, RadioControl::nb_channel, radio_control, register_periodic_telemetry(), rxInit(), and send_cc2500_ppm().
|
static |
Definition at line 41 of file cc2500_paparazzi.c.
References dev, RadioControl::frame_rate, frsky_raw, and radio_control.
Referenced by radio_control_cc2500_init().
|
static |
Definition at line 35 of file cc2500_paparazzi.c.
Referenced by radio_control_cc2500_event(), and send_cc2500_ppm().