git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4228 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
8e0b313cc4
commit
bbea726934
|
@ -145,6 +145,10 @@
|
|||
* @brief SDIO data timeouts in SDIO clock cycles.
|
||||
*/
|
||||
#if (defined(STM32F4XX) || defined(STM32F2XX))
|
||||
#if !STM32_CLOCK48_REQUIRED
|
||||
#error "SDIO requires STM32_CLOCK48_REQUIRED to be enabled"
|
||||
#endif
|
||||
|
||||
#define STM32_SDC_WRITE_TIMEOUT \
|
||||
(((STM32_PLL48CLK / (STM32_SDIO_DIV_HS + 2)) / 1000) * SDC_WRITE_TIMEOUT_MS)
|
||||
#define STM32_SDC_READ_TIMEOUT \
|
||||
|
|
|
@ -596,7 +596,7 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* @brief USB clock setting.
|
||||
* @brief USB/SDIO clock setting.
|
||||
*/
|
||||
#if !defined(STM32_CLOCK48_REQUIRED) || defined(__DOXYGEN__)
|
||||
#define STM32_CLOCK48_REQUIRED TRUE
|
||||
|
|
|
@ -602,7 +602,7 @@
|
|||
#endif
|
||||
|
||||
/**
|
||||
* @brief USB clock setting.
|
||||
* @brief USB/SDIO clock setting.
|
||||
*/
|
||||
#if !defined(STM32_CLOCK48_REQUIRED) || defined(__DOXYGEN__)
|
||||
#define STM32_CLOCK48_REQUIRED TRUE
|
||||
|
|
Loading…
Reference in New Issue