[r4]: / trunk / mcp3008 / Devices / MCP3008.devdesc.xml  Maximize  Restore  History

Download this file

69 lines (69 with data), 3.0 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
<?xml version="1.0" encoding="utf-8"?>
<!--created with CoDeSys 3.0 (http://www.3s-software.com) by DeviceDescriptionBuilder (3S-Smart Software Solutions GmbH)-->
<DeviceDescription xmlns="http://www.3s-software.com/schemas/DeviceDescription-1.0.xsd" xmlns:ts="http://www.3s-software.com/schemas/TargetSettings-0.1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Types namespace="local">
  </Types>
  <Strings namespace="local">
    <Language lang="en">
    </Language>
  </Strings>
  <Device hideInCatalogue="false">
    <DeviceIdentification>
      <Type>501</Type>
      <Id>0004 0004</Id>
      <Version>1.0.0.0</Version>
    </DeviceIdentification>
    <DeviceInfo>
      <Name name="local:ModelName">MCP3008</Name>
      <Description name="local:DeviceDescription">Forge I/O driver for the MCP3008</Description>
      <Vendor name="local:VendorName">Open Source</Vendor>
      <OrderNumber>-</OrderNumber>
    </DeviceInfo>
    <Connector moduleType="500" interface="Raspberry.SPI" role="child" explicit="false" connectorId="1" hostpath="-1">
      <InterfaceName name="local:PCI">SPI devices</InterfaceName>
      <Slot count="1" allowEmpty="false">
      </Slot> 
      <DriverInfo needsBusCycle="true">
        <RequiredLib libname="Linux SPI MCP3008" vendor="Open Source" version="1.0.0.0" identifier="deviceLib">
          <FBInstance basename="$(DeviceName)" fbname="IoDrvMCP3008">
            <Initialize methodName="Initialize" />
          </FBInstance>
        </RequiredLib>
      </DriverInfo>
      <HostParameterSet>
        <Parameter ParameterId="1000" type="std:UINT">
            <Attributes channel="input" />
            <Name name="In0">In0</Name>
        </Parameter>
        <Parameter ParameterId="1001" type="std:UINT">
            <Attributes channel="input" />
            <Name name="In1">In1</Name>
        </Parameter>
        <Parameter ParameterId="1002" type="std:UINT">
            <Attributes channel="input" />
            <Name name="In2">In2</Name>
        </Parameter>
        <Parameter ParameterId="1003" type="std:UINT">
            <Attributes channel="input" />
            <Name name="In3">In3</Name>
        </Parameter>
        <Parameter ParameterId="1004" type="std:UINT">
            <Attributes channel="input" />
            <Name name="In4">In4</Name>
        </Parameter>
        <Parameter ParameterId="1005" type="std:UINT">
            <Attributes channel="input" />
            <Name name="In5">In5</Name>
        </Parameter>
        <Parameter ParameterId="1006" type="std:UINT">
            <Attributes channel="input" />
            <Name name="In6">In6</Name>
        </Parameter>
        <Parameter ParameterId="1007" type="std:UINT">
            <Attributes channel="input" />
            <Name name="In7">In7</Name>
        </Parameter>
        </HostParameterSet>
    </Connector>
  </Device>
</DeviceDescription>