Paparazzi UAS  v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
superbitrf_rc.c File Reference

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

+ Include dependency graph for superbitrf_rc.c:

Go to the source code of this file.

Functions

void radio_control_impl_init (void)
 Initialization. More...
 
static void superbitrf_rc_normalize (int16_t *in, int16_t *out, uint8_t count)
 normalize superbitrf rc_values to radio values More...
 
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.c.

Function Documentation

void radio_control_impl_event ( void(*)(void)  _received_frame_handler)
void radio_control_impl_init ( void  )

Initialization.

Main Radio initialization.

Definition at line 34 of file superbitrf_rc.c.

References spektrum_available, and superbitrf_init().

+ Here is the call graph for this function:

static void superbitrf_rc_normalize ( int16_t in,
int16_t out,
uint8_t  count 
)
static

normalize superbitrf rc_values to radio values

Definition at line 40 of file superbitrf_rc.c.

References MAX_PPRZ, MIN_PPRZ, and RADIO_THROTTLE.

Referenced by radio_control_impl_event().

+ Here is the caller graph for this function: