summaryrefslogtreecommitdiff
path: root/include/arch/msp430fr5969lp/driver/dmx1.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/arch/msp430fr5969lp/driver/dmx1.h')
-rw-r--r--include/arch/msp430fr5969lp/driver/dmx1.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/arch/msp430fr5969lp/driver/dmx1.h b/include/arch/msp430fr5969lp/driver/dmx1.h
new file mode 100644
index 0000000..2f738b8
--- /dev/null
+++ b/include/arch/msp430fr5969lp/driver/dmx1.h
@@ -0,0 +1,21 @@
+/*
+ * Copyright 2022 Birte Kristina Friesel
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+class DMX1 {
+ private:
+ DMX1(const DMX1 &copy);
+
+ public:
+ static unsigned char const num_frames = 32;
+ unsigned char frames[num_frames];
+
+ DMX1() {}
+
+ void setup();
+ void write();
+};
+
+extern DMX1 dmx1;