Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
link_mcu_usart.h File Reference
#include <inttypes.h>
#include "inter_mcu.h"
+ Include dependency graph for link_mcu_usart.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  link_mcu_msg
 Transport for the communication between FBW and AP in a bi-process architecture. More...


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


struct link_mcu_msg link_mcu_from_ap_msg
struct link_mcu_msg link_mcu_from_fbw_msg
bool_t link_mcu_received

Function Documentation

void link_mcu_event_task ( void  )

Definition at line 381 of file link_mcu_usart.c.

References FALSE, intermcu_data, intermcu_parse(), InterMcuBuffer, InterMcuLink, InterMcuData::msg_available, and parse_mavpilot_msg().

+ Here is the call graph for this function:

void link_mcu_init ( void  )

Definition at line 279 of file link_mcu_usart.c.

References InterMcuData::error_cnt, FALSE, intermcu_data, LINK_MCU_UNINIT, InterMcuData::msg_available, register_periodic_telemetry(), and InterMcuData::status.

+ Here is the call graph for this function:

void link_mcu_periodic_task ( void  )

Referenced by periodic_task_fbw().

+ Here is the caller graph for this function:

void link_mcu_send ( void  )

Referenced by attitude_loop().

+ Here is the caller graph for this function:

Variable Documentation

struct link_mcu_msg link_mcu_from_ap_msg

Definition at line 29 of file link_mcu_spi.c.

struct link_mcu_msg link_mcu_from_fbw_msg

Definition at line 30 of file link_mcu_spi.c.

bool_t link_mcu_received

Definition at line 34 of file link_mcu_spi.c.

Referenced by event_task_fbw().