1# Copyright (c) 2023 Andriy Gelman <andriy.gelman@gmail.com> 2# SPDX-License-Identifier: Apache-2.0 3 4config XMC4XXX_TEMP 5 bool "XMC4XXX Temperature Sensor" 6 default y 7 depends on DT_HAS_INFINEON_XMC4XXX_TEMP_ENABLED 8 help 9 Enable driver for temperature sensor on Infineon XMC4XXX targets. 10 11if XMC4XXX_TEMP 12 13config XMC4XXX_TEMP_CALIBRATE_OFFSET 14 int "Offset adjumstment of the temperature reading" 15 default 0 16 help 17 Offset adjustment is defined as a shift of the conversion result. 18 The value is 7 bits in the range [-64, 63] which maps to -/+ 12.5C. 19 20config XMC4XXX_TEMP_CALIBRATE_GAIN 21 int "Gain adjumstment of the temperature reading" 22 default 32 23 help 24 Gain adjustment of the temperature reading. Range [0, 63]. 25 26endif # XMC4XXX_TEMP 27