The latest development version of this page may be more current than this released 4.0.0 version.

st,stm32-vbat

Vendor: STMicroelectronics

Note

An implementation of a driver matching this compatible is available in drivers/sensor/st/stm32_vbat/stm32_vbat.c.

Description

STM32 family VBAT node

Properties

Properties not inherited from the base binding file.

Name

Type

Details

ratio

int

fraction of VBat to be connected to the ADC input

This property is required.

friendly-name

string

Human readable string describing the sensor. It can be used to
distinguish multiple instances of the same model (e.g., lid accelerometer
vs. base accelerometer in a laptop) to a host operating system.

This property is defined in the Generic Sensor Property Usages of the HID
Usage Tables specification
(https://usb.org/sites/default/files/hut1_3_0.pdf, section 22.5).