This demo reads a bitmap from a FAT formatted SD-card, copies it to flash and displays it on the screen. The demo is based on the following project: https://os.mbed.com/users/DieterGraef/code/DISCO-F746NG_SDFileSystem/

Dependencies:   LCD_DISCO_F746NG TS_DISCO_F746NG mbed FATFileSystem

Fork of DISCO-F746NG_SDFileSystem by Dieter Graef

SDFileSystem/SD_Helper.h

Committer:
Lightsource
Date:
2018-04-19
Revision:
4:95e30a911d97

File content as of revision 4:95e30a911d97:

 /* Define to prevent recursive inclusion -------------------------------------*/
#ifndef ___SD_Helper
#define ___SD_Helper

#include "cmsis.h"

#ifdef __cplusplus
 extern "C" {
#endif

void CPU_CACHE_Flush(uint32_t * buffer, uint32_t length);

void    BSP_SD_CommandTransaction(char cmd, unsigned int arg);

void BSP_SD_Set_Busy(void);
void BSP_SD_Clear_Busy(void);
int BSP_SD_Get_Busy(void);
void BSP_SD_Set_RX_Busy(void);
void BSP_SD_Clear_RX_Busy(void);
int BSP_SD_Get_RX_Busy(void);
void BSP_SD_Set_TX_Busy(void);
void BSP_SD_Clear_TX_Busy(void);
int BSP_SD_Get_TX_Busy(void);

#ifdef __cplusplus
}
#endif

#endif /* ___SD_Helper */