<?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    Mcu.xdm
*   @version 1.0.0
*
*   @brief   AUTOSAR Mcu - Tresos Studio plugin schema file
*   @details This file contains the schema configuration for and Mcu Tresos Studio plugin.
-->
<!--
====================================================================================================
*   Project              : AUTOSAR 4.3 MCAL
*   Platform             : PA
*   Peripheral           : MC
*   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">
                <d:lst type="ELEMENTS">
                    <d:chc name="McuPreConfiguration" type="AR-ELEMENT" value="MODULE-CONFIGURATION">
                        <d:ctr type="MODULE-CONFIGURATION">
                            <a:a name="DEF" value="ASPath:/TS_T2D41M10I0R0/Mcu"/>
                            <d:ctr name="McuPublishedInformation" type="IDENTIFIABLE">
                                <d:lst name="McuResetReasonConf" type="MAP">
                                
                                    <d:ctr name="MCU_SOFTWARE_EXTERNAL_RESET" type="IDENTIFIABLE">
                                        <d:var name="McuResetReason" type="INTEGER" value="0">
                                        </d:var>
                                    </d:ctr>
                                    <d:ctr name="MCU_SOFTWARE_SYSTEM_RESET" type="IDENTIFIABLE">
                                        <d:var name="McuResetReason" type="INTEGER" value="1">
                                        </d:var>
                                    </d:ctr>
                                    <d:ctr name="MCU_STCU_RESET" type="IDENTIFIABLE">
                                        <d:var name="McuResetReason" type="INTEGER" value="2">
                                        </d:var>
                                    </d:ctr>
                                    <d:ctr name="MCU_FCCU_RESET" type="IDENTIFIABLE">
                                        <d:var name="McuResetReason" type="INTEGER" value="3">
                                        </d:var>
                                    </d:ctr>
                                    <d:ctr name="MCU_FOSU_RESET" type="IDENTIFIABLE">
                                        <d:var name="McuResetReason" type="INTEGER" value="4">
                                        </d:var>
                                    </d:ctr>
                                    <d:ctr name="MCU_CPU_RESET" type="IDENTIFIABLE">
                                        <d:var name="McuResetReason" type="INTEGER" value="5">
                                        </d:var>
                                    </d:ctr>
                                    <d:ctr name="MCU_EXTERNAL_RESET" type="IDENTIFIABLE">
                                        <d:var name="McuResetReason" type="INTEGER" value="6">
                                        </d:var>
                                    </d:ctr>
                                    <d:ctr name="MCU_POWER_ON_RESET" type="IDENTIFIABLE">
                                        <d:var name="McuResetReason" type="INTEGER" value="7">
                                        </d:var>
                                    </d:ctr>
                                    <d:ctr name="MCU_NO_RESET_REASON" type="IDENTIFIABLE">
                                        <d:var name="McuResetReason" type="INTEGER" value="8">
                                        </d:var>
                                    </d:ctr>
                                    <d:ctr name="MCU_MULTIPLE_RESET_REASON" type="IDENTIFIABLE">
                                        <d:var name="McuResetReason" type="INTEGER" value="9">
                                        </d:var>
                                    </d:ctr>
                                    <d:ctr name="MCU_RESET_UNDEFINED" type="IDENTIFIABLE">
                                        <d:var name="McuResetReason" type="INTEGER" value="10">
                                        </d:var>
                                    </d:ctr>                                    
                                </d:lst>
                            </d:ctr>
                        </d:ctr>
                    </d:chc>
                </d:lst>
            </d:ctr>
        </d:lst>
    </d:ctr>

</datamodel>
