I2C BAE standalone hardware testing

Dependencies:   FreescaleIAP mbed-rtos mbed

Fork of ACS_Flowchart_BAE_1 by Team Fox

Committer:
prasanthbj05
Date:
Wed Jul 06 10:12:38 2016 +0000
Revision:
19:95ba0ed3370c
Parent:
16:cc77770d787f
publishing for hardware i2c test;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sakthipriya 0:7b4c00e3912f 1 #include "mbed.h"
sakthipriya 0:7b4c00e3912f 2 #include "math.h"
sakthipriya 0:7b4c00e3912f 3 #include "pni.h"
sakthipriya 0:7b4c00e3912f 4
sakthipriya 0:7b4c00e3912f 5 //...........................................
sakthipriya 0:7b4c00e3912f 6 #define TIME_PERIOD 0.02
sakthipriya 0:7b4c00e3912f 7 #define TR_CONSTANT 0.3
sakthipriya 0:7b4c00e3912f 8
sakthipriya 0:7b4c00e3912f 9 void FCTN_ACS_GENPWM_MAIN(float*);
sakthipriya 0:7b4c00e3912f 10 void FCTN_ACS_CNTRLALGO(float*,float*);
sakthipriya 0:7b4c00e3912f 11 void inverse(float mat[3][3],float inv[3][3]);
sakthipriya 0:7b4c00e3912f 12 extern void FLAG();
sakthipriya 0:7b4c00e3912f 13
sakthipriya 0:7b4c00e3912f 14 void FCTN_ATS_SWITCH(bool);
Bragadeesh153 16:cc77770d787f 15 int FCTN_ACS_INIT(); //initialization of registers happens
sakthipriya 0:7b4c00e3912f 16 //void FCTN_ATS_DATA_ACQ(float*,float*); // main function: checks errors, gets data, switches on/off the sensor
sakthipriya 0:7b4c00e3912f 17 //void FCTN_GET_DATA(float*,float*); //data is obtained
sakthipriya 0:7b4c00e3912f 18 void FCTN_T_OUT(); //timeout function to stop infinite loop
Bragadeesh153 16:cc77770d787f 19 int FCTN_ATS_DATA_ACQ();