1 #ifndef _USSSWLIBCALIBRATION_H_ 2 #define _USSSWLIBCALIBRATION_H_ 59 #define RESONATOR_CALIB_ITERATION_COUNT 2 64 #define RESONATOR_CALIB_MONITORING_ACLK 550 67 #define AGC_LOOP_MAX_ITERATIONS 5 68 #define AGC_LOOP_SETTLING 3 69 #define ADC_MINIMUM_GAIN_SETTING USS_Capture_Gain_Range_minus_6_5 70 #define AGC_GAIN_TABLE_SIZE (47*2) 71 #define AGC_INDEX_OFFSET 17 72 #define AGC_MIN_DIFFERENCE 1.0 79 #define RESONATOR_CALIB_MONITORING_ACLK_MIN_COUNT 4 81 #define PLL_68_MHZ_TEMP_CONST (uint64_t)((uint64_t)68000000* \ 82 (uint64_t)RESONATOR_CALIB_MONITORING_ACLK) 83 #define PLL_69_MHZ_TEMP_CONST (uint64_t)((uint64_t)69000000* \ 84 (uint64_t)RESONATOR_CALIB_MONITORING_ACLK) 85 #define PLL_70_MHZ_TEMP_CONST (uint64_t)((uint64_t)70000000* \ 86 (uint64_t)RESONATOR_CALIB_MONITORING_ACLK) 87 #define PLL_71_MHZ_TEMP_CONST (uint64_t)((uint64_t)71000000* \ 88 (uint64_t)RESONATOR_CALIB_MONITORING_ACLK) 89 #define PLL_72_MHZ_TEMP_CONST (uint64_t)((uint64_t)72000000* \ 90 (uint64_t)RESONATOR_CALIB_MONITORING_ACLK) 91 #define PLL_73_MHZ_TEMP_CONST (uint64_t)((uint64_t)73000000* \ 92 (uint64_t)RESONATOR_CALIB_MONITORING_ACLK) 93 #define PLL_74_MHZ_TEMP_CONST (uint64_t)((uint64_t)74000000* \ 94 (uint64_t)RESONATOR_CALIB_MONITORING_ACLK) 95 #define PLL_75_MHZ_TEMP_CONST (uint64_t)((uint64_t)75000000* \ 96 (uint64_t)RESONATOR_CALIB_MONITORING_ACLK) 97 #define PLL_76_MHZ_TEMP_CONST (uint64_t)((uint64_t)76000000* \ 98 (uint64_t)RESONATOR_CALIB_MONITORING_ACLK) 99 #define PLL_77_MHZ_TEMP_CONST (uint64_t)((uint64_t)77000000* \ 100 (uint64_t)RESONATOR_CALIB_MONITORING_ACLK) 101 #define PLL_78_MHZ_TEMP_CONST (uint64_t)((uint64_t)78000000* \ 102 (uint64_t)RESONATOR_CALIB_MONITORING_ACLK) 103 #define PLL_79_MHZ_TEMP_CONST (uint64_t)((uint64_t)79000000* \ 104 (uint64_t)RESONATOR_CALIB_MONITORING_ACLK) 105 #define PLL_80_MHZ_TEMP_CONST (uint64_t)((uint64_t)80000000* \ 106 (uint64_t)RESONATOR_CALIB_MONITORING_ACLK) 108 #define ABSTOF_DTOF_MAX_ITERATIONS 64999 122 static float USS_findAGCIndex(int8_t leftIndex, int8_t rightIndex,
float tempGain);
129 #endif // end of _USSSWLIBCALIBRATION_H_ definition
float USS_findAGCIndex(int8_t leftIndex, int8_t rightIndex, float tempGain)
Definition: ussSwLibCalibration.c:269
Contains all USS SW Library enums, structs, macros, function and global variables definitions...