MIDIbox NG Application
#define DEBUG_EVENT_HANDLER_PERFORMANCE 0 |
enum msd_state_t |
This hook is called when a pot has been moved
void APP_Background | ( | void | ) |
This task is running endless in background
This hook is called when a button has been toggled pin_value is 1 when button released, and 0 when button pressed
This hook is called when an encoder has been moved incrementer is positive when encoder has been turned clockwise, else it is negative
void APP_Init | ( | void | ) |
This hook is called after startup to initialize the application
void APP_J16SemaphoreGive | ( | void | ) |
void APP_J16SemaphoreTake | ( | void | ) |
functions to access J16 semaphore see also mios32_config.h
void APP_MIDI_NotifyPackage | ( | mios32_midi_port_t | port, | |
mios32_midi_package_t | midi_package | |||
) |
This hook is called when a MIDI package has been received
void APP_MIDI_Tick | ( | void | ) |
void APP_MUTEX_MIDIIN_Give | ( | void | ) |
void APP_MUTEX_MIDIIN_Take | ( | void | ) |
void APP_MUTEX_MIDIOUT_Give | ( | void | ) |
void APP_MUTEX_MIDIOUT_Take | ( | void | ) |
functions to access MIDI IN/Out Mutex see also mios32_config.h
void APP_SRIO_ServiceFinish | ( | void | ) |
This hook is called after the shift register chain has been scanned
void APP_SRIO_ServiceFinishBeforeDINCompare | ( | void | ) |
This hook is called after the shift register chain has been scanned and before the DIN registers will be compared (hook enabled via define MIOS32_SRIO_CALLBACK_BEFORE_DIN_COMPARE in mios32_config.h)
void APP_SRIO_ServicePrepare | ( | void | ) |
This hook is called before the shift register chain is scanned
s32 APP_SYSEX_Parser | ( | mios32_midi_port_t | port, | |
u8 | midi_in | |||
) |
This function parses an incoming sysex stream for MIOS32 commands
void APP_Tick | ( | void | ) |
This hook is called each mS from the main task which also handles DIN, ENC and AIN events. You could add more jobs here, but they shouldn't consume more than 300 uS to ensure the responsiveness of buttons, encoders, pots. Alternatively you could create a dedicated task for application specific jobs as explained in $MIOS32_PATH/apps/tutorials/006_rtos_tasks
s32 TASK_MSD_EnableGet | ( | ) |
s32 TASK_MSD_FlagStrGet | ( | char | str[5] | ) |
global variables
local variables