Atmel Software Framework

avr32/applications/uc3-audio-player/conf/conf_explorer.h File Reference
#include "compiler.h"
#include "cycle_counter.h"

Macros

#define FS_ASCII   false
 The explorer may support either the ASCII or the UNICODE string format, or both. More...
 
#define FS_FAT_12   true
 Supported FATs (true or false). More...
 
#define FS_FAT_16   true
 
#define FS_FAT_32   true
 
#define FS_LEVEL_FEATURES   (FSFEATURE_READ | FSFEATURE_WRITE_COMPLET)
 Level of features. More...
 
#define FS_MULTI_PARTITION   false
 The navigator may support only the first partition (false), or multiple partitions (true). More...
 
#define FS_NAV_AUTOMATIC_NBFILE   DISABLE
 
#define FS_NB_CACHE_CLUSLIST   3
 Number of caches used to store a cluster list of files (interesting in case of many `open file'). More...
 
#define FS_NB_NAVIGATOR   4
 Maximal number of simultaneous navigators. More...
 
#define FS_UNICODE   true
 
#define LIB_CTRLACCESS   "ctrl_access.h"
 
#define LIB_MEM   <string.h>
 Include files and compile options (do not change these settings). More...
 
#define MAX_CONFIG_FILE_SIZE   110
 Maximal size of configuration file. More...
 
#define MAX_FILE_PATH_LENGTH   30
 Maximal number of characters in file path. More...
 
#define PLAYLIST_USE_NON_BLOCKING_FUNCTION_SET   false
 This define enables or disables the use of non-blocking functions for playlist management. More...
 
Navigator Affiliations

Define the affiliations of the navigators.

Note
The explorer always has the navigator ID 0.
The update and status files use a different navigator (2) because they are enabled at the same time.
#define FS_NAV_ID_FILESYSTEM   0
 Navigator used to explore disks. More...
 
#define FS_NAV_ID_AUDIO   1
 Navigator used to manage song file (navigation + open file) More...
 
#define FS_NAV_ID_PLAYLIST   2
 Navigator used to open the file playlist. More...
 
#define FS_NAV_ID_COVER   3
 
#define FS_NAV_ID_COPYFILE   2
 The explorer uses the navigator ID 2 to open the `copy file' and the ID 0 to open the `paste file'. More...
 
#define FS_NAV_ID_COVER   3
 
Playlist Configuration
#define PLAYLIST_BUF_ALLOC(size)   malloc( size )
 
#define PLAYLIST_BUF_FREE(buf)   free( buf )
 
#define PL_READONLY   true
 Playlist mode read only (modification impossible) More...
 
Navigation Automatic Configuration
#define NAVAUTO_MAX_RANGE_RAND   8
 
#define NAVAUTO_GET_RAND()   (Get_sys_count())
 
#define NAV_AUTO_FILE_IN_FIRST   1
 
#define NAVAUTO_SPEED_OPTIMIZATION   false
 Enable speed optimization. More...
 
#define NAVAUTO_SPEED_OPTIMIZATION_LEVEL   8
 It defines the number of level in the tree architecture that will be impacted by this optimization. More...
 
Cache feature

This define enables the use of a 1-entry-cache for some specific mass storage functions.

#define AI_USB_MS_USE_CACHE   false
 

#define AI_USB_MS_USE_CACHE   false
#define FS_ASCII   false

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

#define FS_FAT_12   true

Supported FATs (true or false).

#define FS_FAT_16   true
#define FS_FAT_32   true
#define FS_LEVEL_FEATURES   (FSFEATURE_READ | FSFEATURE_WRITE_COMPLET)

Level of features.

Select among:

#define FS_MULTI_PARTITION   false

The navigator may support only the first partition (false), or multiple partitions (true).

#define FS_NAV_AUTOMATIC_NBFILE   DISABLE
#define FS_NAV_ID_COPYFILE   2

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

#define FS_NAV_ID_COVER   3
#define FS_NAV_ID_COVER   3
#define FS_NB_CACHE_CLUSLIST   3

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).

#define FS_NB_NAVIGATOR   4

Maximal number of simultaneous navigators.

#define FS_UNICODE   true
#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.

#define NAV_AUTO_FILE_IN_FIRST   1
#define NAVAUTO_GET_RAND ( )    (Get_sys_count())

Referenced by navauto_rand_choose().

#define NAVAUTO_MAX_RANGE_RAND   8
#define NAVAUTO_SPEED_OPTIMIZATION   false

Enable speed optimization.

#define NAVAUTO_SPEED_OPTIMIZATION_LEVEL   8

It defines the number of level in the tree architecture that will be impacted by this optimization.


If this number is equal to 1, then only the 1st folder level will be impacted by this optimization.
In counter part, the higher this number is, the more RAM memory it will need.

Referenced by navauto_mov_explorer_enterdir(), and navauto_mov_explorer_updir().

#define PL_READONLY   true

Playlist mode read only (modification impossible)

#define PLAYLIST_BUF_ALLOC (   size)    malloc( size )

Referenced by pl_main_close(), and pl_main_readline().

#define PLAYLIST_BUF_FREE (   buf)    free( buf )

Referenced by pl_main_close(), and pl_nav_setpos().

#define PLAYLIST_USE_NON_BLOCKING_FUNCTION_SET   false

This define enables or disables the use of non-blocking functions for playlist management.