Seeker of Truth ,
/
baeaftrq1
hahalvl1
Fork of BAE_b4hw_test by
pni.h@5:4199c0dfed33, 2015-02-05 (annotated)
- Committer:
- sakthipriya
- Date:
- Thu Feb 05 22:05:29 2015 +0000
- Revision:
- 5:4199c0dfed33
mnm +hk + others
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sakthipriya | 5:4199c0dfed33 | 1 | #define SLAVE_ADDR 0x50 |
sakthipriya | 5:4199c0dfed33 | 2 | #define SLAVE_ADDR_READ 0x51 |
sakthipriya | 5:4199c0dfed33 | 3 | #define SENTRALSTATUS 0x37 |
sakthipriya | 5:4199c0dfed33 | 4 | #define RESETREQ 0x9B |
sakthipriya | 5:4199c0dfed33 | 5 | #define MAGRATE 0x55 |
sakthipriya | 5:4199c0dfed33 | 6 | #define ACCERATE 0x56 |
sakthipriya | 5:4199c0dfed33 | 7 | #define GYRORATE 0x57 |
sakthipriya | 5:4199c0dfed33 | 8 | #define QRATE_DIV 0x32 |
sakthipriya | 5:4199c0dfed33 | 9 | #define ALGO_CTRL 0x54 |
sakthipriya | 5:4199c0dfed33 | 10 | #define ENB_EVT 0x33 |
sakthipriya | 5:4199c0dfed33 | 11 | #define HOST_CTRL 0x34 |
sakthipriya | 5:4199c0dfed33 | 12 | #define EVT_STATUS 0x35 |
sakthipriya | 5:4199c0dfed33 | 13 | #define ALGO_STATUS 0x38 |
sakthipriya | 5:4199c0dfed33 | 14 | #define GYRO_XOUT_H 0x22 |
sakthipriya | 5:4199c0dfed33 | 15 | #define MAG_XOUT_H 0X12 |
sakthipriya | 5:4199c0dfed33 | 16 | |
sakthipriya | 5:4199c0dfed33 | 17 | //Configaration bits |
sakthipriya | 5:4199c0dfed33 | 18 | #define BIT_RESREQ 0x01 |
sakthipriya | 5:4199c0dfed33 | 19 | #define BIT_EEP_DET 0x01 |
sakthipriya | 5:4199c0dfed33 | 20 | #define BIT_EEP_UPDN 0x02 |
sakthipriya | 5:4199c0dfed33 | 21 | #define BIT_EEP_UPERR 0x04 |
sakthipriya | 5:4199c0dfed33 | 22 | #define BIT_EEP_IDLE 0x08 |
sakthipriya | 5:4199c0dfed33 | 23 | #define BIT_EEP_NODET 0x10 |
sakthipriya | 5:4199c0dfed33 | 24 | #define BIT_STBY 0x01 |
sakthipriya | 5:4199c0dfed33 | 25 | #define BIT_RAW_ENB 0x02 |
sakthipriya | 5:4199c0dfed33 | 26 | #define BIT_HPR_OUT 0x04 |
sakthipriya | 5:4199c0dfed33 | 27 | #define BIT_CPU_RES 0x01 |
sakthipriya | 5:4199c0dfed33 | 28 | #define BIT_ERR 0x02 |
sakthipriya | 5:4199c0dfed33 | 29 | #define BIT_QRES 0x04 |
sakthipriya | 5:4199c0dfed33 | 30 | #define BIT_MAG_RES 0x08 |
sakthipriya | 5:4199c0dfed33 | 31 | #define BIT_ACC_RES 0x10 |
sakthipriya | 5:4199c0dfed33 | 32 | #define BIT_GYRO_RES 0x20 |
sakthipriya | 5:4199c0dfed33 | 33 | #define BIT_GYROODR 0x0F |
sakthipriya | 5:4199c0dfed33 | 34 | #define BIT_MAGODR 0x64 |
sakthipriya | 5:4199c0dfed33 | 35 | #define BIT_RUN_ENB 0x01 |
sakthipriya | 5:4199c0dfed33 | 36 | #define BIT_ALGO_RAW 0x02 |
sakthipriya | 5:4199c0dfed33 | 37 | #define BIT_EVT_ENB 0X2A |