Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
link_mcu_can.h File Reference

Transport for the communication between FBW and AP via CAN. More...

#include <inttypes.h>
#include "inter_mcu.h"
+ Include dependency graph for link_mcu_can.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

Functions

void link_mcu_send (void)
 
void link_mcu_init (void)
 
void link_mcu_event_task (void)
 
void link_mcu_periodic_task (void)
 

Variables

struct link_mcu_msg link_mcu_from_ap_msg
 
struct link_mcu_msg link_mcu_from_fbw_msg
 
bool link_mcu_received
 

Detailed Description

Transport for the communication between FBW and AP via CAN.

Definition in file link_mcu_can.h.


Data Structure Documentation

struct link_mcu_msg

Definition at line 33 of file link_mcu_can.h.

Data Fields
uint16_t checksum
union link_mcu_msg payload
union link_mcu_msg payload
union link_mcu_msg payload
union link_mcu_msg.payload

Definition at line 34 of file link_mcu_can.h.

Data Fields
struct ap_state from_ap
struct fbw_state from_fbw

Function Documentation

void link_mcu_event_task ( void  )

Definition at line 227 of file link_mcu_can.c.

void link_mcu_init ( void  )

Definition at line 214 of file link_mcu_can.c.

void link_mcu_periodic_task ( void  )
void link_mcu_send ( void  )

Referenced by attitude_loop(), and autopilot_generated_periodic().

+ Here is the caller graph for this function:

Variable Documentation

struct link_mcu_msg link_mcu_from_ap_msg

Definition at line 175 of file link_mcu_can.c.

struct link_mcu_msg link_mcu_from_fbw_msg

Definition at line 176 of file link_mcu_can.c.

bool link_mcu_received

Definition at line 34 of file link_mcu_spi.c.