Jerry Szczurak / X_NUCLEO_53L0A1

Dependencies:   ST_INTERFACES X_NUCLEO_COMMON

Dependents:   Display_53L0A1_IntSatelites Display_53L0A1_InterruptMode

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 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 1035 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:
offsetOffset

Definition at line 1046 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:
RateCompensation rate (9.7 fix point) see datasheet for details
Returns:
0 on success

Definition at line 1061 of file vl53l0x_class.h.