# modules/sequencer/seq_midi_out.c File Reference

`#include <mios32.h>`
`#include "seq_midi_out.h"`
`#include "seq_bpm.h"`
`#include <FreeRTOS.h>`

## Data Structures
struct | seq_midi_out_queue_item_t
## Defines
#define | DEBUG_VERBOSE_LEVEL 1
#define | SEQ_MIDI_OUT_MALLOC_FLAG_WIDTH 1
#define | SEQ_MIDI_OUT_MALLOC_FLAG_MASK 1
## Functions
s32 | SEQ_MIDI_OUT_Init (u32 mode)
s32 | SEQ_MIDI_OUT_Callback_MIDI_SendPackage_Set (void *_callback_midi_send_package)
s32 | SEQ_MIDI_OUT_Callback_BPM_IsRunning_Set (void *_callback_bpm_is_running)
s32 | SEQ_MIDI_OUT_Callback_BPM_TickGet_Set (void *_callback_bpm_tick_get)
s32 | SEQ_MIDI_OUT_Callback_BPM_Set_Set (void *_callback_bpm_set)
s32 | SEQ_MIDI_OUT_Send (mios32_midi_port_t port, mios32_midi_package_t midi_package, seq_midi_out_event_type_t event_type, u32 timestamp, u32 len)
s32 | SEQ_MIDI_OUT_ReSchedule (u8 tag, seq_midi_out_event_type_t event_type, u32 timestamp, u32 *reschedule_filter)
s32 | SEQ_MIDI_OUT_FlushQueue (void)
s32 | SEQ_MIDI_OUT_FreeHeap (void)
s32 | SEQ_MIDI_OUT_Handler (void)
## Variables
u32 | seq_midi_out_allocated
| contains number of events which have allocated memory