summaryrefslogtreecommitdiff
path: root/include/msp430fr5969lp/driver
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-01-11 14:23:07 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-01-11 14:23:07 +0100
commit0d84f5e512c4148bc45dd26eea177e09c0a21b56 (patch)
tree8d8ae62a68f11482d1c25f32d86cf1c43246f61d /include/msp430fr5969lp/driver
parent1978e406b816d463dc7feab083ce30638e8b787a (diff)
Add Sharp96 display driver, split up msp430 SPI into a1 / b
Diffstat (limited to 'include/msp430fr5969lp/driver')
-rw-r--r--include/msp430fr5969lp/driver/spi.h18
-rw-r--r--include/msp430fr5969lp/driver/spi_b.h2
2 files changed, 1 insertions, 19 deletions
diff --git a/include/msp430fr5969lp/driver/spi.h b/include/msp430fr5969lp/driver/spi.h
deleted file mode 100644
index 8c593ee..0000000
--- a/include/msp430fr5969lp/driver/spi.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef SPI_H
-#define SPI_H
-
-class SPI {
- private:
- SPI(const SPI &copy);
-
- public:
- SPI () {}
- signed char setup();
- signed char xmit(
- unsigned char tx_len, unsigned char *tx_buf,
- unsigned char rx_len, unsigned char *rx_buf);
-};
-
-extern SPI spi;
-
-#endif
diff --git a/include/msp430fr5969lp/driver/spi_b.h b/include/msp430fr5969lp/driver/spi_b.h
index 8c593ee..4be7346 100644
--- a/include/msp430fr5969lp/driver/spi_b.h
+++ b/include/msp430fr5969lp/driver/spi_b.h
@@ -7,7 +7,7 @@ class SPI {
public:
SPI () {}
- signed char setup();
+ void setup();
signed char xmit(
unsigned char tx_len, unsigned char *tx_buf,
unsigned char rx_len, unsigned char *rx_buf);