Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
rc_intermcu.c File Reference

Radio control input via intermcu. More...

#include "modules/radio_control/rc_intermcu.h"
#include "modules/radio_control/radio_control.h"
#include "pprzlink/intermcu_msg.h"
#include "modules/core/abi.h"
+ Include dependency graph for rc_intermcu.c:

Go to the source code of this file.

Data Structures

struct  _rc_intermcu
 

Functions

void rc_intermcu_init (void)
 RC init function. More...
 
void rc_intermcu_parse_msg (uint8_t *buf)
 Decode intermcu message to get rc values and FBW status for RC status and frame rate TODO make a single message. More...
 
void rc_intermcu_parse_fbw_status (uint8_t *buf)
 

Variables

static struct _rc_intermcu rc_intermcu
 

Detailed Description

Radio control input via intermcu.

Definition in file rc_intermcu.c.


Data Structure Documentation

◆ _rc_intermcu

struct _rc_intermcu

Definition at line 32 of file rc_intermcu.c.

Data Fields
uint8_t frame_rate
uint8_t status
uint16_t values[RC_IMCU_NB_CHANNEL]

Function Documentation

◆ rc_intermcu_init()

void rc_intermcu_init ( void  )

◆ rc_intermcu_parse_fbw_status()

void rc_intermcu_parse_fbw_status ( uint8_t buf)

◆ rc_intermcu_parse_msg()

void rc_intermcu_parse_msg ( uint8_t buf)

Decode intermcu message to get rc values and FBW status for RC status and frame rate TODO make a single message.

Definition at line 51 of file rc_intermcu.c.

References RadioControl::frame_cpt, radio_control, RADIO_CONTROL_INTERMCU_ID, RadioControl::radio_ok_cpt, rc_intermcu, RC_OK, RadioControl::status, RadioControl::time_since_last_frame, RadioControl::values, and _rc_intermcu::values.

Variable Documentation

◆ rc_intermcu

struct _rc_intermcu rc_intermcu
static