NetBurner 3.1
SSL/HttpsUploadCert/src/effs_std.h
1
/*NB_REVISION*/
2
3
/*NB_COPYRIGHT*/
4
22
#ifndef _EFFSSTD_H_
23
#define _EFFSSTD_H_
24
25
/*******************************************************************
26
* Definitions
27
*******************************************************************/
28
/* On-chip Flash NOR */
29
#define USE_NOR
30
31
/* Drive numbers */
32
#define NOR_DRV_NUM 0
33
#define STDRAM_DRV_NUM 1
34
#define MMC_DRV_NUM 2
35
#define CFC_DRV_NUM 3
36
#define HDD_DRV_NUM 3
37
#define FATRAM_DRV_NUM 4
38
39
#define FS_NO_ERROR FS_NOERR
40
41
/* Routine definitions */
42
#include <
file/fsf.h
>
43
#include <file/fwerr.h>
44
45
/*
46
******************************************************************************
47
*
48
* "C" Routines
49
*
50
******************************************************************************
51
*/
52
#ifdef __cplusplus
53
extern
"C"
54
{
55
#endif
56
57
/*
58
******************************************************************************
59
60
Start EFFS
61
62
Parameters:
63
deviceNamePtr - Device name
64
65
Return:
66
None
67
68
Notes:
69
Starts EFFS-STD file system, formats if necessary.
70
71
******************************************************************************
72
*/
73
void
EffsStart(
char
*deviceNamePtr);
74
75
/*
76
******************************************************************************
77
78
Lists files and directories starting with the current directory
79
80
Parameters:
81
deviceNamePtr - Device name
82
83
Return:
84
None
85
86
Notes:
87
None
88
89
******************************************************************************
90
*/
91
void
EffsListCurrentDirectory(
char
*deviceNamePtr);
92
93
/*
94
******************************************************************************
95
96
Display space used, total and bad
97
98
Parameters:
99
deviceNamePtr - Device name
100
101
Return:
102
None
103
104
Notes:
105
None
106
107
******************************************************************************
108
*/
109
void
EffsDisplayStatistics(
char
*deviceNamePtr);
110
111
/* Format the EFFS Flash file system */
112
uint8_t EffsFormat();
113
114
#ifdef __cplusplus
115
};
116
#endif
117
118
#endif
/* #ifndef _EFFSSTD_H_ */
fsf.h
Embedded Flash File System API - STD.
examples
SSL
HttpsUploadCert
src
effs_std.h
Generated by
1.8.14