|
NinjaFlight
|
#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"
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 |
| #define DMP_MEM_R_W 0x6F |
| #define DMP_MEM_START_ADDR 0x6E |
| #define MPU6050_ADDRESS 0x68 |
| #define MPU6050_SMPLRT_DIV 0 |
| bool mpu6050AccDetect | ( | acc_t * | accel | ) |

| bool mpu6050GyroDetect | ( | gyro_t * | gyr | ) |

| uint8_t mpuLowPassFilter |