4ec1eed4e7
The temperature sensor of the STM32F0x0 is similar to C0 (with one value for calibration) but uses a negative coefficient, so we add it to the bindings, just like in st,stm32-temp.yaml Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
24 lines
673 B
YAML
24 lines
673 B
YAML
# Copyright (c) 2023, Benjamin Björnsson <benjamin.bjornsson@gmail.com>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: |
|
|
STM32 family TEMP node for production calibrated sensors like C0
|
|
with a single calibration temperature.
|
|
|
|
compatible: "st,stm32c0-temp-cal"
|
|
|
|
include: "st,stm32-temp-cal-common.yaml"
|
|
|
|
properties:
|
|
avgslope:
|
|
type: int
|
|
default: 2530
|
|
description: |
|
|
Average slope of T-V chart (in uV/C) according to
|
|
datasheet "Electrical characteristics/Operating conditions"
|
|
STM32C0 Table 5.3.16 (min 2400 uV/C, max 2650, typ: 2530)
|
|
|
|
ntc:
|
|
type: boolean
|
|
description: Negative Temperature Coefficient. True if STM32F0x0
|