enum SPIClockPolarity cpol
clock polarity control
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
uint16_t output_length
number of data words to write
struct spi_transaction qr_code_spi_link_transaction
SPI transaction structure.
enum SPIBitOrder bitorder
MSB/LSB order.
volatile uint8_t * output_buf
pointer to transmit buffer for DMA
Architecture independent SPI (Serial Peripheral Interface) API.
enum SPIClockPhase cpha
clock phase control
static void qr_code_spi_link_trans_cb(struct spi_transaction *trans)
SPICallback after_cb
NULL or function called after the transaction.
void qr_code_spi_link_init(void)
Inertial Measurement Unit interface.
uint16_t input_length
number of data words to read
#define DefaultChannel
SITL.
bool_t spi_slave_register(struct spi_periph *p, struct spi_transaction *t)
Register one (and only one) transaction to use spi as slave.
Common code for AP and FBW telemetry.
void qr_code_spi_link_periodic(void)
enum SPIDataSizeSelect dss
data transfer word size
volatile uint8_t * input_buf
pointer to receive buffer for DMA
static volatile bool_t qr_code_spi_data_available
process_rx_dma_interrupt & spi1
receive transferred over DMA