#MicroXplorer Configuration settings - do not modify ADC1.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_11 ADC1.IPParameters=Rank-0\#ChannelRegularConversion,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,NbrOfConversionFlag,master,SelectedChannel ADC1.NbrOfConversionFlag=1 ADC1.Rank-0\#ChannelRegularConversion=1 ADC1.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLINGTIME_COMMON_1 ADC1.SelectedChannel=ADC_CHANNEL_3|ADC_CHANNEL_11 ADC1.master=1 Dma.ADC1.3.Direction=DMA_PERIPH_TO_MEMORY Dma.ADC1.3.EventEnable=DISABLE Dma.ADC1.3.Instance=DMA1_Channel1 Dma.ADC1.3.MemDataAlignment=DMA_MDATAALIGN_HALFWORD Dma.ADC1.3.MemInc=DMA_MINC_ENABLE Dma.ADC1.3.Mode=DMA_NORMAL Dma.ADC1.3.PeriphDataAlignment=DMA_PDATAALIGN_HALFWORD Dma.ADC1.3.PeriphInc=DMA_PINC_DISABLE Dma.ADC1.3.Polarity=HAL_DMAMUX_REQ_GEN_RISING Dma.ADC1.3.Priority=DMA_PRIORITY_LOW Dma.ADC1.3.RequestNumber=1 Dma.ADC1.3.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority,SignalID,Polarity,RequestNumber,SyncSignalID,SyncPolarity,SyncEnable,EventEnable,SyncRequestNumber Dma.ADC1.3.SignalID=NONE Dma.ADC1.3.SyncEnable=DISABLE Dma.ADC1.3.SyncPolarity=HAL_DMAMUX_SYNC_NO_EVENT Dma.ADC1.3.SyncRequestNumber=1 Dma.ADC1.3.SyncSignalID=NONE Dma.Request0=UCPD1_RX Dma.Request1=UCPD1_TX Dma.Request2=USART3_TX Dma.Request3=ADC1 Dma.RequestsNb=4 Dma.UCPD1_RX.0.Direction=DMA_PERIPH_TO_MEMORY Dma.UCPD1_RX.0.EventEnable=DISABLE Dma.UCPD1_RX.0.Instance=DMA1_Channel4 Dma.UCPD1_RX.0.MemDataAlignment=DMA_MDATAALIGN_BYTE Dma.UCPD1_RX.0.MemInc=DMA_MINC_ENABLE Dma.UCPD1_RX.0.Mode=DMA_NORMAL Dma.UCPD1_RX.0.PeriphDataAlignment=DMA_PDATAALIGN_BYTE Dma.UCPD1_RX.0.PeriphInc=DMA_PINC_DISABLE Dma.UCPD1_RX.0.Polarity=HAL_DMAMUX_REQ_GEN_RISING Dma.UCPD1_RX.0.Priority=DMA_PRIORITY_LOW Dma.UCPD1_RX.0.RequestNumber=1 Dma.UCPD1_RX.0.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority,SignalID,Polarity,RequestNumber,SyncSignalID,SyncPolarity,SyncEnable,EventEnable,SyncRequestNumber Dma.UCPD1_RX.0.SignalID=NONE Dma.UCPD1_RX.0.SyncEnable=DISABLE Dma.UCPD1_RX.0.SyncPolarity=HAL_DMAMUX_SYNC_NO_EVENT Dma.UCPD1_RX.0.SyncRequestNumber=1 Dma.UCPD1_RX.0.SyncSignalID=NONE Dma.UCPD1_TX.1.Direction=DMA_MEMORY_TO_PERIPH Dma.UCPD1_TX.1.EventEnable=DISABLE Dma.UCPD1_TX.1.Instance=DMA1_Channel2 Dma.UCPD1_TX.1.MemDataAlignment=DMA_MDATAALIGN_BYTE Dma.UCPD1_TX.1.MemInc=DMA_MINC_ENABLE Dma.UCPD1_TX.1.Mode=DMA_NORMAL Dma.UCPD1_TX.1.PeriphDataAlignment=DMA_PDATAALIGN_BYTE Dma.UCPD1_TX.1.PeriphInc=DMA_PINC_DISABLE Dma.UCPD1_TX.1.Polarity=HAL_DMAMUX_REQ_GEN_RISING Dma.UCPD1_TX.1.Priority=DMA_PRIORITY_LOW Dma.UCPD1_TX.1.RequestNumber=1 Dma.UCPD1_TX.1.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority,SignalID,Polarity,RequestNumber,SyncSignalID,SyncPolarity,SyncEnable,EventEnable,SyncRequestNumber Dma.UCPD1_TX.1.SignalID=NONE Dma.UCPD1_TX.1.SyncEnable=DISABLE Dma.UCPD1_TX.1.SyncPolarity=HAL_DMAMUX_SYNC_NO_EVENT Dma.UCPD1_TX.1.SyncRequestNumber=1 Dma.UCPD1_TX.1.SyncSignalID=NONE Dma.USART3_TX.2.Direction=DMA_MEMORY_TO_PERIPH Dma.USART3_TX.2.EventEnable=DISABLE Dma.USART3_TX.2.Instance=DMA1_Channel7 Dma.USART3_TX.2.MemDataAlignment=DMA_MDATAALIGN_BYTE Dma.USART3_TX.2.MemInc=DMA_MINC_ENABLE Dma.USART3_TX.2.Mode=DMA_NORMAL Dma.USART3_TX.2.PeriphDataAlignment=DMA_PDATAALIGN_BYTE Dma.USART3_TX.2.PeriphInc=DMA_PINC_DISABLE Dma.USART3_TX.2.Polarity=HAL_DMAMUX_REQ_GEN_RISING Dma.USART3_TX.2.Priority=DMA_PRIORITY_LOW Dma.USART3_TX.2.RequestNumber=1 Dma.USART3_TX.2.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority,SignalID,Polarity,RequestNumber,SyncSignalID,SyncPolarity,SyncEnable,EventEnable,SyncRequestNumber Dma.USART3_TX.2.SignalID=NONE Dma.USART3_TX.2.SyncEnable=DISABLE Dma.USART3_TX.2.SyncPolarity=HAL_DMAMUX_SYNC_NO_EVENT Dma.USART3_TX.2.SyncRequestNumber=1 Dma.USART3_TX.2.SyncSignalID=NONE FREERTOS.IPParameters=Tasks01,configTOTAL_HEAP_SIZE FREERTOS.Tasks01=defaultTask,0,128,StartDefaultTask,Default,NULL,Dynamic,NULL,NULL FREERTOS.configTOTAL_HEAP_SIZE=5000 File.Version=6 GPIO.groupedBy= GUI_INTERFACE.HWBoardVersionName=STM32G0C1E-EV GUI_INTERFACE.IPParameters=HWBoardVersionName,PDTypeName GUI_INTERFACE.PDTypeName=MB1581B KeepUserPlacement=false Mcu.Family=STM32G0 Mcu.IP0=ADC1 Mcu.IP1=DMA Mcu.IP10=USART3 Mcu.IP11=USBPD Mcu.IP2=FREERTOS Mcu.IP3=GUI_INTERFACE Mcu.IP4=LPTIM1 Mcu.IP5=NVIC Mcu.IP6=RCC Mcu.IP7=SYS Mcu.IP8=TRACER_EMB Mcu.IP9=UCPD1 Mcu.IPNb=12 Mcu.Name=STM32G0C1V(C-E)Tx Mcu.Package=LQFP100 Mcu.Pin0=PB9 Mcu.Pin1=PC10 Mcu.Pin10=PB14 Mcu.Pin11=PB15 Mcu.Pin12=PA8 Mcu.Pin13=PA9 Mcu.Pin14=PA10 Mcu.Pin15=PD3 Mcu.Pin16=PD4 Mcu.Pin17=VP_FREERTOS_VS_CMSIS_V1 Mcu.Pin18=VP_GUI_INTERFACE_VS_gui_interface Mcu.Pin19=VP_LPTIM1_VS_COMP1_LPTIM Mcu.Pin2=PC11 Mcu.Pin20=VP_SYS_VS_Systick Mcu.Pin21=VP_SYS_VS_DBSignals Mcu.Pin22=VP_TRACER_EMB_VS_traceremb_usart3 Mcu.Pin23=VP_USBPD_VS_USBPD1 Mcu.Pin24=VP_USBPD_VS_PD3FULL Mcu.Pin25=VP_USBPD_VS_usbpd_tim1 Mcu.Pin26=VP_USBPD_VS_usbpd_traceremb Mcu.Pin3=PC2 Mcu.Pin4=PA3 Mcu.Pin5=PB0 Mcu.Pin6=PB10 Mcu.Pin7=PB11 Mcu.Pin8=PB12 Mcu.Pin9=PB13 Mcu.PinsNb=27 Mcu.ThirdPartyNb=0 Mcu.UserConstants=USBPD_FW_VERSION,0x16092020 Mcu.UserName=STM32G0C1VETx MxCube.Version=6.1.0 MxDb.Version=DB.6.0.10 NVIC.ADC1_COMP_IRQn=true\:3\:0\:false\:false\:true\:false\:true\:true NVIC.DMA1_Ch4_7_DMA2_Ch1_5_DMAMUX1_OVR_IRQn=true\:3\:0\:false\:false\:true\:true\:false\:true NVIC.DMA1_Channel1_IRQn=true\:3\:0\:false\:false\:true\:true\:false\:true NVIC.DMA1_Channel2_3_IRQn=true\:3\:0\:false\:false\:true\:true\:false\:true NVIC.ForceEnableDMAVector=true NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false NVIC.PendSV_IRQn=true\:3\:0\:false\:false\:false\:false\:false\:false NVIC.SVC_IRQn=true\:0\:0\:false\:false\:false\:false\:false\:false NVIC.SavedPendsvIrqHandlerGenerated=true NVIC.SavedSvcallIrqHandlerGenerated=true NVIC.SavedSystickIrqHandlerGenerated=true NVIC.SysTick_IRQn=true\:3\:0\:false\:false\:true\:false\:false\:true NVIC.USART3_4_5_6_LPUART1_IRQn=true\:3\:0\:false\:false\:true\:false\:true\:true NVIC.USB_UCPD1_2_IRQn=true\:3\:0\:false\:false\:true\:false\:true\:true PA10.Mode=EnableDeadBattery PA10.Signal=UCPD1_DBCC2 PA3.GPIOParameters=GPIO_Label PA3.GPIO_Label=VSENSE_2 PA3.Locked=true PA3.Mode=IN3 PA3.Signal=ADC1_IN3 PA8.Mode=Source_AllSignals PA8.Signal=UCPD1_CC1 PA9.Mode=EnableDeadBattery PA9.Signal=UCPD1_DBCC1 PB0.GPIOParameters=GPIO_Label PB0.GPIO_Label=VCONN_DISCHARGE2 PB0.Locked=true PB0.Signal=GPIO_Output PB10.GPIOParameters=GPIO_Label PB10.GPIO_Label=VSENSE_1 PB10.Locked=true PB10.Mode=IN11 PB10.Signal=ADC1_IN11 PB11.GPIOParameters=GPIO_Label PB11.GPIO_Label=VSENSE_DCDC PB11.Locked=true PB11.Mode=IN15 PB11.Signal=ADC1_IN15 PB12.GPIOParameters=GPIO_Label PB12.GPIO_Label=ISENSE_2 PB12.Locked=true PB12.Mode=IN16 PB12.Signal=ADC1_IN16 PB13.GPIOParameters=GPIO_Label PB13.GPIO_Label=VBUS_DISCHARGE1 PB13.Locked=true PB13.Signal=GPIO_Output PB14.GPIOParameters=GPIO_Label PB14.GPIO_Label=VBUS_DISCHARGE2 PB14.Locked=true PB14.Signal=GPIO_Output PB15.Mode=Source_AllSignals PB15.Signal=UCPD1_CC2 PB9.GPIOParameters=GPIO_Label PB9.GPIO_Label=VCONN_EN2 PB9.Locked=true PB9.Signal=GPIO_Output PC10.Mode=Asynchronous PC10.Signal=USART3_TX PC11.Mode=Asynchronous PC11.Signal=USART3_RX PC2.GPIOParameters=GPIO_Label PC2.GPIO_Label=V_CTL1 PC2.Mode=Encoder_mode_occur2 PC2.Signal=LPTIM1_IN2 PD3.GPIOParameters=GPIO_Label PD3.GPIO_Label=SOURCE_EN PD3.Locked=true PD3.Signal=GPIO_Output PD4.GPIOParameters=GPIO_Label PD4.GPIO_Label=VCONN_EN1 PD4.Locked=true PD4.Signal=GPIO_Output PinOutPanel.RotationAngle=0 ProjectManager.AskForMigrate=true ProjectManager.BackupPrevious=false ProjectManager.CompilerOptimize=6 ProjectManager.ComputerToolchain=false ProjectManager.CoupleFile=false ProjectManager.DeletePrevious=true ProjectManager.DeviceId=STM32G0C1VETx ProjectManager.FreePins=false ProjectManager.HalAssertFull=false ProjectManager.HeapSize=0xC00 ProjectManager.KeepUserCode=true ProjectManager.LastFirmware=true ProjectManager.LibraryCopy=1 ProjectManager.MainLocation=Src ProjectManager.NoMain=false ProjectManager.PreviousToolchain= ProjectManager.ProjectBuild=false ProjectManager.ProjectFileName=USB-PD_Provider_1port.ioc ProjectManager.ProjectName=USB-PD_Provider_1port ProjectManager.RegisterCallBack=ADC ProjectManager.StackSize=0x400 ProjectManager.TargetToolchain=EWARM V8 ProjectManager.ToolChainLocation= ProjectManager.UnderRoot=false ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-true-LL-false,2-MX_DMA_Init-DMA-true-LL-false,3-SystemClock_Config-RCC-false-LL-false,4-MX_UCPD1_Init-UCPD1-true-LL-false,5-MX_ADC1_Init-ADC1-true-HAL-false,6-MX_USART3_UART_Init-USART3-true-LL-false,7-MX_GUI_INTERFACE_Init-GUI_INTERFACE-true-HAL-false,8-MX_TRACER_EMB_Init-TRACER_EMB-true-HAL-false,9-MX_USBPD_Init-USBPD-false-HAL-false,10-MX_LPTIM1_Init-LPTIM1-true-HAL-false RCC.ADCFreq_Value=64000000 RCC.AHBFreq_Value=64000000 RCC.APBFreq_Value=64000000 RCC.APBTimFreq_Value=64000000 RCC.CECFreq_Value=32786.88524590164 RCC.CortexFreq_Value=64000000 RCC.EXTERNAL_CLOCK_VALUE=48000 RCC.FCLKCortexFreq_Value=64000000 RCC.FDCANFreq_Value=64000000 RCC.FamilyName=M RCC.HCLKFreq_Value=64000000 RCC.HSE_VALUE=8000000 RCC.HSI48_VALUE=48000000 RCC.HSI_VALUE=16000000 RCC.I2C1Freq_Value=64000000 RCC.I2C2Freq_Value=64000000 RCC.I2S1Freq_Value=64000000 RCC.I2S2Freq_Value=64000000 RCC.IPParameters=ADCFreq_Value,AHBFreq_Value,APBFreq_Value,APBTimFreq_Value,CECFreq_Value,CortexFreq_Value,EXTERNAL_CLOCK_VALUE,FCLKCortexFreq_Value,FDCANFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI48_VALUE,HSI_VALUE,I2C1Freq_Value,I2C2Freq_Value,I2S1Freq_Value,I2S2Freq_Value,LPTIM1Freq_Value,LPTIM2Freq_Value,LPUART1Freq_Value,LPUART2Freq_Value,LSCOPinFreq_Value,LSE_VALUE,LSI_VALUE,MCO1PinFreq_Value,MCO2PinFreq_Value,PLLPoutputFreq_Value,PLLQoutputFreq_Value,PLLRCLKFreq_Value,PWRFreq_Value,RNGFreq_Value,SYSCLKFreq_VALUE,SYSCLKSource,TIM15Freq_Value,TIM1Freq_Value,USART1Freq_Value,USART2Freq_Value,USART3Freq_Value,USBFreq_Value,VCOInputFreq_Value,VCOOutputFreq_Value RCC.LPTIM1Freq_Value=64000000 RCC.LPTIM2Freq_Value=64000000 RCC.LPUART1Freq_Value=64000000 RCC.LPUART2Freq_Value=64000000 RCC.LSCOPinFreq_Value=32000 RCC.LSE_VALUE=32768 RCC.LSI_VALUE=32000 RCC.MCO1PinFreq_Value=64000000 RCC.MCO2PinFreq_Value=64000000 RCC.PLLPoutputFreq_Value=64000000 RCC.PLLQoutputFreq_Value=64000000 RCC.PLLRCLKFreq_Value=64000000 RCC.PWRFreq_Value=64000000 RCC.RNGFreq_Value=2000000 RCC.SYSCLKFreq_VALUE=64000000 RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK RCC.TIM15Freq_Value=64000000 RCC.TIM1Freq_Value=64000000 RCC.USART1Freq_Value=64000000 RCC.USART2Freq_Value=64000000 RCC.USART3Freq_Value=64000000 RCC.USBFreq_Value=48000000 RCC.VCOInputFreq_Value=16000000 RCC.VCOOutputFreq_Value=128000000 USART3.BaudRate=921600 USART3.IPParameters=VirtualMode-Asynchronous,BaudRate USART3.VirtualMode-Asynchronous=VM_ASYNC USBPD.IPParameters=PE_SpecRevision_P0 USBPD.PE_SpecRevision_P0=USBPD_SPECIFICATION_REV3 VP_FREERTOS_VS_CMSIS_V1.Mode=CMSIS_V1 VP_FREERTOS_VS_CMSIS_V1.Signal=FREERTOS_VS_CMSIS_V1 VP_GUI_INTERFACE_VS_gui_interface.Mode=GUI_INTERFACE VP_GUI_INTERFACE_VS_gui_interface.Signal=GUI_INTERFACE_VS_gui_interface VP_LPTIM1_VS_COMP1_LPTIM.Mode=Encoder_mode_occur2 VP_LPTIM1_VS_COMP1_LPTIM.Signal=LPTIM1_VS_COMP1_LPTIM VP_SYS_VS_DBSignals.Mode=DisableDeadBatterySignals VP_SYS_VS_DBSignals.Signal=SYS_VS_DBSignals VP_SYS_VS_Systick.Mode=SysTick VP_SYS_VS_Systick.Signal=SYS_VS_Systick VP_TRACER_EMB_VS_traceremb_usart3.Mode=TRACER_EMB_USART3 VP_TRACER_EMB_VS_traceremb_usart3.Signal=TRACER_EMB_VS_traceremb_usart3 VP_USBPD_VS_PD3FULL.Mode=PD3_Full_Stack VP_USBPD_VS_PD3FULL.Signal=USBPD_VS_PD3FULL VP_USBPD_VS_USBPD1.Mode=USBPD_P0 VP_USBPD_VS_USBPD1.Signal=USBPD_VS_USBPD1 VP_USBPD_VS_usbpd_tim1.Mode=TIM1 VP_USBPD_VS_usbpd_tim1.Signal=USBPD_VS_usbpd_tim1 VP_USBPD_VS_usbpd_traceremb.Mode=TRACER_EMB VP_USBPD_VS_usbpd_traceremb.Signal=USBPD_VS_usbpd_traceremb board=STM32G0C1E-EV ProjectManager.Example=USB-PD_Provider_1port ProjectManager.ExampleSource=MxCubeFw