-
CONFIG_LIS2DH_SPI_MASTER_DEV_NAME
¶
SPI master device name
Type: string
Help¶
Specify the device name of the SPI master device to which LIS2DH is connected.
Direct dependencies¶
LIS2DH
&& LIS2DH_BUS_SPI
&& SENSOR
(Includes any dependencies from if’s and menus.)
Defaults¶
- “SPI_0” if
LIS2DH
&&LIS2DH_BUS_SPI
&&SENSOR
Kconfig definition¶
At drivers/sensor/lis2dh/Kconfig:43
Included via Kconfig:10
→ Kconfig.zephyr:29
→ drivers/Kconfig:64
→ drivers/sensor/Kconfig:80
Menu path: (top menu) → Device Drivers → Sensor Drivers → LIS2DH Three Axis Accelerometer
config LIS2DH_SPI_MASTER_DEV_NAME string prompt "SPI master device name" ifLIS2DH
&&LIS2DH_BUS_SPI
&&SENSOR
default "SPI_0" ifLIS2DH
&&LIS2DH_BUS_SPI
&&SENSOR
depends onLIS2DH
&&LIS2DH_BUS_SPI
&&SENSOR
help Specify the device name of the SPI master device to which LIS2DH is connected.
(Definitions include propagated dependencies, including from if’s and menus.)