Skip to content
Snippets Groups Projects
spi.h 244 B
Newer Older
  • Learn to ignore specific revisions
  • #pragma once
    
    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;