Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FreescaleIAP mbed-rtos mbed
Fork of QM_BAE_review_1 by
ACS.h
00001 #include "mbed.h" 00002 #include "math.h" 00003 #include "pni.h" 00004 00005 //........................................... 00006 #define TIME_PERIOD 0.02 00007 #define TR_CONSTANT 0.3 00008 00009 void FCTN_ACS_GENPWM_MAIN(float*); 00010 void FCTN_ACS_CNTRLALGO(float*,float*); 00011 void inverse(float mat[3][3],float inv[3][3]); 00012 extern void FLAG(); 00013 00014 void FCTN_ATS_SWITCH(bool); 00015 int FCTN_ACS_INIT(); //initialization of registers happens 00016 //void FCTN_ATS_DATA_ACQ(float*,float*); // main function: checks errors, gets data, switches on/off the sensor 00017 //void FCTN_GET_DATA(float*,float*); //data is obtained 00018 void FCTN_T_OUT(); //timeout function to stop infinite loop 00019 int FCTN_ATS_DATA_ACQ();
Generated on Tue Jul 12 2022 17:24:01 by
1.7.2
