Skip to content
Snippets Groups Projects
spi.h 342 B
Newer Older
  • Learn to ignore specific revisions
  • /*
     * Copyright 2020 Daniel Friesel
     *
     * SPDX-License-Identifier: BSD-2-Clause
     */
    
    #ifndef SPI_H
    #define SPI_H
    
    class SPI {
    	private:
    		SPI(const SPI &copy);
    
    	public:
    		SPI () {}
    
    		signed char xmit(
    
    				unsigned int tx_len, unsigned char *tx_buf,
    				unsigned int rx_len, unsigned char *rx_buf);