[r2]: / trunk / legacy / Devices / SPIMaster.devdesc.xml  Maximize  Restore  History

Download this file

64 lines (64 with data), 3.4 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
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by Bernhard Reiterer (3S-Smart Software Solutions GmbH) -->
<DeviceDescription xmlns="http://www.3s-software.com/schemas/DeviceDescription-1.0.xsd">
<Device>
<DeviceIdentification>
<Type>497</Type>
<Id>0000 0000</Id>
<Version>1.0.0.0</Version>
</DeviceIdentification>
<DeviceInfo>
<Name name="local:typename">SPI master</Name>
<Description name="local:typedescription">SPI master</Description>
<Vendor name="local:3S">3S - Smart Software Solutions GmbH</Vendor>
<OrderNumber>-</OrderNumber>
</DeviceInfo>
<Connector connectorId="1" moduleType="497" interface="Raspberry.SPIMaster" role="child" hostpath="-1">
<InterfaceName name="local:SPImaster">SPI master</InterfaceName>
<Slot allowEmpty="false" count="1"/>
<DriverInfo needsBusCycle="false">
<RequiredLib libname="Raspberry Pi Peripherals" vendor="3S - Smart Software Solutions GmbH" identifier="deviceLib" placeholderlib="Raspberry Pi Peripherals">
<FBInstance basename="$(DeviceName)" fbname="spiMaster">
<Initialize methodName="Initialize"/>
</FBInstance>
</RequiredLib>
</DriverInfo>
<HostParameterSet>
<Parameter ParameterId="1" type="std:BOOL">
<Attributes offlineaccess="none" download="true" functional="false"/>
<Default>FALSE</Default>
<Name name="local:HiddenPointerToOwnInstance">HiddenPointerToOwnInstance</Name>
<Description name="local:HiddenPointerToOwnInstance">HiddenPointerToOwnInstance</Description>
</Parameter>
<Parameter ParameterId="10" type="std:STRING">
<Attributes channel="none" download="true" functional="false" onlineaccess="read"/>
<Default>'/dev/spidev0.0'</Default>
<Name name="local:Id393218">SPI port</Name>
<Description name="local:Id393218.Desc">file path of the SPI port</Description>
</Parameter>
<Parameter ParameterId="11" type="std:DINT">
<Attributes channel="none" download="true" functional="false" onlineaccess="read"/>
<Default>0</Default>
<Name name="local:Id393218">_diMode</Name>
<Description name="local:Id393218.Desc">SPI mode</Description>
</Parameter>
<Parameter ParameterId="12" type="std:DINT">
<Attributes channel="none" download="true" functional="false" onlineaccess="read"/>
<Default>0</Default>
<Name name="local:Id393218">_diBitsPerWord</Name>
<Description name="local:Id393218.Desc">SPI bits per word</Description>
</Parameter>
<Parameter ParameterId="13" type="std:DINT">
<Attributes channel="none" download="true" functional="false" onlineaccess="read"/>
<Default>0</Default>
<Name name="local:Id393218">_diMaxSpeed</Name>
<Description name="local:Id393218.Desc">SPI max speed setting [Hz]</Description>
</Parameter>
</HostParameterSet>
</Connector>
<Connector connectorId="2" moduleType="501" interface="Raspberry.SPI" role="parent" hostpath="1" initialStatusFlag="241">
<InterfaceName name="local:SPIdevices">SPI devices</InterfaceName>
<Var />
</Connector>
</Device>
</DeviceDescription>