-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathprocess.h
38 lines (31 loc) · 855 Bytes
/
process.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
#ifndef PROCESS_H
#define PROCESS_H
#ifdef __cplusplus
extern "C" {
#endif
#define PressTimoutInterval 4000 // in mS
#define CheckTouchInterval 15 // in mS
#define CheckSwipeInterval 60 // in mS
#define ScreenUpdateInterval 200 // in mS
#define PressTimoutInterval 4000 // in mS
// The following typedef struct is not currently fully used
typedef struct {
char FileName[16]; // Filenames must be 8.3
uint16_t SizeX;
uint16_t SizeY;
uint32_t Format;
uint32_t FlashAddress;
}FileParms;
void MakeScreen_Bitmap(uint8_t FileIndex);
bool FileTransfer2Flash(char *filename, uint32_t FlashAddress);
bool FlashGetFileParms(void);
bool FlashAttach(void);
bool FlashDetach(void);
bool FlashFast(void);
bool FlashLoad(void);
bool FlashErase(void);
bool FlashLoad(void);
#ifdef __cplusplus
}
#endif
#endif