/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. <body>
  13. <h1>Petit FAT File System Module</h1>
  14. <hr>
  15. <div class="abst">
  16. <img src="img/layers3.png" class="rset" width="245" height="255" alt="layer">
  17. <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>
  18. <h4>Features</h4>
  19. <ul>
  20. <li>Very small RAM consumption (46 bytes work area + certain stack).</li>
  21. <li>Very small code size (2K-4K bytes).</li>
  22. <li>FAT12, FAT16 and FAT32.</li>
  23. <li>Single volume and Single file.</li>
  24. <li>File write function with some restrictions.</li>
  25. </ul>
  26. </div>
  27. <div class="para">
  28. <h3>Application Interface</h3>
  29. <p>Petit FatFs module provides following functions.</p>
  30. <ul>
  31. <li><a href="pf/mount.html">pf_mount</a> - Mount/Unmount a Volume</li>
  32. <li><a href="pf/open.html">pf_open</a> - Open a File</li>
  33. <li><a href="pf/read.html">pf_read</a> - Read File</li>
  34. <li><a href="pf/write.html">pf_write</a> - Write File</li>
  35. <li><a href="pf/lseek.html">pf_lseek</a> - Move R/W Pointer</li>
  36. <li><a href="pf/opendir.html">pf_opendir</a> - Open a Directory</li>
  37. <li><a href="pf/readdir.html">pf_readdir</a> - Read a Directory Item</li>
  38. </ul>
  39. </div>
  40. <div class="para">
  41. <h3>Disk I/O Interface</h3>
  42. <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>
  43. <ul>
  44. <li><a href="pf/dinit.html">disk_initialize</a> - Initialize disk drive</li>
  45. <li><a href="pf/dreadp.html">disk_readp</a> - Read partial sector</li>
  46. <li><a href="pf/dwritep.html">disk_writep</a> - Write partial sector</li>
  47. </ul>
  48. </div>
  49. <div class="para">
  50. <h3>Resources</h3>
  51. <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>
  52. <ul>
  53. <li><a href="http://elm-chan.org/fsw/ff/bd/"><em>FatFs User Forum</em></a></li>
  54. <li><a href="pf/appnote.html">Petit FatFs module application note</a> <span class="mfd">Dec 14, 2009</span></li>
  55. <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>
  56. <li><a href="http://elm-chan.org/docs/mmc/mmc_e.html">How to Use MMC/SDC</a></li>
  57. <li><a href="img/rwtest3.png">Benchmark 3</a> (ATtiny85/8MHz with MMC via USI)</li>
  58. </ul>
  59. </div>
  60. <hr>
  61. <p class="foot"><a href="../../fsw_e.html">Return</a></p>
  62. </body>
  63. </html>