diff options
Diffstat (limited to 'include/arch/msp430fr5969lp')
-rw-r--r-- | include/arch/msp430fr5969lp/driver/stdout1.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/arch/msp430fr5969lp/driver/stdout1.h b/include/arch/msp430fr5969lp/driver/stdout1.h new file mode 100644 index 0000000..baf5dc7 --- /dev/null +++ b/include/arch/msp430fr5969lp/driver/stdout1.h @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Birte Kristina Friesel + * + * SPDX-License-Identifier: BSD-2-Clause + */ +#ifndef STANDARDOUTPUT1_H +#define STANDARDOUTPUT1_H + +#include "object/outputstream.h" + +class StandardOutput1 : public OutputStream { + private: + StandardOutput1(const StandardOutput1 ©); + + public: + StandardOutput1 () {} + void setup(); + + virtual void put(char c) override; +}; + +extern StandardOutput1 kout1; + +#endif |