zephyr/drivers/i2c/Kconfig.esp32
Ulf Magnusson bd6e04411e kconfig: Clean up header comments and make them consistent
Use this short header style in all Kconfig files:

    # <description>

    # <copyright>
    # <license>

    ...

Also change all <description>s from

    # Kconfig[.extension] - Foo-related options

to just

    # Foo-related options

It's clear enough that it's about Kconfig.

The <description> cleanup was done with this command, along with some
manual cleanup (big letter at the start, etc.)

    git ls-files '*Kconfig*' | \
        xargs sed -i -E '1 s/#\s*Kconfig[\w.-]*\s*-\s*/# /'

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-11-04 17:31:27 -05:00

48 lines
799 B
Plaintext

# ESP32 I2C configuration options
# Copyright (c) 2017 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
menuconfig I2C_ESP32
bool "ESP32 I2C"
depends on SOC_ESP32
select GPIO_ESP32
help
Enables the ESP32 I2C driver
if I2C_ESP32
config I2C_ESP32_TIMEOUT
int "I2C timeout to receive a data bit in APB clock cycles"
default 200000
if I2C_0
config I2C_ESP32_0_TX_LSB_FIRST
bool "Port 0 Transmit LSB first"
config I2C_ESP32_0_RX_LSB_FIRST
bool "Port 0 Receive LSB first"
config I2C_ESP32_0_IRQ
int "Port 0 IRQ line"
default 8
endif # I2C_0
if I2C_1
config I2C_ESP32_1_TX_LSB_FIRST
bool "Port 1 Transmit LSB first"
config I2C_ESP32_1_RX_LSB_FIRST
bool "Port 1 Receive LSB first"
config I2C_ESP32_1_IRQ
int "Port 1 IRQ line"
default 9
endif # I2C_1
endif # I2C_ESP32