SDFileSystem for STM32F746NG DISCOVERY with 4bit SDMMC interface on fixed pins

Dependencies:   FATFileSystem

Dependents:   DISCO-F746NG_SDFileSystem uzairkhan DISCO-F746NG_Scope_copy

Fork of SDFileSystem by Neil Thiessen

Revision:
24:698affe9560c
Parent:
23:c03ef1abef0e
--- a/SD_Helper.c	Thu Mar 31 17:39:48 2016 +0000
+++ b/SD_Helper.c	Tue Apr 12 13:47:47 2016 +0000
@@ -6,7 +6,7 @@
 static SD_HandleTypeDef uSdHandle;
 static int RX_Busy;
 static int TX_Busy;
-
+static int SD_Busy;
 
 
 
@@ -98,6 +98,18 @@
   SDMMC_SendCommand(uSdHandle.Instance, &sdmmc_cmdinitstructure);
 }
 
+void BSP_SD_Set_Busy(void)
+{
+    SD_Busy=1;
+}
+void BSP_SD_Clear_Busy(void)
+{
+    SD_Busy=0;
+}
+int BSP_SD_Get_Busy(void)
+{
+    return SD_Busy;
+}
 
 void BSP_SD_Set_RX_Busy(void)
 {
@@ -107,7 +119,7 @@
 {
     RX_Busy=0;
 }
-int BSP_SD_Get_RX_busy(void)
+int BSP_SD_Get_RX_Busy(void)
 {
     return RX_Busy;
 }
@@ -120,7 +132,7 @@
 {
     TX_Busy=0;
 }
-int BSP_SD_Get_TX_busy(void)
+int BSP_SD_Get_TX_Busy(void)
 {
     return TX_Busy;
 }