mirror of https://github.com/probonopd/MiniDexed
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
456 B
34 lines
456 B
//
|
|
// kernel.h
|
|
//
|
|
#ifndef _kernel_h
|
|
#define _kernel_h
|
|
|
|
#include "circle_stdlib_app.h"
|
|
#include <circle/i2cmaster.h>
|
|
#include "synth_dexed.h"
|
|
|
|
enum TShutdownMode
|
|
{
|
|
ShutdownNone,
|
|
ShutdownHalt,
|
|
ShutdownReboot
|
|
};
|
|
|
|
class CKernel : public CStdlibAppStdio
|
|
{
|
|
public:
|
|
CKernel (void);
|
|
~CKernel (void);
|
|
|
|
bool Initialize (void);
|
|
|
|
TShutdownMode Run (void);
|
|
|
|
private:
|
|
// do not change this order
|
|
CI2CMaster m_I2CMaster;
|
|
AudioSynthDexed *m_pDexed;
|
|
};
|
|
|
|
#endif
|
|
|