General functions and definitions. More...

Functions | |
| VL53L1_Error | VL53L1_GetDeviceInfo (VL53L1_DEV Dev, VL53L1_DeviceInfo_t *pVL53L1_DeviceInfo) |
| Reads the Device information for given Device. More... | |
| VL53L1_Error | VL53L1_GetPalErrorString (VL53L1_Error PalErrorCode, char *pPalErrorString) |
| Human readable error string for driver error status. More... | |
| VL53L1_Error | VL53L1_GetPalState (VL53L1_DEV Dev, VL53L1_State *pPalState) |
| Reads the internal state of the driver for a given Device. More... | |
| VL53L1_Error | VL53L1_GetPalStateString (VL53L1_State PalStateCode, char *pPalStateString) |
| Human readable driver State string. More... | |
| VL53L1_Error | VL53L1_GetProductRevision (VL53L1_DEV Dev, uint8_t *pProductRevisionMajor, uint8_t *pProductRevisionMinor) |
| Reads the Product Revision for a for given Device This function can be used to distinguish cut1.0 from cut1.1. More... | |
| VL53L1_Error | VL53L1_GetRangeStatusString (uint8_t RangeStatus, char *pRangeStatusString) |
| Human readable Range Status string for a given RangeStatus. More... | |
| VL53L1_Error | VL53L1_GetVersion (VL53L1_Version_t *pVersion) |
| Return the VL53L1 driver Version. More... | |
General functions and definitions.
| VL53L1_Error VL53L1_GetDeviceInfo | ( | VL53L1_DEV | Dev, |
| VL53L1_DeviceInfo_t * | pVL53L1_DeviceInfo | ||
| ) |
Reads the Device information for given Device.
| Dev | Device Handle |
| pVL53L1_DeviceInfo | Pointer to current device info for a given Device |
Definition at line 648 of file vl53l1_api.c.
| VL53L1_Error VL53L1_GetPalErrorString | ( | VL53L1_Error | PalErrorCode, |
| char * | pPalErrorString | ||
| ) |
Human readable error string for driver error status.
| PalErrorCode | The error code as stored on VL53L1_Error |
| pPalErrorString | The error string corresponding to the PalErrorCode. Shall be defined as char buf[VL53L1_MAX_STRING_LENGTH] |
Definition at line 704 of file vl53l1_api.c.
| VL53L1_Error VL53L1_GetPalState | ( | VL53L1_DEV | Dev, |
| VL53L1_State * | pPalState | ||
| ) |
Reads the internal state of the driver for a given Device.
| Dev | Device Handle |
| pPalState | Pointer to current state of the PAL for a given Device |
Definition at line 730 of file vl53l1_api.c.
| VL53L1_Error VL53L1_GetPalStateString | ( | VL53L1_State | PalStateCode, |
| char * | pPalStateString | ||
| ) |
Human readable driver State string.
| PalStateCode | The State code as stored on VL53L1_State |
| pPalStateString | The State string corresponding to the PalStateCode. Shall be defined as char buf[VL53L1_MAX_STRING_LENGTH] |
Definition at line 717 of file vl53l1_api.c.
| VL53L1_Error VL53L1_GetProductRevision | ( | VL53L1_DEV | Dev, |
| uint8_t * | pProductRevisionMajor, | ||
| uint8_t * | pProductRevisionMinor | ||
| ) |
Reads the Product Revision for a for given Device This function can be used to distinguish cut1.0 from cut1.1.
| Dev | Device Handle |
| pProductRevisionMajor | Pointer to Product Revision Major for a given Device |
| pProductRevisionMinor | Pointer to Product Revision Minor for a given Device |
Definition at line 629 of file vl53l1_api.c.
| VL53L1_Error VL53L1_GetRangeStatusString | ( | uint8_t | RangeStatus, |
| char * | pRangeStatusString | ||
| ) |
Human readable Range Status string for a given RangeStatus.
| RangeStatus | The RangeStatus code as stored on VL53L1_RangingMeasurementData_t |
| pRangeStatusString | The returned RangeStatus string. Shall be defined as char buf[VL53L1_MAX_STRING_LENGTH] |
Definition at line 690 of file vl53l1_api.c.
| VL53L1_Error VL53L1_GetVersion | ( | VL53L1_Version_t * | pVersion | ) |
Return the VL53L1 driver Version.
| pVersion | Rer to current driver Version |
Definition at line 613 of file vl53l1_api.c.