a | b/trunk/mcp3008/Devices/MCP3008.devdesc.xml | ||
---|---|---|---|
1 | <?xml version="1.0" encoding="utf-8"?> |
||
2 | <!--created with CoDeSys 3.0 (http://www.3s-software.com) by DeviceDescriptionBuilder (3S-Smart Software Solutions GmbH)--> |
||
3 | <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"> |
||
4 | <Types namespace="local"> |
||
5 | </Types> |
||
6 | <Strings namespace="local"> |
||
7 | <Language lang="en"> |
||
8 | </Language> |
||
9 | </Strings> |
||
10 | <Device hideInCatalogue="false"> |
||
11 | <DeviceIdentification> |
||
12 | <Type>501</Type> |
||
13 | <Id>0004 0004</Id> |
||
14 | <Version>1.0.0.0</Version> |
||
15 | </DeviceIdentification> |
||
16 | <DeviceInfo> |
||
17 | <Name name="local:ModelName">MCP3008</Name> |
||
18 | <Description name="local:DeviceDescription">Forge I/O driver for the MCP3008</Description> |
||
19 | <Vendor name="local:VendorName">Open Source</Vendor> |
||
20 | <OrderNumber>-</OrderNumber> |
||
21 | </DeviceInfo> |
||
22 | <Connector moduleType="500" interface="Raspberry.SPI" role="child" explicit="false" connectorId="1" hostpath="-1"> |
||
23 | <InterfaceName name="local:PCI">SPI devices</InterfaceName> |
||
24 | <Slot count="1" allowEmpty="false"> |
||
25 | </Slot> |
||
26 | <DriverInfo needsBusCycle="true"> |
||
27 | <RequiredLib libname="Linux SPI MCP3008" vendor="Open Source" version="1.0.0.0" identifier="deviceLib"> |
||
28 | <FBInstance basename="$(DeviceName)" fbname="IoDrvMCP3008"> |
||
29 | <Initialize methodName="Initialize" /> |
||
30 | </FBInstance> |
||
31 | </RequiredLib> |
||
32 | </DriverInfo> |
||
33 | <HostParameterSet> |
||
34 | <Parameter ParameterId="1000" type="std:UINT"> |
||
35 | <Attributes channel="input" /> |
||
36 | <Name name="In0">In0</Name> |
||
37 | </Parameter> |
||
38 | <Parameter ParameterId="1001" type="std:UINT"> |
||
39 | <Attributes channel="input" /> |
||
40 | <Name name="In1">In1</Name> |
||
41 | </Parameter> |
||
42 | <Parameter ParameterId="1002" type="std:UINT"> |
||
43 | <Attributes channel="input" /> |
||
44 | <Name name="In2">In2</Name> |
||
45 | </Parameter> |
||
46 | <Parameter ParameterId="1003" type="std:UINT"> |
||
47 | <Attributes channel="input" /> |
||
48 | <Name name="In3">In3</Name> |
||
49 | </Parameter> |
||
50 | <Parameter ParameterId="1004" type="std:UINT"> |
||
51 | <Attributes channel="input" /> |
||
52 | <Name name="In4">In4</Name> |
||
53 | </Parameter> |
||
54 | <Parameter ParameterId="1005" type="std:UINT"> |
||
55 | <Attributes channel="input" /> |
||
56 | <Name name="In5">In5</Name> |
||
57 | </Parameter> |
||
58 | <Parameter ParameterId="1006" type="std:UINT"> |
||
59 | <Attributes channel="input" /> |
||
60 | <Name name="In6">In6</Name> |
||
61 | </Parameter> |
||
62 | <Parameter ParameterId="1007" type="std:UINT"> |
||
63 | <Attributes channel="input" /> |
||
64 | <Name name="In7">In7</Name> |
||
65 | </Parameter> |
||
66 | </HostParameterSet> |
||
67 | </Connector> |
||
68 | </Device> |
||
69 | </DeviceDescription> |