Updates to follow mbed SDK coding style guidelines.

Dependencies:   ST_INTERFACES X_NUCLEO_COMMON

Dependents:   53L0A1_Satellites_with_Interrupts_OS5 Display_53L0A1_OS5

Fork of X_NUCLEO_53L0A1 by ST

Embed: (wiki syntax)

« Back to documentation index

Ranging calibration functions

Ranging calibration functions

Ranging calibration functions. More...

Functions

int8_t get_offset_calibration_data ()
 Get part to part calibration offset.
void set_offset_calibration_data (int8_t offset)
 Set or over-write part to part calibration offset.
int set_xtalk_compensation_rate (uint16_t rate)
 Set Cross talk compensation rate.

Detailed Description

Ranging calibration functions.


Function Documentation

int8_t get_offset_calibration_data (  ) [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 998 of file vl53l0x_class.h.

void set_offset_calibration_data ( int8_t  offset ) [inherited]

Set or over-write part to part calibration offset.

See also:
VL6180x_InitData(), VL6180x_GetOffsetCalibrationData()
Parameters:
offsetOffset

Definition at line 1008 of file vl53l0x_class.h.

int set_xtalk_compensation_rate ( uint16_t  rate ) [inherited]

Set Cross talk compensation rate.

Function Description
It programs register SYSRANGE_CROSSTALK_COMPENSATION_RATE
Parameters:
rateCompensation rate (9.7 fix point) see datasheet for details
Returns:
0 on success

Definition at line 1022 of file vl53l0x_class.h.