zephyr/drivers/sensor/apds9960/Kconfig

36 lines
616 B
Plaintext
Raw Normal View History

#
# Copyright (c) 2017 Intel Corporation
# Copyright (c) 2018 Phytec Messtechnik GmbH
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig APDS9960
bool "APDS9960 Sensor"
depends on I2C && HAS_DTS_I2C && HAS_DTS_GPIO
help
Enable driver for APDS9960 sensors.
if APDS9960
choice
prompt "Trigger mode"
default APDS9960_TRIGGER_NONE
help
Specify the type of triggering used by the driver.
config APDS9960_TRIGGER_NONE
bool "No trigger"
config APDS9960_TRIGGER_GLOBAL_THREAD
bool "Use global thread"
depends on GPIO
select APDS9960_TRIGGER
endchoice
config APDS9960_TRIGGER
bool
endif # APDS9960