ite,it51xxx-vcmp

Vendor: ITE Tech. Inc.

Note

An implementation of a driver matching this compatible is available in drivers/comparator/comparator_it51xxx_vcmp.c.

Description

ITE, it51xxx Voltage Comparator node

Properties

Properties not inherited from the base binding file.

Name

Type

Details

vcmp-ch

int

Voltage comparator channel.
Check include/zephyr/dt-bindings/comparator/it51xxx-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.

This property is required.

scan-period

int

0x1: Set comparator scan period to 100US
0x2: Set comparator scan period to 200US
0x3: Set comparator scan period to 400US
0x4: Set comparator scan period to 600US
0x5: Set comparator scan period to 800US
0x6: Set comparator scan period to 1MS
0x7: Set comparator scan period to 1.5MS
0x8: Set comparator scan period to 2MS
0x9: Set comparator scan period to 2.5MS
0xA: Set comparator scan period to 3MS
0xB: Set comparator scan period to 4MS
0xC: Set comparator scan period to 5MS

Default value: 4

Legal values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12