Diff of /trunk/SPITemperature.devdesc.xml [000000] .. [r4]  Maximize  Restore

Switch to unified view

a b/trunk/SPITemperature.devdesc.xml
1
<?xml version="1.0" encoding="utf-8"?>
2
<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">
3
  <Types namespace="local"></Types>
4
  <Strings namespace="local">
5
    <Language lang="en"></Language>
6
  </Strings>
7
  <Files namespace="local">
8
    <Language lang="en">
9
      <File fileref="local" identifier="Icon">
10
        <LocalFile>SPITemperature.ico</LocalFile>
11
      </File>
12
    </Language>
13
  </Files>
14
  <Device hideInCatalogue="false">
15
    <DeviceIdentification>
16
      <Type>501</Type>
17
      <Id>0003 0003</Id>
18
      <Version>3.5.11.0</Version>
19
    </DeviceIdentification>
20
    <DeviceInfo>
21
      <Name name="local:ModelName">SPI Temperature</Name>
22
      <Description name="local:DeviceDescription">This is a generic driver for a general purpose SPI temperature sensor (e.g. MAX31855, MAX6662, ...). They are all quite similar, but have usually different supported ranges and accuracy. So, this driver reads a 32Bit value in Raw (in case it isn't supported) and converts this with the parameters specified.</Description>
23
      <Vendor name="local:VendorName">3S - Smart Software Solutions GmbH</Vendor>
24
      <OrderNumber>-</OrderNumber>
25
      <Icon name="local:Icon">SPITemperature.ico</Icon>
26
    </DeviceInfo>
27
    <Connector moduleType="500" interface="Raspberry.SPI" role="child" explicit="false" connectorId="1" hostpath="-1">
28
      <InterfaceName name="local:PCI">SPI devices</InterfaceName>
29
      <Slot count="1" allowEmpty="false"></Slot>
30
      <DriverInfo needsBusCycle="false">
31
        <RequiredLib libname="SPI Temperature" vendor="Public Domain" version="1.0.0.0" identifier="SPI Temperature">
32
          <FBInstance basename="$(DeviceName)" fbname="SPITemperature">
33
            <Initialize methodName="Initialize" />
34
            <CyclicCall methodname="AfterReadInputs" task="#buscycletask" whentocall="afterReadInputs" />
35
            <CyclicCall methodname="BeforeWriteOutputs" task="#buscycletask" whentocall="beforeWriteOutputs" />
36
          </FBInstance>
37
        </RequiredLib>
38
      </DriverInfo>
39
      <HostParameterSet>
40
        <Parameter ParameterId="1000" type="std:USINT">
41
          <Attributes channel="none" download="true" functional="false" onlineaccess="read" />
42
          <Default>14</Default>
43
          <Name name="local:BitWidth">Bit Width</Name>
44
          <Description name="local:BitWidthDesc">Bit width of the temperature value</Description>
45
        </Parameter>
46
        <Parameter ParameterId="1001" type="std:REAL">
47
          <Attributes channel="none" download="true" functional="false" onlineaccess="read" />
48
          <Default>0.25</Default>
49
          <Name name="local:Resolution">Resolution</Name>
50
          <Description name="local:ResolutionDesc">Minimal resolution in degrees</Description>
51
        </Parameter>
52
      </HostParameterSet>
53
    </Connector>
54
  </Device>
55
</DeviceDescription>