conf_explorer.h File Reference


Detailed Description

FAT configuration file.

This file contains the possible external configuration of the FAT.

Information about file-system limitations:

Author:
Atmel Corporation: http://www.atmel.com
Support and FAQ: http://support.atmel.no/

Definition in file conf_explorer.h.

#include "compiler.h"

Go to the source code of this file.

Defines

#define FS_ASCII   ENABLED
 The explorer may support either the ASCII or the UNICODE string format, or both.
#define FS_FAT_12   ENABLED
 Supported FATs (ENABLED or DISABLED).
#define FS_FAT_16   ENABLED
#define FS_FAT_32   ENABLED
#define FS_LEVEL_FEATURES   (FSFEATURE_READ | FSFEATURE_WRITE_COMPLET)
 Level of features.
#define FS_MULTI_PARTITION   DISABLED
 The navigator may support only the first partition (DISABLED), or multiple partitions (ENABLED).
#define FS_NB_CACHE_CLUSLIST   1
 Number of caches used to store a cluster list of files (interesting in case of many `open file').
#define FS_NB_NAVIGATOR   2
 Maximal number of simultaneous navigators.
#define FS_NB_RESERVED_NAV   0
 Number of reserved navigators (ids from 0 to (FS_NB_RESERVED_NAVIGATOR - 1)).
#define FS_UNICODE   DISABLED
#define LIB_CTRLACCESS   "ctrl_access.h"
#define LIB_MEM   <string.h>
 Include files and compile options (do not change these settings).
#define MAX_CONFIG_FILE_SIZE   110
 Maximal size of configuration file.
#define MAX_FILE_PATH_LENGTH   30
 Maximal number of characters in file path.
Navigator Affiliations
Define the affiliations of the navigators.

Note:
The explorer always has the navigator ID 0.


#define FS_NAV_ID_COPYFILE   1
 The explorer uses the navigator ID 1 to open the `copy file' and the ID 0 to open the `paste file'.
#define FS_NAV_ID_USHELL_CMD   0
 The explorer uses the navigator ID 1 to open the `copy file' and the ID 0 to open the `paste file'.
Playlist Configuration
#define pl_cache_path   g_buffer
 Cache to store the path of a file (here, mapped onto a global buffer).
#define PL_CACHE_PATH_MAX_SIZE   sizeof(g_buffer)
 Size of cache to store the path of a file.
#define PL_UNICODE   DISABLED
 Playlist format: DISABLED for ASCII or ENABLED for UNICODE.


Define Documentation

#define FS_ASCII   ENABLED

The explorer may support either the ASCII or the UNICODE string format, or both.

Definition at line 67 of file conf_explorer.h.

#define FS_FAT_12   ENABLED

Supported FATs (ENABLED or DISABLED).

Definition at line 62 of file conf_explorer.h.

#define FS_FAT_16   ENABLED

Definition at line 63 of file conf_explorer.h.

#define FS_FAT_32   ENABLED

Definition at line 64 of file conf_explorer.h.

#define FS_LEVEL_FEATURES   (FSFEATURE_READ | FSFEATURE_WRITE_COMPLET)

Level of features.

Select among:

  • FSFEATURE_READ: All read functions.
  • FSFEATURE_WRITE: nav_file_copy(), nav_file_paste(), nav_file_del(), file_create(), file_open(MODE_WRITE), file_write(), file_putc().
  • FSFEATURE_WRITE_COMPLET: FSFEATURE_WRITE functions and nav_drive_format(), nav_dir_make(), nav_file_rename(), nav_file_dateset(), nav_file_attributset().
  • FSFEATURE_ALL: All functions.

Definition at line 85 of file conf_explorer.h.

#define FS_MULTI_PARTITION   DISABLED

The navigator may support only the first partition (DISABLED), or multiple partitions (ENABLED).

Definition at line 71 of file conf_explorer.h.

#define FS_NAV_ID_COPYFILE   1

The explorer uses the navigator ID 1 to open the `copy file' and the ID 0 to open the `paste file'.

Definition at line 106 of file conf_explorer.h.

Referenced by ushell_cmd_perform(), and ushell_cmd_sync().

#define FS_NAV_ID_USHELL_CMD   0

The explorer uses the navigator ID 1 to open the `copy file' and the ID 0 to open the `paste file'.

Definition at line 107 of file conf_explorer.h.

Referenced by ushell_cmd_perform(), ushell_cmd_sync(), and ushell_task().

#define FS_NB_CACHE_CLUSLIST   1

Number of caches used to store a cluster list of files (interesting in case of many `open file').

In player mode, 1 is OK (shall be > 0).

Definition at line 89 of file conf_explorer.h.

#define FS_NB_NAVIGATOR   2

Maximal number of simultaneous navigators.

Definition at line 92 of file conf_explorer.h.

#define FS_NB_RESERVED_NAV   0

Number of reserved navigators (ids from 0 to (FS_NB_RESERVED_NAVIGATOR - 1)).

Definition at line 95 of file conf_explorer.h.

#define FS_UNICODE   DISABLED

Definition at line 68 of file conf_explorer.h.

#define LIB_CTRLACCESS   "ctrl_access.h"

Definition at line 59 of file conf_explorer.h.

#define LIB_MEM   <string.h>

Include files and compile options (do not change these settings).

Definition at line 58 of file conf_explorer.h.

#define MAX_CONFIG_FILE_SIZE   110

Maximal size of configuration file.

Definition at line 77 of file conf_explorer.h.

#define MAX_FILE_PATH_LENGTH   30

Maximal number of characters in file path.

Definition at line 74 of file conf_explorer.h.

Referenced by ushell_cmd_copy(), ushell_cmd_ls(), and ushell_path_valid_syntac().

#define pl_cache_path   g_buffer

Cache to store the path of a file (here, mapped onto a global buffer).

Definition at line 115 of file conf_explorer.h.

#define PL_CACHE_PATH_MAX_SIZE   sizeof(g_buffer)

Size of cache to store the path of a file.

Definition at line 118 of file conf_explorer.h.

#define PL_UNICODE   DISABLED

Playlist format: DISABLED for ASCII or ENABLED for UNICODE.

Definition at line 121 of file conf_explorer.h.


Generated on Fri Feb 19 02:33:37 2010 for AVR32 - USB Mass-Storage on FreeRTOS Example by  doxygen 1.5.5