|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
SPI transaction structure.
enum Adxl345ConfStatus init_status
init status
volatile uint8_t rx_buf[7]
struct spi_transaction spi_trans
volatile bool data_available
data ready flag
Paparazzi fixed point algebra.
void adxl345_spi_event(struct Adxl345_Spi *adxl)
SPI peripheral structure.
struct spi_periph * spi_p
void adxl345_spi_read(struct Adxl345_Spi *adxl)
void adxl345_spi_start_configure(struct Adxl345_Spi *adxl)
union Adxl345_Spi::@305 data
static void adxl345_spi_periodic(struct Adxl345_Spi *adxl)
convenience function: read or start configuration if not already initialized
void adxl345_spi_init(struct Adxl345_Spi *adxl, struct spi_periph *spi_p, uint8_t addr)
volatile uint8_t tx_buf[7]
struct Adxl345Config config
bool initialized
config done flag