LCDdevice.c
1.54 KB
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
65
66
67
68
69
70
71
72
73
74
#include "c_def.h"
#include "debug.h"
#include "oem.h"
#include "LCDdevice.h"
void lcd_none_void(void)
{
}
void lcd_none_clear(LCD_RANGE lcd_range)
{
}
void lcd_none_display_icon(LCD_ICON parm1, U32 parm2)
{
}
void lcd_none_display_char(const U8 *buf, U16 line, U16 pos)
{
}
void lcd_none_display_char_fix_len(const U8 *buf, U16 line, U16 spos, U16 epos)
{
}
void lcd_none_display_dim_set(U8 val)
{
}
void lcd_none_led_light_set(U8 num, U8 con)
{
}
void lcd_none_display_level(U16 Level_L, U16 Level_R,U8 index)
{
}
#if defined LCD_M66005
const APP_LCD_DEVICE app_lcd_device = {LCD_DEV_M66005};
#elif defined LCD_PT6302
const APP_LCD_DEVICE app_lcd_device = {LCD_DEV_PT6302};
#elif defined LCD_ML9208A
const APP_LCD_DEVICE app_lcd_device = {LCD_DEV_ML9208A};
#elif defined LCD_TY1621
const APP_LCD_DEVICE app_lcd_device = {TY1621};
#elif defined LCD_ET8861
const APP_LCD_DEVICE app_lcd_device = {ET8861};
#elif defined LCD_TY1622
const APP_LCD_DEVICE app_lcd_device = {LCD_DEV_TY1622};
#elif defined LCD_ET8862
const APP_LCD_DEVICE app_lcd_device = {LCD_DEV_ET8862};
#elif defined LCD_SR80I
const APP_LCD_DEVICE app_lcd_device = {SR80I};
#elif defined LCD_ST7032
const APP_LCD_DEVICE app_lcd_device = {ST7032};
#else
const APP_LCD_DEVICE app_lcd_device = {
lcd_none_void,
lcd_none_void,
lcd_none_void,
lcd_none_void,
lcd_none_clear,
lcd_none_display_icon,
lcd_none_display_char,
lcd_none_display_char_fix_len,
lcd_none_display_dim_set,
lcd_none_void,
lcd_none_void,
lcd_none_void,
lcd_none_void,
lcd_none_led_light_set,
lcd_none_display_level
};
#endif