<?xml version="1.0" encoding="utf-8" standalone="no"?>
<IP xmlns="http://mcd.rou.st.com/modules.php?name=mcu" DBVersion="V4.0" Name="DMA2D" Version="STM32Cube_FW_F4_V1.5.0" IncludeFile="stm32f4xx_ll_dma2d.h" 
    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_Configs.xsd">

    <RefConfig Name="Dma2D_Init">
      
        <!--Configure DMA2D output parameters -->
		  <IFCondition Expression ="1=1">
            <CallLibMethod Name="LL_DMA2D_SetMode">
                <MethodArg Name="DMA2Dx" ParameterName="DMA2Dx"/>
                <MethodArg Name="Mode" ParameterName="Mode"/>
            </CallLibMethod>
        </IFCondition>
		
		  <IFCondition Expression ="1=1">
            <CallLibMethod Name="LL_DMA2D_SetOutputColorMode">
              <MethodArg Name="DMA2Dx" ParameterName="DMA2Dx"/>
                <MethodArg Name="ColorMode" ParameterName="ColorMode"/>
            </CallLibMethod>
        </IFCondition>
		
		  <IFCondition Expression ="1=1">
            <CallLibMethod Name="LL_DMA2D_SetLineOffset">
               <MethodArg Name="DMA2Dx" ParameterName="DMA2Dx"/>
                <MethodArg Name="LineOffset" ParameterName="OutputOffset"/>
            </CallLibMethod>
        </IFCondition>
		

		

        <!--Configure DMA2D input (foreground layer) parameters -->
		
		  <IFCondition Expression ="!R2M_semaphore">
            <CallLibMethod Name="LL_DMA2D_FGND_SetColorMode">
               <MethodArg Name="DMA2Dx" ParameterName="DMA2Dx"/>
                <MethodArg Name="ColorMode" ParameterName="InputColorModeForeground"/>
            </CallLibMethod>
        </IFCondition>
		
		  <IFCondition Expression ="!R2M_semaphore">
            <CallLibMethod Name="LL_DMA2D_FGND_SetAlphaMode">
                 <MethodArg Name="DMA2Dx" ParameterName="DMA2Dx"/>
                <MethodArg Name="AphaMode" ParameterName="AlphaModeForeground"/>
            </CallLibMethod>
        </IFCondition>
		
		  <IFCondition Expression ="!R2M_semaphore">
            <CallLibMethod Name="LL_DMA2D_FGND_SetAlpha">
                 <MethodArg Name="DMA2Dx" ParameterName="DMA2Dx"/>
                <MethodArg Name="Alpha" ParameterName="InputAlphaForeground"/>
            </CallLibMethod>
        </IFCondition>
		
		  <IFCondition Expression ="!R2M_semaphore">
            <CallLibMethod Name="LL_DMA2D_FGND_SetLineOffset">
                 <MethodArg Name="DMA2Dx" ParameterName="DMA2Dx"/>
                <MethodArg Name="LineOffset" ParameterName="InputOffsetForeground"/>
            </CallLibMethod>
        </IFCondition>
		

        <!--Configure DMA2D input (background layer) parameters -->


		  <IFCondition Expression ="M2M_BLEND_semaphore">
            <CallLibMethod Name="LL_DMA2D_BGND_SetColorMode">
                 <MethodArg Name="DMA2Dx" ParameterName="DMA2Dx"/>
                <MethodArg Name="ColorMode" ParameterName="InputColorModeBackground"/>
            </CallLibMethod>
        </IFCondition>
		
		  <IFCondition Expression ="M2M_BLEND_semaphore">
            <CallLibMethod Name="LL_DMA2D_BGND_SetAlphaMode">
                 <MethodArg Name="DMA2Dx" ParameterName="DMA2Dx"/>
                <MethodArg Name="AphaMode" ParameterName="AlphaModeBackground"/>
            </CallLibMethod>
        </IFCondition>
		
		  <IFCondition Expression ="M2M_BLEND_semaphore">
            <CallLibMethod Name="LL_DMA2D_BGND_SetAlpha">
                 <MethodArg Name="DMA2Dx" ParameterName="DMA2Dx"/>
                <MethodArg Name="Alpha" ParameterName="InputAlphaBackground"/>
            </CallLibMethod>
        </IFCondition>
		
		  <IFCondition Expression ="M2M_BLEND_semaphore">
            <CallLibMethod Name="LL_DMA2D_BGND_SetLineOffset">
                 <MethodArg Name="DMA2Dx" ParameterName="DMA2Dx"/>
                <MethodArg Name="LineOffset" ParameterName="InputOffsetBackground"/>
            </CallLibMethod>
        </IFCondition>
		

      
     
		
       
	   
    </RefConfig>

    <LibMethod Comment="" Name="LL_DMA2D_SetMode">
        <Argument AddressOf="false" GenericType="simple" Name="DMA2Dx"/>
        <Argument AddressOf="false" GenericType="simple" Name="Mode"/>
    </LibMethod>
    <LibMethod Comment="" Name="LL_DMA2D_SetOutputColorMode">
        <Argument AddressOf="false" GenericType="simple" Name="DMA2Dx"/>
        <Argument AddressOf="false" GenericType="simple" Name="ColorMode"/>
    </LibMethod>
    <LibMethod Comment="" Name="LL_DMA2D_SetLineOffset">
        <Argument AddressOf="false" GenericType="simple" Name="DMA2Dx"/>
        <Argument AddressOf="false" GenericType="simple" Name="LineOffset"/>
    </LibMethod>
    <LibMethod Comment="" Name="LL_DMA2D_SetLineOffsetMode">
        <Argument AddressOf="false" GenericType="simple" Name="DMA2Dx"/>
        <Argument AddressOf="false" GenericType="simple" Name="LineOffsetMode"/>
    </LibMethod>
    <LibMethod Comment="" Name="LL_DMA2D_SetOutputSwapMode">
        <Argument AddressOf="false" GenericType="simple" Name="DMA2Dx"/>
        <Argument AddressOf="false" GenericType="simple" Name="OutputSwapMode"/>
    </LibMethod>
    <LibMethod Comment="" Name="LL_DMA2D_SetOutputRBSwapMode">
       <Argument AddressOf="false" GenericType="simple" Name="DMA2Dx"/>
       <Argument AddressOf="false" GenericType="simple" Name="RBSwapMode"/>
    </LibMethod>
    <LibMethod Comment="" Name="LL_DMA2D_SetOutputAlphaInvMode">
        <Argument AddressOf="false" GenericType="simple" Name="DMA2Dx"/>
        <Argument AddressOf="false" GenericType="simple" Name="AlphaInversionMode"/>
    </LibMethod>
	
	
    <LibMethod Comment="" Name="LL_DMA2D_FGND_SetColorMode">
        <Argument AddressOf="false" GenericType="simple" Name="DMA2Dx"/>
        <Argument AddressOf="false" GenericType="simple" Name="ColorMode"/>
    </LibMethod>
    <LibMethod Comment="" Name="LL_DMA2D_FGND_SetAlphaMode">
       <Argument AddressOf="false" GenericType="simple" Name="DMA2Dx"/>
       <Argument AddressOf="false" GenericType="simple" Name="AphaMode"/>
    </LibMethod>
    <LibMethod Comment="" Name="LL_DMA2D_FGND_SetAlpha">
         <Argument AddressOf="false" GenericType="simple" Name="DMA2Dx"/>
         <Argument AddressOf="false" GenericType="simple" Name="Alpha"/>
    </LibMethod>
    <LibMethod Comment="" Name="LL_DMA2D_FGND_SetLineOffset">
         <Argument AddressOf="false" GenericType="simple" Name="DMA2Dx"/>
         <Argument AddressOf="false" GenericType="simple" Name="LineOffset"/>
    </LibMethod>
    <LibMethod Comment="" Name="LL_DMA2D_FGND_SetRBSwapMode">
         <Argument AddressOf="false" GenericType="simple" Name="DMA2Dx"/>
         <Argument AddressOf="false" GenericType="simple" Name="RBSwapMode"/>
    </LibMethod>
    <LibMethod Comment="" Name="LL_DMA2D_FGND_SetAlphaInvMode">
         <Argument AddressOf="false" GenericType="simple" Name="DMA2Dx"/>
         <Argument AddressOf="false" GenericType="simple" Name="AlphaInversionMode"/>
    </LibMethod>

    <LibMethod Comment="" Name="LL_DMA2D_BGND_SetColorMode">
         <Argument AddressOf="false" GenericType="simple" Name="DMA2Dx"/>
         <Argument AddressOf="false" GenericType="simple" Name="ColorMode"/>
    </LibMethod>
    <LibMethod Comment="" Name="LL_DMA2D_BGND_SetAlphaMode">
         <Argument AddressOf="false" GenericType="simple" Name="DMA2Dx"/>
         <Argument AddressOf="false" GenericType="simple" Name="AphaMode"/>
    </LibMethod>
    <LibMethod Comment="" Name="LL_DMA2D_BGND_SetAlpha">
         <Argument AddressOf="false" GenericType="simple" Name="DMA2Dx"/>
         <Argument AddressOf="false" GenericType="simple" Name="Alpha"/>
    </LibMethod>
    <LibMethod Comment="" Name="LL_DMA2D_BGND_SetLineOffset">
         <Argument AddressOf="false" GenericType="simple" Name="DMA2Dx"/>
         <Argument AddressOf="false" GenericType="simple" Name="LineOffset"/>
    </LibMethod>
    <LibMethod Comment="" Name="LL_DMA2D_BGND_SetRBSwapMode">
         <Argument AddressOf="false" GenericType="simple" Name="DMA2Dx"/>
         <Argument AddressOf="false" GenericType="simple" Name="RBSwapMode"/>
    </LibMethod>
    <LibMethod Comment="" Name="LL_DMA2D_BGND_SetAlphaInvMode">
         <Argument AddressOf="false" GenericType="simple" Name="DMA2Dx"/>
         <Argument AddressOf="false" GenericType="simple" Name="AlphaInversionMode"/>
    </LibMethod>

    
    <RefComponent Cclass="HAL" Cgroup="RCC" Cversion="1.5.0">
        <File Category="header" Name="Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_dma2d.h"/>
    </RefComponent>
</IP>
