Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
imu_mpu9250_i2c.h File Reference

IMU driver for the MPU9250 using I2C. More...

#include "std.h"
#include "generated/airframe.h"
#include "modules/imu/imu.h"
#include "peripherals/mpu9250_i2c.h"
+ Include dependency graph for imu_mpu9250_i2c.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ImuMpu9250


#define IMU_MPU9250_GYRO_RANGE   MPU9250_GYRO_RANGE_1000


void imu_mpu9250_init (void)
void imu_mpu9250_periodic (void)
void imu_mpu9250_event (void)


struct ImuMpu9250 imu_mpu9250

Detailed Description

IMU driver for the MPU9250 using I2C.

Definition in file imu_mpu9250_i2c.h.

Data Structure Documentation

◆ ImuMpu9250

struct ImuMpu9250

Definition at line 46 of file imu_mpu9250_i2c.h.

+ Collaboration diagram for ImuMpu9250:
Data Fields
struct Mpu9250_I2c mpu
struct Mpu9250_Spi mpu
volatile bool slave4_ready
volatile uint8_t wait_slave4_rx_buf[2]
struct spi_transaction wait_slave4_trans
volatile uint8_t wait_slave4_tx_buf[1]

Macro Definition Documentation



Definition at line 43 of file imu_mpu9250_i2c.h.


#define IMU_MPU9250_GYRO_RANGE   MPU9250_GYRO_RANGE_1000

Definition at line 39 of file imu_mpu9250_i2c.h.

Function Documentation

◆ imu_mpu9250_event()

void imu_mpu9250_event ( void  )

Definition at line 47 of file imu_mpu9250.c.

◆ imu_mpu9250_init()

void imu_mpu9250_init ( void  )

Definition at line 37 of file imu_mpu9250.c.

◆ imu_mpu9250_periodic()

void imu_mpu9250_periodic ( void  )

Definition at line 42 of file imu_mpu9250.c.

Variable Documentation

◆ imu_mpu9250

struct ImuMpu9250 imu_mpu9250

Definition at line 1 of file imu_mpu9250_i2c.c.