Home
last modified time | relevance | path

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

/hal_st-3.6.0/sensor/vl53l0x/api/core/src/
Dvl53l0x_api_calibration.c404 uint32_t coarseIndex; in get_next_good_spad() local
422 for (coarseIndex = startIndex; ((coarseIndex < size) && !success); in get_next_good_spad()
423 coarseIndex++) { in get_next_good_spad()
425 dataByte = goodSpadArray[coarseIndex]; in get_next_good_spad()
427 if (coarseIndex == startIndex) { in get_next_good_spad()
437 *next = coarseIndex * cSpadsPerByte + fineIndex; in get_next_good_spad()
468 uint32_t coarseIndex; in enable_spad_bit() local
471 coarseIndex = spadIndex / cSpadsPerByte; in enable_spad_bit()
473 if (coarseIndex >= size) in enable_spad_bit()
476 spadArray[coarseIndex] |= (1 << fineIndex); in enable_spad_bit()