]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - tas2557sw-android/tas2557-ftc.git/blobdiff - tas2557_ftc_lib.h
Correct copyright information
[tas2557sw-android/tas2557-ftc.git] / tas2557_ftc_lib.h
index de688e6e0675827cf834ecc12a4436bf02f069b0..8c77d57953438691194afd65297b51b8553b9a41 100755 (executable)
@@ -2,18 +2,6 @@
 ** =============================================================================\r
 ** Copyright (c) 2016  Texas Instruments Inc.\r
 **\r
-** This program is free software; you can redistribute it and/or modify it under\r
-** the terms of the GNU General Public License as published by the Free Software \r
-** Foundation; version 2.\r
-**\r
-** This program is distributed in the hope that it will be useful, but WITHOUT\r
-** ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r
-** FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r
-**\r
-** You should have received a copy of the GNU General Public License along with\r
-** this program; if not, write to the Free Software Foundation, Inc., 51 Franklin\r
-** Street, Fifth Floor, Boston, MA 02110-1301, USA.\r
-**\r
 ** File:\r
 **     tas2557_lib_ftc.h\r
 **\r
@@ -37,6 +25,13 @@ void tas2557_ftc_start(void);
 void set_re(double re_ppc3, double re, double alpha);\r
 void set_temp_cal(uint32_t prm_pow, uint32_t prm_tlimit);\r
 double get_re(double re_ppc3);\r
+double CalcRe(double re_ppc3, uint32_t prm_r0);\r
 uint32_t calc_prm_pow(double re, double delta_t_max, double nRTV, double nRTM, double nRTVA, double nSysGain);\r
-uint32_t calc_prm_tlimit(double delta_t_max, double alpha, double nDevNonlinPer, double nRTV, double nRTM, double nRTVA);\r
+uint32_t calc_prm_tlimit(double delta_t_max, double alpha, double nDevNonlinPer, double nRTV, double nRTM, double nRTVA, double nPIG);\r
+void tas2557_ftc_stop(void);\r
+\r
+/* below functions are used in SPK measurement only */\r
+int get_Re_deltaT(double nPPC3_Re, double nPPC3_alpha, double *pnRe, double *pnDeltaT);\r
+int get_f0_Q(double nPPC3_FWarp, double nPPC3_nFS, double nPPC3_Bl, double nPPC3_Mms, double nPPC3_Re0, double *pnF0, double *pnQ);\r
+\r
 #endif /* TAS2557_LIB_FTC_H_ */\r