ST Expansion SW Team / VL53L3CX_mbed

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Dependents:   VL53L3CX_NoShield_1Sensor_poll_Mb06x VL53L3_NoShield_1Sensor_polling_Mb63 X_NUCLEO_53L3A2 53L3A2_Ranging

Embed: (wiki syntax)

« Back to documentation index

VL53LX ROI Functions

VL53LX ROI Functions
[VL53LX Function Definition]

Functions used to select ROIs. More...

Functions

VL53LX_Error VL53LX_SetUserROI (VL53LX_DEV Dev, VL53LX_UserRoi_t *pUserROi)
 Set the ROI to be used for ranging.
VL53LX_Error VL53LX_GetUserROI (VL53LX_DEV Dev, VL53LX_UserRoi_t *pUserROi)
 Get the ROI managed by the Device.

Detailed Description

Functions used to select ROIs.


Function Documentation

VL53LX_Error VL53LX_GetUserROI ( VL53LX_DEV  Dev,
VL53LX_UserRoi_t pUserROi 
)

Get the ROI managed by the Device.

Function Description
Get the ROI managed by the Device
Parameters:
DevDevice Handle
pUserROiPointer to the Structure definining the ROI
Returns:
VL53LX_ERROR_NONE Success
"Other error code" See VL53LX_Error

Definition at line 608 of file vl53lx_api.c.

VL53LX_Error VL53LX_SetUserROI ( VL53LX_DEV  Dev,
VL53LX_UserRoi_t pUserROi 
)

Set the ROI to be used for ranging.

Function Description
The user defined ROI is a rectangle described as per the following system from the Top Left corner to the Bottom Right corner.
Minimal ROI size is 4x4 spads
roi_coord.png
Parameters:
DevDevice Handle
pUserROiPointer to the Structure definining the ROI
Returns:
VL53LX_ERROR_NONE Success
"Other error code" See VL53LX_Error

Definition at line 578 of file vl53lx_api.c.