Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
#include "link_mcu_spi.h"
Go to the source code of this file.
Macros | |
#define | LINK_MCU_SPI_DEV spi1 |
#define | PAYLOAD_LENGTH sizeof(link_mcu_from_fbw_msg.payload) |
#define | LINK_MCU_FRAME_LENGTH sizeof(struct link_mcu_msg) |
#define | ComputeChecksum(_buf) |
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_t | link_mcu_received |
static uint16_t | crc = 0 |
#define ComputeChecksum | ( | _buf | ) |
Definition at line 41 of file link_mcu_spi.c.
#define LINK_MCU_FRAME_LENGTH sizeof(struct link_mcu_msg) |
Definition at line 39 of file link_mcu_spi.c.
#define LINK_MCU_SPI_DEV spi1 |
Definition at line 26 of file link_mcu_spi.c.
#define PAYLOAD_LENGTH sizeof(link_mcu_from_fbw_msg.payload) |
Definition at line 38 of file link_mcu_spi.c.
|
static |
Definition at line 36 of file link_mcu_spi.c.
Referenced by actuators_asctec_v2_set(), calculateCRC(), config_mkk_v2_crc(), CrcUpdate(), humid_sht_crc(), ir_mlx_crc(), logger_uart_periodic(), ms5611_prom_crc_ok(), and nmea_configure().
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().
struct spi_transaction link_mcu_trans |
Definition at line 32 of file link_mcu_spi.c.