Added EPS faults
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of QM_BAE_review_1 by
ACS.h
- Committer:
- sakthipriya
- Date:
- 2015-12-24
- Revision:
- 0:7b4c00e3912f
File content as of revision 0:7b4c00e3912f:
#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();