diff options
author | Daniel Friesel <derf@finalrewind.org> | 2017-12-14 16:28:10 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2017-12-14 16:28:10 +0100 |
commit | 7fa97753d2f6ba2ce033b9da00d8020d8f247704 (patch) | |
tree | 426db44d2e0820b6c492b1f0e47a8fac3b45728c /include/msp430fr5969lp/driver | |
parent | a92b8a813ecf4942988e052d7a4b8f6b2a220de9 (diff) |
Add MSP430FR5969 ADC driver
Diffstat (limited to 'include/msp430fr5969lp/driver')
-rw-r--r-- | include/msp430fr5969lp/driver/adc.h | 17 |
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 ©); + + public: + ADC() {} + + float getTemp(); + float getVCC(); +}; + +extern ADC adc; + +#endif |