-
Notifications
You must be signed in to change notification settings - Fork 0
/
output.h
50 lines (37 loc) · 1.13 KB
/
output.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
#ifndef __OUTPUT_H__
#define __OUTPUT_H__
#include "config.h"
#include "display.h"
#include <stdint.h>
void (*dispHandler)(lcd_t);
void (*loopHandler)(void);
void (*timer1Handler)(void);
void (*timer3Handler)(void);
void (*timer0Handler)(void);
void (*timer2Handler)(void);
uint8_t (*doCanSendLcd)(void);
void (*enableHandler)(void);
void outputInit();
void outputSetDispHandler(void (*handler)(lcd_t lcd));
void outputSetTimerHandler(void (*handler)(void));
void outputSetLoopHandler(void (*handler)(void));
void outputHandleDisp(lcd_t lcd);
void outputHandleLoop();
void mainLock();
void mainUnlock();
char isLocked();
char isEnabled();
void outputEnable();
void outputDisable();
void outputDispHandlerNormal(lcd_t lcd);
void outputTimerHandlerNomral();
void outputLoopHandlerNormal();
void outputNormalInit();
void outputMidiInit();
void outputLoopOccured();
void outputTimerOccured();
void outputDispOccured();
char *outputName;
char *getOutputName();
uint8_t canSendLcd();
#endif