亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? fs_conf.h

?? ucos平臺下的文件系統的源代碼
?? H
字號:
/*
**********************************************************************
*                          Micrium, Inc.
*                      949 Crestview Circle
*                     Weston,  FL 33327-1848
*
*                            uC/FS
*
*             (c) Copyright 2001 - 2003, Micrium, Inc.
*                      All rights reserved.
*
***********************************************************************

----------------------------------------------------------------------
File        : fs_conf.h 
Purpose     : File system configuration
              Usually all configuration of the file system for your
              system can be done by changing this file.
              If you are using a big endian system or a totally
              different architecture, you may have to modify the file
              "fs_port.h". 
----------------------------------------------------------------------
Known problems or limitations with current version
----------------------------------------------------------------------
None.
---------------------------END-OF-HEADER------------------------------
*/

#ifndef _FS_CONF_H_
#define _FS_CONF_H_

/*********************************************************************
*
*             #define constants
*
**********************************************************************
*/


/*********************************************************************
*
*             Number of file handles
*
    Set the maximum number of simultaneously open files in your system.
    Please be aware, that the file system requires one FS_FILE structure
    for each open file. If you are using FAT, each file will also require
    two sector buffers.
*/

#define FS_MAXOPEN             1    /* Maximum number of file handles */

/*********************************************************************
*
*             POSIX 1003.1 like directory functions support
*
    Enables functions FS_OpenDir, FS_CloseDir, FS_ReadDir, FS_RewindDir,
    FS_MkDir and FS_RmDir.
*/

#define FS_POSIX_DIR_SUPPORT    1    /* POSIX 1003.1 like directory support */
#if FS_POSIX_DIR_SUPPORT
  #define FS_DIR_MAXOPEN        4    /* Maximum number of directory handles */
#endif

/*********************************************************************
*
*             OS Layer 
*
    Set all to 0, if you do not want OS support.
*/

#define FS_OS_EMBOS             1    /* 1 = use embOS */
#define FS_OS_UCOS_II           0    /* 1 = use uC/OS-II */
#define FS_OS_WINDOWS           0    /* 1 = use WINDOWS */
#if ((FS_OS_WINDOWS==1) && ((FS_OS_EMBOS==1) || (FS_OS_UCOS_II==1)))
  #error You must not use Windows at the same time as embOS or uC/OS-II!
#endif


/*********************************************************************
*
*             Time/Date support
*
  If your system does support ANSI C library functions for time/date,
  you can set this to 1. If it is set to 0, functions FS_OS_Get_Date
  and FS_OS_Get_Time will return the date 1.01.1980 0:00 unless you
  modify them.
*/

#define FS_OS_TIME_SUPPORT      0    /* 1 = time()/date supported */


/*********************************************************************
*
*             File System Layer
*
  You can turn on/off the file system layers used in your system.
  At least one layer has to be active. Because currently there is only
  one file system layer supported (FAT), you will usually not change
  this setting.
*/

#define FS_USE_FAT_FSL          1    /* FAT12/FAT16 file system */


/*********************************************************************
*
*             Logical Block Layer
*
  You can turn on/off cache of the Logical Block Layer. To use the
  cache on specific device, you also have to set its size in the
  device driver settings below.
*/

#define FS_USE_LB_READCACHE     0  /* 1 enables cache */


/*********************************************************************
*
*             Device Driver Support
*
  You can turn on/off device driver supported in your system.
  If you turn on a driver, please check also its settings in this
  file below.
*/

#define FS_USE_SMC_DRIVER       1    /* SmartMedia card driver       */
#define FS_USE_IDE_DRIVER       0    /* IDE driver                   */
#define FS_USE_WINDRIVE_DRIVER  0    /* Windows Logical Drive driver */
#define FS_USE_RAMDISK_DRIVER   0    /* RAM Disk driver              */
#define FS_USE_MMC_DRIVER       0    /* MMC/SD card driver           */
#define FS_USE_FLASH_DRIVER     0    /* Generic flash driver         */

#if (!defined(_WIN32) && (FS_USE_WINDRIVE_DRIVER))
  #error Windows Logical Drive driver needs Windows API
#endif

/*********************************************************************
*
*             FAT File System Layer defines
*/

#if FS_USE_FAT_FSL
  /*
     For each media in your system using FAT, the file system reserves
     memory to keep required information of the boot sector of that media.
     FS_MAXDEV is the number of device drivers in your system used
     with FAT, FS_FAT_MAXUNIT is the maximum number of logical units
     supported by one of the activated drivers.
  */
  #define FS_MAXDEV                 (FS_USE_SMC_DRIVER + FS_USE_WINDRIVE_DRIVER + FS_USE_RAMDISK_DRIVER + FS_USE_MMC_DRIVER + FS_USE_IDE_DRIVER + FS_USE_FLASH_DRIVER)
  #define FS_FAT_MAXUNIT            1         /* max number of medias per device */
  #define FS_FAT_NOFAT32            0         /* 1 disables FAT32 support */
  #define FS_FAT_NOFORMAT           0         /* 1 disables code for formatting a media */
  #define FS_FAT_DISKINFO           1         /* 0 disables command FS_CMD_GET_DISKFREE */
  #define FS_FAT_FWRITE_UPDATE_DIR  1         /* 1 FS_FWrite modifies directory (default), 0 directory 
                                                 is modified by FS_FClose */
  /*
    Do not change following defines !
    They may become configurable in future versions of the file system.
  */
  #define FS_FAT_SEC_SIZE       0x200     /* do not change for FAT */
#endif /* FS_USE_FAT_FSL */


/*********************************************************************
*
*             RAMDISK_DRIVER defines
*/

#if FS_USE_RAMDISK_DRIVER
  /*
    Define size of your RAM disk here.
    You specify the number of sectors (512 bytes) here.
  */
  #define FS_RR_BLOCKNUM      32        /* 16KB RAM */
  /*
    Do not change following define !
    It may become configurable in future versions of the file system.
  */
  #define FS_RR_BLOCKSIZE     0x200     /* do not change for FAT */
#endif  /* FS_USE_RAMDISK_DRIVER */


/*********************************************************************
*
*             SMC_DRIVER defines
*
  Settings of the generic Smartmedia Card driver.
  For using SMC in your system, you will have to provide basic
  hardware access functions. Please check device\smc\hardware\XXX\smc_x_hw.c
  and device\smc\hardware\XXX\smc_x_hw.h for samples.
*/

#if FS_USE_SMC_DRIVER
  /*
    Number of card readers in your system.
    Please note, that even if your system does have more than one
    SMC slot, it might be unable to access them both at the same
    time, because they share resources (e.g. same data port). If that
    is true for your system, you must ensure, that your implementation
    of "FS_OS_Lock_deviceop(&_FS_smcdevice_driver,id)" blocks the device
    driver for all values of "id"; the default implementation of the
    file system's OS Layer does so.
  */
  #define FS_SMC_MAXUNIT                    2  /* EP7312 SMC + on board NAND */
  /*
    The following define does tell the generic driver, if your
    system can directly check the SMC RY/BY line. 
  */
  #define FS_SMC_HW_SUPPORT_BSYLINE_CHECK   0  /* EP7312 does not support */
  /*
    FS_SMC_HW_NEEDS_POLL has to be set, if your SMC hardware driver
    needs to be called periodically for status check (e.g. diskchange).
    In such a case, the generic driver does provide a function
    "void FS_smc_check_card(FS_u32 id)", which has to be called
    periodically by your system for each card reader.
  */
  #define FS_SMC_HW_NEEDS_POLL              1  /* EP7312 needs poll for diskchange */
  /*
    Logical Block Read Cache Settings for SMC driver.
    Options are not used if FS_USE_LB_READCACHE is 0.
  */
  #define FS_SMC_CACHENUM         10     /* Number of sector buffers; 0 disables cache for this device. */
  /*
    The minimum erase unit on an SMC is a physical block, which consists
    of 16 or 32 pages. A page is 256+8 or 512+16 bytes. If the file system
    is going to change a single sector (512 bytes) on the media, the SMC
    driver usually has to copy the whole corresponding physical block to
    a new block. To avoid that time consuming task for every single sector
    write, you can provide the SMC driver with a number of sector caches
    (512 bytes each). The driver will use them to cache sequential writes 
    to the media. If you set the value to 0, the SMC driver will not cache 
    any write access. A value of 1 makes no sense. The maximum of the media's 
    cluster size (number of logical sectors) and the number of bytes you 
    write with FS_FWrites divided by 512 is typically the best speed 
    performance value. Bigger values usually make sense only, if you plan to 
    bypass the FAT system by e.g. using the FS_IoCtl command
    FS_CMD_WRITE_SECTOR for a large number of sequential sectors.
  */
  #define FS_SMC_PAGE_BUFFER 0         /* Number of sector write caches; 0 disables write cache function. */
#endif /* FS_USE_SMC_DRIVER */


/*********************************************************************
*
*             MMC_DRIVER defines
*
  Settings of the generic MMC/SD card driver.
  For using MMC in your system, you will have to provide basic
  hardware access functions. Please check device\mmc_sd\hardware\XXX\mmc_x_hw.c
  and device\mmc_sd\hardware\XXX\mmc_x_hw.h for samples.
*/

#if FS_USE_MMC_DRIVER
  /*
    Number of card readers in your system.
    Please note, that even if your system does have more than one
    MMC interface, it might be unable to access them both at the same
    time, because they share resources (e.g. same data line). If that
    is true for your system, you must ensure, that your implementation
    of "FS_OS_Lock_deviceop(&_FS_smcdevice_driver,id)" blocks the device
    driver for all values of "id"; the default implementation of the
    file system's OS Layer does so.
  */
  #define FS_MMC_MAXUNIT                    1  
  /*
    FS_MMC_HW_NEEDS_POLL has to be set, if your MMC hardware driver
    needs to be called periodically for status check (e.g. diskchange).
  */
  #define FS_MMC_HW_NEEDS_POLL              1
  /*
    Logical Block Read Cache Settings for MMC driver.
    Options are not used if FS_USE_LB_READCACHE is 0.
  */
  #define FS_MMC_CACHENUM                   10  /* Number of sector buffers; 0 disables cache for this device. */
#endif /* FS_USE_MMC_DRIVER */


/*********************************************************************
*
*             IDE_DRIVER defines
*
  Settings of the generic IDE driver. This driver is also used to
  access CF cards. For using IDE in your system, you will have to provide basic
  hardware access functions. Please check device\ide\hardware\XXX\ide_x_hw.c
  and device\ide\hardware\XXX\ide_x_hw.h for samples.
*/

#if FS_USE_IDE_DRIVER
  /*
    Number of card readers in your system.
    Please note, that even if your system does have more than one
    IDE interface, it might be unable to access them both at the same
    time, because they share resources (e.g. same data line). If that
    is true for your system, you must ensure, that your implementation
    of "FS_OS_Lock_deviceop(&_FS_idedevice_driver,id)" blocks the device
    driver for all values of "id"; the default implementation of the
    file system's OS Layer does so.
  */
  #define FS_IDE_MAXUNIT                    1
  /*
    FS_IDE_HW_NEEDS_POLL has to be set, if your IDE hardware driver
    needs to be called periodically for status check (e.g. diskchange).
  */
  #define FS_IDE_HW_NEEDS_POLL              1  
  /*
    Logical Block Read Cache Settings for IDE driver.
    Options are not used if FS_USE_LB_READCACHE is 0.
  */
  #define FS_IDE_CACHENUM         10     /* Number of sector buffers; 0 disables cache for this device. */
#endif /* FS_USE_IDE_DRIVER */


/*********************************************************************
*
*             FLASH_DRIVER defines
*/

#if FS_USE_FLASH_DRIVER
  /* Driver is currently not released */
  /* Size of the used ram buffer, set to 0 if no ram buffer is used */
  #define FS_FLASH_RAMBUFFER      0x4000
  /* Enable/disable wear leveling for flash memory */
  #define FS_FLASHWEARLEVELING 1 /* 1 = on, 0 = off */
#endif


/*********************************************************************
*
*             WINDRIVE_DRIVER defines
*
  This driver does allow to use any Windows logical driver on a
  Windows NT system with the file system. Please be aware, that Win9X
  is not supported, because it cannot access logical drives with
  "CreateFile".
*/

#if FS_USE_WINDRIVE_DRIVER
  /*
    The following define tells WINDRIVE, how many logical drives
    of your NT system you are going to access with the file system.
    if your are going to use more than 2 logical drives, you
    will have to modify function "_FS_wd_devstatus" of module
    device\windriver\wd_misc.c.
  */
  #define FS_WD_MAXUNIT         2             /* number of windows drives */
  /*
    Specify names of logical Windows drives used with the file system. For example,
    "\\\\.\\A:" is usually the floppy of your computer.
  */
  #define FS_WD_DEV0NAME        "\\\\.\\A:"   /* Windows drive name for "windrv:0:" */
  #define FS_WD_DEV1NAME        "\\\\.\\B:"   /* Windows drive name for "windrv:1:" */
  /*
    To improve performance of WINDRIVE, it does use sector caches
    for read/write operations to avoid real device operations for
    each read/write access. The number of caches can be specified
    below and must not be smaller than 1.
  */
  #define FS_WD_CACHENUM        40            /* number of read caches per drive */
  #define FS_WD_WBUFFNUM        20            /* number of write caches per drive */
  /*
    Do not change following define !
    It may become configurable in future versions of the file system.
  */
  #define FS_WD_BLOCKSIZE       0x200         /* do not change for FAT */
#endif  /* FS_USE_WINDRIVE_DRIVER */


#endif  /* _FS_CONF_H_ */


?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩在线卡一卡二| 午夜视频在线观看一区| 欧美一区二区三区影视| 欧美日韩一级二级三级| 在线观看视频一区二区欧美日韩| 国产成人综合在线| 国产成人福利片| 国产成都精品91一区二区三| 国产在线观看免费一区| 国内不卡的二区三区中文字幕 | 国产呦精品一区二区三区网站| 午夜一区二区三区在线观看| 亚洲国产精品精华液网站| 亚洲精品中文在线观看| 亚洲午夜久久久久久久久电影网| 一区二区三区蜜桃| 亚洲第一主播视频| 男男视频亚洲欧美| 国产乱色国产精品免费视频| 国产成人精品一区二区三区四区 | 国内精品伊人久久久久av影院| 精品在线亚洲视频| 国产成人精品亚洲777人妖| av综合在线播放| 欧洲激情一区二区| 日韩欧美成人午夜| 亚洲国产精品精华液2区45| 亚洲私人黄色宅男| 日韩一区精品字幕| 国产精品99久久不卡二区| 91在线观看高清| 欧美美女一区二区| 国产午夜三级一区二区三| 亚洲视频在线观看三级| 亚洲成a人在线观看| 国产毛片精品国产一区二区三区| 成人18视频在线播放| 欧美日韩免费电影| 久久久久久**毛片大全| 亚洲综合免费观看高清完整版| 午夜在线电影亚洲一区| 粉嫩av亚洲一区二区图片| 欧美在线综合视频| 久久综合色一综合色88| 一区二区三区四区乱视频| 另类小说欧美激情| 91影院在线免费观看| 精品粉嫩超白一线天av| 一区二区视频在线看| 狠狠网亚洲精品| 欧美三级韩国三级日本三斤| 久久久精品欧美丰满| 天堂资源在线中文精品| 成人少妇影院yyyy| 欧美xfplay| 午夜电影一区二区三区| 91影视在线播放| 久久久久国产一区二区三区四区| 一级特黄大欧美久久久| 成人亚洲一区二区一| 日韩视频在线你懂得| 亚洲国产精品久久艾草纯爱 | 日本一区二区视频在线观看| 五月婷婷激情综合| 99国产精品国产精品久久| 久久综合久久99| 日韩高清一区二区| 欧美日韩1区2区| 亚洲在线中文字幕| 色美美综合视频| 国产精品久久久99| 国产精品一线二线三线精华| 日韩欧美一二三区| 奇米亚洲午夜久久精品| 9191久久久久久久久久久| 亚洲午夜激情av| 91官网在线观看| 亚洲乱码中文字幕| av影院午夜一区| 中文字幕视频一区| av不卡一区二区三区| 久久精品亚洲国产奇米99| 九色|91porny| 久久先锋影音av鲁色资源网| 精品一二三四区| 久久免费电影网| 国产在线国偷精品免费看| 久久九九全国免费| 99久久精品免费看国产| 亚洲欧美日韩系列| 欧美日韩亚洲另类| 天天色天天操综合| 26uuu久久综合| 高清在线不卡av| 亚洲精选视频在线| 3751色影院一区二区三区| 麻豆成人在线观看| 久久久美女艺术照精彩视频福利播放| 精品一区二区三区免费视频| 久久精品视频一区二区| 91视频国产资源| 亚瑟在线精品视频| 久久午夜电影网| 99九九99九九九视频精品| 亚洲午夜影视影院在线观看| 欧美日韩国产精品自在自线| 免费视频一区二区| 欧美国产精品一区二区| 欧洲色大大久久| 国模冰冰炮一区二区| **欧美大码日韩| 欧美一级日韩免费不卡| 成人精品免费网站| 青青草国产精品亚洲专区无| 久久精品视频在线看| 欧美私人免费视频| 国产精品99久久久| 亚洲超丰满肉感bbw| 国产女人aaa级久久久级 | 在线观看91视频| 韩国中文字幕2020精品| 综合欧美一区二区三区| 日韩美女在线视频| 91久久久免费一区二区| 国产精品一区2区| 天天综合色天天综合| 中文字幕日韩精品一区| 欧美一级精品在线| 在线观看国产91| www.欧美色图| 国产乱子轮精品视频| 日韩中文字幕av电影| 亚洲精品日韩综合观看成人91| 精品人在线二区三区| 欧美日韩成人综合在线一区二区| 成人av网在线| 国产精一区二区三区| 另类中文字幕网| 五月天国产精品| 亚洲精品五月天| 国产精品国产三级国产普通话三级 | 亚洲国产精品久久不卡毛片| 中文字幕成人av| 久久影院午夜片一区| 日韩欧美你懂的| 欧美日韩一区二区在线视频| 9i看片成人免费高清| 国产成人av电影| 国产很黄免费观看久久| 精品一区二区免费看| 日韩av中文在线观看| 日日噜噜夜夜狠狠视频欧美人| 亚洲精品日产精品乱码不卡| 中文字幕一区二区三区不卡 | av日韩在线网站| 粉嫩aⅴ一区二区三区四区 | 国产91丝袜在线18| 经典一区二区三区| 国产在线国偷精品产拍免费yy| 久久精品国内一区二区三区| 美女视频一区二区三区| 日本特黄久久久高潮| 老鸭窝一区二区久久精品| 美腿丝袜亚洲综合| 激情综合亚洲精品| 国产精品系列在线观看| 国产99精品国产| 91最新地址在线播放| 欧美系列在线观看| 欧美欧美欧美欧美首页| 欧美精品v国产精品v日韩精品 | 久久激情五月婷婷| 激情偷乱视频一区二区三区| 国产麻豆9l精品三级站| 国产成人午夜片在线观看高清观看| 国产精品综合二区| 成人h动漫精品一区二| 在线亚洲一区二区| 91精品国产综合久久福利软件| 欧美精品高清视频| 亚洲精品一线二线三线| 国产精品乱码一区二三区小蝌蚪| 亚洲视频一区二区免费在线观看| 亚洲一区在线观看免费 | 日韩va欧美va亚洲va久久| 激情五月播播久久久精品| 成人听书哪个软件好| 欧美亚洲动漫精品| 欧美mv日韩mv国产网站app| 国产精品美女久久久久av爽李琼| 一区二区三区日韩在线观看| 乱中年女人伦av一区二区| 91九色最新地址| 欧美一区日韩一区| 国产精品传媒入口麻豆| 日韩高清一区在线| av色综合久久天堂av综合| 91精品国产一区二区三区香蕉| 久久精品视频一区二区| 亚洲v精品v日韩v欧美v专区|