aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates/sdc_lld.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-02-23 14:23:15 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-02-23 14:23:15 +0000
commite42ca31b0f62818ed84c144eea7195515da7924f (patch)
tree1957890996cd67f67b8b5e09861fbe23a8af3a91 /os/hal/templates/sdc_lld.h
parent20551e0172314fabfbf2889bbbfb4b2d62c39d9c (diff)
downloadChibiOS-e42ca31b0f62818ed84c144eea7195515da7924f.tar.gz
ChibiOS-e42ca31b0f62818ed84c144eea7195515da7924f.tar.bz2
ChibiOS-e42ca31b0f62818ed84c144eea7195515da7924f.zip
limit the use of scratchpad buffer
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7697 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/templates/sdc_lld.h')
-rw-r--r--os/hal/templates/sdc_lld.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/os/hal/templates/sdc_lld.h b/os/hal/templates/sdc_lld.h
index 43e48afc0..4828149d2 100644
--- a/os/hal/templates/sdc_lld.h
+++ b/os/hal/templates/sdc_lld.h
@@ -78,7 +78,14 @@ typedef struct SDCDriver SDCDriver;
* @note It could be empty on some architectures.
*/
typedef struct {
- uint32_t dummy;
+ /**
+ * @brief Working area for memory consuming operations.
+ * @note It is mandatory for detecting MMC cards bigger than 2GB else it
+ * can be @p NULL.
+ * @note Memory pointed by this buffer is only used by @p sdcConnect(),
+ * afterward it can be reused for other purposes.
+ */
+ uint8_t *scratchpad;
} SDCConfig;
/**