zephyr/drivers/w1/Kconfig.zephyr_gpio
Hudson C. Dalpra 410684c7b0 drivers: w1: add zephyr-gpio driver
The zephyr-gpio w1 driver introduced in this commit implements
all routines for the w1 api on top of the zephyr gpio driver.
W1 bit read, write, and reset operations are executed by
bit-banging the selected gpio.

Signed-off-by: Hudson C. Dalpra <hudson@bduncanltd.com>
2024-01-08 12:43:52 +01:00

29 lines
811 B
Plaintext

# Configuration options for the Zephyr GPIO 1-Wire Master driver
# Copyright (c) 2023 Hudson C. Dalpra
# SPDX-License-Identifier: Apache-2.0
config W1_ZEPHYR_GPIO
bool "1-wire GPIO"
default y
depends on DT_HAS_ZEPHYR_W1_GPIO_ENABLED
help
This option enables the Zephyr GPIO 1-Wire master driver.
The bus reset, and bit read and write operations are executed
via byte read and write operations on top of the Zephyr
GPIO driver interface.
if W1_ZEPHYR_GPIO
config W1_ZEPHYR_GPIO_TIME_CRITICAL
bool "Force time critical operations"
default y
help
This option forces the 1-Wire GPIO driver to use time critical
operations for bus reset, and bit read and write operations.
Time critical communications operations are not interrupted while
being generated.
endif # W1_ZEPHYR_GPIO