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.

nuvoton,adc-cmp

Vendor: Nuvoton Technology Corporation

Description

This will perform signal comparision with threshold established.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

threshold-mv

int

Value in millivolts present on ADC data as threshold assert.

comparison

string

Determines the condition to be met between ADC data and
threshold assert value that will trigger comparator event.

Legal values: 'ADC_CMP_NPCX_GREATER', 'ADC_CMP_NPCX_LESS_OR_EQUAL'

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