Paparazzi UAS  v6.2_unstable
Paparazzi is a free software Unmanned Aircraft System.
intermcu_fbw.h File Reference

Inter-MCU on FlyByWire side. More...

#include "modules/intermcu/intermcu.h"
#include "pprzlink/intermcu_msg.h"
+ Include dependency graph for intermcu_fbw.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define INTERMCU_RADIO_THROTTLE   0
 
#define INTERMCU_RADIO_ROLL   1
 
#define INTERMCU_RADIO_PITCH   2
 
#define INTERMCU_RADIO_YAW   3
 
#define INTERMCU_RADIO_MODE   4
 
#define INTERMCU_RADIO_KILL_SWITCH   5
 
#define INTERMCU_RADIO_AUX1   5
 
#define INTERMCU_RADIO_AUX2   6
 
#define INTERMCU_RADIO_AUX3   7
 
#define INTERMCU_RADIO_CONTROL_NB_CHANNEL   8
 

Functions

void intermcu_send_status (void)
 send fbw status message More...
 
void intermcu_parse_IMCU_COMMANDS (uint8_t *buf)
 Datalink event functions. More...
 
void intermcu_parse_IMCU_SPEKTRUM_SOFT_BIND (uint8_t *buf)
 
void intermcu_forward_uplink (uint8_t *buf)
 

Variables

bool intermcu_ap_motors_on
 
pprz_t intermcu_commands [COMMANDS_NB]
 

Detailed Description

Inter-MCU on FlyByWire side.

Definition in file intermcu_fbw.h.

Macro Definition Documentation

◆ INTERMCU_RADIO_AUX1

#define INTERMCU_RADIO_AUX1   5

Definition at line 55 of file intermcu_fbw.h.

◆ INTERMCU_RADIO_AUX2

#define INTERMCU_RADIO_AUX2   6

Definition at line 56 of file intermcu_fbw.h.

◆ INTERMCU_RADIO_AUX3

#define INTERMCU_RADIO_AUX3   7

Definition at line 57 of file intermcu_fbw.h.

◆ INTERMCU_RADIO_CONTROL_NB_CHANNEL

#define INTERMCU_RADIO_CONTROL_NB_CHANNEL   8

Definition at line 59 of file intermcu_fbw.h.

◆ INTERMCU_RADIO_KILL_SWITCH

#define INTERMCU_RADIO_KILL_SWITCH   5

Definition at line 54 of file intermcu_fbw.h.

◆ INTERMCU_RADIO_MODE

#define INTERMCU_RADIO_MODE   4

Definition at line 53 of file intermcu_fbw.h.

◆ INTERMCU_RADIO_PITCH

#define INTERMCU_RADIO_PITCH   2

Definition at line 51 of file intermcu_fbw.h.

◆ INTERMCU_RADIO_ROLL

#define INTERMCU_RADIO_ROLL   1

Definition at line 50 of file intermcu_fbw.h.

◆ INTERMCU_RADIO_THROTTLE

#define INTERMCU_RADIO_THROTTLE   0

Definition at line 49 of file intermcu_fbw.h.

◆ INTERMCU_RADIO_YAW

#define INTERMCU_RADIO_YAW   3

Definition at line 52 of file intermcu_fbw.h.

Function Documentation

◆ intermcu_forward_uplink()

void intermcu_forward_uplink ( uint8_t buf)

Definition at line 197 of file intermcu_fbw.c.

References intermcu_t::device, intermcu, intermcu_dl_repack(), and intermcu_t::transport.

+ Here is the call graph for this function:

◆ intermcu_parse_IMCU_COMMANDS()

◆ intermcu_parse_IMCU_SPEKTRUM_SOFT_BIND()

void intermcu_parse_IMCU_SPEKTRUM_SOFT_BIND ( uint8_t buf)

Definition at line 190 of file intermcu_fbw.c.

References received_spektrum_soft_bind().

+ Here is the call graph for this function:

◆ intermcu_send_status()

void intermcu_send_status ( void  )

Variable Documentation

◆ intermcu_ap_motors_on

bool intermcu_ap_motors_on

Definition at line 67 of file intermcu_fbw.c.

Referenced by intermcu_parse_IMCU_COMMANDS(), and main_task_periodic().

◆ intermcu_commands

pprz_t intermcu_commands[COMMANDS_NB]

Definition at line 66 of file intermcu_fbw.c.

Referenced by intermcu_parse_IMCU_COMMANDS(), and main_task_periodic().