Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: BigBot_v1 PololuDistanceSensorTest Lidar Ares test ... more
VL53L0X Platform Functions
VL53L0X Platform Functions. More...
Data Structures | |
| struct | VL53L0X_Dev_t |
| Generic PAL device type that does link between API and platform abstraction layer. More... | |
Modules | |
| PAL Register Access Functions | |
PAL Register Access Functions. | |
| Basic type definition | |
file vl53l0x_types.h files hold basic type definition that may requires porting | |
Typedefs | |
| typedef VL53L0X_Dev_t * | VL53L0X_DEV |
| Declare the device Handle as a pointer of the structure VL53L0X_Dev_t. | |
Functions | |
| VL53L0X_Error | VL53L0X_PollingDelay (VL53L0X_DEV Dev) |
| execute delay in all polling API call | |
Detailed Description
VL53L0X Platform Functions.
Typedef Documentation
| typedef VL53L0X_Dev_t* VL53L0X_DEV |
Declare the device Handle as a pointer of the structure VL53L0X_Dev_t.
Definition at line 72 of file vl53l0x_platform.h.
Function Documentation
| VL53L0X_Error VL53L0X_PollingDelay | ( | VL53L0X_DEV | Dev ) |
execute delay in all polling API call
A typical multi-thread or RTOs implementation is to sleep the task for some 5ms (with 100Hz max rate faster polling is not needed) if nothing specific is need you can define it as an empty/void macro
#define VL53L0X_PollingDelay(...) (void)0
- Parameters:
-
Dev Device Handle
- Returns:
- VL53L0X_ERROR_NONE Success
- "Other error code" See VL53L0X_Error
Definition at line 307 of file vl53l0x_platform.cpp.
Generated on Wed Jul 13 2022 23:40:16 by
1.7.2