Paparazzi UAS  v4.2.2_stable-4-gcc32f65
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros 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 342 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 247 of file link_mcu_usart.c.

References InterMcuData::error_cnt, FALSE, intermcu_data, InterMcuData::msg_available, InterMcuData::status, and UNINIT.

Referenced by init_ap().

+ Here is the caller 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 28 of file link_mcu_spi.c.

struct link_mcu_msg link_mcu_from_fbw_msg

Definition at line 29 of file link_mcu_spi.c.

bool_t link_mcu_received

Definition at line 31 of file link_mcu_spi.c.

Referenced by event_task_fbw().