/hal_st-3.6.0/sensor/vl53l0x/api/core/src/ |
D | vl53l0x_api.c | 84 VL53L0X_Error VL53L0X_GetProductRevision(VL53L0X_DEV Dev, in VL53L0X_GetProductRevision() argument 92 Status = VL53L0X_RdByte(Dev, VL53L0X_REG_IDENTIFICATION_REVISION_ID, in VL53L0X_GetProductRevision() 102 VL53L0X_Error VL53L0X_GetDeviceInfo(VL53L0X_DEV Dev, in VL53L0X_GetDeviceInfo() argument 108 Status = VL53L0X_get_device_info(Dev, pVL53L0X_DeviceInfo); in VL53L0X_GetDeviceInfo() 114 VL53L0X_Error VL53L0X_GetDeviceErrorStatus(VL53L0X_DEV Dev, in VL53L0X_GetDeviceErrorStatus() argument 122 Status = VL53L0X_RdByte(Dev, VL53L0X_REG_RESULT_RANGE_STATUS, in VL53L0X_GetDeviceErrorStatus() 182 VL53L0X_Error VL53L0X_GetPalState(VL53L0X_DEV Dev, VL53L0X_State *pPalState) in VL53L0X_GetPalState() argument 187 *pPalState = PALDevDataGet(Dev, PalState); in VL53L0X_GetPalState() 193 VL53L0X_Error VL53L0X_SetPowerMode(VL53L0X_DEV Dev, VL53L0X_PowerModes PowerMode) in VL53L0X_SetPowerMode() argument 204 Status = VL53L0X_WrByte(Dev, 0x80, 0x00); in VL53L0X_SetPowerMode() [all …]
|
D | vl53l0x_api_core.c | 61 VL53L0X_Error VL53L0X_measurement_poll_for_completion(VL53L0X_DEV Dev) in VL53L0X_measurement_poll_for_completion() argument 72 Status = VL53L0X_GetMeasurementDataReady(Dev, &NewDataReady); in VL53L0X_measurement_poll_for_completion() 85 VL53L0X_PollingDelay(Dev); in VL53L0X_measurement_poll_for_completion() 178 VL53L0X_Error VL53L0X_device_read_strobe(VL53L0X_DEV Dev) in VL53L0X_device_read_strobe() argument 185 Status |= VL53L0X_WrByte(Dev, 0x83, 0x00); in VL53L0X_device_read_strobe() 192 Status = VL53L0X_RdByte(Dev, 0x83, &strobe); in VL53L0X_device_read_strobe() 204 Status |= VL53L0X_WrByte(Dev, 0x83, 0x01); in VL53L0X_device_read_strobe() 211 VL53L0X_Error VL53L0X_get_info_from_device(VL53L0X_DEV Dev, uint8_t option) in VL53L0X_get_info_from_device() argument 238 ReadDataFromDeviceDone = VL53L0X_GETDEVICESPECIFICPARAMETER(Dev, in VL53L0X_get_info_from_device() 245 Status |= VL53L0X_WrByte(Dev, 0x80, 0x01); in VL53L0X_get_info_from_device() [all …]
|
D | vl53l0x_api_calibration.c | 51 VL53L0X_Error VL53L0X_perform_xtalk_calibration(VL53L0X_DEV Dev, in VL53L0X_perform_xtalk_calibration() argument 75 Status = VL53L0X_SetXTalkCompensationEnable(Dev, 0); in VL53L0X_perform_xtalk_calibration() 79 Status = VL53L0X_SetLimitCheckEnable(Dev, in VL53L0X_perform_xtalk_calibration() 90 Status = VL53L0X_PerformSingleRangingMeasurement(Dev, in VL53L0X_perform_xtalk_calibration() 178 Status = VL53L0X_SetXTalkCompensationEnable(Dev, 1); in VL53L0X_perform_xtalk_calibration() 182 Status = VL53L0X_SetXTalkCompensationRateMegaCps(Dev, in VL53L0X_perform_xtalk_calibration() 190 VL53L0X_Error VL53L0X_perform_offset_calibration(VL53L0X_DEV Dev, in VL53L0X_perform_offset_calibration() argument 208 Status = VL53L0X_SetOffsetCalibrationDataMicroMeter(Dev, 0); in VL53L0X_perform_offset_calibration() 213 Status = VL53L0X_GetSequenceStepEnable(Dev, in VL53L0X_perform_offset_calibration() 219 Status = VL53L0X_SetSequenceStepEnable(Dev, in VL53L0X_perform_offset_calibration() [all …]
|
D | vl53l0x_api_strings.c | 45 VL53L0X_Error VL53L0X_check_part_used(VL53L0X_DEV Dev, in VL53L0X_check_part_used() argument 55 Status = VL53L0X_get_info_from_device(Dev, 2); in VL53L0X_check_part_used() 58 ModuleIdInt = VL53L0X_GETDEVICESPECIFICPARAMETER(Dev, ModuleId); in VL53L0X_check_part_used() 64 *Revision = VL53L0X_GETDEVICESPECIFICPARAMETER(Dev, Revision); in VL53L0X_check_part_used() 65 ProductId_tmp = VL53L0X_GETDEVICESPECIFICPARAMETER(Dev, in VL53L0X_check_part_used() 76 VL53L0X_Error VL53L0X_get_device_info(VL53L0X_DEV Dev, in VL53L0X_get_device_info() argument 83 Status = VL53L0X_check_part_used(Dev, &Revision, pVL53L0X_DeviceInfo); in VL53L0X_get_device_info() 106 Status = VL53L0X_RdByte(Dev, VL53L0X_REG_IDENTIFICATION_MODEL_ID, in VL53L0X_get_device_info() 111 Status = VL53L0X_RdByte(Dev, in VL53L0X_get_device_info() 419 VL53L0X_Error VL53L0X_get_limit_check_info(VL53L0X_DEV Dev, uint16_t LimitCheckId, in VL53L0X_get_limit_check_info() argument
|
/hal_st-3.6.0/sensor/vl53l0x/api/core/inc/ |
D | vl53l0x_api.h | 99 VL53L0X_API VL53L0X_Error VL53L0X_GetProductRevision(VL53L0X_DEV Dev, 113 VL53L0X_API VL53L0X_Error VL53L0X_GetDeviceInfo(VL53L0X_DEV Dev, 126 VL53L0X_API VL53L0X_Error VL53L0X_GetDeviceErrorStatus(VL53L0X_DEV Dev, 195 VL53L0X_API VL53L0X_Error VL53L0X_GetPalState(VL53L0X_DEV Dev, 217 VL53L0X_API VL53L0X_Error VL53L0X_SetPowerMode(VL53L0X_DEV Dev, 234 VL53L0X_API VL53L0X_Error VL53L0X_GetPowerMode(VL53L0X_DEV Dev, 249 VL53L0X_DEV Dev, int32_t OffsetCalibrationDataMicroMeter); 267 VL53L0X_DEV Dev, int32_t *pOffsetCalibrationDataMicroMeter); 281 VL53L0X_API VL53L0X_Error VL53L0X_SetLinearityCorrectiveGain(VL53L0X_DEV Dev, 300 VL53L0X_API VL53L0X_Error VL53L0X_GetLinearityCorrectiveGain(VL53L0X_DEV Dev, [all …]
|
D | vl53l0x_api_core.h | 43 VL53L0X_Error VL53L0X_measurement_poll_for_completion(VL53L0X_DEV Dev); 53 VL53L0X_Error VL53L0X_get_info_from_device(VL53L0X_DEV Dev, uint8_t option); 55 VL53L0X_Error VL53L0X_set_vcsel_pulse_period(VL53L0X_DEV Dev, 58 VL53L0X_Error VL53L0X_get_vcsel_pulse_period(VL53L0X_DEV Dev, 63 VL53L0X_Error get_sequence_step_timeout(VL53L0X_DEV Dev, 67 VL53L0X_Error set_sequence_step_timeout(VL53L0X_DEV Dev, 71 VL53L0X_Error VL53L0X_set_measurement_timing_budget_micro_seconds(VL53L0X_DEV Dev, 74 VL53L0X_Error VL53L0X_get_measurement_timing_budget_micro_seconds(VL53L0X_DEV Dev, 77 VL53L0X_Error VL53L0X_load_tuning_settings(VL53L0X_DEV Dev, 80 VL53L0X_Error VL53L0X_calc_sigma_estimate(VL53L0X_DEV Dev, [all …]
|
D | vl53l0x_api_calibration.h | 40 VL53L0X_Error VL53L0X_perform_xtalk_calibration(VL53L0X_DEV Dev, 44 VL53L0X_Error VL53L0X_perform_offset_calibration(VL53L0X_DEV Dev, 48 VL53L0X_Error VL53L0X_set_offset_calibration_data_micro_meter(VL53L0X_DEV Dev, 51 VL53L0X_Error VL53L0X_get_offset_calibration_data_micro_meter(VL53L0X_DEV Dev, 54 VL53L0X_Error VL53L0X_apply_offset_adjustment(VL53L0X_DEV Dev); 56 VL53L0X_Error VL53L0X_perform_ref_spad_management(VL53L0X_DEV Dev, 59 VL53L0X_Error VL53L0X_set_reference_spads(VL53L0X_DEV Dev, 62 VL53L0X_Error VL53L0X_get_reference_spads(VL53L0X_DEV Dev, 65 VL53L0X_Error VL53L0X_perform_phase_calibration(VL53L0X_DEV Dev, 69 VL53L0X_Error VL53L0X_perform_ref_calibration(VL53L0X_DEV Dev, [all …]
|
D | vl53l0x_def.h | 566 #define VL53L0X_SETPARAMETERFIELD(Dev, field, value) \ argument 567 PALDevDataSet(Dev, CurrentParameters.field, value) 569 #define VL53L0X_GETPARAMETERFIELD(Dev, field, variable) \ argument 570 variable = PALDevDataGet(Dev, CurrentParameters).field 573 #define VL53L0X_SETARRAYPARAMETERFIELD(Dev, field, index, value) \ argument 574 PALDevDataSet(Dev, CurrentParameters.field[index], value) 576 #define VL53L0X_GETARRAYPARAMETERFIELD(Dev, field, index, variable) \ argument 577 variable = PALDevDataGet(Dev, CurrentParameters).field[index] 580 #define VL53L0X_SETDEVICESPECIFICPARAMETER(Dev, field, value) \ argument 581 PALDevDataSet(Dev, DeviceSpecificParameters.field, value) [all …]
|
D | vl53l0x_api_strings.h | 40 VL53L0X_Error VL53L0X_get_device_info(VL53L0X_DEV Dev, 59 VL53L0X_Error VL53L0X_get_limit_check_info(VL53L0X_DEV Dev, uint16_t LimitCheckId,
|
/hal_st-3.6.0/sensor/vl53l1x/api/core/src/ |
D | vl53l1_api.c | 85 static VL53L1_Error VL53L1_LoadPatch(VL53L1_DEV Dev); 86 static VL53L1_Error VL53L1_UnloadPatch(VL53L1_DEV Dev); 92 VL53L1_DEV Dev, in VL53L1_nvm_enable() argument 114 status = VL53L1_disable_firmware(Dev); in VL53L1_nvm_enable() 120 status = VL53L1_enable_powerforce(Dev); in VL53L1_nvm_enable() 127 status = VL53L1_WaitUs(Dev, in VL53L1_nvm_enable() 133 status = VL53L1_WrByte(Dev, VL53L1_RANGING_CORE__NVM_CTRL__PDN, in VL53L1_nvm_enable() 139 status = VL53L1_WrByte(Dev, VL53L1_RANGING_CORE__CLK_CTRL1, in VL53L1_nvm_enable() 145 status = VL53L1_WaitUs(Dev, nvm_power_up_delay_us); in VL53L1_nvm_enable() 150 status = VL53L1_WrByte(Dev, VL53L1_RANGING_CORE__NVM_CTRL__MODE, in VL53L1_nvm_enable() [all …]
|
D | vl53l1_wait.c | 89 VL53L1_DEV Dev) in VL53L1_wait_for_boot_completion() argument 96 VL53L1_LLDriverData_t *pdev = VL53L1DevStructGetLLDriverHandle(Dev); in VL53L1_wait_for_boot_completion() 108 Dev, in VL53L1_wait_for_boot_completion() 118 Dev, in VL53L1_wait_for_boot_completion() 123 Dev, in VL53L1_wait_for_boot_completion() 137 VL53L1_DEV Dev) in VL53L1_wait_for_firmware_ready() argument 145 VL53L1_LLDriverData_t *pdev = VL53L1DevStructGetLLDriverHandle(Dev); in VL53L1_wait_for_firmware_ready() 173 Dev, in VL53L1_wait_for_firmware_ready() 183 Dev, in VL53L1_wait_for_firmware_ready() 188 Dev, in VL53L1_wait_for_firmware_ready() [all …]
|
D | vl53l1_api_core.c | 104 VL53L1_DEV Dev, in VL53L1_get_version() argument 112 VL53L1_LLDriverData_t *pdev = VL53L1DevStructGetLLDriverHandle(Dev); in VL53L1_get_version() 114 VL53L1_init_version(Dev); in VL53L1_get_version() 122 VL53L1_DEV Dev, in VL53L1_get_device_firmware_version() argument 134 status = VL53L1_disable_firmware(Dev); in VL53L1_get_device_firmware_version() 138 Dev, in VL53L1_get_device_firmware_version() 143 status = VL53L1_enable_firmware(Dev); in VL53L1_get_device_firmware_version() 153 VL53L1_DEV Dev, in VL53L1_data_init() argument 162 VL53L1DevStructGetLLDriverHandle(Dev); in VL53L1_data_init() 165 Dev, in VL53L1_data_init() [all …]
|
D | vl53l1_register_funcs.c | 175 VL53L1_DEV Dev, in VL53L1_set_static_nvm_managed() argument 196 Dev, in VL53L1_set_static_nvm_managed() 208 VL53L1_DEV Dev, in VL53L1_get_static_nvm_managed() argument 223 Dev, in VL53L1_get_static_nvm_managed() 367 VL53L1_DEV Dev, in VL53L1_set_customer_nvm_managed() argument 388 Dev, in VL53L1_set_customer_nvm_managed() 400 VL53L1_DEV Dev, in VL53L1_get_customer_nvm_managed() argument 415 Dev, in VL53L1_get_customer_nvm_managed() 605 VL53L1_DEV Dev, in VL53L1_set_static_config() argument 626 Dev, in VL53L1_set_static_config() [all …]
|
D | vl53l1_core.c | 99 VL53L1_DEV Dev) in VL53L1_init_version() argument 105 VL53L1_LLDriverData_t *pdev = VL53L1DevStructGetLLDriverHandle(Dev); in VL53L1_init_version() 115 VL53L1_DEV Dev, in VL53L1_init_ll_driver_state() argument 122 VL53L1_LLDriverData_t *pdev = VL53L1DevStructGetLLDriverHandle(Dev); in VL53L1_init_ll_driver_state() 139 VL53L1_DEV Dev) in VL53L1_update_ll_driver_rd_state() argument 151 VL53L1_LLDriverData_t *pdev = VL53L1DevStructGetLLDriverHandle(Dev); in VL53L1_update_ll_driver_rd_state() 256 VL53L1_DEV Dev) in VL53L1_check_ll_driver_rd_state() argument 267 VL53L1DevStructGetLLDriverHandle(Dev); in VL53L1_check_ll_driver_rd_state() 350 VL53L1_DEV Dev) in VL53L1_update_ll_driver_cfg_state() argument 358 VL53L1DevStructGetLLDriverHandle(Dev); in VL53L1_update_ll_driver_cfg_state() [all …]
|
D | vl53l1_api_calibration.c | 105 VL53L1_DEV Dev, in VL53L1_run_ref_spad_char() argument 113 VL53L1_LLDriverData_t *pdev = VL53L1DevStructGetLLDriverHandle(Dev); in VL53L1_run_ref_spad_char() 126 status = VL53L1_enable_powerforce(Dev); in VL53L1_run_ref_spad_char() 135 Dev, in VL53L1_run_ref_spad_char() 149 Dev, in VL53L1_run_ref_spad_char() 159 Dev, in VL53L1_run_ref_spad_char() 178 Dev, in VL53L1_run_ref_spad_char() 201 Dev, in VL53L1_run_ref_spad_char() 214 Dev, in VL53L1_run_ref_spad_char() 291 VL53L1_DEV Dev, in VL53L1_run_offset_calibration() argument [all …]
|
D | vl53l1_silicon_core.c | 86 VL53L1_DEV Dev, in VL53L1_is_firmware_ready_silicon() argument 97 VL53L1_LLDriverData_t *pdev = VL53L1DevStructGetLLDriverHandle(Dev); in VL53L1_is_firmware_ready_silicon() 106 Dev, in VL53L1_is_firmware_ready_silicon()
|
/hal_st-3.6.0/sensor/vl53l1x/api/core/inc/ |
D | vl53l1_api_core.h | 90 VL53L1_DEV Dev, 103 VL53L1_DEV Dev, 122 VL53L1_DEV Dev, 141 VL53L1_DEV Dev); 155 VL53L1_DEV Dev); 175 VL53L1_DEV Dev, 193 VL53L1_DEV Dev, 212 VL53L1_DEV Dev, 230 VL53L1_DEV Dev, 247 VL53L1_DEV Dev, [all …]
|
D | vl53l1_api.h | 26 #define VL53L1DevDataGet(Dev, field) (Dev->Data.field) argument 31 #define VL53L1DevDataSet(Dev, field, data) ((Dev->Data.field) = (data)) argument 67 VL53L1_Error VL53L1_GetProductRevision(VL53L1_DEV Dev, 81 VL53L1_Error VL53L1_GetDeviceInfo(VL53L1_DEV Dev, 94 VL53L1_Error VL53L1_GetUID(VL53L1_DEV Dev, uint64_t *pUid); 150 VL53L1_Error VL53L1_GetPalState(VL53L1_DEV Dev, 177 VL53L1_Error VL53L1_SetDeviceAddress(VL53L1_DEV Dev, 204 VL53L1_Error VL53L1_DataInit(VL53L1_DEV Dev); 219 VL53L1_Error VL53L1_StaticInit(VL53L1_DEV Dev); 230 VL53L1_Error VL53L1_WaitDeviceBooted(VL53L1_DEV Dev); [all …]
|
D | vl53l1_register_funcs.h | 128 VL53L1_DEV Dev, 146 VL53L1_DEV Dev, 199 VL53L1_DEV Dev, 217 VL53L1_DEV Dev, 270 VL53L1_DEV Dev, 289 VL53L1_DEV Dev, 343 VL53L1_DEV Dev, 362 VL53L1_DEV Dev, 419 VL53L1_DEV Dev, 439 VL53L1_DEV Dev, [all …]
|
D | vl53l1_core.h | 87 VL53L1_DEV Dev); 98 VL53L1_DEV Dev, 112 VL53L1_DEV Dev); 126 VL53L1_DEV Dev); 139 VL53L1_DEV Dev); 174 VL53L1_DEV Dev); 339 VL53L1_DEV Dev, 358 VL53L1_DEV Dev, 372 VL53L1_DEV Dev); 387 VL53L1_DEV Dev); [all …]
|
D | vl53l1_wait.h | 91 VL53L1_DEV Dev); 109 VL53L1_DEV Dev); 124 VL53L1_DEV Dev); 139 VL53L1_DEV Dev); 158 VL53L1_DEV Dev, 175 VL53L1_DEV Dev, 200 VL53L1_DEV Dev, 226 VL53L1_DEV Dev, 243 VL53L1_DEV Dev, 267 VL53L1_DEV Dev,
|
D | vl53l1_def.h | 509 #define VL53L1_SETPARAMETERFIELD(Dev, field, value) \ argument 510 (VL53L1DevDataSet(Dev, CurrentParameters.field, value)) 512 #define VL53L1_GETPARAMETERFIELD(Dev, field, variable) \ argument 513 (variable = VL53L1DevDataGet(Dev, CurrentParameters).field) 516 #define VL53L1_SETARRAYPARAMETERFIELD(Dev, field, index, value) \ argument 517 (VL53L1DevDataSet(Dev, CurrentParameters.field[index], value)) 519 #define VL53L1_GETARRAYPARAMETERFIELD(Dev, field, index, variable) \ argument 520 (variable = VL53L1DevDataGet(Dev, CurrentParameters).field[index]) 523 #define VL53L1_SETDEVICESPECIFICPARAMETER(Dev, field, value) \ argument 524 (VL53L1DevDataSet(Dev, DeviceSpecificParameters.field, value)) [all …]
|
D | vl53l1_api_calibration.h | 121 VL53L1_Error VL53L1_run_ref_spad_char(VL53L1_DEV Dev, VL53L1_Error *pcal_status); 143 VL53L1_DEV Dev, 173 VL53L1_DEV Dev, 226 VL53L1_DEV Dev,
|
D | vl53l1_silicon_core.h | 92 VL53L1_DEV Dev,
|
D | vl53l1_api_debug.h | 94 VL53L1_DEV Dev,
|