NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
accgyro_mpu6050.c File Reference
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <platform.h>
#include "build_config.h"
#include "debug.h"
#include "common/maths.h"
#include "nvic.h"
#include "system.h"
#include "gpio.h"
#include "exti.h"
#include "bus_i2c.h"
#include "gyro_sync.h"
#include "sensor.h"
#include "accgyro.h"
#include "accgyro_mpu.h"
#include "accgyro_mpu6050.h"
Include dependency graph for accgyro_mpu6050.c:

Macros

#define MPU6050_ADDRESS   0x68
 
#define DMP_MEM_START_ADDR   0x6E
 
#define DMP_MEM_R_W   0x6F
 
#define MPU6050_SMPLRT_DIV   0
 

Functions

bool mpu6050AccDetect (acc_t *accel)
 
bool mpu6050GyroDetect (gyro_t *gyr)
 

Variables

uint8_t mpuLowPassFilter
 

Macro Definition Documentation

#define DMP_MEM_R_W   0x6F
#define DMP_MEM_START_ADDR   0x6E
#define MPU6050_ADDRESS   0x68
#define MPU6050_SMPLRT_DIV   0

Function Documentation

bool mpu6050AccDetect ( acc_t accel)

Here is the call graph for this function:

bool mpu6050GyroDetect ( gyro_t gyr)

Here is the call graph for this function:

Variable Documentation

uint8_t mpuLowPassFilter