1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/ds18/Kconfig
2022-03-04 14:15:37 +01:00

28 lines
770 B
Plaintext

# Copyright (c) 2020 HAW Hamburg
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
menuconfig MODULE_DS18
bool
prompt "DS18 temperature sensors" if !(MODULE_SAUL_DEFAULT && HAVE_DS18)
default (MODULE_SAUL_DEFAULT && HAVE_DS18)
depends on HAS_PERIPH_GPIO
depends on TEST_KCONFIG
select MODULE_PERIPH_GPIO
select MODULE_XTIMER
config MODULE_DS18_OPTIMIZED
bool "Optimized mode"
depends on MODULE_DS18
help
Say y to use the optimized mode if the board can handle ~3us resolution
with the xtimer.
config HAVE_DS18
bool
help
Indicates that a DS18 temperature sensor is present.