Updates to follow mbed SDK coding style guidelines.
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Dependents: 53L0A1_Satellites_with_Interrupts_OS5 Display_53L0A1_OS5
Fork of X_NUCLEO_53L0A1 by
Calc_sigma_estimate
Functions | |
int | init_sensor (uint8_t new_addr) |
Initialize the sensor with default values. | |
int | start_measurement (OperatingMode operating_mode, void(*fptr)(void)) |
Start the measure indicated by operating mode. | |
int | get_measurement (OperatingMode operating_mode, VL53L0X_RangingMeasurementData_t *p_data) |
Get results for the measure indicated by operating mode. | |
int | stop_measurement (OperatingMode operating_mode) |
Stop the currently running measure indicate by operating_mode. | |
int | handle_irq (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 get_measurement | ( | OperatingMode | operating_mode, |
VL53L0X_RangingMeasurementData_t * | p_data | ||
) | [inherited] |
Get results for the measure indicated by operating mode.
- Parameters:
-
[in] operating_mode specifies requested measure results [out] p_data pointer to the MeasureData_t structure to read data in to
- Returns:
- 0 on Success
Definition at line 5358 of file vl53l0x_class.cpp.
int handle_irq | ( | 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 5418 of file vl53l0x_class.cpp.
int init_sensor | ( | uint8_t | new_addr ) | [inherited] |
Initialize the sensor with default values.
- Returns:
- 0 on Success
Definition at line 5148 of file vl53l0x_class.cpp.
int start_measurement | ( | 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 5218 of file vl53l0x_class.cpp.
int stop_measurement | ( | 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 5388 of file vl53l0x_class.cpp.
Generated on Wed Jul 13 2022 19:35:41 by 1.7.2