summaryrefslogtreecommitdiff
path: root/src/arch/msp430fr5969lp/driver
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-11-15 16:06:11 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-11-15 16:06:11 +0100
commitd0400d63dfca33d3839fafc1553357150cd19eca (patch)
treef5066fb691e21cf0f9f72b56a4486468f56c0086 /src/arch/msp430fr5969lp/driver
parenta923400805d41fc57c760d72588ab88485005690 (diff)
MSP430: Add "counter" driver
Diffstat (limited to 'src/arch/msp430fr5969lp/driver')
-rw-r--r--src/arch/msp430fr5969lp/driver/counter.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/arch/msp430fr5969lp/driver/counter.cc b/src/arch/msp430fr5969lp/driver/counter.cc
new file mode 100644
index 0000000..62ac778
--- /dev/null
+++ b/src/arch/msp430fr5969lp/driver/counter.cc
@@ -0,0 +1,7 @@
+#include "driver/counter.h"
+
+#if defined(TIMER_CYCLES)
+#warn "timer_cycles and counter are mutually exclusive. Expect odd behaviour."
+#endif
+
+Counter counter;