From 7fa97753d2f6ba2ce033b9da00d8020d8f247704 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 14 Dec 2017 16:28:10 +0100 Subject: Add MSP430FR5969 ADC driver --- include/msp430fr5969lp/driver/adc.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 include/msp430fr5969lp/driver/adc.h (limited to 'include/msp430fr5969lp') 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 ©); + + public: + ADC() {} + + float getTemp(); + float getVCC(); +}; + +extern ADC adc; + +#endif -- cgit v1.2.3