:orphan:
.. raw:: html
.. dtcompatible:: nuvoton,adc-cmp
.. _dtbinding_nuvoton_adc_cmp:
nuvoton,adc-cmp
###############
Vendor: :ref:`Nuvoton Technology Corporation `
Description
***********
.. code-block:: none
This will perform signal comparision with threshold established.
Properties
**********
.. tabs::
.. group-tab:: Node specific properties
Properties not inherited from the base binding file.
.. list-table::
:widths: 1 1 4
:header-rows: 1
* - Name
- Type
- Details
* - ``threshold-mv``
- ``int``
- .. code-block:: none
Value in millivolts present on ADC data as threshold assert.
* - ``comparison``
- ``string``
- .. code-block:: none
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'``
.. group-tab:: Deprecated node specific properties
Deprecated properties not inherited from the base binding file.
(None)
.. group-tab:: Base properties
Properties inherited from the base binding file, which defines
common properties that may be set on many nodes. Not all of these
may apply to the "nuvoton,adc-cmp" compatible.
.. list-table::
:widths: 1 1 4
:header-rows: 1
* - Name
- Type
- Details
* - ``io-channels``
- ``phandle-array``
- .. code-block:: none
ADC channel that will perform measurement.
This property is **required**.