Greatly simplified Architecture, Identical Functions Removed: Platform Interfaces, STP6001 interface

Revision:
12:81f37e50f8f8
Parent:
11:d8dbe3b87f9f
--- a/VL53L0X_def.h	Tue Jul 02 12:38:07 2019 +0000
+++ b/VL53L0X_def.h	Mon Jul 08 14:07:22 2019 +0000
@@ -587,17 +587,12 @@
     uint16_t Range_mm;	/*!< range distance in _mm. */
     uint16_t RangeDMax_mm; /*!< Tells what is the maximum detection distance of the device
      * in current setup and environment conditions (Filled when	applicable) */
-    FixPoint1616_t SignalRateRtn_MHz; /*!< Return signal rate (MHz)\n these is a 16.16 fix point
-     *	value, which is effectively a measure of target  reflectance.*/
-    FixPoint1616_t AmbientRateRtn_MHz;
-    /*!< Return ambient rate (MHz)\n these is a 16.16 fix point value, 
-      which is effectively a measure of the ambient light.*/
-    uint16_t EffectiveSpadRtnCount; /*!< Return the effective SPAD count for the return signal.
-     *	To obtain Real value it should be divided by 256 */
-    uint8_t RangeFractionalPart;
-    /*!< Fractional part of range distance. Final value is a  FixPoint168 value.; only noise :( */
-    uint8_t RangeStatus; /*!< Range Status for the current measurement. This is device
-     *	dependent. Value = 0 means value is valid.   See \ref RangeStatusPage */
+    FixPoint1616_t SignalRateRtn_MHz; /*!< Return signal rate (MHz), as 16.16 fix point, effectively a measure of target reflectance.*/
+    FixPoint1616_t AmbientRateRtn_MHz; /*!< Return ambient rate (MHz), as 16.16 fix point, effectively a measure of the ambient light.*/
+    uint16_t EffectiveSpadRtnCount; /*!< Return the effective SPAD count for the return signal, as a 8.8 fix point value. */
+    uint8_t RangeFractionalPart; /*!< Fractional part of range distance. Final value is a  FixPoint168 value.; only noise :( */
+    uint8_t RangeStatus; /*!< Range Status for the current measurement. Value = 0 means value is valid. See \ref RangeStatusPage */
+    FixPoint1616_t SigmaEstimate;		/*!< Estimated Sigma - based on ambient & VCSEL rates and signal_total_events */
 } VL53L0X_RangingMeasurementData_t;
 
 
@@ -638,7 +633,6 @@
     uint16_t SigmaEstEffAmbWidth;		/*!< Effective Ambient width for sigma estimate in 1/100th of ns e.g. 500 = 5.0ns */
     uint8_t StopVariable;				/*!< StopVariable used during the stop sequence */
     uint16_t targetRefRate;				/*!< Target Ambient Rate for Ref spad management */
-    FixPoint1616_t SigmaEstimate;		/*!< Sigma Estimate - based on ambient & VCSEL rates and  signal_total_events */
     FixPoint1616_t LastSignalRef_MHz;	/*!< Latest Signal ref in MHz */
     uint8_t *pTuningSettingsPointer;	/*!< Pointer for alternative Tuning Settings table */
     uint8_t UseInternalTuningSettings;	/*!< Indicate if we use	 Tuning Settings table, default = True */