Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
617 B

# Copyright (c) 2017 Linaro Ltd.
# SPDX-License-Identifier: Apache-2.0
config I2C_GPIO
bool "GPIO bit banging I2C support"
default y
depends on DT_HAS_GPIO_I2C_ENABLED
select I2C_BITBANG
help
Enable software driven (bit banging) I2C support using GPIO pins
if I2C_GPIO
config I2C_GPIO_CLOCK_STRETCHING
bool "GPIO bit banging I2C clock stretching support"
default y
help
Enable Slave clock stretching support
config I2C_GPIO_CLOCK_STRETCHING_TIMEOUT_US
int "GPIO bit banging I2C clock stretching timeout (us)"
default 100000
help
Timeout for clock stretching in microseconds.
endif # I2C_GPIO