Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
mpu60x0.c File Reference

MPU-60X0 driver common functions (I2C and SPI). More...

+ Include dependency graph for mpu60x0.c:

Go to the source code of this file.

Functions

void mpu60x0_set_default_config (struct Mpu60x0Config *c)
 
void mpu60x0_send_config (Mpu60x0ConfigSet mpu_set, void *mpu, struct Mpu60x0Config *config)
 Configuration sequence called once before normal use.
 

Variables

const float MPU60X0_GYRO_SENS [4]
 
const struct FloatRates MPU60X0_GYRO_SENS_F [4]
 
const float MPU60X0_ACCEL_SENS [4]
 
const struct FloatVect3 MPU60X0_ACCEL_SENS_F [4]
 

Detailed Description

MPU-60X0 driver common functions (I2C and SPI).

Still needs the either I2C or SPI specific implementation.

Definition in file mpu60x0.c.

Function Documentation

◆ mpu60x0_send_config()

◆ mpu60x0_set_default_config()

Variable Documentation

◆ MPU60X0_ACCEL_SENS

const float MPU60X0_ACCEL_SENS[4]
Initial value:
= {
}
#define MPU60X0_ACCEL_SENS_16G
Definition mpu60x0.h:79
#define MPU60X0_ACCEL_SENS_8G
Definition mpu60x0.h:78
#define MPU60X0_ACCEL_SENS_2G
default accel sensitivy from the datasheet sens = 9.81 [m/s^2] / [LSB/g] * 2^INT32_ACCEL_FRAC ex: MPU...
Definition mpu60x0.h:76
#define MPU60X0_ACCEL_SENS_4G
Definition mpu60x0.h:77

Definition at line 46 of file mpu60x0.c.

◆ MPU60X0_ACCEL_SENS_F

◆ MPU60X0_GYRO_SENS

const float MPU60X0_GYRO_SENS[4]
Initial value:
= {
}
#define MPU60X0_GYRO_SENS_2000
Definition mpu60x0.h:65
#define MPU60X0_GYRO_SENS_250
default gyro sensitivy from the datasheet sens = 1/ [LSB/(deg/s)] * pi/180 * 2^INT32_RATE_FRAC ex: MP...
Definition mpu60x0.h:62
#define MPU60X0_GYRO_SENS_500
Definition mpu60x0.h:63
#define MPU60X0_GYRO_SENS_1000
Definition mpu60x0.h:64

Definition at line 31 of file mpu60x0.c.

◆ MPU60X0_GYRO_SENS_F