aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/sdc_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-05-04 14:38:02 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-05-04 14:38:02 +0000
commitf8c8c48fa989c71ab9b2e26677329ed108a779fb (patch)
tree42d272bc3ce491b431da5bd66d5403d1af171e27 /os/hal/platforms/STM32/sdc_lld.h
parent3e42a8fe7620e26912ed27f626f771b6bd757b31 (diff)
downloadChibiOS-f8c8c48fa989c71ab9b2e26677329ed108a779fb.tar.gz
ChibiOS-f8c8c48fa989c71ab9b2e26677329ed108a779fb.tar.bz2
ChibiOS-f8c8c48fa989c71ab9b2e26677329ed108a779fb.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2920 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/sdc_lld.h')
-rw-r--r--os/hal/platforms/STM32/sdc_lld.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32/sdc_lld.h b/os/hal/platforms/STM32/sdc_lld.h
index 4b27b92c1..3f12dd4fc 100644
--- a/os/hal/platforms/STM32/sdc_lld.h
+++ b/os/hal/platforms/STM32/sdc_lld.h
@@ -35,11 +35,19 @@
/* Driver constants. */
/*===========================================================================*/
+
/*===========================================================================*/
/* Driver pre-compile time settings. */
/*===========================================================================*/
/**
+ * @brief SDIO data timeout in SDIO clock cycles.
+ */
+#if !defined(STM32_SDC_DATATIMEOUT) || defined(__DOXYGEN__)
+#define STM32_SDC_DATATIMEOUT 0x000FFFFF
+#endif
+
+/**
* @brief SDIO DMA priority (0..3|lowest..highest).
*/
#if !defined(STM32_SDC_SDIO_DMA_PRIORITY) || defined(__DOXYGEN__)