Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
inter_mcu.c File Reference
#include "inter_mcu.h"
#include "link_mcu.h"
+ Include dependency graph for inter_mcu.c:

Go to the source code of this file.

Functions

 PPRZ_MUTEX (ap_state_mtx)
 
 PPRZ_MUTEX (fbw_state_mtx)
 

Variables

struct fbw_state * fbw_state = &link_mcu_from_fbw_msg.payload.from_fbw
 
struct ap_state * ap_state = &link_mcu_from_ap_msg.payload.from_ap
 
volatile bool inter_mcu_received_fbw = false
 
volatile bool inter_mcu_received_ap = false
 

Detailed Description

Communication between fbw and ap processes.

Definition in file inter_mcu.c.

Function Documentation

◆ PPRZ_MUTEX() [1/2]

PPRZ_MUTEX ( ap_state_mtx  )

◆ PPRZ_MUTEX() [2/2]

PPRZ_MUTEX ( fbw_state_mtx  )

Variable Documentation

◆ ap_state

struct ap_state* ap_state = &link_mcu_from_ap_msg.payload.from_ap

◆ fbw_state

struct fbw_state* fbw_state = &link_mcu_from_fbw_msg.payload.from_fbw

◆ inter_mcu_received_ap

volatile bool inter_mcu_received_ap = false

◆ inter_mcu_received_fbw

volatile bool inter_mcu_received_fbw = false

Definition at line 40 of file inter_mcu.c.

Referenced by event_task_ap(), link_mcu_on_can_msg(), and parse_mavpilot_msg().