Searched refs:tmp_int (Results 1 – 1 of 1) sorted by relevance
239 uint32_t tmp_int = 0; in VL53L1_rate_maths() local248 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() local313 tmp_int = (peak_count_rate << 8) << frac_bits; in VL53L1_rate_per_spad_maths()[all …]