nordic,nrf-vbat

Description

nRF SoC battery voltage measurement via the SAADC (Zephyr ADC driver).
Reports SENSOR_CHAN_VOLTAGE in volts (sensor_value).

Properties

Properties not inherited from the base binding file.

Name

Type

Details

invert-voltage

boolean

If true, the voltage value is inverted
i.e. for use when positive pin used for ground.

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).