summaryrefslogtreecommitdiff
path: root/src/lpc/lpc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lpc/lpc.h')
-rw-r--r--src/lpc/lpc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lpc/lpc.h b/src/lpc/lpc.h
index 49034c1c..d66f0dd0 100644
--- a/src/lpc/lpc.h
+++ b/src/lpc/lpc.h
@@ -1169,6 +1169,13 @@ extern struct lpc_adc lpc_adc;
#define LPC_ADC_CR_CLKS_6 5
#define LPC_ADC_CR_CLKS_5 6
#define LPC_ADC_CR_CLKS_4 7
+#define LPC_ADC_CR_START 24
+#define LPC_ADC_CR_START_NONE 0
+#define LPC_ADC_CR_START_NOW 1
+
+#define LPC_ADC_GDR_CHN 24
+#define LPC_ADC_GDR_OVERRUN 30
+#define LPC_ADC_GDR_DONE 31
#define LPC_ADC_INTEN_ADINTEN 0
#define LPC_ADC_INTEN_ADGINTEN 8