File Coverage

blib/lib/Config/Model/models/LCDd/sed1520.pl
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1 1     1   7101 use strict;
  1         4  
  1         33  
2 1     1   6 use warnings;
  1         9  
  1         128  
3              
4             return [
5             {
6             'class_description' => 'generated from LCDd.conf',
7             'element' => [
8             'DelayMult',
9             {
10             'description' => 'On fast machines it may be necessary to slow down transfer to the display.
11             If this value is set to zero, delay is disabled. Any value greater than
12             zero slows down each write by one microsecond. ',
13             'max' => '1000',
14             'min' => '0',
15             'type' => 'leaf',
16             'upstream_default' => '1',
17             'value_type' => 'integer'
18             },
19             'HaveInverter',
20             {
21             'description' => 'The original wiring used an inverter to drive the control lines. If you do
22             not use an inverter set haveInverter to no. ',
23             'type' => 'leaf',
24             'upstream_default' => 'yes',
25             'value_type' => 'boolean',
26             'write_as' => [
27             'no',
28             'yes'
29             ]
30             },
31             'InterfaceType',
32             {
33             'choice' => [
34             '68',
35             '80'
36             ],
37             'description' => 'Select the interface type (wiring) for the display. Supported values are
38             68 for 68-style connection (RESET level high) and 80 for 80-style connection
39             (RESET level low). ',
40             'type' => 'leaf',
41             'upstream_default' => '80',
42             'value_type' => 'enum'
43             },
44             'InvertedMapping',
45             {
46             'description' => 'On some displays column data in memory is mapped to segment lines from right
47             to left. This is called inverted mapping (not to be confused with
48             \'haveInverter\' from above). ',
49             'type' => 'leaf',
50             'upstream_default' => 'no',
51             'value_type' => 'boolean',
52             'write_as' => [
53             'no',
54             'yes'
55             ]
56             },
57             'Port',
58             {
59             'default' => '0x378',
60             'description' => 'Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC',
61             'type' => 'leaf',
62             'value_type' => 'uniline'
63             },
64             'UseHardReset',
65             {
66             'description' => 'At least one display is reported (Everbouquet MG1203D) that requires sending
67             three times 0xFF before a reset during initialization.',
68             'type' => 'leaf',
69             'upstream_default' => 'no',
70             'value_type' => 'boolean',
71             'write_as' => [
72             'no',
73             'yes'
74             ]
75             }
76             ],
77             'name' => 'LCDd::sed1520'
78             }
79             ]
80             ;
81