Test of pmic GPA with filter
Dependencies: mbed
Fork of nucf446-cuboid-balance1_strong by
Diff: GPA.h
- Revision:
- 8:d68e177e2571
- Parent:
- 6:da0c9587ecae
- Child:
- 22:715d351d0be7
diff -r 87b823282bf0 -r d68e177e2571 GPA.h --- a/GPA.h Sat Mar 17 08:43:07 2018 +0000 +++ b/GPA.h Thu Mar 22 17:32:37 2018 +0000 @@ -9,10 +9,10 @@ } virtual ~GPA(); - + void reset(); float update(float inp, float out); - + void printGPAfexcDes(); void printGPAmeasPara(); void printGPAmeasTime(); @@ -26,12 +26,12 @@ float *fexcDes; float aAexcDes; float bAexcDes; - + float fnyq; float pi2; float pi2Ts; float piDiv2; - + int Nmeas; int Nper; float fexc; @@ -47,7 +47,7 @@ int NmeasTotal; float Aexc; float pi2Tsfexc; - + void fexcDesLogspace(float fMin, float fMax, int NfexcDes); void calcGPAmeasPara(float fexcDes_i); void printLine();