Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ADMX2001
This file contains calibrate related APIs for sdpk1 host. More...
Go to the source code of this file.
Functions | |
| static void | DisplayCalibratedValue (double displayVal1, double displayVal2, double sweepVar) |
| Displays the output value. | |
| static int32_t | ReadAndDisplayCalibratedValue () |
| Function to read and display calibrated values. | |
| int32_t | Calibrate (CAL_TYPE calType, float stdR, float stdX) |
| Command to perform various calibration types. | |
Variables | |
| char | displayString [MAX_CAL_DISPLAY_LENGTH] |
| buffer for string operation | |
| Admx200xDev | admx200xDev |
| This is kept global and non-static as the test code requires this. | |
| double | calibrateBuffer [MAX_CALIBRATE_BUFFER] |
| Array to store measurement values. | |
| double | sweepPoints [MAX_CALIBRATE_BUFFER] |
| Array to store sweep points. | |
Detailed Description
This file contains calibrate related APIs for sdpk1 host.
Definition in file calibrate.cpp.
Function Documentation
| int32_t Calibrate | ( | CAL_TYPE | calType, |
| float | stdR, | ||
| float | stdX | ||
| ) |
Command to perform various calibration types.
- Parameters:
-
[in] calType - Type of Calibrate [in] stdR - stdR value [in] stdX - stdX value
- Returns:
- Returns 0 for success or negative error code.
Pointer to the handle
Send the RT data
Send the XT data
Send the Load Calibration command
Definition at line 84 of file calibrate.cpp.
| void DisplayCalibratedValue | ( | double | displayVal1, |
| double | displayVal2, | ||
| double | sweepVar | ||
| ) | [static] |
Displays the output value.
- Parameters:
-
[in] displayVal1 - display value 1 [in] displayVal2 - display value 2 [in] sweepVar - sweep variable
Definition at line 209 of file calibrate.cpp.
| int32_t ReadAndDisplayCalibratedValue | ( | ) | [static] |
Function to read and display calibrated values.
- Returns:
- Returns 0 for success or negative error code.
Definition at line 161 of file calibrate.cpp.
Variable Documentation
| Admx200xDev admx200xDev |
| double calibrateBuffer[MAX_CALIBRATE_BUFFER] |
Array to store measurement values.
Definition at line 66 of file calibrate.cpp.
| char displayString[MAX_CAL_DISPLAY_LENGTH] |
buffer for string operation
Definition at line 57 of file measure.cpp.
| double sweepPoints[MAX_CALIBRATE_BUFFER] |
Array to store sweep points.
Definition at line 61 of file measure.cpp.
Generated on Tue Jul 12 2022 17:25:36 by
1.7.2