﻿<?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>0003 FFF1</Id>
      <Version>1.0.0.0</Version>
    </DeviceIdentification>
    <DeviceInfo>
      <Name name="local:typename">SPI master (test version)</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>
      <AdditionalInterface interface="Common.PCI" />
      <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>