PageRenderTime 14ms CodeModel.GetById 9ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/wbudowane/mp3-wave/pff2/doc/00index_p.html

http://momus-projects.googlecode.com/
HTML | 74 lines | 63 code | 11 blank | 0 comment | 0 complexity | 866689433be961e9003de272d7c9f8f7 MD5 | raw file
 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2<html lang="en">
 3<head>
 4<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 5<meta http-equiv="Content-Style-Type" content="text/css">
 6<link rel="start" title="Site Top" href="../../">
 7<link rel="up" title="Freewares" href="../../fsw_e.html">
 8<link rel="stylesheet" href="css_e.css" type="text/css" media="screen" title="ELM Default">
 9<link rel="stylesheet" href="css_p.css" type="text/css" media="screen" title="ELM Default">
10<title>ELM - Petit FAT File System Module</title>
11</head>
12
13<body>
14<h1>Petit FAT File System Module</h1>
15<hr>
16
17<div class="abst">
18<img src="img/layers3.png" class="rset" width="245" height="255" alt="layer">
19<p>Petit FatFs is a sub-set of FatFs module for tiny 8-bit microcontrollers. It is written in compliance with ANSI C and completely separated from the disk I/O layer. It can be incorporated into the tiny microcontrollers with a small memory even if the RAM size is less than sector size. Full featured FAT file system module is <a href="http://elm-chan.org/fsw/ff/00index_e.html">here</a>.</p>
20
21<h4>Features</h4>
22<ul>
23 <li>Very small RAM consumption (46 bytes work area + certain stack).</li>
24 <li>Very small code size (2K-4K bytes).</li>
25 <li>FAT12, FAT16 and FAT32.</li>
26 <li>Single volume and Single file.</li>
27 <li>File write function with some restrictions.</li>
28</ul>
29</div>
30
31
32<div class="para">
33<h3>Application Interface</h3>
34<p>Petit FatFs module provides following functions.</p>
35<ul>
36<li><a href="pf/mount.html">pf_mount</a> - Mount/Unmount a Volume</li>
37<li><a href="pf/open.html">pf_open</a> - Open a File</li>
38<li><a href="pf/read.html">pf_read</a> - Read File</li>
39<li><a href="pf/write.html">pf_write</a> - Write File</li>
40<li><a href="pf/lseek.html">pf_lseek</a> - Move R/W Pointer</li>
41<li><a href="pf/opendir.html">pf_opendir</a> - Open a Directory</li>
42<li><a href="pf/readdir.html">pf_readdir</a> - Read a Directory Item</li>
43</ul>
44</div>
45
46
47<div class="para">
48<h3>Disk I/O Interface</h3>
49<p>Since the Petit FatFs module is completely separated from disk I/O layer, it requires following functions to lower layer to read the physical disk. The low level disk I/O module is not a part of Petit FatFs module and it must be provided by user. The sample drivers are also available in the resources.</p>
50<ul>
51<li><a href="pf/dinit.html">disk_initialize</a> - Initialize disk drive</li>
52<li><a href="pf/dreadp.html">disk_readp</a> - Read partial sector</li>
53<li><a href="pf/dwritep.html">disk_writep</a> - Write partial sector</li>
54</ul>
55</div>
56
57
58<div class="para">
59<h3>Resources</h3>
60<p>The Petit FatFs module is a free software and is opened for education, research and development. You can use, modify and/or redistribute it for personal, non-profit or commercial use without any restriction under your responsibility. For further information, refer to the application note.</p>
61<ul>
62<li><a href="http://elm-chan.org/fsw/ff/bd/"><em>FatFs User Forum</em></a></li>
63<li><a href="pf/appnote.html">Petit FatFs module application note</a> <span class="mfd">Dec 14, 2009</span></li>
64<li><a href="http://www.microsoft.com/whdc/system/platform/firmware/fatgen.mspx">FAT32 Specification by Microsoft</a> (The reference document on FAT file system)</li>
65<li><a href="http://elm-chan.org/docs/mmc/mmc_e.html">How to Use MMC/SDC</a></li>
66<li><a href="img/rwtest3.png">Benchmark 3</a> (ATtiny85/8MHz with MMC via USI)</li>
67</ul>
68</div>
69
70
71<hr>
72<p class="foot"><a href="../../fsw_e.html">Return</a></p>
73</body>
74</html>