Changes to be made for ATS_Fault logic and ACS_State
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of Japan_BAE_sensorworking_interrupr_reoccuring_copy by
pni.h@3:07e15677a75c, 2015-12-29 (annotated)
- Committer:
- sakthipriya
- Date:
- Tue Dec 29 05:14:39 2015 +0000
- Revision:
- 3:07e15677a75c
- Parent:
- 0:7b4c00e3912f
BAE with acs + eps + bcn (conops) + tmtc (without calling actual funtions).; status : working
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sakthipriya | 0:7b4c00e3912f | 1 | #define SLAVE_ADDR 0x50 |
sakthipriya | 0:7b4c00e3912f | 2 | #define SLAVE_ADDR_READ 0x51 |
sakthipriya | 0:7b4c00e3912f | 3 | #define SENTRALSTATUS 0x37 |
sakthipriya | 0:7b4c00e3912f | 4 | #define RESETREQ 0x9B |
sakthipriya | 0:7b4c00e3912f | 5 | #define MAGRATE 0x55 |
sakthipriya | 0:7b4c00e3912f | 6 | #define ACCERATE 0x56 |
sakthipriya | 0:7b4c00e3912f | 7 | #define GYRORATE 0x57 |
sakthipriya | 0:7b4c00e3912f | 8 | #define QRATE_DIV 0x32 |
sakthipriya | 0:7b4c00e3912f | 9 | #define ALGO_CTRL 0x54 |
sakthipriya | 0:7b4c00e3912f | 10 | #define ENB_EVT 0x33 |
sakthipriya | 0:7b4c00e3912f | 11 | #define HOST_CTRL 0x34 |
sakthipriya | 0:7b4c00e3912f | 12 | #define EVT_STATUS 0x35 |
sakthipriya | 0:7b4c00e3912f | 13 | #define ALGO_STATUS 0x38 |
sakthipriya | 0:7b4c00e3912f | 14 | #define GYRO_XOUT_H 0x22 |
sakthipriya | 0:7b4c00e3912f | 15 | #define MAG_XOUT_H 0X12 |
sakthipriya | 0:7b4c00e3912f | 16 | |
sakthipriya | 0:7b4c00e3912f | 17 | //Configaration bits |
sakthipriya | 0:7b4c00e3912f | 18 | #define BIT_RESREQ 0x01 |
sakthipriya | 0:7b4c00e3912f | 19 | #define BIT_EEP_DET 0x01 |
sakthipriya | 0:7b4c00e3912f | 20 | #define BIT_EEP_UPDN 0x02 |
sakthipriya | 0:7b4c00e3912f | 21 | #define BIT_EEP_UPERR 0x04 |
sakthipriya | 0:7b4c00e3912f | 22 | #define BIT_EEP_IDLE 0x08 |
sakthipriya | 0:7b4c00e3912f | 23 | #define BIT_EEP_NODET 0x10 |
sakthipriya | 0:7b4c00e3912f | 24 | #define BIT_STBY 0x01 |
sakthipriya | 0:7b4c00e3912f | 25 | #define BIT_RAW_ENB 0x02 |
sakthipriya | 0:7b4c00e3912f | 26 | #define BIT_HPR_OUT 0x04 |
sakthipriya | 0:7b4c00e3912f | 27 | #define BIT_CPU_RES 0x01 |
sakthipriya | 0:7b4c00e3912f | 28 | #define BIT_ERR 0x02 |
sakthipriya | 0:7b4c00e3912f | 29 | #define BIT_QRES 0x04 |
sakthipriya | 0:7b4c00e3912f | 30 | #define BIT_MAG_RES 0x08 |
sakthipriya | 0:7b4c00e3912f | 31 | #define BIT_ACC_RES 0x10 |
sakthipriya | 0:7b4c00e3912f | 32 | #define BIT_GYRO_RES 0x20 |
sakthipriya | 0:7b4c00e3912f | 33 | #define BIT_GYROODR 0x0F |
sakthipriya | 0:7b4c00e3912f | 34 | #define BIT_MAGODR 0x64 |
sakthipriya | 0:7b4c00e3912f | 35 | #define BIT_RUN_ENB 0x01 |
sakthipriya | 0:7b4c00e3912f | 36 | #define BIT_ALGO_RAW 0x02 |
sakthipriya | 0:7b4c00e3912f | 37 | #define BIT_EVT_ENB 0X2A |