Part 1
요약·해설
npcx9m6f_evb에서 ADC comparator threshold crossing message를 확인합니다.
1 V
250 mV
ADC 8
Part 2
접을 수 있는 영어 원문 전체
영어 원문 전체 펼치기
44448888CF758419C6AE5C39C6EFA2451D84BF2E97CAF56F72564CA3FE56D3CF
.. _adc_cmp_npcx:
NPCX ADC Comparator
###################
Overview
********
This sample show how to use the NPCX ADC Comparator driver. The
sample supports the :ref:`npcx9m6f_evb`.
This application is a voltage comparator with hysteresis, upper limit is
set at 1 V while lower limit is 250 mV. Initially configured to detect
upper limit.
Building and Running
********************
Build the application for the :ref:`npcx9m6f_evb` board, and provide voltage
to ADC channel 8, when voltages cross upper/lower limits, detection messages
will be printed.
.. zephyr-app-commands::
:zephyr-app: samples/sensor/adc_cmp_npcx
:board: npcx9m6f_evb
:goals: flash
:compact:
Part 3
한국어 전문 번역
개요
이 sample은 NPCX ADC Comparator driver를 사용하는 방법을 보여 주며 npcx9m6f_evb board를 지원합니다.
Application은 hysteresis가 있는 voltage comparator로 동작합니다. Upper limit는 1 V, lower limit는 250 mV로 설정하고 처음에는 upper limit 통과를 검출하도록 구성합니다. 한쪽 threshold를 통과한 뒤에는 반대쪽 threshold를 기다리므로 경계 부근의 작은 전압 흔들림이 검출을 반복해서 발생시키지 않습니다.
빌드 및 실행
npcx9m6f_evb board용 application을 build하고 ADC channel 8에 voltage를 인가합니다. Voltage가 upper 또는 lower limit를 가로지르면 검출 message가 출력됩니다.
west build -b npcx9m6f_evb samples/sensor/adc_cmp_npcx
west flash
Source
출처
영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.