summaryrefslogtreecommitdiff
path: root/chip/npcx/adc_chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/npcx/adc_chip.h')
-rw-r--r--chip/npcx/adc_chip.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/chip/npcx/adc_chip.h b/chip/npcx/adc_chip.h
index fda98a7d74..8ee59519af 100644
--- a/chip/npcx/adc_chip.h
+++ b/chip/npcx/adc_chip.h
@@ -11,14 +11,16 @@
/* Minimum and maximum values returned by raw ADC read. */
#define ADC_READ_MIN 0
#define ADC_READ_MAX 1023
-#define ADC_MAX_VOLT 3260
+#define ADC_MAX_VOLT 3300
/* ADC input channel select */
enum npcx_adc_input_channel {
- NPCX_ADC_INPUT_CH0 = 0,
- NPCX_ADC_INPUT_CH1,
- NPCX_ADC_INPUT_CH2,
- NPCX_ADC_INPUT_CH_COUNT
+ NPCX_ADC_CH0 = 0,
+ NPCX_ADC_CH1,
+ NPCX_ADC_CH2,
+ NPCX_ADC_CH3,
+ NPCX_ADC_CH4,
+ NPCX_ADC_CH_COUNT
};
/* Data structure to define ADC channels. */