1 /*
2  * Copyright (c) 2022 Intel Corporation
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef _ADC_CMP_NPCX_H_
8 #define _ADC_CMP_NPCX_H_
9 
10 enum adc_cmp_npcx_comparison {
11 	ADC_CMP_NPCX_GREATER,
12 	ADC_CMP_NPCX_LESS_OR_EQUAL,
13 };
14 
15 /* Supported ADC threshold controllers in NPCX series */
16 enum npcx_adc_cmp_thrctl {
17 	ADC_CMP_NPCX_THRCTL1,
18 	ADC_CMP_NPCX_THRCTL2,
19 	ADC_CMP_NPCX_THRCTL3,
20 	ADC_CMP_NPCX_THRCTL4,
21 	ADC_CMP_NPCX_THRCTL5,
22 	ADC_CMP_NPCX_THRCTL6,
23 	ADC_CMP_NPCX_THRCTL_COUNT,
24 };
25 
26 enum adc_cmp_npcx_sensor_attribute {
27 	SENSOR_ATTR_LOWER_VOLTAGE_THRESH = SENSOR_ATTR_PRIV_START,
28 	SENSOR_ATTR_UPPER_VOLTAGE_THRESH,
29 };
30 
31 #endif /* _ADC_CMP_NPCX_H_ */
32