Changes to the library related to interrupt mode.
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Dependents: Display_53L0A1_IntSatelites Display_53L0A1_InterruptMode
Fork of X_NUCLEO_53L0A1 by
Calc_sigma_estimate
Functions | |
int | InitSensor (uint8_t NewAddr) |
Initialize the sensor with default values. | |
int | StartMeasurement (OperatingMode operating_mode, void(*fptr)(void)) |
Start the measure indicated by operating mode. | |
int | GetMeasurement (OperatingMode operating_mode, VL53L0X_RangingMeasurementData_t *Data) |
Get results for the measure indicated by operating mode. | |
int | StopMeasurement (OperatingMode operating_mode) |
Stop the currently running measure indicate by operating_mode. | |
int | HandleIRQ (OperatingMode operating_mode, VL53L0X_RangingMeasurementData_t *Data) |
Interrupt handling func to be called by user after an INT is occourred. |
Detailed Description
Estimates the range sigma
Function Documentation
int GetMeasurement | ( | OperatingMode | operating_mode, |
VL53L0X_RangingMeasurementData_t * | Data | ||
) | [inherited] |
Get results for the measure indicated by operating mode.
- Parameters:
-
[in] operating_mode specifies requested measure results [out] Data pointer to the MeasureData_t structure to read data in to
- Returns:
- 0 on Success
Definition at line 5317 of file vl53l0x_class.cpp.
int HandleIRQ | ( | OperatingMode | operating_mode, |
VL53L0X_RangingMeasurementData_t * | Data | ||
) | [inherited] |
Interrupt handling func to be called by user after an INT is occourred.
- Parameters:
-
[in] opeating_mode indicating the in progress measure [out] Data pointer to the MeasureData_t structure to read data in to
- Returns:
- 0 on Success
Definition at line 5385 of file vl53l0x_class.cpp.
int InitSensor | ( | uint8_t | NewAddr ) | [inherited] |
Initialize the sensor with default values.
- Returns:
- 0 on Success
Definition at line 5106 of file vl53l0x_class.cpp.
int StartMeasurement | ( | OperatingMode | operating_mode, |
void(*)(void) | fptr | ||
) | [inherited] |
Start the measure indicated by operating mode.
- Parameters:
-
[in] operating_mode specifies requested measure [in] fptr specifies call back function must be !NULL in case of interrupt measure
- Returns:
- 0 on Success
Definition at line 5180 of file vl53l0x_class.cpp.
int StopMeasurement | ( | OperatingMode | operating_mode ) | [inherited] |
Stop the currently running measure indicate by operating_mode.
- Parameters:
-
[in] operating_mode specifies requested measure to stop
- Returns:
- 0 on Success
Definition at line 5351 of file vl53l0x_class.cpp.
Generated on Tue Jul 12 2022 21:41:59 by
![doxygen](doxygen.png)