diff --git a/.mxproject b/.mxproject
index 46b3341..bd2be51 100644
--- a/.mxproject
+++ b/.mxproject
@@ -1,8 +1,8 @@
[PreviousLibFiles]
-LibFiles=Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_can.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_rcc.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_rcc.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_rcc_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_bus.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_crs.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_system.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_utils.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_def.h;Drivers\STM32F0xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_i2c.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_i2c_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_gpio.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_gpio_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_gpio.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_dma_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_dma.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_dma.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_cortex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_cortex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_pwr.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_pwr_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_pwr.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_flash.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_flash_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_exti.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_exti.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_i2c.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_tim.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_tim_ex.h;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_can.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_gpio.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_dma.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_cortex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_exti.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_tim.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_tim_ex.c;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_can.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_rcc.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_rcc.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_rcc_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_bus.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_crs.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_system.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_utils.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_def.h;Drivers\STM32F0xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_i2c.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_i2c_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_gpio.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_gpio_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_gpio.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_dma_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_dma.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_dma.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_cortex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_cortex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_pwr.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_pwr_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_pwr.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_flash.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_flash_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_exti.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_exti.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_i2c.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_tim.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_tim_ex.h;Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f042x6.h;Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f0xx.h;Drivers\CMSIS\Device\ST\STM32F0xx\Include\system_stm32f0xx.h;Drivers\CMSIS\Device\ST\STM32F0xx\Source\Templates\system_stm32f0xx.c;Drivers\CMSIS\Include\cmsis_armcc.h;Drivers\CMSIS\Include\cmsis_armclang.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_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_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;
+LibFiles=Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_i2c.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_i2c.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_i2c_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_rcc.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_rcc.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_rcc_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_bus.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_crs.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_system.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_utils.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_def.h;Drivers\STM32F0xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_gpio.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_gpio_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_gpio.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_dma_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_dma.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_dma.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_cortex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_cortex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_pwr.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_pwr_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_pwr.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_flash.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_flash_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_exti.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_exti.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_tim.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_tim_ex.h;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_gpio.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_dma.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_cortex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_exti.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_tim.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_tim_ex.c;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_i2c.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_i2c.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_i2c_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_rcc.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_rcc.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_rcc_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_bus.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_crs.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_system.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_utils.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_def.h;Drivers\STM32F0xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_gpio.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_gpio_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_gpio.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_dma_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_dma.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_dma.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_cortex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_cortex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_pwr.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_pwr_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_pwr.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_flash.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_flash_ex.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_exti.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_ll_exti.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_tim.h;Drivers\STM32F0xx_HAL_Driver\Inc\stm32f0xx_hal_tim_ex.h;Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f042x6.h;Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f0xx.h;Drivers\CMSIS\Device\ST\STM32F0xx\Include\system_stm32f0xx.h;Drivers\CMSIS\Device\ST\STM32F0xx\Source\Templates\system_stm32f0xx.c;Drivers\CMSIS\Include\cmsis_armcc.h;Drivers\CMSIS\Include\cmsis_armclang.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_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_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\stm32f0xx_it.c;Core\Src\stm32f0xx_hal_msp.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_can.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_gpio.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_dma.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_cortex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_exti.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_tim.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_tim_ex.c;Drivers\CMSIS\Device\ST\STM32F0xx\Source\Templates\system_stm32f0xx.c;Core\Src\system_stm32f0xx.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_can.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_gpio.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_dma.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_cortex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_exti.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_tim.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_tim_ex.c;Drivers\CMSIS\Device\ST\STM32F0xx\Source\Templates\system_stm32f0xx.c;Core\Src\system_stm32f0xx.c;;;
+SourceFiles=Core\Src\main.c;Core\Src\stm32f0xx_it.c;Core\Src\stm32f0xx_hal_msp.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_gpio.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_dma.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_cortex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_exti.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_tim.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_tim_ex.c;Drivers\CMSIS\Device\ST\STM32F0xx\Source\Templates\system_stm32f0xx.c;Core\Src\system_stm32f0xx.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_i2c_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_rcc_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_gpio.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_dma.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_cortex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_pwr_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_flash_ex.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_exti.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_tim.c;Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_hal_tim_ex.c;Drivers\CMSIS\Device\ST\STM32F0xx\Source\Templates\system_stm32f0xx.c;Core\Src\system_stm32f0xx.c;;;
HeaderPath=Drivers\STM32F0xx_HAL_Driver\Inc;Drivers\STM32F0xx_HAL_Driver\Inc\Legacy;Drivers\CMSIS\Device\ST\STM32F0xx\Include;Drivers\CMSIS\Include;Core\Inc;
CDefines=USE_HAL_DRIVER;STM32F042x6;USE_HAL_DRIVER;USE_HAL_DRIVER;
diff --git a/.settings/language.settings.xml b/.settings/language.settings.xml
index 3304fdb..aefc958 100644
--- a/.settings/language.settings.xml
+++ b/.settings/language.settings.xml
@@ -5,7 +5,7 @@
-
+
@@ -16,7 +16,7 @@
-
+
diff --git a/Core/Inc/HTPA_32x32d.h b/Core/Inc/HTPA_32x32d.h
index c147fc1..f058793 100644
--- a/Core/Inc/HTPA_32x32d.h
+++ b/Core/Inc/HTPA_32x32d.h
@@ -14,6 +14,8 @@
* @version 0.1
*/
+#include
+
#ifndef INC_HTPA_32X32D_H_
#define INC_HTPA_32X32D_H_
@@ -26,7 +28,6 @@ typedef struct {
} HTPA_Status;
void HTPA_Init(I2C_HandleTypeDef *);
-
void HTPA_ReadBlock(uint8_t, uint8_t, uint16_t *[128]);
void HTPA_WriteRegister(uint8_t, uint8_t);
HTPA_Status HTPA_GetStatus(void);
diff --git a/Core/Inc/stm32f0xx_hal_conf.h b/Core/Inc/stm32f0xx_hal_conf.h
index 771e04d..0dda61e 100644
--- a/Core/Inc/stm32f0xx_hal_conf.h
+++ b/Core/Inc/stm32f0xx_hal_conf.h
@@ -35,7 +35,7 @@
#define HAL_MODULE_ENABLED
/*#define HAL_ADC_MODULE_ENABLED */
/*#define HAL_CRYP_MODULE_ENABLED */
-#define HAL_CAN_MODULE_ENABLED
+/*#define HAL_CAN_MODULE_ENABLED */
/*#define HAL_CEC_MODULE_ENABLED */
/*#define HAL_COMP_MODULE_ENABLED */
/*#define HAL_CRC_MODULE_ENABLED */
diff --git a/Core/Src/HTPA_32x32d.c b/Core/Src/HTPA_32x32d.c
index 2d01ccd..f3256ef 100644
--- a/Core/Src/HTPA_32x32d.c
+++ b/Core/Src/HTPA_32x32d.c
@@ -41,7 +41,10 @@
I2C_HandleTypeDef i2c_handle;
HAL_StatusTypeDef i2c_return; // error handling maybe?
-uint16_t blockData[128];
+uint8_t data_topBlock[256];
+uint8_t data_botBlock[256];
+uint8_t htpa_statusReg;
+
/**
* @brief Initialization of HTPA Sensor
@@ -78,9 +81,13 @@ void HTPA_Init(I2C_HandleTypeDef *hi2c){
*/
void HTPA_ReadBlock(uint8_t array_half, uint8_t block, uint16_t *pData[128]){
uint8_t config = 0;
- config = (block << 4); // bit 5,4 block
+ //config = (block << 4); // bit 5,4 block
config |= 0x09; // bit 3 start | bit 1 wakeup
HTPA_WriteRegister(HTPA_SENSOR_CONFIG, config);
+ HAL_Delay(100); // dauer???
+ // read status register:
+ HAL_I2C_Master_Receive(&i2c_handle, HTPA_SENSOR_ADDRESS, &htpa_statusReg, 1, I2C_MAX_DELAY);
+
// tbc
}
diff --git a/Core/Src/main.c b/Core/Src/main.c
index 8ea1c01..4e8ebcf 100644
--- a/Core/Src/main.c
+++ b/Core/Src/main.c
@@ -40,18 +40,16 @@
/* USER CODE END PM */
/* Private variables ---------------------------------------------------------*/
-CAN_HandleTypeDef hcan;
-
I2C_HandleTypeDef hi2c1;
/* USER CODE BEGIN PV */
+HTPA_Status htpa_status_test;
/* USER CODE END PV */
/* Private function prototypes -----------------------------------------------*/
void SystemClock_Config(void);
static void MX_GPIO_Init(void);
-static void MX_CAN_Init(void);
static void MX_I2C1_Init(void);
/* USER CODE BEGIN PFP */
@@ -90,9 +88,12 @@ int main(void)
/* Initialize all configured peripherals */
MX_GPIO_Init();
- MX_CAN_Init();
MX_I2C1_Init();
/* USER CODE BEGIN 2 */
+ HTPA_Init(&hi2c1);
+ htpa_status_test.vdd_meas = 1;
+ htpa_status_test.block = 3;
+
/* USER CODE END 2 */
@@ -100,6 +101,8 @@ int main(void)
/* USER CODE BEGIN WHILE */
while (1)
{
+ htpa_status_test = HTPA_GetStatus();
+ HAL_Delay(1000);
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
@@ -149,43 +152,6 @@ void SystemClock_Config(void)
}
}
-/**
- * @brief CAN Initialization Function
- * @param None
- * @retval None
- */
-static void MX_CAN_Init(void)
-{
-
- /* USER CODE BEGIN CAN_Init 0 */
-
- /* USER CODE END CAN_Init 0 */
-
- /* USER CODE BEGIN CAN_Init 1 */
-
- /* USER CODE END CAN_Init 1 */
- hcan.Instance = CAN;
- hcan.Init.Prescaler = 16;
- hcan.Init.Mode = CAN_MODE_NORMAL;
- hcan.Init.SyncJumpWidth = CAN_SJW_1TQ;
- hcan.Init.TimeSeg1 = CAN_BS1_1TQ;
- hcan.Init.TimeSeg2 = CAN_BS2_1TQ;
- hcan.Init.TimeTriggeredMode = DISABLE;
- hcan.Init.AutoBusOff = DISABLE;
- hcan.Init.AutoWakeUp = DISABLE;
- hcan.Init.AutoRetransmission = DISABLE;
- hcan.Init.ReceiveFifoLocked = DISABLE;
- hcan.Init.TransmitFifoPriority = DISABLE;
- if (HAL_CAN_Init(&hcan) != HAL_OK)
- {
- Error_Handler();
- }
- /* USER CODE BEGIN CAN_Init 2 */
-
- /* USER CODE END CAN_Init 2 */
-
-}
-
/**
* @brief I2C1 Initialization Function
* @param None
@@ -245,7 +211,6 @@ static void MX_GPIO_Init(void)
/* GPIO Ports Clock Enable */
__HAL_RCC_GPIOF_CLK_ENABLE();
__HAL_RCC_GPIOA_CLK_ENABLE();
- __HAL_RCC_GPIOB_CLK_ENABLE();
}
diff --git a/Core/Src/stm32f0xx_hal_msp.c b/Core/Src/stm32f0xx_hal_msp.c
index 07e2996..29a6a72 100644
--- a/Core/Src/stm32f0xx_hal_msp.c
+++ b/Core/Src/stm32f0xx_hal_msp.c
@@ -76,71 +76,6 @@ void HAL_MspInit(void)
/* USER CODE END MspInit 1 */
}
-/**
-* @brief CAN MSP Initialization
-* This function configures the hardware resources used in this example
-* @param hcan: CAN handle pointer
-* @retval None
-*/
-void HAL_CAN_MspInit(CAN_HandleTypeDef* hcan)
-{
- GPIO_InitTypeDef GPIO_InitStruct = {0};
- if(hcan->Instance==CAN)
- {
- /* USER CODE BEGIN CAN_MspInit 0 */
-
- /* USER CODE END CAN_MspInit 0 */
- /* Peripheral clock enable */
- __HAL_RCC_CAN1_CLK_ENABLE();
-
- __HAL_RCC_GPIOA_CLK_ENABLE();
- /**CAN GPIO Configuration
- PA11 ------> CAN_RX
- PA12 ------> CAN_TX
- */
- GPIO_InitStruct.Pin = GPIO_PIN_11|GPIO_PIN_12;
- GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- GPIO_InitStruct.Pull = GPIO_NOPULL;
- GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- GPIO_InitStruct.Alternate = GPIO_AF4_CAN;
- HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
-
- /* USER CODE BEGIN CAN_MspInit 1 */
-
- /* USER CODE END CAN_MspInit 1 */
- }
-
-}
-
-/**
-* @brief CAN MSP De-Initialization
-* This function freeze the hardware resources used in this example
-* @param hcan: CAN handle pointer
-* @retval None
-*/
-void HAL_CAN_MspDeInit(CAN_HandleTypeDef* hcan)
-{
- if(hcan->Instance==CAN)
- {
- /* USER CODE BEGIN CAN_MspDeInit 0 */
-
- /* USER CODE END CAN_MspDeInit 0 */
- /* Peripheral clock disable */
- __HAL_RCC_CAN1_CLK_DISABLE();
-
- /**CAN GPIO Configuration
- PA11 ------> CAN_RX
- PA12 ------> CAN_TX
- */
- HAL_GPIO_DeInit(GPIOA, GPIO_PIN_11|GPIO_PIN_12);
-
- /* USER CODE BEGIN CAN_MspDeInit 1 */
-
- /* USER CODE END CAN_MspDeInit 1 */
- }
-
-}
-
/**
* @brief I2C MSP Initialization
* This function configures the hardware resources used in this example
@@ -156,17 +91,17 @@ void HAL_I2C_MspInit(I2C_HandleTypeDef* hi2c)
/* USER CODE END I2C1_MspInit 0 */
- __HAL_RCC_GPIOB_CLK_ENABLE();
+ __HAL_RCC_GPIOF_CLK_ENABLE();
/**I2C1 GPIO Configuration
- PB7 ------> I2C1_SDA
- PB8 ------> I2C1_SCL
+ PF0-OSC_IN ------> I2C1_SDA
+ PF1-OSC_OUT ------> I2C1_SCL
*/
- GPIO_InitStruct.Pin = GPIO_PIN_7|GPIO_PIN_8;
+ GPIO_InitStruct.Pin = GPIO_PIN_0|GPIO_PIN_1;
GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
GPIO_InitStruct.Alternate = GPIO_AF1_I2C1;
- HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
+ HAL_GPIO_Init(GPIOF, &GPIO_InitStruct);
/* Peripheral clock enable */
__HAL_RCC_I2C1_CLK_ENABLE();
@@ -194,12 +129,12 @@ void HAL_I2C_MspDeInit(I2C_HandleTypeDef* hi2c)
__HAL_RCC_I2C1_CLK_DISABLE();
/**I2C1 GPIO Configuration
- PB7 ------> I2C1_SDA
- PB8 ------> I2C1_SCL
+ PF0-OSC_IN ------> I2C1_SDA
+ PF1-OSC_OUT ------> I2C1_SCL
*/
- HAL_GPIO_DeInit(GPIOB, GPIO_PIN_7);
+ HAL_GPIO_DeInit(GPIOF, GPIO_PIN_0);
- HAL_GPIO_DeInit(GPIOB, GPIO_PIN_8);
+ HAL_GPIO_DeInit(GPIOF, GPIO_PIN_1);
/* USER CODE BEGIN I2C1_MspDeInit 1 */
diff --git a/Debug/Core/Src/HTPA_32x32d.d b/Debug/Core/Src/HTPA_32x32d.d
index 54ce929..6887a09 100644
--- a/Debug/Core/Src/HTPA_32x32d.d
+++ b/Debug/Core/Src/HTPA_32x32d.d
@@ -18,7 +18,6 @@ Core/Src/HTPA_32x32d.o: ../Core/Src/HTPA_32x32d.c ../Core/Inc/main.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -46,7 +45,6 @@ Core/Src/HTPA_32x32d.o: ../Core/Src/HTPA_32x32d.c ../Core/Inc/main.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Core/Src/HTPA_32x32d.o b/Debug/Core/Src/HTPA_32x32d.o
index ce3bea4..9b7e464 100644
Binary files a/Debug/Core/Src/HTPA_32x32d.o and b/Debug/Core/Src/HTPA_32x32d.o differ
diff --git a/Debug/Core/Src/HTPA_32x32d.su b/Debug/Core/Src/HTPA_32x32d.su
index 8560964..687b983 100644
--- a/Debug/Core/Src/HTPA_32x32d.su
+++ b/Debug/Core/Src/HTPA_32x32d.su
@@ -1,4 +1,4 @@
-../Core/Src/HTPA_32x32d.c:37:6:HTPA_Init 16 static
-../Core/Src/HTPA_32x32d.c:50:6:HTPA_ReadBlock 24 static
-../Core/Src/HTPA_32x32d.c:56:6:HTPA_WriteRegister 40 static
-../Core/Src/HTPA_32x32d.c:65:13:HTPA_GetStatus 40 static
+../Core/Src/HTPA_32x32d.c:55:6:HTPA_Init 16 static
+../Core/Src/HTPA_32x32d.c:79:6:HTPA_ReadBlock 24 static
+../Core/Src/HTPA_32x32d.c:95:6:HTPA_WriteRegister 40 static
+../Core/Src/HTPA_32x32d.c:112:13:HTPA_GetStatus 40 static
diff --git a/Debug/Core/Src/main.d b/Debug/Core/Src/main.d
index 36ce446..512d28e 100644
--- a/Debug/Core/Src/main.d
+++ b/Debug/Core/Src/main.d
@@ -18,7 +18,6 @@ Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -46,7 +45,6 @@ Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Core/Src/main.o b/Debug/Core/Src/main.o
index 8dcdb99..b5f4aac 100644
Binary files a/Debug/Core/Src/main.o and b/Debug/Core/Src/main.o differ
diff --git a/Debug/Core/Src/main.su b/Debug/Core/Src/main.su
index f13c0b1..d41302e 100644
--- a/Debug/Core/Src/main.su
+++ b/Debug/Core/Src/main.su
@@ -1,6 +1,5 @@
-../Core/Src/main.c:69:5:main 8 static
-../Core/Src/main.c:114:6:SystemClock_Config 112 static
-../Core/Src/main.c:157:13:MX_CAN_Init 8 static
-../Core/Src/main.c:194:13:MX_I2C1_Init 8 static
-../Core/Src/main.c:242:13:MX_GPIO_Init 24 static
-../Core/Src/main.c:260:6:Error_Handler 8 static,ignoring_inline_asm
+../Core/Src/main.c:67:5:main 8 static
+../Core/Src/main.c:117:6:SystemClock_Config 112 static
+../Core/Src/main.c:160:13:MX_I2C1_Init 8 static
+../Core/Src/main.c:208:13:MX_GPIO_Init 16 static
+../Core/Src/main.c:225:6:Error_Handler 8 static,ignoring_inline_asm
diff --git a/Debug/Core/Src/stm32f0xx_hal_msp.d b/Debug/Core/Src/stm32f0xx_hal_msp.d
index 99d3552..aa2ce6e 100644
--- a/Debug/Core/Src/stm32f0xx_hal_msp.d
+++ b/Debug/Core/Src/stm32f0xx_hal_msp.d
@@ -18,7 +18,6 @@ Core/Src/stm32f0xx_hal_msp.o: ../Core/Src/stm32f0xx_hal_msp.c \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Core/Src/stm32f0xx_hal_msp.o: ../Core/Src/stm32f0xx_hal_msp.c \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Core/Src/stm32f0xx_hal_msp.o b/Debug/Core/Src/stm32f0xx_hal_msp.o
index 466e424..1bf1786 100644
Binary files a/Debug/Core/Src/stm32f0xx_hal_msp.o and b/Debug/Core/Src/stm32f0xx_hal_msp.o differ
diff --git a/Debug/Core/Src/stm32f0xx_hal_msp.su b/Debug/Core/Src/stm32f0xx_hal_msp.su
index 291bcf0..163cd39 100644
--- a/Debug/Core/Src/stm32f0xx_hal_msp.su
+++ b/Debug/Core/Src/stm32f0xx_hal_msp.su
@@ -1,5 +1,3 @@
../Core/Src/stm32f0xx_hal_msp.c:63:6:HAL_MspInit 16 static
-../Core/Src/stm32f0xx_hal_msp.c:85:6:HAL_CAN_MspInit 56 static
-../Core/Src/stm32f0xx_hal_msp.c:121:6:HAL_CAN_MspDeInit 16 static
-../Core/Src/stm32f0xx_hal_msp.c:150:6:HAL_I2C_MspInit 56 static
-../Core/Src/stm32f0xx_hal_msp.c:186:6:HAL_I2C_MspDeInit 16 static
+../Core/Src/stm32f0xx_hal_msp.c:85:6:HAL_I2C_MspInit 56 static
+../Core/Src/stm32f0xx_hal_msp.c:121:6:HAL_I2C_MspDeInit 16 static
diff --git a/Debug/Core/Src/stm32f0xx_it.d b/Debug/Core/Src/stm32f0xx_it.d
index 22d3fe8..2cad3de 100644
--- a/Debug/Core/Src/stm32f0xx_it.d
+++ b/Debug/Core/Src/stm32f0xx_it.d
@@ -18,7 +18,6 @@ Core/Src/stm32f0xx_it.o: ../Core/Src/stm32f0xx_it.c ../Core/Inc/main.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -46,7 +45,6 @@ Core/Src/stm32f0xx_it.o: ../Core/Src/stm32f0xx_it.c ../Core/Inc/main.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Core/Src/stm32f0xx_it.o b/Debug/Core/Src/stm32f0xx_it.o
index 5394313..148c6f0 100644
Binary files a/Debug/Core/Src/stm32f0xx_it.o and b/Debug/Core/Src/stm32f0xx_it.o differ
diff --git a/Debug/Core/Src/system_stm32f0xx.d b/Debug/Core/Src/system_stm32f0xx.d
index 1b67c45..241a6c1 100644
--- a/Debug/Core/Src/system_stm32f0xx.d
+++ b/Debug/Core/Src/system_stm32f0xx.d
@@ -18,7 +18,6 @@ Core/Src/system_stm32f0xx.o: ../Core/Src/system_stm32f0xx.c \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -44,7 +43,6 @@ Core/Src/system_stm32f0xx.o: ../Core/Src/system_stm32f0xx.c \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Core/Src/system_stm32f0xx.o b/Debug/Core/Src/system_stm32f0xx.o
index 23fc063..8ab0f52 100644
Binary files a/Debug/Core/Src/system_stm32f0xx.o and b/Debug/Core/Src/system_stm32f0xx.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.d
index 25aa308..f405599 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o
index 0758ed8..70ae446 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.d
index bfb1b00..4b06b61 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o
index 9a963d0..d12ad01 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.d
index 5d1680c..ccd58c9 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o
index e3afcf6..1caf8c0 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.d
index 76b57be..88a4bc8 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o
index ac0d08c..2eeb57b 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.d
index a921381..d528ec3 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o
index 0f3b73c..8072cba 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.d
index e00f75f..0728afc 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o
index 93c8361..2bb7693 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.d
index 8642dcc..5f03d40 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o
index 3ed5fdd..3a4cc01 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.d
index bde80bb..c25e355 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o
index f6adb90..2b7381a 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.d
index 06d5292..756bde7 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o
index 8ef7b14..376b61d 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.d
index d2d0d44..1f15cbb 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o
index f9a8d41..7c493c7 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.d
index b4ca917..dfd4a03 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o
index db69126..ed7cad7 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.d
index f03bf2d..e383b91 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o
index 725820d..afba100 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.d
index 5acb914..bb9d9b9 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o
index 3b63fd6..422070e 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.d
index 3b87fc9..96f921f 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o
index 6cd8eb7..a39e4cb 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.d
index 6b6b58a..6847a8e 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.d
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.d
@@ -19,7 +19,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
- ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
@@ -45,7 +44,6 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o: \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
-../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_can.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o
index 4af3652..83f2599 100644
Binary files a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o and b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o differ
diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/subdir.mk b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/subdir.mk
index 461f823..20e32ca 100644
--- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/subdir.mk
+++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/subdir.mk
@@ -6,7 +6,6 @@
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.c \
-../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.c \
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c \
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.c \
../Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.c \
@@ -24,7 +23,6 @@ C_SRCS += \
OBJS += \
./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o \
-./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.o \
./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o \
./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o \
./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o \
@@ -42,7 +40,6 @@ OBJS += \
C_DEPS += \
./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.d \
-./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.d \
./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.d \
./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.d \
./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.d \
@@ -66,7 +63,7 @@ Drivers/STM32F0xx_HAL_Driver/Src/%.o Drivers/STM32F0xx_HAL_Driver/Src/%.su: ../D
clean: clean-Drivers-2f-STM32F0xx_HAL_Driver-2f-Src
clean-Drivers-2f-STM32F0xx_HAL_Driver-2f-Src:
- -$(RM) ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_can.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.su
+ -$(RM) ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.su ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.su
.PHONY: clean-Drivers-2f-STM32F0xx_HAL_Driver-2f-Src
diff --git a/Debug/TTS.elf b/Debug/TTS.elf
index 388e81e..7243988 100644
Binary files a/Debug/TTS.elf and b/Debug/TTS.elf differ
diff --git a/Debug/TTS.list b/Debug/TTS.list
index 765750c..b4816a1 100644
--- a/Debug/TTS.list
+++ b/Debug/TTS.list
@@ -5,45 +5,45 @@ Sections:
Idx Name Size VMA LMA File off Algn
0 .isr_vector 000000c0 08000000 08000000 00010000 2**0
CONTENTS, ALLOC, LOAD, READONLY, DATA
- 1 .text 00001b0c 080000c0 080000c0 000100c0 2**2
+ 1 .text 000023d4 080000c0 080000c0 000100c0 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
- 2 .rodata 00000030 08001bcc 08001bcc 00011bcc 2**2
+ 2 .rodata 00000030 08002494 08002494 00012494 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
- 3 .ARM.extab 00000000 08001bfc 08001bfc 0002000c 2**0
+ 3 .ARM.extab 00000000 080024c4 080024c4 0002000c 2**0
CONTENTS
- 4 .ARM 00000000 08001bfc 08001bfc 0002000c 2**0
+ 4 .ARM 00000000 080024c4 080024c4 0002000c 2**0
CONTENTS
- 5 .preinit_array 00000000 08001bfc 08001bfc 0002000c 2**0
+ 5 .preinit_array 00000000 080024c4 080024c4 0002000c 2**0
CONTENTS, ALLOC, LOAD, DATA
- 6 .init_array 00000004 08001bfc 08001bfc 00011bfc 2**2
+ 6 .init_array 00000004 080024c4 080024c4 000124c4 2**2
CONTENTS, ALLOC, LOAD, DATA
- 7 .fini_array 00000004 08001c00 08001c00 00011c00 2**2
+ 7 .fini_array 00000004 080024c8 080024c8 000124c8 2**2
CONTENTS, ALLOC, LOAD, DATA
- 8 .data 0000000c 20000000 08001c04 00020000 2**2
+ 8 .data 0000000c 20000000 080024cc 00020000 2**2
CONTENTS, ALLOC, LOAD, DATA
- 9 .bss 0000009c 2000000c 08001c10 0002000c 2**2
+ 9 .bss 000000cc 2000000c 080024d8 0002000c 2**2
ALLOC
- 10 ._user_heap_stack 00000600 200000a8 08001c10 000200a8 2**0
+ 10 ._user_heap_stack 00000600 200000d8 080024d8 000200d8 2**0
ALLOC
11 .ARM.attributes 00000028 00000000 00000000 0002000c 2**0
CONTENTS, READONLY
- 12 .debug_info 00007d0d 00000000 00000000 00020034 2**0
+ 12 .debug_info 00006dd4 00000000 00000000 00020034 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
- 13 .debug_abbrev 00001674 00000000 00000000 00027d41 2**0
+ 13 .debug_abbrev 00001631 00000000 00000000 00026e08 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
- 14 .debug_aranges 00000818 00000000 00000000 000293b8 2**3
+ 14 .debug_aranges 00000700 00000000 00000000 00028440 2**3
CONTENTS, READONLY, DEBUGGING, OCTETS
- 15 .debug_ranges 00000750 00000000 00000000 00029bd0 2**3
+ 15 .debug_ranges 00000638 00000000 00000000 00028b40 2**3
CONTENTS, READONLY, DEBUGGING, OCTETS
- 16 .debug_macro 00001505 00000000 00000000 0002a320 2**0
+ 16 .debug_macro 00016f94 00000000 00000000 00029178 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
- 17 .debug_line 0000a45a 00000000 00000000 0002b825 2**0
+ 17 .debug_line 0000993d 00000000 00000000 0004010c 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
- 18 .debug_str 00084768 00000000 00000000 00035c7f 2**0
+ 18 .debug_str 000820ba 00000000 00000000 00049a49 2**0
CONTENTS, READONLY, DEBUGGING, OCTETS
- 19 .comment 00000050 00000000 00000000 000ba3e7 2**0
+ 19 .comment 00000050 00000000 00000000 000cbb03 2**0
CONTENTS, READONLY
- 20 .debug_frame 00001bf4 00000000 00000000 000ba438 2**2
+ 20 .debug_frame 000017c4 00000000 00000000 000cbb54 2**2
CONTENTS, READONLY, DEBUGGING, OCTETS
Disassembly of section .text:
@@ -65,7 +65,7 @@ Disassembly of section .text:
80000da: bd10 pop {r4, pc}
80000dc: 2000000c .word 0x2000000c
80000e0: 00000000 .word 0x00000000
- 80000e4: 08001bb4 .word 0x08001bb4
+ 80000e4: 0800247c .word 0x0800247c
080000e8 :
80000e8: 4b04 ldr r3, [pc, #16] ; (80000fc )
@@ -80,7 +80,7 @@ Disassembly of section .text:
80000fa: 46c0 nop ; (mov r8, r8)
80000fc: 00000000 .word 0x00000000
8000100: 20000010 .word 0x20000010
- 8000104: 08001bb4 .word 0x08001bb4
+ 8000104: 0800247c .word 0x0800247c
08000108 <__udivsi3>:
8000108: 2200 movs r2, #0
@@ -227,4978 +227,6498 @@ Disassembly of section .text:
800021c: 4770 bx lr
800021e: 46c0 nop ; (mov r8, r8)
-08000220 :
+08000220 :
+ * configuration to the respective registers.
+ * Afterwards the sensor is in idle and ready for conversion.
+ *
+ * @param *hi2c: Pointer to I2C Handle
+*/
+void HTPA_Init(I2C_HandleTypeDef *hi2c){
+ 8000220: b580 push {r7, lr}
+ 8000222: b082 sub sp, #8
+ 8000224: af00 add r7, sp, #0
+ 8000226: 6078 str r0, [r7, #4]
+ i2c_handle = *hi2c;
+ 8000228: 4a15 ldr r2, [pc, #84] ; (8000280 )
+ 800022a: 687b ldr r3, [r7, #4]
+ 800022c: 0010 movs r0, r2
+ 800022e: 0019 movs r1, r3
+ 8000230: 2354 movs r3, #84 ; 0x54
+ 8000232: 001a movs r2, r3
+ 8000234: f002 f910 bl 8002458
+ // Berechnung für clk / sample aus I2C parametern?
+ HTPA_WriteRegister(HTPA_SENSOR_CONFIG, 0x01); // Wakeup
+ 8000238: 2101 movs r1, #1
+ 800023a: 2001 movs r0, #1
+ 800023c: f000 f822 bl 8000284
+ HTPA_WriteRegister(HTPA_SENSOR_TRIM_1, 0x0C);
+ 8000240: 210c movs r1, #12
+ 8000242: 2003 movs r0, #3
+ 8000244: f000 f81e bl 8000284
+ HTPA_WriteRegister(HTPA_SENSOR_TRIM_2, 0x0C);
+ 8000248: 210c movs r1, #12
+ 800024a: 2004 movs r0, #4
+ 800024c: f000 f81a bl 8000284
+ HTPA_WriteRegister(HTPA_SENSOR_TRIM_3, 0x0C);
+ 8000250: 210c movs r1, #12
+ 8000252: 2005 movs r0, #5
+ 8000254: f000 f816 bl 8000284
+ HTPA_WriteRegister(HTPA_SENSOR_TRIM_4, 0x14);
+ 8000258: 2114 movs r1, #20
+ 800025a: 2006 movs r0, #6
+ 800025c: f000 f812 bl 8000284
+ HTPA_WriteRegister(HTPA_SENSOR_TRIM_5, 0x0C);
+ 8000260: 210c movs r1, #12
+ 8000262: 2007 movs r0, #7
+ 8000264: f000 f80e bl 8000284
+ HTPA_WriteRegister(HTPA_SENSOR_TRIM_6, 0x0C);
+ 8000268: 210c movs r1, #12
+ 800026a: 2008 movs r0, #8
+ 800026c: f000 f80a bl 8000284
+ HTPA_WriteRegister(HTPA_SENSOR_TRIM_7, 0x88);
+ 8000270: 2188 movs r1, #136 ; 0x88
+ 8000272: 2009 movs r0, #9
+ 8000274: f000 f806 bl 8000284
+}
+ 8000278: 46c0 nop ; (mov r8, r8)
+ 800027a: 46bd mov sp, r7
+ 800027c: b002 add sp, #8
+ 800027e: bd80 pop {r7, pc}
+ 8000280: 20000028 .word 0x20000028
+
+08000284 :
+ * description
+ *
+ * @param register_address: address of register
+ * @param byte: byte to be written to register
+*/
+void HTPA_WriteRegister(uint8_t register_address, uint8_t byte){
+ 8000284: b5b0 push {r4, r5, r7, lr}
+ 8000286: b086 sub sp, #24
+ 8000288: af02 add r7, sp, #8
+ 800028a: 0002 movs r2, r0
+ 800028c: 1dfb adds r3, r7, #7
+ 800028e: 701a strb r2, [r3, #0]
+ 8000290: 1dbb adds r3, r7, #6
+ 8000292: 1c0a adds r2, r1, #0
+ 8000294: 701a strb r2, [r3, #0]
+ uint8_t i2c_data = register_address;
+ 8000296: 200e movs r0, #14
+ 8000298: 183b adds r3, r7, r0
+ 800029a: 1dfa adds r2, r7, #7
+ 800029c: 7812 ldrb r2, [r2, #0]
+ 800029e: 701a strb r2, [r3, #0]
+ uint8_t i2c_address = (HTPA_SENSOR_ADDRESS << 1);
+ 80002a0: 240f movs r4, #15
+ 80002a2: 193b adds r3, r7, r4
+ 80002a4: 2234 movs r2, #52 ; 0x34
+ 80002a6: 701a strb r2, [r3, #0]
+ i2c_address &= 0xFE; // set read/write bit to write (0)
+ 80002a8: 193b adds r3, r7, r4
+ 80002aa: 193a adds r2, r7, r4
+ 80002ac: 7812 ldrb r2, [r2, #0]
+ 80002ae: 2101 movs r1, #1
+ 80002b0: 438a bics r2, r1
+ 80002b2: 701a strb r2, [r3, #0]
+ HAL_I2C_Master_Transmit(&i2c_handle, i2c_address, &i2c_data, 1, I2C_MAX_DELAY);
+ 80002b4: 193b adds r3, r7, r4
+ 80002b6: 781b ldrb r3, [r3, #0]
+ 80002b8: b299 uxth r1, r3
+ 80002ba: 0005 movs r5, r0
+ 80002bc: 183a adds r2, r7, r0
+ 80002be: 480d ldr r0, [pc, #52] ; (80002f4 )
+ 80002c0: 2301 movs r3, #1
+ 80002c2: 425b negs r3, r3
+ 80002c4: 9300 str r3, [sp, #0]
+ 80002c6: 2301 movs r3, #1
+ 80002c8: f000 fd84 bl 8000dd4
+ i2c_data = byte;
+ 80002cc: 0028 movs r0, r5
+ 80002ce: 183b adds r3, r7, r0
+ 80002d0: 1dba adds r2, r7, #6
+ 80002d2: 7812 ldrb r2, [r2, #0]
+ 80002d4: 701a strb r2, [r3, #0]
+ HAL_I2C_Master_Transmit(&i2c_handle, i2c_address, &i2c_data, 1, I2C_MAX_DELAY);
+ 80002d6: 193b adds r3, r7, r4
+ 80002d8: 781b ldrb r3, [r3, #0]
+ 80002da: b299 uxth r1, r3
+ 80002dc: 183a adds r2, r7, r0
+ 80002de: 4805 ldr r0, [pc, #20] ; (80002f4 )
+ 80002e0: 2301 movs r3, #1
+ 80002e2: 425b negs r3, r3
+ 80002e4: 9300 str r3, [sp, #0]
+ 80002e6: 2301 movs r3, #1
+ 80002e8: f000 fd74 bl 8000dd4
+}
+ 80002ec: 46c0 nop ; (mov r8, r8)
+ 80002ee: 46bd mov sp, r7
+ 80002f0: b004 add sp, #16
+ 80002f2: bdb0 pop {r4, r5, r7, pc}
+ 80002f4: 20000028 .word 0x20000028
+
+080002f8 :
+ * Reads the sensors status register and stores the information in
+ * the HTPA_Statsu structure.
+ *
+ * @return HTPA_Status: status register struct
+*/
+HTPA_Status HTPA_GetStatus(void){
+ 80002f8: b590 push {r4, r7, lr}
+ 80002fa: b087 sub sp, #28
+ 80002fc: af02 add r7, sp, #8
+ HTPA_Status status_return;
+ uint8_t i2c_data = HTPA_SENSOR_STATUS;
+ 80002fe: 1cfb adds r3, r7, #3
+ 8000300: 2202 movs r2, #2
+ 8000302: 701a strb r2, [r3, #0]
+ uint8_t i2c_address = (HTPA_SENSOR_ADDRESS << 1);
+ 8000304: 240f movs r4, #15
+ 8000306: 193b adds r3, r7, r4
+ 8000308: 2234 movs r2, #52 ; 0x34
+ 800030a: 701a strb r2, [r3, #0]
+ uint8_t i2c_readData = 0;
+ 800030c: 1cbb adds r3, r7, #2
+ 800030e: 2200 movs r2, #0
+ 8000310: 701a strb r2, [r3, #0]
+ i2c_address &= 0xFE; // set read/write bit 0 to write (0)
+ 8000312: 193b adds r3, r7, r4
+ 8000314: 193a adds r2, r7, r4
+ 8000316: 7812 ldrb r2, [r2, #0]
+ 8000318: 2101 movs r1, #1
+ 800031a: 438a bics r2, r1
+ 800031c: 701a strb r2, [r3, #0]
+ HAL_I2C_Master_Transmit(&i2c_handle, i2c_address, &i2c_data, 1, I2C_MAX_DELAY);
+ 800031e: 193b adds r3, r7, r4
+ 8000320: 781b ldrb r3, [r3, #0]
+ 8000322: b299 uxth r1, r3
+ 8000324: 1cfa adds r2, r7, #3
+ 8000326: 482f ldr r0, [pc, #188] ; (80003e4 )
+ 8000328: 2301 movs r3, #1
+ 800032a: 425b negs r3, r3
+ 800032c: 9300 str r3, [sp, #0]
+ 800032e: 2301 movs r3, #1
+ 8000330: f000 fd50 bl 8000dd4
+ i2c_address |= 0x01; // set read/write bit 0 to read (1)
+ 8000334: 193b adds r3, r7, r4
+ 8000336: 193a adds r2, r7, r4
+ 8000338: 7812 ldrb r2, [r2, #0]
+ 800033a: 2101 movs r1, #1
+ 800033c: 430a orrs r2, r1
+ 800033e: 701a strb r2, [r3, #0]
+ HAL_I2C_Master_Receive(&i2c_handle, i2c_address, &i2c_readData, 1, I2C_MAX_DELAY);
+ 8000340: 193b adds r3, r7, r4
+ 8000342: 781b ldrb r3, [r3, #0]
+ 8000344: b299 uxth r1, r3
+ 8000346: 1cba adds r2, r7, #2
+ 8000348: 4826 ldr r0, [pc, #152] ; (80003e4 )
+ 800034a: 2301 movs r3, #1
+ 800034c: 425b negs r3, r3
+ 800034e: 9300 str r3, [sp, #0]
+ 8000350: 2301 movs r3, #1
+ 8000352: f000 fe47 bl 8000fe4
+ status_return.block = (i2c_readData >> 4) && 0xFC;
+ 8000356: 1cbb adds r3, r7, #2
+ 8000358: 781b ldrb r3, [r3, #0]
+ 800035a: 091b lsrs r3, r3, #4
+ 800035c: b2db uxtb r3, r3
+ 800035e: 1e5a subs r2, r3, #1
+ 8000360: 4193 sbcs r3, r2
+ 8000362: b2db uxtb r3, r3
+ 8000364: 001a movs r2, r3
+ 8000366: 1d3b adds r3, r7, #4
+ 8000368: 701a strb r2, [r3, #0]
+ status_return.vdd_meas = (i2c_readData >> 2) && 0xFE;
+ 800036a: 1cbb adds r3, r7, #2
+ 800036c: 781b ldrb r3, [r3, #0]
+ 800036e: 089b lsrs r3, r3, #2
+ 8000370: b2db uxtb r3, r3
+ 8000372: 1e5a subs r2, r3, #1
+ 8000374: 4193 sbcs r3, r2
+ 8000376: b2da uxtb r2, r3
+ 8000378: 1d3b adds r3, r7, #4
+ 800037a: 705a strb r2, [r3, #1]
+ status_return.blind = (i2c_readData >> 1) && 0xFE;
+ 800037c: 1cbb adds r3, r7, #2
+ 800037e: 781b ldrb r3, [r3, #0]
+ 8000380: 085b lsrs r3, r3, #1
+ 8000382: b2db uxtb r3, r3
+ 8000384: 1e5a subs r2, r3, #1
+ 8000386: 4193 sbcs r3, r2
+ 8000388: b2da uxtb r2, r3
+ 800038a: 1d3b adds r3, r7, #4
+ 800038c: 709a strb r2, [r3, #2]
+ status_return.eoc = i2c_readData && 0xFE;
+ 800038e: 1cbb adds r3, r7, #2
+ 8000390: 781b ldrb r3, [r3, #0]
+ 8000392: 1e5a subs r2, r3, #1
+ 8000394: 4193 sbcs r3, r2
+ 8000396: b2da uxtb r2, r3
+ 8000398: 1d3b adds r3, r7, #4
+ 800039a: 70da strb r2, [r3, #3]
+ return status_return;
+ 800039c: 2108 movs r1, #8
+ 800039e: 187b adds r3, r7, r1
+ 80003a0: 1d3a adds r2, r7, #4
+ 80003a2: 6812 ldr r2, [r2, #0]
+ 80003a4: 601a str r2, [r3, #0]
+ 80003a6: 187a adds r2, r7, r1
+ 80003a8: 2300 movs r3, #0
+ 80003aa: 7811 ldrb r1, [r2, #0]
+ 80003ac: 20ff movs r0, #255 ; 0xff
+ 80003ae: 4001 ands r1, r0
+ 80003b0: 20ff movs r0, #255 ; 0xff
+ 80003b2: 4383 bics r3, r0
+ 80003b4: 430b orrs r3, r1
+ 80003b6: 7851 ldrb r1, [r2, #1]
+ 80003b8: 20ff movs r0, #255 ; 0xff
+ 80003ba: 4001 ands r1, r0
+ 80003bc: 0209 lsls r1, r1, #8
+ 80003be: 480a ldr r0, [pc, #40] ; (80003e8 )
+ 80003c0: 4003 ands r3, r0
+ 80003c2: 430b orrs r3, r1
+ 80003c4: 7891 ldrb r1, [r2, #2]
+ 80003c6: 20ff movs r0, #255 ; 0xff
+ 80003c8: 4001 ands r1, r0
+ 80003ca: 0409 lsls r1, r1, #16
+ 80003cc: 4807 ldr r0, [pc, #28] ; (80003ec )
+ 80003ce: 4003 ands r3, r0
+ 80003d0: 430b orrs r3, r1
+ 80003d2: 78d2 ldrb r2, [r2, #3]
+ 80003d4: 0612 lsls r2, r2, #24
+ 80003d6: 021b lsls r3, r3, #8
+ 80003d8: 0a1b lsrs r3, r3, #8
+ 80003da: 4313 orrs r3, r2
+}
+ 80003dc: 0018 movs r0, r3
+ 80003de: 46bd mov sp, r7
+ 80003e0: b005 add sp, #20
+ 80003e2: bd90 pop {r4, r7, pc}
+ 80003e4: 20000028 .word 0x20000028
+ 80003e8: ffff00ff .word 0xffff00ff
+ 80003ec: ff00ffff .word 0xff00ffff
+
+080003f0 :
/**
* @brief The application entry point.
* @retval int
*/
int main(void)
{
- 8000220: b580 push {r7, lr}
- 8000222: af00 add r7, sp, #0
+ 80003f0: b580 push {r7, lr}
+ 80003f2: af00 add r7, sp, #0
/* USER CODE END 1 */
/* MCU Configuration--------------------------------------------------------*/
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
HAL_Init();
- 8000224: f000 fa2e bl 8000684
+ 80003f4: f000 f9b4 bl 8000760
/* USER CODE BEGIN Init */
/* USER CODE END Init */
/* Configure the system clock */
SystemClock_Config();
- 8000228: f000 f807 bl 800023a
+ 80003f8: f000 f81e bl 8000438
/* USER CODE BEGIN SysInit */
/* USER CODE END SysInit */
/* Initialize all configured peripherals */
MX_GPIO_Init();
- 800022c: f000 f8d2 bl 80003d4
- MX_CAN_Init();
- 8000230: f000 f85a bl 80002e8
+ 80003fc: f000 f8b4 bl 8000568
MX_I2C1_Init();
- 8000234: f000 f88e bl 8000354
-
- /* USER CODE END 2 */
+ 8000400: f000 f872 bl 80004e8
+ /* USER CODE BEGIN 2 */
+ HTPA_Init(&hi2c1);
+ 8000404: 4b0a ldr r3, [pc, #40] ; (8000430 )
+ 8000406: 0018 movs r0, r3
+ 8000408: f7ff ff0a bl 8000220
+ htpa_status_test.vdd_meas = 1;
+ 800040c: 4b09 ldr r3, [pc, #36] ; (8000434 )
+ 800040e: 2201 movs r2, #1
+ 8000410: 705a strb r2, [r3, #1]
+ htpa_status_test.block = 3;
+ 8000412: 4b08 ldr r3, [pc, #32] ; (8000434 )
+ 8000414: 2203 movs r2, #3
+ 8000416: 701a strb r2, [r3, #0]
/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)
- 8000238: e7fe b.n 8000238
+ {
+ htpa_status_test = HTPA_GetStatus();
+ 8000418: f7ff ff6e bl 80002f8
+ 800041c: 0003 movs r3, r0
+ 800041e: 001a movs r2, r3
+ 8000420: 4b04 ldr r3, [pc, #16] ; (8000434 )
+ 8000422: 601a str r2, [r3, #0]
+ HAL_Delay(1000);
+ 8000424: 23fa movs r3, #250 ; 0xfa
+ 8000426: 009b lsls r3, r3, #2
+ 8000428: 0018 movs r0, r3
+ 800042a: f000 f9fd bl 8000828
+ htpa_status_test = HTPA_GetStatus();
+ 800042e: e7f3 b.n 8000418
+ 8000430: 2000007c .word 0x2000007c
+ 8000434: 200000d0 .word 0x200000d0
-0800023a :
+08000438 :
/**
* @brief System Clock Configuration
* @retval None
*/
void SystemClock_Config(void)
{
- 800023a: b590 push {r4, r7, lr}
- 800023c: b099 sub sp, #100 ; 0x64
- 800023e: af00 add r7, sp, #0
+ 8000438: b590 push {r4, r7, lr}
+ 800043a: b099 sub sp, #100 ; 0x64
+ 800043c: af00 add r7, sp, #0
RCC_OscInitTypeDef RCC_OscInitStruct = {0};
- 8000240: 242c movs r4, #44 ; 0x2c
- 8000242: 193b adds r3, r7, r4
- 8000244: 0018 movs r0, r3
- 8000246: 2334 movs r3, #52 ; 0x34
- 8000248: 001a movs r2, r3
- 800024a: 2100 movs r1, #0
- 800024c: f001 fcaa bl 8001ba4
+ 800043e: 242c movs r4, #44 ; 0x2c
+ 8000440: 193b adds r3, r7, r4
+ 8000442: 0018 movs r0, r3
+ 8000444: 2334 movs r3, #52 ; 0x34
+ 8000446: 001a movs r2, r3
+ 8000448: 2100 movs r1, #0
+ 800044a: f002 f80e bl 800246a
RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
- 8000250: 231c movs r3, #28
- 8000252: 18fb adds r3, r7, r3
- 8000254: 0018 movs r0, r3
- 8000256: 2310 movs r3, #16
- 8000258: 001a movs r2, r3
- 800025a: 2100 movs r1, #0
- 800025c: f001 fca2 bl 8001ba4
+ 800044e: 231c movs r3, #28
+ 8000450: 18fb adds r3, r7, r3
+ 8000452: 0018 movs r0, r3
+ 8000454: 2310 movs r3, #16
+ 8000456: 001a movs r2, r3
+ 8000458: 2100 movs r1, #0
+ 800045a: f002 f806 bl 800246a
RCC_PeriphCLKInitTypeDef PeriphClkInit = {0};
- 8000260: 1d3b adds r3, r7, #4
- 8000262: 0018 movs r0, r3
- 8000264: 2318 movs r3, #24
- 8000266: 001a movs r2, r3
- 8000268: 2100 movs r1, #0
- 800026a: f001 fc9b bl 8001ba4
+ 800045e: 1d3b adds r3, r7, #4
+ 8000460: 0018 movs r0, r3
+ 8000462: 2318 movs r3, #24
+ 8000464: 001a movs r2, r3
+ 8000466: 2100 movs r1, #0
+ 8000468: f001 ffff bl 800246a
/** Initializes the RCC Oscillators according to the specified parameters
* in the RCC_OscInitTypeDef structure.
*/
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
- 800026e: 0021 movs r1, r4
- 8000270: 187b adds r3, r7, r1
- 8000272: 2202 movs r2, #2
- 8000274: 601a str r2, [r3, #0]
+ 800046c: 0021 movs r1, r4
+ 800046e: 187b adds r3, r7, r1
+ 8000470: 2202 movs r2, #2
+ 8000472: 601a str r2, [r3, #0]
RCC_OscInitStruct.HSIState = RCC_HSI_ON;
- 8000276: 187b adds r3, r7, r1
- 8000278: 2201 movs r2, #1
- 800027a: 60da str r2, [r3, #12]
+ 8000474: 187b adds r3, r7, r1
+ 8000476: 2201 movs r2, #1
+ 8000478: 60da str r2, [r3, #12]
RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
- 800027c: 187b adds r3, r7, r1
- 800027e: 2210 movs r2, #16
- 8000280: 611a str r2, [r3, #16]
+ 800047a: 187b adds r3, r7, r1
+ 800047c: 2210 movs r2, #16
+ 800047e: 611a str r2, [r3, #16]
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE;
- 8000282: 187b adds r3, r7, r1
- 8000284: 2200 movs r2, #0
- 8000286: 625a str r2, [r3, #36] ; 0x24
+ 8000480: 187b adds r3, r7, r1
+ 8000482: 2200 movs r2, #0
+ 8000484: 625a str r2, [r3, #36] ; 0x24
if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
- 8000288: 187b adds r3, r7, r1
- 800028a: 0018 movs r0, r3
- 800028c: f000 fea6 bl 8000fdc
- 8000290: 1e03 subs r3, r0, #0
- 8000292: d001 beq.n 8000298
+ 8000486: 187b adds r3, r7, r1
+ 8000488: 0018 movs r0, r3
+ 800048a: f001 fa01 bl 8001890
+ 800048e: 1e03 subs r3, r0, #0
+ 8000490: d001 beq.n 8000496
{
Error_Handler();
- 8000294: f000 f8d2 bl 800043c
+ 8000492: f000 f88f bl 80005b4
}
/** Initializes the CPU, AHB and APB buses clocks
*/
RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
- 8000298: 211c movs r1, #28
- 800029a: 187b adds r3, r7, r1
- 800029c: 2207 movs r2, #7
- 800029e: 601a str r2, [r3, #0]
+ 8000496: 211c movs r1, #28
+ 8000498: 187b adds r3, r7, r1
+ 800049a: 2207 movs r2, #7
+ 800049c: 601a str r2, [r3, #0]
|RCC_CLOCKTYPE_PCLK1;
RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_HSI;
- 80002a0: 187b adds r3, r7, r1
- 80002a2: 2200 movs r2, #0
- 80002a4: 605a str r2, [r3, #4]
+ 800049e: 187b adds r3, r7, r1
+ 80004a0: 2200 movs r2, #0
+ 80004a2: 605a str r2, [r3, #4]
RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
- 80002a6: 187b adds r3, r7, r1
- 80002a8: 2200 movs r2, #0
- 80002aa: 609a str r2, [r3, #8]
+ 80004a4: 187b adds r3, r7, r1
+ 80004a6: 2200 movs r2, #0
+ 80004a8: 609a str r2, [r3, #8]
RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1;
- 80002ac: 187b adds r3, r7, r1
- 80002ae: 2200 movs r2, #0
- 80002b0: 60da str r2, [r3, #12]
+ 80004aa: 187b adds r3, r7, r1
+ 80004ac: 2200 movs r2, #0
+ 80004ae: 60da str r2, [r3, #12]
if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_0) != HAL_OK)
- 80002b2: 187b adds r3, r7, r1
- 80002b4: 2100 movs r1, #0
- 80002b6: 0018 movs r0, r3
- 80002b8: f001 fa16 bl 80016e8
- 80002bc: 1e03 subs r3, r0, #0
- 80002be: d001 beq.n 80002c4
+ 80004b0: 187b adds r3, r7, r1
+ 80004b2: 2100 movs r1, #0
+ 80004b4: 0018 movs r0, r3
+ 80004b6: f001 fd71 bl 8001f9c
+ 80004ba: 1e03 subs r3, r0, #0
+ 80004bc: d001 beq.n 80004c2
{
Error_Handler();
- 80002c0: f000 f8bc bl 800043c
+ 80004be: f000 f879 bl 80005b4
}
PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_I2C1;
- 80002c4: 1d3b adds r3, r7, #4
- 80002c6: 2220 movs r2, #32
- 80002c8: 601a str r2, [r3, #0]
+ 80004c2: 1d3b adds r3, r7, #4
+ 80004c4: 2220 movs r2, #32
+ 80004c6: 601a str r2, [r3, #0]
PeriphClkInit.I2c1ClockSelection = RCC_I2C1CLKSOURCE_HSI;
- 80002ca: 1d3b adds r3, r7, #4
- 80002cc: 2200 movs r2, #0
- 80002ce: 60da str r2, [r3, #12]
+ 80004c8: 1d3b adds r3, r7, #4
+ 80004ca: 2200 movs r2, #0
+ 80004cc: 60da str r2, [r3, #12]
if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
- 80002d0: 1d3b adds r3, r7, #4
- 80002d2: 0018 movs r0, r3
- 80002d4: f001 fb54 bl 8001980
- 80002d8: 1e03 subs r3, r0, #0
- 80002da: d001 beq.n 80002e0
+ 80004ce: 1d3b adds r3, r7, #4
+ 80004d0: 0018 movs r0, r3
+ 80004d2: f001 feaf bl 8002234
+ 80004d6: 1e03 subs r3, r0, #0
+ 80004d8: d001 beq.n 80004de
{
Error_Handler();
- 80002dc: f000 f8ae bl 800043c
+ 80004da: f000 f86b bl 80005b4
}
}
- 80002e0: 46c0 nop ; (mov r8, r8)
- 80002e2: 46bd mov sp, r7
- 80002e4: b019 add sp, #100 ; 0x64
- 80002e6: bd90 pop {r4, r7, pc}
+ 80004de: 46c0 nop ; (mov r8, r8)
+ 80004e0: 46bd mov sp, r7
+ 80004e2: b019 add sp, #100 ; 0x64
+ 80004e4: bd90 pop {r4, r7, pc}
+ ...
-080002e8 :
- * @brief CAN Initialization Function
- * @param None
- * @retval None
- */
-static void MX_CAN_Init(void)
-{
- 80002e8: b580 push {r7, lr}
- 80002ea: af00 add r7, sp, #0
- /* USER CODE END CAN_Init 0 */
-
- /* USER CODE BEGIN CAN_Init 1 */
-
- /* USER CODE END CAN_Init 1 */
- hcan.Instance = CAN;
- 80002ec: 4b17 ldr r3, [pc, #92] ; (800034c )
- 80002ee: 4a18 ldr r2, [pc, #96] ; (8000350 )
- 80002f0: 601a str r2, [r3, #0]
- hcan.Init.Prescaler = 16;
- 80002f2: 4b16 ldr r3, [pc, #88] ; (800034c )
- 80002f4: 2210 movs r2, #16
- 80002f6: 605a str r2, [r3, #4]
- hcan.Init.Mode = CAN_MODE_NORMAL;
- 80002f8: 4b14 ldr r3, [pc, #80] ; (800034c )
- 80002fa: 2200 movs r2, #0
- 80002fc: 609a str r2, [r3, #8]
- hcan.Init.SyncJumpWidth = CAN_SJW_1TQ;
- 80002fe: 4b13 ldr r3, [pc, #76] ; (800034c )
- 8000300: 2200 movs r2, #0
- 8000302: 60da str r2, [r3, #12]
- hcan.Init.TimeSeg1 = CAN_BS1_1TQ;
- 8000304: 4b11 ldr r3, [pc, #68] ; (800034c )
- 8000306: 2200 movs r2, #0
- 8000308: 611a str r2, [r3, #16]
- hcan.Init.TimeSeg2 = CAN_BS2_1TQ;
- 800030a: 4b10 ldr r3, [pc, #64] ; (800034c )
- 800030c: 2200 movs r2, #0
- 800030e: 615a str r2, [r3, #20]
- hcan.Init.TimeTriggeredMode = DISABLE;
- 8000310: 4b0e ldr r3, [pc, #56] ; (800034c )
- 8000312: 2200 movs r2, #0
- 8000314: 761a strb r2, [r3, #24]
- hcan.Init.AutoBusOff = DISABLE;
- 8000316: 4b0d ldr r3, [pc, #52] ; (800034c )
- 8000318: 2200 movs r2, #0
- 800031a: 765a strb r2, [r3, #25]
- hcan.Init.AutoWakeUp = DISABLE;
- 800031c: 4b0b ldr r3, [pc, #44] ; (800034c )
- 800031e: 2200 movs r2, #0
- 8000320: 769a strb r2, [r3, #26]
- hcan.Init.AutoRetransmission = DISABLE;
- 8000322: 4b0a ldr r3, [pc, #40] ; (800034c )
- 8000324: 2200 movs r2, #0
- 8000326: 76da strb r2, [r3, #27]
- hcan.Init.ReceiveFifoLocked = DISABLE;
- 8000328: 4b08 ldr r3, [pc, #32] ; (800034c )
- 800032a: 2200 movs r2, #0
- 800032c: 771a strb r2, [r3, #28]
- hcan.Init.TransmitFifoPriority = DISABLE;
- 800032e: 4b07 ldr r3, [pc, #28] ; (800034c )
- 8000330: 2200 movs r2, #0
- 8000332: 775a strb r2, [r3, #29]
- if (HAL_CAN_Init(&hcan) != HAL_OK)
- 8000334: 4b05 ldr r3, [pc, #20] ; (800034c )
- 8000336: 0018 movs r0, r3
- 8000338: f000 fa08 bl 800074c
- 800033c: 1e03 subs r3, r0, #0
- 800033e: d001 beq.n 8000344
- {
- Error_Handler();
- 8000340: f000 f87c bl 800043c
- }
- /* USER CODE BEGIN CAN_Init 2 */
-
- /* USER CODE END CAN_Init 2 */
-
-}
- 8000344: 46c0 nop ; (mov r8, r8)
- 8000346: 46bd mov sp, r7
- 8000348: bd80 pop {r7, pc}
- 800034a: 46c0 nop ; (mov r8, r8)
- 800034c: 20000028 .word 0x20000028
- 8000350: 40006400 .word 0x40006400
-
-08000354 :
+080004e8 :
* @brief I2C1 Initialization Function
* @param None
* @retval None
*/
static void MX_I2C1_Init(void)
{
- 8000354: b580 push {r7, lr}
- 8000356: af00 add r7, sp, #0
+ 80004e8: b580 push {r7, lr}
+ 80004ea: af00 add r7, sp, #0
/* USER CODE END I2C1_Init 0 */
/* USER CODE BEGIN I2C1_Init 1 */
/* USER CODE END I2C1_Init 1 */
hi2c1.Instance = I2C1;
- 8000358: 4b1b ldr r3, [pc, #108] ; (80003c8 )
- 800035a: 4a1c ldr r2, [pc, #112] ; (80003cc )
- 800035c: 601a str r2, [r3, #0]
+ 80004ec: 4b1b ldr r3, [pc, #108] ; (800055c )
+ 80004ee: 4a1c ldr r2, [pc, #112] ; (8000560 )
+ 80004f0: 601a str r2, [r3, #0]
hi2c1.Init.Timing = 0x2000090E;
- 800035e: 4b1a ldr r3, [pc, #104] ; (80003c8 )
- 8000360: 4a1b ldr r2, [pc, #108] ; (80003d0 )
- 8000362: 605a str r2, [r3, #4]
+ 80004f2: 4b1a ldr r3, [pc, #104] ; (800055c )
+ 80004f4: 4a1b ldr r2, [pc, #108] ; (8000564 )
+ 80004f6: 605a str r2, [r3, #4]
hi2c1.Init.OwnAddress1 = 0;
- 8000364: 4b18 ldr r3, [pc, #96] ; (80003c8 )
- 8000366: 2200 movs r2, #0
- 8000368: 609a str r2, [r3, #8]
+ 80004f8: 4b18 ldr r3, [pc, #96] ; (800055c )
+ 80004fa: 2200 movs r2, #0
+ 80004fc: 609a str r2, [r3, #8]
hi2c1.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT;
- 800036a: 4b17 ldr r3, [pc, #92] ; (80003c8 )
- 800036c: 2201 movs r2, #1
- 800036e: 60da str r2, [r3, #12]
+ 80004fe: 4b17 ldr r3, [pc, #92] ; (800055c )
+ 8000500: 2201 movs r2, #1
+ 8000502: 60da str r2, [r3, #12]
hi2c1.Init.DualAddressMode = I2C_DUALADDRESS_DISABLE;
- 8000370: 4b15 ldr r3, [pc, #84] ; (80003c8 )
- 8000372: 2200 movs r2, #0
- 8000374: 611a str r2, [r3, #16]
+ 8000504: 4b15 ldr r3, [pc, #84] ; (800055c )
+ 8000506: 2200 movs r2, #0
+ 8000508: 611a str r2, [r3, #16]
hi2c1.Init.OwnAddress2 = 0;
- 8000376: 4b14 ldr r3, [pc, #80] ; (80003c8 )
- 8000378: 2200 movs r2, #0
- 800037a: 615a str r2, [r3, #20]
+ 800050a: 4b14 ldr r3, [pc, #80] ; (800055c )
+ 800050c: 2200 movs r2, #0
+ 800050e: 615a str r2, [r3, #20]
hi2c1.Init.OwnAddress2Masks = I2C_OA2_NOMASK;
- 800037c: 4b12 ldr r3, [pc, #72] ; (80003c8 )
- 800037e: 2200 movs r2, #0
- 8000380: 619a str r2, [r3, #24]
+ 8000510: 4b12 ldr r3, [pc, #72] ; (800055c )
+ 8000512: 2200 movs r2, #0
+ 8000514: 619a str r2, [r3, #24]
hi2c1.Init.GeneralCallMode = I2C_GENERALCALL_DISABLE;
- 8000382: 4b11 ldr r3, [pc, #68] ; (80003c8 )
- 8000384: 2200 movs r2, #0
- 8000386: 61da str r2, [r3, #28]
+ 8000516: 4b11 ldr r3, [pc, #68] ; (800055c )
+ 8000518: 2200 movs r2, #0
+ 800051a: 61da str r2, [r3, #28]
hi2c1.Init.NoStretchMode = I2C_NOSTRETCH_DISABLE;
- 8000388: 4b0f ldr r3, [pc, #60] ; (80003c8 )
- 800038a: 2200 movs r2, #0
- 800038c: 621a str r2, [r3, #32]
+ 800051c: 4b0f ldr r3, [pc, #60] ; (800055c )
+ 800051e: 2200 movs r2, #0
+ 8000520: 621a str r2, [r3, #32]
if (HAL_I2C_Init(&hi2c1) != HAL_OK)
- 800038e: 4b0e ldr r3, [pc, #56] ; (80003c8 )
- 8000390: 0018 movs r0, r3
- 8000392: f000 fcf5 bl 8000d80
- 8000396: 1e03 subs r3, r0, #0
- 8000398: d001 beq.n 800039e
+ 8000522: 4b0e ldr r3, [pc, #56] ; (800055c )
+ 8000524: 0018 movs r0, r3
+ 8000526: f000 fbbf bl 8000ca8
+ 800052a: 1e03 subs r3, r0, #0
+ 800052c: d001 beq.n 8000532
{
Error_Handler();
- 800039a: f000 f84f bl 800043c
+ 800052e: f000 f841 bl 80005b4
}
/** Configure Analogue filter
*/
if (HAL_I2CEx_ConfigAnalogFilter(&hi2c1, I2C_ANALOGFILTER_ENABLE) != HAL_OK)
- 800039e: 4b0a ldr r3, [pc, #40] ; (80003c8 )
- 80003a0: 2100 movs r1, #0
- 80003a2: 0018 movs r0, r3
- 80003a4: f000 fd82 bl 8000eac
- 80003a8: 1e03 subs r3, r0, #0
- 80003aa: d001 beq.n 80003b0
+ 8000532: 4b0a ldr r3, [pc, #40] ; (800055c )
+ 8000534: 2100 movs r1, #0
+ 8000536: 0018 movs r0, r3
+ 8000538: f001 f912 bl 8001760
+ 800053c: 1e03 subs r3, r0, #0
+ 800053e: d001 beq.n 8000544
{
Error_Handler();
- 80003ac: f000 f846 bl 800043c
+ 8000540: f000 f838 bl 80005b4
}
/** Configure Digital filter
*/
if (HAL_I2CEx_ConfigDigitalFilter(&hi2c1, 0) != HAL_OK)
- 80003b0: 4b05 ldr r3, [pc, #20] ; (80003c8 )
- 80003b2: 2100 movs r1, #0
- 80003b4: 0018 movs r0, r3
- 80003b6: f000 fdc5 bl 8000f44
- 80003ba: 1e03 subs r3, r0, #0
- 80003bc: d001 beq.n 80003c2
+ 8000544: 4b05 ldr r3, [pc, #20] ; (800055c )
+ 8000546: 2100 movs r1, #0
+ 8000548: 0018 movs r0, r3
+ 800054a: f001 f955 bl 80017f8
+ 800054e: 1e03 subs r3, r0, #0
+ 8000550: d001 beq.n 8000556
{
Error_Handler();
- 80003be: f000 f83d bl 800043c
+ 8000552: f000 f82f bl 80005b4
}
/* USER CODE BEGIN I2C1_Init 2 */
/* USER CODE END I2C1_Init 2 */
}
- 80003c2: 46c0 nop ; (mov r8, r8)
- 80003c4: 46bd mov sp, r7
- 80003c6: bd80 pop {r7, pc}
- 80003c8: 20000050 .word 0x20000050
- 80003cc: 40005400 .word 0x40005400
- 80003d0: 2000090e .word 0x2000090e
+ 8000556: 46c0 nop ; (mov r8, r8)
+ 8000558: 46bd mov sp, r7
+ 800055a: bd80 pop {r7, pc}
+ 800055c: 2000007c .word 0x2000007c
+ 8000560: 40005400 .word 0x40005400
+ 8000564: 2000090e .word 0x2000090e
-080003d4 :
+08000568 :
* @brief GPIO Initialization Function
* @param None
* @retval None
*/
static void MX_GPIO_Init(void)
{
- 80003d4: b580 push {r7, lr}
- 80003d6: b084 sub sp, #16
- 80003d8: af00 add r7, sp, #0
+ 8000568: b580 push {r7, lr}
+ 800056a: b082 sub sp, #8
+ 800056c: af00 add r7, sp, #0
/* GPIO Ports Clock Enable */
__HAL_RCC_GPIOF_CLK_ENABLE();
- 80003da: 4b17 ldr r3, [pc, #92] ; (8000438 )
- 80003dc: 695a ldr r2, [r3, #20]
- 80003de: 4b16 ldr r3, [pc, #88] ; (8000438 )
- 80003e0: 2180 movs r1, #128 ; 0x80
- 80003e2: 03c9 lsls r1, r1, #15
- 80003e4: 430a orrs r2, r1
- 80003e6: 615a str r2, [r3, #20]
- 80003e8: 4b13 ldr r3, [pc, #76] ; (8000438 )
- 80003ea: 695a ldr r2, [r3, #20]
- 80003ec: 2380 movs r3, #128 ; 0x80
- 80003ee: 03db lsls r3, r3, #15
- 80003f0: 4013 ands r3, r2
- 80003f2: 60fb str r3, [r7, #12]
- 80003f4: 68fb ldr r3, [r7, #12]
+ 800056e: 4b10 ldr r3, [pc, #64] ; (80005b0 )
+ 8000570: 695a ldr r2, [r3, #20]
+ 8000572: 4b0f ldr r3, [pc, #60] ; (80005b0 )
+ 8000574: 2180 movs r1, #128 ; 0x80
+ 8000576: 03c9 lsls r1, r1, #15
+ 8000578: 430a orrs r2, r1
+ 800057a: 615a str r2, [r3, #20]
+ 800057c: 4b0c ldr r3, [pc, #48] ; (80005b0 )
+ 800057e: 695a ldr r2, [r3, #20]
+ 8000580: 2380 movs r3, #128 ; 0x80
+ 8000582: 03db lsls r3, r3, #15
+ 8000584: 4013 ands r3, r2
+ 8000586: 607b str r3, [r7, #4]
+ 8000588: 687b ldr r3, [r7, #4]
__HAL_RCC_GPIOA_CLK_ENABLE();
- 80003f6: 4b10 ldr r3, [pc, #64] ; (8000438 )
- 80003f8: 695a ldr r2, [r3, #20]
- 80003fa: 4b0f ldr r3, [pc, #60] ; (8000438 )
- 80003fc: 2180 movs r1, #128 ; 0x80
- 80003fe: 0289 lsls r1, r1, #10
- 8000400: 430a orrs r2, r1
- 8000402: 615a str r2, [r3, #20]
- 8000404: 4b0c ldr r3, [pc, #48] ; (8000438 )
- 8000406: 695a ldr r2, [r3, #20]
- 8000408: 2380 movs r3, #128 ; 0x80
- 800040a: 029b lsls r3, r3, #10
- 800040c: 4013 ands r3, r2
- 800040e: 60bb str r3, [r7, #8]
- 8000410: 68bb ldr r3, [r7, #8]
- __HAL_RCC_GPIOB_CLK_ENABLE();
- 8000412: 4b09 ldr r3, [pc, #36] ; (8000438 )
- 8000414: 695a ldr r2, [r3, #20]
- 8000416: 4b08 ldr r3, [pc, #32] ; (8000438 )
- 8000418: 2180 movs r1, #128 ; 0x80
- 800041a: 02c9 lsls r1, r1, #11
- 800041c: 430a orrs r2, r1
- 800041e: 615a str r2, [r3, #20]
- 8000420: 4b05 ldr r3, [pc, #20] ; (8000438 )
- 8000422: 695a ldr r2, [r3, #20]
- 8000424: 2380 movs r3, #128 ; 0x80
- 8000426: 02db lsls r3, r3, #11
- 8000428: 4013 ands r3, r2
- 800042a: 607b str r3, [r7, #4]
- 800042c: 687b ldr r3, [r7, #4]
+ 800058a: 4b09 ldr r3, [pc, #36] ; (80005b0 )
+ 800058c: 695a ldr r2, [r3, #20]
+ 800058e: 4b08 ldr r3, [pc, #32] ; (80005b0 )
+ 8000590: 2180 movs r1, #128 ; 0x80
+ 8000592: 0289 lsls r1, r1, #10
+ 8000594: 430a orrs r2, r1
+ 8000596: 615a str r2, [r3, #20]
+ 8000598: 4b05 ldr r3, [pc, #20] ; (80005b0 )
+ 800059a: 695a ldr r2, [r3, #20]
+ 800059c: 2380 movs r3, #128 ; 0x80
+ 800059e: 029b lsls r3, r3, #10
+ 80005a0: 4013 ands r3, r2
+ 80005a2: 603b str r3, [r7, #0]
+ 80005a4: 683b ldr r3, [r7, #0]
}
- 800042e: 46c0 nop ; (mov r8, r8)
- 8000430: 46bd mov sp, r7
- 8000432: b004 add sp, #16
- 8000434: bd80 pop {r7, pc}
- 8000436: 46c0 nop ; (mov r8, r8)
- 8000438: 40021000 .word 0x40021000
+ 80005a6: 46c0 nop ; (mov r8, r8)
+ 80005a8: 46bd mov sp, r7
+ 80005aa: b002 add sp, #8
+ 80005ac: bd80 pop {r7, pc}
+ 80005ae: 46c0 nop ; (mov r8, r8)
+ 80005b0: 40021000 .word 0x40021000
-0800043c :
+080005b4 :
/**
* @brief This function is executed in case of error occurrence.
* @retval None
*/
void Error_Handler(void)
{
- 800043c: b580 push {r7, lr}
- 800043e: af00 add r7, sp, #0
+ 80005b4: b580 push {r7, lr}
+ 80005b6: 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");
- 8000440: b672 cpsid i
+ 80005b8: b672 cpsid i
}
- 8000442: 46c0 nop ; (mov r8, r8)
+ 80005ba: 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)
- 8000444: e7fe b.n 8000444
+ 80005bc: e7fe b.n 80005bc
...
-08000448 :
+080005c0 :
/* USER CODE END 0 */
/**
* Initializes the Global MSP.
*/
void HAL_MspInit(void)
{
- 8000448: b580 push {r7, lr}
- 800044a: b082 sub sp, #8
- 800044c: af00 add r7, sp, #0
+ 80005c0: b580 push {r7, lr}
+ 80005c2: b082 sub sp, #8
+ 80005c4: af00 add r7, sp, #0
/* USER CODE BEGIN MspInit 0 */
/* USER CODE END MspInit 0 */
__HAL_RCC_SYSCFG_CLK_ENABLE();
- 800044e: 4b0f ldr r3, [pc, #60] ; (800048c )
- 8000450: 699a ldr r2, [r3, #24]
- 8000452: 4b0e ldr r3, [pc, #56] ; (800048c )
- 8000454: 2101 movs r1, #1
- 8000456: 430a orrs r2, r1
- 8000458: 619a str r2, [r3, #24]
- 800045a: 4b0c ldr r3, [pc, #48] ; (800048c )
- 800045c: 699b ldr r3, [r3, #24]
- 800045e: 2201 movs r2, #1
- 8000460: 4013 ands r3, r2
- 8000462: 607b str r3, [r7, #4]
- 8000464: 687b ldr r3, [r7, #4]
+ 80005c6: 4b0f ldr r3, [pc, #60] ; (8000604 )
+ 80005c8: 699a ldr r2, [r3, #24]
+ 80005ca: 4b0e ldr r3, [pc, #56] ; (8000604 )
+ 80005cc: 2101 movs r1, #1
+ 80005ce: 430a orrs r2, r1
+ 80005d0: 619a str r2, [r3, #24]
+ 80005d2: 4b0c ldr r3, [pc, #48] ; (8000604 )
+ 80005d4: 699b ldr r3, [r3, #24]
+ 80005d6: 2201 movs r2, #1
+ 80005d8: 4013 ands r3, r2
+ 80005da: 607b str r3, [r7, #4]
+ 80005dc: 687b ldr r3, [r7, #4]
__HAL_RCC_PWR_CLK_ENABLE();
- 8000466: 4b09 ldr r3, [pc, #36] ; (800048c )
- 8000468: 69da ldr r2, [r3, #28]
- 800046a: 4b08 ldr r3, [pc, #32] ; (800048c )
- 800046c: 2180 movs r1, #128 ; 0x80
- 800046e: 0549 lsls r1, r1, #21
- 8000470: 430a orrs r2, r1
- 8000472: 61da str r2, [r3, #28]
- 8000474: 4b05 ldr r3, [pc, #20] ; (800048c )
- 8000476: 69da ldr r2, [r3, #28]
- 8000478: 2380 movs r3, #128 ; 0x80
- 800047a: 055b lsls r3, r3, #21
- 800047c: 4013 ands r3, r2
- 800047e: 603b str r3, [r7, #0]
- 8000480: 683b ldr r3, [r7, #0]
+ 80005de: 4b09 ldr r3, [pc, #36] ; (8000604 )
+ 80005e0: 69da ldr r2, [r3, #28]
+ 80005e2: 4b08 ldr r3, [pc, #32] ; (8000604 )
+ 80005e4: 2180 movs r1, #128 ; 0x80
+ 80005e6: 0549 lsls r1, r1, #21
+ 80005e8: 430a orrs r2, r1
+ 80005ea: 61da str r2, [r3, #28]
+ 80005ec: 4b05 ldr r3, [pc, #20] ; (8000604 )
+ 80005ee: 69da ldr r2, [r3, #28]
+ 80005f0: 2380 movs r3, #128 ; 0x80
+ 80005f2: 055b lsls r3, r3, #21
+ 80005f4: 4013 ands r3, r2
+ 80005f6: 603b str r3, [r7, #0]
+ 80005f8: 683b ldr r3, [r7, #0]
/* System interrupt init*/
/* USER CODE BEGIN MspInit 1 */
/* USER CODE END MspInit 1 */
}
- 8000482: 46c0 nop ; (mov r8, r8)
- 8000484: 46bd mov sp, r7
- 8000486: b002 add sp, #8
- 8000488: bd80 pop {r7, pc}
- 800048a: 46c0 nop ; (mov r8, r8)
- 800048c: 40021000 .word 0x40021000
+ 80005fa: 46c0 nop ; (mov r8, r8)
+ 80005fc: 46bd mov sp, r7
+ 80005fe: b002 add sp, #8
+ 8000600: bd80 pop {r7, pc}
+ 8000602: 46c0 nop ; (mov r8, r8)
+ 8000604: 40021000 .word 0x40021000
-08000490 :
-* This function configures the hardware resources used in this example
-* @param hcan: CAN handle pointer
-* @retval None
-*/
-void HAL_CAN_MspInit(CAN_HandleTypeDef* hcan)
-{
- 8000490: b590 push {r4, r7, lr}
- 8000492: b08b sub sp, #44 ; 0x2c
- 8000494: af00 add r7, sp, #0
- 8000496: 6078 str r0, [r7, #4]
- GPIO_InitTypeDef GPIO_InitStruct = {0};
- 8000498: 2414 movs r4, #20
- 800049a: 193b adds r3, r7, r4
- 800049c: 0018 movs r0, r3
- 800049e: 2314 movs r3, #20
- 80004a0: 001a movs r2, r3
- 80004a2: 2100 movs r1, #0
- 80004a4: f001 fb7e bl 8001ba4
- if(hcan->Instance==CAN)
- 80004a8: 687b ldr r3, [r7, #4]
- 80004aa: 681b ldr r3, [r3, #0]
- 80004ac: 4a1d ldr r2, [pc, #116] ; (8000524 )
- 80004ae: 4293 cmp r3, r2
- 80004b0: d133 bne.n 800051a
- {
- /* USER CODE BEGIN CAN_MspInit 0 */
-
- /* USER CODE END CAN_MspInit 0 */
- /* Peripheral clock enable */
- __HAL_RCC_CAN1_CLK_ENABLE();
- 80004b2: 4b1d ldr r3, [pc, #116] ; (8000528 )
- 80004b4: 69da ldr r2, [r3, #28]
- 80004b6: 4b1c ldr r3, [pc, #112] ; (8000528 )
- 80004b8: 2180 movs r1, #128 ; 0x80
- 80004ba: 0489 lsls r1, r1, #18
- 80004bc: 430a orrs r2, r1
- 80004be: 61da str r2, [r3, #28]
- 80004c0: 4b19 ldr r3, [pc, #100] ; (8000528 )
- 80004c2: 69da ldr r2, [r3, #28]
- 80004c4: 2380 movs r3, #128 ; 0x80
- 80004c6: 049b lsls r3, r3, #18
- 80004c8: 4013 ands r3, r2
- 80004ca: 613b str r3, [r7, #16]
- 80004cc: 693b ldr r3, [r7, #16]
-
- __HAL_RCC_GPIOA_CLK_ENABLE();
- 80004ce: 4b16 ldr r3, [pc, #88] ; (8000528 )
- 80004d0: 695a ldr r2, [r3, #20]
- 80004d2: 4b15 ldr r3, [pc, #84] ; (8000528 )
- 80004d4: 2180 movs r1, #128 ; 0x80
- 80004d6: 0289 lsls r1, r1, #10
- 80004d8: 430a orrs r2, r1
- 80004da: 615a str r2, [r3, #20]
- 80004dc: 4b12 ldr r3, [pc, #72] ; (8000528 )
- 80004de: 695a ldr r2, [r3, #20]
- 80004e0: 2380 movs r3, #128 ; 0x80
- 80004e2: 029b lsls r3, r3, #10
- 80004e4: 4013 ands r3, r2
- 80004e6: 60fb str r3, [r7, #12]
- 80004e8: 68fb ldr r3, [r7, #12]
- /**CAN GPIO Configuration
- PA11 ------> CAN_RX
- PA12 ------> CAN_TX
- */
- GPIO_InitStruct.Pin = GPIO_PIN_11|GPIO_PIN_12;
- 80004ea: 193b adds r3, r7, r4
- 80004ec: 22c0 movs r2, #192 ; 0xc0
- 80004ee: 0152 lsls r2, r2, #5
- 80004f0: 601a str r2, [r3, #0]
- GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- 80004f2: 0021 movs r1, r4
- 80004f4: 187b adds r3, r7, r1
- 80004f6: 2202 movs r2, #2
- 80004f8: 605a str r2, [r3, #4]
- GPIO_InitStruct.Pull = GPIO_NOPULL;
- 80004fa: 187b adds r3, r7, r1
- 80004fc: 2200 movs r2, #0
- 80004fe: 609a str r2, [r3, #8]
- GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- 8000500: 187b adds r3, r7, r1
- 8000502: 2203 movs r2, #3
- 8000504: 60da str r2, [r3, #12]
- GPIO_InitStruct.Alternate = GPIO_AF4_CAN;
- 8000506: 187b adds r3, r7, r1
- 8000508: 2204 movs r2, #4
- 800050a: 611a str r2, [r3, #16]
- HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 800050c: 187a adds r2, r7, r1
- 800050e: 2390 movs r3, #144 ; 0x90
- 8000510: 05db lsls r3, r3, #23
- 8000512: 0011 movs r1, r2
- 8000514: 0018 movs r0, r3
- 8000516: f000 facb bl 8000ab0
- /* USER CODE BEGIN CAN_MspInit 1 */
-
- /* USER CODE END CAN_MspInit 1 */
- }
-
-}
- 800051a: 46c0 nop ; (mov r8, r8)
- 800051c: 46bd mov sp, r7
- 800051e: b00b add sp, #44 ; 0x2c
- 8000520: bd90 pop {r4, r7, pc}
- 8000522: 46c0 nop ; (mov r8, r8)
- 8000524: 40006400 .word 0x40006400
- 8000528: 40021000 .word 0x40021000
-
-0800052c :
+08000608 :
* This function configures the hardware resources used in this example
* @param hi2c: I2C handle pointer
* @retval None
*/
void HAL_I2C_MspInit(I2C_HandleTypeDef* hi2c)
{
- 800052c: b590 push {r4, r7, lr}
- 800052e: b08b sub sp, #44 ; 0x2c
- 8000530: af00 add r7, sp, #0
- 8000532: 6078 str r0, [r7, #4]
+ 8000608: b590 push {r4, r7, lr}
+ 800060a: b08b sub sp, #44 ; 0x2c
+ 800060c: af00 add r7, sp, #0
+ 800060e: 6078 str r0, [r7, #4]
GPIO_InitTypeDef GPIO_InitStruct = {0};
- 8000534: 2414 movs r4, #20
- 8000536: 193b adds r3, r7, r4
- 8000538: 0018 movs r0, r3
- 800053a: 2314 movs r3, #20
- 800053c: 001a movs r2, r3
- 800053e: 2100 movs r1, #0
- 8000540: f001 fb30 bl 8001ba4
+ 8000610: 2414 movs r4, #20
+ 8000612: 193b adds r3, r7, r4
+ 8000614: 0018 movs r0, r3
+ 8000616: 2314 movs r3, #20
+ 8000618: 001a movs r2, r3
+ 800061a: 2100 movs r1, #0
+ 800061c: f001 ff25 bl 800246a
if(hi2c->Instance==I2C1)
- 8000544: 687b ldr r3, [r7, #4]
- 8000546: 681b ldr r3, [r3, #0]
- 8000548: 4a1c ldr r2, [pc, #112] ; (80005bc )
- 800054a: 4293 cmp r3, r2
- 800054c: d132 bne.n 80005b4
+ 8000620: 687b ldr r3, [r7, #4]
+ 8000622: 681b ldr r3, [r3, #0]
+ 8000624: 4a1c ldr r2, [pc, #112] ; (8000698 )
+ 8000626: 4293 cmp r3, r2
+ 8000628: d131 bne.n 800068e
{
/* USER CODE BEGIN I2C1_MspInit 0 */
/* USER CODE END I2C1_MspInit 0 */
- __HAL_RCC_GPIOB_CLK_ENABLE();
- 800054e: 4b1c ldr r3, [pc, #112] ; (80005c0 )
- 8000550: 695a ldr r2, [r3, #20]
- 8000552: 4b1b ldr r3, [pc, #108] ; (80005c0 )
- 8000554: 2180 movs r1, #128 ; 0x80
- 8000556: 02c9 lsls r1, r1, #11
- 8000558: 430a orrs r2, r1
- 800055a: 615a str r2, [r3, #20]
- 800055c: 4b18 ldr r3, [pc, #96] ; (80005c0 )
- 800055e: 695a ldr r2, [r3, #20]
- 8000560: 2380 movs r3, #128 ; 0x80
- 8000562: 02db lsls r3, r3, #11
- 8000564: 4013 ands r3, r2
- 8000566: 613b str r3, [r7, #16]
- 8000568: 693b ldr r3, [r7, #16]
+ __HAL_RCC_GPIOF_CLK_ENABLE();
+ 800062a: 4b1c ldr r3, [pc, #112] ; (800069c )
+ 800062c: 695a ldr r2, [r3, #20]
+ 800062e: 4b1b ldr r3, [pc, #108] ; (800069c )
+ 8000630: 2180 movs r1, #128 ; 0x80
+ 8000632: 03c9 lsls r1, r1, #15
+ 8000634: 430a orrs r2, r1
+ 8000636: 615a str r2, [r3, #20]
+ 8000638: 4b18 ldr r3, [pc, #96] ; (800069c )
+ 800063a: 695a ldr r2, [r3, #20]
+ 800063c: 2380 movs r3, #128 ; 0x80
+ 800063e: 03db lsls r3, r3, #15
+ 8000640: 4013 ands r3, r2
+ 8000642: 613b str r3, [r7, #16]
+ 8000644: 693b ldr r3, [r7, #16]
/**I2C1 GPIO Configuration
- PB7 ------> I2C1_SDA
- PB8 ------> I2C1_SCL
+ PF0-OSC_IN ------> I2C1_SDA
+ PF1-OSC_OUT ------> I2C1_SCL
*/
- GPIO_InitStruct.Pin = GPIO_PIN_7|GPIO_PIN_8;
- 800056a: 193b adds r3, r7, r4
- 800056c: 22c0 movs r2, #192 ; 0xc0
- 800056e: 0052 lsls r2, r2, #1
- 8000570: 601a str r2, [r3, #0]
+ GPIO_InitStruct.Pin = GPIO_PIN_0|GPIO_PIN_1;
+ 8000646: 0021 movs r1, r4
+ 8000648: 187b adds r3, r7, r1
+ 800064a: 2203 movs r2, #3
+ 800064c: 601a str r2, [r3, #0]
GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
- 8000572: 0021 movs r1, r4
- 8000574: 187b adds r3, r7, r1
- 8000576: 2212 movs r2, #18
- 8000578: 605a str r2, [r3, #4]
+ 800064e: 187b adds r3, r7, r1
+ 8000650: 2212 movs r2, #18
+ 8000652: 605a str r2, [r3, #4]
GPIO_InitStruct.Pull = GPIO_NOPULL;
- 800057a: 187b adds r3, r7, r1
- 800057c: 2200 movs r2, #0
- 800057e: 609a str r2, [r3, #8]
+ 8000654: 187b adds r3, r7, r1
+ 8000656: 2200 movs r2, #0
+ 8000658: 609a str r2, [r3, #8]
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- 8000580: 187b adds r3, r7, r1
- 8000582: 2203 movs r2, #3
- 8000584: 60da str r2, [r3, #12]
+ 800065a: 187b adds r3, r7, r1
+ 800065c: 2203 movs r2, #3
+ 800065e: 60da str r2, [r3, #12]
GPIO_InitStruct.Alternate = GPIO_AF1_I2C1;
- 8000586: 187b adds r3, r7, r1
- 8000588: 2201 movs r2, #1
- 800058a: 611a str r2, [r3, #16]
- HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
- 800058c: 187b adds r3, r7, r1
- 800058e: 4a0d ldr r2, [pc, #52] ; (80005c4 )
- 8000590: 0019 movs r1, r3
- 8000592: 0010 movs r0, r2
- 8000594: f000 fa8c bl 8000ab0
+ 8000660: 187b adds r3, r7, r1
+ 8000662: 2201 movs r2, #1
+ 8000664: 611a str r2, [r3, #16]
+ HAL_GPIO_Init(GPIOF, &GPIO_InitStruct);
+ 8000666: 187b adds r3, r7, r1
+ 8000668: 4a0d ldr r2, [pc, #52] ; (80006a0 )
+ 800066a: 0019 movs r1, r3
+ 800066c: 0010 movs r0, r2
+ 800066e: f000 f9b3 bl 80009d8
/* Peripheral clock enable */
__HAL_RCC_I2C1_CLK_ENABLE();
- 8000598: 4b09 ldr r3, [pc, #36] ; (80005c0 )
- 800059a: 69da ldr r2, [r3, #28]
- 800059c: 4b08 ldr r3, [pc, #32] ; (80005c0 )
- 800059e: 2180 movs r1, #128 ; 0x80
- 80005a0: 0389 lsls r1, r1, #14
- 80005a2: 430a orrs r2, r1
- 80005a4: 61da str r2, [r3, #28]
- 80005a6: 4b06 ldr r3, [pc, #24] ; (80005c0 )
- 80005a8: 69da ldr r2, [r3, #28]
- 80005aa: 2380 movs r3, #128 ; 0x80
- 80005ac: 039b lsls r3, r3, #14
- 80005ae: 4013 ands r3, r2
- 80005b0: 60fb str r3, [r7, #12]
- 80005b2: 68fb ldr r3, [r7, #12]
+ 8000672: 4b0a ldr r3, [pc, #40] ; (800069c )
+ 8000674: 69da ldr r2, [r3, #28]
+ 8000676: 4b09 ldr r3, [pc, #36] ; (800069c )
+ 8000678: 2180 movs r1, #128 ; 0x80
+ 800067a: 0389 lsls r1, r1, #14
+ 800067c: 430a orrs r2, r1
+ 800067e: 61da str r2, [r3, #28]
+ 8000680: 4b06 ldr r3, [pc, #24] ; (800069c )
+ 8000682: 69da ldr r2, [r3, #28]
+ 8000684: 2380 movs r3, #128 ; 0x80
+ 8000686: 039b lsls r3, r3, #14
+ 8000688: 4013 ands r3, r2
+ 800068a: 60fb str r3, [r7, #12]
+ 800068c: 68fb ldr r3, [r7, #12]
/* USER CODE BEGIN I2C1_MspInit 1 */
/* USER CODE END I2C1_MspInit 1 */
}
}
- 80005b4: 46c0 nop ; (mov r8, r8)
- 80005b6: 46bd mov sp, r7
- 80005b8: b00b add sp, #44 ; 0x2c
- 80005ba: bd90 pop {r4, r7, pc}
- 80005bc: 40005400 .word 0x40005400
- 80005c0: 40021000 .word 0x40021000
- 80005c4: 48000400 .word 0x48000400
+ 800068e: 46c0 nop ; (mov r8, r8)
+ 8000690: 46bd mov sp, r7
+ 8000692: b00b add sp, #44 ; 0x2c
+ 8000694: bd90 pop {r4, r7, pc}
+ 8000696: 46c0 nop ; (mov r8, r8)
+ 8000698: 40005400 .word 0x40005400
+ 800069c: 40021000 .word 0x40021000
+ 80006a0: 48001400 .word 0x48001400
-080005c8 :
+080006a4 :
/******************************************************************************/
/**
* @brief This function handles Non maskable interrupt.
*/
void NMI_Handler(void)
{
- 80005c8: b580 push {r7, lr}
- 80005ca: af00 add r7, sp, #0
+ 80006a4: b580 push {r7, lr}
+ 80006a6: af00 add r7, sp, #0
/* USER CODE BEGIN NonMaskableInt_IRQn 0 */
/* USER CODE END NonMaskableInt_IRQn 0 */
/* USER CODE BEGIN NonMaskableInt_IRQn 1 */
while (1)
- 80005cc: e7fe b.n 80005cc
+ 80006a8: e7fe b.n 80006a8
-080005ce :
+080006aa :
/**
* @brief This function handles Hard fault interrupt.
*/
void HardFault_Handler(void)
{
- 80005ce: b580 push {r7, lr}
- 80005d0: af00 add r7, sp, #0
+ 80006aa: b580 push {r7, lr}
+ 80006ac: af00 add r7, sp, #0
/* USER CODE BEGIN HardFault_IRQn 0 */
/* USER CODE END HardFault_IRQn 0 */
while (1)
- 80005d2: e7fe b.n 80005d2
+ 80006ae: e7fe b.n 80006ae
-080005d4 :
+080006b0 :
/**
* @brief This function handles System service call via SWI instruction.
*/
void SVC_Handler(void)
{
- 80005d4: b580 push {r7, lr}
- 80005d6: af00 add r7, sp, #0
+ 80006b0: b580 push {r7, lr}
+ 80006b2: af00 add r7, sp, #0
/* USER CODE END SVC_IRQn 0 */
/* USER CODE BEGIN SVC_IRQn 1 */
/* USER CODE END SVC_IRQn 1 */
}
- 80005d8: 46c0 nop ; (mov r8, r8)
- 80005da: 46bd mov sp, r7
- 80005dc: bd80 pop {r7, pc}
+ 80006b4: 46c0 nop ; (mov r8, r8)
+ 80006b6: 46bd mov sp, r7
+ 80006b8: bd80 pop {r7, pc}
-080005de :
+080006ba :
/**
* @brief This function handles Pendable request for system service.
*/
void PendSV_Handler(void)
{
- 80005de: b580 push {r7, lr}
- 80005e0: af00 add r7, sp, #0
+ 80006ba: b580 push {r7, lr}
+ 80006bc: af00 add r7, sp, #0
/* USER CODE END PendSV_IRQn 0 */
/* USER CODE BEGIN PendSV_IRQn 1 */
/* USER CODE END PendSV_IRQn 1 */
}
- 80005e2: 46c0 nop ; (mov r8, r8)
- 80005e4: 46bd mov sp, r7
- 80005e6: bd80 pop {r7, pc}
+ 80006be: 46c0 nop ; (mov r8, r8)
+ 80006c0: 46bd mov sp, r7
+ 80006c2: bd80 pop {r7, pc}
-080005e8 :
+080006c4 :
/**
* @brief This function handles System tick timer.
*/
void SysTick_Handler(void)
{
- 80005e8: b580 push {r7, lr}
- 80005ea: af00 add r7, sp, #0
+ 80006c4: b580 push {r7, lr}
+ 80006c6: af00 add r7, sp, #0
/* USER CODE BEGIN SysTick_IRQn 0 */
/* USER CODE END SysTick_IRQn 0 */
HAL_IncTick();
- 80005ec: f000 f892 bl 8000714
+ 80006c8: f000 f892 bl 80007f0
/* USER CODE BEGIN SysTick_IRQn 1 */
/* USER CODE END SysTick_IRQn 1 */
}
- 80005f0: 46c0 nop ; (mov r8, r8)
- 80005f2: 46bd mov sp, r7
- 80005f4: bd80 pop {r7, pc}
+ 80006cc: 46c0 nop ; (mov r8, r8)
+ 80006ce: 46bd mov sp, r7
+ 80006d0: bd80 pop {r7, pc}
-080005f6 :
+080006d2 :
* @brief Setup the microcontroller system
* @param None
* @retval None
*/
void SystemInit(void)
{
- 80005f6: b580 push {r7, lr}
- 80005f8: af00 add r7, sp, #0
+ 80006d2: b580 push {r7, lr}
+ 80006d4: af00 add r7, sp, #0
before branch to main program. This call is made inside
the "startup_stm32f0xx.s" file.
User can setups the default system clock (System clock source, PLL Multiplier
and Divider factors, AHB/APBx prescalers and Flash settings).
*/
}
- 80005fa: 46c0 nop ; (mov r8, r8)
- 80005fc: 46bd mov sp, r7
- 80005fe: bd80 pop {r7, pc}
+ 80006d6: 46c0 nop ; (mov r8, r8)
+ 80006d8: 46bd mov sp, r7
+ 80006da: bd80 pop {r7, pc}
-08000600 :
+080006dc :
.section .text.Reset_Handler
.weak Reset_Handler
.type Reset_Handler, %function
Reset_Handler:
ldr r0, =_estack
- 8000600: 4813 ldr r0, [pc, #76] ; (8000650 )
+ 80006dc: 4813 ldr r0, [pc, #76] ; (800072c )
mov sp, r0 /* set stack pointer */
- 8000602: 4685 mov sp, r0
+ 80006de: 4685 mov sp, r0
/* Call the clock system initialization function.*/
bl SystemInit
- 8000604: f7ff fff7 bl 80005f6
+ 80006e0: f7ff fff7 bl 80006d2
/*Check if boot space corresponds to test memory*/
LDR R0,=0x00000004
- 8000608: 4812 ldr r0, [pc, #72] ; (8000654 )
+ 80006e4: 4812 ldr r0, [pc, #72] ; (8000730 )
LDR R1, [R0]
- 800060a: 6801 ldr r1, [r0, #0]
+ 80006e6: 6801 ldr r1, [r0, #0]
LSRS R1, R1, #24
- 800060c: 0e09 lsrs r1, r1, #24
+ 80006e8: 0e09 lsrs r1, r1, #24
LDR R2,=0x1F
- 800060e: 4a12 ldr r2, [pc, #72] ; (8000658 )
+ 80006ea: 4a12 ldr r2, [pc, #72] ; (8000734 )
CMP R1, R2
- 8000610: 4291 cmp r1, r2
+ 80006ec: 4291 cmp r1, r2
BNE ApplicationStart
- 8000612: d105 bne.n 8000620
+ 80006ee: d105 bne.n 80006fc
/*SYSCFG clock enable*/
LDR R0,=0x40021018
- 8000614: 4811 ldr r0, [pc, #68] ; (800065c )
+ 80006f0: 4811 ldr r0, [pc, #68] ; (8000738 )
LDR R1,=0x00000001
- 8000616: 4912 ldr r1, [pc, #72] ; (8000660 )
+ 80006f2: 4912 ldr r1, [pc, #72] ; (800073c )
STR R1, [R0]
- 8000618: 6001 str r1, [r0, #0]
+ 80006f4: 6001 str r1, [r0, #0]
/*Set CFGR1 register with flash memory remap at address 0*/
LDR R0,=0x40010000
- 800061a: 4812 ldr r0, [pc, #72] ; (8000664 )
+ 80006f6: 4812 ldr r0, [pc, #72] ; (8000740 )
LDR R1,=0x00000000
- 800061c: 4912 ldr r1, [pc, #72] ; (8000668 )
+ 80006f8: 4912 ldr r1, [pc, #72] ; (8000744 )
STR R1, [R0]
- 800061e: 6001 str r1, [r0, #0]
+ 80006fa: 6001 str r1, [r0, #0]
-08000620 :
+080006fc :
ApplicationStart:
/* Copy the data segment initializers from flash to SRAM */
ldr r0, =_sdata
- 8000620: 4812 ldr r0, [pc, #72] ; (800066c )
+ 80006fc: 4812 ldr r0, [pc, #72] ; (8000748 )
ldr r1, =_edata
- 8000622: 4913 ldr r1, [pc, #76] ; (8000670 )
+ 80006fe: 4913 ldr r1, [pc, #76] ; (800074c )
ldr r2, =_sidata
- 8000624: 4a13 ldr r2, [pc, #76] ; (8000674