X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/7b78a5a287827db9e9b16286f3604aef69b37c5c..refs/tags/fatfs-0.12b:/fatfs/doc/ja/config.html diff --git a/fatfs/doc/ja/config.html b/fatfs/doc/ja/config.html new file mode 100644 index 0000000..f01fb19 --- /dev/null +++ b/fatfs/doc/ja/config.html @@ -0,0 +1,209 @@ + + +
+ + + + + + +FatFsã«ã¯å¤ãã®æ§æãªãã·ã§ã³ããããããããã®ããã¸ã§ã¯ãã®è¦æ±ã«å¿ãã¦æè»ã«æ©è½ãæ§æãããã¨ãã§ãã¾ããæ§æãªãã·ã§ã³ã¯ãffconf.hã«è¨è¿°ããã¾ãã
+ +0:ãªã¼ã/ã©ã¤ã or 1:ãªã¼ã ãªã³ãªããªã¼ã ãªã³ãªæ§æã§ã¯ãf_writeãf_syncãf_unlinkãf_mkdirãf_chmodãf_renameãf_truncateãf_getfreeã®åºæ¬APIé¢æ°ããã³ãªãã·ã§ã³ã®æ¸ãè¾¼ã¿ç³»APIé¢æ°ãåé¤ããã¾ãã
+ +åºæ¬APIé¢æ°ã段éçã«åé¤ãã¾ãã
+å¤ | 解説 |
---|---|
0 | å ¨ã¦ã®åºæ¬APIé¢æ°ãå©ç¨å¯è½ã |
1 | f_statãf_getfreeãf_unlinkãf_mkdirãf_chmodãf_utimeãf_truncateãf_renameé¢æ°ãåé¤ãããã |
2 | 1ã«å ããf_opendirãf_readdirãf_closediré¢æ°ãåé¤ãããã |
3 | 2ã«å ããf_lseeké¢æ°ãåé¤ãããã |
æååå ¥åºåAPIé¢æ°f_gets, f_putc, f_puts and f_printfã®æ§æã
+å¤ | 解説 |
---|---|
0 | æååå ¥åºåAPIé¢æ°ã使ç¨ããªãã |
1 | æååå ¥åºåAPIé¢æ°ã使ç¨ããããã¼ã¿ã®LF-CRLFå¤æã¯ããªãã |
2 | æååå ¥åºåAPIé¢æ°ã使ç¨ããããã¼ã¿ã®LF-CRLFå¤æãããã |
ãã£ã«ã¿ä»ããã£ã¬ã¯ããªèªã¿åºãæ©è½ã®æ§æ(0:ç¡å¹ ã¾ã㯠1:æå¹)ãæå¹ã«ããã¨ãf_findfirstãf_findnexté¢æ°ãå©ç¨å¯è½ã«ãªãã¾ãã_FS_MINIMIZEã¯ã1以ä¸ã§ãªããã°ãªãã¾ããã
+ +ããªã¥ã¼ã ä½ææ©è½ã®æ§æ(0:ç¡å¹ ã¾ã㯠1:æå¹)ãæå¹ã«ããã¨f_mkfsé¢æ°ãå©ç¨å¯è½ã«ãªãã¾ãã
+ +é«éã·ã¼ã¯æ©è½ã®æ§æ(0:ç¡å¹ ã¾ã㯠1:æå¹)ãæå¹ã«ããã¨ãf_lseekãf_readãf_writeé¢æ°ã«ããã¦é«éåã¢ã¼ããå©ç¨å¯è½ã«ãªãã¾ãã詳ããã¯ããã¡ããåç §ãã¦ãã ããã
+ +é£ç¶é åå²ãå½ã¦æ©è½ã®æ§æ(0:ç¡å¹ ã¾ã㯠1:æå¹)ãæå¹ã«ããã¨f_expandé¢æ°ãå©ç¨å¯è½ã«ãªãã¾ãã_FS_READONLYã¯0ã§ãªããã°ãªãã¾ããã
+ +ã¡ã¿ãã¼ã¿æä½æ©è½ã®æ§æ(0:ç¡å¹ ã¾ã㯠1:æå¹)ãæå¹ã«ããã¨ãf_chmodãf_utimeé¢æ°ãå©ç¨å¯è½ã«ãªãã¾ãã_FS_READONLYã¯0ã§ãªããã°ãªãã¾ããã
+ +ããªã¥ã¼ã ã©ãã«æä½æ©è½ã®æ§æ(0:ç¡å¹ ã¾ã㯠1:æå¹)ãæå¹ã«ããã¨ãf_getlabelãf_setlabelé¢æ°(_FS_READONLY == 0ã®ã¨ã)ãå©ç¨å¯è½ã«ãªãã¾ãã
+ +ã¹ããªã¼ãã³ã°èªã¿åºãæ©è½(f_forwardé¢æ°)ã®æ§æ(0:ç¡å¹ ã¾ã㯠1:æå¹)ã
+ +ãã¹åçã®æååãã¼ã¿ã®ã³ã¼ã ãã¼ã¸ãæå®ãã¾ããä¸é©åãªè¨å®ã¯ããã¡ã¤ã« ãªã¼ãã³ ã¨ã©ã¼ã®åå ã«ãªãå¯è½æ§ãããã¾ããæ¡å¼µæåãå ¨ã使ãããªãå ´åã¯ãã©ããé¸ãã§ãåãã§ãã
+å¤ | 解説 |
---|---|
1 | ASCII (éLFNæ§æã§ã®ã¿æå¹) |
437 | U.S. |
720 | Arabic |
737 | Greek |
771 | KBL |
775 | Baltic |
850 | Latin 1 |
852 | Latin 2 |
855 | Cyrillic |
857 | Turkish |
860 | Portuguese |
861 | Icelandic |
862 | Hebrew |
863 | Canadian French |
864 | Arabic |
865 | Nordic |
866 | Russian |
869 | Greek 2 |
932 | æ¥æ¬èª (DBCS) |
936 | ç°¡ä½åä¸å½èª (DBCS) |
949 | éå½èª (DBCS) |
950 | ç¹ä½åä¸å½èª (DBCS) |
LFN(é·ããã¡ã¤ã«å)対å¿ãè¨å®ãã¾ããLFNæ©è½ãæå¹ã«ããã¨ãã¯ãUnicodeæä½é¢æ°option/unicode.cãããã¸ã§ã¯ãã«å ããå¿ è¦ãããã¾ããã¾ããLFNæä½ã®ã¯ã¼ã¯ ã¨ãªã¢ã¨ãã¦(_MAX_LFN + 1) * 2ãã¤ã(exFATæ§ææã¯ããã«608ãã¤ã)ã使ç¨ãã¾ãããã®ããããããã¡ãã¹ã¿ãã¯ã«ç¢ºä¿ããã¨ãã¯ãã¹ã¿ã㯠ãªã¼ã ããã¼ã«æ³¨æããå¿ è¦ãããã¾ãããã¼ãã«ç¢ºä¿ããã¨ãã¯ãã¡ã¢ãªæä½é¢æ°(ff_memallocã¨ff_memfree(option/syscall.cã«ãµã³ãã«ãã))ãããã¸ã§ã¯ãã«å ããå¿ è¦ãããã¾ãã
+å¤ | 解説 |
---|---|
0 | LFNæ©è½ã使ããªãã8.3å½¢å¼ã®ååã®ã¿ä½¿ç¨å¯è½ã |
1 | LFNæ©è½ã使ããã¯ã¼ã¯ ã¨ãªã¢ã¯éçã«ç¢ºä¿ã常ã«ã¹ã¬ãã ã»ã¼ãã§ã¯ãªãã |
2 | LFNæ©è½ã使ããã¯ã¼ã¯ ã¨ãªã¢ã¯ã¹ã¿ãã¯ã«ç¢ºä¿ã |
3 | LFNæ©è½ã使ããã¯ã¼ã¯ ã¨ãªã¢ã¯ãã¼ãã«ç¢ºä¿ã |
LFNæä½ãããã¡ã®ãµã¤ãºãæååä½ã§æå®(12ï½255)ãã¾ããLFNæ©è½ãç¡å¹ã®ã¨ãã¯æå³ãæã¡ã¾ããã
+ +ãã¡ã¤ã«APIä¸ã«ãããUnicode対å¿æ©è½ãè¨å®ãã¾ããéLFNæ§æã®ã¨ãã¯ã0ã§ãªããã°ãªãã¾ãããLFNæ§æã®ã¨ãã«1ãé¸æããã¨ããã¡ã¤ã«APIä¸ã®æååãã¼ã¿TCHARåã®å®ç¾©ãåãæ¿ããããã¹åçã«Unicodeã使ç¨ããããã«ãªãã¾ãããã®æ©è½ã¯ãæååå ¥åºåé¢æ°ã«ãå½±é¿ãã¾ãã詳ããã¯ããã¡ããåç §ãã¦ãã ããã
+ +Unicode APIæ§æã®ã¨ããæååå ¥åºåé¢æ°ãf_getsãf_putcãf_putsãf_printfãã«ããããã¡ã¤ã«ä¸ã®ã¨ã³ã³ã¼ãã£ã³ã°ãæå®ãã¾ããéUnicode APIæ§æã®ã¨ãã¯æå³ãæã¡ã¾ããã
+å¤ | 解説 |
---|---|
0 | ANSI/OEM |
1 | UTF-16LE |
2 | UTF-16BE |
3 | UTF-8 |
ç¸å¯¾ãã¹æ©è½ãè¨å®ãã¾ãããã®æ©è½ã¯ããã£ã¬ã¯ããªèªã¿åºãé¢æ°ã®åºåã«ãå½±é¿ãã¾ãã詳ããã¯ããã¡ããåç §ãã¦ãã ããã
+å¤ | 解説 |
---|---|
0 | ç¸å¯¾ãã¹æ©è½ã使ããªãããã¹åã¯å¸¸ã«ã«ã¼ã ãã£ã¬ã¯ããªãã辿ãã |
1 | ç¸å¯¾ãã¹æ©è½ã使ããf_chdirãf_chdriveé¢æ°ãå©ç¨å¯è½ã«ãªãã |
2 | 1ã«å ããf_getcwdé¢æ°ãå©ç¨å¯è½ã«ãªãã |
å©ç¨ããããªã¥ã¼ã (è«çãã©ã¤ã)ã®æ°ã1ï½9ã®ç¯å²ã§è¨å®ãã¾ãã
+ +æååããªã¥ã¼ã IDã®è¨å®(0:ç¡å¹ ã¾ã㯠1:æå¹)ããã¹åä¸ã®ããªã¥ã¼ã IDã«æ°åã«å ãä»»æã®æååã使ç¨ã§ããããã«ãããªãã·ã§ã³ã§ããããªã¥ã¼ã IDæååã¯_VOLUME_STRSã§å®ç¾©ãã¾ãã
+ +ããªã¥ã¼ã IDæååãå®ç¾©ãã¾ãã_VOLUMESã§è¨å®ãããåæ°ã®æååã"RAM","SD","CF",... ã®ããã«æåãã¾ãã使ç¨å¯è½ãªæåã¯Aï½Zããã³0ï½9ã§ãå é ã®é ç®ãè«çãã©ã¤ã0ã«å¯¾å¿ãã¾ãã
+ +ãã«ãåºç»æ©è½ã®è¨å®(0:ç¡å¹ ã¾ã㯠1:æå¹)ãç¡å¹ã®ã¨ãã¯ãåã ã®è«çãã©ã¤ãã¯åãçªå·ã®ç©çãã©ã¤ãã«1:1ã§å¯¾å¿ããããããã®ç©çãã©ã¤ãä¸ã®æåã®åºç»ã«çµã³ã¤ãããã¾ãããã«ãåºç»æ©è½ãæå¹ã«ããã¨ãè«çãã©ã¤ãã¯ããããä»»æã®ç©çãã©ã¤ãã®ä»»æã®åºç»ã«çµã³ã¤ãããã¨ãã§ãã¾ãããããã³ã°ã¯ãã¦ã¼ã¶å®ç¾©ã®å¤æãã¼ãã«VolToPart[]ã«ãã£ã¦è¡ãã¾ããã¾ããf_fdiské¢æ°ãå©ç¨å¯è½ã«ãªãã¾ãã詳ããã¯ããã¡ããåç §ãã¦ãã ããã
+ +使ç¨ããç©çãã©ã¤ãã®ã»ã¯ã¿ ãµã¤ãº(ãã¼ã¿ã®èªã¿æ¸ãã®æå°åä½)ãè¨å®ãã¾ããæå¹ãªå¤ã¯ã512ã1024ã2048ã4096ã§ãã_MIN_SSã¯æå°ãµã¤ãºã_MAX_SSã¯æ大ãµã¤ãºãè¨å®ãã¾ããã¡ã¢ãª ã«ã¼ãããã¼ããã£ã¹ã¯ã§ã¯ã常ã«ä¸¡æ¹ã«512ãè¨å®ãã¾ããããªã³ãã¼ã ã¡ã¢ãªãä¸é¨ã®å å¦ã¡ãã£ã¢ã§ã¯å¤§ããªå¤ãè¨å®ããå¿ è¦ãããããç¥ãã¾ããã_MAX_SS > _MIN_SSã«è¨å®ããã¨ãã¯å¯å¤ã»ã¯ã¿ ãµã¤ãºæ§æã¨ãªããdisk_ioctlé¢æ°ã«ã¯GET_SECTOR_SIZEã³ãã³ããå®è£ ããå¿ è¦ãããã¾ãã
+ +ATA-TRIMæ©è½ã®ä½¿ç¨ã®è¨å®(0:ç¡å¹ ã¾ã㯠1:æå¹)ããã®æ©è½ãæå¹ã«ããã¨ãã¯ãdisk_ioctlé¢æ°ã«CTRL_TRIMã³ãã³ããå®è£ ããã¹ãã§ãã
+ +FAT32ããªã¥ã¼ã ã®FSINFOã®ä½¿ç¨ã®è¨å®(0ï½3)ãFAT32ããªã¥ã¼ã ã§å¿ ãæ£ç¢ºãªç©ºã容éãåå¾ããå¿ è¦ãããã¨ããè¨å®å¤ã®ããã0ãã»ããããã¨f_getfreeé¢æ°ã¯FSINFOã®æ å ±ã使ããã«å ¨FATã¹ãã£ã³ãè¡ã£ã¦ç©ºã容éãå¾ã¾ããããã1ã¯æçµå²ãå½ã¦ã¯ã©ã¹ã¿çªå·ã®å©ç¨ã®å¶å¾¡ã§ãã
+å¤ | 解説 |
---|---|
bit0=0 | FSINFOã®ç©ºãã¯ã©ã¹ã¿æ å ±ãæå¹ãªã¨ãã¯ãããå©ç¨ããã |
bit0=1 | FSINFOã®ç©ºãã¯ã©ã¹ã¿æ å ±ãå©ç¨ããªãã |
bit1=0 | FSINFOã®æçµå²ãå½ã¦ã¯ã©ã¹ã¿çªå·ãæå¹ãªã¨ãã¯ãããå©ç¨ããã |
bit1=1 | FSINFOã®æçµå²ãå½ã¦ã¯ã©ã¹ã¿çªå·ãå©ç¨ããªãã |
ãã¡ã¤ã« ãã¼ã¿è»¢éãããã¡ã®æ§æ(0:ãã¼ãã« ã¾ã㯠1:ã¿ã¤ã)ãã¿ã¤ãæ§æã§ã¯ããã¡ã¤ã« ãªãã¸ã§ã¯ãFILå ã®ãã©ã¤ãã¼ã ã»ã¯ã¿ ãããã¡ãåé¤ããã_MAX_SSãã¤ãå°ãããªãã¾ãããã¡ã¤ã« ãã¼ã¿ã®è»¢éã«ã¯ã代ããã«ãã¡ã¤ã« ã·ã¹ãã ãªãã¸ã§ã¯ãFATFSå ã®ããªã¥ã¼ã å ±æã»ã¯ã¿ ãããã¡ã使ããã¾ãã
+ +exFATã®ãµãã¼ã(0:使ç¨ããªã ã¾ã㯠1:使ç¨ãã)ãexFATã使ç¨ããã«ã¯ãLFNæ©è½ãæå¹ã«ããªããã°ãªãã¾ãããã¾ããexFATã®å®å ¨ãµãã¼ãã®ããã«ã¯ã_LFN_UNICODE = 1ã¨_MAX_LFN = 255ã®è¨å®ãæ¨å¥¨ããã¾ããexFATæ©è½ã§ã¯64ãããæ´æ°ã使ç¨ããããããããæå¹ã«ããã¨C89(ANSI C)äºæã失ããã¾ãã
+ +RTCæ©è½ã®ä½¿ç¨ã®è¨å®(0:使ç¨ãã ã¾ã㯠1:使ç¨ããªã)ãã·ã¹ãã ãRTC(ã«ã¬ã³ãæè¨)ããµãã¼ãããªãå ´åã¯ã1ãã»ãããã¾ãããã®å ´åãFatFsãå¤æ´ãå ãããªãã¸ã§ã¯ãã®ã¿ã¤ã ã¹ã¿ã³ãã¯ããã©ã«ãã®æ¥æãæã¡ã¾ããRTCã使ç¨å¯è½ãªã¨ãã¯ã0ãè¨å®ããget_fattimeé¢æ°ãããã¸ã§ã¯ãã«å ãã¾ãããªã¼ã ãªã³ãªæ§æã§ã¯ãã®ãªãã·ã§ã³ã¯æå³ãæã¡ã¾ããã
+ +ããã©ã«ãæ¥æã®è¨å®ã_FS_NORTCã1ã®ã¨ããåºå®ãã¦ä¸ããããæ¥ä»ãæå®ãã¾ãã_FS_NORTCã0ã®ã¨ããããã³ãªã¼ã ãªã³ãªæ§æã§ã¯ãããã®ãªãã·ã§ã³ã¯æå³ãæã¡ã¾ããã
+ +ãã¡ã¤ã« ããã¯æ©è½ã®è¨å®ããã®ãªãã·ã§ã³ã¯ãéããããªãã¸ã§ã¯ãã«å¯¾ããä¸æ£ãªæä½ã®å¶å¾¡æ©è½ãè¨å®ãã¾ãããªã¼ã ãªã³ãªæ§æã§ã¯0ã«è¨å®ããªããã°ãªãã¾ããããªãããã¡ã¤ã« ããã¯æ©è½ã¯ãªã¨ã³ãã©ã³ã·ã¼ã¨ã¯é¢ä¿ããã¾ããã
+ +å¤ | 解説 |
---|---|
0 | ãã¡ã¤ã« ããã¯æ©è½ã使ããªããããªã¥ã¼ã ã®ç ´æãé²ããããã¢ããªã±ã¼ã·ã§ã³ã¯ä¸æ£ãªãã¡ã¤ã«æä½ãé¿ããªããã°ãªããªãã |
>0 | ãã¡ã¤ã« ããã¯æ©è½ã使ããæ°å¤ã¯åæã«ãªã¼ãã³ã§ãããã¡ã¤ã«ããµã ãã£ã¬ã¯ããªã®æ°ãè¨å®ãã¾ãã |
ãªã¨ã³ãã©ã³ã·ã¼ã®è¨å®(0:ç¡å¹ ã¾ã㯠1:æå¹)ããã®ãªãã·ã§ã³ã¯ãFatFsã¢ã¸ã¥ã¼ã«èªä½ã®ãªã¨ã³ãã©ã³ã·ã¼(ã¹ã¬ãã ã»ã¼ã)ã®è¨å®ããã¾ããç°ãªãããªã¥ã¼ã ã«å¯¾ãããã¡ã¤ã« ã¢ã¯ã»ã¹ã¯ãã®ãªãã·ã§ã³ã«é¢ä¿ãªã常ã«ãªã¨ã³ãã©ã³ãã§ãf_mountãf_mkfsãf_fdiskãªã©ã®ããªã¥ã¼ã æä½é¢æ°ã¯ãã®ãªãã·ã§ã³ã«é¢ä¿ãªã常ã«ãªã¨ã³ãã©ã³ãã§ã¯ããã¾ãããåãããªã¥ã¼ã ã«å¯¾ãããã¡ã¤ã« ã¢ã¯ã»ã¹(ã¤ã¾ãããã¡ã¤ã« ã·ã¹ãã ãªãã¸ã§ã¯ãã®æä»ä½¿ç¨)ã®ã¿ããã®ãªãã·ã§ã³ã®å¶å¾¡ä¸ã«ããã¾ãããã®ãªãã·ã§ã³ãæå¹ã«ããã¨ãã¯ãåæé¢æ°ã§ããff_req_grantãff_rel_grantãff_del_syncobjãff_cre_syncobjãããã¸ã§ã¯ãã«è¿½å ããå¿ è¦ãããã¾ãããµã³ãã«ãoption/syscall.cã«ããã¾ãã
+ +ã¿ã¤ã ã¢ã¦ãæéã®è¨å®ãå¾ ã¡åããæéãé·ãã¨ãã«FR_TIMEOUTã§ãã¡ã¤ã«é¢æ°ãã¢ãã¼ãããæéãè¨å®ãã¾ãã_FS_REENTRANTã0ã®ã¨ãã¯æå³ãæã¡ã¾ããã
+ +O/Så®ç¾©ã®åæãªãã¸ã§ã¯ãã®åãè¨å®ãã¾ããä¾: HANDLEãIDãOS_EVENT*ãSemaphoreHandle_tãªã©ãã¾ããO/Sæ©è½ã®ããã ãã¡ã¤ã«ãff.cã®ã¹ã³ã¼ãå ã«ã¤ã³ã¯ã«ã¼ãããå¿ è¦ãããã¾ãã_FS_REENTRANTã0ã®ã¨ãã¯æå³ãæã¡ã¾ããã
+ +