|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
28 #ifndef LIS302DL_SPI_H
29 #define LIS302DL_SPI_H
70 #endif // LIS302DL_SPI_H
void lis302dl_spi_event(struct Lis302dl_Spi *lis)
struct spi_transaction spi_trans
struct spi_periph * spi_p
union Lis302dl_Spi::@322 data
SPI transaction structure.
enum Lis302dlConfStatus init_status
init status
Paparazzi fixed point algebra.
SPI peripheral structure.
volatile uint8_t rx_buf[8]
volatile bool data_available
data ready flag
void lis302dl_spi_read(struct Lis302dl_Spi *lis)
static void lis302dl_spi_periodic(struct Lis302dl_Spi *lis)
convenience function: read or start configuration if not already initialized
void lis302dl_spi_init(struct Lis302dl_Spi *lis, struct spi_periph *spi_p, uint8_t addr)
volatile uint8_t tx_buf[2]
void lis302dl_spi_start_configure(struct Lis302dl_Spi *lis)
struct Lis302dlConfig config
bool initialized
config done flag