Paparazzi UAS  v5.15_devel-99-g2ff7410
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
superbitrf_rc.h File Reference

DSM2 and DSMX radio control implementation for the cyrf6936 2.4GHz radio chip trough SPI. More...

#include "subsystems/datalink/superbitrf.h"
+ Include dependency graph for superbitrf_rc.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RADIO_CONTROL_NB_CHANNEL   14
 
#define RADIO_THROTTLE   0
 
#define RADIO_ROLL   1
 
#define RADIO_PITCH   2
 
#define RADIO_YAW   3
 
#define RADIO_GEAR   4
 
#define RADIO_FLAP   5
 
#define RADIO_AUX1   5
 
#define RADIO_AUX2   6
 
#define RADIO_AUX3   7
 
#define RADIO_AUX4   8
 
#define RADIO_AUX5   9
 
#define RADIO_AUX6   10
 
#define RADIO_AUX7   11
 
#define RADIO_AUX8   12
 
#define RADIO_AUX9   13
 
#define RADIO_MODE   RADIO_GEAR
 
#define RadioControlEvent(_received_frame_handler)   radio_control_impl_event(_received_frame_handler)
 

Functions

void radio_control_impl_event (void(*_received_frame_handler)(void))
 RC event function with handler callback. More...
 

Detailed Description

DSM2 and DSMX radio control implementation for the cyrf6936 2.4GHz radio chip trough SPI.

Definition in file superbitrf_rc.h.

Macro Definition Documentation

#define RADIO_AUX1   5

Definition at line 60 of file superbitrf_rc.h.

#define RADIO_AUX2   6

Definition at line 63 of file superbitrf_rc.h.

#define RADIO_AUX3   7

Definition at line 66 of file superbitrf_rc.h.

#define RADIO_AUX4   8

Definition at line 69 of file superbitrf_rc.h.

#define RADIO_AUX5   9

Definition at line 72 of file superbitrf_rc.h.

#define RADIO_AUX6   10

Definition at line 75 of file superbitrf_rc.h.

#define RADIO_AUX7   11

Definition at line 78 of file superbitrf_rc.h.

#define RADIO_AUX8   12

Definition at line 81 of file superbitrf_rc.h.

#define RADIO_AUX9   13

Definition at line 84 of file superbitrf_rc.h.

#define RADIO_CONTROL_NB_CHANNEL   14

Definition at line 33 of file superbitrf_rc.h.

#define RADIO_FLAP   5

Definition at line 57 of file superbitrf_rc.h.

#define RADIO_GEAR   4

Definition at line 54 of file superbitrf_rc.h.

#define RADIO_MODE   RADIO_GEAR

Definition at line 89 of file superbitrf_rc.h.

#define RADIO_PITCH   2

Definition at line 48 of file superbitrf_rc.h.

#define RADIO_ROLL   1

Definition at line 45 of file superbitrf_rc.h.

#define RADIO_THROTTLE   0

Definition at line 42 of file superbitrf_rc.h.

#define RADIO_YAW   3

Definition at line 51 of file superbitrf_rc.h.

#define RadioControlEvent (   _received_frame_handler)    radio_control_impl_event(_received_frame_handler)

Definition at line 98 of file superbitrf_rc.h.

Function Documentation