-
Notifications
You must be signed in to change notification settings - Fork 0
/
Pokitto.h
64 lines (50 loc) · 1.55 KB
/
Pokitto.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/**************************************************************************/
/*!
@file Pokitto.h
@author Jonne Valola
@section LICENSE
Pokitto development stage library
Software License Agreement
Copyright (c) 2015, Jonne Valola ("Author")
All rights reserved.
This library is intended solely for the purpose of Pokitto development.
Redistribution and use in source and binary forms, with or without
modification requires written permission from Author.
*/
/**************************************************************************/
#ifndef __POKITTO_H__
#define __POKITTO_H__
#include "Pokitto_settings.h"
#include "PokittoCore.h"
//typedef void (*funcptr)(PokittoApp&);
#ifndef POK_SIM
#include "mbed.h"
#include "HWLCD.h"
#include "Pokitto_timer.h"
#include "Pokitto_extport.h"
#include "PokittoEEPROM.h"
#else
#include "PokittoSimulator.h"
#endif // if not POK_SIM
#if POK_ENABLE_SD > 0
#ifndef POK_SIM
#include "Pokitto_disk.h"
#else
#include "FileIO.h"
#endif // if not POK_SIM
#endif // if SD ENABLED
#if POK_ENABLE_SOUND > 0
#include "Synth.h"
extern uint8_t soundbuf[];
#ifndef POK_SIM
#include "HWSound.h"
#endif // if not POK_SIM
#endif // if POK_ENABLE_SOUND
/*extern void dac_write(uint8_t);
extern void ext_write(uint32_t);
extern uint16_t pokGetBattP1();
extern uint16_t pokGetBattP2();
extern void pokInitRandom();
extern void pokSoundIRQ();
*/
#endif //__POKITTO_H__