summaryrefslogtreecommitdiff
path: root/software/hhd70dongle/util.h
diff options
context:
space:
mode:
authorBernhard Tittelbach <xro@realraum.at>2012-05-17 06:14:36 +0000
committerBernhard Tittelbach <xro@realraum.at>2012-05-17 06:14:36 +0000
commitd6c77acf4842495eca2bbd8efb167a4ebf52fa81 (patch)
treec350e6570a614d5d2c05352baf88780fd7742a94 /software/hhd70dongle/util.h
parentfix CHP_RDY check, waiting and so on (diff)
freshen code and play around a bit
git-svn-id: https://svn.spreadspace.org/mur.sat@422 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/hhd70dongle/util.h')
-rw-r--r--software/hhd70dongle/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/software/hhd70dongle/util.h b/software/hhd70dongle/util.h
index 870cf3f..1c4cb21 100644
--- a/software/hhd70dongle/util.h
+++ b/software/hhd70dongle/util.h
@@ -33,6 +33,9 @@
#ifndef MURSAT_util_h_INCLUDED
#define MURSAT_util_h_INCLUDED
#define ADC_PRESCALER 0
+#define ADCMUX_INTERNALTEMP 0b100111
+#define ADCMUX_ADC12 0b100100
+
void reset(void);
int16_t adc_read(uint8_t mux);