Searched refs:vcsel_period_pclks (Results 1 – 5 of 5) sorted by relevance
101 uint8_t vcsel_period_pclks = 0; in VL53L0X_decode_vcsel_period() local103 vcsel_period_pclks = (vcsel_period_reg + 1) << 1; in VL53L0X_decode_vcsel_period()105 return vcsel_period_pclks; in VL53L0X_decode_vcsel_period()108 uint8_t VL53L0X_encode_vcsel_period(uint8_t vcsel_period_pclks) in VL53L0X_encode_vcsel_period() argument117 vcsel_period_reg = (vcsel_period_pclks >> 1) - 1; in VL53L0X_encode_vcsel_period()478 uint32_t VL53L0X_calc_macro_period_ps(VL53L0X_DEV Dev, uint8_t vcsel_period_pclks) in VL53L0X_calc_macro_period_ps() argument493 * vcsel_period_pclks * PLL_period_ps); in VL53L0X_calc_macro_period_ps()543 uint8_t vcsel_period_pclks) in VL53L0X_calc_timeout_mclks() argument549 macro_period_ps = VL53L0X_calc_macro_period_ps(Dev, vcsel_period_pclks); in VL53L0X_calc_timeout_mclks()562 uint8_t vcsel_period_pclks) in VL53L0X_calc_timeout_us() argument[all …]
418 uint8_t vcsel_period_pclks = 0; in VL53L1_decode_vcsel_period() local420 vcsel_period_pclks = (vcsel_period_reg + 1) << 1; in VL53L1_decode_vcsel_period()422 return vcsel_period_pclks; in VL53L1_decode_vcsel_period()
932 uint8_t vcsel_period_pclks = 0; in VL53L1_calc_macro_period_us() local947 vcsel_period_pclks = VL53L1_decode_vcsel_period(vcsel_period); in VL53L1_calc_macro_period_us()966 macro_period_us = macro_period_us * (uint32_t)vcsel_period_pclks; in VL53L1_calc_macro_period_us()975 vcsel_period_pclks); in VL53L1_calc_macro_period_us()1375 uint8_t VL53L1_encode_vcsel_period(uint8_t vcsel_period_pclks) in VL53L1_encode_vcsel_period() argument1384 vcsel_period_reg = (vcsel_period_pclks >> 1) - 1; in VL53L1_encode_vcsel_period()
45 uint8_t VL53L0X_encode_vcsel_period(uint8_t vcsel_period_pclks);100 uint32_t timeout_period_us, uint8_t vcsel_period_pclks);
634 uint8_t vcsel_period_pclks);