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 workinQM_5thJan_azad by
ACS.h
- Committer:
- sakthipriya
- Date:
- 2015-12-24
- Revision:
- 0:7b4c00e3912f
- Child:
- 20:949d13045431
- Child:
- 36:cc77770d787f
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();
