ACS data acq changed completely. Tested and working. Deals all faults.

Dependencies:   FreescaleIAP mbed-rtos mbed

Fork of QM_BAE_review_1 by Team Fox

Revision:
16:cc77770d787f
Parent:
0:7b4c00e3912f
--- a/pni.h	Tue Apr 19 21:27:07 2016 +0000
+++ b/pni.h	Fri Jun 03 13:53:55 2016 +0000
@@ -2,17 +2,20 @@
 #define SLAVE_ADDR_READ    0x51
 #define SENTRALSTATUS      0x37
 #define RESETREQ           0x9B
+#define ERROR              0x50
+#define SENSORSTATUS       0x36
 #define MAGRATE            0x55
 #define ACCERATE           0x56
 #define GYRORATE           0x57
 #define QRATE_DIV          0x32
-#define ALGO_CTRL           0x54
+#define ALGO_CTRL          0x54
 #define ENB_EVT            0x33
-#define HOST_CTRL           0x34
+#define HOST_CTRL          0x34
 #define EVT_STATUS         0x35
 #define ALGO_STATUS        0x38
 #define GYRO_XOUT_H        0x22
 #define MAG_XOUT_H         0X12
+#define UPLOAD_ADDR        0x94
 
 //Configaration bits
 #define BIT_RESREQ     0x01
@@ -33,5 +36,6 @@
 #define BIT_GYROODR    0x0F
 #define BIT_MAGODR     0x64
 #define BIT_RUN_ENB    0x01
+#define BIT_HOST_UPLD_ENB 0x02
 #define BIT_ALGO_RAW   0x02
-#define BIT_EVT_ENB    0X2A
\ No newline at end of file
+#define BIT_EVT_ENB    0X2B
\ No newline at end of file