![](/media/cache/profiles/avatar_uWKoV5n.jpg.50x50_q85.jpg)
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
SDFileSystem/SD_Helper.h@4:95e30a911d97, 2018-04-19 (annotated)
- Committer:
- Lightsource
- Date:
- Thu Apr 19 19:59:54 2018 +0000
- Revision:
- 4:95e30a911d97
Demo that reads a bitmap from SD-card, copies it to flash and displays it on the screen.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Lightsource | 4:95e30a911d97 | 1 | /* Define to prevent recursive inclusion -------------------------------------*/ |
Lightsource | 4:95e30a911d97 | 2 | #ifndef ___SD_Helper |
Lightsource | 4:95e30a911d97 | 3 | #define ___SD_Helper |
Lightsource | 4:95e30a911d97 | 4 | |
Lightsource | 4:95e30a911d97 | 5 | #include "cmsis.h" |
Lightsource | 4:95e30a911d97 | 6 | |
Lightsource | 4:95e30a911d97 | 7 | #ifdef __cplusplus |
Lightsource | 4:95e30a911d97 | 8 | extern "C" { |
Lightsource | 4:95e30a911d97 | 9 | #endif |
Lightsource | 4:95e30a911d97 | 10 | |
Lightsource | 4:95e30a911d97 | 11 | void CPU_CACHE_Flush(uint32_t * buffer, uint32_t length); |
Lightsource | 4:95e30a911d97 | 12 | |
Lightsource | 4:95e30a911d97 | 13 | void BSP_SD_CommandTransaction(char cmd, unsigned int arg); |
Lightsource | 4:95e30a911d97 | 14 | |
Lightsource | 4:95e30a911d97 | 15 | void BSP_SD_Set_Busy(void); |
Lightsource | 4:95e30a911d97 | 16 | void BSP_SD_Clear_Busy(void); |
Lightsource | 4:95e30a911d97 | 17 | int BSP_SD_Get_Busy(void); |
Lightsource | 4:95e30a911d97 | 18 | void BSP_SD_Set_RX_Busy(void); |
Lightsource | 4:95e30a911d97 | 19 | void BSP_SD_Clear_RX_Busy(void); |
Lightsource | 4:95e30a911d97 | 20 | int BSP_SD_Get_RX_Busy(void); |
Lightsource | 4:95e30a911d97 | 21 | void BSP_SD_Set_TX_Busy(void); |
Lightsource | 4:95e30a911d97 | 22 | void BSP_SD_Clear_TX_Busy(void); |
Lightsource | 4:95e30a911d97 | 23 | int BSP_SD_Get_TX_Busy(void); |
Lightsource | 4:95e30a911d97 | 24 | |
Lightsource | 4:95e30a911d97 | 25 | #ifdef __cplusplus |
Lightsource | 4:95e30a911d97 | 26 | } |
Lightsource | 4:95e30a911d97 | 27 | #endif |
Lightsource | 4:95e30a911d97 | 28 | |
Lightsource | 4:95e30a911d97 | 29 | #endif /* ___SD_Helper */ |