NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
accgyro_mpu6500.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MPU6500_WHO_AM_I_CONST   (0x70)
 
#define MPU9250_WHO_AM_I_CONST   (0x71)
 
#define MPU6500_BIT_RESET   (0x80)
 

Functions

bool mpu6500AccDetect (acc_t *acc)
 
bool mpu6500GyroDetect (gyro_t *gyro)
 
void mpu6500AccInit (acc_t *acc)
 
void mpu6500GyroInit (uint8_t lpf)
 

Macro Definition Documentation

#define MPU6500_BIT_RESET   (0x80)
#define MPU6500_WHO_AM_I_CONST   (0x70)
#define MPU9250_WHO_AM_I_CONST   (0x71)

Function Documentation

bool mpu6500AccDetect ( acc_t acc)

Here is the call graph for this function:

void mpu6500AccInit ( acc_t acc)

Here is the call graph for this function:

bool mpu6500GyroDetect ( gyro_t gyro)

Here is the call graph for this function:

void mpu6500GyroInit ( uint8_t  lpf)

Here is the call graph for this function: