MIOS32_APP

Defines

#define DEBUG_EVENT_HANDLER_PERFORMANCE   0

Enumerations

enum  msd_state_t { MSD_DISABLED, MSD_INIT, MSD_READY, MSD_SHUTDOWN }

Functions

void APP_Init (void)
void APP_Background (void)
void APP_Tick (void)
void APP_MIDI_Tick (void)
void APP_MIDI_NotifyPackage (mios32_midi_port_t port, mios32_midi_package_t midi_package)
s32 APP_SYSEX_Parser (mios32_midi_port_t port, u8 midi_in)
void APP_SRIO_ServicePrepare (void)
void APP_SRIO_ServiceFinishBeforeDINCompare (void)
void APP_SRIO_ServiceFinish (void)
void APP_DIN_NotifyToggle (u32 pin, u32 pin_value)
void APP_ENC_NotifyChange (u32 encoder, s32 incrementer)
void APP_AIN_NotifyChange (u32 pin, u32 pin_value)
s32 TASK_MSD_EnableSet (u8 enable)
s32 TASK_MSD_EnableGet ()
s32 TASK_MSD_FlagStrGet (char str[5])
void APP_J16SemaphoreTake (void)
void APP_J16SemaphoreGive (void)
void APP_MUTEX_MIDIOUT_Take (void)
void APP_MUTEX_MIDIOUT_Give (void)
void APP_MUTEX_MIDIIN_Take (void)
void APP_MUTEX_MIDIIN_Give (void)

Variables

u8 hw_enabled
u8 debug_verbose_level
xSemaphoreHandle xSDCardSemaphore
xSemaphoreHandle xMIDIINSemaphore
xSemaphoreHandle xMIDIOUTSemaphore
xSemaphoreHandle xLCDSemaphore
xSemaphoreHandle xJ16Semaphore

Detailed Description

MIDIbox NG Application


Define Documentation

#define DEBUG_EVENT_HANDLER_PERFORMANCE   0

Enumeration Type Documentation

Include files Local types

Enumerator:
MSD_DISABLED 
MSD_INIT 
MSD_READY 
MSD_SHUTDOWN 

Function Documentation

void APP_AIN_NotifyChange ( u32  pin,
u32  pin_value 
)

This hook is called when a pot has been moved

Here is the call graph for this function:

void APP_Background ( void   ) 

This task is running endless in background

Here is the call graph for this function:

void APP_DIN_NotifyToggle ( u32  pin,
u32  pin_value 
)

This hook is called when a button has been toggled pin_value is 1 when button released, and 0 when button pressed

Here is the call graph for this function:

void APP_ENC_NotifyChange ( u32  encoder,
s32  incrementer 
)

This hook is called when an encoder has been moved incrementer is positive when encoder has been turned clockwise, else it is negative

Here is the call graph for this function:

void APP_Init ( void   ) 

This hook is called after startup to initialize the application

Here is the call graph for this function:

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

Here is the call graph for this function:

void APP_MIDI_Tick ( void   ) 

Here is the call graph for this function:

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

Here is the call graph for this function:

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)

Here is the call graph for this function:

void APP_SRIO_ServicePrepare ( void   ) 

This hook is called before the shift register chain is scanned

Here is the call graph for this function:

s32 APP_SYSEX_Parser ( mios32_midi_port_t  port,
u8  midi_in 
)

This function parses an incoming sysex stream for MIOS32 commands

Here is the call graph for this function:

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

Here is the call graph for this function:

s32 TASK_MSD_EnableGet (  ) 
s32 TASK_MSD_EnableSet ( u8  enable  ) 

MSD access functions

Here is the call graph for this function:

s32 TASK_MSD_FlagStrGet ( char  str[5]  ) 

Here is the call graph for this function:


Variable Documentation

global variables

local variables


Generated on 22 Jan 2016 for MIDIboxNG by  doxygen 1.6.1