• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

boards/11-Mar-2024-119

src/11-Mar-2024-13697

CMakeLists.txtD11-Mar-2024227 106

README.rstD11-Mar-2024807 2920

prj.confD11-Mar-202462 43

sample.yamlD11-Mar-2024545 2221

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