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 | <?xml version="1.0" encoding="utf-8"?> <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> <Files namespace="local"> <Language lang="en"> <File fileref="local" identifier="ImageFile"> <LocalFile>MCP7941xRTC.png</LocalFile> </File> <File fileref="local" identifier="Icon"> <LocalFile>icon.ico</LocalFile> </File> </Language> </Files> <Device hideInCatalogue="false"> <DeviceIdentification> <Type>500</Type> <Id>0003 0009</Id> <Version>0.0.2.1</Version> </DeviceIdentification> <DeviceInfo> <Name name="local:ModelName">MCP7941x</Name> <Description name="local:DeviceDescription">Library containing support for storing 64 bytes of retain data in MCP7941x RTC chip</Description> <Vendor name="local:VendorName">Open Source</Vendor> <OrderNumber>-</OrderNumber> <Image name="local:ImageFile">MCP7941xRTC.png</Image> <Icon name="local:Icon">icon.ico</Icon> </DeviceInfo> <Connector moduleType="500" interface="Raspberry.I2C" role="child" explicit="false" connectorId="1" hostpath="-1"> <InterfaceName name="local:I2C">I2C devices</InterfaceName> <Slot count="1" allowEmpty="false"></Slot> <DriverInfo needsBusCycle="false"> <RequiredLib libname="MCP7941x" vendor="Open Source" version="0.0.2.1" identifier="MCP7941x"> <FBInstance basename="$(DeviceName)" fbname="MCP7941x"> <Initialize methodName="Initialize" /> <CyclicCall methodname="AfterReadInputs" task="#buscycletask" whentocall="afterReadInputs" /> <CyclicCall methodname="BeforeWriteOutputs" task="#buscycletask" whentocall="beforeWriteOutputs" /> </FBInstance> </RequiredLib> </DriverInfo> <HostParameterSet> <Parameter ParameterId="1000" type="std:USINT"> <Attributes channel="none" download="true" functional="false" onlineaccess="read" /> <Default>16#6F</Default> <Name name="local:I2CAddress">I2C Address</Name> <Description name="local:I2CAddressDesc">Address of the device</Description> </Parameter> </HostParameterSet> </Connector> </Device> </DeviceDescription> |