<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<IP xmlns="http://mcd.rou.st.com/modules.php?name=mcu" xmlns:ns0="http://www.w3.org/2001/XMLSchema-instance" DBVersion="V4.0" Name="RCC" Version="STM32Cube_FW_WB_V0.1.0" ns0:schemaLocation="http://mcd.rou.st.com/modules.php?name=mcu ../../../../../../../doc/V4/Development/Specifications/db/IP_Configs.xsd">

    <RefConfig Comment="Initializes the CPU, AHB and APB busses clocks" Name="RCC_OSCConfig">
        <CallLibMethod Name="HAL_RCC_OscConfig">
            <MethodArg Name="HSICalibrationValue" ParameterName="HSICalibrationValueARG"/>
            <MethodArg Name="HSEState"            ParameterName="HSEStateARG"/>
            <MethodArg Name="LSEState"			  ParameterName="LSEStateARG"/>
            <MethodArg Name="HSIState" 			  ParameterName="HSIStateARG"/>
            <MethodArg Name="LSIState" 			  ParameterName="LSIStateARG"/>
            <MethodArg Name="MSIState" 			  ParameterName="MSIStateARG"/>
            <MethodArg Name="MSICalibrationValue" ParameterName="MSICalibrationValueARG"/>
            <MethodArg Name="MSIClockRange" 	  ParameterName="MSIClockRangeARG"/>
            <MethodArg Name="PLLState" 			  ParameterName="PLLStateARG"/>
            <MethodArg Name="PLLSource" 		  ParameterName="PLLSourceARG"/>
            <MethodArg Name="LSIDiv" 		          ParameterName="LSIDivARG"/>
            <MethodArg Name="HSEDiv" 		          ParameterName="HSEDivARG"/>            
            <MethodArg Name="PLLM" ParameterName="PLLMARG"/>
            <MethodArg Name="PLLN" ParameterName="PLLNARG"/>
            <MethodArg Name="PLLP" ParameterName="PLLPARG"/>
            <MethodArg Name="PLLQ" ParameterName="PLLQARG"/>
            <MethodArg Name="PLLR" ParameterName="PLLRARG"/>
        </CallLibMethod>
    </RefConfig>
	
    <RefConfig Comment="Configure the SYSCLKSource, HCLK, PCLK1 and PCLK2 clocks dividers" Name="RCC_ClockConfig">
        <CallLibMethod Name="HAL_RCC_ClockConfig">
            <MethodArg Name="ClockType"      ParameterName="ClockTypeARG"/>
            <MethodArg Name="SYSCLKSource"   ParameterName="SYSCLKSourceARG"/>
            <MethodArg Name="AHBCLKDivider"  ParameterName="AHBCLKDividerARG"/>
            <MethodArg Name="APB1CLKDivider" ParameterName="APB1CLKDividerARG"/>
            <MethodArg Name="APB2CLKDivider" ParameterName="APB2CLKDividerARG"/>
            <MethodArg Name="AHBCLK2Divider" ParameterName="AHBCLK2CLKDividerARG"/>
            <MethodArg Name="AHBCLK3Divider" ParameterName="AHBCLKSCLKDividerARG"/>
        </CallLibMethod>
    </RefConfig>
    <RefConfig Comment="Enable the HSE Prescaler" Name="RCC_HSE_DIV2_ENABLE">
        <IFCondition  Expression="HSEPrediv2=1" >
            <CallLibMethod Name="__HAL_RCC_HSE_DIV2_ENABLE" ReturnHAL="false"/>
        </IFCondition>
    </RefConfig>
    <RefConfig Comment="Initializes the peripherals clocks" Name="RCC_PClockConfig">
        <CallLibMethod Name="HAL_RCCEx_PeriphCLKConfig">
            <MethodArg Name="PeriphClockSelection" ParameterName="PeriphClockSelectionARG"/>
            <MethodArg Name="Usart1ClockSelection" ParameterName="USART1lockSelectionARG"/>
            <MethodArg Name="Usart2ClockSelection" ParameterName="USART2lockSelectionARG"/>
            <MethodArg Name="I2s2ClockSelection"   ParameterName="I2s2ClockSelectionARG"/>
            <MethodArg Name="Lpuart1ClockSelection" ParameterName="LPUART1lockSelectionARG"/>
            <MethodArg Name="I2c1ClockSelection"   ParameterName="I2C1lockSelectionARG"/>
            <MethodArg Name="I2c2ClockSelection"   ParameterName="I2c2ClockSelectionARG"/>
            <MethodArg Name="I2c3ClockSelection"   ParameterName="I2C3lockSelectionARG"/>
            <MethodArg Name="Lptim1ClockSelection" ParameterName="LPTIM1lockSelectionARG"/>
            <MethodArg Name="Lptim2ClockSelection" ParameterName="LPTIM2lockSelectionARG"/>
            <MethodArg Name="Lptim3ClockSelection" ParameterName="LPTIM3lockSelectionARG"/>
            <MethodArg Name="AdcClockSelection"    ParameterName="ADCClockSelectionARG"/>
            <MethodArg Name="RngClockSelection"    ParameterName="RNGClockSelectionARG"/>
            <MethodArg Name="RTCClockSelection"    ParameterName="RTCClockSelectionARG"/>
        </CallLibMethod>
    </RefConfig>
   
   <RefConfig Name="RCC_LSCOConfig">
        <CallLibMethod Name="HAL_RCCEx_EnableLSCO" ReturnHAL="false">
            <MethodArg Name="LSCOSource" ParameterName="LSCOSource1ARG"/>
            
        </CallLibMethod>
    </RefConfig>
   
   <RefConfig Comment="Enables the Clock Security System" Name="RCC_CSS_EnableLSE">
        <CallLibMethod Name="HAL_RCCEx_EnableLSECSS" ReturnHAL="false"/>
    </RefConfig>
   
   <RefConfig Comment="Enables the Clock Security System" Name="RCC_CSS_Enable">
        <CallLibMethod Name="HAL_RCC_EnableCSS" ReturnHAL="false"/>
    </RefConfig>
    
	<RefConfig Comment="Configure the main internal regulator output voltage" Name="RCC_ConfigVoltageScaling">
       
        <CallLibMethod Name="__HAL_PWR_VOLTAGESCALING_CONFIG" ReturnHAL="false">
            <MethodArg Name="REGULATOR" ParameterName="PWR_Regulator_Voltage_ScaleARG"/>
        </CallLibMethod>
    </RefConfig>
  
  <RefConfig Comment="Activate the Over-Drive mode" Name="PWR_ActivateOverDrive">
        <CallLibMethod Name="HAL_PWREx_EnableOverDrive"/>
    </RefConfig>
   
   <RefConfig Name="RCC_MCO1Config">
        <CallLibMethod Name="HAL_RCC_MCOConfig" ReturnHAL="false">
            <MethodArg Name="RCC_MCOx" ParameterName="RCC_MCO"/>
            <MethodArg Name="RCC_MCOSource" ParameterName="RCC_MCO1SourceARG"/>
            <MethodArg Name="RCC_MCODiv" ParameterName="RCC_MCODiv"/>
        </CallLibMethod>
    </RefConfig>
  
  <RefConfig Comment="Configure LSE Drive Capability" Name="RCC_LSEDRIVE_CONFIG">
        <CallLibMethod Name="__HAL_RCC_LSEDRIVE_CONFIG" ReturnHAL="false">
            <MethodArg Name="__RCC_LSEDRIVE__" ParameterName="LSE_Drive_Capability"/>
        </CallLibMethod>
    </RefConfig>
  
  <RefConfig Comment="Configure the Systick interrupt time" Name="RCC_interrupt_Time_SYSTICK_Config">
        <CallLibMethod Name="HAL_SYSTICK_Config" ReturnHAL="false">
            <MethodArg Name="TicksNumb" ParameterName="Cortex_DivARG"/>
        
        </CallLibMethod>
    </RefConfig>
	    <RefConfig Comment="Configures CRS" Name="RCC_CRSConfig">
        <CallLibMethod Name="HAL_RCCEx_CRSConfig" ReturnHAL="false">
            <MethodArg Name="Prescaler" ParameterName="Prescaler"/>
            <MethodArg Name="Source" ParameterName="Source"/>
            <MethodArg Name="Polarity" ParameterName="Polarity"/>
            <MethodArg Name="ReloadValue" ParameterName="ReloadValueARG"/>
            <MethodArg Name="ErrorLimitValue" ParameterName="ErrorLimitValue"/>
        </CallLibMethod>
    </RefConfig>
    <RefConfig Comment="Enable the SYSCFG APB clock" Name="CRS_CLK_ENABLE">
        <CallLibMethod Name="__HAL_RCC_CRS_CLK_ENABLE" ReturnHAL="false"/>
    </RefConfig>

    <RefConfig Comment="Configure the Systick" Name="RCC_SYSTICK_CONFIG">
    
        <CallLibMethod Name="HAL_SYSTICK_CLKSourceConfig" ReturnHAL="false">
            <MethodArg Name="CLKSource" ParameterName="Cortex_Div"/>
        </CallLibMethod>
    </RefConfig>
   
   <RefConfig Comment="Enable MSI Auto calibration" Name="EnableMSIPLLMode">
        <CallLibMethod Name="HAL_RCCEx_EnableMSIPLLMode" ReturnHAL="false"/>
    </RefConfig>
    <LibMethod Comment="Enable MSI Auto calibration" Name="HAL_RCCEx_EnableMSIPLLMode">
     
    </LibMethod>
    <LibMethod Comment="" Name="HAL_RCCEx_EnableLSCO">
        <Argument AddressOf="false" GenericType="simple" Name="LSCOSource" OptimizationCondition="equal"/>
      
    </LibMethod>
    <LibMethod Comment="" Name="HAL_RCCEx_EnableLSECSS"/>
    <LibMethod Comment="" Name="HAL_RCC_OscConfig">
        <Argument AddressOf="true" GenericType="struct" Name="RCC_OscInitStruct" TypeName="RCC_OscInitTypeDef">
            <Argument AddressOf="false" GenericType="simple" Name="OscillatorType" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="HSEState" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="LSEState" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="HSIState" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="MSIState" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="HSICalibrationValue" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="MSICalibrationValue" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="MSIClockRange" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="LSIDiv" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="HSEDiv" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="LSIState" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="struct" Name="PLL" TypeName="RCC_PLLInitTypeDef">
                <Argument AddressOf="false" GenericType="simple" Name="PLLState" OptimizationCondition="equal"/>
                <Argument AddressOf="false" GenericType="simple" Name="PLLSource" OptimizationCondition="equal"/>
                <Argument AddressOf="false" GenericType="simple" Name="PLLM" OptimizationCondition="equal"/>
                <Argument AddressOf="false" GenericType="simple" Name="PLLN" OptimizationCondition="equal"/>
                <Argument AddressOf="false" GenericType="simple" Name="PLLP" OptimizationCondition="equal"/>
                <Argument AddressOf="false" GenericType="simple" Name="PLLR" OptimizationCondition="equal"/>
                <Argument AddressOf="false" GenericType="simple" Name="PLLQ" OptimizationCondition="equal"/>
            </Argument>
        </Argument>
    </LibMethod>
    <LibMethod Comment="" Name="HAL_RCC_ClockConfig">
        <Argument AddressOf="true" GenericType="struct" Name="RCC_ClkInitStruct" TypeName="RCC_ClkInitTypeDef">
            <Argument AddressOf="false" GenericType="simple" Name="ClockType" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="SYSCLKSource" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="AHBCLKDivider" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="APB1CLKDivider" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="APB2CLKDivider" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="AHBCLK2Divider" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="AHBCLK3Divider" OptimizationCondition="equal"/>
        </Argument>
        <Argument AddressOf="false" GenericType="simple" Name="FLatency" OptimizationCondition="equal"/>
    </LibMethod>
    <LibMethod Comment="" Name="__HAL_RCC_LSEDRIVE_CONFIG">
        <Argument AddressOf="false" GenericType="simple" Name="__RCC_LSEDRIVE__" OptimizationCondition="equal"/>

    </LibMethod>
    <LibMethod Comment="" Name="__HAL_RCC_HSE_DIV2_ENABLE"/>
    <LibMethod Comment="" Name="HAL_RCCEx_CRSConfig">
        <Argument AddressOf="true" GenericType="struct" Name="RCC_CRSInitStruct" TypeName="RCC_CRSInitTypeDef">
            <Argument AddressOf="false" GenericType="simple" Name="Prescaler" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="Source" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="Polarity" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="ReloadValue" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="ErrorLimitValue" OptimizationCondition="equal"/>
        </Argument>
    </LibMethod>
	    <LibMethod Comment="Enable the CRS" Name="__HAL_RCC_CRS_CLK_ENABLE">
    </LibMethod>
    <LibMethod Comment="" Name="HAL_RCC_MCOConfig">
        <Argument AddressOf="false" GenericType="simple" Name="RCC_MCOx" OptimizationCondition="equal"/>
        <Argument AddressOf="false" GenericType="simple" Name="RCC_MCOSource" OptimizationCondition="equal"/>
        <Argument AddressOf="false" GenericType="simple" Name="RCC_MCODiv" OptimizationCondition="equal"/>
    </LibMethod>
    <LibMethod Comment="" Name="HAL_RCC_EnableCSS">
    </LibMethod>
    <LibMethod Comment="" Name="HAL_PWREx_EnableOverDrive">
    </LibMethod>
    <LibMethod Comment="" Name="__HAL_PWR_VOLTAGESCALING_CONFIG">
        <Argument AddressOf="false" GenericType="simple" Name="REGULATOR" OptimizationCondition="equal"/>
    </LibMethod>
    <LibMethod Comment="" Name="HAL_SYSTICK_Config">
        <Argument AddressOf="false" GenericType="simple" Name="TicksNumb" OptimizationCondition="equal"/>
    </LibMethod>
    <LibMethod Comment="" Name="HAL_SYSTICK_CLKSourceConfig">
        <Argument AddressOf="false" GenericType="simple" Name="CLKSource" OptimizationCondition="equal"/>
    </LibMethod>
    <LibMethod Comment="" Name="__HAL_RCC_PLL_PLLSOURCE_CONFIG">
        <Argument AddressOf="false" GenericType="simple" Name="RCC_PLLSource" OptimizationCondition="equal"/>
    </LibMethod>
    <LibMethod Comment="" Name="__HAL_RCC_PLL_PLLM_CONFIG">
        <Argument AddressOf="false" GenericType="simple" Name="PLLM" OptimizationCondition="equal"/>
    </LibMethod>
    <LibMethod Comment="" Name="__HAL_RCC_PWR_CLK_ENABLE">
    </LibMethod>
    <!--<LibMethod Comment="" Name="HAL_PWR_EnablePVD">
    </LibMethod>
    <LibMethod Comment="" Name="HAL_PWR_PVDConfig">
        <Argument AddressOf="true" GenericType="struct" Name="sConfigPVD" TypeName="PWR_PVDTypeDef" OptimizationCondition="equal">
            <Argument Name="" GenericType="">
        </Argument>
    </LibMethod>-->
    <LibMethod Comment="" Name="HAL_RCCEx_PeriphCLKConfig">
        <Argument AddressOf="true" GenericType="struct" Name="PeriphClkInitStruct" TypeName="RCC_PeriphCLKInitTypeDef">
            <Argument AddressOf="false" GenericType="simple" Name="PeriphClockSelection" OptimizationCondition="equal"/>            
            <Argument AddressOf="false" GenericType="simple" Name="Usart1ClockSelection" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="Usart2ClockSelection" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="I2s2ClockSelection" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="Lpuart1ClockSelection" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="I2c1ClockSelection" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="I2c2ClockSelection" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="I2c3ClockSelection" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="Lptim1ClockSelection" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="Lptim2ClockSelection" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="Lptim3ClockSelection" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="RngClockSelection" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="AdcClockSelection" OptimizationCondition="equal"/>
            <Argument AddressOf="false" GenericType="simple" Name="RTCClockSelection" OptimizationCondition="equal"/>
        </Argument>
    </LibMethod>
    
    <RefComponent Cclass="HAL" Cgroup="RCC" Cversion="0.8.4">
        <File Category="header" Name="Drivers/STM32WLxx_HAL_Driver/Inc/stm32wlxx_hal_rcc.h"/>
        <File Category="header" Name="Drivers/STM32WLxx_HAL_Driver/Inc/stm32wlxx_hal_rcc_ex.h"/>
        <File Category="source" Name="Drivers/STM32WLxx_HAL_Driver/Src/stm32wlxx_hal_rcc.c"/>
        <File Category="source" Name="Drivers/STM32WLxx_HAL_Driver/Src/stm32wlxx_hal_rcc_ex.c"/>
        <File Category="header" Name="Drivers/STM32WLxx_HAL_Driver/Inc/stm32wlxx_ll_pwr.h"/>
        <File Category="header" Name="Drivers/STM32WLxx_HAL_Driver/Inc/stm32wlxx_ll_rcc.h"/>
        <File Category="header" Name="Drivers/STM32WLxx_HAL_Driver/Inc/stm32wlxx_ll_bus.h"/>
        <File Category="header" Name="Drivers/STM32WLxx_HAL_Driver/Inc/stm32wlxx_ll_exti.h"/>
        <File Category="header" Name="Drivers/STM32WLxx_HAL_Driver/Inc/stm32wlxx_ll_system.h"/>
    </RefComponent>
    <RefComponent Cclass="HAL" Cgroup="FLASH" Cversion="0.8.4">
        <File Category="header" Name="Drivers/STM32WLxx_HAL_Driver/Inc/stm32wlxx_hal_flash.h"/>
        <File Category="header" Name="Drivers/STM32WLxx_HAL_Driver/Inc/stm32wlxx_hal_flash_ex.h"/>
        <File Category="source" Name="Drivers/STM32WLxx_HAL_Driver/Src/stm32wlxx_hal_flash.c"/>
        <File Category="source" Name="Drivers/STM32WLxx_HAL_Driver/Src/stm32wlxx_hal_flash_ex.c"/>   
    </RefComponent>
    <RefComponent Cclass="HAL" Cgroup="GPIO" Cversion="0.8.4">
        <File Category="header" Name="Drivers/STM32WLxx_HAL_Driver/Inc/stm32wlxx_hal_gpio.h"/>
        <File Category="source" Name="Drivers/STM32WLxx_HAL_Driver/Src/stm32wlxx_hal_gpio.c"/>
        <File Category="header" Name="Drivers/STM32WLxx_HAL_Driver/Inc/stm32wlxx_hal_gpio_ex.h"/>          
    </RefComponent>
<!--
    <RefComponent Cclass="HAL" Cgroup="HSEM" Cversion="0.8.4">
        <File Category="header" Name="Drivers/STM32WLxx_HAL_Driver/Inc/stm32wlxx_hal_hsem.h"/>
        <File Category="source" Name="Drivers/STM32WLxx_HAL_Driver/Src/stm32wlxx_hal_hsem.c"/>
    </RefComponent>
-->
    <RefComponent Cclass="HAL" Cgroup="DMA" Cversion="0.8.4">       
        <File Category="header" Name="Drivers/STM32WLxx_HAL_Driver/Inc/stm32wlxx_hal_dma.h"/>
        <File Category="header" Name="Drivers/STM32WLxx_HAL_Driver/Inc/stm32wlxx_ll_dma.h"/>
        <File Category="header" Name="Drivers/STM32WLxx_HAL_Driver/Inc/stm32wlxx_ll_dmamux.h"/>
        <File Category="header" Name="Drivers/STM32WLxx_HAL_Driver/Inc/stm32wlxx_hal_dma_ex.h"/>
        <File Category="source" Name="Drivers/STM32WLxx_HAL_Driver/Src/stm32wlxx_hal_dma.c"/>
        <File Category="source" Name="Drivers/STM32WLxx_HAL_Driver/Src/stm32wlxx_hal_dma_ex.c"/>  
    </RefComponent>
    <RefComponent Cclass="HAL" Cgroup="PWR" Cversion="0.8.4">  
        <File Category="header" Name="Drivers/STM32WLxx_HAL_Driver/Inc/stm32wlxx_hal_pwr.h"/>
        <File Category="header" Name="Drivers/STM32WLxx_HAL_Driver/Inc/stm32wlxx_hal_pwr_ex.h"/>
        <File Category="source" Name="Drivers/STM32WLxx_HAL_Driver/Src/stm32wlxx_hal_pwr.c"/>
        <File Category="source" Name="Drivers/STM32WLxx_HAL_Driver/Src/stm32wlxx_hal_pwr_ex.c"/>
    </RefComponent>
    <RefComponent Cclass="HAL" Cgroup="CORTEX" Cversion="0.8.4">
        <File Category="header" Name="Drivers/STM32WLxx_HAL_Driver/Inc/stm32wlxx_hal_cortex.h"/> 
        <File Category="source" Name="Drivers/STM32WLxx_HAL_Driver/Src/stm32wlxx_hal_cortex.c"/>       
    </RefComponent>
    <RefComponent Cclass="HAL" Cgroup="COMMON" Cversion="0.8.4">
        <File Category="header" Name="Drivers/STM32WLxx_HAL_Driver/Inc/stm32wlxx_hal.h"/>
        <File Category="header" Name="Drivers/STM32WLxx_HAL_Driver/Inc/stm32wlxx_hal_def.h"/>  
        <File Category="source" Name="Drivers/STM32WLxx_HAL_Driver/Src/stm32wlxx_hal.c"/>
        <File Category="header" Name="Drivers/STM32WLxx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h"/>
    </RefComponent>
    <RefComponent Cclass="HAL" Cgroup="EXTI" Cversion="1.0.0">
        <File Category="header" Name="Drivers/STM32WLxx_HAL_Driver/Inc/stm32wlxx_hal_exti.h"/>
        <File Category="source" Name="Drivers/STM32WLxx_HAL_Driver/Src/stm32wlxx_hal_exti.c"/>
    </RefComponent>
</IP>
