1# Configuration options for the Zephyr GPIO 1-Wire Master driver
2
3# Copyright (c) 2023 Hudson C. Dalpra
4# SPDX-License-Identifier: Apache-2.0
5
6config W1_ZEPHYR_GPIO
7	bool "1-wire GPIO"
8	default y
9	depends on DT_HAS_ZEPHYR_W1_GPIO_ENABLED
10	help
11	  This option enables the Zephyr GPIO 1-Wire master driver.
12
13	  The bus reset, and bit read and write operations are executed
14	  via byte read and write operations on top of the Zephyr
15	  GPIO driver interface.
16
17if W1_ZEPHYR_GPIO
18
19config W1_ZEPHYR_GPIO_TIME_CRITICAL
20	bool "Force time critical operations"
21	default y
22	help
23	  This option forces the 1-Wire GPIO driver to use time critical
24	  operations for bus reset, and bit read and write operations.
25	  Time critical communications operations are not interrupted while
26	  being generated.
27
28endif # W1_ZEPHYR_GPIO
29