| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
1
|
|
|
1
|
|
6704
|
use strict; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
35
|
|
|
2
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
355
|
|
|
3
|
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
return [ |
|
5
|
|
|
|
|
|
|
{ |
|
6
|
|
|
|
|
|
|
'class_description' => 'generated from LCDd.conf', |
|
7
|
|
|
|
|
|
|
'element' => [ |
|
8
|
|
|
|
|
|
|
'Backlight', |
|
9
|
|
|
|
|
|
|
{ |
|
10
|
|
|
|
|
|
|
'default' => 'no', |
|
11
|
|
|
|
|
|
|
'description' => 'If you have a switchable backlight.', |
|
12
|
|
|
|
|
|
|
'type' => 'leaf', |
|
13
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
14
|
|
|
|
|
|
|
}, |
|
15
|
|
|
|
|
|
|
'Brightness', |
|
16
|
|
|
|
|
|
|
{ |
|
17
|
|
|
|
|
|
|
'description' => 'Set brightness of the backlight (lcd2usb and usb4all): |
|
18
|
|
|
|
|
|
|
Brightness is the brightness while the backlight is set to \'on\'.', |
|
19
|
|
|
|
|
|
|
'max' => '1000', |
|
20
|
|
|
|
|
|
|
'min' => '0', |
|
21
|
|
|
|
|
|
|
'type' => 'leaf', |
|
22
|
|
|
|
|
|
|
'upstream_default' => '800', |
|
23
|
|
|
|
|
|
|
'value_type' => 'integer' |
|
24
|
|
|
|
|
|
|
}, |
|
25
|
|
|
|
|
|
|
'CharMap', |
|
26
|
|
|
|
|
|
|
{ |
|
27
|
|
|
|
|
|
|
'choice' => [ |
|
28
|
|
|
|
|
|
|
'hd44780_default', |
|
29
|
|
|
|
|
|
|
'hd44780_euro', |
|
30
|
|
|
|
|
|
|
'ea_ks0073', |
|
31
|
|
|
|
|
|
|
'sed1278f_0b', |
|
32
|
|
|
|
|
|
|
'hd44780_koi8_r', |
|
33
|
|
|
|
|
|
|
'hd44780_cp1251', |
|
34
|
|
|
|
|
|
|
'hd44780_8859_5', |
|
35
|
|
|
|
|
|
|
'upd16314' |
|
36
|
|
|
|
|
|
|
], |
|
37
|
|
|
|
|
|
|
'description' => 'Character map to to map ISO-8859-1 to the LCD\'s character set |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
(hd44780_koi8_r, hd44780_cp1251, hd44780_8859_5 and upd16314 are possible if |
|
40
|
|
|
|
|
|
|
compiled with additional charmaps)', |
|
41
|
|
|
|
|
|
|
'type' => 'leaf', |
|
42
|
|
|
|
|
|
|
'upstream_default' => 'hd44780_default', |
|
43
|
|
|
|
|
|
|
'value_type' => 'enum' |
|
44
|
|
|
|
|
|
|
}, |
|
45
|
|
|
|
|
|
|
'ConnectionType', |
|
46
|
|
|
|
|
|
|
{ |
|
47
|
|
|
|
|
|
|
'default' => '4bit', |
|
48
|
|
|
|
|
|
|
'description' => 'Select what type of connection. See documentation for available types.', |
|
49
|
|
|
|
|
|
|
'type' => 'leaf', |
|
50
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
51
|
|
|
|
|
|
|
}, |
|
52
|
|
|
|
|
|
|
'Contrast', |
|
53
|
|
|
|
|
|
|
{ |
|
54
|
|
|
|
|
|
|
'description' => 'Set the initial contrast (bwctusb, lcd2usb, and usb4all)', |
|
55
|
|
|
|
|
|
|
'max' => '1000', |
|
56
|
|
|
|
|
|
|
'min' => '0', |
|
57
|
|
|
|
|
|
|
'type' => 'leaf', |
|
58
|
|
|
|
|
|
|
'upstream_default' => '800', |
|
59
|
|
|
|
|
|
|
'value_type' => 'integer' |
|
60
|
|
|
|
|
|
|
}, |
|
61
|
|
|
|
|
|
|
'DelayBus', |
|
62
|
|
|
|
|
|
|
{ |
|
63
|
|
|
|
|
|
|
'default' => 'true', |
|
64
|
|
|
|
|
|
|
'description' => 'You can reduce the inserted delays by setting this to false. |
|
65
|
|
|
|
|
|
|
On fast PCs it is possible your LCD does not respond correctly. |
|
66
|
|
|
|
|
|
|
Default: true.', |
|
67
|
|
|
|
|
|
|
'type' => 'leaf', |
|
68
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
69
|
|
|
|
|
|
|
}, |
|
70
|
|
|
|
|
|
|
'DelayMult', |
|
71
|
|
|
|
|
|
|
{ |
|
72
|
|
|
|
|
|
|
'description' => 'If your display is slow and cannot keep up with the flow of data from |
|
73
|
|
|
|
|
|
|
LCDd, garbage can appear on the LCDd. Set this delay factor to 2 or 4 |
|
74
|
|
|
|
|
|
|
to increase the delays. Default: 1.', |
|
75
|
|
|
|
|
|
|
'type' => 'leaf', |
|
76
|
|
|
|
|
|
|
'upstream_default' => '2', |
|
77
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
78
|
|
|
|
|
|
|
}, |
|
79
|
|
|
|
|
|
|
'Device', |
|
80
|
|
|
|
|
|
|
{ |
|
81
|
|
|
|
|
|
|
'description' => 'Device of the serial, I2C, or SPI interface ', |
|
82
|
|
|
|
|
|
|
'type' => 'leaf', |
|
83
|
|
|
|
|
|
|
'upstream_default' => '/dev/lcd', |
|
84
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
85
|
|
|
|
|
|
|
}, |
|
86
|
|
|
|
|
|
|
'ExtendedMode', |
|
87
|
|
|
|
|
|
|
{ |
|
88
|
|
|
|
|
|
|
'description' => 'If you have an HD66712, a KS0073 or another controller with \'extended mode\', |
|
89
|
|
|
|
|
|
|
set this flag to get into 4-line mode. On displays with just two lines, do |
|
90
|
|
|
|
|
|
|
not set this flag. |
|
91
|
|
|
|
|
|
|
As an additional restriction, controllers with and without extended mode |
|
92
|
|
|
|
|
|
|
AND 4 lines cannot be mixed for those connection types that support more |
|
93
|
|
|
|
|
|
|
than one display!', |
|
94
|
|
|
|
|
|
|
'type' => 'leaf', |
|
95
|
|
|
|
|
|
|
'upstream_default' => 'yes', |
|
96
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
97
|
|
|
|
|
|
|
}, |
|
98
|
|
|
|
|
|
|
'KeepAliveDisplay', |
|
99
|
|
|
|
|
|
|
{ |
|
100
|
|
|
|
|
|
|
'description' => 'Some displays (e.g. vdr-wakeup) need a message from the driver to that it |
|
101
|
|
|
|
|
|
|
is still alive. When set to a value bigger then null the character in the |
|
102
|
|
|
|
|
|
|
upper left corner is updated every <KeepAliveDisplay> seconds. Default: 0.', |
|
103
|
|
|
|
|
|
|
'type' => 'leaf', |
|
104
|
|
|
|
|
|
|
'upstream_default' => '0', |
|
105
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
106
|
|
|
|
|
|
|
}, |
|
107
|
|
|
|
|
|
|
'KeyMatrix_4_1', |
|
108
|
|
|
|
|
|
|
{ |
|
109
|
|
|
|
|
|
|
'default' => 'Enter', |
|
110
|
|
|
|
|
|
|
'description' => 'If you have a keypad you can assign keystrings to the keys. |
|
111
|
|
|
|
|
|
|
See documentation for used terms and how to wire it. |
|
112
|
|
|
|
|
|
|
For example to give directly connected key 4 the string "Enter", use: |
|
113
|
|
|
|
|
|
|
KeyDirect_4=Enter |
|
114
|
|
|
|
|
|
|
For matrix keys use the X and Y coordinates of the key: |
|
115
|
|
|
|
|
|
|
KeyMatrix_1_3=Enter', |
|
116
|
|
|
|
|
|
|
'type' => 'leaf', |
|
117
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
118
|
|
|
|
|
|
|
}, |
|
119
|
|
|
|
|
|
|
'KeyMatrix_4_2', |
|
120
|
|
|
|
|
|
|
{ |
|
121
|
|
|
|
|
|
|
'default' => 'Up', |
|
122
|
|
|
|
|
|
|
'type' => 'leaf', |
|
123
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
124
|
|
|
|
|
|
|
}, |
|
125
|
|
|
|
|
|
|
'KeyMatrix_4_3', |
|
126
|
|
|
|
|
|
|
{ |
|
127
|
|
|
|
|
|
|
'default' => 'Down', |
|
128
|
|
|
|
|
|
|
'type' => 'leaf', |
|
129
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
130
|
|
|
|
|
|
|
}, |
|
131
|
|
|
|
|
|
|
'KeyMatrix_4_4', |
|
132
|
|
|
|
|
|
|
{ |
|
133
|
|
|
|
|
|
|
'default' => 'Escape', |
|
134
|
|
|
|
|
|
|
'type' => 'leaf', |
|
135
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
136
|
|
|
|
|
|
|
}, |
|
137
|
|
|
|
|
|
|
'Keypad', |
|
138
|
|
|
|
|
|
|
{ |
|
139
|
|
|
|
|
|
|
'default' => 'no', |
|
140
|
|
|
|
|
|
|
'description' => 'If you have a keypad connected. |
|
141
|
|
|
|
|
|
|
You may also need to configure the keypad layout further on in this file.', |
|
142
|
|
|
|
|
|
|
'type' => 'leaf', |
|
143
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
144
|
|
|
|
|
|
|
}, |
|
145
|
|
|
|
|
|
|
'Lastline', |
|
146
|
|
|
|
|
|
|
{ |
|
147
|
|
|
|
|
|
|
'description' => 'Specifies if the last line is pixel addressable (yes) or it controls an |
|
148
|
|
|
|
|
|
|
underline effect (no). ', |
|
149
|
|
|
|
|
|
|
'type' => 'leaf', |
|
150
|
|
|
|
|
|
|
'upstream_default' => 'yes', |
|
151
|
|
|
|
|
|
|
'value_type' => 'boolean', |
|
152
|
|
|
|
|
|
|
'write_as' => [ |
|
153
|
|
|
|
|
|
|
'no', |
|
154
|
|
|
|
|
|
|
'yes' |
|
155
|
|
|
|
|
|
|
] |
|
156
|
|
|
|
|
|
|
}, |
|
157
|
|
|
|
|
|
|
'LineAddress', |
|
158
|
|
|
|
|
|
|
{ |
|
159
|
|
|
|
|
|
|
'description' => 'In extended mode, on some controllers like the ST7036 (in 3 line mode) |
|
160
|
|
|
|
|
|
|
the next line in DDRAM won\'t start 0x20 higher. ', |
|
161
|
|
|
|
|
|
|
'type' => 'leaf', |
|
162
|
|
|
|
|
|
|
'upstream_default' => '0x20', |
|
163
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
164
|
|
|
|
|
|
|
}, |
|
165
|
|
|
|
|
|
|
'OffBrightness', |
|
166
|
|
|
|
|
|
|
{ |
|
167
|
|
|
|
|
|
|
'description' => 'OffBrightness is the brightness while the backlight is set to \'off\'.', |
|
168
|
|
|
|
|
|
|
'max' => '1000', |
|
169
|
|
|
|
|
|
|
'min' => '0', |
|
170
|
|
|
|
|
|
|
'type' => 'leaf', |
|
171
|
|
|
|
|
|
|
'upstream_default' => '300', |
|
172
|
|
|
|
|
|
|
'value_type' => 'integer' |
|
173
|
|
|
|
|
|
|
}, |
|
174
|
|
|
|
|
|
|
'OutputPort', |
|
175
|
|
|
|
|
|
|
{ |
|
176
|
|
|
|
|
|
|
'default' => 'no', |
|
177
|
|
|
|
|
|
|
'description' => 'If you have the additional output port ("bargraph") and you want to |
|
178
|
|
|
|
|
|
|
be able to control it with the lcdproc OUTPUT command', |
|
179
|
|
|
|
|
|
|
'type' => 'leaf', |
|
180
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
181
|
|
|
|
|
|
|
}, |
|
182
|
|
|
|
|
|
|
'Port', |
|
183
|
|
|
|
|
|
|
{ |
|
184
|
|
|
|
|
|
|
'default' => '0x378', |
|
185
|
|
|
|
|
|
|
'description' => 'I/O address of the LPT port. Usual values are: 0x278, 0x378 and 0x3BC. |
|
186
|
|
|
|
|
|
|
For I2C connections this sets the slave address (usually 0x20).', |
|
187
|
|
|
|
|
|
|
'type' => 'leaf', |
|
188
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
189
|
|
|
|
|
|
|
}, |
|
190
|
|
|
|
|
|
|
'RefreshDisplay', |
|
191
|
|
|
|
|
|
|
{ |
|
192
|
|
|
|
|
|
|
'description' => 'If you experience occasional garbage on your display you can use this |
|
193
|
|
|
|
|
|
|
option as workaround. If set to a value bigger than null it forces a |
|
194
|
|
|
|
|
|
|
full screen refresh <RefreshDiplay> seconds. Default: 0.', |
|
195
|
|
|
|
|
|
|
'type' => 'leaf', |
|
196
|
|
|
|
|
|
|
'upstream_default' => '5', |
|
197
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
198
|
|
|
|
|
|
|
}, |
|
199
|
|
|
|
|
|
|
'Size', |
|
200
|
|
|
|
|
|
|
{ |
|
201
|
|
|
|
|
|
|
'default' => '20x4', |
|
202
|
|
|
|
|
|
|
'description' => 'Specifies the size of the LCD. |
|
203
|
|
|
|
|
|
|
In case of multiple combined displays, this should be the total size.', |
|
204
|
|
|
|
|
|
|
'type' => 'leaf', |
|
205
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
206
|
|
|
|
|
|
|
}, |
|
207
|
|
|
|
|
|
|
'Speed', |
|
208
|
|
|
|
|
|
|
{ |
|
209
|
|
|
|
|
|
|
'default' => '0', |
|
210
|
|
|
|
|
|
|
'description' => 'Bitrate of the serial port (0 for interface default)', |
|
211
|
|
|
|
|
|
|
'type' => 'leaf', |
|
212
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
213
|
|
|
|
|
|
|
}, |
|
214
|
|
|
|
|
|
|
'vspan', |
|
215
|
|
|
|
|
|
|
{ |
|
216
|
|
|
|
|
|
|
'description' => 'For multiple combined displays: how many lines does each display have. |
|
217
|
|
|
|
|
|
|
Vspan=2,2 means both displays have 2 lines.', |
|
218
|
|
|
|
|
|
|
'type' => 'leaf', |
|
219
|
|
|
|
|
|
|
'upstream_default' => '2,2', |
|
220
|
|
|
|
|
|
|
'value_type' => 'uniline' |
|
221
|
|
|
|
|
|
|
} |
|
222
|
|
|
|
|
|
|
], |
|
223
|
|
|
|
|
|
|
'name' => 'LCDd::hd44780' |
|
224
|
|
|
|
|
|
|
} |
|
225
|
|
|
|
|
|
|
] |
|
226
|
|
|
|
|
|
|
; |
|
227
|
|
|
|
|
|
|
|