Paparazzi UAS  v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
qr_code_spi_link.c File Reference
#include "qr_code_spi_link.h"
#include "subsystems/imu.h"
#include "mcu_periph/spi.h"
#include "mcu_periph/uart.h"
#include "pprzlink/messages.h"
#include "subsystems/datalink/downlink.h"
+ Include dependency graph for qr_code_spi_link.c:

Go to the source code of this file.


static void qr_code_spi_link_trans_cb (struct spi_transaction *trans)
void qr_code_spi_link_init (void)
void qr_code_spi_link_periodic (void)


struct spi_transaction qr_code_spi_link_transaction
static volatile bool qr_code_spi_data_available = false
uint8_t testDataOut [3] = {1, 2, 3}
uint8_t testDataIn [3] = {9, 9, 9}

Function Documentation

void qr_code_spi_link_periodic ( void  )

Definition at line 58 of file qr_code_spi_link.c.

References DefaultChannel, DefaultDevice, h(), spi_transaction::input_buf, qr_code_spi_data_available, qr_code_spi_link_transaction, spi1, and spi_slave_register().

+ Here is the call graph for this function:

static void qr_code_spi_link_trans_cb ( struct spi_transaction trans)

Definition at line 74 of file qr_code_spi_link.c.

References qr_code_spi_data_available.

Referenced by qr_code_spi_link_init().

+ Here is the caller graph for this function:

Variable Documentation

volatile bool qr_code_spi_data_available = false

Definition at line 35 of file qr_code_spi_link.c.

Referenced by qr_code_spi_link_periodic(), and qr_code_spi_link_trans_cb().

struct spi_transaction qr_code_spi_link_transaction

Definition at line 33 of file qr_code_spi_link.c.

Referenced by qr_code_spi_link_init(), and qr_code_spi_link_periodic().

uint8_t testDataIn[3] = {9, 9, 9}

Definition at line 38 of file qr_code_spi_link.c.

Referenced by qr_code_spi_link_init().

uint8_t testDataOut[3] = {1, 2, 3}

Definition at line 37 of file qr_code_spi_link.c.

Referenced by qr_code_spi_link_init().