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

Driver for IMU with only MPU60x0 via I2C. More...

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

Go to the source code of this file.

Data Structures

struct  ImuMpu60x0
 

Macros

#define IMU_MPU60X0_GYRO_RANGE   MPU60X0_GYRO_RANGE_2000
 
#define IMU_MPU60X0_ACCEL_RANGE   MPU60X0_ACCEL_RANGE_16G
 

Functions

void imu_mpu_i2c_init (void)
 
void imu_mpu_i2c_periodic (void)
 
void imu_mpu_i2c_event (void)
 

Variables

struct ImuMpu60x0 imu_mpu_i2c
 

Detailed Description

Driver for IMU with only MPU60x0 via I2C.

Definition in file imu_mpu60x0_i2c.h.


Data Structure Documentation

◆ ImuMpu60x0

struct ImuMpu60x0

Definition at line 44 of file imu_mpu60x0_i2c.h.

+ Collaboration diagram for ImuMpu60x0:
Data Fields
struct Mpu60x0_I2c mpu

Macro Definition Documentation

◆ IMU_MPU60X0_ACCEL_RANGE

#define IMU_MPU60X0_ACCEL_RANGE   MPU60X0_ACCEL_RANGE_16G

Definition at line 41 of file imu_mpu60x0_i2c.h.

◆ IMU_MPU60X0_GYRO_RANGE

#define IMU_MPU60X0_GYRO_RANGE   MPU60X0_GYRO_RANGE_2000

Definition at line 37 of file imu_mpu60x0_i2c.h.

Function Documentation

◆ imu_mpu_i2c_event()

void imu_mpu_i2c_event ( void  )

◆ imu_mpu_i2c_init()

◆ imu_mpu_i2c_periodic()

void imu_mpu_i2c_periodic ( void  )

Definition at line 81 of file imu_mpu60x0_i2c.c.

References imu_mpu_i2c, ImuMpu60x0::mpu, and mpu60x0_i2c_periodic().

+ Here is the call graph for this function:

Variable Documentation

◆ imu_mpu_i2c

struct ImuMpu60x0 imu_mpu_i2c
extern

Definition at line 1 of file imu_mpu60x0_i2c.c.

Referenced by imu_mpu_i2c_event(), imu_mpu_i2c_init(), and imu_mpu_i2c_periodic().