MPU9250

Dependents:   FreeIMU

Fork of MPU6050 by Yifei Teng

Revision:
14:057ce8fa00ab
Parent:
13:a74f2d622b54
Child:
15:09f072efa71e
--- a/MPU6050.h	Wed Mar 28 20:25:13 2018 +0000
+++ b/MPU6050.h	Wed Mar 28 21:06:57 2018 +0000
@@ -411,6 +411,16 @@
 #define MPU6050_DMP_MEMORY_BANK_SIZE    256
 #define MPU6050_DMP_MEMORY_CHUNK_SIZE   16
 
+enum mpu9250_dlpf_bandwidth
+{
+    DLPF_BANDWIDTH_184HZ,
+    DLPF_BANDWIDTH_92HZ,
+    DLPF_BANDWIDTH_41HZ,
+    DLPF_BANDWIDTH_20HZ,
+    DLPF_BANDWIDTH_10HZ,
+    DLPF_BANDWIDTH_5HZ
+};
+
 // note: DMP code memory blocks defined at end of header file
 
 class MPU6050 {
@@ -429,7 +439,6 @@
 #ifdef MPU9250
         volatile int16_t hx_cache, hy_cache, hz_cache;
 #endif
-        
         Ticker mpu_sampling;
         char mpu_cmd;
 #ifdef MPU9250