test
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Ranging calibration functions
Ranging calibration functions. More...
Functions | |
| int8_t | GetOffsetCalibrationData () |
| Get part to part calibration offset. | |
| void | SetOffsetCalibrationData (int8_t offset) |
| Set or over-write part to part calibration offset. | |
| int | SetXTalkCompensationRate (uint16_t Rate) |
| Set Cross talk compensation rate. | |
Detailed Description
Ranging calibration functions.
Function Documentation
| int8_t GetOffsetCalibrationData | ( | ) | [inherited] |
Get part to part calibration offset.
- Function Description
- Should only be used after a successful call to VL6180x_InitData to backup device nvm value
- Returns:
- part to part calibration offset from device
Definition at line 989 of file vl53l0x_class.h.
| void SetOffsetCalibrationData | ( | int8_t | offset ) | [inherited] |
Set or over-write part to part calibration offset.
- See also:
- VL6180x_InitData(), VL6180x_GetOffsetCalibrationData()
- Parameters:
-
offset Offset
Definition at line 1000 of file vl53l0x_class.h.
| int SetXTalkCompensationRate | ( | uint16_t | Rate ) | [inherited] |
Set Cross talk compensation rate.
- Function Description
- It programs register SYSRANGE_CROSSTALK_COMPENSATION_RATE
- Parameters:
-
Rate Compensation rate (9.7 fix point) see datasheet for details
- Returns:
- 0 on success
Definition at line 1015 of file vl53l0x_class.h.
Generated on Wed Jul 13 2022 06:23:43 by
1.7.2