2024-01-31 06:24:21 +08:00
|
|
|
# I2C configuration options
|
|
|
|
|
|
|
|
# Copyright (c) 2024, NXP
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2024-04-20 13:24:20 +08:00
|
|
|
menuconfig I2C_MCUX_FLEXCOMM
|
|
|
|
bool "MCUX FLEXCOMM I2C driver"
|
|
|
|
default y
|
|
|
|
depends on DT_HAS_NXP_LPC_I2C_ENABLED
|
|
|
|
select PINCTRL
|
|
|
|
help
|
|
|
|
Enable the mcux flexcomm i2c driver.
|
|
|
|
|
2024-01-31 06:24:21 +08:00
|
|
|
config I2C_NXP_TRANSFER_TIMEOUT
|
|
|
|
int "Transfer timeout [ms]"
|
|
|
|
default 0
|
2024-04-20 13:24:20 +08:00
|
|
|
depends on I2C_MCUX_FLEXCOMM
|
2024-01-31 06:24:21 +08:00
|
|
|
help
|
|
|
|
Timeout in milliseconds used for each I2C transfer.
|
|
|
|
0 means that the driver should use the K_FOREVER value,
|
|
|
|
i.e. it should wait as long as necessary.
|
|
|
|
In conjunction with this, FSL_FEATURE_I2C_TIMEOUT_RECOVERY
|
|
|
|
must be enabled to allow the driver to fully recover.
|