Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
intermcu_ap.h File Reference

Inter-MCU on the AP side. More...

#include "modules/intermcu/intermcu.h"
#include "generated/airframe.h"
+ Include dependency graph for intermcu_ap.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  fbw_status_t
 

Functions

void intermcu_send_commands (pprz_t *command_values, uint8_t ap_mode)
 send command vector over intermcu link instead of actuators More...
 
void intermcu_send_spektrum_bind (void)
 send binding signal for spektrum receiver More...
 
void intermcu_set_enabled (bool value)
 enable/disable intermcu link More...
 
void intermcu_parse_IMCU_FBW_STATUS (uint8_t *buf)
 Datalink event functions. More...
 

Detailed Description

Inter-MCU on the AP side.

Definition in file intermcu_ap.h.


Data Structure Documentation

◆ fbw_status_t

struct fbw_status_t

Definition at line 50 of file intermcu_ap.h.

Data Fields
uint8_t frame_rate
uint8_t mode
uint8_t rc_status

Function Documentation

◆ intermcu_parse_IMCU_FBW_STATUS()

void intermcu_parse_IMCU_FBW_STATUS ( uint8_t buf)

◆ intermcu_send_commands()

void intermcu_send_commands ( pprz_t command_values,
uint8_t  ap_mode 
)

send command vector over intermcu link instead of actuators

Definition at line 129 of file intermcu_ap.c.

References autopilot_get_motors_on(), intermcu_t::cmd_status, intermcu_t::device, intermcu_t::enabled, intermcu, INTERMCU_CMD_MOTORS_ON, INTERMCU_SET_CMD_STATUS, and intermcu_t::transport.

+ Here is the call graph for this function:

◆ intermcu_send_spektrum_bind()

void intermcu_send_spektrum_bind ( void  )

send binding signal for spektrum receiver

Definition at line 147 of file intermcu_ap.c.

References intermcu_t::device, intermcu_t::enabled, intermcu, and intermcu_t::transport.

Referenced by spektrum_soft_bind_click().

+ Here is the caller graph for this function:

◆ intermcu_set_enabled()

void intermcu_set_enabled ( bool  value)

enable/disable intermcu link

Definition at line 123 of file intermcu_ap.c.

References intermcu_t::enabled, and intermcu.

Referenced by px4flash_event().

+ Here is the caller graph for this function: