diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-08-31 15:24:50 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-08-31 15:24:50 +0200 |
commit | ae3acc651a459500bc11ba938607875c6ae21f3a (patch) | |
tree | 3a1d74bad3a4f7ebc3b5bb8bf6a021b0c642b092 /include/arch/msp430fr5969lp/driver/spi.h | |
parent | b85efb34524451b47146badfc2fd25bef8d90926 (diff) |
msp430fr: rename spi_b to spi to be consistent with other architectures
Diffstat (limited to 'include/arch/msp430fr5969lp/driver/spi.h')
-rw-r--r-- | include/arch/msp430fr5969lp/driver/spi.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/arch/msp430fr5969lp/driver/spi.h b/include/arch/msp430fr5969lp/driver/spi.h new file mode 100644 index 0000000..4be7346 --- /dev/null +++ b/include/arch/msp430fr5969lp/driver/spi.h @@ -0,0 +1,18 @@ +#ifndef SPI_H +#define SPI_H + +class SPI { + private: + SPI(const SPI ©); + + public: + SPI () {} + void setup(); + signed char xmit( + unsigned char tx_len, unsigned char *tx_buf, + unsigned char rx_len, unsigned char *rx_buf); +}; + +extern SPI spi; + +#endif |