This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

ite,it8xxx2-vcmp

Vendor: ITE Tech. Inc.

Description

ITE, it8xxx2 Voltage Comparator node

Properties

Properties not inherited from the base binding file.

Name

Type

Details

vcmp-ch

int

Voltage comparator channel.

This property is required.

scan-period

int

Select the scan interval for all comparator channel.
Check include/dt-bindings/sensor/it8xxx2_vcmp.h file for pre-defined values.

This property is required.

comparison

int

Determines the condition to be met between ADC data and
threshold assert value that will trigger comparator interrupt.
Check include/dt-bindings/sensor/it8xxx2_vcmp.h file for pre-defined values.

This property is required.

threshold-mv

int

16-bit value in milli-volts present on ADC data as threshold assert.
Check include/dt-bindings/sensor/it8xxx2_vcmp.h file for pre-defined values.

This property is required.