#MicroXplorer Configuration settings - do not modify ADC.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_0 ADC.Channel-3\#ChannelRegularConversion=ADC_CHANNEL_TEMPSENSOR ADC.Channel-4\#ChannelRegularConversion=ADC_CHANNEL_VREFINT ADC.ContinuousConvMode=DISABLE ADC.DMAContinuousRequests=DISABLE ADC.IPParameters=Rank-0\#ChannelRegularConversion,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,NbrOfConversionFlag,ScanConvMode,ContinuousConvMode,DMAContinuousRequests,NbrOfConversion,Rank-3\#ChannelRegularConversion,Channel-3\#ChannelRegularConversion,SamplingTime-3\#ChannelRegularConversion,Rank-4\#ChannelRegularConversion,Channel-4\#ChannelRegularConversion,SamplingTime-4\#ChannelRegularConversion ADC.NbrOfConversion=3 ADC.NbrOfConversionFlag=1 ADC.Rank-0\#ChannelRegularConversion=1 ADC.Rank-3\#ChannelRegularConversion=2 ADC.Rank-4\#ChannelRegularConversion=3 ADC.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_48CYCLES ADC.SamplingTime-3\#ChannelRegularConversion=ADC_SAMPLETIME_48CYCLES ADC.SamplingTime-4\#ChannelRegularConversion=ADC_SAMPLETIME_48CYCLES ADC.ScanConvMode=ADC_SCAN_ENABLE COMP2.IPParameters=InvertingInput,TriggerMode,Output,Mode COMP2.InvertingInput=COMP_INVERTINGINPUT_DAC2 COMP2.Mode=COMP_MODE_HIGHSPEED COMP2.Output=COMP_OUTPUT_NONE COMP2.TriggerMode=COMP_TRIGGERMODE_IT_RISING DAC.DAC_OutputBuffer2=DAC_OUTPUTBUFFER_DISABLE DAC.IPParameters=DAC_OutputBuffer2 Dma.ADC.0.Direction=DMA_PERIPH_TO_MEMORY Dma.ADC.0.Instance=DMA1_Channel1 Dma.ADC.0.MemDataAlignment=DMA_MDATAALIGN_WORD Dma.ADC.0.MemInc=DMA_MINC_ENABLE Dma.ADC.0.Mode=DMA_NORMAL Dma.ADC.0.PeriphDataAlignment=DMA_PDATAALIGN_WORD Dma.ADC.0.PeriphInc=DMA_PINC_DISABLE Dma.ADC.0.Priority=DMA_PRIORITY_LOW Dma.ADC.0.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority Dma.Request0=ADC Dma.RequestsNb=1 File.Version=6 GPIO.groupedBy=Group By Peripherals I2C2.I2C_Mode=I2C_Standard I2C2.IPParameters=I2C_Mode KeepUserPlacement=false Mcu.Family=STM32L1 Mcu.IP0=ADC Mcu.IP1=COMP2 Mcu.IP10=TIM4 Mcu.IP11=TIM6 Mcu.IP12=USART1 Mcu.IP2=DAC Mcu.IP3=DMA Mcu.IP4=I2C2 Mcu.IP5=NVIC Mcu.IP6=RCC Mcu.IP7=SYS Mcu.IP8=TIM2 Mcu.IP9=TIM3 Mcu.IPNb=13 Mcu.Name=STM32L151C(6-8-B)TxA Mcu.Package=LQFP48 Mcu.Pin0=PH0-OSC_IN Mcu.Pin1=PH1-OSC_OUT Mcu.Pin10=PB15 Mcu.Pin11=PA9 Mcu.Pin12=PA10 Mcu.Pin13=PA13 Mcu.Pin14=PA14 Mcu.Pin15=PB5 Mcu.Pin16=VP_ADC_TempSens_Input Mcu.Pin17=VP_ADC_Vref_Input Mcu.Pin18=VP_COMP2_VS_DACOUT2 Mcu.Pin19=VP_SYS_VS_Systick Mcu.Pin2=PA0-WKUP1 Mcu.Pin20=VP_TIM2_VS_ClockSourceINT Mcu.Pin21=VP_TIM2_VS_OPM Mcu.Pin22=VP_TIM3_VS_ControllerModeGated Mcu.Pin23=VP_TIM3_VS_ClockSourceINT Mcu.Pin24=VP_TIM3_VS_ClockSourceITR Mcu.Pin25=VP_TIM4_VS_ClockSourceINT Mcu.Pin26=VP_TIM6_VS_ClockSourceINT Mcu.Pin3=PA4 Mcu.Pin4=PA5 Mcu.Pin5=PB0 Mcu.Pin6=PB1 Mcu.Pin7=PB10 Mcu.Pin8=PB11 Mcu.Pin9=PB14 Mcu.PinsNb=27 Mcu.ThirdPartyNb=0 Mcu.UserConstants= Mcu.UserName=STM32L151CBTxA MxCube.Version=6.3.0 MxDb.Version=DB.6.0.30 NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false NVIC.COMP_IRQn=true\:0\:0\:false\:false\:true\:false\:true NVIC.DMA1_Channel1_IRQn=true\:0\:0\:false\:false\:true\:false\:true NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false NVIC.EXTI15_10_IRQn=true\:0\:0\:false\:false\:true\:true\:true NVIC.ForceEnableDMAVector=true NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:false NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false NVIC.PendSV_IRQn=true\:0\:0\:false\:false\:true\:false\:false NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4 NVIC.SVC_IRQn=true\:0\:0\:false\:false\:true\:false\:false NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:true\:false\:true NVIC.TIM4_IRQn=true\:0\:0\:false\:false\:true\:true\:true NVIC.TIM6_IRQn=true\:0\:0\:false\:false\:true\:true\:true NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false PA0-WKUP1.Mode=IN0 PA0-WKUP1.Signal=ADC_IN0 PA10.Mode=Asynchronous PA10.Signal=USART1_RX PA13.Mode=Serial_Wire PA13.Signal=SYS_JTMS-SWDIO PA14.Mode=Serial_Wire PA14.Signal=SYS_JTCK-SWCLK PA4.Signal=COMP_DAC1_group PA5.Signal=COMP_DAC2_group PA9.Mode=Asynchronous PA9.Signal=USART1_TX PB0.GPIOParameters=GPIO_Speed,PinState,GPIO_ModeDefaultOutputPP PB0.GPIO_ModeDefaultOutputPP=GPIO_MODE_OUTPUT_PP PB0.GPIO_Speed=GPIO_SPEED_FREQ_LOW PB0.Locked=true PB0.PinState=GPIO_PIN_RESET PB0.Signal=GPIO_Output PB1.Signal=S_TIM3_CH4 PB10.Mode=I2C PB10.Signal=I2C2_SCL PB11.Mode=I2C PB11.Signal=I2C2_SDA PB14.GPIOParameters=GPIO_PuPd,GPIO_ModeDefaultEXTI PB14.GPIO_ModeDefaultEXTI=GPIO_MODE_IT_FALLING PB14.GPIO_PuPd=GPIO_PULLUP PB14.Locked=true PB14.Signal=GPXTI14 PB15.GPIOParameters=GPIO_PuPd,GPIO_ModeDefaultEXTI PB15.GPIO_ModeDefaultEXTI=GPIO_MODE_IT_FALLING PB15.GPIO_PuPd=GPIO_PULLUP PB15.Locked=true PB15.Signal=GPXTI15 PB5.Locked=true PB5.Mode=INP PB5.Signal=COMP2_INP PH0-OSC_IN.Mode=HSE-External-Oscillator PH0-OSC_IN.Signal=RCC_OSC_IN PH1-OSC_OUT.Mode=HSE-External-Oscillator PH1-OSC_OUT.Signal=RCC_OSC_OUT PinOutPanel.RotationAngle=0 ProjectManager.AskForMigrate=true ProjectManager.BackupPrevious=false ProjectManager.CompilerOptimize=6 ProjectManager.ComputerToolchain=false ProjectManager.CoupleFile=false ProjectManager.CustomerFirmwarePackage= ProjectManager.DefaultFWLocation=true ProjectManager.DeletePrevious=true ProjectManager.DeviceId=STM32L151CBTxA ProjectManager.FirmwarePackage=STM32Cube FW_L1 V1.10.3 ProjectManager.FreePins=true ProjectManager.HalAssertFull=false ProjectManager.HeapSize=0x200 ProjectManager.KeepUserCode=true ProjectManager.LastFirmware=true ProjectManager.LibraryCopy=1 ProjectManager.MainLocation=Core/Src ProjectManager.NoMain=false ProjectManager.PreviousToolchain= ProjectManager.ProjectBuild=false ProjectManager.ProjectFileName=dosim-v1.ioc ProjectManager.ProjectName=dosim-v1 ProjectManager.RegisterCallBack= ProjectManager.StackSize=0x400 ProjectManager.TargetToolchain=STM32CubeIDE ProjectManager.ToolChainLocation= ProjectManager.UnderRoot=true ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_DMA_Init-DMA-false-HAL-true,3-MX_GPIO_Init-GPIO-false-HAL-true,4-MX_ADC_Init-ADC-false-HAL-true,5-MX_DAC_Init-DAC-false-HAL-true,6-MX_I2C2_Init-I2C2-false-HAL-true,7-MX_COMP2_Init-COMP2-false-HAL-true,8-MX_USART1_UART_Init-USART1-false-HAL-true,9-MX_TIM6_Init-TIM6-false-HAL-true,10-MX_TIM4_Init-TIM4-false-HAL-true,11-MX_TIM3_Init-TIM3-false-HAL-true,12-MX_TIM2_Init-TIM2-false-HAL-true RCC.48MHZClocksFreq_Value=48000000 RCC.AHBFreq_Value=32000000 RCC.APB1Freq_Value=32000000 RCC.APB1TimFreq_Value=32000000 RCC.APB2Freq_Value=32000000 RCC.APB2TimFreq_Value=32000000 RCC.FCLKCortexFreq_Value=32000000 RCC.FamilyName=M RCC.HCLKFreq_Value=32000000 RCC.HSE_VALUE=8000000 RCC.HSI_VALUE=16000000 RCC.IPParameters=48MHZClocksFreq_Value,AHBFreq_Value,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI_VALUE,LSE_VALUE,LSI_VALUE,MCOPinFreq_Value,MSI_VALUE,PLLCLKFreq_Value,PLLDIV,PLLMUL,PLLSourceVirtual,PWRFreq_Value,RTCFreq_Value,RTCHSEDivFreq_Value,SYSCLKFreq_VALUE,SYSCLKSource,TIMFreq_Value,TimerFreq_Value,VCOInputFreq_Value,VCOOutputFreq_Value RCC.LSE_VALUE=32768 RCC.LSI_VALUE=37000 RCC.MCOPinFreq_Value=32000000 RCC.MSI_VALUE=2097000 RCC.PLLCLKFreq_Value=32000000 RCC.PLLDIV=RCC_PLL_DIV3 RCC.PLLMUL=RCC_PLL_MUL12 RCC.PLLSourceVirtual=RCC_PLLSOURCE_HSE RCC.PWRFreq_Value=32000000 RCC.RTCFreq_Value=37000 RCC.RTCHSEDivFreq_Value=4000000 RCC.SYSCLKFreq_VALUE=32000000 RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK RCC.TIMFreq_Value=32000000 RCC.TimerFreq_Value=32000000 RCC.VCOInputFreq_Value=8000000 RCC.VCOOutputFreq_Value=96000000 SH.COMP_DAC1_group.0=DAC_OUT1,DAC_OUT1 SH.COMP_DAC1_group.ConfNb=1 SH.COMP_DAC2_group.0=DAC_OUT2,DAC_OUT2 SH.COMP_DAC2_group.ConfNb=1 SH.GPXTI14.0=GPIO_EXTI14 SH.GPXTI14.ConfNb=1 SH.GPXTI15.0=GPIO_EXTI15 SH.GPXTI15.ConfNb=1 SH.S_TIM3_CH4.0=TIM3_CH4,PWM Generation4 CH4 SH.S_TIM3_CH4.ConfNb=1 TIM2.AutoReloadPreload=TIM_AUTORELOAD_PRELOAD_DISABLE TIM2.CounterMode=TIM_COUNTERMODE_UP TIM2.IPParameters=Prescaler,Period,TIM_MasterOutputTrigger,TIM_MasterSlaveMode,AutoReloadPreload,CounterMode TIM2.Period=1000 TIM2.Prescaler=800 TIM2.TIM_MasterOutputTrigger=TIM_TRGO_ENABLE TIM2.TIM_MasterSlaveMode=TIM_MASTERSLAVEMODE_DISABLE TIM3.Channel-PWM\ Generation4\ CH4=TIM_CHANNEL_4 TIM3.IPParameters=Prescaler,Period,Channel-PWM Generation4 CH4,Pulse-PWM Generation4 CH4,OCMode_PWM-PWM Generation4 CH4,TIM_MasterSlaveMode,OC4Preload_PWM,OCPolarity_4 TIM3.OC4Preload_PWM=ENABLE TIM3.OCMode_PWM-PWM\ Generation4\ CH4=TIM_OCMODE_PWM1 TIM3.OCPolarity_4=TIM_OCPOLARITY_HIGH TIM3.Period=1000 TIM3.Prescaler=64 TIM3.Pulse-PWM\ Generation4\ CH4=10 TIM3.TIM_MasterSlaveMode=TIM_MASTERSLAVEMODE_DISABLE TIM4.IPParameters=Prescaler,TIM_MasterOutputTrigger,Period TIM4.Period=50000-1 TIM4.Prescaler=320 TIM4.TIM_MasterOutputTrigger=TIM_TRGO_UPDATE TIM6.IPParameters=Prescaler,Period,TIM_MasterOutputTrigger TIM6.Period=20000 TIM6.Prescaler=800 TIM6.TIM_MasterOutputTrigger=TIM_TRGO_UPDATE USART1.IPParameters=VirtualMode USART1.VirtualMode=VM_ASYNC VP_ADC_TempSens_Input.Mode=IN-TempSens VP_ADC_TempSens_Input.Signal=ADC_TempSens_Input VP_ADC_Vref_Input.Mode=IN-Vrefint VP_ADC_Vref_Input.Signal=ADC_Vref_Input VP_COMP2_VS_DACOUT2.Mode=INM_DACOUT2 VP_COMP2_VS_DACOUT2.Signal=COMP2_VS_DACOUT2 VP_SYS_VS_Systick.Mode=SysTick VP_SYS_VS_Systick.Signal=SYS_VS_Systick VP_TIM2_VS_ClockSourceINT.Mode=Internal VP_TIM2_VS_ClockSourceINT.Signal=TIM2_VS_ClockSourceINT VP_TIM2_VS_OPM.Mode=OPM_bit VP_TIM2_VS_OPM.Signal=TIM2_VS_OPM VP_TIM3_VS_ClockSourceINT.Mode=Internal VP_TIM3_VS_ClockSourceINT.Signal=TIM3_VS_ClockSourceINT VP_TIM3_VS_ClockSourceITR.Mode=TriggerSource_ITR1 VP_TIM3_VS_ClockSourceITR.Signal=TIM3_VS_ClockSourceITR VP_TIM3_VS_ControllerModeGated.Mode=Gated Mode VP_TIM3_VS_ControllerModeGated.Signal=TIM3_VS_ControllerModeGated VP_TIM4_VS_ClockSourceINT.Mode=Internal VP_TIM4_VS_ClockSourceINT.Signal=TIM4_VS_ClockSourceINT VP_TIM6_VS_ClockSourceINT.Mode=Enable_Timer VP_TIM6_VS_ClockSourceINT.Signal=TIM6_VS_ClockSourceINT board=custom isbadioc=false