![]() |
![]() |
MSP430UltrasonicLibrary
02_20_00_15
|
Contains the look-up table for the Gain Calibration.
#include <msp430.h>
#include <stdint.h>
#include <stdbool.h>
#include "ussSwLib.h"
#include <math.h>
#include "common/ussSwLibCommonInterrupts.h"
#include "common/ussSwLibCommonSDHS.h"
#include "common/ussSwLibCommonUSS.h"
#include "common/ussSwLibCommonTimer.h"
#include "common/USSGenericRegDef.h"
Go to the source code of this file.
Macros | |
#define | RESONATOR_CALIB_ITERATION_COUNT 2 |
#define | RESONATOR_CALIB_MONITORING_ACLK 550 |
#define | AGC_LOOP_MAX_ITERATIONS 5 |
#define | AGC_LOOP_SETTLING 3 |
#define | ADC_MINIMUM_GAIN_SETTING USS_Capture_Gain_Range_minus_6_5 |
#define | AGC_GAIN_TABLE_SIZE (47*2) |
#define | AGC_INDEX_OFFSET 17 |
#define | AGC_MIN_DIFFERENCE 1.0 |
#define | RESONATOR_CALIB_MONITORING_ACLK_MIN_COUNT 4 |
#define | PLL_68_MHZ_TEMP_CONST |
#define | PLL_69_MHZ_TEMP_CONST |
#define | PLL_70_MHZ_TEMP_CONST |
#define | PLL_71_MHZ_TEMP_CONST |
#define | PLL_72_MHZ_TEMP_CONST |
#define | PLL_73_MHZ_TEMP_CONST |
#define | PLL_74_MHZ_TEMP_CONST |
#define | PLL_75_MHZ_TEMP_CONST |
#define | PLL_76_MHZ_TEMP_CONST |
#define | PLL_77_MHZ_TEMP_CONST |
#define | PLL_78_MHZ_TEMP_CONST |
#define | PLL_79_MHZ_TEMP_CONST |
#define | PLL_80_MHZ_TEMP_CONST |
#define | ABSTOF_DTOF_MAX_ITERATIONS 64999 |
Variables | |
const float | gUSSGainLookUp [AGC_GAIN_TABLE_SIZE] |