fatfs v0.02 Jun 01, 2006:
- Added FAT12. Removed unbuffered mode. - Fixed a problem on small (<32M) patition.
This commit is contained in:
1 parent
4f7376e6aa
commit
238747ef97
56 files changed
+424
-336
No files matched your search
+3
-2
@@ -3,6 +3,7 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<meta http-equiv="Content-Style-Type" content="text/css">
|
||||
<link rel="up" title="FatFs" href="../00index_e.html">
|
||||
<link rel="stylesheet" href="../css_e.css" type="text/css" media="screen" title="ELM Default">
|
||||
<title>FatFs - FIL</title>
|
||||
</head>
|
||||
@@ -11,7 +12,7 @@
|
||||
|
||||
<div class="para">
|
||||
<h2>FIL</h2>
|
||||
<p>The FIL structure holds state of a file and it is allocated by an application program. Only <tt>buffer</tt> member can be initialized by the application program.</p>
|
||||
<p>The FIL structure holds state of a file and it is allocated by an application program. There is no member that can be changed by the application program.</p>
|
||||
|
||||
<h4>FatFs</h4>
|
||||
<pre>
|
||||
@@ -23,9 +24,9 @@ typedef struct _FIL {
|
||||
DWORD curr_sect; // Current sector
|
||||
DWORD dir_sect; // Sector# containing the directory entry
|
||||
BYTE* dir_ptr; // Ponter to the directory entry in the window
|
||||
BYTE* buffer; // Pointer to 512 byte file R/W buffer
|
||||
BYTE flag; // File status flags
|
||||
BYTE sect_clust; // Left sectors in current cluster
|
||||
BYTE buffer[512]; // File R/W buffer
|
||||
} FIL;
|
||||
</pre>
|
||||
|
||||
|
||||
Reference in new issue
Block a user