README.rst
1.. _mcux_acmp:
2
3NXP MCUX Analog Comparator (ACMP)
4#################################
5
6Overview
7********
8
9This sample show how to use the NXP MCUX Analog Comparator (ACMP) driver. The
10sample supports the :ref:`twr_ke18f`.
11
12The input voltage for the the negative input of the analog comparator is
13provided by the ACMP Digital-to-Analog Converter (DAC). The input voltage for
14the positive input can be adjusted by turning the on-board potentiometer.
15
16The output value of the analog comparator is reported on the console.
17
18Building and Running
19********************
20
21Build the application for the :ref:`twr_ke18f` board, and adjust the
22ACMP input voltage by turning the on-board potentiometer.
23
24.. zephyr-app-commands::
25 :zephyr-app: samples/drivers/mcux_acmp
26 :board: twr_ke18f
27 :goals: flash
28 :compact:
29