Files
Matthias Blankertz 0bc4815926 - Debugged SPI module
- Debugged UART
- Firmware support for SPI, UART
- Work on SD/MMC support in firmware
- Debugged mblite core/WB interface
2013-06-08 11:53:27 +02:00

16 lines
303 B
C

// Copyright (c) 2013 Matthias Blankertz <matthias@blankertz.org>
#ifndef _SPI_H_
#define _SPI_H_
#include <stdbool.h>
void spi_write(unsigned char data);
unsigned char spi_read();
unsigned char spi_xmit(unsigned char data);
void spi_set_ss(bool active);
void spi_setclk(unsigned char div);
#endif