aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/Board/Dataflash.h
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/Drivers/Board/Dataflash.h
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/Drivers/Board/Dataflash.h')
-rw-r--r--LUFA/Drivers/Board/Dataflash.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/LUFA/Drivers/Board/Dataflash.h b/LUFA/Drivers/Board/Dataflash.h
index 2e1336bf6..a5ae29dc8 100644
--- a/LUFA/Drivers/Board/Dataflash.h
+++ b/LUFA/Drivers/Board/Dataflash.h
@@ -123,7 +123,6 @@
/* Includes: */
#include "../../Common/Common.h"
- #include "../Peripheral/SPI.h"
/* Enable C linkage for C++ Compilers: */
#if defined(__cplusplus)
@@ -148,7 +147,9 @@
/* Inline Functions: */
/** Initializes the dataflash driver so that commands and data may be sent to an attached dataflash IC.
*
- * \note The microcontroller's SPI driver must be initialized before any of the dataflash commands are used.
+ * \note The microcontroller's physical interface driver connected to the Dataflash IC must be initialized before
+ * any of the dataflash commands are used. This is usually a SPI hardware port, but on some devices/boards may
+ * be a USART operating in SPI Master mode.
*/
static inline void Dataflash_Init(void);