<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<IP xmlns="http://mcd.rou.st.com/modules.php?name=mcu" DBVersion="V4.0" Name="OPAMP" IncludeFile="stm32l1xx_ll_opamp.h" Version="STM32Cube_FW_L1_V1.7.0" 
        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="OPAMP_Init">
        <CallLibMethod Name="LL_OPAMP_Init">
           <MethodArg Name="OPAMPx" ParameterName="Instance"/>
		   <MethodArg Name="PowerMode" ParameterName="PowerMode"/>
           <MethodArg Name="FunctionalMode" ParameterName="Mode"/>
           <MethodArg Name="InputNonInverting" ParameterName="NonInvertingInput"/>
		   <MethodArg Name="InputInverting" ParameterName="InvertingInput"/>
       </CallLibMethod>
	   <CallLibMethod Name="LL_OPAMP_SetCommonPowerRange">
		   <MethodArg Name="OPAMPxy_COMMON">
				<CallLibMethod Name="__LL_OPAMP_COMMON_INSTANCE">
					 <MethodArg Name="OPAMPx" ParameterName="Instance"/>
				</CallLibMethod>
			</MethodArg>
		   <MethodArg Name="PowerRange" ParameterName="PowerSupplyRange"/>
        </CallLibMethod>
		<CallLibMethod Name="LL_OPAMP_SetCommonTrimmingMode">
			 <MethodArg Name="OPAMPxy_COMMON">
				<CallLibMethod Name="__LL_OPAMP_COMMON_INSTANCE">
					 <MethodArg Name="OPAMPx" ParameterName="Instance"/>
				</CallLibMethod>
			</MethodArg>
		    <MethodArg Name="TrimmingMode" ParameterName="UserTrimming"/>
        </CallLibMethod>
		
		<IFCondition Expression="(SelfCalibration = Disable &amp; UserTrimming=OPAMP_TRIMMING_USER)">
		<CallLibMethod Name="LL_OPAMP_SetMode">
			<MethodArg Name="OPAMPx" ParameterName="Instance"/>
			 <MethodArg Name="Mode" FValue="LL_OPAMP_MODE_CALIBRATION"/>
        </CallLibMethod>
		</IFCondition>
		<IFCondition Expression="(SelfCalibration = Disable &amp; UserTrimming=OPAMP_TRIMMING_USER)">
		<CallLibMethod Name="LL_OPAMP_SetCalibrationSelection">
			<MethodArg Name="OPAMPx" ParameterName="Instance"/>
		    <MethodArg Name="TransistorsDiffPair" FValue="LL_OPAMP_TRIMMING_PMOS"/>
        </CallLibMethod>
		</IFCondition>
		<IFCondition Expression="(SelfCalibration = Disable &amp; PowerMode=OPAMP_POWERMODE_NORMAL  &amp; UserTrimming=OPAMP_TRIMMING_USER )">
		<CallLibMethod Name="LL_OPAMP_SetTrimmingValue">
			<MethodArg Name="OPAMPx" ParameterName="Instance"/>
			 <MethodArg Name="PowerMode" ParameterName="PowerMode"/>
			 <MethodArg Name="TransistorsDiffPair" FValue="LL_OPAMP_TRIMMING_PMOS"/>
			 <MethodArg Name="TrimmingValue" ParameterName="TrimmingValueP"/>
        </CallLibMethod>
		</IFCondition>
		<IFCondition Expression="(SelfCalibration = Disable &amp; UserTrimming=OPAMP_TRIMMING_USER)">
		<CallLibMethod Name="LL_OPAMP_SetTrimmingValue">
			<MethodArg Name="OPAMPx" ParameterName="Instance"/>
			 <MethodArg Name="PowerMode" ParameterName="PowerMode"/>
			 <MethodArg Name="TransistorsDiffPair" FValue="LL_OPAMP_TRIMMING_PMOS"/>
			 <MethodArg Name="TrimmingValue" ParameterName="TrimmingValuePLowPower"/>
        </CallLibMethod>
		</IFCondition>
		
		<IFCondition Expression="(SelfCalibration = Disable &amp; UserTrimming=OPAMP_TRIMMING_USER)">
		<CallLibMethod Name="LL_OPAMP_SetCalibrationSelection">
			<MethodArg Name="OPAMPx" ParameterName="Instance"/>
		     <MethodArg Name="TransistorsDiffPair" FValue="LL_OPAMP_TRIMMING_NMOS"/>
        </CallLibMethod>
		</IFCondition>
		<IFCondition Expression="(SelfCalibration = Disable &amp; PowerMode=OPAMP_POWERMODE_NORMAL &amp; UserTrimming=OPAMP_TRIMMING_USER )">
		<CallLibMethod Name="LL_OPAMP_SetTrimmingValue">
			<MethodArg Name="OPAMPx" ParameterName="Instance"/>
			 <MethodArg Name="PowerMode" ParameterName="PowerMode"/>
			 <MethodArg Name="TransistorsDiffPair" FValue="LL_OPAMP_TRIMMING_NMOS"/>
			 <MethodArg Name="TrimmingValue" ParameterName="TrimmingValueN"/>
        </CallLibMethod>
		</IFCondition>
		<IFCondition Expression="(SelfCalibration = Disable &amp; UserTrimming=OPAMP_TRIMMING_USER)">
		<CallLibMethod Name="LL_OPAMP_SetTrimmingValue">
			<MethodArg Name="OPAMPx" ParameterName="Instance"/>
			 <MethodArg Name="PowerMode" ParameterName="PowerMode"/>
			 <MethodArg Name="TransistorsDiffPair" FValue="LL_OPAMP_TRIMMING_NMOS"/>
			 <MethodArg Name="TrimmingValue" ParameterName="TrimmingValueNLowPower"/>
        </CallLibMethod>
		</IFCondition>

    </RefConfig> 
	<RefConfig Name="Opamp_DeInit">
        <CallLibMethod Name="LL_OPAMP_DeInit"/>
    </RefConfig>
	
	<LibMethod Comment="" Name="LL_OPAMP_Init">
        <Argument AddressOf="false" GenericType="baseaddress" Name="OPAMPx" TypeName="OPAMP_TypeDef"/>
        <Argument AddressOf="true" GenericType="struct" Name="OPAMP_InitStruct" TypeName="LL_OPAMP_InitTypeDef">
            <Argument AddressOf="false" GenericType="simple" Name="PowerMode" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="FunctionalMode" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="InputNonInverting" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="InputInverting" OptimizationCondition="equal"/>
        </Argument>
    </LibMethod>
	<LibMethod Comment="" Name="LL_OPAMP_SetTrimmingValue">
        <Argument AddressOf="false" GenericType="baseaddress" Name="OPAMPx" TypeName="OPAMP_TypeDef"/>
            <Argument AddressOf="false" GenericType="simple" Name="PowerMode" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="TransistorsDiffPair" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="TrimmingValue" OptimizationCondition="equal"/>
    </LibMethod>
	<LibMethod Comment="" Name="LL_OPAMP_SetCommonPowerRange">
	    <Argument AddressOf="false" GenericType="baseaddress" Name="OPAMPxy_COMMON" TypeName="OPAMP_Common_TypeDef" />
        <Argument AddressOf="false" GenericType="simple" Name="PowerRange" OptimizationCondition="equal"/>
	</LibMethod>
	<LibMethod Comment="" Name="LL_OPAMP_SetMode">
        <Argument AddressOf="false" GenericType="baseaddress" Name="OPAMPx" TypeName="OPAMP_TypeDef"/>
        <Argument AddressOf="false" GenericType="simple" Name="Mode" OptimizationCondition="equal"/>
	</LibMethod>
	<LibMethod Comment="" Name="LL_OPAMP_SetCalibrationSelection">
        <Argument AddressOf="false" GenericType="baseaddress" Name="OPAMPx" TypeName="OPAMP_TypeDef"/>
        <Argument AddressOf="false" GenericType="simple" Name="TransistorsDiffPair" OptimizationCondition="equal"/>
	</LibMethod>
	<LibMethod Comment="" Name="LL_OPAMP_SetCommonTrimmingMode">
        <Argument AddressOf="false" GenericType="baseaddress" Name="OPAMPxy_COMMON" TypeName="OPAMP_Common_TypeDef" />
        <Argument AddressOf="false" GenericType="simple" Name="TrimmingMode" OptimizationCondition="equal"/>
	</LibMethod>
	<LibMethod Comment="" Name="__LL_OPAMP_COMMON_INSTANCE">
		<Argument AddressOf="false" GenericType="baseaddress" Name="OPAMPx" TypeName="OPAMP_TypeDef" />
	</LibMethod>
	 <LibMethod Comment="" Name="LL_OPAMP_DeInit">
        <Argument AddressOf="false" GenericType="baseaddress" Name="OPAMPx" TypeName="OPAMP_TypeDef"/>
    </LibMethod>
	<RefComponent Cclass="LL" Cgroup="OPAMP" Cversion="1.7.0">
        <File Category="header" Name="Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_ll_opamp.h"/>
        <File Category="source" Name="Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_ll_opamp.c"/>
    </RefComponent>
</IP>
