SDFileSystem for STM32F746NG DISCOVERY with 4bit SDMMC interface on fixed pins
Dependents: DISCO-F746NG_SDFileSystem uzairkhan DISCO-F746NG_Scope_copy
Fork of SDFileSystem by
SD_Helper.h@27:8d192c180436, 2016-04-16 (annotated)
- Committer:
- DieterGraef
- Date:
- Sat Apr 16 13:01:50 2016 +0000
- Revision:
- 27:8d192c180436
- Parent:
- 24:698affe9560c
Changed hard locking mechanism to watchdog , solved issue with the sleep mode of SD cards
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
DieterGraef | 23:c03ef1abef0e | 1 | /* Define to prevent recursive inclusion -------------------------------------*/ |
DieterGraef | 23:c03ef1abef0e | 2 | #ifndef ___SD_Helper |
DieterGraef | 23:c03ef1abef0e | 3 | #define ___SD_Helper |
DieterGraef | 23:c03ef1abef0e | 4 | |
DieterGraef | 23:c03ef1abef0e | 5 | #include "cmsis.h" |
DieterGraef | 23:c03ef1abef0e | 6 | |
DieterGraef | 23:c03ef1abef0e | 7 | #ifdef __cplusplus |
DieterGraef | 23:c03ef1abef0e | 8 | extern "C" { |
DieterGraef | 23:c03ef1abef0e | 9 | #endif |
DieterGraef | 23:c03ef1abef0e | 10 | |
DieterGraef | 23:c03ef1abef0e | 11 | void CPU_CACHE_Flush(uint32_t * buffer, uint32_t length); |
DieterGraef | 23:c03ef1abef0e | 12 | |
DieterGraef | 23:c03ef1abef0e | 13 | void BSP_SD_CommandTransaction(char cmd, unsigned int arg); |
DieterGraef | 23:c03ef1abef0e | 14 | |
DieterGraef | 24:698affe9560c | 15 | void BSP_SD_Set_Busy(void); |
DieterGraef | 24:698affe9560c | 16 | void BSP_SD_Clear_Busy(void); |
DieterGraef | 24:698affe9560c | 17 | int BSP_SD_Get_Busy(void); |
DieterGraef | 23:c03ef1abef0e | 18 | void BSP_SD_Set_RX_Busy(void); |
DieterGraef | 23:c03ef1abef0e | 19 | void BSP_SD_Clear_RX_Busy(void); |
DieterGraef | 24:698affe9560c | 20 | int BSP_SD_Get_RX_Busy(void); |
DieterGraef | 23:c03ef1abef0e | 21 | void BSP_SD_Set_TX_Busy(void); |
DieterGraef | 23:c03ef1abef0e | 22 | void BSP_SD_Clear_TX_Busy(void); |
DieterGraef | 24:698affe9560c | 23 | int BSP_SD_Get_TX_Busy(void); |
DieterGraef | 23:c03ef1abef0e | 24 | |
DieterGraef | 23:c03ef1abef0e | 25 | #ifdef __cplusplus |
DieterGraef | 23:c03ef1abef0e | 26 | } |
DieterGraef | 23:c03ef1abef0e | 27 | #endif |
DieterGraef | 23:c03ef1abef0e | 28 | |
DieterGraef | 23:c03ef1abef0e | 29 | #endif /* ___SD_Helper */ |