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.
MiniDexed/src/kernel.h

35 lines
449 B

//
// kernel.h
//
#ifndef _kernel_h
#define _kernel_h
#include "circle_stdlib_app.h"
#include <circle/i2cmaster.h>
#include "minidexed.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;
CMiniDexed *m_pDexed;
};
#endif