X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/2c806f6ceee42db9094eb11f3f32524b98440726..5b5b73ce582d2afa40218e44b45a97ec6c6ce9cf:/LUFA/Drivers/Board/AVR8/XPLAIN/Dataflash.h
diff --git a/LUFA/Drivers/Board/AVR8/XPLAIN/Dataflash.h b/LUFA/Drivers/Board/AVR8/XPLAIN/Dataflash.h
index 62b4e0b9d..9647cc1a3 100644
--- a/LUFA/Drivers/Board/AVR8/XPLAIN/Dataflash.h
+++ b/LUFA/Drivers/Board/AVR8/XPLAIN/Dataflash.h
@@ -7,7 +7,7 @@
*/
/*
- Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@ -51,6 +51,18 @@
*
* Board specific Dataflash driver header for the Atmel XPLAIN.
*
+ * Revision 1 Boards:
+ *
+ * Name | Info | Select Pin | SPI Port |
+ * DATAFLASH_CHIP1 | AT45DB041D (512KB) | PORTB.5 | SPI0 |
+ *
+ *
+ * Other Board Revisions:
+ *
+ * Name | Info | Select Pin | SPI Port |
+ * DATAFLASH_CHIP1 | AT45DB642D (8MB) | PORTB.5 | SPI0 |
+ *
+ *
* @{
*/
@@ -59,7 +71,9 @@
/* Includes: */
#include "../../../../Common/Common.h"
+
#include "../../../Misc/AT45DB642D.h"
+ #include "../../../Peripheral/SPI.h"
/* Preprocessor Checks: */
#if !defined(__INCLUDE_FROM_DATAFLASH_H)
@@ -109,7 +123,7 @@
/** Sends a byte to the currently selected dataflash IC, and returns a byte from the dataflash.
*
- * \param[in] Byte of data to send to the dataflash
+ * \param[in] Byte Byte of data to send to the dataflash
*
* \return Last response byte from the dataflash
*/
@@ -121,7 +135,7 @@
/** Sends a byte to the currently selected dataflash IC, and ignores the next byte from the dataflash.
*
- * \param[in] Byte of data to send to the dataflash
+ * \param[in] Byte Byte of data to send to the dataflash
*/
static inline void Dataflash_SendByte(const uint8_t Byte) ATTR_ALWAYS_INLINE;
static inline void Dataflash_SendByte(const uint8_t Byte)