diff options
author | Karel Kočí <cynerd@email.cz> | 2015-03-22 14:05:00 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-03-22 14:05:00 +0100 |
commit | a5bb06281011f4f0edd6f7b9331f149bd256d495 (patch) | |
tree | 7b576d3b3a737e94a601a236523612369152f52b /spi_usart.h | |
parent | 9447247c1ab0b0a02c5ec87c138135953986975c (diff) | |
download | avr-ioe-a5bb06281011f4f0edd6f7b9331f149bd256d495.tar.gz avr-ioe-a5bb06281011f4f0edd6f7b9331f149bd256d495.tar.bz2 avr-ioe-a5bb06281011f4f0edd6f7b9331f149bd256d495.zip |
SPI moved from src subfolder and mode changes
SPI USI should now work.
SPI USI is now documented.
Removing architecture specific folders in src.
Diffstat (limited to 'spi_usart.h')
-rw-r--r-- | spi_usart.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/spi_usart.h b/spi_usart.h new file mode 100644 index 0000000..f29ac5b --- /dev/null +++ b/spi_usart.h @@ -0,0 +1,14 @@ +#include <stdio.h> +#include <avr/io.h> +#include <avr/interrupt.h> +#include <inttypes.h> + +#ifndef _IOE_SPI_USART_H_ +#define _IOE_SPI_USART_H_ + +inline void ioe_spi_usart_init(void); +inline int8_t ioe_spi_usart_transfer(int8_t); +inline int ioe_spi_usart_bussy(void); +inline void ioe_spi_usart_join(void); + +#endif /* _IOE_SPI_USART_H_ */ |