![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
after pin
Fork of BAE_vr2_gingerbread by
MPU3300.h@3:3d9e5f48b0c1, 2014-12-17 (annotated)
- Committer:
- raizel_varun
- Date:
- Wed Dec 17 09:52:27 2014 +0000
- Revision:
- 3:3d9e5f48b0c1
- Parent:
- 0:e9c32e1df869
AFTER PINS;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sakthipriya | 0:e9c32e1df869 | 1 | //MPU 3300 registers |
sakthipriya | 0:e9c32e1df869 | 2 | #define SMPLRT_DIV 0x19 |
sakthipriya | 0:e9c32e1df869 | 3 | #define CONFIG 0x1A |
sakthipriya | 0:e9c32e1df869 | 4 | #define GYRO_CONFIG 0x1B |
sakthipriya | 0:e9c32e1df869 | 5 | #define GYRO_XOUT_H 0x43 |
sakthipriya | 0:e9c32e1df869 | 6 | #define GYRO_XOUT_L 0x44 |
sakthipriya | 0:e9c32e1df869 | 7 | #define GYRO_YOUT_H 0x45 |
sakthipriya | 0:e9c32e1df869 | 8 | #define GYRO_YOUT_L 0x46 |
sakthipriya | 0:e9c32e1df869 | 9 | #define GYRO_ZOUT_H 0x47 |
sakthipriya | 0:e9c32e1df869 | 10 | #define GYRO_ZOUT_L 0x48 |
sakthipriya | 0:e9c32e1df869 | 11 | #define USER_CTRL 0x6A |
sakthipriya | 0:e9c32e1df869 | 12 | #define PWR_MGMT_1 0x6B |
sakthipriya | 0:e9c32e1df869 | 13 | #define INT_ENABLE 0x38 |
sakthipriya | 0:e9c32e1df869 | 14 | |
sakthipriya | 0:e9c32e1df869 | 15 | //MPU configuration bits |
sakthipriya | 0:e9c32e1df869 | 16 | #define READFLAG 0x80 |
sakthipriya | 0:e9c32e1df869 | 17 | #define DUMMYBIT 0x00 |
sakthipriya | 0:e9c32e1df869 | 18 | #define BITS_DLPF_CFG 0x07 |
sakthipriya | 0:e9c32e1df869 | 19 | #define BITS_FS_SEL_3 0x08 |
sakthipriya | 0:e9c32e1df869 | 20 | #define BITS_FS_SEL_4 0x10 |
sakthipriya | 0:e9c32e1df869 | 21 | #define BIT_I2C_IF_DIS 0x10 |
sakthipriya | 0:e9c32e1df869 | 22 | #define BITS_SMPLRT_DIV 0x00 |
sakthipriya | 0:e9c32e1df869 | 23 | #define BIT_SLEEP 0x40 |
sakthipriya | 0:e9c32e1df869 | 24 | #define BIT_DATA_RDY_ENABLE 0x01 |
sakthipriya | 0:e9c32e1df869 | 25 | #define BIT_DATA_RDY_INT 0x01 |
sakthipriya | 0:e9c32e1df869 | 26 | #define BIT_CLKSEL_X 0x01 |