acs bea hk together

Dependencies:   mbed-rtos mbed

Fork of BAE_vr3honeycomb1_christmas by green rosh

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers MPU3300.h Source File

MPU3300.h

00001 //MPU 3300 registers
00002 #define SMPLRT_DIV    0x19
00003 #define CONFIG        0x1A
00004 #define GYRO_CONFIG   0x1B
00005 #define GYRO_XOUT_H   0x43
00006 #define GYRO_XOUT_L   0x44
00007 #define GYRO_YOUT_H   0x45
00008 #define GYRO_YOUT_L   0x46
00009 #define GYRO_ZOUT_H   0x47
00010 #define GYRO_ZOUT_L   0x48
00011 #define USER_CTRL     0x6A
00012 #define PWR_MGMT_1    0x6B
00013 #define INT_ENABLE    0x38
00014 
00015 //MPU configuration bits
00016 #define READFLAG                  0x80
00017 #define DUMMYBIT                  0x00
00018 #define BITS_DLPF_CFG             0x07
00019 #define BITS_FS_SEL_3             0x08
00020 #define BITS_FS_SEL_4             0x10
00021 #define BIT_I2C_IF_DIS            0x10
00022 #define BITS_SMPLRT_DIV           0x00
00023 #define BIT_SLEEP                 0x40
00024 #define BIT_DATA_RDY_ENABLE       0x01
00025 #define BIT_DATA_RDY_INT          0x01
00026 #define BIT_CLKSEL_X              0x01