From 7205332a95fad57d5f68885a3834319ecd48e457 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 16 Jan 2022 10:41:59 +0100 Subject: add DMX driver for MSP430FR5969 and MSP430FR5994 launchpads --- include/arch/msp430fr5969lp/driver/dmx.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 include/arch/msp430fr5969lp/driver/dmx.h (limited to 'include/arch/msp430fr5969lp/driver') diff --git a/include/arch/msp430fr5969lp/driver/dmx.h b/include/arch/msp430fr5969lp/driver/dmx.h new file mode 100644 index 0000000..5822a0d --- /dev/null +++ b/include/arch/msp430fr5969lp/driver/dmx.h @@ -0,0 +1,20 @@ +/* + * Copyright 2022 Daniel Friesel + * + * SPDX-License-Identifier: BSD-2-Clause + */ + +class DMX { + private: + DMX(const DMX ©); + + public: + unsigned char frames[16]; + + DMX() {} + + void setup(); + void write(); +}; + +extern DMX dmx; -- cgit v1.2.3