12-polyphonic "chiptune" MIDI synthesizer for LPC1768 (Standalone version)

Dependencies:   ClockControl PowerControl mbed

defs.h

Committer:
kayekss
Date:
2014-11-09
Revision:
0:727737138ac5
Child:
3:cf57d7031c12

File content as of revision 0:727737138ac5:

#define BUFFER_LENGTH               2048
#define SYSEX_BUFFER_LENGTH          128

#define NUM_PERFORMER                  1
#define NUM_INSTRUMENT_IN_PERFORMER   16
#define NUM_INSTRUMENT  ((NUM_INSTRUMENT_IN_PERFORMER) * (NUM_PERFORMER))

// Power down unused uC's peripherals and Ethernet PHY chip
#define POWER_SAVE
// Boost system clock to 120 MHz
// (valid only when POWER_SAVE is also defined)
#define CLOCKUP

typedef enum {
    DUMP_NOTHING,
    DUMP_EVENTS,
    DUMP_INST,
    DUMP_INST_DETAIL
} dumpmode_t;