|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
volatile bool data_available_acc
data ready flag accelero
struct Lsm303dConfig conf
volatile uint8_t rx_buf[8]
enum Lsm303dTarget target
union Lsm303d_Spi::@324 data_accel
SPI transaction structure.
volatile uint8_t tx_buf[2]
Paparazzi fixed point algebra.
SPI peripheral structure.
static void lsm303d_spi_periodic(struct Lsm303d_Spi *lsm)
convenience function: read or start configuration if not already initialized
enum Lsm303dConfStatus init_status
Lsm303dConfStatus
config status states
void lsm303d_spi_event(struct Lsm303d_Spi *lsm)
void lsm303d_spi_start_configure(struct Lsm303d_Spi *lsm)
struct spi_periph * spi_p
void lsm303d_spi_read(struct Lsm303d_Spi *lsm)
union Lsm303d_Spi::@325 data_mag
bool initialized
config done flag
struct spi_transaction spi_trans
volatile bool data_available_mag
data ready flag magneto
void lsm303d_spi_init(struct Lsm303d_Spi *lsm, struct spi_periph *spi_p, uint8_t slave_idx, enum Lsm303dTarget target)