1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
38
39
42
43
46
49
50
53
56
57
60
63
64
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
84
85
88
89
/* ... */
#ifndef __FATFS_STORAGE_H
#define __FATFS_STORAGE_H
#ifdef __cplusplus
extern "C"
{/* ... */
#endif
#include <string.h>
#include <stdio.h>
#include "ff.h"
/* ... */
/* ... */
/* ... */
/* ... */
/* ... */
/* ... */
/* ... */
/* ... */
/* ... */
uint32_t Storage_Init (void);
uint32_t Storage_OpenReadFile(uint32_t Address, const char* BmpName);
uint32_t Storage_GetDirectoryBitmapFiles (const char* DirName, char* Files[]);
uint32_t Storage_CheckBitmapFile(const char* BmpName, uint32_t *FileLen);
uint8_t Buffercmp(uint8_t* pBuffer1, uint8_t* pBuffer2, uint16_t BufferLength);
#define MAX_BMP_FILES 10
#define MAX_BMP_FILE_NAME 11
#ifdef __cplusplus
}extern "C" { ... }
#endif
/* ... */
#endif
/* ... */
/* ... */
/* ... */