Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
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 superbitrf_rc_init (void)
 Initialization.
static void superbitrf_rc_normalize (int16_t *in, int16_t *out, uint8_t count)
 normalize superbitrf rc_values to radio values
void superbitrf_rc_event (void)
 RC event function.

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

◆ superbitrf_rc_event()

void superbitrf_rc_event ( void )

RC event function.

Definition at line 58 of file superbitrf_rc.c.

References cyrf6936_event(), radio_control, RADIO_CONTROL_SUPERBITRF_RC_ID, RC_OK, superbitrf, superbitrf_event(), and superbitrf_rc_normalize().

Here is the call graph for this function:

◆ superbitrf_rc_init()

void superbitrf_rc_init ( void )

Initialization.

RC init function.

Definition at line 37 of file superbitrf_rc.c.

References radio_control, superbitrf_init(), and SUPERBITRF_RC_NB_CHANNEL.

Here is the call graph for this function:

◆ superbitrf_rc_normalize()

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

normalize superbitrf rc_values to radio values

Definition at line 44 of file superbitrf_rc.c.

References MAX_PPRZ, MIN_PPRZ, and RADIO_THROTTLE.

Referenced by superbitrf_rc_event().

Here is the caller graph for this function: