<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<IP DBVersion="V3.0" IPType="peripheral" Name="DSIHOST" Version="STM32MP_dsihost1_v2_0" IpGroup="Multimedia" 
    xmlns:ns0="http://www.w3.org/2001/XMLSchema-instance" 
    ns0:schemaLocation="http://mcd.rou.st.com/modules.php?name=mcu ../../../../../../../doc/V4/Development/Specifications/db/IP_Modes.xsd"
    xmlns="http://mcd.rou.st.com/modules.php?name=mcu">

    <About>DSIHOST: Display Serial Interface Host</About>
  
    <RefParameter Name="Instance" DefaultValue="DSI" Comment="Instance" Type="" Visible="false"/>
 

    <RefParameter Comment="Frame BTA Acknowledge Enable" DefaultValue="DSI_FBTAA_DISABLE" Name="FrameBTAAcknowledgeEnable" Type="list" TabName="Display Interface"  Group="Video Mode Configuration">
        <Description>This parameter enables the request for an acknowledge response at the end of each frame</Description>
        <PossibleValue Comment="Disable" Value="DSI_FBTAA_DISABLE"/>
        <PossibleValue Comment="Enable" Value="DSI_FBTAA_ENABLE"/>
    </RefParameter>

    <RefParameter Comment="Tx Escape Ckdiv" DefaultValue="=RCC:DSITX_Div" Max="255" Min="0" Name="TXEscapeCkdiv" Type="string" TabName="DSI Clocks" Group="from PLLDSI">
        <Description>TX Escape clock division The values 0 and 1 stop the TX_ESC clock generation </Description>
    </RefParameter>


    <RefParameter Comment="Pllndiv" DefaultValue="=RCC:PLLDSINDIV" Max="125" Min="10" Name="PLLNDIV" Type="string" TabName="DSI Clocks" Group="from PLLDSI">
    </RefParameter>
    <RefParameter Comment="Pllidf" DefaultValue="+RCC:PLLDSIIDF" Name="PLLIDF" Type="string" TabName="DSI Clocks" Group="from PLLDSI">
        <!--       <PossibleValue Comment="Pll In Div1" Value="DSI_PLL_IN_DIV1"/>
        <PossibleValue Comment="Pll In Div2" Value="DSI_PLL_IN_DIV2"/>
        <PossibleValue Comment="Pll In Div3" Value="DSI_PLL_IN_DIV3"/>
        <PossibleValue Comment="Pll In Div4" Value="DSI_PLL_IN_DIV4"/>
        <PossibleValue Comment="Pll In Div5" Value="DSI_PLL_IN_DIV5"/>
        <PossibleValue Comment="Pll In Div6" Value="DSI_PLL_IN_DIV6"/>
        <PossibleValue Comment="Pll In Div7" Value="DSI_PLL_IN_DIV7"/>-->
    </RefParameter>
    <RefParameter Comment="Pllodf" DefaultValue="+RCC:PLLDSIODF" Name="PLLODF" Type="string" TabName="DSI Clocks" Group="from PLLDSI">
        <!--       <PossibleValue Comment="Pll Out Div1" Value="DSI_PLL_OUT_DIV1"/>
        <PossibleValue Comment="Pll Out Div2" Value="DSI_PLL_OUT_DIV2"/>
        <PossibleValue Comment="Pll Out Div4" Value="DSI_PLL_OUT_DIV4"/>
        <PossibleValue Comment="Pll Out Div8" Value="DSI_PLL_OUT_DIV8"/>-->
    </RefParameter>

    <RefParameter Comment="Generic Short Write Zero Parameter" DefaultValue="DSI_LP_GSW0P_DISABLE" Name="LPGenShortWriteNoP" Type="list" TabName="Commands" Group="Transmission Mode for Commands:">
        <PossibleValue Comment="High Speed Transmission" Value="DSI_LP_GSW0P_DISABLE"/>
        <PossibleValue Comment="Low Power Transmission" Value="DSI_LP_GSW0P_ENABLE"/>
    </RefParameter>

    <RefParameter Comment="Generic Short Write One Parameter" DefaultValue="DSI_LP_GSW1P_DISABLE" Name="LPGenShortWriteOneP" Type="list" TabName="Commands" Group="Transmission Mode for Commands:">
        <PossibleValue Comment="High Speed Transmission" Value="DSI_LP_GSW1P_DISABLE"/>
        <PossibleValue Comment="Low Power Transmission" Value="DSI_LP_GSW1P_ENABLE"/>
    </RefParameter>

    <RefParameter Comment="Generic Short Write Two parameters" DefaultValue="DSI_LP_GSW2P_DISABLE" Name="LPGenShortWriteTwoP" Type="list" TabName="Commands" Group="Transmission Mode for Commands:">
        <PossibleValue Comment="High Speed Transmission" Value="DSI_LP_GSW2P_DISABLE"/>
        <PossibleValue Comment="Low Power Transmission" Value="DSI_LP_GSW2P_ENABLE"/>
    </RefParameter>

    <RefParameter Comment="Generic Short Read Zero parameter" DefaultValue="DSI_LP_GSR0P_DISABLE" Name="LPGenShortReadNoP" Type="list" TabName="Commands" Group="Transmission Mode for Commands:">
        <PossibleValue Comment="High Speed Transmission" Value="DSI_LP_GSR0P_DISABLE"/>
        <PossibleValue Comment="Low Power Transmission" Value="DSI_LP_GSR0P_ENABLE"/>
    </RefParameter>

    <RefParameter Comment="Generic Short Read One parameter" DefaultValue="DSI_LP_GSR1P_DISABLE" Name="LPGenShortReadOneP" Type="list" TabName="Commands" Group="Transmission Mode for Commands:">
        <PossibleValue Comment="High Speed Transmission" Value="DSI_LP_GSR1P_DISABLE"/>
        <PossibleValue Comment="Low Power Transmission" Value="DSI_LP_GSR1P_ENABLE"/>
    </RefParameter>

    <RefParameter Comment="Generic Short Read Two parameters" DefaultValue="DSI_LP_GSR2P_DISABLE" Name="LPGenShortReadTwoP" Type="list" TabName="Commands" Group="Transmission Mode for Commands:">
        <PossibleValue Comment="High Speed Transmission" Value="DSI_LP_GSR2P_DISABLE"/>
        <PossibleValue Comment="Low Power Transmission" Value="DSI_LP_GSR2P_ENABLE"/>
    </RefParameter>

    <RefParameter Comment="Generic Long Write" DefaultValue="DSI_LP_GLW_DISABLE" Name="LPGenLongWrite" Type="list" TabName="Commands" Group="Transmission Mode for Commands:">
        <PossibleValue Comment="High Speed Transmission" Value="DSI_LP_GLW_DISABLE"/>
        <PossibleValue Comment="Low Power Transmission" Value="DSI_LP_GLW_ENABLE"/>
    </RefParameter>

    <RefParameter Comment="DCS Short Write Zero parameter" DefaultValue="DSI_LP_DSW0P_DISABLE" Name="LPDcsShortWriteNoP" Type="list" TabName="Commands" Group="Transmission Mode for Commands:">
        <PossibleValue Comment="High Speed Transmission" Value="DSI_LP_DSW0P_DISABLE"/>
        <PossibleValue Comment="Low Power Transmission" Value="DSI_LP_DSW0P_ENABLE"/>
    </RefParameter>

    <RefParameter Comment="DCS Short Write One parameter" DefaultValue="DSI_LP_DSW1P_DISABLE" Name="LPDcsShortWriteOneP" Type="list" TabName="Commands" Group="Transmission Mode for Commands:">
        <PossibleValue Comment="High Speed Transmission" Value="DSI_LP_DSW1P_DISABLE"/>
        <PossibleValue Comment="Low Power Transmission" Value="DSI_LP_DSW1P_ENABLE"/>
    </RefParameter>

    <RefParameter Comment="DCS Short Read Zero parameter" DefaultValue="DSI_LP_DSR0P_DISABLE" Name="LPDcsShortReadNoP" Type="list" TabName="Commands" Group="Transmission Mode for Commands:">
        <PossibleValue Comment="High Speed Transmission" Value="DSI_LP_DSR0P_DISABLE"/>
        <PossibleValue Comment="Low Power Transmission" Value="DSI_LP_DSR0P_ENABLE"/>
    </RefParameter>


    <RefParameter Comment="DCS Long Write" DefaultValue="DSI_LP_DLW_DISABLE" Name="LPDcsLongWrite" Type="list" TabName="Commands" Group="Transmission Mode for Commands:">
        <PossibleValue Comment="High Speed Transmission" Value="DSI_LP_DLW_DISABLE"/>
        <PossibleValue Comment="Low Power Transmission" Value="DSI_LP_DLW_ENABLE"/>
    </RefParameter>


    <RefParameter Comment="Maximum Read Packet Size Command" DefaultValue="DSI_LP_MRDP_DISABLE" Name="LPMaxReadPacket" Type="list" TabName="Commands" Group="Transmission Mode for Commands:">
        <PossibleValue Comment="High Speed Transmission" Value="DSI_LP_MRDP_DISABLE"/>
        <PossibleValue Comment="Low Power Transmission" Value="DSI_LP_MRDP_ENABLE"/>
    </RefParameter>


    <RefParameter Comment="Generic Command Error Interrupt" DefaultValue="HAL_DSI_ERROR_NONE" Name="GCEIE" Type="list"  TabName="Commands" Group="APB Interface Error Configuration">
        <PossibleValue Comment="Disable" Value="HAL_DSI_ERROR_NONE"/>
        <PossibleValue Comment="Enable" Value="HAL_DSI_ERROR_GEN"/>
    </RefParameter>


    <RefParameter Comment="Acknowledge Request after Each Transmission" DefaultValue="DSI_ACKNOWLEDGE_DISABLE" Name="AcknowledgeRequest" Type="list" TabName="Data and Clock Lanes" Group="Flow Control - Configuration">
        <PossibleValue Comment="Disabled" Value="DSI_ACKNOWLEDGE_DISABLE"/>
        <PossibleValue Comment="Enabled" Value="DSI_ACKNOWLEDGE_ENABLE"/>
    </RefParameter>

    <RefParameter Comment="Tearing Effect Acknowledge Request Enable" DefaultValue="DSI_TE_ACKNOWLEDGE_DISABLE" Name="TEAcknowledgeRequest" Type="list" TabName="Data and Clock Lanes" Group="Flow Control - Configuration">
        <PossibleValue Comment="Disabled" Value="DSI_TE_ACKNOWLEDGE_DISABLE"/>
        <PossibleValue Comment="Enabled" Value="DSI_TE_ACKNOWLEDGE_ENABLE"/>
    </RefParameter>


    <RefParameter Comment="CRC Reception" DefaultValue="__NULL" Name="CRCX_FlowControl" Type="list" TabName="Data and Clock Lanes" Group="Flow Control - Configuration">
        <PossibleValue Comment="Disabled" Value="__NULL"/>
        <PossibleValue Comment="Enabled" Value="DSI_FLOW_CONTROL_CRC_RX"/>
    </RefParameter>

    <RefParameter Comment="CRC Error Interrupt" DefaultValue="HAL_DSI_ERROR_NONE" Name="CRCEIE" Type="list"  TabName="Data and Clock Lanes" Group="Flow Control - Packet Analyzer Configuration">
        <PossibleValue Comment="Disable" Value="HAL_DSI_ERROR_NONE"/>
        <PossibleValue Comment="Enable" Value="HAL_DSI_ERROR_CRC"/>
    </RefParameter>

    <RefParameter Comment="ECC Reception" DefaultValue="__NULL" Name="ECCX_FlowControl" Type="list" TabName="Data and Clock Lanes" Group="Flow Control - Configuration">
        <PossibleValue Comment="Disabled" Value="__NULL"/>
        <PossibleValue Comment="Enabled" Value="DSI_FLOW_CONTROL_ECC_RX"/>
    </RefParameter>

    <RefParameter Comment="ECC Errors Interrupt" DefaultValue="HAL_DSI_ERROR_NONE" Name="ECCEIE" Type="list"  TabName="Data and Clock Lanes" Group="Flow Control - Packet Analyzer Configuration">
        <PossibleValue Comment="Disable" Value="HAL_DSI_ERROR_NONE"/>
        <PossibleValue Comment="Enable" Value="HAL_DSI_ERROR_ECC"/>
    </RefParameter>
    <RefParameter Comment="Packet Size Error Interrupt" DefaultValue="HAL_DSI_ERROR_NONE" Name="PSEIE" Type="list"  TabName="Data and Clock Lanes" Group="Flow Control - Packet Analyzer Configuration">
        <PossibleValue Comment="Disable" Value="HAL_DSI_ERROR_NONE"/>
        <PossibleValue Comment="Enable" Value=" HAL_DSI_ERROR_PSE "/>
    </RefParameter>

    <RefParameter Comment="Acknowledge Errors Interrupt" DefaultValue="HAL_DSI_ERROR_NONE" Name="AEIE" Type="list"  TabName="Data and Clock Lanes" Group="Flow Control - Packet Analyzer Configuration">
        <PossibleValue Comment="Disable" Value="HAL_DSI_ERROR_NONE"/>
        <PossibleValue Comment="Enable" Value="HAL_DSI_ERROR_ACK"/>
    </RefParameter>
    <RefParameter Comment="PHY related Errors Interrupt" DefaultValue="HAL_DSI_ERROR_NONE" Name="PEXIE" Type="list"  TabName="Data and Clock Lanes" Group="Flow Control - Packet Analyzer Configuration">
        <PossibleValue Comment="Disable" Value="HAL_DSI_ERROR_NONE"/>
        <PossibleValue Comment="Enable" Value="HAL_DSI_ERROR_PHY"/>
    </RefParameter>


    <RefParameter Comment="EoTP Reception is" DefaultValue="__NULL" Name="ETRX_FlowControl" Type="list" TabName="Data and Clock Lanes" Group="Flow Control - Configuration">
        <PossibleValue Comment="Disabled" Value="__NULL"/>
        <PossibleValue Comment="Enabled" Value="DSI_FLOW_CONTROL_EOTP_RX"/>
    </RefParameter>
    <RefParameter Comment="EoTP Error Interrupt" DefaultValue="HAL_DSI_ERROR_NONE" Name="EOTPEIE" Type="list"  TabName="Data and Clock Lanes" Group="Flow Control - Packet Analyzer Configuration">
        <PossibleValue Comment="Disable" Value="HAL_DSI_ERROR_NONE"/>
        <PossibleValue Comment="Enable" Value="HAL_DSI_ERROR_EOT"/>
    </RefParameter>

    <RefParameter Comment="EoTP Transmission is" DefaultValue="__NULL" Name="ETTX_FlowControl" Type="list" TabName="Data and Clock Lanes" Group="Flow Control - Configuration">
        <PossibleValue Comment="Disabled" Value="__NULL"/>
        <PossibleValue Comment="Enabled" Value="DSI_FLOW_CONTROL_EOTP_TX"/>
    </RefParameter>

    <RefParameter Comment="Bus Turn Around Request is" DefaultValue="DSI_FLOW_CONTROL_BTA" Name="BTA_FlowControl" Type="list" TabName="Data and Clock Lanes" Group="Basic Settings">
        <PossibleValue Comment="Disabled" Value="__NULL"/>
        <PossibleValue Comment="Enabled" Value="DSI_FLOW_CONTROL_BTA"/>
    </RefParameter>


    <RefParameter Comment="Flow Control All" DefaultValue="/BTA_FlowControl+|ETTX_FlowControl+|ETRX_FlowControl+|ECCX_FlowControl+|CRCX_FlowControl/\|__NULL//__NULL\|//"  Type="list"  Name="FlowControl"  TabName="Data and Clock Lanes" Group="Basic Settings" Visible="false">
    </RefParameter>

    <RefParameter Comment="Number of Lanes" DefaultValue="DSI_ONE_DATA_LANE" Name="NumberOfLanes" Type="list" TabName="Data and Clock Lanes" Group="Basic Settings">
        <Condition Diagnostic="" Expression="!Semaphore_onelane$IpInstance"/> 
        <PossibleValue Comment="One Data Lane " Value="DSI_ONE_DATA_LANE"/>
        <PossibleValue Comment="Two Data Lanes" Value="DSI_TWO_DATA_LANES"/>
    </RefParameter>
    <RefParameter Comment="Number of Lanes" DefaultValue="DSI_ONE_DATA_LANE" Name="NumberOfLanes" Type="list" TabName="Data and Clock Lanes" Group="Basic Settings">
        <Condition Diagnostic="" Expression="Semaphore_onelane$IpInstance"/> 
        <PossibleValue Comment="One Data Lane " Value="DSI_ONE_DATA_LANE"/>
    </RefParameter>

    <!--<RefParameter Comment="Set pull-down on Lanes" DefaultValue="__NULL" Name="State" Type="list" TabName="Data and Clock Lanes" Group="Basic Settings">
            <PossibleValue Comment="Enable" Value="ENABLE"/>
            <PossibleValue Comment="Disable" Value="__NULL"/>
    </RefParameter>-->
    <RefParameter Comment="Activate additional current path on clock and data lanes" DefaultValue="__NULL" Name="State_SDD" Type="list" TabName="Data and Clock Lanes" Group="Basic Settings" Mode="Advanced" >
        <PossibleValue Comment="Enable" Value="ENABLE"/>
        <PossibleValue Comment="Disable" Value="__NULL"/>
    </RefParameter>

    <RefParameter Comment="Automatic Clock Lane Control " DefaultValue="DSI_AUTO_CLK_LANE_CTRL_DISABLE" Name="AutomaticClockLaneControl" Type="list" TabName="Data and Clock Lanes" Group="Basic Settings">
        <PossibleValue Comment="Clock lane is always provided" Value="DSI_AUTO_CLK_LANE_CTRL_DISABLE"/>
        <PossibleValue Comment="Clock lane is not provided when time allows" Value="DSI_AUTO_CLK_LANE_CTRL_ENABLE"/>
    </RefParameter>


    <RefParameter Comment="Swap Clock Lane PINs" DefaultValue="__NULL" Name="SWAP_CLOCK_LANE_State" Type="list" TabName="Data and Clock Lanes" Group="Custom Lane Configuration" Mode="Advanced">
        <PossibleValue Comment="Disable" Value="__NULL"/>
        <PossibleValue Comment="Enable" Value="ENABLE"/>
    </RefParameter>
    <RefParameter Comment="Swap Data Lane 0 PINs" DefaultValue="__NULL" Name="SWAP_DATA_LANE0_State" Type="list" TabName="Data and Clock Lanes" Group="Custom Lane Configuration" Mode="Advanced">
        <PossibleValue Comment="Disable" Value="__NULL"/>
        <PossibleValue Comment="Enable" Value="ENABLE"/>
    </RefParameter>
    <RefParameter Comment="Swap Data Lane 1 PINS" DefaultValue="__NULL" Name="SWAP_DATA_LANE1_State" Type="list" TabName="Data and Clock Lanes" Group="Custom Lane Configuration" Mode="Advanced">
        <PossibleValue Comment="Disable" Value="__NULL"/>
        <PossibleValue Comment="Enable" Value="ENABLE"/>
    </RefParameter>
    <RefParameter Comment="Invert the HS signal on Clock Lanes" DefaultValue="__NULL" Name="INVERT_CLOCK_LANE_State" Type="list" TabName="Data and Clock Lanes" Group="Custom Lane Configuration" Mode="Advanced">
        <PossibleValue Comment="Disable" Value="__NULL"/>
        <PossibleValue Comment="Enable" Value="ENABLE"/>
    </RefParameter>
    <RefParameter Comment="Invert the HS signal on Data Lanes 0" DefaultValue="__NULL" Name="INVERT_DATA_LANE0_State" Type="list" TabName="Data and Clock Lanes" Group="Custom Lane Configuration" Mode="Advanced">
        <PossibleValue Comment="Disable" Value="__NULL"/>
        <PossibleValue Comment="Enable" Value="ENABLE"/>
    </RefParameter>
    <RefParameter Comment="Invert the HS signal on Data Lanes 1" DefaultValue="__NULL" Name="INVERT_DATA_LANE1_State" Type="list" TabName="Data and Clock Lanes" Group="Custom Lane Configuration" Mode="Advanced">
        <PossibleValue Comment="Disable" Value="__NULL"/>
        <PossibleValue Comment="Enable" Value="ENABLE"/>
    </RefParameter>

    <RefParameter Comment="" DefaultValue="DSI_DATA_LANES" Name="param_DSI_DATA_LANES" Type="string" TabName="Data and Clock Lanes" Group="HS Tranmission fine tuning" Mode="Advanced" Visible="false">
    </RefParameter>
    <RefParameter Comment="" DefaultValue="DSI_CLOCK_LANE" Name="param_DSI_CLOCK_LANE" Type="string" TabName="Data and Clock Lanes" Group="HS Tranmission fine tuning" Mode="Advanced" Visible="false">
    </RefParameter>
    <RefParameter Comment="" DefaultValue="DSI_CLOCK_LANE" Name="param_DSI_CLOCK_LANE_for_PIN" Type="string" TabName="Data and Clock Lanes" Group="Custom Lane Configuration" Mode="Advanced" Visible="false">
    </RefParameter>
    <RefParameter Comment="" DefaultValue="DSI_DATA_LANE0" Name="param_DSI_DATA_LANE0_for_PIN" Type="string" TabName="Data and Clock Lanes" Group="Custom Lane Configuration" Mode="Advanced" Visible="false">
    </RefParameter>
    <RefParameter Comment="" DefaultValue="DSI_DATA_LANE1" Name="param_DSI_DATA_LANE1_for_PIN" Type="string" TabName="Data and Clock Lanes" Group="Custom Lane Configuration" Mode="Advanced" Visible="false">
    </RefParameter>
    <RefParameter Comment="" DefaultValue="DSI_SWAP_LANE_PINS" Name="param_DSI_SWAP_LANE_PINS" Type="string" TabName="Data and Clock Lanes" Group="Custom Lane Configuration" Mode="Advanced" Visible="false">
    </RefParameter>
    <RefParameter Comment="" DefaultValue="DSI_INVERT_HS_SIGNAL" Name="param_DSI_INVERT_HS_SIGNAL" Type="string" TabName="Data and Clock Lanes" Group="Custom Lane Configuration" Mode="Advanced" Visible="false">
    </RefParameter>



    <RefParameter Comment="Slew-rate on Clock Lane" DefaultValue="0" Name="SLEW_RATE_HSTX_CLOCK_LANE_Value" Type="integer" Min="0" Max="10"  TabName="Data and Clock Lanes" Group="HS Tranmission fine tuning" Mode="Advanced">
    </RefParameter>
    <RefParameter Comment="valeur fonction" DefaultValue="DSI_SLEW_RATE_HSTX" Name="param_SLEW_RATE_HSTX_CLOCK_LANE" Type="string"  TabName="Data and Clock Lanes"  Group="HS Tranmission fine tuning" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="!(SLEW_RATE_HSTX_CLOCK_LANE_Value=0)"/> 
    </RefParameter>
    <RefParameter Comment="valeur fonction" DefaultValue="__NULL" Name="param_SLEW_RATE_HSTX_CLOCK_LANE" Type="string"  TabName="Data and Clock Lanes"  Group="HS Tranmission fine tuning" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="(SLEW_RATE_HSTX_CLOCK_LANE_Value=0)"/> 
    </RefParameter>

    <RefParameter Comment="Slew-rate on Data Lanes" DefaultValue="0" Name="SLEW_RATE_HSTX_DATA_LANES_Value" Type="integer" Min="0" Max="10" TabName="Data and Clock Lanes" Group="HS Tranmission fine tuning" Mode="Advanced">
    </RefParameter>
    <RefParameter Comment="valeur fonction" DefaultValue="DSI_SLEW_RATE_HSTX" Name="param_SLEW_RATE_HSTX_DATA_LANES" Type="string"  TabName="Data and Clock Lanes"  Group="HS Tranmission fine tuning" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="!(SLEW_RATE_HSTX_DATA_LANES_Value=0)"/> 
    </RefParameter>
    <RefParameter Comment="valeur fonction" DefaultValue="__NULL" Name="param_SLEW_RATE_HSTX_DATA_LANES" Type="string"  TabName="Data and Clock Lanes"  Group="HS Tranmission fine tuning" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="(SLEW_RATE_HSTX_DATA_LANES_Value=0)"/> 
    </RefParameter>


    <RefParameter Comment="Transmission Delay on Clock Lane" DefaultValue="0" Name="HS_DELAY_CLOCK_LANE_Value" Type="integer" Min="0" Max="10" TabName="Data and Clock Lanes" Group="HS Tranmission fine tuning" Mode="Advanced">
    </RefParameter>
    <RefParameter Comment="valeur fonction" DefaultValue="DSI_HS_DELAY" Name="param_HS_DELAY_CLOCK_LANE" Type="string"  TabName="Data and Clock Lanes"  Group="HS Tranmission fine tuning" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="!(HS_DELAY_CLOCK_LANE_Value=0)"/> 
    </RefParameter>
    <RefParameter Comment="valeur fonction" DefaultValue="__NULL" Name="param_HS_DELAY_CLOCK_LANE" Type="string"  TabName="Data and Clock Lanes"  Group="HS Tranmission fine tuning" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="(HS_DELAY_CLOCK_LANE_Value=0)"/> 
    </RefParameter>

    <RefParameter Comment="Transmission Delay on Data Lanes" DefaultValue="0" Name="HS_DELAY_DATA_LANES_Value" Type="integer" Min="0" Max="10" TabName="Data and Clock Lanes" Group="HS Tranmission fine tuning" Mode="Advanced">
    </RefParameter>
    <RefParameter Comment="valeur fonction" DefaultValue="DSI_HS_DELAY" Name="param_HS_DELAY_DATA_LANES" Type="string"  TabName="Data and Clock Lanes"  Group="HS Tranmission fine tuning" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="!(HS_DELAY_DATA_LANES_Value=0)"/> 
    </RefParameter>
    <RefParameter Comment="valeur fonction" DefaultValue="__NULL" Name="param_HS_DELAY_DATA_LANES" Type="string"  TabName="Data and Clock Lanes"  Group="HS Tranmission fine tuning" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="(HS_DELAY_DATA_LANES_Value=0)"/> 
    </RefParameter>


    <RefParameter Comment="Slew-rate on Clock Lane" DefaultValue="0" Name="SLEW_RATE_LPTX_CLOCK_LANE_Value" Type="integer" Min="0" Max="10" TabName="Data and Clock Lanes" Group="LP Tranmission fine tuning" Mode="Advanced">
    </RefParameter>
    <RefParameter Comment="valeur fonction" DefaultValue=" DSI_SLEW_RATE_LPTX" Name="param_SLEW_RATE_LPTX_CLOCK_LANE" Type="string"  TabName="Data and Clock Lanes"  Group="HS Tranmission fine tuning" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="!(SLEW_RATE_LPTX_CLOCK_LANE_Value=0)"/> 
    </RefParameter>
    <RefParameter Comment="valeur fonction" DefaultValue="__NULL" Name="param_SLEW_RATE_LPTX_CLOCK_LANE" Type="string"  TabName="Data and Clock Lanes"  Group="HS Tranmission fine tuning" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="(SLEW_RATE_LPTX_CLOCK_LANE_Value=0)"/> 
    </RefParameter>

    <RefParameter Comment="Slew-rate on Data Lanes" DefaultValue="0" Name="SLEW_RATE_LPTX_DATA_LANES_Value" Type="integer" Min="0" Max="10" TabName="Data and Clock Lanes" Group="LP Tranmission fine tuning" Mode="Advanced">
    </RefParameter>
    <RefParameter Comment="Cut-off frequency of the LP Reception Low-Pass Filter" DefaultValue="10000" Name="Frequency" Type="integer" Min="0" Max="10000" TabName="Data and Clock Lanes" Group="LP Reception fine tuning" Mode="Advanced">
    </RefParameter>
    <RefParameter Comment="valeur fonction" DefaultValue="DSI_SLEW_RATE_LPTX" Name="param_SLEW_RATE_LPTX_DATA_LANES" Type="string"  TabName="Data and Clock Lanes"  Group="HS Tranmission fine tuning" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="!(SLEW_RATE_LPTX_DATA_LANES_Value=0)"/> 
    </RefParameter>
    <RefParameter Comment="valeur fonction" DefaultValue="__NULL" Name="param_SLEW_RATE_LPTX_DATA_LANES" Type="string"  TabName="Data and Clock Lanes"  Group="HS Tranmission fine tuning" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="(SLEW_RATE_LPTX_DATA_LANES_Value=0)"/> 
    </RefParameter>




    <RefParameter Comment="Maximum time taken by the D-PHY clock lane to go from LP to HS transmission" DefaultValue="=(TimingPHY_TLPX_CLK_Value_ns + TimingPHY_TCLK_PREPARE_Value_ns + TimingPHY_TCLK_ZERO_Value_ns)*(RCC:DSIFreq_Value)/1000000000" Name="ClockLaneLP2HSTime" Type="integer" Min="0" Max="1023" Unit="lane byte clock cycles" TabName="PHY Timings"  Group="LP to HS and HS to LP Transitions Timings">
        <Description>LP2HS = TLPX_CLK + TCLK_PREPARE + TCLK_ZERO
        </Description>
    </RefParameter>
    <RefParameter Comment="   Resulting Maximum time taken by the D-PHY clock lane to go from LP to HS transmission" DefaultValue="=ClockLaneLP2HSTime*1000000000/(RCC:DSIFreq_Value)" Name="ClockLaneLP2HSTime_ns" Type="string"  Unit="ns" TabName="PHY Timings"  Group="LP to HS and HS to LP Transitions Timings">
    </RefParameter>

    <!-- TCLKEXIT=100ns    TCLKTRAIL=60ns  -->

    <RefParameter Comment="Maximum time taken by the D-PHY clock lane to go from HS to LP transmission" DefaultValue="=(TimingPHY_TCLK_POST_Value_ns + 100 + 60)*(RCC:DSIFreq_Value)/1000000000" Name="ClockLaneHS2LPTime" Type="integer" Min="0" Max="1023" Unit="lane byte clock cycles" TabName="PHY Timings"  Group="LP to HS and HS to LP Transitions Timings">
        <Description>HS2LP = TCLK_POST + TCLK_TRAIL + TCLK_EXIT
&lt;br&gt;TCLK_TRAIL=60ns
&lt;br&gt;TCLK_EXIT=100ns
        </Description>
    </RefParameter>
    <RefParameter Comment="   Resulting Maximum time taken by the D-PHY clock lane to go from HS to LP transmission" DefaultValue="=ClockLaneHS2LPTime*1000000000/(RCC:DSIFreq_Value)" Name="ClockLaneHS2LPTime_ns" Type="string"   TabName="PHY Timings" Unit="ns" Group="LP to HS and HS to LP Transitions Timings">
    </RefParameter>

    <RefParameter Comment="Maximum time taken by the D-PHY data lane to go from HS to LP transmission" DefaultValue="=(TimingPHY_THS_TRAIL_Value_ns + TimingPHY_THS_EXIT_Value_ns)*(RCC:DSIFreq_Value)/1000000000" Name="DataLaneHS2LPTime" Type="integer" Min="0" Max="255" Unit="lane byte clock cycles" TabName="PHY Timings"  Group="LP to HS and HS to LP Transitions Timings">
        <Description>HS2LP = THS_TRAIL + THS_EXIT
        </Description>
    </RefParameter>
    <RefParameter Comment="   Resulting Maximum time taken by the D-PHY data lane to go from HS to LP transmission" DefaultValue="=DataLaneHS2LPTime*1000000000/(RCC:DSIFreq_Value)" Name="DataLaneHS2LPTime_ns" Type="string"  Unit="ns"  TabName="PHY Timings"  Group="LP to HS and HS to LP Transitions Timings">
    </RefParameter>

    <RefParameter Comment="Maximum time taken by the D-PHY data lane to go from LP to HS transmission" DefaultValue="=(TimingPHY_TLPX_DATA_Value + TimingPHY_THS_PREPARE_Value + TimingPHY_THS_ZERO_Value)*(RCC:DSIFreq_Value)/1000000000" Name="DataLaneLP2HSTime" Type="integer" Min="0" Max="255" Unit="lane byte clock cycles" TabName="PHY Timings"  Group="LP to HS and HS to LP Transitions Timings">
        <Description>LP2HS = TLPX_DATA + THS_PREPARE + THS_ZERO
        </Description>

    </RefParameter>
    <RefParameter Comment="   Resulting Maximum time taken by the D-PHY data lane to go from LP to HS transmission" DefaultValue="=DataLaneLP2HSTime*1000000000/(RCC:DSIFreq_Value)" Name="DataLaneLP2HSTime_ns" Type="string"  Unit="ns" TabName="PHY Timings"  Group="LP to HS and HS to LP Transitions Timings">
    </RefParameter>

    <RefParameter Comment="Maximum time taken to perform a read command" DefaultValue="0" Name="DataLaneMaxReadTime" Type="integer" Min="0" Max="32767" Unit="lane byte clock cycles" TabName="Commands"  Group="Read Command Timing">
        <Condition Diagnostic="" Expression="Semaphore_LPCOMMANDENABLE$IpInstance"/> 
        <Description>The MRD_TIME field is used in LP mode to determine if there is time to complete a read command in a BLLP period. MRD_TIME = Time to transmit the read command in LP mode + Time to enter and leave LPmode + Time to return the read data packet from the peripheral device.
&lt;br&gt;MRD_TIME = (tHS2LP + tLP2HS + tLPDT + tlprd + tread + 2xtBTA) / lanebyteclkperiod.
&lt;br&gt;Timings are expressed in ns. 
&lt;br&gt;tHS2LP = time to enter the LP mode. 
&lt;br&gt;tLP2HS = time to leave the LP mode. 
&lt;br&gt;tLPDT = D-PHY timing related to Escape mode entry, LPDT command, and Escape mode exit (according to the D-PHY specification, this value is always 11 bits in LP. &lt;br&gt;tlprd = Read command time in LP mode (64 * TX esc clock). 
&lt;br&gt;tread = Time to return the read data packet from the peripheral. 
&lt;br&gt;tBTA = time to perform a bus turnaround (D-PHY dependent).</Description>
    </RefParameter>
    <RefParameter Comment="Maximum time taken to perform a read command" DefaultValue="0" Name="DataLaneMaxReadTime" Type="integer" Min="0" Max="32767" Unit="lane byte clock cycles" TabName="Commands"  Group="Read Command Timing">
        <Condition Diagnostic="" Expression="!Semaphore_LPCOMMANDENABLE$IpInstance"/> 
        <Description>The MRD_TIME field is used in HS to determine if there is time to complete a read command in a BLLP period.
&lt;br&gt;MRD_TIME = Time to enter and leave LPmode + Time to return the read data packet from the peripheral device.
&lt;br&gt;MRD_TIME = (tHS2LP + tLP2HS + tread + 2 x tBTA) / lanebyteclkperiod.
&lt;br&gt;Timings are expressed in ns.
&lt;br&gt;tHS2LP = time to enter the LP mode.
&lt;br&gt;tLP2HS = time to leave the LP mode.
&lt;br&gt;tread = Time to return the read data packet from the peripheral.
&lt;br&gt;tBTA = time to perform a bus turnaround (D-PHY dependent).</Description>
    </RefParameter>
    <RefParameter Comment="   Resulting Maximum time taken to perform a read command" DefaultValue="=DataLaneMaxReadTime*1000000000/(RCC:DSIFreq_Value)" Name="DataLaneMaxReadTime_ns" Type="string" Unit="ns" TabName="Commands"  Group="Read Command Timing" Visible="false">
    </RefParameter>

    <RefParameter Comment="Minimum wait period to request a HS transmission after the Stop state (min is 1 cycle of escape clock)" DefaultValue="0" Name="StopWaitTime" Type="integer" Min="0" Max="255" Unit="lane byte clock cycles" TabName="PHY Timings"  Group="LP to HS and HS to LP Transitions Timings">
    </RefParameter>
    <RefParameter Comment="   Resulting Minimum wait period to request a HS transmission after the Stop state (min is 1 cycle of escape clock)" DefaultValue="=StopWaitTime*1000000000/(RCC:DSIFreq_Value)" Name="StopWaitTime_ns" Type="string"  Unit="ns" TabName="PHY Timings"  Group="LP to HS and HS to LP Transitions Timings">
    </RefParameter>





    <RefParameter Comment="High Speed Clock - PLLDSI Output" DefaultValue="=(RCC:PLLDSIFreq_Value)/1000" Name="HighSpeedClockfromDSI_noparam" Type="string" Unit="kHz"  TabName="DSI Clocks" Group="from PLLDSI">
    </RefParameter>
    <RefParameter Comment="Lane Byte Clock" DefaultValue="=(RCC:DSIFreq_Value)/1000" Name="LaneByteClockfromDSI_noparam" Type="string" Unit="kHz"  TabName="DSI Clocks" Group="from PLLDSI">
    </RefParameter>
    <RefParameter Comment="Lane Byte Clock" DefaultValue="=(RCC:PLL4PDSIFreq_Value)/1000" Name="LaneByteClockfromPLL4P_noparam" Type="string" Unit="kHz"  TabName="DSI Clocks" Group="from PLL4P">
    </RefParameter>
    <RefParameter Comment="Transmission Escape Clock" DefaultValue="=(RCC:DSIFreq_Value)/((RCC:DSITX_Div)*1000)" Name="TransmissionEscapeClockfromDSI_noparam" Type="string" Unit="kHz"  TabName="DSI Clocks" Group="from PLLDSI">
    </RefParameter>
    <RefParameter Comment="Transmission Escape Clock" DefaultValue="=(RCC:PLL4PDSIFreq_Value)/((RCC:DSITX_Div)*1000)" Name="TransmissionEscapeClockfromPLL4P_noparam" Type="string" Unit="kHz"  TabName="DSI Clocks" Group="from PLL4P">
    </RefParameter>
    <RefParameter Comment="          Escape Clock Divider" DefaultValue="=RCC:DSITX_Div" Name="EscapeClockDivider_noparam" Type="string"  TabName="DSI Clocks" Group="from PLLDSI" Visible="false">
    </RefParameter>
    <RefParameter Comment="Time Out Clock" DefaultValue="=(LaneByteClockfromDSI_noparam/TimeoutCkdiv)" Name="TimeOutClockfromDSI_noparam" Type="string" Unit="kHz"  TabName="DSI Clocks" Group="from PLLDSI">
    </RefParameter>
    <RefParameter Comment="Time Out Clock - from PLLDSI" DefaultValue="=TimeOutClockfromDSI_noparam" Name="TimeOutClockfromDSI_noparamfortimeout" Type="string" Unit="kHz"  TabName="Timeout Counters" Group="Time Out Clock Setting">
    </RefParameter>
    <RefParameter Comment="Time Out Clock" DefaultValue="=(LaneByteClockfromPLL4P_noparam/TimeoutCkdiv)" Name="TimeOutClockfromPLL4P_noparam" Type="string" Unit="kHz"  TabName="DSI Clocks" Group="from PLL4P">
    </RefParameter>
    <RefParameter Comment="Time Out Clock Divider" DefaultValue="1" Name="TimeoutCkdiv" Type="integer" Min="1" Max="256"  TabName="Timeout Counters" Group="Time Out Clock Setting">
    </RefParameter>


    <RefParameter Comment="Video Mode" DefaultValue="DSI_VID_MODE_NB_PULSES" Name="Mode" Type="list" TabName="Display Interface" Group="Video Mode Configuration">
        <PossibleValue Comment="Burst Mode" Value="DSI_VID_MODE_BURST" Semaphore="Semaphore_BURSTVIDEO$IpInstance"/>
        <PossibleValue Comment="Non Burst Mode with Sync" Value="DSI_VID_MODE_NB_PULSES"/>
        <PossibleValue Comment="Non Burst Mode with Event" Value="DSI_VID_MODE_NB_EVENTS"/>
        <Description>The Burst mode increases the probability of the link spending more time in low-power mode: the DSI output bandwidth should be higher than the LTDC input bandwidth in a relation that enables the link to go to low-power once per line.
&lt;br&gt; The condition to use BURST mode is that the display device should support receiving a full pixel line in a single packet burst; if not use the Non Burst Mode</Description>
    </RefParameter>

    <RefParameter Comment="Video Packet Size" DefaultValue="4" Name="PacketSize" Type="integer" Min="1" Max="8191" TabName="Display Interface" Unit="Pixels" Group="Video Mode Configuration">
        <ValueCondition Diagnostic="Value must be modulo 4" Expression="MOD(Value,4) = 0"/>
        <Condition Diagnostic="" Expression="Semaphore_NOTLOOSELY$IpInstance"/> 
        <Description>The video packet size is limited by the size of the Pixel FIFO inside the display device.
&lt;br&gt;For 18-bit not loosely packed data types, this number must be a multiple of 4</Description>
    </RefParameter>

    <RefParameter Comment="Video Packet Size" DefaultValue="=MAX(LTDC:ActiveW,1)" Name="PacketSize" Type="integer" Min="1" Max="8191" TabName="Display Interface" Unit="Pixels" Group="Video Mode Configuration">
        <Condition Diagnostic="" Expression="!Semaphore_NOTLOOSELY$IpInstance &amp; Semaphore_BURSTVIDEO$IpInstance"/> 
        <Description>The entire active pixel line is transmitted in a single packet.The display device should support receiving a full pixel line in a single packet burst</Description>
    </RefParameter>
    <RefParameter Comment="Video Packet Size" DefaultValue="1" Name="PacketSize" Type="integer" Min="1" Max="8191"  TabName="Display Interface" Unit="Pixels" Group="Video Mode Configuration">
        <Condition Diagnostic="" Expression="!Semaphore_NOTLOOSELY$IpInstance &amp; !Semaphore_BURSTVIDEO$IpInstance"/> 
        <Description>The video packet size is limited by the size of the Pixel FIFO inside the display device.</Description>
    </RefParameter>
    <RefParameter Comment="Number of Chuncks" DefaultValue="=(HorizontalActiveDuration_LTDC_noparam/PacketSize)" Name="NumberOfChunks" Type="string" Min="0" Max="8191" TabName="Display Interface" Group="Video Mode Configuration">
        <Condition Diagnostic="" Expression="!Semaphore_BURSTVIDEO$IpInstance &amp; (MOD(HorizontalActiveDuration_LTDC_noparam,PacketSize) = 0)"/> 
        <Description>The pixel line is divided into several chunks of Video Packet Size pixels .
&lt;br&gt;If set to 0 or 1, the video line is transmitted in a single packet.
&lt;br&gt;If set to 1, the packet is part of a chunk, so a null packet follows it if Null Packet SIZE > 0.
&lt;br&gt;You must set the value to have  Video Packet Size * Number of Chuncks = Number of Pixels per Line</Description>
    </RefParameter>
    <RefParameter Comment="Number of Chuncks" DefaultValue="=(HorizontalActiveDuration_LTDC_noparam/PacketSize+0.5)" Name="NumberOfChunks" Type="string" Min="0" Max="8191" TabName="Display Interface" Group="Video Mode Configuration">
        <Condition Diagnostic="" Expression="!Semaphore_BURSTVIDEO$IpInstance &amp; !(MOD(HorizontalActiveDuration_LTDC_noparam,PacketSize) = 0)"/> 
        <Description>The pixel line is divided into several chunks of Video Packet Size pixels .
&lt;br&gt;If set to 0 or 1, the video line is transmitted in a single packet.
&lt;br&gt;If set to 1, the packet is part of a chunk, so a null packet follows it if Null Packet SIZE > 0.
&lt;br&gt;You must set the value to have  Video Packet Size * Number of Chuncks = Number of Pixels per Line</Description>
    </RefParameter>
    <RefParameter Comment="Number of Chuncks" DefaultValue="0" Name="NumberOfChunks" Type="integer" Min="0" Max="8191" TabName="Display Interface" Group="Video Mode Configuration" Visible="false">
        <Condition Diagnostic="" Expression="Semaphore_BURSTVIDEO$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="Null Packet Size" DefaultValue="0" Name="NullPacketSize" Type="integer"  Min="0" Max="8191"  TabName="Display Interface" Unit="Bytes" Group="Video Mode Configuration">
        <Condition Diagnostic="" Expression="!Semaphore_BURSTVIDEO$IpInstance"/> 
        <Description>Each chunk is composed of Video Packet Size pixels followed by Null Packet Size in a way that LTDC interface input pixel ratio matches with the DSI output pixel ratio.
&lt;br&gt;If Null Packet are allowed, the following equation has to be verified :
&lt;br&gt; lanebyteclkperiod * Number_of_Chuncks (VideoPacketSize * bytes_per_pixel + 12 + NullPacketSize) / number_of_lanes = pixels_per_line * LTDC_Clock_period
&lt;br&gt;If Null Packet are not allowed, the following equation has to be verified :
&lt;br&gt; lanebyteclkperiod * Number_of_Chuncks (VideoPacketSize * bytes_per_pixel + 6) / number_of_lanes = pixels_per_line * LTDC_Clock_period

        </Description>
    </RefParameter>

    <RefParameter Comment="Null Packet Size" DefaultValue="0" Name="NullPacketSize" Type="integer"  Min="0" Max="8191"  TabName="Display Interface" Unit="Pixels" Group="Video Mode Configuration" Visible="false">
        <Condition Diagnostic="" Expression="Semaphore_BURSTVIDEO$IpInstance"/> 
    </RefParameter>



    <RefParameter Comment="Horizontal Front-Porch (HFP) Period" DefaultValue="DSI_LP_HFP_DISABLE" Name="LPHorizontalFrontPorchEnable" Type="list" TabName="Display Interface" Group="Enabling Low-Power Transitions during: ">
        <PossibleValue Comment="Disable" Value="DSI_LP_HFP_DISABLE"/>
        <PossibleValue Comment="Enable" Value="DSI_LP_HFP_ENABLE"/>
    </RefParameter>
    <RefParameter Comment="Horizontal Back-Porch (HBP) Period" DefaultValue="DSI_LP_HBP_DISABLE" Name="LPHorizontalBackPorchEnable" Type="list" TabName="Display Interface" Group="Enabling Low-Power Transitions during: ">
        <PossibleValue Comment="Disable" Value="DSI_LP_HBP_DISABLE"/>
        <PossibleValue Comment="Enable" Value="DSI_LP_HBP_ENABLE"/>
    </RefParameter>
    <RefParameter Comment="Vertical Active (VACT) Period" DefaultValue="DSI_LP_VACT_DISABLE" Name="LPVerticalActiveEnable" Type="list" TabName="Display Interface" Group="Enabling Low-Power Transitions during: ">
        <PossibleValue Comment="Disable" Value="DSI_LP_VACT_DISABLE"/>
        <PossibleValue Comment="Enable" Value="DSI_LP_VACT_ENABLE"/>
    </RefParameter>
    <RefParameter Comment="Vertical Front Porch (VFP) Period" DefaultValue="DSI_LP_VFP_DISABLE" Name="LPVerticalFrontPorchEnable" Type="list" TabName="Display Interface" Group="Enabling Low-Power Transitions during: ">
        <PossibleValue Comment="Disable" Value="DSI_LP_VFP_DISABLE"/>
        <PossibleValue Comment="Enable" Value="DSI_LP_VFP_ENABLE"/>
    </RefParameter>
    <RefParameter Comment="Vertical Back Porch (VBP) Period" DefaultValue="DSI_LP_VBP_DISABLE" Name="LPVerticalBackPorchEnable" Type="list" TabName="Display Interface" Group="Enabling Low-Power Transitions during: ">
        <PossibleValue Comment="Disable" Value="DSI_LP_VBP_DISABLE"/>
        <PossibleValue Comment="Enable" Value="DSI_LP_VBP_ENABLE"/>
    </RefParameter>
    <RefParameter Comment="Vertical Sync time (VSA) Period" DefaultValue="DSI_LP_VSYNC_DISABLE" Name="LPVerticalSyncActiveEnable" Type="list" TabName="Display Interface" Group="Enabling Low-Power Transitions during: ">
        <PossibleValue Comment="Disable" Value="DSI_LP_VSYNC_DISABLE"/>
        <PossibleValue Comment="Enable" Value="DSI_LP_VSYNC_ENABLE"/>
    </RefParameter>

    <RefParameter Comment="During HS Video Mode, Commands are Transmited in" DefaultValue="DSI_LP_COMMAND_DISABLE" Name="LPCommandEnable" Type="list" TabName="Commands" Group="Transmission of Commands during HS Video Transmission Mode">
        <Description>If the commands are sent in high-speed in Video mode, the DSI Host automatically determines the area where each command can be sent and no programming or calculation is required.</Description>
        <PossibleValue Comment="High Speed" Value="DSI_LP_COMMAND_DISABLE"/>
        <PossibleValue Comment="Low Power" Value="DSI_LP_COMMAND_ENABLE" Semaphore="Semaphore_LPCOMMANDENABLE$IpInstance"/>
    </RefParameter>

    <RefParameter Comment="The size of the LP largest packet that can fit in a line during VSA, VBP and VFP regions" DefaultValue="0" Name="LPLargestPacketSize" Type="integer" Min="0" Max="255"  TabName="Commands" Unit="Bytes" Group="Maximum Size allowed for Commands (except Read Command)">
        <Condition Diagnostic="" Expression="Semaphore_LPCOMMANDENABLE$IpInstance"/> 
        <Description>The LPSIZE field is compared directly with the size of the command to be transmitted to determine if there is time to transmit the command.
&lt;br&gt; LPSIZE = (tL - (tH1 + tHS2LP + tLP2HS + tLPDT + 2 tESCCLK)) / (2.8.tESCCLK).
&lt;br&gt; Timings are expressed in ns.
&lt;br&gt; tL = line time.
&lt;br&gt; tH1 = time of the HSA pulse for sync pulses mode or time to send the HSS packet, including EoTp.
&lt;br&gt; tHS2LP = time to enter the LP mode. tLP2HS = time to leave the LP mode.
&lt;br&gt; tLPDT = D-PHY timing related with Escape mode Entry, LPDT Command, and Escape Exit. According to the D-PHY specification, this value is always 11 bits in LP.
&lt;br&gt; tESCCLK = escape clock period
&lt;br&gt; the term 2 tESCCLK is a delay imposed by the DSI Host implementation.
&lt;br&gt; The division by (2.8.tESCCLK) allows to expressed LPSIZE in number of Bytes transfered using the Escape Clock where 1 byte is transmitted every 2 cycles </Description>
    </RefParameter>
    <RefParameter Comment="The size of the LP largest packet that can fit in a line during VSA, VBP and VFP regions" DefaultValue="0" Name="LPLargestPacketSize" Type="integer" Min="0" Max="255"  TabName="Commands" Unit="Bytes" Group="Maximum Size allowed for Commands (except Read Command)" Visible="false">
        <Condition Diagnostic="" Expression="!Semaphore_LPCOMMANDENABLE$IpInstance"/> 
    </RefParameter>

    <RefParameter Comment="The size of the LP largest packet that can fit in a line during VACT region" DefaultValue="0" Name="LPVACTLargestPacketSize" Type="integer" Min="0" Max="255"  TabName="Commands" Unit="Bytes" Group="Maximum Size allowed for Commands (except Read Command)">
        <Condition Diagnostic="" Expression="Semaphore_LPCOMMANDENABLE$IpInstance &amp; Semaphore_BURSTVIDEO$IpInstance"/> 
        <Description>The VLPSIZE field is compared directly with the size of the command to be transmitted to determine if there is time to transmit the command.
&lt;br&gt; VLPSIZE = (tL - (tHSA + tHBP + tHACT + tHS2LP + tLP2HS + tLPDT + 2 tESCCLK))/(2 . 8 . tESCCLK).
&lt;br&gt; Timings are expressed in ns.
&lt;br&gt; tL = line time.
&lt;br&gt; tHSA = time of the HSA pulse. 
&lt;br&gt; tHBP = time of Horizontal back porch.
&lt;br&gt; tHACT = time of Video active. For Burst mode, the Video active is time compressed and is calculated as tHACT = (VPSIZE.Bytes_per_Pixel/Number_Lanes).tlanebyteclock
&lt;br&gt; tlanebyteclock = lane byte clock period
&lt;br&gt; tESCCLK = escape clock period
&lt;br&gt; tHS2LP = time to enter the LP mode. tLP2HS = time to leave the LP mode.
&lt;br&gt; tLPDT = D-PHY timing related with Escape mode Entry, LPDT Command, and Escape Exit. According to the D-PHY specification, this value is always 11 bits in LP.
&lt;br&gt;  The division by (2.8.tESCCLK) allows to expressed LPSIZE in number of Bytes transfered using the Escape Clock where 1 byte is transmitted every 2 cycles</Description>
    </RefParameter>
    <RefParameter Comment="The size of the LP largest packet that can fit in a line during VACT region" DefaultValue="0" Name="LPVACTLargestPacketSize" Type="integer" Min="0" Max="255"  TabName="Commands" Unit="Bytes" Group="Maximum Size allowed for Commands (except Read Command)">
        <Condition Diagnostic="" Expression="Semaphore_LPCOMMANDENABLE$IpInstance &amp; !Semaphore_BURSTVIDEO$IpInstance"/> 
        <Description>The VLPSIZE field is compared directly with the size of the command to be transmitted to determine if there is time to transmit the command.
&lt;br&gt; VLPSIZE = (tL - (tHSA + tHBP + tHACT + tHS2LP + tLP2HS + tLPDT + 2 tESCCLK))/(2 . 8 . tESCCLK).
&lt;br&gt; Timings are expressed in ns.
&lt;br&gt; tL = line time.
&lt;br&gt; tHSA = time of the HSA pulse. 
&lt;br&gt; tHBP = time of Horizontal back porch.
&lt;br&gt; tHACT = time of Video active. 
&lt;br&gt; tESCCLK = escape clock period
&lt;br&gt; tHS2LP = time to enter the LP mode. tLP2HS = time to leave the LP mode.
&lt;br&gt; tLPDT = D-PHY timing related with Escape mode Entry, LPDT Command, and Escape Exit. According to the D-PHY specification, this value is always 11 bits in LP.
&lt;br&gt;  The division by (2.8.tESCCLK) allows to expressed LPSIZE in number of Bytes transfered using the Escape Clock where 1 byte is transmitted every 2 cycles</Description>
    </RefParameter>
    <RefParameter Comment="The size of the LP largest packet that can fit in a line during VACT region" DefaultValue="0" Name="LPVACTLargestPacketSize" Type="integer" Min="0" Max="255"  TabName="Commands" Unit="Bytes" Group="Maximum Size allowed for Commands (except Read Command)" Visible="false">
        <Condition Diagnostic="" Expression="!Semaphore_LPCOMMANDENABLE$IpInstance"/> 
    </RefParameter>

       

    <RefParameter Comment="VSA: Vertical Synchronism Active duration (Default value is retrieved from LTDC)" DefaultValue="=VerticalSyncActive_LTDC_noparam" Name="VerticalSyncActive" Unit="Horizontal Lines" Type="integer" Min="0" Max="1023" TabName="Display Interface" Group="Frame Vertical Timings">
    </RefParameter>
    <RefParameter Comment="VBP: Vertical Back-Porch duration (Default value is retrieved from LTDC)" DefaultValue="=VerticalBackPorch_LTDC_noparam" Name="VerticalBackPorch" Unit="Horizontal Lines" Type="integer" Min="0" Max="1023" TabName="Display Interface" Group="Frame Vertical Timings">
    </RefParameter>
    <RefParameter Comment="VFP: Vertical Front-Porch duration (Default value is retrieved from LTDC)" DefaultValue="=VerticalFrontPorch_LTDC_noparam" Name="VerticalFrontPorch" Unit="Horizontal Lines" Type="integer" Min="0" Max="1023" TabName="Display Interface" Group="Frame Vertical Timings">
    </RefParameter>
    <RefParameter Comment="VACT: Vertical Active duration (Default value is retrieved from LTDC)" DefaultValue="=VerticalActive_LTDC_noparam" Name="VerticalActive" Unit="Horizontal Lines" Type="integer"  TabName="Display Interface"  Min="0" Max="16383" Group="Frame Vertical Timings">
    </RefParameter>
    <RefParameter Comment="HSA: Horizontal Synchronism Active duration (Default value is retrieved from LTDC)" DefaultValue="=((LTDC:HSync)*(RCC:DSIFreq_Value)/(RCC:LTDCFreq_Value))" Name="HorizontalSyncActive" Unit="lane byte clock cycles" Type="integer" Min="0" Max="4095" TabName="Display Interface" Group="Frame Horizontal Timings">
    </RefParameter>
    <RefParameter Comment="HBP: Horizontal Back-Porch duration (Default value is retrieved from LTDC)" DefaultValue="=((LTDC:HBP)*(RCC:DSIFreq_Value)/(RCC:LTDCFreq_Value))" Name="HorizontalBackPorch" Unit="lane byte clock cycles" Type="integer" Min="0" Max="4095" TabName="Display Interface" Group="Frame Horizontal Timings">
    </RefParameter>
    <RefParameter Comment="HACT: Horizontal Active Duration NO PARAM" DefaultValue="to be calculated depends on mode, burst, ..." Name="HorizontalActiveDuration_noparam" Unit="lane byte clock cycles" Type="string" TabName="Display Interface" Group="Frame Horizontal Timings" Visible="false">
    </RefParameter>
    <RefParameter Comment="HLINE: Horizontal Line duration (Default value is retrieved from LTDC)" DefaultValue="=((LTDC:TotalWidth+1)*(RCC:DSIFreq_Value)/(RCC:LTDCFreq_Value))" Name="HorizontalLine" Unit="lane byte clock cycles" Type="integer" Min="0" Max="32767" TabName="Display Interface" Group="Frame Horizontal Timings">
        <Condition Diagnostic="only in video mode" Expression="Semaphore_MODEVIDEO$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="HLINE: Horizontal Line duration (Default value is retrieved from LTDC)" DefaultValue="__NULL" Name="HorizontalLine" Unit="lane byte clock cycles" Type="integer" Min="0" Max="32767" TabName="Display Interface" Group="Frame Horizontal Timings" Visible="false">
        <Condition Diagnostic="only in video mode" Expression="!Semaphore_MODEVIDEO$IpInstance"/> 
    </RefParameter>


    <RefParameter Comment="LTDC Pixel Clock (from Clock tree)" DefaultValue="=(RCC:LTDCFreq_Value)/1000000" Name="LTDCPixelClock_noparam" Unit="MHZ" Type="string"  TabName="LTDC Interface" Group="Clocking">
    </RefParameter>
    <RefParameter Comment="VSA: Vertical Synchronism Active duration (set in LTDC)" DefaultValue="=LTDC:VSync" Name="VerticalSyncActive_LTDC_noparam" Unit="Horizontal Lines" Type="string"  TabName="LTDC Interface" Group="Frame Vertical Timings">
    </RefParameter>
    <RefParameter Comment="VBP: Vertical Back-Porch duration (set in LTDC)" DefaultValue="=LTDC:VBP" Name="VerticalBackPorch_LTDC_noparam" Unit="Horizontal Lines" Type="string" TabName="LTDC Interface" Group="Frame Vertical Timings">
    </RefParameter>
    <RefParameter Comment="VFP: Vertical Front-Porch duration (set in LTDC)" DefaultValue="=LTDC:VFP" Name="VerticalFrontPorch_LTDC_noparam" Unit="Horizontal Lines" Type="string"  TabName="LTDC Interface" Group="Frame Vertical Timings">
    </RefParameter>
    <RefParameter Comment="VACT: Vertical Active duration (set in LTDC)" DefaultValue="=LTDC:ActiveH" Name="VerticalActive_LTDC_noparam" Unit="Horizontal Lines" Type="string"  TabName="LTDC Interface" Group="Frame Vertical Timings">
    </RefParameter>
    <RefParameter Comment="HSA: Horizontal Synchronism Active duration (set in LTDC)" DefaultValue="=LTDC:HSync" Name="HorizontalSyncActive_LTDC_noparam" Unit="LTDC Pixel Clock Cycles" Type="string"  TabName="LTDC Interface" Group="Frame Horizontal Timings">
    </RefParameter>
    <RefParameter Comment="HBP: Horizontal Back-Porch duration (set in LTDC)" DefaultValue="=LTDC:HBP" Name="HorizontalBackPorch_LTDC_noparam" Unit="LTDC Pixel Clock Cycles" Type="string" Min="0" Max="25" TabName="LTDC Interface" Group="Frame Horizontal Timings">
    </RefParameter>
    <RefParameter Comment="HACT: Horizontal Active duration (set in LTDC)" DefaultValue="=LTDC:ActiveW" Name="HorizontalActiveDuration_LTDC_noparam" Unit="LTDC Pixel Clock Cycles" Type="string" TabName="LTDC Interface" Group="Frame Horizontal Timings">
    </RefParameter>
    <RefParameter Comment="HLINE: Horizontal Line duration (set in LTDC)" DefaultValue="=LTDC:TotalWidth +1" Name="HorizontalLine_LTDC_noparam" Unit="LTDC Pixel Clock Cycles" Type="string"  TabName="LTDC Interface" Group="Frame Horizontal Timings">
    </RefParameter>


    <RefParameter Comment="HSYNC Polarity (set in LTDC)" DefaultValue="DSI_HSYNC_ACTIVE_HIGH" Name="HSPolarity" Type="string"  TabName="LTDC Interface" Group="Polarity of the Control Signals" Visible="true">
        <Condition Diagnostic="for the control signals, as the setting done in the LTDC IP has to be coherent with the setting done in the DSI, the setting can't be changed here. If it has to be changed, please change it in the LTDC IP." Expression="LTDC:HSPolarity = LTDC_HSPOLARITY_AH"/> 
        <PossibleValue Comment="PIN is Active High" Value="DSI_HSYNC_ACTIVE_HIGH"/>
        <PossibleValue Comment="PIN is Active Low" Value="DSI_HSYNC_ACTIVE_LOW"/>
    </RefParameter>
    <RefParameter Comment="HSYNC Polarity (set in LTDC)" DefaultValue="DSI_HSYNC_ACTIVE_LOW" Name="HSPolarity" Type="string"  TabName="LTDC Interface" Group="Polarity of the Control Signals" Visible="true">
        <Condition Diagnostic="for the control signals, as the setting done in the LTDC IP has to be coherent with the setting done in the DSI, the setting can't be changed here. If it has to be changed, please change it in the LTDC IP." Expression="LTDC:HSPolarity = LTDC_HSPOLARITY_AL"/> 
        <PossibleValue Comment="PIN is Active High" Value="DSI_HSYNC_ACTIVE_HIGH"/>
        <PossibleValue Comment="PIN is Active Low" Value="DSI_HSYNC_ACTIVE_LOW"/>
    </RefParameter>

    <RefParameter Comment="VSYNC Polarity (set in LTDC)" DefaultValue="DSI_VSYNC_ACTIVE_HIGH" Name="VSPolarity" Type="string"  TabName="LTDC Interface" Group="Polarity of the Control Signals" Visible="true">
        <Condition Diagnostic="for the control signals, as the setting done in the LTDC IP has to be coherent with the setting done in the DSI, the setting can't be changed here. If it has to be changed, please change it in the LTDC IP." Expression="LTDC:VSPolarity = LTDC_VSPOLARITY_AH"/> 
        <PossibleValue Comment="PIN is Active High" Value="DSI_VSYNC_ACTIVE_HIGH"/>
        <PossibleValue Comment="PIN is Active Low" Value="DSI_VSYNC_ACTIVE_LOW"/>
    </RefParameter>
    <RefParameter Comment="VSYNC Polarity (set in LTDC)" DefaultValue="DSI_VSYNC_ACTIVE_LOW" Name="VSPolarity" Type="string"  TabName="LTDC Interface" Group="Polarity of the Control Signals" Visible="true">
        <Condition Diagnostic="for the control signals, as the setting done in the LTDC IP has to be coherent with the setting done in the DSI, the setting can't be changed here. If it has to be changed, please change it in the LTDC IP." Expression="LTDC:VSPolarity = LTDC_VSPOLARITY_AL"/> 
        <PossibleValue Comment="PIN is Active High" Value="DSI_VSYNC_ACTIVE_HIGH"/>
        <PossibleValue Comment="PIN is Active Low" Value="DSI_VSYNC_ACTIVE_LOW"/>
    </RefParameter>



    <RefParameter Comment="Data Enable Polarity (set in LTDC)" DefaultValue="DSI_DATA_ENABLE_ACTIVE_HIGH" Name="DEPolarity" Type="string"  TabName="LTDC Interface" Group="Polarity of the Control Signals" Visible="true">
        <Condition Diagnostic="for the control signals, as the setting done in the LTDC IP has to be coherent with the setting done in the DSI, the setting can't be changed here. If it has to be changed, please change it in the LTDC IP." Expression="LTDC:DEPolarity = LTDC_DEPOLARITY_AL"/> 
        <PossibleValue Comment="PIN is Active High" Value="DSI_DATA_ENABLE_ACTIVE_HIGH"/>
        <PossibleValue Comment="PIN is Active Low" Value="DSI_DATA_ENABLE_ACTIVE_LOW"/>
    </RefParameter>

    <RefParameter Comment="Data Enable Polarity (set in LTDC)" DefaultValue="DSI_DATA_ENABLE_ACTIVE_LOW" Name="DEPolarity" Type="string"  TabName="LTDC Interface" Group="Polarity of the Control Signals" Visible="true">
        <Condition Diagnostic="for the control signals, as the setting done in the LTDC IP has to be coherent with the setting done in the DSI, the setting can't be changed here. If it has to be changed, please change it in the LTDC IP." Expression="LTDC:DEPolarity = LTDC_DEPOLARITY_AH"/> 
        <PossibleValue Comment="PIN is Active High" Value="DSI_DATA_ENABLE_ACTIVE_HIGH"/>
        <PossibleValue Comment="PIN is Active Low" Value="DSI_DATA_ENABLE_ACTIVE_LOW"/>
    </RefParameter>

    <RefParameter Comment="Display ID" DefaultValue="0" Name="VirtualChannelID" Type="integer"  Min="0" Max="3" TabName="Display Interface" Group="Basic Settings">
    </RefParameter>
    <RefParameter Comment="Color Coding" DefaultValue="DSI_RGB565" Name="ColorCoding" Type="list"  TabName="Display Interface" Group="Basic Settings">
        <Condition Diagnostic="" Expression="(Semaphore_LTDC_ConfiguredforDSI_16bits=1)"/>
        <PossibleValue Comment="RGB565 (16 bits) - DSI mode" Value="DSI_RGB565"/>
    </RefParameter>
    <RefParameter Comment="Color Coding" DefaultValue="DSI_RGB666" Name="ColorCoding" Type="list"  TabName="Display Interface" Group="Basic Settings">
        <Condition Diagnostic="" Expression="(Semaphore_LTDC_ConfiguredforDSI_18bits=1)"/>
        <PossibleValue Comment="RGB666 (18 bits) - DSI mode" Value="DSI_RGB666" Semaphore="Semaphore_EIGHTEENBITS$IpInstance"/>
    </RefParameter>
    <RefParameter Comment="Color Coding" DefaultValue="DSI_RGB888" Name="ColorCoding" Type="list"  TabName="Display Interface" Group="Basic Settings">
        <Condition Diagnostic="" Expression="(Semaphore_LTDC_ConfiguredforDSI_24bits=1)"/>
        <PossibleValue Comment="RGB888 (24 bits) - DSI mode" Value="DSI_RGB888"/>
    </RefParameter>

    <!--<RefParameter Comment="Color Mode" DefaultValue="DSI_COLOR_MODE_FULL" Name="ColorMode" Type="list"  TabName="Display Interface" Group="Basic Settings">
            <PossibleValue Comment="Fill Color Mode" Value="DSI_COLOR_MODE_FULL"/>
            <PossibleValue Comment="Eight Color Mode" Value="DSI_COLOR_MODE_EIGHT"/>
    </RefParameter>-->


    <RefParameter Comment="byteperpixel" DefaultValue="16" Name="byteperpixel" Type="Integer"  TabName="Display Interface" Group="Basic Settings" Visible="false">
        <Condition Diagnostic="" Expression="ColorCoding = DSI_RGB565"/> 
    </RefParameter>
    <RefParameter Comment="byteperpixel" DefaultValue="18" Name="byteperpixel" Type="Integer"  TabName="Display Interface" Group="Basic Settings" Visible="false">
        <Condition Diagnostic="" Expression="ColorCoding = DSI_RGB666"/> 
    </RefParameter>
    <RefParameter Comment="byteperpixel" DefaultValue="24" Name="byteperpixel" Type="Integer"  TabName="Display Interface" Group="Basic Settings" Visible="false">
        <Condition Diagnostic="" Expression="ColorCoding = DSI_RGB888"/> 
    </RefParameter>





    <RefParameter Comment="Loosely Packed" DefaultValue="DSI_LOOSELY_PACKED_DISABLE" Name="LooselyPacked" Type="list"  TabName="Display Interface" Group="Basic Settings">
        <Condition Diagnostic="" Expression="Semaphore_EIGHTEENBITS$IpInstance"/> 
        <PossibleValue Comment="Disable" Value="DSI_LOOSELY_PACKED_DISABLE" Semaphore="Semaphore_NOTLOOSELY$IpInstance"/>
        <PossibleValue Comment="Enable" Value="DSI_LOOSELY_PACKED_ENABLE"/>
    </RefParameter>
    <RefParameter Comment="Loosely Packed" DefaultValue="__NULL" Name="LooselyPacked" Type="list"  TabName="Display Interface" Group="Basic Settings" Visible="false">
        <Condition Diagnostic="" Expression="!Semaphore_EIGHTEENBITS$IpInstance"/> 
        <PossibleValue Comment="Disable" Value="DSI_LOOSELY_PACKED_DISABLE"/>
        <PossibleValue Comment="Enable" Value="DSI_LOOSELY_PACKED_ENABLE"/>
    </RefParameter>


    <RefParameter Comment="Maximum Command Size" DefaultValue="=HorizontalActiveDuration_LTDC_noparam"  Min="0" Max="=(1280*24)/byteperpixel" Name="CommandSize" Type="integer" Unit="Pixels" TabName="Display Interface" Group="Specific Command Mode Settings">
        <Description>The Maximum Command Size is limited by the Size of the LTDC ctrl Pixel FIFO ie 1280 * 24bitsPixels</Description>
    </RefParameter>
    <RefParameter Comment="Tearing Effect Source" DefaultValue="DSI_TE_DSILINK" Name="TearingEffectSource" Type="list"  TabName="Display Interface" Group="Specific Command Mode Settings">
        <Condition Diagnostic="" Expression="(!Semaphore_TE_External_PIN$IpInstance) &amp; Semaphore_TE$IpInstance"/> 
        <PossibleValue Comment="DSLI Link" Value="DSI_TE_DSILINK"/>
        <PossibleValue Comment="External Source"  Value="DSI_TE_EXTERNAL" Semaphore="Semaphore_TE_External_PIN$IpInstance" Condition="!Semaphore_MODEADAPTEDTE$IpInstance" Diagnostic="External PIN must be selected" Action="Disable"/>
    </RefParameter>
    <RefParameter Comment="Tearing Effect Source" DefaultValue="DSI_TE_EXTERNAL" Name="TearingEffectSource" Type="list"  TabName="Display Interface" Group="Specific Command Mode Settings">
        <Condition Diagnostic="" Expression="(Semaphore_TE_External_PIN$IpInstance) &amp; Semaphore_TE$IpInstance"/> 
        <PossibleValue Comment="DSLI Link" Value="DSI_TE_DSILINK"/>
        <PossibleValue Comment="External Source"  Value="DSI_TE_EXTERNAL" Semaphore="Semaphore_TE_External_PIN$IpInstance" Condition="!Semaphore_MODEADAPTEDTE$IpInstance" Diagnostic="External PIN must be selected" Action="Disable"/>
    </RefParameter>
    <RefParameter Comment="Tearing Effect Source" DefaultValue="DSI_TE_DSILINK" Name="TearingEffectSource" Type="list"  TabName="Display Interface" Group="Specific Command Mode Settings" Visible="false">
        <Condition Diagnostic="" Expression="!Semaphore_TE$IpInstance"/> 
        <PossibleValue Comment="DSLI Link" Value="DSI_TE_DSILINK"/>
        <PossibleValue Comment="External Source"  Value="DSI_TE_EXTERNAL" Semaphore="Semaphore_TE_External_PIN$IpInstance" Condition="!Semaphore_MODEADAPTEDTE$IpInstance" Diagnostic="External PIN must be selected" Action="Disable"/>
    </RefParameter>
    <RefParameter Comment="Polarity of the External Tearing Effect Source" DefaultValue="DSI_TE_RISING_EDGE" Name="TearingEffectPolarity" Type="list"  TabName="Display Interface" Group="Specific Command Mode Settings">
        <Condition Diagnostic="" Expression="Semaphore_TE_External_PIN$IpInstance"/> 
        <PossibleValue Comment="Rising Edge" Value="DSI_TE_RISING_EDGE"/>
        <PossibleValue Comment="Falling Edge"  Value="DSI_TE_FALLING_EDGE"/>
    </RefParameter>

    <RefParameter Comment="Polarity of the External Tearing Effect Source" DefaultValue="DSI_TE_RISING_EDGE" Name="TearingEffectPolarity" Type="list"  TabName="Display Interface" Group="Specific Command Mode Settings" Visible="false">
        <Condition Diagnostic="" Expression="!Semaphore_TE_External_PIN$IpInstance"/> 
        <PossibleValue Comment="Rising Edge" Value="DSI_TE_RISING_EDGE"/>
        <PossibleValue Comment="Falling Edge"  Value="DSI_TE_FALLING_EDGE"/>
    </RefParameter>

    <RefParameter Comment="The Refresh of the Display Frame Buffer is Triggered" DefaultValue="DSI_AR_ENABLE" Name="AutomaticRefresh" Type="list"  TabName="Display Interface" Group="Specific Command Mode Settings">
        <PossibleValue Comment="manually by Enabling the LTDC" Value="DSI_AR_DISABLE"/>
        <PossibleValue Comment="on a Tearing Effect Event"  Value="DSI_AR_ENABLE" Semaphore="Semaphore_TE$IpInstance"/>
    </RefParameter>

    <RefParameter Comment="The DSI is halting the LTDC synchronously" DefaultValue="DSI_VSYNC_FALLING" Name="VSyncPol" Type="list"  TabName="LTDC Interface" Group="Interface">
        <Condition Diagnostic="DSI is configured in command mode" Expression="LTDC:VSPolarity = LTDC_VSPOLARITY_AL"/> 
        <PossibleValue Comment="On a Falling Edge of VSYNC" Value="DSI_VSYNC_FALLING"/>
    </RefParameter>
    <RefParameter Comment="The DSI is halting the LTDC synchronously" DefaultValue="DSI_VSYNC_RISING" Name="VSyncPol" Type="list"  TabName="LTDC Interface" Group="Interface">
        <Condition Diagnostic="DSI is configured in command mode" Expression="LTDC:VSPolarity = LTDC_VSPOLARITY_AH"/> 
        <PossibleValue Comment="On a Rising Edge of VSYNC" Value="DSI_VSYNC_RISING"/>
    </RefParameter>

    <RefParameter Comment="The DSI is halting the LTDC synchronously" DefaultValue="DSI_VSYNC_FALLING" Name="VSyncPol" Type="list"  TabName="LTDC Interface" Group="Interface">
        <PossibleValue Comment="On a Falling Edge of VSYNC" Value="DSI_VSYNC_FALLING"/>
        <PossibleValue Comment="On a Rising Edge of VSYNC"  Value="DSI_VSYNC_RISING"/>
    </RefParameter>

    <RefParameter Comment="LTDC FIFO Overflow Error Interrupt is" DefaultValue="HAL_DSI_ERROR_NONE" Name="LPWREIE" Type="list"  TabName="LTDC Interface" Group="Interface Error Configuration">
        <PossibleValue Comment="Disabled" Value="HAL_DSI_ERROR_NONE"/>
        <PossibleValue Comment="Enabled" Value="HAL_DSI_ERROR_OVF"/>
    </RefParameter>


    <RefParameter Comment="High-speed transmission time-out" DefaultValue="0" Name="HighSpeedTransmissionTimeout" Unit="Timeout Clock Cycles" Type="integer" Min="0" Max="35535" TabName="Timeout Counters" Group="Contention Error Detection">
    </RefParameter>
    <RefParameter Comment="       Resulting Timing High-speed transmission time-out" DefaultValue="=HighSpeedTransmissionTimeout*1000000/TimeOutClockfromDSI_noparam" Name="HighSpeedTransmissionTimeout_ns" Unit="ns" Type="string" TabName="Timeout Counters" Group="Contention Error Detection">
        <Condition Diagnostic="" Expression="!(HighSpeedTransmissionTimeout=0)"/> 
    </RefParameter>
    <RefParameter Comment="       No High-speed transmission time-out" DefaultValue="" Name="HighSpeedTransmissionTimeout_ns"  Type="string" TabName="Timeout Counters" Group="Contention Error Detection" Visible="true">
        <Condition Diagnostic="" Expression="(HighSpeedTransmissionTimeout=0)"/> 
    </RefParameter>

    <RefParameter Comment="Low-power reception time-out" DefaultValue="0" Name="LowPowerReceptionTimeout" Unit="Timeout Clock Cycles" Type="integer" Min="0" Max="35535" TabName="Timeout Counters" Group="Contention Error Detection">
    </RefParameter>
    <RefParameter Comment="       Resulting Timing Low-power reception time-out" DefaultValue="=LowPowerReceptionTimeout*1000000/TimeOutClockfromDSI_noparam" Name="LowPowerReceptionTimeout_ns" Unit="ns" Type="string" TabName="Timeout Counters" Group="Contention Error Detection">
        <Condition Diagnostic="" Expression="!(LowPowerReceptionTimeout=0)"/> 
    </RefParameter>
    <RefParameter Comment="       No Low-power reception time-out" DefaultValue="" Name="LowPowerReceptionTimeout_ns"  Type="string" TabName="Timeout Counters" Group="Contention Error Detection">
        <Condition Diagnostic="" Expression="(LowPowerReceptionTimeout=0)"/> 
    </RefParameter>

    <RefParameter Comment="       Timeout High-Speed Transmission Interrupt" DefaultValue="HAL_DSI_ERROR_NONE" Name="TOHSTXIE" Type="list"  TabName="Timeout Counters" Group="Contention Error Detection">
        <Condition Diagnostic="" Expression="!(HighSpeedTransmissionTimeout=0)"/> 
        <PossibleValue Comment="Disable" Value="HAL_DSI_ERROR_NONE"/>
        <PossibleValue Comment="Enable" Value="HAL_DSI_ERROR_TX"/>
    </RefParameter>
    <RefParameter Comment="       Timeout High-Speed Transmission Interrupt" DefaultValue="HAL_DSI_ERROR_NONE" Name="TOHSTXIE" Type="list"  TabName="Timeout Counters" Group="Contention Error Detection" Visible="false">
        <Condition Diagnostic="" Expression="(HighSpeedTransmissionTimeout=0)"/> 
        <PossibleValue Comment="Disable" Value="HAL_DSI_ERROR_NONE"/>
        <PossibleValue Comment="Enable" Value="HAL_DSI_ERROR_TX"/>
    </RefParameter>

    <RefParameter Comment="       Timeout Low-Power Reception Interrupt" DefaultValue="HAL_DSI_ERROR_NONE" Name="TOLPRXIE" Type="list"  TabName="Timeout Counters" Group="Contention Error Detection">
        <Condition Diagnostic="" Expression="!(LowPowerReceptionTimeout=0)"/> 
        <PossibleValue Comment="Disable" Value="HAL_DSI_ERROR_NONE"/>
        <PossibleValue Comment="Enable" Value="HAL_DSI_ERROR_RX"/>
    </RefParameter>
    <RefParameter Comment="       Timeout Low-Power Reception Interrupt" DefaultValue="HAL_DSI_ERROR_NONE" Name="TOLPRXIE" Type="list"  TabName="Timeout Counters" Group="Contention Error Detection" Visible="false">
        <Condition Diagnostic="" Expression="(LowPowerReceptionTimeout=0)"/> 
        <PossibleValue Comment="Disable" Value="HAL_DSI_ERROR_NONE"/>
        <PossibleValue Comment="Enable" Value="HAL_DSI_ERROR_RX"/>
    </RefParameter>


    <RefParameter Comment="Active Errors" DefaultValue="/GCEIE+|CRCEIE+|ECCEIE+|PSEIE+|AEIE+|PEXIE+|EOTPEIE+|LPWREIE+|TOHSTXIE+|TOLPRXIE/\|HAL_DSI_ERROR_NONE//HAL_DSI_ERROR_NONE\|//"  Type="list"  Name="ActiveErrors"  TabName="Commands" Group="APB Interface Error Configuration" Visible="false">
    </RefParameter>


    <RefParameter Comment="High-speed read time-out" DefaultValue="0" Name="HighSpeedReadTimeout" Unit="lane byte clock cycles" Type="integer" Min="0" Max="65535" TabName="Timeout Counters" Group="Peripheral Response" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="Semaphore_MODEVIDEO$IpInstance"/> 
        <Description>This timing must be preferably kept nul in Video Mode</Description>
    </RefParameter>

    <RefParameter Comment="High-speed read time-out" DefaultValue="0" Name="HighSpeedReadTimeout" Unit="lane byte clock cycles" Type="integer" Min="0" Max="65535" TabName="Timeout Counters" Group="Peripheral Response">
        <Condition Diagnostic="" Expression="!Semaphore_MODEVIDEO$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="       Resulting Timing High-speed read time-out" DefaultValue="=HighSpeedReadTimeout*1000000000/(RCC:DSIFreq_Value)" Name="HighSpeedReadTimeout_ns" Unit="ns" Type="string"  TabName="Timeout Counters" Group="Peripheral Response" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="Semaphore_MODEVIDEO$IpInstance"/> 
        <Description>This timing must be preferably kept nul in Video Mode</Description>
    </RefParameter>
    <RefParameter Comment="       Resulting Timing High-speed read time-out" DefaultValue="=HighSpeedReadTimeout*1000000000/(RCC:DSIFreq_Value)" Name="HighSpeedReadTimeout_ns" Unit="ns" Type="string"  TabName="Timeout Counters" Group="Peripheral Response">
        <Condition Diagnostic="" Expression="!Semaphore_MODEVIDEO$IpInstance"/> 
    </RefParameter>


    <RefParameter Comment="Low-power read time-out" DefaultValue="0" Name="LowPowerReadTimeout" Unit="lane byte clock cycles" Type="integer" Min="0" Max="65535" TabName="Timeout Counters" Group="Peripheral Response" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="Semaphore_MODEVIDEO$IpInstance"/> 
        <Description>This timing must preferably be kept nul in Video Mode</Description>
    </RefParameter>
    <RefParameter Comment="       Resulting Timing Low-power read time-out" DefaultValue="=LowPowerReadTimeout*1000000000/(RCC:DSIFreq_Value)" Name="LowPowerReadTimeout_ns" Unit="ns" Type="string"  TabName="Timeout Counters" Group="Peripheral Response" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="Semaphore_MODEVIDEO$IpInstance"/> 
        <Description>This timing must preferably be kept nul in Video Mode</Description>
    </RefParameter>
    <RefParameter Comment="Low-power read time-out" DefaultValue="0" Name="LowPowerReadTimeout" Unit="lane byte clock cycles" Type="integer" Min="0" Max="65535" TabName="Timeout Counters" Group="Peripheral Response">
        <Condition Diagnostic="" Expression="!Semaphore_MODEVIDEO$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="       Resulting Timing Low-power read time-out" DefaultValue="=LowPowerReadTimeout*1000000000/(RCC:DSIFreq_Value)" Name="LowPowerReadTimeout_ns" Unit="ns" Type="string"  TabName="Timeout Counters" Group="Peripheral Response">
        <Condition Diagnostic="" Expression="!Semaphore_MODEVIDEO$IpInstance"/> 
    </RefParameter>

    <RefParameter Comment="High-speed write time-out" DefaultValue="0" Name="HighSpeedWriteTimeout" Unit="lane byte clock cycles" Type="integer" Min="0" Max="65535" TabName="Timeout Counters" Group="Peripheral Response" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="Semaphore_MODEVIDEO$IpInstance"/> 
        <Description>This timing must preferably be kept nul in Video Mode</Description>
    </RefParameter>
    <RefParameter Comment="       Resulting Timing High-speed write time-out" DefaultValue="=HighSpeedWriteTimeout*1000000000/(RCC:DSIFreq_Value)" Name="HighSpeedWriteTimeout_ns" Unit="ns" Type="string" TabName="Timeout Counters" Group="Peripheral Response" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="Semaphore_MODEVIDEO$IpInstance"/> 
        <Description>This timing must preferably be kept nul in Video Mode</Description>
    </RefParameter>
    <RefParameter Comment="High-speed write time-out" DefaultValue="0" Name="HighSpeedWriteTimeout" Unit="lane byte clock cycles" Type="integer" Min="0" Max="65535" TabName="Timeout Counters" Group="Peripheral Response">
        <Condition Diagnostic="" Expression="!Semaphore_MODEVIDEO$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="       Resulting Timing High-speed write time-out" DefaultValue="=HighSpeedWriteTimeout*1000000000/(RCC:DSIFreq_Value)" Name="HighSpeedWriteTimeout_ns" Unit="ns" Type="string" TabName="Timeout Counters" Group="Peripheral Response">
        <Condition Diagnostic="" Expression="!Semaphore_MODEVIDEO$IpInstance"/> 
    </RefParameter>


    <RefParameter Comment="Low-power write time-out" DefaultValue="0" Name="LowPowerWriteTimeout" Unit="lane byte clock cycles" Type="integer" Min="0" Max="65535" TabName="Timeout Counters" Group="Peripheral Response" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="Semaphore_MODEVIDEO$IpInstance"/> 
        <Description>This timing must preferably be kept nul in Video Mode</Description>
    </RefParameter>
    <RefParameter Comment="       Resulting Timing Low-power write time-out" DefaultValue="=LowPowerWriteTimeout*1000000000/(RCC:DSIFreq_Value)" Name="LowPowerWriteTimeout_ns" Unit="ns" Type="string" TabName="Timeout Counters" Group="Peripheral Response" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="Semaphore_MODEVIDEO$IpInstance"/> 
        <Description>This timing must preferably be kept nul in Video Mode</Description>
    </RefParameter>
    <RefParameter Comment="Low-power write time-out" DefaultValue="0" Name="LowPowerWriteTimeout" Unit="lane byte clock cycles" Type="integer" Min="0" Max="65535" TabName="Timeout Counters" Group="Peripheral Response">
        <Condition Diagnostic="" Expression="!Semaphore_MODEVIDEO$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="       Resulting Timing Low-power write time-out" DefaultValue="=LowPowerWriteTimeout*1000000000/(RCC:DSIFreq_Value)" Name="LowPowerWriteTimeout_ns" Unit="ns" Type="string" TabName="Timeout Counters" Group="Peripheral Response">
        <Condition Diagnostic="" Expression="!Semaphore_MODEVIDEO$IpInstance"/> 
    </RefParameter>

    <RefParameter Comment="BTA time-out" DefaultValue="0" Name="BTATimeout" Unit="lane byte clock cycles" Type="integer" Min="0" Max="65535" TabName="Timeout Counters" Group="Peripheral Response" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="Semaphore_MODEVIDEO$IpInstance"/> 
        <Description>This timing must preferably be kept nul in Video Mode</Description>
    </RefParameter>
    <RefParameter Comment="      Resulting Timing for BTA time-out" DefaultValue="=BTATimeout*1000000000/(RCC:DSIFreq_Value)" Name="BTATimeout_ns" Unit="ns" Type="string" TabName="Timeout Counters" Group="Peripheral Response" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="Semaphore_MODEVIDEO$IpInstance"/> 
        <Description>This timing must preferably be kept nul in Video Mode</Description>
    </RefParameter>
    <RefParameter Comment="BTA time-out" DefaultValue="0" Name="BTATimeout" Unit="lane byte clock cycles" Type="integer" Min="0" Max="65535" TabName="Timeout Counters" Group="Peripheral Response">
        <Condition Diagnostic="" Expression="!Semaphore_MODEVIDEO$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="      Resulting Timing for BTA time-out" DefaultValue="=BTATimeout*1000000000/(RCC:DSIFreq_Value)" Name="BTATimeout_ns" Unit="ns" Type="string" TabName="Timeout Counters" Group="Peripheral Response">
        <Condition Diagnostic="" Expression="!Semaphore_MODEVIDEO$IpInstance"/> 
    </RefParameter>

    <RefParameter Comment="High-speed write presp mode" DefaultValue="0" Name="HighSpeedWritePrespMode" Type="list"  TabName="Timeout Counters" Group="Peripheral Response">
        <PossibleValue Comment="Normal Behavior" Value="DSI_HS_PM_DISABLE"/>
        <PossibleValue Comment="Change behavior of HS Write operation timeout" Value="DSI_HS_PM_ENABLE"/>
    </RefParameter>


    <RefParameter Comment="" DefaultValue="DSI_TCLK_POST" Name="param_DSI_TCLK_POST" Type="string"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="false">
    </RefParameter>

    <RefParameter Comment="Timing TCLK_POST is redefined" DefaultValue="__NULL" Name="TimingPHY_TCLK_POST_Enable" Type="list"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced">
        <Description>This Timing depends on hardware implementation but can be redefined using a dedicated register</Description>
        <PossibleValue Comment="Disable" Value="__NULL"/>
        <PossibleValue Comment="Enable" Value="ENABLE" Semaphore="Semaphore_PHY_TCLK_POST_Enable$IpInstance"/>
    </RefParameter>

    <RefParameter Comment="      TCLK_POST Register Value" DefaultValue="200" Name="TimingPHY_TCLK_POST_Value" Type="integer" TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="!Semaphore_PHY_TCLK_POST_Enable$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="      TCLK_POST Register Value" DefaultValue="200" Name="TimingPHY_TCLK_POST_Value" Type="integer"  TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Description>The default value set in this register defines the same timing as the hardware timing</Description>
        <Condition Diagnostic="" Expression="Semaphore_PHY_TCLK_POST_Enable$IpInstance"/> 
    </RefParameter>

    <RefParameter Comment="      TCLK_POST Timing (Hardware)" DefaultValue="=200/2+120*100000000/(RCC:DSIFreq_Value)" Name="TimingPHY_TCLK_POST_Value_ns" Type="string" Unit="ns"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Condition Diagnostic="" Expression="!Semaphore_PHY_TCLK_POST_Enable$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="      Resulting TCLK_POST Timing" DefaultValue="=TimingPHY_TCLK_POST_Value/2+120*100000000/(RCC:DSIFreq_Value)" Name="TimingPHY_TCLK_POST_Value_ns" Type="string" Unit="ns" TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Condition Diagnostic="" Expression="Semaphore_PHY_TCLK_POST_Enable$IpInstance"/> 
    </RefParameter>

    <RefParameter Comment="" DefaultValue="DSI_TLPX_CLK" Name="param_DSI_TLPX_CLK" Type="string"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="false">
    </RefParameter>

    <RefParameter Comment="Timing TLPX_CLK is redefined" DefaultValue="__NULL" Name="TimingPHY_TLPX_CLK_Enable" Type="list"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced">
        <Description>This Timing depends on hardware implementation but can be redefined using a dedicated register</Description>
        <PossibleValue Comment="Disable" Value="__NULL"/>
        <PossibleValue Comment="Enable" Value="ENABLE" Semaphore="Semaphore_PHY_TLPX_CLK_Enable$IpInstance"/>
    </RefParameter>

    <RefParameter Comment="      TLPX_CLK Register Value" DefaultValue="100" Name="TimingPHY_TLPX_CLK_Value" Type="integer" TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="!Semaphore_PHY_TLPX_CLK_Enable$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="      TLPX_CLK Register Value" DefaultValue="100" Name="TimingPHY_TLPX_CLK_Value" Type="integer"  TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Description>The default value set in this register defines the same timing as the hardware timing</Description>
        <Condition Diagnostic="" Expression="Semaphore_PHY_TLPX_CLK_Enable$IpInstance"/> 
    </RefParameter>

    <RefParameter Comment="      TLPX_CLK Timing (Hardware)" DefaultValue="=100/2" Name="TimingPHY_TLPX_CLK_Value_ns" Type="string" Unit="ns"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Condition Diagnostic="" Expression="!Semaphore_PHY_TLPX_CLK_Enable$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="      Resulting TLPX_CLK Timing" DefaultValue="=TimingPHY_TLPX_CLK_Value/2" Name="TimingPHY_TLPX_CLK_Value_ns" Type="string" Unit="ns" TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Condition Diagnostic="" Expression="Semaphore_PHY_TLPX_CLK_Enable$IpInstance"/> 
    </RefParameter>

    <RefParameter Comment="" DefaultValue="DSI_THS_EXIT" Name="param_DSI_THS_EXIT" Type="string"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="false">
    </RefParameter>

    <RefParameter Comment="Timing THS_EXIT is redefined" DefaultValue="__NULL" Name="TimingPHY_THS_EXIT_Enable" Type="list"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced">
        <Description>This Timing depends on hardware implementation but can be redefined using a dedicated register</Description>
        <PossibleValue Comment="Disable" Value="__NULL"/>
        <PossibleValue Comment="Enable" Value="ENABLE" Semaphore="Semaphore_PHY_THS_EXIT_Enable$IpInstance"/>
    </RefParameter>

    <RefParameter Comment="      THS_EXIT Register Value" DefaultValue="200" Name="TimingPHY_THS_EXIT_Value" Type="integer" TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="!Semaphore_PHY_THS_EXIT_Enable$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="      THS_EXIT Register Value" DefaultValue="200" Name="TimingPHY_THS_EXIT_Value" Type="integer"  TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Description>The default value set in this register defines the same timing as the hardware timing</Description>
        <Condition Diagnostic="" Expression="Semaphore_PHY_THS_EXIT_Enable$IpInstance"/> 
    </RefParameter>

    <RefParameter Comment="      THS_EXIT Timing (Hardware)" DefaultValue="=200/2+40*100000000/(RCC:DSIFreq_Value)" Name="TimingPHY_THS_EXIT_Value_ns" Type="string" Unit="ns"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Condition Diagnostic="" Expression="!Semaphore_PHY_THS_EXIT_Enable$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="      Resulting THS_EXIT Timing" DefaultValue="=TimingPHY_THS_EXIT_Value/2+40*100000000/(RCC:DSIFreq_Value)" Name="TimingPHY_THS_EXIT_Value_ns" Type="string" Unit="ns" TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Condition Diagnostic="" Expression="Semaphore_PHY_THS_EXIT_Enable$IpInstance"/> 
    </RefParameter>


    <RefParameter Comment="" DefaultValue="DSI_TLPX_DATA" Name="param_DSI_TLPX_DATA" Type="string"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="false">
    </RefParameter>

    <RefParameter Comment="Timing TLPX_DATA is redefined" DefaultValue="__NULL" Name="TimingPHY_TLPX_DATA_Enable" Type="list"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced">
        <Description>This Timing depends on hardware implementation but can be redefined using a dedicated register</Description>
        <PossibleValue Comment="Disable" Value="__NULL"/>
        <PossibleValue Comment="Enable" Value="ENABLE" Semaphore="Semaphore_PHY_TLPX_DATA_Enable$IpInstance"/>
    </RefParameter>

    <RefParameter Comment="      TLPX_DATA Register Value" DefaultValue="100" Name="TimingPHY_TLPX_DATA_Value" Type="integer" TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="!Semaphore_PHY_TLPX_DATA_Enable$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="      TLPX_DATA Register Value" DefaultValue="100" Name="TimingPHY_TLPX_DATA_Value" Type="integer"  TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Description>The default value set in this register defines the same timing as the hardware timing</Description>
        <Condition Diagnostic="" Expression="Semaphore_PHY_TLPX_DATA_Enable$IpInstance"/> 
    </RefParameter>

    <RefParameter Comment="      TLPX_DATA Timing (Hardware)" DefaultValue="=100/2" Name="TimingPHY_TLPX_DATA_Value_ns" Type="string" Unit="ns"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Condition Diagnostic="" Expression="!Semaphore_PHY_TLPX_DATA_Enable$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="      Resulting TLPX_DATA Timing" DefaultValue="=TimingPHY_TLPX_DATA_Value/2" Name="TimingPHY_TLPX_DATA_Value_ns" Type="string" Unit="ns" TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Condition Diagnostic="" Expression="Semaphore_PHY_TLPX_DATA_Enable$IpInstance"/> 
    </RefParameter>


    <RefParameter Comment="" DefaultValue="DSI_THS_ZERO" Name="param_DSI_THS_ZERO" Type="string"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="false">
    </RefParameter>

    <RefParameter Comment="Timing THS_ZERO is redefined" DefaultValue="__NULL" Name="TimingPHY_THS_ZERO_Enable" Type="list"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced">
        <Description>This Timing depends on hardware implementation but can be redefined using a dedicated register</Description>
        <PossibleValue Comment="Disable" Value="__NULL"/>
        <PossibleValue Comment="Enable" Value="ENABLE" Semaphore="Semaphore_PHY_THS_ZERO_Enable$IpInstance"/>
    </RefParameter>

    <RefParameter Comment="      THS_ZERO Register Value" DefaultValue="175" Name="TimingPHY_THS_ZERO_Value" Type="integer" TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="!Semaphore_PHY_THS_ZERO_Enable$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="      THS_ZERO Register Value" DefaultValue="175" Name="TimingPHY_THS_ZERO_Value" Type="integer"  TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Description>The default value set in this register defines the same timing as the hardware timing</Description>
        <Condition Diagnostic="" Expression="Semaphore_PHY_THS_ZERO_Enable$IpInstance"/> 
    </RefParameter>

    <RefParameter Comment="      THS_ZERO Timing (Hardware)" DefaultValue="=175+8*100000000/(RCC:DSIFreq_Value)" Name="TimingPHY_THS_ZERO_Value_ns" Type="string" Unit="ns"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Condition Diagnostic="" Expression="!Semaphore_PHY_THS_ZERO_Enable$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="      Resulting THS_ZERO Timing" DefaultValue="=TimingPHY_THS_ZERO_Value+8*100000000/(RCC:DSIFreq_Value)" Name="TimingPHY_THS_ZERO_Value_ns" Type="string" Unit="ns" TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Condition Diagnostic="" Expression="Semaphore_PHY_THS_ZERO_Enable$IpInstance"/> 
    </RefParameter>

    <RefParameter Comment="" DefaultValue="DSI_THS_TRAIL" Name="param_DSI_THS_TRAIL" Type="string"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="false">
    </RefParameter>

    <RefParameter Comment="Timing THS_TRAIL is redefined" DefaultValue="__NULL" Name="TimingPHY_THS_TRAIL_Enable" Type="list"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced">
        <Description>This Timing depends on hardware implementation but can be redefined using a dedicated register</Description>
        <PossibleValue Comment="Disable" Value="__NULL"/>
        <PossibleValue Comment="Enable" Value="ENABLE" Semaphore="Semaphore_PHY_THS_TRAIL_Enable$IpInstance"/>
    </RefParameter>

    <RefParameter Comment="      THS_TRAIL Register Value" DefaultValue="140" Name="TimingPHY_THS_TRAIL_Value" Type="integer" TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="!Semaphore_PHY_THS_TRAIL_Enable$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="      THS_TRAIL Register Value" DefaultValue="140" Name="TimingPHY_THS_TRAIL_Value" Type="integer"  TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Description>The default value set in this register defines the same timing as the hardware timing</Description>
        <Condition Diagnostic="" Expression="Semaphore_PHY_THS_TRAIL_Enable$IpInstance"/> 
    </RefParameter>

    <RefParameter Comment="      THS_TRAIL Timing (Hardware)" DefaultValue="=140/2+8*100000000/(RCC:DSIFreq_Value)" Name="TimingPHY_THS_TRAIL_Value_ns" Type="string" Unit="ns"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Condition Diagnostic="" Expression="!Semaphore_PHY_THS_TRAIL_Enable$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="      Resulting THS_TRAIL Timing" DefaultValue="=TimingPHY_THS_TRAIL_Value/2+8*100000000/(RCC:DSIFreq_Value)" Name="TimingPHY_THS_TRAIL_Value_ns" Type="string" Unit="ns" TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Condition Diagnostic="" Expression="Semaphore_PHY_THS_TRAIL_Enable$IpInstance"/> 
    </RefParameter>


    <RefParameter Comment="" DefaultValue="DSI_THS_PREPARE" Name="param_DSI_THS_PREPARE" Type="string"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="false">
    </RefParameter>
    <RefParameter Comment="Timing THS_PREPARE is redefined" DefaultValue="__NULL" Name="TimingPHY_THS_PREPARE_Enable" Type="list"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced">
        <Description>This Timing depends on hardware implementation but can be redefined using a dedicated register</Description>
        <PossibleValue Comment="Disable" Value="__NULL"/>
        <PossibleValue Comment="Enable" Value="ENABLE" Semaphore="Semaphore_PHY_THS_PREPARE_Enable$IpInstance"/>
    </RefParameter>

    <RefParameter Comment="      THS_PREPARE Register Value" DefaultValue="126" Name="TimingPHY_THS_PREPARE_Value" Type="integer" TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="!Semaphore_PHY_THS_PREPARE_Enable$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="      THS_PREPARE Register Value" DefaultValue="126" Name="TimingPHY_THS_PREPARE_Value" Type="integer"  TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Description>The default value set in this register defines the same timing as the hardware timing</Description>
        <Condition Diagnostic="" Expression="Semaphore_PHY_THS_PREPARE_Enable$IpInstance"/> 
    </RefParameter>

    <RefParameter Comment="      THS_PREPARE Timing (Hardware)" DefaultValue="=126/2+12*100000000/(RCC:DSIFreq_Value)" Name="TimingPHY_THS_PREPARE_Value_ns" Type="string" Unit="ns"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Condition Diagnostic="" Expression="!Semaphore_PHY_THS_PREPARE_Enable$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="      Resulting THS_PREPARE Timing" DefaultValue="=TimingPHY_THS_PREPARE_Value/2+12*100000000/(RCC:DSIFreq_Value)" Name="TimingPHY_THS_PREPARE_Value_ns" Type="string" Unit="ns" TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Condition Diagnostic="" Expression="Semaphore_PHY_THS_PREPARE_Enable$IpInstance"/> 
    </RefParameter>

    <RefParameter Comment="" DefaultValue="DSI_TCLK_ZERO" Name="param_DSI_TCLK_ZERO" Type="string"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="false">
    </RefParameter>
    <RefParameter Comment="Timing TCLK_ZERO is redefined" DefaultValue="__NULL" Name="TimingPHY_TCLK_ZERO_Enable" Type="list"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced">
        <Description>This Timing depends on hardware implementation but can be redefined using a dedicated register</Description>
        <PossibleValue Comment="Disable" Value="__NULL"/>
        <PossibleValue Comment="Enable" Value="ENABLE" Semaphore="Semaphore_PHY_TCLK_ZERO_Enable$IpInstance"/>
    </RefParameter>

    <RefParameter Comment="      TCLK_ZERO Register Value" DefaultValue="195" Name="TimingPHY_TCLK_ZERO_Value" Type="integer" TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="!Semaphore_PHY_TCLK_ZERO_Enable$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="      TCLK_ZERO Register Value" DefaultValue="195" Name="TimingPHY_TCLK_ZERO_Value" Type="integer"  TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Description>The default value set in this register defines the same timing as the hardware timing</Description>
        <Condition Diagnostic="" Expression="Semaphore_PHY_TCLK_ZERO_Enable$IpInstance"/> 
    </RefParameter>

    <RefParameter Comment="      TCLK_ZERO Timing (Hardware)" DefaultValue="=195*2" Name="TimingPHY_TCLK_ZERO_Value_ns" Type="string" Unit="ns"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Condition Diagnostic="" Expression="!Semaphore_PHY_TCLK_ZERO_Enable$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="      Resulting TCLK_ZERO Timing" DefaultValue="=TimingPHY_TCLK_ZERO_Value*2" Name="TimingPHY_TCLK_ZERO_Value_ns" Type="string" Unit="ns" TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Condition Diagnostic="" Expression="Semaphore_PHY_TCLK_ZERO_Enable$IpInstance"/> 
    </RefParameter>


    <RefParameter Comment="" DefaultValue="DSI_TCLK_PREPARE" Name="param_DSI_TCLK_PREPARE" Type="string"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="false">
    </RefParameter>
    <RefParameter Comment="Timing TCLK_PREPARE is redefined" DefaultValue="__NULL" Name="TimingPHY_TCLK_PREPARE_Enable" Type="list"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced">
        <Description>This Timing depends on hardware implementation but can be redefined using a dedicated register</Description>
        <PossibleValue Comment="Disable" Value="__NULL"/>
        <PossibleValue Comment="Enable" Value="ENABLE" Semaphore="Semaphore_PHY_TCLK_PREPARE_Enable$IpInstance"/>
    </RefParameter>

    <RefParameter Comment="      TCLK_PREPARE Register Value" DefaultValue="120" Name="TimingPHY_TCLK_PREPARE_Value" Type="integer" TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="false">
        <Condition Diagnostic="" Expression="!Semaphore_PHY_TCLK_PREPARE_Enable$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="      TCLK_PREPARE Register Value" DefaultValue="120" Name="TimingPHY_TCLK_PREPARE_Value" Type="integer"  TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Description>The default value set in this register defines the same timing as the hardware timing</Description>
        <Condition Diagnostic="" Expression="Semaphore_PHY_TCLK_PREPARE_Enable$IpInstance"/> 
    </RefParameter>

    <RefParameter Comment="      TCLK_PREPARE Timing (Hardware)" DefaultValue="=120/2+20*100000000/(RCC:DSIFreq_Value)" Name="TimingPHY_TCLK_PREPARE_Value_ns" Type="string" Unit="ns"  TabName="PHY Timings" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Condition Diagnostic="" Expression="!Semaphore_PHY_TCLK_PREPARE_Enable$IpInstance"/> 
    </RefParameter>
    <RefParameter Comment="      Resulting TCLK_PREPARE Timing" DefaultValue="=TimingPHY_TCLK_PREPARE_Value/2+20*100000000/(RCC:DSIFreq_Value)" Name="TimingPHY_TCLK_PREPARE_Value_ns" Type="string" Unit="ns" TabName="PHY Timings" Min="0" Max="255" Group="Redefinition of PHY Timings" Mode="Advanced" Visible="true">
        <Condition Diagnostic="" Expression="Semaphore_PHY_TCLK_PREPARE_Enable$IpInstance"/> 
    </RefParameter>

    <RefMode Name="DSIHost_Common"> 
        <ConfigForMode>DSI_Init</ConfigForMode>
        <!--           <Parameter Name="LPGenShortWriteNoP"/>
        <Parameter Name="LPGenShortWriteOneP"/>
        <Parameter Name="LPGenShortWriteTwoP"/>
        <Parameter Name="LPGenShortReadNoP"/>
        <Parameter Name="LPGenShortReadOneP"/>
        <Parameter Name="LPGenShortReadTwoP"/>
        <Parameter Name="LPGenLongWrite"/>
        <Parameter Name="LPDcsShortWriteNoP"/>
        <Parameter Name="LPDcsShortWriteOneP"/>
        <Parameter Name="LPDcsShortReadNoP"/>
        <Parameter Name="LPDcsLongWrite"/>
        <Parameter Name="LPMaxReadPacket"/>-->
        <Parameter Name="PLLNDIV"/>
        <Parameter Name="PLLODF"/>
        <Parameter Name="PLLIDF"/>
        <Parameter Name="HighSpeedClockfromDSI_noparam"/>
        <Parameter Name="LaneByteClockfromDSI_noparam"/>
        <Parameter Name="LaneByteClockfromPLL4P_noparam"/>
        <Parameter Name="TXEscapeCkdiv"/>
        <Parameter Name="TransmissionEscapeClockfromDSI_noparam"/>
        <Parameter Name="TransmissionEscapeClockfromPLL4P_noparam"/>
        <Parameter Name="EscapeClockDivider_noparam"/>
        <Parameter Name="TimeoutCkdiv"/>
        <Parameter Name="TimeOutClockfromDSI_noparamfortimeout"/>
        <Parameter Name="TimeOutClockfromDSI_noparam"/>
        <Parameter Name="TimeOutClockfromPLL4P_noparam"/>
        <Parameter Name="NumberOfLanes"/>
        <!--           <Parameter Name="State"/>-->
        <Parameter Name="State_SDD"/>
        <Parameter Name="AutomaticClockLaneControl"/>
        <Parameter Name="BTA_FlowControl"/>
        <Parameter Name="CRCX_FlowControl"/>
        <Parameter Name="CRCEIE"/>
        <Parameter Name="ECCX_FlowControl"/>
        <Parameter Name="ECCEIE"/>
        <Parameter Name="ETRX_FlowControl"/>
        <Parameter Name="EOTPEIE"/>
        <Parameter Name="PSEIE"/>
        <Parameter Name="AEIE"/>
        <Parameter Name="PEXIE"/>
        <Parameter Name="ETTX_FlowControl"/>
        <Parameter Name="FlowControl"/>
        <!--          <Parameter Name="AcknowledgeRequest"/>-->
        <Parameter Name="param_DSI_CLOCK_LANE_for_PIN"/>
        <Parameter Name="param_DSI_DATA_LANE0_for_PIN"/>
        <Parameter Name="param_DSI_DATA_LANE1_for_PIN"/>
        <Parameter Name="SWAP_CLOCK_LANE_State"/>
        <Parameter Name="SWAP_DATA_LANE0_State"/>
        <Parameter Name="SWAP_DATA_LANE1_State"/>
        <Parameter Name="INVERT_CLOCK_LANE_State"/>
        <Parameter Name="INVERT_DATA_LANE0_State"/>
        <Parameter Name="INVERT_DATA_LANE1_State"/>
        <Parameter Name="param_DSI_CLOCK_LANE"/>
        <Parameter Name="param_DSI_DATA_LANES"/>
        <Parameter Name="param_SLEW_RATE_HSTX_CLOCK_LANE"/>
        <Parameter Name="SLEW_RATE_HSTX_CLOCK_LANE_Value"/>
        <Parameter Name="param_SLEW_RATE_HSTX_DATA_LANES"/>
        <Parameter Name="SLEW_RATE_HSTX_DATA_LANES_Value"/>
        <Parameter Name="param_HS_DELAY_CLOCK_LANE"/>
        <Parameter Name="HS_DELAY_CLOCK_LANE_Value"/>
        <Parameter Name="param_HS_DELAY_DATA_LANES"/>
        <Parameter Name="HS_DELAY_DATA_LANES_Value"/>
        <Parameter Name="param_SLEW_RATE_LPTX_CLOCK_LANE"/>
        <Parameter Name="SLEW_RATE_LPTX_CLOCK_LANE_Value"/>
        <Parameter Name="param_SLEW_RATE_LPTX_DATA_LANES"/>
        <Parameter Name="SLEW_RATE_LPTX_DATA_LANES_Value"/>
        <Parameter Name="Frequency"/>
        <Parameter Name="HighSpeedTransmissionTimeout"/>
        <Parameter Name="HighSpeedTransmissionTimeout_ns"/>
        <Parameter Name="TOHSTXIE"/>
        <Parameter Name="LowPowerReceptionTimeout"/>
        <Parameter Name="LowPowerReceptionTimeout_ns"/>
        <Parameter Name="TOLPRXIE"/>
        <Parameter Name="HighSpeedReadTimeout"/>
        <Parameter Name="HighSpeedReadTimeout_ns"/>
        <Parameter Name="LowPowerReadTimeout"/>
        <Parameter Name="LowPowerReadTimeout_ns"/>
        <Parameter Name="HighSpeedWriteTimeout"/>
        <Parameter Name="HighSpeedWriteTimeout_ns"/>
        <Parameter Name="LowPowerWriteTimeout"/>
        <Parameter Name="LowPowerWriteTimeout_ns"/>
        <Parameter Name="BTATimeout"/>
        <Parameter Name="BTATimeout_ns"/>
        <Parameter Name="TimingPHY_TCLK_POST_Enable"/>
        <Parameter Name="TimingPHY_TCLK_POST_Value"/>
        <Parameter Name="TimingPHY_TCLK_POST_Value_ns"/>
        <Parameter Name="TimingPHY_TLPX_CLK_Enable"/>
        <Parameter Name="TimingPHY_TLPX_CLK_Value"/>
        <Parameter Name="TimingPHY_TLPX_CLK_Value_ns"/>
        <Parameter Name="TimingPHY_THS_EXIT_Enable"/>
        <Parameter Name="TimingPHY_THS_EXIT_Value"/>
        <Parameter Name="TimingPHY_THS_EXIT_Value_ns"/>
        <Parameter Name="TimingPHY_TLPX_DATA_Enable"/>
        <Parameter Name="TimingPHY_TLPX_DATA_Value"/>
        <Parameter Name="TimingPHY_TLPX_DATA_Value_ns"/>
        <Parameter Name="TimingPHY_THS_ZERO_Enable"/>
        <Parameter Name="TimingPHY_THS_ZERO_Value"/>
        <Parameter Name="TimingPHY_THS_ZERO_Value_ns"/>
        <Parameter Name="TimingPHY_THS_TRAIL_Enable"/>
        <Parameter Name="TimingPHY_THS_TRAIL_Value"/>
        <Parameter Name="TimingPHY_THS_TRAIL_Value_ns"/>
        <Parameter Name="TimingPHY_THS_PREPARE_Enable"/>
        <Parameter Name="TimingPHY_THS_PREPARE_Value"/>
        <Parameter Name="TimingPHY_THS_PREPARE_Value_ns"/>
        <Parameter Name="TimingPHY_TCLK_ZERO_Enable"/>
        <Parameter Name="TimingPHY_TCLK_ZERO_Value"/>
        <Parameter Name="TimingPHY_TCLK_ZERO_Value_ns"/>
        <Parameter Name="TimingPHY_TCLK_PREPARE_Enable"/>
        <Parameter Name="TimingPHY_TCLK_PREPARE_Value"/>
        <Parameter Name="TimingPHY_TCLK_PREPARE_Value_ns"/>
        <Parameter Name="GCEIE"/>
        <Parameter Name="ActiveErrors"/>
    </RefMode>


    <RefMode Name="DSIHost_Standalone" BaseMode="DSIHost_Common" HalMode="DSI">
        <ConfigForMode>DSI_ConfigCommandModeOnly</ConfigForMode> 
        <Parameter Name="AcknowledgeRequest"/>   
        <Parameter Name="LPGenShortWriteNoP"/>
        <Parameter Name="LPGenShortWriteOneP"/>
        <Parameter Name="LPGenShortWriteTwoP"/>
        <Parameter Name="LPGenShortReadNoP"/>
        <Parameter Name="LPGenShortReadOneP"/>
        <Parameter Name="LPGenShortReadTwoP"/>
        <Parameter Name="LPGenLongWrite"/>
        <Parameter Name="LPDcsShortWriteNoP"/>
        <Parameter Name="LPDcsShortWriteOneP"/>
        <Parameter Name="LPDcsShortReadNoP"/>
        <Parameter Name="LPDcsLongWrite"/>
        <Parameter Name="LPMaxReadPacket"/>
    </RefMode>
    <RefMode Name="DSIHost_Standalone_onelane" BaseMode="DSIHost_Common" HalMode="DSI">
        <ConfigForMode>DSI_ConfigCommandModeOnly</ConfigForMode> 
        <Parameter Name="AcknowledgeRequest"/>   
        <Parameter Name="LPGenShortWriteNoP"/>
        <Parameter Name="LPGenShortWriteOneP"/>
        <Parameter Name="LPGenShortWriteTwoP"/>
        <Parameter Name="LPGenShortReadNoP"/>
        <Parameter Name="LPGenShortReadOneP"/>
        <Parameter Name="LPGenShortReadTwoP"/>
        <Parameter Name="LPGenLongWrite"/>
        <Parameter Name="LPDcsShortWriteNoP"/>
        <Parameter Name="LPDcsShortWriteOneP"/>
        <Parameter Name="LPDcsShortReadNoP"/>
        <Parameter Name="LPDcsLongWrite"/>
        <Parameter Name="LPMaxReadPacket"/>
    </RefMode>
    <RefMode Name="DSIHost_Video" BaseMode="DSIHost_Common" HalMode="DSI">
        <ConfigForMode>DSI_ConfigVideoMode</ConfigForMode>
        <Parameter Name="VirtualChannelID"/>
        <Parameter Name="ColorCoding"/>
        <!--           <Parameter Name="ColorMode"/>-->
        <Parameter Name="LooselyPacked"/>
        <Parameter Name="Mode"/>
        <Parameter Name="PacketSize"/>
        <Parameter Name="NumberOfChunks"/>
        <Parameter Name="NullPacketSize"/>
        <Parameter Name="FrameBTAAcknowledgeEnable"/>
        <Parameter Name="VerticalSyncActive"/>
        <Parameter Name="VerticalBackPorch"/>
        <Parameter Name="VerticalFrontPorch"/>
        <Parameter Name="VerticalActive"/>
        <Parameter Name="HorizontalSyncActive"/>
        <Parameter Name="HorizontalBackPorch"/>
        <Parameter Name="HorizontalActiveDuration_noparam"/>
        <Parameter Name="HorizontalLine"/>
        <Parameter Name="LTDCPixelClock_noparam"/>
        <Parameter Name="VerticalSyncActive_LTDC_noparam"/>
        <Parameter Name="VerticalBackPorch_LTDC_noparam"/>
        <Parameter Name="VerticalFrontPorch_LTDC_noparam"/>
        <Parameter Name="VerticalActive_LTDC_noparam"/>
        <Parameter Name="HorizontalSyncActive_LTDC_noparam"/>
        <Parameter Name="HorizontalBackPorch_LTDC_noparam"/>
        <Parameter Name="HorizontalActiveDuration_LTDC_noparam"/>
        <Parameter Name="HorizontalLine_LTDC_noparam"/>
        <Parameter Name="VSPolarity"/>
        <Parameter Name="HSPolarity"/>
        <Parameter Name="DEPolarity"/>
        <Parameter Name="LPWREIE"/>
        <Parameter Name="LPHorizontalFrontPorchEnable"/>
        <Parameter Name="LPHorizontalBackPorchEnable"/>
        <Parameter Name="LPVerticalActiveEnable"/>
        <Parameter Name="LPVerticalFrontPorchEnable"/>
        <Parameter Name="LPVerticalBackPorchEnable"/>
        <Parameter Name="LPVerticalSyncActiveEnable"/>
        <Parameter Name="LPCommandEnable"/>
        <Parameter Name="LPVACTLargestPacketSize"/>
        <Parameter Name="LPLargestPacketSize"/>
        <Parameter Name="DataLaneMaxReadTime"/>
        <Parameter Name="DataLaneMaxReadTime_ns"/>
        <Parameter Name="ClockLaneHS2LPTime"/>
        <Parameter Name="ClockLaneHS2LPTime_ns"/>
        <Parameter Name="ClockLaneLP2HSTime"/>
        <Parameter Name="ClockLaneLP2HSTime_ns"/>
        <Parameter Name="DataLaneHS2LPTime"/>
        <Parameter Name="DataLaneHS2LPTime_ns"/>
        <Parameter Name="DataLaneLP2HSTime"/>
        <Parameter Name="DataLaneLP2HSTime_ns"/>
        <Parameter Name="StopWaitTime"/>
        <Parameter Name="StopWaitTime_ns"/>
    </RefMode>

    <RefMode Name="DSIHost_Video_onelane" BaseMode="DSIHost_Common" HalMode="DSI">
        <ConfigForMode>DSI_ConfigVideoMode</ConfigForMode>
        <Parameter Name="VirtualChannelID"/>
        <Parameter Name="ColorCoding"/>
        <Parameter Name="LooselyPacked"/>
        <Parameter Name="Mode"/>
        <Parameter Name="PacketSize"/>
        <Parameter Name="NumberOfChunks"/>
        <Parameter Name="NullPacketSize"/>
        <Parameter Name="FrameBTAAcknowledgeEnable"/>
        <Parameter Name="VerticalSyncActive"/>
        <Parameter Name="VerticalBackPorch"/>
        <Parameter Name="VerticalFrontPorch"/>
        <Parameter Name="VerticalActive"/>
        <Parameter Name="HorizontalSyncActive"/>
        <Parameter Name="HorizontalBackPorch"/>
        <Parameter Name="HorizontalActiveDuration_noparam"/>
        <Parameter Name="HorizontalLine"/>
        <Parameter Name="LTDCPixelClock_noparam"/>
        <Parameter Name="VerticalSyncActive_LTDC_noparam"/>
        <Parameter Name="VerticalBackPorch_LTDC_noparam"/>
        <Parameter Name="VerticalFrontPorch_LTDC_noparam"/>
        <Parameter Name="VerticalActive_LTDC_noparam"/>
        <Parameter Name="HorizontalSyncActive_LTDC_noparam"/>
        <Parameter Name="HorizontalBackPorch_LTDC_noparam"/>
        <Parameter Name="HorizontalActiveDuration_LTDC_noparam"/>
        <Parameter Name="HorizontalLine_LTDC_noparam"/>
        <Parameter Name="VSPolarity"/>
        <Parameter Name="HSPolarity"/>
        <Parameter Name="DEPolarity"/>
        <Parameter Name="LPWREIE"/>
        <Parameter Name="LPHorizontalFrontPorchEnable"/>
        <Parameter Name="LPHorizontalBackPorchEnable"/>
        <Parameter Name="LPVerticalActiveEnable"/>
        <Parameter Name="LPVerticalFrontPorchEnable"/>
        <Parameter Name="LPVerticalBackPorchEnable"/>
        <Parameter Name="LPVerticalSyncActiveEnable"/>
        <Parameter Name="LPCommandEnable"/>
        <Parameter Name="LPVACTLargestPacketSize"/>
        <Parameter Name="LPLargestPacketSize"/>
        <Parameter Name="DataLaneMaxReadTime"/>
        <Parameter Name="DataLaneMaxReadTime_ns"/>
        <Parameter Name="ClockLaneHS2LPTime"/>
        <Parameter Name="ClockLaneHS2LPTime_ns"/>
        <Parameter Name="ClockLaneLP2HSTime"/>
        <Parameter Name="ClockLaneLP2HSTime_ns"/>
        <Parameter Name="DataLaneHS2LPTime"/>
        <Parameter Name="DataLaneHS2LPTime_ns"/>
        <Parameter Name="DataLaneLP2HSTime"/>
        <Parameter Name="DataLaneLP2HSTime_ns"/>
        <Parameter Name="StopWaitTime"/>
        <Parameter Name="StopWaitTime_ns"/>
    </RefMode>
    <RefMode Name="DSIHost_Adapted" BaseMode="DSIHost_Common" HalMode="DSI">
        <ConfigForMode>DSI_ConfigAdaptedCommandMode</ConfigForMode>
        <Parameter Name="AcknowledgeRequest"/>
        <Parameter Name="LPGenShortWriteNoP"/>
        <Parameter Name="LPGenShortWriteOneP"/>
        <Parameter Name="LPGenShortWriteTwoP"/>
        <Parameter Name="LPGenShortReadNoP"/>
        <Parameter Name="LPGenShortReadOneP"/>
        <Parameter Name="LPGenShortReadTwoP"/>
        <Parameter Name="LPGenLongWrite"/>
        <Parameter Name="LPDcsShortWriteNoP"/>
        <Parameter Name="LPDcsShortWriteOneP"/>
        <Parameter Name="LPDcsShortReadNoP"/>
        <Parameter Name="LPDcsLongWrite"/>
        <Parameter Name="LPMaxReadPacket"/>
        <Parameter Name="VirtualChannelID"/>
        <Parameter Name="ColorCoding"/>
        <!--           <Parameter Name="HorizontalLine"/>-->
        <Parameter Name="CommandSize"/>
        <Parameter Name="AutomaticRefresh"/>
        <Parameter Name="TearingEffectSource"/>
        <Parameter Name="TearingEffectPolarity"/>
        <Parameter Name="TEAcknowledgeRequest"/>
        <Parameter Name="LTDCPixelClock_noparam"/>
        <Parameter Name="VerticalSyncActive_LTDC_noparam"/>
        <Parameter Name="VerticalBackPorch_LTDC_noparam"/>
        <Parameter Name="VerticalFrontPorch_LTDC_noparam"/>
        <Parameter Name="VerticalActive_LTDC_noparam"/>
        <Parameter Name="HorizontalSyncActive_LTDC_noparam"/>
        <Parameter Name="HorizontalBackPorch_LTDC_noparam"/>
        <Parameter Name="HorizontalActiveDuration_LTDC_noparam"/>
        <Parameter Name="HorizontalLine_LTDC_noparam"/>
        <Parameter Name="VSPolarity"/>
        <Parameter Name="HSPolarity"/>
        <Parameter Name="DEPolarity"/>
        <Parameter Name="VSyncPol"/>
        <Parameter Name="LPWREIE"/>
        <Parameter Name="HighSpeedWritePrespMode"/>
        <Parameter Name="StopWaitTime"/>
        <Parameter Name="StopWaitTime_ns"/>
    </RefMode>
    <RefMode Name="DSIHost_Adapted_onelane" BaseMode="DSIHost_Common" HalMode="DSI">
        <ConfigForMode>DSI_ConfigAdaptedCommandMode</ConfigForMode>
        <Parameter Name="AcknowledgeRequest"/>
        <Parameter Name="LPGenShortWriteNoP"/>
        <Parameter Name="LPGenShortWriteOneP"/>
        <Parameter Name="LPGenShortWriteTwoP"/>
        <Parameter Name="LPGenShortReadNoP"/>
        <Parameter Name="LPGenShortReadOneP"/>
        <Parameter Name="LPGenShortReadTwoP"/>
        <Parameter Name="LPGenLongWrite"/>
        <Parameter Name="LPDcsShortWriteNoP"/>
        <Parameter Name="LPDcsShortWriteOneP"/>
        <Parameter Name="LPDcsShortReadNoP"/>
        <Parameter Name="LPDcsLongWrite"/>
        <Parameter Name="LPMaxReadPacket"/>
        <Parameter Name="VirtualChannelID"/>
        <Parameter Name="ColorCoding"/>
        <!--           <Parameter Name="HorizontalLine"/>-->
        <Parameter Name="CommandSize"/>
        <Parameter Name="AutomaticRefresh"/>
        <Parameter Name="TearingEffectSource"/>
        <Parameter Name="TearingEffectPolarity"/>
        <Parameter Name="TEAcknowledgeRequest"/>
        <Parameter Name="LTDCPixelClock_noparam"/>
        <Parameter Name="VerticalSyncActive_LTDC_noparam"/>
        <Parameter Name="VerticalBackPorch_LTDC_noparam"/>
        <Parameter Name="VerticalFrontPorch_LTDC_noparam"/>
        <Parameter Name="VerticalActive_LTDC_noparam"/>
        <Parameter Name="HorizontalSyncActive_LTDC_noparam"/>
        <Parameter Name="HorizontalBackPorch_LTDC_noparam"/>
        <Parameter Name="HorizontalActiveDuration_LTDC_noparam"/>
        <Parameter Name="HorizontalLine_LTDC_noparam"/>
        <Parameter Name="VSPolarity"/>
        <Parameter Name="HSPolarity"/>
        <Parameter Name="DEPolarity"/>
        <Parameter Name="VSyncPol"/>
        <Parameter Name="LPWREIE"/>
        <Parameter Name="HighSpeedWritePrespMode"/>
        <Parameter Name="StopWaitTime"/>
        <Parameter Name="StopWaitTime_ns"/>
    </RefMode>
    <RefMode Name="DSIHost_Adapted_TE" BaseMode="DSIHost_Common" HalMode="DSI">
        <ConfigForMode>DSI_ConfigAdaptedCommandModeTE</ConfigForMode>
        <Parameter Name="AcknowledgeRequest"/>
        <Parameter Name="LPGenShortWriteNoP"/>
        <Parameter Name="LPGenShortWriteOneP"/>
        <Parameter Name="LPGenShortWriteTwoP"/>
        <Parameter Name="LPGenShortReadNoP"/>
        <Parameter Name="LPGenShortReadOneP"/>
        <Parameter Name="LPGenShortReadTwoP"/>
        <Parameter Name="LPGenLongWrite"/>
        <Parameter Name="LPDcsShortWriteNoP"/>
        <Parameter Name="LPDcsShortWriteOneP"/>
        <Parameter Name="LPDcsShortReadNoP"/>
        <Parameter Name="LPDcsLongWrite"/>
        <Parameter Name="LPMaxReadPacket"/>
        <Parameter Name="VirtualChannelID"/>
        <Parameter Name="ColorCoding"/>
        <!--           <Parameter Name="HorizontalLine"/>-->
        <Parameter Name="CommandSize"/>
        <Parameter Name="AutomaticRefresh"/>
        <Parameter Name="TearingEffectSource"/>
        <Parameter Name="TearingEffectPolarity"/>
        <Parameter Name="TEAcknowledgeRequest"/>
        <Parameter Name="LTDCPixelClock_noparam"/>
        <Parameter Name="VerticalSyncActive_LTDC_noparam"/>
        <Parameter Name="VerticalBackPorch_LTDC_noparam"/>
        <Parameter Name="VerticalFrontPorch_LTDC_noparam"/>
        <Parameter Name="VerticalActive_LTDC_noparam"/>
        <Parameter Name="HorizontalSyncActive_LTDC_noparam"/>
        <Parameter Name="HorizontalBackPorch_LTDC_noparam"/>
        <Parameter Name="HorizontalActiveDuration_LTDC_noparam"/>
        <Parameter Name="HorizontalLine_LTDC_noparam"/>
        <Parameter Name="VSPolarity"/>
        <Parameter Name="HSPolarity"/>
        <Parameter Name="DEPolarity"/>
        <Parameter Name="VSyncPol"/>
        <Parameter Name="LPWREIE"/>
        <Parameter Name="HighSpeedWritePrespMode"/>
        <Parameter Name="StopWaitTime"/>
        <Parameter Name="StopWaitTime_ns"/> 
    </RefMode>
    <RefMode Name="DSIHost_Adapted_TE_onelane" BaseMode="DSIHost_Common" HalMode="DSI">
        <ConfigForMode>DSI_ConfigAdaptedCommandModeTE</ConfigForMode>
        <Parameter Name="AcknowledgeRequest"/>
        <Parameter Name="LPGenShortWriteNoP"/>
        <Parameter Name="LPGenShortWriteOneP"/>
        <Parameter Name="LPGenShortWriteTwoP"/>
        <Parameter Name="LPGenShortReadNoP"/>
        <Parameter Name="LPGenShortReadOneP"/>
        <Parameter Name="LPGenShortReadTwoP"/>
        <Parameter Name="LPGenLongWrite"/>
        <Parameter Name="LPDcsShortWriteNoP"/>
        <Parameter Name="LPDcsShortWriteOneP"/>
        <Parameter Name="LPDcsShortReadNoP"/>
        <Parameter Name="LPDcsLongWrite"/>
        <Parameter Name="LPMaxReadPacket"/>
        <Parameter Name="VirtualChannelID"/>
        <Parameter Name="ColorCoding"/>
        <!--           <Parameter Name="HorizontalLine"/>-->
        <Parameter Name="CommandSize"/>
        <Parameter Name="AutomaticRefresh"/>
        <Parameter Name="TearingEffectSource"/>
        <Parameter Name="TearingEffectPolarity"/>
        <Parameter Name="TEAcknowledgeRequest"/>
        <Parameter Name="LTDCPixelClock_noparam"/>
        <Parameter Name="VerticalSyncActive_LTDC_noparam"/>
        <Parameter Name="VerticalBackPorch_LTDC_noparam"/>
        <Parameter Name="VerticalFrontPorch_LTDC_noparam"/>
        <Parameter Name="VerticalActive_LTDC_noparam"/>
        <Parameter Name="HorizontalSyncActive_LTDC_noparam"/>
        <Parameter Name="HorizontalBackPorch_LTDC_noparam"/>
        <Parameter Name="HorizontalActiveDuration_LTDC_noparam"/>
        <Parameter Name="HorizontalLine_LTDC_noparam"/>
        <Parameter Name="VSPolarity"/>
        <Parameter Name="HSPolarity"/>
        <Parameter Name="DEPolarity"/>
        <Parameter Name="VSyncPol"/>
        <Parameter Name="LPWREIE"/>
        <Parameter Name="HighSpeedWritePrespMode"/>
        <Parameter Name="StopWaitTime"/>
        <Parameter Name="StopWaitTime_ns"/> 
    </RefMode>


    <!-- ModeLogicOperator for DSI -->
    <ModeLogicOperator Name="OR">
        <Mode Name="DSIHost" UserName="DSIHost">
            <ModeLogicOperator Name="XOR">
                <Mode Name="DSIHost_Video" UserName="Video Mode">
                    <Semaphore>DSIUsed_ForRCC</Semaphore>
                    <Semaphore>Semaphore_MODEVIDEO$IpInstance</Semaphore>
                                       
                    <SignalLogicalOp Name="AND">
                        <Signal Name="CKP" />
                        <Signal Name="CKN" />
                        <Signal Name="D0P" />
                        <Signal Name="D0N" />
                        <Signal Name="D1P" />
                        <Signal Name="D1N" />
                    </SignalLogicalOp>
                    <Condition Diagnostic="HSE clock must be selected (in RCC) and LTDC must be configured" Expression="(HSEByPass|HSEDIGByPass|HSEDIGByPass|HSEOscillator) &amp; (Semaphore_LTDC_ConfiguredforDSI_24bits|Semaphore_LTDC_ConfiguredforDSI_18bits|Semaphore_LTDC_ConfiguredforDSI_16bits)"/>  

                </Mode>
                <Mode Name="DSIHost_Video_onelane" UserName="Video Mode" RemoveCondition="$ModeExist_DSIHost_Video">
                    <ContextCondition Diagnostic="Not available in this context" Expression="$IpInstance_CUBE"/>
                    <Semaphore>DSIUsed_ForRCC</Semaphore>
                    <Semaphore>Semaphore_MODEVIDEO$IpInstance</Semaphore>
                    <Semaphore>Semaphore_onelane$IpInstance</Semaphore>
                    <SignalLogicalOp Name="AND">
                        <Signal Name="CKP" />
                        <Signal Name="CKN" />
                        <Signal Name="D0P" />
                        <Signal Name="D0N" />
                    </SignalLogicalOp>
                    <Condition Diagnostic="HSE clock must be selected (in RCC) and LTDC must be configured" Expression="(HSEByPass|HSEDIGByPass|HSEOscillator) &amp; (Semaphore_LTDC_ConfiguredforDSI_24bits|Semaphore_LTDC_ConfiguredforDSI_18bits|Semaphore_LTDC_ConfiguredforDSI_16bits)"/>  
                </Mode>			
                <Mode Name="DSIHost_Adapted" UserName="Adapted Command Mode">
                    <ContextCondition Diagnostic="Not available in this context" Expression="$IpInstance_CUBE"/>
                    <Semaphore>DSIUsed_ForRCC</Semaphore>
                    <Semaphore>Semaphore_MODEADAPTED$IpInstance</Semaphore>
                                     
                    <SignalLogicalOp Name="AND">
                        <Signal Name="CKP" />
                        <Signal Name="CKN" />
                        <Signal Name="D0P" />
                        <Signal Name="D0N" />
                        <Signal Name="D1P" />
                        <Signal Name="D1N" />
                    </SignalLogicalOp>
                    <Condition Diagnostic="HSE clock must be selected (in RCC)  and LTDC must be configured" Expression="(HSEByPass|HSEDIGByPass|HSEOscillator) &amp; (Semaphore_LTDC_ConfiguredforDSI_24bits|Semaphore_LTDC_ConfiguredforDSI_18bits|Semaphore_LTDC_ConfiguredforDSI_16bits)"/>  

                </Mode>
                <Mode Name="DSIHost_Adapted_onelane" UserName="Adapted Command Mode" RemoveCondition="$ModeExist_DSIHost_Adapted">
                    <ContextCondition Diagnostic="Not available in this context" Expression="$IpInstance_CUBE"/>
                    <Semaphore>DSIUsed_ForRCC</Semaphore>
                    <Semaphore>Semaphore_MODEADAPTED$IpInstance</Semaphore>
                    <Semaphore>Semaphore_onelane$IpInstance</Semaphore>
                    <SignalLogicalOp Name="AND">
                        <Signal Name="CKP" />
                        <Signal Name="CKN" />
                        <Signal Name="D0P" />
                        <Signal Name="D0N" />
                    </SignalLogicalOp>
                    <Condition Diagnostic="HSE clock must be selected (in RCC)  and LTDC must be configured" Expression="(HSEByPass|HSEDIGByPass|HSEOscillator) &amp; (Semaphore_LTDC_ConfiguredforDSI_24bits|Semaphore_LTDC_ConfiguredforDSI_18bits|Semaphore_LTDC_ConfiguredforDSI_16bits)"/>  

                </Mode>
                <Mode Name="DSIHost_Adapted_TE" UserName="Adapted Command Mode with TE Pin">
                    <ContextCondition Diagnostic="Not available in this context" Expression="$IpInstance_CUBE"/>
                    <Semaphore>DSIUsed_ForRCC</Semaphore>
                    <Semaphore>Semaphore_MODEADAPTEDTE$IpInstance</Semaphore>
              <!-- WARNING : MW_DSIHOST_MW semaphore is also used by X-CUBE-TOUCHGFX -->
                    <Semaphore>MW_DSIHOST_MW</Semaphore>
                    <SignalLogicalOp Name="AND">
                        <Signal Name="CKP" />
                        <Signal Name="CKN" />
                        <Signal Name="D0P" />
                        <Signal Name="D0N" />
                        <Signal Name="D1P" />
                        <Signal Name="D1N" />
                        <Signal Name="TE" />
                    </SignalLogicalOp>
                    <Condition Diagnostic="HSE clock must be selected (in RCC)  and LTDC must be configured" Expression="(HSEByPass|HSEDIGByPass|HSEOscillator) &amp; (Semaphore_LTDC_ConfiguredforDSI_24bits|Semaphore_LTDC_ConfiguredforDSI_18bits|Semaphore_LTDC_ConfiguredforDSI_16bits)"/>  
                </Mode>
                <Mode Name="DSIHost_Adapted_TE_onelane" UserName="Adapted Command Mode with TE Pin" RemoveCondition="$ModeExist_DSIHost_Adapted_TE">
                    <ContextCondition Diagnostic="Not available in this context" Expression="$IpInstance_CUBE"/>
                    <Semaphore>DSIUsed_ForRCC</Semaphore>
                    <Semaphore>Semaphore_MODEADAPTEDTE$IpInstance</Semaphore>
                    <Semaphore>Semaphore_onelane$IpInstance</Semaphore>
                    <SignalLogicalOp Name="AND">
                        <Signal Name="CKP" />
                        <Signal Name="CKN" />
                        <Signal Name="D0P" />
                        <Signal Name="D0N" />
                        <Signal Name="TE" />
                    </SignalLogicalOp>
                    <Condition Diagnostic="HSE clock must be selected (in RCC)  and LTDC must be configured" Expression="(HSEByPass|HSEDIGByPass|HSEOscillator) &amp; (Semaphore_LTDC_ConfiguredforDSI_24bits|Semaphore_LTDC_ConfiguredforDSI_18bits|Semaphore_LTDC_ConfiguredforDSI_16bits)"/>  
                </Mode>
                <Mode Name="DSIHost_Standalone" UserName="Command Mode via APB Interface">
                    <ContextCondition Diagnostic="Not available in this context" Expression="$IpInstance_CUBE"/>
                    <Semaphore>DSIUsed_ForRCC</Semaphore>
                    <Semaphore>Semaphore_MODESTANDALONE$IpInstance</Semaphore>
                    <SignalLogicalOp Name="AND">
                        <Signal Name="CKP" />
                        <Signal Name="CKN" />
                        <Signal Name="D0P" />
                        <Signal Name="D0N" />
                        <Signal Name="D1P" />
                        <Signal Name="D1N" />
                    </SignalLogicalOp>
                    <Condition Diagnostic="HSE clock must be selected (in RCC)" Expression="HSEByPass|HSEDIGByPass|HSEOscillator"/>  
                </Mode>			
                <Mode Name="DSIHost_Standalone_onelane" UserName="Command Mode via APB Interface" RemoveCondition="$ModeExist_DSIHost_Standalone">
                    <ContextCondition Diagnostic="Not available in this context" Expression="$IpInstance_CUBE"/>
                    <Semaphore>DSIUsed_ForRCC</Semaphore>
                    <Semaphore>Semaphore_MODESTANDALONE$IpInstance</Semaphore>
                    <Semaphore>Semaphore_onelane$IpInstance</Semaphore>
                    <SignalLogicalOp Name="AND">
                        <Signal Name="CKP" />
                        <Signal Name="CKN" />
                        <Signal Name="D0P" />
                        <Signal Name="D0N" />
                    </SignalLogicalOp>
                    <Condition Diagnostic="HSE clock must be selected (in RCC)" Expression="HSEByPass|HSEDIGByPass|HSEOscillator"/>  
                </Mode>			
  			
            </ModeLogicOperator>
            <Semaphore>$IpInstance</Semaphore>
        </Mode>
    </ModeLogicOperator>

    <!-- RefSignal for WWDG -->
    <RefSignal Name="CKP" IOMode="System" />
    <RefSignal Name="CKN" IOMode="System" />
    <RefSignal Name="D0P" IOMode="System" />
    <RefSignal Name="D0N" IOMode="System" />
    <RefSignal Name="D1P" IOMode="System" />
    <RefSignal Name="D1N" IOMode="System" />
    <RefSignal Name="TE" IOMode="AlternateFunctionPuPdOnly" Direction="Input"/>
</IP>
