Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00024 #ifndef MIDI_FUNCTION_TYPES_H
00025 #define MIDI_FUNCTION_TYPES_H
00026
00027 #include <inttypes.h>
00028 #include <stdbool.h>
00029
00030
00031 typedef struct _midi_device MidiDevice;
00032
00033 typedef void (* midi_one_byte_func_t)(MidiDevice * device, uint8_t byte);
00034 typedef void (* midi_two_byte_func_t)(MidiDevice * device, uint8_t byte0, uint8_t byte1);
00035 typedef void (* midi_three_byte_func_t)(MidiDevice * device, uint8_t byte0, uint8_t byte1, uint8_t byte2);
00036
00037 typedef void (* midi_var_byte_func_t)(MidiDevice * device, uint16_t count, uint8_t byte0, uint8_t byte1, uint8_t byte2);
00038
00039 #endif