![](/media/cache/group/nine_tails_kurama_by_zubair43-d4zyf5s.jpg.50x50_q85.jpg)
ACS completed fully. All cases to be tested
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of ACS_Flowchart_BAE by
ACS.h@0:7b4c00e3912f, 2015-12-24 (annotated)
- Committer:
- sakthipriya
- Date:
- Thu Dec 24 19:15:43 2015 +0000
- Revision:
- 0:7b4c00e3912f
- Child:
- 16:cc77770d787f
EPS CONOPS BTRY GAUGE
Who changed what in which revision?
User | Revision | Line number | New 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); |
sakthipriya | 0:7b4c00e3912f | 15 | void 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 |
sakthipriya | 0:7b4c00e3912f | 19 | void FCTN_ATS_DATA_ACQ(); |