Home
last modified time | relevance | path

Searched refs:nextGoodSpad (Results 1 – 1 of 1) sorted by relevance

/hal_st-3.4.0/sensor/vl53l0x/api/core/src/
Dvl53l0x_api_calibration.c569 int32_t nextGoodSpad = offset; in enable_ref_spads() local
586 &nextGoodSpad); in enable_ref_spads()
588 if (nextGoodSpad == -1) { in enable_ref_spads()
594 if (is_aperture(start + nextGoodSpad) != apertureSpads) { in enable_ref_spads()
601 currentSpad = (uint32_t)nextGoodSpad; in enable_ref_spads()
687 int32_t nextGoodSpad = 0; in VL53L0X_perform_ref_spad_management() local
856 &nextGoodSpad); in VL53L0X_perform_ref_spad_management()
858 if (nextGoodSpad == -1) { in VL53L0X_perform_ref_spad_management()
866 if (is_aperture((uint32_t)startSelect + nextGoodSpad) != in VL53L0X_perform_ref_spad_management()
877 currentSpadIndex = nextGoodSpad; in VL53L0X_perform_ref_spad_management()