Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "generated/airframe.h"
#include "generated/radio.h"
Go to the source code of this file.
Macros | |
#define | RC_PPM_TICKS_OF_USEC(_x) (_x) |
#define | RC_PPM_SIGNED_TICKS_OF_USEC(_x) (_x) |
#define | USEC_OF_RC_PPM_TICKS(_x) (_x) |
#define | RADIO_CONTROL_NB_CHANNEL RADIO_CTL_NB |
Functions | |
void | radio_control_cc2500_init (void) |
void | radio_control_cc2500_event (void) |
#define RADIO_CONTROL_NB_CHANNEL RADIO_CTL_NB |
Definition at line 33 of file cc2500_paparazzi.h.
#define RC_PPM_SIGNED_TICKS_OF_USEC | ( | _x | ) | (_x) |
Definition at line 26 of file cc2500_paparazzi.h.
#define RC_PPM_TICKS_OF_USEC | ( | _x | ) | (_x) |
Definition at line 25 of file cc2500_paparazzi.h.
#define USEC_OF_RC_PPM_TICKS | ( | _x | ) | (_x) |
Definition at line 27 of file cc2500_paparazzi.h.
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().