Gyro_MPU3300
Dependencies: Gyro_MPU3300 mbed
Fork of MPU3300 by
MPU3300.h@2:137b1af87cd0, 2015-02-13 (annotated)
- Committer:
- gkumar
- Date:
- Fri Feb 13 17:20:53 2015 +0000
- Revision:
- 2:137b1af87cd0
Gyro_MPU3300
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gkumar | 2:137b1af87cd0 | 1 | //MPU 3300 registers |
gkumar | 2:137b1af87cd0 | 2 | #define SMPLRT_DIV 0x19 |
gkumar | 2:137b1af87cd0 | 3 | #define CONFIG 0x1A |
gkumar | 2:137b1af87cd0 | 4 | #define GYRO_CONFIG 0x1B |
gkumar | 2:137b1af87cd0 | 5 | #define GYRO_XOUT_H 0x43 |
gkumar | 2:137b1af87cd0 | 6 | #define GYRO_XOUT_L 0x44 |
gkumar | 2:137b1af87cd0 | 7 | #define GYRO_YOUT_H 0x45 |
gkumar | 2:137b1af87cd0 | 8 | #define GYRO_YOUT_L 0x46 |
gkumar | 2:137b1af87cd0 | 9 | #define GYRO_ZOUT_H 0x47 |
gkumar | 2:137b1af87cd0 | 10 | #define GYRO_ZOUT_L 0x48 |
gkumar | 2:137b1af87cd0 | 11 | #define USER_CTRL 0x6A |
gkumar | 2:137b1af87cd0 | 12 | #define PWR_MGMT_1 0x6B |
gkumar | 2:137b1af87cd0 | 13 | #define INT_ENABLE 0x38 |
gkumar | 2:137b1af87cd0 | 14 | |
gkumar | 2:137b1af87cd0 | 15 | //MPU configuration bits |
gkumar | 2:137b1af87cd0 | 16 | #define READFLAG 0x80 |
gkumar | 2:137b1af87cd0 | 17 | #define DUMMYBIT 0x00 |
gkumar | 2:137b1af87cd0 | 18 | #define BITS_DLPF_CFG 0x07 |
gkumar | 2:137b1af87cd0 | 19 | #define BITS_FS_SEL_3 0x08 |
gkumar | 2:137b1af87cd0 | 20 | #define BITS_FS_SEL_4 0x10 |
gkumar | 2:137b1af87cd0 | 21 | #define BIT_I2C_IF_DIS 0x10 |
gkumar | 2:137b1af87cd0 | 22 | #define BITS_SMPLRT_DIV 0x00 |
gkumar | 2:137b1af87cd0 | 23 | #define BIT_SLEEP 0x40 |
gkumar | 2:137b1af87cd0 | 24 | #define BIT_DATA_RDY_ENABLE 0x01 |
gkumar | 2:137b1af87cd0 | 25 | #define BIT_DATA_RDY_INT 0x01 |
gkumar | 2:137b1af87cd0 | 26 | #define BIT_CLKSEL_X 0x01 |