Home
last modified time | relevance | path

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

/hal_st-2.7.6/sensor/vl53l1x/api/core/src/
Dvl53l1_core_support.c239 uint32_t tmp_int = 0; in VL53L1_rate_maths() local
248 tmp_int = VL53L1_SPAD_TOTAL_COUNT_MAX; in VL53L1_rate_maths()
250 tmp_int = (uint32_t)events; in VL53L1_rate_maths()
270 tmp_int = ((tmp_int << frac_bits) + (time_us / 2)) / time_us; in VL53L1_rate_maths()
277 tmp_int = tmp_int << 4; in VL53L1_rate_maths()
285 if (tmp_int > 0xFFFF) { in VL53L1_rate_maths()
286 tmp_int = 0xFFFF; in VL53L1_rate_maths()
289 rate_mcps = (uint16_t)tmp_int; in VL53L1_rate_maths()
301 uint32_t tmp_int = 0; in VL53L1_rate_per_spad_maths() local
313 tmp_int = (peak_count_rate << 8) << frac_bits; in VL53L1_rate_per_spad_maths()
[all …]