|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
39 #define MPU9250_BUFFER_LEN 32
40 #define MPU9250_BUFFER_EXT_LEN 16
86 #endif // MPU9250_SPI_H
struct spi_periph * spi_p
static void mpu9250_spi_periodic(struct Mpu9250_Spi *mpu)
convenience function: read or start configuration if not already initialized
#define MPU9250_BUFFER_LEN
uint8_t data_ext[MPU9250_BUFFER_EXT_LEN]
union Mpu9250_Spi::@338 data_rates
@ MPU9250_SPI_CONF_I2C_MST_EN
#define MPU9250_BUFFER_EXT_LEN
SPI transaction structure.
Mpu9250SpiSlaveInitStatus
Paparazzi fixed point algebra.
void mpu9250_spi_start_configure(struct Mpu9250_Spi *mpu)
SPI peripheral structure.
struct spi_transaction spi_trans
volatile uint8_t rx_buf[MPU9250_BUFFER_LEN]
enum Mpu9250SpiSlaveInitStatus slave_init_status
union Mpu9250_Spi::@337 data_accel
void mpu9250_spi_init(struct Mpu9250_Spi *mpu, struct spi_periph *spi_p, uint8_t addr)
void mpu9250_spi_event(struct Mpu9250_Spi *mpu)
@ MPU9250_SPI_CONF_I2C_MST_CLK
void mpu9250_spi_read(struct Mpu9250_Spi *mpu)
volatile bool data_available
data ready flag
@ MPU9250_SPI_CONF_I2C_MST_DELAY
struct Mpu9250Config config
bool initialized
config done flag
@ MPU9250_SPI_CONF_UNINIT
volatile uint8_t tx_buf[2]
@ MPU9250_SPI_CONF_SLAVES_CONFIGURE