Type 7: Files
Function Description
GetFileNo
Retrieves total number of files stored in the Flash
memory.
GetFileName
Uses the file index to retrieve the file name.
GetFilePositionByNo Uses the file number to retrieve the file position.
GetFileInfoByNo
Uses the file number to retrieve the file
information.
GetFileInfoByName Uses the file name to retrieve the file information.
…More…
There are many other custom file functions
available. Please refer to the 7188xb.h header file
and the user manual on the enclosed CD, which
can be found at
CD:\Napdos\minios7\
document\lib_
manual_for_7188xabc\index.htm
for more
detailed for more detailed information.
Note:
The file system for MiniOS7 supports custom programs for
reading files, but does not support custom programs for writing files.
GetFileNo()
Function: Gets the total number of files stored in the Flash memory.
Syntax:
int GetFileNo(void);
Header: #include
”7188xb.h”
Description: Returns the number of files.
Example: Please refer to “GetFilePositionByNo()” for more detailed
information.
GetFileName()
Function: Uses the file index to get the file name.
Syntax:
int GetFileName(int no,char *fname);
Header: #include
”7188xb.h”
Description: no: The file index (The first file is index 0).
fname: Buffer to store file name.
Return Value: On success, returns NoError, and stores the filename
to the fname.
On error, returns -1, and does not save any data to the
fname.
I-7188XB Series User’s Manual(Ver.1.0, Apr/2007,
7MH-020-10
) ---
130
Содержание I-7188XB Series
Страница 88: ...I 7188XB Series User s Manual Ver 1 0 Apr 2007 7MH 020 10 88...
Страница 138: ...I 7188XB Series User s Manual Ver 1 0 Apr 2007 7MH 020 10 138...
Страница 144: ...Step 8 Make the project I 7188XB Series User s Manual Ver 1 0 Apr 2007 7MH 020 10 144...
Страница 151: ...Step 8 Rebuild the project I 7188XB Series User s Manual Ver 1 0 Apr 2007 7MH 020 10 151...