Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
link_mcu_spi.h File Reference
#include <inttypes.h>
#include "inter_mcu.h"
#include "mcu_periph/spi.h"
#include "link_mcu_hw.h"
+ Include dependency graph for link_mcu_spi.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_init (void)
 
void link_mcu_event_task (void)
 

Variables

struct link_mcu_msg link_mcu_from_ap_msg
 
struct link_mcu_msg link_mcu_from_fbw_msg
 
struct spi_transaction link_mcu_trans
 
bool link_mcu_received
 

Detailed Description

Transport for the communication between FBW and AP via SPI.

Definition in file link_mcu_spi.h.


Data Structure Documentation

◆ link_mcu_msg

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

◆ link_mcu_msg.payload

union link_mcu_msg.payload

Definition at line 39 of file link_mcu_spi.h.

Data Fields
struct ap_state from_ap
struct fbw_state from_fbw

Function Documentation

◆ link_mcu_event_task()

void link_mcu_event_task ( void  )

Definition at line 229 of file link_mcu_can.c.

◆ link_mcu_init()

void link_mcu_init ( void  )

Definition at line 216 of file link_mcu_can.c.

Variable Documentation

◆ link_mcu_from_ap_msg

struct link_mcu_msg link_mcu_from_ap_msg

Definition at line 176 of file link_mcu_can.c.

◆ link_mcu_from_fbw_msg

struct link_mcu_msg link_mcu_from_fbw_msg

Definition at line 177 of file link_mcu_can.c.

◆ link_mcu_received

bool link_mcu_received

Definition at line 34 of file link_mcu_spi.c.

◆ link_mcu_trans

struct spi_transaction link_mcu_trans

Definition at line 32 of file link_mcu_spi.c.