blob: 04616485ecb5c18314778428658d3a910ad9b905 [file] [log] [blame]
# Copyright (c) 2022 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
description: STM32 VBAT
include: sensor-device.yaml
compatible: "st,stm32-vbat"
properties:
io-channels:
required: true
description: ADC channel for Vbat sensor
ratio:
type: int
required: true
description: fraction of VBat to be connected to the ADC input