diff options
author | Bernhard Tittelbach <xro@realraum.at> | 2012-05-17 06:14:21 +0000 |
---|---|---|
committer | Bernhard Tittelbach <xro@realraum.at> | 2012-05-17 06:14:21 +0000 |
commit | 7e774fa9945ffc50018db24aeefe0e88d10caccf (patch) | |
tree | 92cf5640962ab8c18622c3b104b528c41db1a44c /software/hhd70dongle/spi.h | |
parent | stuff (diff) |
hhd70 spi
git-svn-id: https://svn.spreadspace.org/mur.sat@414 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/hhd70dongle/spi.h')
-rw-r--r-- | software/hhd70dongle/spi.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/software/hhd70dongle/spi.h b/software/hhd70dongle/spi.h index 369f9c0..1243122 100644 --- a/software/hhd70dongle/spi.h +++ b/software/hhd70dongle/spi.h @@ -34,7 +34,8 @@ #define MURSAT_spi_h_INCLUDED void spi_init(void); -void spi_write(char address, char* data, int len); -void spi_read(char address, char* data, int* len); +void spi_write_byte(char byte); +void spi_write(char* data,unsigned int len); +void spi_read(unsigned int maxlen, char* data, unsigned int* len); #endif |