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