<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<IP xmlns:ns0="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://mcd.rou.st.com/modules.php?name=mcu" DBVersion="V4.0" Name="LPTIM" Version="F410_lptimer1_v1_1_Cube" IPType="peripheral" ns0:schemaLocation="http://mcd.rou.st.com/modules.php?name=mcu ../../../../../../../doc/V4/Development/Specifications/db/IP_Modes.xsd">
  <About>LPTIM: Low Power Timer</About>
    <RefParameter Comment="Clock Source" DefaultValue="LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC" Name="ClockSource" Type="list" Visible="false">
        <Condition Diagnostic="Internal Clock Selected" Expression="Semaphore_CounterInternalClk$IpInstance|Semaphore_CounterExternalClk_synchro$IpInstance|Semaphore_Encoder$IpInstance"/>
        <PossibleValue Comment="Clocksource Apbclock Lposc" Value="LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC"/>
    </RefParameter>
    <RefParameter Comment="Clock Source" DefaultValue="LPTIM_CLOCKSOURCE_ULPTIM" Name="ClockSource" Type="list" Visible="false">
        <Condition Diagnostic="External Clock Selected" Expression="Semaphore_CounterExternalClk_standalone$IpInstance"/>
        <PossibleValue Comment="Clocksource Ulptim" Value="LPTIM_CLOCKSOURCE_ULPTIM"/>
    </RefParameter>
    <RefParameter Comment="Clock Prescaler" DefaultValue="LPTIM_PRESCALER_DIV1" Name="ClockPrescaler" Type="list" Group="Clock">
        <Condition Diagnostic="Internal or External clock Selected" Expression="Semaphore_CounterExternalClk_standalone$IpInstance|Semaphore_CounterInternalClk$IpInstance"/>
        <PossibleValue Comment="Prescaler Div1" Value="LPTIM_PRESCALER_DIV1"/>
        <PossibleValue Comment="Prescaler Div2" Value="LPTIM_PRESCALER_DIV2"/>
        <PossibleValue Comment="Prescaler Div4" Value="LPTIM_PRESCALER_DIV4"/>
        <PossibleValue Comment="Prescaler Div8" Value="LPTIM_PRESCALER_DIV8"/>
        <PossibleValue Comment="Prescaler Div16" Value="LPTIM_PRESCALER_DIV16"/>
        <PossibleValue Comment="Prescaler Div32" Value="LPTIM_PRESCALER_DIV32"/>
        <PossibleValue Comment="Prescaler Div64" Value="LPTIM_PRESCALER_DIV64"/>
        <PossibleValue Comment="Prescaler Div128" Value="LPTIM_PRESCALER_DIV128"/>
    </RefParameter>
    <RefParameter Comment="Clock Prescaler" DefaultValue="LPTIM_PRESCALER_DIV1" Name="ClockPrescaler" Type="list" Group="Clock" Visible="false">
        <Condition Diagnostic="Internal or External clock Selected" Expression="!(Semaphore_CounterExternalClk_standalone$IpInstance|Semaphore_CounterInternalClk$IpInstance)"/>
        <PossibleValue Comment="Prescaler Div1" Value="LPTIM_PRESCALER_DIV1"/>
    </RefParameter>
    <RefParameter Comment="ULP Clock Sample Time" DefaultValue="LPTIM_CLOCKSAMPLETIME_DIRECTTRANSITION" Name="ULPClockSampleTime" Type="list" Group="Clock">
        <Condition Diagnostic="" Expression="!Semaphore_CounterExternalClk_standalone$IpInstance &amp; !Semaphore_CounterInternalClk$IpInstance"/>
        <PossibleValue Comment="Direct Transition" Value="LPTIM_CLOCKSAMPLETIME_DIRECTTRANSITION"/>
        <PossibleValue Comment="2 Transitions" Value="LPTIM_CLOCKSAMPLETIME_2TRANSITIONS"/>
        <PossibleValue Comment="4 Transitions" Value="LPTIM_CLOCKSAMPLETIME_4TRANSITIONS"/>
        <PossibleValue Comment="8 Transitions" Value="LPTIM_CLOCKSAMPLETIME_8TRANSITIONS"/>
    </RefParameter>
    <RefParameter Comment="ULP Clock Sample Time" DefaultValue="LPTIM_CLOCKSAMPLETIME_DIRECTTRANSITION" Name="ULPClockSampleTime" Type="list" Group="Clock">
        <Condition Diagnostic="" Expression="Semaphore_CounterExternalClk_standalone$IpInstance"/>
        <PossibleValue Comment="Direct Transition" Value="LPTIM_CLOCKSAMPLETIME_DIRECTTRANSITION"/>
        <PossibleValue Comment="2 Transitions (requires internal clock)" Value="LPTIM_CLOCKSAMPLETIME_2TRANSITIONS"/>
        <PossibleValue Comment="4 Transitions (requires internal clock)" Value="LPTIM_CLOCKSAMPLETIME_4TRANSITIONS"/>
        <PossibleValue Comment="8 Transitions (requires internal clock)" Value="LPTIM_CLOCKSAMPLETIME_8TRANSITIONS"/>
    </RefParameter>
    <RefParameter Comment="ULP Clock Sample Time" DefaultValue="null" Name="ULPClockSampleTime" Type="list" Group="Clock" Visible="false">
        <Condition Diagnostic="" Expression="Semaphore_CounterInternalClk$IpInstance"/>
    </RefParameter>
    <RefParameter Comment="ULP Clock Polarity" DefaultValue="LPTIM_CLOCKPOLARITY_RISING" Name="ULPClockPolarity" Type="list" Group="Clock">
        <Condition Diagnostic="" Expression="!Semaphore_CounterInternalClk$IpInstance"/>
        <PossibleValue Comment="Rising Edge" Value="LPTIM_CLOCKPOLARITY_RISING"/>
        <PossibleValue Comment="Falling Edge" Value="LPTIM_CLOCKPOLARITY_FALLING"/>
        <PossibleValue Comment="Both Edges (Requires internal clock freq. > 4 x Fin1) " Value="LPTIM_CLOCKPOLARITY_RISING_FALLING"/>
    </RefParameter>
    <RefParameter Comment="ULP Clock Polarity" DefaultValue="null" Name="ULPClockPolarity" Type="list" Group="Clock" Visible="false">
        <Condition Diagnostic="" Expression="Semaphore_CounterInternalClk$IpInstance"/>
    </RefParameter>
<!-- trigger management -->
    <RefParameter Comment="Trigger Source" DefaultValue="LPTIM_TRIGSOURCE_0" Name="TriggerSource" Type="list" Group="Trigger">
        <Condition Diagnostic="External trigger is selected" Expression="Semaphore_ETR$IpInstance"/>
        <PossibleValue Comment="Software Trigger" Value="LPTIM_TRIGSOURCE_SOFTWARE" Semaphore="Semaphore_SWTrigger_$IpInstance"/>
        <PossibleValue Comment="LPTIM1_ETR IO" Value="LPTIM_TRIGSOURCE_0"/>
        <PossibleValue Comment="RTC Alarm A" Value="LPTIM_TRIGSOURCE_1"/>
        <PossibleValue Comment="RTC Alarm B" Value="LPTIM_TRIGSOURCE_2"/>
        <PossibleValue Comment="RTC TAMP Input Detection" Value="LPTIM_TRIGSOURCE_3"/>
        <PossibleValue Comment="TIM1 Trigger Output" Value="LPTIM_TRIGSOURCE_4"/>
        <PossibleValue Comment="TIM5 Trigger Output" Value="LPTIM_TRIGSOURCE_5"/>
    </RefParameter>
    <RefParameter Comment="Trigger Source" DefaultValue="LPTIM_TRIGSOURCE_SOFTWARE" Name="TriggerSource" Type="list" Group="Trigger">
        <Condition Diagnostic="External trigger is not selected" Expression="!Semaphore_ETR$IpInstance"/>
        <PossibleValue Comment="Software Trigger" Value="LPTIM_TRIGSOURCE_SOFTWARE" Semaphore="Semaphore_SWTrigger_$IpInstance"/>
        <PossibleValue Comment="RTC Alarm A" Value="LPTIM_TRIGSOURCE_1"/>
        <PossibleValue Comment="RTC Alarm B" Value="LPTIM_TRIGSOURCE_2"/>
        <PossibleValue Comment="RTC TAMP Input Detection" Value="LPTIM_TRIGSOURCE_3"/>
        <PossibleValue Comment="TIM1 Trigger Output" Value="LPTIM_TRIGSOURCE_4"/>
        <PossibleValue Comment="TIM5 Trigger Output" Value="LPTIM_TRIGSOURCE_5"/>
    </RefParameter>
    <RefParameter Comment="Active Edge" DefaultValue="LPTIM_ACTIVEEDGE_RISING" Name="TriggerActiveEdge" Type="list" Group="Trigger">
        <Condition Diagnostic="External trigger is selected" Expression="!Semaphore_SWTrigger_$IpInstance"/><!--pour tous les extriggers-->
        <PossibleValue Comment="Active Edge Rising" Value="LPTIM_ACTIVEEDGE_RISING"/>
        <PossibleValue Comment="Active Edge Falling" Value="LPTIM_ACTIVEEDGE_FALLING"/>
        <PossibleValue Comment="Active Edge Rising Falling" Value="LPTIM_ACTIVEEDGE_RISING_FALLING"/>
    </RefParameter>
    <RefParameter Comment="Active Edge" DefaultValue="null" Name="TriggerActiveEdge" Type="list" Visible="false">
        <Condition Diagnostic="External trigger is not selected" Expression="Semaphore_SWTrigger_$IpInstance"/>
   <!-- <PossibleValue Comment="Active Edge Rising" Value="LPTIM_ACTIVEEDGE_RISING"/>-->
    </RefParameter>
<!-- Change naming since not available in legacy file -->
    <RefParameter Comment="Sample Time" DefaultValue="LPTIM_TRIGSAMPLETIME_DIRECTTRANSITION" Name="TriggerSampleTime" Type="list" Group="Trigger">
        <Condition Diagnostic="External trigger is selected" Expression="!Semaphore_SWTrigger_$IpInstance &amp;!Semaphore_CounterExternalClk_standalone$IpInstance"/><!--pour tous les extriggers-->
        <PossibleValue Comment="Direct Transition" Value="LPTIM_TRIGSAMPLETIME_DIRECTTRANSITION"/>
        <PossibleValue Comment="2 Transitions" Value="LPTIM_TRIGSAMPLETIME_2TRANSITIONS"/>
        <PossibleValue Comment="4 Transitions" Value="LPTIM_TRIGSAMPLETIME_4TRANSITIONS"/>
        <PossibleValue Comment="8 Transitions" Value="LPTIM_TRIGSAMPLETIME_8TRANSITIONS"/>
    </RefParameter>
    <RefParameter Comment="Sample Time" DefaultValue="LPTIM_TRIGSAMPLETIME_DIRECTTRANSITION" Name="TriggerSampleTime" Type="list" Group="Trigger">
        <Condition Diagnostic="External trigger is selected" Expression="!Semaphore_SWTrigger_$IpInstance &amp;Semaphore_CounterExternalClk_standalone$IpInstance"/><!--pour tous les extriggers-->
        <PossibleValue Comment="Direct Transition" Value="LPTIM_TRIGSAMPLETIME_DIRECTTRANSITION"/>
        <PossibleValue Comment="2 Transitions (requires internal clock)" Value="LPTIM_TRIGSAMPLETIME_2TRANSITIONS"/>
        <PossibleValue Comment="4 Transitions (requires internal clock)" Value="LPTIM_TRIGSAMPLETIME_4TRANSITIONS"/>
        <PossibleValue Comment="8 Transitions (requires internal clock)" Value="LPTIM_TRIGSAMPLETIME_8TRANSITIONS"/>
    </RefParameter>
    <RefParameter Comment="Sample Time" DefaultValue="null" Name="TriggerSampleTime" Type="list" Visible="false">
        <Condition Diagnostic="External trigger is not selected" Expression="Semaphore_SWTrigger_$IpInstance"/>
   <!-- <PossibleValue Comment="Direct Transition" Value="LPTIM_TRIGSAMPLETIME_DIRECTTRANSISTION"/>-->
    </RefParameter>
<!-- Output Polarity management -->
    <RefParameter Comment="Output Polarity" DefaultValue="LPTIM_OUTPUTPOLARITY_HIGH" Name="OutputPolarity" Type="list" Group="Output">
        <Condition Diagnostic="Waveform gen. is selected" Expression="Semaphore_OUT$IpInstance"/>
        <PossibleValue Comment="Output Polarity High" Value="LPTIM_OUTPUTPOLARITY_HIGH"/>
        <PossibleValue Comment="Output Polarity Low" Value="LPTIM_OUTPUTPOLARITY_LOW"/>
    </RefParameter>
    <RefParameter Comment="Output Polarity" DefaultValue="LPTIM_OUTPUTPOLARITY_HIGH" Name="OutputPolarity" Type="list" Visible="false">
        <Condition Diagnostic="Wavegorm gen.  is not selected" Expression="!Semaphore_OUT$IpInstance"/>
        <PossibleValue Comment="Output Polarity High" Value="LPTIM_OUTPUTPOLARITY_HIGH"/>
    </RefParameter>
    <RefParameter Comment="Update Mode" DefaultValue="LPTIM_UPDATE_IMMEDIATE" Name="UpdateMode" Type="list" Group="Preload">
        <PossibleValue Comment="Update Immediate" Value="LPTIM_UPDATE_IMMEDIATE"/>
        <PossibleValue Comment="Update End Of Period" Value="LPTIM_UPDATE_ENDOFPERIOD"/>
    </RefParameter>
    <RefParameter Comment="Counter Source" DefaultValue="LPTIM_COUNTERSOURCE_INTERNAL" Name="CounterSource" Type="list" Visible="false">
        <Condition Diagnostic="Encoder, internal" Expression="(Semaphore_CounterInternalClk$IpInstance)"/>
        <PossibleValue Comment="Countersource Internal" Value="LPTIM_COUNTERSOURCE_INTERNAL"/>
    </RefParameter>
    <RefParameter Comment="Counter Source" DefaultValue="LPTIM_COUNTERSOURCE_EXTERNAL" Name="CounterSource" Type="list" Visible="false">
        <Condition Diagnostic="external or standalone" Expression="!(Semaphore_CounterInternalClk$IpInstance)"/>
        <PossibleValue Comment="Countersource External" Value="LPTIM_COUNTERSOURCE_EXTERNAL"/>
    </RefParameter>
  <RefParameter Comment="Connection to :" DefaultValue="LPTIM_OP_PAD_AF" Name="IN1_Remap_Value" Type="list" Visible="false">
        <Condition Diagnostic="external or standalone" Expression="!Semaphore_Input1_Remap$IpInstance"/>
        <PossibleValue Comment="normal connection to gpio AF" Value="LPTIM_OP_PAD_AF"/>
    </RefParameter>
  <RefParameter Comment="Connection to :" DefaultValue="LPTIM_OP_PAD_PA4" Name="IN1_Remap_Value" Type="list" Visible="true" Group="Input1 internal connection">
        <Condition Diagnostic="external or standalone" Expression="Semaphore_Input1_Remap$IpInstance"/>
        <PossibleValue Comment="PA4 IO" Value="LPTIM_OP_PAD_PA4" Condition="!(PA4_SPI1_NSS|PA4_GPIO_Output|PA4_GPIO_Input|PA4_GPXTI4|PA4_I2S1_WS|PA4_USART2_CK|PA4_EVENTOUT)" Diagnostic="PA4 should be affected to a function first" Action="Disable"/>
        <PossibleValue Comment="PB9 IO" Value="LPTIM_OP_PAD_PB9" Condition="!(PB9_DAC_EXTI9|PB9_GPIO_Output|PB9_GPIO_Input|PB9_GPXTI9|PB9_I2C1_SDA|PB9_I2C2_SDA|PB9_I2S2_WS|PB9_SPI2_NSS|PB9_S_TIM11_CH1|PB9_EVENTOUT)" Diagnostic="PB9 should be affected to a function first" Action="Disable"/>
        <PossibleValue Comment="TIM6 trigger output" Value="LPTIM_OP_TIM_DAC" Condition="!TIM6" Diagnostic="TIM6 should be enabled first" Action="Disable"/>
    </RefParameter>
 <RefMode Name="Counts__internal_clock_event_00" Comment="" >
  <ConfigForMode>lptim_Initialization</ConfigForMode>
  <Parameter Name="ClockSource"/>
  <Parameter Name="ClockPrescaler"/>
  <Parameter Name="UpdateMode"/>
  <Parameter Name="TriggerSource"/>
  <Parameter Name="TriggerActiveEdge"/>
  <Parameter Name="TriggerSampleTime"/>
  <Parameter Name="OutputPolarity"/>
  <Parameter Name="CounterSource"/>
 </RefMode>
 <RefMode Name="Counts_external_clock_with_synchro_01_occur1" Comment="" BaseMode="Counts_external_clock_with_synchro_01"/>
 <RefMode Name="Counts_external_clock_with_synchro_01_occur2" Comment="" BaseMode="Counts_external_clock_with_synchro_01"/>
 <RefMode Name="Counts_external_clock_with_synchro_01_occur3" Comment="" BaseMode="Counts_external_clock_with_synchro_01"/>
 <RefMode Name="Counts_external_clock_with_synchro_01_occur4" Comment="" BaseMode="Counts_external_clock_with_synchro_01"/>
 <RefMode Name="Counts_external_clock_with_synchro_01_occur5" Comment="" BaseMode="Counts_external_clock_with_synchro_01"/>
 <RefMode Name="Counts_external_clock_with_synchro_01_occur6" Comment="" BaseMode="Counts_external_clock_with_synchro_01"/>
 <RefMode Name="Counts_external_clock_with_synchro_01" Comment="">
  <ConfigForMode>lptim_Initialization</ConfigForMode>
  <Parameter Name="ClockSource"/>
  <Parameter Name="ClockPrescaler"/>
  <Parameter Name="ULPClockPolarity"/>
  <Parameter Name="ULPClockSampleTime"/>
  <Parameter Name="UpdateMode"/>
  <Parameter Name="TriggerSource"/>
  <Parameter Name="TriggerActiveEdge"/>
  <Parameter Name="TriggerSampleTime"/>
  <Parameter Name="OutputPolarity"/>
  <Parameter Name="CounterSource"/>
  <Parameter Name="IN1_Remap_Value"/>
 </RefMode>
 <RefMode Name="Counts_external_clock_standalone_1X_occur1" Comment="" BaseMode="Counts_external_clock_standalone_1X"/>
 <RefMode Name="Counts_external_clock_standalone_1X_occur2" Comment="" BaseMode="Counts_external_clock_standalone_1X"/>
 <RefMode Name="Counts_external_clock_standalone_1X_occur3" Comment="" BaseMode="Counts_external_clock_standalone_1X"/>
 <RefMode Name="Counts_external_clock_standalone_1X_occur4" Comment="" BaseMode="Counts_external_clock_standalone_1X"/>
 <RefMode Name="Counts_external_clock_standalone_1X_occur5" Comment="" BaseMode="Counts_external_clock_standalone_1X"/>
 <RefMode Name="Counts_external_clock_standalone_1X_occur6" Comment="" BaseMode="Counts_external_clock_standalone_1X"/>
 <RefMode Name="Counts_external_clock_standalone_1X" Comment="">
  <ConfigForMode>lptim_Initialization</ConfigForMode>
  <Parameter Name="ClockSource"/>
  <Parameter Name="ClockPrescaler"/>
  <Parameter Name="ULPClockPolarity"/>
  <Parameter Name="ULPClockSampleTime"/>
  <Parameter Name="UpdateMode"/>
  <Parameter Name="TriggerSource"/>
  <Parameter Name="TriggerActiveEdge"/>
  <Parameter Name="TriggerSampleTime"/>
  <Parameter Name="OutputPolarity"/>
  <Parameter Name="CounterSource"/>
  <Parameter Name="IN1_Remap_Value"/>
 </RefMode>
 <RefMode Name="Encoder_mode_occur1" Comment="" BaseMode="Encoder_mode"/>
 <RefMode Name="Encoder_mode_occur2" Comment="" BaseMode="Encoder_mode"/>
 <RefMode Name="Encoder_mode_occur3" Comment="" BaseMode="Encoder_mode"/>
 <RefMode Name="Encoder_mode_occur4" Comment="" BaseMode="Encoder_mode"/>
 <RefMode Name="Encoder_mode_occur5" Comment="" BaseMode="Encoder_mode"/>
 <RefMode Name="Encoder_mode" Comment="" >
  <ConfigForMode>lptim_Initialization</ConfigForMode>
  <Parameter Name="ClockSource">
   <PossibleValue>LPTIM_CLOCKSOURCE_APBCLOCK_LPOSC</PossibleValue>
  </Parameter>
  <Parameter Name="ULPClockPolarity"/>
  <Parameter Name="ULPClockSampleTime"/>
  <Parameter Name="UpdateMode"/>
  <Parameter Name="TriggerSource"/>
  <Parameter Name="TriggerActiveEdge"/>
  <Parameter Name="TriggerSampleTime"/>
  <Parameter Name="OutputPolarity"/>
  <Parameter Name="CounterSource"/>
  <Parameter Name="IN1_Remap_Value"/>
 </RefMode>
 <ModeLogicOperator Name="OR">
  <Mode Name="Mode">
                        <Semaphore>Semaphore_ModeSelected$IpInstance</Semaphore>
                        <Semaphore>LPTIMUsed_ForRCC</Semaphore>
   <ModeLogicOperator Name="XOR">
<!-- <Mode Name="Counter_mode_on_internal_clock" UserName="Counter mode on internal clock">-->
    <Mode Name="Counts__internal_clock_event_00" UserName="Counts internal clock events">
                                        <Semaphore>Semaphore_CounterInternalClk$IpInstance</Semaphore>
     <SignalLogicalOp Name="AND">
      <Signal Name="VS_LPTIM_counterModeInternalClock"/>
     </SignalLogicalOp>
    </Mode>
                                <Mode Name="Counts_external_clock_with_synchro_01_occur1" UserName="Counts external Clock events with internal synchronization">
                                        <Semaphore>Semaphore_CounterExternalClk_synchro$IpInstance</Semaphore>
     <SignalLogicalOp Name="AND">
      <Signal Name="IN1"/>
     </SignalLogicalOp>
    </Mode>
                                <Mode Name="Counts_external_clock_with_synchro_01_occur2" UserName="Counts external Clock events from Remap with internal synchronization">
                                        <Semaphore>Semaphore_CounterExternalClk_synchro$IpInstance</Semaphore>
                                        <Semaphore>Semaphore_Input1_Remap$IpInstance</Semaphore>
                                        <SignalLogicalOp Name="AND">
                                                <Signal Name="VS_COMP1_LPTIM"/>
                                        </SignalLogicalOp>
                                </Mode>
    <Mode Name="Counts_external_clock_standalone_1X_occur1" UserName="Standalone : counts external Clock events">
                                        <Semaphore>Semaphore_CounterExternalClk_standalone$IpInstance</Semaphore>
     <SignalLogicalOp Name="AND">
      <Signal Name="IN1"/>
     </SignalLogicalOp>
    </Mode>
                                <Mode Name="Counts_external_clock_standalone_1X_occur2" UserName="Standalone : counts external Clock events from Remap">
                                        <Semaphore>Semaphore_CounterExternalClk_standalone$IpInstance</Semaphore>
                                        <Semaphore>Semaphore_Input1_Remap$IpInstance</Semaphore>
                                        <SignalLogicalOp Name="AND">
                                                <Signal Name="VS_COMP1_LPTIM"/>
                                        </SignalLogicalOp>
                                </Mode>
    <Mode Name="Encoder_mode_occur1" UserName="Encoder mode">
                                        <Semaphore>Semaphore_Encoder$IpInstance</Semaphore>
     <SignalLogicalOp Name="AND">
      <Signal Name="IN1"/>
      <Signal Name="IN2"/>
     </SignalLogicalOp>
    </Mode>
    <Mode Name="Encoder_mode_occur2" UserName="Encoder mode from Remap">
                                        <Semaphore>Semaphore_Encoder$IpInstance</Semaphore>
                                        <Semaphore>Semaphore_Input1_Remap$IpInstance</Semaphore>
     <SignalLogicalOp Name="AND">
      <Signal Name="IN2"/>
     </SignalLogicalOp>
    </Mode>
   </ModeLogicOperator>
  </Mode>
  <Mode Name="External_Trigger" UserName="External Trigger" >
                        <Condition Diagnostic="A mode must be selected before" Expression="Semaphore_ModeSelected$IpInstance"/>
                        <Semaphore>Semaphore_ETR$IpInstance</Semaphore>
   <ModeLogicOperator Name="XOR">
    <Mode Name="ExternalTrigger">
     <SignalLogicalOp Name="AND">
      <Signal Name="ETR"/>
     </SignalLogicalOp>
    </Mode>
   </ModeLogicOperator>
  </Mode>
  <Mode Name="Waveform_Generation" UserName="Waveform Generation">
                        <Condition Diagnostic="A mode must be selected before" Expression="Semaphore_ModeSelected$IpInstance"/>
                        <Semaphore>Semaphore_OUT$IpInstance</Semaphore>
   <ModeLogicOperator Name="XOR">
    <Mode Name="WaveformGeneration">
     <SignalLogicalOp Name="AND">
      <Signal Name="OUT"/>
     </SignalLogicalOp>
    </Mode>
   </ModeLogicOperator>
  </Mode>
 </ModeLogicOperator>
 <RefSignal IOMode="AlternateFunctionOpenDrainAndPushPullDefaultPP" Name="OUT"/>
 <RefSignal IOMode="AlternateFunctionPushPull" Name="IN1"/>
 <RefSignal IOMode="AlternateFunctionPushPull" Name="IN2"/>
 <RefSignal IOMode="AlternateFunctionPushPull" Name="ETR"/>
 <RefSignal Name="VS_LPTIM_counterModeInternalClock" Virtual="true"/>
 <RefSignal Name="VS_COMP1_LPTIM" Virtual="true"/>
        <RefSignal Name="VS_COMP2_LPTIM" Virtual="true"/>
        <RefSignal Name="VS_COMP12_LPTIM" Virtual="true"/>
</IP>
