Top secrets sources NedoPC pentevo

Rev

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

#ifndef SPI_H
#define SPI_H

/**
 * @file
 * @brief SPI interface support.
 * @author http://www.nedopc.com
 *
 * SPI interface to FPGA.
 */


/** Init spi interface. */
void spi_init(void);

/**
 * SPI data interchange.
 * @return received data
 * @param byte [in] - data to send
 */

UBYTE spi_send(UBYTE byte);

#endif