-
CONFIG_APDS9960_I2C_DEV_NAME
¶
I2C Master
Type: string
Help¶
The device name of the I2C master device to which the APDS9960 chip is connected.
Direct dependencies¶
APDS9960
&& !HAS_DTS_I2C_DEVICE
&& SENSOR
(Includes any dependencies from if’s and menus.)
Defaults¶
- “I2C_0” if
APDS9960
&& !HAS_DTS_I2C_DEVICE
&&SENSOR
Kconfig definition¶
At drivers/sensor/apds9960/Kconfig:15
Included via Kconfig:10
→ Kconfig.zephyr:29
→ drivers/Kconfig:64
→ drivers/sensor/Kconfig:48
Menu path: (top menu) → Device Drivers → Sensor Drivers
config APDS9960_I2C_DEV_NAME string prompt "I2C Master" ifAPDS9960
&& !HAS_DTS_I2C_DEVICE
&&SENSOR
default "I2C_0" ifAPDS9960
&& !HAS_DTS_I2C_DEVICE
&&SENSOR
depends onAPDS9960
&& !HAS_DTS_I2C_DEVICE
&&SENSOR
help The device name of the I2C master device to which the APDS9960 chip is connected.
(Definitions include propagated dependencies, including from if’s and menus.)