commit 41b99f482a1d9990134c66af06b1f1319007bbb1
Author: DESKTOP-1PDT1EL\10564 <1056470187@qq.com>
Date: Mon Sep 21 15:41:19 2026 +0800
JIECANG JC35W8 推杆小板代码
diff --git a/.cproject b/.cproject
new file mode 100644
index 0000000..07cf462
--- /dev/null
+++ b/.cproject
@@ -0,0 +1,171 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.mxproject b/.mxproject
new file mode 100644
index 0000000..1034a1e
--- /dev/null
+++ b/.mxproject
@@ -0,0 +1,35 @@
+[PreviousLibFiles]
+LibFiles=Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_adc.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_adc_ex.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_ll_adc.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_rcc.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_rcc_ex.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_ll_rcc.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_flash.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_flash_ex.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_flash_ramfunc.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_gpio.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_gpio_ex.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_dma.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_dma_ex.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_pwr.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_pwr_ex.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_cortex.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_def.h;Drivers\STM32G0xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_exti.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_tim.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_tim_ex.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_uart.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_uart_ex.h;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_adc.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_adc_ex.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_ll_adc.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_rcc.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_rcc_ex.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_ll_rcc.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_flash.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_flash_ex.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_gpio.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_dma.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_dma_ex.c;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_ll_dma.h;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_ll_dma.c;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_ll_dmamux.h;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_pwr.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_pwr_ex.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_cortex.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_exti.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_tim.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_tim_ex.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_uart.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_uart_ex.c;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_adc.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_adc_ex.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_ll_adc.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_rcc.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_rcc_ex.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_ll_rcc.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_flash.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_flash_ex.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_flash_ramfunc.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_gpio.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_gpio_ex.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_dma.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_dma_ex.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_pwr.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_pwr_ex.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_cortex.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_def.h;Drivers\STM32G0xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_exti.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_tim.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_tim_ex.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_uart.h;Drivers\STM32G0xx_HAL_Driver\Inc\stm32g0xx_hal_uart_ex.h;Drivers\CMSIS\Device\ST\STM32G0xx\Include\stm32g031xx.h;Drivers\CMSIS\Device\ST\STM32G0xx\Include\stm32g0xx.h;Drivers\CMSIS\Device\ST\STM32G0xx\Include\system_stm32g0xx.h;Drivers\CMSIS\Device\ST\STM32G0xx\Source\Templates\system_stm32g0xx.c;Drivers\CMSIS\Include\cmsis_armcc.h;Drivers\CMSIS\Include\cmsis_armclang.h;Drivers\CMSIS\Include\cmsis_armclang_ltm.h;Drivers\CMSIS\Include\cmsis_compiler.h;Drivers\CMSIS\Include\cmsis_gcc.h;Drivers\CMSIS\Include\cmsis_iccarm.h;Drivers\CMSIS\Include\cmsis_version.h;Drivers\CMSIS\Include\core_armv81mml.h;Drivers\CMSIS\Include\core_armv8mbl.h;Drivers\CMSIS\Include\core_armv8mml.h;Drivers\CMSIS\Include\core_cm0.h;Drivers\CMSIS\Include\core_cm0plus.h;Drivers\CMSIS\Include\core_cm1.h;Drivers\CMSIS\Include\core_cm23.h;Drivers\CMSIS\Include\core_cm3.h;Drivers\CMSIS\Include\core_cm33.h;Drivers\CMSIS\Include\core_cm35p.h;Drivers\CMSIS\Include\core_cm4.h;Drivers\CMSIS\Include\core_cm7.h;Drivers\CMSIS\Include\core_sc000.h;Drivers\CMSIS\Include\core_sc300.h;Drivers\CMSIS\Include\mpu_armv7.h;Drivers\CMSIS\Include\mpu_armv8.h;Drivers\CMSIS\Include\tz_context.h;
+
+[PreviousUsedCubeIDEFiles]
+SourceFiles=Core\Src\main.c;Core\Src\gpio.c;Core\Src\adc.c;Core\Src\dma.c;Core\Src\tim.c;Core\Src\usart.c;Core\Src\stm32g0xx_it.c;Core\Src\stm32g0xx_hal_msp.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_adc.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_adc_ex.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_ll_adc.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_rcc.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_rcc_ex.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_ll_rcc.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_flash.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_flash_ex.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_gpio.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_dma.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_dma_ex.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_ll_dma.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_pwr.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_pwr_ex.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_cortex.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_exti.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_tim.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_tim_ex.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_uart.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_uart_ex.c;Drivers\CMSIS\Device\ST\STM32G0xx\Source\Templates\system_stm32g0xx.c;Core\Src\system_stm32g0xx.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_adc.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_adc_ex.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_ll_adc.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_rcc.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_rcc_ex.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_ll_rcc.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_flash.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_flash_ex.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_gpio.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_dma.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_dma_ex.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_ll_dma.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_pwr.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_pwr_ex.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_cortex.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_exti.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_tim.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_tim_ex.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_uart.c;Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_hal_uart_ex.c;Drivers\CMSIS\Device\ST\STM32G0xx\Source\Templates\system_stm32g0xx.c;Core\Src\system_stm32g0xx.c;;;
+HeaderPath=Drivers\STM32G0xx_HAL_Driver\Inc;Drivers\STM32G0xx_HAL_Driver\Inc\Legacy;Drivers\CMSIS\Device\ST\STM32G0xx\Include;Drivers\CMSIS\Include;Core\Inc;
+CDefines=USE_HAL_DRIVER;STM32G031xx;USE_HAL_DRIVER;USE_HAL_DRIVER;
+
+[PreviousGenFiles]
+AdvancedFolderStructure=true
+HeaderFileListSize=8
+HeaderFiles#0=..\Core\Inc\gpio.h
+HeaderFiles#1=..\Core\Inc\adc.h
+HeaderFiles#2=..\Core\Inc\dma.h
+HeaderFiles#3=..\Core\Inc\tim.h
+HeaderFiles#4=..\Core\Inc\usart.h
+HeaderFiles#5=..\Core\Inc\stm32g0xx_it.h
+HeaderFiles#6=..\Core\Inc\stm32g0xx_hal_conf.h
+HeaderFiles#7=..\Core\Inc\main.h
+HeaderFolderListSize=1
+HeaderPath#0=..\Core\Inc
+HeaderFiles=;
+SourceFileListSize=8
+SourceFiles#0=..\Core\Src\gpio.c
+SourceFiles#1=..\Core\Src\adc.c
+SourceFiles#2=..\Core\Src\dma.c
+SourceFiles#3=..\Core\Src\tim.c
+SourceFiles#4=..\Core\Src\usart.c
+SourceFiles#5=..\Core\Src\stm32g0xx_it.c
+SourceFiles#6=..\Core\Src\stm32g0xx_hal_msp.c
+SourceFiles#7=..\Core\Src\main.c
+SourceFolderListSize=1
+SourcePath#0=..\Core\Src
+SourceFiles=;
+
diff --git a/.project b/.project
new file mode 100644
index 0000000..0780999
--- /dev/null
+++ b/.project
@@ -0,0 +1,32 @@
+
+
+ g031_JIECANG_JC35W8
+
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.genmakebuilder
+ clean,full,incremental,
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
+ full,incremental,
+
+
+
+
+
+ com.st.stm32cube.ide.mcu.MCUProjectNature
+ com.st.stm32cube.ide.mcu.MCUCubeProjectNature
+ org.eclipse.cdt.core.cnature
+ com.st.stm32cube.ide.mcu.MCUCubeIdeServicesRevAev2ProjectNature
+ com.st.stm32cube.ide.mcu.MCUAdvancedStructureProjectNature
+ com.st.stm32cube.ide.mcu.MCUSingleCpuProjectNature
+ com.st.stm32cube.ide.mcu.MCURootProjectNature
+ org.eclipse.cdt.managedbuilder.core.managedBuildNature
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
+
+
diff --git a/.settings/language.settings.xml b/.settings/language.settings.xml
new file mode 100644
index 0000000..72075c8
--- /dev/null
+++ b/.settings/language.settings.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.settings/stm32cubeide.project.prefs b/.settings/stm32cubeide.project.prefs
new file mode 100644
index 0000000..cf9f043
--- /dev/null
+++ b/.settings/stm32cubeide.project.prefs
@@ -0,0 +1,3 @@
+8DF89ED150041C4CBC7CB9A9CAA90856=2E17BC3CBE789703B16AB4509FBC093D
+DC22A860405A8BF2F2C095E5B6529F12=2E17BC3CBE789703B16AB4509FBC093D
+eclipse.preferences.version=1
diff --git a/Core/Inc/adc.h b/Core/Inc/adc.h
new file mode 100644
index 0000000..68631ad
--- /dev/null
+++ b/Core/Inc/adc.h
@@ -0,0 +1,52 @@
+/* USER CODE BEGIN Header */
+/**
+ ******************************************************************************
+ * @file adc.h
+ * @brief This file contains all the function prototypes for
+ * the adc.c file
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2026 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+/* USER CODE END Header */
+/* Define to prevent recursive inclusion -------------------------------------*/
+#ifndef __ADC_H__
+#define __ADC_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Includes ------------------------------------------------------------------*/
+#include "main.h"
+
+/* USER CODE BEGIN Includes */
+
+/* USER CODE END Includes */
+
+extern ADC_HandleTypeDef hadc1;
+
+/* USER CODE BEGIN Private defines */
+
+/* USER CODE END Private defines */
+
+void MX_ADC1_Init(void);
+
+/* USER CODE BEGIN Prototypes */
+
+/* USER CODE END Prototypes */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __ADC_H__ */
+
diff --git a/Core/Inc/app.h b/Core/Inc/app.h
new file mode 100644
index 0000000..779e218
--- /dev/null
+++ b/Core/Inc/app.h
@@ -0,0 +1,17 @@
+#ifndef __APP_H
+#define __APP_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "main.h"
+
+void App_Init(void);
+void App_Process(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __APP_H */
diff --git a/Core/Inc/dma.h b/Core/Inc/dma.h
new file mode 100644
index 0000000..afad30d
--- /dev/null
+++ b/Core/Inc/dma.h
@@ -0,0 +1,52 @@
+/* USER CODE BEGIN Header */
+/**
+ ******************************************************************************
+ * @file dma.h
+ * @brief This file contains all the function prototypes for
+ * the dma.c file
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2026 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+/* USER CODE END Header */
+/* Define to prevent recursive inclusion -------------------------------------*/
+#ifndef __DMA_H__
+#define __DMA_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Includes ------------------------------------------------------------------*/
+#include "main.h"
+
+/* DMA memory to memory transfer handles -------------------------------------*/
+
+/* USER CODE BEGIN Includes */
+
+/* USER CODE END Includes */
+
+/* USER CODE BEGIN Private defines */
+
+/* USER CODE END Private defines */
+
+void MX_DMA_Init(void);
+
+/* USER CODE BEGIN Prototypes */
+
+/* USER CODE END Prototypes */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __DMA_H__ */
+
diff --git a/Core/Inc/gpio.h b/Core/Inc/gpio.h
new file mode 100644
index 0000000..3c91c4d
--- /dev/null
+++ b/Core/Inc/gpio.h
@@ -0,0 +1,49 @@
+/* USER CODE BEGIN Header */
+/**
+ ******************************************************************************
+ * @file gpio.h
+ * @brief This file contains all the function prototypes for
+ * the gpio.c file
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2026 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+/* USER CODE END Header */
+/* Define to prevent recursive inclusion -------------------------------------*/
+#ifndef __GPIO_H__
+#define __GPIO_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Includes ------------------------------------------------------------------*/
+#include "main.h"
+
+/* USER CODE BEGIN Includes */
+
+/* USER CODE END Includes */
+
+/* USER CODE BEGIN Private defines */
+
+/* USER CODE END Private defines */
+
+void MX_GPIO_Init(void);
+
+/* USER CODE BEGIN Prototypes */
+
+/* USER CODE END Prototypes */
+
+#ifdef __cplusplus
+}
+#endif
+#endif /*__ GPIO_H__ */
+
diff --git a/Core/Inc/main.h b/Core/Inc/main.h
new file mode 100644
index 0000000..b495923
--- /dev/null
+++ b/Core/Inc/main.h
@@ -0,0 +1,76 @@
+/* USER CODE BEGIN Header */
+/**
+ ******************************************************************************
+ * @file : main.h
+ * @brief : Header for main.c file.
+ * This file contains the common defines of the application.
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2026 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+/* USER CODE END Header */
+
+/* Define to prevent recursive inclusion -------------------------------------*/
+#ifndef __MAIN_H
+#define __MAIN_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Includes ------------------------------------------------------------------*/
+#include "stm32g0xx_hal.h"
+
+/* Private includes ----------------------------------------------------------*/
+/* USER CODE BEGIN Includes */
+
+/* USER CODE END Includes */
+
+/* Exported types ------------------------------------------------------------*/
+/* USER CODE BEGIN ET */
+
+/* USER CODE END ET */
+
+/* Exported constants --------------------------------------------------------*/
+/* USER CODE BEGIN EC */
+
+/* USER CODE END EC */
+
+/* Exported macro ------------------------------------------------------------*/
+/* USER CODE BEGIN EM */
+
+/* USER CODE END EM */
+
+/* Exported functions prototypes ---------------------------------------------*/
+void Error_Handler(void);
+
+/* USER CODE BEGIN EFP */
+
+/* USER CODE END EFP */
+
+/* Private defines -----------------------------------------------------------*/
+#define DIR_Pin GPIO_PIN_4
+#define DIR_GPIO_Port GPIOA
+#define IO_2_Pin GPIO_PIN_7
+#define IO_2_GPIO_Port GPIOA
+#define IO_1_Pin GPIO_PIN_0
+#define IO_1_GPIO_Port GPIOB
+#define LED_Pin GPIO_PIN_8
+#define LED_GPIO_Port GPIOB
+/* USER CODE BEGIN Private defines */
+
+/* USER CODE END Private defines */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __MAIN_H */
diff --git a/Core/Inc/modbus.h b/Core/Inc/modbus.h
new file mode 100644
index 0000000..757da64
--- /dev/null
+++ b/Core/Inc/modbus.h
@@ -0,0 +1,43 @@
+/*
+ * modbus.h
+ *
+ * Created on: Jul 3, 2025
+ * Author: shiyanlei
+ */
+
+#ifndef __MODBUS_SLAVE_H
+#define __MODBUS_SLAVE_H
+
+#include "stm32g0xx_hal.h"
+/* 定义Modbus相关参数 */
+#define MODBUS_SLAVE_ADDRESS 0x42
+#define MODBUS_FUNCTION_CODE_03 0x03
+#define MODBUS_FUNCTION_CODE_06 0x06
+#define MODBUS_FUNCTION_CODE_10 0x10 // 写多个寄存器功能码
+#define MODBUS_BUFFER_SIZE 256
+#define MODBUS_TIMEOUT_MS 5
+#define MODBUS_CRC_OFF 0 //==1关闭CRC校验
+/* 定义寄存器相关参数 */
+#define REGISTER_START_ADDRESS 0x0000
+#define REGISTER_COUNT 10
+extern uint8_t modbusBuffer[MODBUS_BUFFER_SIZE];
+//extern uint16_t holdingRegisters[REGISTER_COUNT];
+extern int16_t holdingRegisters[REGISTER_COUNT];
+#define registerWritable_0 1 //IO_1
+#define registerWritable_1 1 //IO_2
+#define registerWritable_2 0 //Encoder
+#define registerWritable_3 1 //PWM 1-99
+#define registerWritable_4 0 //Current mA
+#define registerWritable_5 1 //Zero Encoder
+#define registerWritable_6 1 //Auto Position Enable
+#define registerWritable_7 1 //Auto Position Target
+#define registerWritable_8 0
+#define registerWritable_9 1 //Auto Position Tolerance
+
+/* 初始化Modbus从机 */
+void Modbus_Init(void);
+
+/* 处理Modbus消息 */
+void Modbus_Process(void);
+
+#endif /* __MODBUS_SLAVE_H */
diff --git a/Core/Inc/stm32g0xx_hal_conf.h b/Core/Inc/stm32g0xx_hal_conf.h
new file mode 100644
index 0000000..1b6cea7
--- /dev/null
+++ b/Core/Inc/stm32g0xx_hal_conf.h
@@ -0,0 +1,351 @@
+/* USER CODE BEGIN Header */
+/**
+ ******************************************************************************
+ * @file stm32g0xx_hal_conf.h
+ * @author MCD Application Team
+ * @brief HAL configuration file.
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2018 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+/* USER CODE END Header */
+
+/* Define to prevent recursive inclusion -------------------------------------*/
+#ifndef STM32G0xx_HAL_CONF_H
+#define STM32G0xx_HAL_CONF_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Exported types ------------------------------------------------------------*/
+/* Exported constants --------------------------------------------------------*/
+
+/* ########################## Module Selection ############################## */
+/**
+ * @brief This is the list of modules to be used in the HAL driver
+ */
+#define HAL_MODULE_ENABLED
+#define HAL_ADC_MODULE_ENABLED
+/* #define HAL_CEC_MODULE_ENABLED */
+/* #define HAL_COMP_MODULE_ENABLED */
+/* #define HAL_CRC_MODULE_ENABLED */
+/* #define HAL_CRYP_MODULE_ENABLED */
+/* #define HAL_DAC_MODULE_ENABLED */
+/* #define HAL_EXTI_MODULE_ENABLED */
+/* #define HAL_FDCAN_MODULE_ENABLED */
+/* #define HAL_HCD_MODULE_ENABLED */
+/* #define HAL_I2C_MODULE_ENABLED */
+/* #define HAL_I2S_MODULE_ENABLED */
+/* #define HAL_IWDG_MODULE_ENABLED */
+/* #define HAL_IRDA_MODULE_ENABLED */
+/* #define HAL_LPTIM_MODULE_ENABLED */
+/* #define HAL_PCD_MODULE_ENABLED */
+/* #define HAL_RNG_MODULE_ENABLED */
+/* #define HAL_RTC_MODULE_ENABLED */
+/* #define HAL_SMARTCARD_MODULE_ENABLED */
+/* #define HAL_SMBUS_MODULE_ENABLED */
+/* #define HAL_SPI_MODULE_ENABLED */
+#define HAL_TIM_MODULE_ENABLED
+#define HAL_UART_MODULE_ENABLED
+/* #define HAL_USART_MODULE_ENABLED */
+/* #define HAL_WWDG_MODULE_ENABLED */
+#define HAL_GPIO_MODULE_ENABLED
+#define HAL_EXTI_MODULE_ENABLED
+#define HAL_DMA_MODULE_ENABLED
+#define HAL_RCC_MODULE_ENABLED
+#define HAL_FLASH_MODULE_ENABLED
+#define HAL_PWR_MODULE_ENABLED
+#define HAL_CORTEX_MODULE_ENABLED
+
+/* ########################## Register Callbacks selection ############################## */
+/**
+ * @brief This is the list of modules where register callback can be used
+ */
+#define USE_HAL_ADC_REGISTER_CALLBACKS 0u
+#define USE_HAL_CEC_REGISTER_CALLBACKS 0u
+#define USE_HAL_COMP_REGISTER_CALLBACKS 0u
+#define USE_HAL_CRYP_REGISTER_CALLBACKS 0u
+#define USE_HAL_DAC_REGISTER_CALLBACKS 0u
+#define USE_HAL_FDCAN_REGISTER_CALLBACKS 0u
+#define USE_HAL_HCD_REGISTER_CALLBACKS 0u
+#define USE_HAL_I2C_REGISTER_CALLBACKS 0u
+#define USE_HAL_I2S_REGISTER_CALLBACKS 0u
+#define USE_HAL_IRDA_REGISTER_CALLBACKS 0u
+#define USE_HAL_LPTIM_REGISTER_CALLBACKS 0u
+#define USE_HAL_PCD_REGISTER_CALLBACKS 0u
+#define USE_HAL_RNG_REGISTER_CALLBACKS 0u
+#define USE_HAL_RTC_REGISTER_CALLBACKS 0u
+#define USE_HAL_SMBUS_REGISTER_CALLBACKS 0u
+#define USE_HAL_SPI_REGISTER_CALLBACKS 0u
+#define USE_HAL_TIM_REGISTER_CALLBACKS 0u
+#define USE_HAL_UART_REGISTER_CALLBACKS 0u
+#define USE_HAL_USART_REGISTER_CALLBACKS 0u
+#define USE_HAL_WWDG_REGISTER_CALLBACKS 0u
+
+/* ########################## Oscillator Values adaptation ####################*/
+/**
+ * @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
+ * This value is used by the RCC HAL module to compute the system frequency
+ * (when HSE is used as system clock source, directly or through the PLL).
+ */
+#if !defined (HSE_VALUE)
+#define HSE_VALUE (8000000UL) /*!< Value of the External oscillator in Hz */
+#endif /* HSE_VALUE */
+
+#if !defined (HSE_STARTUP_TIMEOUT)
+#define HSE_STARTUP_TIMEOUT (100UL) /*!< Time out for HSE start up, in ms */
+#endif /* HSE_STARTUP_TIMEOUT */
+
+/**
+ * @brief Internal High Speed oscillator (HSI) value.
+ * This value is used by the RCC HAL module to compute the system frequency
+ * (when HSI is used as system clock source, directly or through the PLL).
+ */
+#if !defined (HSI_VALUE)
+#define HSI_VALUE (16000000UL) /*!< Value of the Internal oscillator in Hz*/
+#endif /* HSI_VALUE */
+
+#if defined(STM32G0C1xx) || defined(STM32G0B1xx) || defined(STM32G0B0xx)
+/**
+ * @brief Internal High Speed oscillator (HSI48) value for USB FS, SDMMC and RNG.
+ * This internal oscillator is mainly dedicated to provide a high precision clock to
+ * the USB peripheral by means of a special Clock Recovery System (CRS) circuitry.
+ * When the CRS is not used, the HSI48 RC oscillator runs on it default frequency
+ * which is subject to manufacturing process variations.
+ */
+#if !defined (HSI48_VALUE)
+ #define HSI48_VALUE 48000000U /*!< Value of the Internal High Speed oscillator for USB FS/SDMMC/RNG in Hz.
+ The real value my vary depending on manufacturing process variations.*/
+#endif /* HSI48_VALUE */
+#endif
+
+/**
+ * @brief Internal Low Speed oscillator (LSI) value.
+ */
+#if !defined (LSI_VALUE)
+#define LSI_VALUE (32000UL) /*!< LSI Typical Value in Hz*/
+#endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
+The real value may vary depending on the variations
+in voltage and temperature.*/
+/**
+ * @brief External Low Speed oscillator (LSE) value.
+ * This value is used by the UART, RTC HAL module to compute the system frequency
+ */
+#if !defined (LSE_VALUE)
+#define LSE_VALUE (32768UL) /*!< Value of the External oscillator in Hz*/
+#endif /* LSE_VALUE */
+
+#if !defined (LSE_STARTUP_TIMEOUT)
+#define LSE_STARTUP_TIMEOUT (5000UL) /*!< Time out for LSE start up, in ms */
+#endif /* LSE_STARTUP_TIMEOUT */
+
+/**
+ * @brief External clock source for I2S1 peripheral
+ * This value is used by the RCC HAL module to compute the I2S1 clock source
+ * frequency.
+ */
+#if !defined (EXTERNAL_I2S1_CLOCK_VALUE)
+#define EXTERNAL_I2S1_CLOCK_VALUE (12288000UL) /*!< Value of the I2S1 External clock source in Hz*/
+#endif /* EXTERNAL_I2S1_CLOCK_VALUE */
+
+#if defined(STM32G0C1xx) || defined(STM32G0B1xx) || defined(STM32G0B0xx)
+/**
+ * @brief External clock source for I2S2 peripheral
+ * This value is used by the RCC HAL module to compute the I2S2 clock source
+ * frequency.
+ */
+#if !defined (EXTERNAL_I2S2_CLOCK_VALUE)
+ #define EXTERNAL_I2S2_CLOCK_VALUE 48000U /*!< Value of the I2S2 External clock source in Hz*/
+#endif /* EXTERNAL_I2S2_CLOCK_VALUE */
+#endif
+
+/* Tip: To avoid modifying this file each time you need to use different HSE,
+ === you can define the HSE value in your toolchain compiler preprocessor. */
+
+/* ########################### System Configuration ######################### */
+/**
+ * @brief This is the HAL system configuration section
+ */
+#define VDD_VALUE (3300UL) /*!< Value of VDD in mv */
+#define TICK_INT_PRIORITY 3U /*!< tick interrupt priority */
+#define USE_RTOS 0U
+#define PREFETCH_ENABLE 1U
+#define INSTRUCTION_CACHE_ENABLE 1U
+
+/* ################## SPI peripheral configuration ########################## */
+
+/* CRC FEATURE: Use to activate CRC feature inside HAL SPI Driver
+* Activated: CRC code is present inside driver
+* Deactivated: CRC code cleaned from driver
+*/
+
+#define USE_SPI_CRC 0U
+
+/* ################## CRYP peripheral configuration ########################## */
+
+#define USE_HAL_CRYP_SUSPEND_RESUME 1U
+
+/* ########################## Assert Selection ############################## */
+/**
+ * @brief Uncomment the line below to expanse the "assert_param" macro in the
+ * HAL drivers code
+ */
+/* #define USE_FULL_ASSERT 1U */
+
+/* Includes ------------------------------------------------------------------*/
+/**
+ * @brief Include modules header file
+ */
+
+#ifdef HAL_RCC_MODULE_ENABLED
+#include "stm32g0xx_hal_rcc.h"
+#endif /* HAL_RCC_MODULE_ENABLED */
+
+#ifdef HAL_GPIO_MODULE_ENABLED
+#include "stm32g0xx_hal_gpio.h"
+#endif /* HAL_GPIO_MODULE_ENABLED */
+
+#ifdef HAL_DMA_MODULE_ENABLED
+#include "stm32g0xx_hal_dma.h"
+#endif /* HAL_DMA_MODULE_ENABLED */
+
+#ifdef HAL_CORTEX_MODULE_ENABLED
+#include "stm32g0xx_hal_cortex.h"
+#endif /* HAL_CORTEX_MODULE_ENABLED */
+
+#ifdef HAL_ADC_MODULE_ENABLED
+#include "stm32g0xx_hal_adc.h"
+#include "stm32g0xx_hal_adc_ex.h"
+#endif /* HAL_ADC_MODULE_ENABLED */
+
+#ifdef HAL_CEC_MODULE_ENABLED
+#include "stm32g0xx_hal_cec.h"
+#endif /* HAL_CEC_MODULE_ENABLED */
+
+#ifdef HAL_COMP_MODULE_ENABLED
+#include "stm32g0xx_hal_comp.h"
+#endif /* HAL_COMP_MODULE_ENABLED */
+
+#ifdef HAL_CRC_MODULE_ENABLED
+#include "stm32g0xx_hal_crc.h"
+#endif /* HAL_CRC_MODULE_ENABLED */
+
+#ifdef HAL_CRYP_MODULE_ENABLED
+#include "stm32g0xx_hal_cryp.h"
+#endif /* HAL_CRYP_MODULE_ENABLED */
+
+#ifdef HAL_DAC_MODULE_ENABLED
+#include "stm32g0xx_hal_dac.h"
+#endif /* HAL_DAC_MODULE_ENABLED */
+
+#ifdef HAL_EXTI_MODULE_ENABLED
+#include "stm32g0xx_hal_exti.h"
+#endif /* HAL_EXTI_MODULE_ENABLED */
+
+#ifdef HAL_FLASH_MODULE_ENABLED
+#include "stm32g0xx_hal_flash.h"
+#endif /* HAL_FLASH_MODULE_ENABLED */
+
+#ifdef HAL_FDCAN_MODULE_ENABLED
+#include "stm32g0xx_hal_fdcan.h"
+#endif /* HAL_FDCAN_MODULE_ENABLED */
+
+#ifdef HAL_HCD_MODULE_ENABLED
+#include "stm32g0xx_hal_hcd.h"
+#endif /* HAL_HCD_MODULE_ENABLED */
+
+#ifdef HAL_I2C_MODULE_ENABLED
+#include "stm32g0xx_hal_i2c.h"
+#endif /* HAL_I2C_MODULE_ENABLED */
+
+#ifdef HAL_I2S_MODULE_ENABLED
+#include "stm32g0xx_hal_i2s.h"
+#endif /* HAL_I2S_MODULE_ENABLED */
+
+#ifdef HAL_IRDA_MODULE_ENABLED
+#include "stm32g0xx_hal_irda.h"
+#endif /* HAL_IRDA_MODULE_ENABLED */
+
+#ifdef HAL_IWDG_MODULE_ENABLED
+#include "stm32g0xx_hal_iwdg.h"
+#endif /* HAL_IWDG_MODULE_ENABLED */
+
+#ifdef HAL_LPTIM_MODULE_ENABLED
+#include "stm32g0xx_hal_lptim.h"
+#endif /* HAL_LPTIM_MODULE_ENABLED */
+
+#ifdef HAL_PCD_MODULE_ENABLED
+#include "stm32g0xx_hal_pcd.h"
+#endif /* HAL_PCD_MODULE_ENABLED */
+
+#ifdef HAL_PWR_MODULE_ENABLED
+#include "stm32g0xx_hal_pwr.h"
+#endif /* HAL_PWR_MODULE_ENABLED */
+
+#ifdef HAL_RNG_MODULE_ENABLED
+#include "stm32g0xx_hal_rng.h"
+#endif /* HAL_RNG_MODULE_ENABLED */
+
+#ifdef HAL_RTC_MODULE_ENABLED
+#include "stm32g0xx_hal_rtc.h"
+#endif /* HAL_RTC_MODULE_ENABLED */
+
+#ifdef HAL_SMARTCARD_MODULE_ENABLED
+#include "stm32g0xx_hal_smartcard.h"
+#endif /* HAL_SMARTCARD_MODULE_ENABLED */
+
+#ifdef HAL_SMBUS_MODULE_ENABLED
+#include "stm32g0xx_hal_smbus.h"
+#endif /* HAL_SMBUS_MODULE_ENABLED */
+
+#ifdef HAL_SPI_MODULE_ENABLED
+#include "stm32g0xx_hal_spi.h"
+#endif /* HAL_SPI_MODULE_ENABLED */
+
+#ifdef HAL_TIM_MODULE_ENABLED
+#include "stm32g0xx_hal_tim.h"
+#endif /* HAL_TIM_MODULE_ENABLED */
+
+#ifdef HAL_UART_MODULE_ENABLED
+#include "stm32g0xx_hal_uart.h"
+#endif /* HAL_UART_MODULE_ENABLED */
+
+#ifdef HAL_USART_MODULE_ENABLED
+#include "stm32g0xx_hal_usart.h"
+#endif /* HAL_USART_MODULE_ENABLED */
+
+#ifdef HAL_WWDG_MODULE_ENABLED
+#include "stm32g0xx_hal_wwdg.h"
+#endif /* HAL_WWDG_MODULE_ENABLED */
+
+/* Exported macro ------------------------------------------------------------*/
+#ifdef USE_FULL_ASSERT
+/**
+ * @brief The assert_param macro is used for functions parameters check.
+ * @param expr If expr is false, it calls assert_failed function
+ * which reports the name of the source file and the source
+ * line number of the call that failed.
+ * If expr is true, it returns no value.
+ * @retval None
+ */
+#define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
+/* Exported functions ------------------------------------------------------- */
+void assert_failed(uint8_t *file, uint32_t line);
+#else
+#define assert_param(expr) ((void)0U)
+#endif /* USE_FULL_ASSERT */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* STM32G0xx_HAL_CONF_H */
diff --git a/Core/Inc/stm32g0xx_it.h b/Core/Inc/stm32g0xx_it.h
new file mode 100644
index 0000000..5ed1263
--- /dev/null
+++ b/Core/Inc/stm32g0xx_it.h
@@ -0,0 +1,65 @@
+/* USER CODE BEGIN Header */
+/**
+ ******************************************************************************
+ * @file stm32g0xx_it.h
+ * @brief This file contains the headers of the interrupt handlers.
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2026 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+/* USER CODE END Header */
+
+/* Define to prevent recursive inclusion -------------------------------------*/
+#ifndef __STM32G0xx_IT_H
+#define __STM32G0xx_IT_H
+
+#ifdef __cplusplus
+ extern "C" {
+#endif
+
+/* Private includes ----------------------------------------------------------*/
+/* USER CODE BEGIN Includes */
+
+/* USER CODE END Includes */
+
+/* Exported types ------------------------------------------------------------*/
+/* USER CODE BEGIN ET */
+
+/* USER CODE END ET */
+
+/* Exported constants --------------------------------------------------------*/
+/* USER CODE BEGIN EC */
+
+/* USER CODE END EC */
+
+/* Exported macro ------------------------------------------------------------*/
+/* USER CODE BEGIN EM */
+
+/* USER CODE END EM */
+
+/* Exported functions prototypes ---------------------------------------------*/
+void NMI_Handler(void);
+void HardFault_Handler(void);
+void SVC_Handler(void);
+void PendSV_Handler(void);
+void SysTick_Handler(void);
+void DMA1_Channel1_IRQHandler(void);
+void ADC1_IRQHandler(void);
+void USART2_IRQHandler(void);
+/* USER CODE BEGIN EFP */
+
+/* USER CODE END EFP */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __STM32G0xx_IT_H */
diff --git a/Core/Inc/tim.h b/Core/Inc/tim.h
new file mode 100644
index 0000000..0bead92
--- /dev/null
+++ b/Core/Inc/tim.h
@@ -0,0 +1,57 @@
+/* USER CODE BEGIN Header */
+/**
+ ******************************************************************************
+ * @file tim.h
+ * @brief This file contains all the function prototypes for
+ * the tim.c file
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2026 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+/* USER CODE END Header */
+/* Define to prevent recursive inclusion -------------------------------------*/
+#ifndef __TIM_H__
+#define __TIM_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Includes ------------------------------------------------------------------*/
+#include "main.h"
+
+/* USER CODE BEGIN Includes */
+
+/* USER CODE END Includes */
+
+extern TIM_HandleTypeDef htim2;
+
+extern TIM_HandleTypeDef htim3;
+
+/* USER CODE BEGIN Private defines */
+
+/* USER CODE END Private defines */
+
+void MX_TIM2_Init(void);
+void MX_TIM3_Init(void);
+
+void HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim);
+
+/* USER CODE BEGIN Prototypes */
+
+/* USER CODE END Prototypes */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __TIM_H__ */
+
diff --git a/Core/Inc/usart.h b/Core/Inc/usart.h
new file mode 100644
index 0000000..4e95a57
--- /dev/null
+++ b/Core/Inc/usart.h
@@ -0,0 +1,52 @@
+/* USER CODE BEGIN Header */
+/**
+ ******************************************************************************
+ * @file usart.h
+ * @brief This file contains all the function prototypes for
+ * the usart.c file
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2026 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+/* USER CODE END Header */
+/* Define to prevent recursive inclusion -------------------------------------*/
+#ifndef __USART_H__
+#define __USART_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Includes ------------------------------------------------------------------*/
+#include "main.h"
+
+/* USER CODE BEGIN Includes */
+
+/* USER CODE END Includes */
+
+extern UART_HandleTypeDef huart2;
+
+/* USER CODE BEGIN Private defines */
+
+/* USER CODE END Private defines */
+
+void MX_USART2_UART_Init(void);
+
+/* USER CODE BEGIN Prototypes */
+
+/* USER CODE END Prototypes */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __USART_H__ */
+
diff --git a/Core/Src/adc.c b/Core/Src/adc.c
new file mode 100644
index 0000000..87aaf2e
--- /dev/null
+++ b/Core/Src/adc.c
@@ -0,0 +1,150 @@
+/* USER CODE BEGIN Header */
+/**
+ ******************************************************************************
+ * @file adc.c
+ * @brief This file provides code for the configuration
+ * of the ADC instances.
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2026 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+/* USER CODE END Header */
+/* Includes ------------------------------------------------------------------*/
+#include "adc.h"
+
+/* USER CODE BEGIN 0 */
+
+/* USER CODE END 0 */
+
+ADC_HandleTypeDef hadc1;
+
+/* ADC1 init function */
+void MX_ADC1_Init(void)
+{
+
+ /* USER CODE BEGIN ADC1_Init 0 */
+
+ /* USER CODE END ADC1_Init 0 */
+
+ ADC_ChannelConfTypeDef sConfig = {0};
+
+ /* USER CODE BEGIN ADC1_Init 1 */
+
+ /* USER CODE END ADC1_Init 1 */
+
+ /** Configure the global features of the ADC (Clock, Resolution, Data Alignment and number of conversion)
+ */
+ hadc1.Instance = ADC1;
+ hadc1.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV4;
+ hadc1.Init.Resolution = ADC_RESOLUTION_12B;
+ hadc1.Init.DataAlign = ADC_DATAALIGN_RIGHT;
+ hadc1.Init.ScanConvMode = ADC_SCAN_DISABLE;
+ hadc1.Init.EOCSelection = ADC_EOC_SINGLE_CONV;
+ hadc1.Init.LowPowerAutoWait = DISABLE;
+ hadc1.Init.LowPowerAutoPowerOff = DISABLE;
+ hadc1.Init.ContinuousConvMode = DISABLE;
+ hadc1.Init.NbrOfConversion = 1;
+ hadc1.Init.ExternalTrigConv = ADC_SOFTWARE_START;
+ hadc1.Init.ExternalTrigConvEdge = ADC_EXTERNALTRIGCONVEDGE_NONE;
+ hadc1.Init.DMAContinuousRequests = DISABLE;
+ hadc1.Init.Overrun = ADC_OVR_DATA_PRESERVED;
+ hadc1.Init.SamplingTimeCommon1 = ADC_SAMPLETIME_19CYCLES_5;
+ hadc1.Init.SamplingTimeCommon2 = ADC_SAMPLETIME_19CYCLES_5;
+ hadc1.Init.OversamplingMode = DISABLE;
+ hadc1.Init.TriggerFrequencyMode = ADC_TRIGGER_FREQ_HIGH;
+ if (HAL_ADC_Init(&hadc1) != HAL_OK)
+ {
+ Error_Handler();
+ }
+
+ /** Configure Regular Channel
+ */
+ sConfig.Channel = ADC_CHANNEL_5;
+ sConfig.Rank = ADC_REGULAR_RANK_1;
+ sConfig.SamplingTime = ADC_SAMPLINGTIME_COMMON_1;
+ if (HAL_ADC_ConfigChannel(&hadc1, &sConfig) != HAL_OK)
+ {
+ Error_Handler();
+ }
+ /* USER CODE BEGIN ADC1_Init 2 */
+
+ /* USER CODE END ADC1_Init 2 */
+
+}
+
+void HAL_ADC_MspInit(ADC_HandleTypeDef* adcHandle)
+{
+
+ GPIO_InitTypeDef GPIO_InitStruct = {0};
+ RCC_PeriphCLKInitTypeDef PeriphClkInit = {0};
+ if(adcHandle->Instance==ADC1)
+ {
+ /* USER CODE BEGIN ADC1_MspInit 0 */
+
+ /* USER CODE END ADC1_MspInit 0 */
+
+ /** Initializes the peripherals clocks
+ */
+ PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_ADC;
+ PeriphClkInit.AdcClockSelection = RCC_ADCCLKSOURCE_SYSCLK;
+ if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
+ {
+ Error_Handler();
+ }
+
+ /* ADC1 clock enable */
+ __HAL_RCC_ADC_CLK_ENABLE();
+
+ __HAL_RCC_GPIOA_CLK_ENABLE();
+ /**ADC1 GPIO Configuration
+ PA5 ------> ADC1_IN5
+ */
+ GPIO_InitStruct.Pin = GPIO_PIN_5;
+ GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
+ GPIO_InitStruct.Pull = GPIO_NOPULL;
+ HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
+
+ /* ADC1 interrupt Init */
+ HAL_NVIC_SetPriority(ADC1_IRQn, 0, 0);
+ HAL_NVIC_EnableIRQ(ADC1_IRQn);
+ /* USER CODE BEGIN ADC1_MspInit 1 */
+
+ /* USER CODE END ADC1_MspInit 1 */
+ }
+}
+
+void HAL_ADC_MspDeInit(ADC_HandleTypeDef* adcHandle)
+{
+
+ if(adcHandle->Instance==ADC1)
+ {
+ /* USER CODE BEGIN ADC1_MspDeInit 0 */
+
+ /* USER CODE END ADC1_MspDeInit 0 */
+ /* Peripheral clock disable */
+ __HAL_RCC_ADC_CLK_DISABLE();
+
+ /**ADC1 GPIO Configuration
+ PA5 ------> ADC1_IN5
+ */
+ HAL_GPIO_DeInit(GPIOA, GPIO_PIN_5);
+
+ /* ADC1 interrupt Deinit */
+ HAL_NVIC_DisableIRQ(ADC1_IRQn);
+ /* USER CODE BEGIN ADC1_MspDeInit 1 */
+
+ /* USER CODE END ADC1_MspDeInit 1 */
+ }
+}
+
+/* USER CODE BEGIN 1 */
+
+/* USER CODE END 1 */
diff --git a/Core/Src/app.c b/Core/Src/app.c
new file mode 100644
index 0000000..3034f41
--- /dev/null
+++ b/Core/Src/app.c
@@ -0,0 +1,224 @@
+#include "app.h"
+#include "adc.h"
+#include "tim.h"
+#include "gpio.h"
+#include "modbus.h"
+
+/* ADC1_IN5:电流采样
+ * 采样电阻 0.1 欧姆,放大器增益 10 倍,因此 1V 对应 1A。
+ * 12 位 ADC,参考电压按 3.3V 计算。 */
+#define ADC_REFERENCE_MV 3300U
+#define ADC_MAX_CODE 4095U
+#define CURRENT_MAX_MA 2000U
+
+/* PWM 电流限幅占空比,范围 1~99,超范围按 99% 处理 */
+#define PWM_DUTY_MIN 1U
+#define PWM_DUTY_MAX 99U
+#define PWM_DUTY_DEFAULT 99U
+
+/* LED 状态灯闪烁时间(单位 ms) */
+#define LED_ON_FORWARD_MS 800U
+#define LED_OFF_FORWARD_MS 200U
+#define LED_ON_REVERSE_MS 200U
+#define LED_OFF_REVERSE_MS 800U
+#define LED_ON_STOP_MS 500U
+#define LED_OFF_STOP_MS 500U
+
+/* 自动定位容许阈值寄存器 */
+#define AUTO_POSITION_TOLERANCE_REG 9U
+#define Encoder_Max 4200
+
+static volatile uint8_t adcConversionDone = 0;
+static uint16_t lastRegister5 = 0;
+
+static void App_UpdateMotor(void);
+static void App_SetCurrentLimit(uint16_t duty);
+static void App_UpdateEncoderRegister(void);
+static void App_ProcessZeroCommand(void);
+static void App_UpdateLed(void);
+
+void App_Init(void)
+{
+ /* 上电默认:电机停止 */
+ HAL_GPIO_WritePin(IO_1_GPIO_Port, IO_1_Pin, GPIO_PIN_RESET);
+ HAL_GPIO_WritePin(IO_2_GPIO_Port, IO_2_Pin, GPIO_PIN_RESET);
+
+ /* 状态灯初始熄灭 */
+ HAL_GPIO_WritePin(LED_GPIO_Port, LED_Pin, GPIO_PIN_RESET);
+
+ /* 启动编码器读取 */
+ HAL_TIM_Encoder_Start(&htim2, TIM_CHANNEL_ALL);
+
+ /* 启动 PWM 输出,并按当前寄存器值设置电流限幅占空比 */
+ HAL_TIM_PWM_Start(&htim3, TIM_CHANNEL_1);
+ App_SetCurrentLimit(holdingRegisters[3]);
+
+ /* ADC校准 */
+ if (HAL_ADCEx_Calibration_Start(&hadc1) != HAL_OK)
+ {
+ Error_Handler();
+ }
+ /* 启动 ADC 中断采集 */
+ adcConversionDone = 0;
+ if (HAL_ADC_Start_IT(&hadc1) != HAL_OK)
+ {
+ Error_Handler();
+ }
+}
+
+void App_Process(void)
+{
+ /* 先处理 Modbus 请求,可能更新寄存器 */
+ Modbus_Process();
+
+ App_UpdateMotor(); /*控制推杆上升下降包含自动和手动*/
+ App_SetCurrentLimit(holdingRegisters[3]); /*限制推杆电机电流*/
+ App_UpdateEncoderRegister(); /*获取定时器2计数值为编码器数值存到寄存器2*/
+ App_ProcessZeroCommand();/*设置当前位置为0*/
+ App_UpdateLed(); /*指示灯灯光切换*/
+
+ /* ADC 单次转换完成后重新启动下一轮转换 */
+ if (adcConversionDone != 0)
+ {
+ adcConversionDone = 0;
+ HAL_ADC_Start_IT(&hadc1);
+ }
+}
+
+static void App_UpdateMotor(void)
+{
+ uint8_t io1 = (holdingRegisters[0] != 0) ? 1U : 0U;
+ uint8_t io2 = (holdingRegisters[1] != 0) ? 1U : 0U;
+ uint8_t up = 0U;
+ uint8_t down = 0U;
+
+ /*自动运行至指定位置,最下面值最大,最上面为0*/
+ if (holdingRegisters[6] != 0 && holdingRegisters[7] < Encoder_Max)
+ {
+ /* 自动定位模式:根据当前编码器值和目标位置决定运行方向 */
+ int32_t currentPosition = (int16_t)(uint16_t)__HAL_TIM_GET_COUNTER(&htim2);
+ int32_t targetPosition = (int16_t)holdingRegisters[7];
+ int32_t positionError = targetPosition - currentPosition;
+ int32_t tolerance = (int32_t)holdingRegisters[AUTO_POSITION_TOLERANCE_REG]; /*寄存器9*/
+
+ if (positionError > tolerance)
+ {
+ down = 1U;
+ }
+ else if (positionError < -tolerance)
+ {
+ up = 1U;
+ }
+ }
+ else
+ {
+ /* 手动模式:保持原有 holdingRegisters[0]、[1] 控制逻辑 */
+ up = (io1 != 0 && io2 == 0) ? 1U : 0U;
+ down = (io1 == 0 && io2 != 0) ? 1U : 0U;
+ }
+
+ if (up != 0)
+ {
+ /* 正转:IO_1 高,IO_2 低 */
+ HAL_GPIO_WritePin(IO_1_GPIO_Port, IO_1_Pin, GPIO_PIN_SET);
+ HAL_GPIO_WritePin(IO_2_GPIO_Port, IO_2_Pin, GPIO_PIN_RESET);
+ }
+ else if (down != 0)
+ {
+ /* 反转:IO_1 低,IO_2 高 */
+ HAL_GPIO_WritePin(IO_1_GPIO_Port, IO_1_Pin, GPIO_PIN_RESET);
+ HAL_GPIO_WritePin(IO_2_GPIO_Port, IO_2_Pin, GPIO_PIN_SET);
+ }
+ else
+ {
+ /* 停止:两路都低 */
+ HAL_GPIO_WritePin(IO_1_GPIO_Port, IO_1_Pin, GPIO_PIN_RESET);
+ HAL_GPIO_WritePin(IO_2_GPIO_Port, IO_2_Pin, GPIO_PIN_RESET);
+ }
+}
+
+static void App_SetCurrentLimit(uint16_t duty)
+{
+ if (duty < PWM_DUTY_MIN || duty > PWM_DUTY_MAX)
+ {
+ duty = PWM_DUTY_DEFAULT;
+ }
+
+ __HAL_TIM_SET_COMPARE(&htim3, TIM_CHANNEL_1, duty);
+}
+
+static void App_UpdateEncoderRegister(void)
+{
+ int32_t enc = (int32_t)__HAL_TIM_GET_COUNTER(&htim2);
+ //holdingRegisters[2] = (uint16_t)(int16_t)enc;
+ holdingRegisters[2] = (int16_t)enc;
+}
+
+static void App_ProcessZeroCommand(void)
+{
+ if (holdingRegisters[5] != lastRegister5)
+ {
+ lastRegister5 = holdingRegisters[5];
+ __HAL_TIM_SET_COUNTER(&htim2, 0);
+ }
+}
+
+static void App_UpdateLed(void)
+{
+ static uint32_t lastToggle = 0;
+ static GPIO_PinState ledState = GPIO_PIN_RESET;
+
+ uint8_t io1 = (holdingRegisters[0] != 0) ? 1U : 0U;
+ uint8_t io2 = (holdingRegisters[1] != 0) ? 1U : 0U;
+ uint32_t onTime;
+ uint32_t offTime;
+ uint32_t period;
+ uint32_t elapsed;
+
+ if (io1 != 0 && io2 == 0)
+ {
+ onTime = LED_ON_FORWARD_MS;
+ offTime = LED_OFF_FORWARD_MS;
+ }
+ else if (io1 == 0 && io2 != 0)
+ {
+ onTime = LED_ON_REVERSE_MS;
+ offTime = LED_OFF_REVERSE_MS;
+ }
+ else
+ {
+ onTime = LED_ON_STOP_MS;
+ offTime = LED_OFF_STOP_MS;
+ }
+
+ period = (ledState == GPIO_PIN_SET) ? onTime : offTime;
+ elapsed = HAL_GetTick() - lastToggle;
+
+ if (elapsed >= period)
+ {
+ ledState = (ledState == GPIO_PIN_SET) ? GPIO_PIN_RESET : GPIO_PIN_SET;
+ HAL_GPIO_WritePin(LED_GPIO_Port, LED_Pin, ledState);
+ lastToggle = HAL_GetTick();
+ }
+}
+
+/* ADC 转换完成中断回调:把采样电压换算为电流(mA) */
+void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef *hadc)
+{
+ if (hadc->Instance != ADC1)
+ {
+ return;
+ }
+
+ uint32_t raw = HAL_ADC_GetValue(&hadc1);
+ uint32_t voltage_mv = (raw * ADC_REFERENCE_MV) / ADC_MAX_CODE;
+ uint16_t current_ma = (uint16_t)voltage_mv;
+
+ if (current_ma > CURRENT_MAX_MA)
+ {
+ current_ma = CURRENT_MAX_MA;
+ }
+
+ holdingRegisters[4] = current_ma;
+ adcConversionDone = 1;
+}
diff --git a/Core/Src/dma.c b/Core/Src/dma.c
new file mode 100644
index 0000000..fd7e0ca
--- /dev/null
+++ b/Core/Src/dma.c
@@ -0,0 +1,55 @@
+/* USER CODE BEGIN Header */
+/**
+ ******************************************************************************
+ * @file dma.c
+ * @brief This file provides code for the configuration
+ * of all the requested memory to memory DMA transfers.
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2026 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+/* USER CODE END Header */
+
+/* Includes ------------------------------------------------------------------*/
+#include "dma.h"
+
+/* USER CODE BEGIN 0 */
+
+/* USER CODE END 0 */
+
+/*----------------------------------------------------------------------------*/
+/* Configure DMA */
+/*----------------------------------------------------------------------------*/
+
+/* USER CODE BEGIN 1 */
+
+/* USER CODE END 1 */
+
+/**
+ * Enable DMA controller clock
+ */
+void MX_DMA_Init(void)
+{
+
+ /* DMA controller clock enable */
+ __HAL_RCC_DMA1_CLK_ENABLE();
+
+ /* DMA interrupt init */
+ /* DMA1_Channel1_IRQn interrupt configuration */
+ HAL_NVIC_SetPriority(DMA1_Channel1_IRQn, 0, 0);
+ HAL_NVIC_EnableIRQ(DMA1_Channel1_IRQn);
+
+}
+
+/* USER CODE BEGIN 2 */
+
+/* USER CODE END 2 */
+
diff --git a/Core/Src/gpio.c b/Core/Src/gpio.c
new file mode 100644
index 0000000..afedf27
--- /dev/null
+++ b/Core/Src/gpio.c
@@ -0,0 +1,75 @@
+/* USER CODE BEGIN Header */
+/**
+ ******************************************************************************
+ * @file gpio.c
+ * @brief This file provides code for the configuration
+ * of all used GPIO pins.
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2026 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+/* USER CODE END Header */
+
+/* Includes ------------------------------------------------------------------*/
+#include "gpio.h"
+
+/* USER CODE BEGIN 0 */
+
+/* USER CODE END 0 */
+
+/*----------------------------------------------------------------------------*/
+/* Configure GPIO */
+/*----------------------------------------------------------------------------*/
+/* USER CODE BEGIN 1 */
+
+/* USER CODE END 1 */
+
+/** Configure pins as
+ * Analog
+ * Input
+ * Output
+ * EVENT_OUT
+ * EXTI
+*/
+void MX_GPIO_Init(void)
+{
+
+ GPIO_InitTypeDef GPIO_InitStruct = {0};
+
+ /* GPIO Ports Clock Enable */
+ __HAL_RCC_GPIOA_CLK_ENABLE();
+ __HAL_RCC_GPIOB_CLK_ENABLE();
+
+ /*Configure GPIO pin Output Level */
+ HAL_GPIO_WritePin(GPIOA, DIR_Pin|IO_2_Pin, GPIO_PIN_RESET);
+
+ /*Configure GPIO pin Output Level */
+ HAL_GPIO_WritePin(GPIOB, IO_1_Pin|LED_Pin, GPIO_PIN_RESET);
+
+ /*Configure GPIO pins : PAPin PAPin */
+ GPIO_InitStruct.Pin = DIR_Pin|IO_2_Pin;
+ GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
+ GPIO_InitStruct.Pull = GPIO_NOPULL;
+ GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
+ HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
+
+ /*Configure GPIO pins : PBPin PBPin */
+ GPIO_InitStruct.Pin = IO_1_Pin|LED_Pin;
+ GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
+ GPIO_InitStruct.Pull = GPIO_NOPULL;
+ GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
+ HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
+
+}
+
+/* USER CODE BEGIN 2 */
+
+/* USER CODE END 2 */
diff --git a/Core/Src/main.c b/Core/Src/main.c
new file mode 100644
index 0000000..c666a20
--- /dev/null
+++ b/Core/Src/main.c
@@ -0,0 +1,188 @@
+/* USER CODE BEGIN Header */
+/**
+ ******************************************************************************
+ * @file : main.c
+ * @brief : Main program body
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2026 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+/* USER CODE END Header */
+/* Includes ------------------------------------------------------------------*/
+#include "main.h"
+#include "adc.h"
+#include "dma.h"
+#include "tim.h"
+#include "usart.h"
+#include "gpio.h"
+
+/* Private includes ----------------------------------------------------------*/
+/* USER CODE BEGIN Includes */
+#include "app.h"
+#include "modbus.h"
+/* USER CODE END Includes */
+
+/* Private typedef -----------------------------------------------------------*/
+/* USER CODE BEGIN PTD */
+
+/* USER CODE END PTD */
+
+/* Private define ------------------------------------------------------------*/
+/* USER CODE BEGIN PD */
+/* USER CODE END PD */
+
+/* Private macro -------------------------------------------------------------*/
+/* USER CODE BEGIN PM */
+
+/* USER CODE END PM */
+
+/* Private variables ---------------------------------------------------------*/
+
+/* USER CODE BEGIN PV */
+
+/* USER CODE END PV */
+
+/* Private function prototypes -----------------------------------------------*/
+void SystemClock_Config(void);
+/* USER CODE BEGIN PFP */
+/* USER CODE END PFP */
+
+/* Private user code ---------------------------------------------------------*/
+/* USER CODE BEGIN 0 */
+
+/* USER CODE END 0 */
+
+/**
+ * @brief The application entry point.
+ * @retval int
+ */
+int main(void)
+{
+ /* USER CODE BEGIN 1 */
+
+ /* USER CODE END 1 */
+
+ /* MCU Configuration--------------------------------------------------------*/
+
+ /* Reset of all peripherals, Initializes the Flash interface and the Systick. */
+ HAL_Init();
+
+ /* USER CODE BEGIN Init */
+
+ /* USER CODE END Init */
+
+ /* Configure the system clock */
+ SystemClock_Config();
+
+ /* USER CODE BEGIN SysInit */
+
+ /* USER CODE END SysInit */
+
+ /* Initialize all configured peripherals */
+ MX_GPIO_Init();
+ MX_TIM3_Init();
+ MX_DMA_Init();
+ MX_TIM2_Init();
+ MX_ADC1_Init();
+ MX_USART2_UART_Init();
+ /* USER CODE BEGIN 2 */
+ App_Init();
+ Modbus_Init();
+ /* USER CODE END 2 */
+
+ /* Infinite loop */
+ /* USER CODE BEGIN WHILE */
+ while (1)
+ {
+ /* USER CODE END WHILE */
+
+ /* USER CODE BEGIN 3 */
+ App_Process();
+
+ }
+ /* USER CODE END 3 */
+}
+
+/**
+ * @brief System Clock Configuration
+ * @retval None
+ */
+void SystemClock_Config(void)
+{
+ RCC_OscInitTypeDef RCC_OscInitStruct = {0};
+ RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
+
+ /** Configure the main internal regulator output voltage
+ */
+ HAL_PWREx_ControlVoltageScaling(PWR_REGULATOR_VOLTAGE_SCALE1);
+
+ /** Initializes the RCC Oscillators according to the specified parameters
+ * in the RCC_OscInitTypeDef structure.
+ */
+ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
+ RCC_OscInitStruct.HSIState = RCC_HSI_ON;
+ RCC_OscInitStruct.HSIDiv = RCC_HSI_DIV1;
+ RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
+ RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE;
+ if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
+ {
+ Error_Handler();
+ }
+
+ /** Initializes the CPU, AHB and APB buses clocks
+ */
+ RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
+ |RCC_CLOCKTYPE_PCLK1;
+ RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_HSI;
+ RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
+ RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1;
+
+ if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_0) != HAL_OK)
+ {
+ Error_Handler();
+ }
+}
+
+/* USER CODE BEGIN 4 */
+
+/* USER CODE END 4 */
+
+/**
+ * @brief This function is executed in case of error occurrence.
+ * @retval None
+ */
+void Error_Handler(void)
+{
+ /* USER CODE BEGIN Error_Handler_Debug */
+ /* User can add his own implementation to report the HAL error return state */
+ __disable_irq();
+ while (1)
+ {
+ }
+ /* USER CODE END Error_Handler_Debug */
+}
+
+#ifdef USE_FULL_ASSERT
+/**
+ * @brief Reports the name of the source file and the source line number
+ * where the assert_param error has occurred.
+ * @param file: pointer to the source file name
+ * @param line: assert_param error line source number
+ * @retval None
+ */
+void assert_failed(uint8_t *file, uint32_t line)
+{
+ /* USER CODE BEGIN 6 */
+ /* User can add his own implementation to report the file name and line number,
+ ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
+ /* USER CODE END 6 */
+}
+#endif /* USE_FULL_ASSERT */
diff --git a/Core/Src/modbus.c b/Core/Src/modbus.c
new file mode 100644
index 0000000..78070aa
--- /dev/null
+++ b/Core/Src/modbus.c
@@ -0,0 +1,351 @@
+/*
+ * modbus.c
+ *
+ * Created on: Jul 3, 2025
+ * Author: shiyanlei
+ */
+
+#include "stm32g0xx_hal.h"
+#include
+#include
+#include "main.h"
+#include "modbus.h"
+#include "usart.h"
+
+//uint16_t holdingRegisters[REGISTER_COUNT] = {0}; /*长度为10*/
+int16_t holdingRegisters[REGISTER_COUNT] = {0}; /*长度为10*/
+
+/* 寄存器可写标志位(1:可写,0:只读) */
+uint8_t registerWritable[REGISTER_COUNT] = {
+ registerWritable_0, registerWritable_1, registerWritable_2, registerWritable_3,
+ registerWritable_4, registerWritable_5, registerWritable_6, registerWritable_7,
+ registerWritable_8, registerWritable_9
+};
+
+/* 全局变量 */
+uint8_t modbusBuffer[MODBUS_BUFFER_SIZE];
+//int8_t modbusBuffer[MODBUS_BUFFER_SIZE];
+uint16_t modbusBufferIndex = 0;
+uint32_t lastByteTime = 0;
+bool messageComplete = false;
+uint8_t response[256];
+
+/* 函数声明 */
+void Modbus_Init(void);
+void Modbus_Process(void);
+void Modbus_SendResponse(uint8_t *data, uint8_t length);
+void Modbus_HandleFunction03(uint16_t startAddress, uint16_t registerCount);
+void Modbus_HandleFunction06(uint16_t registerAddress, uint16_t value);
+void Modbus_HandleFunction10(uint16_t startAddress, uint16_t registerCount, uint8_t *data);
+void Modbus_SendExceptionResponse(uint8_t exceptionCode);
+uint16_t CalculateCRC(uint8_t *data, uint8_t length);
+
+/* 初始化函数 */
+void Modbus_Init(void)
+{
+ /* RS485 方向控制引脚置为接收状态 */
+ HAL_GPIO_WritePin(DIR_GPIO_Port, DIR_Pin, GPIO_PIN_RESET);
+
+ /* 启动串口中断接收 */
+ modbusBufferIndex = 0;
+ HAL_UART_Receive_IT(&huart2, (uint8_t *)&modbusBuffer[modbusBufferIndex], 1);
+}
+
+/* Modbus处理函数 - 应在主循环中调用 */
+void Modbus_Process(void)
+{
+ uint16_t startAddress = 0;
+ uint16_t registerCount = 0;
+ uint16_t value = 0;
+ uint8_t byteCount = 0;
+ uint16_t crcReceived;
+ uint16_t crcCalculated;
+
+ if (modbusBufferIndex > 0 && (HAL_GetTick() - lastByteTime) > MODBUS_TIMEOUT_MS)
+ {
+ /* 超时,标记消息完成 */
+ messageComplete = true;
+ }
+
+ if (!messageComplete)
+ {
+ return;
+ }
+
+ /* 一个有效的 RTU 帧至少包含:地址 + 功能码 + 2 字节 CRC */
+ if (modbusBufferIndex < 4)
+ {
+ modbusBufferIndex = 0;
+ messageComplete = false;
+ return;
+ }
+
+ crcReceived = (uint16_t)((modbusBuffer[modbusBufferIndex - 1] << 8) |
+ modbusBuffer[modbusBufferIndex - 2]);
+ crcCalculated = CalculateCRC(modbusBuffer, (uint8_t)(modbusBufferIndex - 2));
+
+ if (MODBUS_CRC_OFF == 1 || crcReceived == crcCalculated)
+ {
+ if (modbusBuffer[0] == MODBUS_SLAVE_ADDRESS) /*ID 0x42*/
+ {
+ switch (modbusBuffer[1])
+ {
+ case MODBUS_FUNCTION_CODE_03:
+ if (modbusBufferIndex >= 8)
+ {
+ startAddress = (uint16_t)((modbusBuffer[2] << 8) | modbusBuffer[3]);
+ registerCount = (uint16_t)((modbusBuffer[4] << 8) | modbusBuffer[5]);
+ Modbus_HandleFunction03(startAddress, registerCount);
+ }
+ break;
+
+ case MODBUS_FUNCTION_CODE_06:
+ if (modbusBufferIndex >= 8)
+ {
+ startAddress = (uint16_t)((modbusBuffer[2] << 8) | modbusBuffer[3]);
+ value = (uint16_t)((modbusBuffer[4] << 8) | modbusBuffer[5]);
+ Modbus_HandleFunction06(startAddress, value);
+ }
+ break;
+
+ case MODBUS_FUNCTION_CODE_10:
+ if (modbusBufferIndex >= 9)
+ {
+ startAddress = (uint16_t)((modbusBuffer[2] << 8) | modbusBuffer[3]);
+ registerCount = (uint16_t)((modbusBuffer[4] << 8) | modbusBuffer[5]);
+ byteCount = modbusBuffer[6];
+
+ /* 检查数据长度是否正确 */
+ if (byteCount == (uint8_t)(registerCount * 2U) &&
+ (modbusBufferIndex - 2U) >= (uint16_t)(7U + byteCount))
+ {
+ Modbus_HandleFunction10(startAddress, registerCount, &modbusBuffer[7]);
+ }
+ else
+ {
+ Modbus_SendExceptionResponse(0x03);
+ }
+ }
+ break;
+
+ default:
+ Modbus_SendExceptionResponse(0x01);
+ break;
+ }
+ }
+ }
+
+ /* 重置缓冲区 */
+ modbusBufferIndex = 0;
+ messageComplete = false;
+}
+
+/* 处理功能码03 */
+void Modbus_HandleFunction03(uint16_t startAddress, uint16_t registerCount)
+{
+ /* 检查地址和数量是否合法 */
+ if ((startAddress + registerCount) > (REGISTER_START_ADDRESS + REGISTER_COUNT) ||
+ registerCount > 0x7D)
+ {
+ Modbus_SendExceptionResponse(0x02);
+ return;
+ }
+
+ uint8_t byteCount = (uint8_t)(registerCount * 2U);
+ uint8_t index = 0;
+
+ response[index++] = MODBUS_SLAVE_ADDRESS;
+ response[index++] = MODBUS_FUNCTION_CODE_03;
+ response[index++] = byteCount;
+
+ for (uint16_t i = 0; i < registerCount; i++)
+ {
+ uint16_t regValue = holdingRegisters[(startAddress - REGISTER_START_ADDRESS) + i];
+ response[index++] = (uint8_t)((regValue >> 8) & 0xFF);
+ response[index++] = (uint8_t)(regValue & 0xFF);
+ }
+
+ uint16_t crc = CalculateCRC(response, index);
+ response[index++] = (uint8_t)(crc & 0xFF);
+ response[index++] = (uint8_t)((crc >> 8) & 0xFF);
+
+ Modbus_SendResponse(response, index);
+}
+
+/* 处理功能码06 */
+void Modbus_HandleFunction06(uint16_t registerAddress, uint16_t value)
+{
+ /* 检查地址是否合法 */
+ if (registerAddress >= (REGISTER_START_ADDRESS + REGISTER_COUNT))
+ {
+ Modbus_SendExceptionResponse(0x02);
+ return;
+ }
+
+ uint16_t regIndex = registerAddress - REGISTER_START_ADDRESS;
+ uint16_t responseValue = holdingRegisters[regIndex];
+
+ /* 只有可写寄存器才更新值 */
+ if (registerWritable[regIndex] == 1)
+ {
+ holdingRegisters[regIndex] = value;
+ responseValue = value;
+ }
+
+ /* 准备响应帧 - 功能码06的响应是原请求帧的原样返回 */
+ uint8_t index = 0;
+ response[index++] = MODBUS_SLAVE_ADDRESS;
+ response[index++] = MODBUS_FUNCTION_CODE_06;
+ response[index++] = (uint8_t)((registerAddress >> 8) & 0xFF);
+ response[index++] = (uint8_t)(registerAddress & 0xFF);
+ response[index++] = (uint8_t)((responseValue >> 8) & 0xFF);
+ response[index++] = (uint8_t)(responseValue & 0xFF);
+
+ /* 计算CRC并添加到响应帧 */
+ uint16_t crc = CalculateCRC(response, index);
+ response[index++] = (uint8_t)(crc & 0xFF);
+ response[index++] = (uint8_t)((crc >> 8) & 0xFF);
+
+ /* 发送响应 */
+ Modbus_SendResponse(response, index);
+}
+
+/* 处理功能码0x10 */
+void Modbus_HandleFunction10(uint16_t startAddress, uint16_t registerCount, uint8_t *data)
+{
+ /* 检查地址和数量是否合法 */
+ if ((startAddress + registerCount) > (REGISTER_START_ADDRESS + REGISTER_COUNT) ||
+ registerCount == 0 || registerCount > 0x7B)
+ {
+ Modbus_SendExceptionResponse(0x02);
+ return;
+ }
+
+ /* 处理每个寄存器 */
+ for (uint16_t i = 0; i < registerCount; i++)
+ {
+ uint16_t regIndex = (startAddress - REGISTER_START_ADDRESS) + i;
+ uint16_t value = (uint16_t)((data[i * 2] << 8) | data[i * 2 + 1]);
+
+ /* 只有可写寄存器才更新值 */
+ if (registerWritable[regIndex] == 1)
+ {
+ holdingRegisters[regIndex] = value;
+ }
+ }
+
+ /* 准备响应帧 - 功能码0x10的响应包含起始地址和写入数量 */
+ uint8_t index = 0;
+ response[index++] = MODBUS_SLAVE_ADDRESS;
+ response[index++] = MODBUS_FUNCTION_CODE_10;
+ response[index++] = (uint8_t)((startAddress >> 8) & 0xFF);
+ response[index++] = (uint8_t)(startAddress & 0xFF);
+ response[index++] = (uint8_t)((registerCount >> 8) & 0xFF);
+ response[index++] = (uint8_t)(registerCount & 0xFF);
+
+ /* 计算CRC并添加到响应帧 */
+ uint16_t crc = CalculateCRC(response, index);
+ response[index++] = (uint8_t)(crc & 0xFF);
+ response[index++] = (uint8_t)((crc >> 8) & 0xFF);
+
+ /* 发送响应 */
+ Modbus_SendResponse(response, index);
+}
+
+/* 发送异常响应 */
+void Modbus_SendExceptionResponse(uint8_t exceptionCode)
+{
+ response[0] = MODBUS_SLAVE_ADDRESS;
+ response[1] = modbusBuffer[1] | 0x80;
+ response[2] = exceptionCode;
+
+ uint16_t crc = CalculateCRC(response, 3);
+ response[3] = (uint8_t)(crc & 0xFF);
+ response[4] = (uint8_t)((crc >> 8) & 0xFF);
+
+ Modbus_SendResponse(response, 5);
+}
+
+/* 发送响应 */
+void Modbus_SendResponse(uint8_t *data, uint8_t length)
+{
+ /* 使能RS485发送 */
+ HAL_GPIO_WritePin(DIR_GPIO_Port, DIR_Pin, GPIO_PIN_SET);
+
+ /* DMA 发送数据,发送完成后在 HAL_UART_TxCpltCallback 中切回接收 */
+ HAL_UART_Transmit_DMA(&huart2, data, length);
+}
+
+/* CRC计算 */
+uint16_t CalculateCRC(uint8_t *data, uint8_t length)
+{
+ uint16_t crc = 0xFFFF;
+
+ for (uint8_t i = 0; i < length; i++)
+ {
+ crc ^= (uint16_t)data[i];
+
+ for (uint8_t j = 0; j < 8; j++)
+ {
+ if ((crc & 0x0001) != 0)
+ {
+ crc >>= 1;
+ crc ^= 0xA001;
+ }
+ else
+ {
+ crc >>= 1;
+ }
+ }
+ }
+
+ return crc;
+}
+
+/* UART接收中断回调函数 */
+void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
+{
+ if (huart != &huart2)
+ {
+ return;
+ }
+
+ lastByteTime = HAL_GetTick();
+
+ if (modbusBufferIndex < MODBUS_BUFFER_SIZE)
+ {
+ /* HAL 已经将接收到的字节写入 modbusBuffer[modbusBufferIndex],
+ 此处只需向后移动索引。 */
+ modbusBufferIndex++;
+ }
+
+ if (modbusBufferIndex < MODBUS_BUFFER_SIZE)
+ {
+ HAL_UART_Receive_IT(&huart2, (uint8_t *)&modbusBuffer[modbusBufferIndex], 1);
+ }
+ else
+ {
+ /* 缓冲区满,丢弃并等待下一帧 */
+ modbusBufferIndex = 0;
+ HAL_UART_Receive_IT(&huart2, (uint8_t *)&modbusBuffer[modbusBufferIndex], 1);
+ }
+}
+
+/* UART发送完成回调:切回RS485接收方向 */
+void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart)
+{
+ if (huart == &huart2)
+ {
+ HAL_GPIO_WritePin(DIR_GPIO_Port, DIR_Pin, GPIO_PIN_RESET);
+ }
+}
+
+/* UART错误回调:重新同步接收 */
+void HAL_UART_ErrorCallback(UART_HandleTypeDef *huart)
+{
+ if (huart == &huart2)
+ {
+ modbusBufferIndex = 0;
+ HAL_UART_Receive_IT(&huart2, (uint8_t *)&modbusBuffer[modbusBufferIndex], 1);
+ }
+}
diff --git a/Core/Src/stm32g0xx_hal_msp.c b/Core/Src/stm32g0xx_hal_msp.c
new file mode 100644
index 0000000..72b031b
--- /dev/null
+++ b/Core/Src/stm32g0xx_hal_msp.c
@@ -0,0 +1,81 @@
+/* USER CODE BEGIN Header */
+/**
+ ******************************************************************************
+ * @file stm32g0xx_hal_msp.c
+ * @brief This file provides code for the MSP Initialization
+ * and de-Initialization codes.
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2026 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+/* USER CODE END Header */
+
+/* Includes ------------------------------------------------------------------*/
+#include "main.h"
+/* USER CODE BEGIN Includes */
+
+/* USER CODE END Includes */
+
+/* Private typedef -----------------------------------------------------------*/
+/* USER CODE BEGIN TD */
+
+/* USER CODE END TD */
+
+/* Private define ------------------------------------------------------------*/
+/* USER CODE BEGIN Define */
+
+/* USER CODE END Define */
+
+/* Private macro -------------------------------------------------------------*/
+/* USER CODE BEGIN Macro */
+
+/* USER CODE END Macro */
+
+/* Private variables ---------------------------------------------------------*/
+/* USER CODE BEGIN PV */
+
+/* USER CODE END PV */
+
+/* Private function prototypes -----------------------------------------------*/
+/* USER CODE BEGIN PFP */
+
+/* USER CODE END PFP */
+
+/* External functions --------------------------------------------------------*/
+/* USER CODE BEGIN ExternalFunctions */
+
+/* USER CODE END ExternalFunctions */
+
+/* USER CODE BEGIN 0 */
+
+/* USER CODE END 0 */
+/**
+ * Initializes the Global MSP.
+ */
+void HAL_MspInit(void)
+{
+ /* USER CODE BEGIN MspInit 0 */
+
+ /* USER CODE END MspInit 0 */
+
+ __HAL_RCC_SYSCFG_CLK_ENABLE();
+ __HAL_RCC_PWR_CLK_ENABLE();
+
+ /* System interrupt init*/
+
+ /* USER CODE BEGIN MspInit 1 */
+
+ /* USER CODE END MspInit 1 */
+}
+
+/* USER CODE BEGIN 1 */
+
+/* USER CODE END 1 */
diff --git a/Core/Src/stm32g0xx_it.c b/Core/Src/stm32g0xx_it.c
new file mode 100644
index 0000000..9d1159e
--- /dev/null
+++ b/Core/Src/stm32g0xx_it.c
@@ -0,0 +1,189 @@
+/* USER CODE BEGIN Header */
+/**
+ ******************************************************************************
+ * @file stm32g0xx_it.c
+ * @brief Interrupt Service Routines.
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2026 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+/* USER CODE END Header */
+
+/* Includes ------------------------------------------------------------------*/
+#include "main.h"
+#include "stm32g0xx_it.h"
+/* Private includes ----------------------------------------------------------*/
+/* USER CODE BEGIN Includes */
+/* USER CODE END Includes */
+
+/* Private typedef -----------------------------------------------------------*/
+/* USER CODE BEGIN TD */
+
+/* USER CODE END TD */
+
+/* Private define ------------------------------------------------------------*/
+/* USER CODE BEGIN PD */
+
+/* USER CODE END PD */
+
+/* Private macro -------------------------------------------------------------*/
+/* USER CODE BEGIN PM */
+
+/* USER CODE END PM */
+
+/* Private variables ---------------------------------------------------------*/
+/* USER CODE BEGIN PV */
+
+/* USER CODE END PV */
+
+/* Private function prototypes -----------------------------------------------*/
+/* USER CODE BEGIN PFP */
+
+/* USER CODE END PFP */
+
+/* Private user code ---------------------------------------------------------*/
+/* USER CODE BEGIN 0 */
+
+/* USER CODE END 0 */
+
+/* External variables --------------------------------------------------------*/
+extern ADC_HandleTypeDef hadc1;
+extern DMA_HandleTypeDef hdma_usart2_tx;
+extern UART_HandleTypeDef huart2;
+/* USER CODE BEGIN EV */
+
+/* USER CODE END EV */
+
+/******************************************************************************/
+/* Cortex-M0+ Processor Interruption and Exception Handlers */
+/******************************************************************************/
+/**
+ * @brief This function handles Non maskable interrupt.
+ */
+void NMI_Handler(void)
+{
+ /* USER CODE BEGIN NonMaskableInt_IRQn 0 */
+
+ /* USER CODE END NonMaskableInt_IRQn 0 */
+ /* USER CODE BEGIN NonMaskableInt_IRQn 1 */
+ while (1)
+ {
+ }
+ /* USER CODE END NonMaskableInt_IRQn 1 */
+}
+
+/**
+ * @brief This function handles Hard fault interrupt.
+ */
+void HardFault_Handler(void)
+{
+ /* USER CODE BEGIN HardFault_IRQn 0 */
+
+ /* USER CODE END HardFault_IRQn 0 */
+ while (1)
+ {
+ /* USER CODE BEGIN W1_HardFault_IRQn 0 */
+ /* USER CODE END W1_HardFault_IRQn 0 */
+ }
+}
+
+/**
+ * @brief This function handles System service call via SWI instruction.
+ */
+void SVC_Handler(void)
+{
+ /* USER CODE BEGIN SVC_IRQn 0 */
+
+ /* USER CODE END SVC_IRQn 0 */
+ /* USER CODE BEGIN SVC_IRQn 1 */
+
+ /* USER CODE END SVC_IRQn 1 */
+}
+
+/**
+ * @brief This function handles Pendable request for system service.
+ */
+void PendSV_Handler(void)
+{
+ /* USER CODE BEGIN PendSV_IRQn 0 */
+
+ /* USER CODE END PendSV_IRQn 0 */
+ /* USER CODE BEGIN PendSV_IRQn 1 */
+
+ /* USER CODE END PendSV_IRQn 1 */
+}
+
+/**
+ * @brief This function handles System tick timer.
+ */
+void SysTick_Handler(void)
+{
+ /* USER CODE BEGIN SysTick_IRQn 0 */
+
+ /* USER CODE END SysTick_IRQn 0 */
+ HAL_IncTick();
+ /* USER CODE BEGIN SysTick_IRQn 1 */
+
+ /* USER CODE END SysTick_IRQn 1 */
+}
+
+/******************************************************************************/
+/* STM32G0xx Peripheral Interrupt Handlers */
+/* Add here the Interrupt Handlers for the used peripherals. */
+/* For the available peripheral interrupt handler names, */
+/* please refer to the startup file (startup_stm32g0xx.s). */
+/******************************************************************************/
+
+/**
+ * @brief This function handles DMA1 channel 1 interrupt.
+ */
+void DMA1_Channel1_IRQHandler(void)
+{
+ /* USER CODE BEGIN DMA1_Channel1_IRQn 0 */
+
+ /* USER CODE END DMA1_Channel1_IRQn 0 */
+ HAL_DMA_IRQHandler(&hdma_usart2_tx);
+ /* USER CODE BEGIN DMA1_Channel1_IRQn 1 */
+
+ /* USER CODE END DMA1_Channel1_IRQn 1 */
+}
+
+/**
+ * @brief This function handles ADC1 interrupt.
+ */
+void ADC1_IRQHandler(void)
+{
+ /* USER CODE BEGIN ADC1_IRQn 0 */
+
+ /* USER CODE END ADC1_IRQn 0 */
+ HAL_ADC_IRQHandler(&hadc1);
+ /* USER CODE BEGIN ADC1_IRQn 1 */
+
+ /* USER CODE END ADC1_IRQn 1 */
+}
+
+/**
+ * @brief This function handles USART2 global interrupt / USART2 wake-up interrupt through EXTI line 26.
+ */
+void USART2_IRQHandler(void)
+{
+ /* USER CODE BEGIN USART2_IRQn 0 */
+
+ /* USER CODE END USART2_IRQn 0 */
+ HAL_UART_IRQHandler(&huart2);
+ /* USER CODE BEGIN USART2_IRQn 1 */
+
+ /* USER CODE END USART2_IRQn 1 */
+}
+
+/* USER CODE BEGIN 1 */
+
+/* USER CODE END 1 */
diff --git a/Core/Src/syscalls.c b/Core/Src/syscalls.c
new file mode 100644
index 0000000..fadb992
--- /dev/null
+++ b/Core/Src/syscalls.c
@@ -0,0 +1,155 @@
+/**
+ ******************************************************************************
+ * @file syscalls.c
+ * @author Auto-generated by STM32CubeIDE
+ * @brief STM32CubeIDE Minimal System calls file
+ *
+ * For more information about which c-functions
+ * need which of these lowlevel functions
+ * please consult the Newlib libc-manual
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2022 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+
+/* Includes */
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+
+/* Variables */
+extern int __io_putchar(int ch) __attribute__((weak));
+extern int __io_getchar(void) __attribute__((weak));
+
+
+char *__env[1] = { 0 };
+char **environ = __env;
+
+
+/* Functions */
+void initialise_monitor_handles()
+{
+}
+
+int _getpid(void)
+{
+ return 1;
+}
+
+int _kill(int pid, int sig)
+{
+ errno = EINVAL;
+ return -1;
+}
+
+void _exit (int status)
+{
+ _kill(status, -1);
+ while (1) {} /* Make sure we hang here */
+}
+
+__attribute__((weak)) int _read(int file, char *ptr, int len)
+{
+ int DataIdx;
+
+ for (DataIdx = 0; DataIdx < len; DataIdx++)
+ {
+ *ptr++ = __io_getchar();
+ }
+
+return len;
+}
+
+__attribute__((weak)) int _write(int file, char *ptr, int len)
+{
+ int DataIdx;
+
+ for (DataIdx = 0; DataIdx < len; DataIdx++)
+ {
+ __io_putchar(*ptr++);
+ }
+ return len;
+}
+
+int _close(int file)
+{
+ return -1;
+}
+
+
+int _fstat(int file, struct stat *st)
+{
+ st->st_mode = S_IFCHR;
+ return 0;
+}
+
+int _isatty(int file)
+{
+ return 1;
+}
+
+int _lseek(int file, int ptr, int dir)
+{
+ return 0;
+}
+
+int _open(char *path, int flags, ...)
+{
+ /* Pretend like we always fail */
+ return -1;
+}
+
+int _wait(int *status)
+{
+ errno = ECHILD;
+ return -1;
+}
+
+int _unlink(char *name)
+{
+ errno = ENOENT;
+ return -1;
+}
+
+int _times(struct tms *buf)
+{
+ return -1;
+}
+
+int _stat(char *file, struct stat *st)
+{
+ st->st_mode = S_IFCHR;
+ return 0;
+}
+
+int _link(char *old, char *new)
+{
+ errno = EMLINK;
+ return -1;
+}
+
+int _fork(void)
+{
+ errno = EAGAIN;
+ return -1;
+}
+
+int _execve(char *name, char **argv, char **env)
+{
+ errno = ENOMEM;
+ return -1;
+}
diff --git a/Core/Src/sysmem.c b/Core/Src/sysmem.c
new file mode 100644
index 0000000..54081ac
--- /dev/null
+++ b/Core/Src/sysmem.c
@@ -0,0 +1,79 @@
+/**
+ ******************************************************************************
+ * @file sysmem.c
+ * @author Generated by STM32CubeIDE
+ * @brief STM32CubeIDE System Memory calls file
+ *
+ * For more information about which C functions
+ * need which of these lowlevel functions
+ * please consult the newlib libc manual
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2022 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+
+/* Includes */
+#include
+#include
+
+/**
+ * Pointer to the current high watermark of the heap usage
+ */
+static uint8_t *__sbrk_heap_end = NULL;
+
+/**
+ * @brief _sbrk() allocates memory to the newlib heap and is used by malloc
+ * and others from the C library
+ *
+ * @verbatim
+ * ############################################################################
+ * # .data # .bss # newlib heap # MSP stack #
+ * # # # # Reserved by _Min_Stack_Size #
+ * ############################################################################
+ * ^-- RAM start ^-- _end _estack, RAM end --^
+ * @endverbatim
+ *
+ * This implementation starts allocating at the '_end' linker symbol
+ * The '_Min_Stack_Size' linker symbol reserves a memory for the MSP stack
+ * The implementation considers '_estack' linker symbol to be RAM end
+ * NOTE: If the MSP stack, at any point during execution, grows larger than the
+ * reserved size, please increase the '_Min_Stack_Size'.
+ *
+ * @param incr Memory size
+ * @return Pointer to allocated memory
+ */
+void *_sbrk(ptrdiff_t incr)
+{
+ extern uint8_t _end; /* Symbol defined in the linker script */
+ extern uint8_t _estack; /* Symbol defined in the linker script */
+ extern uint32_t _Min_Stack_Size; /* Symbol defined in the linker script */
+ const uint32_t stack_limit = (uint32_t)&_estack - (uint32_t)&_Min_Stack_Size;
+ const uint8_t *max_heap = (uint8_t *)stack_limit;
+ uint8_t *prev_heap_end;
+
+ /* Initialize heap end at first call */
+ if (NULL == __sbrk_heap_end)
+ {
+ __sbrk_heap_end = &_end;
+ }
+
+ /* Protect heap from growing into the reserved MSP stack */
+ if (__sbrk_heap_end + incr > max_heap)
+ {
+ errno = ENOMEM;
+ return (void *)-1;
+ }
+
+ prev_heap_end = __sbrk_heap_end;
+ __sbrk_heap_end += incr;
+
+ return (void *)prev_heap_end;
+}
diff --git a/Core/Src/system_stm32g0xx.c b/Core/Src/system_stm32g0xx.c
new file mode 100644
index 0000000..d4ca437
--- /dev/null
+++ b/Core/Src/system_stm32g0xx.c
@@ -0,0 +1,302 @@
+/**
+ ******************************************************************************
+ * @file system_stm32g0xx.c
+ * @author MCD Application Team
+ * @brief CMSIS Cortex-M0+ Device Peripheral Access Layer System Source File
+ *
+ * This file provides two functions and one global variable to be called from
+ * user application:
+ * - SystemInit(): This function is called at startup just after reset and
+ * before branch to main program. This call is made inside
+ * the "startup_stm32g0xx.s" file.
+ *
+ * - SystemCoreClock variable: Contains the core clock (HCLK), it can be used
+ * by the user application to setup the SysTick
+ * timer or configure other parameters.
+ *
+ * - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
+ * be called whenever the core clock is changed
+ * during program execution.
+ *
+ * After each device reset the HSI (8 MHz then 16 MHz) is used as system clock source.
+ * Then SystemInit() function is called, in "startup_stm32g0xx.s" file, to
+ * configure the system clock before to branch to main program.
+ *
+ * This file configures the system clock as follows:
+ *=============================================================================
+ *-----------------------------------------------------------------------------
+ * System Clock source | HSI
+ *-----------------------------------------------------------------------------
+ * SYSCLK(Hz) | 16000000
+ *-----------------------------------------------------------------------------
+ * HCLK(Hz) | 16000000
+ *-----------------------------------------------------------------------------
+ * AHB Prescaler | 1
+ *-----------------------------------------------------------------------------
+ * APB Prescaler | 1
+ *-----------------------------------------------------------------------------
+ * HSI Division factor | 1
+ *-----------------------------------------------------------------------------
+ * PLL_M | 1
+ *-----------------------------------------------------------------------------
+ * PLL_N | 8
+ *-----------------------------------------------------------------------------
+ * PLL_P | 7
+ *-----------------------------------------------------------------------------
+ * PLL_Q | 2
+ *-----------------------------------------------------------------------------
+ * PLL_R | 2
+ *-----------------------------------------------------------------------------
+ * Require 48MHz for RNG | Disabled
+ *-----------------------------------------------------------------------------
+ *=============================================================================
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2018-2021 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+/** @addtogroup CMSIS
+ * @{
+ */
+
+/** @addtogroup stm32g0xx_system
+ * @{
+ */
+
+/** @addtogroup STM32G0xx_System_Private_Includes
+ * @{
+ */
+
+#include "stm32g0xx.h"
+
+#if !defined (HSE_VALUE)
+#define HSE_VALUE (8000000UL) /*!< Value of the External oscillator in Hz */
+#endif /* HSE_VALUE */
+
+#if !defined (HSI_VALUE)
+ #define HSI_VALUE (16000000UL) /*!< Value of the Internal oscillator in Hz*/
+#endif /* HSI_VALUE */
+
+#if !defined (LSI_VALUE)
+ #define LSI_VALUE (32000UL) /*!< Value of LSI in Hz*/
+#endif /* LSI_VALUE */
+
+#if !defined (LSE_VALUE)
+ #define LSE_VALUE (32768UL) /*!< Value of LSE in Hz*/
+#endif /* LSE_VALUE */
+
+/**
+ * @}
+ */
+
+/** @addtogroup STM32G0xx_System_Private_TypesDefinitions
+ * @{
+ */
+
+/**
+ * @}
+ */
+
+/** @addtogroup STM32G0xx_System_Private_Defines
+ * @{
+ */
+
+/************************* Miscellaneous Configuration ************************/
+/* Note: Following vector table addresses must be defined in line with linker
+ configuration. */
+/*!< Uncomment the following line if you need to relocate the vector table
+ anywhere in Flash or Sram, else the vector table is kept at the automatic
+ remap of boot address selected */
+/* #define USER_VECT_TAB_ADDRESS */
+
+#if defined(USER_VECT_TAB_ADDRESS)
+/*!< Uncomment the following line if you need to relocate your vector Table
+ in Sram else user remap will be done in Flash. */
+/* #define VECT_TAB_SRAM */
+#if defined(VECT_TAB_SRAM)
+#define VECT_TAB_BASE_ADDRESS SRAM_BASE /*!< Vector Table base address field.
+ This value must be a multiple of 0x200. */
+#define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table base offset field.
+ This value must be a multiple of 0x200. */
+#else
+#define VECT_TAB_BASE_ADDRESS FLASH_BASE /*!< Vector Table base address field.
+ This value must be a multiple of 0x200. */
+#define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table base offset field.
+ This value must be a multiple of 0x200. */
+#endif /* VECT_TAB_SRAM */
+#endif /* USER_VECT_TAB_ADDRESS */
+/******************************************************************************/
+/**
+ * @}
+ */
+
+/** @addtogroup STM32G0xx_System_Private_Macros
+ * @{
+ */
+
+/**
+ * @}
+ */
+
+/** @addtogroup STM32G0xx_System_Private_Variables
+ * @{
+ */
+ /* The SystemCoreClock variable is updated in three ways:
+ 1) by calling CMSIS function SystemCoreClockUpdate()
+ 2) by calling HAL API function HAL_RCC_GetHCLKFreq()
+ 3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
+ Note: If you use this function to configure the system clock; then there
+ is no need to call the 2 first functions listed above, since SystemCoreClock
+ variable is updated automatically.
+ */
+ uint32_t SystemCoreClock = 16000000UL;
+
+ const uint32_t AHBPrescTable[16UL] = {0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 0UL, 1UL, 2UL, 3UL, 4UL, 6UL, 7UL, 8UL, 9UL};
+ const uint32_t APBPrescTable[8UL] = {0UL, 0UL, 0UL, 0UL, 1UL, 2UL, 3UL, 4UL};
+
+/**
+ * @}
+ */
+
+/** @addtogroup STM32G0xx_System_Private_FunctionPrototypes
+ * @{
+ */
+
+/**
+ * @}
+ */
+
+/** @addtogroup STM32G0xx_System_Private_Functions
+ * @{
+ */
+
+/**
+ * @brief Setup the microcontroller system.
+ * @param None
+ * @retval None
+ */
+void SystemInit(void)
+{
+ /* Configure the Vector Table location -------------------------------------*/
+#if defined(USER_VECT_TAB_ADDRESS)
+ SCB->VTOR = VECT_TAB_BASE_ADDRESS | VECT_TAB_OFFSET; /* Vector Table Relocation */
+#endif /* USER_VECT_TAB_ADDRESS */
+}
+
+/**
+ * @brief Update SystemCoreClock variable according to Clock Register Values.
+ * The SystemCoreClock variable contains the core clock (HCLK), it can
+ * be used by the user application to setup the SysTick timer or configure
+ * other parameters.
+ *
+ * @note Each time the core clock (HCLK) changes, this function must be called
+ * to update SystemCoreClock variable value. Otherwise, any configuration
+ * based on this variable will be incorrect.
+ *
+ * @note - The system frequency computed by this function is not the real
+ * frequency in the chip. It is calculated based on the predefined
+ * constant and the selected clock source:
+ *
+ * - If SYSCLK source is HSI, SystemCoreClock will contain the HSI_VALUE(**) / HSI division factor
+ *
+ * - If SYSCLK source is HSE, SystemCoreClock will contain the HSE_VALUE(***)
+ *
+ * - If SYSCLK source is LSI, SystemCoreClock will contain the LSI_VALUE
+ *
+ * - If SYSCLK source is LSE, SystemCoreClock will contain the LSE_VALUE
+ *
+ * - If SYSCLK source is PLL, SystemCoreClock will contain the HSE_VALUE(***)
+ * or HSI_VALUE(*) multiplied/divided by the PLL factors.
+ *
+ * (**) HSI_VALUE is a constant defined in stm32g0xx_hal_conf.h file (default value
+ * 16 MHz) but the real value may vary depending on the variations
+ * in voltage and temperature.
+ *
+ * (***) HSE_VALUE is a constant defined in stm32g0xx_hal_conf.h file (default value
+ * 8 MHz), user has to ensure that HSE_VALUE is same as the real
+ * frequency of the crystal used. Otherwise, this function may
+ * have wrong result.
+ *
+ * - The result of this function could be not correct when using fractional
+ * value for HSE crystal.
+ *
+ * @param None
+ * @retval None
+ */
+void SystemCoreClockUpdate(void)
+{
+ uint32_t tmp;
+ uint32_t pllvco;
+ uint32_t pllr;
+ uint32_t pllsource;
+ uint32_t pllm;
+ uint32_t hsidiv;
+
+ /* Get SYSCLK source -------------------------------------------------------*/
+ switch (RCC->CFGR & RCC_CFGR_SWS)
+ {
+ case RCC_CFGR_SWS_0: /* HSE used as system clock */
+ SystemCoreClock = HSE_VALUE;
+ break;
+
+ case (RCC_CFGR_SWS_1 | RCC_CFGR_SWS_0): /* LSI used as system clock */
+ SystemCoreClock = LSI_VALUE;
+ break;
+
+ case RCC_CFGR_SWS_2: /* LSE used as system clock */
+ SystemCoreClock = LSE_VALUE;
+ break;
+
+ case RCC_CFGR_SWS_1: /* PLL used as system clock */
+ /* PLL_VCO = (HSE_VALUE or HSI_VALUE / PLLM) * PLLN
+ SYSCLK = PLL_VCO / PLLR
+ */
+ pllsource = (RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC);
+ pllm = ((RCC->PLLCFGR & RCC_PLLCFGR_PLLM) >> RCC_PLLCFGR_PLLM_Pos) + 1UL;
+
+ if(pllsource == 0x03UL) /* HSE used as PLL clock source */
+ {
+ pllvco = (HSE_VALUE / pllm);
+ }
+ else /* HSI used as PLL clock source */
+ {
+ pllvco = (HSI_VALUE / pllm);
+ }
+ pllvco = pllvco * ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos);
+ pllr = (((RCC->PLLCFGR & RCC_PLLCFGR_PLLR) >> RCC_PLLCFGR_PLLR_Pos) + 1UL);
+
+ SystemCoreClock = pllvco/pllr;
+ break;
+
+ case 0x00000000U: /* HSI used as system clock */
+ default: /* HSI used as system clock */
+ hsidiv = (1UL << ((READ_BIT(RCC->CR, RCC_CR_HSIDIV))>> RCC_CR_HSIDIV_Pos));
+ SystemCoreClock = (HSI_VALUE/hsidiv);
+ break;
+ }
+ /* Compute HCLK clock frequency --------------------------------------------*/
+ /* Get HCLK prescaler */
+ tmp = AHBPrescTable[((RCC->CFGR & RCC_CFGR_HPRE) >> RCC_CFGR_HPRE_Pos)];
+ /* HCLK clock frequency */
+ SystemCoreClock >>= tmp;
+}
+
+
+/**
+ * @}
+ */
+
+/**
+ * @}
+ */
+
+/**
+ * @}
+ */
diff --git a/Core/Src/tim.c b/Core/Src/tim.c
new file mode 100644
index 0000000..94808c9
--- /dev/null
+++ b/Core/Src/tim.c
@@ -0,0 +1,233 @@
+/* USER CODE BEGIN Header */
+/**
+ ******************************************************************************
+ * @file tim.c
+ * @brief This file provides code for the configuration
+ * of the TIM instances.
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2026 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+/* USER CODE END Header */
+/* Includes ------------------------------------------------------------------*/
+#include "tim.h"
+
+/* USER CODE BEGIN 0 */
+
+/* USER CODE END 0 */
+
+TIM_HandleTypeDef htim2;
+TIM_HandleTypeDef htim3;
+
+/* TIM2 init function */
+void MX_TIM2_Init(void)
+{
+
+ /* USER CODE BEGIN TIM2_Init 0 */
+
+ /* USER CODE END TIM2_Init 0 */
+
+ TIM_Encoder_InitTypeDef sConfig = {0};
+ TIM_MasterConfigTypeDef sMasterConfig = {0};
+
+ /* USER CODE BEGIN TIM2_Init 1 */
+
+ /* USER CODE END TIM2_Init 1 */
+ htim2.Instance = TIM2;
+ htim2.Init.Prescaler = 0;
+ htim2.Init.CounterMode = TIM_COUNTERMODE_UP;
+ htim2.Init.Period = 4294967295;
+ htim2.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
+ htim2.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
+ sConfig.EncoderMode = TIM_ENCODERMODE_TI12;
+ sConfig.IC1Polarity = TIM_ICPOLARITY_RISING;
+ sConfig.IC1Selection = TIM_ICSELECTION_DIRECTTI;
+ sConfig.IC1Prescaler = TIM_ICPSC_DIV1;
+ sConfig.IC1Filter = 5;
+ sConfig.IC2Polarity = TIM_ICPOLARITY_RISING;
+ sConfig.IC2Selection = TIM_ICSELECTION_DIRECTTI;
+ sConfig.IC2Prescaler = TIM_ICPSC_DIV1;
+ sConfig.IC2Filter = 5;
+ if (HAL_TIM_Encoder_Init(&htim2, &sConfig) != HAL_OK)
+ {
+ Error_Handler();
+ }
+ sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET;
+ sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE;
+ if (HAL_TIMEx_MasterConfigSynchronization(&htim2, &sMasterConfig) != HAL_OK)
+ {
+ Error_Handler();
+ }
+ /* USER CODE BEGIN TIM2_Init 2 */
+
+ /* USER CODE END TIM2_Init 2 */
+
+}
+/* TIM3 init function */
+void MX_TIM3_Init(void)
+{
+
+ /* USER CODE BEGIN TIM3_Init 0 */
+
+ /* USER CODE END TIM3_Init 0 */
+
+ TIM_MasterConfigTypeDef sMasterConfig = {0};
+ TIM_OC_InitTypeDef sConfigOC = {0};
+
+ /* USER CODE BEGIN TIM3_Init 1 */
+
+ /* USER CODE END TIM3_Init 1 */
+ htim3.Instance = TIM3;
+ htim3.Init.Prescaler = 0;
+ htim3.Init.CounterMode = TIM_COUNTERMODE_UP;
+ htim3.Init.Period = 100;
+ htim3.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
+ htim3.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_ENABLE;
+ if (HAL_TIM_PWM_Init(&htim3) != HAL_OK)
+ {
+ Error_Handler();
+ }
+ sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET;
+ sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE;
+ if (HAL_TIMEx_MasterConfigSynchronization(&htim3, &sMasterConfig) != HAL_OK)
+ {
+ Error_Handler();
+ }
+ sConfigOC.OCMode = TIM_OCMODE_PWM1;
+ sConfigOC.Pulse = 80;
+ sConfigOC.OCPolarity = TIM_OCPOLARITY_HIGH;
+ sConfigOC.OCFastMode = TIM_OCFAST_DISABLE;
+ if (HAL_TIM_PWM_ConfigChannel(&htim3, &sConfigOC, TIM_CHANNEL_1) != HAL_OK)
+ {
+ Error_Handler();
+ }
+ /* USER CODE BEGIN TIM3_Init 2 */
+
+ /* USER CODE END TIM3_Init 2 */
+ HAL_TIM_MspPostInit(&htim3);
+
+}
+
+void HAL_TIM_Encoder_MspInit(TIM_HandleTypeDef* tim_encoderHandle)
+{
+
+ GPIO_InitTypeDef GPIO_InitStruct = {0};
+ if(tim_encoderHandle->Instance==TIM2)
+ {
+ /* USER CODE BEGIN TIM2_MspInit 0 */
+
+ /* USER CODE END TIM2_MspInit 0 */
+ /* TIM2 clock enable */
+ __HAL_RCC_TIM2_CLK_ENABLE();
+
+ __HAL_RCC_GPIOA_CLK_ENABLE();
+ /**TIM2 GPIO Configuration
+ PA0 ------> TIM2_CH1
+ PA1 ------> TIM2_CH2
+ */
+ GPIO_InitStruct.Pin = GPIO_PIN_0|GPIO_PIN_1;
+ GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
+ GPIO_InitStruct.Pull = GPIO_NOPULL;
+ GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
+ GPIO_InitStruct.Alternate = GPIO_AF2_TIM2;
+ HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
+
+ /* USER CODE BEGIN TIM2_MspInit 1 */
+
+ /* USER CODE END TIM2_MspInit 1 */
+ }
+}
+
+void HAL_TIM_PWM_MspInit(TIM_HandleTypeDef* tim_pwmHandle)
+{
+
+ if(tim_pwmHandle->Instance==TIM3)
+ {
+ /* USER CODE BEGIN TIM3_MspInit 0 */
+
+ /* USER CODE END TIM3_MspInit 0 */
+ /* TIM3 clock enable */
+ __HAL_RCC_TIM3_CLK_ENABLE();
+ /* USER CODE BEGIN TIM3_MspInit 1 */
+
+ /* USER CODE END TIM3_MspInit 1 */
+ }
+}
+void HAL_TIM_MspPostInit(TIM_HandleTypeDef* timHandle)
+{
+
+ GPIO_InitTypeDef GPIO_InitStruct = {0};
+ if(timHandle->Instance==TIM3)
+ {
+ /* USER CODE BEGIN TIM3_MspPostInit 0 */
+
+ /* USER CODE END TIM3_MspPostInit 0 */
+
+ __HAL_RCC_GPIOA_CLK_ENABLE();
+ /**TIM3 GPIO Configuration
+ PA6 ------> TIM3_CH1
+ */
+ GPIO_InitStruct.Pin = GPIO_PIN_6;
+ GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
+ GPIO_InitStruct.Pull = GPIO_NOPULL;
+ GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
+ GPIO_InitStruct.Alternate = GPIO_AF1_TIM3;
+ HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
+
+ /* USER CODE BEGIN TIM3_MspPostInit 1 */
+
+ /* USER CODE END TIM3_MspPostInit 1 */
+ }
+
+}
+
+void HAL_TIM_Encoder_MspDeInit(TIM_HandleTypeDef* tim_encoderHandle)
+{
+
+ if(tim_encoderHandle->Instance==TIM2)
+ {
+ /* USER CODE BEGIN TIM2_MspDeInit 0 */
+
+ /* USER CODE END TIM2_MspDeInit 0 */
+ /* Peripheral clock disable */
+ __HAL_RCC_TIM2_CLK_DISABLE();
+
+ /**TIM2 GPIO Configuration
+ PA0 ------> TIM2_CH1
+ PA1 ------> TIM2_CH2
+ */
+ HAL_GPIO_DeInit(GPIOA, GPIO_PIN_0|GPIO_PIN_1);
+
+ /* USER CODE BEGIN TIM2_MspDeInit 1 */
+
+ /* USER CODE END TIM2_MspDeInit 1 */
+ }
+}
+
+void HAL_TIM_PWM_MspDeInit(TIM_HandleTypeDef* tim_pwmHandle)
+{
+
+ if(tim_pwmHandle->Instance==TIM3)
+ {
+ /* USER CODE BEGIN TIM3_MspDeInit 0 */
+
+ /* USER CODE END TIM3_MspDeInit 0 */
+ /* Peripheral clock disable */
+ __HAL_RCC_TIM3_CLK_DISABLE();
+ /* USER CODE BEGIN TIM3_MspDeInit 1 */
+
+ /* USER CODE END TIM3_MspDeInit 1 */
+ }
+}
+
+/* USER CODE BEGIN 1 */
+
+/* USER CODE END 1 */
diff --git a/Core/Src/usart.c b/Core/Src/usart.c
new file mode 100644
index 0000000..63b262c
--- /dev/null
+++ b/Core/Src/usart.c
@@ -0,0 +1,144 @@
+/* USER CODE BEGIN Header */
+/**
+ ******************************************************************************
+ * @file usart.c
+ * @brief This file provides code for the configuration
+ * of the USART instances.
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2026 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+/* USER CODE END Header */
+/* Includes ------------------------------------------------------------------*/
+#include "usart.h"
+
+/* USER CODE BEGIN 0 */
+
+/* USER CODE END 0 */
+
+UART_HandleTypeDef huart2;
+DMA_HandleTypeDef hdma_usart2_tx;
+
+/* USART2 init function */
+
+void MX_USART2_UART_Init(void)
+{
+
+ /* USER CODE BEGIN USART2_Init 0 */
+
+ /* USER CODE END USART2_Init 0 */
+
+ /* USER CODE BEGIN USART2_Init 1 */
+
+ /* USER CODE END USART2_Init 1 */
+ huart2.Instance = USART2;
+ huart2.Init.BaudRate = 115200;
+ huart2.Init.WordLength = UART_WORDLENGTH_8B;
+ huart2.Init.StopBits = UART_STOPBITS_1;
+ huart2.Init.Parity = UART_PARITY_NONE;
+ huart2.Init.Mode = UART_MODE_TX_RX;
+ huart2.Init.HwFlowCtl = UART_HWCONTROL_NONE;
+ huart2.Init.OverSampling = UART_OVERSAMPLING_16;
+ huart2.Init.OneBitSampling = UART_ONE_BIT_SAMPLE_DISABLE;
+ huart2.Init.ClockPrescaler = UART_PRESCALER_DIV1;
+ huart2.AdvancedInit.AdvFeatureInit = UART_ADVFEATURE_NO_INIT;
+ if (HAL_UART_Init(&huart2) != HAL_OK)
+ {
+ Error_Handler();
+ }
+ /* USER CODE BEGIN USART2_Init 2 */
+
+ /* USER CODE END USART2_Init 2 */
+
+}
+
+void HAL_UART_MspInit(UART_HandleTypeDef* uartHandle)
+{
+
+ GPIO_InitTypeDef GPIO_InitStruct = {0};
+ if(uartHandle->Instance==USART2)
+ {
+ /* USER CODE BEGIN USART2_MspInit 0 */
+
+ /* USER CODE END USART2_MspInit 0 */
+ /* USART2 clock enable */
+ __HAL_RCC_USART2_CLK_ENABLE();
+
+ __HAL_RCC_GPIOA_CLK_ENABLE();
+ /**USART2 GPIO Configuration
+ PA2 ------> USART2_TX
+ PA3 ------> USART2_RX
+ */
+ GPIO_InitStruct.Pin = GPIO_PIN_2|GPIO_PIN_3;
+ GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
+ GPIO_InitStruct.Pull = GPIO_NOPULL;
+ GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
+ GPIO_InitStruct.Alternate = GPIO_AF1_USART2;
+ HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
+
+ /* USART2 DMA Init */
+ /* USART2_TX Init */
+ hdma_usart2_tx.Instance = DMA1_Channel1;
+ hdma_usart2_tx.Init.Request = DMA_REQUEST_USART2_TX;
+ hdma_usart2_tx.Init.Direction = DMA_MEMORY_TO_PERIPH;
+ hdma_usart2_tx.Init.PeriphInc = DMA_PINC_DISABLE;
+ hdma_usart2_tx.Init.MemInc = DMA_MINC_ENABLE;
+ hdma_usart2_tx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE;
+ hdma_usart2_tx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE;
+ hdma_usart2_tx.Init.Mode = DMA_NORMAL;
+ hdma_usart2_tx.Init.Priority = DMA_PRIORITY_LOW;
+ if (HAL_DMA_Init(&hdma_usart2_tx) != HAL_OK)
+ {
+ Error_Handler();
+ }
+
+ __HAL_LINKDMA(uartHandle,hdmatx,hdma_usart2_tx);
+
+ /* USART2 interrupt Init */
+ HAL_NVIC_SetPriority(USART2_IRQn, 0, 0);
+ HAL_NVIC_EnableIRQ(USART2_IRQn);
+ /* USER CODE BEGIN USART2_MspInit 1 */
+
+ /* USER CODE END USART2_MspInit 1 */
+ }
+}
+
+void HAL_UART_MspDeInit(UART_HandleTypeDef* uartHandle)
+{
+
+ if(uartHandle->Instance==USART2)
+ {
+ /* USER CODE BEGIN USART2_MspDeInit 0 */
+
+ /* USER CODE END USART2_MspDeInit 0 */
+ /* Peripheral clock disable */
+ __HAL_RCC_USART2_CLK_DISABLE();
+
+ /**USART2 GPIO Configuration
+ PA2 ------> USART2_TX
+ PA3 ------> USART2_RX
+ */
+ HAL_GPIO_DeInit(GPIOA, GPIO_PIN_2|GPIO_PIN_3);
+
+ /* USART2 DMA DeInit */
+ HAL_DMA_DeInit(uartHandle->hdmatx);
+
+ /* USART2 interrupt Deinit */
+ HAL_NVIC_DisableIRQ(USART2_IRQn);
+ /* USER CODE BEGIN USART2_MspDeInit 1 */
+
+ /* USER CODE END USART2_MspDeInit 1 */
+ }
+}
+
+/* USER CODE BEGIN 1 */
+
+/* USER CODE END 1 */
diff --git a/Core/Startup/startup_stm32g031g8ux.s b/Core/Startup/startup_stm32g031g8ux.s
new file mode 100644
index 0000000..51c922b
--- /dev/null
+++ b/Core/Startup/startup_stm32g031g8ux.s
@@ -0,0 +1,286 @@
+/**
+ ******************************************************************************
+ * @file startup_stm32g031xx.s
+ * @author MCD Application Team
+ * @brief STM32G031xx devices vector table GCC toolchain.
+ * This module performs:
+ * - Set the initial SP
+ * - Set the initial PC == Reset_Handler,
+ * - Set the vector table entries with the exceptions ISR address
+ * - Branches to main in the C library (which eventually
+ * calls main()).
+ * After Reset the Cortex-M0+ processor is in Thread mode,
+ * priority is Privileged, and the Stack is set to Main.
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2018-2021 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+
+.syntax unified
+.cpu cortex-m0plus
+.fpu softvfp
+.thumb
+
+.global g_pfnVectors
+.global Default_Handler
+
+/* start address for the initialization values of the .data section.
+defined in linker script */
+.word _sidata
+/* start address for the .data section. defined in linker script */
+.word _sdata
+/* end address for the .data section. defined in linker script */
+.word _edata
+/* start address for the .bss section. defined in linker script */
+.word _sbss
+/* end address for the .bss section. defined in linker script */
+.word _ebss
+
+/**
+ * @brief This is the code that gets called when the processor first
+ * starts execution following a reset event. Only the absolutely
+ * necessary set is performed, after which the application
+ * supplied main() routine is called.
+ * @param None
+ * @retval None
+*/
+
+ .section .text.Reset_Handler
+ .weak Reset_Handler
+ .type Reset_Handler, %function
+Reset_Handler:
+ ldr r0, =_estack
+ mov sp, r0 /* set stack pointer */
+
+/* Call the clock system initialization function.*/
+ bl SystemInit
+
+/* Copy the data segment initializers from flash to SRAM */
+ ldr r0, =_sdata
+ ldr r1, =_edata
+ ldr r2, =_sidata
+ movs r3, #0
+ b LoopCopyDataInit
+
+CopyDataInit:
+ ldr r4, [r2, r3]
+ str r4, [r0, r3]
+ adds r3, r3, #4
+
+LoopCopyDataInit:
+ adds r4, r0, r3
+ cmp r4, r1
+ bcc CopyDataInit
+
+/* Zero fill the bss segment. */
+ ldr r2, =_sbss
+ ldr r4, =_ebss
+ movs r3, #0
+ b LoopFillZerobss
+
+FillZerobss:
+ str r3, [r2]
+ adds r2, r2, #4
+
+LoopFillZerobss:
+ cmp r2, r4
+ bcc FillZerobss
+
+/* Call static constructors */
+ bl __libc_init_array
+/* Call the application s entry point.*/
+ bl main
+
+LoopForever:
+ b LoopForever
+
+.size Reset_Handler, .-Reset_Handler
+
+/**
+ * @brief This is the code that gets called when the processor receives an
+ * unexpected interrupt. This simply enters an infinite loop, preserving
+ * the system state for examination by a debugger.
+ *
+ * @param None
+ * @retval None
+*/
+ .section .text.Default_Handler,"ax",%progbits
+Default_Handler:
+Infinite_Loop:
+ b Infinite_Loop
+ .size Default_Handler, .-Default_Handler
+
+/******************************************************************************
+*
+* The minimal vector table for a Cortex M0. Note that the proper constructs
+* must be placed on this to ensure that it ends up at physical address
+* 0x0000.0000.
+*
+******************************************************************************/
+ .section .isr_vector,"a",%progbits
+ .type g_pfnVectors, %object
+ .size g_pfnVectors, .-g_pfnVectors
+
+g_pfnVectors:
+ .word _estack
+ .word Reset_Handler
+ .word NMI_Handler
+ .word HardFault_Handler
+ .word 0
+ .word 0
+ .word 0
+ .word 0
+ .word 0
+ .word 0
+ .word 0
+ .word SVC_Handler
+ .word 0
+ .word 0
+ .word PendSV_Handler
+ .word SysTick_Handler
+ .word WWDG_IRQHandler /* Window WatchDog */
+ .word PVD_IRQHandler /* PVD through EXTI Line detect */
+ .word RTC_TAMP_IRQHandler /* RTC through the EXTI line */
+ .word FLASH_IRQHandler /* FLASH */
+ .word RCC_IRQHandler /* RCC */
+ .word EXTI0_1_IRQHandler /* EXTI Line 0 and 1 */
+ .word EXTI2_3_IRQHandler /* EXTI Line 2 and 3 */
+ .word EXTI4_15_IRQHandler /* EXTI Line 4 to 15 */
+ .word 0 /* reserved */
+ .word DMA1_Channel1_IRQHandler /* DMA1 Channel 1 */
+ .word DMA1_Channel2_3_IRQHandler /* DMA1 Channel 2 and Channel 3 */
+ .word DMA1_Ch4_5_DMAMUX1_OVR_IRQHandler /* DMA1 Channel 4 to Channel 5, DMAMUX1 overrun */
+ .word ADC1_IRQHandler /* ADC1 */
+ .word TIM1_BRK_UP_TRG_COM_IRQHandler /* TIM1 Break, Update, Trigger and Commutation */
+ .word TIM1_CC_IRQHandler /* TIM1 Capture Compare */
+ .word TIM2_IRQHandler /* TIM2 */
+ .word TIM3_IRQHandler /* TIM3 */
+ .word LPTIM1_IRQHandler /* LPTIM1 */
+ .word LPTIM2_IRQHandler /* LPTIM2 */
+ .word TIM14_IRQHandler /* TIM14 */
+ .word 0 /* reserved */
+ .word TIM16_IRQHandler /* TIM16 */
+ .word TIM17_IRQHandler /* TIM17 */
+ .word I2C1_IRQHandler /* I2C1 */
+ .word I2C2_IRQHandler /* I2C2 */
+ .word SPI1_IRQHandler /* SPI1 */
+ .word SPI2_IRQHandler /* SPI2 */
+ .word USART1_IRQHandler /* USART1 */
+ .word USART2_IRQHandler /* USART2 */
+ .word LPUART1_IRQHandler /* LPUART1 */
+ .word 0 /* reserved */
+
+/*******************************************************************************
+*
+* Provide weak aliases for each Exception handler to the Default_Handler.
+* As they are weak aliases, any function with the same name will override
+* this definition.
+*
+*******************************************************************************/
+
+ .weak NMI_Handler
+ .thumb_set NMI_Handler,Default_Handler
+
+ .weak HardFault_Handler
+ .thumb_set HardFault_Handler,Default_Handler
+
+ .weak SVC_Handler
+ .thumb_set SVC_Handler,Default_Handler
+
+ .weak PendSV_Handler
+ .thumb_set PendSV_Handler,Default_Handler
+
+ .weak SysTick_Handler
+ .thumb_set SysTick_Handler,Default_Handler
+
+ .weak WWDG_IRQHandler
+ .thumb_set WWDG_IRQHandler,Default_Handler
+
+ .weak PVD_IRQHandler
+ .thumb_set PVD_IRQHandler,Default_Handler
+
+ .weak RTC_TAMP_IRQHandler
+ .thumb_set RTC_TAMP_IRQHandler,Default_Handler
+
+ .weak FLASH_IRQHandler
+ .thumb_set FLASH_IRQHandler,Default_Handler
+
+ .weak RCC_IRQHandler
+ .thumb_set RCC_IRQHandler,Default_Handler
+
+ .weak EXTI0_1_IRQHandler
+ .thumb_set EXTI0_1_IRQHandler,Default_Handler
+
+ .weak EXTI2_3_IRQHandler
+ .thumb_set EXTI2_3_IRQHandler,Default_Handler
+
+ .weak EXTI4_15_IRQHandler
+ .thumb_set EXTI4_15_IRQHandler,Default_Handler
+
+ .weak DMA1_Channel1_IRQHandler
+ .thumb_set DMA1_Channel1_IRQHandler,Default_Handler
+
+ .weak DMA1_Channel2_3_IRQHandler
+ .thumb_set DMA1_Channel2_3_IRQHandler,Default_Handler
+
+ .weak DMA1_Ch4_5_DMAMUX1_OVR_IRQHandler
+ .thumb_set DMA1_Ch4_5_DMAMUX1_OVR_IRQHandler,Default_Handler
+
+ .weak ADC1_IRQHandler
+ .thumb_set ADC1_IRQHandler,Default_Handler
+
+ .weak TIM1_BRK_UP_TRG_COM_IRQHandler
+ .thumb_set TIM1_BRK_UP_TRG_COM_IRQHandler,Default_Handler
+
+ .weak TIM1_CC_IRQHandler
+ .thumb_set TIM1_CC_IRQHandler,Default_Handler
+
+ .weak TIM2_IRQHandler
+ .thumb_set TIM2_IRQHandler,Default_Handler
+
+ .weak TIM3_IRQHandler
+ .thumb_set TIM3_IRQHandler,Default_Handler
+
+ .weak LPTIM1_IRQHandler
+ .thumb_set LPTIM1_IRQHandler,Default_Handler
+
+ .weak LPTIM2_IRQHandler
+ .thumb_set LPTIM2_IRQHandler,Default_Handler
+
+ .weak TIM14_IRQHandler
+ .thumb_set TIM14_IRQHandler,Default_Handler
+
+ .weak TIM16_IRQHandler
+ .thumb_set TIM16_IRQHandler,Default_Handler
+
+ .weak TIM17_IRQHandler
+ .thumb_set TIM17_IRQHandler,Default_Handler
+
+ .weak I2C1_IRQHandler
+ .thumb_set I2C1_IRQHandler,Default_Handler
+
+ .weak I2C2_IRQHandler
+ .thumb_set I2C2_IRQHandler,Default_Handler
+
+ .weak SPI1_IRQHandler
+ .thumb_set SPI1_IRQHandler,Default_Handler
+
+ .weak SPI2_IRQHandler
+ .thumb_set SPI2_IRQHandler,Default_Handler
+
+ .weak USART1_IRQHandler
+ .thumb_set USART1_IRQHandler,Default_Handler
+
+ .weak USART2_IRQHandler
+ .thumb_set USART2_IRQHandler,Default_Handler
+
+ .weak LPUART1_IRQHandler
+ .thumb_set LPUART1_IRQHandler,Default_Handler
diff --git a/Debug/Core/Src/adc.d b/Debug/Core/Src/adc.d
new file mode 100644
index 0000000..d468e47
--- /dev/null
+++ b/Debug/Core/Src/adc.d
@@ -0,0 +1,73 @@
+Core/Src/adc.o: ../Core/Src/adc.c ../Core/Inc/adc.h ../Core/Inc/main.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Core/Inc/adc.h:
+../Core/Inc/main.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Core/Src/adc.o b/Debug/Core/Src/adc.o
new file mode 100644
index 0000000..4949a12
Binary files /dev/null and b/Debug/Core/Src/adc.o differ
diff --git a/Debug/Core/Src/adc.su b/Debug/Core/Src/adc.su
new file mode 100644
index 0000000..63dcb45
--- /dev/null
+++ b/Debug/Core/Src/adc.su
@@ -0,0 +1,3 @@
+../Core/Src/adc.c:30:6:MX_ADC1_Init 24 static
+../Core/Src/adc.c:83:6:HAL_ADC_MspInit 96 static
+../Core/Src/adc.c:124:6:HAL_ADC_MspDeInit 16 static
diff --git a/Debug/Core/Src/app.d b/Debug/Core/Src/app.d
new file mode 100644
index 0000000..315f5af
--- /dev/null
+++ b/Debug/Core/Src/app.d
@@ -0,0 +1,79 @@
+Core/Src/app.o: ../Core/Src/app.c ../Core/Inc/app.h ../Core/Inc/main.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h \
+ ../Core/Inc/adc.h ../Core/Inc/tim.h ../Core/Inc/gpio.h \
+ ../Core/Inc/modbus.h
+../Core/Inc/app.h:
+../Core/Inc/main.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
+../Core/Inc/adc.h:
+../Core/Inc/tim.h:
+../Core/Inc/gpio.h:
+../Core/Inc/modbus.h:
diff --git a/Debug/Core/Src/app.o b/Debug/Core/Src/app.o
new file mode 100644
index 0000000..741d48b
Binary files /dev/null and b/Debug/Core/Src/app.o differ
diff --git a/Debug/Core/Src/app.su b/Debug/Core/Src/app.su
new file mode 100644
index 0000000..fabf247
--- /dev/null
+++ b/Debug/Core/Src/app.su
@@ -0,0 +1,8 @@
+../Core/Src/app.c:40:6:App_Init 8 static
+../Core/Src/app.c:69:6:App_Process 8 static
+../Core/Src/app.c:88:13:App_UpdateMotor 32 static
+../Core/Src/app.c:140:13:App_SetCurrentLimit 16 static
+../Core/Src/app.c:150:13:App_UpdateEncoderRegister 16 static
+../Core/Src/app.c:157:13:App_ProcessZeroCommand 8 static
+../Core/Src/app.c:166:13:App_UpdateLed 32 static
+../Core/Src/app.c:206:6:HAL_ADC_ConvCpltCallback 32 static
diff --git a/Debug/Core/Src/dma.d b/Debug/Core/Src/dma.d
new file mode 100644
index 0000000..7e5faea
--- /dev/null
+++ b/Debug/Core/Src/dma.d
@@ -0,0 +1,73 @@
+Core/Src/dma.o: ../Core/Src/dma.c ../Core/Inc/dma.h ../Core/Inc/main.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Core/Inc/dma.h:
+../Core/Inc/main.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Core/Src/dma.o b/Debug/Core/Src/dma.o
new file mode 100644
index 0000000..a936d03
Binary files /dev/null and b/Debug/Core/Src/dma.o differ
diff --git a/Debug/Core/Src/dma.su b/Debug/Core/Src/dma.su
new file mode 100644
index 0000000..802020b
--- /dev/null
+++ b/Debug/Core/Src/dma.su
@@ -0,0 +1 @@
+../Core/Src/dma.c:39:6:MX_DMA_Init 16 static
diff --git a/Debug/Core/Src/gpio.d b/Debug/Core/Src/gpio.d
new file mode 100644
index 0000000..1edef87
--- /dev/null
+++ b/Debug/Core/Src/gpio.d
@@ -0,0 +1,73 @@
+Core/Src/gpio.o: ../Core/Src/gpio.c ../Core/Inc/gpio.h ../Core/Inc/main.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Core/Inc/gpio.h:
+../Core/Inc/main.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Core/Src/gpio.o b/Debug/Core/Src/gpio.o
new file mode 100644
index 0000000..74eaf31
Binary files /dev/null and b/Debug/Core/Src/gpio.o differ
diff --git a/Debug/Core/Src/gpio.su b/Debug/Core/Src/gpio.su
new file mode 100644
index 0000000..87b765e
--- /dev/null
+++ b/Debug/Core/Src/gpio.su
@@ -0,0 +1 @@
+../Core/Src/gpio.c:42:6:MX_GPIO_Init 48 static
diff --git a/Debug/Core/Src/main.d b/Debug/Core/Src/main.d
new file mode 100644
index 0000000..f54f5d8
--- /dev/null
+++ b/Debug/Core/Src/main.d
@@ -0,0 +1,83 @@
+Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h \
+ ../Core/Inc/adc.h ../Core/Inc/main.h ../Core/Inc/dma.h ../Core/Inc/tim.h \
+ ../Core/Inc/usart.h ../Core/Inc/gpio.h ../Core/Inc/app.h \
+ ../Core/Inc/modbus.h
+../Core/Inc/main.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
+../Core/Inc/adc.h:
+../Core/Inc/main.h:
+../Core/Inc/dma.h:
+../Core/Inc/tim.h:
+../Core/Inc/usart.h:
+../Core/Inc/gpio.h:
+../Core/Inc/app.h:
+../Core/Inc/modbus.h:
diff --git a/Debug/Core/Src/main.o b/Debug/Core/Src/main.o
new file mode 100644
index 0000000..f848d50
Binary files /dev/null and b/Debug/Core/Src/main.o differ
diff --git a/Debug/Core/Src/main.su b/Debug/Core/Src/main.su
new file mode 100644
index 0000000..2e910e9
--- /dev/null
+++ b/Debug/Core/Src/main.su
@@ -0,0 +1,3 @@
+../Core/Src/main.c:67:5:main 8 static
+../Core/Src/main.c:118:6:SystemClock_Config 88 static
+../Core/Src/main.c:162:6:Error_Handler 8 static,ignoring_inline_asm
diff --git a/Debug/Core/Src/modbus.d b/Debug/Core/Src/modbus.d
new file mode 100644
index 0000000..eaa8339
--- /dev/null
+++ b/Debug/Core/Src/modbus.d
@@ -0,0 +1,77 @@
+Core/Src/modbus.o: ../Core/Src/modbus.c \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h \
+ ../Core/Inc/main.h ../Core/Inc/modbus.h ../Core/Inc/usart.h \
+ ../Core/Inc/main.h
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
+../Core/Inc/main.h:
+../Core/Inc/modbus.h:
+../Core/Inc/usart.h:
+../Core/Inc/main.h:
diff --git a/Debug/Core/Src/modbus.o b/Debug/Core/Src/modbus.o
new file mode 100644
index 0000000..d4ac785
Binary files /dev/null and b/Debug/Core/Src/modbus.o differ
diff --git a/Debug/Core/Src/modbus.su b/Debug/Core/Src/modbus.su
new file mode 100644
index 0000000..51b71cb
--- /dev/null
+++ b/Debug/Core/Src/modbus.su
@@ -0,0 +1,11 @@
+../Core/Src/modbus.c:44:6:Modbus_Init 8 static
+../Core/Src/modbus.c:55:6:Modbus_Process 32 static
+../Core/Src/modbus.c:144:6:Modbus_HandleFunction03 48 static
+../Core/Src/modbus.c:176:6:Modbus_HandleFunction06 40 static
+../Core/Src/modbus.c:214:6:Modbus_HandleFunction10 48 static
+../Core/Src/modbus.c:256:6:Modbus_SendExceptionResponse 32 static
+../Core/Src/modbus.c:270:6:Modbus_SendResponse 16 static
+../Core/Src/modbus.c:280:10:CalculateCRC 24 static
+../Core/Src/modbus.c:306:6:HAL_UART_RxCpltCallback 16 static
+../Core/Src/modbus.c:335:6:HAL_UART_TxCpltCallback 16 static
+../Core/Src/modbus.c:344:6:HAL_UART_ErrorCallback 16 static
diff --git a/Debug/Core/Src/stm32g0xx_hal_msp.d b/Debug/Core/Src/stm32g0xx_hal_msp.d
new file mode 100644
index 0000000..1ff9e05
--- /dev/null
+++ b/Debug/Core/Src/stm32g0xx_hal_msp.d
@@ -0,0 +1,72 @@
+Core/Src/stm32g0xx_hal_msp.o: ../Core/Src/stm32g0xx_hal_msp.c \
+ ../Core/Inc/main.h ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Core/Inc/main.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Core/Src/stm32g0xx_hal_msp.o b/Debug/Core/Src/stm32g0xx_hal_msp.o
new file mode 100644
index 0000000..9ede768
Binary files /dev/null and b/Debug/Core/Src/stm32g0xx_hal_msp.o differ
diff --git a/Debug/Core/Src/stm32g0xx_hal_msp.su b/Debug/Core/Src/stm32g0xx_hal_msp.su
new file mode 100644
index 0000000..3cf32b3
--- /dev/null
+++ b/Debug/Core/Src/stm32g0xx_hal_msp.su
@@ -0,0 +1 @@
+../Core/Src/stm32g0xx_hal_msp.c:63:6:HAL_MspInit 16 static
diff --git a/Debug/Core/Src/stm32g0xx_it.d b/Debug/Core/Src/stm32g0xx_it.d
new file mode 100644
index 0000000..60032a1
--- /dev/null
+++ b/Debug/Core/Src/stm32g0xx_it.d
@@ -0,0 +1,74 @@
+Core/Src/stm32g0xx_it.o: ../Core/Src/stm32g0xx_it.c ../Core/Inc/main.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h \
+ ../Core/Inc/stm32g0xx_it.h
+../Core/Inc/main.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
+../Core/Inc/stm32g0xx_it.h:
diff --git a/Debug/Core/Src/stm32g0xx_it.o b/Debug/Core/Src/stm32g0xx_it.o
new file mode 100644
index 0000000..1023735
Binary files /dev/null and b/Debug/Core/Src/stm32g0xx_it.o differ
diff --git a/Debug/Core/Src/stm32g0xx_it.su b/Debug/Core/Src/stm32g0xx_it.su
new file mode 100644
index 0000000..4450743
--- /dev/null
+++ b/Debug/Core/Src/stm32g0xx_it.su
@@ -0,0 +1,8 @@
+../Core/Src/stm32g0xx_it.c:71:6:NMI_Handler 8 static
+../Core/Src/stm32g0xx_it.c:86:6:HardFault_Handler 8 static
+../Core/Src/stm32g0xx_it.c:101:6:SVC_Handler 8 static
+../Core/Src/stm32g0xx_it.c:114:6:PendSV_Handler 8 static
+../Core/Src/stm32g0xx_it.c:127:6:SysTick_Handler 8 static
+../Core/Src/stm32g0xx_it.c:148:6:DMA1_Channel1_IRQHandler 8 static
+../Core/Src/stm32g0xx_it.c:162:6:ADC1_IRQHandler 8 static
+../Core/Src/stm32g0xx_it.c:176:6:USART2_IRQHandler 8 static
diff --git a/Debug/Core/Src/subdir.mk b/Debug/Core/Src/subdir.mk
new file mode 100644
index 0000000..5f3efb5
--- /dev/null
+++ b/Debug/Core/Src/subdir.mk
@@ -0,0 +1,63 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+# Toolchain: GNU Tools for STM32 (10.3-2021.10)
+################################################################################
+
+# Add inputs and outputs from these tool invocations to the build variables
+C_SRCS += \
+../Core/Src/adc.c \
+../Core/Src/app.c \
+../Core/Src/dma.c \
+../Core/Src/gpio.c \
+../Core/Src/main.c \
+../Core/Src/modbus.c \
+../Core/Src/stm32g0xx_hal_msp.c \
+../Core/Src/stm32g0xx_it.c \
+../Core/Src/syscalls.c \
+../Core/Src/sysmem.c \
+../Core/Src/system_stm32g0xx.c \
+../Core/Src/tim.c \
+../Core/Src/usart.c
+
+OBJS += \
+./Core/Src/adc.o \
+./Core/Src/app.o \
+./Core/Src/dma.o \
+./Core/Src/gpio.o \
+./Core/Src/main.o \
+./Core/Src/modbus.o \
+./Core/Src/stm32g0xx_hal_msp.o \
+./Core/Src/stm32g0xx_it.o \
+./Core/Src/syscalls.o \
+./Core/Src/sysmem.o \
+./Core/Src/system_stm32g0xx.o \
+./Core/Src/tim.o \
+./Core/Src/usart.o
+
+C_DEPS += \
+./Core/Src/adc.d \
+./Core/Src/app.d \
+./Core/Src/dma.d \
+./Core/Src/gpio.d \
+./Core/Src/main.d \
+./Core/Src/modbus.d \
+./Core/Src/stm32g0xx_hal_msp.d \
+./Core/Src/stm32g0xx_it.d \
+./Core/Src/syscalls.d \
+./Core/Src/sysmem.d \
+./Core/Src/system_stm32g0xx.d \
+./Core/Src/tim.d \
+./Core/Src/usart.d
+
+
+# Each subdirectory must supply rules for building sources it contributes
+Core/Src/%.o Core/Src/%.su: ../Core/Src/%.c Core/Src/subdir.mk
+ arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32G031xx -c -I../Core/Inc -I../Drivers/STM32G0xx_HAL_Driver/Inc -I../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
+
+clean: clean-Core-2f-Src
+
+clean-Core-2f-Src:
+ -$(RM) ./Core/Src/adc.d ./Core/Src/adc.o ./Core/Src/adc.su ./Core/Src/app.d ./Core/Src/app.o ./Core/Src/app.su ./Core/Src/dma.d ./Core/Src/dma.o ./Core/Src/dma.su ./Core/Src/gpio.d ./Core/Src/gpio.o ./Core/Src/gpio.su ./Core/Src/main.d ./Core/Src/main.o ./Core/Src/main.su ./Core/Src/modbus.d ./Core/Src/modbus.o ./Core/Src/modbus.su ./Core/Src/stm32g0xx_hal_msp.d ./Core/Src/stm32g0xx_hal_msp.o ./Core/Src/stm32g0xx_hal_msp.su ./Core/Src/stm32g0xx_it.d ./Core/Src/stm32g0xx_it.o ./Core/Src/stm32g0xx_it.su ./Core/Src/syscalls.d ./Core/Src/syscalls.o ./Core/Src/syscalls.su ./Core/Src/sysmem.d ./Core/Src/sysmem.o ./Core/Src/sysmem.su ./Core/Src/system_stm32g0xx.d ./Core/Src/system_stm32g0xx.o ./Core/Src/system_stm32g0xx.su ./Core/Src/tim.d ./Core/Src/tim.o ./Core/Src/tim.su ./Core/Src/usart.d ./Core/Src/usart.o ./Core/Src/usart.su
+
+.PHONY: clean-Core-2f-Src
+
diff --git a/Debug/Core/Src/syscalls.d b/Debug/Core/Src/syscalls.d
new file mode 100644
index 0000000..8667c70
--- /dev/null
+++ b/Debug/Core/Src/syscalls.d
@@ -0,0 +1 @@
+Core/Src/syscalls.o: ../Core/Src/syscalls.c
diff --git a/Debug/Core/Src/syscalls.o b/Debug/Core/Src/syscalls.o
new file mode 100644
index 0000000..29844f0
Binary files /dev/null and b/Debug/Core/Src/syscalls.o differ
diff --git a/Debug/Core/Src/syscalls.su b/Debug/Core/Src/syscalls.su
new file mode 100644
index 0000000..a788e0e
--- /dev/null
+++ b/Debug/Core/Src/syscalls.su
@@ -0,0 +1,18 @@
+../Core/Src/syscalls.c:44:6:initialise_monitor_handles 8 static
+../Core/Src/syscalls.c:48:5:_getpid 8 static
+../Core/Src/syscalls.c:53:5:_kill 16 static
+../Core/Src/syscalls.c:59:6:_exit 16 static
+../Core/Src/syscalls.c:65:27:_read 32 static
+../Core/Src/syscalls.c:77:27:_write 32 static
+../Core/Src/syscalls.c:88:5:_close 16 static
+../Core/Src/syscalls.c:94:5:_fstat 16 static
+../Core/Src/syscalls.c:100:5:_isatty 16 static
+../Core/Src/syscalls.c:105:5:_lseek 24 static
+../Core/Src/syscalls.c:110:5:_open 20 static
+../Core/Src/syscalls.c:116:5:_wait 16 static
+../Core/Src/syscalls.c:122:5:_unlink 16 static
+../Core/Src/syscalls.c:128:5:_times 16 static
+../Core/Src/syscalls.c:133:5:_stat 16 static
+../Core/Src/syscalls.c:139:5:_link 16 static
+../Core/Src/syscalls.c:145:5:_fork 8 static
+../Core/Src/syscalls.c:151:5:_execve 24 static
diff --git a/Debug/Core/Src/sysmem.d b/Debug/Core/Src/sysmem.d
new file mode 100644
index 0000000..74fecf9
--- /dev/null
+++ b/Debug/Core/Src/sysmem.d
@@ -0,0 +1 @@
+Core/Src/sysmem.o: ../Core/Src/sysmem.c
diff --git a/Debug/Core/Src/sysmem.o b/Debug/Core/Src/sysmem.o
new file mode 100644
index 0000000..4eaa034
Binary files /dev/null and b/Debug/Core/Src/sysmem.o differ
diff --git a/Debug/Core/Src/sysmem.su b/Debug/Core/Src/sysmem.su
new file mode 100644
index 0000000..12d5f17
--- /dev/null
+++ b/Debug/Core/Src/sysmem.su
@@ -0,0 +1 @@
+../Core/Src/sysmem.c:53:7:_sbrk 32 static
diff --git a/Debug/Core/Src/system_stm32g0xx.d b/Debug/Core/Src/system_stm32g0xx.d
new file mode 100644
index 0000000..ddb695a
--- /dev/null
+++ b/Debug/Core/Src/system_stm32g0xx.d
@@ -0,0 +1,71 @@
+Core/Src/system_stm32g0xx.o: ../Core/Src/system_stm32g0xx.c \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Core/Src/system_stm32g0xx.o b/Debug/Core/Src/system_stm32g0xx.o
new file mode 100644
index 0000000..0426ab3
Binary files /dev/null and b/Debug/Core/Src/system_stm32g0xx.o differ
diff --git a/Debug/Core/Src/system_stm32g0xx.su b/Debug/Core/Src/system_stm32g0xx.su
new file mode 100644
index 0000000..a967c49
--- /dev/null
+++ b/Debug/Core/Src/system_stm32g0xx.su
@@ -0,0 +1,2 @@
+../Core/Src/system_stm32g0xx.c:185:6:SystemInit 8 static
+../Core/Src/system_stm32g0xx.c:233:6:SystemCoreClockUpdate 32 static
diff --git a/Debug/Core/Src/tim.d b/Debug/Core/Src/tim.d
new file mode 100644
index 0000000..1ce72a4
--- /dev/null
+++ b/Debug/Core/Src/tim.d
@@ -0,0 +1,73 @@
+Core/Src/tim.o: ../Core/Src/tim.c ../Core/Inc/tim.h ../Core/Inc/main.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Core/Inc/tim.h:
+../Core/Inc/main.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Core/Src/tim.o b/Debug/Core/Src/tim.o
new file mode 100644
index 0000000..6f775a5
Binary files /dev/null and b/Debug/Core/Src/tim.o differ
diff --git a/Debug/Core/Src/tim.su b/Debug/Core/Src/tim.su
new file mode 100644
index 0000000..5b8d60e
--- /dev/null
+++ b/Debug/Core/Src/tim.su
@@ -0,0 +1,7 @@
+../Core/Src/tim.c:31:6:MX_TIM2_Init 64 static
+../Core/Src/tim.c:75:6:MX_TIM3_Init 48 static
+../Core/Src/tim.c:119:6:HAL_TIM_Encoder_MspInit 56 static
+../Core/Src/tim.c:149:6:HAL_TIM_PWM_MspInit 24 static
+../Core/Src/tim.c:164:6:HAL_TIM_MspPostInit 48 static
+../Core/Src/tim.c:192:6:HAL_TIM_Encoder_MspDeInit 16 static
+../Core/Src/tim.c:215:6:HAL_TIM_PWM_MspDeInit 16 static
diff --git a/Debug/Core/Src/usart.d b/Debug/Core/Src/usart.d
new file mode 100644
index 0000000..c8dd3ca
--- /dev/null
+++ b/Debug/Core/Src/usart.d
@@ -0,0 +1,73 @@
+Core/Src/usart.o: ../Core/Src/usart.c ../Core/Inc/usart.h \
+ ../Core/Inc/main.h ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Core/Inc/usart.h:
+../Core/Inc/main.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Core/Src/usart.o b/Debug/Core/Src/usart.o
new file mode 100644
index 0000000..cd79e90
Binary files /dev/null and b/Debug/Core/Src/usart.o differ
diff --git a/Debug/Core/Src/usart.su b/Debug/Core/Src/usart.su
new file mode 100644
index 0000000..eadb346
--- /dev/null
+++ b/Debug/Core/Src/usart.su
@@ -0,0 +1,3 @@
+../Core/Src/usart.c:32:6:MX_USART2_UART_Init 8 static
+../Core/Src/usart.c:63:6:HAL_UART_MspInit 56 static
+../Core/Src/usart.c:114:6:HAL_UART_MspDeInit 16 static
diff --git a/Debug/Core/Startup/startup_stm32g031g8ux.d b/Debug/Core/Startup/startup_stm32g031g8ux.d
new file mode 100644
index 0000000..0de9a5d
--- /dev/null
+++ b/Debug/Core/Startup/startup_stm32g031g8ux.d
@@ -0,0 +1,2 @@
+Core/Startup/startup_stm32g031g8ux.o: \
+ ../Core/Startup/startup_stm32g031g8ux.s
diff --git a/Debug/Core/Startup/startup_stm32g031g8ux.o b/Debug/Core/Startup/startup_stm32g031g8ux.o
new file mode 100644
index 0000000..05b8a39
Binary files /dev/null and b/Debug/Core/Startup/startup_stm32g031g8ux.o differ
diff --git a/Debug/Core/Startup/subdir.mk b/Debug/Core/Startup/subdir.mk
new file mode 100644
index 0000000..fa9ff01
--- /dev/null
+++ b/Debug/Core/Startup/subdir.mk
@@ -0,0 +1,27 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+# Toolchain: GNU Tools for STM32 (10.3-2021.10)
+################################################################################
+
+# Add inputs and outputs from these tool invocations to the build variables
+S_SRCS += \
+../Core/Startup/startup_stm32g031g8ux.s
+
+OBJS += \
+./Core/Startup/startup_stm32g031g8ux.o
+
+S_DEPS += \
+./Core/Startup/startup_stm32g031g8ux.d
+
+
+# Each subdirectory must supply rules for building sources it contributes
+Core/Startup/%.o: ../Core/Startup/%.s Core/Startup/subdir.mk
+ arm-none-eabi-gcc -mcpu=cortex-m0plus -g3 -DDEBUG -c -x assembler-with-cpp -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@" "$<"
+
+clean: clean-Core-2f-Startup
+
+clean-Core-2f-Startup:
+ -$(RM) ./Core/Startup/startup_stm32g031g8ux.d ./Core/Startup/startup_stm32g031g8ux.o
+
+.PHONY: clean-Core-2f-Startup
+
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.d b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.d
new file mode 100644
index 0000000..f623e26
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.d
@@ -0,0 +1,72 @@
+Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.o: \
+ ../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.o b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.o
new file mode 100644
index 0000000..64cdf48
Binary files /dev/null and b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.o differ
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.su b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.su
new file mode 100644
index 0000000..5d5fd84
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.su
@@ -0,0 +1,34 @@
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:143:19:HAL_Init 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:180:19:HAL_DeInit 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:206:13:HAL_MspInit 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:217:13:HAL_MspDeInit 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:240:26:HAL_InitTick 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:308:13:HAL_IncTick 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:319:17:HAL_GetTick 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:328:10:HAL_GetTickPrio 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:337:19:HAL_SetTickFreq 40 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:367:21:HAL_GetTickFreq 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:383:13:HAL_Delay 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:409:13:HAL_SuspendTick 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:425:13:HAL_ResumeTick 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:435:10:HAL_GetHalVersion 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:444:10:HAL_GetREVID 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:453:10:HAL_GetDEVID 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:462:10:HAL_GetUIDw0 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:471:10:HAL_GetUIDw1 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:480:10:HAL_GetUIDw2 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:508:6:HAL_DBGMCU_EnableDBGStopMode 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:517:6:HAL_DBGMCU_DisableDBGStopMode 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:526:6:HAL_DBGMCU_EnableDBGStandbyMode 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:535:6:HAL_DBGMCU_DisableDBGStandbyMode 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:571:6:HAL_SYSCFG_VREFBUF_VoltageScalingConfig 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:586:6:HAL_SYSCFG_VREFBUF_HighImpedanceConfig 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:603:6:HAL_SYSCFG_VREFBUF_TrimmingConfig 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:615:19:HAL_SYSCFG_EnableVREFBUF 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:641:6:HAL_SYSCFG_DisableVREFBUF 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:651:6:HAL_SYSCFG_EnableIOAnalogSwitchBooster 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:660:6:HAL_SYSCFG_DisableIOAnalogSwitchBooster 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:673:6:HAL_SYSCFG_EnableRemap 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:688:6:HAL_SYSCFG_DisableRemap 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:703:6:HAL_SYSCFG_EnableClampingDiode 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c:717:6:HAL_SYSCFG_DisableClampingDiode 16 static
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.d b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.d
new file mode 100644
index 0000000..1c95aba
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.d
@@ -0,0 +1,72 @@
+Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.o: \
+ ../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.o b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.o
new file mode 100644
index 0000000..cd78152
Binary files /dev/null and b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.o differ
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.su b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.su
new file mode 100644
index 0000000..3f2fa68
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.su
@@ -0,0 +1,59 @@
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:1785:22:LL_ADC_SetCommonPathInternalCh 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:1879:26:LL_ADC_GetCommonPathInternalCh 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:2249:22:LL_ADC_SetSamplingTimeCommonChannels 24 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:2282:26:LL_ADC_GetSamplingTimeCommonChannels 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:2390:26:LL_ADC_REG_IsTriggerSourceSWStart 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:2801:22:LL_ADC_REG_SetSequencerRanks 24 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:3067:22:LL_ADC_REG_SetSequencerChAdd 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:3159:22:LL_ADC_REG_SetSequencerChRem 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:3373:26:LL_ADC_REG_GetDMATransfer 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:3499:22:LL_ADC_SetChannelSamplingTime 24 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:3660:22:LL_ADC_SetAnalogWDMonitChannels 32 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:3877:22:LL_ADC_ConfigAnalogWDThresholds 32 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4203:22:LL_ADC_EnableInternalRegulator 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4222:22:LL_ADC_DisableInternalRegulator 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4233:26:LL_ADC_IsInternalRegulatorEnabled 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4254:22:LL_ADC_Enable 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4274:22:LL_ADC_Disable 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4293:26:LL_ADC_IsEnabled 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4304:26:LL_ADC_IsDisableOngoing 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4384:22:LL_ADC_REG_StartConversion 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4404:22:LL_ADC_REG_StopConversion 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4420:26:LL_ADC_REG_IsConversionOngoing 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4722:22:LL_ADC_ClearFlag_AWD1 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4733:22:LL_ADC_ClearFlag_AWD2 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4744:22:LL_ADC_ClearFlag_AWD3 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4840:22:LL_ADC_EnableIT_AWD1 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4851:22:LL_ADC_EnableIT_AWD2 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4862:22:LL_ADC_EnableIT_AWD3 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4950:22:LL_ADC_DisableIT_AWD1 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4961:22:LL_ADC_DisableIT_AWD2 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4972:22:LL_ADC_DisableIT_AWD3 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:378:19:HAL_ADC_Init 40 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:726:19:HAL_ADC_DeInit 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:852:13:HAL_ADC_MspInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:869:13:HAL_ADC_MspDeInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:1136:19:HAL_ADC_Start 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:1203:19:HAL_ADC_Stop 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:1254:19:HAL_ADC_PollForConversion 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:1384:19:HAL_ADC_PollForEvent 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:1514:19:HAL_ADC_Start_IT 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:1605:19:HAL_ADC_Stop_IT 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:1652:19:HAL_ADC_Start_DMA 40 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:1748:19:HAL_ADC_Stop_DMA 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:1829:10:HAL_ADC_GetValue 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:1846:6:HAL_ADC_IRQHandler 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:2056:13:HAL_ADC_ConvCpltCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:2071:13:HAL_ADC_ConvHalfCpltCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:2086:13:HAL_ADC_LevelOutOfWindowCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:2108:13:HAL_ADC_ErrorCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:2154:19:HAL_ADC_ConfigChannel 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:2361:19:HAL_ADC_AnalogWDGConfig 40 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:2594:10:HAL_ADC_GetState 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:2608:10:HAL_ADC_GetError 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:2635:19:ADC_ConversionStop 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:2689:19:ADC_Enable 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:2780:19:ADC_Disable 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:2842:13:ADC_DMAConvCplt 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:2920:13:ADC_DMAHalfConvCplt 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c:2938:13:ADC_DMAError 24 static
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.d b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.d
new file mode 100644
index 0000000..b8487df
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.d
@@ -0,0 +1,72 @@
+Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.o: \
+ ../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.c \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.o b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.o
new file mode 100644
index 0000000..4525682
Binary files /dev/null and b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.o differ
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.su b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.su
new file mode 100644
index 0000000..28f09ac
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.su
@@ -0,0 +1,17 @@
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:1959:22:LL_ADC_SetCalibrationFactor 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:1975:26:LL_ADC_GetCalibrationFactor 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4222:22:LL_ADC_DisableInternalRegulator 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4254:22:LL_ADC_Enable 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4274:22:LL_ADC_Disable 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4293:26:LL_ADC_IsEnabled 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4337:22:LL_ADC_StartCalibration 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4353:26:LL_ADC_IsCalibrationOnGoing 16 static
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:4420:26:LL_ADC_REG_IsConversionOngoing 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.c:101:19:HAL_ADCEx_Calibration_Start 48 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.c:220:10:HAL_ADCEx_Calibration_GetValue 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.c:236:19:HAL_ADCEx_Calibration_SetValue 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.c:279:13:HAL_ADCEx_LevelOutOfWindow2Callback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.c:294:13:HAL_ADCEx_LevelOutOfWindow3Callback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.c:310:13:HAL_ADCEx_EndOfSamplingCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.c:325:13:HAL_ADCEx_ChannelConfigReadyCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.c:348:19:HAL_ADCEx_DisableVoltageRegulator 24 static
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.d b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.d
new file mode 100644
index 0000000..654e3cc
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.d
@@ -0,0 +1,72 @@
+Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.o: \
+ ../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.c \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.o b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.o
new file mode 100644
index 0000000..7615204
Binary files /dev/null and b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.o differ
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.su b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.su
new file mode 100644
index 0000000..430c5a6
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.su
@@ -0,0 +1,24 @@
+../Drivers/CMSIS/Include/core_cm0plus.h:741:22:__NVIC_EnableIRQ 16 static,ignoring_inline_asm
+../Drivers/CMSIS/Include/core_cm0plus.h:779:22:__NVIC_DisableIRQ 16 static,ignoring_inline_asm
+../Drivers/CMSIS/Include/core_cm0plus.h:798:26:__NVIC_GetPendingIRQ 16 static
+../Drivers/CMSIS/Include/core_cm0plus.h:817:22:__NVIC_SetPendingIRQ 16 static
+../Drivers/CMSIS/Include/core_cm0plus.h:832:22:__NVIC_ClearPendingIRQ 16 static
+../Drivers/CMSIS/Include/core_cm0plus.h:850:22:__NVIC_SetPriority 24 static
+../Drivers/CMSIS/Include/core_cm0plus.h:874:26:__NVIC_GetPriority 16 static
+../Drivers/CMSIS/Include/core_cm0plus.h:985:34:__NVIC_SystemReset 8 static,ignoring_inline_asm
+../Drivers/CMSIS/Include/core_cm0plus.h:1056:26:SysTick_Config 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.c:131:6:HAL_NVIC_SetPriority 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.c:148:6:HAL_NVIC_EnableIRQ 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.c:164:6:HAL_NVIC_DisableIRQ 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.c:177:6:HAL_NVIC_SystemReset 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.c:190:10:HAL_SYSTICK_Config 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.c:221:10:HAL_NVIC_GetPriority 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.c:234:6:HAL_NVIC_SetPendingIRQ 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.c:252:10:HAL_NVIC_GetPendingIRQ 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.c:268:6:HAL_NVIC_ClearPendingIRQ 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.c:285:6:HAL_SYSTICK_CLKSourceConfig 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.c:303:6:HAL_SYSTICK_IRQHandler 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.c:312:13:HAL_SYSTICK_Callback 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.c:331:6:HAL_MPU_Enable 16 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.c:346:6:HAL_MPU_Disable 8 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.c:362:6:HAL_MPU_ConfigRegion 16 static
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.d b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.d
new file mode 100644
index 0000000..1a2b51d
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.d
@@ -0,0 +1,72 @@
+Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.o: \
+ ../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.c \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.o b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.o
new file mode 100644
index 0000000..f1706dc
Binary files /dev/null and b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.o differ
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.su b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.su
new file mode 100644
index 0000000..f2efa01
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.su
@@ -0,0 +1,15 @@
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.c:152:19:HAL_DMA_Init 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.c:259:19:HAL_DMA_DeInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.c:382:19:HAL_DMA_Start 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.c:433:19:HAL_DMA_Start_IT 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.c:507:19:HAL_DMA_Abort 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.c:572:19:HAL_DMA_Abort_IT 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.c:637:19:HAL_DMA_PollForTransfer 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.c:797:6:HAL_DMA_IRQHandler 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.c:903:19:HAL_DMA_RegisterCallback 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.c:954:19:HAL_DMA_UnRegisterCallback 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.c:1032:22:HAL_DMA_GetState 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.c:1044:10:HAL_DMA_GetError 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.c:1071:13:DMA_SetConfig 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.c:1118:13:DMA_CalcDMAMUXChannelBaseAndMask 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.c:1164:13:DMA_CalcDMAMUXRequestGenBaseAndMask 24 static
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.d b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.d
new file mode 100644
index 0000000..e9ee3bf
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.d
@@ -0,0 +1,72 @@
+Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.o: \
+ ../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.c \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.o b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.o
new file mode 100644
index 0000000..0b082b6
Binary files /dev/null and b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.o differ
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.su b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.su
new file mode 100644
index 0000000..522e8a7
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.su
@@ -0,0 +1,5 @@
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.c:95:19:HAL_DMAEx_ConfigMuxSync 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.c:144:19:HAL_DMAEx_ConfigMuxRequestGenerator 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.c:203:19:HAL_DMAEx_EnableMuxRequestGenerator 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.c:231:19:HAL_DMAEx_DisableMuxRequestGenerator 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.c:259:6:HAL_DMAEx_MUX_IRQHandler 16 static
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.d b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.d
new file mode 100644
index 0000000..15dc53f
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.d
@@ -0,0 +1,72 @@
+Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.o: \
+ ../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.c \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.o b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.o
new file mode 100644
index 0000000..1fd3091
Binary files /dev/null and b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.o differ
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.su b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.su
new file mode 100644
index 0000000..c1d6403
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.su
@@ -0,0 +1,9 @@
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.c:143:19:HAL_EXTI_SetConfigLine 40 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.c:265:19:HAL_EXTI_GetConfigLine 40 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.c:359:19:HAL_EXTI_ClearConfigLine 40 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.c:425:19:HAL_EXTI_RegisterCallback 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.c:460:19:HAL_EXTI_GetHandle 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.c:501:6:HAL_EXTI_IRQHandler 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.c:555:10:HAL_EXTI_GetPending 40 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.c:599:6:HAL_EXTI_ClearPending 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.c:635:6:HAL_EXTI_GenerateSWI 32 static
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.d b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.d
new file mode 100644
index 0000000..29e6ddf
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.d
@@ -0,0 +1,72 @@
+Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.o: \
+ ../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.c \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.o b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.o
new file mode 100644
index 0000000..b7f5bf8
Binary files /dev/null and b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.o differ
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.su b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.su
new file mode 100644
index 0000000..8cb6ade
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.su
@@ -0,0 +1,14 @@
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.c:164:19:HAL_FLASH_Program 40 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.c:226:19:HAL_FLASH_Program_IT 40 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.c:282:6:HAL_FLASH_IRQHandler 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.c:382:13:HAL_FLASH_EndOfOperationCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.c:400:13:HAL_FLASH_OperationErrorCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.c:433:19:HAL_FLASH_Unlock 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.c:457:19:HAL_FLASH_Lock 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.c:477:19:HAL_FLASH_OB_Unlock 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.c:501:19:HAL_FLASH_OB_Lock 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.c:521:19:HAL_FLASH_OB_Launch 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.c:566:10:HAL_FLASH_GetError 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.c:590:19:FLASH_WaitForLastOperation 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.c:646:13:FLASH_Program_DoubleWord 32 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.c:668:24:FLASH_Program_Fast 40 static,ignoring_inline_asm
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.d b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.d
new file mode 100644
index 0000000..ca2a6ae
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.d
@@ -0,0 +1,72 @@
+Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.o: \
+ ../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.o b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.o
new file mode 100644
index 0000000..75ab673
Binary files /dev/null and b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.o differ
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.su b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.su
new file mode 100644
index 0000000..f7c40f0
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.su
@@ -0,0 +1,23 @@
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c:154:19:HAL_FLASHEx_Erase 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c:226:19:HAL_FLASHEx_Erase_IT 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c:297:19:HAL_FLASHEx_OBProgram 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c:421:6:HAL_FLASHEx_OBGetConfig 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c:464:6:HAL_FLASHEx_EnableDebugger 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c:476:6:HAL_FLASHEx_DisableDebugger 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c:488:10:HAL_FLASHEx_FlashEmptyCheck 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c:502:6:HAL_FLASHEx_ForceFlashEmpty 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c:524:6:HAL_FLASHEx_EnableSecMemProtection 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c:568:13:FLASH_MassErase 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c:588:6:FLASH_PageErase 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c:619:6:FLASH_FlushCaches 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c:656:13:FLASH_OB_WRPConfig 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c:699:13:FLASH_OB_GetWRP 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c:762:13:FLASH_OB_OptrConfig 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c:785:17:FLASH_OB_GetRDP 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c:821:17:FLASH_OB_GetUser 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c:843:13:FLASH_OB_PCROP1AConfig 40 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c:916:13:FLASH_OB_PCROP1BConfig 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c:963:13:FLASH_OB_GetPCROP1A 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c:1002:13:FLASH_OB_GetPCROP1B 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c:1260:13:FLASH_OB_SecMemConfig 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c:1280:13:FLASH_OB_GetSecMem 24 static
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.d b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.d
new file mode 100644
index 0000000..9f45fe7
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.d
@@ -0,0 +1,72 @@
+Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.o: \
+ ../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.c \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.o b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.o
new file mode 100644
index 0000000..9443f49
Binary files /dev/null and b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.o differ
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.su b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.su
new file mode 100644
index 0000000..786159b
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.su
@@ -0,0 +1,9 @@
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.c:162:6:HAL_GPIO_Init 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.c:289:6:HAL_GPIO_DeInit 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.c:370:15:HAL_GPIO_ReadPin 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.c:404:6:HAL_GPIO_WritePin 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.c:427:6:HAL_GPIO_TogglePin 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.c:452:19:HAL_GPIO_LockPin 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.c:487:6:HAL_GPIO_EXTI_IRQHandler 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.c:508:13:HAL_GPIO_EXTI_Rising_Callback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.c:523:13:HAL_GPIO_EXTI_Falling_Callback 16 static
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.d b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.d
new file mode 100644
index 0000000..f0bf3e4
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.d
@@ -0,0 +1,72 @@
+Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.o: \
+ ../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.c \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.o b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.o
new file mode 100644
index 0000000..4712611
Binary files /dev/null and b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.o differ
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.su b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.su
new file mode 100644
index 0000000..ad2c094
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.su
@@ -0,0 +1,12 @@
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.c:73:6:HAL_PWR_DeInit 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.c:228:6:HAL_PWR_EnableBkUpAccess 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.c:238:6:HAL_PWR_DisableBkUpAccess 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.c:262:6:HAL_PWR_EnableWakeUpPin 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.c:284:6:HAL_PWR_DisableWakeUpPin 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.c:318:6:HAL_PWR_EnterSLEEPMode 16 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.c:398:6:HAL_PWR_EnterSTOPMode 16 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.c:453:6:HAL_PWR_EnterSTANDBYMode 8 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.c:480:6:HAL_PWR_EnableSleepOnExit 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.c:494:6:HAL_PWR_DisableSleepOnExit 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.c:508:6:HAL_PWR_EnableSEVOnPend 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.c:521:6:HAL_PWR_DisableSEVOnPend 8 static
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.d b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.d
new file mode 100644
index 0000000..4b579d4
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.d
@@ -0,0 +1,72 @@
+Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.o: \
+ ../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.o b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.o
new file mode 100644
index 0000000..9e49d86
Binary files /dev/null and b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.o differ
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.su b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.su
new file mode 100644
index 0000000..5174b1f
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.su
@@ -0,0 +1,27 @@
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:131:6:HAL_PWREx_EnableBatteryCharging 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:146:6:HAL_PWREx_DisableBatteryCharging 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:159:6:HAL_PWREx_EnablePORMonitorSampling 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:169:6:HAL_PWREx_DisablePORMonitorSampling 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:187:19:HAL_PWREx_ConfigPVD 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:233:6:HAL_PWREx_EnablePVD 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:243:6:HAL_PWREx_DisablePVD 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:381:6:HAL_PWREx_EnableInternalWakeUpLine 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:390:6:HAL_PWREx_DisableInternalWakeUpLine 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:414:19:HAL_PWREx_EnableGPIOPullUp 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:476:19:HAL_PWREx_DisableGPIOPullUp 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:538:19:HAL_PWREx_EnableGPIOPullDown 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:600:19:HAL_PWREx_DisableGPIOPullDown 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:653:6:HAL_PWREx_EnablePullUpPullDownConfig 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:664:6:HAL_PWREx_DisablePullUpPullDownConfig 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:676:6:HAL_PWREx_EnableSRAMRetention 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:688:6:HAL_PWREx_DisableSRAMRetention 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:704:6:HAL_PWREx_EnableFlashPowerDown 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:722:6:HAL_PWREx_DisableFlashPowerDown 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:736:10:HAL_PWREx_GetVoltageRange 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:762:19:HAL_PWREx_ControlVoltageScaling 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:803:6:HAL_PWREx_EnableLowPowerRunMode 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:818:19:HAL_PWREx_DisableLowPowerRunMode 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:860:6:HAL_PWREx_EnterSHUTDOWNMode 8 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:954:6:HAL_PWREx_PVD_IRQHandler 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:981:13:HAL_PWREx_PVD_Rising_Callback 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c:992:13:HAL_PWREx_PVD_Falling_Callback 8 static
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.d b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.d
new file mode 100644
index 0000000..327be7d
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.d
@@ -0,0 +1,72 @@
+Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.o: \
+ ../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.c \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.o b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.o
new file mode 100644
index 0000000..20e34d6
Binary files /dev/null and b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.o differ
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.su b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.su
new file mode 100644
index 0000000..0a25270
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.su
@@ -0,0 +1,17 @@
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:1789:26:LL_RCC_GetAPB1Prescaler 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.c:218:19:HAL_RCC_DeInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.c:310:19:HAL_RCC_OscConfig 40 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.c:800:19:HAL_RCC_ClockConfig 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.c:1029:6:HAL_RCC_MCOConfig 48 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.c:1107:10:HAL_RCC_GetSysClockFreq 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.c:1175:10:HAL_RCC_GetHCLKFreq 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.c:1186:10:HAL_RCC_GetPCLK1Freq 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.c:1199:6:HAL_RCC_GetOscConfig 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.c:1302:6:HAL_RCC_GetClockConfig 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.c:1335:6:HAL_RCC_EnableCSS 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.c:1351:6:HAL_RCC_EnableLSECSS 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.c:1362:6:HAL_RCC_DisableLSECSS 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.c:1372:6:HAL_RCC_NMI_IRQHandler 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.c:1398:13:HAL_RCC_CSSCallback 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.c:1409:13:HAL_RCC_LSECSSCallback 8 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.c:1422:10:HAL_RCC_GetResetSource 16 static
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.d b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.d
new file mode 100644
index 0000000..e70bd1a
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.d
@@ -0,0 +1,72 @@
+Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.o: \
+ ../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.c \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.o b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.o
new file mode 100644
index 0000000..656905e
Binary files /dev/null and b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.o differ
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.su b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.su
new file mode 100644
index 0000000..0d8220f
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.su
@@ -0,0 +1,5 @@
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.c:112:19:HAL_RCCEx_PeriphCLKConfig 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.c:469:6:HAL_RCCEx_GetPeriphCLKConfig 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.c:610:10:HAL_RCCEx_GetPeriphCLKFreq 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.c:1216:6:HAL_RCCEx_EnableLSCO 56 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.c:1263:6:HAL_RCCEx_DisableLSCO 16 static
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.d b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.d
new file mode 100644
index 0000000..e22a446
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.d
@@ -0,0 +1,72 @@
+Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.o: \
+ ../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.o b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.o
new file mode 100644
index 0000000..d147edd
Binary files /dev/null and b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.o differ
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.su b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.su
new file mode 100644
index 0000000..455fce6
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.su
@@ -0,0 +1,121 @@
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:277:19:HAL_TIM_Base_Init 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:337:19:HAL_TIM_Base_DeInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:380:13:HAL_TIM_Base_MspInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:395:13:HAL_TIM_Base_MspDeInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:411:19:HAL_TIM_Base_Start 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:450:19:HAL_TIM_Base_Stop 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:470:19:HAL_TIM_Base_Start_IT 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:512:19:HAL_TIM_Base_Stop_IT 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:537:19:HAL_TIM_Base_Start_DMA 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:606:19:HAL_TIM_Base_Stop_DMA 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:661:19:HAL_TIM_OC_Init 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:721:19:HAL_TIM_OC_DeInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:764:13:HAL_TIM_OC_MspInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:779:13:HAL_TIM_OC_MspDeInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:802:19:HAL_TIM_OC_Start 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:858:19:HAL_TIM_OC_Stop 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:893:19:HAL_TIM_OC_Start_IT 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:986:19:HAL_TIM_OC_Stop_IT 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:1063:19:HAL_TIM_OC_Start_DMA 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:1227:19:HAL_TIM_OC_Stop_DMA 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:1330:19:HAL_TIM_PWM_Init 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:1390:19:HAL_TIM_PWM_DeInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:1433:13:HAL_TIM_PWM_MspInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:1448:13:HAL_TIM_PWM_MspDeInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:1471:19:HAL_TIM_PWM_Start 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:1527:19:HAL_TIM_PWM_Stop 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:1562:19:HAL_TIM_PWM_Start_IT 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:1655:19:HAL_TIM_PWM_Stop_IT 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:1732:19:HAL_TIM_PWM_Start_DMA 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:1895:19:HAL_TIM_PWM_Stop_DMA 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:1998:19:HAL_TIM_IC_Init 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:2058:19:HAL_TIM_IC_DeInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:2101:13:HAL_TIM_IC_MspInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:2116:13:HAL_TIM_IC_MspDeInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:2137:19:HAL_TIM_IC_Start 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:2189:19:HAL_TIM_IC_Stop 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:2219:19:HAL_TIM_IC_Start_IT 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:2311:19:HAL_TIM_IC_Stop_IT 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:2383:19:HAL_TIM_IC_Start_DMA 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:2542:19:HAL_TIM_IC_Stop_DMA 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:2647:19:HAL_TIM_OnePulse_Init 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:2716:19:HAL_TIM_OnePulse_DeInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:2761:13:HAL_TIM_OnePulse_MspInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:2776:13:HAL_TIM_OnePulse_MspDeInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:2796:19:HAL_TIM_OnePulse_Start 40 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:2853:19:HAL_TIM_OnePulse_Stop 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:2896:19:HAL_TIM_OnePulse_Start_IT 40 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:2959:19:HAL_TIM_OnePulse_Stop_IT 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:3038:19:HAL_TIM_Encoder_Init 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:3153:19:HAL_TIM_Encoder_DeInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:3198:13:HAL_TIM_Encoder_MspInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:3213:13:HAL_TIM_Encoder_MspDeInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:3233:19:HAL_TIM_Encoder_Start 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:3327:19:HAL_TIM_Encoder_Stop 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:3387:19:HAL_TIM_Encoder_Start_IT 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:3487:19:HAL_TIM_Encoder_Stop_IT 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:3552:19:HAL_TIM_Encoder_Start_DMA 40 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:3765:19:HAL_TIM_Encoder_Stop_DMA 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:3842:6:HAL_TIM_IRQHandler 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:4072:19:HAL_TIM_OC_ConfigChannel 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:4171:19:HAL_TIM_IC_ConfigChannel 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:4272:19:HAL_TIM_PWM_ConfigChannel 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:4420:19:HAL_TIM_OnePulse_ConfigChannel 56 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:4575:19:HAL_TIM_DMABurst_WriteStart 56 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:4634:19:HAL_TIM_DMABurst_MultiWriteStart 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:4818:19:HAL_TIM_DMABurst_WriteStop 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:4926:19:HAL_TIM_DMABurst_ReadStart 56 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:4984:19:HAL_TIM_DMABurst_MultiReadStart 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:5168:19:HAL_TIM_DMABurst_ReadStop 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:5252:19:HAL_TIM_GenerateEvent 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:5291:19:HAL_TIM_ConfigOCrefClear 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:5475:19:HAL_TIM_ConfigClockSource 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:5629:19:HAL_TIM_ConfigTI1Input 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:5661:19:HAL_TIM_SlaveConfigSynchro 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:5701:19:HAL_TIM_SlaveConfigSynchro_IT 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:5744:10:HAL_TIM_ReadCapturedValue 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:5828:13:HAL_TIM_PeriodElapsedCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:5843:13:HAL_TIM_PeriodElapsedHalfCpltCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:5858:13:HAL_TIM_OC_DelayElapsedCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:5873:13:HAL_TIM_IC_CaptureCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:5888:13:HAL_TIM_IC_CaptureHalfCpltCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:5903:13:HAL_TIM_PWM_PulseFinishedCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:5918:13:HAL_TIM_PWM_PulseFinishedHalfCpltCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:5933:13:HAL_TIM_TriggerCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:5948:13:HAL_TIM_TriggerHalfCpltCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:5963:13:HAL_TIM_ErrorCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:6532:22:HAL_TIM_Base_GetState 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:6542:22:HAL_TIM_OC_GetState 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:6552:22:HAL_TIM_PWM_GetState 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:6562:22:HAL_TIM_IC_GetState 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:6572:22:HAL_TIM_OnePulse_GetState 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:6582:22:HAL_TIM_Encoder_GetState 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:6592:23:HAL_TIM_GetActiveChannel 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:6610:29:HAL_TIM_GetChannelState 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:6627:30:HAL_TIM_DMABurstState 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:6652:6:TIM_DMAError 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:6695:13:TIM_DMADelayPulseCplt 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:6754:6:TIM_DMADelayPulseHalfCplt 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:6793:6:TIM_DMACaptureCplt 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:6856:6:TIM_DMACaptureHalfCplt 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:6895:13:TIM_DMAPeriodElapsedCplt 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:6916:13:TIM_DMAPeriodElapsedHalfCplt 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:6932:13:TIM_DMATriggerCplt 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:6953:13:TIM_DMATriggerHalfCplt 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:6970:6:TIM_Base_SetConfig 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:7018:13:TIM_OC1_SetConfig 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:7093:6:TIM_OC2_SetConfig 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:7169:13:TIM_OC3_SetConfig 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:7243:13:TIM_OC4_SetConfig 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:7303:13:TIM_OC5_SetConfig 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:7356:13:TIM_OC6_SetConfig 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:7410:26:TIM_SlaveTimer_SetConfig 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:7544:6:TIM_TI1_SetConfig 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:7591:13:TIM_TI1_ConfigInputStage 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:7634:13:TIM_TI2_SetConfig 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:7674:13:TIM_TI2_ConfigInputStage 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:7717:13:TIM_TI3_SetConfig 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:7765:13:TIM_TI4_SetConfig 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:7808:13:TIM_ITRx_SetConfig 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:7838:6:TIM_ETR_SetConfig 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c:7870:6:TIM_CCxChannelCmd 32 static
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.d b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.d
new file mode 100644
index 0000000..1f390da
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.d
@@ -0,0 +1,72 @@
+Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.o: \
+ ../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.o b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.o
new file mode 100644
index 0000000..663a5f6
Binary files /dev/null and b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.o differ
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.su b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.su
new file mode 100644
index 0000000..bdc6f53
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.su
@@ -0,0 +1,48 @@
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:151:19:HAL_TIMEx_HallSensor_Init 48 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:253:19:HAL_TIMEx_HallSensor_DeInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:298:13:HAL_TIMEx_HallSensor_MspInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:313:13:HAL_TIMEx_HallSensor_MspDeInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:328:19:HAL_TIMEx_HallSensor_Start 40 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:382:19:HAL_TIMEx_HallSensor_Stop 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:410:19:HAL_TIMEx_HallSensor_Start_IT 40 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:467:19:HAL_TIMEx_HallSensor_Stop_IT 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:500:19:HAL_TIMEx_HallSensor_Start_DMA 40 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:576:19:HAL_TIMEx_HallSensor_Stop_DMA 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:638:19:HAL_TIMEx_OCN_Start 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:689:19:HAL_TIMEx_OCN_Stop 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:721:19:HAL_TIMEx_OCN_Start_IT 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:808:19:HAL_TIMEx_OCN_Stop_IT 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:883:19:HAL_TIMEx_OCN_Start_DMA 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:1021:19:HAL_TIMEx_OCN_Stop_DMA 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:1122:19:HAL_TIMEx_PWMN_Start 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:1172:19:HAL_TIMEx_PWMN_Stop 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:1204:19:HAL_TIMEx_PWMN_Start_IT 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:1290:19:HAL_TIMEx_PWMN_Stop_IT 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:1365:19:HAL_TIMEx_PWMN_Start_DMA 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:1503:19:HAL_TIMEx_PWMN_Stop_DMA 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:1594:19:HAL_TIMEx_OnePulseN_Start 40 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:1643:19:HAL_TIMEx_OnePulseN_Stop 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:1682:19:HAL_TIMEx_OnePulseN_Start_IT 40 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:1737:19:HAL_TIMEx_OnePulseN_Stop_IT 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:1818:19:HAL_TIMEx_ConfigCommutEvent 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:1874:19:HAL_TIMEx_ConfigCommutEvent_IT 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:1931:19:HAL_TIMEx_ConfigCommutEvent_DMA 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:1980:19:HAL_TIMEx_MasterConfigSynchronization 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:2053:19:HAL_TIMEx_ConfigBreakDeadTime 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:2135:19:HAL_TIMEx_ConfigBreakInput 48 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:2291:19:HAL_TIMEx_RemapConfig 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:2382:20:HAL_TIMEx_TISelection 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:2424:19:HAL_TIMEx_GroupChannel5 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:2462:19:HAL_TIMEx_DisarmBreakInput 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:2517:19:HAL_TIMEx_ReArmBreakInput 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:2606:13:HAL_TIMEx_CommutCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:2620:13:HAL_TIMEx_CommutHalfCpltCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:2635:13:HAL_TIMEx_BreakCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:2650:13:HAL_TIMEx_Break2Callback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:2683:22:HAL_TIMEx_HallSensor_GetState 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:2698:29:HAL_TIMEx_GetChannelNState 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:2727:6:TIMEx_DMACommutationCplt 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:2746:6:TIMEx_DMACommutationHalfCplt 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:2766:13:TIM_DMADelayPulseNCplt 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:2825:13:TIM_DMAErrorCCxN 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c:2870:13:TIM_CCxNChannelCmd 32 static
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.d b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.d
new file mode 100644
index 0000000..05d2618
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.d
@@ -0,0 +1,72 @@
+Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.o: \
+ ../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.o b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.o
new file mode 100644
index 0000000..6bf7a61
Binary files /dev/null and b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.o differ
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.su b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.su
new file mode 100644
index 0000000..dd55891
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.su
@@ -0,0 +1,70 @@
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:307:19:HAL_UART_Init 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:380:19:HAL_HalfDuplex_Init 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:453:19:HAL_LIN_Init 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:550:19:HAL_MultiProcessor_Init 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:624:19:HAL_UART_DeInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:670:13:HAL_UART_MspInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:685:13:HAL_UART_MspDeInit 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:1126:19:HAL_UART_Transmit 48 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:1231:19:HAL_UART_Receive 48 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:1333:19:HAL_UART_Transmit_IT 56 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:1423:19:HAL_UART_Receive_IT 40 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:1482:19:HAL_UART_Transmit_DMA 40 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:1574:19:HAL_UART_Receive_DMA 40 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:1623:19:HAL_UART_DMAPause 88 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:1657:19:HAL_UART_DMAResume 80 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:1692:19:HAL_UART_DMAStop 56 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:1767:19:HAL_UART_Abort 96 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:1870:19:HAL_UART_AbortTransmit 64 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:1929:19:HAL_UART_AbortReceive 80 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:1997:19:HAL_UART_Abort_IT 104 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:2150:19:HAL_UART_AbortTransmit_IT 64 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:2241:19:HAL_UART_AbortReceive_IT 80 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:2334:6:HAL_UART_IRQHandler 184 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:2654:13:HAL_UART_TxCpltCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:2669:13:HAL_UART_TxHalfCpltCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:2684:13:HAL_UART_RxCpltCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:2699:13:HAL_UART_RxHalfCpltCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:2714:13:HAL_UART_ErrorCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:2729:13:HAL_UART_AbortCpltCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:2744:13:HAL_UART_AbortTransmitCpltCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:2759:13:HAL_UART_AbortReceiveCpltCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:2776:13:HAL_UARTEx_RxEventCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:2824:6:HAL_UART_ReceiverTimeout_Config 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:2839:19:HAL_UART_EnableReceiverTimeout 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:2877:19:HAL_UART_DisableReceiverTimeout 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:2915:19:HAL_MultiProcessor_EnableMuteMode 32 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:2935:19:HAL_MultiProcessor_DisableMuteMode 32 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:2955:6:HAL_MultiProcessor_EnterMuteMode 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:2965:19:HAL_HalfDuplex_EnableTransmitter 48 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:2988:19:HAL_HalfDuplex_EnableReceiver 48 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:3012:19:HAL_LIN_SendBreak 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:3057:23:HAL_UART_GetState 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:3073:10:HAL_UART_GetError 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:3119:19:UART_SetConfig 80 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:3330:6:UART_AdvFeatureConfig 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:3404:19:UART_CheckIdleState 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:3456:19:UART_WaitOnFlagUntilTimeout 88 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:3520:19:UART_Start_Receive_IT 104 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:3596:19:UART_Start_Receive_DMA 72 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:3656:13:UART_EndTxTransfer 48 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:3672:13:UART_EndRxTransfer 64 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:3698:13:UART_DMATransmitCplt 56 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:3732:13:UART_DMATxHalfCplt 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:3750:13:UART_DMAReceiveCplt 88 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:3807:13:UART_DMARxHalfCplt 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:3841:13:UART_DMAError 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:3881:13:UART_DMAAbortOnError 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:3904:13:UART_DMATxAbortCallback 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:3959:13:UART_DMARxAbortCallback 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:4011:13:UART_DMATxOnlyAbortCallback 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:4044:13:UART_DMARxOnlyAbortCallback 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:4077:13:UART_TxISR_8BIT 48 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:4106:13:UART_TxISR_16BIT 56 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:4138:13:UART_TxISR_8BIT_FIFOEN 56 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:4178:13:UART_TxISR_16BIT_FIFOEN 56 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:4219:13:UART_EndTransmit_IT 32 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:4244:13:UART_RxISR_8BIT 72 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:4321:13:UART_RxISR_16BIT 72 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:4400:13:UART_RxISR_8BIT_FIFOEN 120 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c:4548:13:UART_RxISR_16BIT_FIFOEN 128 static,ignoring_inline_asm
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.d b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.d
new file mode 100644
index 0000000..fbb4cf0
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.d
@@ -0,0 +1,72 @@
+Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.o: \
+ ../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.c \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h \
+ ../Core/Inc/stm32g0xx_hal_conf.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h \
+ ../Drivers/CMSIS/Include/core_cm0plus.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h \
+ ../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal.h:
+../Core/Inc/stm32g0xx_hal_conf.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g0xx.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/stm32g031xx.h:
+../Drivers/CMSIS/Include/core_cm0plus.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32G0xx/Include/system_stm32g0xx.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_rcc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_rcc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_gpio_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dma.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_dmamux.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_dma_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_cortex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_ll_adc.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_adc_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_exti.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_flash_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_pwr_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_tim_ex.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart.h:
+../Drivers/STM32G0xx_HAL_Driver/Inc/stm32g0xx_hal_uart_ex.h:
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.o b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.o
new file mode 100644
index 0000000..0c9c407
Binary files /dev/null and b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.o differ
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.su b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.su
new file mode 100644
index 0000000..33df074
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.su
@@ -0,0 +1,17 @@
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.c:166:19:HAL_RS485Ex_Init 32 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.c:272:13:HAL_UARTEx_WakeupCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.c:287:13:HAL_UARTEx_RxFifoFullCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.c:302:13:HAL_UARTEx_TxFifoEmptyCallback 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.c:387:19:HAL_MultiProcessorEx_AddressLength_Set 16 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.c:425:19:HAL_UARTEx_StopModeWakeUpSourceConfig 40 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.c:480:19:HAL_UARTEx_EnableStopMode 32 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.c:499:19:HAL_UARTEx_DisableStopMode 32 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.c:518:19:HAL_UARTEx_EnableFifoMode 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.c:559:19:HAL_UARTEx_DisableFifoMode 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.c:605:19:HAL_UARTEx_SetTxFifoThreshold 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.c:654:19:HAL_UARTEx_SetRxFifoThreshold 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.c:716:19:HAL_UARTEx_ReceiveToIdle 40 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.c:857:19:HAL_UARTEx_ReceiveToIdle_IT 56 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.c:935:19:HAL_UARTEx_ReceiveToIdle_DMA 56 static,ignoring_inline_asm
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.c:1009:13:UARTEx_Wakeup_AddressConfig 24 static
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.c:1027:13:UARTEx_SetNbDataToProcess 40 static
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_adc.d b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_adc.d
new file mode 100644
index 0000000..3f6ba0a
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_adc.d
@@ -0,0 +1,2 @@
+Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_adc.o: \
+ ../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_adc.c
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_adc.o b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_adc.o
new file mode 100644
index 0000000..8787047
Binary files /dev/null and b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_adc.o differ
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_adc.su b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_adc.su
new file mode 100644
index 0000000..e69de29
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.d b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.d
new file mode 100644
index 0000000..3b77c2a
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.d
@@ -0,0 +1,2 @@
+Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.o: \
+ ../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.c
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.o b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.o
new file mode 100644
index 0000000..14a815a
Binary files /dev/null and b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.o differ
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.su b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.su
new file mode 100644
index 0000000..e69de29
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.d b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.d
new file mode 100644
index 0000000..4a30fdd
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.d
@@ -0,0 +1,2 @@
+Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.o: \
+ ../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.c
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.o b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.o
new file mode 100644
index 0000000..c4353df
Binary files /dev/null and b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.o differ
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.su b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.su
new file mode 100644
index 0000000..e69de29
diff --git a/Debug/Drivers/STM32G0xx_HAL_Driver/Src/subdir.mk b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/subdir.mk
new file mode 100644
index 0000000..d4a6091
--- /dev/null
+++ b/Debug/Drivers/STM32G0xx_HAL_Driver/Src/subdir.mk
@@ -0,0 +1,87 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+# Toolchain: GNU Tools for STM32 (10.3-2021.10)
+################################################################################
+
+# Add inputs and outputs from these tool invocations to the build variables
+C_SRCS += \
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c \
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.c \
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.c \
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.c \
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.c \
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.c \
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.c \
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.c \
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.c \
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.c \
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.c \
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c \
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.c \
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.c \
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.c \
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.c \
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.c \
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.c \
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_adc.c \
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.c \
+../Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.c
+
+OBJS += \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.o \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.o \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.o \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.o \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.o \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.o \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.o \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.o \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.o \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.o \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.o \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.o \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.o \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.o \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.o \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.o \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.o \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.o \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_adc.o \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.o \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.o
+
+C_DEPS += \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.d \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.d \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.d \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.d \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.d \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.d \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.d \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.d \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.d \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.d \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.d \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.d \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.d \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.d \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.d \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.d \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.d \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.d \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_adc.d \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.d \
+./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.d
+
+
+# Each subdirectory must supply rules for building sources it contributes
+Drivers/STM32G0xx_HAL_Driver/Src/%.o Drivers/STM32G0xx_HAL_Driver/Src/%.su: ../Drivers/STM32G0xx_HAL_Driver/Src/%.c Drivers/STM32G0xx_HAL_Driver/Src/subdir.mk
+ arm-none-eabi-gcc "$<" -mcpu=cortex-m0plus -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32G031xx -c -I../Core/Inc -I../Drivers/STM32G0xx_HAL_Driver/Inc -I../Drivers/STM32G0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32G0xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
+
+clean: clean-Drivers-2f-STM32G0xx_HAL_Driver-2f-Src
+
+clean-Drivers-2f-STM32G0xx_HAL_Driver-2f-Src:
+ -$(RM) ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_adc_ex.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_dma_ex.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_flash_ex.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_gpio.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_rcc_ex.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_tim_ex.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_uart_ex.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_adc.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_adc.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_adc.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_dma.su ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.d ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.o ./Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_ll_rcc.su
+
+.PHONY: clean-Drivers-2f-STM32G0xx_HAL_Driver-2f-Src
+
diff --git a/Debug/g031_JIECANG_JC35W8.elf b/Debug/g031_JIECANG_JC35W8.elf
new file mode 100644
index 0000000..8138dcf
Binary files /dev/null and b/Debug/g031_JIECANG_JC35W8.elf differ
diff --git a/Debug/g031_JIECANG_JC35W8.list b/Debug/g031_JIECANG_JC35W8.list
new file mode 100644
index 0000000..ede808e
--- /dev/null
+++ b/Debug/g031_JIECANG_JC35W8.list
@@ -0,0 +1,21026 @@
+
+g031_JIECANG_JC35W8.elf: file format elf32-littlearm
+
+Sections:
+Idx Name Size VMA LMA File off Algn
+ 0 .isr_vector 000000bc 08000000 08000000 00010000 2**0
+ CONTENTS, ALLOC, LOAD, READONLY, DATA
+ 1 .text 0000732c 080000bc 080000bc 000100bc 2**2
+ CONTENTS, ALLOC, LOAD, READONLY, CODE
+ 2 .rodata 000000cc 080073e8 080073e8 000173e8 2**2
+ CONTENTS, ALLOC, LOAD, READONLY, DATA
+ 3 .ARM.extab 00000000 080074b4 080074b4 00020018 2**0
+ CONTENTS
+ 4 .ARM 00000008 080074b4 080074b4 000174b4 2**2
+ CONTENTS, ALLOC, LOAD, READONLY, DATA
+ 5 .preinit_array 00000000 080074bc 080074bc 00020018 2**0
+ CONTENTS, ALLOC, LOAD, DATA
+ 6 .init_array 00000004 080074bc 080074bc 000174bc 2**2
+ CONTENTS, ALLOC, LOAD, DATA
+ 7 .fini_array 00000004 080074c0 080074c0 000174c0 2**2
+ CONTENTS, ALLOC, LOAD, DATA
+ 8 .data 00000018 20000000 080074c4 00020000 2**2
+ CONTENTS, ALLOC, LOAD, DATA
+ 9 .bss 00000434 20000018 080074dc 00020018 2**2
+ ALLOC
+ 10 ._user_heap_stack 00000604 2000044c 080074dc 0002044c 2**0
+ ALLOC
+ 11 .ARM.attributes 00000028 00000000 00000000 00020018 2**0
+ CONTENTS, READONLY
+ 12 .debug_info 0001617d 00000000 00000000 00020040 2**0
+ CONTENTS, READONLY, DEBUGGING, OCTETS
+ 13 .debug_abbrev 000031fa 00000000 00000000 000361bd 2**0
+ CONTENTS, READONLY, DEBUGGING, OCTETS
+ 14 .debug_aranges 00001260 00000000 00000000 000393b8 2**3
+ CONTENTS, READONLY, DEBUGGING, OCTETS
+ 15 .debug_ranges 00001120 00000000 00000000 0003a618 2**3
+ CONTENTS, READONLY, DEBUGGING, OCTETS
+ 16 .debug_macro 0001846e 00000000 00000000 0003b738 2**0
+ CONTENTS, READONLY, DEBUGGING, OCTETS
+ 17 .debug_line 00016ffa 00000000 00000000 00053ba6 2**0
+ CONTENTS, READONLY, DEBUGGING, OCTETS
+ 18 .debug_str 00099899 00000000 00000000 0006aba0 2**0
+ CONTENTS, READONLY, DEBUGGING, OCTETS
+ 19 .comment 00000050 00000000 00000000 00104439 2**0
+ CONTENTS, READONLY
+ 20 .debug_frame 00004160 00000000 00000000 0010448c 2**2
+ CONTENTS, READONLY, DEBUGGING, OCTETS
+
+Disassembly of section .text:
+
+080000bc <__do_global_dtors_aux>:
+ 80000bc: b510 push {r4, lr}
+ 80000be: 4c06 ldr r4, [pc, #24] ; (80000d8 <__do_global_dtors_aux+0x1c>)
+ 80000c0: 7823 ldrb r3, [r4, #0]
+ 80000c2: 2b00 cmp r3, #0
+ 80000c4: d107 bne.n 80000d6 <__do_global_dtors_aux+0x1a>
+ 80000c6: 4b05 ldr r3, [pc, #20] ; (80000dc <__do_global_dtors_aux+0x20>)
+ 80000c8: 2b00 cmp r3, #0
+ 80000ca: d002 beq.n 80000d2 <__do_global_dtors_aux+0x16>
+ 80000cc: 4804 ldr r0, [pc, #16] ; (80000e0 <__do_global_dtors_aux+0x24>)
+ 80000ce: e000 b.n 80000d2 <__do_global_dtors_aux+0x16>
+ 80000d0: bf00 nop
+ 80000d2: 2301 movs r3, #1
+ 80000d4: 7023 strb r3, [r4, #0]
+ 80000d6: bd10 pop {r4, pc}
+ 80000d8: 20000018 .word 0x20000018
+ 80000dc: 00000000 .word 0x00000000
+ 80000e0: 080073d0 .word 0x080073d0
+
+080000e4 :
+ 80000e4: 4b04 ldr r3, [pc, #16] ; (80000f8 )
+ 80000e6: b510 push {r4, lr}
+ 80000e8: 2b00 cmp r3, #0
+ 80000ea: d003 beq.n 80000f4
+ 80000ec: 4903 ldr r1, [pc, #12] ; (80000fc )
+ 80000ee: 4804 ldr r0, [pc, #16] ; (8000100 )
+ 80000f0: e000 b.n 80000f4
+ 80000f2: bf00 nop
+ 80000f4: bd10 pop {r4, pc}
+ 80000f6: 46c0 nop ; (mov r8, r8)
+ 80000f8: 00000000 .word 0x00000000
+ 80000fc: 2000001c .word 0x2000001c
+ 8000100: 080073d0 .word 0x080073d0
+
+08000104 <__udivsi3>:
+ 8000104: 2200 movs r2, #0
+ 8000106: 0843 lsrs r3, r0, #1
+ 8000108: 428b cmp r3, r1
+ 800010a: d374 bcc.n 80001f6 <__udivsi3+0xf2>
+ 800010c: 0903 lsrs r3, r0, #4
+ 800010e: 428b cmp r3, r1
+ 8000110: d35f bcc.n 80001d2 <__udivsi3+0xce>
+ 8000112: 0a03 lsrs r3, r0, #8
+ 8000114: 428b cmp r3, r1
+ 8000116: d344 bcc.n 80001a2 <__udivsi3+0x9e>
+ 8000118: 0b03 lsrs r3, r0, #12
+ 800011a: 428b cmp r3, r1
+ 800011c: d328 bcc.n 8000170 <__udivsi3+0x6c>
+ 800011e: 0c03 lsrs r3, r0, #16
+ 8000120: 428b cmp r3, r1
+ 8000122: d30d bcc.n 8000140 <__udivsi3+0x3c>
+ 8000124: 22ff movs r2, #255 ; 0xff
+ 8000126: 0209 lsls r1, r1, #8
+ 8000128: ba12 rev r2, r2
+ 800012a: 0c03 lsrs r3, r0, #16
+ 800012c: 428b cmp r3, r1
+ 800012e: d302 bcc.n 8000136 <__udivsi3+0x32>
+ 8000130: 1212 asrs r2, r2, #8
+ 8000132: 0209 lsls r1, r1, #8
+ 8000134: d065 beq.n 8000202 <__udivsi3+0xfe>
+ 8000136: 0b03 lsrs r3, r0, #12
+ 8000138: 428b cmp r3, r1
+ 800013a: d319 bcc.n 8000170 <__udivsi3+0x6c>
+ 800013c: e000 b.n 8000140 <__udivsi3+0x3c>
+ 800013e: 0a09 lsrs r1, r1, #8
+ 8000140: 0bc3 lsrs r3, r0, #15
+ 8000142: 428b cmp r3, r1
+ 8000144: d301 bcc.n 800014a <__udivsi3+0x46>
+ 8000146: 03cb lsls r3, r1, #15
+ 8000148: 1ac0 subs r0, r0, r3
+ 800014a: 4152 adcs r2, r2
+ 800014c: 0b83 lsrs r3, r0, #14
+ 800014e: 428b cmp r3, r1
+ 8000150: d301 bcc.n 8000156 <__udivsi3+0x52>
+ 8000152: 038b lsls r3, r1, #14
+ 8000154: 1ac0 subs r0, r0, r3
+ 8000156: 4152 adcs r2, r2
+ 8000158: 0b43 lsrs r3, r0, #13
+ 800015a: 428b cmp r3, r1
+ 800015c: d301 bcc.n 8000162 <__udivsi3+0x5e>
+ 800015e: 034b lsls r3, r1, #13
+ 8000160: 1ac0 subs r0, r0, r3
+ 8000162: 4152 adcs r2, r2
+ 8000164: 0b03 lsrs r3, r0, #12
+ 8000166: 428b cmp r3, r1
+ 8000168: d301 bcc.n 800016e <__udivsi3+0x6a>
+ 800016a: 030b lsls r3, r1, #12
+ 800016c: 1ac0 subs r0, r0, r3
+ 800016e: 4152 adcs r2, r2
+ 8000170: 0ac3 lsrs r3, r0, #11
+ 8000172: 428b cmp r3, r1
+ 8000174: d301 bcc.n 800017a <__udivsi3+0x76>
+ 8000176: 02cb lsls r3, r1, #11
+ 8000178: 1ac0 subs r0, r0, r3
+ 800017a: 4152 adcs r2, r2
+ 800017c: 0a83 lsrs r3, r0, #10
+ 800017e: 428b cmp r3, r1
+ 8000180: d301 bcc.n 8000186 <__udivsi3+0x82>
+ 8000182: 028b lsls r3, r1, #10
+ 8000184: 1ac0 subs r0, r0, r3
+ 8000186: 4152 adcs r2, r2
+ 8000188: 0a43 lsrs r3, r0, #9
+ 800018a: 428b cmp r3, r1
+ 800018c: d301 bcc.n 8000192 <__udivsi3+0x8e>
+ 800018e: 024b lsls r3, r1, #9
+ 8000190: 1ac0 subs r0, r0, r3
+ 8000192: 4152 adcs r2, r2
+ 8000194: 0a03 lsrs r3, r0, #8
+ 8000196: 428b cmp r3, r1
+ 8000198: d301 bcc.n 800019e <__udivsi3+0x9a>
+ 800019a: 020b lsls r3, r1, #8
+ 800019c: 1ac0 subs r0, r0, r3
+ 800019e: 4152 adcs r2, r2
+ 80001a0: d2cd bcs.n 800013e <__udivsi3+0x3a>
+ 80001a2: 09c3 lsrs r3, r0, #7
+ 80001a4: 428b cmp r3, r1
+ 80001a6: d301 bcc.n 80001ac <__udivsi3+0xa8>
+ 80001a8: 01cb lsls r3, r1, #7
+ 80001aa: 1ac0 subs r0, r0, r3
+ 80001ac: 4152 adcs r2, r2
+ 80001ae: 0983 lsrs r3, r0, #6
+ 80001b0: 428b cmp r3, r1
+ 80001b2: d301 bcc.n 80001b8 <__udivsi3+0xb4>
+ 80001b4: 018b lsls r3, r1, #6
+ 80001b6: 1ac0 subs r0, r0, r3
+ 80001b8: 4152 adcs r2, r2
+ 80001ba: 0943 lsrs r3, r0, #5
+ 80001bc: 428b cmp r3, r1
+ 80001be: d301 bcc.n 80001c4 <__udivsi3+0xc0>
+ 80001c0: 014b lsls r3, r1, #5
+ 80001c2: 1ac0 subs r0, r0, r3
+ 80001c4: 4152 adcs r2, r2
+ 80001c6: 0903 lsrs r3, r0, #4
+ 80001c8: 428b cmp r3, r1
+ 80001ca: d301 bcc.n 80001d0 <__udivsi3+0xcc>
+ 80001cc: 010b lsls r3, r1, #4
+ 80001ce: 1ac0 subs r0, r0, r3
+ 80001d0: 4152 adcs r2, r2
+ 80001d2: 08c3 lsrs r3, r0, #3
+ 80001d4: 428b cmp r3, r1
+ 80001d6: d301 bcc.n 80001dc <__udivsi3+0xd8>
+ 80001d8: 00cb lsls r3, r1, #3
+ 80001da: 1ac0 subs r0, r0, r3
+ 80001dc: 4152 adcs r2, r2
+ 80001de: 0883 lsrs r3, r0, #2
+ 80001e0: 428b cmp r3, r1
+ 80001e2: d301 bcc.n 80001e8 <__udivsi3+0xe4>
+ 80001e4: 008b lsls r3, r1, #2
+ 80001e6: 1ac0 subs r0, r0, r3
+ 80001e8: 4152 adcs r2, r2
+ 80001ea: 0843 lsrs r3, r0, #1
+ 80001ec: 428b cmp r3, r1
+ 80001ee: d301 bcc.n 80001f4 <__udivsi3+0xf0>
+ 80001f0: 004b lsls r3, r1, #1
+ 80001f2: 1ac0 subs r0, r0, r3
+ 80001f4: 4152 adcs r2, r2
+ 80001f6: 1a41 subs r1, r0, r1
+ 80001f8: d200 bcs.n 80001fc <__udivsi3+0xf8>
+ 80001fa: 4601 mov r1, r0
+ 80001fc: 4152 adcs r2, r2
+ 80001fe: 4610 mov r0, r2
+ 8000200: 4770 bx lr
+ 8000202: e7ff b.n 8000204 <__udivsi3+0x100>
+ 8000204: b501 push {r0, lr}
+ 8000206: 2000 movs r0, #0
+ 8000208: f000 f806 bl 8000218 <__aeabi_idiv0>
+ 800020c: bd02 pop {r1, pc}
+ 800020e: 46c0 nop ; (mov r8, r8)
+
+08000210 <__aeabi_uidivmod>:
+ 8000210: 2900 cmp r1, #0
+ 8000212: d0f7 beq.n 8000204 <__udivsi3+0x100>
+ 8000214: e776 b.n 8000104 <__udivsi3>
+ 8000216: 4770 bx lr
+
+08000218 <__aeabi_idiv0>:
+ 8000218: 4770 bx lr
+ 800021a: 46c0 nop ; (mov r8, r8)
+
+0800021c <__aeabi_uldivmod>:
+ 800021c: 2b00 cmp r3, #0
+ 800021e: d111 bne.n 8000244 <__aeabi_uldivmod+0x28>
+ 8000220: 2a00 cmp r2, #0
+ 8000222: d10f bne.n 8000244 <__aeabi_uldivmod+0x28>
+ 8000224: 2900 cmp r1, #0
+ 8000226: d100 bne.n 800022a <__aeabi_uldivmod+0xe>
+ 8000228: 2800 cmp r0, #0
+ 800022a: d002 beq.n 8000232 <__aeabi_uldivmod+0x16>
+ 800022c: 2100 movs r1, #0
+ 800022e: 43c9 mvns r1, r1
+ 8000230: 0008 movs r0, r1
+ 8000232: b407 push {r0, r1, r2}
+ 8000234: 4802 ldr r0, [pc, #8] ; (8000240 <__aeabi_uldivmod+0x24>)
+ 8000236: a102 add r1, pc, #8 ; (adr r1, 8000240 <__aeabi_uldivmod+0x24>)
+ 8000238: 1840 adds r0, r0, r1
+ 800023a: 9002 str r0, [sp, #8]
+ 800023c: bd03 pop {r0, r1, pc}
+ 800023e: 46c0 nop ; (mov r8, r8)
+ 8000240: ffffffd9 .word 0xffffffd9
+ 8000244: b403 push {r0, r1}
+ 8000246: 4668 mov r0, sp
+ 8000248: b501 push {r0, lr}
+ 800024a: 9802 ldr r0, [sp, #8]
+ 800024c: f000 f806 bl 800025c <__udivmoddi4>
+ 8000250: 9b01 ldr r3, [sp, #4]
+ 8000252: 469e mov lr, r3
+ 8000254: b002 add sp, #8
+ 8000256: bc0c pop {r2, r3}
+ 8000258: 4770 bx lr
+ 800025a: 46c0 nop ; (mov r8, r8)
+
+0800025c <__udivmoddi4>:
+ 800025c: b5f0 push {r4, r5, r6, r7, lr}
+ 800025e: 4657 mov r7, sl
+ 8000260: 464e mov r6, r9
+ 8000262: 4645 mov r5, r8
+ 8000264: 46de mov lr, fp
+ 8000266: b5e0 push {r5, r6, r7, lr}
+ 8000268: 0004 movs r4, r0
+ 800026a: 000d movs r5, r1
+ 800026c: 4692 mov sl, r2
+ 800026e: 4699 mov r9, r3
+ 8000270: b083 sub sp, #12
+ 8000272: 428b cmp r3, r1
+ 8000274: d830 bhi.n 80002d8 <__udivmoddi4+0x7c>
+ 8000276: d02d beq.n 80002d4 <__udivmoddi4+0x78>
+ 8000278: 4649 mov r1, r9
+ 800027a: 4650 mov r0, sl
+ 800027c: f000 f8ba bl 80003f4 <__clzdi2>
+ 8000280: 0029 movs r1, r5
+ 8000282: 0006 movs r6, r0
+ 8000284: 0020 movs r0, r4
+ 8000286: f000 f8b5 bl 80003f4 <__clzdi2>
+ 800028a: 1a33 subs r3, r6, r0
+ 800028c: 4698 mov r8, r3
+ 800028e: 3b20 subs r3, #32
+ 8000290: 469b mov fp, r3
+ 8000292: d433 bmi.n 80002fc <__udivmoddi4+0xa0>
+ 8000294: 465a mov r2, fp
+ 8000296: 4653 mov r3, sl
+ 8000298: 4093 lsls r3, r2
+ 800029a: 4642 mov r2, r8
+ 800029c: 001f movs r7, r3
+ 800029e: 4653 mov r3, sl
+ 80002a0: 4093 lsls r3, r2
+ 80002a2: 001e movs r6, r3
+ 80002a4: 42af cmp r7, r5
+ 80002a6: d83a bhi.n 800031e <__udivmoddi4+0xc2>
+ 80002a8: 42af cmp r7, r5
+ 80002aa: d100 bne.n 80002ae <__udivmoddi4+0x52>
+ 80002ac: e078 b.n 80003a0 <__udivmoddi4+0x144>
+ 80002ae: 465b mov r3, fp
+ 80002b0: 1ba4 subs r4, r4, r6
+ 80002b2: 41bd sbcs r5, r7
+ 80002b4: 2b00 cmp r3, #0
+ 80002b6: da00 bge.n 80002ba <__udivmoddi4+0x5e>
+ 80002b8: e075 b.n 80003a6 <__udivmoddi4+0x14a>
+ 80002ba: 2200 movs r2, #0
+ 80002bc: 2300 movs r3, #0
+ 80002be: 9200 str r2, [sp, #0]
+ 80002c0: 9301 str r3, [sp, #4]
+ 80002c2: 2301 movs r3, #1
+ 80002c4: 465a mov r2, fp
+ 80002c6: 4093 lsls r3, r2
+ 80002c8: 9301 str r3, [sp, #4]
+ 80002ca: 2301 movs r3, #1
+ 80002cc: 4642 mov r2, r8
+ 80002ce: 4093 lsls r3, r2
+ 80002d0: 9300 str r3, [sp, #0]
+ 80002d2: e028 b.n 8000326 <__udivmoddi4+0xca>
+ 80002d4: 4282 cmp r2, r0
+ 80002d6: d9cf bls.n 8000278 <__udivmoddi4+0x1c>
+ 80002d8: 2200 movs r2, #0
+ 80002da: 2300 movs r3, #0
+ 80002dc: 9200 str r2, [sp, #0]
+ 80002de: 9301 str r3, [sp, #4]
+ 80002e0: 9b0c ldr r3, [sp, #48] ; 0x30
+ 80002e2: 2b00 cmp r3, #0
+ 80002e4: d001 beq.n 80002ea <__udivmoddi4+0x8e>
+ 80002e6: 601c str r4, [r3, #0]
+ 80002e8: 605d str r5, [r3, #4]
+ 80002ea: 9800 ldr r0, [sp, #0]
+ 80002ec: 9901 ldr r1, [sp, #4]
+ 80002ee: b003 add sp, #12
+ 80002f0: bcf0 pop {r4, r5, r6, r7}
+ 80002f2: 46bb mov fp, r7
+ 80002f4: 46b2 mov sl, r6
+ 80002f6: 46a9 mov r9, r5
+ 80002f8: 46a0 mov r8, r4
+ 80002fa: bdf0 pop {r4, r5, r6, r7, pc}
+ 80002fc: 4642 mov r2, r8
+ 80002fe: 2320 movs r3, #32
+ 8000300: 1a9b subs r3, r3, r2
+ 8000302: 4652 mov r2, sl
+ 8000304: 40da lsrs r2, r3
+ 8000306: 4641 mov r1, r8
+ 8000308: 0013 movs r3, r2
+ 800030a: 464a mov r2, r9
+ 800030c: 408a lsls r2, r1
+ 800030e: 0017 movs r7, r2
+ 8000310: 4642 mov r2, r8
+ 8000312: 431f orrs r7, r3
+ 8000314: 4653 mov r3, sl
+ 8000316: 4093 lsls r3, r2
+ 8000318: 001e movs r6, r3
+ 800031a: 42af cmp r7, r5
+ 800031c: d9c4 bls.n 80002a8 <__udivmoddi4+0x4c>
+ 800031e: 2200 movs r2, #0
+ 8000320: 2300 movs r3, #0
+ 8000322: 9200 str r2, [sp, #0]
+ 8000324: 9301 str r3, [sp, #4]
+ 8000326: 4643 mov r3, r8
+ 8000328: 2b00 cmp r3, #0
+ 800032a: d0d9 beq.n 80002e0 <__udivmoddi4+0x84>
+ 800032c: 07fb lsls r3, r7, #31
+ 800032e: 0872 lsrs r2, r6, #1
+ 8000330: 431a orrs r2, r3
+ 8000332: 4646 mov r6, r8
+ 8000334: 087b lsrs r3, r7, #1
+ 8000336: e00e b.n 8000356 <__udivmoddi4+0xfa>
+ 8000338: 42ab cmp r3, r5
+ 800033a: d101 bne.n 8000340 <__udivmoddi4+0xe4>
+ 800033c: 42a2 cmp r2, r4
+ 800033e: d80c bhi.n 800035a <__udivmoddi4+0xfe>
+ 8000340: 1aa4 subs r4, r4, r2
+ 8000342: 419d sbcs r5, r3
+ 8000344: 2001 movs r0, #1
+ 8000346: 1924 adds r4, r4, r4
+ 8000348: 416d adcs r5, r5
+ 800034a: 2100 movs r1, #0
+ 800034c: 3e01 subs r6, #1
+ 800034e: 1824 adds r4, r4, r0
+ 8000350: 414d adcs r5, r1
+ 8000352: 2e00 cmp r6, #0
+ 8000354: d006 beq.n 8000364 <__udivmoddi4+0x108>
+ 8000356: 42ab cmp r3, r5
+ 8000358: d9ee bls.n 8000338 <__udivmoddi4+0xdc>
+ 800035a: 3e01 subs r6, #1
+ 800035c: 1924 adds r4, r4, r4
+ 800035e: 416d adcs r5, r5
+ 8000360: 2e00 cmp r6, #0
+ 8000362: d1f8 bne.n 8000356 <__udivmoddi4+0xfa>
+ 8000364: 9800 ldr r0, [sp, #0]
+ 8000366: 9901 ldr r1, [sp, #4]
+ 8000368: 465b mov r3, fp
+ 800036a: 1900 adds r0, r0, r4
+ 800036c: 4169 adcs r1, r5
+ 800036e: 2b00 cmp r3, #0
+ 8000370: db24 blt.n 80003bc <__udivmoddi4+0x160>
+ 8000372: 002b movs r3, r5
+ 8000374: 465a mov r2, fp
+ 8000376: 4644 mov r4, r8
+ 8000378: 40d3 lsrs r3, r2
+ 800037a: 002a movs r2, r5
+ 800037c: 40e2 lsrs r2, r4
+ 800037e: 001c movs r4, r3
+ 8000380: 465b mov r3, fp
+ 8000382: 0015 movs r5, r2
+ 8000384: 2b00 cmp r3, #0
+ 8000386: db2a blt.n 80003de <__udivmoddi4+0x182>
+ 8000388: 0026 movs r6, r4
+ 800038a: 409e lsls r6, r3
+ 800038c: 0033 movs r3, r6
+ 800038e: 0026 movs r6, r4
+ 8000390: 4647 mov r7, r8
+ 8000392: 40be lsls r6, r7
+ 8000394: 0032 movs r2, r6
+ 8000396: 1a80 subs r0, r0, r2
+ 8000398: 4199 sbcs r1, r3
+ 800039a: 9000 str r0, [sp, #0]
+ 800039c: 9101 str r1, [sp, #4]
+ 800039e: e79f b.n 80002e0 <__udivmoddi4+0x84>
+ 80003a0: 42a3 cmp r3, r4
+ 80003a2: d8bc bhi.n 800031e <__udivmoddi4+0xc2>
+ 80003a4: e783 b.n 80002ae <__udivmoddi4+0x52>
+ 80003a6: 4642 mov r2, r8
+ 80003a8: 2320 movs r3, #32
+ 80003aa: 2100 movs r1, #0
+ 80003ac: 1a9b subs r3, r3, r2
+ 80003ae: 2200 movs r2, #0
+ 80003b0: 9100 str r1, [sp, #0]
+ 80003b2: 9201 str r2, [sp, #4]
+ 80003b4: 2201 movs r2, #1
+ 80003b6: 40da lsrs r2, r3
+ 80003b8: 9201 str r2, [sp, #4]
+ 80003ba: e786 b.n 80002ca <__udivmoddi4+0x6e>
+ 80003bc: 4642 mov r2, r8
+ 80003be: 2320 movs r3, #32
+ 80003c0: 1a9b subs r3, r3, r2
+ 80003c2: 002a movs r2, r5
+ 80003c4: 4646 mov r6, r8
+ 80003c6: 409a lsls r2, r3
+ 80003c8: 0023 movs r3, r4
+ 80003ca: 40f3 lsrs r3, r6
+ 80003cc: 4644 mov r4, r8
+ 80003ce: 4313 orrs r3, r2
+ 80003d0: 002a movs r2, r5
+ 80003d2: 40e2 lsrs r2, r4
+ 80003d4: 001c movs r4, r3
+ 80003d6: 465b mov r3, fp
+ 80003d8: 0015 movs r5, r2
+ 80003da: 2b00 cmp r3, #0
+ 80003dc: dad4 bge.n 8000388 <__udivmoddi4+0x12c>
+ 80003de: 4642 mov r2, r8
+ 80003e0: 002f movs r7, r5
+ 80003e2: 2320 movs r3, #32
+ 80003e4: 0026 movs r6, r4
+ 80003e6: 4097 lsls r7, r2
+ 80003e8: 1a9b subs r3, r3, r2
+ 80003ea: 40de lsrs r6, r3
+ 80003ec: 003b movs r3, r7
+ 80003ee: 4333 orrs r3, r6
+ 80003f0: e7cd b.n 800038e <__udivmoddi4+0x132>
+ 80003f2: 46c0 nop ; (mov r8, r8)
+
+080003f4 <__clzdi2>:
+ 80003f4: b510 push {r4, lr}
+ 80003f6: 2900 cmp r1, #0
+ 80003f8: d103 bne.n 8000402 <__clzdi2+0xe>
+ 80003fa: f000 f807 bl 800040c <__clzsi2>
+ 80003fe: 3020 adds r0, #32
+ 8000400: e002 b.n 8000408 <__clzdi2+0x14>
+ 8000402: 0008 movs r0, r1
+ 8000404: f000 f802 bl 800040c <__clzsi2>
+ 8000408: bd10 pop {r4, pc}
+ 800040a: 46c0 nop ; (mov r8, r8)
+
+0800040c <__clzsi2>:
+ 800040c: 211c movs r1, #28
+ 800040e: 2301 movs r3, #1
+ 8000410: 041b lsls r3, r3, #16
+ 8000412: 4298 cmp r0, r3
+ 8000414: d301 bcc.n 800041a <__clzsi2+0xe>
+ 8000416: 0c00 lsrs r0, r0, #16
+ 8000418: 3910 subs r1, #16
+ 800041a: 0a1b lsrs r3, r3, #8
+ 800041c: 4298 cmp r0, r3
+ 800041e: d301 bcc.n 8000424 <__clzsi2+0x18>
+ 8000420: 0a00 lsrs r0, r0, #8
+ 8000422: 3908 subs r1, #8
+ 8000424: 091b lsrs r3, r3, #4
+ 8000426: 4298 cmp r0, r3
+ 8000428: d301 bcc.n 800042e <__clzsi2+0x22>
+ 800042a: 0900 lsrs r0, r0, #4
+ 800042c: 3904 subs r1, #4
+ 800042e: a202 add r2, pc, #8 ; (adr r2, 8000438 <__clzsi2+0x2c>)
+ 8000430: 5c10 ldrb r0, [r2, r0]
+ 8000432: 1840 adds r0, r0, r1
+ 8000434: 4770 bx lr
+ 8000436: 46c0 nop ; (mov r8, r8)
+ 8000438: 02020304 .word 0x02020304
+ 800043c: 01010101 .word 0x01010101
+ ...
+
+08000448 :
+
+ADC_HandleTypeDef hadc1;
+
+/* ADC1 init function */
+void MX_ADC1_Init(void)
+{
+ 8000448: b580 push {r7, lr}
+ 800044a: b084 sub sp, #16
+ 800044c: af00 add r7, sp, #0
+
+ /* USER CODE BEGIN ADC1_Init 0 */
+
+ /* USER CODE END ADC1_Init 0 */
+
+ ADC_ChannelConfTypeDef sConfig = {0};
+ 800044e: 1d3b adds r3, r7, #4
+ 8000450: 0018 movs r0, r3
+ 8000452: 230c movs r3, #12
+ 8000454: 001a movs r2, r3
+ 8000456: 2100 movs r1, #0
+ 8000458: f006 ffb2 bl 80073c0
+
+ /* USER CODE END ADC1_Init 1 */
+
+ /** Configure the global features of the ADC (Clock, Resolution, Data Alignment and number of conversion)
+ */
+ hadc1.Instance = ADC1;
+ 800045c: 4b2b ldr r3, [pc, #172] ; (800050c )
+ 800045e: 4a2c ldr r2, [pc, #176] ; (8000510 )
+ 8000460: 601a str r2, [r3, #0]
+ hadc1.Init.ClockPrescaler = ADC_CLOCK_SYNC_PCLK_DIV4;
+ 8000462: 4b2a ldr r3, [pc, #168] ; (800050c )
+ 8000464: 2280 movs r2, #128 ; 0x80
+ 8000466: 0612 lsls r2, r2, #24
+ 8000468: 605a str r2, [r3, #4]
+ hadc1.Init.Resolution = ADC_RESOLUTION_12B;
+ 800046a: 4b28 ldr r3, [pc, #160] ; (800050c )
+ 800046c: 2200 movs r2, #0
+ 800046e: 609a str r2, [r3, #8]
+ hadc1.Init.DataAlign = ADC_DATAALIGN_RIGHT;
+ 8000470: 4b26 ldr r3, [pc, #152] ; (800050c )
+ 8000472: 2200 movs r2, #0
+ 8000474: 60da str r2, [r3, #12]
+ hadc1.Init.ScanConvMode = ADC_SCAN_DISABLE;
+ 8000476: 4b25 ldr r3, [pc, #148] ; (800050c )
+ 8000478: 2200 movs r2, #0
+ 800047a: 611a str r2, [r3, #16]
+ hadc1.Init.EOCSelection = ADC_EOC_SINGLE_CONV;
+ 800047c: 4b23 ldr r3, [pc, #140] ; (800050c )
+ 800047e: 2204 movs r2, #4
+ 8000480: 615a str r2, [r3, #20]
+ hadc1.Init.LowPowerAutoWait = DISABLE;
+ 8000482: 4b22 ldr r3, [pc, #136] ; (800050c )
+ 8000484: 2200 movs r2, #0
+ 8000486: 761a strb r2, [r3, #24]
+ hadc1.Init.LowPowerAutoPowerOff = DISABLE;
+ 8000488: 4b20 ldr r3, [pc, #128] ; (800050c )
+ 800048a: 2200 movs r2, #0
+ 800048c: 765a strb r2, [r3, #25]
+ hadc1.Init.ContinuousConvMode = DISABLE;
+ 800048e: 4b1f ldr r3, [pc, #124] ; (800050c )
+ 8000490: 2200 movs r2, #0
+ 8000492: 769a strb r2, [r3, #26]
+ hadc1.Init.NbrOfConversion = 1;
+ 8000494: 4b1d ldr r3, [pc, #116] ; (800050c )
+ 8000496: 2201 movs r2, #1
+ 8000498: 61da str r2, [r3, #28]
+ hadc1.Init.ExternalTrigConv = ADC_SOFTWARE_START;
+ 800049a: 4b1c ldr r3, [pc, #112] ; (800050c )
+ 800049c: 2200 movs r2, #0
+ 800049e: 625a str r2, [r3, #36] ; 0x24
+ hadc1.Init.ExternalTrigConvEdge = ADC_EXTERNALTRIGCONVEDGE_NONE;
+ 80004a0: 4b1a ldr r3, [pc, #104] ; (800050c )
+ 80004a2: 2200 movs r2, #0
+ 80004a4: 629a str r2, [r3, #40] ; 0x28
+ hadc1.Init.DMAContinuousRequests = DISABLE;
+ 80004a6: 4b19 ldr r3, [pc, #100] ; (800050c )
+ 80004a8: 222c movs r2, #44 ; 0x2c
+ 80004aa: 2100 movs r1, #0
+ 80004ac: 5499 strb r1, [r3, r2]
+ hadc1.Init.Overrun = ADC_OVR_DATA_PRESERVED;
+ 80004ae: 4b17 ldr r3, [pc, #92] ; (800050c )
+ 80004b0: 2200 movs r2, #0
+ 80004b2: 631a str r2, [r3, #48] ; 0x30
+ hadc1.Init.SamplingTimeCommon1 = ADC_SAMPLETIME_19CYCLES_5;
+ 80004b4: 4b15 ldr r3, [pc, #84] ; (800050c )
+ 80004b6: 2204 movs r2, #4
+ 80004b8: 635a str r2, [r3, #52] ; 0x34
+ hadc1.Init.SamplingTimeCommon2 = ADC_SAMPLETIME_19CYCLES_5;
+ 80004ba: 4b14 ldr r3, [pc, #80] ; (800050c )
+ 80004bc: 2204 movs r2, #4
+ 80004be: 639a str r2, [r3, #56] ; 0x38
+ hadc1.Init.OversamplingMode = DISABLE;
+ 80004c0: 4b12 ldr r3, [pc, #72] ; (800050c )
+ 80004c2: 223c movs r2, #60 ; 0x3c
+ 80004c4: 2100 movs r1, #0
+ 80004c6: 5499 strb r1, [r3, r2]
+ hadc1.Init.TriggerFrequencyMode = ADC_TRIGGER_FREQ_HIGH;
+ 80004c8: 4b10 ldr r3, [pc, #64] ; (800050c )
+ 80004ca: 2200 movs r2, #0
+ 80004cc: 64da str r2, [r3, #76] ; 0x4c
+ if (HAL_ADC_Init(&hadc1) != HAL_OK)
+ 80004ce: 4b0f ldr r3, [pc, #60] ; (800050c )
+ 80004d0: 0018 movs r0, r3
+ 80004d2: f001 fcb5 bl 8001e40
+ 80004d6: 1e03 subs r3, r0, #0
+ 80004d8: d001 beq.n 80004de
+ {
+ Error_Handler();
+ 80004da: f000 fb84 bl 8000be6
+ }
+
+ /** Configure Regular Channel
+ */
+ sConfig.Channel = ADC_CHANNEL_5;
+ 80004de: 1d3b adds r3, r7, #4
+ 80004e0: 4a0c ldr r2, [pc, #48] ; (8000514 )
+ 80004e2: 601a str r2, [r3, #0]
+ sConfig.Rank = ADC_REGULAR_RANK_1;
+ 80004e4: 1d3b adds r3, r7, #4
+ 80004e6: 2200 movs r2, #0
+ 80004e8: 605a str r2, [r3, #4]
+ sConfig.SamplingTime = ADC_SAMPLINGTIME_COMMON_1;
+ 80004ea: 1d3b adds r3, r7, #4
+ 80004ec: 2200 movs r2, #0
+ 80004ee: 609a str r2, [r3, #8]
+ if (HAL_ADC_ConfigChannel(&hadc1, &sConfig) != HAL_OK)
+ 80004f0: 1d3a adds r2, r7, #4
+ 80004f2: 4b06 ldr r3, [pc, #24] ; (800050c )
+ 80004f4: 0011 movs r1, r2
+ 80004f6: 0018 movs r0, r3
+ 80004f8: f001 fff6 bl 80024e8
+ 80004fc: 1e03 subs r3, r0, #0
+ 80004fe: d001 beq.n 8000504
+ {
+ Error_Handler();
+ 8000500: f000 fb71 bl 8000be6
+ }
+ /* USER CODE BEGIN ADC1_Init 2 */
+
+ /* USER CODE END ADC1_Init 2 */
+
+}
+ 8000504: 46c0 nop ; (mov r8, r8)
+ 8000506: 46bd mov sp, r7
+ 8000508: b004 add sp, #16
+ 800050a: bd80 pop {r7, pc}
+ 800050c: 20000034 .word 0x20000034
+ 8000510: 40012400 .word 0x40012400
+ 8000514: 14000020 .word 0x14000020
+
+08000518 :
+
+void HAL_ADC_MspInit(ADC_HandleTypeDef* adcHandle)
+{
+ 8000518: b590 push {r4, r7, lr}
+ 800051a: b095 sub sp, #84 ; 0x54
+ 800051c: af00 add r7, sp, #0
+ 800051e: 6078 str r0, [r7, #4]
+
+ GPIO_InitTypeDef GPIO_InitStruct = {0};
+ 8000520: 233c movs r3, #60 ; 0x3c
+ 8000522: 18fb adds r3, r7, r3
+ 8000524: 0018 movs r0, r3
+ 8000526: 2314 movs r3, #20
+ 8000528: 001a movs r2, r3
+ 800052a: 2100 movs r1, #0
+ 800052c: f006 ff48 bl 80073c0
+ RCC_PeriphCLKInitTypeDef PeriphClkInit = {0};
+ 8000530: 2414 movs r4, #20
+ 8000532: 193b adds r3, r7, r4
+ 8000534: 0018 movs r0, r3
+ 8000536: 2328 movs r3, #40 ; 0x28
+ 8000538: 001a movs r2, r3
+ 800053a: 2100 movs r1, #0
+ 800053c: f006 ff40 bl 80073c0
+ if(adcHandle->Instance==ADC1)
+ 8000540: 687b ldr r3, [r7, #4]
+ 8000542: 681b ldr r3, [r3, #0]
+ 8000544: 4a24 ldr r2, [pc, #144] ; (80005d8 )
+ 8000546: 4293 cmp r3, r2
+ 8000548: d141 bne.n 80005ce
+
+ /* USER CODE END ADC1_MspInit 0 */
+
+ /** Initializes the peripherals clocks
+ */
+ PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_ADC;
+ 800054a: 193b adds r3, r7, r4
+ 800054c: 2280 movs r2, #128 ; 0x80
+ 800054e: 01d2 lsls r2, r2, #7
+ 8000550: 601a str r2, [r3, #0]
+ PeriphClkInit.AdcClockSelection = RCC_ADCCLKSOURCE_SYSCLK;
+ 8000552: 193b adds r3, r7, r4
+ 8000554: 2200 movs r2, #0
+ 8000556: 61da str r2, [r3, #28]
+ if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
+ 8000558: 193b adds r3, r7, r4
+ 800055a: 0018 movs r0, r3
+ 800055c: f003 fe84 bl 8004268
+ 8000560: 1e03 subs r3, r0, #0
+ 8000562: d001 beq.n 8000568
+ {
+ Error_Handler();
+ 8000564: f000 fb3f bl 8000be6
+ }
+
+ /* ADC1 clock enable */
+ __HAL_RCC_ADC_CLK_ENABLE();
+ 8000568: 4b1c ldr r3, [pc, #112] ; (80005dc )
+ 800056a: 6c1a ldr r2, [r3, #64] ; 0x40
+ 800056c: 4b1b ldr r3, [pc, #108] ; (80005dc )
+ 800056e: 2180 movs r1, #128 ; 0x80
+ 8000570: 0349 lsls r1, r1, #13
+ 8000572: 430a orrs r2, r1
+ 8000574: 641a str r2, [r3, #64] ; 0x40
+ 8000576: 4b19 ldr r3, [pc, #100] ; (80005dc )
+ 8000578: 6c1a ldr r2, [r3, #64] ; 0x40
+ 800057a: 2380 movs r3, #128 ; 0x80
+ 800057c: 035b lsls r3, r3, #13
+ 800057e: 4013 ands r3, r2
+ 8000580: 613b str r3, [r7, #16]
+ 8000582: 693b ldr r3, [r7, #16]
+
+ __HAL_RCC_GPIOA_CLK_ENABLE();
+ 8000584: 4b15 ldr r3, [pc, #84] ; (80005dc )
+ 8000586: 6b5a ldr r2, [r3, #52] ; 0x34
+ 8000588: 4b14 ldr r3, [pc, #80] ; (80005dc )
+ 800058a: 2101 movs r1, #1
+ 800058c: 430a orrs r2, r1
+ 800058e: 635a str r2, [r3, #52] ; 0x34
+ 8000590: 4b12 ldr r3, [pc, #72] ; (80005dc )
+ 8000592: 6b5b ldr r3, [r3, #52] ; 0x34
+ 8000594: 2201 movs r2, #1
+ 8000596: 4013 ands r3, r2
+ 8000598: 60fb str r3, [r7, #12]
+ 800059a: 68fb ldr r3, [r7, #12]
+ /**ADC1 GPIO Configuration
+ PA5 ------> ADC1_IN5
+ */
+ GPIO_InitStruct.Pin = GPIO_PIN_5;
+ 800059c: 213c movs r1, #60 ; 0x3c
+ 800059e: 187b adds r3, r7, r1
+ 80005a0: 2220 movs r2, #32
+ 80005a2: 601a str r2, [r3, #0]
+ GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
+ 80005a4: 187b adds r3, r7, r1
+ 80005a6: 2203 movs r2, #3
+ 80005a8: 605a str r2, [r3, #4]
+ GPIO_InitStruct.Pull = GPIO_NOPULL;
+ 80005aa: 187b adds r3, r7, r1
+ 80005ac: 2200 movs r2, #0
+ 80005ae: 609a str r2, [r3, #8]
+ HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
+ 80005b0: 187a adds r2, r7, r1
+ 80005b2: 23a0 movs r3, #160 ; 0xa0
+ 80005b4: 05db lsls r3, r3, #23
+ 80005b6: 0011 movs r1, r2
+ 80005b8: 0018 movs r0, r3
+ 80005ba: f002 ffc3 bl 8003544
+
+ /* ADC1 interrupt Init */
+ HAL_NVIC_SetPriority(ADC1_IRQn, 0, 0);
+ 80005be: 2200 movs r2, #0
+ 80005c0: 2100 movs r1, #0
+ 80005c2: 200c movs r0, #12
+ 80005c4: f002 fc6e bl 8002ea4
+ HAL_NVIC_EnableIRQ(ADC1_IRQn);
+ 80005c8: 200c movs r0, #12
+ 80005ca: f002 fc80 bl 8002ece
+ /* USER CODE BEGIN ADC1_MspInit 1 */
+
+ /* USER CODE END ADC1_MspInit 1 */
+ }
+}
+ 80005ce: 46c0 nop ; (mov r8, r8)
+ 80005d0: 46bd mov sp, r7
+ 80005d2: b015 add sp, #84 ; 0x54
+ 80005d4: bd90 pop {r4, r7, pc}
+ 80005d6: 46c0 nop ; (mov r8, r8)
+ 80005d8: 40012400 .word 0x40012400
+ 80005dc: 40021000 .word 0x40021000
+
+080005e0 :
+static void App_UpdateEncoderRegister(void);
+static void App_ProcessZeroCommand(void);
+static void App_UpdateLed(void);
+
+void App_Init(void)
+{
+ 80005e0: b580 push {r7, lr}
+ 80005e2: af00 add r7, sp, #0
+ /* 上电默认:电机停止 */
+ HAL_GPIO_WritePin(IO_1_GPIO_Port, IO_1_Pin, GPIO_PIN_RESET);
+ 80005e4: 4b1d ldr r3, [pc, #116] ; (800065c )
+ 80005e6: 2200 movs r2, #0
+ 80005e8: 2101 movs r1, #1
+ 80005ea: 0018 movs r0, r3
+ 80005ec: f003 f90e bl 800380c
+ HAL_GPIO_WritePin(IO_2_GPIO_Port, IO_2_Pin, GPIO_PIN_RESET);
+ 80005f0: 23a0 movs r3, #160 ; 0xa0
+ 80005f2: 05db lsls r3, r3, #23
+ 80005f4: 2200 movs r2, #0
+ 80005f6: 2180 movs r1, #128 ; 0x80
+ 80005f8: 0018 movs r0, r3
+ 80005fa: f003 f907 bl 800380c
+
+ /* 状态灯初始熄灭 */
+ HAL_GPIO_WritePin(LED_GPIO_Port, LED_Pin, GPIO_PIN_RESET);
+ 80005fe: 2380 movs r3, #128 ; 0x80
+ 8000600: 005b lsls r3, r3, #1
+ 8000602: 4816 ldr r0, [pc, #88] ; (800065c )
+ 8000604: 2200 movs r2, #0
+ 8000606: 0019 movs r1, r3
+ 8000608: f003 f900 bl 800380c
+
+ /* 启动编码器读取 */
+ HAL_TIM_Encoder_Start(&htim2, TIM_CHANNEL_ALL);
+ 800060c: 4b14 ldr r3, [pc, #80] ; (8000660 )
+ 800060e: 213c movs r1, #60 ; 0x3c
+ 8000610: 0018 movs r0, r3
+ 8000612: f004 f981 bl 8004918
+
+ /* 启动 PWM 输出,并按当前寄存器值设置电流限幅占空比 */
+ HAL_TIM_PWM_Start(&htim3, TIM_CHANNEL_1);
+ 8000616: 4b13 ldr r3, [pc, #76] ; (8000664 )
+ 8000618: 2100 movs r1, #0
+ 800061a: 0018 movs r0, r3
+ 800061c: f003 fff6 bl 800460c
+ App_SetCurrentLimit(holdingRegisters[3]);
+ 8000620: 4b11 ldr r3, [pc, #68] ; (8000668 )
+ 8000622: 2206 movs r2, #6
+ 8000624: 5e9b ldrsh r3, [r3, r2]
+ 8000626: b29b uxth r3, r3
+ 8000628: 0018 movs r0, r3
+ 800062a: f000 f8fb bl 8000824
+
+ /* ADC校准 */
+ if (HAL_ADCEx_Calibration_Start(&hadc1) != HAL_OK)
+ 800062e: 4b0f ldr r3, [pc, #60] ; (800066c )
+ 8000630: 0018 movs r0, r3
+ 8000632: f002 fa95 bl 8002b60
+ 8000636: 1e03 subs r3, r0, #0
+ 8000638: d001 beq.n 800063e
+ {
+ Error_Handler();
+ 800063a: f000 fad4 bl 8000be6
+ }
+ /* 启动 ADC 中断采集 */
+ adcConversionDone = 0;
+ 800063e: 4b0c ldr r3, [pc, #48] ; (8000670 )
+ 8000640: 2200 movs r2, #0
+ 8000642: 701a strb r2, [r3, #0]
+ if (HAL_ADC_Start_IT(&hadc1) != HAL_OK)
+ 8000644: 4b09 ldr r3, [pc, #36] ; (800066c )
+ 8000646: 0018 movs r0, r3
+ 8000648: f001 fda2 bl 8002190
+ 800064c: 1e03 subs r3, r0, #0
+ 800064e: d001 beq.n 8000654
+ {
+ Error_Handler();
+ 8000650: f000 fac9 bl 8000be6
+ }
+}
+ 8000654: 46c0 nop ; (mov r8, r8)
+ 8000656: 46bd mov sp, r7
+ 8000658: bd80 pop {r7, pc}
+ 800065a: 46c0 nop ; (mov r8, r8)
+ 800065c: 50000400 .word 0x50000400
+ 8000660: 200002c4 .word 0x200002c4
+ 8000664: 20000310 .word 0x20000310
+ 8000668: 200000a4 .word 0x200000a4
+ 800066c: 20000034 .word 0x20000034
+ 8000670: 20000098 .word 0x20000098
+
+08000674 :
+
+void App_Process(void)
+{
+ 8000674: b580 push {r7, lr}
+ 8000676: af00 add r7, sp, #0
+ /* 先处理 Modbus 请求,可能更新寄存器 */
+ Modbus_Process();
+ 8000678: f000 fada bl 8000c30
+
+ App_UpdateMotor(); /*控制推杆上升下降包含自动和手动*/
+ 800067c: f000 f822 bl 80006c4
+ App_SetCurrentLimit(holdingRegisters[3]); /*限制推杆电机电流*/
+ 8000680: 4b0d ldr r3, [pc, #52] ; (80006b8 )
+ 8000682: 2206 movs r2, #6
+ 8000684: 5e9b ldrsh r3, [r3, r2]
+ 8000686: b29b uxth r3, r3
+ 8000688: 0018 movs r0, r3
+ 800068a: f000 f8cb bl 8000824
+ App_UpdateEncoderRegister(); /*获取定时器2计数值为编码器数值存到寄存器2*/
+ 800068e: f000 f8e5 bl 800085c
+ App_ProcessZeroCommand();/*设置当前位置为0*/
+ 8000692: f000 f8f7 bl 8000884
+ App_UpdateLed(); /*指示灯灯光切换*/
+ 8000696: f000 f913 bl 80008c0
+
+ /* ADC 单次转换完成后重新启动下一轮转换 */
+ if (adcConversionDone != 0)
+ 800069a: 4b08 ldr r3, [pc, #32] ; (80006bc )
+ 800069c: 781b ldrb r3, [r3, #0]
+ 800069e: b2db uxtb r3, r3
+ 80006a0: 2b00 cmp r3, #0
+ 80006a2: d006 beq.n 80006b2
+ {
+ adcConversionDone = 0;
+ 80006a4: 4b05 ldr r3, [pc, #20] ; (80006bc )
+ 80006a6: 2200 movs r2, #0
+ 80006a8: 701a strb r2, [r3, #0]
+ HAL_ADC_Start_IT(&hadc1);
+ 80006aa: 4b05 ldr r3, [pc, #20] ; (80006c0 )
+ 80006ac: 0018 movs r0, r3
+ 80006ae: f001 fd6f bl 8002190
+ }
+}
+ 80006b2: 46c0 nop ; (mov r8, r8)
+ 80006b4: 46bd mov sp, r7
+ 80006b6: bd80 pop {r7, pc}
+ 80006b8: 200000a4 .word 0x200000a4
+ 80006bc: 20000098 .word 0x20000098
+ 80006c0: 20000034 .word 0x20000034
+
+080006c4 :
+
+static void App_UpdateMotor(void)
+{
+ 80006c4: b580 push {r7, lr}
+ 80006c6: b086 sub sp, #24
+ 80006c8: af00 add r7, sp, #0
+ uint8_t io1 = (holdingRegisters[0] != 0) ? 1U : 0U;
+ 80006ca: 4b52 ldr r3, [pc, #328] ; (8000814 )
+ 80006cc: 2200 movs r2, #0
+ 80006ce: 5e9b ldrsh r3, [r3, r2]
+ 80006d0: 2b00 cmp r3, #0
+ 80006d2: d001 beq.n 80006d8
+ 80006d4: 2201 movs r2, #1
+ 80006d6: e000 b.n 80006da
+ 80006d8: 2200 movs r2, #0
+ 80006da: 2315 movs r3, #21
+ 80006dc: 18fb adds r3, r7, r3
+ 80006de: 701a strb r2, [r3, #0]
+ uint8_t io2 = (holdingRegisters[1] != 0) ? 1U : 0U;
+ 80006e0: 4b4c ldr r3, [pc, #304] ; (8000814 )
+ 80006e2: 2202 movs r2, #2
+ 80006e4: 5e9b ldrsh r3, [r3, r2]
+ 80006e6: 2b00 cmp r3, #0
+ 80006e8: d001 beq.n 80006ee
+ 80006ea: 2201 movs r2, #1
+ 80006ec: e000 b.n 80006f0
+ 80006ee: 2200 movs r2, #0
+ 80006f0: 2314 movs r3, #20
+ 80006f2: 18fb adds r3, r7, r3
+ 80006f4: 701a strb r2, [r3, #0]
+ uint8_t up = 0U;
+ 80006f6: 2317 movs r3, #23
+ 80006f8: 18fb adds r3, r7, r3
+ 80006fa: 2200 movs r2, #0
+ 80006fc: 701a strb r2, [r3, #0]
+ uint8_t down = 0U;
+ 80006fe: 2116 movs r1, #22
+ 8000700: 187b adds r3, r7, r1
+ 8000702: 2200 movs r2, #0
+ 8000704: 701a strb r2, [r3, #0]
+
+ /*自动运行至指定位置,最下面值最大,最上面为0*/
+ if (holdingRegisters[6] != 0 && holdingRegisters[7] < Encoder_Max)
+ 8000706: 4b43 ldr r3, [pc, #268] ; (8000814 )
+ 8000708: 220c movs r2, #12
+ 800070a: 5e9b ldrsh r3, [r3, r2]
+ 800070c: 2b00 cmp r3, #0
+ 800070e: d028 beq.n 8000762
+ 8000710: 4b40 ldr r3, [pc, #256] ; (8000814 )
+ 8000712: 220e movs r2, #14
+ 8000714: 5e9b ldrsh r3, [r3, r2]
+ 8000716: 4a40 ldr r2, [pc, #256] ; (8000818 )
+ 8000718: 4293 cmp r3, r2
+ 800071a: dc22 bgt.n 8000762
+ {
+ /* 自动定位模式:根据当前编码器值和目标位置决定运行方向 */
+ int32_t currentPosition = (int16_t)(uint16_t)__HAL_TIM_GET_COUNTER(&htim2);
+ 800071c: 4b3f ldr r3, [pc, #252] ; (800081c )
+ 800071e: 681b ldr r3, [r3, #0]
+ 8000720: 6a5b ldr r3, [r3, #36] ; 0x24
+ 8000722: b21b sxth r3, r3
+ 8000724: 613b str r3, [r7, #16]
+ int32_t targetPosition = (int16_t)holdingRegisters[7];
+ 8000726: 4b3b ldr r3, [pc, #236] ; (8000814 )
+ 8000728: 220e movs r2, #14
+ 800072a: 5e9b ldrsh r3, [r3, r2]
+ 800072c: 60fb str r3, [r7, #12]
+ int32_t positionError = targetPosition - currentPosition;
+ 800072e: 68fa ldr r2, [r7, #12]
+ 8000730: 693b ldr r3, [r7, #16]
+ 8000732: 1ad3 subs r3, r2, r3
+ 8000734: 60bb str r3, [r7, #8]
+ int32_t tolerance = (int32_t)holdingRegisters[AUTO_POSITION_TOLERANCE_REG]; /*寄存器9*/
+ 8000736: 4b37 ldr r3, [pc, #220] ; (8000814 )
+ 8000738: 2212 movs r2, #18
+ 800073a: 5e9b ldrsh r3, [r3, r2]
+ 800073c: 607b str r3, [r7, #4]
+
+ if (positionError > tolerance)
+ 800073e: 68ba ldr r2, [r7, #8]
+ 8000740: 687b ldr r3, [r7, #4]
+ 8000742: 429a cmp r2, r3
+ 8000744: dd03 ble.n 800074e
+ {
+ down = 1U;
+ 8000746: 187b adds r3, r7, r1
+ 8000748: 2201 movs r2, #1
+ 800074a: 701a strb r2, [r3, #0]
+ {
+ 800074c: e02a b.n 80007a4
+ }
+ else if (positionError < -tolerance)
+ 800074e: 687b ldr r3, [r7, #4]
+ 8000750: 425b negs r3, r3
+ 8000752: 68ba ldr r2, [r7, #8]
+ 8000754: 429a cmp r2, r3
+ 8000756: da25 bge.n 80007a4
+ {
+ up = 1U;
+ 8000758: 2317 movs r3, #23
+ 800075a: 18fb adds r3, r7, r3
+ 800075c: 2201 movs r2, #1
+ 800075e: 701a strb r2, [r3, #0]
+ {
+ 8000760: e020 b.n 80007a4
+ }
+ }
+ else
+ {
+ /* 手动模式:保持原有 holdingRegisters[0]、[1] 控制逻辑 */
+ up = (io1 != 0 && io2 == 0) ? 1U : 0U;
+ 8000762: 2315 movs r3, #21
+ 8000764: 18fb adds r3, r7, r3
+ 8000766: 781b ldrb r3, [r3, #0]
+ 8000768: 2b00 cmp r3, #0
+ 800076a: d006 beq.n 800077a
+ 800076c: 2314 movs r3, #20
+ 800076e: 18fb adds r3, r7, r3
+ 8000770: 781b ldrb r3, [r3, #0]
+ 8000772: 2b00 cmp r3, #0
+ 8000774: d101 bne.n 800077a
+ 8000776: 2201 movs r2, #1
+ 8000778: e000 b.n 800077c
+ 800077a: 2200 movs r2, #0
+ 800077c: 2317 movs r3, #23
+ 800077e: 18fb adds r3, r7, r3
+ 8000780: 701a strb r2, [r3, #0]
+ down = (io1 == 0 && io2 != 0) ? 1U : 0U;
+ 8000782: 2315 movs r3, #21
+ 8000784: 18fb adds r3, r7, r3
+ 8000786: 781b ldrb r3, [r3, #0]
+ 8000788: 2b00 cmp r3, #0
+ 800078a: d106 bne.n 800079a
+ 800078c: 2314 movs r3, #20
+ 800078e: 18fb adds r3, r7, r3
+ 8000790: 781b ldrb r3, [r3, #0]
+ 8000792: 2b00 cmp r3, #0
+ 8000794: d001 beq.n 800079a
+ 8000796: 2201 movs r2, #1
+ 8000798: e000 b.n 800079c
+ 800079a: 2200 movs r2, #0
+ 800079c: 2316 movs r3, #22
+ 800079e: 18fb adds r3, r7, r3
+ 80007a0: 701a strb r2, [r3, #0]
+ 80007a2: e000 b.n 80007a6
+ {
+ 80007a4: 46c0 nop ; (mov r8, r8)
+ }
+
+ if (up != 0)
+ 80007a6: 2317 movs r3, #23
+ 80007a8: 18fb adds r3, r7, r3
+ 80007aa: 781b ldrb r3, [r3, #0]
+ 80007ac: 2b00 cmp r3, #0
+ 80007ae: d00d beq.n 80007cc
+ {
+ /* 正转:IO_1 高,IO_2 低 */
+ HAL_GPIO_WritePin(IO_1_GPIO_Port, IO_1_Pin, GPIO_PIN_SET);
+ 80007b0: 4b1b ldr r3, [pc, #108] ; (8000820 )
+ 80007b2: 2201 movs r2, #1
+ 80007b4: 2101 movs r1, #1
+ 80007b6: 0018 movs r0, r3
+ 80007b8: f003 f828 bl 800380c
+ HAL_GPIO_WritePin(IO_2_GPIO_Port, IO_2_Pin, GPIO_PIN_RESET);
+ 80007bc: 23a0 movs r3, #160 ; 0xa0
+ 80007be: 05db lsls r3, r3, #23
+ 80007c0: 2200 movs r2, #0
+ 80007c2: 2180 movs r1, #128 ; 0x80
+ 80007c4: 0018 movs r0, r3
+ 80007c6: f003 f821 bl 800380c
+ {
+ /* 停止:两路都低 */
+ HAL_GPIO_WritePin(IO_1_GPIO_Port, IO_1_Pin, GPIO_PIN_RESET);
+ HAL_GPIO_WritePin(IO_2_GPIO_Port, IO_2_Pin, GPIO_PIN_RESET);
+ }
+}
+ 80007ca: e01f b.n 800080c
+ else if (down != 0)
+ 80007cc: 2316 movs r3, #22
+ 80007ce: 18fb adds r3, r7, r3
+ 80007d0: 781b ldrb r3, [r3, #0]
+ 80007d2: 2b00 cmp r3, #0
+ 80007d4: d00d beq.n 80007f2
+ HAL_GPIO_WritePin(IO_1_GPIO_Port, IO_1_Pin, GPIO_PIN_RESET);
+ 80007d6: 4b12 ldr r3, [pc, #72] ; (8000820 )
+ 80007d8: 2200 movs r2, #0
+ 80007da: 2101 movs r1, #1
+ 80007dc: 0018 movs r0, r3
+ 80007de: f003 f815 bl 800380c
+ HAL_GPIO_WritePin(IO_2_GPIO_Port, IO_2_Pin, GPIO_PIN_SET);
+ 80007e2: 23a0 movs r3, #160 ; 0xa0
+ 80007e4: 05db lsls r3, r3, #23
+ 80007e6: 2201 movs r2, #1
+ 80007e8: 2180 movs r1, #128 ; 0x80
+ 80007ea: 0018 movs r0, r3
+ 80007ec: f003 f80e bl 800380c
+}
+ 80007f0: e00c b.n 800080c
+ HAL_GPIO_WritePin(IO_1_GPIO_Port, IO_1_Pin, GPIO_PIN_RESET);
+ 80007f2: 4b0b ldr r3, [pc, #44] ; (8000820 )
+ 80007f4: 2200 movs r2, #0
+ 80007f6: 2101 movs r1, #1
+ 80007f8: 0018 movs r0, r3
+ 80007fa: f003 f807 bl 800380c
+ HAL_GPIO_WritePin(IO_2_GPIO_Port, IO_2_Pin, GPIO_PIN_RESET);
+ 80007fe: 23a0 movs r3, #160 ; 0xa0
+ 8000800: 05db lsls r3, r3, #23
+ 8000802: 2200 movs r2, #0
+ 8000804: 2180 movs r1, #128 ; 0x80
+ 8000806: 0018 movs r0, r3
+ 8000808: f003 f800 bl 800380c
+}
+ 800080c: 46c0 nop ; (mov r8, r8)
+ 800080e: 46bd mov sp, r7
+ 8000810: b006 add sp, #24
+ 8000812: bd80 pop {r7, pc}
+ 8000814: 200000a4 .word 0x200000a4
+ 8000818: 00001067 .word 0x00001067
+ 800081c: 200002c4 .word 0x200002c4
+ 8000820: 50000400 .word 0x50000400
+
+08000824 :
+
+static void App_SetCurrentLimit(uint16_t duty)
+{
+ 8000824: b580 push {r7, lr}
+ 8000826: b082 sub sp, #8
+ 8000828: af00 add r7, sp, #0
+ 800082a: 0002 movs r2, r0
+ 800082c: 1dbb adds r3, r7, #6
+ 800082e: 801a strh r2, [r3, #0]
+ if (duty < PWM_DUTY_MIN || duty > PWM_DUTY_MAX)
+ 8000830: 1dbb adds r3, r7, #6
+ 8000832: 881b ldrh r3, [r3, #0]
+ 8000834: 2b00 cmp r3, #0
+ 8000836: d003 beq.n 8000840
+ 8000838: 1dbb adds r3, r7, #6
+ 800083a: 881b ldrh r3, [r3, #0]
+ 800083c: 2b63 cmp r3, #99 ; 0x63
+ 800083e: d902 bls.n 8000846
+ {
+ duty = PWM_DUTY_DEFAULT;
+ 8000840: 1dbb adds r3, r7, #6
+ 8000842: 2263 movs r2, #99 ; 0x63
+ 8000844: 801a strh r2, [r3, #0]
+ }
+
+ __HAL_TIM_SET_COMPARE(&htim3, TIM_CHANNEL_1, duty);
+ 8000846: 4b04 ldr r3, [pc, #16] ; (8000858 )
+ 8000848: 681b ldr r3, [r3, #0]
+ 800084a: 1dba adds r2, r7, #6
+ 800084c: 8812 ldrh r2, [r2, #0]
+ 800084e: 635a str r2, [r3, #52] ; 0x34
+}
+ 8000850: 46c0 nop ; (mov r8, r8)
+ 8000852: 46bd mov sp, r7
+ 8000854: b002 add sp, #8
+ 8000856: bd80 pop {r7, pc}
+ 8000858: 20000310 .word 0x20000310
+
+0800085c :
+
+static void App_UpdateEncoderRegister(void)
+{
+ 800085c: b580 push {r7, lr}
+ 800085e: b082 sub sp, #8
+ 8000860: af00 add r7, sp, #0
+ int32_t enc = (int32_t)__HAL_TIM_GET_COUNTER(&htim2);
+ 8000862: 4b06 ldr r3, [pc, #24] ; (800087c )
+ 8000864: 681b ldr r3, [r3, #0]
+ 8000866: 6a5b ldr r3, [r3, #36] ; 0x24
+ 8000868: 607b str r3, [r7, #4]
+ //holdingRegisters[2] = (uint16_t)(int16_t)enc;
+ holdingRegisters[2] = (int16_t)enc;
+ 800086a: 687b ldr r3, [r7, #4]
+ 800086c: b21a sxth r2, r3
+ 800086e: 4b04 ldr r3, [pc, #16] ; (8000880 )
+ 8000870: 809a strh r2, [r3, #4]
+}
+ 8000872: 46c0 nop ; (mov r8, r8)
+ 8000874: 46bd mov sp, r7
+ 8000876: b002 add sp, #8
+ 8000878: bd80 pop {r7, pc}
+ 800087a: 46c0 nop ; (mov r8, r8)
+ 800087c: 200002c4 .word 0x200002c4
+ 8000880: 200000a4 .word 0x200000a4
+
+08000884 :
+
+static void App_ProcessZeroCommand(void)
+{
+ 8000884: b580 push {r7, lr}
+ 8000886: af00 add r7, sp, #0
+ if (holdingRegisters[5] != lastRegister5)
+ 8000888: 4b0a ldr r3, [pc, #40] ; (80008b4 )
+ 800088a: 220a movs r2, #10
+ 800088c: 5e9b ldrsh r3, [r3, r2]
+ 800088e: 001a movs r2, r3
+ 8000890: 4b09 ldr r3, [pc, #36] ; (80008b8 )
+ 8000892: 881b ldrh r3, [r3, #0]
+ 8000894: 429a cmp r2, r3
+ 8000896: d009 beq.n 80008ac
+ {
+ lastRegister5 = holdingRegisters[5];
+ 8000898: 4b06 ldr r3, [pc, #24] ; (80008b4 )
+ 800089a: 220a movs r2, #10
+ 800089c: 5e9b ldrsh r3, [r3, r2]
+ 800089e: b29a uxth r2, r3
+ 80008a0: 4b05 ldr r3, [pc, #20] ; (80008b8 )
+ 80008a2: 801a strh r2, [r3, #0]
+ __HAL_TIM_SET_COUNTER(&htim2, 0);
+ 80008a4: 4b05 ldr r3, [pc, #20] ; (80008bc )
+ 80008a6: 681b ldr r3, [r3, #0]
+ 80008a8: 2200 movs r2, #0
+ 80008aa: 625a str r2, [r3, #36] ; 0x24
+ }
+}
+ 80008ac: 46c0 nop ; (mov r8, r8)
+ 80008ae: 46bd mov sp, r7
+ 80008b0: bd80 pop {r7, pc}
+ 80008b2: 46c0 nop ; (mov r8, r8)
+ 80008b4: 200000a4 .word 0x200000a4
+ 80008b8: 2000009a .word 0x2000009a
+ 80008bc: 200002c4 .word 0x200002c4
+
+080008c0 :
+
+static void App_UpdateLed(void)
+{
+ 80008c0: b580 push {r7, lr}
+ 80008c2: b086 sub sp, #24
+ 80008c4: af00 add r7, sp, #0
+ static uint32_t lastToggle = 0;
+ static GPIO_PinState ledState = GPIO_PIN_RESET;
+
+ uint8_t io1 = (holdingRegisters[0] != 0) ? 1U : 0U;
+ 80008c6: 4b34 ldr r3, [pc, #208] ; (8000998 )
+ 80008c8: 2200 movs r2, #0
+ 80008ca: 5e9b ldrsh r3, [r3, r2]
+ 80008cc: 2b00 cmp r3, #0
+ 80008ce: d001 beq.n 80008d4
+ 80008d0: 2201 movs r2, #1
+ 80008d2: e000 b.n 80008d6
+ 80008d4: 2200 movs r2, #0
+ 80008d6: 230f movs r3, #15
+ 80008d8: 18fb adds r3, r7, r3
+ 80008da: 701a strb r2, [r3, #0]
+ uint8_t io2 = (holdingRegisters[1] != 0) ? 1U : 0U;
+ 80008dc: 4b2e ldr r3, [pc, #184] ; (8000998 )
+ 80008de: 2202 movs r2, #2
+ 80008e0: 5e9b ldrsh r3, [r3, r2]
+ 80008e2: 2b00 cmp r3, #0
+ 80008e4: d001 beq.n 80008ea
+ 80008e6: 2201 movs r2, #1
+ 80008e8: e000 b.n 80008ec
+ 80008ea: 2200 movs r2, #0
+ 80008ec: 210e movs r1, #14
+ 80008ee: 187b adds r3, r7, r1
+ 80008f0: 701a strb r2, [r3, #0]
+ uint32_t onTime;
+ uint32_t offTime;
+ uint32_t period;
+ uint32_t elapsed;
+
+ if (io1 != 0 && io2 == 0)
+ 80008f2: 230f movs r3, #15
+ 80008f4: 18fb adds r3, r7, r3
+ 80008f6: 781b ldrb r3, [r3, #0]
+ 80008f8: 2b00 cmp r3, #0
+ 80008fa: d009 beq.n 8000910
+ 80008fc: 187b adds r3, r7, r1
+ 80008fe: 781b ldrb r3, [r3, #0]
+ 8000900: 2b00 cmp r3, #0
+ 8000902: d105 bne.n 8000910
+ {
+ onTime = LED_ON_FORWARD_MS;
+ 8000904: 23c8 movs r3, #200 ; 0xc8
+ 8000906: 009b lsls r3, r3, #2
+ 8000908: 617b str r3, [r7, #20]
+ offTime = LED_OFF_FORWARD_MS;
+ 800090a: 23c8 movs r3, #200 ; 0xc8
+ 800090c: 613b str r3, [r7, #16]
+ 800090e: e015 b.n 800093c
+ }
+ else if (io1 == 0 && io2 != 0)
+ 8000910: 230f movs r3, #15
+ 8000912: 18fb adds r3, r7, r3
+ 8000914: 781b ldrb r3, [r3, #0]
+ 8000916: 2b00 cmp r3, #0
+ 8000918: d10a bne.n 8000930
+ 800091a: 230e movs r3, #14
+ 800091c: 18fb adds r3, r7, r3
+ 800091e: 781b ldrb r3, [r3, #0]
+ 8000920: 2b00 cmp r3, #0
+ 8000922: d005 beq.n 8000930
+ {
+ onTime = LED_ON_REVERSE_MS;
+ 8000924: 23c8 movs r3, #200 ; 0xc8
+ 8000926: 617b str r3, [r7, #20]
+ offTime = LED_OFF_REVERSE_MS;
+ 8000928: 23c8 movs r3, #200 ; 0xc8
+ 800092a: 009b lsls r3, r3, #2
+ 800092c: 613b str r3, [r7, #16]
+ 800092e: e005 b.n 800093c
+ }
+ else
+ {
+ onTime = LED_ON_STOP_MS;
+ 8000930: 23fa movs r3, #250 ; 0xfa
+ 8000932: 005b lsls r3, r3, #1
+ 8000934: 617b str r3, [r7, #20]
+ offTime = LED_OFF_STOP_MS;
+ 8000936: 23fa movs r3, #250 ; 0xfa
+ 8000938: 005b lsls r3, r3, #1
+ 800093a: 613b str r3, [r7, #16]
+ }
+
+ period = (ledState == GPIO_PIN_SET) ? onTime : offTime;
+ 800093c: 4b17 ldr r3, [pc, #92] ; (800099c )
+ 800093e: 781b ldrb r3, [r3, #0]
+ 8000940: 2b01 cmp r3, #1
+ 8000942: d101 bne.n 8000948
+ 8000944: 697b ldr r3, [r7, #20]
+ 8000946: e000 b.n 800094a
+ 8000948: 693b ldr r3, [r7, #16]
+ 800094a: 60bb str r3, [r7, #8]
+ elapsed = HAL_GetTick() - lastToggle;
+ 800094c: f001 f90a bl 8001b64
+ 8000950: 0002 movs r2, r0
+ 8000952: 4b13 ldr r3, [pc, #76] ; (80009a0 )
+ 8000954: 681b ldr r3, [r3, #0]
+ 8000956: 1ad3 subs r3, r2, r3
+ 8000958: 607b str r3, [r7, #4]
+
+ if (elapsed >= period)
+ 800095a: 687a ldr r2, [r7, #4]
+ 800095c: 68bb ldr r3, [r7, #8]
+ 800095e: 429a cmp r2, r3
+ 8000960: d315 bcc.n 800098e
+ {
+ ledState = (ledState == GPIO_PIN_SET) ? GPIO_PIN_RESET : GPIO_PIN_SET;
+ 8000962: 4b0e ldr r3, [pc, #56] ; (800099c )
+ 8000964: 781b ldrb r3, [r3, #0]
+ 8000966: 3b01 subs r3, #1
+ 8000968: 1e5a subs r2, r3, #1
+ 800096a: 4193 sbcs r3, r2
+ 800096c: b2db uxtb r3, r3
+ 800096e: 001a movs r2, r3
+ 8000970: 4b0a ldr r3, [pc, #40] ; (800099c )
+ 8000972: 701a strb r2, [r3, #0]
+ HAL_GPIO_WritePin(LED_GPIO_Port, LED_Pin, ledState);
+ 8000974: 4b09 ldr r3, [pc, #36] ; (800099c )
+ 8000976: 781a ldrb r2, [r3, #0]
+ 8000978: 2380 movs r3, #128 ; 0x80
+ 800097a: 005b lsls r3, r3, #1
+ 800097c: 4809 ldr r0, [pc, #36] ; (80009a4 )
+ 800097e: 0019 movs r1, r3
+ 8000980: f002 ff44 bl 800380c
+ lastToggle = HAL_GetTick();
+ 8000984: f001 f8ee bl 8001b64
+ 8000988: 0002 movs r2, r0
+ 800098a: 4b05 ldr r3, [pc, #20] ; (80009a0 )
+ 800098c: 601a str r2, [r3, #0]
+ }
+}
+ 800098e: 46c0 nop ; (mov r8, r8)
+ 8000990: 46bd mov sp, r7
+ 8000992: b006 add sp, #24
+ 8000994: bd80 pop {r7, pc}
+ 8000996: 46c0 nop ; (mov r8, r8)
+ 8000998: 200000a4 .word 0x200000a4
+ 800099c: 2000009c .word 0x2000009c
+ 80009a0: 200000a0 .word 0x200000a0
+ 80009a4: 50000400 .word 0x50000400
+
+080009a8 :
+
+/* ADC 转换完成中断回调:把采样电压换算为电流(mA) */
+void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef *hadc)
+{
+ 80009a8: b580 push {r7, lr}
+ 80009aa: b086 sub sp, #24
+ 80009ac: af00 add r7, sp, #0
+ 80009ae: 6078 str r0, [r7, #4]
+ if (hadc->Instance != ADC1)
+ 80009b0: 687b ldr r3, [r7, #4]
+ 80009b2: 681b ldr r3, [r3, #0]
+ 80009b4: 4a16 ldr r2, [pc, #88] ; (8000a10 )
+ 80009b6: 4293 cmp r3, r2
+ 80009b8: d126 bne.n 8000a08
+ {
+ return;
+ }
+
+ uint32_t raw = HAL_ADC_GetValue(&hadc1);
+ 80009ba: 4b16 ldr r3, [pc, #88] ; (8000a14 )
+ 80009bc: 0018 movs r0, r3
+ 80009be: f001 fc5f bl 8002280
+ 80009c2: 0003 movs r3, r0
+ 80009c4: 613b str r3, [r7, #16]
+ uint32_t voltage_mv = (raw * ADC_REFERENCE_MV) / ADC_MAX_CODE;
+ 80009c6: 693b ldr r3, [r7, #16]
+ 80009c8: 4a13 ldr r2, [pc, #76] ; (8000a18 )
+ 80009ca: 4353 muls r3, r2
+ 80009cc: 4913 ldr r1, [pc, #76] ; (8000a1c )
+ 80009ce: 0018 movs r0, r3
+ 80009d0: f7ff fb98 bl 8000104 <__udivsi3>
+ 80009d4: 0003 movs r3, r0
+ 80009d6: 60fb str r3, [r7, #12]
+ uint16_t current_ma = (uint16_t)voltage_mv;
+ 80009d8: 2116 movs r1, #22
+ 80009da: 187b adds r3, r7, r1
+ 80009dc: 68fa ldr r2, [r7, #12]
+ 80009de: 801a strh r2, [r3, #0]
+
+ if (current_ma > CURRENT_MAX_MA)
+ 80009e0: 187b adds r3, r7, r1
+ 80009e2: 881a ldrh r2, [r3, #0]
+ 80009e4: 23fa movs r3, #250 ; 0xfa
+ 80009e6: 00db lsls r3, r3, #3
+ 80009e8: 429a cmp r2, r3
+ 80009ea: d903 bls.n 80009f4
+ {
+ current_ma = CURRENT_MAX_MA;
+ 80009ec: 187b adds r3, r7, r1
+ 80009ee: 22fa movs r2, #250 ; 0xfa
+ 80009f0: 00d2 lsls r2, r2, #3
+ 80009f2: 801a strh r2, [r3, #0]
+ }
+
+ holdingRegisters[4] = current_ma;
+ 80009f4: 2316 movs r3, #22
+ 80009f6: 18fb adds r3, r7, r3
+ 80009f8: 2200 movs r2, #0
+ 80009fa: 5e9a ldrsh r2, [r3, r2]
+ 80009fc: 4b08 ldr r3, [pc, #32] ; (8000a20 )
+ 80009fe: 811a strh r2, [r3, #8]
+ adcConversionDone = 1;
+ 8000a00: 4b08 ldr r3, [pc, #32] ; (8000a24 )
+ 8000a02: 2201 movs r2, #1
+ 8000a04: 701a strb r2, [r3, #0]
+ 8000a06: e000 b.n 8000a0a
+ return;
+ 8000a08: 46c0 nop ; (mov r8, r8)
+}
+ 8000a0a: 46bd mov sp, r7
+ 8000a0c: b006 add sp, #24
+ 8000a0e: bd80 pop {r7, pc}
+ 8000a10: 40012400 .word 0x40012400
+ 8000a14: 20000034 .word 0x20000034
+ 8000a18: 00000ce4 .word 0x00000ce4
+ 8000a1c: 00000fff .word 0x00000fff
+ 8000a20: 200000a4 .word 0x200000a4
+ 8000a24: 20000098 .word 0x20000098
+
+08000a28 :
+
+/**
+ * Enable DMA controller clock
+ */
+void MX_DMA_Init(void)
+{
+ 8000a28: b580 push {r7, lr}
+ 8000a2a: b082 sub sp, #8
+ 8000a2c: af00 add r7, sp, #0
+
+ /* DMA controller clock enable */
+ __HAL_RCC_DMA1_CLK_ENABLE();
+ 8000a2e: 4b0c ldr r3, [pc, #48] ; (8000a60 )
+ 8000a30: 6b9a ldr r2, [r3, #56] ; 0x38
+ 8000a32: 4b0b ldr r3, [pc, #44] ; (8000a60 )
+ 8000a34: 2101 movs r1, #1
+ 8000a36: 430a orrs r2, r1
+ 8000a38: 639a str r2, [r3, #56] ; 0x38
+ 8000a3a: 4b09 ldr r3, [pc, #36] ; (8000a60 )
+ 8000a3c: 6b9b ldr r3, [r3, #56] ; 0x38
+ 8000a3e: 2201 movs r2, #1
+ 8000a40: 4013 ands r3, r2
+ 8000a42: 607b str r3, [r7, #4]
+ 8000a44: 687b ldr r3, [r7, #4]
+
+ /* DMA interrupt init */
+ /* DMA1_Channel1_IRQn interrupt configuration */
+ HAL_NVIC_SetPriority(DMA1_Channel1_IRQn, 0, 0);
+ 8000a46: 2200 movs r2, #0
+ 8000a48: 2100 movs r1, #0
+ 8000a4a: 2009 movs r0, #9
+ 8000a4c: f002 fa2a bl 8002ea4
+ HAL_NVIC_EnableIRQ(DMA1_Channel1_IRQn);
+ 8000a50: 2009 movs r0, #9
+ 8000a52: f002 fa3c bl 8002ece
+
+}
+ 8000a56: 46c0 nop ; (mov r8, r8)
+ 8000a58: 46bd mov sp, r7
+ 8000a5a: b002 add sp, #8
+ 8000a5c: bd80 pop {r7, pc}
+ 8000a5e: 46c0 nop ; (mov r8, r8)
+ 8000a60: 40021000 .word 0x40021000
+
+08000a64 :
+ * Output
+ * EVENT_OUT
+ * EXTI
+*/
+void MX_GPIO_Init(void)
+{
+ 8000a64: b590 push {r4, r7, lr}
+ 8000a66: b089 sub sp, #36 ; 0x24
+ 8000a68: af00 add r7, sp, #0
+
+ GPIO_InitTypeDef GPIO_InitStruct = {0};
+ 8000a6a: 240c movs r4, #12
+ 8000a6c: 193b adds r3, r7, r4
+ 8000a6e: 0018 movs r0, r3
+ 8000a70: 2314 movs r3, #20
+ 8000a72: 001a movs r2, r3
+ 8000a74: 2100 movs r1, #0
+ 8000a76: f006 fca3 bl 80073c0
+
+ /* GPIO Ports Clock Enable */
+ __HAL_RCC_GPIOA_CLK_ENABLE();
+ 8000a7a: 4b28 ldr r3, [pc, #160] ; (8000b1c )
+ 8000a7c: 6b5a ldr r2, [r3, #52] ; 0x34
+ 8000a7e: 4b27 ldr r3, [pc, #156] ; (8000b1c )
+ 8000a80: 2101 movs r1, #1
+ 8000a82: 430a orrs r2, r1
+ 8000a84: 635a str r2, [r3, #52] ; 0x34
+ 8000a86: 4b25 ldr r3, [pc, #148] ; (8000b1c )
+ 8000a88: 6b5b ldr r3, [r3, #52] ; 0x34
+ 8000a8a: 2201 movs r2, #1
+ 8000a8c: 4013 ands r3, r2
+ 8000a8e: 60bb str r3, [r7, #8]
+ 8000a90: 68bb ldr r3, [r7, #8]
+ __HAL_RCC_GPIOB_CLK_ENABLE();
+ 8000a92: 4b22 ldr r3, [pc, #136] ; (8000b1c )
+ 8000a94: 6b5a ldr r2, [r3, #52] ; 0x34
+ 8000a96: 4b21 ldr r3, [pc, #132] ; (8000b1c )
+ 8000a98: 2102 movs r1, #2
+ 8000a9a: 430a orrs r2, r1
+ 8000a9c: 635a str r2, [r3, #52] ; 0x34
+ 8000a9e: 4b1f ldr r3, [pc, #124] ; (8000b1c )
+ 8000aa0: 6b5b ldr r3, [r3, #52] ; 0x34
+ 8000aa2: 2202 movs r2, #2
+ 8000aa4: 4013 ands r3, r2
+ 8000aa6: 607b str r3, [r7, #4]
+ 8000aa8: 687b ldr r3, [r7, #4]
+
+ /*Configure GPIO pin Output Level */
+ HAL_GPIO_WritePin(GPIOA, DIR_Pin|IO_2_Pin, GPIO_PIN_RESET);
+ 8000aaa: 23a0 movs r3, #160 ; 0xa0
+ 8000aac: 05db lsls r3, r3, #23
+ 8000aae: 2200 movs r2, #0
+ 8000ab0: 2190 movs r1, #144 ; 0x90
+ 8000ab2: 0018 movs r0, r3
+ 8000ab4: f002 feaa bl 800380c
+
+ /*Configure GPIO pin Output Level */
+ HAL_GPIO_WritePin(GPIOB, IO_1_Pin|LED_Pin, GPIO_PIN_RESET);
+ 8000ab8: 2302 movs r3, #2
+ 8000aba: 33ff adds r3, #255 ; 0xff
+ 8000abc: 4818 ldr r0, [pc, #96] ; (8000b20 )
+ 8000abe: 2200 movs r2, #0
+ 8000ac0: 0019 movs r1, r3
+ 8000ac2: f002 fea3 bl 800380c
+
+ /*Configure GPIO pins : PAPin PAPin */
+ GPIO_InitStruct.Pin = DIR_Pin|IO_2_Pin;
+ 8000ac6: 193b adds r3, r7, r4
+ 8000ac8: 2290 movs r2, #144 ; 0x90
+ 8000aca: 601a str r2, [r3, #0]
+ GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
+ 8000acc: 193b adds r3, r7, r4
+ 8000ace: 2201 movs r2, #1
+ 8000ad0: 605a str r2, [r3, #4]
+ GPIO_InitStruct.Pull = GPIO_NOPULL;
+ 8000ad2: 193b adds r3, r7, r4
+ 8000ad4: 2200 movs r2, #0
+ 8000ad6: 609a str r2, [r3, #8]
+ GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
+ 8000ad8: 193b adds r3, r7, r4
+ 8000ada: 2200 movs r2, #0
+ 8000adc: 60da str r2, [r3, #12]
+ HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
+ 8000ade: 193a adds r2, r7, r4
+ 8000ae0: 23a0 movs r3, #160 ; 0xa0
+ 8000ae2: 05db lsls r3, r3, #23
+ 8000ae4: 0011 movs r1, r2
+ 8000ae6: 0018 movs r0, r3
+ 8000ae8: f002 fd2c bl 8003544
+
+ /*Configure GPIO pins : PBPin PBPin */
+ GPIO_InitStruct.Pin = IO_1_Pin|LED_Pin;
+ 8000aec: 0021 movs r1, r4
+ 8000aee: 187b adds r3, r7, r1
+ 8000af0: 2202 movs r2, #2
+ 8000af2: 32ff adds r2, #255 ; 0xff
+ 8000af4: 601a str r2, [r3, #0]
+ GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
+ 8000af6: 187b adds r3, r7, r1
+ 8000af8: 2201 movs r2, #1
+ 8000afa: 605a str r2, [r3, #4]
+ GPIO_InitStruct.Pull = GPIO_NOPULL;
+ 8000afc: 187b adds r3, r7, r1
+ 8000afe: 2200 movs r2, #0
+ 8000b00: 609a str r2, [r3, #8]
+ GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
+ 8000b02: 187b adds r3, r7, r1
+ 8000b04: 2200 movs r2, #0
+ 8000b06: 60da str r2, [r3, #12]
+ HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
+ 8000b08: 187b adds r3, r7, r1
+ 8000b0a: 4a05 ldr r2, [pc, #20] ; (8000b20 )
+ 8000b0c: 0019 movs r1, r3
+ 8000b0e: 0010 movs r0, r2
+ 8000b10: f002 fd18 bl 8003544
+
+}
+ 8000b14: 46c0 nop ; (mov r8, r8)
+ 8000b16: 46bd mov sp, r7
+ 8000b18: b009 add sp, #36 ; 0x24
+ 8000b1a: bd90 pop {r4, r7, pc}
+ 8000b1c: 40021000 .word 0x40021000
+ 8000b20: 50000400 .word 0x50000400
+
+08000b24 :
+/**
+ * @brief The application entry point.
+ * @retval int
+ */
+int main(void)
+{
+ 8000b24: b580 push {r7, lr}
+ 8000b26: af00 add r7, sp, #0
+ /* USER CODE END 1 */
+
+ /* MCU Configuration--------------------------------------------------------*/
+
+ /* Reset of all peripherals, Initializes the Flash interface and the Systick. */
+ HAL_Init();
+ 8000b28: f000 ffa0 bl 8001a6c
+ /* USER CODE BEGIN Init */
+
+ /* USER CODE END Init */
+
+ /* Configure the system clock */
+ SystemClock_Config();
+ 8000b2c: f000 f813 bl 8000b56
+ /* USER CODE BEGIN SysInit */
+
+ /* USER CODE END SysInit */
+
+ /* Initialize all configured peripherals */
+ MX_GPIO_Init();
+ 8000b30: f7ff ff98 bl 8000a64
+ MX_TIM3_Init();
+ 8000b34: f000 fdba bl 80016ac
+ MX_DMA_Init();
+ 8000b38: f7ff ff76 bl 8000a28
+ MX_TIM2_Init();
+ 8000b3c: f000 fd54 bl 80015e8
+ MX_ADC1_Init();
+ 8000b40: f7ff fc82 bl 8000448
+ MX_USART2_UART_Init();
+ 8000b44: f000 feb4 bl 80018b0
+ /* USER CODE BEGIN 2 */
+ App_Init();
+ 8000b48: f7ff fd4a bl 80005e0
+ Modbus_Init();
+ 8000b4c: f000 f850 bl 8000bf0
+ while (1)
+ {
+ /* USER CODE END WHILE */
+
+ /* USER CODE BEGIN 3 */
+ App_Process();
+ 8000b50: f7ff fd90 bl 8000674
+ 8000b54: e7fc b.n 8000b50
+
+08000b56 :
+/**
+ * @brief System Clock Configuration
+ * @retval None
+ */
+void SystemClock_Config(void)
+{
+ 8000b56: b590 push {r4, r7, lr}
+ 8000b58: b093 sub sp, #76 ; 0x4c
+ 8000b5a: af00 add r7, sp, #0
+ RCC_OscInitTypeDef RCC_OscInitStruct = {0};
+ 8000b5c: 2410 movs r4, #16
+ 8000b5e: 193b adds r3, r7, r4
+ 8000b60: 0018 movs r0, r3
+ 8000b62: 2338 movs r3, #56 ; 0x38
+ 8000b64: 001a movs r2, r3
+ 8000b66: 2100 movs r1, #0
+ 8000b68: f006 fc2a bl 80073c0
+ RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
+ 8000b6c: 003b movs r3, r7
+ 8000b6e: 0018 movs r0, r3
+ 8000b70: 2310 movs r3, #16
+ 8000b72: 001a movs r2, r3
+ 8000b74: 2100 movs r1, #0
+ 8000b76: f006 fc23 bl 80073c0
+
+ /** Configure the main internal regulator output voltage
+ */
+ HAL_PWREx_ControlVoltageScaling(PWR_REGULATOR_VOLTAGE_SCALE1);
+ 8000b7a: 2380 movs r3, #128 ; 0x80
+ 8000b7c: 009b lsls r3, r3, #2
+ 8000b7e: 0018 movs r0, r3
+ 8000b80: f002 fe62 bl 8003848
+
+ /** Initializes the RCC Oscillators according to the specified parameters
+ * in the RCC_OscInitTypeDef structure.
+ */
+ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
+ 8000b84: 193b adds r3, r7, r4
+ 8000b86: 2202 movs r2, #2
+ 8000b88: 601a str r2, [r3, #0]
+ RCC_OscInitStruct.HSIState = RCC_HSI_ON;
+ 8000b8a: 193b adds r3, r7, r4
+ 8000b8c: 2280 movs r2, #128 ; 0x80
+ 8000b8e: 0052 lsls r2, r2, #1
+ 8000b90: 60da str r2, [r3, #12]
+ RCC_OscInitStruct.HSIDiv = RCC_HSI_DIV1;
+ 8000b92: 193b adds r3, r7, r4
+ 8000b94: 2200 movs r2, #0
+ 8000b96: 611a str r2, [r3, #16]
+ RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
+ 8000b98: 193b adds r3, r7, r4
+ 8000b9a: 2240 movs r2, #64 ; 0x40
+ 8000b9c: 615a str r2, [r3, #20]
+ RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE;
+ 8000b9e: 193b adds r3, r7, r4
+ 8000ba0: 2200 movs r2, #0
+ 8000ba2: 61da str r2, [r3, #28]
+ if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
+ 8000ba4: 193b adds r3, r7, r4
+ 8000ba6: 0018 movs r0, r3
+ 8000ba8: f002 fe9a bl 80038e0
+ 8000bac: 1e03 subs r3, r0, #0
+ 8000bae: d001 beq.n 8000bb4
+ {
+ Error_Handler();
+ 8000bb0: f000 f819 bl 8000be6
+ }
+
+ /** Initializes the CPU, AHB and APB buses clocks
+ */
+ RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
+ 8000bb4: 003b movs r3, r7
+ 8000bb6: 2207 movs r2, #7
+ 8000bb8: 601a str r2, [r3, #0]
+ |RCC_CLOCKTYPE_PCLK1;
+ RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_HSI;
+ 8000bba: 003b movs r3, r7
+ 8000bbc: 2200 movs r2, #0
+ 8000bbe: 605a str r2, [r3, #4]
+ RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
+ 8000bc0: 003b movs r3, r7
+ 8000bc2: 2200 movs r2, #0
+ 8000bc4: 609a str r2, [r3, #8]
+ RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1;
+ 8000bc6: 003b movs r3, r7
+ 8000bc8: 2200 movs r2, #0
+ 8000bca: 60da str r2, [r3, #12]
+
+ if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_0) != HAL_OK)
+ 8000bcc: 003b movs r3, r7
+ 8000bce: 2100 movs r1, #0
+ 8000bd0: 0018 movs r0, r3
+ 8000bd2: f003 f99f bl 8003f14
+ 8000bd6: 1e03 subs r3, r0, #0
+ 8000bd8: d001 beq.n 8000bde
+ {
+ Error_Handler();
+ 8000bda: f000 f804 bl 8000be6
+ }
+}
+ 8000bde: 46c0 nop ; (mov r8, r8)
+ 8000be0: 46bd mov sp, r7
+ 8000be2: b013 add sp, #76 ; 0x4c
+ 8000be4: bd90 pop {r4, r7, pc}
+
+08000be6 :
+/**
+ * @brief This function is executed in case of error occurrence.
+ * @retval None
+ */
+void Error_Handler(void)
+{
+ 8000be6: b580 push {r7, lr}
+ 8000be8: af00 add r7, sp, #0
+ \details Disables IRQ interrupts by setting the I-bit in the CPSR.
+ Can only be executed in Privileged modes.
+ */
+__STATIC_FORCEINLINE void __disable_irq(void)
+{
+ __ASM volatile ("cpsid i" : : : "memory");
+ 8000bea: b672 cpsid i
+}
+ 8000bec: 46c0 nop ; (mov r8, r8)
+ /* USER CODE BEGIN Error_Handler_Debug */
+ /* User can add his own implementation to report the HAL error return state */
+ __disable_irq();
+ while (1)
+ 8000bee: e7fe b.n 8000bee
+
+08000bf0 :
+void Modbus_SendExceptionResponse(uint8_t exceptionCode);
+uint16_t CalculateCRC(uint8_t *data, uint8_t length);
+
+/* 初始化函数 */
+void Modbus_Init(void)
+{
+ 8000bf0: b580 push {r7, lr}
+ 8000bf2: af00 add r7, sp, #0
+ /* RS485 方向控制引脚置为接收状态 */
+ HAL_GPIO_WritePin(DIR_GPIO_Port, DIR_Pin, GPIO_PIN_RESET);
+ 8000bf4: 23a0 movs r3, #160 ; 0xa0
+ 8000bf6: 05db lsls r3, r3, #23
+ 8000bf8: 2200 movs r2, #0
+ 8000bfa: 2110 movs r1, #16
+ 8000bfc: 0018 movs r0, r3
+ 8000bfe: f002 fe05 bl 800380c
+
+ /* 启动串口中断接收 */
+ modbusBufferIndex = 0;
+ 8000c02: 4b08 ldr r3, [pc, #32] ; (8000c24 )
+ 8000c04: 2200 movs r2, #0
+ 8000c06: 801a strh r2, [r3, #0]
+ HAL_UART_Receive_IT(&huart2, (uint8_t *)&modbusBuffer[modbusBufferIndex], 1);
+ 8000c08: 4b06 ldr r3, [pc, #24] ; (8000c24 )
+ 8000c0a: 881b ldrh r3, [r3, #0]
+ 8000c0c: 001a movs r2, r3
+ 8000c0e: 4b06 ldr r3, [pc, #24] ; (8000c28 )
+ 8000c10: 18d1 adds r1, r2, r3
+ 8000c12: 4b06 ldr r3, [pc, #24] ; (8000c2c )
+ 8000c14: 2201 movs r2, #1
+ 8000c16: 0018 movs r0, r3
+ 8000c18: f004 fc16 bl 8005448
+}
+ 8000c1c: 46c0 nop ; (mov r8, r8)
+ 8000c1e: 46bd mov sp, r7
+ 8000c20: bd80 pop {r7, pc}
+ 8000c22: 46c0 nop ; (mov r8, r8)
+ 8000c24: 200001b8 .word 0x200001b8
+ 8000c28: 200000b8 .word 0x200000b8
+ 8000c2c: 2000035c .word 0x2000035c
+
+08000c30 :
+
+/* Modbus处理函数 - 应在主循环中调用 */
+void Modbus_Process(void)
+{
+ 8000c30: b590 push {r4, r7, lr}
+ 8000c32: b085 sub sp, #20
+ 8000c34: af00 add r7, sp, #0
+ uint16_t startAddress = 0;
+ 8000c36: 230e movs r3, #14
+ 8000c38: 18fb adds r3, r7, r3
+ 8000c3a: 2200 movs r2, #0
+ 8000c3c: 801a strh r2, [r3, #0]
+ uint16_t registerCount = 0;
+ 8000c3e: 230c movs r3, #12
+ 8000c40: 18fb adds r3, r7, r3
+ 8000c42: 2200 movs r2, #0
+ 8000c44: 801a strh r2, [r3, #0]
+ uint16_t value = 0;
+ 8000c46: 230a movs r3, #10
+ 8000c48: 18fb adds r3, r7, r3
+ 8000c4a: 2200 movs r2, #0
+ 8000c4c: 801a strh r2, [r3, #0]
+ uint8_t byteCount = 0;
+ 8000c4e: 2309 movs r3, #9
+ 8000c50: 18fb adds r3, r7, r3
+ 8000c52: 2200 movs r2, #0
+ 8000c54: 701a strb r2, [r3, #0]
+ uint16_t crcReceived;
+ uint16_t crcCalculated;
+
+ if (modbusBufferIndex > 0 && (HAL_GetTick() - lastByteTime) > MODBUS_TIMEOUT_MS)
+ 8000c56: 4b7c ldr r3, [pc, #496] ; (8000e48 )
+ 8000c58: 881b ldrh r3, [r3, #0]
+ 8000c5a: 2b00 cmp r3, #0
+ 8000c5c: d00a beq.n 8000c74
+ 8000c5e: f000 ff81 bl 8001b64
+ 8000c62: 0002 movs r2, r0
+ 8000c64: 4b79 ldr r3, [pc, #484] ; (8000e4c )
+ 8000c66: 681b ldr r3, [r3, #0]
+ 8000c68: 1ad3 subs r3, r2, r3
+ 8000c6a: 2b05 cmp r3, #5
+ 8000c6c: d902 bls.n 8000c74
+ {
+ /* 超时,标记消息完成 */
+ messageComplete = true;
+ 8000c6e: 4b78 ldr r3, [pc, #480] ; (8000e50 )
+ 8000c70: 2201 movs r2, #1
+ 8000c72: 701a strb r2, [r3, #0]
+ }
+
+ if (!messageComplete)
+ 8000c74: 4b76 ldr r3, [pc, #472] ; (8000e50 )
+ 8000c76: 781b ldrb r3, [r3, #0]
+ 8000c78: 2201 movs r2, #1
+ 8000c7a: 4053 eors r3, r2
+ 8000c7c: b2db uxtb r3, r3
+ 8000c7e: 2b00 cmp r3, #0
+ 8000c80: d000 beq.n 8000c84
+ 8000c82: e0dd b.n 8000e40
+ {
+ return;
+ }
+
+ /* 一个有效的 RTU 帧至少包含:地址 + 功能码 + 2 字节 CRC */
+ if (modbusBufferIndex < 4)
+ 8000c84: 4b70 ldr r3, [pc, #448] ; (8000e48 )
+ 8000c86: 881b ldrh r3, [r3, #0]
+ 8000c88: 2b03 cmp r3, #3
+ 8000c8a: d806 bhi.n 8000c9a
+ {
+ modbusBufferIndex = 0;
+ 8000c8c: 4b6e ldr r3, [pc, #440] ; (8000e48 )
+ 8000c8e: 2200 movs r2, #0
+ 8000c90: 801a strh r2, [r3, #0]
+ messageComplete = false;
+ 8000c92: 4b6f ldr r3, [pc, #444] ; (8000e50