blob: a02ceb8a6ab9de71135147efdd8a8c8e629c0fca [file] [log] [blame]
# Copyright (c) 2021, Eug Krashtan
# SPDX-License-Identifier: Apache-2.0
description: STM32 family TEMP node
compatible: "st,stm32-temp"
include: base.yaml
properties:
label:
required: true
io-channels:
required: true
description: ADC channel for temperature sensor
ts-voltage-mv:
type: int
default: 3300
description: Temperature sensor voltage in millivolts
avgslope:
type: int
default: 25
description: >
Average slope of T-V chart (in mV/C x10) according to
datasheet "Electrical characteristics/Operating conditions"
STM32F1 Table 5.3.19 (min 4 mV/C, max 4.6, default 4.3)
STM32F4 Table 6.3.21 default 2.5
v25:
type: int
default: 760
description: >
Voltage of temperature sensor at 25C in mV according to
datasheet "Electrical characteristics/Operating conditions"
STM32F1 Table 5.3.19 (min 1340, max 1520, default 1430)
STM32F4 Table 6.3.21 default 760
ntc:
type: boolean
description: >
Negative Temperature Coefficient. True if STM32F1