Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
intermcu_ap.c File Reference

Rotorcraft Inter-MCU on the autopilot. More...

#include "intermcu_ap.h"
#include "intermcu_msg.h"
#include "subsystems/radio_control.h"
#include "subsystems/datalink/pprz_transport.h"
#include "mcu_periph/uart.h"
+ Include dependency graph for intermcu_ap.c:

Go to the source code of this file.

Functions

static void intermcu_parse_msg (struct transport_rx *trans, void(*rc_frame_handler)(void))
 
void intermcu_init (void)
 
void intermcu_periodic (void)
 
void intermcu_set_actuators (pprz_t *command_values, uint8_t ap_mode)
 
void RadioControlEvent (void(*frame_handler)(void))
 

Variables

static struct link_deviceintermcu_device = (&((INTERMCU_LINK).device))
 
static struct pprz_transport intermcu_transport
 
struct intermcu_t inter_mcu
 

Detailed Description

Rotorcraft Inter-MCU on the autopilot.

Definition in file intermcu_ap.c.

Function Documentation

void intermcu_init ( void  )

Definition at line 44 of file intermcu_ap.c.

Referenced by main_init().

+ Here is the caller graph for this function:

static void intermcu_parse_msg ( struct transport_rx trans,
void(*)(void)  rc_frame_handler 
)
inlinestatic
void intermcu_periodic ( void  )

Definition at line 49 of file intermcu_ap.c.

Referenced by main_periodic().

+ Here is the caller graph for this function:

void intermcu_set_actuators ( pprz_t command_values,
uint8_t  ap_mode 
)

Definition at line 59 of file intermcu_ap.c.

References INTERMCU_AP, intermcu_transport, and pprz_transport::trans_tx.

Referenced by main_periodic().

+ Here is the caller graph for this function:

void RadioControlEvent ( void(*)(void)  frame_handler)

Variable Documentation

struct intermcu_t inter_mcu

Definition at line 41 of file intermcu_ap.c.

Referenced by autopilot_on_rc_frame(), intermcu_periodic(), and main_periodic().

struct link_device* intermcu_device = (&((INTERMCU_LINK).device))
static

Definition at line 38 of file intermcu_ap.c.

struct pprz_transport intermcu_transport
static

Definition at line 39 of file intermcu_ap.c.

Referenced by intermcu_init(), intermcu_set_actuators(), and RadioControlEvent().