line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
8414
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
36
|
|
2
|
1
|
|
|
1
|
|
18
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
184
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
return [ |
5
|
|
|
|
|
|
|
{ |
6
|
|
|
|
|
|
|
'class_description' => 'generated from LCDd.conf', |
7
|
|
|
|
|
|
|
'element' => [ |
8
|
|
|
|
|
|
|
'Brightness', |
9
|
|
|
|
|
|
|
{ |
10
|
|
|
|
|
|
|
'description' => 'Set the initial brightness ', |
11
|
|
|
|
|
|
|
'max' => '1000', |
12
|
|
|
|
|
|
|
'min' => '0', |
13
|
|
|
|
|
|
|
'type' => 'leaf', |
14
|
|
|
|
|
|
|
'upstream_default' => '1000', |
15
|
|
|
|
|
|
|
'value_type' => 'integer' |
16
|
|
|
|
|
|
|
}, |
17
|
|
|
|
|
|
|
'Contrast', |
18
|
|
|
|
|
|
|
{ |
19
|
|
|
|
|
|
|
'description' => 'Set the initial contrast ', |
20
|
|
|
|
|
|
|
'max' => '1000', |
21
|
|
|
|
|
|
|
'min' => '0', |
22
|
|
|
|
|
|
|
'type' => 'leaf', |
23
|
|
|
|
|
|
|
'upstream_default' => '560', |
24
|
|
|
|
|
|
|
'value_type' => 'integer' |
25
|
|
|
|
|
|
|
}, |
26
|
|
|
|
|
|
|
'Device', |
27
|
|
|
|
|
|
|
{ |
28
|
|
|
|
|
|
|
'description' => 'Select the output device to use ', |
29
|
|
|
|
|
|
|
'type' => 'leaf', |
30
|
|
|
|
|
|
|
'upstream_default' => '/dev/lcd', |
31
|
|
|
|
|
|
|
'value_type' => 'uniline' |
32
|
|
|
|
|
|
|
}, |
33
|
|
|
|
|
|
|
'Model', |
34
|
|
|
|
|
|
|
{ |
35
|
|
|
|
|
|
|
'choice' => [ |
36
|
|
|
|
|
|
|
'533', |
37
|
|
|
|
|
|
|
'631', |
38
|
|
|
|
|
|
|
'633', |
39
|
|
|
|
|
|
|
'635' |
40
|
|
|
|
|
|
|
], |
41
|
|
|
|
|
|
|
'description' => 'Select the LCD model ', |
42
|
|
|
|
|
|
|
'type' => 'leaf', |
43
|
|
|
|
|
|
|
'upstream_default' => '633', |
44
|
|
|
|
|
|
|
'value_type' => 'enum' |
45
|
|
|
|
|
|
|
}, |
46
|
|
|
|
|
|
|
'OffBrightness', |
47
|
|
|
|
|
|
|
{ |
48
|
|
|
|
|
|
|
'description' => 'Set the initial off-brightness |
49
|
|
|
|
|
|
|
This value is used when the display is normally |
50
|
|
|
|
|
|
|
switched off in case LCDd is inactive', |
51
|
|
|
|
|
|
|
'max' => '1000', |
52
|
|
|
|
|
|
|
'min' => '0', |
53
|
|
|
|
|
|
|
'type' => 'leaf', |
54
|
|
|
|
|
|
|
'upstream_default' => '0', |
55
|
|
|
|
|
|
|
'value_type' => 'integer' |
56
|
|
|
|
|
|
|
}, |
57
|
|
|
|
|
|
|
'OldFirmware', |
58
|
|
|
|
|
|
|
{ |
59
|
|
|
|
|
|
|
'description' => 'Very old 633 firmware versions do not support partial screen updates using |
60
|
|
|
|
|
|
|
\'Send Data to LCD\' command (31). For those devices it may be necessary to |
61
|
|
|
|
|
|
|
enable this flag. ', |
62
|
|
|
|
|
|
|
'type' => 'leaf', |
63
|
|
|
|
|
|
|
'upstream_default' => 'no', |
64
|
|
|
|
|
|
|
'value_type' => 'boolean', |
65
|
|
|
|
|
|
|
'write_as' => [ |
66
|
|
|
|
|
|
|
'no', |
67
|
|
|
|
|
|
|
'yes' |
68
|
|
|
|
|
|
|
] |
69
|
|
|
|
|
|
|
}, |
70
|
|
|
|
|
|
|
'Reboot', |
71
|
|
|
|
|
|
|
{ |
72
|
|
|
|
|
|
|
'description' => 'Reinitialize the LCD\'s BIOS on driver start. ', |
73
|
|
|
|
|
|
|
'type' => 'leaf', |
74
|
|
|
|
|
|
|
'upstream_default' => 'no', |
75
|
|
|
|
|
|
|
'value_type' => 'boolean', |
76
|
|
|
|
|
|
|
'write_as' => [ |
77
|
|
|
|
|
|
|
'no', |
78
|
|
|
|
|
|
|
'yes' |
79
|
|
|
|
|
|
|
] |
80
|
|
|
|
|
|
|
}, |
81
|
|
|
|
|
|
|
'Size', |
82
|
|
|
|
|
|
|
{ |
83
|
|
|
|
|
|
|
'description' => 'Override the LCD size known for the selected model. Usually setting this |
84
|
|
|
|
|
|
|
value should not be necessary.', |
85
|
|
|
|
|
|
|
'type' => 'leaf', |
86
|
|
|
|
|
|
|
'upstream_default' => '20x4', |
87
|
|
|
|
|
|
|
'value_type' => 'uniline' |
88
|
|
|
|
|
|
|
}, |
89
|
|
|
|
|
|
|
'Speed', |
90
|
|
|
|
|
|
|
{ |
91
|
|
|
|
|
|
|
'choice' => [ |
92
|
|
|
|
|
|
|
'19200', |
93
|
|
|
|
|
|
|
'115200' |
94
|
|
|
|
|
|
|
], |
95
|
|
|
|
|
|
|
'description' => 'Override the default communication speed known for the selected model. |
96
|
|
|
|
|
|
|
Default value depends on model ', |
97
|
|
|
|
|
|
|
'type' => 'leaf', |
98
|
|
|
|
|
|
|
'value_type' => 'enum' |
99
|
|
|
|
|
|
|
}, |
100
|
|
|
|
|
|
|
'USB', |
101
|
|
|
|
|
|
|
{ |
102
|
|
|
|
|
|
|
'description' => 'Enable the USB flag if the device is connected to an USB port. For |
103
|
|
|
|
|
|
|
serial ports leave it disabled. ', |
104
|
|
|
|
|
|
|
'type' => 'leaf', |
105
|
|
|
|
|
|
|
'upstream_default' => 'no', |
106
|
|
|
|
|
|
|
'value_type' => 'boolean', |
107
|
|
|
|
|
|
|
'write_as' => [ |
108
|
|
|
|
|
|
|
'no', |
109
|
|
|
|
|
|
|
'yes' |
110
|
|
|
|
|
|
|
] |
111
|
|
|
|
|
|
|
} |
112
|
|
|
|
|
|
|
], |
113
|
|
|
|
|
|
|
'name' => 'LCDd::CFontzPacket' |
114
|
|
|
|
|
|
|
} |
115
|
|
|
|
|
|
|
] |
116
|
|
|
|
|
|
|
; |
117
|
|
|
|
|
|
|
|