Add basic spi code

Implements the bit bang spi protocol
This commit is contained in:
Byron Lathi
2022-03-10 10:26:36 -06:00
parent 80d49b4f87
commit fff193ea0f
3 changed files with 58 additions and 0 deletions

8
sw/spi.h Normal file
View File

@@ -0,0 +1,8 @@
#ifndef _SPI_H
#define _SPI_H
#include <stdint.h>
void spi_write_byte(uint8_t);
#endif