zephyr/drivers/i2c/target/Kconfig
Tim Lin 27e2ec8a95 drivers/i2c: Add callback functions to support buffer mode in header file
Add buf_write_received and buf_read_requested callback functions
to support buffer mode.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2023-07-11 15:50:13 +02:00

31 lines
588 B
Plaintext

# I2C Target configuration options
# Copyright (c) 2017 BayLibre, SAS
# SPDX-License-Identifier: Apache-2.0
#
# I2C options
#
menuconfig I2C_TARGET
bool "I2C Target Drivers"
help
Enable I2C Target Driver Configuration
if I2C_TARGET
config I2C_TARGET_INIT_PRIORITY
int "Init priority"
default 60
help
I2C Target device driver initialization priority.
config I2C_TARGET_BUFFER_MODE
bool "I2C target driver for buffer mode [EXPERIMENTAL]"
select EXPERIMENTAL
help
This is an option to enable buffer mode.
source "drivers/i2c/target/Kconfig.eeprom"
endif # I2C_TARGET