1# VL53L0X time of flight sensor configuration options
2
3# Copyright (c) 2023 Prosaris Solutions Inc.
4# SPDX-License-Identifier: Apache-2.0
5
6menuconfig VL53L1X
7	bool "VL53L1X time of flight sensor"
8	default y
9	depends on DT_HAS_ST_VL53L1X_ENABLED
10	depends on ZEPHYR_HAL_ST_MODULE
11	select I2C
12	select HAS_STLIB
13	help
14	  Enable driver for VL53L1X I2C-based time of flight sensor.
15
16if VL53L1X
17
18config VL53L1X_INTERRUPT_MODE
19	bool "Use interrupt mode for VL53L1X time of flight sensor"
20	default y
21	depends on GPIO
22	help
23	  Enable interrupt mode for VL53L1X time of flight sensor. Otherwise,
24	  the driver will use the polling method.
25
26config VL53L1X_XSHUT
27	bool "Use xshut pin on VL53L1X time of flight sensor"
28	depends on GPIO
29	help
30	  Enable to use the xshut pin on the VL53L1X. If not, the pin should be
31	  connected to VDD.
32
33endif # VL53L1X
34