Microchip® Advanced Software Framework

services/usb/class/composite/host/example2/conf_fatfs.h File Reference

FATFS configuration file.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

Macros

#define _CODE_PAGE   850
 
#define _FFCONF   6502 /* Revision ID */
 
#define _FS_MINIMIZE   0 /* 0 to 3 */
 
#define _FS_READONLY   0 /* 0:Read/Write or 1:Read only */
 
#define _FS_REENTRANT   0 /* 0:Disable or 1:Enable */
 
#define _FS_RPATH   0 /* 0 to 2 */
 
#define _FS_SHARE   0 /* 0:Disable or >=1:Enable */
 
#define _FS_TIMEOUT   1000 /* Timeout period in unit of time ticks */
 
#define _FS_TINY   0 /* 0:Normal or 1:Tiny */
 
#define _LFN_UNICODE   0 /* 0:ANSI/OEM or 1:Unicode */
 
#define _MAX_LFN   255 /* Maximum LFN length to handle (12 to 255) */
 
#define _MAX_SS   512 /* 512, 1024, 2048 or 4096 */
 
#define _MULTI_PARTITION   0 /* 0:Single partition, 1/2:Enable multiple partition */
 
#define _SYNC_t   HANDLE /* O/S dependent type of sync object. e.g. HANDLE, OS_EVENT*, ID and etc.. */
 
#define _USE_ERASE   0 /* 0:Disable or 1:Enable */
 
#define _USE_FASTSEEK   0 /* 0:Disable or 1:Enable */
 
#define _USE_FORWARD   0 /* 0:Disable or 1:Enable */
 
#define _USE_LFN   2 /* 0 to 3 */
 
#define _USE_MKFS   1 /* 0:Disable or 1:Enable */
 
#define _USE_STRFUNC   1 /* 0:Disable or 1-2:Enable */
 
#define _VOLUMES   8
 
#define _WORD_ACCESS   0 /* 0 or 1 */
 

#define _CODE_PAGE   850
#define _FFCONF   6502 /* Revision ID */
#define _FS_MINIMIZE   0 /* 0 to 3 */
#define _FS_READONLY   0 /* 0:Read/Write or 1:Read only */

Referenced by chk_mounted(), and f_lseek().

#define _FS_REENTRANT   0 /* 0:Disable or 1:Enable */
#define _FS_RPATH   0 /* 0 to 2 */
#define _FS_SHARE   0 /* 0:Disable or >=1:Enable */
#define _FS_TIMEOUT   1000 /* Timeout period in unit of time ticks */
#define _FS_TINY   0 /* 0:Normal or 1:Tiny */
#define _LFN_UNICODE   0 /* 0:ANSI/OEM or 1:Unicode */
#define _MAX_LFN   255 /* Maximum LFN length to handle (12 to 255) */

Referenced by create_name(), and scan_files().

#define _MAX_SS   512 /* 512, 1024, 2048 or 4096 */
#define _MULTI_PARTITION   0 /* 0:Single partition, 1/2:Enable multiple partition */
#define _SYNC_t   HANDLE /* O/S dependent type of sync object. e.g. HANDLE, OS_EVENT*, ID and etc.. */
#define _USE_ERASE   0 /* 0:Disable or 1:Enable */
#define _USE_FASTSEEK   0 /* 0:Disable or 1:Enable */
#define _USE_FORWARD   0 /* 0:Disable or 1:Enable */
#define _USE_LFN   2 /* 0 to 3 */

Referenced by get_fileinfo().

#define _USE_MKFS   1 /* 0:Disable or 1:Enable */
#define _USE_STRFUNC   1 /* 0:Disable or 1-2:Enable */
#define _VOLUMES   8

Referenced by chk_mounted(), and f_mount().

#define _WORD_ACCESS   0 /* 0 or 1 */