summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2017-12-14 16:28:10 +0100
committerDaniel Friesel <derf@finalrewind.org>2017-12-14 16:28:10 +0100
commit7fa97753d2f6ba2ce033b9da00d8020d8f247704 (patch)
tree426db44d2e0820b6c492b1f0e47a8fac3b45728c /include
parenta92b8a813ecf4942988e052d7a4b8f6b2a220de9 (diff)
Add MSP430FR5969 ADC driver
Diffstat (limited to 'include')
-rw-r--r--include/msp430fr5969lp/driver/adc.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/msp430fr5969lp/driver/adc.h b/include/msp430fr5969lp/driver/adc.h
new file mode 100644
index 0000000..d93aed4
--- /dev/null
+++ b/include/msp430fr5969lp/driver/adc.h
@@ -0,0 +1,17 @@
+#ifndef ADC_H
+#define ADC_H
+
+class ADC {
+ private:
+ ADC(ADC const &copy);
+
+ public:
+ ADC() {}
+
+ float getTemp();
+ float getVCC();
+};
+
+extern ADC adc;
+
+#endif