13#ifndef ZEPHYR_INCLUDE_DRIVERS_SENSOR_ADC_CMP_NPCX_H_
14#define ZEPHYR_INCLUDE_DRIVERS_SENSOR_ADC_CMP_NPCX_H_
adc_cmp_npcx_comparison
Comparison between the ADC data and the threshold that triggers an event.
Definition adc_cmp_npcx.h:24
adc_cmp_npcx_sensor_attribute
Custom sensor attributes for the NPCX ADC comparator.
Definition adc_cmp_npcx.h:43
npcx_adc_cmp_thrctl
ADC threshold controllers in the NPCX series.
Definition adc_cmp_npcx.h:32
@ ADC_CMP_NPCX_GREATER
ADC data is greater than the threshold.
Definition adc_cmp_npcx.h:26
@ ADC_CMP_NPCX_LESS_OR_EQUAL
ADC data is less than or equal to the threshold.
Definition adc_cmp_npcx.h:28
@ SENSOR_ATTR_LOWER_VOLTAGE_THRESH
Lower threshold, in mV.
Definition adc_cmp_npcx.h:45
@ SENSOR_ATTR_UPPER_VOLTAGE_THRESH
Upper threshold, in mV.
Definition adc_cmp_npcx.h:47
@ ADC_CMP_NPCX_THRCTL2
Threshold controller 2.
Definition adc_cmp_npcx.h:34
@ ADC_CMP_NPCX_THRCTL1
Threshold controller 1.
Definition adc_cmp_npcx.h:33
@ ADC_CMP_NPCX_THRCTL_COUNT
Number of threshold controllers.
Definition adc_cmp_npcx.h:39
@ ADC_CMP_NPCX_THRCTL3
Threshold controller 3.
Definition adc_cmp_npcx.h:35
@ ADC_CMP_NPCX_THRCTL6
Threshold controller 6.
Definition adc_cmp_npcx.h:38
@ ADC_CMP_NPCX_THRCTL5
Threshold controller 5.
Definition adc_cmp_npcx.h:37
@ ADC_CMP_NPCX_THRCTL4
Threshold controller 4.
Definition adc_cmp_npcx.h:36
@ SENSOR_ATTR_PRIV_START
This and higher values are sensor specific.
Definition sensor.h:449