aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/CodeTemplates
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-02-12 20:34:33 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-02-12 20:34:33 +0000
commit09d2be0dc1630b2ae2403d555c0360f1c4379322 (patch)
treeafb3191482a04b14a2d8c6b3086ab50a7798ce96 /LUFA/CodeTemplates
parentf45d60f768f438502910fd9fe7cac094c05bca74 (diff)
downloadlufa-09d2be0dc1630b2ae2403d555c0360f1c4379322.tar.gz
lufa-09d2be0dc1630b2ae2403d555c0360f1c4379322.tar.bz2
lufa-09d2be0dc1630b2ae2403d555c0360f1c4379322.zip
Add new Master SPI Mode USART serial peripheral driver for the XMEGA and AVR8 architectures.
Modify board Dataflash drivers so that each individual board is responsible for including the correct peripheral driver (SPI or SerialSPI) based on the board connections to the Dataflash chip. Complete A3BU-XPLAINED and B1-XPLAINED board Dataflash drivers.
Diffstat (limited to 'LUFA/CodeTemplates')
-rw-r--r--LUFA/CodeTemplates/DriverStubs/Dataflash.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/LUFA/CodeTemplates/DriverStubs/Dataflash.h b/LUFA/CodeTemplates/DriverStubs/Dataflash.h
index 711d1f8db..9fcc25f9b 100644
--- a/LUFA/CodeTemplates/DriverStubs/Dataflash.h
+++ b/LUFA/CodeTemplates/DriverStubs/Dataflash.h
@@ -97,7 +97,7 @@
static inline uint8_t Dataflash_TransferByte(const uint8_t Byte) ATTR_ALWAYS_INLINE;
static inline uint8_t Dataflash_TransferByte(const uint8_t Byte)
{
- return SPI_TransferByte(Byte);
+ // TODO
}
/** Sends a byte to the currently selected dataflash IC, and ignores the next byte from the dataflash.
@@ -107,7 +107,7 @@
static inline void Dataflash_SendByte(const uint8_t Byte) ATTR_ALWAYS_INLINE;
static inline void Dataflash_SendByte(const uint8_t Byte)
{
- SPI_SendByte(Byte);
+ // TODO
}
/** Sends a dummy byte to the currently selected dataflash IC, and returns the next byte from the dataflash.
@@ -117,7 +117,7 @@
static inline uint8_t Dataflash_ReceiveByte(void) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT;
static inline uint8_t Dataflash_ReceiveByte(void)
{
- return SPI_ReceiveByte();
+ // TODO
}
/** Determines the currently selected dataflash chip.