Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
superbitrf_rc.h File Reference

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

#include "modules/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 SUPERBITRF_RC_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
 

Functions

void superbitrf_rc_init (void)
 RC init function. More...
 
void superbitrf_rc_event (void)
 RC event function. 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

◆ RADIO_AUX1

#define RADIO_AUX1   5

Definition at line 54 of file superbitrf_rc.h.

◆ RADIO_AUX2

#define RADIO_AUX2   6

Definition at line 57 of file superbitrf_rc.h.

◆ RADIO_AUX3

#define RADIO_AUX3   7

Definition at line 60 of file superbitrf_rc.h.

◆ RADIO_AUX4

#define RADIO_AUX4   8

Definition at line 63 of file superbitrf_rc.h.

◆ RADIO_AUX5

#define RADIO_AUX5   9

Definition at line 66 of file superbitrf_rc.h.

◆ RADIO_AUX6

#define RADIO_AUX6   10

Definition at line 69 of file superbitrf_rc.h.

◆ RADIO_AUX7

#define RADIO_AUX7   11

Definition at line 72 of file superbitrf_rc.h.

◆ RADIO_AUX8

#define RADIO_AUX8   12

Definition at line 75 of file superbitrf_rc.h.

◆ RADIO_AUX9

#define RADIO_AUX9   13

Definition at line 78 of file superbitrf_rc.h.

◆ RADIO_FLAP

#define RADIO_FLAP   5

Definition at line 51 of file superbitrf_rc.h.

◆ RADIO_GEAR

#define RADIO_GEAR   4

Definition at line 48 of file superbitrf_rc.h.

◆ RADIO_MODE

#define RADIO_MODE   RADIO_GEAR

Definition at line 83 of file superbitrf_rc.h.

◆ RADIO_PITCH

#define RADIO_PITCH   2

Definition at line 42 of file superbitrf_rc.h.

◆ RADIO_ROLL

#define RADIO_ROLL   1

Definition at line 39 of file superbitrf_rc.h.

◆ RADIO_THROTTLE

#define RADIO_THROTTLE   0

Definition at line 36 of file superbitrf_rc.h.

◆ RADIO_YAW

#define RADIO_YAW   3

Definition at line 45 of file superbitrf_rc.h.

◆ SUPERBITRF_RC_NB_CHANNEL

#define SUPERBITRF_RC_NB_CHANNEL   14

Definition at line 32 of file superbitrf_rc.h.

Function Documentation

◆ superbitrf_rc_event()

◆ superbitrf_rc_init()

void superbitrf_rc_init ( void  )

RC init function.

RC init function.

Definition at line 37 of file superbitrf_rc.c.

References RadioControl::nb_channel, radio_control, superbitrf_init(), and SUPERBITRF_RC_NB_CHANNEL.

+ Here is the call graph for this function: