fatfs v0.04b May 05, 2007:
- Added _USE_NTFLAG option. - Added FSInfo support. - Fixed some problems corresponds to FAT32. (Tiny-FatFs) - Fixed DBCS name can result FR_INVALID_NAME. - Fixed short seek (<= csize) collapses the file object.
This commit is contained in:
1 parent
8e92305484
commit
c0c10d0bea
21 files changed
+492
-307
No files matched your search
+3
-1
@@ -12,7 +12,7 @@
|
||||
|
||||
<div class="para">
|
||||
<h2>FATFS</h2>
|
||||
<p>The <tt>FATFS</tt> structure holds dynamic work area of individual logical drives. It is given by application program and registerd/unregisterd to the FatFs module with f_mount function. There is no member that can be changed from the application program.</p>
|
||||
<p>The <tt>FATFS</tt> structure holds dynamic work area of individual logical drives. It is given by application program and registerd/unregisterd to the FatFs module with f_mount function. Following members are in standard configuration. There is no member that can be changed from the application program.</p>
|
||||
<h4>FatFs</h4>
|
||||
<pre>
|
||||
typedef struct _FATFS {
|
||||
@@ -25,6 +25,7 @@ typedef struct _FATFS {
|
||||
DWORD dirbase; /* Root directory start sector (cluster# for FAT32) */
|
||||
DWORD database; /* Data start sector */
|
||||
DWORD last_clust; /* Last allocated cluster */
|
||||
DWORD free_clust; /* Number of free clusters */
|
||||
BYTE fs_type; /* FAT type (0:Not mounted) */
|
||||
BYTE sects_clust; /* Sectors per cluster */
|
||||
BYTE n_fats; /* Number of FAT copies */
|
||||
@@ -47,6 +48,7 @@ typedef struct _FATFS {
|
||||
CLUST sects_fat; /* Sectors per fat */
|
||||
CLUST max_clust; /* Maximum cluster# + 1 */
|
||||
CLUST last_clust; /* Last allocated cluster */
|
||||
CLUST free_clust; /* Number of free clusters */
|
||||
BYTE fs_type; /* FAT type (0:Not mounted) */
|
||||
BYTE sects_clust; /* Sectors per cluster */
|
||||
BYTE n_fats; /* Number of FAT copies */
|
||||
|
||||
Reference in new issue
Block a user