From 98ed46286535ffb8a8023dac7b2844a7bff0ca08 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sat, 9 Feb 2019 12:22:10 -0500 Subject: spi_software: Implementation of software spi Signed-off-by: Matt Janus Signed-off-by: Kevin O'Connor --- src/spi_software.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/spi_software.h (limited to 'src/spi_software.h') diff --git a/src/spi_software.h b/src/spi_software.h new file mode 100644 index 00000000..549866f2 --- /dev/null +++ b/src/spi_software.h @@ -0,0 +1,11 @@ +#ifndef __SPI_SOFTWARE_H +#define __SPI_SOFTWARE_H + +#include // uint8_t + +struct spi_software *spi_software_oid_lookup(uint8_t oid); +void spi_software_prepare(struct spi_software *ss); +void spi_software_transfer(struct spi_software *ss, uint8_t receive_data + , uint8_t len, uint8_t *data); + +#endif // spi_software.h -- cgit v1.2.3-70-g09d2