summaryrefslogtreecommitdiff
path: root/include/arch/msp430fr5994lp/driver/spi_a1.h
blob: 8c593ee7c45fd38edff9496171593d48a9133533 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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