Paparazzi UAS  v6.2_unstable
Paparazzi is a free software Unmanned Aircraft System.
mpu60x0.c File Reference
+ 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. More...
 

Variables

const float MPU60X0_GYRO_SENS [4]
 
const struct Int32Rates MPU60X0_GYRO_SENS_FRAC [4][2]
 
const float MPU60X0_ACCEL_SENS [4]
 
const struct Int32Vect3 MPU60X0_ACCEL_SENS_FRAC [4][2]
 

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]

◆ MPU60X0_ACCEL_SENS_FRAC

◆ MPU60X0_GYRO_SENS

const float MPU60X0_GYRO_SENS[4]

◆ MPU60X0_GYRO_SENS_FRAC

MPU60X0_GYRO_SENS_250_DEN
#define MPU60X0_GYRO_SENS_250_DEN
Definition: mpu60x0.h:63
MPU60X0_GYRO_SENS_2000_NUM
#define MPU60X0_GYRO_SENS_2000_NUM
Definition: mpu60x0.h:71
MPU60X0_ACCEL_SENS_8G
#define MPU60X0_ACCEL_SENS_8G
Definition: mpu60x0.h:90
MPU60X0_ACCEL_SENS_2G_DEN
#define MPU60X0_ACCEL_SENS_2G_DEN
Definition: mpu60x0.h:86
MPU60X0_GYRO_SENS_500_DEN
#define MPU60X0_GYRO_SENS_500_DEN
Definition: mpu60x0.h:66
MPU60X0_GYRO_SENS_2000
#define MPU60X0_GYRO_SENS_2000
Definition: mpu60x0.h:70
MPU60X0_ACCEL_SENS_8G_DEN
#define MPU60X0_ACCEL_SENS_8G_DEN
Definition: mpu60x0.h:92
MPU60X0_ACCEL_SENS_2G
#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:84
MPU60X0_ACCEL_SENS_4G_DEN
#define MPU60X0_ACCEL_SENS_4G_DEN
Definition: mpu60x0.h:89
MPU60X0_GYRO_SENS_250_NUM
#define MPU60X0_GYRO_SENS_250_NUM
Definition: mpu60x0.h:62
MPU60X0_ACCEL_SENS_4G
#define MPU60X0_ACCEL_SENS_4G
Definition: mpu60x0.h:87
MPU60X0_GYRO_SENS_250
#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:61
MPU60X0_GYRO_SENS_500
#define MPU60X0_GYRO_SENS_500
Definition: mpu60x0.h:64
MPU60X0_GYRO_SENS_500_NUM
#define MPU60X0_GYRO_SENS_500_NUM
Definition: mpu60x0.h:65
MPU60X0_GYRO_SENS_2000_DEN
#define MPU60X0_GYRO_SENS_2000_DEN
Definition: mpu60x0.h:72
MPU60X0_ACCEL_SENS_16G
#define MPU60X0_ACCEL_SENS_16G
Definition: mpu60x0.h:93
MPU60X0_GYRO_SENS_1000
#define MPU60X0_GYRO_SENS_1000
Definition: mpu60x0.h:67
MPU60X0_GYRO_SENS_1000_DEN
#define MPU60X0_GYRO_SENS_1000_DEN
Definition: mpu60x0.h:69
MPU60X0_ACCEL_SENS_4G_NUM
#define MPU60X0_ACCEL_SENS_4G_NUM
Definition: mpu60x0.h:88
MPU60X0_ACCEL_SENS_16G_NUM
#define MPU60X0_ACCEL_SENS_16G_NUM
Definition: mpu60x0.h:94
MPU60X0_GYRO_SENS_1000_NUM
#define MPU60X0_GYRO_SENS_1000_NUM
Definition: mpu60x0.h:68
MPU60X0_ACCEL_SENS_2G_NUM
#define MPU60X0_ACCEL_SENS_2G_NUM
Definition: mpu60x0.h:85
MPU60X0_ACCEL_SENS_8G_NUM
#define MPU60X0_ACCEL_SENS_8G_NUM
Definition: mpu60x0.h:91
MPU60X0_ACCEL_SENS_16G_DEN
#define MPU60X0_ACCEL_SENS_16G_DEN
Definition: mpu60x0.h:95