summaryrefslogtreecommitdiff
path: root/software/hhd70dongle/spi.h
diff options
context:
space:
mode:
authorBernhard Tittelbach <xro@realraum.at>2012-05-17 06:14:31 +0000
committerBernhard Tittelbach <xro@realraum.at>2012-05-17 06:14:31 +0000
commit3933e444d919d33475e8f9c05c54e24a9a127061 (patch)
tree3f3de3238c6622fae29038a7c8034542a915fd6f /software/hhd70dongle/spi.h
parentdebugging test attempts (diff)
make SPI work by understanding how it actually works
git-svn-id: https://svn.spreadspace.org/mur.sat@419 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/hhd70dongle/spi.h')
-rw-r--r--software/hhd70dongle/spi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/software/hhd70dongle/spi.h b/software/hhd70dongle/spi.h
index 8b45493..cc1102b 100644
--- a/software/hhd70dongle/spi.h
+++ b/software/hhd70dongle/spi.h
@@ -38,6 +38,7 @@ void spi_cs_enable(void);
void spi_cs_disable(void);
void spi_write_byte(char byte);
char spi_read_byte(void);
+char spi_exchange_byte(char byte);
//~ void spi_write(char* data,unsigned int len);
//~ void spi_read(unsigned int maxlen, char *data, unsigned int *len);