summaryrefslogtreecommitdiff
path: root/include/msp430fr5969lp/driver
diff options
context:
space:
mode:
Diffstat (limited to 'include/msp430fr5969lp/driver')
-rw-r--r--include/msp430fr5969lp/driver/stdout.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/msp430fr5969lp/driver/stdout.h b/include/msp430fr5969lp/driver/stdout.h
new file mode 100644
index 0000000..d6cb2b0
--- /dev/null
+++ b/include/msp430fr5969lp/driver/stdout.h
@@ -0,0 +1,19 @@
+#ifndef STANDARDOUTPUT_H
+#define STANDANDOUTPUT_H
+
+#include "object/outputstream.h"
+
+class StandardOutput : public OutputStream {
+ private:
+ StandardOutput(const StandardOutput &copy);
+
+ public:
+ StandardOutput () {}
+ void setup();
+
+ virtual void put(char c) override;
+};
+
+extern StandardOutput kout;
+
+#endif