line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
6483
|
use strict; |
|
1
|
|
|
|
|
5
|
|
|
1
|
|
|
|
|
31
|
|
2
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
90
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
return [ |
5
|
|
|
|
|
|
|
{ |
6
|
|
|
|
|
|
|
'class_description' => 'generated from LCDd.conf', |
7
|
|
|
|
|
|
|
'element' => [ |
8
|
|
|
|
|
|
|
'Device', |
9
|
|
|
|
|
|
|
{ |
10
|
|
|
|
|
|
|
'description' => 'Select the output device to use ', |
11
|
|
|
|
|
|
|
'type' => 'leaf', |
12
|
|
|
|
|
|
|
'upstream_default' => '/dev/cuaU0', |
13
|
|
|
|
|
|
|
'value_type' => 'uniline' |
14
|
|
|
|
|
|
|
}, |
15
|
|
|
|
|
|
|
'Size', |
16
|
|
|
|
|
|
|
{ |
17
|
|
|
|
|
|
|
'description' => 'Specifies the size of the LCD. If this driver is loaded as a secondary driver |
18
|
|
|
|
|
|
|
it always adopts to the size of the primary driver. If loaded as the only |
19
|
|
|
|
|
|
|
(or primary) driver, the size can be set. ', |
20
|
|
|
|
|
|
|
'type' => 'leaf', |
21
|
|
|
|
|
|
|
'upstream_default' => '40x4', |
22
|
|
|
|
|
|
|
'value_type' => 'uniline' |
23
|
|
|
|
|
|
|
}, |
24
|
|
|
|
|
|
|
'Speed', |
25
|
|
|
|
|
|
|
{ |
26
|
|
|
|
|
|
|
'description' => 'Serial port baudrate ', |
27
|
|
|
|
|
|
|
'type' => 'leaf', |
28
|
|
|
|
|
|
|
'upstream_default' => '9600', |
29
|
|
|
|
|
|
|
'value_type' => 'uniline' |
30
|
|
|
|
|
|
|
}, |
31
|
|
|
|
|
|
|
'UpdateRate', |
32
|
|
|
|
|
|
|
{ |
33
|
|
|
|
|
|
|
'description' => 'How often to dump the LCD contents out the port, in Hertz (times per second) |
34
|
|
|
|
|
|
|
1 = once per second, 4 is 4 times per second, 0.1 is once every 10 seconds.', |
35
|
|
|
|
|
|
|
'max' => '10', |
36
|
|
|
|
|
|
|
'min' => '0.0005', |
37
|
|
|
|
|
|
|
'type' => 'leaf', |
38
|
|
|
|
|
|
|
'upstream_default' => '1', |
39
|
|
|
|
|
|
|
'value_type' => 'number' |
40
|
|
|
|
|
|
|
} |
41
|
|
|
|
|
|
|
], |
42
|
|
|
|
|
|
|
'name' => 'LCDd::rawserial' |
43
|
|
|
|
|
|
|
} |
44
|
|
|
|
|
|
|
] |
45
|
|
|
|
|
|
|
; |
46
|
|
|
|
|
|
|
|