![](/media/cache/group/nine_tails_kurama_by_zubair43-d4zyf5s.jpg.50x50_q85.jpg)
FINAL ACS TO BE USED FOR TESTING. COMMISSIONING, ACS MAIN, DATA ACQ ALL DONE.
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of ACS_FULL_Flowchart_BAE by
Diff: ACS.h
- Revision:
- 0:7b4c00e3912f
- Child:
- 16:cc77770d787f
diff -r 000000000000 -r 7b4c00e3912f ACS.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ACS.h Thu Dec 24 19:15:43 2015 +0000 @@ -0,0 +1,19 @@ +#include "mbed.h" +#include "math.h" +#include "pni.h" + +//........................................... +#define TIME_PERIOD 0.02 +#define TR_CONSTANT 0.3 + +void FCTN_ACS_GENPWM_MAIN(float*); +void FCTN_ACS_CNTRLALGO(float*,float*); +void inverse(float mat[3][3],float inv[3][3]); +extern void FLAG(); + +void FCTN_ATS_SWITCH(bool); +void FCTN_ACS_INIT(); //initialization of registers happens +//void FCTN_ATS_DATA_ACQ(float*,float*); // main function: checks errors, gets data, switches on/off the sensor +//void FCTN_GET_DATA(float*,float*); //data is obtained +void FCTN_T_OUT(); //timeout function to stop infinite loop +void FCTN_ATS_DATA_ACQ();