Files
super6502/sw/spi.h
Byron Lathi 35973473d3 Change spi_write_byte to spi_byte
the SPI module reads and writes at the same time. If you don't want to
write a value, then write all zeros or whatever the device you are
communicating with wants.
2022-03-10 12:14:07 -06:00

8 lines
86 B
C

#ifndef _SPI_H
#define _SPI_H
#include <stdint.h>
uint8_t spi_byte(uint8_t);
#endif