MBNG_FILE

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)

Detailed Description

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 Documentation

#define DEBUG_VERBOSE_LEVEL   1

Include files for optional debugging messages via DEBUG_MSG (defined in mios32_config.h)


Function Documentation

s32 MBNG_FILE_CreateDefaultFiles ( void   ) 

creates the default files if they don't exist on SD Card

Here is the call graph for this function:

s32 MBNG_FILE_Init ( u32  mode  ) 

Initialisation

Here is the call graph for this function:

s32 MBNG_FILE_LoadAllFiles ( u8  including_hw  ) 

Loads all files

Here is the call graph for this function:

char* MBNG_FILE_StatusMsgGet ( void   ) 
Returns:
the current SD Card status if NULL: ok, no special status, print filename
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

Here is the call graph for this function:


Generated on 22 Jan 2016 for MIDIboxNG by  doxygen 1.6.1