mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-09 20:46:07 +01:00
52 lines
2.1 KiB
HTML
52 lines
2.1 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|||
|
<html lang="ja">
|
|||
|
<head>
|
|||
|
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
|
|||
|
<meta http-equiv="Content-Style-Type" content="text/css">
|
|||
|
<link rel="up" title="FatFs" href="../00index_j.html">
|
|||
|
<link rel="stylesheet" href="../css_j.css" type="text/css" media="screen" title="ELM Default">
|
|||
|
<title>FatFs - FATFS</title>
|
|||
|
</head>
|
|||
|
|
|||
|
<body>
|
|||
|
|
|||
|
<div class="para">
|
|||
|
<h2>FATFS</h2>
|
|||
|
<p><tt>FATFS</tt><EFBFBD>\<5C><><EFBFBD>̂́A<CD81>X<C281>̘_<CC98><5F><EFBFBD>h<EFBFBD><68><EFBFBD>C<EFBFBD>u<EFBFBD>̃_<CC83>C<EFBFBD>i<EFBFBD>~<7E>b<EFBFBD>N<EFBFBD>E<EFBFBD><45><EFBFBD>[<5B>N<EFBFBD>E<EFBFBD>G<EFBFBD><47><EFBFBD>A<EFBFBD><41><EFBFBD>ێ<EFBFBD><DB8E><EFBFBD><EFBFBD>Af_mount()<29><>FatFs<46><73><EFBFBD>W<EFBFBD><57><EFBFBD>[<5B><><EFBFBD>ɓo<C993>^<5E><><EFBFBD><EFBFBD><EFBFBD>܂<EFBFBD><DC82>B<EFBFBD>W<EFBFBD><57><EFBFBD><EFBFBD><EFBFBD>Ԃł͎<C582><CD8E>̂悤<CC82>ȃ<EFBFBD><C883><EFBFBD><EFBFBD>o<EFBFBD>ɂȂ<C982><C882>Ă<EFBFBD><C482>܂<EFBFBD><DC82>B<EFBFBD>A<EFBFBD>v<EFBFBD><76><EFBFBD>P<EFBFBD>[<5B>V<EFBFBD><56><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>珑<EFBFBD><E78F91><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\<5C>ȃ<EFBFBD><C883><EFBFBD><EFBFBD>o<EFBFBD>͂<EFBFBD><CD82><EFBFBD><EFBFBD>܂<EFBFBD><DC82><EFBFBD><EFBFBD>B</p>
|
|||
|
|
|||
|
<pre>
|
|||
|
typedef struct _FATFS_ {
|
|||
|
BYTE fs_type; /* FAT sub type */
|
|||
|
BYTE drive; /* Physical drive number */
|
|||
|
BYTE csize; /* Number of sectors per cluster */
|
|||
|
BYTE n_fats; /* Number of FAT copies */
|
|||
|
BYTE wflag; /* win[] dirty flag (1:must be written back) */
|
|||
|
BYTE fsi_flag; /* fsinfo dirty flag (1:must be written back) */
|
|||
|
WORD id; /* File system mount ID */
|
|||
|
WORD n_rootdir; /* Number of root directory entries (0 on FAT32) */
|
|||
|
#if _FS_REENTRANT
|
|||
|
HANDLE h_mutex; /* Handle to the mutex (Platform dependent) */
|
|||
|
#endif
|
|||
|
#if _MAX_SS != 512
|
|||
|
WORD s_size; /* Sector size */
|
|||
|
#endif
|
|||
|
#if !_FS_READONLY
|
|||
|
DWORD last_clust; /* Last allocated cluster */
|
|||
|
DWORD free_clust; /* Number of free clusters */
|
|||
|
DWORD fsi_sector; /* fsinfo sector */
|
|||
|
#endif
|
|||
|
DWORD sects_fat; /* Sectors per fat */
|
|||
|
DWORD max_clust; /* Maximum cluster# + 1. Number of clusters is max_clust - 2 */
|
|||
|
DWORD fatbase; /* FAT start sector */
|
|||
|
DWORD dirbase; /* Root directory start sector (Cluster# on FAT32) */
|
|||
|
DWORD database; /* Data start sector */
|
|||
|
DWORD winsect; /* Current sector appearing in the win[] */
|
|||
|
BYTE win[_MAX_SS]; /* Disk access window for Directory/FAT */
|
|||
|
} FATFS;
|
|||
|
</pre>
|
|||
|
</div>
|
|||
|
|
|||
|
<p class="foot"><a href="../00index_j.html"><EFBFBD>߂<EFBFBD></a></p>
|
|||
|
</body>
|
|||
|
</html>
|