-
CONFIG_I2C_0_DEFAULT_CFG
¶
Port 0 default configuration
Type: hex
Help¶
Allows the I2C port to be brought up with a default configuration. This is useful to set if other drivers depend upon using the I2C bus before the application has a chance to custom configure the port. Setting this value does not prohibit the application from customizing the values later. Refer to include/i2c.h file for proper values.
Direct dependencies¶
BOARD_INTEL_S1000_CRB
|| (I2C_0
&& I2C_ESP32
&& I2C
) || (I2C_0
&& !HAS_DTS_I2C
&& I2C
)
(Includes any dependencies from if’s and menus.)
Defaults¶
- 0x12 if
BOARD_INTEL_S1000_CRB
- 0x12 if
I2C_0
&&I2C_ESP32
&&I2C
- 0x0 if
I2C_0
&& !HAS_DTS_I2C
&&I2C
Kconfig definitions¶
At boards/xtensa/intel_s1000_crb/Kconfig.defconfig:49
Included via Kconfig:10
→ Kconfig.zephyr:21
Menu path: (top menu)
config I2C_0_DEFAULT_CFG hex default 0x12 ifBOARD_INTEL_S1000_CRB
depends onBOARD_INTEL_S1000_CRB
At drivers/i2c/Kconfig.esp32:24
Included via Kconfig:10
→ Kconfig.zephyr:35
→ drivers/Kconfig:38
→ drivers/i2c/Kconfig:22
Menu path: (top menu) → Device Drivers → I2C Drivers → ESP32 I2C
config I2C_0_DEFAULT_CFG hex default 0x12 ifI2C_0
&&I2C_ESP32
&&I2C
depends onI2C_0
&&I2C_ESP32
&&I2C
At drivers/i2c/Kconfig:51
Included via Kconfig:10
→ Kconfig.zephyr:35
→ drivers/Kconfig:38
Menu path: (top menu) → Device Drivers → I2C Drivers
config I2C_0_DEFAULT_CFG hex prompt "Port 0 default configuration" ifI2C_0
&& !HAS_DTS_I2C
&&I2C
default 0x0 ifI2C_0
&& !HAS_DTS_I2C
&&I2C
depends onI2C_0
&& !HAS_DTS_I2C
&&I2C
help Allows the I2C port to be brought up with a default configuration. This is useful to set if other drivers depend upon using the I2C bus before the application has a chance to custom configure the port. Setting this value does not prohibit the application from customizing the values later. Refer to include/i2c.h file for proper values.
(Definitions include propagated dependencies, including from if’s and menus.)