Data Structures | |
| struct | mbng_file_c_info_t |
Defines | |
| #define | DEBUG_VERBOSE_LEVEL 1 |
| #define | MBNG_FILES_PATH "/" |
Functions | |
| s32 | MBNG_FILE_C_Init (u32 mode) |
| s32 | MBNG_FILE_C_Load (char *filename) |
| s32 | MBNG_FILE_C_Unload (void) |
| s32 | MBNG_FILE_C_Valid (void) |
| s32 | parseEvent (u32 line, char *cmd, char *brkt) |
| s32 | parseMap (u32 line, char *cmd, char *brkt) |
| s32 | parseSysExVar (u32 line, char *cmd, char *brkt) |
| s32 | parseEnc (u32 line, char *cmd, char *brkt) |
| s32 | parseDinMatrix (u32 line, char *cmd, char *brkt) |
| s32 | parseDoutMatrix (u32 line, char *cmd, char *brkt) |
| s32 | parseKeyboard (u32 line, char *cmd, char *brkt) |
| s32 | parseLedMatrixPattern (u32 line, char *cmd, char *brkt) |
| s32 | parseLcMeterPattern (u32 line, char *cmd, char *brkt) |
| s32 | parseAin (u32 line, char *cmd, char *brkt) |
| s32 | parseAinSer (u32 line, char *cmd, char *brkt) |
| s32 | parseMf (u32 line, char *cmd, char *brkt) |
| s32 | parseAout (u32 line, char *cmd, char *brkt) |
| s32 | parseDio (u32 line, char *cmd, char *brkt) |
| s32 | parseScs (u32 line, char *cmd, char *brkt) |
| s32 | parseSrio (u32 line, char *cmd, char *brkt) |
| s32 | parseRouter (u32 line, char *cmd, char *brkt) |
| s32 | parseEth (u32 line, char *cmd, char *brkt) |
| s32 | parseOsc (u32 line, char *cmd, char *brkt) |
| s32 | MBNG_FILE_C_Parser (u32 line, char *line_buffer, u8 *got_first_event_item) |
| s32 | MBNG_FILE_C_Read (char *filename) |
| s32 | MBNG_FILE_C_Write (char *filename) |
| s32 | MBNG_FILE_C_Debug (void) |
Variables | |
| char | mbng_file_c_config_name [MBNG_FILE_C_FILENAME_LEN+1] |
Config File access functions
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)
| #define MBNG_FILES_PATH "/" |
Local definitions
| s32 MBNG_FILE_C_Debug | ( | void | ) |
sends config data to debug terminal
| s32 MBNG_FILE_C_Load | ( | char * | filename | ) |
Loads patch file Called from MBNG_FILE_CheckSDCard() when the SD card has been connected

Parses a .NGC command line

| s32 MBNG_FILE_C_Read | ( | char * | filename | ) |
reads the config file content (again)

| s32 MBNG_FILE_C_Unload | ( | void | ) |
Unloads patch file Called from MBNG_FILE_CheckSDCard() when the SD card has been disconnected
| s32 MBNG_FILE_C_Valid | ( | void | ) |
1 if current patch file valid 0 if current patch file not valid
| s32 MBNG_FILE_C_Write | ( | char * | filename | ) |
writes data into config file

help function which parses AIN definitions

help function which parses AOUT definitions

help function which parses DIN_MATRIX definitions

help function which parses DOUT_MATRIX definitions

help function which parses ENC definitions

function which parses ETH definitions

help function which parses a EVENT command and adds it to the pool

help function which parses KEYBOARD definitions

help function which parses LC_METER_PATTERN definitions

help function which parses LED_MATRIX_PATTERN definitions

help function which parses MF definitions
help function which parses OSC definitions

help function which parses ROUTER definitions
help function which parses SCS definitions

| char mbng_file_c_config_name[MBNG_FILE_C_FILENAME_LEN+1] |
Global variables
1.6.1