Subversion Repositories pentevo

Rev

Rev 94 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed | ?url?

  1. #ifndef SPI_H
  2. #define SPI_H
  3.  
  4. /**
  5.  * @file
  6.  * @brief SPI interface support.
  7.  * @author http://www.nedopc.com
  8.  *
  9.  * SPI interface to FPGA.
  10.  */
  11.  
  12. /** Init spi interface. */
  13. void spi_init(void);
  14.  
  15. /**
  16.  * SPI data interchange.
  17.  * @return received data
  18.  * @param byte [in] - data to send
  19.  */
  20. UBYTE spi_send(UBYTE byte);
  21.  
  22. #endif
  23.  
  24.