Defines | |
#define | DEBUG_VERBOSE_LEVEL 1 |
Functions | |
s32 | MBNG_FILE_Init (u32 mode) |
s32 | MBNG_FILE_LoadAllFiles (u8 including_hw) |
s32 | MBNG_FILE_UnloadAllFiles (void) |
s32 | MBNG_FILE_CreateDefaultFiles (void) |
s32 | MBNG_FILE_StatusMsgSet (char *msg) |
char * | MBNG_FILE_StatusMsgGet (void) |
File access functions for MIDIbox NG
NOTE: before accessing the SD Card, the upper level function should synchronize with the SD Card semaphore! MUTEX_SDCARD_TAKE; // to take the semaphore MUTEX_SDCARD_GIVE; // to release the semaphore
#define DEBUG_VERBOSE_LEVEL 1 |
Include files for optional debugging messages via DEBUG_MSG (defined in mios32_config.h)
s32 MBNG_FILE_CreateDefaultFiles | ( | void | ) |
creates the default files if they don't exist on SD Card
Loads all files
char* MBNG_FILE_StatusMsgGet | ( | void | ) |
s32 MBNG_FILE_StatusMsgSet | ( | char * | msg | ) |
sets the SD Card status 12 characters max. if msg == NULL: ok, no special status, print filename
s32 MBNG_FILE_UnloadAllFiles | ( | void | ) |
invalidate all file infos