-
CONFIG_LP3943_I2C_ADDRESS
¶
LP3943 I2C slave address
Type: hex
Help¶
Specify the I2C slave address for the LP3943 LED driver. 0x60: ADR0 = 0, ADR1 = 0, ADR2 = 0 0x61: ADR0 = 0, ADR1 = 0, ADR2 = 1 0x62: ADR0 = 0, ADR1 = 1, ADR2 = 0 0x63: ADR0 = 0, ADR1 = 1, ADR2 = 1 0x64: ADR0 = 1, ADR1 = 0, ADR2 = 0 0x65: ADR0 = 1, ADR1 = 0, ADR2 = 1 0x66: ADR0 = 1, ADR1 = 1, ADR2 = 0 0x67: ADR0 = 1, ADR1 = 1, ADR2 = 1
Defaults¶
- 0x60 if !
HAS_DTS_I2C_DEVICE
&&LED
Kconfig definition¶
At drivers/led/Kconfig.lp3943:25
Included via Kconfig:10
→ Kconfig.zephyr:29
→ drivers/Kconfig:80
→ drivers/led/Kconfig:43
Menu path: (top menu) → Device Drivers → LED drivers
config LP3943_I2C_ADDRESS hex prompt "LP3943 I2C slave address" if !HAS_DTS_I2C_DEVICE
&&LED
range 0x60 0x67 if !HAS_DTS_I2C_DEVICE
&&LED
default 0x60 if !HAS_DTS_I2C_DEVICE
&&LED
depends on !HAS_DTS_I2C_DEVICE
&&LED
help Specify the I2C slave address for the LP3943 LED driver. 0x60: ADR0 = 0, ADR1 = 0, ADR2 = 0 0x61: ADR0 = 0, ADR1 = 0, ADR2 = 1 0x62: ADR0 = 0, ADR1 = 1, ADR2 = 0 0x63: ADR0 = 0, ADR1 = 1, ADR2 = 1 0x64: ADR0 = 1, ADR1 = 0, ADR2 = 0 0x65: ADR0 = 1, ADR1 = 0, ADR2 = 1 0x66: ADR0 = 1, ADR1 = 1, ADR2 = 0 0x67: ADR0 = 1, ADR1 = 1, ADR2 = 1
(Definitions include propagated dependencies, including from if’s and menus.)