diff options
author | Bernhard Tittelbach <xro@realraum.at> | 2012-05-17 06:14:27 +0000 |
---|---|---|
committer | Bernhard Tittelbach <xro@realraum.at> | 2012-05-17 06:14:27 +0000 |
commit | 33c96ee874cbd9548fcec54b97d1882548f3e50f (patch) | |
tree | a7742a9bc2aba0fa521154eaa9c7bc06083a1020 /software/hhd70dongle/spi.h | |
parent | spi and c1101 lib needs to be cleanly separated, code needs to be tested and ... (diff) |
spi and c1101 code shuffling
git-svn-id: https://svn.spreadspace.org/mur.sat@417 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/hhd70dongle/spi.h')
-rw-r--r-- | software/hhd70dongle/spi.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/software/hhd70dongle/spi.h b/software/hhd70dongle/spi.h index 8d1ac67..8b45493 100644 --- a/software/hhd70dongle/spi.h +++ b/software/hhd70dongle/spi.h @@ -34,8 +34,11 @@ #define MURSAT_spi_h_INCLUDED void spi_init(void); +void spi_cs_enable(void); +void spi_cs_disable(void); 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); +char spi_read_byte(void); +//~ void spi_write(char* data,unsigned int len); +//~ void spi_read(unsigned int maxlen, char *data, unsigned int *len); #endif |