MSP430UltrasonicLibrary
02_30_00_03
|
#include "ussSwLibCalibration.h"
Functions | |
USS_message_code | USS_verifyHSPLLFrequency (USS_SW_Library_configuration *config, USS_calibration_hspll_results *testResults) |
The following API allows to verify the HSPLL frequency is set at the user selected pllOutputFreq_inHz in the USS_HSPLL_Configuration struct. The test consists on using LFXT to verify HSPLL frequency. The acquisition timer which is sourced by the HSPLL will be clear and started for this test. After 30.517 msec the acquisition timer will be stopped and the acquisition timer counter will be used to determine if HSPLL is working the tolerance frequency range. This test is run 16 times and acquisition timer counts are averaged to determine if the outcome of the test is within the desired tolerance. More... | |
float | USS_findAGCIndex (int8_t leftIndex, int8_t rightIndex, float tempGain) |
USS_message_code | USS_calibrateSignalGain (USS_SW_Library_configuration *config) |
The following API runs the SDHS Signal Gain calibration routine if no errors are encountered during Signal Gain calibration the config->captureConfig->gainRange value will be configured else it will remain the original value. Please refer to agcConstant parameter description in USS_Capture_Configuration structure for more information regarding the configuration for this signal gain calibration parameter. More... | |
USS_message_code | USS_estimateDCoffset (USS_SW_Library_configuration *config, USS_dcOffEst_Calc_Mode mode) |
This API allows the user to estimate the DC offset generated by the SDHS module. More... | |
USS_message_code | USS_calculateOffsets (USS_SW_Library_configuration *config, USS_dTof_absTof_offset_results *testResults, USS_dTof_absTof_offset_test_config *testConfig) |
This API allows the user to estimate the DC offset generated by the SDHS module. More... | |
Variables | |
const float | gUSSGainLookUp [AGC_GAIN_TABLE_SIZE] |
const float gUSSGainLookUp[AGC_GAIN_TABLE_SIZE] |
Referenced by USS_calibrateSignalGain(), and USS_findAGCIndex().