|
Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
|
Nuvoton NPCX ADC threshold comparator. More...
Files | |
| file | adc_cmp_npcx.h |
| Header file for extended sensor API of NPCX ADC comparator. | |
Enumerations | |
| enum | adc_cmp_npcx_comparison { ADC_CMP_NPCX_GREATER , ADC_CMP_NPCX_LESS_OR_EQUAL } |
| Comparison between the ADC data and the threshold that triggers an event. More... | |
| enum | npcx_adc_cmp_thrctl { ADC_CMP_NPCX_THRCTL1 , ADC_CMP_NPCX_THRCTL2 , ADC_CMP_NPCX_THRCTL3 , ADC_CMP_NPCX_THRCTL4 , ADC_CMP_NPCX_THRCTL5 , ADC_CMP_NPCX_THRCTL6 , ADC_CMP_NPCX_THRCTL_COUNT } |
| ADC threshold controllers in the NPCX series. More... | |
| enum | adc_cmp_npcx_sensor_attribute { SENSOR_ATTR_LOWER_VOLTAGE_THRESH = SENSOR_ATTR_PRIV_START , SENSOR_ATTR_UPPER_VOLTAGE_THRESH } |
| Custom sensor attributes for the NPCX ADC comparator. More... | |
Nuvoton NPCX ADC threshold comparator.
#include <zephyr/drivers/sensor/adc_cmp_npcx.h>
Comparison between the ADC data and the threshold that triggers an event.
| Enumerator | |
|---|---|
| ADC_CMP_NPCX_GREATER | ADC data is greater than the threshold. |
| ADC_CMP_NPCX_LESS_OR_EQUAL | ADC data is less than or equal to the threshold. |
#include <zephyr/drivers/sensor/adc_cmp_npcx.h>
Custom sensor attributes for the NPCX ADC comparator.
| Enumerator | |
|---|---|
| SENSOR_ATTR_LOWER_VOLTAGE_THRESH | Lower threshold, in mV. |
| SENSOR_ATTR_UPPER_VOLTAGE_THRESH | Upper threshold, in mV. |
| enum npcx_adc_cmp_thrctl |
#include <zephyr/drivers/sensor/adc_cmp_npcx.h>
ADC threshold controllers in the NPCX series.