NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
accgyro.h File Reference
#include "sensor.h"
Include dependency graph for accgyro.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  gyro_s
 
struct  acc_s
 

Macros

#define ACC_MAX   ACC_FAKE
 

Typedefs

typedef struct gyro_s gyro_t
 
typedef struct acc_s acc_t
 

Enumerations

enum  gyroSensor_e {
  GYRO_NONE = 0, GYRO_DEFAULT, GYRO_MPU6050, GYRO_L3G4200D,
  GYRO_MPU3050, GYRO_L3GD20, GYRO_MPU6000, GYRO_MPU6500,
  GYRO_FAKE
}
 
enum  accelerationSensor_e {
  ACC_DEFAULT = 0, ACC_NONE = 1, ACC_ADXL345 = 2, ACC_MPU6050 = 3,
  ACC_MMA8452 = 4, ACC_BMA280 = 5, ACC_LSM303DLHC = 6, ACC_MPU6000 = 7,
  ACC_MPU6500 = 8, ACC_FAKE = 9
}
 

Variables

typedef __attribute__
 
gyro_t gyro
 
acc_t acc
 

Macro Definition Documentation

#define ACC_MAX   ACC_FAKE

Typedef Documentation

typedef struct acc_s acc_t
typedef struct gyro_s gyro_t

Enumeration Type Documentation

Enumerator
ACC_DEFAULT 
ACC_NONE 
ACC_ADXL345 
ACC_MPU6050 
ACC_MMA8452 
ACC_BMA280 
ACC_LSM303DLHC 
ACC_MPU6000 
ACC_MPU6500 
ACC_FAKE 
Enumerator
GYRO_NONE 
GYRO_DEFAULT 
GYRO_MPU6050 
GYRO_L3G4200D 
GYRO_MPU3050 
GYRO_L3GD20 
GYRO_MPU6000 
GYRO_MPU6500 
GYRO_FAKE 

Variable Documentation

typedef __attribute__
acc_t acc
gyro_t gyro