<?xml version='1.0'?>
<datamodel version="3.0" 
           xmlns="http://www.tresos.de/_projects/DataModel2/08/root.xsd" 
           xmlns:a="http://www.tresos.de/_projects/DataModel2/08/attribute.xsd" 
           xmlns:v="http://www.tresos.de/_projects/DataModel2/06/schema.xsd" 
           xmlns:d="http://www.tresos.de/_projects/DataModel2/06/data.xsd">
<!--
*   @file    Resource.xml
*   @version 1.0.0
*
*   @brief   AUTOSAR Resource - Tresos Studio plugin schema file
*   @details This file contains the schema configuration for and Resource Tresos Studio plugin.
-->
<!--
====================================================================================================
*   Project              : AUTOSAR 4.3 MCAL
*   Platform             : PA
*   Peripheral           : MPC5777C
*   Dependencies         : none
*
*   Autosar Version      : 4.3.1
*   Autosar Revision     : ASR_REL_4_3_REV_0001
*   Autosar Conf.Variant :
*   SW Version           : 1.0.0
*   Build Version        : MPC5777C_MCAL_1_0_0_RTM_ASR_REL_4_3_REV_0001_20190315

*   (c) Copyright 2006-2016 Freescale Semiconductor, Inc. 
*       Copyright 2017-2019 NXP
*   All Rights Reserved.
====================================================================================================
====================================================================================================
====================================================================================================
-->           
  <d:ctr type="AUTOSAR" factory="autosar" 
         xmlns:ad="http://www.tresos.de/_projects/DataModel2/08/admindata.xsd" 
         xmlns:icc="http://www.tresos.de/_projects/DataModel2/08/implconfigclass.xsd" 
         xmlns:mt="http://www.tresos.de/_projects/DataModel2/11/multitest.xsd" >
    <d:lst type="TOP-LEVEL-PACKAGES">
      <d:ctr name="TS_T2D41M10I0R0" type="AR-PACKAGE">
            <a:a name="UUID" value="ECUC:4328652d-fe6e-45d0-b071-6f06cdce8cd5"/>
        <d:lst type="ELEMENTS">
          <d:chc name="Resource" type="AR-ELEMENT" value="MODULE-DEF">
            <v:ctr type="MODULE-DEF">
            <a:a name="RELEASE" value="asc:4.3"/>
              <a:a name="ADMIN-DATA" type="ADMIN-DATA">
                <ad:ADMIN-DATA>
                  <ad:DOC-REVISIONS>
                    <ad:DOC-REVISION>
                      <ad:REVISION-LABEL>4.1.0</ad:REVISION-LABEL>
                      <ad:ISSUED-BY>AUTOSAR</ad:ISSUED-BY>
                      <ad:DATE>2010-12-03</ad:DATE>
                    </ad:DOC-REVISION>
                  </ad:DOC-REVISIONS>
                </ad:ADMIN-DATA>
              </a:a>
              <a:a name="DESC" 
                   value="EN: Configuration of Resource module."/>
              <a:a name="LOWER-MULTIPLICITY" value="1"/>
              <a:a name="UPPER-MULTIPLICITY" value="1"/>
              <a:a name="UUID" value="ECUC:5fbbc574-d285-4552-bafa-918971e9da76"/>
              <!--  @implements CommonPublishedInformation_Object  -->
              <v:ctr name="CommonPublishedInformation" type="IDENTIFIABLE">
                  <a:a name="DESC">
                      <a:v>
                          <![CDATA[EN:
                              <html><p>Common container, aggregated by all modules. It contains published information about vendor and versions.</p></html>
                          ]]>
                      </a:v>
                  </a:a>
                  <a:a name="UUID" value="ECUC:f69875a9-25e7-4b86-8228-6d24dce50d2d"/>
                  
                  <v:var name="ArReleaseMajorVersion" type="INTEGER_LABEL">
                      <a:a name="LABEL" value="AUTOSAR Major Version"/>
                      <a:a name="DESC">
                          <a:v>
                              <![CDATA[EN: 
                                  <html><p>Major version number of AUTOSAR specification on which the appropriate implementation is based on.</p></html>
                              ]]>
                          </a:v>
                      </a:a>              
                      <a:a name="IMPLEMENTATIONCONFIGCLASS" type="IMPLEMENTATIONCONFIGCLASS">
                                            <icc:v vclass="PreCompile">VariantPreCompile</icc:v>
                                      </a:a>
                      <a:a name="ORIGIN" value="NXP"/>
                      <a:a name="SYMBOLICNAMEVALUE" value="false"/>
                      <a:a name="UUID" value="ECUC:a0e69731-e2d5-48f8-937c-9dffc4b569a1"/>
                      <a:da name="DEFAULT" value="4"/>                       
                      <a:da name="INVALID" type="Range">
                          <a:tst expr="&gt;=4"/>
                          <a:tst expr="&lt;=4"/>
                      </a:da>                    
                  </v:var>
                  
                  <v:var name="ArReleaseMinorVersion" type="INTEGER_LABEL">
                      <a:a name="LABEL" value="AUTOSAR Minor Version"/>
                      <a:a name="DESC">
                          <a:v>
                              <![CDATA[EN: 
                                  <html><p>Minor version number of AUTOSAR specification on which the appropriate implementation is based on.</p></html>
                              ]]>
                          </a:v>
                      </a:a>              
                      <a:a name="IMPLEMENTATIONCONFIGCLASS" type="IMPLEMENTATIONCONFIGCLASS">
                                            <icc:v vclass="PreCompile">VariantPreCompile</icc:v>
                                      </a:a>
                      <a:a name="ORIGIN" value="NXP"/>
                      <a:a name="SYMBOLICNAMEVALUE" value="false"/>
                      <a:a name="UUID" value="ECUC:eac6fea9-7eeb-4997-8e20-8a9210b19dd4"/>
                      <a:da name="DEFAULT" value="3"/>                       
                      <a:da name="INVALID" type="Range">
                          <a:tst expr="&gt;=3"/>
                          <a:tst expr="&lt;=3"/>
                      </a:da>                    
                  </v:var>
                  
                  <v:var name="ArReleaseRevisionVersion" type="INTEGER_LABEL">
                      <a:a name="LABEL" value="AUTOSAR Release Revision Version"/>
                      <a:a name="DESC">
                          <a:v>
                              <![CDATA[EN: 
                                  <html><p>Revision version number of AUTOSAR specification on which the appropriate implementation is based on.</p></html>
                              ]]>
                          </a:v>
                      </a:a>              
                      <a:a name="IMPLEMENTATIONCONFIGCLASS" type="IMPLEMENTATIONCONFIGCLASS">
                                            <icc:v vclass="PreCompile">VariantPreCompile</icc:v>
                                      </a:a>
                      <a:a name="ORIGIN" value="NXP"/>
                      <a:a name="SYMBOLICNAMEVALUE" value="false"/>
                      <a:a name="UUID" value="ECUC:66698960-03c6-499d-af95-9eecc46021ca"/>
                      <a:da name="DEFAULT" value="1"/>                       
                      <a:da name="INVALID" type="Range">
                          <a:tst expr="&gt;=1"/>
                          <a:tst expr="&lt;=1"/>
                      </a:da>                    
                  </v:var>
                  
                  <v:var name="ModuleId" type="INTEGER_LABEL">
                      <a:a name="LABEL" value="Module Id"/>
                      <a:a name="DESC">
                          <a:v>
                              <![CDATA[EN: 
                                  <html><p>Module ID of this module from Module List.</p></html>
                              ]]>
                          </a:v>
                      </a:a>              
                      <a:a name="IMPLEMENTATIONCONFIGCLASS" type="IMPLEMENTATIONCONFIGCLASS">
                                            <icc:v vclass="PreCompile">VariantPreCompile</icc:v>
                                      </a:a>
                      <a:a name="ORIGIN" value="NXP"/>
                      <a:a name="SYMBOLICNAMEVALUE" value="false"/>
                      <a:a name="UUID" value="ECUC:5ad7cd75-8883-4d17-a159-03143fcf669b"/>
                      <a:da name="DEFAULT" value="0"/>                                         
                      <a:da name="INVALID" type="Range">
                          <a:tst expr="&gt;=0"/>
                          <a:tst expr="&lt;=0"/>
                      </a:da>                    
                  </v:var>
                  
                  <v:var name="SwMajorVersion" type="INTEGER_LABEL">
                      <a:a name="LABEL" value="Software Major Version"/>
                      <a:a name="DESC">
                          <a:v>
                              <![CDATA[EN: 
                                  <html><p>Major version number of the vendor specific implementation of the module. The numbering is vendor specific.</p></html>
                              ]]>
                          </a:v>
                      </a:a>              
                      <a:a name="IMPLEMENTATIONCONFIGCLASS" type="IMPLEMENTATIONCONFIGCLASS">
                                            <icc:v vclass="PreCompile">VariantPreCompile</icc:v>
                                      </a:a>
                      <a:a name="ORIGIN" value="NXP"/>
                      <a:a name="SYMBOLICNAMEVALUE" value="false"/>
                      <a:a name="UUID" value="ECUC:4c28fc05-4a00-4eb9-b879-7d74359deaf9"/>
                      <a:da name="DEFAULT" value="1"/>
                      <a:da name="INVALID" type="Range">
                          <a:tst expr="&gt;=1"/>
                          <a:tst expr="&lt;=1"/>
                      </a:da>                    
                  </v:var>
                  
                  <v:var name="SwMinorVersion" type="INTEGER_LABEL">
                      <a:a name="LABEL" value="Software Minor Version"/>
                      <a:a name="DESC">
                          <a:v>
                              <![CDATA[EN: 
                                  <html><p>Minor version number of the vendor specific implementation of the module. The numbering is vendor specific.</p></html>
                              ]]>
                          </a:v>
                      </a:a>              
                      <a:a name="IMPLEMENTATIONCONFIGCLASS" type="IMPLEMENTATIONCONFIGCLASS">
                                            <icc:v vclass="PreCompile">VariantPreCompile</icc:v>
                                      </a:a>
                      <a:a name="ORIGIN" value="NXP"/>
                      <a:a name="SYMBOLICNAMEVALUE" value="false"/>
                      <a:a name="UUID" value="ECUC:8a706986-a677-48af-8ab5-3da62c99b95b"/>
                      <a:da name="DEFAULT" value="0"/>                     
                      <a:da name="INVALID" type="Range">
                          <a:tst expr="&gt;=0"/>
                          <a:tst expr="&lt;=0"/>
                      </a:da>                    
                  </v:var>
                  
                  <v:var name="SwPatchVersion" type="INTEGER_LABEL">
                      <a:a name="LABEL" value="Software Patch Version"/>
                      <a:a name="DESC">
                          <a:v>
                              <![CDATA[EN: 
                                  <html><p>Patch level version number of the vendor specific implementation of the module. The numbering is vendor specific.</p></html>
                              ]]>
                          </a:v>
                      </a:a>              
                      <a:a name="IMPLEMENTATIONCONFIGCLASS" type="IMPLEMENTATIONCONFIGCLASS">
                                            <icc:v vclass="PreCompile">VariantPreCompile</icc:v>
                                      </a:a>
                      <a:a name="ORIGIN" value="NXP"/>
                      <a:a name="SYMBOLICNAMEVALUE" value="false"/>
                      <a:a name="UUID" value="ECUC:fa6fcd9f-bdf3-4bf7-b852-d803421d0a42"/>
                      <a:da name="DEFAULT" value="0"/>                                         
                      <a:da name="INVALID" type="Range">
                          <a:tst expr="&gt;=0"/>
                          <a:tst expr="&lt;=0"/>
                      </a:da>                    
                  </v:var>
                  
                  <v:var name="VendorApiInfix" type="STRING_LABEL">
                      <a:a name="LABEL" value="Vendor Api Infix"/>
                      <a:a name="DESC">
                          <a:v>
                              <![CDATA[EN: 
                                  <html><p>
                                      In driver modules which can be instantiated several times on a single ECU, BSW00347 requires that the name of APIs is extended by the VendorId and a vendor specific name. 
                                      This parameter is used to specify the vendor specific name. In total, the implementation specific name is generated as follows:
                                      &lt;ModuleName&gt;_&gt;VendorId&gt;_&lt;VendorApiInfix&gt;&lt;Api name from SWS&gt;.
                                      E.g.  assuming that the VendorId of the implementor is 123 and the implementer chose a VendorApiInfix of &quot;v11r456&quot; a api name Can_Write defined in the SWS will translate to Can_123_v11r456Write. 
                                      This parameter is mandatory for all modules with upper multiplicity &gt; 1. It shall not be used for modules with upper multiplicity =1.
                                  </p></html>
                              ]]>
                          </a:v>
                      </a:a>
                      <a:a name="IMPLEMENTATIONCONFIGCLASS" type="IMPLEMENTATIONCONFIGCLASS">
                            <icc:v class="PreCompile">VariantPreCompile</icc:v>
                      </a:a>
                      <a:a name="ORIGIN" value="NXP"/>
                      <a:a name="SYMBOLICNAMEVALUE" value="false"/>
                      <a:a name="UUID" value="ECUC:d99a6efa-321e-44d1-b66e-c83c49f3108d"/>
                      <a:da name="DEFAULT" value=""/>
                      <a:a name="OPTIONAL" value="true"/>
                      <a:da name="READONLY" value="true"/>
                  </v:var>
                  
                  <v:var name="VendorId" type="INTEGER_LABEL">
                      <a:a name="LABEL" value="Vendor Id"/>
                      <a:a name="DESC">
                          <a:v>
                              <![CDATA[EN: 
                                  <html><p>Vendor ID of the dedicated implementation of this module according to the AUTOSAR vendor list.</p></html>
                              ]]>
                          </a:v>
                      </a:a>
                      <a:a name="IMPLEMENTATIONCONFIGCLASS" type="IMPLEMENTATIONCONFIGCLASS">
                                            <icc:v vclass="PreCompile">VariantPreCompile</icc:v>
                                      </a:a>
                      <a:a name="ORIGIN" value="NXP"/>
                      <a:a name="SYMBOLICNAMEVALUE" value="false"/>
                      <a:a name="UUID" value="ECUC:d03de094-b460-497c-ac9c-bbbbd89d61d2"/>
                      <a:da name="DEFAULT" value="43"/>
                      <a:da name="INVALID" type="Range">
                          <a:tst expr="&gt;=43"/>
                          <a:tst expr="&lt;=43"/>
                      </a:da>                    
                  </v:var>
              </v:ctr>            
              <!--  @implements ResourceGeneral_Object  -->
              <v:ctr name="ResourceGeneral" type="IDENTIFIABLE">
                <a:a name="UUID" value="ECUC:6ebada9e-ac6d-4e60-8a78-aaf2930a65cd"/>
                  <a:a name="DESC">
                     <a:v><![CDATA[ EN:<html>
                       Resource General config. container.
                     </html>]]></a:v>
                  </a:a>
                <!--  @implements ResourceSubderivative_Object  -->
                <v:var name="ResourceSubderivative" type="ENUMERATION">
                  <a:a name="DESC">
                     <a:v><![CDATA[ EN:<html>
                       Sub-derivative selector for the current platform.
                     </html>]]></a:v>
                  </a:a>
                  <a:a name="ORIGIN" value="NXP"/>
                  <a:a name="IMPLEMENTATIONCONFIGCLASS" type="IMPLEMENTATIONCONFIGCLASS">
                                            <icc:v vclass="PreCompile">VariantPreCompile</icc:v>
                                  </a:a>
                  <a:a name="SYMBOLICNAMEVALUE" value="false"/>
                  <a:a name="UUID" value="ECUC:f9c3f191-5029-4458-afe4-77b46062f0a1"/>
                  <a:da name="DEFAULT" value="mpc5777c_mapbga416"/>
                  <a:da name="RANGE">
                                                                <a:v>mpc5777c_mapbga416</a:v>
                    <a:v>mpc5777c_mapbga516</a:v>
                    <a:v>mpc5775b_mapbga416</a:v>
                    <a:v>mpc5775e_mapbga416</a:v>
                  </a:da>
                </v:var>
               </v:ctr>
            </v:ctr>
          </d:chc>
          <d:chc name="Resource_EcuParameterDefinition" 
                 type="AR-ELEMENT" value="ECU_PARAMETER_DEFINITION">
            <d:ctr type="AR-ELEMENT">
              <a:a name="DEF" 
                   value="ASPath:/AR_PACKAGE_SCHEMA/ECU_PARAMETER_DEFINITION"/>
              <d:lst name="MODULE_REF">
                <d:ref type="MODULE_REF" value="ASPath:/TS_T2D41M10I0R0/Resource"/>
              </d:lst>
               <a:a name="UUID" value="ECUC:b58e5308-77d7-47c9-a7b2-48e64d21b7d2"/>
            </d:ctr>
          </d:chc>
          <d:chc name="Resource_ModuleDescription" 
                 type="AR-ELEMENT" value="BSW_MODULE_DESCRIPTION">
            <d:ctr type="AR-ELEMENT">
              <a:a name="DEF" 
                   value="ASPath:/AR_PACKAGE_SCHEMA/BSW_MODULE_DESCRIPTION"/>
              <d:var name="MODULE_ID" type="INTEGER" >
                <a:a name="EDITABLE" value="false"/>
                <a:a name="IMPORTER_INFO" value="@DEF"/>
              </d:var>
              <d:ref type="RECOMMENDED_CONFIGURATION" >
                <a:a name="EDITABLE" value="false"/>
                <a:a name="IMPORTER_INFO" value="@DEF"/>
              </d:ref>
              <d:ref type="PRE_CONFIGURED_CONF" >
                <a:a name="EDITABLE" value="false"/>
                <a:a name="IMPORTER_INFO" value="@DEF"/>
              </d:ref>
              <d:ref type="VENDOR_SPECIFIC_MODULE_DEF" 
                     value="ASPath:/TS_T2D41M10I0R0/Resource"/>
            </d:ctr>
          </d:chc>
        </d:lst>
      </d:ctr>
    </d:lst>
  </d:ctr>

</datamodel>

