zephyr/drivers/sensor/st/stm32_digi_temp/Kconfig
Aurelien Jarno 371f22b937 drivers: sensor: st: add driver for the STM32 Digital Temperature Sensor
This add basic support for the STM32 Digital Temperature Sensor found
notably on the STM32H7 series. It work in interrupt mode and support
basic power device management.

It does not support the more advanced features like using the
temperature threshold, triggers from LPTIM or using the LSE clock in
during sleep or stop.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2024-06-04 16:37:19 +02:00

19 lines
741 B
Plaintext

# STM32 digital temperature sensor configuration options
# Copyright (c) 2024 Aurelien Jarno
# SPDX-License-Identifier: Apache-2.0
config STM32_DIGI_TEMP
bool "STM32 Digital Temperature Sensor"
default y
depends on DT_HAS_ST_STM32_DIGI_TEMP_ENABLED
depends on SOC_FAMILY_STM32
help
Enable the driver for STM32 digital temperature sensor. This sensor
is different from the STM32 analog temperature sensor, which is read
by an ADC. While both drivers have similar code footprint, the analog
temperature driver also requires the ADC driver to be enabled. The
sensors differ in precision, accuracy and power consumption. Users
are encouraged to consult the datasheet to select the sensor that
best suits their needs.