User`s guide

Firmware Configuration
AT85C51SND3Bx Firmware User’s Guide 6-49
7691A–MP3–08/07
6.2.3 Clock
The “conf_clock.h” file is used to configure the clock that drives the chip.
Table 6-8. Clock settings
6.2.4 File System
The “conf_explorer.h” file is used to configure the file system modules.
Table 6-9. File System configuration
Definition Label Description Values
FOSC Oscillator frequency From [12000] up to 26000 (unit in KHz)
CLK_DRIVE Oscillator type:
- Crystal connected on X1/X2 pins
- External oscillator drives X1 input
[CLK_CRYSTAL]
CLK_GENERATOR
Definition Label Description Values
FS_FAT_12 12-bit FAT support [ENABLED]
DISABLED
FS_FAT_16 16-bit FAT support [ENABLED]
DISABLED
FS_FAT_32 32-bit FAT support [ENABLED]
DISABLED
FS_ASCII Ascii file name support [ENABLED]
DISABLED
FS_UNICODE Unicode fiel name support [ENABLED]
DISABLED
FS_MULTI_PARTITION Multiple partition support (no implemented) ENABLED
[DISABLED]
FS_NB_CACHE_CLUSLIST Cache to increment the speed during navigation and open file, but use
more data space.
1 to 256
FS_LEVEL_FEATURES File system features: implementation or not of some functions.
FSFEATURE_READ_COMPLET: all read functions
FSFEATURE_READ: all read functions except “getc()” and “eof()”
FSFEATURE_WRITE_NAV: “nav_formatdrive()” and “nav_delfile()”
available
FSFEATURE_WRITE_NAV_COMPLET: FSFEATURE_WRITE_NAV +
“nav_mkdir()” and “nav_rename()” available
FSFEATURE_WRITE_FILE: “file_create()”, “file_open(MODE_WRITE)”,
“file_write()”, “file_putc()” available
FSFEATURE_WRITE_FILE_COMPLET: FSFEATURE_WRITE_FILE +
“nav_set_date()”, “nav_set_attribut()”, file_getc() functions are available
FSFEATURE_ALL: all above features available.
[FSFEATURE_READ]
FSFEATURE_READ_COMPLET
FSFEATURE_WRITE_NAV
[FSFEATURE_WRITE_NAV_COMPLET]
FSFEATURE_WRITE_FILE]
FSFEATURE_WRITE_FILE_COMPLET
FS_NB_NAVIGATOR Maximum number of navigators used [3]
FS_NAV_ID_PLAYLIST ID of the navigator dedicated to the playlist.
NB: the explorer always works with the navigator ID 0.
Could be set to 0 to have the same navigator than the explorer.
[1]
FS_NAV_ID_COPYFILE ID of the navigator dedicated to the file copy.
“copy file” is opened with this ID but “paste file” is opened with the ID 0
[2]
FS_NAV_ID_KARAOKE ID different than both explorer and playlist’s IDs [2]
FS_NAV_ID_ID3 ID different than both explorer and playlist’s IDs [2]
FS_NAV_ID_UPDATEFILE ID of the navigator dedicated to the update mode.
NB: the explorer always works with the navigator ID 0.
[1]
FS_NAV_ID_STATUSFILE ID of the navigator dedicated to the update file status. [2]
PL_UNICODE Format of playlist use (enable=UTF16BE, disable=ASCII) ENABLED
[DISABLED]