From 230f928a0f7ecca4bec31a9117f9c6cffd126c02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=96=87=E5=B3=B0?= Date: Fri, 15 Oct 2021 22:06:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=88=E4=BA=8E=E6=8A=8A433=E9=80=9A?= =?UTF-8?q?=E8=AE=AF=E6=95=B4=E5=87=BA=E6=9D=A5=E4=BA=86=EF=BC=8C=E4=B8=8D?= =?UTF-8?q?=E8=BF=87=E7=A8=8B=E5=BA=8F=E7=A9=BA=E9=97=B4=E5=BF=AB=E4=B8=8D?= =?UTF-8?q?=E5=A4=9F=E4=BA=86=E8=A6=81=E5=A5=BD=E5=A5=BD=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E4=B8=80=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Core/Inc/main.h | 5 +- Core/Inc/stm32f0xx_hal_conf.h | 2 +- Core/Inc/stm32f0xx_it.h | 2 + Core/Src/main.c | 51 +- Core/Src/stm32f0xx_hal_msp.c | 50 + Core/Src/stm32f0xx_it.c | 30 +- Debug/Core/Src/main.d | 6 + Debug/Core/Src/main.su | 11 +- Debug/Core/Src/stm32f0xx_hal_msp.d | 8 +- Debug/Core/Src/stm32f0xx_hal_msp.su | 2 + Debug/Core/Src/stm32f0xx_it.d | 6 + Debug/Core/Src/stm32f0xx_it.su | 2 + Debug/Core/Src/system_stm32f0xx.d | 8 +- .../STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.d | 8 +- .../Src/stm32f0xx_hal_adc.d | 8 +- .../Src/stm32f0xx_hal_adc_ex.d | 8 +- .../Src/stm32f0xx_hal_cortex.d | 8 +- .../Src/stm32f0xx_hal_dma.d | 8 +- .../Src/stm32f0xx_hal_exti.d | 8 +- .../Src/stm32f0xx_hal_flash.d | 8 +- .../Src/stm32f0xx_hal_flash_ex.d | 8 +- .../Src/stm32f0xx_hal_gpio.d | 8 +- .../Src/stm32f0xx_hal_i2c.d | 8 +- .../Src/stm32f0xx_hal_i2c_ex.d | 8 +- .../Src/stm32f0xx_hal_pwr.d | 8 +- .../Src/stm32f0xx_hal_pwr_ex.d | 8 +- .../Src/stm32f0xx_hal_rcc.d | 8 +- .../Src/stm32f0xx_hal_rcc_ex.d | 8 +- .../Src/stm32f0xx_hal_tim.d | 8 +- .../Src/stm32f0xx_hal_tim.su | 119 + .../Src/stm32f0xx_hal_tim_ex.d | 8 +- .../Src/stm32f0xx_hal_tim_ex.su | 42 + Debug/Motor_Controller2.bin | Bin 12712 -> 15024 bytes Debug/Motor_Controller2.list | 12909 +++++++++------- Debug/Motor_Controller2.map | 1617 +- Debug/my_software/button.d | 8 +- Debug/my_software/flash.d | 92 + Debug/my_software/flash.su | 3 + Debug/my_software/ht1621.d | 6 + Debug/my_software/my_code.d | 13 +- Debug/my_software/my_code.su | 14 +- Debug/my_software/r480r.d | 92 + Debug/my_software/r480r.su | 4 + Debug/my_software/subdir.mk | 12 +- Debug/objects.list | 2 + Motor_Controller2 Debug.launch | 1 + Motor_Controller2.ioc | 27 +- my_software/flash.c | 72 + my_software/flash.h | 18 + my_software/my_code.c | 66 +- my_software/r480r.c | 107 + my_software/r480r.h | 24 + 52 files changed, 9483 insertions(+), 6084 deletions(-) create mode 100644 Debug/my_software/flash.d create mode 100644 Debug/my_software/flash.su create mode 100644 Debug/my_software/r480r.d create mode 100644 Debug/my_software/r480r.su create mode 100644 my_software/flash.c create mode 100644 my_software/flash.h create mode 100644 my_software/r480r.c create mode 100644 my_software/r480r.h diff --git a/Core/Inc/main.h b/Core/Inc/main.h index 1514a85..6e8bdc1 100644 --- a/Core/Inc/main.h +++ b/Core/Inc/main.h @@ -68,8 +68,9 @@ void Error_Handler(void); #define ADC_CH1_GPIO_Port GPIOA #define U_T_Pin GPIO_PIN_2 #define U_T_GPIO_Port GPIOA -#define U_R_Pin GPIO_PIN_3 -#define U_R_GPIO_Port GPIOA +#define infeaed_Pin GPIO_PIN_3 +#define infeaed_GPIO_Port GPIOA +#define infeaed_EXTI_IRQn EXTI2_3_IRQn #define I_R_Pin GPIO_PIN_4 #define I_R_GPIO_Port GPIOA #define HC595_DLK_Pin GPIO_PIN_5 diff --git a/Core/Inc/stm32f0xx_hal_conf.h b/Core/Inc/stm32f0xx_hal_conf.h index aee8d2d..9de8db3 100644 --- a/Core/Inc/stm32f0xx_hal_conf.h +++ b/Core/Inc/stm32f0xx_hal_conf.h @@ -48,7 +48,7 @@ /*#define HAL_RNG_MODULE_ENABLED */ /*#define HAL_RTC_MODULE_ENABLED */ /*#define HAL_SPI_MODULE_ENABLED */ -/*#define HAL_TIM_MODULE_ENABLED */ +#define HAL_TIM_MODULE_ENABLED /*#define HAL_UART_MODULE_ENABLED */ /*#define HAL_USART_MODULE_ENABLED */ /*#define HAL_IRDA_MODULE_ENABLED */ diff --git a/Core/Inc/stm32f0xx_it.h b/Core/Inc/stm32f0xx_it.h index 2877ddd..d7f6f8f 100644 --- a/Core/Inc/stm32f0xx_it.h +++ b/Core/Inc/stm32f0xx_it.h @@ -52,6 +52,8 @@ void HardFault_Handler(void); void SVC_Handler(void); void PendSV_Handler(void); void SysTick_Handler(void); +void EXTI2_3_IRQHandler(void); +void TIM14_IRQHandler(void); /* USER CODE BEGIN EFP */ /* USER CODE END EFP */ diff --git a/Core/Src/main.c b/Core/Src/main.c index a227b05..91b5eda 100644 --- a/Core/Src/main.c +++ b/Core/Src/main.c @@ -42,6 +42,8 @@ /* Private variables ---------------------------------------------------------*/ ADC_HandleTypeDef hadc; +TIM_HandleTypeDef htim14; + /* USER CODE BEGIN PV */ /* USER CODE END PV */ @@ -50,6 +52,7 @@ ADC_HandleTypeDef hadc; void SystemClock_Config(void); static void MX_GPIO_Init(void); static void MX_ADC_Init(void); +static void MX_TIM14_Init(void); /* USER CODE BEGIN PFP */ /* USER CODE END PFP */ @@ -88,6 +91,7 @@ int main(void) /* Initialize all configured peripherals */ MX_GPIO_Init(); MX_ADC_Init(); + MX_TIM14_Init(); /* USER CODE BEGIN 2 */ my_code(); @@ -202,6 +206,37 @@ static void MX_ADC_Init(void) } +/** + * @brief TIM14 Initialization Function + * @param None + * @retval None + */ +static void MX_TIM14_Init(void) +{ + + /* USER CODE BEGIN TIM14_Init 0 */ + + /* USER CODE END TIM14_Init 0 */ + + /* USER CODE BEGIN TIM14_Init 1 */ + + /* USER CODE END TIM14_Init 1 */ + htim14.Instance = TIM14; + htim14.Init.Prescaler = 48-1; + htim14.Init.CounterMode = TIM_COUNTERMODE_UP; + htim14.Init.Period = 100-1; + htim14.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1; + htim14.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE; + if (HAL_TIM_Base_Init(&htim14) != HAL_OK) + { + Error_Handler(); + } + /* USER CODE BEGIN TIM14_Init 2 */ + + /* USER CODE END TIM14_Init 2 */ + +} + /** * @brief GPIO Initialization Function * @param None @@ -234,11 +269,21 @@ static void MX_GPIO_Init(void) GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH; HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); - /*Configure GPIO pins : U_R_Pin I_R_Pin */ - GPIO_InitStruct.Pin = U_R_Pin|I_R_Pin; + /*Configure GPIO pin : infeaed_Pin */ + GPIO_InitStruct.Pin = infeaed_Pin; + GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING_FALLING; + GPIO_InitStruct.Pull = GPIO_PULLUP; + HAL_GPIO_Init(infeaed_GPIO_Port, &GPIO_InitStruct); + + /*Configure GPIO pin : I_R_Pin */ + GPIO_InitStruct.Pin = I_R_Pin; GPIO_InitStruct.Mode = GPIO_MODE_INPUT; GPIO_InitStruct.Pull = GPIO_PULLDOWN; - HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); + HAL_GPIO_Init(I_R_GPIO_Port, &GPIO_InitStruct); + + /* EXTI interrupt init*/ + HAL_NVIC_SetPriority(EXTI2_3_IRQn, 0, 0); + HAL_NVIC_EnableIRQ(EXTI2_3_IRQn); } diff --git a/Core/Src/stm32f0xx_hal_msp.c b/Core/Src/stm32f0xx_hal_msp.c index 715089a..8d30d90 100644 --- a/Core/Src/stm32f0xx_hal_msp.c +++ b/Core/Src/stm32f0xx_hal_msp.c @@ -140,6 +140,56 @@ void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc) } +/** +* @brief TIM_Base MSP Initialization +* This function configures the hardware resources used in this example +* @param htim_base: TIM_Base handle pointer +* @retval None +*/ +void HAL_TIM_Base_MspInit(TIM_HandleTypeDef* htim_base) +{ + if(htim_base->Instance==TIM14) + { + /* USER CODE BEGIN TIM14_MspInit 0 */ + + /* USER CODE END TIM14_MspInit 0 */ + /* Peripheral clock enable */ + __HAL_RCC_TIM14_CLK_ENABLE(); + /* TIM14 interrupt Init */ + HAL_NVIC_SetPriority(TIM14_IRQn, 0, 0); + HAL_NVIC_EnableIRQ(TIM14_IRQn); + /* USER CODE BEGIN TIM14_MspInit 1 */ + + /* USER CODE END TIM14_MspInit 1 */ + } + +} + +/** +* @brief TIM_Base MSP De-Initialization +* This function freeze the hardware resources used in this example +* @param htim_base: TIM_Base handle pointer +* @retval None +*/ +void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef* htim_base) +{ + if(htim_base->Instance==TIM14) + { + /* USER CODE BEGIN TIM14_MspDeInit 0 */ + + /* USER CODE END TIM14_MspDeInit 0 */ + /* Peripheral clock disable */ + __HAL_RCC_TIM14_CLK_DISABLE(); + + /* TIM14 interrupt DeInit */ + HAL_NVIC_DisableIRQ(TIM14_IRQn); + /* USER CODE BEGIN TIM14_MspDeInit 1 */ + + /* USER CODE END TIM14_MspDeInit 1 */ + } + +} + /* USER CODE BEGIN 1 */ /* USER CODE END 1 */ diff --git a/Core/Src/stm32f0xx_it.c b/Core/Src/stm32f0xx_it.c index 0f883ef..b723de6 100644 --- a/Core/Src/stm32f0xx_it.c +++ b/Core/Src/stm32f0xx_it.c @@ -56,7 +56,7 @@ /* USER CODE END 0 */ /* External variables --------------------------------------------------------*/ - +extern TIM_HandleTypeDef htim14; /* USER CODE BEGIN EV */ /* USER CODE END EV */ @@ -141,6 +141,34 @@ void SysTick_Handler(void) /* please refer to the startup file (startup_stm32f0xx.s). */ /******************************************************************************/ +/** + * @brief This function handles EXTI line 2 and 3 interrupts. + */ +void EXTI2_3_IRQHandler(void) +{ + /* USER CODE BEGIN EXTI2_3_IRQn 0 */ + + /* USER CODE END EXTI2_3_IRQn 0 */ + HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_3); + /* USER CODE BEGIN EXTI2_3_IRQn 1 */ + + /* USER CODE END EXTI2_3_IRQn 1 */ +} + +/** + * @brief This function handles TIM14 global interrupt. + */ +void TIM14_IRQHandler(void) +{ + /* USER CODE BEGIN TIM14_IRQn 0 */ + + /* USER CODE END TIM14_IRQn 0 */ + HAL_TIM_IRQHandler(&htim14); + /* USER CODE BEGIN TIM14_IRQn 1 */ + + /* USER CODE END TIM14_IRQn 1 */ +} + /* USER CODE BEGIN 1 */ /* USER CODE END 1 */ diff --git a/Debug/Core/Src/main.d b/Debug/Core/Src/main.d index 5535071..4167e43 100644 --- a/Debug/Core/Src/main.d +++ b/Debug/Core/Src/main.d @@ -26,6 +26,8 @@ Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \ ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.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_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h \ /Users/wuwenfeng/STM32CubeIDE/workspace_1.7.0/Motor_Controller2/my_software/my_code.h ../Core/Inc/main.h: @@ -84,4 +86,8 @@ Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \ ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h: +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: + /Users/wuwenfeng/STM32CubeIDE/workspace_1.7.0/Motor_Controller2/my_software/my_code.h: diff --git a/Debug/Core/Src/main.su b/Debug/Core/Src/main.su index c3059ea..2cc4949 100644 --- a/Debug/Core/Src/main.su +++ b/Debug/Core/Src/main.su @@ -1,5 +1,6 @@ -main.c:66:5:main 8 static -main.c:111:6:SystemClock_Config 80 static -main.c:151:13:MX_ADC_Init 24 static -main.c:210:13:MX_GPIO_Init 48 static -main.c:253:6:Error_Handler 8 static,ignoring_inline_asm +main.c:69:5:main 8 static +main.c:115:6:SystemClock_Config 80 static +main.c:155:13:MX_ADC_Init 24 static +main.c:214:13:MX_TIM14_Init 8 static +main.c:245:13:MX_GPIO_Init 48 static +main.c:298: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 8389811..2e1e307 100644 --- a/Debug/Core/Src/stm32f0xx_hal_msp.d +++ b/Debug/Core/Src/stm32f0xx_hal_msp.d @@ -25,7 +25,9 @@ Core/Src/stm32f0xx_hal_msp.o: ../Core/Src/stm32f0xx_hal_msp.c \ ../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_pwr.h \ - ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h ../Core/Inc/main.h: @@ -82,3 +84,7 @@ Core/Src/stm32f0xx_hal_msp.o: ../Core/Src/stm32f0xx_hal_msp.c \ ../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_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: diff --git a/Debug/Core/Src/stm32f0xx_hal_msp.su b/Debug/Core/Src/stm32f0xx_hal_msp.su index 321c299..f32ffe3 100644 --- a/Debug/Core/Src/stm32f0xx_hal_msp.su +++ b/Debug/Core/Src/stm32f0xx_hal_msp.su @@ -1,3 +1,5 @@ stm32f0xx_hal_msp.c:64:6:HAL_MspInit 16 static stm32f0xx_hal_msp.c:86:6:HAL_ADC_MspInit 56 static stm32f0xx_hal_msp.c:120:6:HAL_ADC_MspDeInit 16 static +stm32f0xx_hal_msp.c:149:6:HAL_TIM_Base_MspInit 24 static +stm32f0xx_hal_msp.c:174:6:HAL_TIM_Base_MspDeInit 16 static diff --git a/Debug/Core/Src/stm32f0xx_it.d b/Debug/Core/Src/stm32f0xx_it.d index fe06dea..ac52d29 100644 --- a/Debug/Core/Src/stm32f0xx_it.d +++ b/Debug/Core/Src/stm32f0xx_it.d @@ -26,6 +26,8 @@ Core/Src/stm32f0xx_it.o: ../Core/Src/stm32f0xx_it.c ../Core/Inc/main.h \ ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.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_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h \ ../Core/Inc/stm32f0xx_it.h ../Core/Inc/main.h: @@ -84,4 +86,8 @@ Core/Src/stm32f0xx_it.o: ../Core/Src/stm32f0xx_it.c ../Core/Inc/main.h \ ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h: +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: + ../Core/Inc/stm32f0xx_it.h: diff --git a/Debug/Core/Src/stm32f0xx_it.su b/Debug/Core/Src/stm32f0xx_it.su index 105da51..920b5ab 100644 --- a/Debug/Core/Src/stm32f0xx_it.su +++ b/Debug/Core/Src/stm32f0xx_it.su @@ -3,3 +3,5 @@ stm32f0xx_it.c:85:6:HardFault_Handler 8 static stm32f0xx_it.c:100:6:SVC_Handler 8 static stm32f0xx_it.c:113:6:PendSV_Handler 8 static stm32f0xx_it.c:126:6:SysTick_Handler 8 static +stm32f0xx_it.c:147:6:EXTI2_3_IRQHandler 8 static +stm32f0xx_it.c:161:6:TIM14_IRQHandler 8 static diff --git a/Debug/Core/Src/system_stm32f0xx.d b/Debug/Core/Src/system_stm32f0xx.d index a1c4da1..449a035 100644 --- a/Debug/Core/Src/system_stm32f0xx.d +++ b/Debug/Core/Src/system_stm32f0xx.d @@ -25,7 +25,9 @@ Core/Src/system_stm32f0xx.o: ../Core/Src/system_stm32f0xx.c \ ../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_pwr.h \ - ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.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/stm32f0xx.h: @@ -80,3 +82,7 @@ Core/Src/system_stm32f0xx.o: ../Core/Src/system_stm32f0xx.c \ ../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_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.d index b23db59..020a0e0 100644 --- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.d +++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.d @@ -26,7 +26,9 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o: \ ../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_pwr.h \ - ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h: @@ -81,3 +83,7 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o: \ ../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_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.d index c062fe6..899397d 100644 --- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.d +++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.d @@ -26,7 +26,9 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o: \ ../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_pwr.h \ - ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h: @@ -81,3 +83,7 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o: \ ../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_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.d b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.d index b9b3961..d7f76d2 100644 --- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.d +++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.d @@ -26,7 +26,9 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o: \ ../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_pwr.h \ - ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h: @@ -81,3 +83,7 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o: \ ../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_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: 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 73be8e1..c84776e 100644 --- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.d +++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.d @@ -26,7 +26,9 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o: \ ../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_pwr.h \ - ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h: @@ -81,3 +83,7 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o: \ ../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_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: 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 ded8165..6c797de 100644 --- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.d +++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.d @@ -26,7 +26,9 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o: \ ../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_pwr.h \ - ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h: @@ -81,3 +83,7 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o: \ ../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_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: 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 9d48420..de65a01 100644 --- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.d +++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.d @@ -26,7 +26,9 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o: \ ../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_pwr.h \ - ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h: @@ -81,3 +83,7 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o: \ ../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_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: 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 d08deff..5638892 100644 --- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.d +++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.d @@ -26,7 +26,9 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o: \ ../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_pwr.h \ - ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h: @@ -81,3 +83,7 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o: \ ../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_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: 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 549efbf..a3bb389 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 @@ -26,7 +26,9 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o: \ ../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_pwr.h \ - ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h: @@ -81,3 +83,7 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o: \ ../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_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: 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 01b9ecb..0787923 100644 --- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.d +++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.d @@ -26,7 +26,9 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o: \ ../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_pwr.h \ - ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h: @@ -81,3 +83,7 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o: \ ../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_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: 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 976a54c..258e13c 100644 --- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.d +++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.d @@ -26,7 +26,9 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o: \ ../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_pwr.h \ - ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h: @@ -81,3 +83,7 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o: \ ../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_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: 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 9464de3..bf6df5a 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 @@ -26,7 +26,9 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o: \ ../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_pwr.h \ - ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h: @@ -81,3 +83,7 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o: \ ../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_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: 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 a8fdcc1..36a7c15 100644 --- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.d +++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.d @@ -26,7 +26,9 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o: \ ../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_pwr.h \ - ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h: @@ -81,3 +83,7 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o: \ ../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_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: 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 1c9571c..f2d22a8 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 @@ -26,7 +26,9 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o: \ ../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_pwr.h \ - ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h: @@ -81,3 +83,7 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o: \ ../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_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: 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 7e0ea71..c1b7330 100644 --- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.d +++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.d @@ -26,7 +26,9 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o: \ ../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_pwr.h \ - ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h: @@ -81,3 +83,7 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o: \ ../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_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: 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 1d4d538..c651603 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 @@ -26,7 +26,9 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o: \ ../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_pwr.h \ - ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h: @@ -81,3 +83,7 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o: \ ../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_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: 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 d7f6d4c..78b7887 100644 --- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.d +++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.d @@ -26,7 +26,9 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o: \ ../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_pwr.h \ - ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h: @@ -81,3 +83,7 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o: \ ../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_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.su b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.su index e69de29..173da13 100644 --- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.su +++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.su @@ -0,0 +1,119 @@ +stm32f0xx_hal_tim.c:266:19:HAL_TIM_Base_Init 16 static +stm32f0xx_hal_tim.c:325:19:HAL_TIM_Base_DeInit 16 static +stm32f0xx_hal_tim.c:368:13:HAL_TIM_Base_MspInit 16 static +stm32f0xx_hal_tim.c:383:13:HAL_TIM_Base_MspDeInit 16 static +stm32f0xx_hal_tim.c:399:19:HAL_TIM_Base_Start 24 static +stm32f0xx_hal_tim.c:438:19:HAL_TIM_Base_Stop 16 static +stm32f0xx_hal_tim.c:458:19:HAL_TIM_Base_Start_IT 24 static +stm32f0xx_hal_tim.c:500:19:HAL_TIM_Base_Stop_IT 16 static +stm32f0xx_hal_tim.c:525:19:HAL_TIM_Base_Start_DMA 32 static +stm32f0xx_hal_tim.c:594:19:HAL_TIM_Base_Stop_DMA 16 static +stm32f0xx_hal_tim.c:649:19:HAL_TIM_OC_Init 16 static +stm32f0xx_hal_tim.c:708:19:HAL_TIM_OC_DeInit 16 static +stm32f0xx_hal_tim.c:751:13:HAL_TIM_OC_MspInit 16 static +stm32f0xx_hal_tim.c:766:13:HAL_TIM_OC_MspDeInit 16 static +stm32f0xx_hal_tim.c:787:19:HAL_TIM_OC_Start 24 static +stm32f0xx_hal_tim.c:841:19:HAL_TIM_OC_Stop 16 static +stm32f0xx_hal_tim.c:876:19:HAL_TIM_OC_Start_IT 24 static +stm32f0xx_hal_tim.c:969:19:HAL_TIM_OC_Stop_IT 24 static +stm32f0xx_hal_tim.c:1046:19:HAL_TIM_OC_Start_DMA 32 static +stm32f0xx_hal_tim.c:1209:19:HAL_TIM_OC_Stop_DMA 24 static +stm32f0xx_hal_tim.c:1312:19:HAL_TIM_PWM_Init 16 static +stm32f0xx_hal_tim.c:1371:19:HAL_TIM_PWM_DeInit 16 static +stm32f0xx_hal_tim.c:1414:13:HAL_TIM_PWM_MspInit 16 static +stm32f0xx_hal_tim.c:1429:13:HAL_TIM_PWM_MspDeInit 16 static +stm32f0xx_hal_tim.c:1450:19:HAL_TIM_PWM_Start 24 static +stm32f0xx_hal_tim.c:1504:19:HAL_TIM_PWM_Stop 16 static +stm32f0xx_hal_tim.c:1539:19:HAL_TIM_PWM_Start_IT 24 static +stm32f0xx_hal_tim.c:1632:19:HAL_TIM_PWM_Stop_IT 24 static +stm32f0xx_hal_tim.c:1709:19:HAL_TIM_PWM_Start_DMA 32 static +stm32f0xx_hal_tim.c:1871:19:HAL_TIM_PWM_Stop_DMA 24 static +stm32f0xx_hal_tim.c:1974:19:HAL_TIM_IC_Init 16 static +stm32f0xx_hal_tim.c:2033:19:HAL_TIM_IC_DeInit 16 static +stm32f0xx_hal_tim.c:2076:13:HAL_TIM_IC_MspInit 16 static +stm32f0xx_hal_tim.c:2091:13:HAL_TIM_IC_MspDeInit 16 static +stm32f0xx_hal_tim.c:2112:19:HAL_TIM_IC_Start 24 static +stm32f0xx_hal_tim.c:2164:19:HAL_TIM_IC_Stop 16 static +stm32f0xx_hal_tim.c:2194:19:HAL_TIM_IC_Start_IT 24 static +stm32f0xx_hal_tim.c:2286:19:HAL_TIM_IC_Stop_IT 24 static +stm32f0xx_hal_tim.c:2358:19:HAL_TIM_IC_Start_DMA 32 static +stm32f0xx_hal_tim.c:2517:19:HAL_TIM_IC_Stop_DMA 24 static +stm32f0xx_hal_tim.c:2622:19:HAL_TIM_OnePulse_Init 16 static +stm32f0xx_hal_tim.c:2690:19:HAL_TIM_OnePulse_DeInit 16 static +stm32f0xx_hal_tim.c:2735:13:HAL_TIM_OnePulse_MspInit 16 static +stm32f0xx_hal_tim.c:2750:13:HAL_TIM_OnePulse_MspDeInit 16 static +stm32f0xx_hal_tim.c:2770:19:HAL_TIM_OnePulse_Start 40 static +stm32f0xx_hal_tim.c:2827:19:HAL_TIM_OnePulse_Stop 16 static +stm32f0xx_hal_tim.c:2870:19:HAL_TIM_OnePulse_Start_IT 40 static +stm32f0xx_hal_tim.c:2933:19:HAL_TIM_OnePulse_Stop_IT 16 static +stm32f0xx_hal_tim.c:3012:19:HAL_TIM_Encoder_Init 32 static +stm32f0xx_hal_tim.c:3126:19:HAL_TIM_Encoder_DeInit 16 static +stm32f0xx_hal_tim.c:3171:13:HAL_TIM_Encoder_MspInit 16 static +stm32f0xx_hal_tim.c:3186:13:HAL_TIM_Encoder_MspDeInit 16 static +stm32f0xx_hal_tim.c:3206:19:HAL_TIM_Encoder_Start 32 static +stm32f0xx_hal_tim.c:3300:19:HAL_TIM_Encoder_Stop 16 static +stm32f0xx_hal_tim.c:3360:19:HAL_TIM_Encoder_Start_IT 32 static +stm32f0xx_hal_tim.c:3460:19:HAL_TIM_Encoder_Stop_IT 16 static +stm32f0xx_hal_tim.c:3525:19:HAL_TIM_Encoder_Start_DMA 40 static +stm32f0xx_hal_tim.c:3738:19:HAL_TIM_Encoder_Stop_DMA 16 static +stm32f0xx_hal_tim.c:3815:6:HAL_TIM_IRQHandler 16 static +stm32f0xx_hal_tim.c:4030:19:HAL_TIM_OC_ConfigChannel 32 static +stm32f0xx_hal_tim.c:4109:19:HAL_TIM_IC_ConfigChannel 32 static +stm32f0xx_hal_tim.c:4208:19:HAL_TIM_PWM_ConfigChannel 32 static +stm32f0xx_hal_tim.c:4322:19:HAL_TIM_OnePulse_ConfigChannel 56 static +stm32f0xx_hal_tim.c:4470:19:HAL_TIM_DMABurst_WriteStart 48 static +stm32f0xx_hal_tim.c:4524:19:HAL_TIM_DMABurst_MultiWriteStart 32 static +stm32f0xx_hal_tim.c:4708:19:HAL_TIM_DMABurst_WriteStop 24 static +stm32f0xx_hal_tim.c:4809:19:HAL_TIM_DMABurst_ReadStart 48 static +stm32f0xx_hal_tim.c:4862:19:HAL_TIM_DMABurst_MultiReadStart 32 static +stm32f0xx_hal_tim.c:5046:19:HAL_TIM_DMABurst_ReadStop 24 static +stm32f0xx_hal_tim.c:5129:19:HAL_TIM_GenerateEvent 16 static +stm32f0xx_hal_tim.c:5166:19:HAL_TIM_ConfigOCrefClear 32 static +stm32f0xx_hal_tim.c:5305:19:HAL_TIM_ConfigClockSource 24 static +stm32f0xx_hal_tim.c:5459:19:HAL_TIM_ConfigTI1Input 24 static +stm32f0xx_hal_tim.c:5491:19:HAL_TIM_SlaveConfigSynchro 16 static +stm32f0xx_hal_tim.c:5531:19:HAL_TIM_SlaveConfigSynchro_IT 16 static +stm32f0xx_hal_tim.c:5574:10:HAL_TIM_ReadCapturedValue 24 static +stm32f0xx_hal_tim.c:5658:13:HAL_TIM_PeriodElapsedCallback 16 static +stm32f0xx_hal_tim.c:5673:13:HAL_TIM_PeriodElapsedHalfCpltCallback 16 static +stm32f0xx_hal_tim.c:5688:13:HAL_TIM_OC_DelayElapsedCallback 16 static +stm32f0xx_hal_tim.c:5703:13:HAL_TIM_IC_CaptureCallback 16 static +stm32f0xx_hal_tim.c:5718:13:HAL_TIM_IC_CaptureHalfCpltCallback 16 static +stm32f0xx_hal_tim.c:5733:13:HAL_TIM_PWM_PulseFinishedCallback 16 static +stm32f0xx_hal_tim.c:5748:13:HAL_TIM_PWM_PulseFinishedHalfCpltCallback 16 static +stm32f0xx_hal_tim.c:5763:13:HAL_TIM_TriggerCallback 16 static +stm32f0xx_hal_tim.c:5778:13:HAL_TIM_TriggerHalfCpltCallback 16 static +stm32f0xx_hal_tim.c:5793:13:HAL_TIM_ErrorCallback 16 static +stm32f0xx_hal_tim.c:6351:22:HAL_TIM_Base_GetState 16 static +stm32f0xx_hal_tim.c:6361:22:HAL_TIM_OC_GetState 16 static +stm32f0xx_hal_tim.c:6371:22:HAL_TIM_PWM_GetState 16 static +stm32f0xx_hal_tim.c:6381:22:HAL_TIM_IC_GetState 16 static +stm32f0xx_hal_tim.c:6391:22:HAL_TIM_OnePulse_GetState 16 static +stm32f0xx_hal_tim.c:6401:22:HAL_TIM_Encoder_GetState 16 static +stm32f0xx_hal_tim.c:6411:23:HAL_TIM_GetActiveChannel 16 static +stm32f0xx_hal_tim.c:6429:29:HAL_TIM_GetChannelState 24 static +stm32f0xx_hal_tim.c:6446:30:HAL_TIM_DMABurstState 16 static +stm32f0xx_hal_tim.c:6471:6:TIM_DMAError 24 static +stm32f0xx_hal_tim.c:6514:13:TIM_DMADelayPulseCplt 24 static +stm32f0xx_hal_tim.c:6573:6:TIM_DMADelayPulseHalfCplt 24 static +stm32f0xx_hal_tim.c:6612:6:TIM_DMACaptureCplt 24 static +stm32f0xx_hal_tim.c:6675:6:TIM_DMACaptureHalfCplt 24 static +stm32f0xx_hal_tim.c:6714:13:TIM_DMAPeriodElapsedCplt 24 static +stm32f0xx_hal_tim.c:6735:13:TIM_DMAPeriodElapsedHalfCplt 24 static +stm32f0xx_hal_tim.c:6751:13:TIM_DMATriggerCplt 24 static +stm32f0xx_hal_tim.c:6772:13:TIM_DMATriggerHalfCplt 24 static +stm32f0xx_hal_tim.c:6789:6:TIM_Base_SetConfig 24 static +stm32f0xx_hal_tim.c:6837:13:TIM_OC1_SetConfig 32 static +stm32f0xx_hal_tim.c:6912:6:TIM_OC2_SetConfig 32 static +stm32f0xx_hal_tim.c:6988:13:TIM_OC3_SetConfig 32 static +stm32f0xx_hal_tim.c:7062:13:TIM_OC4_SetConfig 32 static +stm32f0xx_hal_tim.c:7122:26:TIM_SlaveTimer_SetConfig 32 static +stm32f0xx_hal_tim.c:7256:6:TIM_TI1_SetConfig 32 static +stm32f0xx_hal_tim.c:7303:13:TIM_TI1_ConfigInputStage 32 static +stm32f0xx_hal_tim.c:7346:13:TIM_TI2_SetConfig 32 static +stm32f0xx_hal_tim.c:7386:13:TIM_TI2_ConfigInputStage 32 static +stm32f0xx_hal_tim.c:7429:13:TIM_TI3_SetConfig 32 static +stm32f0xx_hal_tim.c:7477:13:TIM_TI4_SetConfig 32 static +stm32f0xx_hal_tim.c:7520:13:TIM_ITRx_SetConfig 24 static +stm32f0xx_hal_tim.c:7550:6:TIM_ETR_SetConfig 32 static +stm32f0xx_hal_tim.c:7580:6:TIM_CCxChannelCmd 32 static 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 b60b63e..5438af9 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 @@ -26,7 +26,9 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o: \ ../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_pwr.h \ - ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h: @@ -81,3 +83,7 @@ Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o: \ ../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_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: diff --git a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.su b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.su index e69de29..bf18ba6 100644 --- a/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.su +++ b/Debug/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.su @@ -0,0 +1,42 @@ +stm32f0xx_hal_tim_ex.c:139:19:HAL_TIMEx_HallSensor_Init 48 static +stm32f0xx_hal_tim_ex.c:240:19:HAL_TIMEx_HallSensor_DeInit 16 static +stm32f0xx_hal_tim_ex.c:285:13:HAL_TIMEx_HallSensor_MspInit 16 static +stm32f0xx_hal_tim_ex.c:300:13:HAL_TIMEx_HallSensor_MspDeInit 16 static +stm32f0xx_hal_tim_ex.c:315:19:HAL_TIMEx_HallSensor_Start 40 static +stm32f0xx_hal_tim_ex.c:369:19:HAL_TIMEx_HallSensor_Stop 16 static +stm32f0xx_hal_tim_ex.c:397:19:HAL_TIMEx_HallSensor_Start_IT 40 static +stm32f0xx_hal_tim_ex.c:454:19:HAL_TIMEx_HallSensor_Stop_IT 16 static +stm32f0xx_hal_tim_ex.c:487:19:HAL_TIMEx_HallSensor_Start_DMA 40 static +stm32f0xx_hal_tim_ex.c:563:19:HAL_TIMEx_HallSensor_Stop_DMA 16 static +stm32f0xx_hal_tim_ex.c:625:19:HAL_TIMEx_OCN_Start 24 static +stm32f0xx_hal_tim_ex.c:676:19:HAL_TIMEx_OCN_Stop 16 static +stm32f0xx_hal_tim_ex.c:708:19:HAL_TIMEx_OCN_Start_IT 24 static +stm32f0xx_hal_tim_ex.c:795:19:HAL_TIMEx_OCN_Stop_IT 24 static +stm32f0xx_hal_tim_ex.c:870:19:HAL_TIMEx_OCN_Start_DMA 32 static +stm32f0xx_hal_tim_ex.c:1007:19:HAL_TIMEx_OCN_Stop_DMA 24 static +stm32f0xx_hal_tim_ex.c:1108:19:HAL_TIMEx_PWMN_Start 24 static +stm32f0xx_hal_tim_ex.c:1158:19:HAL_TIMEx_PWMN_Stop 16 static +stm32f0xx_hal_tim_ex.c:1190:19:HAL_TIMEx_PWMN_Start_IT 24 static +stm32f0xx_hal_tim_ex.c:1276:19:HAL_TIMEx_PWMN_Stop_IT 24 static +stm32f0xx_hal_tim_ex.c:1351:19:HAL_TIMEx_PWMN_Start_DMA 32 static +stm32f0xx_hal_tim_ex.c:1488:19:HAL_TIMEx_PWMN_Stop_DMA 24 static +stm32f0xx_hal_tim_ex.c:1579:19:HAL_TIMEx_OnePulseN_Start 40 static +stm32f0xx_hal_tim_ex.c:1628:19:HAL_TIMEx_OnePulseN_Stop 24 static +stm32f0xx_hal_tim_ex.c:1667:19:HAL_TIMEx_OnePulseN_Start_IT 40 static +stm32f0xx_hal_tim_ex.c:1722:19:HAL_TIMEx_OnePulseN_Stop_IT 24 static +stm32f0xx_hal_tim_ex.c:1801:19:HAL_TIMEx_ConfigCommutEvent 24 static +stm32f0xx_hal_tim_ex.c:1857:19:HAL_TIMEx_ConfigCommutEvent_IT 24 static +stm32f0xx_hal_tim_ex.c:1914:19:HAL_TIMEx_ConfigCommutEvent_DMA 24 static +stm32f0xx_hal_tim_ex.c:1963:19:HAL_TIMEx_MasterConfigSynchronization 24 static +stm32f0xx_hal_tim_ex.c:2024:19:HAL_TIMEx_ConfigBreakDeadTime 24 static +stm32f0xx_hal_tim_ex.c:2076:19:HAL_TIMEx_RemapConfig 16 static +stm32f0xx_hal_tim_ex.c:2116:13:HAL_TIMEx_CommutCallback 16 static +stm32f0xx_hal_tim_ex.c:2130:13:HAL_TIMEx_CommutHalfCpltCallback 16 static +stm32f0xx_hal_tim_ex.c:2145:13:HAL_TIMEx_BreakCallback 16 static +stm32f0xx_hal_tim_ex.c:2178:22:HAL_TIMEx_HallSensor_GetState 16 static +stm32f0xx_hal_tim_ex.c:2193:29:HAL_TIMEx_GetChannelNState 24 static +stm32f0xx_hal_tim_ex.c:2222:6:TIMEx_DMACommutationCplt 24 static +stm32f0xx_hal_tim_ex.c:2241:6:TIMEx_DMACommutationHalfCplt 24 static +stm32f0xx_hal_tim_ex.c:2261:13:TIM_DMADelayPulseNCplt 24 static +stm32f0xx_hal_tim_ex.c:2320:13:TIM_DMAErrorCCxN 24 static +stm32f0xx_hal_tim_ex.c:2365:13:TIM_CCxNChannelCmd 32 static diff --git a/Debug/Motor_Controller2.bin b/Debug/Motor_Controller2.bin index 9d308fc1d47b854008e384c226a597d3e77c8b30..1abcbd68775187031dfddc661a504d530f7f8a49 100755 GIT binary patch delta 5655 zcmahN3v?9K_09gW*$qh`0XDPQWIquI6Coy1Xcp-bFiJ+Nwba@KbOW?b{534Jge=Eh z729B`1)q8}_}5dlAJIhGQz9BXs8zAu6{>Lqo<*&nT2J@b&up^0GrjlCWJv69&w20N z-@EVL`|f-1&OW*6neUgAa^k(gPVB|d%AoC=?T(ST01*9G3vfNO!#WMe>22Bn;7!S) zs;T)1ul*0Y&d69$c;D0KnW|g&eN+Seu#Nk>X~o7#k}1xT%!kmffcAXWl*#6mkM|zj z_Y65uUKgx#k;VW|h|iq)Vlqfvq+G{7o1{&akmKZpxrR%SOv41-Y4I*Po!8L$6Qk{i z+h;$s_b?&xgS$Xi(BmQ{`rJn+=~2s7#f_7i@ChndeKD#}eK8yKaDG1A>amHlVL_7l zq0Sk~qEgE<@xyxv@sc_&6hBA~l!|2?e0Y|))ZZC)io`z{c8Ht&sjwYjzPku1-B!^> zxXkSZZM{2~p7`O>_BE)-OG0}O?p_HtmN0)Sbt~si2F1>vRx$2-&Fom+*}V*~cwpRI z5gG}PNG*Uh18=tpd5!dl)$M&f8>}*e>A@-j#ssTOU`(*;td1&32$ET%(!6!?LYEq> zvNNHh{yWVm#(`LC)!x9kRr9w9B+98^b63j>@e`lTOERMh_HQW|fno^jXgj^k)@w0m zHc!x_w(!+4#&I$ZMuwD|AUYWMzHn4>OQjvOZEmtuO!dqHqt_D0>QuJ_uy~-0RD^Qj zoP;Y?z#5Ab>|2>WjP+HD_p6m7gjoALA*31of6cd%Ts{alDM9FBH{qR(h&v;Zk$nOsYUem6e>CWx@#C zK`v01j!I_1IkrRM0$pvyk6AK6o9(OS9s?z~s!4Q9E`rvLwjZOr?dNmP4Zmv7Sxt{; zhmV#va-4JcA7wJv5z2Y4`kEXO)3h(jU+NX{jQ=p=uI}{EA8!xmEz_X9npJ zl}234ox2P|j2?8=JFhkH@6b}< zA2EU*ByOPx`0dVi17AhYabM{47`Thx>i%}gXN4&%KPu2q+>1*R2H}mua7}fXbMipR zg>lijbhn3cw^2`x+qAxww$|)2t;y2Sn&q(;NVPT4@Pv>#{ct^D2H z{rlIC4-ug#8I@MRxwvl~?xiAk=a6S&I4?ydOS5*gpPGnD?S78YSL)+e^)aN6tF$pD zwdsV_`nX0PFVM&H*+>GI0a`ju9b?TbPT&$;ppluWnc|jGV2oShd~mG65w}zU$K8@Z zXbwQL!40>xUn=rfgkpHsZ9+L?q7T|MK3oI}-O_Z5W`cePG{Bu=A#kTmMavCIYyyQQ zp^m8^mo&`7Fth*iHoiM5L27Sji}#p87EFpkAW3F2i_0POc~%=IV1(>v!tNdm3JYiH ziZ!f;VOCwSNtYe$84c`*D-69weQz3?M|I7|W@wJtLABkmS;I7&i*?l&UG?~s%}ntl zhT^+)#ShO=Tn>864U;uYGkLbI7jFIS;6Lovmu%i*6a4pehOnH~)dvop-3 ztH$Te3dxC^5(nwHA+2GW^vxh0!(G8Zy#h<1cnHKphPZ}l;;RhhB-5-*dqLW3NNboT z?VBd8y%f{$!m0Z+9@7)ZApBok%l@yhyv{){Kt`Kkw->``Pv)dvKV6**2c<4)QmOzb zD*1s^1`<9PoiKV~EP}BX#u!em0RX3ZI`HiaO5^&}oD>ITJOO1rnyN_&o^xps&Pi%x zke!afjZw*=D|Et$`VcoKf!`CA_)VDgo!#glo*kl}9IP|Q8m>M>F5*IJUR9@#(tnEt zwbw2%O-|6pT36HO6DAUs2EjKtP+J^n98+OMK0SjD8@dDYM3MhELHlbv%a3KTs^I(~ zAHGB{XX%Hv3tFDliC#whIlRWlRTLwBjq(UkUY|j^H%nJ~8|K`cwWX&E?#R-e-X{Om zAV0w5Ie(n#ykf=*mu6|gySU{mGl)$vscXg}^+35?SECu?&C(^lmO0iL%PMj~rQ3Wr zRx0vQb-F!@{Jcv4>Fc;ik?)?SMv?De4>N8B76w{C&`w3ZS(ghjtbfL=ttuVxUu5Aj z+p_e8e~m?v?=R5mK%F1n7BwEYk7$uVHM7`6!kkxRn@TqZ7PTmHMww~eC(6_`4hj}U zP8&EDFp4~;&=&&UIq(Q8nr_X=7ZsWbJXyV5FKh~ONHvk`MYlBAM#gSR7v$yY@N;#K zbJi6c@h%_Uu;4<@u@2rhoN#?BeR|=N*au=X{DH{#dwsXB<|C&83Nh$CfMPyJh>x5U zJNr4Hbw*NHHizGZzBBv|!jZQTj+}sgFmfFFR3wS?tqG)W{XNpRzKQg$s$5(knV0gp zYT);tmHr)+ga!HOCa5J}?Rc40^94Dmnrr0bON{lV%8^{PyKl5(KRNEQH1iT-x4WLF zyBE1*!%SvO83t!NtA|8B{479CLUr;08W8@K*d;Z=))nM0prql+Q(`LoBpMZdLfo%& z{=_(siG25?XlPg~u51GLF3Eh78zc{i$6apeq4t7oE0{>IhqiIYq0Y_~WQEI9Z@oVp znlKXwTg5l&B&ng>M80=K+RP|T2CstgZW22UUY)_SGTwG^(BRE8c=7~&w0>{R1s`03 zE=4Xz^CKN-YGf_+sYpToZk}GY_)yvS`)E77O}!p*Bz%Ha3GULrbC6?ps7v_BbFg_( zQn88`zLI+TrIC5kaegFxfHBNQDf~+sJKM8i$@`_?FFf%XbFh1_=zvTYa=>9kE zIgRdPoN(LG{hyrvn&Co0J}`M^>z|s`9Bv1Pv7pf$Ud@)q6K_d}5T<`UyQ*iUW=1Ls zyL>0Pt9{d&Xt)Ius)f;QKws9OQI`U>nNcmLqSEH(Xm~MD7N4O6qu~WWiAtLU?&Rh` z6rg%|2)R=W;lAGF`y!1wk2#I`od7rs4bMPB3_2G)wc$S#@)*k9E!Z@}&exFafK z-P1DOk=VdI!vyHU?Ptprr>`{p{U)O#|4MQH0N!YMc_Dm3?H|%M?1_RC;M9-^eqRa_ zQ=2w-n#|q0OdELL9s{9OEC7~iBD-{vR`A!J9&NWlvp_RJBhXsKlync&@PlpElgmWD zM~6?H3m@P3F4|N}x=ADqChFPZ{=WBw%EbJWr-WIF%9HQFeKRh=cXZk>#;`bYroAH6 zUt5aOH82itF{i6xOl=u$uf<*Ob&33rTJ{zx^1I4hv2(|K9eYceEe`Ie)Uh`d__t(7 znT{P*959>TQVc!lMon96(5JSj^2SM3ZkSNzoiXSx&#`w{&q&P1shc+qFy6+Pop=jl zHDZA$PLUtXn^9pLE5Z0-{8I{L_a3|zK1}l-EC%f0eL=n#E}cN{D$xzMY#@n$QxL(N zTnTge_}26aG3Fj<7s%L+=~mG_ut~UfY#DgY_b!8N;hG1B&J_pa=b~^}>l@j`Z>5)j zv_&wFH8A|rG#v2(r?6&BfaDW8lI!b5UUF8CyWSmIB;L0Um*oUUvJSX)9dE7o!-yZA z$sup7Be~84XlHdbJl1Z2?1Cp*#g=q2`h1|z1IR4QPF6B{8C!IY$oG}P!&(k!qXhD# zR2=McKuWPc@#40$6{UJDOctYLW`A_GK$I5g(Q1J4>y6M|3?ZKWe+m9KVi!zFRlf4y z{-NoYY$Bvx(h449gv=t(HUYm}a2poU!;Qhx`{DVVY7e(k+c`gI+`N?7_cRiFB02&M|6G8-T?q&6Uu1|1`~Uy| delta 3267 zcmZu!3s6+o89w*!1@=K<1u`sm7g% zapphw{NHyT|MRSjJUzU_jLgWsCkN^81z7_!u*4cf>tKS^e-FWYGst-rBj2wQviz&? zh5IsRF2pi>GW!wY$Uy^duVgKa12@ZH3}-X{VGC}=Q8XupqQ3=sB*sQB$FZ3!Dqy32 z*^Mm7?Bo%uV53jScqQjC$}wFTGl`=AjNuSxH|plo>eU#2i{m*q>X7jtxow7D$J6); z+>lifELK+?jJZo02QRjkW(!N;Y!o%B%u}(6j`0p|BsAWFkR2^$JpJz+89`@qm%2+V zs7STp{nT>7yR%*hReY#3wtKhNf);XK(-nHg#4%qLXqCVnVF~A?+z?yn3E<-FC3aWL zU7~}#-6hE3g^_g(!f5F%flQ(3X&G#?9Gy^FTLdKat8}R8|rm0>ZCo7A{j4G##T6yxrhukDgN2ggd5To8A=NSbMaee+(rb_|hMV}+rkhIo z6j_?XPxCdVi<-?6PX1vR}7x0i0teNfXk$auK4Hn&Lw>gDifr6Ob6pVFbENG{!nH}$vX3_6MESGq(l`#;SDRNrVmu(o%z98kAHt6=t7PAp$Dw7GrWfZ~6z~l~D4~G& z7$GN&BO=Pu(M5Q`XYFNN`IlrVIFCPC<~27Y`<>Ua7>B2VWS}~UTPiDCid4`}!LKD1 z>54*@Ax9eF0QqPUl1$*ARMr*TNMz40TsWP;7b}|_ze_06VY;4igy@;?C(_rZ&l^o( zdsS`AON+pt!lo^YE;$CschqCj8-J9*2dY{Me0N@RL6Ktd zh4W&QmBI z2@=d5$>t)DGLK zp=F8vvUEGnqFsX3H`s=z4nRd+kB2$e8%)+Ttf&tEvTi+Nd>G1zZ16Q=xqf+YP6&u| z0^et^c)p$Y{|#myI-7=Bu)^r!{Sm?2#{lN_PYDQ~sZU|_ihm_@|6j=5e;LL>|0NhB z{*MX1_s<01dy(LK|3vV;ieyM7ZNPOeoBcqrAX)N4?EkR5^8$TuW$6~Y%hILulvBuLNEkfmxHwcIj<$xp-RG;%kDm zr6e0XSUegQBI29GAo1tIkjms!<~4!e{wgt2%y%X&)}AaEy4wHwAo`hb#bWin+>w&P z3X9x3aT~f4_&g<@hUcIQ2O7%7U9jIs?|3j}LXpu!0^dF6>!Qdujax&x1A4}7Pop*ORXJ_ms>>;9 zNXCPWl{F-{B;DlKN>LDc55D^$=NI8S400I6T!qk8T-xjmrlh81#*@N%;>krJ0v074 z1Mt+RB&Wu5l)XUhy|9sR_h{UIlVs;O`1u=QOAm6flV=5Q51KVQ-UIAiC?&4K2<7!I zDH;aJXpwrPBvu0_v5+ONs9fi z2}Y>9S4isoFT*_IPf5{KIu>?_#cg;~yPDnGv0&{pI|@D5Mv*IP@;De`rq#{O9#h>v znaH@`OPvTVa{q|NK2F(my7p1`0~+@j<+{PuCsp@YtC8n zgS&kHKJk5%hx$%}l<|Gl+_yFRQ_@z|Tax+jsorh`ZyC+o4p>e4miKeB?PQKCnoF4b z@%EO&;3}w~RrKEMNWj#mA<_ohXf17p(d*wr zYsm{^#J?FI{CY98MwfQ|I(q#>i)!P$8oQFR>uGDOr-rZBxN6FIz{oYK;rFSAy8&y} z3~#+FdaH2p%8FnEMeorXhV+BAN9W3&>{B}@2OQ1@;Xqgr1mYATz7x(NG}x9kZ5Q~R z>U^e5U?3y1Br4pjRX}v^RSE>Y*P=eco0NRP+q*>79{84G5(azoRCS%A7b3j|Rr{u* zNMFG3@@QO_sok!ULcZ#!}$EY?z|V^Ey~ErMr>?-rY^4r>04@% ho_8Vr{yL-|sYiNy1JZwq;13TF@;@H<69F+G{{z85y@db( diff --git a/Debug/Motor_Controller2.list b/Debug/Motor_Controller2.list index ed8f5b3..1a53126 100644 --- a/Debug/Motor_Controller2.list +++ b/Debug/Motor_Controller2.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 00003070 080000c0 080000c0 000100c0 2**2 + 1 .text 00003974 080000c0 080000c0 000100c0 2**2 CONTENTS, ALLOC, LOAD, READONLY, CODE - 2 .rodata 00000064 08003130 08003130 00013130 2**2 + 2 .rodata 00000068 08003a34 08003a34 00013a34 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA - 3 .ARM.extab 00000000 08003194 08003194 0002000c 2**0 + 3 .ARM.extab 00000000 08003a9c 08003a9c 0002000c 2**0 CONTENTS - 4 .ARM 00000000 08003194 08003194 0002000c 2**0 + 4 .ARM 00000000 08003a9c 08003a9c 0002000c 2**0 CONTENTS - 5 .preinit_array 00000000 08003194 08003194 0002000c 2**0 + 5 .preinit_array 00000000 08003a9c 08003a9c 0002000c 2**0 CONTENTS, ALLOC, LOAD, DATA - 6 .init_array 00000004 08003194 08003194 00013194 2**2 + 6 .init_array 00000004 08003a9c 08003a9c 00013a9c 2**2 CONTENTS, ALLOC, LOAD, DATA - 7 .fini_array 00000004 08003198 08003198 00013198 2**2 + 7 .fini_array 00000004 08003aa0 08003aa0 00013aa0 2**2 CONTENTS, ALLOC, LOAD, DATA - 8 .data 0000000c 20000000 0800319c 00020000 2**2 + 8 .data 0000000c 20000000 08003aa4 00020000 2**2 CONTENTS, ALLOC, LOAD, DATA - 9 .bss 000000e0 2000000c 080031a8 0002000c 2**2 + 9 .bss 00000144 2000000c 08003ab0 0002000c 2**2 ALLOC - 10 ._user_heap_stack 00000604 200000ec 080031a8 000200ec 2**0 + 10 ._user_heap_stack 00000600 20000150 08003ab0 00020150 2**0 ALLOC 11 .ARM.attributes 00000028 00000000 00000000 0002000c 2**0 CONTENTS, READONLY - 12 .debug_info 000054cd 00000000 00000000 00020034 2**0 + 12 .debug_info 0000acfa 00000000 00000000 00020034 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 13 .debug_abbrev 00001576 00000000 00000000 00025501 2**0 + 13 .debug_abbrev 00001d62 00000000 00000000 0002ad2e 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 14 .debug_aranges 00000510 00000000 00000000 00026a78 2**3 + 14 .debug_aranges 00000aa8 00000000 00000000 0002ca90 2**3 CONTENTS, READONLY, DEBUGGING, OCTETS - 15 .debug_ranges 00000448 00000000 00000000 00026f88 2**3 + 15 .debug_ranges 000009b0 00000000 00000000 0002d538 2**3 CONTENTS, READONLY, DEBUGGING, OCTETS - 16 .debug_macro 0000ec48 00000000 00000000 000273d0 2**0 + 16 .debug_macro 0000fbd0 00000000 00000000 0002dee8 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 17 .debug_line 000078b1 00000000 00000000 00036018 2**0 + 17 .debug_line 0000d257 00000000 00000000 0003dab8 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 18 .debug_str 00056904 00000000 00000000 0003d8c9 2**0 + 18 .debug_str 0005ede8 00000000 00000000 0004ad0f 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 19 .comment 00000053 00000000 00000000 000941cd 2**0 + 19 .comment 00000053 00000000 00000000 000a9af7 2**0 CONTENTS, READONLY - 20 .debug_frame 00000fd8 00000000 00000000 00094220 2**2 + 20 .debug_frame 00002558 00000000 00000000 000a9b4c 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: 08003118 .word 0x08003118 + 80000e4: 08003a1c .word 0x08003a1c 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: 08003118 .word 0x08003118 + 8000104: 08003a1c .word 0x08003a1c 08000108 <__udivsi3>: 8000108: 2200 movs r2, #0 @@ -479,8142 +479,9927 @@ int main(void) /* Reset of all peripherals, Initializes the Flash interface and the Systick. */ HAL_Init(); - 80003f8: f000 f9e4 bl 80007c4 + 80003f8: f000 fa62 bl 80008c0 /* USER CODE BEGIN Init */ /* USER CODE END Init */ /* Configure the system clock */ SystemClock_Config(); - 80003fc: f000 f807 bl 800040e + 80003fc: f000 f809 bl 8000412 /* USER CODE BEGIN SysInit */ /* USER CODE END SysInit */ /* Initialize all configured peripherals */ MX_GPIO_Init(); - 8000400: f000 f8be bl 8000580 + 8000400: f000 f8e4 bl 80005cc MX_ADC_Init(); - 8000404: f000 f854 bl 80004b0 + 8000404: f000 f856 bl 80004b4 + MX_TIM14_Init(); + 8000408: f000 f8bc bl 8000584 /* USER CODE BEGIN 2 */ my_code(); - 8000408: f002 f9d2 bl 80027b0 + 800040c: f002 fcf8 bl 8002e00 /* USER CODE END 2 */ /* Infinite loop */ /* USER CODE BEGIN WHILE */ while (1) - 800040c: e7fe b.n 800040c + 8000410: e7fe b.n 8000410 -0800040e : +08000412 : /** * @brief System Clock Configuration * @retval None */ void SystemClock_Config(void) { - 800040e: b590 push {r4, r7, lr} - 8000410: b091 sub sp, #68 ; 0x44 - 8000412: af00 add r7, sp, #0 + 8000412: b590 push {r4, r7, lr} + 8000414: b091 sub sp, #68 ; 0x44 + 8000416: af00 add r7, sp, #0 RCC_OscInitTypeDef RCC_OscInitStruct = {0}; - 8000414: 2410 movs r4, #16 - 8000416: 193b adds r3, r7, r4 - 8000418: 0018 movs r0, r3 - 800041a: 2330 movs r3, #48 ; 0x30 - 800041c: 001a movs r2, r3 - 800041e: 2100 movs r1, #0 - 8000420: f002 fe72 bl 8003108 + 8000418: 2410 movs r4, #16 + 800041a: 193b adds r3, r7, r4 + 800041c: 0018 movs r0, r3 + 800041e: 2330 movs r3, #48 ; 0x30 + 8000420: 001a movs r2, r3 + 8000422: 2100 movs r1, #0 + 8000424: f003 faf2 bl 8003a0c RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; - 8000424: 003b movs r3, r7 - 8000426: 0018 movs r0, r3 - 8000428: 2310 movs r3, #16 - 800042a: 001a movs r2, r3 - 800042c: 2100 movs r1, #0 - 800042e: f002 fe6b bl 8003108 + 8000428: 003b movs r3, r7 + 800042a: 0018 movs r0, r3 + 800042c: 2310 movs r3, #16 + 800042e: 001a movs r2, r3 + 8000430: 2100 movs r1, #0 + 8000432: f003 faeb bl 8003a0c /** Initializes the RCC Oscillators according to the specified parameters * in the RCC_OscInitTypeDef structure. */ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI|RCC_OSCILLATORTYPE_HSI14; - 8000432: 0021 movs r1, r4 - 8000434: 187b adds r3, r7, r1 - 8000436: 2212 movs r2, #18 - 8000438: 601a str r2, [r3, #0] + 8000436: 0021 movs r1, r4 + 8000438: 187b adds r3, r7, r1 + 800043a: 2212 movs r2, #18 + 800043c: 601a str r2, [r3, #0] RCC_OscInitStruct.HSIState = RCC_HSI_ON; - 800043a: 187b adds r3, r7, r1 - 800043c: 2201 movs r2, #1 - 800043e: 60da str r2, [r3, #12] + 800043e: 187b adds r3, r7, r1 + 8000440: 2201 movs r2, #1 + 8000442: 60da str r2, [r3, #12] RCC_OscInitStruct.HSI14State = RCC_HSI14_ON; - 8000440: 187b adds r3, r7, r1 - 8000442: 2201 movs r2, #1 - 8000444: 615a str r2, [r3, #20] + 8000444: 187b adds r3, r7, r1 + 8000446: 2201 movs r2, #1 + 8000448: 615a str r2, [r3, #20] RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT; - 8000446: 187b adds r3, r7, r1 - 8000448: 2210 movs r2, #16 - 800044a: 611a str r2, [r3, #16] + 800044a: 187b adds r3, r7, r1 + 800044c: 2210 movs r2, #16 + 800044e: 611a str r2, [r3, #16] RCC_OscInitStruct.HSI14CalibrationValue = 16; - 800044c: 187b adds r3, r7, r1 - 800044e: 2210 movs r2, #16 - 8000450: 619a str r2, [r3, #24] + 8000450: 187b adds r3, r7, r1 + 8000452: 2210 movs r2, #16 + 8000454: 619a str r2, [r3, #24] RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; - 8000452: 187b adds r3, r7, r1 - 8000454: 2202 movs r2, #2 - 8000456: 621a str r2, [r3, #32] + 8000456: 187b adds r3, r7, r1 + 8000458: 2202 movs r2, #2 + 800045a: 621a str r2, [r3, #32] RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI; - 8000458: 187b adds r3, r7, r1 - 800045a: 2200 movs r2, #0 - 800045c: 625a str r2, [r3, #36] ; 0x24 + 800045c: 187b adds r3, r7, r1 + 800045e: 2200 movs r2, #0 + 8000460: 625a str r2, [r3, #36] ; 0x24 RCC_OscInitStruct.PLL.PLLMUL = RCC_PLL_MUL12; - 800045e: 187b adds r3, r7, r1 - 8000460: 22a0 movs r2, #160 ; 0xa0 - 8000462: 0392 lsls r2, r2, #14 - 8000464: 629a str r2, [r3, #40] ; 0x28 + 8000462: 187b adds r3, r7, r1 + 8000464: 22a0 movs r2, #160 ; 0xa0 + 8000466: 0392 lsls r2, r2, #14 + 8000468: 629a str r2, [r3, #40] ; 0x28 RCC_OscInitStruct.PLL.PREDIV = RCC_PREDIV_DIV1; - 8000466: 187b adds r3, r7, r1 - 8000468: 2200 movs r2, #0 - 800046a: 62da str r2, [r3, #44] ; 0x2c + 800046a: 187b adds r3, r7, r1 + 800046c: 2200 movs r2, #0 + 800046e: 62da str r2, [r3, #44] ; 0x2c if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK) - 800046c: 187b adds r3, r7, r1 - 800046e: 0018 movs r0, r3 - 8000470: f001 f8fe bl 8001670 - 8000474: 1e03 subs r3, r0, #0 - 8000476: d001 beq.n 800047c + 8000470: 187b adds r3, r7, r1 + 8000472: 0018 movs r0, r3 + 8000474: f001 f9dc bl 8001830 + 8000478: 1e03 subs r3, r0, #0 + 800047a: d001 beq.n 8000480 { Error_Handler(); - 8000478: f000 f8ee bl 8000658 + 800047c: f000 f92c bl 80006d8 } /** Initializes the CPU, AHB and APB buses clocks */ RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK - 800047c: 003b movs r3, r7 - 800047e: 2207 movs r2, #7 - 8000480: 601a str r2, [r3, #0] + 8000480: 003b movs r3, r7 + 8000482: 2207 movs r2, #7 + 8000484: 601a str r2, [r3, #0] |RCC_CLOCKTYPE_PCLK1; RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; - 8000482: 003b movs r3, r7 - 8000484: 2202 movs r2, #2 - 8000486: 605a str r2, [r3, #4] + 8000486: 003b movs r3, r7 + 8000488: 2202 movs r2, #2 + 800048a: 605a str r2, [r3, #4] RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1; - 8000488: 003b movs r3, r7 - 800048a: 2200 movs r2, #0 - 800048c: 609a str r2, [r3, #8] + 800048c: 003b movs r3, r7 + 800048e: 2200 movs r2, #0 + 8000490: 609a str r2, [r3, #8] RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1; - 800048e: 003b movs r3, r7 - 8000490: 2200 movs r2, #0 - 8000492: 60da str r2, [r3, #12] + 8000492: 003b movs r3, r7 + 8000494: 2200 movs r2, #0 + 8000496: 60da str r2, [r3, #12] if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_1) != HAL_OK) - 8000494: 003b movs r3, r7 - 8000496: 2101 movs r1, #1 - 8000498: 0018 movs r0, r3 - 800049a: f001 fc03 bl 8001ca4 - 800049e: 1e03 subs r3, r0, #0 - 80004a0: d001 beq.n 80004a6 + 8000498: 003b movs r3, r7 + 800049a: 2101 movs r1, #1 + 800049c: 0018 movs r0, r3 + 800049e: f001 fce1 bl 8001e64 + 80004a2: 1e03 subs r3, r0, #0 + 80004a4: d001 beq.n 80004aa { Error_Handler(); - 80004a2: f000 f8d9 bl 8000658 + 80004a6: f000 f917 bl 80006d8 } } - 80004a6: 46c0 nop ; (mov r8, r8) - 80004a8: 46bd mov sp, r7 - 80004aa: b011 add sp, #68 ; 0x44 - 80004ac: bd90 pop {r4, r7, pc} + 80004aa: 46c0 nop ; (mov r8, r8) + 80004ac: 46bd mov sp, r7 + 80004ae: b011 add sp, #68 ; 0x44 + 80004b0: bd90 pop {r4, r7, pc} ... -080004b0 : +080004b4 : * @brief ADC Initialization Function * @param None * @retval None */ static void MX_ADC_Init(void) { - 80004b0: b580 push {r7, lr} - 80004b2: b084 sub sp, #16 - 80004b4: af00 add r7, sp, #0 + 80004b4: b580 push {r7, lr} + 80004b6: b084 sub sp, #16 + 80004b8: af00 add r7, sp, #0 /* USER CODE BEGIN ADC_Init 0 */ /* USER CODE END ADC_Init 0 */ ADC_ChannelConfTypeDef sConfig = {0}; - 80004b6: 1d3b adds r3, r7, #4 - 80004b8: 0018 movs r0, r3 - 80004ba: 230c movs r3, #12 - 80004bc: 001a movs r2, r3 - 80004be: 2100 movs r1, #0 - 80004c0: f002 fe22 bl 8003108 + 80004ba: 1d3b adds r3, r7, #4 + 80004bc: 0018 movs r0, r3 + 80004be: 230c movs r3, #12 + 80004c0: 001a movs r2, r3 + 80004c2: 2100 movs r1, #0 + 80004c4: f003 faa2 bl 8003a0c /* USER CODE BEGIN ADC_Init 1 */ /* USER CODE END ADC_Init 1 */ /** Configure the global features of the ADC (Clock, Resolution, Data Alignment and number of conversion) */ hadc.Instance = ADC1; - 80004c4: 4b2c ldr r3, [pc, #176] ; (8000578 ) - 80004c6: 4a2d ldr r2, [pc, #180] ; (800057c ) - 80004c8: 601a str r2, [r3, #0] + 80004c8: 4b2c ldr r3, [pc, #176] ; (800057c ) + 80004ca: 4a2d ldr r2, [pc, #180] ; (8000580 ) + 80004cc: 601a str r2, [r3, #0] hadc.Init.ClockPrescaler = ADC_CLOCK_ASYNC_DIV1; - 80004ca: 4b2b ldr r3, [pc, #172] ; (8000578 ) - 80004cc: 2200 movs r2, #0 - 80004ce: 605a str r2, [r3, #4] + 80004ce: 4b2b ldr r3, [pc, #172] ; (800057c ) + 80004d0: 2200 movs r2, #0 + 80004d2: 605a str r2, [r3, #4] hadc.Init.Resolution = ADC_RESOLUTION_12B; - 80004d0: 4b29 ldr r3, [pc, #164] ; (8000578 ) - 80004d2: 2200 movs r2, #0 - 80004d4: 609a str r2, [r3, #8] + 80004d4: 4b29 ldr r3, [pc, #164] ; (800057c ) + 80004d6: 2200 movs r2, #0 + 80004d8: 609a str r2, [r3, #8] hadc.Init.DataAlign = ADC_DATAALIGN_RIGHT; - 80004d6: 4b28 ldr r3, [pc, #160] ; (8000578 ) - 80004d8: 2200 movs r2, #0 - 80004da: 60da str r2, [r3, #12] + 80004da: 4b28 ldr r3, [pc, #160] ; (800057c ) + 80004dc: 2200 movs r2, #0 + 80004de: 60da str r2, [r3, #12] hadc.Init.ScanConvMode = ADC_SCAN_DIRECTION_FORWARD; - 80004dc: 4b26 ldr r3, [pc, #152] ; (8000578 ) - 80004de: 2201 movs r2, #1 - 80004e0: 611a str r2, [r3, #16] + 80004e0: 4b26 ldr r3, [pc, #152] ; (800057c ) + 80004e2: 2201 movs r2, #1 + 80004e4: 611a str r2, [r3, #16] hadc.Init.EOCSelection = ADC_EOC_SINGLE_CONV; - 80004e2: 4b25 ldr r3, [pc, #148] ; (8000578 ) - 80004e4: 2204 movs r2, #4 - 80004e6: 615a str r2, [r3, #20] + 80004e6: 4b25 ldr r3, [pc, #148] ; (800057c ) + 80004e8: 2204 movs r2, #4 + 80004ea: 615a str r2, [r3, #20] hadc.Init.LowPowerAutoWait = DISABLE; - 80004e8: 4b23 ldr r3, [pc, #140] ; (8000578 ) - 80004ea: 2200 movs r2, #0 - 80004ec: 761a strb r2, [r3, #24] + 80004ec: 4b23 ldr r3, [pc, #140] ; (800057c ) + 80004ee: 2200 movs r2, #0 + 80004f0: 761a strb r2, [r3, #24] hadc.Init.LowPowerAutoPowerOff = DISABLE; - 80004ee: 4b22 ldr r3, [pc, #136] ; (8000578 ) - 80004f0: 2200 movs r2, #0 - 80004f2: 765a strb r2, [r3, #25] + 80004f2: 4b22 ldr r3, [pc, #136] ; (800057c ) + 80004f4: 2200 movs r2, #0 + 80004f6: 765a strb r2, [r3, #25] hadc.Init.ContinuousConvMode = DISABLE; - 80004f4: 4b20 ldr r3, [pc, #128] ; (8000578 ) - 80004f6: 2200 movs r2, #0 - 80004f8: 769a strb r2, [r3, #26] + 80004f8: 4b20 ldr r3, [pc, #128] ; (800057c ) + 80004fa: 2200 movs r2, #0 + 80004fc: 769a strb r2, [r3, #26] hadc.Init.DiscontinuousConvMode = DISABLE; - 80004fa: 4b1f ldr r3, [pc, #124] ; (8000578 ) - 80004fc: 2200 movs r2, #0 - 80004fe: 76da strb r2, [r3, #27] + 80004fe: 4b1f ldr r3, [pc, #124] ; (800057c ) + 8000500: 2200 movs r2, #0 + 8000502: 76da strb r2, [r3, #27] hadc.Init.ExternalTrigConv = ADC_SOFTWARE_START; - 8000500: 4b1d ldr r3, [pc, #116] ; (8000578 ) - 8000502: 22c2 movs r2, #194 ; 0xc2 - 8000504: 32ff adds r2, #255 ; 0xff - 8000506: 61da str r2, [r3, #28] + 8000504: 4b1d ldr r3, [pc, #116] ; (800057c ) + 8000506: 22c2 movs r2, #194 ; 0xc2 + 8000508: 32ff adds r2, #255 ; 0xff + 800050a: 61da str r2, [r3, #28] hadc.Init.ExternalTrigConvEdge = ADC_EXTERNALTRIGCONVEDGE_NONE; - 8000508: 4b1b ldr r3, [pc, #108] ; (8000578 ) - 800050a: 2200 movs r2, #0 - 800050c: 621a str r2, [r3, #32] + 800050c: 4b1b ldr r3, [pc, #108] ; (800057c ) + 800050e: 2200 movs r2, #0 + 8000510: 621a str r2, [r3, #32] hadc.Init.DMAContinuousRequests = DISABLE; - 800050e: 4b1a ldr r3, [pc, #104] ; (8000578 ) - 8000510: 2224 movs r2, #36 ; 0x24 - 8000512: 2100 movs r1, #0 - 8000514: 5499 strb r1, [r3, r2] + 8000512: 4b1a ldr r3, [pc, #104] ; (800057c ) + 8000514: 2224 movs r2, #36 ; 0x24 + 8000516: 2100 movs r1, #0 + 8000518: 5499 strb r1, [r3, r2] hadc.Init.Overrun = ADC_OVR_DATA_PRESERVED; - 8000516: 4b18 ldr r3, [pc, #96] ; (8000578 ) - 8000518: 2201 movs r2, #1 - 800051a: 629a str r2, [r3, #40] ; 0x28 + 800051a: 4b18 ldr r3, [pc, #96] ; (800057c ) + 800051c: 2201 movs r2, #1 + 800051e: 629a str r2, [r3, #40] ; 0x28 if (HAL_ADC_Init(&hadc) != HAL_OK) - 800051c: 4b16 ldr r3, [pc, #88] ; (8000578 ) - 800051e: 0018 movs r0, r3 - 8000520: f000 f9b4 bl 800088c - 8000524: 1e03 subs r3, r0, #0 - 8000526: d001 beq.n 800052c + 8000520: 4b16 ldr r3, [pc, #88] ; (800057c ) + 8000522: 0018 movs r0, r3 + 8000524: f000 fa30 bl 8000988 + 8000528: 1e03 subs r3, r0, #0 + 800052a: d001 beq.n 8000530 { Error_Handler(); - 8000528: f000 f896 bl 8000658 + 800052c: f000 f8d4 bl 80006d8 } /** Configure for the selected ADC regular channel to be converted. */ sConfig.Channel = ADC_CHANNEL_0; - 800052c: 1d3b adds r3, r7, #4 - 800052e: 2200 movs r2, #0 - 8000530: 601a str r2, [r3, #0] + 8000530: 1d3b adds r3, r7, #4 + 8000532: 2200 movs r2, #0 + 8000534: 601a str r2, [r3, #0] sConfig.Rank = ADC_RANK_CHANNEL_NUMBER; - 8000532: 1d3b adds r3, r7, #4 - 8000534: 2280 movs r2, #128 ; 0x80 - 8000536: 0152 lsls r2, r2, #5 - 8000538: 605a str r2, [r3, #4] + 8000536: 1d3b adds r3, r7, #4 + 8000538: 2280 movs r2, #128 ; 0x80 + 800053a: 0152 lsls r2, r2, #5 + 800053c: 605a str r2, [r3, #4] sConfig.SamplingTime = ADC_SAMPLETIME_1CYCLE_5; - 800053a: 1d3b adds r3, r7, #4 - 800053c: 2280 movs r2, #128 ; 0x80 - 800053e: 0552 lsls r2, r2, #21 - 8000540: 609a str r2, [r3, #8] + 800053e: 1d3b adds r3, r7, #4 + 8000540: 2280 movs r2, #128 ; 0x80 + 8000542: 0552 lsls r2, r2, #21 + 8000544: 609a str r2, [r3, #8] if (HAL_ADC_ConfigChannel(&hadc, &sConfig) != HAL_OK) - 8000542: 1d3a adds r2, r7, #4 - 8000544: 4b0c ldr r3, [pc, #48] ; (8000578 ) - 8000546: 0011 movs r1, r2 - 8000548: 0018 movs r0, r3 - 800054a: f000 fc17 bl 8000d7c - 800054e: 1e03 subs r3, r0, #0 - 8000550: d001 beq.n 8000556 + 8000546: 1d3a adds r2, r7, #4 + 8000548: 4b0c ldr r3, [pc, #48] ; (800057c ) + 800054a: 0011 movs r1, r2 + 800054c: 0018 movs r0, r3 + 800054e: f000 fc93 bl 8000e78 + 8000552: 1e03 subs r3, r0, #0 + 8000554: d001 beq.n 800055a { Error_Handler(); - 8000552: f000 f881 bl 8000658 + 8000556: f000 f8bf bl 80006d8 } /** Configure for the selected ADC regular channel to be converted. */ sConfig.Channel = ADC_CHANNEL_1; - 8000556: 1d3b adds r3, r7, #4 - 8000558: 2201 movs r2, #1 - 800055a: 601a str r2, [r3, #0] + 800055a: 1d3b adds r3, r7, #4 + 800055c: 2201 movs r2, #1 + 800055e: 601a str r2, [r3, #0] if (HAL_ADC_ConfigChannel(&hadc, &sConfig) != HAL_OK) - 800055c: 1d3a adds r2, r7, #4 - 800055e: 4b06 ldr r3, [pc, #24] ; (8000578 ) - 8000560: 0011 movs r1, r2 - 8000562: 0018 movs r0, r3 - 8000564: f000 fc0a bl 8000d7c - 8000568: 1e03 subs r3, r0, #0 - 800056a: d001 beq.n 8000570 + 8000560: 1d3a adds r2, r7, #4 + 8000562: 4b06 ldr r3, [pc, #24] ; (800057c ) + 8000564: 0011 movs r1, r2 + 8000566: 0018 movs r0, r3 + 8000568: f000 fc86 bl 8000e78 + 800056c: 1e03 subs r3, r0, #0 + 800056e: d001 beq.n 8000574 { Error_Handler(); - 800056c: f000 f874 bl 8000658 + 8000570: f000 f8b2 bl 80006d8 } /* USER CODE BEGIN ADC_Init 2 */ /* USER CODE END ADC_Init 2 */ } - 8000570: 46c0 nop ; (mov r8, r8) - 8000572: 46bd mov sp, r7 - 8000574: b004 add sp, #16 - 8000576: bd80 pop {r7, pc} - 8000578: 20000034 .word 0x20000034 - 800057c: 40012400 .word 0x40012400 + 8000574: 46c0 nop ; (mov r8, r8) + 8000576: 46bd mov sp, r7 + 8000578: b004 add sp, #16 + 800057a: bd80 pop {r7, pc} + 800057c: 2000008c .word 0x2000008c + 8000580: 40012400 .word 0x40012400 -08000580 : +08000584 : + * @brief TIM14 Initialization Function + * @param None + * @retval None + */ +static void MX_TIM14_Init(void) +{ + 8000584: b580 push {r7, lr} + 8000586: af00 add r7, sp, #0 + /* USER CODE END TIM14_Init 0 */ + + /* USER CODE BEGIN TIM14_Init 1 */ + + /* USER CODE END TIM14_Init 1 */ + htim14.Instance = TIM14; + 8000588: 4b0e ldr r3, [pc, #56] ; (80005c4 ) + 800058a: 4a0f ldr r2, [pc, #60] ; (80005c8 ) + 800058c: 601a str r2, [r3, #0] + htim14.Init.Prescaler = 48-1; + 800058e: 4b0d ldr r3, [pc, #52] ; (80005c4 ) + 8000590: 222f movs r2, #47 ; 0x2f + 8000592: 605a str r2, [r3, #4] + htim14.Init.CounterMode = TIM_COUNTERMODE_UP; + 8000594: 4b0b ldr r3, [pc, #44] ; (80005c4 ) + 8000596: 2200 movs r2, #0 + 8000598: 609a str r2, [r3, #8] + htim14.Init.Period = 100-1; + 800059a: 4b0a ldr r3, [pc, #40] ; (80005c4 ) + 800059c: 2263 movs r2, #99 ; 0x63 + 800059e: 60da str r2, [r3, #12] + htim14.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1; + 80005a0: 4b08 ldr r3, [pc, #32] ; (80005c4 ) + 80005a2: 2200 movs r2, #0 + 80005a4: 611a str r2, [r3, #16] + htim14.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE; + 80005a6: 4b07 ldr r3, [pc, #28] ; (80005c4 ) + 80005a8: 2200 movs r2, #0 + 80005aa: 619a str r2, [r3, #24] + if (HAL_TIM_Base_Init(&htim14) != HAL_OK) + 80005ac: 4b05 ldr r3, [pc, #20] ; (80005c4 ) + 80005ae: 0018 movs r0, r3 + 80005b0: f001 fd8a bl 80020c8 + 80005b4: 1e03 subs r3, r0, #0 + 80005b6: d001 beq.n 80005bc + { + Error_Handler(); + 80005b8: f000 f88e bl 80006d8 + } + /* USER CODE BEGIN TIM14_Init 2 */ + + /* USER CODE END TIM14_Init 2 */ + +} + 80005bc: 46c0 nop ; (mov r8, r8) + 80005be: 46bd mov sp, r7 + 80005c0: bd80 pop {r7, pc} + 80005c2: 46c0 nop ; (mov r8, r8) + 80005c4: 20000044 .word 0x20000044 + 80005c8: 40002000 .word 0x40002000 + +080005cc : * @brief GPIO Initialization Function * @param None * @retval None */ static void MX_GPIO_Init(void) { - 8000580: b590 push {r4, r7, lr} - 8000582: b089 sub sp, #36 ; 0x24 - 8000584: af00 add r7, sp, #0 + 80005cc: b590 push {r4, r7, lr} + 80005ce: b089 sub sp, #36 ; 0x24 + 80005d0: af00 add r7, sp, #0 GPIO_InitTypeDef GPIO_InitStruct = {0}; - 8000586: 240c movs r4, #12 - 8000588: 193b adds r3, r7, r4 - 800058a: 0018 movs r0, r3 - 800058c: 2314 movs r3, #20 - 800058e: 001a movs r2, r3 - 8000590: 2100 movs r1, #0 - 8000592: f002 fdb9 bl 8003108 + 80005d2: 240c movs r4, #12 + 80005d4: 193b adds r3, r7, r4 + 80005d6: 0018 movs r0, r3 + 80005d8: 2314 movs r3, #20 + 80005da: 001a movs r2, r3 + 80005dc: 2100 movs r1, #0 + 80005de: f003 fa15 bl 8003a0c /* GPIO Ports Clock Enable */ __HAL_RCC_GPIOF_CLK_ENABLE(); - 8000596: 4b2e ldr r3, [pc, #184] ; (8000650 ) - 8000598: 695a ldr r2, [r3, #20] - 800059a: 4b2d ldr r3, [pc, #180] ; (8000650 ) - 800059c: 2180 movs r1, #128 ; 0x80 - 800059e: 03c9 lsls r1, r1, #15 - 80005a0: 430a orrs r2, r1 - 80005a2: 615a str r2, [r3, #20] - 80005a4: 4b2a ldr r3, [pc, #168] ; (8000650 ) - 80005a6: 695a ldr r2, [r3, #20] - 80005a8: 2380 movs r3, #128 ; 0x80 - 80005aa: 03db lsls r3, r3, #15 - 80005ac: 4013 ands r3, r2 - 80005ae: 60bb str r3, [r7, #8] - 80005b0: 68bb ldr r3, [r7, #8] + 80005e2: 4b3b ldr r3, [pc, #236] ; (80006d0 ) + 80005e4: 695a ldr r2, [r3, #20] + 80005e6: 4b3a ldr r3, [pc, #232] ; (80006d0 ) + 80005e8: 2180 movs r1, #128 ; 0x80 + 80005ea: 03c9 lsls r1, r1, #15 + 80005ec: 430a orrs r2, r1 + 80005ee: 615a str r2, [r3, #20] + 80005f0: 4b37 ldr r3, [pc, #220] ; (80006d0 ) + 80005f2: 695a ldr r2, [r3, #20] + 80005f4: 2380 movs r3, #128 ; 0x80 + 80005f6: 03db lsls r3, r3, #15 + 80005f8: 4013 ands r3, r2 + 80005fa: 60bb str r3, [r7, #8] + 80005fc: 68bb ldr r3, [r7, #8] __HAL_RCC_GPIOA_CLK_ENABLE(); - 80005b2: 4b27 ldr r3, [pc, #156] ; (8000650 ) - 80005b4: 695a ldr r2, [r3, #20] - 80005b6: 4b26 ldr r3, [pc, #152] ; (8000650 ) - 80005b8: 2180 movs r1, #128 ; 0x80 - 80005ba: 0289 lsls r1, r1, #10 - 80005bc: 430a orrs r2, r1 - 80005be: 615a str r2, [r3, #20] - 80005c0: 4b23 ldr r3, [pc, #140] ; (8000650 ) - 80005c2: 695a ldr r2, [r3, #20] - 80005c4: 2380 movs r3, #128 ; 0x80 - 80005c6: 029b lsls r3, r3, #10 - 80005c8: 4013 ands r3, r2 - 80005ca: 607b str r3, [r7, #4] - 80005cc: 687b ldr r3, [r7, #4] + 80005fe: 4b34 ldr r3, [pc, #208] ; (80006d0 ) + 8000600: 695a ldr r2, [r3, #20] + 8000602: 4b33 ldr r3, [pc, #204] ; (80006d0 ) + 8000604: 2180 movs r1, #128 ; 0x80 + 8000606: 0289 lsls r1, r1, #10 + 8000608: 430a orrs r2, r1 + 800060a: 615a str r2, [r3, #20] + 800060c: 4b30 ldr r3, [pc, #192] ; (80006d0 ) + 800060e: 695a ldr r2, [r3, #20] + 8000610: 2380 movs r3, #128 ; 0x80 + 8000612: 029b lsls r3, r3, #10 + 8000614: 4013 ands r3, r2 + 8000616: 607b str r3, [r7, #4] + 8000618: 687b ldr r3, [r7, #4] /*Configure GPIO pin Output Level */ HAL_GPIO_WritePin(GPIOA, U_T_Pin|HC595_DLK_Pin|HC595_SLK_Pin|HC595_RLK_Pin - 80005ce: 23b9 movs r3, #185 ; 0xb9 - 80005d0: 0099 lsls r1, r3, #2 - 80005d2: 2390 movs r3, #144 ; 0x90 - 80005d4: 05db lsls r3, r3, #23 - 80005d6: 2200 movs r2, #0 - 80005d8: 0018 movs r0, r3 - 80005da: f001 f82b bl 8001634 + 800061a: 23b9 movs r3, #185 ; 0xb9 + 800061c: 0099 lsls r1, r3, #2 + 800061e: 2390 movs r3, #144 ; 0x90 + 8000620: 05db lsls r3, r3, #23 + 8000622: 2200 movs r2, #0 + 8000624: 0018 movs r0, r3 + 8000626: f001 f8ca bl 80017be |HC595_SLK2_Pin, GPIO_PIN_RESET); /*Configure GPIO pins : MOT_IN1_Pin MOT_IN2_Pin */ GPIO_InitStruct.Pin = MOT_IN1_Pin|MOT_IN2_Pin; - 80005de: 193b adds r3, r7, r4 - 80005e0: 2203 movs r2, #3 - 80005e2: 601a str r2, [r3, #0] + 800062a: 193b adds r3, r7, r4 + 800062c: 2203 movs r2, #3 + 800062e: 601a str r2, [r3, #0] GPIO_InitStruct.Mode = GPIO_MODE_INPUT; - 80005e4: 193b adds r3, r7, r4 - 80005e6: 2200 movs r2, #0 - 80005e8: 605a str r2, [r3, #4] + 8000630: 193b adds r3, r7, r4 + 8000632: 2200 movs r2, #0 + 8000634: 605a str r2, [r3, #4] GPIO_InitStruct.Pull = GPIO_PULLDOWN; - 80005ea: 193b adds r3, r7, r4 - 80005ec: 2202 movs r2, #2 - 80005ee: 609a str r2, [r3, #8] + 8000636: 193b adds r3, r7, r4 + 8000638: 2202 movs r2, #2 + 800063a: 609a str r2, [r3, #8] HAL_GPIO_Init(GPIOF, &GPIO_InitStruct); - 80005f0: 193b adds r3, r7, r4 - 80005f2: 4a18 ldr r2, [pc, #96] ; (8000654 ) - 80005f4: 0019 movs r1, r3 - 80005f6: 0010 movs r0, r2 - 80005f8: f000 feac bl 8001354 + 800063c: 193b adds r3, r7, r4 + 800063e: 4a25 ldr r2, [pc, #148] ; (80006d4 ) + 8000640: 0019 movs r1, r3 + 8000642: 0010 movs r0, r2 + 8000644: f000 ff2e bl 80014a4 /*Configure GPIO pins : U_T_Pin HC595_DLK_Pin HC595_SLK_Pin HC595_RLK_Pin HC595_SLK2_Pin */ GPIO_InitStruct.Pin = U_T_Pin|HC595_DLK_Pin|HC595_SLK_Pin|HC595_RLK_Pin - 80005fc: 0021 movs r1, r4 - 80005fe: 187b adds r3, r7, r1 - 8000600: 22b9 movs r2, #185 ; 0xb9 - 8000602: 0092 lsls r2, r2, #2 - 8000604: 601a str r2, [r3, #0] + 8000648: 0021 movs r1, r4 + 800064a: 187b adds r3, r7, r1 + 800064c: 22b9 movs r2, #185 ; 0xb9 + 800064e: 0092 lsls r2, r2, #2 + 8000650: 601a str r2, [r3, #0] |HC595_SLK2_Pin; GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; - 8000606: 000c movs r4, r1 - 8000608: 193b adds r3, r7, r4 - 800060a: 2201 movs r2, #1 - 800060c: 605a str r2, [r3, #4] + 8000652: 000c movs r4, r1 + 8000654: 193b adds r3, r7, r4 + 8000656: 2201 movs r2, #1 + 8000658: 605a str r2, [r3, #4] GPIO_InitStruct.Pull = GPIO_PULLDOWN; - 800060e: 193b adds r3, r7, r4 - 8000610: 2202 movs r2, #2 - 8000612: 609a str r2, [r3, #8] + 800065a: 193b adds r3, r7, r4 + 800065c: 2202 movs r2, #2 + 800065e: 609a str r2, [r3, #8] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH; - 8000614: 193b adds r3, r7, r4 - 8000616: 2203 movs r2, #3 - 8000618: 60da str r2, [r3, #12] + 8000660: 193b adds r3, r7, r4 + 8000662: 2203 movs r2, #3 + 8000664: 60da str r2, [r3, #12] HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); - 800061a: 193a adds r2, r7, r4 - 800061c: 2390 movs r3, #144 ; 0x90 - 800061e: 05db lsls r3, r3, #23 - 8000620: 0011 movs r1, r2 - 8000622: 0018 movs r0, r3 - 8000624: f000 fe96 bl 8001354 + 8000666: 193a adds r2, r7, r4 + 8000668: 2390 movs r3, #144 ; 0x90 + 800066a: 05db lsls r3, r3, #23 + 800066c: 0011 movs r1, r2 + 800066e: 0018 movs r0, r3 + 8000670: f000 ff18 bl 80014a4 - /*Configure GPIO pins : U_R_Pin I_R_Pin */ - GPIO_InitStruct.Pin = U_R_Pin|I_R_Pin; - 8000628: 193b adds r3, r7, r4 - 800062a: 2218 movs r2, #24 - 800062c: 601a str r2, [r3, #0] + /*Configure GPIO pin : infeaed_Pin */ + GPIO_InitStruct.Pin = infeaed_Pin; + 8000674: 193b adds r3, r7, r4 + 8000676: 2208 movs r2, #8 + 8000678: 601a str r2, [r3, #0] + GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING_FALLING; + 800067a: 193b adds r3, r7, r4 + 800067c: 22c4 movs r2, #196 ; 0xc4 + 800067e: 0392 lsls r2, r2, #14 + 8000680: 605a str r2, [r3, #4] + GPIO_InitStruct.Pull = GPIO_PULLUP; + 8000682: 193b adds r3, r7, r4 + 8000684: 2201 movs r2, #1 + 8000686: 609a str r2, [r3, #8] + HAL_GPIO_Init(infeaed_GPIO_Port, &GPIO_InitStruct); + 8000688: 193a adds r2, r7, r4 + 800068a: 2390 movs r3, #144 ; 0x90 + 800068c: 05db lsls r3, r3, #23 + 800068e: 0011 movs r1, r2 + 8000690: 0018 movs r0, r3 + 8000692: f000 ff07 bl 80014a4 + + /*Configure GPIO pin : I_R_Pin */ + GPIO_InitStruct.Pin = I_R_Pin; + 8000696: 193b adds r3, r7, r4 + 8000698: 2210 movs r2, #16 + 800069a: 601a str r2, [r3, #0] GPIO_InitStruct.Mode = GPIO_MODE_INPUT; - 800062e: 193b adds r3, r7, r4 - 8000630: 2200 movs r2, #0 - 8000632: 605a str r2, [r3, #4] + 800069c: 193b adds r3, r7, r4 + 800069e: 2200 movs r2, #0 + 80006a0: 605a str r2, [r3, #4] GPIO_InitStruct.Pull = GPIO_PULLDOWN; - 8000634: 193b adds r3, r7, r4 - 8000636: 2202 movs r2, #2 - 8000638: 609a str r2, [r3, #8] - HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); - 800063a: 193a adds r2, r7, r4 - 800063c: 2390 movs r3, #144 ; 0x90 - 800063e: 05db lsls r3, r3, #23 - 8000640: 0011 movs r1, r2 - 8000642: 0018 movs r0, r3 - 8000644: f000 fe86 bl 8001354 + 80006a2: 193b adds r3, r7, r4 + 80006a4: 2202 movs r2, #2 + 80006a6: 609a str r2, [r3, #8] + HAL_GPIO_Init(I_R_GPIO_Port, &GPIO_InitStruct); + 80006a8: 193a adds r2, r7, r4 + 80006aa: 2390 movs r3, #144 ; 0x90 + 80006ac: 05db lsls r3, r3, #23 + 80006ae: 0011 movs r1, r2 + 80006b0: 0018 movs r0, r3 + 80006b2: f000 fef7 bl 80014a4 + + /* EXTI interrupt init*/ + HAL_NVIC_SetPriority(EXTI2_3_IRQn, 0, 0); + 80006b6: 2200 movs r2, #0 + 80006b8: 2100 movs r1, #0 + 80006ba: 2006 movs r0, #6 + 80006bc: f000 fec0 bl 8001440 + HAL_NVIC_EnableIRQ(EXTI2_3_IRQn); + 80006c0: 2006 movs r0, #6 + 80006c2: f000 fed2 bl 800146a } - 8000648: 46c0 nop ; (mov r8, r8) - 800064a: 46bd mov sp, r7 - 800064c: b009 add sp, #36 ; 0x24 - 800064e: bd90 pop {r4, r7, pc} - 8000650: 40021000 .word 0x40021000 - 8000654: 48001400 .word 0x48001400 + 80006c6: 46c0 nop ; (mov r8, r8) + 80006c8: 46bd mov sp, r7 + 80006ca: b009 add sp, #36 ; 0x24 + 80006cc: bd90 pop {r4, r7, pc} + 80006ce: 46c0 nop ; (mov r8, r8) + 80006d0: 40021000 .word 0x40021000 + 80006d4: 48001400 .word 0x48001400 -08000658 : +080006d8 : /** * @brief This function is executed in case of error occurrence. * @retval None */ void Error_Handler(void) { - 8000658: b580 push {r7, lr} - 800065a: af00 add r7, sp, #0 + 80006d8: b580 push {r7, lr} + 80006da: 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"); - 800065c: b672 cpsid i + 80006dc: b672 cpsid i } - 800065e: 46c0 nop ; (mov r8, r8) + 80006de: 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) - 8000660: e7fe b.n 8000660 + 80006e0: e7fe b.n 80006e0 ... -08000664 : +080006e4 : /* USER CODE END 0 */ /** * Initializes the Global MSP. */ void HAL_MspInit(void) { - 8000664: b580 push {r7, lr} - 8000666: b082 sub sp, #8 - 8000668: af00 add r7, sp, #0 + 80006e4: b580 push {r7, lr} + 80006e6: b082 sub sp, #8 + 80006e8: af00 add r7, sp, #0 /* USER CODE BEGIN MspInit 0 */ /* USER CODE END MspInit 0 */ __HAL_RCC_SYSCFG_CLK_ENABLE(); - 800066a: 4b0f ldr r3, [pc, #60] ; (80006a8 ) - 800066c: 699a ldr r2, [r3, #24] - 800066e: 4b0e ldr r3, [pc, #56] ; (80006a8 ) - 8000670: 2101 movs r1, #1 - 8000672: 430a orrs r2, r1 - 8000674: 619a str r2, [r3, #24] - 8000676: 4b0c ldr r3, [pc, #48] ; (80006a8 ) - 8000678: 699b ldr r3, [r3, #24] - 800067a: 2201 movs r2, #1 - 800067c: 4013 ands r3, r2 - 800067e: 607b str r3, [r7, #4] - 8000680: 687b ldr r3, [r7, #4] + 80006ea: 4b0f ldr r3, [pc, #60] ; (8000728 ) + 80006ec: 699a ldr r2, [r3, #24] + 80006ee: 4b0e ldr r3, [pc, #56] ; (8000728 ) + 80006f0: 2101 movs r1, #1 + 80006f2: 430a orrs r2, r1 + 80006f4: 619a str r2, [r3, #24] + 80006f6: 4b0c ldr r3, [pc, #48] ; (8000728 ) + 80006f8: 699b ldr r3, [r3, #24] + 80006fa: 2201 movs r2, #1 + 80006fc: 4013 ands r3, r2 + 80006fe: 607b str r3, [r7, #4] + 8000700: 687b ldr r3, [r7, #4] __HAL_RCC_PWR_CLK_ENABLE(); - 8000682: 4b09 ldr r3, [pc, #36] ; (80006a8 ) - 8000684: 69da ldr r2, [r3, #28] - 8000686: 4b08 ldr r3, [pc, #32] ; (80006a8 ) - 8000688: 2180 movs r1, #128 ; 0x80 - 800068a: 0549 lsls r1, r1, #21 - 800068c: 430a orrs r2, r1 - 800068e: 61da str r2, [r3, #28] - 8000690: 4b05 ldr r3, [pc, #20] ; (80006a8 ) - 8000692: 69da ldr r2, [r3, #28] - 8000694: 2380 movs r3, #128 ; 0x80 - 8000696: 055b lsls r3, r3, #21 - 8000698: 4013 ands r3, r2 - 800069a: 603b str r3, [r7, #0] - 800069c: 683b ldr r3, [r7, #0] + 8000702: 4b09 ldr r3, [pc, #36] ; (8000728 ) + 8000704: 69da ldr r2, [r3, #28] + 8000706: 4b08 ldr r3, [pc, #32] ; (8000728 ) + 8000708: 2180 movs r1, #128 ; 0x80 + 800070a: 0549 lsls r1, r1, #21 + 800070c: 430a orrs r2, r1 + 800070e: 61da str r2, [r3, #28] + 8000710: 4b05 ldr r3, [pc, #20] ; (8000728 ) + 8000712: 69da ldr r2, [r3, #28] + 8000714: 2380 movs r3, #128 ; 0x80 + 8000716: 055b lsls r3, r3, #21 + 8000718: 4013 ands r3, r2 + 800071a: 603b str r3, [r7, #0] + 800071c: 683b ldr r3, [r7, #0] /* System interrupt init*/ /* USER CODE BEGIN MspInit 1 */ /* USER CODE END MspInit 1 */ } - 800069e: 46c0 nop ; (mov r8, r8) - 80006a0: 46bd mov sp, r7 - 80006a2: b002 add sp, #8 - 80006a4: bd80 pop {r7, pc} - 80006a6: 46c0 nop ; (mov r8, r8) - 80006a8: 40021000 .word 0x40021000 + 800071e: 46c0 nop ; (mov r8, r8) + 8000720: 46bd mov sp, r7 + 8000722: b002 add sp, #8 + 8000724: bd80 pop {r7, pc} + 8000726: 46c0 nop ; (mov r8, r8) + 8000728: 40021000 .word 0x40021000 -080006ac : +0800072c : * This function configures the hardware resources used in this example * @param hadc: ADC handle pointer * @retval None */ void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc) { - 80006ac: b590 push {r4, r7, lr} - 80006ae: b08b sub sp, #44 ; 0x2c - 80006b0: af00 add r7, sp, #0 - 80006b2: 6078 str r0, [r7, #4] + 800072c: b590 push {r4, r7, lr} + 800072e: b08b sub sp, #44 ; 0x2c + 8000730: af00 add r7, sp, #0 + 8000732: 6078 str r0, [r7, #4] GPIO_InitTypeDef GPIO_InitStruct = {0}; - 80006b4: 2414 movs r4, #20 - 80006b6: 193b adds r3, r7, r4 - 80006b8: 0018 movs r0, r3 - 80006ba: 2314 movs r3, #20 - 80006bc: 001a movs r2, r3 - 80006be: 2100 movs r1, #0 - 80006c0: f002 fd22 bl 8003108 + 8000734: 2414 movs r4, #20 + 8000736: 193b adds r3, r7, r4 + 8000738: 0018 movs r0, r3 + 800073a: 2314 movs r3, #20 + 800073c: 001a movs r2, r3 + 800073e: 2100 movs r1, #0 + 8000740: f003 f964 bl 8003a0c if(hadc->Instance==ADC1) - 80006c4: 687b ldr r3, [r7, #4] - 80006c6: 681b ldr r3, [r3, #0] - 80006c8: 4a19 ldr r2, [pc, #100] ; (8000730 ) - 80006ca: 4293 cmp r3, r2 - 80006cc: d12b bne.n 8000726 + 8000744: 687b ldr r3, [r7, #4] + 8000746: 681b ldr r3, [r3, #0] + 8000748: 4a19 ldr r2, [pc, #100] ; (80007b0 ) + 800074a: 4293 cmp r3, r2 + 800074c: d12b bne.n 80007a6 { /* USER CODE BEGIN ADC1_MspInit 0 */ /* USER CODE END ADC1_MspInit 0 */ /* Peripheral clock enable */ __HAL_RCC_ADC1_CLK_ENABLE(); - 80006ce: 4b19 ldr r3, [pc, #100] ; (8000734 ) - 80006d0: 699a ldr r2, [r3, #24] - 80006d2: 4b18 ldr r3, [pc, #96] ; (8000734 ) - 80006d4: 2180 movs r1, #128 ; 0x80 - 80006d6: 0089 lsls r1, r1, #2 - 80006d8: 430a orrs r2, r1 - 80006da: 619a str r2, [r3, #24] - 80006dc: 4b15 ldr r3, [pc, #84] ; (8000734 ) - 80006de: 699a ldr r2, [r3, #24] - 80006e0: 2380 movs r3, #128 ; 0x80 - 80006e2: 009b lsls r3, r3, #2 - 80006e4: 4013 ands r3, r2 - 80006e6: 613b str r3, [r7, #16] - 80006e8: 693b ldr r3, [r7, #16] + 800074e: 4b19 ldr r3, [pc, #100] ; (80007b4 ) + 8000750: 699a ldr r2, [r3, #24] + 8000752: 4b18 ldr r3, [pc, #96] ; (80007b4 ) + 8000754: 2180 movs r1, #128 ; 0x80 + 8000756: 0089 lsls r1, r1, #2 + 8000758: 430a orrs r2, r1 + 800075a: 619a str r2, [r3, #24] + 800075c: 4b15 ldr r3, [pc, #84] ; (80007b4 ) + 800075e: 699a ldr r2, [r3, #24] + 8000760: 2380 movs r3, #128 ; 0x80 + 8000762: 009b lsls r3, r3, #2 + 8000764: 4013 ands r3, r2 + 8000766: 613b str r3, [r7, #16] + 8000768: 693b ldr r3, [r7, #16] __HAL_RCC_GPIOA_CLK_ENABLE(); - 80006ea: 4b12 ldr r3, [pc, #72] ; (8000734 ) - 80006ec: 695a ldr r2, [r3, #20] - 80006ee: 4b11 ldr r3, [pc, #68] ; (8000734 ) - 80006f0: 2180 movs r1, #128 ; 0x80 - 80006f2: 0289 lsls r1, r1, #10 - 80006f4: 430a orrs r2, r1 - 80006f6: 615a str r2, [r3, #20] - 80006f8: 4b0e ldr r3, [pc, #56] ; (8000734 ) - 80006fa: 695a ldr r2, [r3, #20] - 80006fc: 2380 movs r3, #128 ; 0x80 - 80006fe: 029b lsls r3, r3, #10 - 8000700: 4013 ands r3, r2 - 8000702: 60fb str r3, [r7, #12] - 8000704: 68fb ldr r3, [r7, #12] + 800076a: 4b12 ldr r3, [pc, #72] ; (80007b4 ) + 800076c: 695a ldr r2, [r3, #20] + 800076e: 4b11 ldr r3, [pc, #68] ; (80007b4 ) + 8000770: 2180 movs r1, #128 ; 0x80 + 8000772: 0289 lsls r1, r1, #10 + 8000774: 430a orrs r2, r1 + 8000776: 615a str r2, [r3, #20] + 8000778: 4b0e ldr r3, [pc, #56] ; (80007b4 ) + 800077a: 695a ldr r2, [r3, #20] + 800077c: 2380 movs r3, #128 ; 0x80 + 800077e: 029b lsls r3, r3, #10 + 8000780: 4013 ands r3, r2 + 8000782: 60fb str r3, [r7, #12] + 8000784: 68fb ldr r3, [r7, #12] /**ADC GPIO Configuration PA0 ------> ADC_IN0 PA1 ------> ADC_IN1 */ GPIO_InitStruct.Pin = ADC_CH0_Pin|ADC_CH1_Pin; - 8000706: 193b adds r3, r7, r4 - 8000708: 2203 movs r2, #3 - 800070a: 601a str r2, [r3, #0] + 8000786: 193b adds r3, r7, r4 + 8000788: 2203 movs r2, #3 + 800078a: 601a str r2, [r3, #0] GPIO_InitStruct.Mode = GPIO_MODE_ANALOG; - 800070c: 193b adds r3, r7, r4 - 800070e: 2203 movs r2, #3 - 8000710: 605a str r2, [r3, #4] + 800078c: 193b adds r3, r7, r4 + 800078e: 2203 movs r2, #3 + 8000790: 605a str r2, [r3, #4] GPIO_InitStruct.Pull = GPIO_NOPULL; - 8000712: 193b adds r3, r7, r4 - 8000714: 2200 movs r2, #0 - 8000716: 609a str r2, [r3, #8] + 8000792: 193b adds r3, r7, r4 + 8000794: 2200 movs r2, #0 + 8000796: 609a str r2, [r3, #8] HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); - 8000718: 193a adds r2, r7, r4 - 800071a: 2390 movs r3, #144 ; 0x90 - 800071c: 05db lsls r3, r3, #23 - 800071e: 0011 movs r1, r2 - 8000720: 0018 movs r0, r3 - 8000722: f000 fe17 bl 8001354 + 8000798: 193a adds r2, r7, r4 + 800079a: 2390 movs r3, #144 ; 0x90 + 800079c: 05db lsls r3, r3, #23 + 800079e: 0011 movs r1, r2 + 80007a0: 0018 movs r0, r3 + 80007a2: f000 fe7f bl 80014a4 /* USER CODE BEGIN ADC1_MspInit 1 */ /* USER CODE END ADC1_MspInit 1 */ } } - 8000726: 46c0 nop ; (mov r8, r8) - 8000728: 46bd mov sp, r7 - 800072a: b00b add sp, #44 ; 0x2c - 800072c: bd90 pop {r4, r7, pc} - 800072e: 46c0 nop ; (mov r8, r8) - 8000730: 40012400 .word 0x40012400 - 8000734: 40021000 .word 0x40021000 + 80007a6: 46c0 nop ; (mov r8, r8) + 80007a8: 46bd mov sp, r7 + 80007aa: b00b add sp, #44 ; 0x2c + 80007ac: bd90 pop {r4, r7, pc} + 80007ae: 46c0 nop ; (mov r8, r8) + 80007b0: 40012400 .word 0x40012400 + 80007b4: 40021000 .word 0x40021000 -08000738 : +080007b8 : +* This function configures the hardware resources used in this example +* @param htim_base: TIM_Base handle pointer +* @retval None +*/ +void HAL_TIM_Base_MspInit(TIM_HandleTypeDef* htim_base) +{ + 80007b8: b580 push {r7, lr} + 80007ba: b084 sub sp, #16 + 80007bc: af00 add r7, sp, #0 + 80007be: 6078 str r0, [r7, #4] + if(htim_base->Instance==TIM14) + 80007c0: 687b ldr r3, [r7, #4] + 80007c2: 681b ldr r3, [r3, #0] + 80007c4: 4a0e ldr r2, [pc, #56] ; (8000800 ) + 80007c6: 4293 cmp r3, r2 + 80007c8: d115 bne.n 80007f6 + { + /* USER CODE BEGIN TIM14_MspInit 0 */ + + /* USER CODE END TIM14_MspInit 0 */ + /* Peripheral clock enable */ + __HAL_RCC_TIM14_CLK_ENABLE(); + 80007ca: 4b0e ldr r3, [pc, #56] ; (8000804 ) + 80007cc: 69da ldr r2, [r3, #28] + 80007ce: 4b0d ldr r3, [pc, #52] ; (8000804 ) + 80007d0: 2180 movs r1, #128 ; 0x80 + 80007d2: 0049 lsls r1, r1, #1 + 80007d4: 430a orrs r2, r1 + 80007d6: 61da str r2, [r3, #28] + 80007d8: 4b0a ldr r3, [pc, #40] ; (8000804 ) + 80007da: 69da ldr r2, [r3, #28] + 80007dc: 2380 movs r3, #128 ; 0x80 + 80007de: 005b lsls r3, r3, #1 + 80007e0: 4013 ands r3, r2 + 80007e2: 60fb str r3, [r7, #12] + 80007e4: 68fb ldr r3, [r7, #12] + /* TIM14 interrupt Init */ + HAL_NVIC_SetPriority(TIM14_IRQn, 0, 0); + 80007e6: 2200 movs r2, #0 + 80007e8: 2100 movs r1, #0 + 80007ea: 2013 movs r0, #19 + 80007ec: f000 fe28 bl 8001440 + HAL_NVIC_EnableIRQ(TIM14_IRQn); + 80007f0: 2013 movs r0, #19 + 80007f2: f000 fe3a bl 800146a + /* USER CODE BEGIN TIM14_MspInit 1 */ + + /* USER CODE END TIM14_MspInit 1 */ + } + +} + 80007f6: 46c0 nop ; (mov r8, r8) + 80007f8: 46bd mov sp, r7 + 80007fa: b004 add sp, #16 + 80007fc: bd80 pop {r7, pc} + 80007fe: 46c0 nop ; (mov r8, r8) + 8000800: 40002000 .word 0x40002000 + 8000804: 40021000 .word 0x40021000 + +08000808 : /******************************************************************************/ /** * @brief This function handles Non maskable interrupt. */ void NMI_Handler(void) { - 8000738: b580 push {r7, lr} - 800073a: af00 add r7, sp, #0 + 8000808: b580 push {r7, lr} + 800080a: 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) - 800073c: e7fe b.n 800073c + 800080c: e7fe b.n 800080c -0800073e : +0800080e : /** * @brief This function handles Hard fault interrupt. */ void HardFault_Handler(void) { - 800073e: b580 push {r7, lr} - 8000740: af00 add r7, sp, #0 + 800080e: b580 push {r7, lr} + 8000810: af00 add r7, sp, #0 /* USER CODE BEGIN HardFault_IRQn 0 */ /* USER CODE END HardFault_IRQn 0 */ while (1) - 8000742: e7fe b.n 8000742 + 8000812: e7fe b.n 8000812 -08000744 : +08000814 : /** * @brief This function handles System service call via SWI instruction. */ void SVC_Handler(void) { - 8000744: b580 push {r7, lr} - 8000746: af00 add r7, sp, #0 + 8000814: b580 push {r7, lr} + 8000816: af00 add r7, sp, #0 /* USER CODE END SVC_IRQn 0 */ /* USER CODE BEGIN SVC_IRQn 1 */ /* USER CODE END SVC_IRQn 1 */ } - 8000748: 46c0 nop ; (mov r8, r8) - 800074a: 46bd mov sp, r7 - 800074c: bd80 pop {r7, pc} + 8000818: 46c0 nop ; (mov r8, r8) + 800081a: 46bd mov sp, r7 + 800081c: bd80 pop {r7, pc} -0800074e : +0800081e : /** * @brief This function handles Pendable request for system service. */ void PendSV_Handler(void) { - 800074e: b580 push {r7, lr} - 8000750: af00 add r7, sp, #0 + 800081e: b580 push {r7, lr} + 8000820: af00 add r7, sp, #0 /* USER CODE END PendSV_IRQn 0 */ /* USER CODE BEGIN PendSV_IRQn 1 */ /* USER CODE END PendSV_IRQn 1 */ } - 8000752: 46c0 nop ; (mov r8, r8) - 8000754: 46bd mov sp, r7 - 8000756: bd80 pop {r7, pc} + 8000822: 46c0 nop ; (mov r8, r8) + 8000824: 46bd mov sp, r7 + 8000826: bd80 pop {r7, pc} -08000758 : +08000828 : /** * @brief This function handles System tick timer. */ void SysTick_Handler(void) { - 8000758: b580 push {r7, lr} - 800075a: af00 add r7, sp, #0 + 8000828: b580 push {r7, lr} + 800082a: af00 add r7, sp, #0 /* USER CODE BEGIN SysTick_IRQn 0 */ /* USER CODE END SysTick_IRQn 0 */ HAL_IncTick(); - 800075c: f000 f87a bl 8000854 + 800082c: f000 f890 bl 8000950 /* USER CODE BEGIN SysTick_IRQn 1 */ /* USER CODE END SysTick_IRQn 1 */ } - 8000760: 46c0 nop ; (mov r8, r8) - 8000762: 46bd mov sp, r7 - 8000764: bd80 pop {r7, pc} + 8000830: 46c0 nop ; (mov r8, r8) + 8000832: 46bd mov sp, r7 + 8000834: bd80 pop {r7, pc} -08000766 : +08000836 : + +/** + * @brief This function handles EXTI line 2 and 3 interrupts. + */ +void EXTI2_3_IRQHandler(void) +{ + 8000836: b580 push {r7, lr} + 8000838: af00 add r7, sp, #0 + /* USER CODE BEGIN EXTI2_3_IRQn 0 */ + + /* USER CODE END EXTI2_3_IRQn 0 */ + HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_3); + 800083a: 2008 movs r0, #8 + 800083c: f000 ffdc bl 80017f8 + /* USER CODE BEGIN EXTI2_3_IRQn 1 */ + + /* USER CODE END EXTI2_3_IRQn 1 */ +} + 8000840: 46c0 nop ; (mov r8, r8) + 8000842: 46bd mov sp, r7 + 8000844: bd80 pop {r7, pc} + ... + +08000848 : + +/** + * @brief This function handles TIM14 global interrupt. + */ +void TIM14_IRQHandler(void) +{ + 8000848: b580 push {r7, lr} + 800084a: af00 add r7, sp, #0 + /* USER CODE BEGIN TIM14_IRQn 0 */ + + /* USER CODE END TIM14_IRQn 0 */ + HAL_TIM_IRQHandler(&htim14); + 800084c: 4b03 ldr r3, [pc, #12] ; (800085c ) + 800084e: 0018 movs r0, r3 + 8000850: f001 fcd0 bl 80021f4 + /* USER CODE BEGIN TIM14_IRQn 1 */ + + /* USER CODE END TIM14_IRQn 1 */ +} + 8000854: 46c0 nop ; (mov r8, r8) + 8000856: 46bd mov sp, r7 + 8000858: bd80 pop {r7, pc} + 800085a: 46c0 nop ; (mov r8, r8) + 800085c: 20000044 .word 0x20000044 + +08000860 : * @brief Setup the microcontroller system * @param None * @retval None */ void SystemInit(void) { - 8000766: b580 push {r7, lr} - 8000768: af00 add r7, sp, #0 + 8000860: b580 push {r7, lr} + 8000862: 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). */ } - 800076a: 46c0 nop ; (mov r8, r8) - 800076c: 46bd mov sp, r7 - 800076e: bd80 pop {r7, pc} + 8000864: 46c0 nop ; (mov r8, r8) + 8000866: 46bd mov sp, r7 + 8000868: bd80 pop {r7, pc} + ... -08000770 : +0800086c : .section .text.Reset_Handler .weak Reset_Handler .type Reset_Handler, %function Reset_Handler: ldr r0, =_estack - 8000770: 480d ldr r0, [pc, #52] ; (80007a8 ) + 800086c: 480d ldr r0, [pc, #52] ; (80008a4 ) mov sp, r0 /* set stack pointer */ - 8000772: 4685 mov sp, r0 + 800086e: 4685 mov sp, r0 /* Copy the data segment initializers from flash to SRAM */ ldr r0, =_sdata - 8000774: 480d ldr r0, [pc, #52] ; (80007ac ) + 8000870: 480d ldr r0, [pc, #52] ; (80008a8 ) ldr r1, =_edata - 8000776: 490e ldr r1, [pc, #56] ; (80007b0 ) + 8000872: 490e ldr r1, [pc, #56] ; (80008ac ) ldr r2, =_sidata - 8000778: 4a0e ldr r2, [pc, #56] ; (80007b4 ) + 8000874: 4a0e ldr r2, [pc, #56] ; (80008b0 ) movs r3, #0 - 800077a: 2300 movs r3, #0 + 8000876: 2300 movs r3, #0 b LoopCopyDataInit - 800077c: e002 b.n 8000784 + 8000878: e002 b.n 8000880 -0800077e : +0800087a : CopyDataInit: ldr r4, [r2, r3] - 800077e: 58d4 ldr r4, [r2, r3] + 800087a: 58d4 ldr r4, [r2, r3] str r4, [r0, r3] - 8000780: 50c4 str r4, [r0, r3] + 800087c: 50c4 str r4, [r0, r3] adds r3, r3, #4 - 8000782: 3304 adds r3, #4 + 800087e: 3304 adds r3, #4 -08000784 : +08000880 : LoopCopyDataInit: adds r4, r0, r3 - 8000784: 18c4 adds r4, r0, r3 + 8000880: 18c4 adds r4, r0, r3 cmp r4, r1 - 8000786: 428c cmp r4, r1 + 8000882: 428c cmp r4, r1 bcc CopyDataInit - 8000788: d3f9 bcc.n 800077e + 8000884: d3f9 bcc.n 800087a /* Zero fill the bss segment. */ ldr r2, =_sbss - 800078a: 4a0b ldr r2, [pc, #44] ; (80007b8 ) + 8000886: 4a0b ldr r2, [pc, #44] ; (80008b4 ) ldr r4, =_ebss - 800078c: 4c0b ldr r4, [pc, #44] ; (80007bc ) + 8000888: 4c0b ldr r4, [pc, #44] ; (80008b8 ) movs r3, #0 - 800078e: 2300 movs r3, #0 + 800088a: 2300 movs r3, #0 b LoopFillZerobss - 8000790: e001 b.n 8000796 + 800088c: e001 b.n 8000892 -08000792 : +0800088e : FillZerobss: str r3, [r2] - 8000792: 6013 str r3, [r2, #0] + 800088e: 6013 str r3, [r2, #0] adds r2, r2, #4 - 8000794: 3204 adds r2, #4 + 8000890: 3204 adds r2, #4 -08000796 : +08000892 : LoopFillZerobss: cmp r2, r4 - 8000796: 42a2 cmp r2, r4 + 8000892: 42a2 cmp r2, r4 bcc FillZerobss - 8000798: d3fb bcc.n 8000792 + 8000894: d3fb bcc.n 800088e /* Call the clock system intitialization function.*/ bl SystemInit - 800079a: f7ff ffe4 bl 8000766 + 8000896: f7ff ffe3 bl 8000860 /* Call static constructors */ bl __libc_init_array - 800079e: f002 fc8f bl 80030c0 <__libc_init_array> + 800089a: f003 f893 bl 80039c4 <__libc_init_array> /* Call the application's entry point.*/ bl main - 80007a2: f7ff fe27 bl 80003f4
+ 800089e: f7ff fda9 bl 80003f4
-080007a6 : +080008a2 : LoopForever: b LoopForever - 80007a6: e7fe b.n 80007a6 + 80008a2: e7fe b.n 80008a2 ldr r0, =_estack - 80007a8: 20001000 .word 0x20001000 + 80008a4: 20001000 .word 0x20001000 ldr r0, =_sdata - 80007ac: 20000000 .word 0x20000000 + 80008a8: 20000000 .word 0x20000000 ldr r1, =_edata - 80007b0: 2000000c .word 0x2000000c + 80008ac: 2000000c .word 0x2000000c ldr r2, =_sidata - 80007b4: 0800319c .word 0x0800319c + 80008b0: 08003aa4 .word 0x08003aa4 ldr r2, =_sbss - 80007b8: 2000000c .word 0x2000000c + 80008b4: 2000000c .word 0x2000000c ldr r4, =_ebss - 80007bc: 200000ec .word 0x200000ec + 80008b8: 20000150 .word 0x20000150 -080007c0 : +080008bc : * @retval : None */ .section .text.Default_Handler,"ax",%progbits Default_Handler: Infinite_Loop: b Infinite_Loop - 80007c0: e7fe b.n 80007c0 + 80008bc: e7fe b.n 80008bc ... -080007c4 : +080008c0 : * In the default implementation,Systick is used as source of time base. * The tick variable is incremented each 1ms in its ISR. * @retval HAL status */ HAL_StatusTypeDef HAL_Init(void) { - 80007c4: b580 push {r7, lr} - 80007c6: af00 add r7, sp, #0 + 80008c0: b580 push {r7, lr} + 80008c2: af00 add r7, sp, #0 /* Configure Flash prefetch */ #if (PREFETCH_ENABLE != 0) __HAL_FLASH_PREFETCH_BUFFER_ENABLE(); - 80007c8: 4b07 ldr r3, [pc, #28] ; (80007e8 ) - 80007ca: 681a ldr r2, [r3, #0] - 80007cc: 4b06 ldr r3, [pc, #24] ; (80007e8 ) - 80007ce: 2110 movs r1, #16 - 80007d0: 430a orrs r2, r1 - 80007d2: 601a str r2, [r3, #0] + 80008c4: 4b07 ldr r3, [pc, #28] ; (80008e4 ) + 80008c6: 681a ldr r2, [r3, #0] + 80008c8: 4b06 ldr r3, [pc, #24] ; (80008e4 ) + 80008ca: 2110 movs r1, #16 + 80008cc: 430a orrs r2, r1 + 80008ce: 601a str r2, [r3, #0] #endif /* PREFETCH_ENABLE */ /* Use systick as time base source and configure 1ms tick (default clock after Reset is HSI) */ HAL_InitTick(TICK_INT_PRIORITY); - 80007d4: 2003 movs r0, #3 - 80007d6: f000 f809 bl 80007ec + 80008d0: 2003 movs r0, #3 + 80008d2: f000 f809 bl 80008e8 /* Init the low level hardware */ HAL_MspInit(); - 80007da: f7ff ff43 bl 8000664 + 80008d6: f7ff ff05 bl 80006e4 /* Return function status */ return HAL_OK; - 80007de: 2300 movs r3, #0 + 80008da: 2300 movs r3, #0 } - 80007e0: 0018 movs r0, r3 - 80007e2: 46bd mov sp, r7 - 80007e4: bd80 pop {r7, pc} - 80007e6: 46c0 nop ; (mov r8, r8) - 80007e8: 40022000 .word 0x40022000 + 80008dc: 0018 movs r0, r3 + 80008de: 46bd mov sp, r7 + 80008e0: bd80 pop {r7, pc} + 80008e2: 46c0 nop ; (mov r8, r8) + 80008e4: 40022000 .word 0x40022000 -080007ec : +080008e8 : * implementation in user file. * @param TickPriority Tick interrupt priority. * @retval HAL status */ __weak HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority) { - 80007ec: b590 push {r4, r7, lr} - 80007ee: b083 sub sp, #12 - 80007f0: af00 add r7, sp, #0 - 80007f2: 6078 str r0, [r7, #4] + 80008e8: b590 push {r4, r7, lr} + 80008ea: b083 sub sp, #12 + 80008ec: af00 add r7, sp, #0 + 80008ee: 6078 str r0, [r7, #4] /*Configure the SysTick to have interrupt in 1ms time basis*/ if (HAL_SYSTICK_Config(SystemCoreClock / (1000U / uwTickFreq)) > 0U) - 80007f4: 4b14 ldr r3, [pc, #80] ; (8000848 ) - 80007f6: 681c ldr r4, [r3, #0] - 80007f8: 4b14 ldr r3, [pc, #80] ; (800084c ) - 80007fa: 781b ldrb r3, [r3, #0] - 80007fc: 0019 movs r1, r3 - 80007fe: 23fa movs r3, #250 ; 0xfa - 8000800: 0098 lsls r0, r3, #2 - 8000802: f7ff fc81 bl 8000108 <__udivsi3> - 8000806: 0003 movs r3, r0 - 8000808: 0019 movs r1, r3 - 800080a: 0020 movs r0, r4 - 800080c: f7ff fc7c bl 8000108 <__udivsi3> - 8000810: 0003 movs r3, r0 - 8000812: 0018 movs r0, r3 - 8000814: f000 fd91 bl 800133a - 8000818: 1e03 subs r3, r0, #0 - 800081a: d001 beq.n 8000820 + 80008f0: 4b14 ldr r3, [pc, #80] ; (8000944 ) + 80008f2: 681c ldr r4, [r3, #0] + 80008f4: 4b14 ldr r3, [pc, #80] ; (8000948 ) + 80008f6: 781b ldrb r3, [r3, #0] + 80008f8: 0019 movs r1, r3 + 80008fa: 23fa movs r3, #250 ; 0xfa + 80008fc: 0098 lsls r0, r3, #2 + 80008fe: f7ff fc03 bl 8000108 <__udivsi3> + 8000902: 0003 movs r3, r0 + 8000904: 0019 movs r1, r3 + 8000906: 0020 movs r0, r4 + 8000908: f7ff fbfe bl 8000108 <__udivsi3> + 800090c: 0003 movs r3, r0 + 800090e: 0018 movs r0, r3 + 8000910: f000 fdbb bl 800148a + 8000914: 1e03 subs r3, r0, #0 + 8000916: d001 beq.n 800091c { return HAL_ERROR; - 800081c: 2301 movs r3, #1 - 800081e: e00f b.n 8000840 + 8000918: 2301 movs r3, #1 + 800091a: e00f b.n 800093c } /* Configure the SysTick IRQ priority */ if (TickPriority < (1UL << __NVIC_PRIO_BITS)) - 8000820: 687b ldr r3, [r7, #4] - 8000822: 2b03 cmp r3, #3 - 8000824: d80b bhi.n 800083e + 800091c: 687b ldr r3, [r7, #4] + 800091e: 2b03 cmp r3, #3 + 8000920: d80b bhi.n 800093a { HAL_NVIC_SetPriority(SysTick_IRQn, TickPriority, 0U); - 8000826: 6879 ldr r1, [r7, #4] - 8000828: 2301 movs r3, #1 - 800082a: 425b negs r3, r3 - 800082c: 2200 movs r2, #0 - 800082e: 0018 movs r0, r3 - 8000830: f000 fd6e bl 8001310 + 8000922: 6879 ldr r1, [r7, #4] + 8000924: 2301 movs r3, #1 + 8000926: 425b negs r3, r3 + 8000928: 2200 movs r2, #0 + 800092a: 0018 movs r0, r3 + 800092c: f000 fd88 bl 8001440 uwTickPrio = TickPriority; - 8000834: 4b06 ldr r3, [pc, #24] ; (8000850 ) - 8000836: 687a ldr r2, [r7, #4] - 8000838: 601a str r2, [r3, #0] + 8000930: 4b06 ldr r3, [pc, #24] ; (800094c ) + 8000932: 687a ldr r2, [r7, #4] + 8000934: 601a str r2, [r3, #0] { return HAL_ERROR; } /* Return function status */ return HAL_OK; - 800083a: 2300 movs r3, #0 - 800083c: e000 b.n 8000840 + 8000936: 2300 movs r3, #0 + 8000938: e000 b.n 800093c return HAL_ERROR; - 800083e: 2301 movs r3, #1 + 800093a: 2301 movs r3, #1 } - 8000840: 0018 movs r0, r3 - 8000842: 46bd mov sp, r7 - 8000844: b003 add sp, #12 - 8000846: bd90 pop {r4, r7, pc} - 8000848: 20000000 .word 0x20000000 - 800084c: 20000008 .word 0x20000008 - 8000850: 20000004 .word 0x20000004 + 800093c: 0018 movs r0, r3 + 800093e: 46bd mov sp, r7 + 8000940: b003 add sp, #12 + 8000942: bd90 pop {r4, r7, pc} + 8000944: 20000000 .word 0x20000000 + 8000948: 20000008 .word 0x20000008 + 800094c: 20000004 .word 0x20000004 -08000854 : +08000950 : * @note This function is declared as __weak to be overwritten in case of other * implementations in user file. * @retval None */ __weak void HAL_IncTick(void) { - 8000854: b580 push {r7, lr} - 8000856: af00 add r7, sp, #0 + 8000950: b580 push {r7, lr} + 8000952: af00 add r7, sp, #0 uwTick += uwTickFreq; - 8000858: 4b05 ldr r3, [pc, #20] ; (8000870 ) - 800085a: 781b ldrb r3, [r3, #0] - 800085c: 001a movs r2, r3 - 800085e: 4b05 ldr r3, [pc, #20] ; (8000874 ) - 8000860: 681b ldr r3, [r3, #0] - 8000862: 18d2 adds r2, r2, r3 - 8000864: 4b03 ldr r3, [pc, #12] ; (8000874 ) - 8000866: 601a str r2, [r3, #0] + 8000954: 4b05 ldr r3, [pc, #20] ; (800096c ) + 8000956: 781b ldrb r3, [r3, #0] + 8000958: 001a movs r2, r3 + 800095a: 4b05 ldr r3, [pc, #20] ; (8000970 ) + 800095c: 681b ldr r3, [r3, #0] + 800095e: 18d2 adds r2, r2, r3 + 8000960: 4b03 ldr r3, [pc, #12] ; (8000970 ) + 8000962: 601a str r2, [r3, #0] } - 8000868: 46c0 nop ; (mov r8, r8) - 800086a: 46bd mov sp, r7 - 800086c: bd80 pop {r7, pc} - 800086e: 46c0 nop ; (mov r8, r8) - 8000870: 20000008 .word 0x20000008 - 8000874: 20000074 .word 0x20000074 + 8000964: 46c0 nop ; (mov r8, r8) + 8000966: 46bd mov sp, r7 + 8000968: bd80 pop {r7, pc} + 800096a: 46c0 nop ; (mov r8, r8) + 800096c: 20000008 .word 0x20000008 + 8000970: 200000cc .word 0x200000cc -08000878 : +08000974 : * @note This function is declared as __weak to be overwritten in case of other * implementations in user file. * @retval tick value */ __weak uint32_t HAL_GetTick(void) { - 8000878: b580 push {r7, lr} - 800087a: af00 add r7, sp, #0 + 8000974: b580 push {r7, lr} + 8000976: af00 add r7, sp, #0 return uwTick; - 800087c: 4b02 ldr r3, [pc, #8] ; (8000888 ) - 800087e: 681b ldr r3, [r3, #0] + 8000978: 4b02 ldr r3, [pc, #8] ; (8000984 ) + 800097a: 681b ldr r3, [r3, #0] } - 8000880: 0018 movs r0, r3 - 8000882: 46bd mov sp, r7 - 8000884: bd80 pop {r7, pc} - 8000886: 46c0 nop ; (mov r8, r8) - 8000888: 20000074 .word 0x20000074 + 800097c: 0018 movs r0, r3 + 800097e: 46bd mov sp, r7 + 8000980: bd80 pop {r7, pc} + 8000982: 46c0 nop ; (mov r8, r8) + 8000984: 200000cc .word 0x200000cc -0800088c : +08000988 : * of structure "ADC_InitTypeDef". * @param hadc ADC handle * @retval HAL status */ HAL_StatusTypeDef HAL_ADC_Init(ADC_HandleTypeDef* hadc) { - 800088c: b580 push {r7, lr} - 800088e: b084 sub sp, #16 - 8000890: af00 add r7, sp, #0 - 8000892: 6078 str r0, [r7, #4] + 8000988: b580 push {r7, lr} + 800098a: b084 sub sp, #16 + 800098c: af00 add r7, sp, #0 + 800098e: 6078 str r0, [r7, #4] HAL_StatusTypeDef tmp_hal_status = HAL_OK; - 8000894: 230f movs r3, #15 - 8000896: 18fb adds r3, r7, r3 - 8000898: 2200 movs r2, #0 - 800089a: 701a strb r2, [r3, #0] + 8000990: 230f movs r3, #15 + 8000992: 18fb adds r3, r7, r3 + 8000994: 2200 movs r2, #0 + 8000996: 701a strb r2, [r3, #0] uint32_t tmpCFGR1 = 0U; - 800089c: 2300 movs r3, #0 - 800089e: 60bb str r3, [r7, #8] + 8000998: 2300 movs r3, #0 + 800099a: 60bb str r3, [r7, #8] /* Check ADC handle */ if(hadc == NULL) - 80008a0: 687b ldr r3, [r7, #4] - 80008a2: 2b00 cmp r3, #0 - 80008a4: d101 bne.n 80008aa + 800099c: 687b ldr r3, [r7, #4] + 800099e: 2b00 cmp r3, #0 + 80009a0: d101 bne.n 80009a6 { return HAL_ERROR; - 80008a6: 2301 movs r3, #1 - 80008a8: e125 b.n 8000af6 + 80009a2: 2301 movs r3, #1 + 80009a4: e125 b.n 8000bf2 /* Refer to header of this file for more details on clock enabling procedure*/ /* Actions performed only if ADC is coming from state reset: */ /* - Initialization of ADC MSP */ /* - ADC voltage regulator enable */ if (hadc->State == HAL_ADC_STATE_RESET) - 80008aa: 687b ldr r3, [r7, #4] - 80008ac: 6b9b ldr r3, [r3, #56] ; 0x38 - 80008ae: 2b00 cmp r3, #0 - 80008b0: d10a bne.n 80008c8 + 80009a6: 687b ldr r3, [r7, #4] + 80009a8: 6b9b ldr r3, [r3, #56] ; 0x38 + 80009aa: 2b00 cmp r3, #0 + 80009ac: d10a bne.n 80009c4 { /* Initialize ADC error code */ ADC_CLEAR_ERRORCODE(hadc); - 80008b2: 687b ldr r3, [r7, #4] - 80008b4: 2200 movs r2, #0 - 80008b6: 63da str r2, [r3, #60] ; 0x3c + 80009ae: 687b ldr r3, [r7, #4] + 80009b0: 2200 movs r2, #0 + 80009b2: 63da str r2, [r3, #60] ; 0x3c /* Allocate lock resource and initialize it */ hadc->Lock = HAL_UNLOCKED; - 80008b8: 687b ldr r3, [r7, #4] - 80008ba: 2234 movs r2, #52 ; 0x34 - 80008bc: 2100 movs r1, #0 - 80008be: 5499 strb r1, [r3, r2] + 80009b4: 687b ldr r3, [r7, #4] + 80009b6: 2234 movs r2, #52 ; 0x34 + 80009b8: 2100 movs r1, #0 + 80009ba: 5499 strb r1, [r3, r2] /* Init the low level hardware */ hadc->MspInitCallback(hadc); #else /* Init the low level hardware */ HAL_ADC_MspInit(hadc); - 80008c0: 687b ldr r3, [r7, #4] - 80008c2: 0018 movs r0, r3 - 80008c4: f7ff fef2 bl 80006ac + 80009bc: 687b ldr r3, [r7, #4] + 80009be: 0018 movs r0, r3 + 80009c0: f7ff feb4 bl 800072c /* Configuration of ADC parameters if previous preliminary actions are */ /* correctly completed. */ /* and if there is no conversion on going on regular group (ADC can be */ /* enabled anyway, in case of call of this function to update a parameter */ /* on the fly). */ if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL) && - 80008c8: 687b ldr r3, [r7, #4] - 80008ca: 6b9b ldr r3, [r3, #56] ; 0x38 - 80008cc: 2210 movs r2, #16 - 80008ce: 4013 ands r3, r2 - 80008d0: d000 beq.n 80008d4 - 80008d2: e103 b.n 8000adc - 80008d4: 230f movs r3, #15 - 80008d6: 18fb adds r3, r7, r3 - 80008d8: 781b ldrb r3, [r3, #0] - 80008da: 2b00 cmp r3, #0 - 80008dc: d000 beq.n 80008e0 - 80008de: e0fd b.n 8000adc + 80009c4: 687b ldr r3, [r7, #4] + 80009c6: 6b9b ldr r3, [r3, #56] ; 0x38 + 80009c8: 2210 movs r2, #16 + 80009ca: 4013 ands r3, r2 + 80009cc: d000 beq.n 80009d0 + 80009ce: e103 b.n 8000bd8 + 80009d0: 230f movs r3, #15 + 80009d2: 18fb adds r3, r7, r3 + 80009d4: 781b ldrb r3, [r3, #0] + 80009d6: 2b00 cmp r3, #0 + 80009d8: d000 beq.n 80009dc + 80009da: e0fd b.n 8000bd8 (tmp_hal_status == HAL_OK) && (ADC_IS_CONVERSION_ONGOING_REGULAR(hadc) == RESET) ) - 80008e0: 687b ldr r3, [r7, #4] - 80008e2: 681b ldr r3, [r3, #0] - 80008e4: 689b ldr r3, [r3, #8] - 80008e6: 2204 movs r2, #4 - 80008e8: 4013 ands r3, r2 + 80009dc: 687b ldr r3, [r7, #4] + 80009de: 681b ldr r3, [r3, #0] + 80009e0: 689b ldr r3, [r3, #8] + 80009e2: 2204 movs r2, #4 + 80009e4: 4013 ands r3, r2 (tmp_hal_status == HAL_OK) && - 80008ea: d000 beq.n 80008ee - 80008ec: e0f6 b.n 8000adc + 80009e6: d000 beq.n 80009ea + 80009e8: e0f6 b.n 8000bd8 { /* Set ADC state */ ADC_STATE_CLR_SET(hadc->State, - 80008ee: 687b ldr r3, [r7, #4] - 80008f0: 6b9b ldr r3, [r3, #56] ; 0x38 - 80008f2: 4a83 ldr r2, [pc, #524] ; (8000b00 ) - 80008f4: 4013 ands r3, r2 - 80008f6: 2202 movs r2, #2 - 80008f8: 431a orrs r2, r3 - 80008fa: 687b ldr r3, [r7, #4] - 80008fc: 639a str r2, [r3, #56] ; 0x38 + 80009ea: 687b ldr r3, [r7, #4] + 80009ec: 6b9b ldr r3, [r3, #56] ; 0x38 + 80009ee: 4a83 ldr r2, [pc, #524] ; (8000bfc ) + 80009f0: 4013 ands r3, r2 + 80009f2: 2202 movs r2, #2 + 80009f4: 431a orrs r2, r3 + 80009f6: 687b ldr r3, [r7, #4] + 80009f8: 639a str r2, [r3, #56] ; 0x38 /* Parameters update conditioned to ADC state: */ /* Parameters that can be updated only when ADC is disabled: */ /* - ADC clock mode */ /* - ADC clock prescaler */ /* - ADC resolution */ if (ADC_IS_ENABLE(hadc) == RESET) - 80008fe: 687b ldr r3, [r7, #4] - 8000900: 681b ldr r3, [r3, #0] - 8000902: 689b ldr r3, [r3, #8] - 8000904: 2203 movs r2, #3 - 8000906: 4013 ands r3, r2 - 8000908: 2b01 cmp r3, #1 - 800090a: d112 bne.n 8000932 - 800090c: 687b ldr r3, [r7, #4] - 800090e: 681b ldr r3, [r3, #0] - 8000910: 681b ldr r3, [r3, #0] - 8000912: 2201 movs r2, #1 - 8000914: 4013 ands r3, r2 - 8000916: 2b01 cmp r3, #1 - 8000918: d009 beq.n 800092e - 800091a: 687b ldr r3, [r7, #4] - 800091c: 681b ldr r3, [r3, #0] - 800091e: 68da ldr r2, [r3, #12] - 8000920: 2380 movs r3, #128 ; 0x80 - 8000922: 021b lsls r3, r3, #8 - 8000924: 401a ands r2, r3 - 8000926: 2380 movs r3, #128 ; 0x80 - 8000928: 021b lsls r3, r3, #8 - 800092a: 429a cmp r2, r3 - 800092c: d101 bne.n 8000932 - 800092e: 2301 movs r3, #1 - 8000930: e000 b.n 8000934 - 8000932: 2300 movs r3, #0 - 8000934: 2b00 cmp r3, #0 - 8000936: d116 bne.n 8000966 + 80009fa: 687b ldr r3, [r7, #4] + 80009fc: 681b ldr r3, [r3, #0] + 80009fe: 689b ldr r3, [r3, #8] + 8000a00: 2203 movs r2, #3 + 8000a02: 4013 ands r3, r2 + 8000a04: 2b01 cmp r3, #1 + 8000a06: d112 bne.n 8000a2e + 8000a08: 687b ldr r3, [r7, #4] + 8000a0a: 681b ldr r3, [r3, #0] + 8000a0c: 681b ldr r3, [r3, #0] + 8000a0e: 2201 movs r2, #1 + 8000a10: 4013 ands r3, r2 + 8000a12: 2b01 cmp r3, #1 + 8000a14: d009 beq.n 8000a2a + 8000a16: 687b ldr r3, [r7, #4] + 8000a18: 681b ldr r3, [r3, #0] + 8000a1a: 68da ldr r2, [r3, #12] + 8000a1c: 2380 movs r3, #128 ; 0x80 + 8000a1e: 021b lsls r3, r3, #8 + 8000a20: 401a ands r2, r3 + 8000a22: 2380 movs r3, #128 ; 0x80 + 8000a24: 021b lsls r3, r3, #8 + 8000a26: 429a cmp r2, r3 + 8000a28: d101 bne.n 8000a2e + 8000a2a: 2301 movs r3, #1 + 8000a2c: e000 b.n 8000a30 + 8000a2e: 2300 movs r3, #0 + 8000a30: 2b00 cmp r3, #0 + 8000a32: d116 bne.n 8000a62 /* parameters): */ /* - internal measurement paths: Vbat, temperature sensor, Vref */ /* (set into HAL_ADC_ConfigChannel() ) */ /* Configuration of ADC resolution */ MODIFY_REG(hadc->Instance->CFGR1, - 8000938: 687b ldr r3, [r7, #4] - 800093a: 681b ldr r3, [r3, #0] - 800093c: 68db ldr r3, [r3, #12] - 800093e: 2218 movs r2, #24 - 8000940: 4393 bics r3, r2 - 8000942: 0019 movs r1, r3 - 8000944: 687b ldr r3, [r7, #4] - 8000946: 689a ldr r2, [r3, #8] - 8000948: 687b ldr r3, [r7, #4] - 800094a: 681b ldr r3, [r3, #0] - 800094c: 430a orrs r2, r1 - 800094e: 60da str r2, [r3, #12] + 8000a34: 687b ldr r3, [r7, #4] + 8000a36: 681b ldr r3, [r3, #0] + 8000a38: 68db ldr r3, [r3, #12] + 8000a3a: 2218 movs r2, #24 + 8000a3c: 4393 bics r3, r2 + 8000a3e: 0019 movs r1, r3 + 8000a40: 687b ldr r3, [r7, #4] + 8000a42: 689a ldr r2, [r3, #8] + 8000a44: 687b ldr r3, [r7, #4] + 8000a46: 681b ldr r3, [r3, #0] + 8000a48: 430a orrs r2, r1 + 8000a4a: 60da str r2, [r3, #12] ADC_CFGR1_RES , hadc->Init.Resolution ); /* Configuration of ADC clock mode: clock source AHB or HSI with */ /* selectable prescaler */ MODIFY_REG(hadc->Instance->CFGR2 , - 8000950: 687b ldr r3, [r7, #4] - 8000952: 681b ldr r3, [r3, #0] - 8000954: 691b ldr r3, [r3, #16] - 8000956: 009b lsls r3, r3, #2 - 8000958: 0899 lsrs r1, r3, #2 - 800095a: 687b ldr r3, [r7, #4] - 800095c: 685a ldr r2, [r3, #4] - 800095e: 687b ldr r3, [r7, #4] - 8000960: 681b ldr r3, [r3, #0] - 8000962: 430a orrs r2, r1 - 8000964: 611a str r2, [r3, #16] + 8000a4c: 687b ldr r3, [r7, #4] + 8000a4e: 681b ldr r3, [r3, #0] + 8000a50: 691b ldr r3, [r3, #16] + 8000a52: 009b lsls r3, r3, #2 + 8000a54: 0899 lsrs r1, r3, #2 + 8000a56: 687b ldr r3, [r7, #4] + 8000a58: 685a ldr r2, [r3, #4] + 8000a5a: 687b ldr r3, [r7, #4] + 8000a5c: 681b ldr r3, [r3, #0] + 8000a5e: 430a orrs r2, r1 + 8000a60: 611a str r2, [r3, #16] /* - external trigger polarity */ /* - data alignment */ /* - resolution */ /* - scan direction */ /* - DMA continuous request */ hadc->Instance->CFGR1 &= ~( ADC_CFGR1_DISCEN | - 8000966: 687b ldr r3, [r7, #4] - 8000968: 681b ldr r3, [r3, #0] - 800096a: 68da ldr r2, [r3, #12] - 800096c: 687b ldr r3, [r7, #4] - 800096e: 681b ldr r3, [r3, #0] - 8000970: 4964 ldr r1, [pc, #400] ; (8000b04 ) - 8000972: 400a ands r2, r1 - 8000974: 60da str r2, [r3, #12] + 8000a62: 687b ldr r3, [r7, #4] + 8000a64: 681b ldr r3, [r3, #0] + 8000a66: 68da ldr r2, [r3, #12] + 8000a68: 687b ldr r3, [r7, #4] + 8000a6a: 681b ldr r3, [r3, #0] + 8000a6c: 4964 ldr r1, [pc, #400] ; (8000c00 ) + 8000a6e: 400a ands r2, r1 + 8000a70: 60da str r2, [r3, #12] ADC_CFGR1_EXTEN | ADC_CFGR1_ALIGN | ADC_CFGR1_SCANDIR | ADC_CFGR1_DMACFG ); tmpCFGR1 |= (ADC_CFGR1_AUTOWAIT((uint32_t)hadc->Init.LowPowerAutoWait) | - 8000976: 687b ldr r3, [r7, #4] - 8000978: 7e1b ldrb r3, [r3, #24] - 800097a: 039a lsls r2, r3, #14 + 8000a72: 687b ldr r3, [r7, #4] + 8000a74: 7e1b ldrb r3, [r3, #24] + 8000a76: 039a lsls r2, r3, #14 ADC_CFGR1_AUTOOFF((uint32_t)hadc->Init.LowPowerAutoPowerOff) | - 800097c: 687b ldr r3, [r7, #4] - 800097e: 7e5b ldrb r3, [r3, #25] - 8000980: 03db lsls r3, r3, #15 + 8000a78: 687b ldr r3, [r7, #4] + 8000a7a: 7e5b ldrb r3, [r3, #25] + 8000a7c: 03db lsls r3, r3, #15 tmpCFGR1 |= (ADC_CFGR1_AUTOWAIT((uint32_t)hadc->Init.LowPowerAutoWait) | - 8000982: 431a orrs r2, r3 + 8000a7e: 431a orrs r2, r3 ADC_CFGR1_CONTINUOUS((uint32_t)hadc->Init.ContinuousConvMode) | - 8000984: 687b ldr r3, [r7, #4] - 8000986: 7e9b ldrb r3, [r3, #26] - 8000988: 035b lsls r3, r3, #13 + 8000a80: 687b ldr r3, [r7, #4] + 8000a82: 7e9b ldrb r3, [r3, #26] + 8000a84: 035b lsls r3, r3, #13 ADC_CFGR1_AUTOOFF((uint32_t)hadc->Init.LowPowerAutoPowerOff) | - 800098a: 431a orrs r2, r3 + 8000a86: 431a orrs r2, r3 ADC_CFGR1_OVERRUN(hadc->Init.Overrun) | - 800098c: 687b ldr r3, [r7, #4] - 800098e: 6a9b ldr r3, [r3, #40] ; 0x28 - 8000990: 2b01 cmp r3, #1 - 8000992: d002 beq.n 800099a - 8000994: 2380 movs r3, #128 ; 0x80 - 8000996: 015b lsls r3, r3, #5 - 8000998: e000 b.n 800099c - 800099a: 2300 movs r3, #0 + 8000a88: 687b ldr r3, [r7, #4] + 8000a8a: 6a9b ldr r3, [r3, #40] ; 0x28 + 8000a8c: 2b01 cmp r3, #1 + 8000a8e: d002 beq.n 8000a96 + 8000a90: 2380 movs r3, #128 ; 0x80 + 8000a92: 015b lsls r3, r3, #5 + 8000a94: e000 b.n 8000a98 + 8000a96: 2300 movs r3, #0 ADC_CFGR1_CONTINUOUS((uint32_t)hadc->Init.ContinuousConvMode) | - 800099c: 431a orrs r2, r3 + 8000a98: 431a orrs r2, r3 hadc->Init.DataAlign | - 800099e: 687b ldr r3, [r7, #4] - 80009a0: 68db ldr r3, [r3, #12] + 8000a9a: 687b ldr r3, [r7, #4] + 8000a9c: 68db ldr r3, [r3, #12] ADC_CFGR1_OVERRUN(hadc->Init.Overrun) | - 80009a2: 431a orrs r2, r3 + 8000a9e: 431a orrs r2, r3 ADC_SCANDIR(hadc->Init.ScanConvMode) | - 80009a4: 687b ldr r3, [r7, #4] - 80009a6: 691b ldr r3, [r3, #16] - 80009a8: 2b02 cmp r3, #2 - 80009aa: d101 bne.n 80009b0 - 80009ac: 2304 movs r3, #4 - 80009ae: e000 b.n 80009b2 - 80009b0: 2300 movs r3, #0 + 8000aa0: 687b ldr r3, [r7, #4] + 8000aa2: 691b ldr r3, [r3, #16] + 8000aa4: 2b02 cmp r3, #2 + 8000aa6: d101 bne.n 8000aac + 8000aa8: 2304 movs r3, #4 + 8000aaa: e000 b.n 8000aae + 8000aac: 2300 movs r3, #0 hadc->Init.DataAlign | - 80009b2: 431a orrs r2, r3 + 8000aae: 431a orrs r2, r3 ADC_CFGR1_DMACONTREQ((uint32_t)hadc->Init.DMAContinuousRequests) ); - 80009b4: 687b ldr r3, [r7, #4] - 80009b6: 2124 movs r1, #36 ; 0x24 - 80009b8: 5c5b ldrb r3, [r3, r1] - 80009ba: 005b lsls r3, r3, #1 + 8000ab0: 687b ldr r3, [r7, #4] + 8000ab2: 2124 movs r1, #36 ; 0x24 + 8000ab4: 5c5b ldrb r3, [r3, r1] + 8000ab6: 005b lsls r3, r3, #1 ADC_SCANDIR(hadc->Init.ScanConvMode) | - 80009bc: 4313 orrs r3, r2 + 8000ab8: 4313 orrs r3, r2 tmpCFGR1 |= (ADC_CFGR1_AUTOWAIT((uint32_t)hadc->Init.LowPowerAutoWait) | - 80009be: 68ba ldr r2, [r7, #8] - 80009c0: 4313 orrs r3, r2 - 80009c2: 60bb str r3, [r7, #8] + 8000aba: 68ba ldr r2, [r7, #8] + 8000abc: 4313 orrs r3, r2 + 8000abe: 60bb str r3, [r7, #8] /* Enable discontinuous mode only if continuous mode is disabled */ if (hadc->Init.DiscontinuousConvMode == ENABLE) - 80009c4: 687b ldr r3, [r7, #4] - 80009c6: 7edb ldrb r3, [r3, #27] - 80009c8: 2b01 cmp r3, #1 - 80009ca: d115 bne.n 80009f8 + 8000ac0: 687b ldr r3, [r7, #4] + 8000ac2: 7edb ldrb r3, [r3, #27] + 8000ac4: 2b01 cmp r3, #1 + 8000ac6: d115 bne.n 8000af4 { if (hadc->Init.ContinuousConvMode == DISABLE) - 80009cc: 687b ldr r3, [r7, #4] - 80009ce: 7e9b ldrb r3, [r3, #26] - 80009d0: 2b00 cmp r3, #0 - 80009d2: d105 bne.n 80009e0 + 8000ac8: 687b ldr r3, [r7, #4] + 8000aca: 7e9b ldrb r3, [r3, #26] + 8000acc: 2b00 cmp r3, #0 + 8000ace: d105 bne.n 8000adc { /* Enable the selected ADC group regular discontinuous mode */ tmpCFGR1 |= ADC_CFGR1_DISCEN; - 80009d4: 68bb ldr r3, [r7, #8] - 80009d6: 2280 movs r2, #128 ; 0x80 - 80009d8: 0252 lsls r2, r2, #9 - 80009da: 4313 orrs r3, r2 - 80009dc: 60bb str r3, [r7, #8] - 80009de: e00b b.n 80009f8 + 8000ad0: 68bb ldr r3, [r7, #8] + 8000ad2: 2280 movs r2, #128 ; 0x80 + 8000ad4: 0252 lsls r2, r2, #9 + 8000ad6: 4313 orrs r3, r2 + 8000ad8: 60bb str r3, [r7, #8] + 8000ada: e00b b.n 8000af4 /* ADC regular group discontinuous was intended to be enabled, */ /* but ADC regular group modes continuous and sequencer discontinuous */ /* cannot be enabled simultaneously. */ /* Update ADC state machine to error */ SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG); - 80009e0: 687b ldr r3, [r7, #4] - 80009e2: 6b9b ldr r3, [r3, #56] ; 0x38 - 80009e4: 2220 movs r2, #32 - 80009e6: 431a orrs r2, r3 - 80009e8: 687b ldr r3, [r7, #4] - 80009ea: 639a str r2, [r3, #56] ; 0x38 + 8000adc: 687b ldr r3, [r7, #4] + 8000ade: 6b9b ldr r3, [r3, #56] ; 0x38 + 8000ae0: 2220 movs r2, #32 + 8000ae2: 431a orrs r2, r3 + 8000ae4: 687b ldr r3, [r7, #4] + 8000ae6: 639a str r2, [r3, #56] ; 0x38 /* Set ADC error code to ADC IP internal error */ SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_INTERNAL); - 80009ec: 687b ldr r3, [r7, #4] - 80009ee: 6bdb ldr r3, [r3, #60] ; 0x3c - 80009f0: 2201 movs r2, #1 - 80009f2: 431a orrs r2, r3 - 80009f4: 687b ldr r3, [r7, #4] - 80009f6: 63da str r2, [r3, #60] ; 0x3c + 8000ae8: 687b ldr r3, [r7, #4] + 8000aea: 6bdb ldr r3, [r3, #60] ; 0x3c + 8000aec: 2201 movs r2, #1 + 8000aee: 431a orrs r2, r3 + 8000af0: 687b ldr r3, [r7, #4] + 8000af2: 63da str r2, [r3, #60] ; 0x3c /* Enable external trigger if trigger selection is different of software */ /* start. */ /* Note: This configuration keeps the hardware feature of parameter */ /* ExternalTrigConvEdge "trigger edge none" equivalent to */ /* software start. */ if (hadc->Init.ExternalTrigConv != ADC_SOFTWARE_START) - 80009f8: 687b ldr r3, [r7, #4] - 80009fa: 69da ldr r2, [r3, #28] - 80009fc: 23c2 movs r3, #194 ; 0xc2 - 80009fe: 33ff adds r3, #255 ; 0xff - 8000a00: 429a cmp r2, r3 - 8000a02: d007 beq.n 8000a14 + 8000af4: 687b ldr r3, [r7, #4] + 8000af6: 69da ldr r2, [r3, #28] + 8000af8: 23c2 movs r3, #194 ; 0xc2 + 8000afa: 33ff adds r3, #255 ; 0xff + 8000afc: 429a cmp r2, r3 + 8000afe: d007 beq.n 8000b10 { tmpCFGR1 |= ( hadc->Init.ExternalTrigConv | - 8000a04: 687b ldr r3, [r7, #4] - 8000a06: 69da ldr r2, [r3, #28] + 8000b00: 687b ldr r3, [r7, #4] + 8000b02: 69da ldr r2, [r3, #28] hadc->Init.ExternalTrigConvEdge ); - 8000a08: 687b ldr r3, [r7, #4] - 8000a0a: 6a1b ldr r3, [r3, #32] + 8000b04: 687b ldr r3, [r7, #4] + 8000b06: 6a1b ldr r3, [r3, #32] tmpCFGR1 |= ( hadc->Init.ExternalTrigConv | - 8000a0c: 4313 orrs r3, r2 - 8000a0e: 68ba ldr r2, [r7, #8] - 8000a10: 4313 orrs r3, r2 - 8000a12: 60bb str r3, [r7, #8] + 8000b08: 4313 orrs r3, r2 + 8000b0a: 68ba ldr r2, [r7, #8] + 8000b0c: 4313 orrs r3, r2 + 8000b0e: 60bb str r3, [r7, #8] } /* Update ADC configuration register with previous settings */ hadc->Instance->CFGR1 |= tmpCFGR1; - 8000a14: 687b ldr r3, [r7, #4] - 8000a16: 681b ldr r3, [r3, #0] - 8000a18: 68d9 ldr r1, [r3, #12] - 8000a1a: 687b ldr r3, [r7, #4] - 8000a1c: 681b ldr r3, [r3, #0] - 8000a1e: 68ba ldr r2, [r7, #8] - 8000a20: 430a orrs r2, r1 - 8000a22: 60da str r2, [r3, #12] + 8000b10: 687b ldr r3, [r7, #4] + 8000b12: 681b ldr r3, [r3, #0] + 8000b14: 68d9 ldr r1, [r3, #12] + 8000b16: 687b ldr r3, [r7, #4] + 8000b18: 681b ldr r3, [r3, #0] + 8000b1a: 68ba ldr r2, [r7, #8] + 8000b1c: 430a orrs r2, r1 + 8000b1e: 60da str r2, [r3, #12] /* Management of parameters "SamplingTimeCommon" and "SamplingTime" */ /* (obsolete): sampling time set in this function if parameter */ /* "SamplingTimeCommon" has been set to a valid sampling time. */ /* Otherwise, sampling time is set into ADC channel initialization */ /* structure with parameter "SamplingTime" (obsolete). */ if (IS_ADC_SAMPLE_TIME(hadc->Init.SamplingTimeCommon)) - 8000a24: 687b ldr r3, [r7, #4] - 8000a26: 6ada ldr r2, [r3, #44] ; 0x2c - 8000a28: 2380 movs r3, #128 ; 0x80 - 8000a2a: 055b lsls r3, r3, #21 - 8000a2c: 429a cmp r2, r3 - 8000a2e: d01b beq.n 8000a68 - 8000a30: 687b ldr r3, [r7, #4] - 8000a32: 6adb ldr r3, [r3, #44] ; 0x2c - 8000a34: 2b01 cmp r3, #1 - 8000a36: d017 beq.n 8000a68 - 8000a38: 687b ldr r3, [r7, #4] - 8000a3a: 6adb ldr r3, [r3, #44] ; 0x2c - 8000a3c: 2b02 cmp r3, #2 - 8000a3e: d013 beq.n 8000a68 - 8000a40: 687b ldr r3, [r7, #4] - 8000a42: 6adb ldr r3, [r3, #44] ; 0x2c - 8000a44: 2b03 cmp r3, #3 - 8000a46: d00f beq.n 8000a68 - 8000a48: 687b ldr r3, [r7, #4] - 8000a4a: 6adb ldr r3, [r3, #44] ; 0x2c - 8000a4c: 2b04 cmp r3, #4 - 8000a4e: d00b beq.n 8000a68 - 8000a50: 687b ldr r3, [r7, #4] - 8000a52: 6adb ldr r3, [r3, #44] ; 0x2c - 8000a54: 2b05 cmp r3, #5 - 8000a56: d007 beq.n 8000a68 - 8000a58: 687b ldr r3, [r7, #4] - 8000a5a: 6adb ldr r3, [r3, #44] ; 0x2c - 8000a5c: 2b06 cmp r3, #6 - 8000a5e: d003 beq.n 8000a68 - 8000a60: 687b ldr r3, [r7, #4] - 8000a62: 6adb ldr r3, [r3, #44] ; 0x2c - 8000a64: 2b07 cmp r3, #7 - 8000a66: d112 bne.n 8000a8e + 8000b20: 687b ldr r3, [r7, #4] + 8000b22: 6ada ldr r2, [r3, #44] ; 0x2c + 8000b24: 2380 movs r3, #128 ; 0x80 + 8000b26: 055b lsls r3, r3, #21 + 8000b28: 429a cmp r2, r3 + 8000b2a: d01b beq.n 8000b64 + 8000b2c: 687b ldr r3, [r7, #4] + 8000b2e: 6adb ldr r3, [r3, #44] ; 0x2c + 8000b30: 2b01 cmp r3, #1 + 8000b32: d017 beq.n 8000b64 + 8000b34: 687b ldr r3, [r7, #4] + 8000b36: 6adb ldr r3, [r3, #44] ; 0x2c + 8000b38: 2b02 cmp r3, #2 + 8000b3a: d013 beq.n 8000b64 + 8000b3c: 687b ldr r3, [r7, #4] + 8000b3e: 6adb ldr r3, [r3, #44] ; 0x2c + 8000b40: 2b03 cmp r3, #3 + 8000b42: d00f beq.n 8000b64 + 8000b44: 687b ldr r3, [r7, #4] + 8000b46: 6adb ldr r3, [r3, #44] ; 0x2c + 8000b48: 2b04 cmp r3, #4 + 8000b4a: d00b beq.n 8000b64 + 8000b4c: 687b ldr r3, [r7, #4] + 8000b4e: 6adb ldr r3, [r3, #44] ; 0x2c + 8000b50: 2b05 cmp r3, #5 + 8000b52: d007 beq.n 8000b64 + 8000b54: 687b ldr r3, [r7, #4] + 8000b56: 6adb ldr r3, [r3, #44] ; 0x2c + 8000b58: 2b06 cmp r3, #6 + 8000b5a: d003 beq.n 8000b64 + 8000b5c: 687b ldr r3, [r7, #4] + 8000b5e: 6adb ldr r3, [r3, #44] ; 0x2c + 8000b60: 2b07 cmp r3, #7 + 8000b62: d112 bne.n 8000b8a { /* Channel sampling time configuration */ /* Clear the old sample time */ hadc->Instance->SMPR &= ~(ADC_SMPR_SMP); - 8000a68: 687b ldr r3, [r7, #4] - 8000a6a: 681b ldr r3, [r3, #0] - 8000a6c: 695a ldr r2, [r3, #20] - 8000a6e: 687b ldr r3, [r7, #4] - 8000a70: 681b ldr r3, [r3, #0] - 8000a72: 2107 movs r1, #7 - 8000a74: 438a bics r2, r1 - 8000a76: 615a str r2, [r3, #20] + 8000b64: 687b ldr r3, [r7, #4] + 8000b66: 681b ldr r3, [r3, #0] + 8000b68: 695a ldr r2, [r3, #20] + 8000b6a: 687b ldr r3, [r7, #4] + 8000b6c: 681b ldr r3, [r3, #0] + 8000b6e: 2107 movs r1, #7 + 8000b70: 438a bics r2, r1 + 8000b72: 615a str r2, [r3, #20] /* Set the new sample time */ hadc->Instance->SMPR |= ADC_SMPR_SET(hadc->Init.SamplingTimeCommon); - 8000a78: 687b ldr r3, [r7, #4] - 8000a7a: 681b ldr r3, [r3, #0] - 8000a7c: 6959 ldr r1, [r3, #20] - 8000a7e: 687b ldr r3, [r7, #4] - 8000a80: 6adb ldr r3, [r3, #44] ; 0x2c - 8000a82: 2207 movs r2, #7 - 8000a84: 401a ands r2, r3 - 8000a86: 687b ldr r3, [r7, #4] - 8000a88: 681b ldr r3, [r3, #0] - 8000a8a: 430a orrs r2, r1 - 8000a8c: 615a str r2, [r3, #20] + 8000b74: 687b ldr r3, [r7, #4] + 8000b76: 681b ldr r3, [r3, #0] + 8000b78: 6959 ldr r1, [r3, #20] + 8000b7a: 687b ldr r3, [r7, #4] + 8000b7c: 6adb ldr r3, [r3, #44] ; 0x2c + 8000b7e: 2207 movs r2, #7 + 8000b80: 401a ands r2, r3 + 8000b82: 687b ldr r3, [r7, #4] + 8000b84: 681b ldr r3, [r3, #0] + 8000b86: 430a orrs r2, r1 + 8000b88: 615a str r2, [r3, #20] /* Check back that ADC registers have effectively been configured to */ /* ensure of no potential problem of ADC core IP clocking. */ /* Check through register CFGR1 (excluding analog watchdog configuration: */ /* set into separate dedicated function, and bits of ADC resolution set */ /* out of temporary variable 'tmpCFGR1'). */ if ((hadc->Instance->CFGR1 & ~(ADC_CFGR1_AWDCH | ADC_CFGR1_AWDEN | ADC_CFGR1_AWDSGL | ADC_CFGR1_RES)) - 8000a8e: 687b ldr r3, [r7, #4] - 8000a90: 681b ldr r3, [r3, #0] - 8000a92: 68db ldr r3, [r3, #12] - 8000a94: 4a1c ldr r2, [pc, #112] ; (8000b08 ) - 8000a96: 4013 ands r3, r2 - 8000a98: 68ba ldr r2, [r7, #8] - 8000a9a: 429a cmp r2, r3 - 8000a9c: d10b bne.n 8000ab6 + 8000b8a: 687b ldr r3, [r7, #4] + 8000b8c: 681b ldr r3, [r3, #0] + 8000b8e: 68db ldr r3, [r3, #12] + 8000b90: 4a1c ldr r2, [pc, #112] ; (8000c04 ) + 8000b92: 4013 ands r3, r2 + 8000b94: 68ba ldr r2, [r7, #8] + 8000b96: 429a cmp r2, r3 + 8000b98: d10b bne.n 8000bb2 == tmpCFGR1) { /* Set ADC error code to none */ ADC_CLEAR_ERRORCODE(hadc); - 8000a9e: 687b ldr r3, [r7, #4] - 8000aa0: 2200 movs r2, #0 - 8000aa2: 63da str r2, [r3, #60] ; 0x3c + 8000b9a: 687b ldr r3, [r7, #4] + 8000b9c: 2200 movs r2, #0 + 8000b9e: 63da str r2, [r3, #60] ; 0x3c /* Set the ADC state */ ADC_STATE_CLR_SET(hadc->State, - 8000aa4: 687b ldr r3, [r7, #4] - 8000aa6: 6b9b ldr r3, [r3, #56] ; 0x38 - 8000aa8: 2203 movs r2, #3 - 8000aaa: 4393 bics r3, r2 - 8000aac: 2201 movs r2, #1 - 8000aae: 431a orrs r2, r3 - 8000ab0: 687b ldr r3, [r7, #4] - 8000ab2: 639a str r2, [r3, #56] ; 0x38 + 8000ba0: 687b ldr r3, [r7, #4] + 8000ba2: 6b9b ldr r3, [r3, #56] ; 0x38 + 8000ba4: 2203 movs r2, #3 + 8000ba6: 4393 bics r3, r2 + 8000ba8: 2201 movs r2, #1 + 8000baa: 431a orrs r2, r3 + 8000bac: 687b ldr r3, [r7, #4] + 8000bae: 639a str r2, [r3, #56] ; 0x38 if ((hadc->Instance->CFGR1 & ~(ADC_CFGR1_AWDCH | ADC_CFGR1_AWDEN | ADC_CFGR1_AWDSGL | ADC_CFGR1_RES)) - 8000ab4: e01c b.n 8000af0 + 8000bb0: e01c b.n 8000bec HAL_ADC_STATE_READY); } else { /* Update ADC state machine to error */ ADC_STATE_CLR_SET(hadc->State, - 8000ab6: 687b ldr r3, [r7, #4] - 8000ab8: 6b9b ldr r3, [r3, #56] ; 0x38 - 8000aba: 2212 movs r2, #18 - 8000abc: 4393 bics r3, r2 - 8000abe: 2210 movs r2, #16 - 8000ac0: 431a orrs r2, r3 - 8000ac2: 687b ldr r3, [r7, #4] - 8000ac4: 639a str r2, [r3, #56] ; 0x38 + 8000bb2: 687b ldr r3, [r7, #4] + 8000bb4: 6b9b ldr r3, [r3, #56] ; 0x38 + 8000bb6: 2212 movs r2, #18 + 8000bb8: 4393 bics r3, r2 + 8000bba: 2210 movs r2, #16 + 8000bbc: 431a orrs r2, r3 + 8000bbe: 687b ldr r3, [r7, #4] + 8000bc0: 639a str r2, [r3, #56] ; 0x38 HAL_ADC_STATE_BUSY_INTERNAL, HAL_ADC_STATE_ERROR_INTERNAL); /* Set ADC error code to ADC IP internal error */ SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_INTERNAL); - 8000ac6: 687b ldr r3, [r7, #4] - 8000ac8: 6bdb ldr r3, [r3, #60] ; 0x3c - 8000aca: 2201 movs r2, #1 - 8000acc: 431a orrs r2, r3 - 8000ace: 687b ldr r3, [r7, #4] - 8000ad0: 63da str r2, [r3, #60] ; 0x3c + 8000bc2: 687b ldr r3, [r7, #4] + 8000bc4: 6bdb ldr r3, [r3, #60] ; 0x3c + 8000bc6: 2201 movs r2, #1 + 8000bc8: 431a orrs r2, r3 + 8000bca: 687b ldr r3, [r7, #4] + 8000bcc: 63da str r2, [r3, #60] ; 0x3c tmp_hal_status = HAL_ERROR; - 8000ad2: 230f movs r3, #15 - 8000ad4: 18fb adds r3, r7, r3 - 8000ad6: 2201 movs r2, #1 - 8000ad8: 701a strb r2, [r3, #0] + 8000bce: 230f movs r3, #15 + 8000bd0: 18fb adds r3, r7, r3 + 8000bd2: 2201 movs r2, #1 + 8000bd4: 701a strb r2, [r3, #0] if ((hadc->Instance->CFGR1 & ~(ADC_CFGR1_AWDCH | ADC_CFGR1_AWDEN | ADC_CFGR1_AWDSGL | ADC_CFGR1_RES)) - 8000ada: e009 b.n 8000af0 + 8000bd6: e009 b.n 8000bec } else { /* Update ADC state machine to error */ SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL); - 8000adc: 687b ldr r3, [r7, #4] - 8000ade: 6b9b ldr r3, [r3, #56] ; 0x38 - 8000ae0: 2210 movs r2, #16 - 8000ae2: 431a orrs r2, r3 - 8000ae4: 687b ldr r3, [r7, #4] - 8000ae6: 639a str r2, [r3, #56] ; 0x38 + 8000bd8: 687b ldr r3, [r7, #4] + 8000bda: 6b9b ldr r3, [r3, #56] ; 0x38 + 8000bdc: 2210 movs r2, #16 + 8000bde: 431a orrs r2, r3 + 8000be0: 687b ldr r3, [r7, #4] + 8000be2: 639a str r2, [r3, #56] ; 0x38 tmp_hal_status = HAL_ERROR; - 8000ae8: 230f movs r3, #15 - 8000aea: 18fb adds r3, r7, r3 - 8000aec: 2201 movs r2, #1 - 8000aee: 701a strb r2, [r3, #0] + 8000be4: 230f movs r3, #15 + 8000be6: 18fb adds r3, r7, r3 + 8000be8: 2201 movs r2, #1 + 8000bea: 701a strb r2, [r3, #0] } /* Return function status */ return tmp_hal_status; - 8000af0: 230f movs r3, #15 - 8000af2: 18fb adds r3, r7, r3 - 8000af4: 781b ldrb r3, [r3, #0] + 8000bec: 230f movs r3, #15 + 8000bee: 18fb adds r3, r7, r3 + 8000bf0: 781b ldrb r3, [r3, #0] } - 8000af6: 0018 movs r0, r3 - 8000af8: 46bd mov sp, r7 - 8000afa: b004 add sp, #16 - 8000afc: bd80 pop {r7, pc} - 8000afe: 46c0 nop ; (mov r8, r8) - 8000b00: fffffefd .word 0xfffffefd - 8000b04: fffe0219 .word 0xfffe0219 - 8000b08: 833fffe7 .word 0x833fffe7 + 8000bf2: 0018 movs r0, r3 + 8000bf4: 46bd mov sp, r7 + 8000bf6: b004 add sp, #16 + 8000bf8: bd80 pop {r7, pc} + 8000bfa: 46c0 nop ; (mov r8, r8) + 8000bfc: fffffefd .word 0xfffffefd + 8000c00: fffe0219 .word 0xfffe0219 + 8000c04: 833fffe7 .word 0x833fffe7 -08000b0c : +08000c08 : * Interruptions enabled in this function: None. * @param hadc ADC handle * @retval HAL status */ HAL_StatusTypeDef HAL_ADC_Start(ADC_HandleTypeDef* hadc) { - 8000b0c: b590 push {r4, r7, lr} - 8000b0e: b085 sub sp, #20 - 8000b10: af00 add r7, sp, #0 - 8000b12: 6078 str r0, [r7, #4] + 8000c08: b590 push {r4, r7, lr} + 8000c0a: b085 sub sp, #20 + 8000c0c: af00 add r7, sp, #0 + 8000c0e: 6078 str r0, [r7, #4] HAL_StatusTypeDef tmp_hal_status = HAL_OK; - 8000b14: 230f movs r3, #15 - 8000b16: 18fb adds r3, r7, r3 - 8000b18: 2200 movs r2, #0 - 8000b1a: 701a strb r2, [r3, #0] + 8000c10: 230f movs r3, #15 + 8000c12: 18fb adds r3, r7, r3 + 8000c14: 2200 movs r2, #0 + 8000c16: 701a strb r2, [r3, #0] /* Check the parameters */ assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance)); /* Perform ADC enable and conversion start if no conversion is on going */ if (ADC_IS_CONVERSION_ONGOING_REGULAR(hadc) == RESET) - 8000b1c: 687b ldr r3, [r7, #4] - 8000b1e: 681b ldr r3, [r3, #0] - 8000b20: 689b ldr r3, [r3, #8] - 8000b22: 2204 movs r2, #4 - 8000b24: 4013 ands r3, r2 - 8000b26: d138 bne.n 8000b9a + 8000c18: 687b ldr r3, [r7, #4] + 8000c1a: 681b ldr r3, [r3, #0] + 8000c1c: 689b ldr r3, [r3, #8] + 8000c1e: 2204 movs r2, #4 + 8000c20: 4013 ands r3, r2 + 8000c22: d138 bne.n 8000c96 { /* Process locked */ __HAL_LOCK(hadc); - 8000b28: 687b ldr r3, [r7, #4] - 8000b2a: 2234 movs r2, #52 ; 0x34 - 8000b2c: 5c9b ldrb r3, [r3, r2] - 8000b2e: 2b01 cmp r3, #1 - 8000b30: d101 bne.n 8000b36 - 8000b32: 2302 movs r3, #2 - 8000b34: e038 b.n 8000ba8 - 8000b36: 687b ldr r3, [r7, #4] - 8000b38: 2234 movs r2, #52 ; 0x34 - 8000b3a: 2101 movs r1, #1 - 8000b3c: 5499 strb r1, [r3, r2] + 8000c24: 687b ldr r3, [r7, #4] + 8000c26: 2234 movs r2, #52 ; 0x34 + 8000c28: 5c9b ldrb r3, [r3, r2] + 8000c2a: 2b01 cmp r3, #1 + 8000c2c: d101 bne.n 8000c32 + 8000c2e: 2302 movs r3, #2 + 8000c30: e038 b.n 8000ca4 + 8000c32: 687b ldr r3, [r7, #4] + 8000c34: 2234 movs r2, #52 ; 0x34 + 8000c36: 2101 movs r1, #1 + 8000c38: 5499 strb r1, [r3, r2] /* Enable the ADC peripheral */ /* If low power mode AutoPowerOff is enabled, power-on/off phases are */ /* performed automatically by hardware. */ if (hadc->Init.LowPowerAutoPowerOff != ENABLE) - 8000b3e: 687b ldr r3, [r7, #4] - 8000b40: 7e5b ldrb r3, [r3, #25] - 8000b42: 2b01 cmp r3, #1 - 8000b44: d007 beq.n 8000b56 + 8000c3a: 687b ldr r3, [r7, #4] + 8000c3c: 7e5b ldrb r3, [r3, #25] + 8000c3e: 2b01 cmp r3, #1 + 8000c40: d007 beq.n 8000c52 { tmp_hal_status = ADC_Enable(hadc); - 8000b46: 230f movs r3, #15 - 8000b48: 18fc adds r4, r7, r3 - 8000b4a: 687b ldr r3, [r7, #4] - 8000b4c: 0018 movs r0, r3 - 8000b4e: f000 fa0b bl 8000f68 - 8000b52: 0003 movs r3, r0 - 8000b54: 7023 strb r3, [r4, #0] + 8000c42: 230f movs r3, #15 + 8000c44: 18fc adds r4, r7, r3 + 8000c46: 687b ldr r3, [r7, #4] + 8000c48: 0018 movs r0, r3 + 8000c4a: f000 fa0b bl 8001064 + 8000c4e: 0003 movs r3, r0 + 8000c50: 7023 strb r3, [r4, #0] } /* Start conversion if ADC is effectively enabled */ if (tmp_hal_status == HAL_OK) - 8000b56: 230f movs r3, #15 - 8000b58: 18fb adds r3, r7, r3 - 8000b5a: 781b ldrb r3, [r3, #0] - 8000b5c: 2b00 cmp r3, #0 - 8000b5e: d120 bne.n 8000ba2 + 8000c52: 230f movs r3, #15 + 8000c54: 18fb adds r3, r7, r3 + 8000c56: 781b ldrb r3, [r3, #0] + 8000c58: 2b00 cmp r3, #0 + 8000c5a: d120 bne.n 8000c9e { /* Set ADC state */ /* - Clear state bitfield related to regular group conversion results */ /* - Set state bitfield related to regular operation */ ADC_STATE_CLR_SET(hadc->State, - 8000b60: 687b ldr r3, [r7, #4] - 8000b62: 6b9b ldr r3, [r3, #56] ; 0x38 - 8000b64: 4a12 ldr r2, [pc, #72] ; (8000bb0 ) - 8000b66: 4013 ands r3, r2 - 8000b68: 2280 movs r2, #128 ; 0x80 - 8000b6a: 0052 lsls r2, r2, #1 - 8000b6c: 431a orrs r2, r3 - 8000b6e: 687b ldr r3, [r7, #4] - 8000b70: 639a str r2, [r3, #56] ; 0x38 + 8000c5c: 687b ldr r3, [r7, #4] + 8000c5e: 6b9b ldr r3, [r3, #56] ; 0x38 + 8000c60: 4a12 ldr r2, [pc, #72] ; (8000cac ) + 8000c62: 4013 ands r3, r2 + 8000c64: 2280 movs r2, #128 ; 0x80 + 8000c66: 0052 lsls r2, r2, #1 + 8000c68: 431a orrs r2, r3 + 8000c6a: 687b ldr r3, [r7, #4] + 8000c6c: 639a str r2, [r3, #56] ; 0x38 HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC | HAL_ADC_STATE_REG_OVR | HAL_ADC_STATE_REG_EOSMP, HAL_ADC_STATE_REG_BUSY); /* Reset ADC all error code fields */ ADC_CLEAR_ERRORCODE(hadc); - 8000b72: 687b ldr r3, [r7, #4] - 8000b74: 2200 movs r2, #0 - 8000b76: 63da str r2, [r3, #60] ; 0x3c + 8000c6e: 687b ldr r3, [r7, #4] + 8000c70: 2200 movs r2, #0 + 8000c72: 63da str r2, [r3, #60] ; 0x3c /* Process unlocked */ /* Unlock before starting ADC conversions: in case of potential */ /* interruption, to let the process to ADC IRQ Handler. */ __HAL_UNLOCK(hadc); - 8000b78: 687b ldr r3, [r7, #4] - 8000b7a: 2234 movs r2, #52 ; 0x34 - 8000b7c: 2100 movs r1, #0 - 8000b7e: 5499 strb r1, [r3, r2] + 8000c74: 687b ldr r3, [r7, #4] + 8000c76: 2234 movs r2, #52 ; 0x34 + 8000c78: 2100 movs r1, #0 + 8000c7a: 5499 strb r1, [r3, r2] /* Clear regular group conversion flag and overrun flag */ /* (To ensure of no unknown state from potential previous ADC */ /* operations) */ __HAL_ADC_CLEAR_FLAG(hadc, (ADC_FLAG_EOC | ADC_FLAG_EOS | ADC_FLAG_OVR)); - 8000b80: 687b ldr r3, [r7, #4] - 8000b82: 681b ldr r3, [r3, #0] - 8000b84: 221c movs r2, #28 - 8000b86: 601a str r2, [r3, #0] + 8000c7c: 687b ldr r3, [r7, #4] + 8000c7e: 681b ldr r3, [r3, #0] + 8000c80: 221c movs r2, #28 + 8000c82: 601a str r2, [r3, #0] /* Enable conversion of regular group. */ /* If software start has been selected, conversion starts immediately. */ /* If external trigger has been selected, conversion will start at next */ /* trigger event. */ hadc->Instance->CR |= ADC_CR_ADSTART; - 8000b88: 687b ldr r3, [r7, #4] - 8000b8a: 681b ldr r3, [r3, #0] - 8000b8c: 689a ldr r2, [r3, #8] - 8000b8e: 687b ldr r3, [r7, #4] - 8000b90: 681b ldr r3, [r3, #0] - 8000b92: 2104 movs r1, #4 - 8000b94: 430a orrs r2, r1 - 8000b96: 609a str r2, [r3, #8] - 8000b98: e003 b.n 8000ba2 + 8000c84: 687b ldr r3, [r7, #4] + 8000c86: 681b ldr r3, [r3, #0] + 8000c88: 689a ldr r2, [r3, #8] + 8000c8a: 687b ldr r3, [r7, #4] + 8000c8c: 681b ldr r3, [r3, #0] + 8000c8e: 2104 movs r1, #4 + 8000c90: 430a orrs r2, r1 + 8000c92: 609a str r2, [r3, #8] + 8000c94: e003 b.n 8000c9e } } else { tmp_hal_status = HAL_BUSY; - 8000b9a: 230f movs r3, #15 - 8000b9c: 18fb adds r3, r7, r3 - 8000b9e: 2202 movs r2, #2 - 8000ba0: 701a strb r2, [r3, #0] + 8000c96: 230f movs r3, #15 + 8000c98: 18fb adds r3, r7, r3 + 8000c9a: 2202 movs r2, #2 + 8000c9c: 701a strb r2, [r3, #0] } /* Return function status */ return tmp_hal_status; - 8000ba2: 230f movs r3, #15 - 8000ba4: 18fb adds r3, r7, r3 - 8000ba6: 781b ldrb r3, [r3, #0] + 8000c9e: 230f movs r3, #15 + 8000ca0: 18fb adds r3, r7, r3 + 8000ca2: 781b ldrb r3, [r3, #0] } - 8000ba8: 0018 movs r0, r3 - 8000baa: 46bd mov sp, r7 - 8000bac: b005 add sp, #20 - 8000bae: bd90 pop {r4, r7, pc} - 8000bb0: fffff0fe .word 0xfffff0fe + 8000ca4: 0018 movs r0, r3 + 8000ca6: 46bd mov sp, r7 + 8000ca8: b005 add sp, #20 + 8000caa: bd90 pop {r4, r7, pc} + 8000cac: fffff0fe .word 0xfffff0fe -08000bb4 : +08000cb0 : * @brief Stop ADC conversion of regular group, disable ADC peripheral. * @param hadc ADC handle * @retval HAL status. */ HAL_StatusTypeDef HAL_ADC_Stop(ADC_HandleTypeDef* hadc) { - 8000bb4: b5b0 push {r4, r5, r7, lr} - 8000bb6: b084 sub sp, #16 - 8000bb8: af00 add r7, sp, #0 - 8000bba: 6078 str r0, [r7, #4] + 8000cb0: b5b0 push {r4, r5, r7, lr} + 8000cb2: b084 sub sp, #16 + 8000cb4: af00 add r7, sp, #0 + 8000cb6: 6078 str r0, [r7, #4] HAL_StatusTypeDef tmp_hal_status = HAL_OK; - 8000bbc: 230f movs r3, #15 - 8000bbe: 18fb adds r3, r7, r3 - 8000bc0: 2200 movs r2, #0 - 8000bc2: 701a strb r2, [r3, #0] + 8000cb8: 230f movs r3, #15 + 8000cba: 18fb adds r3, r7, r3 + 8000cbc: 2200 movs r2, #0 + 8000cbe: 701a strb r2, [r3, #0] /* Check the parameters */ assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance)); /* Process locked */ __HAL_LOCK(hadc); - 8000bc4: 687b ldr r3, [r7, #4] - 8000bc6: 2234 movs r2, #52 ; 0x34 - 8000bc8: 5c9b ldrb r3, [r3, r2] - 8000bca: 2b01 cmp r3, #1 - 8000bcc: d101 bne.n 8000bd2 - 8000bce: 2302 movs r3, #2 - 8000bd0: e029 b.n 8000c26 - 8000bd2: 687b ldr r3, [r7, #4] - 8000bd4: 2234 movs r2, #52 ; 0x34 - 8000bd6: 2101 movs r1, #1 - 8000bd8: 5499 strb r1, [r3, r2] + 8000cc0: 687b ldr r3, [r7, #4] + 8000cc2: 2234 movs r2, #52 ; 0x34 + 8000cc4: 5c9b ldrb r3, [r3, r2] + 8000cc6: 2b01 cmp r3, #1 + 8000cc8: d101 bne.n 8000cce + 8000cca: 2302 movs r3, #2 + 8000ccc: e029 b.n 8000d22 + 8000cce: 687b ldr r3, [r7, #4] + 8000cd0: 2234 movs r2, #52 ; 0x34 + 8000cd2: 2101 movs r1, #1 + 8000cd4: 5499 strb r1, [r3, r2] /* 1. Stop potential conversion on going, on regular group */ tmp_hal_status = ADC_ConversionStop(hadc); - 8000bda: 250f movs r5, #15 - 8000bdc: 197c adds r4, r7, r5 - 8000bde: 687b ldr r3, [r7, #4] - 8000be0: 0018 movs r0, r3 - 8000be2: f000 fab6 bl 8001152 - 8000be6: 0003 movs r3, r0 - 8000be8: 7023 strb r3, [r4, #0] + 8000cd6: 250f movs r5, #15 + 8000cd8: 197c adds r4, r7, r5 + 8000cda: 687b ldr r3, [r7, #4] + 8000cdc: 0018 movs r0, r3 + 8000cde: f000 fab6 bl 800124e + 8000ce2: 0003 movs r3, r0 + 8000ce4: 7023 strb r3, [r4, #0] /* Disable ADC peripheral if conversions are effectively stopped */ if (tmp_hal_status == HAL_OK) - 8000bea: 197b adds r3, r7, r5 - 8000bec: 781b ldrb r3, [r3, #0] - 8000bee: 2b00 cmp r3, #0 - 8000bf0: d112 bne.n 8000c18 + 8000ce6: 197b adds r3, r7, r5 + 8000ce8: 781b ldrb r3, [r3, #0] + 8000cea: 2b00 cmp r3, #0 + 8000cec: d112 bne.n 8000d14 { /* 2. Disable the ADC peripheral */ tmp_hal_status = ADC_Disable(hadc); - 8000bf2: 197c adds r4, r7, r5 - 8000bf4: 687b ldr r3, [r7, #4] - 8000bf6: 0018 movs r0, r3 - 8000bf8: f000 fa3a bl 8001070 - 8000bfc: 0003 movs r3, r0 - 8000bfe: 7023 strb r3, [r4, #0] + 8000cee: 197c adds r4, r7, r5 + 8000cf0: 687b ldr r3, [r7, #4] + 8000cf2: 0018 movs r0, r3 + 8000cf4: f000 fa3a bl 800116c + 8000cf8: 0003 movs r3, r0 + 8000cfa: 7023 strb r3, [r4, #0] /* Check if ADC is effectively disabled */ if (tmp_hal_status == HAL_OK) - 8000c00: 197b adds r3, r7, r5 - 8000c02: 781b ldrb r3, [r3, #0] - 8000c04: 2b00 cmp r3, #0 - 8000c06: d107 bne.n 8000c18 + 8000cfc: 197b adds r3, r7, r5 + 8000cfe: 781b ldrb r3, [r3, #0] + 8000d00: 2b00 cmp r3, #0 + 8000d02: d107 bne.n 8000d14 { /* Set ADC state */ ADC_STATE_CLR_SET(hadc->State, - 8000c08: 687b ldr r3, [r7, #4] - 8000c0a: 6b9b ldr r3, [r3, #56] ; 0x38 - 8000c0c: 4a08 ldr r2, [pc, #32] ; (8000c30 ) - 8000c0e: 4013 ands r3, r2 - 8000c10: 2201 movs r2, #1 - 8000c12: 431a orrs r2, r3 - 8000c14: 687b ldr r3, [r7, #4] - 8000c16: 639a str r2, [r3, #56] ; 0x38 + 8000d04: 687b ldr r3, [r7, #4] + 8000d06: 6b9b ldr r3, [r3, #56] ; 0x38 + 8000d08: 4a08 ldr r2, [pc, #32] ; (8000d2c ) + 8000d0a: 4013 ands r3, r2 + 8000d0c: 2201 movs r2, #1 + 8000d0e: 431a orrs r2, r3 + 8000d10: 687b ldr r3, [r7, #4] + 8000d12: 639a str r2, [r3, #56] ; 0x38 HAL_ADC_STATE_READY); } } /* Process unlocked */ __HAL_UNLOCK(hadc); - 8000c18: 687b ldr r3, [r7, #4] - 8000c1a: 2234 movs r2, #52 ; 0x34 - 8000c1c: 2100 movs r1, #0 - 8000c1e: 5499 strb r1, [r3, r2] + 8000d14: 687b ldr r3, [r7, #4] + 8000d16: 2234 movs r2, #52 ; 0x34 + 8000d18: 2100 movs r1, #0 + 8000d1a: 5499 strb r1, [r3, r2] /* Return function status */ return tmp_hal_status; - 8000c20: 230f movs r3, #15 - 8000c22: 18fb adds r3, r7, r3 - 8000c24: 781b ldrb r3, [r3, #0] + 8000d1c: 230f movs r3, #15 + 8000d1e: 18fb adds r3, r7, r3 + 8000d20: 781b ldrb r3, [r3, #0] } - 8000c26: 0018 movs r0, r3 - 8000c28: 46bd mov sp, r7 - 8000c2a: b004 add sp, #16 - 8000c2c: bdb0 pop {r4, r5, r7, pc} - 8000c2e: 46c0 nop ; (mov r8, r8) - 8000c30: fffffefe .word 0xfffffefe + 8000d22: 0018 movs r0, r3 + 8000d24: 46bd mov sp, r7 + 8000d26: b004 add sp, #16 + 8000d28: bdb0 pop {r4, r5, r7, pc} + 8000d2a: 46c0 nop ; (mov r8, r8) + 8000d2c: fffffefe .word 0xfffffefe -08000c34 : +08000d30 : * @param hadc ADC handle * @param Timeout Timeout value in millisecond. * @retval HAL status */ HAL_StatusTypeDef HAL_ADC_PollForConversion(ADC_HandleTypeDef* hadc, uint32_t Timeout) { - 8000c34: b580 push {r7, lr} - 8000c36: b084 sub sp, #16 - 8000c38: af00 add r7, sp, #0 - 8000c3a: 6078 str r0, [r7, #4] - 8000c3c: 6039 str r1, [r7, #0] + 8000d30: b580 push {r7, lr} + 8000d32: b084 sub sp, #16 + 8000d34: af00 add r7, sp, #0 + 8000d36: 6078 str r0, [r7, #4] + 8000d38: 6039 str r1, [r7, #0] /* Check the parameters */ assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance)); /* If end of conversion selected to end of sequence */ if (hadc->Init.EOCSelection == ADC_EOC_SEQ_CONV) - 8000c3e: 687b ldr r3, [r7, #4] - 8000c40: 695b ldr r3, [r3, #20] - 8000c42: 2b08 cmp r3, #8 - 8000c44: d102 bne.n 8000c4c + 8000d3a: 687b ldr r3, [r7, #4] + 8000d3c: 695b ldr r3, [r3, #20] + 8000d3e: 2b08 cmp r3, #8 + 8000d40: d102 bne.n 8000d48 { tmp_Flag_EOC = ADC_FLAG_EOS; - 8000c46: 2308 movs r3, #8 - 8000c48: 60fb str r3, [r7, #12] - 8000c4a: e014 b.n 8000c76 + 8000d42: 2308 movs r3, #8 + 8000d44: 60fb str r3, [r7, #12] + 8000d46: e014 b.n 8000d72 /* each conversion: */ /* Particular case is ADC configured in DMA mode and ADC sequencer with */ /* several ranks and polling for end of each conversion. */ /* For code simplicity sake, this particular case is generalized to */ /* ADC configured in DMA mode and and polling for end of each conversion. */ if (HAL_IS_BIT_SET(hadc->Instance->CFGR1, ADC_CFGR1_DMAEN)) - 8000c4c: 687b ldr r3, [r7, #4] - 8000c4e: 681b ldr r3, [r3, #0] - 8000c50: 68db ldr r3, [r3, #12] - 8000c52: 2201 movs r2, #1 - 8000c54: 4013 ands r3, r2 - 8000c56: 2b01 cmp r3, #1 - 8000c58: d10b bne.n 8000c72 + 8000d48: 687b ldr r3, [r7, #4] + 8000d4a: 681b ldr r3, [r3, #0] + 8000d4c: 68db ldr r3, [r3, #12] + 8000d4e: 2201 movs r2, #1 + 8000d50: 4013 ands r3, r2 + 8000d52: 2b01 cmp r3, #1 + 8000d54: d10b bne.n 8000d6e { /* Update ADC state machine to error */ SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG); - 8000c5a: 687b ldr r3, [r7, #4] - 8000c5c: 6b9b ldr r3, [r3, #56] ; 0x38 - 8000c5e: 2220 movs r2, #32 - 8000c60: 431a orrs r2, r3 - 8000c62: 687b ldr r3, [r7, #4] - 8000c64: 639a str r2, [r3, #56] ; 0x38 + 8000d56: 687b ldr r3, [r7, #4] + 8000d58: 6b9b ldr r3, [r3, #56] ; 0x38 + 8000d5a: 2220 movs r2, #32 + 8000d5c: 431a orrs r2, r3 + 8000d5e: 687b ldr r3, [r7, #4] + 8000d60: 639a str r2, [r3, #56] ; 0x38 /* Process unlocked */ __HAL_UNLOCK(hadc); - 8000c66: 687b ldr r3, [r7, #4] - 8000c68: 2234 movs r2, #52 ; 0x34 - 8000c6a: 2100 movs r1, #0 - 8000c6c: 5499 strb r1, [r3, r2] + 8000d62: 687b ldr r3, [r7, #4] + 8000d64: 2234 movs r2, #52 ; 0x34 + 8000d66: 2100 movs r1, #0 + 8000d68: 5499 strb r1, [r3, r2] return HAL_ERROR; - 8000c6e: 2301 movs r3, #1 - 8000c70: e071 b.n 8000d56 + 8000d6a: 2301 movs r3, #1 + 8000d6c: e071 b.n 8000e52 } else { tmp_Flag_EOC = (ADC_FLAG_EOC | ADC_FLAG_EOS); - 8000c72: 230c movs r3, #12 - 8000c74: 60fb str r3, [r7, #12] + 8000d6e: 230c movs r3, #12 + 8000d70: 60fb str r3, [r7, #12] } } /* Get tick count */ tickstart = HAL_GetTick(); - 8000c76: f7ff fdff bl 8000878 - 8000c7a: 0003 movs r3, r0 - 8000c7c: 60bb str r3, [r7, #8] + 8000d72: f7ff fdff bl 8000974 + 8000d76: 0003 movs r3, r0 + 8000d78: 60bb str r3, [r7, #8] /* Wait until End of Conversion flag is raised */ while(HAL_IS_BIT_CLR(hadc->Instance->ISR, tmp_Flag_EOC)) - 8000c7e: e01f b.n 8000cc0 + 8000d7a: e01f b.n 8000dbc { /* Check if timeout is disabled (set to infinite wait) */ if(Timeout != HAL_MAX_DELAY) - 8000c80: 683b ldr r3, [r7, #0] - 8000c82: 3301 adds r3, #1 - 8000c84: d01c beq.n 8000cc0 + 8000d7c: 683b ldr r3, [r7, #0] + 8000d7e: 3301 adds r3, #1 + 8000d80: d01c beq.n 8000dbc { if((Timeout == 0) || ((HAL_GetTick()-tickstart) > Timeout)) - 8000c86: 683b ldr r3, [r7, #0] - 8000c88: 2b00 cmp r3, #0 - 8000c8a: d007 beq.n 8000c9c - 8000c8c: f7ff fdf4 bl 8000878 - 8000c90: 0002 movs r2, r0 - 8000c92: 68bb ldr r3, [r7, #8] - 8000c94: 1ad3 subs r3, r2, r3 - 8000c96: 683a ldr r2, [r7, #0] - 8000c98: 429a cmp r2, r3 - 8000c9a: d211 bcs.n 8000cc0 + 8000d82: 683b ldr r3, [r7, #0] + 8000d84: 2b00 cmp r3, #0 + 8000d86: d007 beq.n 8000d98 + 8000d88: f7ff fdf4 bl 8000974 + 8000d8c: 0002 movs r2, r0 + 8000d8e: 68bb ldr r3, [r7, #8] + 8000d90: 1ad3 subs r3, r2, r3 + 8000d92: 683a ldr r2, [r7, #0] + 8000d94: 429a cmp r2, r3 + 8000d96: d211 bcs.n 8000dbc { /* New check to avoid false timeout detection in case of preemption */ if(HAL_IS_BIT_CLR(hadc->Instance->ISR, tmp_Flag_EOC)) - 8000c9c: 687b ldr r3, [r7, #4] - 8000c9e: 681b ldr r3, [r3, #0] - 8000ca0: 681b ldr r3, [r3, #0] - 8000ca2: 68fa ldr r2, [r7, #12] - 8000ca4: 4013 ands r3, r2 - 8000ca6: d10b bne.n 8000cc0 + 8000d98: 687b ldr r3, [r7, #4] + 8000d9a: 681b ldr r3, [r3, #0] + 8000d9c: 681b ldr r3, [r3, #0] + 8000d9e: 68fa ldr r2, [r7, #12] + 8000da0: 4013 ands r3, r2 + 8000da2: d10b bne.n 8000dbc { /* Update ADC state machine to timeout */ SET_BIT(hadc->State, HAL_ADC_STATE_TIMEOUT); - 8000ca8: 687b ldr r3, [r7, #4] - 8000caa: 6b9b ldr r3, [r3, #56] ; 0x38 - 8000cac: 2204 movs r2, #4 - 8000cae: 431a orrs r2, r3 - 8000cb0: 687b ldr r3, [r7, #4] - 8000cb2: 639a str r2, [r3, #56] ; 0x38 + 8000da4: 687b ldr r3, [r7, #4] + 8000da6: 6b9b ldr r3, [r3, #56] ; 0x38 + 8000da8: 2204 movs r2, #4 + 8000daa: 431a orrs r2, r3 + 8000dac: 687b ldr r3, [r7, #4] + 8000dae: 639a str r2, [r3, #56] ; 0x38 /* Process unlocked */ __HAL_UNLOCK(hadc); - 8000cb4: 687b ldr r3, [r7, #4] - 8000cb6: 2234 movs r2, #52 ; 0x34 - 8000cb8: 2100 movs r1, #0 - 8000cba: 5499 strb r1, [r3, r2] + 8000db0: 687b ldr r3, [r7, #4] + 8000db2: 2234 movs r2, #52 ; 0x34 + 8000db4: 2100 movs r1, #0 + 8000db6: 5499 strb r1, [r3, r2] return HAL_TIMEOUT; - 8000cbc: 2303 movs r3, #3 - 8000cbe: e04a b.n 8000d56 + 8000db8: 2303 movs r3, #3 + 8000dba: e04a b.n 8000e52 while(HAL_IS_BIT_CLR(hadc->Instance->ISR, tmp_Flag_EOC)) - 8000cc0: 687b ldr r3, [r7, #4] - 8000cc2: 681b ldr r3, [r3, #0] - 8000cc4: 681b ldr r3, [r3, #0] - 8000cc6: 68fa ldr r2, [r7, #12] - 8000cc8: 4013 ands r3, r2 - 8000cca: d0d9 beq.n 8000c80 + 8000dbc: 687b ldr r3, [r7, #4] + 8000dbe: 681b ldr r3, [r3, #0] + 8000dc0: 681b ldr r3, [r3, #0] + 8000dc2: 68fa ldr r2, [r7, #12] + 8000dc4: 4013 ands r3, r2 + 8000dc6: d0d9 beq.n 8000d7c } } } /* Update ADC state machine */ SET_BIT(hadc->State, HAL_ADC_STATE_REG_EOC); - 8000ccc: 687b ldr r3, [r7, #4] - 8000cce: 6b9b ldr r3, [r3, #56] ; 0x38 - 8000cd0: 2280 movs r2, #128 ; 0x80 - 8000cd2: 0092 lsls r2, r2, #2 - 8000cd4: 431a orrs r2, r3 - 8000cd6: 687b ldr r3, [r7, #4] - 8000cd8: 639a str r2, [r3, #56] ; 0x38 + 8000dc8: 687b ldr r3, [r7, #4] + 8000dca: 6b9b ldr r3, [r3, #56] ; 0x38 + 8000dcc: 2280 movs r2, #128 ; 0x80 + 8000dce: 0092 lsls r2, r2, #2 + 8000dd0: 431a orrs r2, r3 + 8000dd2: 687b ldr r3, [r7, #4] + 8000dd4: 639a str r2, [r3, #56] ; 0x38 /* Determine whether any further conversion upcoming on group regular */ /* by external trigger, continuous mode or scan sequence on going. */ if(ADC_IS_SOFTWARE_START_REGULAR(hadc) && - 8000cda: 687b ldr r3, [r7, #4] - 8000cdc: 681b ldr r3, [r3, #0] - 8000cde: 68da ldr r2, [r3, #12] - 8000ce0: 23c0 movs r3, #192 ; 0xc0 - 8000ce2: 011b lsls r3, r3, #4 - 8000ce4: 4013 ands r3, r2 - 8000ce6: d12d bne.n 8000d44 + 8000dd6: 687b ldr r3, [r7, #4] + 8000dd8: 681b ldr r3, [r3, #0] + 8000dda: 68da ldr r2, [r3, #12] + 8000ddc: 23c0 movs r3, #192 ; 0xc0 + 8000dde: 011b lsls r3, r3, #4 + 8000de0: 4013 ands r3, r2 + 8000de2: d12d bne.n 8000e40 (hadc->Init.ContinuousConvMode == DISABLE) ) - 8000ce8: 687b ldr r3, [r7, #4] - 8000cea: 7e9b ldrb r3, [r3, #26] + 8000de4: 687b ldr r3, [r7, #4] + 8000de6: 7e9b ldrb r3, [r3, #26] if(ADC_IS_SOFTWARE_START_REGULAR(hadc) && - 8000cec: 2b00 cmp r3, #0 - 8000cee: d129 bne.n 8000d44 + 8000de8: 2b00 cmp r3, #0 + 8000dea: d129 bne.n 8000e40 { /* If End of Sequence is reached, disable interrupts */ if( __HAL_ADC_GET_FLAG(hadc, ADC_FLAG_EOS) ) - 8000cf0: 687b ldr r3, [r7, #4] - 8000cf2: 681b ldr r3, [r3, #0] - 8000cf4: 681b ldr r3, [r3, #0] - 8000cf6: 2208 movs r2, #8 - 8000cf8: 4013 ands r3, r2 - 8000cfa: 2b08 cmp r3, #8 - 8000cfc: d122 bne.n 8000d44 + 8000dec: 687b ldr r3, [r7, #4] + 8000dee: 681b ldr r3, [r3, #0] + 8000df0: 681b ldr r3, [r3, #0] + 8000df2: 2208 movs r2, #8 + 8000df4: 4013 ands r3, r2 + 8000df6: 2b08 cmp r3, #8 + 8000df8: d122 bne.n 8000e40 { /* Allowed to modify bits ADC_IT_EOC/ADC_IT_EOS only if bit */ /* ADSTART==0 (no conversion on going) */ if (ADC_IS_CONVERSION_ONGOING_REGULAR(hadc) == RESET) - 8000cfe: 687b ldr r3, [r7, #4] - 8000d00: 681b ldr r3, [r3, #0] - 8000d02: 689b ldr r3, [r3, #8] - 8000d04: 2204 movs r2, #4 - 8000d06: 4013 ands r3, r2 - 8000d08: d110 bne.n 8000d2c + 8000dfa: 687b ldr r3, [r7, #4] + 8000dfc: 681b ldr r3, [r3, #0] + 8000dfe: 689b ldr r3, [r3, #8] + 8000e00: 2204 movs r2, #4 + 8000e02: 4013 ands r3, r2 + 8000e04: d110 bne.n 8000e28 { /* Disable ADC end of single conversion interrupt on group regular */ /* Note: Overrun interrupt was enabled with EOC interrupt in */ /* HAL_Start_IT(), but is not disabled here because can be used */ /* by overrun IRQ process below. */ __HAL_ADC_DISABLE_IT(hadc, ADC_IT_EOC | ADC_IT_EOS); - 8000d0a: 687b ldr r3, [r7, #4] - 8000d0c: 681b ldr r3, [r3, #0] - 8000d0e: 685a ldr r2, [r3, #4] - 8000d10: 687b ldr r3, [r7, #4] - 8000d12: 681b ldr r3, [r3, #0] - 8000d14: 210c movs r1, #12 - 8000d16: 438a bics r2, r1 - 8000d18: 605a str r2, [r3, #4] + 8000e06: 687b ldr r3, [r7, #4] + 8000e08: 681b ldr r3, [r3, #0] + 8000e0a: 685a ldr r2, [r3, #4] + 8000e0c: 687b ldr r3, [r7, #4] + 8000e0e: 681b ldr r3, [r3, #0] + 8000e10: 210c movs r1, #12 + 8000e12: 438a bics r2, r1 + 8000e14: 605a str r2, [r3, #4] /* Set ADC state */ ADC_STATE_CLR_SET(hadc->State, - 8000d1a: 687b ldr r3, [r7, #4] - 8000d1c: 6b9b ldr r3, [r3, #56] ; 0x38 - 8000d1e: 4a10 ldr r2, [pc, #64] ; (8000d60 ) - 8000d20: 4013 ands r3, r2 - 8000d22: 2201 movs r2, #1 - 8000d24: 431a orrs r2, r3 - 8000d26: 687b ldr r3, [r7, #4] - 8000d28: 639a str r2, [r3, #56] ; 0x38 - 8000d2a: e00b b.n 8000d44 + 8000e16: 687b ldr r3, [r7, #4] + 8000e18: 6b9b ldr r3, [r3, #56] ; 0x38 + 8000e1a: 4a10 ldr r2, [pc, #64] ; (8000e5c ) + 8000e1c: 4013 ands r3, r2 + 8000e1e: 2201 movs r2, #1 + 8000e20: 431a orrs r2, r3 + 8000e22: 687b ldr r3, [r7, #4] + 8000e24: 639a str r2, [r3, #56] ; 0x38 + 8000e26: e00b b.n 8000e40 HAL_ADC_STATE_READY); } else { /* Change ADC state to error state */ SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG); - 8000d2c: 687b ldr r3, [r7, #4] - 8000d2e: 6b9b ldr r3, [r3, #56] ; 0x38 - 8000d30: 2220 movs r2, #32 - 8000d32: 431a orrs r2, r3 - 8000d34: 687b ldr r3, [r7, #4] - 8000d36: 639a str r2, [r3, #56] ; 0x38 + 8000e28: 687b ldr r3, [r7, #4] + 8000e2a: 6b9b ldr r3, [r3, #56] ; 0x38 + 8000e2c: 2220 movs r2, #32 + 8000e2e: 431a orrs r2, r3 + 8000e30: 687b ldr r3, [r7, #4] + 8000e32: 639a str r2, [r3, #56] ; 0x38 /* Set ADC error code to ADC IP internal error */ SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_INTERNAL); - 8000d38: 687b ldr r3, [r7, #4] - 8000d3a: 6bdb ldr r3, [r3, #60] ; 0x3c - 8000d3c: 2201 movs r2, #1 - 8000d3e: 431a orrs r2, r3 - 8000d40: 687b ldr r3, [r7, #4] - 8000d42: 63da str r2, [r3, #60] ; 0x3c + 8000e34: 687b ldr r3, [r7, #4] + 8000e36: 6bdb ldr r3, [r3, #60] ; 0x3c + 8000e38: 2201 movs r2, #1 + 8000e3a: 431a orrs r2, r3 + 8000e3c: 687b ldr r3, [r7, #4] + 8000e3e: 63da str r2, [r3, #60] ; 0x3c } /* Clear end of conversion flag of regular group if low power feature */ /* "LowPowerAutoWait " is disabled, to not interfere with this feature */ /* until data register is read using function HAL_ADC_GetValue(). */ if (hadc->Init.LowPowerAutoWait == DISABLE) - 8000d44: 687b ldr r3, [r7, #4] - 8000d46: 7e1b ldrb r3, [r3, #24] - 8000d48: 2b00 cmp r3, #0 - 8000d4a: d103 bne.n 8000d54 + 8000e40: 687b ldr r3, [r7, #4] + 8000e42: 7e1b ldrb r3, [r3, #24] + 8000e44: 2b00 cmp r3, #0 + 8000e46: d103 bne.n 8000e50 { /* Clear regular group conversion flag */ __HAL_ADC_CLEAR_FLAG(hadc, (ADC_FLAG_EOC | ADC_FLAG_EOS)); - 8000d4c: 687b ldr r3, [r7, #4] - 8000d4e: 681b ldr r3, [r3, #0] - 8000d50: 220c movs r2, #12 - 8000d52: 601a str r2, [r3, #0] + 8000e48: 687b ldr r3, [r7, #4] + 8000e4a: 681b ldr r3, [r3, #0] + 8000e4c: 220c movs r2, #12 + 8000e4e: 601a str r2, [r3, #0] } /* Return ADC state */ return HAL_OK; - 8000d54: 2300 movs r3, #0 + 8000e50: 2300 movs r3, #0 } - 8000d56: 0018 movs r0, r3 - 8000d58: 46bd mov sp, r7 - 8000d5a: b004 add sp, #16 - 8000d5c: bd80 pop {r7, pc} - 8000d5e: 46c0 nop ; (mov r8, r8) - 8000d60: fffffefe .word 0xfffffefe + 8000e52: 0018 movs r0, r3 + 8000e54: 46bd mov sp, r7 + 8000e56: b004 add sp, #16 + 8000e58: bd80 pop {r7, pc} + 8000e5a: 46c0 nop ; (mov r8, r8) + 8000e5c: fffffefe .word 0xfffffefe -08000d64 : +08000e60 : * or @ref __HAL_ADC_CLEAR_FLAG(&hadc, ADC_FLAG_EOS). * @param hadc ADC handle * @retval ADC group regular conversion data */ uint32_t HAL_ADC_GetValue(ADC_HandleTypeDef* hadc) { - 8000d64: b580 push {r7, lr} - 8000d66: b082 sub sp, #8 - 8000d68: af00 add r7, sp, #0 - 8000d6a: 6078 str r0, [r7, #4] + 8000e60: b580 push {r7, lr} + 8000e62: b082 sub sp, #8 + 8000e64: af00 add r7, sp, #0 + 8000e66: 6078 str r0, [r7, #4] /* Note: EOC flag is not cleared here by software because automatically */ /* cleared by hardware when reading register DR. */ /* Return ADC converted value */ return hadc->Instance->DR; - 8000d6c: 687b ldr r3, [r7, #4] - 8000d6e: 681b ldr r3, [r3, #0] - 8000d70: 6c1b ldr r3, [r3, #64] ; 0x40 + 8000e68: 687b ldr r3, [r7, #4] + 8000e6a: 681b ldr r3, [r3, #0] + 8000e6c: 6c1b ldr r3, [r3, #64] ; 0x40 } - 8000d72: 0018 movs r0, r3 - 8000d74: 46bd mov sp, r7 - 8000d76: b002 add sp, #8 - 8000d78: bd80 pop {r7, pc} + 8000e6e: 0018 movs r0, r3 + 8000e70: 46bd mov sp, r7 + 8000e72: b002 add sp, #8 + 8000e74: bd80 pop {r7, pc} ... -08000d7c : +08000e78 : * @param hadc ADC handle * @param sConfig Structure of ADC channel for regular group. * @retval HAL status */ HAL_StatusTypeDef HAL_ADC_ConfigChannel(ADC_HandleTypeDef* hadc, ADC_ChannelConfTypeDef* sConfig) { - 8000d7c: b580 push {r7, lr} - 8000d7e: b084 sub sp, #16 - 8000d80: af00 add r7, sp, #0 - 8000d82: 6078 str r0, [r7, #4] - 8000d84: 6039 str r1, [r7, #0] + 8000e78: b580 push {r7, lr} + 8000e7a: b084 sub sp, #16 + 8000e7c: af00 add r7, sp, #0 + 8000e7e: 6078 str r0, [r7, #4] + 8000e80: 6039 str r1, [r7, #0] HAL_StatusTypeDef tmp_hal_status = HAL_OK; - 8000d86: 230f movs r3, #15 - 8000d88: 18fb adds r3, r7, r3 - 8000d8a: 2200 movs r2, #0 - 8000d8c: 701a strb r2, [r3, #0] + 8000e82: 230f movs r3, #15 + 8000e84: 18fb adds r3, r7, r3 + 8000e86: 2200 movs r2, #0 + 8000e88: 701a strb r2, [r3, #0] __IO uint32_t wait_loop_index = 0U; - 8000d8e: 2300 movs r3, #0 - 8000d90: 60bb str r3, [r7, #8] + 8000e8a: 2300 movs r3, #0 + 8000e8c: 60bb str r3, [r7, #8] /* Check the parameters */ assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance)); assert_param(IS_ADC_CHANNEL(sConfig->Channel)); assert_param(IS_ADC_RANK(sConfig->Rank)); if (! IS_ADC_SAMPLE_TIME(hadc->Init.SamplingTimeCommon)) - 8000d92: 687b ldr r3, [r7, #4] - 8000d94: 6ada ldr r2, [r3, #44] ; 0x2c - 8000d96: 2380 movs r3, #128 ; 0x80 - 8000d98: 055b lsls r3, r3, #21 - 8000d9a: 429a cmp r2, r3 - 8000d9c: d011 beq.n 8000dc2 - 8000d9e: 687b ldr r3, [r7, #4] - 8000da0: 6adb ldr r3, [r3, #44] ; 0x2c - 8000da2: 2b01 cmp r3, #1 - 8000da4: d00d beq.n 8000dc2 - 8000da6: 687b ldr r3, [r7, #4] - 8000da8: 6adb ldr r3, [r3, #44] ; 0x2c - 8000daa: 2b02 cmp r3, #2 - 8000dac: d009 beq.n 8000dc2 - 8000dae: 687b ldr r3, [r7, #4] - 8000db0: 6adb ldr r3, [r3, #44] ; 0x2c - 8000db2: 2b03 cmp r3, #3 - 8000db4: d005 beq.n 8000dc2 - 8000db6: 687b ldr r3, [r7, #4] - 8000db8: 6adb ldr r3, [r3, #44] ; 0x2c - 8000dba: 2b04 cmp r3, #4 - 8000dbc: d001 beq.n 8000dc2 - 8000dbe: 687b ldr r3, [r7, #4] - 8000dc0: 6adb ldr r3, [r3, #44] ; 0x2c + 8000e8e: 687b ldr r3, [r7, #4] + 8000e90: 6ada ldr r2, [r3, #44] ; 0x2c + 8000e92: 2380 movs r3, #128 ; 0x80 + 8000e94: 055b lsls r3, r3, #21 + 8000e96: 429a cmp r2, r3 + 8000e98: d011 beq.n 8000ebe + 8000e9a: 687b ldr r3, [r7, #4] + 8000e9c: 6adb ldr r3, [r3, #44] ; 0x2c + 8000e9e: 2b01 cmp r3, #1 + 8000ea0: d00d beq.n 8000ebe + 8000ea2: 687b ldr r3, [r7, #4] + 8000ea4: 6adb ldr r3, [r3, #44] ; 0x2c + 8000ea6: 2b02 cmp r3, #2 + 8000ea8: d009 beq.n 8000ebe + 8000eaa: 687b ldr r3, [r7, #4] + 8000eac: 6adb ldr r3, [r3, #44] ; 0x2c + 8000eae: 2b03 cmp r3, #3 + 8000eb0: d005 beq.n 8000ebe + 8000eb2: 687b ldr r3, [r7, #4] + 8000eb4: 6adb ldr r3, [r3, #44] ; 0x2c + 8000eb6: 2b04 cmp r3, #4 + 8000eb8: d001 beq.n 8000ebe + 8000eba: 687b ldr r3, [r7, #4] + 8000ebc: 6adb ldr r3, [r3, #44] ; 0x2c { assert_param(IS_ADC_SAMPLE_TIME(sConfig->SamplingTime)); } /* Process locked */ __HAL_LOCK(hadc); - 8000dc2: 687b ldr r3, [r7, #4] - 8000dc4: 2234 movs r2, #52 ; 0x34 - 8000dc6: 5c9b ldrb r3, [r3, r2] - 8000dc8: 2b01 cmp r3, #1 - 8000dca: d101 bne.n 8000dd0 - 8000dcc: 2302 movs r3, #2 - 8000dce: e0bb b.n 8000f48 - 8000dd0: 687b ldr r3, [r7, #4] - 8000dd2: 2234 movs r2, #52 ; 0x34 - 8000dd4: 2101 movs r1, #1 - 8000dd6: 5499 strb r1, [r3, r2] + 8000ebe: 687b ldr r3, [r7, #4] + 8000ec0: 2234 movs r2, #52 ; 0x34 + 8000ec2: 5c9b ldrb r3, [r3, r2] + 8000ec4: 2b01 cmp r3, #1 + 8000ec6: d101 bne.n 8000ecc + 8000ec8: 2302 movs r3, #2 + 8000eca: e0bb b.n 8001044 + 8000ecc: 687b ldr r3, [r7, #4] + 8000ece: 2234 movs r2, #52 ; 0x34 + 8000ed0: 2101 movs r1, #1 + 8000ed2: 5499 strb r1, [r3, r2] /* Parameters that can be updated when ADC is disabled or enabled without */ /* conversion on going on regular group: */ /* - Channel number */ /* - Channel sampling time */ /* - Management of internal measurement channels: VrefInt/TempSensor/Vbat */ if (ADC_IS_CONVERSION_ONGOING_REGULAR(hadc) == RESET) - 8000dd8: 687b ldr r3, [r7, #4] - 8000dda: 681b ldr r3, [r3, #0] - 8000ddc: 689b ldr r3, [r3, #8] - 8000dde: 2204 movs r2, #4 - 8000de0: 4013 ands r3, r2 - 8000de2: d000 beq.n 8000de6 - 8000de4: e09f b.n 8000f26 + 8000ed4: 687b ldr r3, [r7, #4] + 8000ed6: 681b ldr r3, [r3, #0] + 8000ed8: 689b ldr r3, [r3, #8] + 8000eda: 2204 movs r2, #4 + 8000edc: 4013 ands r3, r2 + 8000ede: d000 beq.n 8000ee2 + 8000ee0: e09f b.n 8001022 { /* Configure channel: depending on rank setting, add it or remove it from */ /* ADC conversion sequencer. */ if (sConfig->Rank != ADC_RANK_NONE) - 8000de6: 683b ldr r3, [r7, #0] - 8000de8: 685b ldr r3, [r3, #4] - 8000dea: 4a59 ldr r2, [pc, #356] ; (8000f50 ) - 8000dec: 4293 cmp r3, r2 - 8000dee: d100 bne.n 8000df2 - 8000df0: e077 b.n 8000ee2 + 8000ee2: 683b ldr r3, [r7, #0] + 8000ee4: 685b ldr r3, [r3, #4] + 8000ee6: 4a59 ldr r2, [pc, #356] ; (800104c ) + 8000ee8: 4293 cmp r3, r2 + 8000eea: d100 bne.n 8000eee + 8000eec: e077 b.n 8000fde { /* Regular sequence configuration */ /* Set the channel selection register from the selected channel */ hadc->Instance->CHSELR |= ADC_CHSELR_CHANNEL(sConfig->Channel); - 8000df2: 687b ldr r3, [r7, #4] - 8000df4: 681b ldr r3, [r3, #0] - 8000df6: 6a99 ldr r1, [r3, #40] ; 0x28 - 8000df8: 683b ldr r3, [r7, #0] - 8000dfa: 681b ldr r3, [r3, #0] - 8000dfc: 2201 movs r2, #1 - 8000dfe: 409a lsls r2, r3 - 8000e00: 687b ldr r3, [r7, #4] - 8000e02: 681b ldr r3, [r3, #0] - 8000e04: 430a orrs r2, r1 - 8000e06: 629a str r2, [r3, #40] ; 0x28 + 8000eee: 687b ldr r3, [r7, #4] + 8000ef0: 681b ldr r3, [r3, #0] + 8000ef2: 6a99 ldr r1, [r3, #40] ; 0x28 + 8000ef4: 683b ldr r3, [r7, #0] + 8000ef6: 681b ldr r3, [r3, #0] + 8000ef8: 2201 movs r2, #1 + 8000efa: 409a lsls r2, r3 + 8000efc: 687b ldr r3, [r7, #4] + 8000efe: 681b ldr r3, [r3, #0] + 8000f00: 430a orrs r2, r1 + 8000f02: 629a str r2, [r3, #40] ; 0x28 /* Channel sampling time configuration */ /* Management of parameters "SamplingTimeCommon" and "SamplingTime" */ /* (obsolete): sampling time set in this function with */ /* parameter "SamplingTime" (obsolete) only if not already set into */ /* ADC initialization structure with parameter "SamplingTimeCommon". */ if (! IS_ADC_SAMPLE_TIME(hadc->Init.SamplingTimeCommon)) - 8000e08: 687b ldr r3, [r7, #4] - 8000e0a: 6ada ldr r2, [r3, #44] ; 0x2c - 8000e0c: 2380 movs r3, #128 ; 0x80 - 8000e0e: 055b lsls r3, r3, #21 - 8000e10: 429a cmp r2, r3 - 8000e12: d037 beq.n 8000e84 - 8000e14: 687b ldr r3, [r7, #4] - 8000e16: 6adb ldr r3, [r3, #44] ; 0x2c - 8000e18: 2b01 cmp r3, #1 - 8000e1a: d033 beq.n 8000e84 - 8000e1c: 687b ldr r3, [r7, #4] - 8000e1e: 6adb ldr r3, [r3, #44] ; 0x2c - 8000e20: 2b02 cmp r3, #2 - 8000e22: d02f beq.n 8000e84 - 8000e24: 687b ldr r3, [r7, #4] - 8000e26: 6adb ldr r3, [r3, #44] ; 0x2c - 8000e28: 2b03 cmp r3, #3 - 8000e2a: d02b beq.n 8000e84 - 8000e2c: 687b ldr r3, [r7, #4] - 8000e2e: 6adb ldr r3, [r3, #44] ; 0x2c - 8000e30: 2b04 cmp r3, #4 - 8000e32: d027 beq.n 8000e84 - 8000e34: 687b ldr r3, [r7, #4] - 8000e36: 6adb ldr r3, [r3, #44] ; 0x2c - 8000e38: 2b05 cmp r3, #5 - 8000e3a: d023 beq.n 8000e84 - 8000e3c: 687b ldr r3, [r7, #4] - 8000e3e: 6adb ldr r3, [r3, #44] ; 0x2c - 8000e40: 2b06 cmp r3, #6 - 8000e42: d01f beq.n 8000e84 - 8000e44: 687b ldr r3, [r7, #4] - 8000e46: 6adb ldr r3, [r3, #44] ; 0x2c - 8000e48: 2b07 cmp r3, #7 - 8000e4a: d01b beq.n 8000e84 + 8000f04: 687b ldr r3, [r7, #4] + 8000f06: 6ada ldr r2, [r3, #44] ; 0x2c + 8000f08: 2380 movs r3, #128 ; 0x80 + 8000f0a: 055b lsls r3, r3, #21 + 8000f0c: 429a cmp r2, r3 + 8000f0e: d037 beq.n 8000f80 + 8000f10: 687b ldr r3, [r7, #4] + 8000f12: 6adb ldr r3, [r3, #44] ; 0x2c + 8000f14: 2b01 cmp r3, #1 + 8000f16: d033 beq.n 8000f80 + 8000f18: 687b ldr r3, [r7, #4] + 8000f1a: 6adb ldr r3, [r3, #44] ; 0x2c + 8000f1c: 2b02 cmp r3, #2 + 8000f1e: d02f beq.n 8000f80 + 8000f20: 687b ldr r3, [r7, #4] + 8000f22: 6adb ldr r3, [r3, #44] ; 0x2c + 8000f24: 2b03 cmp r3, #3 + 8000f26: d02b beq.n 8000f80 + 8000f28: 687b ldr r3, [r7, #4] + 8000f2a: 6adb ldr r3, [r3, #44] ; 0x2c + 8000f2c: 2b04 cmp r3, #4 + 8000f2e: d027 beq.n 8000f80 + 8000f30: 687b ldr r3, [r7, #4] + 8000f32: 6adb ldr r3, [r3, #44] ; 0x2c + 8000f34: 2b05 cmp r3, #5 + 8000f36: d023 beq.n 8000f80 + 8000f38: 687b ldr r3, [r7, #4] + 8000f3a: 6adb ldr r3, [r3, #44] ; 0x2c + 8000f3c: 2b06 cmp r3, #6 + 8000f3e: d01f beq.n 8000f80 + 8000f40: 687b ldr r3, [r7, #4] + 8000f42: 6adb ldr r3, [r3, #44] ; 0x2c + 8000f44: 2b07 cmp r3, #7 + 8000f46: d01b beq.n 8000f80 { /* Modify sampling time if needed (not needed in case of reoccurrence */ /* for several channels programmed consecutively into the sequencer) */ if (sConfig->SamplingTime != ADC_GET_SAMPLINGTIME(hadc)) - 8000e4c: 683b ldr r3, [r7, #0] - 8000e4e: 689a ldr r2, [r3, #8] - 8000e50: 687b ldr r3, [r7, #4] - 8000e52: 681b ldr r3, [r3, #0] - 8000e54: 695b ldr r3, [r3, #20] - 8000e56: 2107 movs r1, #7 - 8000e58: 400b ands r3, r1 - 8000e5a: 429a cmp r2, r3 - 8000e5c: d012 beq.n 8000e84 + 8000f48: 683b ldr r3, [r7, #0] + 8000f4a: 689a ldr r2, [r3, #8] + 8000f4c: 687b ldr r3, [r7, #4] + 8000f4e: 681b ldr r3, [r3, #0] + 8000f50: 695b ldr r3, [r3, #20] + 8000f52: 2107 movs r1, #7 + 8000f54: 400b ands r3, r1 + 8000f56: 429a cmp r2, r3 + 8000f58: d012 beq.n 8000f80 { /* Channel sampling time configuration */ /* Clear the old sample time */ hadc->Instance->SMPR &= ~(ADC_SMPR_SMP); - 8000e5e: 687b ldr r3, [r7, #4] - 8000e60: 681b ldr r3, [r3, #0] - 8000e62: 695a ldr r2, [r3, #20] - 8000e64: 687b ldr r3, [r7, #4] - 8000e66: 681b ldr r3, [r3, #0] - 8000e68: 2107 movs r1, #7 - 8000e6a: 438a bics r2, r1 - 8000e6c: 615a str r2, [r3, #20] + 8000f5a: 687b ldr r3, [r7, #4] + 8000f5c: 681b ldr r3, [r3, #0] + 8000f5e: 695a ldr r2, [r3, #20] + 8000f60: 687b ldr r3, [r7, #4] + 8000f62: 681b ldr r3, [r3, #0] + 8000f64: 2107 movs r1, #7 + 8000f66: 438a bics r2, r1 + 8000f68: 615a str r2, [r3, #20] /* Set the new sample time */ hadc->Instance->SMPR |= ADC_SMPR_SET(sConfig->SamplingTime); - 8000e6e: 687b ldr r3, [r7, #4] - 8000e70: 681b ldr r3, [r3, #0] - 8000e72: 6959 ldr r1, [r3, #20] - 8000e74: 683b ldr r3, [r7, #0] - 8000e76: 689b ldr r3, [r3, #8] - 8000e78: 2207 movs r2, #7 - 8000e7a: 401a ands r2, r3 - 8000e7c: 687b ldr r3, [r7, #4] - 8000e7e: 681b ldr r3, [r3, #0] - 8000e80: 430a orrs r2, r1 - 8000e82: 615a str r2, [r3, #20] + 8000f6a: 687b ldr r3, [r7, #4] + 8000f6c: 681b ldr r3, [r3, #0] + 8000f6e: 6959 ldr r1, [r3, #20] + 8000f70: 683b ldr r3, [r7, #0] + 8000f72: 689b ldr r3, [r3, #8] + 8000f74: 2207 movs r2, #7 + 8000f76: 401a ands r2, r3 + 8000f78: 687b ldr r3, [r7, #4] + 8000f7a: 681b ldr r3, [r3, #0] + 8000f7c: 430a orrs r2, r1 + 8000f7e: 615a str r2, [r3, #20] /* internal measurement paths enable: If internal channel selected, */ /* enable dedicated internal buffers and path. */ /* Note: these internal measurement paths can be disabled using */ /* HAL_ADC_DeInit() or removing the channel from sequencer with */ /* channel configuration parameter "Rank". */ if(ADC_IS_CHANNEL_INTERNAL(sConfig->Channel)) - 8000e84: 683b ldr r3, [r7, #0] - 8000e86: 681b ldr r3, [r3, #0] - 8000e88: 2b10 cmp r3, #16 - 8000e8a: d003 beq.n 8000e94 - 8000e8c: 683b ldr r3, [r7, #0] - 8000e8e: 681b ldr r3, [r3, #0] - 8000e90: 2b11 cmp r3, #17 - 8000e92: d152 bne.n 8000f3a + 8000f80: 683b ldr r3, [r7, #0] + 8000f82: 681b ldr r3, [r3, #0] + 8000f84: 2b10 cmp r3, #16 + 8000f86: d003 beq.n 8000f90 + 8000f88: 683b ldr r3, [r7, #0] + 8000f8a: 681b ldr r3, [r3, #0] + 8000f8c: 2b11 cmp r3, #17 + 8000f8e: d152 bne.n 8001036 { /* If Channel_16 is selected, enable Temp. sensor measurement path. */ /* If Channel_17 is selected, enable VREFINT measurement path. */ /* If Channel_18 is selected, enable VBAT measurement path. */ ADC->CCR |= ADC_CHANNEL_INTERNAL_PATH(sConfig->Channel); - 8000e94: 4b2f ldr r3, [pc, #188] ; (8000f54 ) - 8000e96: 6819 ldr r1, [r3, #0] - 8000e98: 683b ldr r3, [r7, #0] - 8000e9a: 681b ldr r3, [r3, #0] - 8000e9c: 2b10 cmp r3, #16 - 8000e9e: d102 bne.n 8000ea6 - 8000ea0: 2380 movs r3, #128 ; 0x80 - 8000ea2: 041b lsls r3, r3, #16 - 8000ea4: e001 b.n 8000eaa - 8000ea6: 2380 movs r3, #128 ; 0x80 - 8000ea8: 03db lsls r3, r3, #15 - 8000eaa: 4a2a ldr r2, [pc, #168] ; (8000f54 ) - 8000eac: 430b orrs r3, r1 - 8000eae: 6013 str r3, [r2, #0] + 8000f90: 4b2f ldr r3, [pc, #188] ; (8001050 ) + 8000f92: 6819 ldr r1, [r3, #0] + 8000f94: 683b ldr r3, [r7, #0] + 8000f96: 681b ldr r3, [r3, #0] + 8000f98: 2b10 cmp r3, #16 + 8000f9a: d102 bne.n 8000fa2 + 8000f9c: 2380 movs r3, #128 ; 0x80 + 8000f9e: 041b lsls r3, r3, #16 + 8000fa0: e001 b.n 8000fa6 + 8000fa2: 2380 movs r3, #128 ; 0x80 + 8000fa4: 03db lsls r3, r3, #15 + 8000fa6: 4a2a ldr r2, [pc, #168] ; (8001050 ) + 8000fa8: 430b orrs r3, r1 + 8000faa: 6013 str r3, [r2, #0] /* If Temp. sensor is selected, wait for stabilization delay */ if (sConfig->Channel == ADC_CHANNEL_TEMPSENSOR) - 8000eb0: 683b ldr r3, [r7, #0] - 8000eb2: 681b ldr r3, [r3, #0] - 8000eb4: 2b10 cmp r3, #16 - 8000eb6: d140 bne.n 8000f3a + 8000fac: 683b ldr r3, [r7, #0] + 8000fae: 681b ldr r3, [r3, #0] + 8000fb0: 2b10 cmp r3, #16 + 8000fb2: d140 bne.n 8001036 { /* Delay for temperature sensor stabilization time */ /* Compute number of CPU cycles to wait for */ wait_loop_index = (ADC_TEMPSENSOR_DELAY_US * (SystemCoreClock / 1000000U)); - 8000eb8: 4b27 ldr r3, [pc, #156] ; (8000f58 ) - 8000eba: 681b ldr r3, [r3, #0] - 8000ebc: 4927 ldr r1, [pc, #156] ; (8000f5c ) - 8000ebe: 0018 movs r0, r3 - 8000ec0: f7ff f922 bl 8000108 <__udivsi3> - 8000ec4: 0003 movs r3, r0 - 8000ec6: 001a movs r2, r3 - 8000ec8: 0013 movs r3, r2 - 8000eca: 009b lsls r3, r3, #2 - 8000ecc: 189b adds r3, r3, r2 - 8000ece: 005b lsls r3, r3, #1 - 8000ed0: 60bb str r3, [r7, #8] + 8000fb4: 4b27 ldr r3, [pc, #156] ; (8001054 ) + 8000fb6: 681b ldr r3, [r3, #0] + 8000fb8: 4927 ldr r1, [pc, #156] ; (8001058 ) + 8000fba: 0018 movs r0, r3 + 8000fbc: f7ff f8a4 bl 8000108 <__udivsi3> + 8000fc0: 0003 movs r3, r0 + 8000fc2: 001a movs r2, r3 + 8000fc4: 0013 movs r3, r2 + 8000fc6: 009b lsls r3, r3, #2 + 8000fc8: 189b adds r3, r3, r2 + 8000fca: 005b lsls r3, r3, #1 + 8000fcc: 60bb str r3, [r7, #8] while(wait_loop_index != 0U) - 8000ed2: e002 b.n 8000eda + 8000fce: e002 b.n 8000fd6 { wait_loop_index--; - 8000ed4: 68bb ldr r3, [r7, #8] - 8000ed6: 3b01 subs r3, #1 - 8000ed8: 60bb str r3, [r7, #8] + 8000fd0: 68bb ldr r3, [r7, #8] + 8000fd2: 3b01 subs r3, #1 + 8000fd4: 60bb str r3, [r7, #8] while(wait_loop_index != 0U) - 8000eda: 68bb ldr r3, [r7, #8] - 8000edc: 2b00 cmp r3, #0 - 8000ede: d1f9 bne.n 8000ed4 - 8000ee0: e02b b.n 8000f3a + 8000fd6: 68bb ldr r3, [r7, #8] + 8000fd8: 2b00 cmp r3, #0 + 8000fda: d1f9 bne.n 8000fd0 + 8000fdc: e02b b.n 8001036 } else { /* Regular sequence configuration */ /* Reset the channel selection register from the selected channel */ hadc->Instance->CHSELR &= ~ADC_CHSELR_CHANNEL(sConfig->Channel); - 8000ee2: 687b ldr r3, [r7, #4] - 8000ee4: 681b ldr r3, [r3, #0] - 8000ee6: 6a9a ldr r2, [r3, #40] ; 0x28 - 8000ee8: 683b ldr r3, [r7, #0] - 8000eea: 681b ldr r3, [r3, #0] - 8000eec: 2101 movs r1, #1 - 8000eee: 4099 lsls r1, r3 - 8000ef0: 000b movs r3, r1 - 8000ef2: 43d9 mvns r1, r3 - 8000ef4: 687b ldr r3, [r7, #4] - 8000ef6: 681b ldr r3, [r3, #0] - 8000ef8: 400a ands r2, r1 - 8000efa: 629a str r2, [r3, #40] ; 0x28 + 8000fde: 687b ldr r3, [r7, #4] + 8000fe0: 681b ldr r3, [r3, #0] + 8000fe2: 6a9a ldr r2, [r3, #40] ; 0x28 + 8000fe4: 683b ldr r3, [r7, #0] + 8000fe6: 681b ldr r3, [r3, #0] + 8000fe8: 2101 movs r1, #1 + 8000fea: 4099 lsls r1, r3 + 8000fec: 000b movs r3, r1 + 8000fee: 43d9 mvns r1, r3 + 8000ff0: 687b ldr r3, [r7, #4] + 8000ff2: 681b ldr r3, [r3, #0] + 8000ff4: 400a ands r2, r1 + 8000ff6: 629a str r2, [r3, #40] ; 0x28 /* Management of internal measurement channels: VrefInt/TempSensor/Vbat */ /* internal measurement paths disable: If internal channel selected, */ /* disable dedicated internal buffers and path. */ if(ADC_IS_CHANNEL_INTERNAL(sConfig->Channel)) - 8000efc: 683b ldr r3, [r7, #0] - 8000efe: 681b ldr r3, [r3, #0] - 8000f00: 2b10 cmp r3, #16 - 8000f02: d003 beq.n 8000f0c - 8000f04: 683b ldr r3, [r7, #0] - 8000f06: 681b ldr r3, [r3, #0] - 8000f08: 2b11 cmp r3, #17 - 8000f0a: d116 bne.n 8000f3a + 8000ff8: 683b ldr r3, [r7, #0] + 8000ffa: 681b ldr r3, [r3, #0] + 8000ffc: 2b10 cmp r3, #16 + 8000ffe: d003 beq.n 8001008 + 8001000: 683b ldr r3, [r7, #0] + 8001002: 681b ldr r3, [r3, #0] + 8001004: 2b11 cmp r3, #17 + 8001006: d116 bne.n 8001036 { /* If Channel_16 is selected, disable Temp. sensor measurement path. */ /* If Channel_17 is selected, disable VREFINT measurement path. */ /* If Channel_18 is selected, disable VBAT measurement path. */ ADC->CCR &= ~ADC_CHANNEL_INTERNAL_PATH(sConfig->Channel); - 8000f0c: 4b11 ldr r3, [pc, #68] ; (8000f54 ) - 8000f0e: 6819 ldr r1, [r3, #0] - 8000f10: 683b ldr r3, [r7, #0] - 8000f12: 681b ldr r3, [r3, #0] - 8000f14: 2b10 cmp r3, #16 - 8000f16: d101 bne.n 8000f1c - 8000f18: 4a11 ldr r2, [pc, #68] ; (8000f60 ) - 8000f1a: e000 b.n 8000f1e - 8000f1c: 4a11 ldr r2, [pc, #68] ; (8000f64 ) - 8000f1e: 4b0d ldr r3, [pc, #52] ; (8000f54 ) - 8000f20: 400a ands r2, r1 - 8000f22: 601a str r2, [r3, #0] - 8000f24: e009 b.n 8000f3a + 8001008: 4b11 ldr r3, [pc, #68] ; (8001050 ) + 800100a: 6819 ldr r1, [r3, #0] + 800100c: 683b ldr r3, [r7, #0] + 800100e: 681b ldr r3, [r3, #0] + 8001010: 2b10 cmp r3, #16 + 8001012: d101 bne.n 8001018 + 8001014: 4a11 ldr r2, [pc, #68] ; (800105c ) + 8001016: e000 b.n 800101a + 8001018: 4a11 ldr r2, [pc, #68] ; (8001060 ) + 800101a: 4b0d ldr r3, [pc, #52] ; (8001050 ) + 800101c: 400a ands r2, r1 + 800101e: 601a str r2, [r3, #0] + 8001020: e009 b.n 8001036 /* channel could be done on neither of the channel configuration structure */ /* parameters. */ else { /* Update ADC state machine to error */ SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG); - 8000f26: 687b ldr r3, [r7, #4] - 8000f28: 6b9b ldr r3, [r3, #56] ; 0x38 - 8000f2a: 2220 movs r2, #32 - 8000f2c: 431a orrs r2, r3 - 8000f2e: 687b ldr r3, [r7, #4] - 8000f30: 639a str r2, [r3, #56] ; 0x38 + 8001022: 687b ldr r3, [r7, #4] + 8001024: 6b9b ldr r3, [r3, #56] ; 0x38 + 8001026: 2220 movs r2, #32 + 8001028: 431a orrs r2, r3 + 800102a: 687b ldr r3, [r7, #4] + 800102c: 639a str r2, [r3, #56] ; 0x38 tmp_hal_status = HAL_ERROR; - 8000f32: 230f movs r3, #15 - 8000f34: 18fb adds r3, r7, r3 - 8000f36: 2201 movs r2, #1 - 8000f38: 701a strb r2, [r3, #0] + 800102e: 230f movs r3, #15 + 8001030: 18fb adds r3, r7, r3 + 8001032: 2201 movs r2, #1 + 8001034: 701a strb r2, [r3, #0] } /* Process unlocked */ __HAL_UNLOCK(hadc); - 8000f3a: 687b ldr r3, [r7, #4] - 8000f3c: 2234 movs r2, #52 ; 0x34 - 8000f3e: 2100 movs r1, #0 - 8000f40: 5499 strb r1, [r3, r2] + 8001036: 687b ldr r3, [r7, #4] + 8001038: 2234 movs r2, #52 ; 0x34 + 800103a: 2100 movs r1, #0 + 800103c: 5499 strb r1, [r3, r2] /* Return function status */ return tmp_hal_status; - 8000f42: 230f movs r3, #15 - 8000f44: 18fb adds r3, r7, r3 - 8000f46: 781b ldrb r3, [r3, #0] + 800103e: 230f movs r3, #15 + 8001040: 18fb adds r3, r7, r3 + 8001042: 781b ldrb r3, [r3, #0] } - 8000f48: 0018 movs r0, r3 - 8000f4a: 46bd mov sp, r7 - 8000f4c: b004 add sp, #16 - 8000f4e: bd80 pop {r7, pc} - 8000f50: 00001001 .word 0x00001001 - 8000f54: 40012708 .word 0x40012708 - 8000f58: 20000000 .word 0x20000000 - 8000f5c: 000f4240 .word 0x000f4240 - 8000f60: ff7fffff .word 0xff7fffff - 8000f64: ffbfffff .word 0xffbfffff + 8001044: 0018 movs r0, r3 + 8001046: 46bd mov sp, r7 + 8001048: b004 add sp, #16 + 800104a: bd80 pop {r7, pc} + 800104c: 00001001 .word 0x00001001 + 8001050: 40012708 .word 0x40012708 + 8001054: 20000000 .word 0x20000000 + 8001058: 000f4240 .word 0x000f4240 + 800105c: ff7fffff .word 0xff7fffff + 8001060: ffbfffff .word 0xffbfffff -08000f68 : +08001064 : * "if (hadc->Init.LowPowerAutoPowerOff != ENABLE)". * @param hadc ADC handle * @retval HAL status. */ static HAL_StatusTypeDef ADC_Enable(ADC_HandleTypeDef* hadc) { - 8000f68: b580 push {r7, lr} - 8000f6a: b084 sub sp, #16 - 8000f6c: af00 add r7, sp, #0 - 8000f6e: 6078 str r0, [r7, #4] + 8001064: b580 push {r7, lr} + 8001066: b084 sub sp, #16 + 8001068: af00 add r7, sp, #0 + 800106a: 6078 str r0, [r7, #4] uint32_t tickstart = 0U; - 8000f70: 2300 movs r3, #0 - 8000f72: 60fb str r3, [r7, #12] + 800106c: 2300 movs r3, #0 + 800106e: 60fb str r3, [r7, #12] __IO uint32_t wait_loop_index = 0U; - 8000f74: 2300 movs r3, #0 - 8000f76: 60bb str r3, [r7, #8] + 8001070: 2300 movs r3, #0 + 8001072: 60bb str r3, [r7, #8] /* ADC enable and wait for ADC ready (in case of ADC is disabled or */ /* enabling phase not yet completed: flag ADC ready not yet set). */ /* Timeout implemented to not be stuck if ADC cannot be enabled (possible */ /* causes: ADC clock not running, ...). */ if (ADC_IS_ENABLE(hadc) == RESET) - 8000f78: 687b ldr r3, [r7, #4] - 8000f7a: 681b ldr r3, [r3, #0] - 8000f7c: 689b ldr r3, [r3, #8] - 8000f7e: 2203 movs r2, #3 - 8000f80: 4013 ands r3, r2 - 8000f82: 2b01 cmp r3, #1 - 8000f84: d112 bne.n 8000fac - 8000f86: 687b ldr r3, [r7, #4] - 8000f88: 681b ldr r3, [r3, #0] - 8000f8a: 681b ldr r3, [r3, #0] - 8000f8c: 2201 movs r2, #1 - 8000f8e: 4013 ands r3, r2 - 8000f90: 2b01 cmp r3, #1 - 8000f92: d009 beq.n 8000fa8 - 8000f94: 687b ldr r3, [r7, #4] - 8000f96: 681b ldr r3, [r3, #0] - 8000f98: 68da ldr r2, [r3, #12] - 8000f9a: 2380 movs r3, #128 ; 0x80 - 8000f9c: 021b lsls r3, r3, #8 - 8000f9e: 401a ands r2, r3 - 8000fa0: 2380 movs r3, #128 ; 0x80 - 8000fa2: 021b lsls r3, r3, #8 - 8000fa4: 429a cmp r2, r3 - 8000fa6: d101 bne.n 8000fac - 8000fa8: 2301 movs r3, #1 - 8000faa: e000 b.n 8000fae - 8000fac: 2300 movs r3, #0 - 8000fae: 2b00 cmp r3, #0 - 8000fb0: d152 bne.n 8001058 + 8001074: 687b ldr r3, [r7, #4] + 8001076: 681b ldr r3, [r3, #0] + 8001078: 689b ldr r3, [r3, #8] + 800107a: 2203 movs r2, #3 + 800107c: 4013 ands r3, r2 + 800107e: 2b01 cmp r3, #1 + 8001080: d112 bne.n 80010a8 + 8001082: 687b ldr r3, [r7, #4] + 8001084: 681b ldr r3, [r3, #0] + 8001086: 681b ldr r3, [r3, #0] + 8001088: 2201 movs r2, #1 + 800108a: 4013 ands r3, r2 + 800108c: 2b01 cmp r3, #1 + 800108e: d009 beq.n 80010a4 + 8001090: 687b ldr r3, [r7, #4] + 8001092: 681b ldr r3, [r3, #0] + 8001094: 68da ldr r2, [r3, #12] + 8001096: 2380 movs r3, #128 ; 0x80 + 8001098: 021b lsls r3, r3, #8 + 800109a: 401a ands r2, r3 + 800109c: 2380 movs r3, #128 ; 0x80 + 800109e: 021b lsls r3, r3, #8 + 80010a0: 429a cmp r2, r3 + 80010a2: d101 bne.n 80010a8 + 80010a4: 2301 movs r3, #1 + 80010a6: e000 b.n 80010aa + 80010a8: 2300 movs r3, #0 + 80010aa: 2b00 cmp r3, #0 + 80010ac: d152 bne.n 8001154 { /* Check if conditions to enable the ADC are fulfilled */ if (ADC_ENABLING_CONDITIONS(hadc) == RESET) - 8000fb2: 687b ldr r3, [r7, #4] - 8000fb4: 681b ldr r3, [r3, #0] - 8000fb6: 689b ldr r3, [r3, #8] - 8000fb8: 4a2a ldr r2, [pc, #168] ; (8001064 ) - 8000fba: 4013 ands r3, r2 - 8000fbc: d00d beq.n 8000fda + 80010ae: 687b ldr r3, [r7, #4] + 80010b0: 681b ldr r3, [r3, #0] + 80010b2: 689b ldr r3, [r3, #8] + 80010b4: 4a2a ldr r2, [pc, #168] ; (8001160 ) + 80010b6: 4013 ands r3, r2 + 80010b8: d00d beq.n 80010d6 { /* Update ADC state machine to error */ SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL); - 8000fbe: 687b ldr r3, [r7, #4] - 8000fc0: 6b9b ldr r3, [r3, #56] ; 0x38 - 8000fc2: 2210 movs r2, #16 - 8000fc4: 431a orrs r2, r3 - 8000fc6: 687b ldr r3, [r7, #4] - 8000fc8: 639a str r2, [r3, #56] ; 0x38 + 80010ba: 687b ldr r3, [r7, #4] + 80010bc: 6b9b ldr r3, [r3, #56] ; 0x38 + 80010be: 2210 movs r2, #16 + 80010c0: 431a orrs r2, r3 + 80010c2: 687b ldr r3, [r7, #4] + 80010c4: 639a str r2, [r3, #56] ; 0x38 /* Set ADC error code to ADC IP internal error */ SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_INTERNAL); - 8000fca: 687b ldr r3, [r7, #4] - 8000fcc: 6bdb ldr r3, [r3, #60] ; 0x3c - 8000fce: 2201 movs r2, #1 - 8000fd0: 431a orrs r2, r3 - 8000fd2: 687b ldr r3, [r7, #4] - 8000fd4: 63da str r2, [r3, #60] ; 0x3c + 80010c6: 687b ldr r3, [r7, #4] + 80010c8: 6bdb ldr r3, [r3, #60] ; 0x3c + 80010ca: 2201 movs r2, #1 + 80010cc: 431a orrs r2, r3 + 80010ce: 687b ldr r3, [r7, #4] + 80010d0: 63da str r2, [r3, #60] ; 0x3c return HAL_ERROR; - 8000fd6: 2301 movs r3, #1 - 8000fd8: e03f b.n 800105a + 80010d2: 2301 movs r3, #1 + 80010d4: e03f b.n 8001156 } /* Enable the ADC peripheral */ __HAL_ADC_ENABLE(hadc); - 8000fda: 687b ldr r3, [r7, #4] - 8000fdc: 681b ldr r3, [r3, #0] - 8000fde: 689a ldr r2, [r3, #8] - 8000fe0: 687b ldr r3, [r7, #4] - 8000fe2: 681b ldr r3, [r3, #0] - 8000fe4: 2101 movs r1, #1 - 8000fe6: 430a orrs r2, r1 - 8000fe8: 609a str r2, [r3, #8] + 80010d6: 687b ldr r3, [r7, #4] + 80010d8: 681b ldr r3, [r3, #0] + 80010da: 689a ldr r2, [r3, #8] + 80010dc: 687b ldr r3, [r7, #4] + 80010de: 681b ldr r3, [r3, #0] + 80010e0: 2101 movs r1, #1 + 80010e2: 430a orrs r2, r1 + 80010e4: 609a str r2, [r3, #8] /* Delay for ADC stabilization time */ /* Compute number of CPU cycles to wait for */ wait_loop_index = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U)); - 8000fea: 4b1f ldr r3, [pc, #124] ; (8001068 ) - 8000fec: 681b ldr r3, [r3, #0] - 8000fee: 491f ldr r1, [pc, #124] ; (800106c ) - 8000ff0: 0018 movs r0, r3 - 8000ff2: f7ff f889 bl 8000108 <__udivsi3> - 8000ff6: 0003 movs r3, r0 - 8000ff8: 60bb str r3, [r7, #8] + 80010e6: 4b1f ldr r3, [pc, #124] ; (8001164 ) + 80010e8: 681b ldr r3, [r3, #0] + 80010ea: 491f ldr r1, [pc, #124] ; (8001168 ) + 80010ec: 0018 movs r0, r3 + 80010ee: f7ff f80b bl 8000108 <__udivsi3> + 80010f2: 0003 movs r3, r0 + 80010f4: 60bb str r3, [r7, #8] while(wait_loop_index != 0U) - 8000ffa: e002 b.n 8001002 + 80010f6: e002 b.n 80010fe { wait_loop_index--; - 8000ffc: 68bb ldr r3, [r7, #8] - 8000ffe: 3b01 subs r3, #1 - 8001000: 60bb str r3, [r7, #8] + 80010f8: 68bb ldr r3, [r7, #8] + 80010fa: 3b01 subs r3, #1 + 80010fc: 60bb str r3, [r7, #8] while(wait_loop_index != 0U) - 8001002: 68bb ldr r3, [r7, #8] - 8001004: 2b00 cmp r3, #0 - 8001006: d1f9 bne.n 8000ffc + 80010fe: 68bb ldr r3, [r7, #8] + 8001100: 2b00 cmp r3, #0 + 8001102: d1f9 bne.n 80010f8 } /* Get tick count */ tickstart = HAL_GetTick(); - 8001008: f7ff fc36 bl 8000878 - 800100c: 0003 movs r3, r0 - 800100e: 60fb str r3, [r7, #12] + 8001104: f7ff fc36 bl 8000974 + 8001108: 0003 movs r3, r0 + 800110a: 60fb str r3, [r7, #12] /* Wait for ADC effectively enabled */ while(__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_RDY) == RESET) - 8001010: e01b b.n 800104a + 800110c: e01b b.n 8001146 { if((HAL_GetTick() - tickstart) > ADC_ENABLE_TIMEOUT) - 8001012: f7ff fc31 bl 8000878 - 8001016: 0002 movs r2, r0 - 8001018: 68fb ldr r3, [r7, #12] - 800101a: 1ad3 subs r3, r2, r3 - 800101c: 2b02 cmp r3, #2 - 800101e: d914 bls.n 800104a + 800110e: f7ff fc31 bl 8000974 + 8001112: 0002 movs r2, r0 + 8001114: 68fb ldr r3, [r7, #12] + 8001116: 1ad3 subs r3, r2, r3 + 8001118: 2b02 cmp r3, #2 + 800111a: d914 bls.n 8001146 { /* New check to avoid false timeout detection in case of preemption */ if(__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_RDY) == RESET) - 8001020: 687b ldr r3, [r7, #4] - 8001022: 681b ldr r3, [r3, #0] - 8001024: 681b ldr r3, [r3, #0] - 8001026: 2201 movs r2, #1 - 8001028: 4013 ands r3, r2 - 800102a: 2b01 cmp r3, #1 - 800102c: d00d beq.n 800104a + 800111c: 687b ldr r3, [r7, #4] + 800111e: 681b ldr r3, [r3, #0] + 8001120: 681b ldr r3, [r3, #0] + 8001122: 2201 movs r2, #1 + 8001124: 4013 ands r3, r2 + 8001126: 2b01 cmp r3, #1 + 8001128: d00d beq.n 8001146 { /* Update ADC state machine to error */ SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL); - 800102e: 687b ldr r3, [r7, #4] - 8001030: 6b9b ldr r3, [r3, #56] ; 0x38 - 8001032: 2210 movs r2, #16 - 8001034: 431a orrs r2, r3 - 8001036: 687b ldr r3, [r7, #4] - 8001038: 639a str r2, [r3, #56] ; 0x38 + 800112a: 687b ldr r3, [r7, #4] + 800112c: 6b9b ldr r3, [r3, #56] ; 0x38 + 800112e: 2210 movs r2, #16 + 8001130: 431a orrs r2, r3 + 8001132: 687b ldr r3, [r7, #4] + 8001134: 639a str r2, [r3, #56] ; 0x38 /* Set ADC error code to ADC IP internal error */ SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_INTERNAL); - 800103a: 687b ldr r3, [r7, #4] - 800103c: 6bdb ldr r3, [r3, #60] ; 0x3c - 800103e: 2201 movs r2, #1 - 8001040: 431a orrs r2, r3 - 8001042: 687b ldr r3, [r7, #4] - 8001044: 63da str r2, [r3, #60] ; 0x3c + 8001136: 687b ldr r3, [r7, #4] + 8001138: 6bdb ldr r3, [r3, #60] ; 0x3c + 800113a: 2201 movs r2, #1 + 800113c: 431a orrs r2, r3 + 800113e: 687b ldr r3, [r7, #4] + 8001140: 63da str r2, [r3, #60] ; 0x3c return HAL_ERROR; - 8001046: 2301 movs r3, #1 - 8001048: e007 b.n 800105a + 8001142: 2301 movs r3, #1 + 8001144: e007 b.n 8001156 while(__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_RDY) == RESET) - 800104a: 687b ldr r3, [r7, #4] - 800104c: 681b ldr r3, [r3, #0] - 800104e: 681b ldr r3, [r3, #0] - 8001050: 2201 movs r2, #1 - 8001052: 4013 ands r3, r2 - 8001054: 2b01 cmp r3, #1 - 8001056: d1dc bne.n 8001012 + 8001146: 687b ldr r3, [r7, #4] + 8001148: 681b ldr r3, [r3, #0] + 800114a: 681b ldr r3, [r3, #0] + 800114c: 2201 movs r2, #1 + 800114e: 4013 ands r3, r2 + 8001150: 2b01 cmp r3, #1 + 8001152: d1dc bne.n 800110e } } } /* Return HAL status */ return HAL_OK; - 8001058: 2300 movs r3, #0 + 8001154: 2300 movs r3, #0 } - 800105a: 0018 movs r0, r3 - 800105c: 46bd mov sp, r7 - 800105e: b004 add sp, #16 - 8001060: bd80 pop {r7, pc} - 8001062: 46c0 nop ; (mov r8, r8) - 8001064: 80000017 .word 0x80000017 - 8001068: 20000000 .word 0x20000000 - 800106c: 000f4240 .word 0x000f4240 + 8001156: 0018 movs r0, r3 + 8001158: 46bd mov sp, r7 + 800115a: b004 add sp, #16 + 800115c: bd80 pop {r7, pc} + 800115e: 46c0 nop ; (mov r8, r8) + 8001160: 80000017 .word 0x80000017 + 8001164: 20000000 .word 0x20000000 + 8001168: 000f4240 .word 0x000f4240 -08001070 : +0800116c : * stopped. * @param hadc ADC handle * @retval HAL status. */ static HAL_StatusTypeDef ADC_Disable(ADC_HandleTypeDef* hadc) { - 8001070: b580 push {r7, lr} - 8001072: b084 sub sp, #16 - 8001074: af00 add r7, sp, #0 - 8001076: 6078 str r0, [r7, #4] + 800116c: b580 push {r7, lr} + 800116e: b084 sub sp, #16 + 8001170: af00 add r7, sp, #0 + 8001172: 6078 str r0, [r7, #4] uint32_t tickstart = 0U; - 8001078: 2300 movs r3, #0 - 800107a: 60fb str r3, [r7, #12] + 8001174: 2300 movs r3, #0 + 8001176: 60fb str r3, [r7, #12] /* Verification if ADC is not already disabled: */ /* Note: forbidden to disable ADC (set bit ADC_CR_ADDIS) if ADC is already */ /* disabled. */ if (ADC_IS_ENABLE(hadc) != RESET) - 800107c: 687b ldr r3, [r7, #4] - 800107e: 681b ldr r3, [r3, #0] - 8001080: 689b ldr r3, [r3, #8] - 8001082: 2203 movs r2, #3 - 8001084: 4013 ands r3, r2 - 8001086: 2b01 cmp r3, #1 - 8001088: d112 bne.n 80010b0 - 800108a: 687b ldr r3, [r7, #4] - 800108c: 681b ldr r3, [r3, #0] - 800108e: 681b ldr r3, [r3, #0] - 8001090: 2201 movs r2, #1 - 8001092: 4013 ands r3, r2 - 8001094: 2b01 cmp r3, #1 - 8001096: d009 beq.n 80010ac - 8001098: 687b ldr r3, [r7, #4] - 800109a: 681b ldr r3, [r3, #0] - 800109c: 68da ldr r2, [r3, #12] - 800109e: 2380 movs r3, #128 ; 0x80 - 80010a0: 021b lsls r3, r3, #8 - 80010a2: 401a ands r2, r3 - 80010a4: 2380 movs r3, #128 ; 0x80 - 80010a6: 021b lsls r3, r3, #8 - 80010a8: 429a cmp r2, r3 - 80010aa: d101 bne.n 80010b0 - 80010ac: 2301 movs r3, #1 - 80010ae: e000 b.n 80010b2 - 80010b0: 2300 movs r3, #0 - 80010b2: 2b00 cmp r3, #0 - 80010b4: d048 beq.n 8001148 + 8001178: 687b ldr r3, [r7, #4] + 800117a: 681b ldr r3, [r3, #0] + 800117c: 689b ldr r3, [r3, #8] + 800117e: 2203 movs r2, #3 + 8001180: 4013 ands r3, r2 + 8001182: 2b01 cmp r3, #1 + 8001184: d112 bne.n 80011ac + 8001186: 687b ldr r3, [r7, #4] + 8001188: 681b ldr r3, [r3, #0] + 800118a: 681b ldr r3, [r3, #0] + 800118c: 2201 movs r2, #1 + 800118e: 4013 ands r3, r2 + 8001190: 2b01 cmp r3, #1 + 8001192: d009 beq.n 80011a8 + 8001194: 687b ldr r3, [r7, #4] + 8001196: 681b ldr r3, [r3, #0] + 8001198: 68da ldr r2, [r3, #12] + 800119a: 2380 movs r3, #128 ; 0x80 + 800119c: 021b lsls r3, r3, #8 + 800119e: 401a ands r2, r3 + 80011a0: 2380 movs r3, #128 ; 0x80 + 80011a2: 021b lsls r3, r3, #8 + 80011a4: 429a cmp r2, r3 + 80011a6: d101 bne.n 80011ac + 80011a8: 2301 movs r3, #1 + 80011aa: e000 b.n 80011ae + 80011ac: 2300 movs r3, #0 + 80011ae: 2b00 cmp r3, #0 + 80011b0: d048 beq.n 8001244 { /* Check if conditions to disable the ADC are fulfilled */ if (ADC_DISABLING_CONDITIONS(hadc) != RESET) - 80010b6: 687b ldr r3, [r7, #4] - 80010b8: 681b ldr r3, [r3, #0] - 80010ba: 689b ldr r3, [r3, #8] - 80010bc: 2205 movs r2, #5 - 80010be: 4013 ands r3, r2 - 80010c0: 2b01 cmp r3, #1 - 80010c2: d110 bne.n 80010e6 + 80011b2: 687b ldr r3, [r7, #4] + 80011b4: 681b ldr r3, [r3, #0] + 80011b6: 689b ldr r3, [r3, #8] + 80011b8: 2205 movs r2, #5 + 80011ba: 4013 ands r3, r2 + 80011bc: 2b01 cmp r3, #1 + 80011be: d110 bne.n 80011e2 { /* Disable the ADC peripheral */ __HAL_ADC_DISABLE(hadc); - 80010c4: 687b ldr r3, [r7, #4] - 80010c6: 681b ldr r3, [r3, #0] - 80010c8: 689a ldr r2, [r3, #8] - 80010ca: 687b ldr r3, [r7, #4] - 80010cc: 681b ldr r3, [r3, #0] - 80010ce: 2102 movs r1, #2 - 80010d0: 430a orrs r2, r1 - 80010d2: 609a str r2, [r3, #8] - 80010d4: 687b ldr r3, [r7, #4] - 80010d6: 681b ldr r3, [r3, #0] - 80010d8: 2203 movs r2, #3 - 80010da: 601a str r2, [r3, #0] + 80011c0: 687b ldr r3, [r7, #4] + 80011c2: 681b ldr r3, [r3, #0] + 80011c4: 689a ldr r2, [r3, #8] + 80011c6: 687b ldr r3, [r7, #4] + 80011c8: 681b ldr r3, [r3, #0] + 80011ca: 2102 movs r1, #2 + 80011cc: 430a orrs r2, r1 + 80011ce: 609a str r2, [r3, #8] + 80011d0: 687b ldr r3, [r7, #4] + 80011d2: 681b ldr r3, [r3, #0] + 80011d4: 2203 movs r2, #3 + 80011d6: 601a str r2, [r3, #0] return HAL_ERROR; } /* Wait for ADC effectively disabled */ /* Get tick count */ tickstart = HAL_GetTick(); - 80010dc: f7ff fbcc bl 8000878 - 80010e0: 0003 movs r3, r0 - 80010e2: 60fb str r3, [r7, #12] + 80011d8: f7ff fbcc bl 8000974 + 80011dc: 0003 movs r3, r0 + 80011de: 60fb str r3, [r7, #12] while(HAL_IS_BIT_SET(hadc->Instance->CR, ADC_CR_ADEN)) - 80010e4: e029 b.n 800113a + 80011e0: e029 b.n 8001236 SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL); - 80010e6: 687b ldr r3, [r7, #4] - 80010e8: 6b9b ldr r3, [r3, #56] ; 0x38 - 80010ea: 2210 movs r2, #16 - 80010ec: 431a orrs r2, r3 - 80010ee: 687b ldr r3, [r7, #4] - 80010f0: 639a str r2, [r3, #56] ; 0x38 + 80011e2: 687b ldr r3, [r7, #4] + 80011e4: 6b9b ldr r3, [r3, #56] ; 0x38 + 80011e6: 2210 movs r2, #16 + 80011e8: 431a orrs r2, r3 + 80011ea: 687b ldr r3, [r7, #4] + 80011ec: 639a str r2, [r3, #56] ; 0x38 SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_INTERNAL); - 80010f2: 687b ldr r3, [r7, #4] - 80010f4: 6bdb ldr r3, [r3, #60] ; 0x3c - 80010f6: 2201 movs r2, #1 - 80010f8: 431a orrs r2, r3 - 80010fa: 687b ldr r3, [r7, #4] - 80010fc: 63da str r2, [r3, #60] ; 0x3c + 80011ee: 687b ldr r3, [r7, #4] + 80011f0: 6bdb ldr r3, [r3, #60] ; 0x3c + 80011f2: 2201 movs r2, #1 + 80011f4: 431a orrs r2, r3 + 80011f6: 687b ldr r3, [r7, #4] + 80011f8: 63da str r2, [r3, #60] ; 0x3c return HAL_ERROR; - 80010fe: 2301 movs r3, #1 - 8001100: e023 b.n 800114a + 80011fa: 2301 movs r3, #1 + 80011fc: e023 b.n 8001246 { if((HAL_GetTick() - tickstart) > ADC_DISABLE_TIMEOUT) - 8001102: f7ff fbb9 bl 8000878 - 8001106: 0002 movs r2, r0 - 8001108: 68fb ldr r3, [r7, #12] - 800110a: 1ad3 subs r3, r2, r3 - 800110c: 2b02 cmp r3, #2 - 800110e: d914 bls.n 800113a + 80011fe: f7ff fbb9 bl 8000974 + 8001202: 0002 movs r2, r0 + 8001204: 68fb ldr r3, [r7, #12] + 8001206: 1ad3 subs r3, r2, r3 + 8001208: 2b02 cmp r3, #2 + 800120a: d914 bls.n 8001236 { /* New check to avoid false timeout detection in case of preemption */ if(HAL_IS_BIT_SET(hadc->Instance->CR, ADC_CR_ADEN)) - 8001110: 687b ldr r3, [r7, #4] - 8001112: 681b ldr r3, [r3, #0] - 8001114: 689b ldr r3, [r3, #8] - 8001116: 2201 movs r2, #1 - 8001118: 4013 ands r3, r2 - 800111a: 2b01 cmp r3, #1 - 800111c: d10d bne.n 800113a + 800120c: 687b ldr r3, [r7, #4] + 800120e: 681b ldr r3, [r3, #0] + 8001210: 689b ldr r3, [r3, #8] + 8001212: 2201 movs r2, #1 + 8001214: 4013 ands r3, r2 + 8001216: 2b01 cmp r3, #1 + 8001218: d10d bne.n 8001236 { /* Update ADC state machine to error */ SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL); - 800111e: 687b ldr r3, [r7, #4] - 8001120: 6b9b ldr r3, [r3, #56] ; 0x38 - 8001122: 2210 movs r2, #16 - 8001124: 431a orrs r2, r3 - 8001126: 687b ldr r3, [r7, #4] - 8001128: 639a str r2, [r3, #56] ; 0x38 + 800121a: 687b ldr r3, [r7, #4] + 800121c: 6b9b ldr r3, [r3, #56] ; 0x38 + 800121e: 2210 movs r2, #16 + 8001220: 431a orrs r2, r3 + 8001222: 687b ldr r3, [r7, #4] + 8001224: 639a str r2, [r3, #56] ; 0x38 /* Set ADC error code to ADC IP internal error */ SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_INTERNAL); - 800112a: 687b ldr r3, [r7, #4] - 800112c: 6bdb ldr r3, [r3, #60] ; 0x3c - 800112e: 2201 movs r2, #1 - 8001130: 431a orrs r2, r3 - 8001132: 687b ldr r3, [r7, #4] - 8001134: 63da str r2, [r3, #60] ; 0x3c + 8001226: 687b ldr r3, [r7, #4] + 8001228: 6bdb ldr r3, [r3, #60] ; 0x3c + 800122a: 2201 movs r2, #1 + 800122c: 431a orrs r2, r3 + 800122e: 687b ldr r3, [r7, #4] + 8001230: 63da str r2, [r3, #60] ; 0x3c return HAL_ERROR; - 8001136: 2301 movs r3, #1 - 8001138: e007 b.n 800114a + 8001232: 2301 movs r3, #1 + 8001234: e007 b.n 8001246 while(HAL_IS_BIT_SET(hadc->Instance->CR, ADC_CR_ADEN)) - 800113a: 687b ldr r3, [r7, #4] - 800113c: 681b ldr r3, [r3, #0] - 800113e: 689b ldr r3, [r3, #8] - 8001140: 2201 movs r2, #1 - 8001142: 4013 ands r3, r2 - 8001144: 2b01 cmp r3, #1 - 8001146: d0dc beq.n 8001102 + 8001236: 687b ldr r3, [r7, #4] + 8001238: 681b ldr r3, [r3, #0] + 800123a: 689b ldr r3, [r3, #8] + 800123c: 2201 movs r2, #1 + 800123e: 4013 ands r3, r2 + 8001240: 2b01 cmp r3, #1 + 8001242: d0dc beq.n 80011fe } } } /* Return HAL status */ return HAL_OK; - 8001148: 2300 movs r3, #0 + 8001244: 2300 movs r3, #0 } - 800114a: 0018 movs r0, r3 - 800114c: 46bd mov sp, r7 - 800114e: b004 add sp, #16 - 8001150: bd80 pop {r7, pc} + 8001246: 0018 movs r0, r3 + 8001248: 46bd mov sp, r7 + 800124a: b004 add sp, #16 + 800124c: bd80 pop {r7, pc} -08001152 : +0800124e : * stopped to disable the ADC. * @param hadc ADC handle * @retval HAL status. */ static HAL_StatusTypeDef ADC_ConversionStop(ADC_HandleTypeDef* hadc) { - 8001152: b580 push {r7, lr} - 8001154: b084 sub sp, #16 - 8001156: af00 add r7, sp, #0 - 8001158: 6078 str r0, [r7, #4] + 800124e: b580 push {r7, lr} + 8001250: b084 sub sp, #16 + 8001252: af00 add r7, sp, #0 + 8001254: 6078 str r0, [r7, #4] uint32_t tickstart = 0U; - 800115a: 2300 movs r3, #0 - 800115c: 60fb str r3, [r7, #12] + 8001256: 2300 movs r3, #0 + 8001258: 60fb str r3, [r7, #12] /* Check the parameters */ assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance)); /* Verification if ADC is not already stopped on regular group to bypass */ /* this function if not needed. */ if (ADC_IS_CONVERSION_ONGOING_REGULAR(hadc)) - 800115e: 687b ldr r3, [r7, #4] - 8001160: 681b ldr r3, [r3, #0] - 8001162: 689b ldr r3, [r3, #8] - 8001164: 2204 movs r2, #4 - 8001166: 4013 ands r3, r2 - 8001168: d03a beq.n 80011e0 + 800125a: 687b ldr r3, [r7, #4] + 800125c: 681b ldr r3, [r3, #0] + 800125e: 689b ldr r3, [r3, #8] + 8001260: 2204 movs r2, #4 + 8001262: 4013 ands r3, r2 + 8001264: d03a beq.n 80012dc { /* Stop potential conversion on going on regular group */ /* Software is allowed to set ADSTP only when ADSTART=1 and ADDIS=0 */ if (HAL_IS_BIT_SET(hadc->Instance->CR, ADC_CR_ADSTART) && - 800116a: 687b ldr r3, [r7, #4] - 800116c: 681b ldr r3, [r3, #0] - 800116e: 689b ldr r3, [r3, #8] - 8001170: 2204 movs r2, #4 - 8001172: 4013 ands r3, r2 - 8001174: 2b04 cmp r3, #4 - 8001176: d10d bne.n 8001194 + 8001266: 687b ldr r3, [r7, #4] + 8001268: 681b ldr r3, [r3, #0] + 800126a: 689b ldr r3, [r3, #8] + 800126c: 2204 movs r2, #4 + 800126e: 4013 ands r3, r2 + 8001270: 2b04 cmp r3, #4 + 8001272: d10d bne.n 8001290 HAL_IS_BIT_CLR(hadc->Instance->CR, ADC_CR_ADDIS) ) - 8001178: 687b ldr r3, [r7, #4] - 800117a: 681b ldr r3, [r3, #0] - 800117c: 689b ldr r3, [r3, #8] - 800117e: 2202 movs r2, #2 - 8001180: 4013 ands r3, r2 + 8001274: 687b ldr r3, [r7, #4] + 8001276: 681b ldr r3, [r3, #0] + 8001278: 689b ldr r3, [r3, #8] + 800127a: 2202 movs r2, #2 + 800127c: 4013 ands r3, r2 if (HAL_IS_BIT_SET(hadc->Instance->CR, ADC_CR_ADSTART) && - 8001182: d107 bne.n 8001194 + 800127e: d107 bne.n 8001290 { /* Stop conversions on regular group */ hadc->Instance->CR |= ADC_CR_ADSTP; - 8001184: 687b ldr r3, [r7, #4] - 8001186: 681b ldr r3, [r3, #0] - 8001188: 689a ldr r2, [r3, #8] - 800118a: 687b ldr r3, [r7, #4] - 800118c: 681b ldr r3, [r3, #0] - 800118e: 2110 movs r1, #16 - 8001190: 430a orrs r2, r1 - 8001192: 609a str r2, [r3, #8] + 8001280: 687b ldr r3, [r7, #4] + 8001282: 681b ldr r3, [r3, #0] + 8001284: 689a ldr r2, [r3, #8] + 8001286: 687b ldr r3, [r7, #4] + 8001288: 681b ldr r3, [r3, #0] + 800128a: 2110 movs r1, #16 + 800128c: 430a orrs r2, r1 + 800128e: 609a str r2, [r3, #8] } /* Wait for conversion effectively stopped */ /* Get tick count */ tickstart = HAL_GetTick(); - 8001194: f7ff fb70 bl 8000878 - 8001198: 0003 movs r3, r0 - 800119a: 60fb str r3, [r7, #12] + 8001290: f7ff fb70 bl 8000974 + 8001294: 0003 movs r3, r0 + 8001296: 60fb str r3, [r7, #12] while((hadc->Instance->CR & ADC_CR_ADSTART) != RESET) - 800119c: e01a b.n 80011d4 + 8001298: e01a b.n 80012d0 { if((HAL_GetTick() - tickstart) > ADC_STOP_CONVERSION_TIMEOUT) - 800119e: f7ff fb6b bl 8000878 - 80011a2: 0002 movs r2, r0 - 80011a4: 68fb ldr r3, [r7, #12] - 80011a6: 1ad3 subs r3, r2, r3 - 80011a8: 2b02 cmp r3, #2 - 80011aa: d913 bls.n 80011d4 + 800129a: f7ff fb6b bl 8000974 + 800129e: 0002 movs r2, r0 + 80012a0: 68fb ldr r3, [r7, #12] + 80012a2: 1ad3 subs r3, r2, r3 + 80012a4: 2b02 cmp r3, #2 + 80012a6: d913 bls.n 80012d0 { /* New check to avoid false timeout detection in case of preemption */ if((hadc->Instance->CR & ADC_CR_ADSTART) != RESET) - 80011ac: 687b ldr r3, [r7, #4] - 80011ae: 681b ldr r3, [r3, #0] - 80011b0: 689b ldr r3, [r3, #8] - 80011b2: 2204 movs r2, #4 - 80011b4: 4013 ands r3, r2 - 80011b6: d00d beq.n 80011d4 + 80012a8: 687b ldr r3, [r7, #4] + 80012aa: 681b ldr r3, [r3, #0] + 80012ac: 689b ldr r3, [r3, #8] + 80012ae: 2204 movs r2, #4 + 80012b0: 4013 ands r3, r2 + 80012b2: d00d beq.n 80012d0 { /* Update ADC state machine to error */ SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL); - 80011b8: 687b ldr r3, [r7, #4] - 80011ba: 6b9b ldr r3, [r3, #56] ; 0x38 - 80011bc: 2210 movs r2, #16 - 80011be: 431a orrs r2, r3 - 80011c0: 687b ldr r3, [r7, #4] - 80011c2: 639a str r2, [r3, #56] ; 0x38 + 80012b4: 687b ldr r3, [r7, #4] + 80012b6: 6b9b ldr r3, [r3, #56] ; 0x38 + 80012b8: 2210 movs r2, #16 + 80012ba: 431a orrs r2, r3 + 80012bc: 687b ldr r3, [r7, #4] + 80012be: 639a str r2, [r3, #56] ; 0x38 /* Set ADC error code to ADC IP internal error */ SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_INTERNAL); - 80011c4: 687b ldr r3, [r7, #4] - 80011c6: 6bdb ldr r3, [r3, #60] ; 0x3c - 80011c8: 2201 movs r2, #1 - 80011ca: 431a orrs r2, r3 - 80011cc: 687b ldr r3, [r7, #4] - 80011ce: 63da str r2, [r3, #60] ; 0x3c + 80012c0: 687b ldr r3, [r7, #4] + 80012c2: 6bdb ldr r3, [r3, #60] ; 0x3c + 80012c4: 2201 movs r2, #1 + 80012c6: 431a orrs r2, r3 + 80012c8: 687b ldr r3, [r7, #4] + 80012ca: 63da str r2, [r3, #60] ; 0x3c return HAL_ERROR; - 80011d0: 2301 movs r3, #1 - 80011d2: e006 b.n 80011e2 + 80012cc: 2301 movs r3, #1 + 80012ce: e006 b.n 80012de while((hadc->Instance->CR & ADC_CR_ADSTART) != RESET) - 80011d4: 687b ldr r3, [r7, #4] - 80011d6: 681b ldr r3, [r3, #0] - 80011d8: 689b ldr r3, [r3, #8] - 80011da: 2204 movs r2, #4 - 80011dc: 4013 ands r3, r2 - 80011de: d1de bne.n 800119e + 80012d0: 687b ldr r3, [r7, #4] + 80012d2: 681b ldr r3, [r3, #0] + 80012d4: 689b ldr r3, [r3, #8] + 80012d6: 2204 movs r2, #4 + 80012d8: 4013 ands r3, r2 + 80012da: d1de bne.n 800129a } } } /* Return HAL status */ return HAL_OK; - 80011e0: 2300 movs r3, #0 + 80012dc: 2300 movs r3, #0 } - 80011e2: 0018 movs r0, r3 - 80011e4: 46bd mov sp, r7 - 80011e6: b004 add sp, #16 - 80011e8: bd80 pop {r7, pc} + 80012de: 0018 movs r0, r3 + 80012e0: 46bd mov sp, r7 + 80012e2: b004 add sp, #16 + 80012e4: bd80 pop {r7, pc} ... -080011ec <__NVIC_SetPriority>: +080012e8 <__NVIC_EnableIRQ>: + \details Enables a device specific interrupt in the NVIC interrupt controller. + \param [in] IRQn Device specific interrupt number. + \note IRQn must not be negative. + */ +__STATIC_INLINE void __NVIC_EnableIRQ(IRQn_Type IRQn) +{ + 80012e8: b580 push {r7, lr} + 80012ea: b082 sub sp, #8 + 80012ec: af00 add r7, sp, #0 + 80012ee: 0002 movs r2, r0 + 80012f0: 1dfb adds r3, r7, #7 + 80012f2: 701a strb r2, [r3, #0] + if ((int32_t)(IRQn) >= 0) + 80012f4: 1dfb adds r3, r7, #7 + 80012f6: 781b ldrb r3, [r3, #0] + 80012f8: 2b7f cmp r3, #127 ; 0x7f + 80012fa: d809 bhi.n 8001310 <__NVIC_EnableIRQ+0x28> + { + NVIC->ISER[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL)); + 80012fc: 1dfb adds r3, r7, #7 + 80012fe: 781b ldrb r3, [r3, #0] + 8001300: 001a movs r2, r3 + 8001302: 231f movs r3, #31 + 8001304: 401a ands r2, r3 + 8001306: 4b04 ldr r3, [pc, #16] ; (8001318 <__NVIC_EnableIRQ+0x30>) + 8001308: 2101 movs r1, #1 + 800130a: 4091 lsls r1, r2 + 800130c: 000a movs r2, r1 + 800130e: 601a str r2, [r3, #0] + } +} + 8001310: 46c0 nop ; (mov r8, r8) + 8001312: 46bd mov sp, r7 + 8001314: b002 add sp, #8 + 8001316: bd80 pop {r7, pc} + 8001318: e000e100 .word 0xe000e100 + +0800131c <__NVIC_SetPriority>: \param [in] IRQn Interrupt number. \param [in] priority Priority to set. \note The priority cannot be set for every processor exception. */ __STATIC_INLINE void __NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority) { - 80011ec: b590 push {r4, r7, lr} - 80011ee: b083 sub sp, #12 - 80011f0: af00 add r7, sp, #0 - 80011f2: 0002 movs r2, r0 - 80011f4: 6039 str r1, [r7, #0] - 80011f6: 1dfb adds r3, r7, #7 - 80011f8: 701a strb r2, [r3, #0] + 800131c: b590 push {r4, r7, lr} + 800131e: b083 sub sp, #12 + 8001320: af00 add r7, sp, #0 + 8001322: 0002 movs r2, r0 + 8001324: 6039 str r1, [r7, #0] + 8001326: 1dfb adds r3, r7, #7 + 8001328: 701a strb r2, [r3, #0] if ((int32_t)(IRQn) >= 0) - 80011fa: 1dfb adds r3, r7, #7 - 80011fc: 781b ldrb r3, [r3, #0] - 80011fe: 2b7f cmp r3, #127 ; 0x7f - 8001200: d828 bhi.n 8001254 <__NVIC_SetPriority+0x68> + 800132a: 1dfb adds r3, r7, #7 + 800132c: 781b ldrb r3, [r3, #0] + 800132e: 2b7f cmp r3, #127 ; 0x7f + 8001330: d828 bhi.n 8001384 <__NVIC_SetPriority+0x68> { NVIC->IP[_IP_IDX(IRQn)] = ((uint32_t)(NVIC->IP[_IP_IDX(IRQn)] & ~(0xFFUL << _BIT_SHIFT(IRQn))) | - 8001202: 4a2f ldr r2, [pc, #188] ; (80012c0 <__NVIC_SetPriority+0xd4>) - 8001204: 1dfb adds r3, r7, #7 - 8001206: 781b ldrb r3, [r3, #0] - 8001208: b25b sxtb r3, r3 - 800120a: 089b lsrs r3, r3, #2 - 800120c: 33c0 adds r3, #192 ; 0xc0 - 800120e: 009b lsls r3, r3, #2 - 8001210: 589b ldr r3, [r3, r2] - 8001212: 1dfa adds r2, r7, #7 - 8001214: 7812 ldrb r2, [r2, #0] - 8001216: 0011 movs r1, r2 - 8001218: 2203 movs r2, #3 - 800121a: 400a ands r2, r1 - 800121c: 00d2 lsls r2, r2, #3 - 800121e: 21ff movs r1, #255 ; 0xff - 8001220: 4091 lsls r1, r2 - 8001222: 000a movs r2, r1 - 8001224: 43d2 mvns r2, r2 - 8001226: 401a ands r2, r3 - 8001228: 0011 movs r1, r2 + 8001332: 4a2f ldr r2, [pc, #188] ; (80013f0 <__NVIC_SetPriority+0xd4>) + 8001334: 1dfb adds r3, r7, #7 + 8001336: 781b ldrb r3, [r3, #0] + 8001338: b25b sxtb r3, r3 + 800133a: 089b lsrs r3, r3, #2 + 800133c: 33c0 adds r3, #192 ; 0xc0 + 800133e: 009b lsls r3, r3, #2 + 8001340: 589b ldr r3, [r3, r2] + 8001342: 1dfa adds r2, r7, #7 + 8001344: 7812 ldrb r2, [r2, #0] + 8001346: 0011 movs r1, r2 + 8001348: 2203 movs r2, #3 + 800134a: 400a ands r2, r1 + 800134c: 00d2 lsls r2, r2, #3 + 800134e: 21ff movs r1, #255 ; 0xff + 8001350: 4091 lsls r1, r2 + 8001352: 000a movs r2, r1 + 8001354: 43d2 mvns r2, r2 + 8001356: 401a ands r2, r3 + 8001358: 0011 movs r1, r2 (((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL) << _BIT_SHIFT(IRQn))); - 800122a: 683b ldr r3, [r7, #0] - 800122c: 019b lsls r3, r3, #6 - 800122e: 22ff movs r2, #255 ; 0xff - 8001230: 401a ands r2, r3 - 8001232: 1dfb adds r3, r7, #7 - 8001234: 781b ldrb r3, [r3, #0] - 8001236: 0018 movs r0, r3 - 8001238: 2303 movs r3, #3 - 800123a: 4003 ands r3, r0 - 800123c: 00db lsls r3, r3, #3 - 800123e: 409a lsls r2, r3 + 800135a: 683b ldr r3, [r7, #0] + 800135c: 019b lsls r3, r3, #6 + 800135e: 22ff movs r2, #255 ; 0xff + 8001360: 401a ands r2, r3 + 8001362: 1dfb adds r3, r7, #7 + 8001364: 781b ldrb r3, [r3, #0] + 8001366: 0018 movs r0, r3 + 8001368: 2303 movs r3, #3 + 800136a: 4003 ands r3, r0 + 800136c: 00db lsls r3, r3, #3 + 800136e: 409a lsls r2, r3 NVIC->IP[_IP_IDX(IRQn)] = ((uint32_t)(NVIC->IP[_IP_IDX(IRQn)] & ~(0xFFUL << _BIT_SHIFT(IRQn))) | - 8001240: 481f ldr r0, [pc, #124] ; (80012c0 <__NVIC_SetPriority+0xd4>) - 8001242: 1dfb adds r3, r7, #7 - 8001244: 781b ldrb r3, [r3, #0] - 8001246: b25b sxtb r3, r3 - 8001248: 089b lsrs r3, r3, #2 - 800124a: 430a orrs r2, r1 - 800124c: 33c0 adds r3, #192 ; 0xc0 - 800124e: 009b lsls r3, r3, #2 - 8001250: 501a str r2, [r3, r0] + 8001370: 481f ldr r0, [pc, #124] ; (80013f0 <__NVIC_SetPriority+0xd4>) + 8001372: 1dfb adds r3, r7, #7 + 8001374: 781b ldrb r3, [r3, #0] + 8001376: b25b sxtb r3, r3 + 8001378: 089b lsrs r3, r3, #2 + 800137a: 430a orrs r2, r1 + 800137c: 33c0 adds r3, #192 ; 0xc0 + 800137e: 009b lsls r3, r3, #2 + 8001380: 501a str r2, [r3, r0] else { SCB->SHP[_SHP_IDX(IRQn)] = ((uint32_t)(SCB->SHP[_SHP_IDX(IRQn)] & ~(0xFFUL << _BIT_SHIFT(IRQn))) | (((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL) << _BIT_SHIFT(IRQn))); } } - 8001252: e031 b.n 80012b8 <__NVIC_SetPriority+0xcc> + 8001382: e031 b.n 80013e8 <__NVIC_SetPriority+0xcc> SCB->SHP[_SHP_IDX(IRQn)] = ((uint32_t)(SCB->SHP[_SHP_IDX(IRQn)] & ~(0xFFUL << _BIT_SHIFT(IRQn))) | - 8001254: 4a1b ldr r2, [pc, #108] ; (80012c4 <__NVIC_SetPriority+0xd8>) - 8001256: 1dfb adds r3, r7, #7 - 8001258: 781b ldrb r3, [r3, #0] - 800125a: 0019 movs r1, r3 - 800125c: 230f movs r3, #15 - 800125e: 400b ands r3, r1 - 8001260: 3b08 subs r3, #8 - 8001262: 089b lsrs r3, r3, #2 - 8001264: 3306 adds r3, #6 - 8001266: 009b lsls r3, r3, #2 - 8001268: 18d3 adds r3, r2, r3 - 800126a: 3304 adds r3, #4 - 800126c: 681b ldr r3, [r3, #0] - 800126e: 1dfa adds r2, r7, #7 - 8001270: 7812 ldrb r2, [r2, #0] - 8001272: 0011 movs r1, r2 - 8001274: 2203 movs r2, #3 - 8001276: 400a ands r2, r1 - 8001278: 00d2 lsls r2, r2, #3 - 800127a: 21ff movs r1, #255 ; 0xff - 800127c: 4091 lsls r1, r2 - 800127e: 000a movs r2, r1 - 8001280: 43d2 mvns r2, r2 - 8001282: 401a ands r2, r3 - 8001284: 0011 movs r1, r2 + 8001384: 4a1b ldr r2, [pc, #108] ; (80013f4 <__NVIC_SetPriority+0xd8>) + 8001386: 1dfb adds r3, r7, #7 + 8001388: 781b ldrb r3, [r3, #0] + 800138a: 0019 movs r1, r3 + 800138c: 230f movs r3, #15 + 800138e: 400b ands r3, r1 + 8001390: 3b08 subs r3, #8 + 8001392: 089b lsrs r3, r3, #2 + 8001394: 3306 adds r3, #6 + 8001396: 009b lsls r3, r3, #2 + 8001398: 18d3 adds r3, r2, r3 + 800139a: 3304 adds r3, #4 + 800139c: 681b ldr r3, [r3, #0] + 800139e: 1dfa adds r2, r7, #7 + 80013a0: 7812 ldrb r2, [r2, #0] + 80013a2: 0011 movs r1, r2 + 80013a4: 2203 movs r2, #3 + 80013a6: 400a ands r2, r1 + 80013a8: 00d2 lsls r2, r2, #3 + 80013aa: 21ff movs r1, #255 ; 0xff + 80013ac: 4091 lsls r1, r2 + 80013ae: 000a movs r2, r1 + 80013b0: 43d2 mvns r2, r2 + 80013b2: 401a ands r2, r3 + 80013b4: 0011 movs r1, r2 (((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL) << _BIT_SHIFT(IRQn))); - 8001286: 683b ldr r3, [r7, #0] - 8001288: 019b lsls r3, r3, #6 - 800128a: 22ff movs r2, #255 ; 0xff - 800128c: 401a ands r2, r3 - 800128e: 1dfb adds r3, r7, #7 - 8001290: 781b ldrb r3, [r3, #0] - 8001292: 0018 movs r0, r3 - 8001294: 2303 movs r3, #3 - 8001296: 4003 ands r3, r0 - 8001298: 00db lsls r3, r3, #3 - 800129a: 409a lsls r2, r3 + 80013b6: 683b ldr r3, [r7, #0] + 80013b8: 019b lsls r3, r3, #6 + 80013ba: 22ff movs r2, #255 ; 0xff + 80013bc: 401a ands r2, r3 + 80013be: 1dfb adds r3, r7, #7 + 80013c0: 781b ldrb r3, [r3, #0] + 80013c2: 0018 movs r0, r3 + 80013c4: 2303 movs r3, #3 + 80013c6: 4003 ands r3, r0 + 80013c8: 00db lsls r3, r3, #3 + 80013ca: 409a lsls r2, r3 SCB->SHP[_SHP_IDX(IRQn)] = ((uint32_t)(SCB->SHP[_SHP_IDX(IRQn)] & ~(0xFFUL << _BIT_SHIFT(IRQn))) | - 800129c: 4809 ldr r0, [pc, #36] ; (80012c4 <__NVIC_SetPriority+0xd8>) - 800129e: 1dfb adds r3, r7, #7 - 80012a0: 781b ldrb r3, [r3, #0] - 80012a2: 001c movs r4, r3 - 80012a4: 230f movs r3, #15 - 80012a6: 4023 ands r3, r4 - 80012a8: 3b08 subs r3, #8 - 80012aa: 089b lsrs r3, r3, #2 - 80012ac: 430a orrs r2, r1 - 80012ae: 3306 adds r3, #6 - 80012b0: 009b lsls r3, r3, #2 - 80012b2: 18c3 adds r3, r0, r3 - 80012b4: 3304 adds r3, #4 - 80012b6: 601a str r2, [r3, #0] + 80013cc: 4809 ldr r0, [pc, #36] ; (80013f4 <__NVIC_SetPriority+0xd8>) + 80013ce: 1dfb adds r3, r7, #7 + 80013d0: 781b ldrb r3, [r3, #0] + 80013d2: 001c movs r4, r3 + 80013d4: 230f movs r3, #15 + 80013d6: 4023 ands r3, r4 + 80013d8: 3b08 subs r3, #8 + 80013da: 089b lsrs r3, r3, #2 + 80013dc: 430a orrs r2, r1 + 80013de: 3306 adds r3, #6 + 80013e0: 009b lsls r3, r3, #2 + 80013e2: 18c3 adds r3, r0, r3 + 80013e4: 3304 adds r3, #4 + 80013e6: 601a str r2, [r3, #0] } - 80012b8: 46c0 nop ; (mov r8, r8) - 80012ba: 46bd mov sp, r7 - 80012bc: b003 add sp, #12 - 80012be: bd90 pop {r4, r7, pc} - 80012c0: e000e100 .word 0xe000e100 - 80012c4: e000ed00 .word 0xe000ed00 + 80013e8: 46c0 nop ; (mov r8, r8) + 80013ea: 46bd mov sp, r7 + 80013ec: b003 add sp, #12 + 80013ee: bd90 pop {r4, r7, pc} + 80013f0: e000e100 .word 0xe000e100 + 80013f4: e000ed00 .word 0xe000ed00 -080012c8 : +080013f8 : \note When the variable __Vendor_SysTickConfig is set to 1, then the function SysTick_Config is not included. In this case, the file device.h must contain a vendor-specific implementation of this function. */ __STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks) { - 80012c8: b580 push {r7, lr} - 80012ca: b082 sub sp, #8 - 80012cc: af00 add r7, sp, #0 - 80012ce: 6078 str r0, [r7, #4] + 80013f8: b580 push {r7, lr} + 80013fa: b082 sub sp, #8 + 80013fc: af00 add r7, sp, #0 + 80013fe: 6078 str r0, [r7, #4] if ((ticks - 1UL) > SysTick_LOAD_RELOAD_Msk) - 80012d0: 687b ldr r3, [r7, #4] - 80012d2: 1e5a subs r2, r3, #1 - 80012d4: 2380 movs r3, #128 ; 0x80 - 80012d6: 045b lsls r3, r3, #17 - 80012d8: 429a cmp r2, r3 - 80012da: d301 bcc.n 80012e0 + 8001400: 687b ldr r3, [r7, #4] + 8001402: 1e5a subs r2, r3, #1 + 8001404: 2380 movs r3, #128 ; 0x80 + 8001406: 045b lsls r3, r3, #17 + 8001408: 429a cmp r2, r3 + 800140a: d301 bcc.n 8001410 { return (1UL); /* Reload value impossible */ - 80012dc: 2301 movs r3, #1 - 80012de: e010 b.n 8001302 + 800140c: 2301 movs r3, #1 + 800140e: e010 b.n 8001432 } SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */ - 80012e0: 4b0a ldr r3, [pc, #40] ; (800130c ) - 80012e2: 687a ldr r2, [r7, #4] - 80012e4: 3a01 subs r2, #1 - 80012e6: 605a str r2, [r3, #4] + 8001410: 4b0a ldr r3, [pc, #40] ; (800143c ) + 8001412: 687a ldr r2, [r7, #4] + 8001414: 3a01 subs r2, #1 + 8001416: 605a str r2, [r3, #4] NVIC_SetPriority (SysTick_IRQn, (1UL << __NVIC_PRIO_BITS) - 1UL); /* set Priority for Systick Interrupt */ - 80012e8: 2301 movs r3, #1 - 80012ea: 425b negs r3, r3 - 80012ec: 2103 movs r1, #3 - 80012ee: 0018 movs r0, r3 - 80012f0: f7ff ff7c bl 80011ec <__NVIC_SetPriority> + 8001418: 2301 movs r3, #1 + 800141a: 425b negs r3, r3 + 800141c: 2103 movs r1, #3 + 800141e: 0018 movs r0, r3 + 8001420: f7ff ff7c bl 800131c <__NVIC_SetPriority> SysTick->VAL = 0UL; /* Load the SysTick Counter Value */ - 80012f4: 4b05 ldr r3, [pc, #20] ; (800130c ) - 80012f6: 2200 movs r2, #0 - 80012f8: 609a str r2, [r3, #8] + 8001424: 4b05 ldr r3, [pc, #20] ; (800143c ) + 8001426: 2200 movs r2, #0 + 8001428: 609a str r2, [r3, #8] SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | - 80012fa: 4b04 ldr r3, [pc, #16] ; (800130c ) - 80012fc: 2207 movs r2, #7 - 80012fe: 601a str r2, [r3, #0] + 800142a: 4b04 ldr r3, [pc, #16] ; (800143c ) + 800142c: 2207 movs r2, #7 + 800142e: 601a str r2, [r3, #0] SysTick_CTRL_TICKINT_Msk | SysTick_CTRL_ENABLE_Msk; /* Enable SysTick IRQ and SysTick Timer */ return (0UL); /* Function successful */ - 8001300: 2300 movs r3, #0 + 8001430: 2300 movs r3, #0 } - 8001302: 0018 movs r0, r3 - 8001304: 46bd mov sp, r7 - 8001306: b002 add sp, #8 - 8001308: bd80 pop {r7, pc} - 800130a: 46c0 nop ; (mov r8, r8) - 800130c: e000e010 .word 0xe000e010 + 8001432: 0018 movs r0, r3 + 8001434: 46bd mov sp, r7 + 8001436: b002 add sp, #8 + 8001438: bd80 pop {r7, pc} + 800143a: 46c0 nop ; (mov r8, r8) + 800143c: e000e010 .word 0xe000e010 -08001310 : +08001440 : * with stm32f0xx devices, this parameter is a dummy value and it is ignored, because * no subpriority supported in Cortex M0 based products. * @retval None */ void HAL_NVIC_SetPriority(IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority) { - 8001310: b580 push {r7, lr} - 8001312: b084 sub sp, #16 - 8001314: af00 add r7, sp, #0 - 8001316: 60b9 str r1, [r7, #8] - 8001318: 607a str r2, [r7, #4] - 800131a: 210f movs r1, #15 - 800131c: 187b adds r3, r7, r1 - 800131e: 1c02 adds r2, r0, #0 - 8001320: 701a strb r2, [r3, #0] + 8001440: b580 push {r7, lr} + 8001442: b084 sub sp, #16 + 8001444: af00 add r7, sp, #0 + 8001446: 60b9 str r1, [r7, #8] + 8001448: 607a str r2, [r7, #4] + 800144a: 210f movs r1, #15 + 800144c: 187b adds r3, r7, r1 + 800144e: 1c02 adds r2, r0, #0 + 8001450: 701a strb r2, [r3, #0] /* Check the parameters */ assert_param(IS_NVIC_PREEMPTION_PRIORITY(PreemptPriority)); NVIC_SetPriority(IRQn,PreemptPriority); - 8001322: 68ba ldr r2, [r7, #8] - 8001324: 187b adds r3, r7, r1 - 8001326: 781b ldrb r3, [r3, #0] - 8001328: b25b sxtb r3, r3 - 800132a: 0011 movs r1, r2 - 800132c: 0018 movs r0, r3 - 800132e: f7ff ff5d bl 80011ec <__NVIC_SetPriority> + 8001452: 68ba ldr r2, [r7, #8] + 8001454: 187b adds r3, r7, r1 + 8001456: 781b ldrb r3, [r3, #0] + 8001458: b25b sxtb r3, r3 + 800145a: 0011 movs r1, r2 + 800145c: 0018 movs r0, r3 + 800145e: f7ff ff5d bl 800131c <__NVIC_SetPriority> } - 8001332: 46c0 nop ; (mov r8, r8) - 8001334: 46bd mov sp, r7 - 8001336: b004 add sp, #16 - 8001338: bd80 pop {r7, pc} + 8001462: 46c0 nop ; (mov r8, r8) + 8001464: 46bd mov sp, r7 + 8001466: b004 add sp, #16 + 8001468: bd80 pop {r7, pc} -0800133a : +0800146a : + * This parameter can be an enumerator of IRQn_Type enumeration + * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSIS device file (stm32f0xxxx.h)) + * @retval None + */ +void HAL_NVIC_EnableIRQ(IRQn_Type IRQn) +{ + 800146a: b580 push {r7, lr} + 800146c: b082 sub sp, #8 + 800146e: af00 add r7, sp, #0 + 8001470: 0002 movs r2, r0 + 8001472: 1dfb adds r3, r7, #7 + 8001474: 701a strb r2, [r3, #0] + /* Check the parameters */ + assert_param(IS_NVIC_DEVICE_IRQ(IRQn)); + + /* Enable interrupt */ + NVIC_EnableIRQ(IRQn); + 8001476: 1dfb adds r3, r7, #7 + 8001478: 781b ldrb r3, [r3, #0] + 800147a: b25b sxtb r3, r3 + 800147c: 0018 movs r0, r3 + 800147e: f7ff ff33 bl 80012e8 <__NVIC_EnableIRQ> +} + 8001482: 46c0 nop ; (mov r8, r8) + 8001484: 46bd mov sp, r7 + 8001486: b002 add sp, #8 + 8001488: bd80 pop {r7, pc} + +0800148a : * @param TicksNumb Specifies the ticks Number of ticks between two interrupts. * @retval status: - 0 Function succeeded. * - 1 Function failed. */ uint32_t HAL_SYSTICK_Config(uint32_t TicksNumb) { - 800133a: b580 push {r7, lr} - 800133c: b082 sub sp, #8 - 800133e: af00 add r7, sp, #0 - 8001340: 6078 str r0, [r7, #4] + 800148a: b580 push {r7, lr} + 800148c: b082 sub sp, #8 + 800148e: af00 add r7, sp, #0 + 8001490: 6078 str r0, [r7, #4] return SysTick_Config(TicksNumb); - 8001342: 687b ldr r3, [r7, #4] - 8001344: 0018 movs r0, r3 - 8001346: f7ff ffbf bl 80012c8 - 800134a: 0003 movs r3, r0 + 8001492: 687b ldr r3, [r7, #4] + 8001494: 0018 movs r0, r3 + 8001496: f7ff ffaf bl 80013f8 + 800149a: 0003 movs r3, r0 } - 800134c: 0018 movs r0, r3 - 800134e: 46bd mov sp, r7 - 8001350: b002 add sp, #8 - 8001352: bd80 pop {r7, pc} + 800149c: 0018 movs r0, r3 + 800149e: 46bd mov sp, r7 + 80014a0: b002 add sp, #8 + 80014a2: bd80 pop {r7, pc} -08001354 : +080014a4 : * @param GPIO_Init pointer to a GPIO_InitTypeDef structure that contains * the configuration information for the specified GPIO peripheral. * @retval None */ void HAL_GPIO_Init(GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init) { - 8001354: b580 push {r7, lr} - 8001356: b086 sub sp, #24 - 8001358: af00 add r7, sp, #0 - 800135a: 6078 str r0, [r7, #4] - 800135c: 6039 str r1, [r7, #0] + 80014a4: b580 push {r7, lr} + 80014a6: b086 sub sp, #24 + 80014a8: af00 add r7, sp, #0 + 80014aa: 6078 str r0, [r7, #4] + 80014ac: 6039 str r1, [r7, #0] uint32_t position = 0x00u; - 800135e: 2300 movs r3, #0 - 8001360: 617b str r3, [r7, #20] + 80014ae: 2300 movs r3, #0 + 80014b0: 617b str r3, [r7, #20] assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); assert_param(IS_GPIO_PIN(GPIO_Init->Pin)); assert_param(IS_GPIO_MODE(GPIO_Init->Mode)); /* Configure the port pins */ while (((GPIO_Init->Pin) >> position) != 0x00u) - 8001362: e14f b.n 8001604 + 80014b2: e14f b.n 8001754 { /* Get current io position */ iocurrent = (GPIO_Init->Pin) & (1uL << position); - 8001364: 683b ldr r3, [r7, #0] - 8001366: 681b ldr r3, [r3, #0] - 8001368: 2101 movs r1, #1 - 800136a: 697a ldr r2, [r7, #20] - 800136c: 4091 lsls r1, r2 - 800136e: 000a movs r2, r1 - 8001370: 4013 ands r3, r2 - 8001372: 60fb str r3, [r7, #12] + 80014b4: 683b ldr r3, [r7, #0] + 80014b6: 681b ldr r3, [r3, #0] + 80014b8: 2101 movs r1, #1 + 80014ba: 697a ldr r2, [r7, #20] + 80014bc: 4091 lsls r1, r2 + 80014be: 000a movs r2, r1 + 80014c0: 4013 ands r3, r2 + 80014c2: 60fb str r3, [r7, #12] if (iocurrent != 0x00u) - 8001374: 68fb ldr r3, [r7, #12] - 8001376: 2b00 cmp r3, #0 - 8001378: d100 bne.n 800137c - 800137a: e140 b.n 80015fe + 80014c4: 68fb ldr r3, [r7, #12] + 80014c6: 2b00 cmp r3, #0 + 80014c8: d100 bne.n 80014cc + 80014ca: e140 b.n 800174e { /*--------------------- GPIO Mode Configuration ------------------------*/ /* In case of Output or Alternate function mode selection */ if(((GPIO_Init->Mode & GPIO_MODE) == MODE_OUTPUT) || - 800137c: 683b ldr r3, [r7, #0] - 800137e: 685b ldr r3, [r3, #4] - 8001380: 2203 movs r2, #3 - 8001382: 4013 ands r3, r2 - 8001384: 2b01 cmp r3, #1 - 8001386: d005 beq.n 8001394 + 80014cc: 683b ldr r3, [r7, #0] + 80014ce: 685b ldr r3, [r3, #4] + 80014d0: 2203 movs r2, #3 + 80014d2: 4013 ands r3, r2 + 80014d4: 2b01 cmp r3, #1 + 80014d6: d005 beq.n 80014e4 ((GPIO_Init->Mode & GPIO_MODE) == MODE_AF)) - 8001388: 683b ldr r3, [r7, #0] - 800138a: 685b ldr r3, [r3, #4] - 800138c: 2203 movs r2, #3 - 800138e: 4013 ands r3, r2 + 80014d8: 683b ldr r3, [r7, #0] + 80014da: 685b ldr r3, [r3, #4] + 80014dc: 2203 movs r2, #3 + 80014de: 4013 ands r3, r2 if(((GPIO_Init->Mode & GPIO_MODE) == MODE_OUTPUT) || - 8001390: 2b02 cmp r3, #2 - 8001392: d130 bne.n 80013f6 + 80014e0: 2b02 cmp r3, #2 + 80014e2: d130 bne.n 8001546 { /* Check the Speed parameter */ assert_param(IS_GPIO_SPEED(GPIO_Init->Speed)); /* Configure the IO Speed */ temp = GPIOx->OSPEEDR; - 8001394: 687b ldr r3, [r7, #4] - 8001396: 689b ldr r3, [r3, #8] - 8001398: 613b str r3, [r7, #16] + 80014e4: 687b ldr r3, [r7, #4] + 80014e6: 689b ldr r3, [r3, #8] + 80014e8: 613b str r3, [r7, #16] temp &= ~(GPIO_OSPEEDER_OSPEEDR0 << (position * 2u)); - 800139a: 697b ldr r3, [r7, #20] - 800139c: 005b lsls r3, r3, #1 - 800139e: 2203 movs r2, #3 - 80013a0: 409a lsls r2, r3 - 80013a2: 0013 movs r3, r2 - 80013a4: 43da mvns r2, r3 - 80013a6: 693b ldr r3, [r7, #16] - 80013a8: 4013 ands r3, r2 - 80013aa: 613b str r3, [r7, #16] + 80014ea: 697b ldr r3, [r7, #20] + 80014ec: 005b lsls r3, r3, #1 + 80014ee: 2203 movs r2, #3 + 80014f0: 409a lsls r2, r3 + 80014f2: 0013 movs r3, r2 + 80014f4: 43da mvns r2, r3 + 80014f6: 693b ldr r3, [r7, #16] + 80014f8: 4013 ands r3, r2 + 80014fa: 613b str r3, [r7, #16] temp |= (GPIO_Init->Speed << (position * 2u)); - 80013ac: 683b ldr r3, [r7, #0] - 80013ae: 68da ldr r2, [r3, #12] - 80013b0: 697b ldr r3, [r7, #20] - 80013b2: 005b lsls r3, r3, #1 - 80013b4: 409a lsls r2, r3 - 80013b6: 0013 movs r3, r2 - 80013b8: 693a ldr r2, [r7, #16] - 80013ba: 4313 orrs r3, r2 - 80013bc: 613b str r3, [r7, #16] + 80014fc: 683b ldr r3, [r7, #0] + 80014fe: 68da ldr r2, [r3, #12] + 8001500: 697b ldr r3, [r7, #20] + 8001502: 005b lsls r3, r3, #1 + 8001504: 409a lsls r2, r3 + 8001506: 0013 movs r3, r2 + 8001508: 693a ldr r2, [r7, #16] + 800150a: 4313 orrs r3, r2 + 800150c: 613b str r3, [r7, #16] GPIOx->OSPEEDR = temp; - 80013be: 687b ldr r3, [r7, #4] - 80013c0: 693a ldr r2, [r7, #16] - 80013c2: 609a str r2, [r3, #8] + 800150e: 687b ldr r3, [r7, #4] + 8001510: 693a ldr r2, [r7, #16] + 8001512: 609a str r2, [r3, #8] /* Configure the IO Output Type */ temp = GPIOx->OTYPER; - 80013c4: 687b ldr r3, [r7, #4] - 80013c6: 685b ldr r3, [r3, #4] - 80013c8: 613b str r3, [r7, #16] + 8001514: 687b ldr r3, [r7, #4] + 8001516: 685b ldr r3, [r3, #4] + 8001518: 613b str r3, [r7, #16] temp &= ~(GPIO_OTYPER_OT_0 << position) ; - 80013ca: 2201 movs r2, #1 - 80013cc: 697b ldr r3, [r7, #20] - 80013ce: 409a lsls r2, r3 - 80013d0: 0013 movs r3, r2 - 80013d2: 43da mvns r2, r3 - 80013d4: 693b ldr r3, [r7, #16] - 80013d6: 4013 ands r3, r2 - 80013d8: 613b str r3, [r7, #16] + 800151a: 2201 movs r2, #1 + 800151c: 697b ldr r3, [r7, #20] + 800151e: 409a lsls r2, r3 + 8001520: 0013 movs r3, r2 + 8001522: 43da mvns r2, r3 + 8001524: 693b ldr r3, [r7, #16] + 8001526: 4013 ands r3, r2 + 8001528: 613b str r3, [r7, #16] temp |= (((GPIO_Init->Mode & OUTPUT_TYPE) >> OUTPUT_TYPE_Pos) << position); - 80013da: 683b ldr r3, [r7, #0] - 80013dc: 685b ldr r3, [r3, #4] - 80013de: 091b lsrs r3, r3, #4 - 80013e0: 2201 movs r2, #1 - 80013e2: 401a ands r2, r3 - 80013e4: 697b ldr r3, [r7, #20] - 80013e6: 409a lsls r2, r3 - 80013e8: 0013 movs r3, r2 - 80013ea: 693a ldr r2, [r7, #16] - 80013ec: 4313 orrs r3, r2 - 80013ee: 613b str r3, [r7, #16] + 800152a: 683b ldr r3, [r7, #0] + 800152c: 685b ldr r3, [r3, #4] + 800152e: 091b lsrs r3, r3, #4 + 8001530: 2201 movs r2, #1 + 8001532: 401a ands r2, r3 + 8001534: 697b ldr r3, [r7, #20] + 8001536: 409a lsls r2, r3 + 8001538: 0013 movs r3, r2 + 800153a: 693a ldr r2, [r7, #16] + 800153c: 4313 orrs r3, r2 + 800153e: 613b str r3, [r7, #16] GPIOx->OTYPER = temp; - 80013f0: 687b ldr r3, [r7, #4] - 80013f2: 693a ldr r2, [r7, #16] - 80013f4: 605a str r2, [r3, #4] + 8001540: 687b ldr r3, [r7, #4] + 8001542: 693a ldr r2, [r7, #16] + 8001544: 605a str r2, [r3, #4] } if((GPIO_Init->Mode & GPIO_MODE) != MODE_ANALOG) - 80013f6: 683b ldr r3, [r7, #0] - 80013f8: 685b ldr r3, [r3, #4] - 80013fa: 2203 movs r2, #3 - 80013fc: 4013 ands r3, r2 - 80013fe: 2b03 cmp r3, #3 - 8001400: d017 beq.n 8001432 + 8001546: 683b ldr r3, [r7, #0] + 8001548: 685b ldr r3, [r3, #4] + 800154a: 2203 movs r2, #3 + 800154c: 4013 ands r3, r2 + 800154e: 2b03 cmp r3, #3 + 8001550: d017 beq.n 8001582 { /* Check the Pull parameter */ assert_param(IS_GPIO_PULL(GPIO_Init->Pull)); /* Activate the Pull-up or Pull down resistor for the current IO */ temp = GPIOx->PUPDR; - 8001402: 687b ldr r3, [r7, #4] - 8001404: 68db ldr r3, [r3, #12] - 8001406: 613b str r3, [r7, #16] + 8001552: 687b ldr r3, [r7, #4] + 8001554: 68db ldr r3, [r3, #12] + 8001556: 613b str r3, [r7, #16] temp &= ~(GPIO_PUPDR_PUPDR0 << (position * 2u)); - 8001408: 697b ldr r3, [r7, #20] - 800140a: 005b lsls r3, r3, #1 - 800140c: 2203 movs r2, #3 - 800140e: 409a lsls r2, r3 - 8001410: 0013 movs r3, r2 - 8001412: 43da mvns r2, r3 - 8001414: 693b ldr r3, [r7, #16] - 8001416: 4013 ands r3, r2 - 8001418: 613b str r3, [r7, #16] + 8001558: 697b ldr r3, [r7, #20] + 800155a: 005b lsls r3, r3, #1 + 800155c: 2203 movs r2, #3 + 800155e: 409a lsls r2, r3 + 8001560: 0013 movs r3, r2 + 8001562: 43da mvns r2, r3 + 8001564: 693b ldr r3, [r7, #16] + 8001566: 4013 ands r3, r2 + 8001568: 613b str r3, [r7, #16] temp |= ((GPIO_Init->Pull) << (position * 2u)); - 800141a: 683b ldr r3, [r7, #0] - 800141c: 689a ldr r2, [r3, #8] - 800141e: 697b ldr r3, [r7, #20] - 8001420: 005b lsls r3, r3, #1 - 8001422: 409a lsls r2, r3 - 8001424: 0013 movs r3, r2 - 8001426: 693a ldr r2, [r7, #16] - 8001428: 4313 orrs r3, r2 - 800142a: 613b str r3, [r7, #16] + 800156a: 683b ldr r3, [r7, #0] + 800156c: 689a ldr r2, [r3, #8] + 800156e: 697b ldr r3, [r7, #20] + 8001570: 005b lsls r3, r3, #1 + 8001572: 409a lsls r2, r3 + 8001574: 0013 movs r3, r2 + 8001576: 693a ldr r2, [r7, #16] + 8001578: 4313 orrs r3, r2 + 800157a: 613b str r3, [r7, #16] GPIOx->PUPDR = temp; - 800142c: 687b ldr r3, [r7, #4] - 800142e: 693a ldr r2, [r7, #16] - 8001430: 60da str r2, [r3, #12] + 800157c: 687b ldr r3, [r7, #4] + 800157e: 693a ldr r2, [r7, #16] + 8001580: 60da str r2, [r3, #12] } /* In case of Alternate function mode selection */ if((GPIO_Init->Mode & GPIO_MODE) == MODE_AF) - 8001432: 683b ldr r3, [r7, #0] - 8001434: 685b ldr r3, [r3, #4] - 8001436: 2203 movs r2, #3 - 8001438: 4013 ands r3, r2 - 800143a: 2b02 cmp r3, #2 - 800143c: d123 bne.n 8001486 + 8001582: 683b ldr r3, [r7, #0] + 8001584: 685b ldr r3, [r3, #4] + 8001586: 2203 movs r2, #3 + 8001588: 4013 ands r3, r2 + 800158a: 2b02 cmp r3, #2 + 800158c: d123 bne.n 80015d6 /* Check the Alternate function parameters */ assert_param(IS_GPIO_AF_INSTANCE(GPIOx)); assert_param(IS_GPIO_AF(GPIO_Init->Alternate)); /* Configure Alternate function mapped with the current IO */ temp = GPIOx->AFR[position >> 3u]; - 800143e: 697b ldr r3, [r7, #20] - 8001440: 08da lsrs r2, r3, #3 - 8001442: 687b ldr r3, [r7, #4] - 8001444: 3208 adds r2, #8 - 8001446: 0092 lsls r2, r2, #2 - 8001448: 58d3 ldr r3, [r2, r3] - 800144a: 613b str r3, [r7, #16] + 800158e: 697b ldr r3, [r7, #20] + 8001590: 08da lsrs r2, r3, #3 + 8001592: 687b ldr r3, [r7, #4] + 8001594: 3208 adds r2, #8 + 8001596: 0092 lsls r2, r2, #2 + 8001598: 58d3 ldr r3, [r2, r3] + 800159a: 613b str r3, [r7, #16] temp &= ~(0xFu << ((position & 0x07u) * 4u)); - 800144c: 697b ldr r3, [r7, #20] - 800144e: 2207 movs r2, #7 - 8001450: 4013 ands r3, r2 - 8001452: 009b lsls r3, r3, #2 - 8001454: 220f movs r2, #15 - 8001456: 409a lsls r2, r3 - 8001458: 0013 movs r3, r2 - 800145a: 43da mvns r2, r3 - 800145c: 693b ldr r3, [r7, #16] - 800145e: 4013 ands r3, r2 - 8001460: 613b str r3, [r7, #16] + 800159c: 697b ldr r3, [r7, #20] + 800159e: 2207 movs r2, #7 + 80015a0: 4013 ands r3, r2 + 80015a2: 009b lsls r3, r3, #2 + 80015a4: 220f movs r2, #15 + 80015a6: 409a lsls r2, r3 + 80015a8: 0013 movs r3, r2 + 80015aa: 43da mvns r2, r3 + 80015ac: 693b ldr r3, [r7, #16] + 80015ae: 4013 ands r3, r2 + 80015b0: 613b str r3, [r7, #16] temp |= ((GPIO_Init->Alternate) << ((position & 0x07u) * 4u)); - 8001462: 683b ldr r3, [r7, #0] - 8001464: 691a ldr r2, [r3, #16] - 8001466: 697b ldr r3, [r7, #20] - 8001468: 2107 movs r1, #7 - 800146a: 400b ands r3, r1 - 800146c: 009b lsls r3, r3, #2 - 800146e: 409a lsls r2, r3 - 8001470: 0013 movs r3, r2 - 8001472: 693a ldr r2, [r7, #16] - 8001474: 4313 orrs r3, r2 - 8001476: 613b str r3, [r7, #16] + 80015b2: 683b ldr r3, [r7, #0] + 80015b4: 691a ldr r2, [r3, #16] + 80015b6: 697b ldr r3, [r7, #20] + 80015b8: 2107 movs r1, #7 + 80015ba: 400b ands r3, r1 + 80015bc: 009b lsls r3, r3, #2 + 80015be: 409a lsls r2, r3 + 80015c0: 0013 movs r3, r2 + 80015c2: 693a ldr r2, [r7, #16] + 80015c4: 4313 orrs r3, r2 + 80015c6: 613b str r3, [r7, #16] GPIOx->AFR[position >> 3u] = temp; - 8001478: 697b ldr r3, [r7, #20] - 800147a: 08da lsrs r2, r3, #3 - 800147c: 687b ldr r3, [r7, #4] - 800147e: 3208 adds r2, #8 - 8001480: 0092 lsls r2, r2, #2 - 8001482: 6939 ldr r1, [r7, #16] - 8001484: 50d1 str r1, [r2, r3] + 80015c8: 697b ldr r3, [r7, #20] + 80015ca: 08da lsrs r2, r3, #3 + 80015cc: 687b ldr r3, [r7, #4] + 80015ce: 3208 adds r2, #8 + 80015d0: 0092 lsls r2, r2, #2 + 80015d2: 6939 ldr r1, [r7, #16] + 80015d4: 50d1 str r1, [r2, r3] } /* Configure IO Direction mode (Input, Output, Alternate or Analog) */ temp = GPIOx->MODER; - 8001486: 687b ldr r3, [r7, #4] - 8001488: 681b ldr r3, [r3, #0] - 800148a: 613b str r3, [r7, #16] + 80015d6: 687b ldr r3, [r7, #4] + 80015d8: 681b ldr r3, [r3, #0] + 80015da: 613b str r3, [r7, #16] temp &= ~(GPIO_MODER_MODER0 << (position * 2u)); - 800148c: 697b ldr r3, [r7, #20] - 800148e: 005b lsls r3, r3, #1 - 8001490: 2203 movs r2, #3 - 8001492: 409a lsls r2, r3 - 8001494: 0013 movs r3, r2 - 8001496: 43da mvns r2, r3 - 8001498: 693b ldr r3, [r7, #16] - 800149a: 4013 ands r3, r2 - 800149c: 613b str r3, [r7, #16] + 80015dc: 697b ldr r3, [r7, #20] + 80015de: 005b lsls r3, r3, #1 + 80015e0: 2203 movs r2, #3 + 80015e2: 409a lsls r2, r3 + 80015e4: 0013 movs r3, r2 + 80015e6: 43da mvns r2, r3 + 80015e8: 693b ldr r3, [r7, #16] + 80015ea: 4013 ands r3, r2 + 80015ec: 613b str r3, [r7, #16] temp |= ((GPIO_Init->Mode & GPIO_MODE) << (position * 2u)); - 800149e: 683b ldr r3, [r7, #0] - 80014a0: 685b ldr r3, [r3, #4] - 80014a2: 2203 movs r2, #3 - 80014a4: 401a ands r2, r3 - 80014a6: 697b ldr r3, [r7, #20] - 80014a8: 005b lsls r3, r3, #1 - 80014aa: 409a lsls r2, r3 - 80014ac: 0013 movs r3, r2 - 80014ae: 693a ldr r2, [r7, #16] - 80014b0: 4313 orrs r3, r2 - 80014b2: 613b str r3, [r7, #16] + 80015ee: 683b ldr r3, [r7, #0] + 80015f0: 685b ldr r3, [r3, #4] + 80015f2: 2203 movs r2, #3 + 80015f4: 401a ands r2, r3 + 80015f6: 697b ldr r3, [r7, #20] + 80015f8: 005b lsls r3, r3, #1 + 80015fa: 409a lsls r2, r3 + 80015fc: 0013 movs r3, r2 + 80015fe: 693a ldr r2, [r7, #16] + 8001600: 4313 orrs r3, r2 + 8001602: 613b str r3, [r7, #16] GPIOx->MODER = temp; - 80014b4: 687b ldr r3, [r7, #4] - 80014b6: 693a ldr r2, [r7, #16] - 80014b8: 601a str r2, [r3, #0] + 8001604: 687b ldr r3, [r7, #4] + 8001606: 693a ldr r2, [r7, #16] + 8001608: 601a str r2, [r3, #0] /*--------------------- EXTI Mode Configuration ------------------------*/ /* Configure the External Interrupt or event for the current IO */ if((GPIO_Init->Mode & EXTI_MODE) != 0x00u) - 80014ba: 683b ldr r3, [r7, #0] - 80014bc: 685a ldr r2, [r3, #4] - 80014be: 23c0 movs r3, #192 ; 0xc0 - 80014c0: 029b lsls r3, r3, #10 - 80014c2: 4013 ands r3, r2 - 80014c4: d100 bne.n 80014c8 - 80014c6: e09a b.n 80015fe + 800160a: 683b ldr r3, [r7, #0] + 800160c: 685a ldr r2, [r3, #4] + 800160e: 23c0 movs r3, #192 ; 0xc0 + 8001610: 029b lsls r3, r3, #10 + 8001612: 4013 ands r3, r2 + 8001614: d100 bne.n 8001618 + 8001616: e09a b.n 800174e { /* Enable SYSCFG Clock */ __HAL_RCC_SYSCFG_CLK_ENABLE(); - 80014c8: 4b54 ldr r3, [pc, #336] ; (800161c ) - 80014ca: 699a ldr r2, [r3, #24] - 80014cc: 4b53 ldr r3, [pc, #332] ; (800161c ) - 80014ce: 2101 movs r1, #1 - 80014d0: 430a orrs r2, r1 - 80014d2: 619a str r2, [r3, #24] - 80014d4: 4b51 ldr r3, [pc, #324] ; (800161c ) - 80014d6: 699b ldr r3, [r3, #24] - 80014d8: 2201 movs r2, #1 - 80014da: 4013 ands r3, r2 - 80014dc: 60bb str r3, [r7, #8] - 80014de: 68bb ldr r3, [r7, #8] + 8001618: 4b54 ldr r3, [pc, #336] ; (800176c ) + 800161a: 699a ldr r2, [r3, #24] + 800161c: 4b53 ldr r3, [pc, #332] ; (800176c ) + 800161e: 2101 movs r1, #1 + 8001620: 430a orrs r2, r1 + 8001622: 619a str r2, [r3, #24] + 8001624: 4b51 ldr r3, [pc, #324] ; (800176c ) + 8001626: 699b ldr r3, [r3, #24] + 8001628: 2201 movs r2, #1 + 800162a: 4013 ands r3, r2 + 800162c: 60bb str r3, [r7, #8] + 800162e: 68bb ldr r3, [r7, #8] temp = SYSCFG->EXTICR[position >> 2u]; - 80014e0: 4a4f ldr r2, [pc, #316] ; (8001620 ) - 80014e2: 697b ldr r3, [r7, #20] - 80014e4: 089b lsrs r3, r3, #2 - 80014e6: 3302 adds r3, #2 - 80014e8: 009b lsls r3, r3, #2 - 80014ea: 589b ldr r3, [r3, r2] - 80014ec: 613b str r3, [r7, #16] + 8001630: 4a4f ldr r2, [pc, #316] ; (8001770 ) + 8001632: 697b ldr r3, [r7, #20] + 8001634: 089b lsrs r3, r3, #2 + 8001636: 3302 adds r3, #2 + 8001638: 009b lsls r3, r3, #2 + 800163a: 589b ldr r3, [r3, r2] + 800163c: 613b str r3, [r7, #16] temp &= ~(0x0FuL << (4u * (position & 0x03u))); - 80014ee: 697b ldr r3, [r7, #20] - 80014f0: 2203 movs r2, #3 - 80014f2: 4013 ands r3, r2 - 80014f4: 009b lsls r3, r3, #2 - 80014f6: 220f movs r2, #15 - 80014f8: 409a lsls r2, r3 - 80014fa: 0013 movs r3, r2 - 80014fc: 43da mvns r2, r3 - 80014fe: 693b ldr r3, [r7, #16] - 8001500: 4013 ands r3, r2 - 8001502: 613b str r3, [r7, #16] + 800163e: 697b ldr r3, [r7, #20] + 8001640: 2203 movs r2, #3 + 8001642: 4013 ands r3, r2 + 8001644: 009b lsls r3, r3, #2 + 8001646: 220f movs r2, #15 + 8001648: 409a lsls r2, r3 + 800164a: 0013 movs r3, r2 + 800164c: 43da mvns r2, r3 + 800164e: 693b ldr r3, [r7, #16] + 8001650: 4013 ands r3, r2 + 8001652: 613b str r3, [r7, #16] temp |= (GPIO_GET_INDEX(GPIOx) << (4u * (position & 0x03u))); - 8001504: 687a ldr r2, [r7, #4] - 8001506: 2390 movs r3, #144 ; 0x90 - 8001508: 05db lsls r3, r3, #23 - 800150a: 429a cmp r2, r3 - 800150c: d013 beq.n 8001536 - 800150e: 687b ldr r3, [r7, #4] - 8001510: 4a44 ldr r2, [pc, #272] ; (8001624 ) - 8001512: 4293 cmp r3, r2 - 8001514: d00d beq.n 8001532 - 8001516: 687b ldr r3, [r7, #4] - 8001518: 4a43 ldr r2, [pc, #268] ; (8001628 ) - 800151a: 4293 cmp r3, r2 - 800151c: d007 beq.n 800152e - 800151e: 687b ldr r3, [r7, #4] - 8001520: 4a42 ldr r2, [pc, #264] ; (800162c ) - 8001522: 4293 cmp r3, r2 - 8001524: d101 bne.n 800152a - 8001526: 2303 movs r3, #3 - 8001528: e006 b.n 8001538 - 800152a: 2305 movs r3, #5 - 800152c: e004 b.n 8001538 - 800152e: 2302 movs r3, #2 - 8001530: e002 b.n 8001538 - 8001532: 2301 movs r3, #1 - 8001534: e000 b.n 8001538 - 8001536: 2300 movs r3, #0 - 8001538: 697a ldr r2, [r7, #20] - 800153a: 2103 movs r1, #3 - 800153c: 400a ands r2, r1 - 800153e: 0092 lsls r2, r2, #2 - 8001540: 4093 lsls r3, r2 - 8001542: 693a ldr r2, [r7, #16] - 8001544: 4313 orrs r3, r2 - 8001546: 613b str r3, [r7, #16] + 8001654: 687a ldr r2, [r7, #4] + 8001656: 2390 movs r3, #144 ; 0x90 + 8001658: 05db lsls r3, r3, #23 + 800165a: 429a cmp r2, r3 + 800165c: d013 beq.n 8001686 + 800165e: 687b ldr r3, [r7, #4] + 8001660: 4a44 ldr r2, [pc, #272] ; (8001774 ) + 8001662: 4293 cmp r3, r2 + 8001664: d00d beq.n 8001682 + 8001666: 687b ldr r3, [r7, #4] + 8001668: 4a43 ldr r2, [pc, #268] ; (8001778 ) + 800166a: 4293 cmp r3, r2 + 800166c: d007 beq.n 800167e + 800166e: 687b ldr r3, [r7, #4] + 8001670: 4a42 ldr r2, [pc, #264] ; (800177c ) + 8001672: 4293 cmp r3, r2 + 8001674: d101 bne.n 800167a + 8001676: 2303 movs r3, #3 + 8001678: e006 b.n 8001688 + 800167a: 2305 movs r3, #5 + 800167c: e004 b.n 8001688 + 800167e: 2302 movs r3, #2 + 8001680: e002 b.n 8001688 + 8001682: 2301 movs r3, #1 + 8001684: e000 b.n 8001688 + 8001686: 2300 movs r3, #0 + 8001688: 697a ldr r2, [r7, #20] + 800168a: 2103 movs r1, #3 + 800168c: 400a ands r2, r1 + 800168e: 0092 lsls r2, r2, #2 + 8001690: 4093 lsls r3, r2 + 8001692: 693a ldr r2, [r7, #16] + 8001694: 4313 orrs r3, r2 + 8001696: 613b str r3, [r7, #16] SYSCFG->EXTICR[position >> 2u] = temp; - 8001548: 4935 ldr r1, [pc, #212] ; (8001620 ) - 800154a: 697b ldr r3, [r7, #20] - 800154c: 089b lsrs r3, r3, #2 - 800154e: 3302 adds r3, #2 - 8001550: 009b lsls r3, r3, #2 - 8001552: 693a ldr r2, [r7, #16] - 8001554: 505a str r2, [r3, r1] + 8001698: 4935 ldr r1, [pc, #212] ; (8001770 ) + 800169a: 697b ldr r3, [r7, #20] + 800169c: 089b lsrs r3, r3, #2 + 800169e: 3302 adds r3, #2 + 80016a0: 009b lsls r3, r3, #2 + 80016a2: 693a ldr r2, [r7, #16] + 80016a4: 505a str r2, [r3, r1] /* Clear EXTI line configuration */ temp = EXTI->IMR; - 8001556: 4b36 ldr r3, [pc, #216] ; (8001630 ) - 8001558: 681b ldr r3, [r3, #0] - 800155a: 613b str r3, [r7, #16] + 80016a6: 4b36 ldr r3, [pc, #216] ; (8001780 ) + 80016a8: 681b ldr r3, [r3, #0] + 80016aa: 613b str r3, [r7, #16] temp &= ~(iocurrent); - 800155c: 68fb ldr r3, [r7, #12] - 800155e: 43da mvns r2, r3 - 8001560: 693b ldr r3, [r7, #16] - 8001562: 4013 ands r3, r2 - 8001564: 613b str r3, [r7, #16] + 80016ac: 68fb ldr r3, [r7, #12] + 80016ae: 43da mvns r2, r3 + 80016b0: 693b ldr r3, [r7, #16] + 80016b2: 4013 ands r3, r2 + 80016b4: 613b str r3, [r7, #16] if((GPIO_Init->Mode & EXTI_IT) != 0x00u) - 8001566: 683b ldr r3, [r7, #0] - 8001568: 685a ldr r2, [r3, #4] - 800156a: 2380 movs r3, #128 ; 0x80 - 800156c: 025b lsls r3, r3, #9 - 800156e: 4013 ands r3, r2 - 8001570: d003 beq.n 800157a + 80016b6: 683b ldr r3, [r7, #0] + 80016b8: 685a ldr r2, [r3, #4] + 80016ba: 2380 movs r3, #128 ; 0x80 + 80016bc: 025b lsls r3, r3, #9 + 80016be: 4013 ands r3, r2 + 80016c0: d003 beq.n 80016ca { temp |= iocurrent; - 8001572: 693a ldr r2, [r7, #16] - 8001574: 68fb ldr r3, [r7, #12] - 8001576: 4313 orrs r3, r2 - 8001578: 613b str r3, [r7, #16] + 80016c2: 693a ldr r2, [r7, #16] + 80016c4: 68fb ldr r3, [r7, #12] + 80016c6: 4313 orrs r3, r2 + 80016c8: 613b str r3, [r7, #16] } EXTI->IMR = temp; - 800157a: 4b2d ldr r3, [pc, #180] ; (8001630 ) - 800157c: 693a ldr r2, [r7, #16] - 800157e: 601a str r2, [r3, #0] + 80016ca: 4b2d ldr r3, [pc, #180] ; (8001780 ) + 80016cc: 693a ldr r2, [r7, #16] + 80016ce: 601a str r2, [r3, #0] temp = EXTI->EMR; - 8001580: 4b2b ldr r3, [pc, #172] ; (8001630 ) - 8001582: 685b ldr r3, [r3, #4] - 8001584: 613b str r3, [r7, #16] + 80016d0: 4b2b ldr r3, [pc, #172] ; (8001780 ) + 80016d2: 685b ldr r3, [r3, #4] + 80016d4: 613b str r3, [r7, #16] temp &= ~(iocurrent); - 8001586: 68fb ldr r3, [r7, #12] - 8001588: 43da mvns r2, r3 - 800158a: 693b ldr r3, [r7, #16] - 800158c: 4013 ands r3, r2 - 800158e: 613b str r3, [r7, #16] + 80016d6: 68fb ldr r3, [r7, #12] + 80016d8: 43da mvns r2, r3 + 80016da: 693b ldr r3, [r7, #16] + 80016dc: 4013 ands r3, r2 + 80016de: 613b str r3, [r7, #16] if((GPIO_Init->Mode & EXTI_EVT) != 0x00u) - 8001590: 683b ldr r3, [r7, #0] - 8001592: 685a ldr r2, [r3, #4] - 8001594: 2380 movs r3, #128 ; 0x80 - 8001596: 029b lsls r3, r3, #10 - 8001598: 4013 ands r3, r2 - 800159a: d003 beq.n 80015a4 + 80016e0: 683b ldr r3, [r7, #0] + 80016e2: 685a ldr r2, [r3, #4] + 80016e4: 2380 movs r3, #128 ; 0x80 + 80016e6: 029b lsls r3, r3, #10 + 80016e8: 4013 ands r3, r2 + 80016ea: d003 beq.n 80016f4 { temp |= iocurrent; - 800159c: 693a ldr r2, [r7, #16] - 800159e: 68fb ldr r3, [r7, #12] - 80015a0: 4313 orrs r3, r2 - 80015a2: 613b str r3, [r7, #16] + 80016ec: 693a ldr r2, [r7, #16] + 80016ee: 68fb ldr r3, [r7, #12] + 80016f0: 4313 orrs r3, r2 + 80016f2: 613b str r3, [r7, #16] } EXTI->EMR = temp; - 80015a4: 4b22 ldr r3, [pc, #136] ; (8001630 ) - 80015a6: 693a ldr r2, [r7, #16] - 80015a8: 605a str r2, [r3, #4] + 80016f4: 4b22 ldr r3, [pc, #136] ; (8001780 ) + 80016f6: 693a ldr r2, [r7, #16] + 80016f8: 605a str r2, [r3, #4] /* Clear Rising Falling edge configuration */ temp = EXTI->RTSR; - 80015aa: 4b21 ldr r3, [pc, #132] ; (8001630 ) - 80015ac: 689b ldr r3, [r3, #8] - 80015ae: 613b str r3, [r7, #16] + 80016fa: 4b21 ldr r3, [pc, #132] ; (8001780 ) + 80016fc: 689b ldr r3, [r3, #8] + 80016fe: 613b str r3, [r7, #16] temp &= ~(iocurrent); - 80015b0: 68fb ldr r3, [r7, #12] - 80015b2: 43da mvns r2, r3 - 80015b4: 693b ldr r3, [r7, #16] - 80015b6: 4013 ands r3, r2 - 80015b8: 613b str r3, [r7, #16] + 8001700: 68fb ldr r3, [r7, #12] + 8001702: 43da mvns r2, r3 + 8001704: 693b ldr r3, [r7, #16] + 8001706: 4013 ands r3, r2 + 8001708: 613b str r3, [r7, #16] if((GPIO_Init->Mode & TRIGGER_RISING) != 0x00u) - 80015ba: 683b ldr r3, [r7, #0] - 80015bc: 685a ldr r2, [r3, #4] - 80015be: 2380 movs r3, #128 ; 0x80 - 80015c0: 035b lsls r3, r3, #13 - 80015c2: 4013 ands r3, r2 - 80015c4: d003 beq.n 80015ce + 800170a: 683b ldr r3, [r7, #0] + 800170c: 685a ldr r2, [r3, #4] + 800170e: 2380 movs r3, #128 ; 0x80 + 8001710: 035b lsls r3, r3, #13 + 8001712: 4013 ands r3, r2 + 8001714: d003 beq.n 800171e { temp |= iocurrent; - 80015c6: 693a ldr r2, [r7, #16] - 80015c8: 68fb ldr r3, [r7, #12] - 80015ca: 4313 orrs r3, r2 - 80015cc: 613b str r3, [r7, #16] + 8001716: 693a ldr r2, [r7, #16] + 8001718: 68fb ldr r3, [r7, #12] + 800171a: 4313 orrs r3, r2 + 800171c: 613b str r3, [r7, #16] } EXTI->RTSR = temp; - 80015ce: 4b18 ldr r3, [pc, #96] ; (8001630 ) - 80015d0: 693a ldr r2, [r7, #16] - 80015d2: 609a str r2, [r3, #8] + 800171e: 4b18 ldr r3, [pc, #96] ; (8001780 ) + 8001720: 693a ldr r2, [r7, #16] + 8001722: 609a str r2, [r3, #8] temp = EXTI->FTSR; - 80015d4: 4b16 ldr r3, [pc, #88] ; (8001630 ) - 80015d6: 68db ldr r3, [r3, #12] - 80015d8: 613b str r3, [r7, #16] + 8001724: 4b16 ldr r3, [pc, #88] ; (8001780 ) + 8001726: 68db ldr r3, [r3, #12] + 8001728: 613b str r3, [r7, #16] temp &= ~(iocurrent); - 80015da: 68fb ldr r3, [r7, #12] - 80015dc: 43da mvns r2, r3 - 80015de: 693b ldr r3, [r7, #16] - 80015e0: 4013 ands r3, r2 - 80015e2: 613b str r3, [r7, #16] + 800172a: 68fb ldr r3, [r7, #12] + 800172c: 43da mvns r2, r3 + 800172e: 693b ldr r3, [r7, #16] + 8001730: 4013 ands r3, r2 + 8001732: 613b str r3, [r7, #16] if((GPIO_Init->Mode & TRIGGER_FALLING) != 0x00u) - 80015e4: 683b ldr r3, [r7, #0] - 80015e6: 685a ldr r2, [r3, #4] - 80015e8: 2380 movs r3, #128 ; 0x80 - 80015ea: 039b lsls r3, r3, #14 - 80015ec: 4013 ands r3, r2 - 80015ee: d003 beq.n 80015f8 + 8001734: 683b ldr r3, [r7, #0] + 8001736: 685a ldr r2, [r3, #4] + 8001738: 2380 movs r3, #128 ; 0x80 + 800173a: 039b lsls r3, r3, #14 + 800173c: 4013 ands r3, r2 + 800173e: d003 beq.n 8001748 { temp |= iocurrent; - 80015f0: 693a ldr r2, [r7, #16] - 80015f2: 68fb ldr r3, [r7, #12] - 80015f4: 4313 orrs r3, r2 - 80015f6: 613b str r3, [r7, #16] + 8001740: 693a ldr r2, [r7, #16] + 8001742: 68fb ldr r3, [r7, #12] + 8001744: 4313 orrs r3, r2 + 8001746: 613b str r3, [r7, #16] } EXTI->FTSR = temp; - 80015f8: 4b0d ldr r3, [pc, #52] ; (8001630 ) - 80015fa: 693a ldr r2, [r7, #16] - 80015fc: 60da str r2, [r3, #12] + 8001748: 4b0d ldr r3, [pc, #52] ; (8001780 ) + 800174a: 693a ldr r2, [r7, #16] + 800174c: 60da str r2, [r3, #12] } } position++; - 80015fe: 697b ldr r3, [r7, #20] - 8001600: 3301 adds r3, #1 - 8001602: 617b str r3, [r7, #20] + 800174e: 697b ldr r3, [r7, #20] + 8001750: 3301 adds r3, #1 + 8001752: 617b str r3, [r7, #20] while (((GPIO_Init->Pin) >> position) != 0x00u) - 8001604: 683b ldr r3, [r7, #0] - 8001606: 681a ldr r2, [r3, #0] - 8001608: 697b ldr r3, [r7, #20] - 800160a: 40da lsrs r2, r3 - 800160c: 1e13 subs r3, r2, #0 - 800160e: d000 beq.n 8001612 - 8001610: e6a8 b.n 8001364 + 8001754: 683b ldr r3, [r7, #0] + 8001756: 681a ldr r2, [r3, #0] + 8001758: 697b ldr r3, [r7, #20] + 800175a: 40da lsrs r2, r3 + 800175c: 1e13 subs r3, r2, #0 + 800175e: d000 beq.n 8001762 + 8001760: e6a8 b.n 80014b4 } } - 8001612: 46c0 nop ; (mov r8, r8) - 8001614: 46c0 nop ; (mov r8, r8) - 8001616: 46bd mov sp, r7 - 8001618: b006 add sp, #24 - 800161a: bd80 pop {r7, pc} - 800161c: 40021000 .word 0x40021000 - 8001620: 40010000 .word 0x40010000 - 8001624: 48000400 .word 0x48000400 - 8001628: 48000800 .word 0x48000800 - 800162c: 48000c00 .word 0x48000c00 - 8001630: 40010400 .word 0x40010400 + 8001762: 46c0 nop ; (mov r8, r8) + 8001764: 46c0 nop ; (mov r8, r8) + 8001766: 46bd mov sp, r7 + 8001768: b006 add sp, #24 + 800176a: bd80 pop {r7, pc} + 800176c: 40021000 .word 0x40021000 + 8001770: 40010000 .word 0x40010000 + 8001774: 48000400 .word 0x48000400 + 8001778: 48000800 .word 0x48000800 + 800177c: 48000c00 .word 0x48000c00 + 8001780: 40010400 .word 0x40010400 -08001634 : +08001784 : + * @param GPIO_Pin specifies the port bit to read. + * This parameter can be GPIO_PIN_x where x can be (0..15). + * @retval The input port pin value. + */ +GPIO_PinState HAL_GPIO_ReadPin(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin) +{ + 8001784: b580 push {r7, lr} + 8001786: b084 sub sp, #16 + 8001788: af00 add r7, sp, #0 + 800178a: 6078 str r0, [r7, #4] + 800178c: 000a movs r2, r1 + 800178e: 1cbb adds r3, r7, #2 + 8001790: 801a strh r2, [r3, #0] + GPIO_PinState bitstatus; + + /* Check the parameters */ + assert_param(IS_GPIO_PIN(GPIO_Pin)); + + if ((GPIOx->IDR & GPIO_Pin) != (uint32_t)GPIO_PIN_RESET) + 8001792: 687b ldr r3, [r7, #4] + 8001794: 691b ldr r3, [r3, #16] + 8001796: 1cba adds r2, r7, #2 + 8001798: 8812 ldrh r2, [r2, #0] + 800179a: 4013 ands r3, r2 + 800179c: d004 beq.n 80017a8 + { + bitstatus = GPIO_PIN_SET; + 800179e: 230f movs r3, #15 + 80017a0: 18fb adds r3, r7, r3 + 80017a2: 2201 movs r2, #1 + 80017a4: 701a strb r2, [r3, #0] + 80017a6: e003 b.n 80017b0 + } + else + { + bitstatus = GPIO_PIN_RESET; + 80017a8: 230f movs r3, #15 + 80017aa: 18fb adds r3, r7, r3 + 80017ac: 2200 movs r2, #0 + 80017ae: 701a strb r2, [r3, #0] + } + return bitstatus; + 80017b0: 230f movs r3, #15 + 80017b2: 18fb adds r3, r7, r3 + 80017b4: 781b ldrb r3, [r3, #0] + } + 80017b6: 0018 movs r0, r3 + 80017b8: 46bd mov sp, r7 + 80017ba: b004 add sp, #16 + 80017bc: bd80 pop {r7, pc} + +080017be : * @arg GPIO_PIN_RESET: to clear the port pin * @arg GPIO_PIN_SET: to set the port pin * @retval None */ void HAL_GPIO_WritePin(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin, GPIO_PinState PinState) { - 8001634: b580 push {r7, lr} - 8001636: b082 sub sp, #8 - 8001638: af00 add r7, sp, #0 - 800163a: 6078 str r0, [r7, #4] - 800163c: 0008 movs r0, r1 - 800163e: 0011 movs r1, r2 - 8001640: 1cbb adds r3, r7, #2 - 8001642: 1c02 adds r2, r0, #0 - 8001644: 801a strh r2, [r3, #0] - 8001646: 1c7b adds r3, r7, #1 - 8001648: 1c0a adds r2, r1, #0 - 800164a: 701a strb r2, [r3, #0] + 80017be: b580 push {r7, lr} + 80017c0: b082 sub sp, #8 + 80017c2: af00 add r7, sp, #0 + 80017c4: 6078 str r0, [r7, #4] + 80017c6: 0008 movs r0, r1 + 80017c8: 0011 movs r1, r2 + 80017ca: 1cbb adds r3, r7, #2 + 80017cc: 1c02 adds r2, r0, #0 + 80017ce: 801a strh r2, [r3, #0] + 80017d0: 1c7b adds r3, r7, #1 + 80017d2: 1c0a adds r2, r1, #0 + 80017d4: 701a strb r2, [r3, #0] /* Check the parameters */ assert_param(IS_GPIO_PIN(GPIO_Pin)); assert_param(IS_GPIO_PIN_ACTION(PinState)); if (PinState != GPIO_PIN_RESET) - 800164c: 1c7b adds r3, r7, #1 - 800164e: 781b ldrb r3, [r3, #0] - 8001650: 2b00 cmp r3, #0 - 8001652: d004 beq.n 800165e + 80017d6: 1c7b adds r3, r7, #1 + 80017d8: 781b ldrb r3, [r3, #0] + 80017da: 2b00 cmp r3, #0 + 80017dc: d004 beq.n 80017e8 { GPIOx->BSRR = (uint32_t)GPIO_Pin; - 8001654: 1cbb adds r3, r7, #2 - 8001656: 881a ldrh r2, [r3, #0] - 8001658: 687b ldr r3, [r7, #4] - 800165a: 619a str r2, [r3, #24] + 80017de: 1cbb adds r3, r7, #2 + 80017e0: 881a ldrh r2, [r3, #0] + 80017e2: 687b ldr r3, [r7, #4] + 80017e4: 619a str r2, [r3, #24] } else { GPIOx->BRR = (uint32_t)GPIO_Pin; } } - 800165c: e003 b.n 8001666 + 80017e6: e003 b.n 80017f0 GPIOx->BRR = (uint32_t)GPIO_Pin; - 800165e: 1cbb adds r3, r7, #2 - 8001660: 881a ldrh r2, [r3, #0] - 8001662: 687b ldr r3, [r7, #4] - 8001664: 629a str r2, [r3, #40] ; 0x28 + 80017e8: 1cbb adds r3, r7, #2 + 80017ea: 881a ldrh r2, [r3, #0] + 80017ec: 687b ldr r3, [r7, #4] + 80017ee: 629a str r2, [r3, #40] ; 0x28 } - 8001666: 46c0 nop ; (mov r8, r8) - 8001668: 46bd mov sp, r7 - 800166a: b002 add sp, #8 - 800166c: bd80 pop {r7, pc} - ... + 80017f0: 46c0 nop ; (mov r8, r8) + 80017f2: 46bd mov sp, r7 + 80017f4: b002 add sp, #8 + 80017f6: bd80 pop {r7, pc} -08001670 : +080017f8 : + * @brief Handle EXTI interrupt request. + * @param GPIO_Pin Specifies the port pin connected to corresponding EXTI line. + * @retval None + */ +void HAL_GPIO_EXTI_IRQHandler(uint16_t GPIO_Pin) +{ + 80017f8: b580 push {r7, lr} + 80017fa: b082 sub sp, #8 + 80017fc: af00 add r7, sp, #0 + 80017fe: 0002 movs r2, r0 + 8001800: 1dbb adds r3, r7, #6 + 8001802: 801a strh r2, [r3, #0] + /* EXTI line interrupt detected */ + if(__HAL_GPIO_EXTI_GET_IT(GPIO_Pin) != 0x00u) + 8001804: 4b09 ldr r3, [pc, #36] ; (800182c ) + 8001806: 695b ldr r3, [r3, #20] + 8001808: 1dba adds r2, r7, #6 + 800180a: 8812 ldrh r2, [r2, #0] + 800180c: 4013 ands r3, r2 + 800180e: d008 beq.n 8001822 + { + __HAL_GPIO_EXTI_CLEAR_IT(GPIO_Pin); + 8001810: 4b06 ldr r3, [pc, #24] ; (800182c ) + 8001812: 1dba adds r2, r7, #6 + 8001814: 8812 ldrh r2, [r2, #0] + 8001816: 615a str r2, [r3, #20] + HAL_GPIO_EXTI_Callback(GPIO_Pin); + 8001818: 1dbb adds r3, r7, #6 + 800181a: 881b ldrh r3, [r3, #0] + 800181c: 0018 movs r0, r3 + 800181e: f002 f8ab bl 8003978 + } +} + 8001822: 46c0 nop ; (mov r8, r8) + 8001824: 46bd mov sp, r7 + 8001826: b002 add sp, #8 + 8001828: bd80 pop {r7, pc} + 800182a: 46c0 nop ; (mov r8, r8) + 800182c: 40010400 .word 0x40010400 + +08001830 : * supported by this macro. User should request a transition to HSE Off * first and then HSE On or HSE Bypass. * @retval HAL status */ HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct) { - 8001670: b580 push {r7, lr} - 8001672: b088 sub sp, #32 - 8001674: af00 add r7, sp, #0 - 8001676: 6078 str r0, [r7, #4] + 8001830: b580 push {r7, lr} + 8001832: b088 sub sp, #32 + 8001834: af00 add r7, sp, #0 + 8001836: 6078 str r0, [r7, #4] uint32_t tickstart; uint32_t pll_config; uint32_t pll_config2; /* Check Null pointer */ if(RCC_OscInitStruct == NULL) - 8001678: 687b ldr r3, [r7, #4] - 800167a: 2b00 cmp r3, #0 - 800167c: d101 bne.n 8001682 + 8001838: 687b ldr r3, [r7, #4] + 800183a: 2b00 cmp r3, #0 + 800183c: d101 bne.n 8001842 { return HAL_ERROR; - 800167e: 2301 movs r3, #1 - 8001680: e301 b.n 8001c86 + 800183e: 2301 movs r3, #1 + 8001840: e301 b.n 8001e46 /* Check the parameters */ assert_param(IS_RCC_OSCILLATORTYPE(RCC_OscInitStruct->OscillatorType)); /*------------------------------- HSE Configuration ------------------------*/ if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSE) == RCC_OSCILLATORTYPE_HSE) - 8001682: 687b ldr r3, [r7, #4] - 8001684: 681b ldr r3, [r3, #0] - 8001686: 2201 movs r2, #1 - 8001688: 4013 ands r3, r2 - 800168a: d100 bne.n 800168e - 800168c: e08d b.n 80017aa + 8001842: 687b ldr r3, [r7, #4] + 8001844: 681b ldr r3, [r3, #0] + 8001846: 2201 movs r2, #1 + 8001848: 4013 ands r3, r2 + 800184a: d100 bne.n 800184e + 800184c: e08d b.n 800196a { /* Check the parameters */ assert_param(IS_RCC_HSE(RCC_OscInitStruct->HSEState)); /* When the HSE is used as system clock or clock source for PLL in these cases it is not allowed to be disabled */ if((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_HSE) - 800168e: 4bc3 ldr r3, [pc, #780] ; (800199c ) - 8001690: 685b ldr r3, [r3, #4] - 8001692: 220c movs r2, #12 - 8001694: 4013 ands r3, r2 - 8001696: 2b04 cmp r3, #4 - 8001698: d00e beq.n 80016b8 + 800184e: 4bc3 ldr r3, [pc, #780] ; (8001b5c ) + 8001850: 685b ldr r3, [r3, #4] + 8001852: 220c movs r2, #12 + 8001854: 4013 ands r3, r2 + 8001856: 2b04 cmp r3, #4 + 8001858: d00e beq.n 8001878 || ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_PLLCLK) && (__HAL_RCC_GET_PLL_OSCSOURCE() == RCC_PLLSOURCE_HSE))) - 800169a: 4bc0 ldr r3, [pc, #768] ; (800199c ) - 800169c: 685b ldr r3, [r3, #4] - 800169e: 220c movs r2, #12 - 80016a0: 4013 ands r3, r2 - 80016a2: 2b08 cmp r3, #8 - 80016a4: d116 bne.n 80016d4 - 80016a6: 4bbd ldr r3, [pc, #756] ; (800199c ) - 80016a8: 685a ldr r2, [r3, #4] - 80016aa: 2380 movs r3, #128 ; 0x80 - 80016ac: 025b lsls r3, r3, #9 - 80016ae: 401a ands r2, r3 - 80016b0: 2380 movs r3, #128 ; 0x80 - 80016b2: 025b lsls r3, r3, #9 - 80016b4: 429a cmp r2, r3 - 80016b6: d10d bne.n 80016d4 + 800185a: 4bc0 ldr r3, [pc, #768] ; (8001b5c ) + 800185c: 685b ldr r3, [r3, #4] + 800185e: 220c movs r2, #12 + 8001860: 4013 ands r3, r2 + 8001862: 2b08 cmp r3, #8 + 8001864: d116 bne.n 8001894 + 8001866: 4bbd ldr r3, [pc, #756] ; (8001b5c ) + 8001868: 685a ldr r2, [r3, #4] + 800186a: 2380 movs r3, #128 ; 0x80 + 800186c: 025b lsls r3, r3, #9 + 800186e: 401a ands r2, r3 + 8001870: 2380 movs r3, #128 ; 0x80 + 8001872: 025b lsls r3, r3, #9 + 8001874: 429a cmp r2, r3 + 8001876: d10d bne.n 8001894 { if((__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) && (RCC_OscInitStruct->HSEState == RCC_HSE_OFF)) - 80016b8: 4bb8 ldr r3, [pc, #736] ; (800199c ) - 80016ba: 681a ldr r2, [r3, #0] - 80016bc: 2380 movs r3, #128 ; 0x80 - 80016be: 029b lsls r3, r3, #10 - 80016c0: 4013 ands r3, r2 - 80016c2: d100 bne.n 80016c6 - 80016c4: e070 b.n 80017a8 - 80016c6: 687b ldr r3, [r7, #4] - 80016c8: 685b ldr r3, [r3, #4] - 80016ca: 2b00 cmp r3, #0 - 80016cc: d000 beq.n 80016d0 - 80016ce: e06b b.n 80017a8 + 8001878: 4bb8 ldr r3, [pc, #736] ; (8001b5c ) + 800187a: 681a ldr r2, [r3, #0] + 800187c: 2380 movs r3, #128 ; 0x80 + 800187e: 029b lsls r3, r3, #10 + 8001880: 4013 ands r3, r2 + 8001882: d100 bne.n 8001886 + 8001884: e070 b.n 8001968 + 8001886: 687b ldr r3, [r7, #4] + 8001888: 685b ldr r3, [r3, #4] + 800188a: 2b00 cmp r3, #0 + 800188c: d000 beq.n 8001890 + 800188e: e06b b.n 8001968 { return HAL_ERROR; - 80016d0: 2301 movs r3, #1 - 80016d2: e2d8 b.n 8001c86 + 8001890: 2301 movs r3, #1 + 8001892: e2d8 b.n 8001e46 } } else { /* Set the new HSE configuration ---------------------------------------*/ __HAL_RCC_HSE_CONFIG(RCC_OscInitStruct->HSEState); - 80016d4: 687b ldr r3, [r7, #4] - 80016d6: 685b ldr r3, [r3, #4] - 80016d8: 2b01 cmp r3, #1 - 80016da: d107 bne.n 80016ec - 80016dc: 4baf ldr r3, [pc, #700] ; (800199c ) - 80016de: 681a ldr r2, [r3, #0] - 80016e0: 4bae ldr r3, [pc, #696] ; (800199c ) - 80016e2: 2180 movs r1, #128 ; 0x80 - 80016e4: 0249 lsls r1, r1, #9 - 80016e6: 430a orrs r2, r1 - 80016e8: 601a str r2, [r3, #0] - 80016ea: e02f b.n 800174c - 80016ec: 687b ldr r3, [r7, #4] - 80016ee: 685b ldr r3, [r3, #4] - 80016f0: 2b00 cmp r3, #0 - 80016f2: d10c bne.n 800170e - 80016f4: 4ba9 ldr r3, [pc, #676] ; (800199c ) - 80016f6: 681a ldr r2, [r3, #0] - 80016f8: 4ba8 ldr r3, [pc, #672] ; (800199c ) - 80016fa: 49a9 ldr r1, [pc, #676] ; (80019a0 ) - 80016fc: 400a ands r2, r1 - 80016fe: 601a str r2, [r3, #0] - 8001700: 4ba6 ldr r3, [pc, #664] ; (800199c ) - 8001702: 681a ldr r2, [r3, #0] - 8001704: 4ba5 ldr r3, [pc, #660] ; (800199c ) - 8001706: 49a7 ldr r1, [pc, #668] ; (80019a4 ) - 8001708: 400a ands r2, r1 - 800170a: 601a str r2, [r3, #0] - 800170c: e01e b.n 800174c - 800170e: 687b ldr r3, [r7, #4] - 8001710: 685b ldr r3, [r3, #4] - 8001712: 2b05 cmp r3, #5 - 8001714: d10e bne.n 8001734 - 8001716: 4ba1 ldr r3, [pc, #644] ; (800199c ) - 8001718: 681a ldr r2, [r3, #0] - 800171a: 4ba0 ldr r3, [pc, #640] ; (800199c ) - 800171c: 2180 movs r1, #128 ; 0x80 - 800171e: 02c9 lsls r1, r1, #11 - 8001720: 430a orrs r2, r1 - 8001722: 601a str r2, [r3, #0] - 8001724: 4b9d ldr r3, [pc, #628] ; (800199c ) - 8001726: 681a ldr r2, [r3, #0] - 8001728: 4b9c ldr r3, [pc, #624] ; (800199c ) - 800172a: 2180 movs r1, #128 ; 0x80 - 800172c: 0249 lsls r1, r1, #9 - 800172e: 430a orrs r2, r1 - 8001730: 601a str r2, [r3, #0] - 8001732: e00b b.n 800174c - 8001734: 4b99 ldr r3, [pc, #612] ; (800199c ) - 8001736: 681a ldr r2, [r3, #0] - 8001738: 4b98 ldr r3, [pc, #608] ; (800199c ) - 800173a: 4999 ldr r1, [pc, #612] ; (80019a0 ) - 800173c: 400a ands r2, r1 - 800173e: 601a str r2, [r3, #0] - 8001740: 4b96 ldr r3, [pc, #600] ; (800199c ) - 8001742: 681a ldr r2, [r3, #0] - 8001744: 4b95 ldr r3, [pc, #596] ; (800199c ) - 8001746: 4997 ldr r1, [pc, #604] ; (80019a4 ) - 8001748: 400a ands r2, r1 - 800174a: 601a str r2, [r3, #0] + 8001894: 687b ldr r3, [r7, #4] + 8001896: 685b ldr r3, [r3, #4] + 8001898: 2b01 cmp r3, #1 + 800189a: d107 bne.n 80018ac + 800189c: 4baf ldr r3, [pc, #700] ; (8001b5c ) + 800189e: 681a ldr r2, [r3, #0] + 80018a0: 4bae ldr r3, [pc, #696] ; (8001b5c ) + 80018a2: 2180 movs r1, #128 ; 0x80 + 80018a4: 0249 lsls r1, r1, #9 + 80018a6: 430a orrs r2, r1 + 80018a8: 601a str r2, [r3, #0] + 80018aa: e02f b.n 800190c + 80018ac: 687b ldr r3, [r7, #4] + 80018ae: 685b ldr r3, [r3, #4] + 80018b0: 2b00 cmp r3, #0 + 80018b2: d10c bne.n 80018ce + 80018b4: 4ba9 ldr r3, [pc, #676] ; (8001b5c ) + 80018b6: 681a ldr r2, [r3, #0] + 80018b8: 4ba8 ldr r3, [pc, #672] ; (8001b5c ) + 80018ba: 49a9 ldr r1, [pc, #676] ; (8001b60 ) + 80018bc: 400a ands r2, r1 + 80018be: 601a str r2, [r3, #0] + 80018c0: 4ba6 ldr r3, [pc, #664] ; (8001b5c ) + 80018c2: 681a ldr r2, [r3, #0] + 80018c4: 4ba5 ldr r3, [pc, #660] ; (8001b5c ) + 80018c6: 49a7 ldr r1, [pc, #668] ; (8001b64 ) + 80018c8: 400a ands r2, r1 + 80018ca: 601a str r2, [r3, #0] + 80018cc: e01e b.n 800190c + 80018ce: 687b ldr r3, [r7, #4] + 80018d0: 685b ldr r3, [r3, #4] + 80018d2: 2b05 cmp r3, #5 + 80018d4: d10e bne.n 80018f4 + 80018d6: 4ba1 ldr r3, [pc, #644] ; (8001b5c ) + 80018d8: 681a ldr r2, [r3, #0] + 80018da: 4ba0 ldr r3, [pc, #640] ; (8001b5c ) + 80018dc: 2180 movs r1, #128 ; 0x80 + 80018de: 02c9 lsls r1, r1, #11 + 80018e0: 430a orrs r2, r1 + 80018e2: 601a str r2, [r3, #0] + 80018e4: 4b9d ldr r3, [pc, #628] ; (8001b5c ) + 80018e6: 681a ldr r2, [r3, #0] + 80018e8: 4b9c ldr r3, [pc, #624] ; (8001b5c ) + 80018ea: 2180 movs r1, #128 ; 0x80 + 80018ec: 0249 lsls r1, r1, #9 + 80018ee: 430a orrs r2, r1 + 80018f0: 601a str r2, [r3, #0] + 80018f2: e00b b.n 800190c + 80018f4: 4b99 ldr r3, [pc, #612] ; (8001b5c ) + 80018f6: 681a ldr r2, [r3, #0] + 80018f8: 4b98 ldr r3, [pc, #608] ; (8001b5c ) + 80018fa: 4999 ldr r1, [pc, #612] ; (8001b60 ) + 80018fc: 400a ands r2, r1 + 80018fe: 601a str r2, [r3, #0] + 8001900: 4b96 ldr r3, [pc, #600] ; (8001b5c ) + 8001902: 681a ldr r2, [r3, #0] + 8001904: 4b95 ldr r3, [pc, #596] ; (8001b5c ) + 8001906: 4997 ldr r1, [pc, #604] ; (8001b64 ) + 8001908: 400a ands r2, r1 + 800190a: 601a str r2, [r3, #0] /* Check the HSE State */ if(RCC_OscInitStruct->HSEState != RCC_HSE_OFF) - 800174c: 687b ldr r3, [r7, #4] - 800174e: 685b ldr r3, [r3, #4] - 8001750: 2b00 cmp r3, #0 - 8001752: d014 beq.n 800177e + 800190c: 687b ldr r3, [r7, #4] + 800190e: 685b ldr r3, [r3, #4] + 8001910: 2b00 cmp r3, #0 + 8001912: d014 beq.n 800193e { /* Get Start Tick */ tickstart = HAL_GetTick(); - 8001754: f7ff f890 bl 8000878 - 8001758: 0003 movs r3, r0 - 800175a: 61bb str r3, [r7, #24] + 8001914: f7ff f82e bl 8000974 + 8001918: 0003 movs r3, r0 + 800191a: 61bb str r3, [r7, #24] /* Wait till HSE is ready */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET) - 800175c: e008 b.n 8001770 + 800191c: e008 b.n 8001930 { if((HAL_GetTick() - tickstart ) > HSE_TIMEOUT_VALUE) - 800175e: f7ff f88b bl 8000878 - 8001762: 0002 movs r2, r0 - 8001764: 69bb ldr r3, [r7, #24] - 8001766: 1ad3 subs r3, r2, r3 - 8001768: 2b64 cmp r3, #100 ; 0x64 - 800176a: d901 bls.n 8001770 + 800191e: f7ff f829 bl 8000974 + 8001922: 0002 movs r2, r0 + 8001924: 69bb ldr r3, [r7, #24] + 8001926: 1ad3 subs r3, r2, r3 + 8001928: 2b64 cmp r3, #100 ; 0x64 + 800192a: d901 bls.n 8001930 { return HAL_TIMEOUT; - 800176c: 2303 movs r3, #3 - 800176e: e28a b.n 8001c86 + 800192c: 2303 movs r3, #3 + 800192e: e28a b.n 8001e46 while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET) - 8001770: 4b8a ldr r3, [pc, #552] ; (800199c ) - 8001772: 681a ldr r2, [r3, #0] - 8001774: 2380 movs r3, #128 ; 0x80 - 8001776: 029b lsls r3, r3, #10 - 8001778: 4013 ands r3, r2 - 800177a: d0f0 beq.n 800175e - 800177c: e015 b.n 80017aa + 8001930: 4b8a ldr r3, [pc, #552] ; (8001b5c ) + 8001932: 681a ldr r2, [r3, #0] + 8001934: 2380 movs r3, #128 ; 0x80 + 8001936: 029b lsls r3, r3, #10 + 8001938: 4013 ands r3, r2 + 800193a: d0f0 beq.n 800191e + 800193c: e015 b.n 800196a } } else { /* Get Start Tick */ tickstart = HAL_GetTick(); - 800177e: f7ff f87b bl 8000878 - 8001782: 0003 movs r3, r0 - 8001784: 61bb str r3, [r7, #24] + 800193e: f7ff f819 bl 8000974 + 8001942: 0003 movs r3, r0 + 8001944: 61bb str r3, [r7, #24] /* Wait till HSE is disabled */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) - 8001786: e008 b.n 800179a + 8001946: e008 b.n 800195a { if((HAL_GetTick() - tickstart ) > HSE_TIMEOUT_VALUE) - 8001788: f7ff f876 bl 8000878 - 800178c: 0002 movs r2, r0 - 800178e: 69bb ldr r3, [r7, #24] - 8001790: 1ad3 subs r3, r2, r3 - 8001792: 2b64 cmp r3, #100 ; 0x64 - 8001794: d901 bls.n 800179a + 8001948: f7ff f814 bl 8000974 + 800194c: 0002 movs r2, r0 + 800194e: 69bb ldr r3, [r7, #24] + 8001950: 1ad3 subs r3, r2, r3 + 8001952: 2b64 cmp r3, #100 ; 0x64 + 8001954: d901 bls.n 800195a { return HAL_TIMEOUT; - 8001796: 2303 movs r3, #3 - 8001798: e275 b.n 8001c86 + 8001956: 2303 movs r3, #3 + 8001958: e275 b.n 8001e46 while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) - 800179a: 4b80 ldr r3, [pc, #512] ; (800199c ) - 800179c: 681a ldr r2, [r3, #0] - 800179e: 2380 movs r3, #128 ; 0x80 - 80017a0: 029b lsls r3, r3, #10 - 80017a2: 4013 ands r3, r2 - 80017a4: d1f0 bne.n 8001788 - 80017a6: e000 b.n 80017aa + 800195a: 4b80 ldr r3, [pc, #512] ; (8001b5c ) + 800195c: 681a ldr r2, [r3, #0] + 800195e: 2380 movs r3, #128 ; 0x80 + 8001960: 029b lsls r3, r3, #10 + 8001962: 4013 ands r3, r2 + 8001964: d1f0 bne.n 8001948 + 8001966: e000 b.n 800196a if((__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) && (RCC_OscInitStruct->HSEState == RCC_HSE_OFF)) - 80017a8: 46c0 nop ; (mov r8, r8) + 8001968: 46c0 nop ; (mov r8, r8) } } } } /*----------------------------- HSI Configuration --------------------------*/ if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSI) == RCC_OSCILLATORTYPE_HSI) - 80017aa: 687b ldr r3, [r7, #4] - 80017ac: 681b ldr r3, [r3, #0] - 80017ae: 2202 movs r2, #2 - 80017b0: 4013 ands r3, r2 - 80017b2: d100 bne.n 80017b6 - 80017b4: e069 b.n 800188a + 800196a: 687b ldr r3, [r7, #4] + 800196c: 681b ldr r3, [r3, #0] + 800196e: 2202 movs r2, #2 + 8001970: 4013 ands r3, r2 + 8001972: d100 bne.n 8001976 + 8001974: e069 b.n 8001a4a /* Check the parameters */ assert_param(IS_RCC_HSI(RCC_OscInitStruct->HSIState)); assert_param(IS_RCC_CALIBRATION_VALUE(RCC_OscInitStruct->HSICalibrationValue)); /* Check if HSI is used as system clock or as PLL source when PLL is selected as system clock */ if((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_HSI) - 80017b6: 4b79 ldr r3, [pc, #484] ; (800199c ) - 80017b8: 685b ldr r3, [r3, #4] - 80017ba: 220c movs r2, #12 - 80017bc: 4013 ands r3, r2 - 80017be: d00b beq.n 80017d8 + 8001976: 4b79 ldr r3, [pc, #484] ; (8001b5c ) + 8001978: 685b ldr r3, [r3, #4] + 800197a: 220c movs r2, #12 + 800197c: 4013 ands r3, r2 + 800197e: d00b beq.n 8001998 || ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_PLLCLK) && (__HAL_RCC_GET_PLL_OSCSOURCE() == RCC_PLLSOURCE_HSI))) - 80017c0: 4b76 ldr r3, [pc, #472] ; (800199c ) - 80017c2: 685b ldr r3, [r3, #4] - 80017c4: 220c movs r2, #12 - 80017c6: 4013 ands r3, r2 - 80017c8: 2b08 cmp r3, #8 - 80017ca: d11c bne.n 8001806 - 80017cc: 4b73 ldr r3, [pc, #460] ; (800199c ) - 80017ce: 685a ldr r2, [r3, #4] - 80017d0: 2380 movs r3, #128 ; 0x80 - 80017d2: 025b lsls r3, r3, #9 - 80017d4: 4013 ands r3, r2 - 80017d6: d116 bne.n 8001806 + 8001980: 4b76 ldr r3, [pc, #472] ; (8001b5c ) + 8001982: 685b ldr r3, [r3, #4] + 8001984: 220c movs r2, #12 + 8001986: 4013 ands r3, r2 + 8001988: 2b08 cmp r3, #8 + 800198a: d11c bne.n 80019c6 + 800198c: 4b73 ldr r3, [pc, #460] ; (8001b5c ) + 800198e: 685a ldr r2, [r3, #4] + 8001990: 2380 movs r3, #128 ; 0x80 + 8001992: 025b lsls r3, r3, #9 + 8001994: 4013 ands r3, r2 + 8001996: d116 bne.n 80019c6 { /* When HSI is used as system clock it will not disabled */ if((__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) && (RCC_OscInitStruct->HSIState != RCC_HSI_ON)) - 80017d8: 4b70 ldr r3, [pc, #448] ; (800199c ) - 80017da: 681b ldr r3, [r3, #0] - 80017dc: 2202 movs r2, #2 - 80017de: 4013 ands r3, r2 - 80017e0: d005 beq.n 80017ee - 80017e2: 687b ldr r3, [r7, #4] - 80017e4: 68db ldr r3, [r3, #12] - 80017e6: 2b01 cmp r3, #1 - 80017e8: d001 beq.n 80017ee + 8001998: 4b70 ldr r3, [pc, #448] ; (8001b5c ) + 800199a: 681b ldr r3, [r3, #0] + 800199c: 2202 movs r2, #2 + 800199e: 4013 ands r3, r2 + 80019a0: d005 beq.n 80019ae + 80019a2: 687b ldr r3, [r7, #4] + 80019a4: 68db ldr r3, [r3, #12] + 80019a6: 2b01 cmp r3, #1 + 80019a8: d001 beq.n 80019ae { return HAL_ERROR; - 80017ea: 2301 movs r3, #1 - 80017ec: e24b b.n 8001c86 + 80019aa: 2301 movs r3, #1 + 80019ac: e24b b.n 8001e46 } /* Otherwise, just the calibration is allowed */ else { /* Adjusts the Internal High Speed oscillator (HSI) calibration value.*/ __HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST(RCC_OscInitStruct->HSICalibrationValue); - 80017ee: 4b6b ldr r3, [pc, #428] ; (800199c ) - 80017f0: 681b ldr r3, [r3, #0] - 80017f2: 22f8 movs r2, #248 ; 0xf8 - 80017f4: 4393 bics r3, r2 - 80017f6: 0019 movs r1, r3 - 80017f8: 687b ldr r3, [r7, #4] - 80017fa: 691b ldr r3, [r3, #16] - 80017fc: 00da lsls r2, r3, #3 - 80017fe: 4b67 ldr r3, [pc, #412] ; (800199c ) - 8001800: 430a orrs r2, r1 - 8001802: 601a str r2, [r3, #0] + 80019ae: 4b6b ldr r3, [pc, #428] ; (8001b5c ) + 80019b0: 681b ldr r3, [r3, #0] + 80019b2: 22f8 movs r2, #248 ; 0xf8 + 80019b4: 4393 bics r3, r2 + 80019b6: 0019 movs r1, r3 + 80019b8: 687b ldr r3, [r7, #4] + 80019ba: 691b ldr r3, [r3, #16] + 80019bc: 00da lsls r2, r3, #3 + 80019be: 4b67 ldr r3, [pc, #412] ; (8001b5c ) + 80019c0: 430a orrs r2, r1 + 80019c2: 601a str r2, [r3, #0] if((__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) && (RCC_OscInitStruct->HSIState != RCC_HSI_ON)) - 8001804: e041 b.n 800188a + 80019c4: e041 b.n 8001a4a } } else { /* Check the HSI State */ if(RCC_OscInitStruct->HSIState != RCC_HSI_OFF) - 8001806: 687b ldr r3, [r7, #4] - 8001808: 68db ldr r3, [r3, #12] - 800180a: 2b00 cmp r3, #0 - 800180c: d024 beq.n 8001858 + 80019c6: 687b ldr r3, [r7, #4] + 80019c8: 68db ldr r3, [r3, #12] + 80019ca: 2b00 cmp r3, #0 + 80019cc: d024 beq.n 8001a18 { /* Enable the Internal High Speed oscillator (HSI). */ __HAL_RCC_HSI_ENABLE(); - 800180e: 4b63 ldr r3, [pc, #396] ; (800199c ) - 8001810: 681a ldr r2, [r3, #0] - 8001812: 4b62 ldr r3, [pc, #392] ; (800199c ) - 8001814: 2101 movs r1, #1 - 8001816: 430a orrs r2, r1 - 8001818: 601a str r2, [r3, #0] + 80019ce: 4b63 ldr r3, [pc, #396] ; (8001b5c ) + 80019d0: 681a ldr r2, [r3, #0] + 80019d2: 4b62 ldr r3, [pc, #392] ; (8001b5c ) + 80019d4: 2101 movs r1, #1 + 80019d6: 430a orrs r2, r1 + 80019d8: 601a str r2, [r3, #0] /* Get Start Tick */ tickstart = HAL_GetTick(); - 800181a: f7ff f82d bl 8000878 - 800181e: 0003 movs r3, r0 - 8001820: 61bb str r3, [r7, #24] + 80019da: f7fe ffcb bl 8000974 + 80019de: 0003 movs r3, r0 + 80019e0: 61bb str r3, [r7, #24] /* Wait till HSI is ready */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET) - 8001822: e008 b.n 8001836 + 80019e2: e008 b.n 80019f6 { if((HAL_GetTick() - tickstart ) > HSI_TIMEOUT_VALUE) - 8001824: f7ff f828 bl 8000878 - 8001828: 0002 movs r2, r0 - 800182a: 69bb ldr r3, [r7, #24] - 800182c: 1ad3 subs r3, r2, r3 - 800182e: 2b02 cmp r3, #2 - 8001830: d901 bls.n 8001836 + 80019e4: f7fe ffc6 bl 8000974 + 80019e8: 0002 movs r2, r0 + 80019ea: 69bb ldr r3, [r7, #24] + 80019ec: 1ad3 subs r3, r2, r3 + 80019ee: 2b02 cmp r3, #2 + 80019f0: d901 bls.n 80019f6 { return HAL_TIMEOUT; - 8001832: 2303 movs r3, #3 - 8001834: e227 b.n 8001c86 + 80019f2: 2303 movs r3, #3 + 80019f4: e227 b.n 8001e46 while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET) - 8001836: 4b59 ldr r3, [pc, #356] ; (800199c ) - 8001838: 681b ldr r3, [r3, #0] - 800183a: 2202 movs r2, #2 - 800183c: 4013 ands r3, r2 - 800183e: d0f1 beq.n 8001824 + 80019f6: 4b59 ldr r3, [pc, #356] ; (8001b5c ) + 80019f8: 681b ldr r3, [r3, #0] + 80019fa: 2202 movs r2, #2 + 80019fc: 4013 ands r3, r2 + 80019fe: d0f1 beq.n 80019e4 } } /* Adjusts the Internal High Speed oscillator (HSI) calibration value.*/ __HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST(RCC_OscInitStruct->HSICalibrationValue); - 8001840: 4b56 ldr r3, [pc, #344] ; (800199c ) - 8001842: 681b ldr r3, [r3, #0] - 8001844: 22f8 movs r2, #248 ; 0xf8 - 8001846: 4393 bics r3, r2 - 8001848: 0019 movs r1, r3 - 800184a: 687b ldr r3, [r7, #4] - 800184c: 691b ldr r3, [r3, #16] - 800184e: 00da lsls r2, r3, #3 - 8001850: 4b52 ldr r3, [pc, #328] ; (800199c ) - 8001852: 430a orrs r2, r1 - 8001854: 601a str r2, [r3, #0] - 8001856: e018 b.n 800188a + 8001a00: 4b56 ldr r3, [pc, #344] ; (8001b5c ) + 8001a02: 681b ldr r3, [r3, #0] + 8001a04: 22f8 movs r2, #248 ; 0xf8 + 8001a06: 4393 bics r3, r2 + 8001a08: 0019 movs r1, r3 + 8001a0a: 687b ldr r3, [r7, #4] + 8001a0c: 691b ldr r3, [r3, #16] + 8001a0e: 00da lsls r2, r3, #3 + 8001a10: 4b52 ldr r3, [pc, #328] ; (8001b5c ) + 8001a12: 430a orrs r2, r1 + 8001a14: 601a str r2, [r3, #0] + 8001a16: e018 b.n 8001a4a } else { /* Disable the Internal High Speed oscillator (HSI). */ __HAL_RCC_HSI_DISABLE(); - 8001858: 4b50 ldr r3, [pc, #320] ; (800199c ) - 800185a: 681a ldr r2, [r3, #0] - 800185c: 4b4f ldr r3, [pc, #316] ; (800199c ) - 800185e: 2101 movs r1, #1 - 8001860: 438a bics r2, r1 - 8001862: 601a str r2, [r3, #0] + 8001a18: 4b50 ldr r3, [pc, #320] ; (8001b5c ) + 8001a1a: 681a ldr r2, [r3, #0] + 8001a1c: 4b4f ldr r3, [pc, #316] ; (8001b5c ) + 8001a1e: 2101 movs r1, #1 + 8001a20: 438a bics r2, r1 + 8001a22: 601a str r2, [r3, #0] /* Get Start Tick */ tickstart = HAL_GetTick(); - 8001864: f7ff f808 bl 8000878 - 8001868: 0003 movs r3, r0 - 800186a: 61bb str r3, [r7, #24] + 8001a24: f7fe ffa6 bl 8000974 + 8001a28: 0003 movs r3, r0 + 8001a2a: 61bb str r3, [r7, #24] /* Wait till HSI is disabled */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) - 800186c: e008 b.n 8001880 + 8001a2c: e008 b.n 8001a40 { if((HAL_GetTick() - tickstart ) > HSI_TIMEOUT_VALUE) - 800186e: f7ff f803 bl 8000878 - 8001872: 0002 movs r2, r0 - 8001874: 69bb ldr r3, [r7, #24] - 8001876: 1ad3 subs r3, r2, r3 - 8001878: 2b02 cmp r3, #2 - 800187a: d901 bls.n 8001880 + 8001a2e: f7fe ffa1 bl 8000974 + 8001a32: 0002 movs r2, r0 + 8001a34: 69bb ldr r3, [r7, #24] + 8001a36: 1ad3 subs r3, r2, r3 + 8001a38: 2b02 cmp r3, #2 + 8001a3a: d901 bls.n 8001a40 { return HAL_TIMEOUT; - 800187c: 2303 movs r3, #3 - 800187e: e202 b.n 8001c86 + 8001a3c: 2303 movs r3, #3 + 8001a3e: e202 b.n 8001e46 while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) - 8001880: 4b46 ldr r3, [pc, #280] ; (800199c ) - 8001882: 681b ldr r3, [r3, #0] - 8001884: 2202 movs r2, #2 - 8001886: 4013 ands r3, r2 - 8001888: d1f1 bne.n 800186e + 8001a40: 4b46 ldr r3, [pc, #280] ; (8001b5c ) + 8001a42: 681b ldr r3, [r3, #0] + 8001a44: 2202 movs r2, #2 + 8001a46: 4013 ands r3, r2 + 8001a48: d1f1 bne.n 8001a2e } } } } /*------------------------------ LSI Configuration -------------------------*/ if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_LSI) == RCC_OSCILLATORTYPE_LSI) - 800188a: 687b ldr r3, [r7, #4] - 800188c: 681b ldr r3, [r3, #0] - 800188e: 2208 movs r2, #8 - 8001890: 4013 ands r3, r2 - 8001892: d036 beq.n 8001902 + 8001a4a: 687b ldr r3, [r7, #4] + 8001a4c: 681b ldr r3, [r3, #0] + 8001a4e: 2208 movs r2, #8 + 8001a50: 4013 ands r3, r2 + 8001a52: d036 beq.n 8001ac2 { /* Check the parameters */ assert_param(IS_RCC_LSI(RCC_OscInitStruct->LSIState)); /* Check the LSI State */ if(RCC_OscInitStruct->LSIState != RCC_LSI_OFF) - 8001894: 687b ldr r3, [r7, #4] - 8001896: 69db ldr r3, [r3, #28] - 8001898: 2b00 cmp r3, #0 - 800189a: d019 beq.n 80018d0 + 8001a54: 687b ldr r3, [r7, #4] + 8001a56: 69db ldr r3, [r3, #28] + 8001a58: 2b00 cmp r3, #0 + 8001a5a: d019 beq.n 8001a90 { /* Enable the Internal Low Speed oscillator (LSI). */ __HAL_RCC_LSI_ENABLE(); - 800189c: 4b3f ldr r3, [pc, #252] ; (800199c ) - 800189e: 6a5a ldr r2, [r3, #36] ; 0x24 - 80018a0: 4b3e ldr r3, [pc, #248] ; (800199c ) - 80018a2: 2101 movs r1, #1 - 80018a4: 430a orrs r2, r1 - 80018a6: 625a str r2, [r3, #36] ; 0x24 + 8001a5c: 4b3f ldr r3, [pc, #252] ; (8001b5c ) + 8001a5e: 6a5a ldr r2, [r3, #36] ; 0x24 + 8001a60: 4b3e ldr r3, [pc, #248] ; (8001b5c ) + 8001a62: 2101 movs r1, #1 + 8001a64: 430a orrs r2, r1 + 8001a66: 625a str r2, [r3, #36] ; 0x24 /* Get Start Tick */ tickstart = HAL_GetTick(); - 80018a8: f7fe ffe6 bl 8000878 - 80018ac: 0003 movs r3, r0 - 80018ae: 61bb str r3, [r7, #24] + 8001a68: f7fe ff84 bl 8000974 + 8001a6c: 0003 movs r3, r0 + 8001a6e: 61bb str r3, [r7, #24] /* Wait till LSI is ready */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) == RESET) - 80018b0: e008 b.n 80018c4 + 8001a70: e008 b.n 8001a84 { if((HAL_GetTick() - tickstart ) > LSI_TIMEOUT_VALUE) - 80018b2: f7fe ffe1 bl 8000878 - 80018b6: 0002 movs r2, r0 - 80018b8: 69bb ldr r3, [r7, #24] - 80018ba: 1ad3 subs r3, r2, r3 - 80018bc: 2b02 cmp r3, #2 - 80018be: d901 bls.n 80018c4 + 8001a72: f7fe ff7f bl 8000974 + 8001a76: 0002 movs r2, r0 + 8001a78: 69bb ldr r3, [r7, #24] + 8001a7a: 1ad3 subs r3, r2, r3 + 8001a7c: 2b02 cmp r3, #2 + 8001a7e: d901 bls.n 8001a84 { return HAL_TIMEOUT; - 80018c0: 2303 movs r3, #3 - 80018c2: e1e0 b.n 8001c86 + 8001a80: 2303 movs r3, #3 + 8001a82: e1e0 b.n 8001e46 while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) == RESET) - 80018c4: 4b35 ldr r3, [pc, #212] ; (800199c ) - 80018c6: 6a5b ldr r3, [r3, #36] ; 0x24 - 80018c8: 2202 movs r2, #2 - 80018ca: 4013 ands r3, r2 - 80018cc: d0f1 beq.n 80018b2 - 80018ce: e018 b.n 8001902 + 8001a84: 4b35 ldr r3, [pc, #212] ; (8001b5c ) + 8001a86: 6a5b ldr r3, [r3, #36] ; 0x24 + 8001a88: 2202 movs r2, #2 + 8001a8a: 4013 ands r3, r2 + 8001a8c: d0f1 beq.n 8001a72 + 8001a8e: e018 b.n 8001ac2 } } else { /* Disable the Internal Low Speed oscillator (LSI). */ __HAL_RCC_LSI_DISABLE(); - 80018d0: 4b32 ldr r3, [pc, #200] ; (800199c ) - 80018d2: 6a5a ldr r2, [r3, #36] ; 0x24 - 80018d4: 4b31 ldr r3, [pc, #196] ; (800199c ) - 80018d6: 2101 movs r1, #1 - 80018d8: 438a bics r2, r1 - 80018da: 625a str r2, [r3, #36] ; 0x24 + 8001a90: 4b32 ldr r3, [pc, #200] ; (8001b5c ) + 8001a92: 6a5a ldr r2, [r3, #36] ; 0x24 + 8001a94: 4b31 ldr r3, [pc, #196] ; (8001b5c ) + 8001a96: 2101 movs r1, #1 + 8001a98: 438a bics r2, r1 + 8001a9a: 625a str r2, [r3, #36] ; 0x24 /* Get Start Tick */ tickstart = HAL_GetTick(); - 80018dc: f7fe ffcc bl 8000878 - 80018e0: 0003 movs r3, r0 - 80018e2: 61bb str r3, [r7, #24] + 8001a9c: f7fe ff6a bl 8000974 + 8001aa0: 0003 movs r3, r0 + 8001aa2: 61bb str r3, [r7, #24] /* Wait till LSI is disabled */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) != RESET) - 80018e4: e008 b.n 80018f8 + 8001aa4: e008 b.n 8001ab8 { if((HAL_GetTick() - tickstart ) > LSI_TIMEOUT_VALUE) - 80018e6: f7fe ffc7 bl 8000878 - 80018ea: 0002 movs r2, r0 - 80018ec: 69bb ldr r3, [r7, #24] - 80018ee: 1ad3 subs r3, r2, r3 - 80018f0: 2b02 cmp r3, #2 - 80018f2: d901 bls.n 80018f8 + 8001aa6: f7fe ff65 bl 8000974 + 8001aaa: 0002 movs r2, r0 + 8001aac: 69bb ldr r3, [r7, #24] + 8001aae: 1ad3 subs r3, r2, r3 + 8001ab0: 2b02 cmp r3, #2 + 8001ab2: d901 bls.n 8001ab8 { return HAL_TIMEOUT; - 80018f4: 2303 movs r3, #3 - 80018f6: e1c6 b.n 8001c86 + 8001ab4: 2303 movs r3, #3 + 8001ab6: e1c6 b.n 8001e46 while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) != RESET) - 80018f8: 4b28 ldr r3, [pc, #160] ; (800199c ) - 80018fa: 6a5b ldr r3, [r3, #36] ; 0x24 - 80018fc: 2202 movs r2, #2 - 80018fe: 4013 ands r3, r2 - 8001900: d1f1 bne.n 80018e6 + 8001ab8: 4b28 ldr r3, [pc, #160] ; (8001b5c ) + 8001aba: 6a5b ldr r3, [r3, #36] ; 0x24 + 8001abc: 2202 movs r2, #2 + 8001abe: 4013 ands r3, r2 + 8001ac0: d1f1 bne.n 8001aa6 } } } } /*------------------------------ LSE Configuration -------------------------*/ if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_LSE) == RCC_OSCILLATORTYPE_LSE) - 8001902: 687b ldr r3, [r7, #4] - 8001904: 681b ldr r3, [r3, #0] - 8001906: 2204 movs r2, #4 - 8001908: 4013 ands r3, r2 - 800190a: d100 bne.n 800190e - 800190c: e0b4 b.n 8001a78 + 8001ac2: 687b ldr r3, [r7, #4] + 8001ac4: 681b ldr r3, [r3, #0] + 8001ac6: 2204 movs r2, #4 + 8001ac8: 4013 ands r3, r2 + 8001aca: d100 bne.n 8001ace + 8001acc: e0b4 b.n 8001c38 { FlagStatus pwrclkchanged = RESET; - 800190e: 201f movs r0, #31 - 8001910: 183b adds r3, r7, r0 - 8001912: 2200 movs r2, #0 - 8001914: 701a strb r2, [r3, #0] + 8001ace: 201f movs r0, #31 + 8001ad0: 183b adds r3, r7, r0 + 8001ad2: 2200 movs r2, #0 + 8001ad4: 701a strb r2, [r3, #0] /* Check the parameters */ assert_param(IS_RCC_LSE(RCC_OscInitStruct->LSEState)); /* Update LSE configuration in Backup Domain control register */ /* Requires to enable write access to Backup Domain of necessary */ if(__HAL_RCC_PWR_IS_CLK_DISABLED()) - 8001916: 4b21 ldr r3, [pc, #132] ; (800199c ) - 8001918: 69da ldr r2, [r3, #28] - 800191a: 2380 movs r3, #128 ; 0x80 - 800191c: 055b lsls r3, r3, #21 - 800191e: 4013 ands r3, r2 - 8001920: d110 bne.n 8001944 + 8001ad6: 4b21 ldr r3, [pc, #132] ; (8001b5c ) + 8001ad8: 69da ldr r2, [r3, #28] + 8001ada: 2380 movs r3, #128 ; 0x80 + 8001adc: 055b lsls r3, r3, #21 + 8001ade: 4013 ands r3, r2 + 8001ae0: d110 bne.n 8001b04 { __HAL_RCC_PWR_CLK_ENABLE(); - 8001922: 4b1e ldr r3, [pc, #120] ; (800199c ) - 8001924: 69da ldr r2, [r3, #28] - 8001926: 4b1d ldr r3, [pc, #116] ; (800199c ) - 8001928: 2180 movs r1, #128 ; 0x80 - 800192a: 0549 lsls r1, r1, #21 - 800192c: 430a orrs r2, r1 - 800192e: 61da str r2, [r3, #28] - 8001930: 4b1a ldr r3, [pc, #104] ; (800199c ) - 8001932: 69da ldr r2, [r3, #28] - 8001934: 2380 movs r3, #128 ; 0x80 - 8001936: 055b lsls r3, r3, #21 - 8001938: 4013 ands r3, r2 - 800193a: 60fb str r3, [r7, #12] - 800193c: 68fb ldr r3, [r7, #12] + 8001ae2: 4b1e ldr r3, [pc, #120] ; (8001b5c ) + 8001ae4: 69da ldr r2, [r3, #28] + 8001ae6: 4b1d ldr r3, [pc, #116] ; (8001b5c ) + 8001ae8: 2180 movs r1, #128 ; 0x80 + 8001aea: 0549 lsls r1, r1, #21 + 8001aec: 430a orrs r2, r1 + 8001aee: 61da str r2, [r3, #28] + 8001af0: 4b1a ldr r3, [pc, #104] ; (8001b5c ) + 8001af2: 69da ldr r2, [r3, #28] + 8001af4: 2380 movs r3, #128 ; 0x80 + 8001af6: 055b lsls r3, r3, #21 + 8001af8: 4013 ands r3, r2 + 8001afa: 60fb str r3, [r7, #12] + 8001afc: 68fb ldr r3, [r7, #12] pwrclkchanged = SET; - 800193e: 183b adds r3, r7, r0 - 8001940: 2201 movs r2, #1 - 8001942: 701a strb r2, [r3, #0] + 8001afe: 183b adds r3, r7, r0 + 8001b00: 2201 movs r2, #1 + 8001b02: 701a strb r2, [r3, #0] } if(HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP)) - 8001944: 4b18 ldr r3, [pc, #96] ; (80019a8 ) - 8001946: 681a ldr r2, [r3, #0] - 8001948: 2380 movs r3, #128 ; 0x80 - 800194a: 005b lsls r3, r3, #1 - 800194c: 4013 ands r3, r2 - 800194e: d11a bne.n 8001986 + 8001b04: 4b18 ldr r3, [pc, #96] ; (8001b68 ) + 8001b06: 681a ldr r2, [r3, #0] + 8001b08: 2380 movs r3, #128 ; 0x80 + 8001b0a: 005b lsls r3, r3, #1 + 8001b0c: 4013 ands r3, r2 + 8001b0e: d11a bne.n 8001b46 { /* Enable write access to Backup domain */ SET_BIT(PWR->CR, PWR_CR_DBP); - 8001950: 4b15 ldr r3, [pc, #84] ; (80019a8 ) - 8001952: 681a ldr r2, [r3, #0] - 8001954: 4b14 ldr r3, [pc, #80] ; (80019a8 ) - 8001956: 2180 movs r1, #128 ; 0x80 - 8001958: 0049 lsls r1, r1, #1 - 800195a: 430a orrs r2, r1 - 800195c: 601a str r2, [r3, #0] + 8001b10: 4b15 ldr r3, [pc, #84] ; (8001b68 ) + 8001b12: 681a ldr r2, [r3, #0] + 8001b14: 4b14 ldr r3, [pc, #80] ; (8001b68 ) + 8001b16: 2180 movs r1, #128 ; 0x80 + 8001b18: 0049 lsls r1, r1, #1 + 8001b1a: 430a orrs r2, r1 + 8001b1c: 601a str r2, [r3, #0] /* Wait for Backup domain Write protection disable */ tickstart = HAL_GetTick(); - 800195e: f7fe ff8b bl 8000878 - 8001962: 0003 movs r3, r0 - 8001964: 61bb str r3, [r7, #24] + 8001b1e: f7fe ff29 bl 8000974 + 8001b22: 0003 movs r3, r0 + 8001b24: 61bb str r3, [r7, #24] while(HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP)) - 8001966: e008 b.n 800197a + 8001b26: e008 b.n 8001b3a { if((HAL_GetTick() - tickstart) > RCC_DBP_TIMEOUT_VALUE) - 8001968: f7fe ff86 bl 8000878 - 800196c: 0002 movs r2, r0 - 800196e: 69bb ldr r3, [r7, #24] - 8001970: 1ad3 subs r3, r2, r3 - 8001972: 2b64 cmp r3, #100 ; 0x64 - 8001974: d901 bls.n 800197a + 8001b28: f7fe ff24 bl 8000974 + 8001b2c: 0002 movs r2, r0 + 8001b2e: 69bb ldr r3, [r7, #24] + 8001b30: 1ad3 subs r3, r2, r3 + 8001b32: 2b64 cmp r3, #100 ; 0x64 + 8001b34: d901 bls.n 8001b3a { return HAL_TIMEOUT; - 8001976: 2303 movs r3, #3 - 8001978: e185 b.n 8001c86 + 8001b36: 2303 movs r3, #3 + 8001b38: e185 b.n 8001e46 while(HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP)) - 800197a: 4b0b ldr r3, [pc, #44] ; (80019a8 ) - 800197c: 681a ldr r2, [r3, #0] - 800197e: 2380 movs r3, #128 ; 0x80 - 8001980: 005b lsls r3, r3, #1 - 8001982: 4013 ands r3, r2 - 8001984: d0f0 beq.n 8001968 + 8001b3a: 4b0b ldr r3, [pc, #44] ; (8001b68 ) + 8001b3c: 681a ldr r2, [r3, #0] + 8001b3e: 2380 movs r3, #128 ; 0x80 + 8001b40: 005b lsls r3, r3, #1 + 8001b42: 4013 ands r3, r2 + 8001b44: d0f0 beq.n 8001b28 } } } /* Set the new LSE configuration -----------------------------------------*/ __HAL_RCC_LSE_CONFIG(RCC_OscInitStruct->LSEState); - 8001986: 687b ldr r3, [r7, #4] - 8001988: 689b ldr r3, [r3, #8] - 800198a: 2b01 cmp r3, #1 - 800198c: d10e bne.n 80019ac - 800198e: 4b03 ldr r3, [pc, #12] ; (800199c ) - 8001990: 6a1a ldr r2, [r3, #32] - 8001992: 4b02 ldr r3, [pc, #8] ; (800199c ) - 8001994: 2101 movs r1, #1 - 8001996: 430a orrs r2, r1 - 8001998: 621a str r2, [r3, #32] - 800199a: e035 b.n 8001a08 - 800199c: 40021000 .word 0x40021000 - 80019a0: fffeffff .word 0xfffeffff - 80019a4: fffbffff .word 0xfffbffff - 80019a8: 40007000 .word 0x40007000 - 80019ac: 687b ldr r3, [r7, #4] - 80019ae: 689b ldr r3, [r3, #8] - 80019b0: 2b00 cmp r3, #0 - 80019b2: d10c bne.n 80019ce - 80019b4: 4bb6 ldr r3, [pc, #728] ; (8001c90 ) - 80019b6: 6a1a ldr r2, [r3, #32] - 80019b8: 4bb5 ldr r3, [pc, #724] ; (8001c90 ) - 80019ba: 2101 movs r1, #1 - 80019bc: 438a bics r2, r1 - 80019be: 621a str r2, [r3, #32] - 80019c0: 4bb3 ldr r3, [pc, #716] ; (8001c90 ) - 80019c2: 6a1a ldr r2, [r3, #32] - 80019c4: 4bb2 ldr r3, [pc, #712] ; (8001c90 ) - 80019c6: 2104 movs r1, #4 - 80019c8: 438a bics r2, r1 - 80019ca: 621a str r2, [r3, #32] - 80019cc: e01c b.n 8001a08 - 80019ce: 687b ldr r3, [r7, #4] - 80019d0: 689b ldr r3, [r3, #8] - 80019d2: 2b05 cmp r3, #5 - 80019d4: d10c bne.n 80019f0 - 80019d6: 4bae ldr r3, [pc, #696] ; (8001c90 ) - 80019d8: 6a1a ldr r2, [r3, #32] - 80019da: 4bad ldr r3, [pc, #692] ; (8001c90 ) - 80019dc: 2104 movs r1, #4 - 80019de: 430a orrs r2, r1 - 80019e0: 621a str r2, [r3, #32] - 80019e2: 4bab ldr r3, [pc, #684] ; (8001c90 ) - 80019e4: 6a1a ldr r2, [r3, #32] - 80019e6: 4baa ldr r3, [pc, #680] ; (8001c90 ) - 80019e8: 2101 movs r1, #1 - 80019ea: 430a orrs r2, r1 - 80019ec: 621a str r2, [r3, #32] - 80019ee: e00b b.n 8001a08 - 80019f0: 4ba7 ldr r3, [pc, #668] ; (8001c90 ) - 80019f2: 6a1a ldr r2, [r3, #32] - 80019f4: 4ba6 ldr r3, [pc, #664] ; (8001c90 ) - 80019f6: 2101 movs r1, #1 - 80019f8: 438a bics r2, r1 - 80019fa: 621a str r2, [r3, #32] - 80019fc: 4ba4 ldr r3, [pc, #656] ; (8001c90 ) - 80019fe: 6a1a ldr r2, [r3, #32] - 8001a00: 4ba3 ldr r3, [pc, #652] ; (8001c90 ) - 8001a02: 2104 movs r1, #4 - 8001a04: 438a bics r2, r1 - 8001a06: 621a str r2, [r3, #32] + 8001b46: 687b ldr r3, [r7, #4] + 8001b48: 689b ldr r3, [r3, #8] + 8001b4a: 2b01 cmp r3, #1 + 8001b4c: d10e bne.n 8001b6c + 8001b4e: 4b03 ldr r3, [pc, #12] ; (8001b5c ) + 8001b50: 6a1a ldr r2, [r3, #32] + 8001b52: 4b02 ldr r3, [pc, #8] ; (8001b5c ) + 8001b54: 2101 movs r1, #1 + 8001b56: 430a orrs r2, r1 + 8001b58: 621a str r2, [r3, #32] + 8001b5a: e035 b.n 8001bc8 + 8001b5c: 40021000 .word 0x40021000 + 8001b60: fffeffff .word 0xfffeffff + 8001b64: fffbffff .word 0xfffbffff + 8001b68: 40007000 .word 0x40007000 + 8001b6c: 687b ldr r3, [r7, #4] + 8001b6e: 689b ldr r3, [r3, #8] + 8001b70: 2b00 cmp r3, #0 + 8001b72: d10c bne.n 8001b8e + 8001b74: 4bb6 ldr r3, [pc, #728] ; (8001e50 ) + 8001b76: 6a1a ldr r2, [r3, #32] + 8001b78: 4bb5 ldr r3, [pc, #724] ; (8001e50 ) + 8001b7a: 2101 movs r1, #1 + 8001b7c: 438a bics r2, r1 + 8001b7e: 621a str r2, [r3, #32] + 8001b80: 4bb3 ldr r3, [pc, #716] ; (8001e50 ) + 8001b82: 6a1a ldr r2, [r3, #32] + 8001b84: 4bb2 ldr r3, [pc, #712] ; (8001e50 ) + 8001b86: 2104 movs r1, #4 + 8001b88: 438a bics r2, r1 + 8001b8a: 621a str r2, [r3, #32] + 8001b8c: e01c b.n 8001bc8 + 8001b8e: 687b ldr r3, [r7, #4] + 8001b90: 689b ldr r3, [r3, #8] + 8001b92: 2b05 cmp r3, #5 + 8001b94: d10c bne.n 8001bb0 + 8001b96: 4bae ldr r3, [pc, #696] ; (8001e50 ) + 8001b98: 6a1a ldr r2, [r3, #32] + 8001b9a: 4bad ldr r3, [pc, #692] ; (8001e50 ) + 8001b9c: 2104 movs r1, #4 + 8001b9e: 430a orrs r2, r1 + 8001ba0: 621a str r2, [r3, #32] + 8001ba2: 4bab ldr r3, [pc, #684] ; (8001e50 ) + 8001ba4: 6a1a ldr r2, [r3, #32] + 8001ba6: 4baa ldr r3, [pc, #680] ; (8001e50 ) + 8001ba8: 2101 movs r1, #1 + 8001baa: 430a orrs r2, r1 + 8001bac: 621a str r2, [r3, #32] + 8001bae: e00b b.n 8001bc8 + 8001bb0: 4ba7 ldr r3, [pc, #668] ; (8001e50 ) + 8001bb2: 6a1a ldr r2, [r3, #32] + 8001bb4: 4ba6 ldr r3, [pc, #664] ; (8001e50 ) + 8001bb6: 2101 movs r1, #1 + 8001bb8: 438a bics r2, r1 + 8001bba: 621a str r2, [r3, #32] + 8001bbc: 4ba4 ldr r3, [pc, #656] ; (8001e50 ) + 8001bbe: 6a1a ldr r2, [r3, #32] + 8001bc0: 4ba3 ldr r3, [pc, #652] ; (8001e50 ) + 8001bc2: 2104 movs r1, #4 + 8001bc4: 438a bics r2, r1 + 8001bc6: 621a str r2, [r3, #32] /* Check the LSE State */ if(RCC_OscInitStruct->LSEState != RCC_LSE_OFF) - 8001a08: 687b ldr r3, [r7, #4] - 8001a0a: 689b ldr r3, [r3, #8] - 8001a0c: 2b00 cmp r3, #0 - 8001a0e: d014 beq.n 8001a3a + 8001bc8: 687b ldr r3, [r7, #4] + 8001bca: 689b ldr r3, [r3, #8] + 8001bcc: 2b00 cmp r3, #0 + 8001bce: d014 beq.n 8001bfa { /* Get Start Tick */ tickstart = HAL_GetTick(); - 8001a10: f7fe ff32 bl 8000878 - 8001a14: 0003 movs r3, r0 - 8001a16: 61bb str r3, [r7, #24] + 8001bd0: f7fe fed0 bl 8000974 + 8001bd4: 0003 movs r3, r0 + 8001bd6: 61bb str r3, [r7, #24] /* Wait till LSE is ready */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET) - 8001a18: e009 b.n 8001a2e + 8001bd8: e009 b.n 8001bee { if((HAL_GetTick() - tickstart ) > RCC_LSE_TIMEOUT_VALUE) - 8001a1a: f7fe ff2d bl 8000878 - 8001a1e: 0002 movs r2, r0 - 8001a20: 69bb ldr r3, [r7, #24] - 8001a22: 1ad3 subs r3, r2, r3 - 8001a24: 4a9b ldr r2, [pc, #620] ; (8001c94 ) - 8001a26: 4293 cmp r3, r2 - 8001a28: d901 bls.n 8001a2e + 8001bda: f7fe fecb bl 8000974 + 8001bde: 0002 movs r2, r0 + 8001be0: 69bb ldr r3, [r7, #24] + 8001be2: 1ad3 subs r3, r2, r3 + 8001be4: 4a9b ldr r2, [pc, #620] ; (8001e54 ) + 8001be6: 4293 cmp r3, r2 + 8001be8: d901 bls.n 8001bee { return HAL_TIMEOUT; - 8001a2a: 2303 movs r3, #3 - 8001a2c: e12b b.n 8001c86 + 8001bea: 2303 movs r3, #3 + 8001bec: e12b b.n 8001e46 while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET) - 8001a2e: 4b98 ldr r3, [pc, #608] ; (8001c90 ) - 8001a30: 6a1b ldr r3, [r3, #32] - 8001a32: 2202 movs r2, #2 - 8001a34: 4013 ands r3, r2 - 8001a36: d0f0 beq.n 8001a1a - 8001a38: e013 b.n 8001a62 + 8001bee: 4b98 ldr r3, [pc, #608] ; (8001e50 ) + 8001bf0: 6a1b ldr r3, [r3, #32] + 8001bf2: 2202 movs r2, #2 + 8001bf4: 4013 ands r3, r2 + 8001bf6: d0f0 beq.n 8001bda + 8001bf8: e013 b.n 8001c22 } } else { /* Get Start Tick */ tickstart = HAL_GetTick(); - 8001a3a: f7fe ff1d bl 8000878 - 8001a3e: 0003 movs r3, r0 - 8001a40: 61bb str r3, [r7, #24] + 8001bfa: f7fe febb bl 8000974 + 8001bfe: 0003 movs r3, r0 + 8001c00: 61bb str r3, [r7, #24] /* Wait till LSE is disabled */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) != RESET) - 8001a42: e009 b.n 8001a58 + 8001c02: e009 b.n 8001c18 { if((HAL_GetTick() - tickstart ) > RCC_LSE_TIMEOUT_VALUE) - 8001a44: f7fe ff18 bl 8000878 - 8001a48: 0002 movs r2, r0 - 8001a4a: 69bb ldr r3, [r7, #24] - 8001a4c: 1ad3 subs r3, r2, r3 - 8001a4e: 4a91 ldr r2, [pc, #580] ; (8001c94 ) - 8001a50: 4293 cmp r3, r2 - 8001a52: d901 bls.n 8001a58 + 8001c04: f7fe feb6 bl 8000974 + 8001c08: 0002 movs r2, r0 + 8001c0a: 69bb ldr r3, [r7, #24] + 8001c0c: 1ad3 subs r3, r2, r3 + 8001c0e: 4a91 ldr r2, [pc, #580] ; (8001e54 ) + 8001c10: 4293 cmp r3, r2 + 8001c12: d901 bls.n 8001c18 { return HAL_TIMEOUT; - 8001a54: 2303 movs r3, #3 - 8001a56: e116 b.n 8001c86 + 8001c14: 2303 movs r3, #3 + 8001c16: e116 b.n 8001e46 while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) != RESET) - 8001a58: 4b8d ldr r3, [pc, #564] ; (8001c90 ) - 8001a5a: 6a1b ldr r3, [r3, #32] - 8001a5c: 2202 movs r2, #2 - 8001a5e: 4013 ands r3, r2 - 8001a60: d1f0 bne.n 8001a44 + 8001c18: 4b8d ldr r3, [pc, #564] ; (8001e50 ) + 8001c1a: 6a1b ldr r3, [r3, #32] + 8001c1c: 2202 movs r2, #2 + 8001c1e: 4013 ands r3, r2 + 8001c20: d1f0 bne.n 8001c04 } } } /* Require to disable power clock if necessary */ if(pwrclkchanged == SET) - 8001a62: 231f movs r3, #31 - 8001a64: 18fb adds r3, r7, r3 - 8001a66: 781b ldrb r3, [r3, #0] - 8001a68: 2b01 cmp r3, #1 - 8001a6a: d105 bne.n 8001a78 + 8001c22: 231f movs r3, #31 + 8001c24: 18fb adds r3, r7, r3 + 8001c26: 781b ldrb r3, [r3, #0] + 8001c28: 2b01 cmp r3, #1 + 8001c2a: d105 bne.n 8001c38 { __HAL_RCC_PWR_CLK_DISABLE(); - 8001a6c: 4b88 ldr r3, [pc, #544] ; (8001c90 ) - 8001a6e: 69da ldr r2, [r3, #28] - 8001a70: 4b87 ldr r3, [pc, #540] ; (8001c90 ) - 8001a72: 4989 ldr r1, [pc, #548] ; (8001c98 ) - 8001a74: 400a ands r2, r1 - 8001a76: 61da str r2, [r3, #28] + 8001c2c: 4b88 ldr r3, [pc, #544] ; (8001e50 ) + 8001c2e: 69da ldr r2, [r3, #28] + 8001c30: 4b87 ldr r3, [pc, #540] ; (8001e50 ) + 8001c32: 4989 ldr r1, [pc, #548] ; (8001e58 ) + 8001c34: 400a ands r2, r1 + 8001c36: 61da str r2, [r3, #28] } } /*----------------------------- HSI14 Configuration --------------------------*/ if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSI14) == RCC_OSCILLATORTYPE_HSI14) - 8001a78: 687b ldr r3, [r7, #4] - 8001a7a: 681b ldr r3, [r3, #0] - 8001a7c: 2210 movs r2, #16 - 8001a7e: 4013 ands r3, r2 - 8001a80: d063 beq.n 8001b4a + 8001c38: 687b ldr r3, [r7, #4] + 8001c3a: 681b ldr r3, [r3, #0] + 8001c3c: 2210 movs r2, #16 + 8001c3e: 4013 ands r3, r2 + 8001c40: d063 beq.n 8001d0a /* Check the parameters */ assert_param(IS_RCC_HSI14(RCC_OscInitStruct->HSI14State)); assert_param(IS_RCC_CALIBRATION_VALUE(RCC_OscInitStruct->HSI14CalibrationValue)); /* Check the HSI14 State */ if(RCC_OscInitStruct->HSI14State == RCC_HSI14_ON) - 8001a82: 687b ldr r3, [r7, #4] - 8001a84: 695b ldr r3, [r3, #20] - 8001a86: 2b01 cmp r3, #1 - 8001a88: d12a bne.n 8001ae0 + 8001c42: 687b ldr r3, [r7, #4] + 8001c44: 695b ldr r3, [r3, #20] + 8001c46: 2b01 cmp r3, #1 + 8001c48: d12a bne.n 8001ca0 { /* Disable ADC control of the Internal High Speed oscillator HSI14 */ __HAL_RCC_HSI14ADC_DISABLE(); - 8001a8a: 4b81 ldr r3, [pc, #516] ; (8001c90 ) - 8001a8c: 6b5a ldr r2, [r3, #52] ; 0x34 - 8001a8e: 4b80 ldr r3, [pc, #512] ; (8001c90 ) - 8001a90: 2104 movs r1, #4 - 8001a92: 430a orrs r2, r1 - 8001a94: 635a str r2, [r3, #52] ; 0x34 + 8001c4a: 4b81 ldr r3, [pc, #516] ; (8001e50 ) + 8001c4c: 6b5a ldr r2, [r3, #52] ; 0x34 + 8001c4e: 4b80 ldr r3, [pc, #512] ; (8001e50 ) + 8001c50: 2104 movs r1, #4 + 8001c52: 430a orrs r2, r1 + 8001c54: 635a str r2, [r3, #52] ; 0x34 /* Enable the Internal High Speed oscillator (HSI). */ __HAL_RCC_HSI14_ENABLE(); - 8001a96: 4b7e ldr r3, [pc, #504] ; (8001c90 ) - 8001a98: 6b5a ldr r2, [r3, #52] ; 0x34 - 8001a9a: 4b7d ldr r3, [pc, #500] ; (8001c90 ) - 8001a9c: 2101 movs r1, #1 - 8001a9e: 430a orrs r2, r1 - 8001aa0: 635a str r2, [r3, #52] ; 0x34 + 8001c56: 4b7e ldr r3, [pc, #504] ; (8001e50 ) + 8001c58: 6b5a ldr r2, [r3, #52] ; 0x34 + 8001c5a: 4b7d ldr r3, [pc, #500] ; (8001e50 ) + 8001c5c: 2101 movs r1, #1 + 8001c5e: 430a orrs r2, r1 + 8001c60: 635a str r2, [r3, #52] ; 0x34 /* Get Start Tick */ tickstart = HAL_GetTick(); - 8001aa2: f7fe fee9 bl 8000878 - 8001aa6: 0003 movs r3, r0 - 8001aa8: 61bb str r3, [r7, #24] + 8001c62: f7fe fe87 bl 8000974 + 8001c66: 0003 movs r3, r0 + 8001c68: 61bb str r3, [r7, #24] /* Wait till HSI is ready */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSI14RDY) == RESET) - 8001aaa: e008 b.n 8001abe + 8001c6a: e008 b.n 8001c7e { if((HAL_GetTick() - tickstart) > HSI14_TIMEOUT_VALUE) - 8001aac: f7fe fee4 bl 8000878 - 8001ab0: 0002 movs r2, r0 - 8001ab2: 69bb ldr r3, [r7, #24] - 8001ab4: 1ad3 subs r3, r2, r3 - 8001ab6: 2b02 cmp r3, #2 - 8001ab8: d901 bls.n 8001abe + 8001c6c: f7fe fe82 bl 8000974 + 8001c70: 0002 movs r2, r0 + 8001c72: 69bb ldr r3, [r7, #24] + 8001c74: 1ad3 subs r3, r2, r3 + 8001c76: 2b02 cmp r3, #2 + 8001c78: d901 bls.n 8001c7e { return HAL_TIMEOUT; - 8001aba: 2303 movs r3, #3 - 8001abc: e0e3 b.n 8001c86 + 8001c7a: 2303 movs r3, #3 + 8001c7c: e0e3 b.n 8001e46 while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSI14RDY) == RESET) - 8001abe: 4b74 ldr r3, [pc, #464] ; (8001c90 ) - 8001ac0: 6b5b ldr r3, [r3, #52] ; 0x34 - 8001ac2: 2202 movs r2, #2 - 8001ac4: 4013 ands r3, r2 - 8001ac6: d0f1 beq.n 8001aac + 8001c7e: 4b74 ldr r3, [pc, #464] ; (8001e50 ) + 8001c80: 6b5b ldr r3, [r3, #52] ; 0x34 + 8001c82: 2202 movs r2, #2 + 8001c84: 4013 ands r3, r2 + 8001c86: d0f1 beq.n 8001c6c } } /* Adjusts the Internal High Speed oscillator 14Mhz (HSI14) calibration value. */ __HAL_RCC_HSI14_CALIBRATIONVALUE_ADJUST(RCC_OscInitStruct->HSI14CalibrationValue); - 8001ac8: 4b71 ldr r3, [pc, #452] ; (8001c90 ) - 8001aca: 6b5b ldr r3, [r3, #52] ; 0x34 - 8001acc: 22f8 movs r2, #248 ; 0xf8 - 8001ace: 4393 bics r3, r2 - 8001ad0: 0019 movs r1, r3 - 8001ad2: 687b ldr r3, [r7, #4] - 8001ad4: 699b ldr r3, [r3, #24] - 8001ad6: 00da lsls r2, r3, #3 - 8001ad8: 4b6d ldr r3, [pc, #436] ; (8001c90 ) - 8001ada: 430a orrs r2, r1 - 8001adc: 635a str r2, [r3, #52] ; 0x34 - 8001ade: e034 b.n 8001b4a + 8001c88: 4b71 ldr r3, [pc, #452] ; (8001e50 ) + 8001c8a: 6b5b ldr r3, [r3, #52] ; 0x34 + 8001c8c: 22f8 movs r2, #248 ; 0xf8 + 8001c8e: 4393 bics r3, r2 + 8001c90: 0019 movs r1, r3 + 8001c92: 687b ldr r3, [r7, #4] + 8001c94: 699b ldr r3, [r3, #24] + 8001c96: 00da lsls r2, r3, #3 + 8001c98: 4b6d ldr r3, [pc, #436] ; (8001e50 ) + 8001c9a: 430a orrs r2, r1 + 8001c9c: 635a str r2, [r3, #52] ; 0x34 + 8001c9e: e034 b.n 8001d0a } else if(RCC_OscInitStruct->HSI14State == RCC_HSI14_ADC_CONTROL) - 8001ae0: 687b ldr r3, [r7, #4] - 8001ae2: 695b ldr r3, [r3, #20] - 8001ae4: 3305 adds r3, #5 - 8001ae6: d111 bne.n 8001b0c + 8001ca0: 687b ldr r3, [r7, #4] + 8001ca2: 695b ldr r3, [r3, #20] + 8001ca4: 3305 adds r3, #5 + 8001ca6: d111 bne.n 8001ccc { /* Enable ADC control of the Internal High Speed oscillator HSI14 */ __HAL_RCC_HSI14ADC_ENABLE(); - 8001ae8: 4b69 ldr r3, [pc, #420] ; (8001c90 ) - 8001aea: 6b5a ldr r2, [r3, #52] ; 0x34 - 8001aec: 4b68 ldr r3, [pc, #416] ; (8001c90 ) - 8001aee: 2104 movs r1, #4 - 8001af0: 438a bics r2, r1 - 8001af2: 635a str r2, [r3, #52] ; 0x34 + 8001ca8: 4b69 ldr r3, [pc, #420] ; (8001e50 ) + 8001caa: 6b5a ldr r2, [r3, #52] ; 0x34 + 8001cac: 4b68 ldr r3, [pc, #416] ; (8001e50 ) + 8001cae: 2104 movs r1, #4 + 8001cb0: 438a bics r2, r1 + 8001cb2: 635a str r2, [r3, #52] ; 0x34 /* Adjusts the Internal High Speed oscillator 14Mhz (HSI14) calibration value. */ __HAL_RCC_HSI14_CALIBRATIONVALUE_ADJUST(RCC_OscInitStruct->HSI14CalibrationValue); - 8001af4: 4b66 ldr r3, [pc, #408] ; (8001c90 ) - 8001af6: 6b5b ldr r3, [r3, #52] ; 0x34 - 8001af8: 22f8 movs r2, #248 ; 0xf8 - 8001afa: 4393 bics r3, r2 - 8001afc: 0019 movs r1, r3 - 8001afe: 687b ldr r3, [r7, #4] - 8001b00: 699b ldr r3, [r3, #24] - 8001b02: 00da lsls r2, r3, #3 - 8001b04: 4b62 ldr r3, [pc, #392] ; (8001c90 ) - 8001b06: 430a orrs r2, r1 - 8001b08: 635a str r2, [r3, #52] ; 0x34 - 8001b0a: e01e b.n 8001b4a + 8001cb4: 4b66 ldr r3, [pc, #408] ; (8001e50 ) + 8001cb6: 6b5b ldr r3, [r3, #52] ; 0x34 + 8001cb8: 22f8 movs r2, #248 ; 0xf8 + 8001cba: 4393 bics r3, r2 + 8001cbc: 0019 movs r1, r3 + 8001cbe: 687b ldr r3, [r7, #4] + 8001cc0: 699b ldr r3, [r3, #24] + 8001cc2: 00da lsls r2, r3, #3 + 8001cc4: 4b62 ldr r3, [pc, #392] ; (8001e50 ) + 8001cc6: 430a orrs r2, r1 + 8001cc8: 635a str r2, [r3, #52] ; 0x34 + 8001cca: e01e b.n 8001d0a } else { /* Disable ADC control of the Internal High Speed oscillator HSI14 */ __HAL_RCC_HSI14ADC_DISABLE(); - 8001b0c: 4b60 ldr r3, [pc, #384] ; (8001c90 ) - 8001b0e: 6b5a ldr r2, [r3, #52] ; 0x34 - 8001b10: 4b5f ldr r3, [pc, #380] ; (8001c90 ) - 8001b12: 2104 movs r1, #4 - 8001b14: 430a orrs r2, r1 - 8001b16: 635a str r2, [r3, #52] ; 0x34 + 8001ccc: 4b60 ldr r3, [pc, #384] ; (8001e50 ) + 8001cce: 6b5a ldr r2, [r3, #52] ; 0x34 + 8001cd0: 4b5f ldr r3, [pc, #380] ; (8001e50 ) + 8001cd2: 2104 movs r1, #4 + 8001cd4: 430a orrs r2, r1 + 8001cd6: 635a str r2, [r3, #52] ; 0x34 /* Disable the Internal High Speed oscillator (HSI). */ __HAL_RCC_HSI14_DISABLE(); - 8001b18: 4b5d ldr r3, [pc, #372] ; (8001c90 ) - 8001b1a: 6b5a ldr r2, [r3, #52] ; 0x34 - 8001b1c: 4b5c ldr r3, [pc, #368] ; (8001c90 ) - 8001b1e: 2101 movs r1, #1 - 8001b20: 438a bics r2, r1 - 8001b22: 635a str r2, [r3, #52] ; 0x34 + 8001cd8: 4b5d ldr r3, [pc, #372] ; (8001e50 ) + 8001cda: 6b5a ldr r2, [r3, #52] ; 0x34 + 8001cdc: 4b5c ldr r3, [pc, #368] ; (8001e50 ) + 8001cde: 2101 movs r1, #1 + 8001ce0: 438a bics r2, r1 + 8001ce2: 635a str r2, [r3, #52] ; 0x34 /* Get Start Tick */ tickstart = HAL_GetTick(); - 8001b24: f7fe fea8 bl 8000878 - 8001b28: 0003 movs r3, r0 - 8001b2a: 61bb str r3, [r7, #24] + 8001ce4: f7fe fe46 bl 8000974 + 8001ce8: 0003 movs r3, r0 + 8001cea: 61bb str r3, [r7, #24] /* Wait till HSI is ready */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSI14RDY) != RESET) - 8001b2c: e008 b.n 8001b40 + 8001cec: e008 b.n 8001d00 { if((HAL_GetTick() - tickstart) > HSI14_TIMEOUT_VALUE) - 8001b2e: f7fe fea3 bl 8000878 - 8001b32: 0002 movs r2, r0 - 8001b34: 69bb ldr r3, [r7, #24] - 8001b36: 1ad3 subs r3, r2, r3 - 8001b38: 2b02 cmp r3, #2 - 8001b3a: d901 bls.n 8001b40 + 8001cee: f7fe fe41 bl 8000974 + 8001cf2: 0002 movs r2, r0 + 8001cf4: 69bb ldr r3, [r7, #24] + 8001cf6: 1ad3 subs r3, r2, r3 + 8001cf8: 2b02 cmp r3, #2 + 8001cfa: d901 bls.n 8001d00 { return HAL_TIMEOUT; - 8001b3c: 2303 movs r3, #3 - 8001b3e: e0a2 b.n 8001c86 + 8001cfc: 2303 movs r3, #3 + 8001cfe: e0a2 b.n 8001e46 while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSI14RDY) != RESET) - 8001b40: 4b53 ldr r3, [pc, #332] ; (8001c90 ) - 8001b42: 6b5b ldr r3, [r3, #52] ; 0x34 - 8001b44: 2202 movs r2, #2 - 8001b46: 4013 ands r3, r2 - 8001b48: d1f1 bne.n 8001b2e + 8001d00: 4b53 ldr r3, [pc, #332] ; (8001e50 ) + 8001d02: 6b5b ldr r3, [r3, #52] ; 0x34 + 8001d04: 2202 movs r2, #2 + 8001d06: 4013 ands r3, r2 + 8001d08: d1f1 bne.n 8001cee #endif /* RCC_HSI48_SUPPORT */ /*-------------------------------- PLL Configuration -----------------------*/ /* Check the parameters */ assert_param(IS_RCC_PLL(RCC_OscInitStruct->PLL.PLLState)); if ((RCC_OscInitStruct->PLL.PLLState) != RCC_PLL_NONE) - 8001b4a: 687b ldr r3, [r7, #4] - 8001b4c: 6a1b ldr r3, [r3, #32] - 8001b4e: 2b00 cmp r3, #0 - 8001b50: d100 bne.n 8001b54 - 8001b52: e097 b.n 8001c84 + 8001d0a: 687b ldr r3, [r7, #4] + 8001d0c: 6a1b ldr r3, [r3, #32] + 8001d0e: 2b00 cmp r3, #0 + 8001d10: d100 bne.n 8001d14 + 8001d12: e097 b.n 8001e44 { /* Check if the PLL is used as system clock or not */ if(__HAL_RCC_GET_SYSCLK_SOURCE() != RCC_SYSCLKSOURCE_STATUS_PLLCLK) - 8001b54: 4b4e ldr r3, [pc, #312] ; (8001c90 ) - 8001b56: 685b ldr r3, [r3, #4] - 8001b58: 220c movs r2, #12 - 8001b5a: 4013 ands r3, r2 - 8001b5c: 2b08 cmp r3, #8 - 8001b5e: d100 bne.n 8001b62 - 8001b60: e06b b.n 8001c3a + 8001d14: 4b4e ldr r3, [pc, #312] ; (8001e50 ) + 8001d16: 685b ldr r3, [r3, #4] + 8001d18: 220c movs r2, #12 + 8001d1a: 4013 ands r3, r2 + 8001d1c: 2b08 cmp r3, #8 + 8001d1e: d100 bne.n 8001d22 + 8001d20: e06b b.n 8001dfa { if((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_ON) - 8001b62: 687b ldr r3, [r7, #4] - 8001b64: 6a1b ldr r3, [r3, #32] - 8001b66: 2b02 cmp r3, #2 - 8001b68: d14c bne.n 8001c04 + 8001d22: 687b ldr r3, [r7, #4] + 8001d24: 6a1b ldr r3, [r3, #32] + 8001d26: 2b02 cmp r3, #2 + 8001d28: d14c bne.n 8001dc4 assert_param(IS_RCC_PLLSOURCE(RCC_OscInitStruct->PLL.PLLSource)); assert_param(IS_RCC_PLL_MUL(RCC_OscInitStruct->PLL.PLLMUL)); assert_param(IS_RCC_PREDIV(RCC_OscInitStruct->PLL.PREDIV)); /* Disable the main PLL. */ __HAL_RCC_PLL_DISABLE(); - 8001b6a: 4b49 ldr r3, [pc, #292] ; (8001c90 ) - 8001b6c: 681a ldr r2, [r3, #0] - 8001b6e: 4b48 ldr r3, [pc, #288] ; (8001c90 ) - 8001b70: 494a ldr r1, [pc, #296] ; (8001c9c ) - 8001b72: 400a ands r2, r1 - 8001b74: 601a str r2, [r3, #0] + 8001d2a: 4b49 ldr r3, [pc, #292] ; (8001e50 ) + 8001d2c: 681a ldr r2, [r3, #0] + 8001d2e: 4b48 ldr r3, [pc, #288] ; (8001e50 ) + 8001d30: 494a ldr r1, [pc, #296] ; (8001e5c ) + 8001d32: 400a ands r2, r1 + 8001d34: 601a str r2, [r3, #0] /* Get Start Tick */ tickstart = HAL_GetTick(); - 8001b76: f7fe fe7f bl 8000878 - 8001b7a: 0003 movs r3, r0 - 8001b7c: 61bb str r3, [r7, #24] + 8001d36: f7fe fe1d bl 8000974 + 8001d3a: 0003 movs r3, r0 + 8001d3c: 61bb str r3, [r7, #24] /* Wait till PLL is disabled */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET) - 8001b7e: e008 b.n 8001b92 + 8001d3e: e008 b.n 8001d52 { if((HAL_GetTick() - tickstart ) > PLL_TIMEOUT_VALUE) - 8001b80: f7fe fe7a bl 8000878 - 8001b84: 0002 movs r2, r0 - 8001b86: 69bb ldr r3, [r7, #24] - 8001b88: 1ad3 subs r3, r2, r3 - 8001b8a: 2b02 cmp r3, #2 - 8001b8c: d901 bls.n 8001b92 + 8001d40: f7fe fe18 bl 8000974 + 8001d44: 0002 movs r2, r0 + 8001d46: 69bb ldr r3, [r7, #24] + 8001d48: 1ad3 subs r3, r2, r3 + 8001d4a: 2b02 cmp r3, #2 + 8001d4c: d901 bls.n 8001d52 { return HAL_TIMEOUT; - 8001b8e: 2303 movs r3, #3 - 8001b90: e079 b.n 8001c86 + 8001d4e: 2303 movs r3, #3 + 8001d50: e079 b.n 8001e46 while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET) - 8001b92: 4b3f ldr r3, [pc, #252] ; (8001c90 ) - 8001b94: 681a ldr r2, [r3, #0] - 8001b96: 2380 movs r3, #128 ; 0x80 - 8001b98: 049b lsls r3, r3, #18 - 8001b9a: 4013 ands r3, r2 - 8001b9c: d1f0 bne.n 8001b80 + 8001d52: 4b3f ldr r3, [pc, #252] ; (8001e50 ) + 8001d54: 681a ldr r2, [r3, #0] + 8001d56: 2380 movs r3, #128 ; 0x80 + 8001d58: 049b lsls r3, r3, #18 + 8001d5a: 4013 ands r3, r2 + 8001d5c: d1f0 bne.n 8001d40 } } /* Configure the main PLL clock source, predivider and multiplication factor. */ __HAL_RCC_PLL_CONFIG(RCC_OscInitStruct->PLL.PLLSource, - 8001b9e: 4b3c ldr r3, [pc, #240] ; (8001c90 ) - 8001ba0: 6adb ldr r3, [r3, #44] ; 0x2c - 8001ba2: 220f movs r2, #15 - 8001ba4: 4393 bics r3, r2 - 8001ba6: 0019 movs r1, r3 - 8001ba8: 687b ldr r3, [r7, #4] - 8001baa: 6ada ldr r2, [r3, #44] ; 0x2c - 8001bac: 4b38 ldr r3, [pc, #224] ; (8001c90 ) - 8001bae: 430a orrs r2, r1 - 8001bb0: 62da str r2, [r3, #44] ; 0x2c - 8001bb2: 4b37 ldr r3, [pc, #220] ; (8001c90 ) - 8001bb4: 685b ldr r3, [r3, #4] - 8001bb6: 4a3a ldr r2, [pc, #232] ; (8001ca0 ) - 8001bb8: 4013 ands r3, r2 - 8001bba: 0019 movs r1, r3 - 8001bbc: 687b ldr r3, [r7, #4] - 8001bbe: 6a9a ldr r2, [r3, #40] ; 0x28 - 8001bc0: 687b ldr r3, [r7, #4] - 8001bc2: 6a5b ldr r3, [r3, #36] ; 0x24 - 8001bc4: 431a orrs r2, r3 - 8001bc6: 4b32 ldr r3, [pc, #200] ; (8001c90 ) - 8001bc8: 430a orrs r2, r1 - 8001bca: 605a str r2, [r3, #4] + 8001d5e: 4b3c ldr r3, [pc, #240] ; (8001e50 ) + 8001d60: 6adb ldr r3, [r3, #44] ; 0x2c + 8001d62: 220f movs r2, #15 + 8001d64: 4393 bics r3, r2 + 8001d66: 0019 movs r1, r3 + 8001d68: 687b ldr r3, [r7, #4] + 8001d6a: 6ada ldr r2, [r3, #44] ; 0x2c + 8001d6c: 4b38 ldr r3, [pc, #224] ; (8001e50 ) + 8001d6e: 430a orrs r2, r1 + 8001d70: 62da str r2, [r3, #44] ; 0x2c + 8001d72: 4b37 ldr r3, [pc, #220] ; (8001e50 ) + 8001d74: 685b ldr r3, [r3, #4] + 8001d76: 4a3a ldr r2, [pc, #232] ; (8001e60 ) + 8001d78: 4013 ands r3, r2 + 8001d7a: 0019 movs r1, r3 + 8001d7c: 687b ldr r3, [r7, #4] + 8001d7e: 6a9a ldr r2, [r3, #40] ; 0x28 + 8001d80: 687b ldr r3, [r7, #4] + 8001d82: 6a5b ldr r3, [r3, #36] ; 0x24 + 8001d84: 431a orrs r2, r3 + 8001d86: 4b32 ldr r3, [pc, #200] ; (8001e50 ) + 8001d88: 430a orrs r2, r1 + 8001d8a: 605a str r2, [r3, #4] RCC_OscInitStruct->PLL.PREDIV, RCC_OscInitStruct->PLL.PLLMUL); /* Enable the main PLL. */ __HAL_RCC_PLL_ENABLE(); - 8001bcc: 4b30 ldr r3, [pc, #192] ; (8001c90 ) - 8001bce: 681a ldr r2, [r3, #0] - 8001bd0: 4b2f ldr r3, [pc, #188] ; (8001c90 ) - 8001bd2: 2180 movs r1, #128 ; 0x80 - 8001bd4: 0449 lsls r1, r1, #17 - 8001bd6: 430a orrs r2, r1 - 8001bd8: 601a str r2, [r3, #0] + 8001d8c: 4b30 ldr r3, [pc, #192] ; (8001e50 ) + 8001d8e: 681a ldr r2, [r3, #0] + 8001d90: 4b2f ldr r3, [pc, #188] ; (8001e50 ) + 8001d92: 2180 movs r1, #128 ; 0x80 + 8001d94: 0449 lsls r1, r1, #17 + 8001d96: 430a orrs r2, r1 + 8001d98: 601a str r2, [r3, #0] /* Get Start Tick */ tickstart = HAL_GetTick(); - 8001bda: f7fe fe4d bl 8000878 - 8001bde: 0003 movs r3, r0 - 8001be0: 61bb str r3, [r7, #24] + 8001d9a: f7fe fdeb bl 8000974 + 8001d9e: 0003 movs r3, r0 + 8001da0: 61bb str r3, [r7, #24] /* Wait till PLL is ready */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET) - 8001be2: e008 b.n 8001bf6 + 8001da2: e008 b.n 8001db6 { if((HAL_GetTick() - tickstart ) > PLL_TIMEOUT_VALUE) - 8001be4: f7fe fe48 bl 8000878 - 8001be8: 0002 movs r2, r0 - 8001bea: 69bb ldr r3, [r7, #24] - 8001bec: 1ad3 subs r3, r2, r3 - 8001bee: 2b02 cmp r3, #2 - 8001bf0: d901 bls.n 8001bf6 + 8001da4: f7fe fde6 bl 8000974 + 8001da8: 0002 movs r2, r0 + 8001daa: 69bb ldr r3, [r7, #24] + 8001dac: 1ad3 subs r3, r2, r3 + 8001dae: 2b02 cmp r3, #2 + 8001db0: d901 bls.n 8001db6 { return HAL_TIMEOUT; - 8001bf2: 2303 movs r3, #3 - 8001bf4: e047 b.n 8001c86 + 8001db2: 2303 movs r3, #3 + 8001db4: e047 b.n 8001e46 while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET) - 8001bf6: 4b26 ldr r3, [pc, #152] ; (8001c90 ) - 8001bf8: 681a ldr r2, [r3, #0] - 8001bfa: 2380 movs r3, #128 ; 0x80 - 8001bfc: 049b lsls r3, r3, #18 - 8001bfe: 4013 ands r3, r2 - 8001c00: d0f0 beq.n 8001be4 - 8001c02: e03f b.n 8001c84 + 8001db6: 4b26 ldr r3, [pc, #152] ; (8001e50 ) + 8001db8: 681a ldr r2, [r3, #0] + 8001dba: 2380 movs r3, #128 ; 0x80 + 8001dbc: 049b lsls r3, r3, #18 + 8001dbe: 4013 ands r3, r2 + 8001dc0: d0f0 beq.n 8001da4 + 8001dc2: e03f b.n 8001e44 } } else { /* Disable the main PLL. */ __HAL_RCC_PLL_DISABLE(); - 8001c04: 4b22 ldr r3, [pc, #136] ; (8001c90 ) - 8001c06: 681a ldr r2, [r3, #0] - 8001c08: 4b21 ldr r3, [pc, #132] ; (8001c90 ) - 8001c0a: 4924 ldr r1, [pc, #144] ; (8001c9c ) - 8001c0c: 400a ands r2, r1 - 8001c0e: 601a str r2, [r3, #0] + 8001dc4: 4b22 ldr r3, [pc, #136] ; (8001e50 ) + 8001dc6: 681a ldr r2, [r3, #0] + 8001dc8: 4b21 ldr r3, [pc, #132] ; (8001e50 ) + 8001dca: 4924 ldr r1, [pc, #144] ; (8001e5c ) + 8001dcc: 400a ands r2, r1 + 8001dce: 601a str r2, [r3, #0] /* Get Start Tick */ tickstart = HAL_GetTick(); - 8001c10: f7fe fe32 bl 8000878 - 8001c14: 0003 movs r3, r0 - 8001c16: 61bb str r3, [r7, #24] + 8001dd0: f7fe fdd0 bl 8000974 + 8001dd4: 0003 movs r3, r0 + 8001dd6: 61bb str r3, [r7, #24] /* Wait till PLL is disabled */ while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET) - 8001c18: e008 b.n 8001c2c + 8001dd8: e008 b.n 8001dec { if((HAL_GetTick() - tickstart ) > PLL_TIMEOUT_VALUE) - 8001c1a: f7fe fe2d bl 8000878 - 8001c1e: 0002 movs r2, r0 - 8001c20: 69bb ldr r3, [r7, #24] - 8001c22: 1ad3 subs r3, r2, r3 - 8001c24: 2b02 cmp r3, #2 - 8001c26: d901 bls.n 8001c2c + 8001dda: f7fe fdcb bl 8000974 + 8001dde: 0002 movs r2, r0 + 8001de0: 69bb ldr r3, [r7, #24] + 8001de2: 1ad3 subs r3, r2, r3 + 8001de4: 2b02 cmp r3, #2 + 8001de6: d901 bls.n 8001dec { return HAL_TIMEOUT; - 8001c28: 2303 movs r3, #3 - 8001c2a: e02c b.n 8001c86 + 8001de8: 2303 movs r3, #3 + 8001dea: e02c b.n 8001e46 while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET) - 8001c2c: 4b18 ldr r3, [pc, #96] ; (8001c90 ) - 8001c2e: 681a ldr r2, [r3, #0] - 8001c30: 2380 movs r3, #128 ; 0x80 - 8001c32: 049b lsls r3, r3, #18 - 8001c34: 4013 ands r3, r2 - 8001c36: d1f0 bne.n 8001c1a - 8001c38: e024 b.n 8001c84 + 8001dec: 4b18 ldr r3, [pc, #96] ; (8001e50 ) + 8001dee: 681a ldr r2, [r3, #0] + 8001df0: 2380 movs r3, #128 ; 0x80 + 8001df2: 049b lsls r3, r3, #18 + 8001df4: 4013 ands r3, r2 + 8001df6: d1f0 bne.n 8001dda + 8001df8: e024 b.n 8001e44 } } else { /* Check if there is a request to disable the PLL used as System clock source */ if((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_OFF) - 8001c3a: 687b ldr r3, [r7, #4] - 8001c3c: 6a1b ldr r3, [r3, #32] - 8001c3e: 2b01 cmp r3, #1 - 8001c40: d101 bne.n 8001c46 + 8001dfa: 687b ldr r3, [r7, #4] + 8001dfc: 6a1b ldr r3, [r3, #32] + 8001dfe: 2b01 cmp r3, #1 + 8001e00: d101 bne.n 8001e06 { return HAL_ERROR; - 8001c42: 2301 movs r3, #1 - 8001c44: e01f b.n 8001c86 + 8001e02: 2301 movs r3, #1 + 8001e04: e01f b.n 8001e46 } else { /* Do not return HAL_ERROR if request repeats the current configuration */ pll_config = RCC->CFGR; - 8001c46: 4b12 ldr r3, [pc, #72] ; (8001c90 ) - 8001c48: 685b ldr r3, [r3, #4] - 8001c4a: 617b str r3, [r7, #20] + 8001e06: 4b12 ldr r3, [pc, #72] ; (8001e50 ) + 8001e08: 685b ldr r3, [r3, #4] + 8001e0a: 617b str r3, [r7, #20] pll_config2 = RCC->CFGR2; - 8001c4c: 4b10 ldr r3, [pc, #64] ; (8001c90 ) - 8001c4e: 6adb ldr r3, [r3, #44] ; 0x2c - 8001c50: 613b str r3, [r7, #16] + 8001e0c: 4b10 ldr r3, [pc, #64] ; (8001e50 ) + 8001e0e: 6adb ldr r3, [r3, #44] ; 0x2c + 8001e10: 613b str r3, [r7, #16] if((READ_BIT(pll_config, RCC_CFGR_PLLSRC) != RCC_OscInitStruct->PLL.PLLSource) || - 8001c52: 697a ldr r2, [r7, #20] - 8001c54: 2380 movs r3, #128 ; 0x80 - 8001c56: 025b lsls r3, r3, #9 - 8001c58: 401a ands r2, r3 - 8001c5a: 687b ldr r3, [r7, #4] - 8001c5c: 6a5b ldr r3, [r3, #36] ; 0x24 - 8001c5e: 429a cmp r2, r3 - 8001c60: d10e bne.n 8001c80 + 8001e12: 697a ldr r2, [r7, #20] + 8001e14: 2380 movs r3, #128 ; 0x80 + 8001e16: 025b lsls r3, r3, #9 + 8001e18: 401a ands r2, r3 + 8001e1a: 687b ldr r3, [r7, #4] + 8001e1c: 6a5b ldr r3, [r3, #36] ; 0x24 + 8001e1e: 429a cmp r2, r3 + 8001e20: d10e bne.n 8001e40 (READ_BIT(pll_config2, RCC_CFGR2_PREDIV) != RCC_OscInitStruct->PLL.PREDIV) || - 8001c62: 693b ldr r3, [r7, #16] - 8001c64: 220f movs r2, #15 - 8001c66: 401a ands r2, r3 - 8001c68: 687b ldr r3, [r7, #4] - 8001c6a: 6adb ldr r3, [r3, #44] ; 0x2c + 8001e22: 693b ldr r3, [r7, #16] + 8001e24: 220f movs r2, #15 + 8001e26: 401a ands r2, r3 + 8001e28: 687b ldr r3, [r7, #4] + 8001e2a: 6adb ldr r3, [r3, #44] ; 0x2c if((READ_BIT(pll_config, RCC_CFGR_PLLSRC) != RCC_OscInitStruct->PLL.PLLSource) || - 8001c6c: 429a cmp r2, r3 - 8001c6e: d107 bne.n 8001c80 + 8001e2c: 429a cmp r2, r3 + 8001e2e: d107 bne.n 8001e40 (READ_BIT(pll_config, RCC_CFGR_PLLMUL) != RCC_OscInitStruct->PLL.PLLMUL)) - 8001c70: 697a ldr r2, [r7, #20] - 8001c72: 23f0 movs r3, #240 ; 0xf0 - 8001c74: 039b lsls r3, r3, #14 - 8001c76: 401a ands r2, r3 - 8001c78: 687b ldr r3, [r7, #4] - 8001c7a: 6a9b ldr r3, [r3, #40] ; 0x28 + 8001e30: 697a ldr r2, [r7, #20] + 8001e32: 23f0 movs r3, #240 ; 0xf0 + 8001e34: 039b lsls r3, r3, #14 + 8001e36: 401a ands r2, r3 + 8001e38: 687b ldr r3, [r7, #4] + 8001e3a: 6a9b ldr r3, [r3, #40] ; 0x28 (READ_BIT(pll_config2, RCC_CFGR2_PREDIV) != RCC_OscInitStruct->PLL.PREDIV) || - 8001c7c: 429a cmp r2, r3 - 8001c7e: d001 beq.n 8001c84 + 8001e3c: 429a cmp r2, r3 + 8001e3e: d001 beq.n 8001e44 { return HAL_ERROR; - 8001c80: 2301 movs r3, #1 - 8001c82: e000 b.n 8001c86 + 8001e40: 2301 movs r3, #1 + 8001e42: e000 b.n 8001e46 } } } } return HAL_OK; - 8001c84: 2300 movs r3, #0 + 8001e44: 2300 movs r3, #0 } - 8001c86: 0018 movs r0, r3 - 8001c88: 46bd mov sp, r7 - 8001c8a: b008 add sp, #32 - 8001c8c: bd80 pop {r7, pc} - 8001c8e: 46c0 nop ; (mov r8, r8) - 8001c90: 40021000 .word 0x40021000 - 8001c94: 00001388 .word 0x00001388 - 8001c98: efffffff .word 0xefffffff - 8001c9c: feffffff .word 0xfeffffff - 8001ca0: ffc2ffff .word 0xffc2ffff + 8001e46: 0018 movs r0, r3 + 8001e48: 46bd mov sp, r7 + 8001e4a: b008 add sp, #32 + 8001e4c: bd80 pop {r7, pc} + 8001e4e: 46c0 nop ; (mov r8, r8) + 8001e50: 40021000 .word 0x40021000 + 8001e54: 00001388 .word 0x00001388 + 8001e58: efffffff .word 0xefffffff + 8001e5c: feffffff .word 0xfeffffff + 8001e60: ffc2ffff .word 0xffc2ffff -08001ca4 : +08001e64 : * You can use @ref HAL_RCC_GetClockConfig() function to know which clock is * currently used as system clock source. * @retval HAL status */ HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency) { - 8001ca4: b580 push {r7, lr} - 8001ca6: b084 sub sp, #16 - 8001ca8: af00 add r7, sp, #0 - 8001caa: 6078 str r0, [r7, #4] - 8001cac: 6039 str r1, [r7, #0] + 8001e64: b580 push {r7, lr} + 8001e66: b084 sub sp, #16 + 8001e68: af00 add r7, sp, #0 + 8001e6a: 6078 str r0, [r7, #4] + 8001e6c: 6039 str r1, [r7, #0] uint32_t tickstart; /* Check Null pointer */ if(RCC_ClkInitStruct == NULL) - 8001cae: 687b ldr r3, [r7, #4] - 8001cb0: 2b00 cmp r3, #0 - 8001cb2: d101 bne.n 8001cb8 + 8001e6e: 687b ldr r3, [r7, #4] + 8001e70: 2b00 cmp r3, #0 + 8001e72: d101 bne.n 8001e78 { return HAL_ERROR; - 8001cb4: 2301 movs r3, #1 - 8001cb6: e0b3 b.n 8001e20 + 8001e74: 2301 movs r3, #1 + 8001e76: e0b3 b.n 8001fe0 /* To correctly read data from FLASH memory, the number of wait states (LATENCY) must be correctly programmed according to the frequency of the CPU clock (HCLK) of the device. */ /* Increasing the number of wait states because of higher CPU frequency */ if(FLatency > __HAL_FLASH_GET_LATENCY()) - 8001cb8: 4b5b ldr r3, [pc, #364] ; (8001e28 ) - 8001cba: 681b ldr r3, [r3, #0] - 8001cbc: 2201 movs r2, #1 - 8001cbe: 4013 ands r3, r2 - 8001cc0: 683a ldr r2, [r7, #0] - 8001cc2: 429a cmp r2, r3 - 8001cc4: d911 bls.n 8001cea + 8001e78: 4b5b ldr r3, [pc, #364] ; (8001fe8 ) + 8001e7a: 681b ldr r3, [r3, #0] + 8001e7c: 2201 movs r2, #1 + 8001e7e: 4013 ands r3, r2 + 8001e80: 683a ldr r2, [r7, #0] + 8001e82: 429a cmp r2, r3 + 8001e84: d911 bls.n 8001eaa { /* Program the new number of wait states to the LATENCY bits in the FLASH_ACR register */ __HAL_FLASH_SET_LATENCY(FLatency); - 8001cc6: 4b58 ldr r3, [pc, #352] ; (8001e28 ) - 8001cc8: 681b ldr r3, [r3, #0] - 8001cca: 2201 movs r2, #1 - 8001ccc: 4393 bics r3, r2 - 8001cce: 0019 movs r1, r3 - 8001cd0: 4b55 ldr r3, [pc, #340] ; (8001e28 ) - 8001cd2: 683a ldr r2, [r7, #0] - 8001cd4: 430a orrs r2, r1 - 8001cd6: 601a str r2, [r3, #0] + 8001e86: 4b58 ldr r3, [pc, #352] ; (8001fe8 ) + 8001e88: 681b ldr r3, [r3, #0] + 8001e8a: 2201 movs r2, #1 + 8001e8c: 4393 bics r3, r2 + 8001e8e: 0019 movs r1, r3 + 8001e90: 4b55 ldr r3, [pc, #340] ; (8001fe8 ) + 8001e92: 683a ldr r2, [r7, #0] + 8001e94: 430a orrs r2, r1 + 8001e96: 601a str r2, [r3, #0] /* Check that the new number of wait states is taken into account to access the Flash memory by reading the FLASH_ACR register */ if(__HAL_FLASH_GET_LATENCY() != FLatency) - 8001cd8: 4b53 ldr r3, [pc, #332] ; (8001e28 ) - 8001cda: 681b ldr r3, [r3, #0] - 8001cdc: 2201 movs r2, #1 - 8001cde: 4013 ands r3, r2 - 8001ce0: 683a ldr r2, [r7, #0] - 8001ce2: 429a cmp r2, r3 - 8001ce4: d001 beq.n 8001cea + 8001e98: 4b53 ldr r3, [pc, #332] ; (8001fe8 ) + 8001e9a: 681b ldr r3, [r3, #0] + 8001e9c: 2201 movs r2, #1 + 8001e9e: 4013 ands r3, r2 + 8001ea0: 683a ldr r2, [r7, #0] + 8001ea2: 429a cmp r2, r3 + 8001ea4: d001 beq.n 8001eaa { return HAL_ERROR; - 8001ce6: 2301 movs r3, #1 - 8001ce8: e09a b.n 8001e20 + 8001ea6: 2301 movs r3, #1 + 8001ea8: e09a b.n 8001fe0 } } /*-------------------------- HCLK Configuration --------------------------*/ if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_HCLK) == RCC_CLOCKTYPE_HCLK) - 8001cea: 687b ldr r3, [r7, #4] - 8001cec: 681b ldr r3, [r3, #0] - 8001cee: 2202 movs r2, #2 - 8001cf0: 4013 ands r3, r2 - 8001cf2: d015 beq.n 8001d20 + 8001eaa: 687b ldr r3, [r7, #4] + 8001eac: 681b ldr r3, [r3, #0] + 8001eae: 2202 movs r2, #2 + 8001eb0: 4013 ands r3, r2 + 8001eb2: d015 beq.n 8001ee0 { /* Set the highest APB divider in order to ensure that we do not go through a non-spec phase whatever we decrease or increase HCLK. */ if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK1) == RCC_CLOCKTYPE_PCLK1) - 8001cf4: 687b ldr r3, [r7, #4] - 8001cf6: 681b ldr r3, [r3, #0] - 8001cf8: 2204 movs r2, #4 - 8001cfa: 4013 ands r3, r2 - 8001cfc: d006 beq.n 8001d0c + 8001eb4: 687b ldr r3, [r7, #4] + 8001eb6: 681b ldr r3, [r3, #0] + 8001eb8: 2204 movs r2, #4 + 8001eba: 4013 ands r3, r2 + 8001ebc: d006 beq.n 8001ecc { MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE, RCC_HCLK_DIV16); - 8001cfe: 4b4b ldr r3, [pc, #300] ; (8001e2c ) - 8001d00: 685a ldr r2, [r3, #4] - 8001d02: 4b4a ldr r3, [pc, #296] ; (8001e2c ) - 8001d04: 21e0 movs r1, #224 ; 0xe0 - 8001d06: 00c9 lsls r1, r1, #3 - 8001d08: 430a orrs r2, r1 - 8001d0a: 605a str r2, [r3, #4] + 8001ebe: 4b4b ldr r3, [pc, #300] ; (8001fec ) + 8001ec0: 685a ldr r2, [r3, #4] + 8001ec2: 4b4a ldr r3, [pc, #296] ; (8001fec ) + 8001ec4: 21e0 movs r1, #224 ; 0xe0 + 8001ec6: 00c9 lsls r1, r1, #3 + 8001ec8: 430a orrs r2, r1 + 8001eca: 605a str r2, [r3, #4] } /* Set the new HCLK clock divider */ assert_param(IS_RCC_HCLK(RCC_ClkInitStruct->AHBCLKDivider)); MODIFY_REG(RCC->CFGR, RCC_CFGR_HPRE, RCC_ClkInitStruct->AHBCLKDivider); - 8001d0c: 4b47 ldr r3, [pc, #284] ; (8001e2c ) - 8001d0e: 685b ldr r3, [r3, #4] - 8001d10: 22f0 movs r2, #240 ; 0xf0 - 8001d12: 4393 bics r3, r2 - 8001d14: 0019 movs r1, r3 - 8001d16: 687b ldr r3, [r7, #4] - 8001d18: 689a ldr r2, [r3, #8] - 8001d1a: 4b44 ldr r3, [pc, #272] ; (8001e2c ) - 8001d1c: 430a orrs r2, r1 - 8001d1e: 605a str r2, [r3, #4] + 8001ecc: 4b47 ldr r3, [pc, #284] ; (8001fec ) + 8001ece: 685b ldr r3, [r3, #4] + 8001ed0: 22f0 movs r2, #240 ; 0xf0 + 8001ed2: 4393 bics r3, r2 + 8001ed4: 0019 movs r1, r3 + 8001ed6: 687b ldr r3, [r7, #4] + 8001ed8: 689a ldr r2, [r3, #8] + 8001eda: 4b44 ldr r3, [pc, #272] ; (8001fec ) + 8001edc: 430a orrs r2, r1 + 8001ede: 605a str r2, [r3, #4] } /*------------------------- SYSCLK Configuration ---------------------------*/ if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_SYSCLK) == RCC_CLOCKTYPE_SYSCLK) - 8001d20: 687b ldr r3, [r7, #4] - 8001d22: 681b ldr r3, [r3, #0] - 8001d24: 2201 movs r2, #1 - 8001d26: 4013 ands r3, r2 - 8001d28: d040 beq.n 8001dac + 8001ee0: 687b ldr r3, [r7, #4] + 8001ee2: 681b ldr r3, [r3, #0] + 8001ee4: 2201 movs r2, #1 + 8001ee6: 4013 ands r3, r2 + 8001ee8: d040 beq.n 8001f6c { assert_param(IS_RCC_SYSCLKSOURCE(RCC_ClkInitStruct->SYSCLKSource)); /* HSE is selected as System Clock Source */ if(RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_HSE) - 8001d2a: 687b ldr r3, [r7, #4] - 8001d2c: 685b ldr r3, [r3, #4] - 8001d2e: 2b01 cmp r3, #1 - 8001d30: d107 bne.n 8001d42 + 8001eea: 687b ldr r3, [r7, #4] + 8001eec: 685b ldr r3, [r3, #4] + 8001eee: 2b01 cmp r3, #1 + 8001ef0: d107 bne.n 8001f02 { /* Check the HSE ready flag */ if(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET) - 8001d32: 4b3e ldr r3, [pc, #248] ; (8001e2c ) - 8001d34: 681a ldr r2, [r3, #0] - 8001d36: 2380 movs r3, #128 ; 0x80 - 8001d38: 029b lsls r3, r3, #10 - 8001d3a: 4013 ands r3, r2 - 8001d3c: d114 bne.n 8001d68 + 8001ef2: 4b3e ldr r3, [pc, #248] ; (8001fec ) + 8001ef4: 681a ldr r2, [r3, #0] + 8001ef6: 2380 movs r3, #128 ; 0x80 + 8001ef8: 029b lsls r3, r3, #10 + 8001efa: 4013 ands r3, r2 + 8001efc: d114 bne.n 8001f28 { return HAL_ERROR; - 8001d3e: 2301 movs r3, #1 - 8001d40: e06e b.n 8001e20 + 8001efe: 2301 movs r3, #1 + 8001f00: e06e b.n 8001fe0 } } /* PLL is selected as System Clock Source */ else if(RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_PLLCLK) - 8001d42: 687b ldr r3, [r7, #4] - 8001d44: 685b ldr r3, [r3, #4] - 8001d46: 2b02 cmp r3, #2 - 8001d48: d107 bne.n 8001d5a + 8001f02: 687b ldr r3, [r7, #4] + 8001f04: 685b ldr r3, [r3, #4] + 8001f06: 2b02 cmp r3, #2 + 8001f08: d107 bne.n 8001f1a { /* Check the PLL ready flag */ if(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET) - 8001d4a: 4b38 ldr r3, [pc, #224] ; (8001e2c ) - 8001d4c: 681a ldr r2, [r3, #0] - 8001d4e: 2380 movs r3, #128 ; 0x80 - 8001d50: 049b lsls r3, r3, #18 - 8001d52: 4013 ands r3, r2 - 8001d54: d108 bne.n 8001d68 + 8001f0a: 4b38 ldr r3, [pc, #224] ; (8001fec ) + 8001f0c: 681a ldr r2, [r3, #0] + 8001f0e: 2380 movs r3, #128 ; 0x80 + 8001f10: 049b lsls r3, r3, #18 + 8001f12: 4013 ands r3, r2 + 8001f14: d108 bne.n 8001f28 { return HAL_ERROR; - 8001d56: 2301 movs r3, #1 - 8001d58: e062 b.n 8001e20 + 8001f16: 2301 movs r3, #1 + 8001f18: e062 b.n 8001fe0 #endif /* RCC_CFGR_SWS_HSI48 */ /* HSI is selected as System Clock Source */ else { /* Check the HSI ready flag */ if(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET) - 8001d5a: 4b34 ldr r3, [pc, #208] ; (8001e2c ) - 8001d5c: 681b ldr r3, [r3, #0] - 8001d5e: 2202 movs r2, #2 - 8001d60: 4013 ands r3, r2 - 8001d62: d101 bne.n 8001d68 + 8001f1a: 4b34 ldr r3, [pc, #208] ; (8001fec ) + 8001f1c: 681b ldr r3, [r3, #0] + 8001f1e: 2202 movs r2, #2 + 8001f20: 4013 ands r3, r2 + 8001f22: d101 bne.n 8001f28 { return HAL_ERROR; - 8001d64: 2301 movs r3, #1 - 8001d66: e05b b.n 8001e20 + 8001f24: 2301 movs r3, #1 + 8001f26: e05b b.n 8001fe0 } } __HAL_RCC_SYSCLK_CONFIG(RCC_ClkInitStruct->SYSCLKSource); - 8001d68: 4b30 ldr r3, [pc, #192] ; (8001e2c ) - 8001d6a: 685b ldr r3, [r3, #4] - 8001d6c: 2203 movs r2, #3 - 8001d6e: 4393 bics r3, r2 - 8001d70: 0019 movs r1, r3 - 8001d72: 687b ldr r3, [r7, #4] - 8001d74: 685a ldr r2, [r3, #4] - 8001d76: 4b2d ldr r3, [pc, #180] ; (8001e2c ) - 8001d78: 430a orrs r2, r1 - 8001d7a: 605a str r2, [r3, #4] + 8001f28: 4b30 ldr r3, [pc, #192] ; (8001fec ) + 8001f2a: 685b ldr r3, [r3, #4] + 8001f2c: 2203 movs r2, #3 + 8001f2e: 4393 bics r3, r2 + 8001f30: 0019 movs r1, r3 + 8001f32: 687b ldr r3, [r7, #4] + 8001f34: 685a ldr r2, [r3, #4] + 8001f36: 4b2d ldr r3, [pc, #180] ; (8001fec ) + 8001f38: 430a orrs r2, r1 + 8001f3a: 605a str r2, [r3, #4] /* Get Start Tick */ tickstart = HAL_GetTick(); - 8001d7c: f7fe fd7c bl 8000878 - 8001d80: 0003 movs r3, r0 - 8001d82: 60fb str r3, [r7, #12] + 8001f3c: f7fe fd1a bl 8000974 + 8001f40: 0003 movs r3, r0 + 8001f42: 60fb str r3, [r7, #12] while (__HAL_RCC_GET_SYSCLK_SOURCE() != (RCC_ClkInitStruct->SYSCLKSource << RCC_CFGR_SWS_Pos)) - 8001d84: e009 b.n 8001d9a + 8001f44: e009 b.n 8001f5a { if((HAL_GetTick() - tickstart ) > CLOCKSWITCH_TIMEOUT_VALUE) - 8001d86: f7fe fd77 bl 8000878 - 8001d8a: 0002 movs r2, r0 - 8001d8c: 68fb ldr r3, [r7, #12] - 8001d8e: 1ad3 subs r3, r2, r3 - 8001d90: 4a27 ldr r2, [pc, #156] ; (8001e30 ) - 8001d92: 4293 cmp r3, r2 - 8001d94: d901 bls.n 8001d9a + 8001f46: f7fe fd15 bl 8000974 + 8001f4a: 0002 movs r2, r0 + 8001f4c: 68fb ldr r3, [r7, #12] + 8001f4e: 1ad3 subs r3, r2, r3 + 8001f50: 4a27 ldr r2, [pc, #156] ; (8001ff0 ) + 8001f52: 4293 cmp r3, r2 + 8001f54: d901 bls.n 8001f5a { return HAL_TIMEOUT; - 8001d96: 2303 movs r3, #3 - 8001d98: e042 b.n 8001e20 + 8001f56: 2303 movs r3, #3 + 8001f58: e042 b.n 8001fe0 while (__HAL_RCC_GET_SYSCLK_SOURCE() != (RCC_ClkInitStruct->SYSCLKSource << RCC_CFGR_SWS_Pos)) - 8001d9a: 4b24 ldr r3, [pc, #144] ; (8001e2c ) - 8001d9c: 685b ldr r3, [r3, #4] - 8001d9e: 220c movs r2, #12 - 8001da0: 401a ands r2, r3 - 8001da2: 687b ldr r3, [r7, #4] - 8001da4: 685b ldr r3, [r3, #4] - 8001da6: 009b lsls r3, r3, #2 - 8001da8: 429a cmp r2, r3 - 8001daa: d1ec bne.n 8001d86 + 8001f5a: 4b24 ldr r3, [pc, #144] ; (8001fec ) + 8001f5c: 685b ldr r3, [r3, #4] + 8001f5e: 220c movs r2, #12 + 8001f60: 401a ands r2, r3 + 8001f62: 687b ldr r3, [r7, #4] + 8001f64: 685b ldr r3, [r3, #4] + 8001f66: 009b lsls r3, r3, #2 + 8001f68: 429a cmp r2, r3 + 8001f6a: d1ec bne.n 8001f46 } } } /* Decreasing the number of wait states because of lower CPU frequency */ if(FLatency < __HAL_FLASH_GET_LATENCY()) - 8001dac: 4b1e ldr r3, [pc, #120] ; (8001e28 ) - 8001dae: 681b ldr r3, [r3, #0] - 8001db0: 2201 movs r2, #1 - 8001db2: 4013 ands r3, r2 - 8001db4: 683a ldr r2, [r7, #0] - 8001db6: 429a cmp r2, r3 - 8001db8: d211 bcs.n 8001dde + 8001f6c: 4b1e ldr r3, [pc, #120] ; (8001fe8 ) + 8001f6e: 681b ldr r3, [r3, #0] + 8001f70: 2201 movs r2, #1 + 8001f72: 4013 ands r3, r2 + 8001f74: 683a ldr r2, [r7, #0] + 8001f76: 429a cmp r2, r3 + 8001f78: d211 bcs.n 8001f9e { /* Program the new number of wait states to the LATENCY bits in the FLASH_ACR register */ __HAL_FLASH_SET_LATENCY(FLatency); - 8001dba: 4b1b ldr r3, [pc, #108] ; (8001e28 ) - 8001dbc: 681b ldr r3, [r3, #0] - 8001dbe: 2201 movs r2, #1 - 8001dc0: 4393 bics r3, r2 - 8001dc2: 0019 movs r1, r3 - 8001dc4: 4b18 ldr r3, [pc, #96] ; (8001e28 ) - 8001dc6: 683a ldr r2, [r7, #0] - 8001dc8: 430a orrs r2, r1 - 8001dca: 601a str r2, [r3, #0] + 8001f7a: 4b1b ldr r3, [pc, #108] ; (8001fe8 ) + 8001f7c: 681b ldr r3, [r3, #0] + 8001f7e: 2201 movs r2, #1 + 8001f80: 4393 bics r3, r2 + 8001f82: 0019 movs r1, r3 + 8001f84: 4b18 ldr r3, [pc, #96] ; (8001fe8 ) + 8001f86: 683a ldr r2, [r7, #0] + 8001f88: 430a orrs r2, r1 + 8001f8a: 601a str r2, [r3, #0] /* Check that the new number of wait states is taken into account to access the Flash memory by reading the FLASH_ACR register */ if(__HAL_FLASH_GET_LATENCY() != FLatency) - 8001dcc: 4b16 ldr r3, [pc, #88] ; (8001e28 ) - 8001dce: 681b ldr r3, [r3, #0] - 8001dd0: 2201 movs r2, #1 - 8001dd2: 4013 ands r3, r2 - 8001dd4: 683a ldr r2, [r7, #0] - 8001dd6: 429a cmp r2, r3 - 8001dd8: d001 beq.n 8001dde + 8001f8c: 4b16 ldr r3, [pc, #88] ; (8001fe8 ) + 8001f8e: 681b ldr r3, [r3, #0] + 8001f90: 2201 movs r2, #1 + 8001f92: 4013 ands r3, r2 + 8001f94: 683a ldr r2, [r7, #0] + 8001f96: 429a cmp r2, r3 + 8001f98: d001 beq.n 8001f9e { return HAL_ERROR; - 8001dda: 2301 movs r3, #1 - 8001ddc: e020 b.n 8001e20 + 8001f9a: 2301 movs r3, #1 + 8001f9c: e020 b.n 8001fe0 } } /*-------------------------- PCLK1 Configuration ---------------------------*/ if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK1) == RCC_CLOCKTYPE_PCLK1) - 8001dde: 687b ldr r3, [r7, #4] - 8001de0: 681b ldr r3, [r3, #0] - 8001de2: 2204 movs r2, #4 - 8001de4: 4013 ands r3, r2 - 8001de6: d009 beq.n 8001dfc + 8001f9e: 687b ldr r3, [r7, #4] + 8001fa0: 681b ldr r3, [r3, #0] + 8001fa2: 2204 movs r2, #4 + 8001fa4: 4013 ands r3, r2 + 8001fa6: d009 beq.n 8001fbc { assert_param(IS_RCC_PCLK(RCC_ClkInitStruct->APB1CLKDivider)); MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE, RCC_ClkInitStruct->APB1CLKDivider); - 8001de8: 4b10 ldr r3, [pc, #64] ; (8001e2c ) - 8001dea: 685b ldr r3, [r3, #4] - 8001dec: 4a11 ldr r2, [pc, #68] ; (8001e34 ) - 8001dee: 4013 ands r3, r2 - 8001df0: 0019 movs r1, r3 - 8001df2: 687b ldr r3, [r7, #4] - 8001df4: 68da ldr r2, [r3, #12] - 8001df6: 4b0d ldr r3, [pc, #52] ; (8001e2c ) - 8001df8: 430a orrs r2, r1 - 8001dfa: 605a str r2, [r3, #4] + 8001fa8: 4b10 ldr r3, [pc, #64] ; (8001fec ) + 8001faa: 685b ldr r3, [r3, #4] + 8001fac: 4a11 ldr r2, [pc, #68] ; (8001ff4 ) + 8001fae: 4013 ands r3, r2 + 8001fb0: 0019 movs r1, r3 + 8001fb2: 687b ldr r3, [r7, #4] + 8001fb4: 68da ldr r2, [r3, #12] + 8001fb6: 4b0d ldr r3, [pc, #52] ; (8001fec ) + 8001fb8: 430a orrs r2, r1 + 8001fba: 605a str r2, [r3, #4] } /* Update the SystemCoreClock global variable */ SystemCoreClock = HAL_RCC_GetSysClockFreq() >> AHBPrescTable[(RCC->CFGR & RCC_CFGR_HPRE)>> RCC_CFGR_HPRE_BITNUMBER]; - 8001dfc: f000 f820 bl 8001e40 - 8001e00: 0001 movs r1, r0 - 8001e02: 4b0a ldr r3, [pc, #40] ; (8001e2c ) - 8001e04: 685b ldr r3, [r3, #4] - 8001e06: 091b lsrs r3, r3, #4 - 8001e08: 220f movs r2, #15 - 8001e0a: 4013 ands r3, r2 - 8001e0c: 4a0a ldr r2, [pc, #40] ; (8001e38 ) - 8001e0e: 5cd3 ldrb r3, [r2, r3] - 8001e10: 000a movs r2, r1 - 8001e12: 40da lsrs r2, r3 - 8001e14: 4b09 ldr r3, [pc, #36] ; (8001e3c ) - 8001e16: 601a str r2, [r3, #0] + 8001fbc: f000 f820 bl 8002000 + 8001fc0: 0001 movs r1, r0 + 8001fc2: 4b0a ldr r3, [pc, #40] ; (8001fec ) + 8001fc4: 685b ldr r3, [r3, #4] + 8001fc6: 091b lsrs r3, r3, #4 + 8001fc8: 220f movs r2, #15 + 8001fca: 4013 ands r3, r2 + 8001fcc: 4a0a ldr r2, [pc, #40] ; (8001ff8 ) + 8001fce: 5cd3 ldrb r3, [r2, r3] + 8001fd0: 000a movs r2, r1 + 8001fd2: 40da lsrs r2, r3 + 8001fd4: 4b09 ldr r3, [pc, #36] ; (8001ffc ) + 8001fd6: 601a str r2, [r3, #0] /* Configure the source of time base considering new system clocks settings*/ HAL_InitTick (TICK_INT_PRIORITY); - 8001e18: 2003 movs r0, #3 - 8001e1a: f7fe fce7 bl 80007ec + 8001fd8: 2003 movs r0, #3 + 8001fda: f7fe fc85 bl 80008e8 return HAL_OK; - 8001e1e: 2300 movs r3, #0 + 8001fde: 2300 movs r3, #0 } - 8001e20: 0018 movs r0, r3 - 8001e22: 46bd mov sp, r7 - 8001e24: b004 add sp, #16 - 8001e26: bd80 pop {r7, pc} - 8001e28: 40022000 .word 0x40022000 - 8001e2c: 40021000 .word 0x40021000 - 8001e30: 00001388 .word 0x00001388 - 8001e34: fffff8ff .word 0xfffff8ff - 8001e38: 08003158 .word 0x08003158 - 8001e3c: 20000000 .word 0x20000000 + 8001fe0: 0018 movs r0, r3 + 8001fe2: 46bd mov sp, r7 + 8001fe4: b004 add sp, #16 + 8001fe6: bd80 pop {r7, pc} + 8001fe8: 40022000 .word 0x40022000 + 8001fec: 40021000 .word 0x40021000 + 8001ff0: 00001388 .word 0x00001388 + 8001ff4: fffff8ff .word 0xfffff8ff + 8001ff8: 08003a5c .word 0x08003a5c + 8001ffc: 20000000 .word 0x20000000 -08001e40 : +08002000 : * right SYSCLK value. Otherwise, any configuration based on this function will be incorrect. * * @retval SYSCLK frequency */ uint32_t HAL_RCC_GetSysClockFreq(void) { - 8001e40: b590 push {r4, r7, lr} - 8001e42: b08f sub sp, #60 ; 0x3c - 8001e44: af00 add r7, sp, #0 + 8002000: b590 push {r4, r7, lr} + 8002002: b08f sub sp, #60 ; 0x3c + 8002004: af00 add r7, sp, #0 const uint8_t aPLLMULFactorTable[16] = { 2U, 3U, 4U, 5U, 6U, 7U, 8U, 9U, - 8001e46: 2314 movs r3, #20 - 8001e48: 18fb adds r3, r7, r3 - 8001e4a: 4a2b ldr r2, [pc, #172] ; (8001ef8 ) - 8001e4c: ca13 ldmia r2!, {r0, r1, r4} - 8001e4e: c313 stmia r3!, {r0, r1, r4} - 8001e50: 6812 ldr r2, [r2, #0] - 8001e52: 601a str r2, [r3, #0] + 8002006: 2314 movs r3, #20 + 8002008: 18fb adds r3, r7, r3 + 800200a: 4a2b ldr r2, [pc, #172] ; (80020b8 ) + 800200c: ca13 ldmia r2!, {r0, r1, r4} + 800200e: c313 stmia r3!, {r0, r1, r4} + 8002010: 6812 ldr r2, [r2, #0] + 8002012: 601a str r2, [r3, #0] 10U, 11U, 12U, 13U, 14U, 15U, 16U, 16U}; const uint8_t aPredivFactorTable[16] = { 1U, 2U, 3U, 4U, 5U, 6U, 7U, 8U, - 8001e54: 1d3b adds r3, r7, #4 - 8001e56: 4a29 ldr r2, [pc, #164] ; (8001efc ) - 8001e58: ca13 ldmia r2!, {r0, r1, r4} - 8001e5a: c313 stmia r3!, {r0, r1, r4} - 8001e5c: 6812 ldr r2, [r2, #0] - 8001e5e: 601a str r2, [r3, #0] + 8002014: 1d3b adds r3, r7, #4 + 8002016: 4a29 ldr r2, [pc, #164] ; (80020bc ) + 8002018: ca13 ldmia r2!, {r0, r1, r4} + 800201a: c313 stmia r3!, {r0, r1, r4} + 800201c: 6812 ldr r2, [r2, #0] + 800201e: 601a str r2, [r3, #0] 9U,10U, 11U, 12U, 13U, 14U, 15U, 16U}; uint32_t tmpreg = 0U, prediv = 0U, pllclk = 0U, pllmul = 0U; - 8001e60: 2300 movs r3, #0 - 8001e62: 62fb str r3, [r7, #44] ; 0x2c - 8001e64: 2300 movs r3, #0 - 8001e66: 62bb str r3, [r7, #40] ; 0x28 - 8001e68: 2300 movs r3, #0 - 8001e6a: 637b str r3, [r7, #52] ; 0x34 - 8001e6c: 2300 movs r3, #0 - 8001e6e: 627b str r3, [r7, #36] ; 0x24 + 8002020: 2300 movs r3, #0 + 8002022: 62fb str r3, [r7, #44] ; 0x2c + 8002024: 2300 movs r3, #0 + 8002026: 62bb str r3, [r7, #40] ; 0x28 + 8002028: 2300 movs r3, #0 + 800202a: 637b str r3, [r7, #52] ; 0x34 + 800202c: 2300 movs r3, #0 + 800202e: 627b str r3, [r7, #36] ; 0x24 uint32_t sysclockfreq = 0U; - 8001e70: 2300 movs r3, #0 - 8001e72: 633b str r3, [r7, #48] ; 0x30 + 8002030: 2300 movs r3, #0 + 8002032: 633b str r3, [r7, #48] ; 0x30 tmpreg = RCC->CFGR; - 8001e74: 4b22 ldr r3, [pc, #136] ; (8001f00 ) - 8001e76: 685b ldr r3, [r3, #4] - 8001e78: 62fb str r3, [r7, #44] ; 0x2c + 8002034: 4b22 ldr r3, [pc, #136] ; (80020c0 ) + 8002036: 685b ldr r3, [r3, #4] + 8002038: 62fb str r3, [r7, #44] ; 0x2c /* Get SYSCLK source -------------------------------------------------------*/ switch (tmpreg & RCC_CFGR_SWS) - 8001e7a: 6afb ldr r3, [r7, #44] ; 0x2c - 8001e7c: 220c movs r2, #12 - 8001e7e: 4013 ands r3, r2 - 8001e80: 2b04 cmp r3, #4 - 8001e82: d002 beq.n 8001e8a - 8001e84: 2b08 cmp r3, #8 - 8001e86: d003 beq.n 8001e90 - 8001e88: e02d b.n 8001ee6 + 800203a: 6afb ldr r3, [r7, #44] ; 0x2c + 800203c: 220c movs r2, #12 + 800203e: 4013 ands r3, r2 + 8002040: 2b04 cmp r3, #4 + 8002042: d002 beq.n 800204a + 8002044: 2b08 cmp r3, #8 + 8002046: d003 beq.n 8002050 + 8002048: e02d b.n 80020a6 { case RCC_SYSCLKSOURCE_STATUS_HSE: /* HSE used as system clock */ { sysclockfreq = HSE_VALUE; - 8001e8a: 4b1e ldr r3, [pc, #120] ; (8001f04 ) - 8001e8c: 633b str r3, [r7, #48] ; 0x30 + 800204a: 4b1e ldr r3, [pc, #120] ; (80020c4 ) + 800204c: 633b str r3, [r7, #48] ; 0x30 break; - 8001e8e: e02d b.n 8001eec + 800204e: e02d b.n 80020ac } case RCC_SYSCLKSOURCE_STATUS_PLLCLK: /* PLL used as system clock */ { pllmul = aPLLMULFactorTable[(uint32_t)(tmpreg & RCC_CFGR_PLLMUL) >> RCC_CFGR_PLLMUL_BITNUMBER]; - 8001e90: 6afb ldr r3, [r7, #44] ; 0x2c - 8001e92: 0c9b lsrs r3, r3, #18 - 8001e94: 220f movs r2, #15 - 8001e96: 4013 ands r3, r2 - 8001e98: 2214 movs r2, #20 - 8001e9a: 18ba adds r2, r7, r2 - 8001e9c: 5cd3 ldrb r3, [r2, r3] - 8001e9e: 627b str r3, [r7, #36] ; 0x24 + 8002050: 6afb ldr r3, [r7, #44] ; 0x2c + 8002052: 0c9b lsrs r3, r3, #18 + 8002054: 220f movs r2, #15 + 8002056: 4013 ands r3, r2 + 8002058: 2214 movs r2, #20 + 800205a: 18ba adds r2, r7, r2 + 800205c: 5cd3 ldrb r3, [r2, r3] + 800205e: 627b str r3, [r7, #36] ; 0x24 prediv = aPredivFactorTable[(uint32_t)(RCC->CFGR2 & RCC_CFGR2_PREDIV) >> RCC_CFGR2_PREDIV_BITNUMBER]; - 8001ea0: 4b17 ldr r3, [pc, #92] ; (8001f00 ) - 8001ea2: 6adb ldr r3, [r3, #44] ; 0x2c - 8001ea4: 220f movs r2, #15 - 8001ea6: 4013 ands r3, r2 - 8001ea8: 1d3a adds r2, r7, #4 - 8001eaa: 5cd3 ldrb r3, [r2, r3] - 8001eac: 62bb str r3, [r7, #40] ; 0x28 + 8002060: 4b17 ldr r3, [pc, #92] ; (80020c0 ) + 8002062: 6adb ldr r3, [r3, #44] ; 0x2c + 8002064: 220f movs r2, #15 + 8002066: 4013 ands r3, r2 + 8002068: 1d3a adds r2, r7, #4 + 800206a: 5cd3 ldrb r3, [r2, r3] + 800206c: 62bb str r3, [r7, #40] ; 0x28 if ((tmpreg & RCC_CFGR_PLLSRC) == RCC_PLLSOURCE_HSE) - 8001eae: 6afa ldr r2, [r7, #44] ; 0x2c - 8001eb0: 2380 movs r3, #128 ; 0x80 - 8001eb2: 025b lsls r3, r3, #9 - 8001eb4: 4013 ands r3, r2 - 8001eb6: d009 beq.n 8001ecc + 800206e: 6afa ldr r2, [r7, #44] ; 0x2c + 8002070: 2380 movs r3, #128 ; 0x80 + 8002072: 025b lsls r3, r3, #9 + 8002074: 4013 ands r3, r2 + 8002076: d009 beq.n 800208c { /* HSE used as PLL clock source : PLLCLK = HSE/PREDIV * PLLMUL */ pllclk = (uint32_t)((uint64_t) HSE_VALUE / (uint64_t) (prediv)) * ((uint64_t) pllmul); - 8001eb8: 6ab9 ldr r1, [r7, #40] ; 0x28 - 8001eba: 4812 ldr r0, [pc, #72] ; (8001f04 ) - 8001ebc: f7fe f924 bl 8000108 <__udivsi3> - 8001ec0: 0003 movs r3, r0 - 8001ec2: 001a movs r2, r3 - 8001ec4: 6a7b ldr r3, [r7, #36] ; 0x24 - 8001ec6: 4353 muls r3, r2 - 8001ec8: 637b str r3, [r7, #52] ; 0x34 - 8001eca: e009 b.n 8001ee0 + 8002078: 6ab9 ldr r1, [r7, #40] ; 0x28 + 800207a: 4812 ldr r0, [pc, #72] ; (80020c4 ) + 800207c: f7fe f844 bl 8000108 <__udivsi3> + 8002080: 0003 movs r3, r0 + 8002082: 001a movs r2, r3 + 8002084: 6a7b ldr r3, [r7, #36] ; 0x24 + 8002086: 4353 muls r3, r2 + 8002088: 637b str r3, [r7, #52] ; 0x34 + 800208a: e009 b.n 80020a0 #if (defined(STM32F042x6) || defined(STM32F048xx) || defined(STM32F070x6) || defined(STM32F071xB) || defined(STM32F072xB) || defined(STM32F078xx) || defined(STM32F070xB) || defined(STM32F091xC) || defined(STM32F098xx) || defined(STM32F030xC)) /* HSI used as PLL clock source : PLLCLK = HSI/PREDIV * PLLMUL */ pllclk = (uint32_t)((uint64_t) HSI_VALUE / (uint64_t) (prediv)) * ((uint64_t) pllmul); #else /* HSI used as PLL clock source : PLLCLK = HSI/2 * PLLMUL */ pllclk = (uint32_t)((uint64_t) (HSI_VALUE >> 1U) * ((uint64_t) pllmul)); - 8001ecc: 6a79 ldr r1, [r7, #36] ; 0x24 - 8001ece: 000a movs r2, r1 - 8001ed0: 0152 lsls r2, r2, #5 - 8001ed2: 1a52 subs r2, r2, r1 - 8001ed4: 0193 lsls r3, r2, #6 - 8001ed6: 1a9b subs r3, r3, r2 - 8001ed8: 00db lsls r3, r3, #3 - 8001eda: 185b adds r3, r3, r1 - 8001edc: 021b lsls r3, r3, #8 - 8001ede: 637b str r3, [r7, #52] ; 0x34 + 800208c: 6a79 ldr r1, [r7, #36] ; 0x24 + 800208e: 000a movs r2, r1 + 8002090: 0152 lsls r2, r2, #5 + 8002092: 1a52 subs r2, r2, r1 + 8002094: 0193 lsls r3, r2, #6 + 8002096: 1a9b subs r3, r3, r2 + 8002098: 00db lsls r3, r3, #3 + 800209a: 185b adds r3, r3, r1 + 800209c: 021b lsls r3, r3, #8 + 800209e: 637b str r3, [r7, #52] ; 0x34 #endif } sysclockfreq = pllclk; - 8001ee0: 6b7b ldr r3, [r7, #52] ; 0x34 - 8001ee2: 633b str r3, [r7, #48] ; 0x30 + 80020a0: 6b7b ldr r3, [r7, #52] ; 0x34 + 80020a2: 633b str r3, [r7, #48] ; 0x30 break; - 8001ee4: e002 b.n 8001eec + 80020a4: e002 b.n 80020ac } #endif /* RCC_CFGR_SWS_HSI48 */ case RCC_SYSCLKSOURCE_STATUS_HSI: /* HSI used as system clock source */ default: /* HSI used as system clock */ { sysclockfreq = HSI_VALUE; - 8001ee6: 4b07 ldr r3, [pc, #28] ; (8001f04 ) - 8001ee8: 633b str r3, [r7, #48] ; 0x30 + 80020a6: 4b07 ldr r3, [pc, #28] ; (80020c4 ) + 80020a8: 633b str r3, [r7, #48] ; 0x30 break; - 8001eea: 46c0 nop ; (mov r8, r8) + 80020aa: 46c0 nop ; (mov r8, r8) } } return sysclockfreq; - 8001eec: 6b3b ldr r3, [r7, #48] ; 0x30 + 80020ac: 6b3b ldr r3, [r7, #48] ; 0x30 } - 8001eee: 0018 movs r0, r3 - 8001ef0: 46bd mov sp, r7 - 8001ef2: b00f add sp, #60 ; 0x3c - 8001ef4: bd90 pop {r4, r7, pc} - 8001ef6: 46c0 nop ; (mov r8, r8) - 8001ef8: 08003130 .word 0x08003130 - 8001efc: 08003140 .word 0x08003140 - 8001f00: 40021000 .word 0x40021000 - 8001f04: 007a1200 .word 0x007a1200 + 80020ae: 0018 movs r0, r3 + 80020b0: 46bd mov sp, r7 + 80020b2: b00f add sp, #60 ; 0x3c + 80020b4: bd90 pop {r4, r7, pc} + 80020b6: 46c0 nop ; (mov r8, r8) + 80020b8: 08003a34 .word 0x08003a34 + 80020bc: 08003a44 .word 0x08003a44 + 80020c0: 40021000 .word 0x40021000 + 80020c4: 007a1200 .word 0x007a1200 -08001f08 : +080020c8 : + * Ex: call @ref HAL_TIM_Base_DeInit() before HAL_TIM_Base_Init() + * @param htim TIM Base handle + * @retval HAL status + */ +HAL_StatusTypeDef HAL_TIM_Base_Init(TIM_HandleTypeDef *htim) +{ + 80020c8: b580 push {r7, lr} + 80020ca: b082 sub sp, #8 + 80020cc: af00 add r7, sp, #0 + 80020ce: 6078 str r0, [r7, #4] + /* Check the TIM handle allocation */ + if (htim == NULL) + 80020d0: 687b ldr r3, [r7, #4] + 80020d2: 2b00 cmp r3, #0 + 80020d4: d101 bne.n 80020da + { + return HAL_ERROR; + 80020d6: 2301 movs r3, #1 + 80020d8: e042 b.n 8002160 + assert_param(IS_TIM_INSTANCE(htim->Instance)); + assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); + assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); + assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); + + if (htim->State == HAL_TIM_STATE_RESET) + 80020da: 687b ldr r3, [r7, #4] + 80020dc: 223d movs r2, #61 ; 0x3d + 80020de: 5c9b ldrb r3, [r3, r2] + 80020e0: b2db uxtb r3, r3 + 80020e2: 2b00 cmp r3, #0 + 80020e4: d107 bne.n 80020f6 + { + /* Allocate lock resource and initialize it */ + htim->Lock = HAL_UNLOCKED; + 80020e6: 687b ldr r3, [r7, #4] + 80020e8: 223c movs r2, #60 ; 0x3c + 80020ea: 2100 movs r1, #0 + 80020ec: 5499 strb r1, [r3, r2] + } + /* Init the low level hardware : GPIO, CLOCK, NVIC */ + htim->Base_MspInitCallback(htim); +#else + /* Init the low level hardware : GPIO, CLOCK, NVIC */ + HAL_TIM_Base_MspInit(htim); + 80020ee: 687b ldr r3, [r7, #4] + 80020f0: 0018 movs r0, r3 + 80020f2: f7fe fb61 bl 80007b8 +#endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ + } + + /* Set the TIM state */ + htim->State = HAL_TIM_STATE_BUSY; + 80020f6: 687b ldr r3, [r7, #4] + 80020f8: 223d movs r2, #61 ; 0x3d + 80020fa: 2102 movs r1, #2 + 80020fc: 5499 strb r1, [r3, r2] + + /* Set the Time Base configuration */ + TIM_Base_SetConfig(htim->Instance, &htim->Init); + 80020fe: 687b ldr r3, [r7, #4] + 8002100: 681a ldr r2, [r3, #0] + 8002102: 687b ldr r3, [r7, #4] + 8002104: 3304 adds r3, #4 + 8002106: 0019 movs r1, r3 + 8002108: 0010 movs r0, r2 + 800210a: f000 f9a9 bl 8002460 + + /* Initialize the DMA burst operation state */ + htim->DMABurstState = HAL_DMA_BURST_STATE_READY; + 800210e: 687b ldr r3, [r7, #4] + 8002110: 2246 movs r2, #70 ; 0x46 + 8002112: 2101 movs r1, #1 + 8002114: 5499 strb r1, [r3, r2] + + /* Initialize the TIM channels state */ + TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); + 8002116: 687b ldr r3, [r7, #4] + 8002118: 223e movs r2, #62 ; 0x3e + 800211a: 2101 movs r1, #1 + 800211c: 5499 strb r1, [r3, r2] + 800211e: 687b ldr r3, [r7, #4] + 8002120: 223f movs r2, #63 ; 0x3f + 8002122: 2101 movs r1, #1 + 8002124: 5499 strb r1, [r3, r2] + 8002126: 687b ldr r3, [r7, #4] + 8002128: 2240 movs r2, #64 ; 0x40 + 800212a: 2101 movs r1, #1 + 800212c: 5499 strb r1, [r3, r2] + 800212e: 687b ldr r3, [r7, #4] + 8002130: 2241 movs r2, #65 ; 0x41 + 8002132: 2101 movs r1, #1 + 8002134: 5499 strb r1, [r3, r2] + TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); + 8002136: 687b ldr r3, [r7, #4] + 8002138: 2242 movs r2, #66 ; 0x42 + 800213a: 2101 movs r1, #1 + 800213c: 5499 strb r1, [r3, r2] + 800213e: 687b ldr r3, [r7, #4] + 8002140: 2243 movs r2, #67 ; 0x43 + 8002142: 2101 movs r1, #1 + 8002144: 5499 strb r1, [r3, r2] + 8002146: 687b ldr r3, [r7, #4] + 8002148: 2244 movs r2, #68 ; 0x44 + 800214a: 2101 movs r1, #1 + 800214c: 5499 strb r1, [r3, r2] + 800214e: 687b ldr r3, [r7, #4] + 8002150: 2245 movs r2, #69 ; 0x45 + 8002152: 2101 movs r1, #1 + 8002154: 5499 strb r1, [r3, r2] + + /* Initialize the TIM state*/ + htim->State = HAL_TIM_STATE_READY; + 8002156: 687b ldr r3, [r7, #4] + 8002158: 223d movs r2, #61 ; 0x3d + 800215a: 2101 movs r1, #1 + 800215c: 5499 strb r1, [r3, r2] + + return HAL_OK; + 800215e: 2300 movs r3, #0 +} + 8002160: 0018 movs r0, r3 + 8002162: 46bd mov sp, r7 + 8002164: b002 add sp, #8 + 8002166: bd80 pop {r7, pc} + +08002168 : + * @brief Starts the TIM Base generation in interrupt mode. + * @param htim TIM Base handle + * @retval HAL status + */ +HAL_StatusTypeDef HAL_TIM_Base_Start_IT(TIM_HandleTypeDef *htim) +{ + 8002168: b580 push {r7, lr} + 800216a: b084 sub sp, #16 + 800216c: af00 add r7, sp, #0 + 800216e: 6078 str r0, [r7, #4] + + /* Check the parameters */ + assert_param(IS_TIM_INSTANCE(htim->Instance)); + + /* Check the TIM state */ + if (htim->State != HAL_TIM_STATE_READY) + 8002170: 687b ldr r3, [r7, #4] + 8002172: 223d movs r2, #61 ; 0x3d + 8002174: 5c9b ldrb r3, [r3, r2] + 8002176: b2db uxtb r3, r3 + 8002178: 2b01 cmp r3, #1 + 800217a: d001 beq.n 8002180 + { + return HAL_ERROR; + 800217c: 2301 movs r3, #1 + 800217e: e030 b.n 80021e2 + } + + /* Set the TIM state */ + htim->State = HAL_TIM_STATE_BUSY; + 8002180: 687b ldr r3, [r7, #4] + 8002182: 223d movs r2, #61 ; 0x3d + 8002184: 2102 movs r1, #2 + 8002186: 5499 strb r1, [r3, r2] + + /* Enable the TIM Update interrupt */ + __HAL_TIM_ENABLE_IT(htim, TIM_IT_UPDATE); + 8002188: 687b ldr r3, [r7, #4] + 800218a: 681b ldr r3, [r3, #0] + 800218c: 68da ldr r2, [r3, #12] + 800218e: 687b ldr r3, [r7, #4] + 8002190: 681b ldr r3, [r3, #0] + 8002192: 2101 movs r1, #1 + 8002194: 430a orrs r2, r1 + 8002196: 60da str r2, [r3, #12] + + /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger */ + if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) + 8002198: 687b ldr r3, [r7, #4] + 800219a: 681b ldr r3, [r3, #0] + 800219c: 4a13 ldr r2, [pc, #76] ; (80021ec ) + 800219e: 4293 cmp r3, r2 + 80021a0: d004 beq.n 80021ac + 80021a2: 687b ldr r3, [r7, #4] + 80021a4: 681b ldr r3, [r3, #0] + 80021a6: 4a12 ldr r2, [pc, #72] ; (80021f0 ) + 80021a8: 4293 cmp r3, r2 + 80021aa: d111 bne.n 80021d0 + { + tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS; + 80021ac: 687b ldr r3, [r7, #4] + 80021ae: 681b ldr r3, [r3, #0] + 80021b0: 689b ldr r3, [r3, #8] + 80021b2: 2207 movs r2, #7 + 80021b4: 4013 ands r3, r2 + 80021b6: 60fb str r3, [r7, #12] + if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) + 80021b8: 68fb ldr r3, [r7, #12] + 80021ba: 2b06 cmp r3, #6 + 80021bc: d010 beq.n 80021e0 + { + __HAL_TIM_ENABLE(htim); + 80021be: 687b ldr r3, [r7, #4] + 80021c0: 681b ldr r3, [r3, #0] + 80021c2: 681a ldr r2, [r3, #0] + 80021c4: 687b ldr r3, [r7, #4] + 80021c6: 681b ldr r3, [r3, #0] + 80021c8: 2101 movs r1, #1 + 80021ca: 430a orrs r2, r1 + 80021cc: 601a str r2, [r3, #0] + if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr)) + 80021ce: e007 b.n 80021e0 + } + } + else + { + __HAL_TIM_ENABLE(htim); + 80021d0: 687b ldr r3, [r7, #4] + 80021d2: 681b ldr r3, [r3, #0] + 80021d4: 681a ldr r2, [r3, #0] + 80021d6: 687b ldr r3, [r7, #4] + 80021d8: 681b ldr r3, [r3, #0] + 80021da: 2101 movs r1, #1 + 80021dc: 430a orrs r2, r1 + 80021de: 601a str r2, [r3, #0] + } + + /* Return function status */ + return HAL_OK; + 80021e0: 2300 movs r3, #0 +} + 80021e2: 0018 movs r0, r3 + 80021e4: 46bd mov sp, r7 + 80021e6: b004 add sp, #16 + 80021e8: bd80 pop {r7, pc} + 80021ea: 46c0 nop ; (mov r8, r8) + 80021ec: 40012c00 .word 0x40012c00 + 80021f0: 40000400 .word 0x40000400 + +080021f4 : + * @brief This function handles TIM interrupts requests. + * @param htim TIM handle + * @retval None + */ +void HAL_TIM_IRQHandler(TIM_HandleTypeDef *htim) +{ + 80021f4: b580 push {r7, lr} + 80021f6: b082 sub sp, #8 + 80021f8: af00 add r7, sp, #0 + 80021fa: 6078 str r0, [r7, #4] + /* Capture compare 1 event */ + if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC1) != RESET) + 80021fc: 687b ldr r3, [r7, #4] + 80021fe: 681b ldr r3, [r3, #0] + 8002200: 691b ldr r3, [r3, #16] + 8002202: 2202 movs r2, #2 + 8002204: 4013 ands r3, r2 + 8002206: 2b02 cmp r3, #2 + 8002208: d124 bne.n 8002254 + { + if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC1) != RESET) + 800220a: 687b ldr r3, [r7, #4] + 800220c: 681b ldr r3, [r3, #0] + 800220e: 68db ldr r3, [r3, #12] + 8002210: 2202 movs r2, #2 + 8002212: 4013 ands r3, r2 + 8002214: 2b02 cmp r3, #2 + 8002216: d11d bne.n 8002254 + { + { + __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC1); + 8002218: 687b ldr r3, [r7, #4] + 800221a: 681b ldr r3, [r3, #0] + 800221c: 2203 movs r2, #3 + 800221e: 4252 negs r2, r2 + 8002220: 611a str r2, [r3, #16] + htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1; + 8002222: 687b ldr r3, [r7, #4] + 8002224: 2201 movs r2, #1 + 8002226: 771a strb r2, [r3, #28] + + /* Input capture event */ + if ((htim->Instance->CCMR1 & TIM_CCMR1_CC1S) != 0x00U) + 8002228: 687b ldr r3, [r7, #4] + 800222a: 681b ldr r3, [r3, #0] + 800222c: 699b ldr r3, [r3, #24] + 800222e: 2203 movs r2, #3 + 8002230: 4013 ands r3, r2 + 8002232: d004 beq.n 800223e + { +#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) + htim->IC_CaptureCallback(htim); +#else + HAL_TIM_IC_CaptureCallback(htim); + 8002234: 687b ldr r3, [r7, #4] + 8002236: 0018 movs r0, r3 + 8002238: f000 f8fa bl 8002430 + 800223c: e007 b.n 800224e + { +#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) + htim->OC_DelayElapsedCallback(htim); + htim->PWM_PulseFinishedCallback(htim); +#else + HAL_TIM_OC_DelayElapsedCallback(htim); + 800223e: 687b ldr r3, [r7, #4] + 8002240: 0018 movs r0, r3 + 8002242: f000 f8ed bl 8002420 + HAL_TIM_PWM_PulseFinishedCallback(htim); + 8002246: 687b ldr r3, [r7, #4] + 8002248: 0018 movs r0, r3 + 800224a: f000 f8f9 bl 8002440 +#endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ + } + htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; + 800224e: 687b ldr r3, [r7, #4] + 8002250: 2200 movs r2, #0 + 8002252: 771a strb r2, [r3, #28] + } + } + } + /* Capture compare 2 event */ + if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC2) != RESET) + 8002254: 687b ldr r3, [r7, #4] + 8002256: 681b ldr r3, [r3, #0] + 8002258: 691b ldr r3, [r3, #16] + 800225a: 2204 movs r2, #4 + 800225c: 4013 ands r3, r2 + 800225e: 2b04 cmp r3, #4 + 8002260: d125 bne.n 80022ae + { + if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC2) != RESET) + 8002262: 687b ldr r3, [r7, #4] + 8002264: 681b ldr r3, [r3, #0] + 8002266: 68db ldr r3, [r3, #12] + 8002268: 2204 movs r2, #4 + 800226a: 4013 ands r3, r2 + 800226c: 2b04 cmp r3, #4 + 800226e: d11e bne.n 80022ae + { + __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC2); + 8002270: 687b ldr r3, [r7, #4] + 8002272: 681b ldr r3, [r3, #0] + 8002274: 2205 movs r2, #5 + 8002276: 4252 negs r2, r2 + 8002278: 611a str r2, [r3, #16] + htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2; + 800227a: 687b ldr r3, [r7, #4] + 800227c: 2202 movs r2, #2 + 800227e: 771a strb r2, [r3, #28] + /* Input capture event */ + if ((htim->Instance->CCMR1 & TIM_CCMR1_CC2S) != 0x00U) + 8002280: 687b ldr r3, [r7, #4] + 8002282: 681b ldr r3, [r3, #0] + 8002284: 699a ldr r2, [r3, #24] + 8002286: 23c0 movs r3, #192 ; 0xc0 + 8002288: 009b lsls r3, r3, #2 + 800228a: 4013 ands r3, r2 + 800228c: d004 beq.n 8002298 + { +#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) + htim->IC_CaptureCallback(htim); +#else + HAL_TIM_IC_CaptureCallback(htim); + 800228e: 687b ldr r3, [r7, #4] + 8002290: 0018 movs r0, r3 + 8002292: f000 f8cd bl 8002430 + 8002296: e007 b.n 80022a8 + { +#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) + htim->OC_DelayElapsedCallback(htim); + htim->PWM_PulseFinishedCallback(htim); +#else + HAL_TIM_OC_DelayElapsedCallback(htim); + 8002298: 687b ldr r3, [r7, #4] + 800229a: 0018 movs r0, r3 + 800229c: f000 f8c0 bl 8002420 + HAL_TIM_PWM_PulseFinishedCallback(htim); + 80022a0: 687b ldr r3, [r7, #4] + 80022a2: 0018 movs r0, r3 + 80022a4: f000 f8cc bl 8002440 +#endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ + } + htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; + 80022a8: 687b ldr r3, [r7, #4] + 80022aa: 2200 movs r2, #0 + 80022ac: 771a strb r2, [r3, #28] + } + } + /* Capture compare 3 event */ + if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC3) != RESET) + 80022ae: 687b ldr r3, [r7, #4] + 80022b0: 681b ldr r3, [r3, #0] + 80022b2: 691b ldr r3, [r3, #16] + 80022b4: 2208 movs r2, #8 + 80022b6: 4013 ands r3, r2 + 80022b8: 2b08 cmp r3, #8 + 80022ba: d124 bne.n 8002306 + { + if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC3) != RESET) + 80022bc: 687b ldr r3, [r7, #4] + 80022be: 681b ldr r3, [r3, #0] + 80022c0: 68db ldr r3, [r3, #12] + 80022c2: 2208 movs r2, #8 + 80022c4: 4013 ands r3, r2 + 80022c6: 2b08 cmp r3, #8 + 80022c8: d11d bne.n 8002306 + { + __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC3); + 80022ca: 687b ldr r3, [r7, #4] + 80022cc: 681b ldr r3, [r3, #0] + 80022ce: 2209 movs r2, #9 + 80022d0: 4252 negs r2, r2 + 80022d2: 611a str r2, [r3, #16] + htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3; + 80022d4: 687b ldr r3, [r7, #4] + 80022d6: 2204 movs r2, #4 + 80022d8: 771a strb r2, [r3, #28] + /* Input capture event */ + if ((htim->Instance->CCMR2 & TIM_CCMR2_CC3S) != 0x00U) + 80022da: 687b ldr r3, [r7, #4] + 80022dc: 681b ldr r3, [r3, #0] + 80022de: 69db ldr r3, [r3, #28] + 80022e0: 2203 movs r2, #3 + 80022e2: 4013 ands r3, r2 + 80022e4: d004 beq.n 80022f0 + { +#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) + htim->IC_CaptureCallback(htim); +#else + HAL_TIM_IC_CaptureCallback(htim); + 80022e6: 687b ldr r3, [r7, #4] + 80022e8: 0018 movs r0, r3 + 80022ea: f000 f8a1 bl 8002430 + 80022ee: e007 b.n 8002300 + { +#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) + htim->OC_DelayElapsedCallback(htim); + htim->PWM_PulseFinishedCallback(htim); +#else + HAL_TIM_OC_DelayElapsedCallback(htim); + 80022f0: 687b ldr r3, [r7, #4] + 80022f2: 0018 movs r0, r3 + 80022f4: f000 f894 bl 8002420 + HAL_TIM_PWM_PulseFinishedCallback(htim); + 80022f8: 687b ldr r3, [r7, #4] + 80022fa: 0018 movs r0, r3 + 80022fc: f000 f8a0 bl 8002440 +#endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ + } + htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; + 8002300: 687b ldr r3, [r7, #4] + 8002302: 2200 movs r2, #0 + 8002304: 771a strb r2, [r3, #28] + } + } + /* Capture compare 4 event */ + if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC4) != RESET) + 8002306: 687b ldr r3, [r7, #4] + 8002308: 681b ldr r3, [r3, #0] + 800230a: 691b ldr r3, [r3, #16] + 800230c: 2210 movs r2, #16 + 800230e: 4013 ands r3, r2 + 8002310: 2b10 cmp r3, #16 + 8002312: d125 bne.n 8002360 + { + if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC4) != RESET) + 8002314: 687b ldr r3, [r7, #4] + 8002316: 681b ldr r3, [r3, #0] + 8002318: 68db ldr r3, [r3, #12] + 800231a: 2210 movs r2, #16 + 800231c: 4013 ands r3, r2 + 800231e: 2b10 cmp r3, #16 + 8002320: d11e bne.n 8002360 + { + __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC4); + 8002322: 687b ldr r3, [r7, #4] + 8002324: 681b ldr r3, [r3, #0] + 8002326: 2211 movs r2, #17 + 8002328: 4252 negs r2, r2 + 800232a: 611a str r2, [r3, #16] + htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4; + 800232c: 687b ldr r3, [r7, #4] + 800232e: 2208 movs r2, #8 + 8002330: 771a strb r2, [r3, #28] + /* Input capture event */ + if ((htim->Instance->CCMR2 & TIM_CCMR2_CC4S) != 0x00U) + 8002332: 687b ldr r3, [r7, #4] + 8002334: 681b ldr r3, [r3, #0] + 8002336: 69da ldr r2, [r3, #28] + 8002338: 23c0 movs r3, #192 ; 0xc0 + 800233a: 009b lsls r3, r3, #2 + 800233c: 4013 ands r3, r2 + 800233e: d004 beq.n 800234a + { +#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) + htim->IC_CaptureCallback(htim); +#else + HAL_TIM_IC_CaptureCallback(htim); + 8002340: 687b ldr r3, [r7, #4] + 8002342: 0018 movs r0, r3 + 8002344: f000 f874 bl 8002430 + 8002348: e007 b.n 800235a + { +#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) + htim->OC_DelayElapsedCallback(htim); + htim->PWM_PulseFinishedCallback(htim); +#else + HAL_TIM_OC_DelayElapsedCallback(htim); + 800234a: 687b ldr r3, [r7, #4] + 800234c: 0018 movs r0, r3 + 800234e: f000 f867 bl 8002420 + HAL_TIM_PWM_PulseFinishedCallback(htim); + 8002352: 687b ldr r3, [r7, #4] + 8002354: 0018 movs r0, r3 + 8002356: f000 f873 bl 8002440 +#endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ + } + htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED; + 800235a: 687b ldr r3, [r7, #4] + 800235c: 2200 movs r2, #0 + 800235e: 771a strb r2, [r3, #28] + } + } + /* TIM Update event */ + if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_UPDATE) != RESET) + 8002360: 687b ldr r3, [r7, #4] + 8002362: 681b ldr r3, [r3, #0] + 8002364: 691b ldr r3, [r3, #16] + 8002366: 2201 movs r2, #1 + 8002368: 4013 ands r3, r2 + 800236a: 2b01 cmp r3, #1 + 800236c: d10f bne.n 800238e + { + if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_UPDATE) != RESET) + 800236e: 687b ldr r3, [r7, #4] + 8002370: 681b ldr r3, [r3, #0] + 8002372: 68db ldr r3, [r3, #12] + 8002374: 2201 movs r2, #1 + 8002376: 4013 ands r3, r2 + 8002378: 2b01 cmp r3, #1 + 800237a: d108 bne.n 800238e + { + __HAL_TIM_CLEAR_IT(htim, TIM_IT_UPDATE); + 800237c: 687b ldr r3, [r7, #4] + 800237e: 681b ldr r3, [r3, #0] + 8002380: 2202 movs r2, #2 + 8002382: 4252 negs r2, r2 + 8002384: 611a str r2, [r3, #16] +#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) + htim->PeriodElapsedCallback(htim); +#else + HAL_TIM_PeriodElapsedCallback(htim); + 8002386: 687b ldr r3, [r7, #4] + 8002388: 0018 movs r0, r3 + 800238a: f001 fb05 bl 8003998 +#endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ + } + } + /* TIM Break input event */ + if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_BREAK) != RESET) + 800238e: 687b ldr r3, [r7, #4] + 8002390: 681b ldr r3, [r3, #0] + 8002392: 691b ldr r3, [r3, #16] + 8002394: 2280 movs r2, #128 ; 0x80 + 8002396: 4013 ands r3, r2 + 8002398: 2b80 cmp r3, #128 ; 0x80 + 800239a: d10f bne.n 80023bc + { + if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_BREAK) != RESET) + 800239c: 687b ldr r3, [r7, #4] + 800239e: 681b ldr r3, [r3, #0] + 80023a0: 68db ldr r3, [r3, #12] + 80023a2: 2280 movs r2, #128 ; 0x80 + 80023a4: 4013 ands r3, r2 + 80023a6: 2b80 cmp r3, #128 ; 0x80 + 80023a8: d108 bne.n 80023bc + { + __HAL_TIM_CLEAR_IT(htim, TIM_IT_BREAK); + 80023aa: 687b ldr r3, [r7, #4] + 80023ac: 681b ldr r3, [r3, #0] + 80023ae: 2281 movs r2, #129 ; 0x81 + 80023b0: 4252 negs r2, r2 + 80023b2: 611a str r2, [r3, #16] +#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) + htim->BreakCallback(htim); +#else + HAL_TIMEx_BreakCallback(htim); + 80023b4: 687b ldr r3, [r7, #4] + 80023b6: 0018 movs r0, r3 + 80023b8: f000 f8c6 bl 8002548 +#endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ + } + } + /* TIM Trigger detection event */ + if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_TRIGGER) != RESET) + 80023bc: 687b ldr r3, [r7, #4] + 80023be: 681b ldr r3, [r3, #0] + 80023c0: 691b ldr r3, [r3, #16] + 80023c2: 2240 movs r2, #64 ; 0x40 + 80023c4: 4013 ands r3, r2 + 80023c6: 2b40 cmp r3, #64 ; 0x40 + 80023c8: d10f bne.n 80023ea + { + if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_TRIGGER) != RESET) + 80023ca: 687b ldr r3, [r7, #4] + 80023cc: 681b ldr r3, [r3, #0] + 80023ce: 68db ldr r3, [r3, #12] + 80023d0: 2240 movs r2, #64 ; 0x40 + 80023d2: 4013 ands r3, r2 + 80023d4: 2b40 cmp r3, #64 ; 0x40 + 80023d6: d108 bne.n 80023ea + { + __HAL_TIM_CLEAR_IT(htim, TIM_IT_TRIGGER); + 80023d8: 687b ldr r3, [r7, #4] + 80023da: 681b ldr r3, [r3, #0] + 80023dc: 2241 movs r2, #65 ; 0x41 + 80023de: 4252 negs r2, r2 + 80023e0: 611a str r2, [r3, #16] +#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) + htim->TriggerCallback(htim); +#else + HAL_TIM_TriggerCallback(htim); + 80023e2: 687b ldr r3, [r7, #4] + 80023e4: 0018 movs r0, r3 + 80023e6: f000 f833 bl 8002450 +#endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ + } + } + /* TIM commutation event */ + if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_COM) != RESET) + 80023ea: 687b ldr r3, [r7, #4] + 80023ec: 681b ldr r3, [r3, #0] + 80023ee: 691b ldr r3, [r3, #16] + 80023f0: 2220 movs r2, #32 + 80023f2: 4013 ands r3, r2 + 80023f4: 2b20 cmp r3, #32 + 80023f6: d10f bne.n 8002418 + { + if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_COM) != RESET) + 80023f8: 687b ldr r3, [r7, #4] + 80023fa: 681b ldr r3, [r3, #0] + 80023fc: 68db ldr r3, [r3, #12] + 80023fe: 2220 movs r2, #32 + 8002400: 4013 ands r3, r2 + 8002402: 2b20 cmp r3, #32 + 8002404: d108 bne.n 8002418 + { + __HAL_TIM_CLEAR_IT(htim, TIM_FLAG_COM); + 8002406: 687b ldr r3, [r7, #4] + 8002408: 681b ldr r3, [r3, #0] + 800240a: 2221 movs r2, #33 ; 0x21 + 800240c: 4252 negs r2, r2 + 800240e: 611a str r2, [r3, #16] +#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1) + htim->CommutationCallback(htim); +#else + HAL_TIMEx_CommutCallback(htim); + 8002410: 687b ldr r3, [r7, #4] + 8002412: 0018 movs r0, r3 + 8002414: f000 f890 bl 8002538 +#endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ + } + } +} + 8002418: 46c0 nop ; (mov r8, r8) + 800241a: 46bd mov sp, r7 + 800241c: b002 add sp, #8 + 800241e: bd80 pop {r7, pc} + +08002420 : + * @brief Output Compare callback in non-blocking mode + * @param htim TIM OC handle + * @retval None + */ +__weak void HAL_TIM_OC_DelayElapsedCallback(TIM_HandleTypeDef *htim) +{ + 8002420: b580 push {r7, lr} + 8002422: b082 sub sp, #8 + 8002424: af00 add r7, sp, #0 + 8002426: 6078 str r0, [r7, #4] + UNUSED(htim); + + /* NOTE : This function should not be modified, when the callback is needed, + the HAL_TIM_OC_DelayElapsedCallback could be implemented in the user file + */ +} + 8002428: 46c0 nop ; (mov r8, r8) + 800242a: 46bd mov sp, r7 + 800242c: b002 add sp, #8 + 800242e: bd80 pop {r7, pc} + +08002430 : + * @brief Input Capture callback in non-blocking mode + * @param htim TIM IC handle + * @retval None + */ +__weak void HAL_TIM_IC_CaptureCallback(TIM_HandleTypeDef *htim) +{ + 8002430: b580 push {r7, lr} + 8002432: b082 sub sp, #8 + 8002434: af00 add r7, sp, #0 + 8002436: 6078 str r0, [r7, #4] + UNUSED(htim); + + /* NOTE : This function should not be modified, when the callback is needed, + the HAL_TIM_IC_CaptureCallback could be implemented in the user file + */ +} + 8002438: 46c0 nop ; (mov r8, r8) + 800243a: 46bd mov sp, r7 + 800243c: b002 add sp, #8 + 800243e: bd80 pop {r7, pc} + +08002440 : + * @brief PWM Pulse finished callback in non-blocking mode + * @param htim TIM handle + * @retval None + */ +__weak void HAL_TIM_PWM_PulseFinishedCallback(TIM_HandleTypeDef *htim) +{ + 8002440: b580 push {r7, lr} + 8002442: b082 sub sp, #8 + 8002444: af00 add r7, sp, #0 + 8002446: 6078 str r0, [r7, #4] + UNUSED(htim); + + /* NOTE : This function should not be modified, when the callback is needed, + the HAL_TIM_PWM_PulseFinishedCallback could be implemented in the user file + */ +} + 8002448: 46c0 nop ; (mov r8, r8) + 800244a: 46bd mov sp, r7 + 800244c: b002 add sp, #8 + 800244e: bd80 pop {r7, pc} + +08002450 : + * @brief Hall Trigger detection callback in non-blocking mode + * @param htim TIM handle + * @retval None + */ +__weak void HAL_TIM_TriggerCallback(TIM_HandleTypeDef *htim) +{ + 8002450: b580 push {r7, lr} + 8002452: b082 sub sp, #8 + 8002454: af00 add r7, sp, #0 + 8002456: 6078 str r0, [r7, #4] + UNUSED(htim); + + /* NOTE : This function should not be modified, when the callback is needed, + the HAL_TIM_TriggerCallback could be implemented in the user file + */ +} + 8002458: 46c0 nop ; (mov r8, r8) + 800245a: 46bd mov sp, r7 + 800245c: b002 add sp, #8 + 800245e: bd80 pop {r7, pc} + +08002460 : + * @param TIMx TIM peripheral + * @param Structure TIM Base configuration structure + * @retval None + */ +void TIM_Base_SetConfig(TIM_TypeDef *TIMx, TIM_Base_InitTypeDef *Structure) +{ + 8002460: b580 push {r7, lr} + 8002462: b084 sub sp, #16 + 8002464: af00 add r7, sp, #0 + 8002466: 6078 str r0, [r7, #4] + 8002468: 6039 str r1, [r7, #0] + uint32_t tmpcr1; + tmpcr1 = TIMx->CR1; + 800246a: 687b ldr r3, [r7, #4] + 800246c: 681b ldr r3, [r3, #0] + 800246e: 60fb str r3, [r7, #12] + + /* Set TIM Time Base Unit parameters ---------------------------------------*/ + if (IS_TIM_COUNTER_MODE_SELECT_INSTANCE(TIMx)) + 8002470: 687b ldr r3, [r7, #4] + 8002472: 4a2b ldr r2, [pc, #172] ; (8002520 ) + 8002474: 4293 cmp r3, r2 + 8002476: d003 beq.n 8002480 + 8002478: 687b ldr r3, [r7, #4] + 800247a: 4a2a ldr r2, [pc, #168] ; (8002524 ) + 800247c: 4293 cmp r3, r2 + 800247e: d108 bne.n 8002492 + { + /* Select the Counter Mode */ + tmpcr1 &= ~(TIM_CR1_DIR | TIM_CR1_CMS); + 8002480: 68fb ldr r3, [r7, #12] + 8002482: 2270 movs r2, #112 ; 0x70 + 8002484: 4393 bics r3, r2 + 8002486: 60fb str r3, [r7, #12] + tmpcr1 |= Structure->CounterMode; + 8002488: 683b ldr r3, [r7, #0] + 800248a: 685b ldr r3, [r3, #4] + 800248c: 68fa ldr r2, [r7, #12] + 800248e: 4313 orrs r3, r2 + 8002490: 60fb str r3, [r7, #12] + } + + if (IS_TIM_CLOCK_DIVISION_INSTANCE(TIMx)) + 8002492: 687b ldr r3, [r7, #4] + 8002494: 4a22 ldr r2, [pc, #136] ; (8002520 ) + 8002496: 4293 cmp r3, r2 + 8002498: d00f beq.n 80024ba + 800249a: 687b ldr r3, [r7, #4] + 800249c: 4a21 ldr r2, [pc, #132] ; (8002524 ) + 800249e: 4293 cmp r3, r2 + 80024a0: d00b beq.n 80024ba + 80024a2: 687b ldr r3, [r7, #4] + 80024a4: 4a20 ldr r2, [pc, #128] ; (8002528 ) + 80024a6: 4293 cmp r3, r2 + 80024a8: d007 beq.n 80024ba + 80024aa: 687b ldr r3, [r7, #4] + 80024ac: 4a1f ldr r2, [pc, #124] ; (800252c ) + 80024ae: 4293 cmp r3, r2 + 80024b0: d003 beq.n 80024ba + 80024b2: 687b ldr r3, [r7, #4] + 80024b4: 4a1e ldr r2, [pc, #120] ; (8002530 ) + 80024b6: 4293 cmp r3, r2 + 80024b8: d108 bne.n 80024cc + { + /* Set the clock division */ + tmpcr1 &= ~TIM_CR1_CKD; + 80024ba: 68fb ldr r3, [r7, #12] + 80024bc: 4a1d ldr r2, [pc, #116] ; (8002534 ) + 80024be: 4013 ands r3, r2 + 80024c0: 60fb str r3, [r7, #12] + tmpcr1 |= (uint32_t)Structure->ClockDivision; + 80024c2: 683b ldr r3, [r7, #0] + 80024c4: 68db ldr r3, [r3, #12] + 80024c6: 68fa ldr r2, [r7, #12] + 80024c8: 4313 orrs r3, r2 + 80024ca: 60fb str r3, [r7, #12] + } + + /* Set the auto-reload preload */ + MODIFY_REG(tmpcr1, TIM_CR1_ARPE, Structure->AutoReloadPreload); + 80024cc: 68fb ldr r3, [r7, #12] + 80024ce: 2280 movs r2, #128 ; 0x80 + 80024d0: 4393 bics r3, r2 + 80024d2: 001a movs r2, r3 + 80024d4: 683b ldr r3, [r7, #0] + 80024d6: 695b ldr r3, [r3, #20] + 80024d8: 4313 orrs r3, r2 + 80024da: 60fb str r3, [r7, #12] + + TIMx->CR1 = tmpcr1; + 80024dc: 687b ldr r3, [r7, #4] + 80024de: 68fa ldr r2, [r7, #12] + 80024e0: 601a str r2, [r3, #0] + + /* Set the Autoreload value */ + TIMx->ARR = (uint32_t)Structure->Period ; + 80024e2: 683b ldr r3, [r7, #0] + 80024e4: 689a ldr r2, [r3, #8] + 80024e6: 687b ldr r3, [r7, #4] + 80024e8: 62da str r2, [r3, #44] ; 0x2c + + /* Set the Prescaler value */ + TIMx->PSC = Structure->Prescaler; + 80024ea: 683b ldr r3, [r7, #0] + 80024ec: 681a ldr r2, [r3, #0] + 80024ee: 687b ldr r3, [r7, #4] + 80024f0: 629a str r2, [r3, #40] ; 0x28 + + if (IS_TIM_REPETITION_COUNTER_INSTANCE(TIMx)) + 80024f2: 687b ldr r3, [r7, #4] + 80024f4: 4a0a ldr r2, [pc, #40] ; (8002520 ) + 80024f6: 4293 cmp r3, r2 + 80024f8: d007 beq.n 800250a + 80024fa: 687b ldr r3, [r7, #4] + 80024fc: 4a0b ldr r2, [pc, #44] ; (800252c ) + 80024fe: 4293 cmp r3, r2 + 8002500: d003 beq.n 800250a + 8002502: 687b ldr r3, [r7, #4] + 8002504: 4a0a ldr r2, [pc, #40] ; (8002530 ) + 8002506: 4293 cmp r3, r2 + 8002508: d103 bne.n 8002512 + { + /* Set the Repetition Counter value */ + TIMx->RCR = Structure->RepetitionCounter; + 800250a: 683b ldr r3, [r7, #0] + 800250c: 691a ldr r2, [r3, #16] + 800250e: 687b ldr r3, [r7, #4] + 8002510: 631a str r2, [r3, #48] ; 0x30 + } + + /* Generate an update event to reload the Prescaler + and the repetition counter (only for advanced timer) value immediately */ + TIMx->EGR = TIM_EGR_UG; + 8002512: 687b ldr r3, [r7, #4] + 8002514: 2201 movs r2, #1 + 8002516: 615a str r2, [r3, #20] +} + 8002518: 46c0 nop ; (mov r8, r8) + 800251a: 46bd mov sp, r7 + 800251c: b004 add sp, #16 + 800251e: bd80 pop {r7, pc} + 8002520: 40012c00 .word 0x40012c00 + 8002524: 40000400 .word 0x40000400 + 8002528: 40002000 .word 0x40002000 + 800252c: 40014400 .word 0x40014400 + 8002530: 40014800 .word 0x40014800 + 8002534: fffffcff .word 0xfffffcff + +08002538 : + * @brief Hall commutation changed callback in non-blocking mode + * @param htim TIM handle + * @retval None + */ +__weak void HAL_TIMEx_CommutCallback(TIM_HandleTypeDef *htim) +{ + 8002538: b580 push {r7, lr} + 800253a: b082 sub sp, #8 + 800253c: af00 add r7, sp, #0 + 800253e: 6078 str r0, [r7, #4] + UNUSED(htim); + + /* NOTE : This function should not be modified, when the callback is needed, + the HAL_TIMEx_CommutCallback could be implemented in the user file + */ +} + 8002540: 46c0 nop ; (mov r8, r8) + 8002542: 46bd mov sp, r7 + 8002544: b002 add sp, #8 + 8002546: bd80 pop {r7, pc} + +08002548 : + * @brief Hall Break detection callback in non-blocking mode + * @param htim TIM handle + * @retval None + */ +__weak void HAL_TIMEx_BreakCallback(TIM_HandleTypeDef *htim) +{ + 8002548: b580 push {r7, lr} + 800254a: b082 sub sp, #8 + 800254c: af00 add r7, sp, #0 + 800254e: 6078 str r0, [r7, #4] + UNUSED(htim); + + /* NOTE : This function should not be modified, when the callback is needed, + the HAL_TIMEx_BreakCallback could be implemented in the user file + */ +} + 8002550: 46c0 nop ; (mov r8, r8) + 8002552: 46bd mov sp, r7 + 8002554: b002 add sp, #8 + 8002556: bd80 pop {r7, pc} + +08002558 : */ #include "button.h" void GEI_BUTTON_CODE(struct button *bt,uint8_t in) { - 8001f08: b580 push {r7, lr} - 8001f0a: b082 sub sp, #8 - 8001f0c: af00 add r7, sp, #0 - 8001f0e: 6078 str r0, [r7, #4] - 8001f10: 000a movs r2, r1 - 8001f12: 1cfb adds r3, r7, #3 - 8001f14: 701a strb r2, [r3, #0] + 8002558: b580 push {r7, lr} + 800255a: b082 sub sp, #8 + 800255c: af00 add r7, sp, #0 + 800255e: 6078 str r0, [r7, #4] + 8002560: 000a movs r2, r1 + 8002562: 1cfb adds r3, r7, #3 + 8002564: 701a strb r2, [r3, #0] #define t 250 bt->code=0; - 8001f16: 687b ldr r3, [r7, #4] - 8001f18: 2200 movs r2, #0 - 8001f1a: 601a str r2, [r3, #0] + 8002566: 687b ldr r3, [r7, #4] + 8002568: 2200 movs r2, #0 + 800256a: 601a str r2, [r3, #0] if(in==1) - 8001f1c: 1cfb adds r3, r7, #3 - 8001f1e: 781b ldrb r3, [r3, #0] - 8001f20: 2b01 cmp r3, #1 - 8001f22: d138 bne.n 8001f96 + 800256c: 1cfb adds r3, r7, #3 + 800256e: 781b ldrb r3, [r3, #0] + 8002570: 2b01 cmp r3, #1 + 8002572: d138 bne.n 80025e6 { if(bt->lock==0) - 8001f24: 687b ldr r3, [r7, #4] - 8001f26: 791b ldrb r3, [r3, #4] - 8001f28: 2b00 cmp r3, #0 - 8001f2a: d120 bne.n 8001f6e + 8002574: 687b ldr r3, [r7, #4] + 8002576: 791b ldrb r3, [r3, #4] + 8002578: 2b00 cmp r3, #0 + 800257a: d120 bne.n 80025be { if(HAL_GetTick()time+t) - 8001f2c: f7fe fca4 bl 8000878 - 8001f30: 0002 movs r2, r0 - 8001f32: 687b ldr r3, [r7, #4] - 8001f34: 689b ldr r3, [r3, #8] - 8001f36: 33fa adds r3, #250 ; 0xfa - 8001f38: 429a cmp r2, r3 - 8001f3a: d20d bcs.n 8001f58 + 800257c: f7fe f9fa bl 8000974 + 8002580: 0002 movs r2, r0 + 8002582: 687b ldr r3, [r7, #4] + 8002584: 689b ldr r3, [r3, #8] + 8002586: 33fa adds r3, #250 ; 0xfa + 8002588: 429a cmp r2, r3 + 800258a: d20d bcs.n 80025a8 { bt->times++; - 8001f3c: 687b ldr r3, [r7, #4] - 8001f3e: 68db ldr r3, [r3, #12] - 8001f40: 1c5a adds r2, r3, #1 - 8001f42: 687b ldr r3, [r7, #4] - 8001f44: 60da str r2, [r3, #12] + 800258c: 687b ldr r3, [r7, #4] + 800258e: 68db ldr r3, [r3, #12] + 8002590: 1c5a adds r2, r3, #1 + 8002592: 687b ldr r3, [r7, #4] + 8002594: 60da str r2, [r3, #12] bt->time=HAL_GetTick(); - 8001f46: f7fe fc97 bl 8000878 - 8001f4a: 0002 movs r2, r0 - 8001f4c: 687b ldr r3, [r7, #4] - 8001f4e: 609a str r2, [r3, #8] + 8002596: f7fe f9ed bl 8000974 + 800259a: 0002 movs r2, r0 + 800259c: 687b ldr r3, [r7, #4] + 800259e: 609a str r2, [r3, #8] bt->lock=1; - 8001f50: 687b ldr r3, [r7, #4] - 8001f52: 2201 movs r2, #1 - 8001f54: 711a strb r2, [r3, #4] - 8001f56: e00a b.n 8001f6e + 80025a0: 687b ldr r3, [r7, #4] + 80025a2: 2201 movs r2, #1 + 80025a4: 711a strb r2, [r3, #4] + 80025a6: e00a b.n 80025be }else { bt->times=1; - 8001f58: 687b ldr r3, [r7, #4] - 8001f5a: 2201 movs r2, #1 - 8001f5c: 60da str r2, [r3, #12] + 80025a8: 687b ldr r3, [r7, #4] + 80025aa: 2201 movs r2, #1 + 80025ac: 60da str r2, [r3, #12] bt->time=HAL_GetTick(); - 8001f5e: f7fe fc8b bl 8000878 - 8001f62: 0002 movs r2, r0 - 8001f64: 687b ldr r3, [r7, #4] - 8001f66: 609a str r2, [r3, #8] + 80025ae: f7fe f9e1 bl 8000974 + 80025b2: 0002 movs r2, r0 + 80025b4: 687b ldr r3, [r7, #4] + 80025b6: 609a str r2, [r3, #8] bt->lock=1; - 8001f68: 687b ldr r3, [r7, #4] - 8001f6a: 2201 movs r2, #1 - 8001f6c: 711a strb r2, [r3, #4] + 80025b8: 687b ldr r3, [r7, #4] + 80025ba: 2201 movs r2, #1 + 80025bc: 711a strb r2, [r3, #4] } } if(bt->lock==1) - 8001f6e: 687b ldr r3, [r7, #4] - 8001f70: 791b ldrb r3, [r3, #4] - 8001f72: 2b01 cmp r3, #1 - 8001f74: d10f bne.n 8001f96 + 80025be: 687b ldr r3, [r7, #4] + 80025c0: 791b ldrb r3, [r3, #4] + 80025c2: 2b01 cmp r3, #1 + 80025c4: d10f bne.n 80025e6 { if(HAL_GetTick()>bt->time+t) - 8001f76: f7fe fc7f bl 8000878 - 8001f7a: 0002 movs r2, r0 - 8001f7c: 687b ldr r3, [r7, #4] - 8001f7e: 689b ldr r3, [r3, #8] - 8001f80: 33fa adds r3, #250 ; 0xfa - 8001f82: 429a cmp r2, r3 - 8001f84: d907 bls.n 8001f96 + 80025c6: f7fe f9d5 bl 8000974 + 80025ca: 0002 movs r2, r0 + 80025cc: 687b ldr r3, [r7, #4] + 80025ce: 689b ldr r3, [r3, #8] + 80025d0: 33fa adds r3, #250 ; 0xfa + 80025d2: 429a cmp r2, r3 + 80025d4: d907 bls.n 80025e6 { bt->code=-1; - 8001f86: 687b ldr r3, [r7, #4] - 8001f88: 2201 movs r2, #1 - 8001f8a: 4252 negs r2, r2 - 8001f8c: 601a str r2, [r3, #0] + 80025d6: 687b ldr r3, [r7, #4] + 80025d8: 2201 movs r2, #1 + 80025da: 4252 negs r2, r2 + 80025dc: 601a str r2, [r3, #0] bt->times=-1; - 8001f8e: 687b ldr r3, [r7, #4] - 8001f90: 2201 movs r2, #1 - 8001f92: 4252 negs r2, r2 - 8001f94: 60da str r2, [r3, #12] + 80025de: 687b ldr r3, [r7, #4] + 80025e0: 2201 movs r2, #1 + 80025e2: 4252 negs r2, r2 + 80025e4: 60da str r2, [r3, #12] } } } if(in==0) - 8001f96: 1cfb adds r3, r7, #3 - 8001f98: 781b ldrb r3, [r3, #0] - 8001f9a: 2b00 cmp r3, #0 - 8001f9c: d10e bne.n 8001fbc + 80025e6: 1cfb adds r3, r7, #3 + 80025e8: 781b ldrb r3, [r3, #0] + 80025ea: 2b00 cmp r3, #0 + 80025ec: d10e bne.n 800260c { if(bt->lock==1) - 8001f9e: 687b ldr r3, [r7, #4] - 8001fa0: 791b ldrb r3, [r3, #4] - 8001fa2: 2b01 cmp r3, #1 - 8001fa4: d10a bne.n 8001fbc + 80025ee: 687b ldr r3, [r7, #4] + 80025f0: 791b ldrb r3, [r3, #4] + 80025f2: 2b01 cmp r3, #1 + 80025f4: d10a bne.n 800260c { if(bt->code==-1) - 8001fa6: 687b ldr r3, [r7, #4] - 8001fa8: 681b ldr r3, [r3, #0] - 8001faa: 3301 adds r3, #1 - 8001fac: d003 beq.n 8001fb6 + 80025f6: 687b ldr r3, [r7, #4] + 80025f8: 681b ldr r3, [r3, #0] + 80025fa: 3301 adds r3, #1 + 80025fc: d003 beq.n 8002606 { }else { bt->code=bt->times; - 8001fae: 687b ldr r3, [r7, #4] - 8001fb0: 68da ldr r2, [r3, #12] - 8001fb2: 687b ldr r3, [r7, #4] - 8001fb4: 601a str r2, [r3, #0] + 80025fe: 687b ldr r3, [r7, #4] + 8002600: 68da ldr r2, [r3, #12] + 8002602: 687b ldr r3, [r7, #4] + 8002604: 601a str r2, [r3, #0] } bt->lock=0; - 8001fb6: 687b ldr r3, [r7, #4] - 8001fb8: 2200 movs r2, #0 - 8001fba: 711a strb r2, [r3, #4] + 8002606: 687b ldr r3, [r7, #4] + 8002608: 2200 movs r2, #0 + 800260a: 711a strb r2, [r3, #4] } } } - 8001fbc: 46c0 nop ; (mov r8, r8) - 8001fbe: 46bd mov sp, r7 - 8001fc0: b002 add sp, #8 - 8001fc2: bd80 pop {r7, pc} + 800260c: 46c0 nop ; (mov r8, r8) + 800260e: 46bd mov sp, r7 + 8002610: b002 add sp, #8 + 8002612: bd80 pop {r7, pc} -08001fc4 : +08002614 : * @brief HT1621 clk * @param None * @retval None */ void WriteClockHT1621(void) { - 8001fc4: b580 push {r7, lr} - 8001fc6: af00 add r7, sp, #0 + 8002614: b580 push {r7, lr} + 8002616: af00 add r7, sp, #0 HC595_SCK(0); - 8001fc8: 2390 movs r3, #144 ; 0x90 - 8001fca: 05db lsls r3, r3, #23 - 8001fcc: 2200 movs r2, #0 - 8001fce: 2140 movs r1, #64 ; 0x40 - 8001fd0: 0018 movs r0, r3 - 8001fd2: f7ff fb2f bl 8001634 + 8002618: 2390 movs r3, #144 ; 0x90 + 800261a: 05db lsls r3, r3, #23 + 800261c: 2200 movs r2, #0 + 800261e: 2140 movs r1, #64 ; 0x40 + 8002620: 0018 movs r0, r3 + 8002622: f7ff f8cc bl 80017be HC595_SCK(1); - 8001fd6: 2390 movs r3, #144 ; 0x90 - 8001fd8: 05db lsls r3, r3, #23 - 8001fda: 2201 movs r2, #1 - 8001fdc: 2140 movs r1, #64 ; 0x40 - 8001fde: 0018 movs r0, r3 - 8001fe0: f7ff fb28 bl 8001634 + 8002626: 2390 movs r3, #144 ; 0x90 + 8002628: 05db lsls r3, r3, #23 + 800262a: 2201 movs r2, #1 + 800262c: 2140 movs r1, #64 ; 0x40 + 800262e: 0018 movs r0, r3 + 8002630: f7ff f8c5 bl 80017be } - 8001fe4: 46c0 nop ; (mov r8, r8) - 8001fe6: 46bd mov sp, r7 - 8001fe8: bd80 pop {r7, pc} + 8002634: 46c0 nop ; (mov r8, r8) + 8002636: 46bd mov sp, r7 + 8002638: bd80 pop {r7, pc} -08001fea : +0800263a : * @brief Write HT1621 Command * @param FunctonCode->功能/命令码 * @retval None */ void WriteCommandHT1621(unsigned char FunctonCode) { - 8001fea: b580 push {r7, lr} - 8001fec: b084 sub sp, #16 - 8001fee: af00 add r7, sp, #0 - 8001ff0: 0002 movs r2, r0 - 8001ff2: 1dfb adds r3, r7, #7 - 8001ff4: 701a strb r2, [r3, #0] + 800263a: b580 push {r7, lr} + 800263c: b084 sub sp, #16 + 800263e: af00 add r7, sp, #0 + 8002640: 0002 movs r2, r0 + 8002642: 1dfb adds r3, r7, #7 + 8002644: 701a strb r2, [r3, #0] unsigned char Shift = 0x80; - 8001ff6: 230f movs r3, #15 - 8001ff8: 18fb adds r3, r7, r3 - 8001ffa: 2280 movs r2, #128 ; 0x80 - 8001ffc: 701a strb r2, [r3, #0] + 8002646: 230f movs r3, #15 + 8002648: 18fb adds r3, r7, r3 + 800264a: 2280 movs r2, #128 ; 0x80 + 800264c: 701a strb r2, [r3, #0] unsigned char i; HC595_RCK(0); //CS 片选开 - 8001ffe: 2390 movs r3, #144 ; 0x90 - 8002000: 05db lsls r3, r3, #23 - 8002002: 2200 movs r2, #0 - 8002004: 2180 movs r1, #128 ; 0x80 - 8002006: 0018 movs r0, r3 - 8002008: f7ff fb14 bl 8001634 + 800264e: 2390 movs r3, #144 ; 0x90 + 8002650: 05db lsls r3, r3, #23 + 8002652: 2200 movs r2, #0 + 8002654: 2180 movs r1, #128 ; 0x80 + 8002656: 0018 movs r0, r3 + 8002658: f7ff f8b1 bl 80017be HC595_DCK(1); //100 - 800200c: 2390 movs r3, #144 ; 0x90 - 800200e: 05db lsls r3, r3, #23 - 8002010: 2201 movs r2, #1 - 8002012: 2120 movs r1, #32 - 8002014: 0018 movs r0, r3 - 8002016: f7ff fb0d bl 8001634 + 800265c: 2390 movs r3, #144 ; 0x90 + 800265e: 05db lsls r3, r3, #23 + 8002660: 2201 movs r2, #1 + 8002662: 2120 movs r1, #32 + 8002664: 0018 movs r0, r3 + 8002666: f7ff f8aa bl 80017be WriteClockHT1621(); - 800201a: f7ff ffd3 bl 8001fc4 + 800266a: f7ff ffd3 bl 8002614 HC595_DCK(0); - 800201e: 2390 movs r3, #144 ; 0x90 - 8002020: 05db lsls r3, r3, #23 - 8002022: 2200 movs r2, #0 - 8002024: 2120 movs r1, #32 - 8002026: 0018 movs r0, r3 - 8002028: f7ff fb04 bl 8001634 + 800266e: 2390 movs r3, #144 ; 0x90 + 8002670: 05db lsls r3, r3, #23 + 8002672: 2200 movs r2, #0 + 8002674: 2120 movs r1, #32 + 8002676: 0018 movs r0, r3 + 8002678: f7ff f8a1 bl 80017be WriteClockHT1621(); - 800202c: f7ff ffca bl 8001fc4 + 800267c: f7ff ffca bl 8002614 HC595_DCK(0); - 8002030: 2390 movs r3, #144 ; 0x90 - 8002032: 05db lsls r3, r3, #23 - 8002034: 2200 movs r2, #0 - 8002036: 2120 movs r1, #32 - 8002038: 0018 movs r0, r3 - 800203a: f7ff fafb bl 8001634 + 8002680: 2390 movs r3, #144 ; 0x90 + 8002682: 05db lsls r3, r3, #23 + 8002684: 2200 movs r2, #0 + 8002686: 2120 movs r1, #32 + 8002688: 0018 movs r0, r3 + 800268a: f7ff f898 bl 80017be WriteClockHT1621(); - 800203e: f7ff ffc1 bl 8001fc4 + 800268e: f7ff ffc1 bl 8002614 for(i = 0; i < 8; i++) - 8002042: 230e movs r3, #14 - 8002044: 18fb adds r3, r7, r3 - 8002046: 2200 movs r2, #0 - 8002048: 701a strb r2, [r3, #0] - 800204a: e025 b.n 8002098 + 8002692: 230e movs r3, #14 + 8002694: 18fb adds r3, r7, r3 + 8002696: 2200 movs r2, #0 + 8002698: 701a strb r2, [r3, #0] + 800269a: e025 b.n 80026e8 { if(Shift & FunctonCode) - 800204c: 230f movs r3, #15 - 800204e: 18fb adds r3, r7, r3 - 8002050: 1dfa adds r2, r7, #7 - 8002052: 781b ldrb r3, [r3, #0] - 8002054: 7812 ldrb r2, [r2, #0] - 8002056: 4013 ands r3, r2 - 8002058: b2db uxtb r3, r3 - 800205a: 2b00 cmp r3, #0 - 800205c: d007 beq.n 800206e + 800269c: 230f movs r3, #15 + 800269e: 18fb adds r3, r7, r3 + 80026a0: 1dfa adds r2, r7, #7 + 80026a2: 781b ldrb r3, [r3, #0] + 80026a4: 7812 ldrb r2, [r2, #0] + 80026a6: 4013 ands r3, r2 + 80026a8: b2db uxtb r3, r3 + 80026aa: 2b00 cmp r3, #0 + 80026ac: d007 beq.n 80026be {HC595_DCK(1);} - 800205e: 2390 movs r3, #144 ; 0x90 - 8002060: 05db lsls r3, r3, #23 - 8002062: 2201 movs r2, #1 - 8002064: 2120 movs r1, #32 - 8002066: 0018 movs r0, r3 - 8002068: f7ff fae4 bl 8001634 - 800206c: e006 b.n 800207c + 80026ae: 2390 movs r3, #144 ; 0x90 + 80026b0: 05db lsls r3, r3, #23 + 80026b2: 2201 movs r2, #1 + 80026b4: 2120 movs r1, #32 + 80026b6: 0018 movs r0, r3 + 80026b8: f7ff f881 bl 80017be + 80026bc: e006 b.n 80026cc else {HC595_DCK(0);} - 800206e: 2390 movs r3, #144 ; 0x90 - 8002070: 05db lsls r3, r3, #23 - 8002072: 2200 movs r2, #0 - 8002074: 2120 movs r1, #32 - 8002076: 0018 movs r0, r3 - 8002078: f7ff fadc bl 8001634 + 80026be: 2390 movs r3, #144 ; 0x90 + 80026c0: 05db lsls r3, r3, #23 + 80026c2: 2200 movs r2, #0 + 80026c4: 2120 movs r1, #32 + 80026c6: 0018 movs r0, r3 + 80026c8: f7ff f879 bl 80017be WriteClockHT1621(); - 800207c: f7ff ffa2 bl 8001fc4 + 80026cc: f7ff ffa2 bl 8002614 Shift = Shift >> 1; - 8002080: 220f movs r2, #15 - 8002082: 18bb adds r3, r7, r2 - 8002084: 18ba adds r2, r7, r2 - 8002086: 7812 ldrb r2, [r2, #0] - 8002088: 0852 lsrs r2, r2, #1 - 800208a: 701a strb r2, [r3, #0] + 80026d0: 220f movs r2, #15 + 80026d2: 18bb adds r3, r7, r2 + 80026d4: 18ba adds r2, r7, r2 + 80026d6: 7812 ldrb r2, [r2, #0] + 80026d8: 0852 lsrs r2, r2, #1 + 80026da: 701a strb r2, [r3, #0] for(i = 0; i < 8; i++) - 800208c: 210e movs r1, #14 - 800208e: 187b adds r3, r7, r1 - 8002090: 781a ldrb r2, [r3, #0] - 8002092: 187b adds r3, r7, r1 - 8002094: 3201 adds r2, #1 - 8002096: 701a strb r2, [r3, #0] - 8002098: 230e movs r3, #14 - 800209a: 18fb adds r3, r7, r3 - 800209c: 781b ldrb r3, [r3, #0] - 800209e: 2b07 cmp r3, #7 - 80020a0: d9d4 bls.n 800204c + 80026dc: 210e movs r1, #14 + 80026de: 187b adds r3, r7, r1 + 80026e0: 781a ldrb r2, [r3, #0] + 80026e2: 187b adds r3, r7, r1 + 80026e4: 3201 adds r2, #1 + 80026e6: 701a strb r2, [r3, #0] + 80026e8: 230e movs r3, #14 + 80026ea: 18fb adds r3, r7, r3 + 80026ec: 781b ldrb r3, [r3, #0] + 80026ee: 2b07 cmp r3, #7 + 80026f0: d9d4 bls.n 800269c } {HC595_DCK(0);} - 80020a2: 2390 movs r3, #144 ; 0x90 - 80020a4: 05db lsls r3, r3, #23 - 80020a6: 2200 movs r2, #0 - 80020a8: 2120 movs r1, #32 - 80020aa: 0018 movs r0, r3 - 80020ac: f7ff fac2 bl 8001634 + 80026f2: 2390 movs r3, #144 ; 0x90 + 80026f4: 05db lsls r3, r3, #23 + 80026f6: 2200 movs r2, #0 + 80026f8: 2120 movs r1, #32 + 80026fa: 0018 movs r0, r3 + 80026fc: f7ff f85f bl 80017be WriteClockHT1621(); //发送一个 0 命令码中最后一位 X - 80020b0: f7ff ff88 bl 8001fc4 + 8002700: f7ff ff88 bl 8002614 HC595_RCK(1); //CS 片选关 - 80020b4: 2390 movs r3, #144 ; 0x90 - 80020b6: 05db lsls r3, r3, #23 - 80020b8: 2201 movs r2, #1 - 80020ba: 2180 movs r1, #128 ; 0x80 - 80020bc: 0018 movs r0, r3 - 80020be: f7ff fab9 bl 8001634 + 8002704: 2390 movs r3, #144 ; 0x90 + 8002706: 05db lsls r3, r3, #23 + 8002708: 2201 movs r2, #1 + 800270a: 2180 movs r1, #128 ; 0x80 + 800270c: 0018 movs r0, r3 + 800270e: f7ff f856 bl 80017be HC595_DCK(1); - 80020c2: 2390 movs r3, #144 ; 0x90 - 80020c4: 05db lsls r3, r3, #23 - 80020c6: 2201 movs r2, #1 - 80020c8: 2120 movs r1, #32 - 80020ca: 0018 movs r0, r3 - 80020cc: f7ff fab2 bl 8001634 + 8002712: 2390 movs r3, #144 ; 0x90 + 8002714: 05db lsls r3, r3, #23 + 8002716: 2201 movs r2, #1 + 8002718: 2120 movs r1, #32 + 800271a: 0018 movs r0, r3 + 800271c: f7ff f84f bl 80017be } - 80020d0: 46c0 nop ; (mov r8, r8) - 80020d2: 46bd mov sp, r7 - 80020d4: b004 add sp, #16 - 80020d6: bd80 pop {r7, pc} + 8002720: 46c0 nop ; (mov r8, r8) + 8002722: 46bd mov sp, r7 + 8002724: b004 add sp, #16 + 8002726: bd80 pop {r7, pc} -080020d8 : +08002728 : * @param Databuf->写入ram的数据buffer * @param Cnt->写入ram的数据个数 * @retval None */ void WritenDataHT1621(unsigned char Addr,unsigned char *Databuf,unsigned char Cnt) { - 80020d8: b580 push {r7, lr} - 80020da: b084 sub sp, #16 - 80020dc: af00 add r7, sp, #0 - 80020de: 6039 str r1, [r7, #0] - 80020e0: 0011 movs r1, r2 - 80020e2: 1dfb adds r3, r7, #7 - 80020e4: 1c02 adds r2, r0, #0 - 80020e6: 701a strb r2, [r3, #0] - 80020e8: 1dbb adds r3, r7, #6 - 80020ea: 1c0a adds r2, r1, #0 - 80020ec: 701a strb r2, [r3, #0] + 8002728: b580 push {r7, lr} + 800272a: b084 sub sp, #16 + 800272c: af00 add r7, sp, #0 + 800272e: 6039 str r1, [r7, #0] + 8002730: 0011 movs r1, r2 + 8002732: 1dfb adds r3, r7, #7 + 8002734: 1c02 adds r2, r0, #0 + 8002736: 701a strb r2, [r3, #0] + 8002738: 1dbb adds r3, r7, #6 + 800273a: 1c0a adds r2, r1, #0 + 800273c: 701a strb r2, [r3, #0] unsigned char i,j; unsigned char Shift; unsigned char dataval; HC595_RCK(0); //CS 片选开 - 80020ee: 2390 movs r3, #144 ; 0x90 - 80020f0: 05db lsls r3, r3, #23 - 80020f2: 2200 movs r2, #0 - 80020f4: 2180 movs r1, #128 ; 0x80 - 80020f6: 0018 movs r0, r3 - 80020f8: f7ff fa9c bl 8001634 + 800273e: 2390 movs r3, #144 ; 0x90 + 8002740: 05db lsls r3, r3, #23 + 8002742: 2200 movs r2, #0 + 8002744: 2180 movs r1, #128 ; 0x80 + 8002746: 0018 movs r0, r3 + 8002748: f7ff f839 bl 80017be HC595_DCK(1); //101 - 80020fc: 2390 movs r3, #144 ; 0x90 - 80020fe: 05db lsls r3, r3, #23 - 8002100: 2201 movs r2, #1 - 8002102: 2120 movs r1, #32 - 8002104: 0018 movs r0, r3 - 8002106: f7ff fa95 bl 8001634 + 800274c: 2390 movs r3, #144 ; 0x90 + 800274e: 05db lsls r3, r3, #23 + 8002750: 2201 movs r2, #1 + 8002752: 2120 movs r1, #32 + 8002754: 0018 movs r0, r3 + 8002756: f7ff f832 bl 80017be WriteClockHT1621(); - 800210a: f7ff ff5b bl 8001fc4 + 800275a: f7ff ff5b bl 8002614 HC595_DCK(0); - 800210e: 2390 movs r3, #144 ; 0x90 - 8002110: 05db lsls r3, r3, #23 - 8002112: 2200 movs r2, #0 - 8002114: 2120 movs r1, #32 - 8002116: 0018 movs r0, r3 - 8002118: f7ff fa8c bl 8001634 + 800275e: 2390 movs r3, #144 ; 0x90 + 8002760: 05db lsls r3, r3, #23 + 8002762: 2200 movs r2, #0 + 8002764: 2120 movs r1, #32 + 8002766: 0018 movs r0, r3 + 8002768: f7ff f829 bl 80017be WriteClockHT1621(); - 800211c: f7ff ff52 bl 8001fc4 + 800276c: f7ff ff52 bl 8002614 HC595_DCK(1); - 8002120: 2390 movs r3, #144 ; 0x90 - 8002122: 05db lsls r3, r3, #23 - 8002124: 2201 movs r2, #1 - 8002126: 2120 movs r1, #32 - 8002128: 0018 movs r0, r3 - 800212a: f7ff fa83 bl 8001634 + 8002770: 2390 movs r3, #144 ; 0x90 + 8002772: 05db lsls r3, r3, #23 + 8002774: 2201 movs r2, #1 + 8002776: 2120 movs r1, #32 + 8002778: 0018 movs r0, r3 + 800277a: f7ff f820 bl 80017be WriteClockHT1621(); - 800212e: f7ff ff49 bl 8001fc4 + 800277e: f7ff ff49 bl 8002614 Shift = 0x20; //屏蔽高3位 只用5位 - 8002132: 230d movs r3, #13 - 8002134: 18fb adds r3, r7, r3 - 8002136: 2220 movs r2, #32 - 8002138: 701a strb r2, [r3, #0] + 8002782: 230d movs r3, #13 + 8002784: 18fb adds r3, r7, r3 + 8002786: 2220 movs r2, #32 + 8002788: 701a strb r2, [r3, #0] for( i = 0; i < HT1621_addrbit; i++) - 800213a: 230f movs r3, #15 - 800213c: 18fb adds r3, r7, r3 - 800213e: 2200 movs r2, #0 - 8002140: 701a strb r2, [r3, #0] - 8002142: e025 b.n 8002190 + 800278a: 230f movs r3, #15 + 800278c: 18fb adds r3, r7, r3 + 800278e: 2200 movs r2, #0 + 8002790: 701a strb r2, [r3, #0] + 8002792: e025 b.n 80027e0 { if (Addr & Shift) - 8002144: 1dfb adds r3, r7, #7 - 8002146: 220d movs r2, #13 - 8002148: 18ba adds r2, r7, r2 - 800214a: 781b ldrb r3, [r3, #0] - 800214c: 7812 ldrb r2, [r2, #0] - 800214e: 4013 ands r3, r2 - 8002150: b2db uxtb r3, r3 - 8002152: 2b00 cmp r3, #0 - 8002154: d007 beq.n 8002166 + 8002794: 1dfb adds r3, r7, #7 + 8002796: 220d movs r2, #13 + 8002798: 18ba adds r2, r7, r2 + 800279a: 781b ldrb r3, [r3, #0] + 800279c: 7812 ldrb r2, [r2, #0] + 800279e: 4013 ands r3, r2 + 80027a0: b2db uxtb r3, r3 + 80027a2: 2b00 cmp r3, #0 + 80027a4: d007 beq.n 80027b6 {HC595_DCK(1);} - 8002156: 2390 movs r3, #144 ; 0x90 - 8002158: 05db lsls r3, r3, #23 - 800215a: 2201 movs r2, #1 - 800215c: 2120 movs r1, #32 - 800215e: 0018 movs r0, r3 - 8002160: f7ff fa68 bl 8001634 - 8002164: e006 b.n 8002174 + 80027a6: 2390 movs r3, #144 ; 0x90 + 80027a8: 05db lsls r3, r3, #23 + 80027aa: 2201 movs r2, #1 + 80027ac: 2120 movs r1, #32 + 80027ae: 0018 movs r0, r3 + 80027b0: f7ff f805 bl 80017be + 80027b4: e006 b.n 80027c4 else {HC595_DCK(0);} - 8002166: 2390 movs r3, #144 ; 0x90 - 8002168: 05db lsls r3, r3, #23 - 800216a: 2200 movs r2, #0 - 800216c: 2120 movs r1, #32 - 800216e: 0018 movs r0, r3 - 8002170: f7ff fa60 bl 8001634 + 80027b6: 2390 movs r3, #144 ; 0x90 + 80027b8: 05db lsls r3, r3, #23 + 80027ba: 2200 movs r2, #0 + 80027bc: 2120 movs r1, #32 + 80027be: 0018 movs r0, r3 + 80027c0: f7fe fffd bl 80017be WriteClockHT1621(); - 8002174: f7ff ff26 bl 8001fc4 + 80027c4: f7ff ff26 bl 8002614 Shift = Shift >> 1; - 8002178: 220d movs r2, #13 - 800217a: 18bb adds r3, r7, r2 - 800217c: 18ba adds r2, r7, r2 - 800217e: 7812 ldrb r2, [r2, #0] - 8002180: 0852 lsrs r2, r2, #1 - 8002182: 701a strb r2, [r3, #0] + 80027c8: 220d movs r2, #13 + 80027ca: 18bb adds r3, r7, r2 + 80027cc: 18ba adds r2, r7, r2 + 80027ce: 7812 ldrb r2, [r2, #0] + 80027d0: 0852 lsrs r2, r2, #1 + 80027d2: 701a strb r2, [r3, #0] for( i = 0; i < HT1621_addrbit; i++) - 8002184: 210f movs r1, #15 - 8002186: 187b adds r3, r7, r1 - 8002188: 781a ldrb r2, [r3, #0] - 800218a: 187b adds r3, r7, r1 - 800218c: 3201 adds r2, #1 - 800218e: 701a strb r2, [r3, #0] - 8002190: 230f movs r3, #15 - 8002192: 18fb adds r3, r7, r3 - 8002194: 781b ldrb r3, [r3, #0] - 8002196: 2b05 cmp r3, #5 - 8002198: d9d4 bls.n 8002144 + 80027d4: 210f movs r1, #15 + 80027d6: 187b adds r3, r7, r1 + 80027d8: 781a ldrb r2, [r3, #0] + 80027da: 187b adds r3, r7, r1 + 80027dc: 3201 adds r2, #1 + 80027de: 701a strb r2, [r3, #0] + 80027e0: 230f movs r3, #15 + 80027e2: 18fb adds r3, r7, r3 + 80027e4: 781b ldrb r3, [r3, #0] + 80027e6: 2b05 cmp r3, #5 + 80027e8: d9d4 bls.n 8002794 } for (j = 0; j < Cnt; j++) - 800219a: 230e movs r3, #14 - 800219c: 18fb adds r3, r7, r3 - 800219e: 2200 movs r2, #0 - 80021a0: 701a strb r2, [r3, #0] - 80021a2: e041 b.n 8002228 + 80027ea: 230e movs r3, #14 + 80027ec: 18fb adds r3, r7, r3 + 80027ee: 2200 movs r2, #0 + 80027f0: 701a strb r2, [r3, #0] + 80027f2: e041 b.n 8002878 { Shift = 0x01; - 80021a4: 230d movs r3, #13 - 80021a6: 18fb adds r3, r7, r3 - 80021a8: 2201 movs r2, #1 - 80021aa: 701a strb r2, [r3, #0] + 80027f4: 230d movs r3, #13 + 80027f6: 18fb adds r3, r7, r3 + 80027f8: 2201 movs r2, #1 + 80027fa: 701a strb r2, [r3, #0] dataval=*Databuf++; - 80021ac: 683b ldr r3, [r7, #0] - 80021ae: 1c5a adds r2, r3, #1 - 80021b0: 603a str r2, [r7, #0] - 80021b2: 220c movs r2, #12 - 80021b4: 18ba adds r2, r7, r2 - 80021b6: 781b ldrb r3, [r3, #0] - 80021b8: 7013 strb r3, [r2, #0] + 80027fc: 683b ldr r3, [r7, #0] + 80027fe: 1c5a adds r2, r3, #1 + 8002800: 603a str r2, [r7, #0] + 8002802: 220c movs r2, #12 + 8002804: 18ba adds r2, r7, r2 + 8002806: 781b ldrb r3, [r3, #0] + 8002808: 7013 strb r3, [r2, #0] for (i = 0; i < 4; i++) - 80021ba: 230f movs r3, #15 - 80021bc: 18fb adds r3, r7, r3 - 80021be: 2200 movs r2, #0 - 80021c0: 701a strb r2, [r3, #0] - 80021c2: e026 b.n 8002212 + 800280a: 230f movs r3, #15 + 800280c: 18fb adds r3, r7, r3 + 800280e: 2200 movs r2, #0 + 8002810: 701a strb r2, [r3, #0] + 8002812: e026 b.n 8002862 { if( dataval & Shift) - 80021c4: 230c movs r3, #12 - 80021c6: 18fb adds r3, r7, r3 - 80021c8: 220d movs r2, #13 - 80021ca: 18ba adds r2, r7, r2 - 80021cc: 781b ldrb r3, [r3, #0] - 80021ce: 7812 ldrb r2, [r2, #0] - 80021d0: 4013 ands r3, r2 - 80021d2: b2db uxtb r3, r3 - 80021d4: 2b00 cmp r3, #0 - 80021d6: d007 beq.n 80021e8 + 8002814: 230c movs r3, #12 + 8002816: 18fb adds r3, r7, r3 + 8002818: 220d movs r2, #13 + 800281a: 18ba adds r2, r7, r2 + 800281c: 781b ldrb r3, [r3, #0] + 800281e: 7812 ldrb r2, [r2, #0] + 8002820: 4013 ands r3, r2 + 8002822: b2db uxtb r3, r3 + 8002824: 2b00 cmp r3, #0 + 8002826: d007 beq.n 8002838 {HC595_DCK(1);} - 80021d8: 2390 movs r3, #144 ; 0x90 - 80021da: 05db lsls r3, r3, #23 - 80021dc: 2201 movs r2, #1 - 80021de: 2120 movs r1, #32 - 80021e0: 0018 movs r0, r3 - 80021e2: f7ff fa27 bl 8001634 - 80021e6: e006 b.n 80021f6 + 8002828: 2390 movs r3, #144 ; 0x90 + 800282a: 05db lsls r3, r3, #23 + 800282c: 2201 movs r2, #1 + 800282e: 2120 movs r1, #32 + 8002830: 0018 movs r0, r3 + 8002832: f7fe ffc4 bl 80017be + 8002836: e006 b.n 8002846 else {HC595_DCK(0);} - 80021e8: 2390 movs r3, #144 ; 0x90 - 80021ea: 05db lsls r3, r3, #23 - 80021ec: 2200 movs r2, #0 - 80021ee: 2120 movs r1, #32 - 80021f0: 0018 movs r0, r3 - 80021f2: f7ff fa1f bl 8001634 + 8002838: 2390 movs r3, #144 ; 0x90 + 800283a: 05db lsls r3, r3, #23 + 800283c: 2200 movs r2, #0 + 800283e: 2120 movs r1, #32 + 8002840: 0018 movs r0, r3 + 8002842: f7fe ffbc bl 80017be WriteClockHT1621(); - 80021f6: f7ff fee5 bl 8001fc4 + 8002846: f7ff fee5 bl 8002614 Shift = Shift << 1; - 80021fa: 230d movs r3, #13 - 80021fc: 18fa adds r2, r7, r3 - 80021fe: 18fb adds r3, r7, r3 - 8002200: 781b ldrb r3, [r3, #0] - 8002202: 18db adds r3, r3, r3 - 8002204: 7013 strb r3, [r2, #0] + 800284a: 230d movs r3, #13 + 800284c: 18fa adds r2, r7, r3 + 800284e: 18fb adds r3, r7, r3 + 8002850: 781b ldrb r3, [r3, #0] + 8002852: 18db adds r3, r3, r3 + 8002854: 7013 strb r3, [r2, #0] for (i = 0; i < 4; i++) - 8002206: 210f movs r1, #15 - 8002208: 187b adds r3, r7, r1 - 800220a: 781a ldrb r2, [r3, #0] - 800220c: 187b adds r3, r7, r1 - 800220e: 3201 adds r2, #1 - 8002210: 701a strb r2, [r3, #0] - 8002212: 230f movs r3, #15 - 8002214: 18fb adds r3, r7, r3 - 8002216: 781b ldrb r3, [r3, #0] - 8002218: 2b03 cmp r3, #3 - 800221a: d9d3 bls.n 80021c4 + 8002856: 210f movs r1, #15 + 8002858: 187b adds r3, r7, r1 + 800285a: 781a ldrb r2, [r3, #0] + 800285c: 187b adds r3, r7, r1 + 800285e: 3201 adds r2, #1 + 8002860: 701a strb r2, [r3, #0] + 8002862: 230f movs r3, #15 + 8002864: 18fb adds r3, r7, r3 + 8002866: 781b ldrb r3, [r3, #0] + 8002868: 2b03 cmp r3, #3 + 800286a: d9d3 bls.n 8002814 for (j = 0; j < Cnt; j++) - 800221c: 210e movs r1, #14 - 800221e: 187b adds r3, r7, r1 - 8002220: 781a ldrb r2, [r3, #0] - 8002222: 187b adds r3, r7, r1 - 8002224: 3201 adds r2, #1 - 8002226: 701a strb r2, [r3, #0] - 8002228: 230e movs r3, #14 - 800222a: 18fa adds r2, r7, r3 - 800222c: 1dbb adds r3, r7, #6 - 800222e: 7812 ldrb r2, [r2, #0] - 8002230: 781b ldrb r3, [r3, #0] - 8002232: 429a cmp r2, r3 - 8002234: d3b6 bcc.n 80021a4 + 800286c: 210e movs r1, #14 + 800286e: 187b adds r3, r7, r1 + 8002870: 781a ldrb r2, [r3, #0] + 8002872: 187b adds r3, r7, r1 + 8002874: 3201 adds r2, #1 + 8002876: 701a strb r2, [r3, #0] + 8002878: 230e movs r3, #14 + 800287a: 18fa adds r2, r7, r3 + 800287c: 1dbb adds r3, r7, #6 + 800287e: 7812 ldrb r2, [r2, #0] + 8002880: 781b ldrb r3, [r3, #0] + 8002882: 429a cmp r2, r3 + 8002884: d3b6 bcc.n 80027f4 } } HC595_RCK(1); //CS 片选关 - 8002236: 2390 movs r3, #144 ; 0x90 - 8002238: 05db lsls r3, r3, #23 - 800223a: 2201 movs r2, #1 - 800223c: 2180 movs r1, #128 ; 0x80 - 800223e: 0018 movs r0, r3 - 8002240: f7ff f9f8 bl 8001634 + 8002886: 2390 movs r3, #144 ; 0x90 + 8002888: 05db lsls r3, r3, #23 + 800288a: 2201 movs r2, #1 + 800288c: 2180 movs r1, #128 ; 0x80 + 800288e: 0018 movs r0, r3 + 8002890: f7fe ff95 bl 80017be HC595_DCK(1); - 8002244: 2390 movs r3, #144 ; 0x90 - 8002246: 05db lsls r3, r3, #23 - 8002248: 2201 movs r2, #1 - 800224a: 2120 movs r1, #32 - 800224c: 0018 movs r0, r3 - 800224e: f7ff f9f1 bl 8001634 + 8002894: 2390 movs r3, #144 ; 0x90 + 8002896: 05db lsls r3, r3, #23 + 8002898: 2201 movs r2, #1 + 800289a: 2120 movs r1, #32 + 800289c: 0018 movs r0, r3 + 800289e: f7fe ff8e bl 80017be } - 8002252: 46c0 nop ; (mov r8, r8) - 8002254: 46bd mov sp, r7 - 8002256: b004 add sp, #16 - 8002258: bd80 pop {r7, pc} + 80028a2: 46c0 nop ; (mov r8, r8) + 80028a4: 46bd mov sp, r7 + 80028a6: b004 add sp, #16 + 80028a8: bd80 pop {r7, pc} -0800225a : +080028aa : * @brief HT1621 Init * @param None * @retval None */ void HT1621_Init(void) //退出掉电低功耗状态重新初始化HT1621 { - 800225a: b580 push {r7, lr} - 800225c: af00 add r7, sp, #0 + 80028aa: b580 push {r7, lr} + 80028ac: af00 add r7, sp, #0 HC595_RCK(1); - 800225e: 2390 movs r3, #144 ; 0x90 - 8002260: 05db lsls r3, r3, #23 - 8002262: 2201 movs r2, #1 - 8002264: 2180 movs r1, #128 ; 0x80 - 8002266: 0018 movs r0, r3 - 8002268: f7ff f9e4 bl 8001634 + 80028ae: 2390 movs r3, #144 ; 0x90 + 80028b0: 05db lsls r3, r3, #23 + 80028b2: 2201 movs r2, #1 + 80028b4: 2180 movs r1, #128 ; 0x80 + 80028b6: 0018 movs r0, r3 + 80028b8: f7fe ff81 bl 80017be HC595_SCK(1); - 800226c: 2390 movs r3, #144 ; 0x90 - 800226e: 05db lsls r3, r3, #23 - 8002270: 2201 movs r2, #1 - 8002272: 2140 movs r1, #64 ; 0x40 - 8002274: 0018 movs r0, r3 - 8002276: f7ff f9dd bl 8001634 + 80028bc: 2390 movs r3, #144 ; 0x90 + 80028be: 05db lsls r3, r3, #23 + 80028c0: 2201 movs r2, #1 + 80028c2: 2140 movs r1, #64 ; 0x40 + 80028c4: 0018 movs r0, r3 + 80028c6: f7fe ff7a bl 80017be HC595_DCK(1); - 800227a: 2390 movs r3, #144 ; 0x90 - 800227c: 05db lsls r3, r3, #23 - 800227e: 2201 movs r2, #1 - 8002280: 2120 movs r1, #32 - 8002282: 0018 movs r0, r3 - 8002284: f7ff f9d6 bl 8001634 + 80028ca: 2390 movs r3, #144 ; 0x90 + 80028cc: 05db lsls r3, r3, #23 + 80028ce: 2201 movs r2, #1 + 80028d0: 2120 movs r1, #32 + 80028d2: 0018 movs r0, r3 + 80028d4: f7fe ff73 bl 80017be WriteCommandHT1621(OSC_ON); - 8002288: 2001 movs r0, #1 - 800228a: f7ff feae bl 8001fea + 80028d8: 2001 movs r0, #1 + 80028da: f7ff feae bl 800263a WriteCommandHT1621(DISP_ON); - 800228e: 2003 movs r0, #3 - 8002290: f7ff feab bl 8001fea + 80028de: 2003 movs r0, #3 + 80028e0: f7ff feab bl 800263a WriteCommandHT1621(COM_1_3__4); - 8002294: 2029 movs r0, #41 ; 0x29 - 8002296: f7ff fea8 bl 8001fea + 80028e4: 2029 movs r0, #41 ; 0x29 + 80028e6: f7ff fea8 bl 800263a //上电默认配置(以下未用功能关闭降低功耗) WriteCommandHT1621(TIMER_DIS); - 800229a: 2004 movs r0, #4 - 800229c: f7ff fea5 bl 8001fea + 80028ea: 2004 movs r0, #4 + 80028ec: f7ff fea5 bl 800263a WriteCommandHT1621(WDT_DIS); - 80022a0: 2005 movs r0, #5 - 80022a2: f7ff fea2 bl 8001fea + 80028f0: 2005 movs r0, #5 + 80028f2: f7ff fea2 bl 800263a WriteCommandHT1621(BUZZ_OFF); - 80022a6: 2008 movs r0, #8 - 80022a8: f7ff fe9f bl 8001fea + 80028f6: 2008 movs r0, #8 + 80028f8: f7ff fe9f bl 800263a WriteCommandHT1621(IRQ_DIS); - 80022ac: 2080 movs r0, #128 ; 0x80 - 80022ae: f7ff fe9c bl 8001fea + 80028fc: 2080 movs r0, #128 ; 0x80 + 80028fe: f7ff fe9c bl 800263a } - 80022b2: 46c0 nop ; (mov r8, r8) - 80022b4: 46bd mov sp, r7 - 80022b6: bd80 pop {r7, pc} + 8002902: 46c0 nop ; (mov r8, r8) + 8002904: 46bd mov sp, r7 + 8002906: bd80 pop {r7, pc} -080022b8 : +08002908 : char moto2b_; }moto; void ds_in_or_out(char a)//change the io function { - 80022b8: b590 push {r4, r7, lr} - 80022ba: b089 sub sp, #36 ; 0x24 - 80022bc: af00 add r7, sp, #0 - 80022be: 0002 movs r2, r0 - 80022c0: 1dfb adds r3, r7, #7 - 80022c2: 701a strb r2, [r3, #0] + 8002908: b590 push {r4, r7, lr} + 800290a: b089 sub sp, #36 ; 0x24 + 800290c: af00 add r7, sp, #0 + 800290e: 0002 movs r2, r0 + 8002910: 1dfb adds r3, r7, #7 + 8002912: 701a strb r2, [r3, #0] GPIO_InitTypeDef GPIO_InitStruct = {0}; - 80022c4: 240c movs r4, #12 - 80022c6: 193b adds r3, r7, r4 - 80022c8: 0018 movs r0, r3 - 80022ca: 2314 movs r3, #20 - 80022cc: 001a movs r2, r3 - 80022ce: 2100 movs r1, #0 - 80022d0: f000 ff1a bl 8003108 + 8002914: 240c movs r4, #12 + 8002916: 193b adds r3, r7, r4 + 8002918: 0018 movs r0, r3 + 800291a: 2314 movs r3, #20 + 800291c: 001a movs r2, r3 + 800291e: 2100 movs r1, #0 + 8002920: f001 f874 bl 8003a0c GPIO_InitStruct.Pin = HC595_DLK_Pin; - 80022d4: 0021 movs r1, r4 - 80022d6: 187b adds r3, r7, r1 - 80022d8: 2220 movs r2, #32 - 80022da: 601a str r2, [r3, #0] + 8002924: 0021 movs r1, r4 + 8002926: 187b adds r3, r7, r1 + 8002928: 2220 movs r2, #32 + 800292a: 601a str r2, [r3, #0] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH; - 80022dc: 187b adds r3, r7, r1 - 80022de: 2203 movs r2, #3 - 80022e0: 60da str r2, [r3, #12] + 800292c: 187b adds r3, r7, r1 + 800292e: 2203 movs r2, #3 + 8002930: 60da str r2, [r3, #12] if(a==0) - 80022e2: 1dfb adds r3, r7, #7 - 80022e4: 781b ldrb r3, [r3, #0] - 80022e6: 2b00 cmp r3, #0 - 80022e8: d105 bne.n 80022f6 + 8002932: 1dfb adds r3, r7, #7 + 8002934: 781b ldrb r3, [r3, #0] + 8002936: 2b00 cmp r3, #0 + 8002938: d105 bne.n 8002946 { GPIO_InitStruct.Pull = GPIO_PULLUP; - 80022ea: 187b adds r3, r7, r1 - 80022ec: 2201 movs r2, #1 - 80022ee: 609a str r2, [r3, #8] + 800293a: 187b adds r3, r7, r1 + 800293c: 2201 movs r2, #1 + 800293e: 609a str r2, [r3, #8] GPIO_InitStruct.Mode = GPIO_MODE_INPUT; - 80022f0: 187b adds r3, r7, r1 - 80022f2: 2200 movs r2, #0 - 80022f4: 605a str r2, [r3, #4] + 8002940: 187b adds r3, r7, r1 + 8002942: 2200 movs r2, #0 + 8002944: 605a str r2, [r3, #4] } if(a==1) - 80022f6: 1dfb adds r3, r7, #7 - 80022f8: 781b ldrb r3, [r3, #0] - 80022fa: 2b01 cmp r3, #1 - 80022fc: d106 bne.n 800230c + 8002946: 1dfb adds r3, r7, #7 + 8002948: 781b ldrb r3, [r3, #0] + 800294a: 2b01 cmp r3, #1 + 800294c: d106 bne.n 800295c { GPIO_InitStruct.Pull = GPIO_NOPULL; - 80022fe: 210c movs r1, #12 - 8002300: 187b adds r3, r7, r1 - 8002302: 2200 movs r2, #0 - 8002304: 609a str r2, [r3, #8] + 800294e: 210c movs r1, #12 + 8002950: 187b adds r3, r7, r1 + 8002952: 2200 movs r2, #0 + 8002954: 609a str r2, [r3, #8] GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; - 8002306: 187b adds r3, r7, r1 - 8002308: 2201 movs r2, #1 - 800230a: 605a str r2, [r3, #4] + 8002956: 187b adds r3, r7, r1 + 8002958: 2201 movs r2, #1 + 800295a: 605a str r2, [r3, #4] } HAL_GPIO_Init(HC595_DLK_GPIO_Port, &GPIO_InitStruct); - 800230c: 230c movs r3, #12 - 800230e: 18fa adds r2, r7, r3 - 8002310: 2390 movs r3, #144 ; 0x90 - 8002312: 05db lsls r3, r3, #23 - 8002314: 0011 movs r1, r2 - 8002316: 0018 movs r0, r3 - 8002318: f7ff f81c bl 8001354 + 800295c: 230c movs r3, #12 + 800295e: 18fa adds r2, r7, r3 + 8002960: 2390 movs r3, #144 ; 0x90 + 8002962: 05db lsls r3, r3, #23 + 8002964: 0011 movs r1, r2 + 8002966: 0018 movs r0, r3 + 8002968: f7fe fd9c bl 80014a4 } - 800231c: 46c0 nop ; (mov r8, r8) - 800231e: 46bd mov sp, r7 - 8002320: b009 add sp, #36 ; 0x24 - 8002322: bd90 pop {r4, r7, pc} + 800296c: 46c0 nop ; (mov r8, r8) + 800296e: 46bd mov sp, r7 + 8002970: b009 add sp, #36 ; 0x24 + 8002972: bd90 pop {r4, r7, pc} -08002324 : +08002974 : //return READ_HC595_DCK; } //send data to 959 void Sand_Byte_to_595_2(uint8_t h) { - 8002324: b580 push {r7, lr} - 8002326: b084 sub sp, #16 - 8002328: af00 add r7, sp, #0 - 800232a: 0002 movs r2, r0 - 800232c: 1dfb adds r3, r7, #7 - 800232e: 701a strb r2, [r3, #0] + 8002974: b580 push {r7, lr} + 8002976: b084 sub sp, #16 + 8002978: af00 add r7, sp, #0 + 800297a: 0002 movs r2, r0 + 800297c: 1dfb adds r3, r7, #7 + 800297e: 701a strb r2, [r3, #0] ds_in_or_out(1); - 8002330: 2001 movs r0, #1 - 8002332: f7ff ffc1 bl 80022b8 + 8002980: 2001 movs r0, #1 + 8002982: f7ff ffc1 bl 8002908 HC595_DCK(0); - 8002336: 2390 movs r3, #144 ; 0x90 - 8002338: 05db lsls r3, r3, #23 - 800233a: 2200 movs r2, #0 - 800233c: 2120 movs r1, #32 - 800233e: 0018 movs r0, r3 - 8002340: f7ff f978 bl 8001634 + 8002986: 2390 movs r3, #144 ; 0x90 + 8002988: 05db lsls r3, r3, #23 + 800298a: 2200 movs r2, #0 + 800298c: 2120 movs r1, #32 + 800298e: 0018 movs r0, r3 + 8002990: f7fe ff15 bl 80017be HC595_SCK2(0); - 8002344: 2380 movs r3, #128 ; 0x80 - 8002346: 0099 lsls r1, r3, #2 - 8002348: 2390 movs r3, #144 ; 0x90 - 800234a: 05db lsls r3, r3, #23 - 800234c: 2200 movs r2, #0 - 800234e: 0018 movs r0, r3 - 8002350: f7ff f970 bl 8001634 + 8002994: 2380 movs r3, #128 ; 0x80 + 8002996: 0099 lsls r1, r3, #2 + 8002998: 2390 movs r3, #144 ; 0x90 + 800299a: 05db lsls r3, r3, #23 + 800299c: 2200 movs r2, #0 + 800299e: 0018 movs r0, r3 + 80029a0: f7fe ff0d bl 80017be HC595_RCK(0); - 8002354: 2390 movs r3, #144 ; 0x90 - 8002356: 05db lsls r3, r3, #23 - 8002358: 2200 movs r2, #0 - 800235a: 2180 movs r1, #128 ; 0x80 - 800235c: 0018 movs r0, r3 - 800235e: f7ff f969 bl 8001634 + 80029a4: 2390 movs r3, #144 ; 0x90 + 80029a6: 05db lsls r3, r3, #23 + 80029a8: 2200 movs r2, #0 + 80029aa: 2180 movs r1, #128 ; 0x80 + 80029ac: 0018 movs r0, r3 + 80029ae: f7fe ff06 bl 80017be for(char a=0;a<8;a++) - 8002362: 230f movs r3, #15 - 8002364: 18fb adds r3, r7, r3 - 8002366: 2200 movs r2, #0 - 8002368: 701a strb r2, [r3, #0] - 800236a: e02e b.n 80023ca + 80029b2: 230f movs r3, #15 + 80029b4: 18fb adds r3, r7, r3 + 80029b6: 2200 movs r2, #0 + 80029b8: 701a strb r2, [r3, #0] + 80029ba: e02e b.n 8002a1a { if((h< + 80029bc: 1dfb adds r3, r7, #7 + 80029be: 781a ldrb r2, [r3, #0] + 80029c0: 230f movs r3, #15 + 80029c2: 18fb adds r3, r7, r3 + 80029c4: 781b ldrb r3, [r3, #0] + 80029c6: 409a lsls r2, r3 + 80029c8: 0013 movs r3, r2 + 80029ca: 2280 movs r2, #128 ; 0x80 + 80029cc: 4013 ands r3, r2 + 80029ce: d007 beq.n 80029e0 { HC595_DCK(1); - 8002380: 2390 movs r3, #144 ; 0x90 - 8002382: 05db lsls r3, r3, #23 - 8002384: 2201 movs r2, #1 - 8002386: 2120 movs r1, #32 - 8002388: 0018 movs r0, r3 - 800238a: f7ff f953 bl 8001634 - 800238e: e006 b.n 800239e + 80029d0: 2390 movs r3, #144 ; 0x90 + 80029d2: 05db lsls r3, r3, #23 + 80029d4: 2201 movs r2, #1 + 80029d6: 2120 movs r1, #32 + 80029d8: 0018 movs r0, r3 + 80029da: f7fe fef0 bl 80017be + 80029de: e006 b.n 80029ee }else { HC595_DCK(0); - 8002390: 2390 movs r3, #144 ; 0x90 - 8002392: 05db lsls r3, r3, #23 - 8002394: 2200 movs r2, #0 - 8002396: 2120 movs r1, #32 - 8002398: 0018 movs r0, r3 - 800239a: f7ff f94b bl 8001634 + 80029e0: 2390 movs r3, #144 ; 0x90 + 80029e2: 05db lsls r3, r3, #23 + 80029e4: 2200 movs r2, #0 + 80029e6: 2120 movs r1, #32 + 80029e8: 0018 movs r0, r3 + 80029ea: f7fe fee8 bl 80017be } HC595_SCK2(1); - 800239e: 2380 movs r3, #128 ; 0x80 - 80023a0: 0099 lsls r1, r3, #2 - 80023a2: 2390 movs r3, #144 ; 0x90 - 80023a4: 05db lsls r3, r3, #23 - 80023a6: 2201 movs r2, #1 - 80023a8: 0018 movs r0, r3 - 80023aa: f7ff f943 bl 8001634 + 80029ee: 2380 movs r3, #128 ; 0x80 + 80029f0: 0099 lsls r1, r3, #2 + 80029f2: 2390 movs r3, #144 ; 0x90 + 80029f4: 05db lsls r3, r3, #23 + 80029f6: 2201 movs r2, #1 + 80029f8: 0018 movs r0, r3 + 80029fa: f7fe fee0 bl 80017be HC595_SCK2(0); - 80023ae: 2380 movs r3, #128 ; 0x80 - 80023b0: 0099 lsls r1, r3, #2 - 80023b2: 2390 movs r3, #144 ; 0x90 - 80023b4: 05db lsls r3, r3, #23 - 80023b6: 2200 movs r2, #0 - 80023b8: 0018 movs r0, r3 - 80023ba: f7ff f93b bl 8001634 + 80029fe: 2380 movs r3, #128 ; 0x80 + 8002a00: 0099 lsls r1, r3, #2 + 8002a02: 2390 movs r3, #144 ; 0x90 + 8002a04: 05db lsls r3, r3, #23 + 8002a06: 2200 movs r2, #0 + 8002a08: 0018 movs r0, r3 + 8002a0a: f7fe fed8 bl 80017be for(char a=0;a<8;a++) - 80023be: 210f movs r1, #15 - 80023c0: 187b adds r3, r7, r1 - 80023c2: 781a ldrb r2, [r3, #0] - 80023c4: 187b adds r3, r7, r1 - 80023c6: 3201 adds r2, #1 - 80023c8: 701a strb r2, [r3, #0] - 80023ca: 230f movs r3, #15 - 80023cc: 18fb adds r3, r7, r3 - 80023ce: 781b ldrb r3, [r3, #0] - 80023d0: 2b07 cmp r3, #7 - 80023d2: d9cb bls.n 800236c + 8002a0e: 210f movs r1, #15 + 8002a10: 187b adds r3, r7, r1 + 8002a12: 781a ldrb r2, [r3, #0] + 8002a14: 187b adds r3, r7, r1 + 8002a16: 3201 adds r2, #1 + 8002a18: 701a strb r2, [r3, #0] + 8002a1a: 230f movs r3, #15 + 8002a1c: 18fb adds r3, r7, r3 + 8002a1e: 781b ldrb r3, [r3, #0] + 8002a20: 2b07 cmp r3, #7 + 8002a22: d9cb bls.n 80029bc } HC595_RCK(1); - 80023d4: 2390 movs r3, #144 ; 0x90 - 80023d6: 05db lsls r3, r3, #23 - 80023d8: 2201 movs r2, #1 - 80023da: 2180 movs r1, #128 ; 0x80 - 80023dc: 0018 movs r0, r3 - 80023de: f7ff f929 bl 8001634 + 8002a24: 2390 movs r3, #144 ; 0x90 + 8002a26: 05db lsls r3, r3, #23 + 8002a28: 2201 movs r2, #1 + 8002a2a: 2180 movs r1, #128 ; 0x80 + 8002a2c: 0018 movs r0, r3 + 8002a2e: f7fe fec6 bl 80017be HC595_RCK(0); - 80023e2: 2390 movs r3, #144 ; 0x90 - 80023e4: 05db lsls r3, r3, #23 - 80023e6: 2200 movs r2, #0 - 80023e8: 2180 movs r1, #128 ; 0x80 - 80023ea: 0018 movs r0, r3 - 80023ec: f7ff f922 bl 8001634 + 8002a32: 2390 movs r3, #144 ; 0x90 + 8002a34: 05db lsls r3, r3, #23 + 8002a36: 2200 movs r2, #0 + 8002a38: 2180 movs r1, #128 ; 0x80 + 8002a3a: 0018 movs r0, r3 + 8002a3c: f7fe febf bl 80017be } - 80023f0: 46c0 nop ; (mov r8, r8) - 80023f2: 46bd mov sp, r7 - 80023f4: b004 add sp, #16 - 80023f6: bd80 pop {r7, pc} + 8002a40: 46c0 nop ; (mov r8, r8) + 8002a42: 46bd mov sp, r7 + 8002a44: b004 add sp, #16 + 8002a46: bd80 pop {r7, pc} -080023f8 : +08002a48 : void hc2_sever() { - 80023f8: b580 push {r7, lr} - 80023fa: b082 sub sp, #8 - 80023fc: af00 add r7, sp, #0 + 8002a48: b580 push {r7, lr} + 8002a4a: b082 sub sp, #8 + 8002a4c: af00 add r7, sp, #0 char h=0; - 80023fe: 1dfb adds r3, r7, #7 - 8002400: 2200 movs r2, #0 - 8002402: 701a strb r2, [r3, #0] + 8002a4e: 1dfb adds r3, r7, #7 + 8002a50: 2200 movs r2, #0 + 8002a52: 701a strb r2, [r3, #0] if(dis_buff.led_run==1) - 8002404: 4b24 ldr r3, [pc, #144] ; (8002498 ) - 8002406: 7a1b ldrb r3, [r3, #8] - 8002408: 2210 movs r2, #16 - 800240a: 4013 ands r3, r2 - 800240c: b2db uxtb r3, r3 - 800240e: 2b00 cmp r3, #0 - 8002410: d005 beq.n 800241e + 8002a54: 4b24 ldr r3, [pc, #144] ; (8002ae8 ) + 8002a56: 7a1b ldrb r3, [r3, #8] + 8002a58: 2210 movs r2, #16 + 8002a5a: 4013 ands r3, r2 + 8002a5c: b2db uxtb r3, r3 + 8002a5e: 2b00 cmp r3, #0 + 8002a60: d005 beq.n 8002a6e { h|=0x01; - 8002412: 1dfb adds r3, r7, #7 - 8002414: 1dfa adds r2, r7, #7 - 8002416: 7812 ldrb r2, [r2, #0] - 8002418: 2101 movs r1, #1 - 800241a: 430a orrs r2, r1 - 800241c: 701a strb r2, [r3, #0] + 8002a62: 1dfb adds r3, r7, #7 + 8002a64: 1dfa adds r2, r7, #7 + 8002a66: 7812 ldrb r2, [r2, #0] + 8002a68: 2101 movs r1, #1 + 8002a6a: 430a orrs r2, r1 + 8002a6c: 701a strb r2, [r3, #0] } if(dis_buff.moto1a==1) - 800241e: 4b1e ldr r3, [pc, #120] ; (8002498 ) - 8002420: 7a1b ldrb r3, [r3, #8] - 8002422: 2220 movs r2, #32 - 8002424: 4013 ands r3, r2 - 8002426: b2db uxtb r3, r3 - 8002428: 2b00 cmp r3, #0 - 800242a: d005 beq.n 8002438 + 8002a6e: 4b1e ldr r3, [pc, #120] ; (8002ae8 ) + 8002a70: 7a1b ldrb r3, [r3, #8] + 8002a72: 2220 movs r2, #32 + 8002a74: 4013 ands r3, r2 + 8002a76: b2db uxtb r3, r3 + 8002a78: 2b00 cmp r3, #0 + 8002a7a: d005 beq.n 8002a88 { h|=0x02; - 800242c: 1dfb adds r3, r7, #7 - 800242e: 1dfa adds r2, r7, #7 - 8002430: 7812 ldrb r2, [r2, #0] - 8002432: 2102 movs r1, #2 - 8002434: 430a orrs r2, r1 - 8002436: 701a strb r2, [r3, #0] + 8002a7c: 1dfb adds r3, r7, #7 + 8002a7e: 1dfa adds r2, r7, #7 + 8002a80: 7812 ldrb r2, [r2, #0] + 8002a82: 2102 movs r1, #2 + 8002a84: 430a orrs r2, r1 + 8002a86: 701a strb r2, [r3, #0] } if(dis_buff.moto1b==1) - 8002438: 4b17 ldr r3, [pc, #92] ; (8002498 ) - 800243a: 7a1b ldrb r3, [r3, #8] - 800243c: 2240 movs r2, #64 ; 0x40 - 800243e: 4013 ands r3, r2 - 8002440: b2db uxtb r3, r3 - 8002442: 2b00 cmp r3, #0 - 8002444: d005 beq.n 8002452 + 8002a88: 4b17 ldr r3, [pc, #92] ; (8002ae8 ) + 8002a8a: 7a1b ldrb r3, [r3, #8] + 8002a8c: 2240 movs r2, #64 ; 0x40 + 8002a8e: 4013 ands r3, r2 + 8002a90: b2db uxtb r3, r3 + 8002a92: 2b00 cmp r3, #0 + 8002a94: d005 beq.n 8002aa2 { h|=0x04; - 8002446: 1dfb adds r3, r7, #7 - 8002448: 1dfa adds r2, r7, #7 - 800244a: 7812 ldrb r2, [r2, #0] - 800244c: 2104 movs r1, #4 - 800244e: 430a orrs r2, r1 - 8002450: 701a strb r2, [r3, #0] + 8002a96: 1dfb adds r3, r7, #7 + 8002a98: 1dfa adds r2, r7, #7 + 8002a9a: 7812 ldrb r2, [r2, #0] + 8002a9c: 2104 movs r1, #4 + 8002a9e: 430a orrs r2, r1 + 8002aa0: 701a strb r2, [r3, #0] } if(dis_buff.moto2a==1) - 8002452: 4b11 ldr r3, [pc, #68] ; (8002498 ) - 8002454: 7a1b ldrb r3, [r3, #8] - 8002456: 227f movs r2, #127 ; 0x7f - 8002458: 4393 bics r3, r2 - 800245a: b2db uxtb r3, r3 - 800245c: 2b00 cmp r3, #0 - 800245e: d005 beq.n 800246c + 8002aa2: 4b11 ldr r3, [pc, #68] ; (8002ae8 ) + 8002aa4: 7a1b ldrb r3, [r3, #8] + 8002aa6: 227f movs r2, #127 ; 0x7f + 8002aa8: 4393 bics r3, r2 + 8002aaa: b2db uxtb r3, r3 + 8002aac: 2b00 cmp r3, #0 + 8002aae: d005 beq.n 8002abc { h|=0x08; - 8002460: 1dfb adds r3, r7, #7 - 8002462: 1dfa adds r2, r7, #7 - 8002464: 7812 ldrb r2, [r2, #0] - 8002466: 2108 movs r1, #8 - 8002468: 430a orrs r2, r1 - 800246a: 701a strb r2, [r3, #0] + 8002ab0: 1dfb adds r3, r7, #7 + 8002ab2: 1dfa adds r2, r7, #7 + 8002ab4: 7812 ldrb r2, [r2, #0] + 8002ab6: 2108 movs r1, #8 + 8002ab8: 430a orrs r2, r1 + 8002aba: 701a strb r2, [r3, #0] } if(dis_buff.moto2b==1) - 800246c: 4b0a ldr r3, [pc, #40] ; (8002498 ) - 800246e: 7a5b ldrb r3, [r3, #9] - 8002470: 2201 movs r2, #1 - 8002472: 4013 ands r3, r2 - 8002474: b2db uxtb r3, r3 - 8002476: 2b00 cmp r3, #0 - 8002478: d005 beq.n 8002486 + 8002abc: 4b0a ldr r3, [pc, #40] ; (8002ae8 ) + 8002abe: 7a5b ldrb r3, [r3, #9] + 8002ac0: 2201 movs r2, #1 + 8002ac2: 4013 ands r3, r2 + 8002ac4: b2db uxtb r3, r3 + 8002ac6: 2b00 cmp r3, #0 + 8002ac8: d005 beq.n 8002ad6 { h|=0x10; - 800247a: 1dfb adds r3, r7, #7 - 800247c: 1dfa adds r2, r7, #7 - 800247e: 7812 ldrb r2, [r2, #0] - 8002480: 2110 movs r1, #16 - 8002482: 430a orrs r2, r1 - 8002484: 701a strb r2, [r3, #0] + 8002aca: 1dfb adds r3, r7, #7 + 8002acc: 1dfa adds r2, r7, #7 + 8002ace: 7812 ldrb r2, [r2, #0] + 8002ad0: 2110 movs r1, #16 + 8002ad2: 430a orrs r2, r1 + 8002ad4: 701a strb r2, [r3, #0] } Sand_Byte_to_595_2(h); - 8002486: 1dfb adds r3, r7, #7 - 8002488: 781b ldrb r3, [r3, #0] - 800248a: 0018 movs r0, r3 - 800248c: f7ff ff4a bl 8002324 + 8002ad6: 1dfb adds r3, r7, #7 + 8002ad8: 781b ldrb r3, [r3, #0] + 8002ada: 0018 movs r0, r3 + 8002adc: f7ff ff4a bl 8002974 } - 8002490: 46c0 nop ; (mov r8, r8) - 8002492: 46bd mov sp, r7 - 8002494: b002 add sp, #8 - 8002496: bd80 pop {r7, pc} - 8002498: 20000028 .word 0x20000028 + 8002ae0: 46c0 nop ; (mov r8, r8) + 8002ae2: 46bd mov sp, r7 + 8002ae4: b002 add sp, #8 + 8002ae6: bd80 pop {r7, pc} + 8002ae8: 20000038 .word 0x20000038 -0800249c : +08002aec : //motor cool start void moto_server() { - 800249c: b580 push {r7, lr} - 800249e: af00 add r7, sp, #0 + 8002aec: b580 push {r7, lr} + 8002aee: af00 add r7, sp, #0 if(HAL_GetTick()>moto.moto_run) - 80024a0: f7fe f9ea bl 8000878 - 80024a4: 0002 movs r2, r0 - 80024a6: 4b6c ldr r3, [pc, #432] ; (8002658 ) - 80024a8: 681b ldr r3, [r3, #0] - 80024aa: 429a cmp r2, r3 - 80024ac: d800 bhi.n 80024b0 - 80024ae: e07e b.n 80025ae + 8002af0: f7fd ff40 bl 8000974 + 8002af4: 0002 movs r2, r0 + 8002af6: 4b6c ldr r3, [pc, #432] ; (8002ca8 ) + 8002af8: 681b ldr r3, [r3, #0] + 8002afa: 429a cmp r2, r3 + 8002afc: d800 bhi.n 8002b00 + 8002afe: e07e b.n 8002bfe { moto.moto_run=HAL_GetTick()+10; - 80024b0: f7fe f9e2 bl 8000878 - 80024b4: 0003 movs r3, r0 - 80024b6: 330a adds r3, #10 - 80024b8: 001a movs r2, r3 - 80024ba: 4b67 ldr r3, [pc, #412] ; (8002658 ) - 80024bc: 601a str r2, [r3, #0] + 8002b00: f7fd ff38 bl 8000974 + 8002b04: 0003 movs r3, r0 + 8002b06: 330a adds r3, #10 + 8002b08: 001a movs r2, r3 + 8002b0a: 4b67 ldr r3, [pc, #412] ; (8002ca8 ) + 8002b0c: 601a str r2, [r3, #0] if(moto.moto1a!=moto.moto1a_) - 80024be: 4b66 ldr r3, [pc, #408] ; (8002658 ) - 80024c0: 7a1a ldrb r2, [r3, #8] - 80024c2: 4b65 ldr r3, [pc, #404] ; (8002658 ) - 80024c4: 7b1b ldrb r3, [r3, #12] - 80024c6: 429a cmp r2, r3 - 80024c8: d017 beq.n 80024fa + 8002b0e: 4b66 ldr r3, [pc, #408] ; (8002ca8 ) + 8002b10: 7a1a ldrb r2, [r3, #8] + 8002b12: 4b65 ldr r3, [pc, #404] ; (8002ca8 ) + 8002b14: 7b1b ldrb r3, [r3, #12] + 8002b16: 429a cmp r2, r3 + 8002b18: d017 beq.n 8002b4a { if(moto.moto1a>moto.moto1a_) - 80024ca: 4b63 ldr r3, [pc, #396] ; (8002658 ) - 80024cc: 7a1a ldrb r2, [r3, #8] - 80024ce: 4b62 ldr r3, [pc, #392] ; (8002658 ) - 80024d0: 7b1b ldrb r3, [r3, #12] - 80024d2: 429a cmp r2, r3 - 80024d4: d905 bls.n 80024e2 + 8002b1a: 4b63 ldr r3, [pc, #396] ; (8002ca8 ) + 8002b1c: 7a1a ldrb r2, [r3, #8] + 8002b1e: 4b62 ldr r3, [pc, #392] ; (8002ca8 ) + 8002b20: 7b1b ldrb r3, [r3, #12] + 8002b22: 429a cmp r2, r3 + 8002b24: d905 bls.n 8002b32 { moto.moto1a_++; - 80024d6: 4b60 ldr r3, [pc, #384] ; (8002658 ) - 80024d8: 7b1b ldrb r3, [r3, #12] - 80024da: 3301 adds r3, #1 - 80024dc: b2da uxtb r2, r3 - 80024de: 4b5e ldr r3, [pc, #376] ; (8002658 ) - 80024e0: 731a strb r2, [r3, #12] + 8002b26: 4b60 ldr r3, [pc, #384] ; (8002ca8 ) + 8002b28: 7b1b ldrb r3, [r3, #12] + 8002b2a: 3301 adds r3, #1 + 8002b2c: b2da uxtb r2, r3 + 8002b2e: 4b5e ldr r3, [pc, #376] ; (8002ca8 ) + 8002b30: 731a strb r2, [r3, #12] } if(moto.moto1a) - 80024e4: 7a1a ldrb r2, [r3, #8] - 80024e6: 4b5c ldr r3, [pc, #368] ; (8002658 ) - 80024e8: 7b1b ldrb r3, [r3, #12] - 80024ea: 429a cmp r2, r3 - 80024ec: d205 bcs.n 80024fa + 8002b32: 4b5d ldr r3, [pc, #372] ; (8002ca8 ) + 8002b34: 7a1a ldrb r2, [r3, #8] + 8002b36: 4b5c ldr r3, [pc, #368] ; (8002ca8 ) + 8002b38: 7b1b ldrb r3, [r3, #12] + 8002b3a: 429a cmp r2, r3 + 8002b3c: d205 bcs.n 8002b4a { moto.moto1a_--; - 80024ee: 4b5a ldr r3, [pc, #360] ; (8002658 ) - 80024f0: 7b1b ldrb r3, [r3, #12] - 80024f2: 3b01 subs r3, #1 - 80024f4: b2da uxtb r2, r3 - 80024f6: 4b58 ldr r3, [pc, #352] ; (8002658 ) - 80024f8: 731a strb r2, [r3, #12] + 8002b3e: 4b5a ldr r3, [pc, #360] ; (8002ca8 ) + 8002b40: 7b1b ldrb r3, [r3, #12] + 8002b42: 3b01 subs r3, #1 + 8002b44: b2da uxtb r2, r3 + 8002b46: 4b58 ldr r3, [pc, #352] ; (8002ca8 ) + 8002b48: 731a strb r2, [r3, #12] } } if(moto.moto1b!=moto.moto1b_) - 80024fa: 4b57 ldr r3, [pc, #348] ; (8002658 ) - 80024fc: 7a5a ldrb r2, [r3, #9] - 80024fe: 4b56 ldr r3, [pc, #344] ; (8002658 ) - 8002500: 7b5b ldrb r3, [r3, #13] - 8002502: 429a cmp r2, r3 - 8002504: d017 beq.n 8002536 + 8002b4a: 4b57 ldr r3, [pc, #348] ; (8002ca8 ) + 8002b4c: 7a5a ldrb r2, [r3, #9] + 8002b4e: 4b56 ldr r3, [pc, #344] ; (8002ca8 ) + 8002b50: 7b5b ldrb r3, [r3, #13] + 8002b52: 429a cmp r2, r3 + 8002b54: d017 beq.n 8002b86 { if(moto.moto1b>moto.moto1b_) - 8002506: 4b54 ldr r3, [pc, #336] ; (8002658 ) - 8002508: 7a5a ldrb r2, [r3, #9] - 800250a: 4b53 ldr r3, [pc, #332] ; (8002658 ) - 800250c: 7b5b ldrb r3, [r3, #13] - 800250e: 429a cmp r2, r3 - 8002510: d905 bls.n 800251e + 8002b56: 4b54 ldr r3, [pc, #336] ; (8002ca8 ) + 8002b58: 7a5a ldrb r2, [r3, #9] + 8002b5a: 4b53 ldr r3, [pc, #332] ; (8002ca8 ) + 8002b5c: 7b5b ldrb r3, [r3, #13] + 8002b5e: 429a cmp r2, r3 + 8002b60: d905 bls.n 8002b6e { moto.moto1b_++; - 8002512: 4b51 ldr r3, [pc, #324] ; (8002658 ) - 8002514: 7b5b ldrb r3, [r3, #13] - 8002516: 3301 adds r3, #1 - 8002518: b2da uxtb r2, r3 - 800251a: 4b4f ldr r3, [pc, #316] ; (8002658 ) - 800251c: 735a strb r2, [r3, #13] + 8002b62: 4b51 ldr r3, [pc, #324] ; (8002ca8 ) + 8002b64: 7b5b ldrb r3, [r3, #13] + 8002b66: 3301 adds r3, #1 + 8002b68: b2da uxtb r2, r3 + 8002b6a: 4b4f ldr r3, [pc, #316] ; (8002ca8 ) + 8002b6c: 735a strb r2, [r3, #13] } if(moto.moto1b) - 8002520: 7a5a ldrb r2, [r3, #9] - 8002522: 4b4d ldr r3, [pc, #308] ; (8002658 ) - 8002524: 7b5b ldrb r3, [r3, #13] - 8002526: 429a cmp r2, r3 - 8002528: d205 bcs.n 8002536 + 8002b6e: 4b4e ldr r3, [pc, #312] ; (8002ca8 ) + 8002b70: 7a5a ldrb r2, [r3, #9] + 8002b72: 4b4d ldr r3, [pc, #308] ; (8002ca8 ) + 8002b74: 7b5b ldrb r3, [r3, #13] + 8002b76: 429a cmp r2, r3 + 8002b78: d205 bcs.n 8002b86 { moto.moto1b_--; - 800252a: 4b4b ldr r3, [pc, #300] ; (8002658 ) - 800252c: 7b5b ldrb r3, [r3, #13] - 800252e: 3b01 subs r3, #1 - 8002530: b2da uxtb r2, r3 - 8002532: 4b49 ldr r3, [pc, #292] ; (8002658 ) - 8002534: 735a strb r2, [r3, #13] + 8002b7a: 4b4b ldr r3, [pc, #300] ; (8002ca8 ) + 8002b7c: 7b5b ldrb r3, [r3, #13] + 8002b7e: 3b01 subs r3, #1 + 8002b80: b2da uxtb r2, r3 + 8002b82: 4b49 ldr r3, [pc, #292] ; (8002ca8 ) + 8002b84: 735a strb r2, [r3, #13] } } if(moto.moto2a!=moto.moto2a_) - 8002536: 4b48 ldr r3, [pc, #288] ; (8002658 ) - 8002538: 7a9a ldrb r2, [r3, #10] - 800253a: 4b47 ldr r3, [pc, #284] ; (8002658 ) - 800253c: 7b9b ldrb r3, [r3, #14] - 800253e: 429a cmp r2, r3 - 8002540: d017 beq.n 8002572 + 8002b86: 4b48 ldr r3, [pc, #288] ; (8002ca8 ) + 8002b88: 7a9a ldrb r2, [r3, #10] + 8002b8a: 4b47 ldr r3, [pc, #284] ; (8002ca8 ) + 8002b8c: 7b9b ldrb r3, [r3, #14] + 8002b8e: 429a cmp r2, r3 + 8002b90: d017 beq.n 8002bc2 { if(moto.moto2a>moto.moto2a_) - 8002542: 4b45 ldr r3, [pc, #276] ; (8002658 ) - 8002544: 7a9a ldrb r2, [r3, #10] - 8002546: 4b44 ldr r3, [pc, #272] ; (8002658 ) - 8002548: 7b9b ldrb r3, [r3, #14] - 800254a: 429a cmp r2, r3 - 800254c: d905 bls.n 800255a + 8002b92: 4b45 ldr r3, [pc, #276] ; (8002ca8 ) + 8002b94: 7a9a ldrb r2, [r3, #10] + 8002b96: 4b44 ldr r3, [pc, #272] ; (8002ca8 ) + 8002b98: 7b9b ldrb r3, [r3, #14] + 8002b9a: 429a cmp r2, r3 + 8002b9c: d905 bls.n 8002baa { moto.moto2a_++; - 800254e: 4b42 ldr r3, [pc, #264] ; (8002658 ) - 8002550: 7b9b ldrb r3, [r3, #14] - 8002552: 3301 adds r3, #1 - 8002554: b2da uxtb r2, r3 - 8002556: 4b40 ldr r3, [pc, #256] ; (8002658 ) - 8002558: 739a strb r2, [r3, #14] + 8002b9e: 4b42 ldr r3, [pc, #264] ; (8002ca8 ) + 8002ba0: 7b9b ldrb r3, [r3, #14] + 8002ba2: 3301 adds r3, #1 + 8002ba4: b2da uxtb r2, r3 + 8002ba6: 4b40 ldr r3, [pc, #256] ; (8002ca8 ) + 8002ba8: 739a strb r2, [r3, #14] } if(moto.moto2a) - 800255c: 7a9a ldrb r2, [r3, #10] - 800255e: 4b3e ldr r3, [pc, #248] ; (8002658 ) - 8002560: 7b9b ldrb r3, [r3, #14] - 8002562: 429a cmp r2, r3 - 8002564: d205 bcs.n 8002572 + 8002baa: 4b3f ldr r3, [pc, #252] ; (8002ca8 ) + 8002bac: 7a9a ldrb r2, [r3, #10] + 8002bae: 4b3e ldr r3, [pc, #248] ; (8002ca8 ) + 8002bb0: 7b9b ldrb r3, [r3, #14] + 8002bb2: 429a cmp r2, r3 + 8002bb4: d205 bcs.n 8002bc2 { moto.moto2a_--; - 8002566: 4b3c ldr r3, [pc, #240] ; (8002658 ) - 8002568: 7b9b ldrb r3, [r3, #14] - 800256a: 3b01 subs r3, #1 - 800256c: b2da uxtb r2, r3 - 800256e: 4b3a ldr r3, [pc, #232] ; (8002658 ) - 8002570: 739a strb r2, [r3, #14] + 8002bb6: 4b3c ldr r3, [pc, #240] ; (8002ca8 ) + 8002bb8: 7b9b ldrb r3, [r3, #14] + 8002bba: 3b01 subs r3, #1 + 8002bbc: b2da uxtb r2, r3 + 8002bbe: 4b3a ldr r3, [pc, #232] ; (8002ca8 ) + 8002bc0: 739a strb r2, [r3, #14] } } if(moto.moto2b!=moto.moto2b_) - 8002572: 4b39 ldr r3, [pc, #228] ; (8002658 ) - 8002574: 7ada ldrb r2, [r3, #11] - 8002576: 4b38 ldr r3, [pc, #224] ; (8002658 ) - 8002578: 7bdb ldrb r3, [r3, #15] - 800257a: 429a cmp r2, r3 - 800257c: d017 beq.n 80025ae + 8002bc2: 4b39 ldr r3, [pc, #228] ; (8002ca8 ) + 8002bc4: 7ada ldrb r2, [r3, #11] + 8002bc6: 4b38 ldr r3, [pc, #224] ; (8002ca8 ) + 8002bc8: 7bdb ldrb r3, [r3, #15] + 8002bca: 429a cmp r2, r3 + 8002bcc: d017 beq.n 8002bfe { if(moto.moto2b>moto.moto2b_) - 800257e: 4b36 ldr r3, [pc, #216] ; (8002658 ) - 8002580: 7ada ldrb r2, [r3, #11] - 8002582: 4b35 ldr r3, [pc, #212] ; (8002658 ) - 8002584: 7bdb ldrb r3, [r3, #15] - 8002586: 429a cmp r2, r3 - 8002588: d905 bls.n 8002596 + 8002bce: 4b36 ldr r3, [pc, #216] ; (8002ca8 ) + 8002bd0: 7ada ldrb r2, [r3, #11] + 8002bd2: 4b35 ldr r3, [pc, #212] ; (8002ca8 ) + 8002bd4: 7bdb ldrb r3, [r3, #15] + 8002bd6: 429a cmp r2, r3 + 8002bd8: d905 bls.n 8002be6 { moto.moto2b_++; - 800258a: 4b33 ldr r3, [pc, #204] ; (8002658 ) - 800258c: 7bdb ldrb r3, [r3, #15] - 800258e: 3301 adds r3, #1 - 8002590: b2da uxtb r2, r3 - 8002592: 4b31 ldr r3, [pc, #196] ; (8002658 ) - 8002594: 73da strb r2, [r3, #15] + 8002bda: 4b33 ldr r3, [pc, #204] ; (8002ca8 ) + 8002bdc: 7bdb ldrb r3, [r3, #15] + 8002bde: 3301 adds r3, #1 + 8002be0: b2da uxtb r2, r3 + 8002be2: 4b31 ldr r3, [pc, #196] ; (8002ca8 ) + 8002be4: 73da strb r2, [r3, #15] } if(moto.moto2b) - 8002598: 7ada ldrb r2, [r3, #11] - 800259a: 4b2f ldr r3, [pc, #188] ; (8002658 ) - 800259c: 7bdb ldrb r3, [r3, #15] - 800259e: 429a cmp r2, r3 - 80025a0: d205 bcs.n 80025ae + 8002be6: 4b30 ldr r3, [pc, #192] ; (8002ca8 ) + 8002be8: 7ada ldrb r2, [r3, #11] + 8002bea: 4b2f ldr r3, [pc, #188] ; (8002ca8 ) + 8002bec: 7bdb ldrb r3, [r3, #15] + 8002bee: 429a cmp r2, r3 + 8002bf0: d205 bcs.n 8002bfe { moto.moto2b_--; - 80025a2: 4b2d ldr r3, [pc, #180] ; (8002658 ) - 80025a4: 7bdb ldrb r3, [r3, #15] - 80025a6: 3b01 subs r3, #1 - 80025a8: b2da uxtb r2, r3 - 80025aa: 4b2b ldr r3, [pc, #172] ; (8002658 ) - 80025ac: 73da strb r2, [r3, #15] + 8002bf2: 4b2d ldr r3, [pc, #180] ; (8002ca8 ) + 8002bf4: 7bdb ldrb r3, [r3, #15] + 8002bf6: 3b01 subs r3, #1 + 8002bf8: b2da uxtb r2, r3 + 8002bfa: 4b2b ldr r3, [pc, #172] ; (8002ca8 ) + 8002bfc: 73da strb r2, [r3, #15] moto.pwm_run++; - 80025ae: 4b2a ldr r3, [pc, #168] ; (8002658 ) - 80025b0: 685b ldr r3, [r3, #4] - 80025b2: 1c5a adds r2, r3, #1 - 80025b4: 4b28 ldr r3, [pc, #160] ; (8002658 ) - 80025b6: 605a str r2, [r3, #4] + 8002bfe: 4b2a ldr r3, [pc, #168] ; (8002ca8 ) + 8002c00: 685b ldr r3, [r3, #4] + 8002c02: 1c5a adds r2, r3, #1 + 8002c04: 4b28 ldr r3, [pc, #160] ; (8002ca8 ) + 8002c06: 605a str r2, [r3, #4] if(moto.pwm_run==10) - 80025b8: 4b27 ldr r3, [pc, #156] ; (8002658 ) - 80025ba: 685b ldr r3, [r3, #4] - 80025bc: 2b0a cmp r3, #10 - 80025be: d102 bne.n 80025c6 + 8002c08: 4b27 ldr r3, [pc, #156] ; (8002ca8 ) + 8002c0a: 685b ldr r3, [r3, #4] + 8002c0c: 2b0a cmp r3, #10 + 8002c0e: d102 bne.n 8002c16 { moto.pwm_run=0; - 80025c0: 4b25 ldr r3, [pc, #148] ; (8002658 ) - 80025c2: 2200 movs r2, #0 - 80025c4: 605a str r2, [r3, #4] + 8002c10: 4b25 ldr r3, [pc, #148] ; (8002ca8 ) + 8002c12: 2200 movs r2, #0 + 8002c14: 605a str r2, [r3, #4] } if(moto.pwm_run) - 80025c8: 685b ldr r3, [r3, #4] - 80025ca: 4a23 ldr r2, [pc, #140] ; (8002658 ) - 80025cc: 7b12 ldrb r2, [r2, #12] - 80025ce: 4293 cmp r3, r2 - 80025d0: da05 bge.n 80025de + 8002c16: 4b24 ldr r3, [pc, #144] ; (8002ca8 ) + 8002c18: 685b ldr r3, [r3, #4] + 8002c1a: 4a23 ldr r2, [pc, #140] ; (8002ca8 ) + 8002c1c: 7b12 ldrb r2, [r2, #12] + 8002c1e: 4293 cmp r3, r2 + 8002c20: da05 bge.n 8002c2e { dis_buff.moto1a=1; - 80025d2: 4b22 ldr r3, [pc, #136] ; (800265c ) - 80025d4: 7a1a ldrb r2, [r3, #8] - 80025d6: 2120 movs r1, #32 - 80025d8: 430a orrs r2, r1 - 80025da: 721a strb r2, [r3, #8] - 80025dc: e004 b.n 80025e8 + 8002c22: 4b22 ldr r3, [pc, #136] ; (8002cac ) + 8002c24: 7a1a ldrb r2, [r3, #8] + 8002c26: 2120 movs r1, #32 + 8002c28: 430a orrs r2, r1 + 8002c2a: 721a strb r2, [r3, #8] + 8002c2c: e004 b.n 8002c38 }else { dis_buff.moto1a=0; - 80025de: 4b1f ldr r3, [pc, #124] ; (800265c ) - 80025e0: 7a1a ldrb r2, [r3, #8] - 80025e2: 2120 movs r1, #32 - 80025e4: 438a bics r2, r1 - 80025e6: 721a strb r2, [r3, #8] + 8002c2e: 4b1f ldr r3, [pc, #124] ; (8002cac ) + 8002c30: 7a1a ldrb r2, [r3, #8] + 8002c32: 2120 movs r1, #32 + 8002c34: 438a bics r2, r1 + 8002c36: 721a strb r2, [r3, #8] } if(moto.pwm_run) - 80025ea: 685b ldr r3, [r3, #4] - 80025ec: 4a1a ldr r2, [pc, #104] ; (8002658 ) - 80025ee: 7b52 ldrb r2, [r2, #13] - 80025f0: 4293 cmp r3, r2 - 80025f2: da05 bge.n 8002600 + 8002c38: 4b1b ldr r3, [pc, #108] ; (8002ca8 ) + 8002c3a: 685b ldr r3, [r3, #4] + 8002c3c: 4a1a ldr r2, [pc, #104] ; (8002ca8 ) + 8002c3e: 7b52 ldrb r2, [r2, #13] + 8002c40: 4293 cmp r3, r2 + 8002c42: da05 bge.n 8002c50 { dis_buff.moto1b=1; - 80025f4: 4b19 ldr r3, [pc, #100] ; (800265c ) - 80025f6: 7a1a ldrb r2, [r3, #8] - 80025f8: 2140 movs r1, #64 ; 0x40 - 80025fa: 430a orrs r2, r1 - 80025fc: 721a strb r2, [r3, #8] - 80025fe: e004 b.n 800260a + 8002c44: 4b19 ldr r3, [pc, #100] ; (8002cac ) + 8002c46: 7a1a ldrb r2, [r3, #8] + 8002c48: 2140 movs r1, #64 ; 0x40 + 8002c4a: 430a orrs r2, r1 + 8002c4c: 721a strb r2, [r3, #8] + 8002c4e: e004 b.n 8002c5a }else { dis_buff.moto1b=0; - 8002600: 4b16 ldr r3, [pc, #88] ; (800265c ) - 8002602: 7a1a ldrb r2, [r3, #8] - 8002604: 2140 movs r1, #64 ; 0x40 - 8002606: 438a bics r2, r1 - 8002608: 721a strb r2, [r3, #8] + 8002c50: 4b16 ldr r3, [pc, #88] ; (8002cac ) + 8002c52: 7a1a ldrb r2, [r3, #8] + 8002c54: 2140 movs r1, #64 ; 0x40 + 8002c56: 438a bics r2, r1 + 8002c58: 721a strb r2, [r3, #8] } if(moto.pwm_run) - 800260c: 685b ldr r3, [r3, #4] - 800260e: 4a12 ldr r2, [pc, #72] ; (8002658 ) - 8002610: 7b92 ldrb r2, [r2, #14] - 8002612: 4293 cmp r3, r2 - 8002614: da06 bge.n 8002624 + 8002c5a: 4b13 ldr r3, [pc, #76] ; (8002ca8 ) + 8002c5c: 685b ldr r3, [r3, #4] + 8002c5e: 4a12 ldr r2, [pc, #72] ; (8002ca8 ) + 8002c60: 7b92 ldrb r2, [r2, #14] + 8002c62: 4293 cmp r3, r2 + 8002c64: da06 bge.n 8002c74 { dis_buff.moto2a=1; - 8002616: 4b11 ldr r3, [pc, #68] ; (800265c ) - 8002618: 7a1a ldrb r2, [r3, #8] - 800261a: 2180 movs r1, #128 ; 0x80 - 800261c: 4249 negs r1, r1 - 800261e: 430a orrs r2, r1 - 8002620: 721a strb r2, [r3, #8] - 8002622: e004 b.n 800262e + 8002c66: 4b11 ldr r3, [pc, #68] ; (8002cac ) + 8002c68: 7a1a ldrb r2, [r3, #8] + 8002c6a: 2180 movs r1, #128 ; 0x80 + 8002c6c: 4249 negs r1, r1 + 8002c6e: 430a orrs r2, r1 + 8002c70: 721a strb r2, [r3, #8] + 8002c72: e004 b.n 8002c7e }else { dis_buff.moto2a=0; - 8002624: 4b0d ldr r3, [pc, #52] ; (800265c ) - 8002626: 7a1a ldrb r2, [r3, #8] - 8002628: 217f movs r1, #127 ; 0x7f - 800262a: 400a ands r2, r1 - 800262c: 721a strb r2, [r3, #8] + 8002c74: 4b0d ldr r3, [pc, #52] ; (8002cac ) + 8002c76: 7a1a ldrb r2, [r3, #8] + 8002c78: 217f movs r1, #127 ; 0x7f + 8002c7a: 400a ands r2, r1 + 8002c7c: 721a strb r2, [r3, #8] } if(moto.pwm_run) - 8002630: 685b ldr r3, [r3, #4] - 8002632: 4a09 ldr r2, [pc, #36] ; (8002658 ) - 8002634: 7bd2 ldrb r2, [r2, #15] - 8002636: 4293 cmp r3, r2 - 8002638: da05 bge.n 8002646 + 8002c7e: 4b0a ldr r3, [pc, #40] ; (8002ca8 ) + 8002c80: 685b ldr r3, [r3, #4] + 8002c82: 4a09 ldr r2, [pc, #36] ; (8002ca8 ) + 8002c84: 7bd2 ldrb r2, [r2, #15] + 8002c86: 4293 cmp r3, r2 + 8002c88: da05 bge.n 8002c96 { dis_buff.moto2b=1; - 800263a: 4b08 ldr r3, [pc, #32] ; (800265c ) - 800263c: 7a5a ldrb r2, [r3, #9] - 800263e: 2101 movs r1, #1 - 8002640: 430a orrs r2, r1 - 8002642: 725a strb r2, [r3, #9] + 8002c8a: 4b08 ldr r3, [pc, #32] ; (8002cac ) + 8002c8c: 7a5a ldrb r2, [r3, #9] + 8002c8e: 2101 movs r1, #1 + 8002c90: 430a orrs r2, r1 + 8002c92: 725a strb r2, [r3, #9] }else { dis_buff.moto2b=0; } } - 8002644: e004 b.n 8002650 + 8002c94: e004 b.n 8002ca0 dis_buff.moto2b=0; - 8002646: 4b05 ldr r3, [pc, #20] ; (800265c ) - 8002648: 7a5a ldrb r2, [r3, #9] - 800264a: 2101 movs r1, #1 - 800264c: 438a bics r2, r1 - 800264e: 725a strb r2, [r3, #9] + 8002c96: 4b05 ldr r3, [pc, #20] ; (8002cac ) + 8002c98: 7a5a ldrb r2, [r3, #9] + 8002c9a: 2101 movs r1, #1 + 8002c9c: 438a bics r2, r1 + 8002c9e: 725a strb r2, [r3, #9] } - 8002650: 46c0 nop ; (mov r8, r8) - 8002652: 46bd mov sp, r7 - 8002654: bd80 pop {r7, pc} - 8002656: 46c0 nop ; (mov r8, r8) - 8002658: 200000dc .word 0x200000dc - 800265c: 20000028 .word 0x20000028 + 8002ca0: 46c0 nop ; (mov r8, r8) + 8002ca2: 46bd mov sp, r7 + 8002ca4: bd80 pop {r7, pc} + 8002ca6: 46c0 nop ; (mov r8, r8) + 8002ca8: 2000013c .word 0x2000013c + 8002cac: 20000038 .word 0x20000038 -08002660 : +08002cb0 : #define E 0x08 #define F 0x04 #define G 0x02 #define H 0x01 void HT1621_Display_GetButton(void) { - 8002660: b580 push {r7, lr} - 8002662: b084 sub sp, #16 - 8002664: af00 add r7, sp, #0 + 8002cb0: b580 push {r7, lr} + 8002cb2: b084 sub sp, #16 + 8002cb4: af00 add r7, sp, #0 unsigned char send_buff[8]={0,0,0,0,0,0,0,0,0}; - 8002666: 2308 movs r3, #8 - 8002668: 18fb adds r3, r7, r3 - 800266a: 4a4e ldr r2, [pc, #312] ; (80027a4 ) - 800266c: ca03 ldmia r2!, {r0, r1} - 800266e: c303 stmia r3!, {r0, r1} + 8002cb6: 2308 movs r3, #8 + 8002cb8: 18fb adds r3, r7, r3 + 8002cba: 4a4e ldr r2, [pc, #312] ; (8002df4 ) + 8002cbc: ca03 ldmia r2!, {r0, r1} + 8002cbe: c303 stmia r3!, {r0, r1} unsigned char lcd_buff[4]={0,0,0,0}; - 8002670: 1d3b adds r3, r7, #4 - 8002672: 2200 movs r2, #0 - 8002674: 601a str r2, [r3, #0] + 8002cc0: 1d3b adds r3, r7, #4 + 8002cc2: 2200 movs r2, #0 + 8002cc4: 601a str r2, [r3, #0] //WritenDataHT1621(0,send_buff,8); lcd_buff[0]=LED_Tab[dis_buff.d_num[0]]; - 8002676: 4b4c ldr r3, [pc, #304] ; (80027a8 ) - 8002678: 781b ldrb r3, [r3, #0] - 800267a: 001a movs r2, r3 - 800267c: 4b4b ldr r3, [pc, #300] ; (80027ac ) - 800267e: 5c9a ldrb r2, [r3, r2] - 8002680: 1d3b adds r3, r7, #4 - 8002682: 701a strb r2, [r3, #0] + 8002cc6: 4b4c ldr r3, [pc, #304] ; (8002df8 ) + 8002cc8: 781b ldrb r3, [r3, #0] + 8002cca: 001a movs r2, r3 + 8002ccc: 4b4b ldr r3, [pc, #300] ; (8002dfc ) + 8002cce: 5c9a ldrb r2, [r3, r2] + 8002cd0: 1d3b adds r3, r7, #4 + 8002cd2: 701a strb r2, [r3, #0] if(dis_buff.dot1==1) - 8002684: 4b48 ldr r3, [pc, #288] ; (80027a8 ) - 8002686: 7a1b ldrb r3, [r3, #8] - 8002688: 2201 movs r2, #1 - 800268a: 4013 ands r3, r2 - 800268c: b2db uxtb r3, r3 - 800268e: 2b00 cmp r3, #0 - 8002690: d007 beq.n 80026a2 + 8002cd4: 4b48 ldr r3, [pc, #288] ; (8002df8 ) + 8002cd6: 7a1b ldrb r3, [r3, #8] + 8002cd8: 2201 movs r2, #1 + 8002cda: 4013 ands r3, r2 + 8002cdc: b2db uxtb r3, r3 + 8002cde: 2b00 cmp r3, #0 + 8002ce0: d007 beq.n 8002cf2 { lcd_buff[0]|=0x80; - 8002692: 1d3b adds r3, r7, #4 - 8002694: 781b ldrb r3, [r3, #0] - 8002696: 2280 movs r2, #128 ; 0x80 - 8002698: 4252 negs r2, r2 - 800269a: 4313 orrs r3, r2 - 800269c: b2da uxtb r2, r3 - 800269e: 1d3b adds r3, r7, #4 - 80026a0: 701a strb r2, [r3, #0] + 8002ce2: 1d3b adds r3, r7, #4 + 8002ce4: 781b ldrb r3, [r3, #0] + 8002ce6: 2280 movs r2, #128 ; 0x80 + 8002ce8: 4252 negs r2, r2 + 8002cea: 4313 orrs r3, r2 + 8002cec: b2da uxtb r2, r3 + 8002cee: 1d3b adds r3, r7, #4 + 8002cf0: 701a strb r2, [r3, #0] } lcd_buff[1]=LED_Tab[dis_buff.d_num[1]]; - 80026a2: 4b41 ldr r3, [pc, #260] ; (80027a8 ) - 80026a4: 785b ldrb r3, [r3, #1] - 80026a6: 001a movs r2, r3 - 80026a8: 4b40 ldr r3, [pc, #256] ; (80027ac ) - 80026aa: 5c9a ldrb r2, [r3, r2] - 80026ac: 1d3b adds r3, r7, #4 - 80026ae: 705a strb r2, [r3, #1] + 8002cf2: 4b41 ldr r3, [pc, #260] ; (8002df8 ) + 8002cf4: 785b ldrb r3, [r3, #1] + 8002cf6: 001a movs r2, r3 + 8002cf8: 4b40 ldr r3, [pc, #256] ; (8002dfc ) + 8002cfa: 5c9a ldrb r2, [r3, r2] + 8002cfc: 1d3b adds r3, r7, #4 + 8002cfe: 705a strb r2, [r3, #1] if(dis_buff.dot2==1) - 80026b0: 4b3d ldr r3, [pc, #244] ; (80027a8 ) - 80026b2: 7a1b ldrb r3, [r3, #8] - 80026b4: 2202 movs r2, #2 - 80026b6: 4013 ands r3, r2 - 80026b8: b2db uxtb r3, r3 - 80026ba: 2b00 cmp r3, #0 - 80026bc: d007 beq.n 80026ce + 8002d00: 4b3d ldr r3, [pc, #244] ; (8002df8 ) + 8002d02: 7a1b ldrb r3, [r3, #8] + 8002d04: 2202 movs r2, #2 + 8002d06: 4013 ands r3, r2 + 8002d08: b2db uxtb r3, r3 + 8002d0a: 2b00 cmp r3, #0 + 8002d0c: d007 beq.n 8002d1e { lcd_buff[1]|=0x80; - 80026be: 1d3b adds r3, r7, #4 - 80026c0: 785b ldrb r3, [r3, #1] - 80026c2: 2280 movs r2, #128 ; 0x80 - 80026c4: 4252 negs r2, r2 - 80026c6: 4313 orrs r3, r2 - 80026c8: b2da uxtb r2, r3 - 80026ca: 1d3b adds r3, r7, #4 - 80026cc: 705a strb r2, [r3, #1] + 8002d0e: 1d3b adds r3, r7, #4 + 8002d10: 785b ldrb r3, [r3, #1] + 8002d12: 2280 movs r2, #128 ; 0x80 + 8002d14: 4252 negs r2, r2 + 8002d16: 4313 orrs r3, r2 + 8002d18: b2da uxtb r2, r3 + 8002d1a: 1d3b adds r3, r7, #4 + 8002d1c: 705a strb r2, [r3, #1] } lcd_buff[2]=LED_Tab[dis_buff.d_num[2]]; - 80026ce: 4b36 ldr r3, [pc, #216] ; (80027a8 ) - 80026d0: 789b ldrb r3, [r3, #2] - 80026d2: 001a movs r2, r3 - 80026d4: 4b35 ldr r3, [pc, #212] ; (80027ac ) - 80026d6: 5c9a ldrb r2, [r3, r2] - 80026d8: 1d3b adds r3, r7, #4 - 80026da: 709a strb r2, [r3, #2] + 8002d1e: 4b36 ldr r3, [pc, #216] ; (8002df8 ) + 8002d20: 789b ldrb r3, [r3, #2] + 8002d22: 001a movs r2, r3 + 8002d24: 4b35 ldr r3, [pc, #212] ; (8002dfc ) + 8002d26: 5c9a ldrb r2, [r3, r2] + 8002d28: 1d3b adds r3, r7, #4 + 8002d2a: 709a strb r2, [r3, #2] if(dis_buff.dot3==1) - 80026dc: 4b32 ldr r3, [pc, #200] ; (80027a8 ) - 80026de: 7a1b ldrb r3, [r3, #8] - 80026e0: 2204 movs r2, #4 - 80026e2: 4013 ands r3, r2 - 80026e4: b2db uxtb r3, r3 - 80026e6: 2b00 cmp r3, #0 - 80026e8: d007 beq.n 80026fa + 8002d2c: 4b32 ldr r3, [pc, #200] ; (8002df8 ) + 8002d2e: 7a1b ldrb r3, [r3, #8] + 8002d30: 2204 movs r2, #4 + 8002d32: 4013 ands r3, r2 + 8002d34: b2db uxtb r3, r3 + 8002d36: 2b00 cmp r3, #0 + 8002d38: d007 beq.n 8002d4a { lcd_buff[2]|=0x80; - 80026ea: 1d3b adds r3, r7, #4 - 80026ec: 789b ldrb r3, [r3, #2] - 80026ee: 2280 movs r2, #128 ; 0x80 - 80026f0: 4252 negs r2, r2 - 80026f2: 4313 orrs r3, r2 - 80026f4: b2da uxtb r2, r3 - 80026f6: 1d3b adds r3, r7, #4 - 80026f8: 709a strb r2, [r3, #2] + 8002d3a: 1d3b adds r3, r7, #4 + 8002d3c: 789b ldrb r3, [r3, #2] + 8002d3e: 2280 movs r2, #128 ; 0x80 + 8002d40: 4252 negs r2, r2 + 8002d42: 4313 orrs r3, r2 + 8002d44: b2da uxtb r2, r3 + 8002d46: 1d3b adds r3, r7, #4 + 8002d48: 709a strb r2, [r3, #2] } lcd_buff[3]=LED_Tab[dis_buff.d_num[3]]; - 80026fa: 4b2b ldr r3, [pc, #172] ; (80027a8 ) - 80026fc: 78db ldrb r3, [r3, #3] - 80026fe: 001a movs r2, r3 - 8002700: 4b2a ldr r3, [pc, #168] ; (80027ac ) - 8002702: 5c9a ldrb r2, [r3, r2] - 8002704: 1d3b adds r3, r7, #4 - 8002706: 70da strb r2, [r3, #3] + 8002d4a: 4b2b ldr r3, [pc, #172] ; (8002df8 ) + 8002d4c: 78db ldrb r3, [r3, #3] + 8002d4e: 001a movs r2, r3 + 8002d50: 4b2a ldr r3, [pc, #168] ; (8002dfc ) + 8002d52: 5c9a ldrb r2, [r3, r2] + 8002d54: 1d3b adds r3, r7, #4 + 8002d56: 70da strb r2, [r3, #3] if(dis_buff.dot4==1) - 8002708: 4b27 ldr r3, [pc, #156] ; (80027a8 ) - 800270a: 7a1b ldrb r3, [r3, #8] - 800270c: 2208 movs r2, #8 - 800270e: 4013 ands r3, r2 - 8002710: b2db uxtb r3, r3 - 8002712: 2b00 cmp r3, #0 - 8002714: d007 beq.n 8002726 + 8002d58: 4b27 ldr r3, [pc, #156] ; (8002df8 ) + 8002d5a: 7a1b ldrb r3, [r3, #8] + 8002d5c: 2208 movs r2, #8 + 8002d5e: 4013 ands r3, r2 + 8002d60: b2db uxtb r3, r3 + 8002d62: 2b00 cmp r3, #0 + 8002d64: d007 beq.n 8002d76 { lcd_buff[3]|=0x80; - 8002716: 1d3b adds r3, r7, #4 - 8002718: 78db ldrb r3, [r3, #3] - 800271a: 2280 movs r2, #128 ; 0x80 - 800271c: 4252 negs r2, r2 - 800271e: 4313 orrs r3, r2 - 8002720: b2da uxtb r2, r3 - 8002722: 1d3b adds r3, r7, #4 - 8002724: 70da strb r2, [r3, #3] + 8002d66: 1d3b adds r3, r7, #4 + 8002d68: 78db ldrb r3, [r3, #3] + 8002d6a: 2280 movs r2, #128 ; 0x80 + 8002d6c: 4252 negs r2, r2 + 8002d6e: 4313 orrs r3, r2 + 8002d70: b2da uxtb r2, r3 + 8002d72: 1d3b adds r3, r7, #4 + 8002d74: 70da strb r2, [r3, #3] } send_buff[0]=lcd_buff[0]>>4; - 8002726: 1d3b adds r3, r7, #4 - 8002728: 781b ldrb r3, [r3, #0] - 800272a: 091b lsrs r3, r3, #4 - 800272c: b2da uxtb r2, r3 - 800272e: 2108 movs r1, #8 - 8002730: 187b adds r3, r7, r1 - 8002732: 701a strb r2, [r3, #0] + 8002d76: 1d3b adds r3, r7, #4 + 8002d78: 781b ldrb r3, [r3, #0] + 8002d7a: 091b lsrs r3, r3, #4 + 8002d7c: b2da uxtb r2, r3 + 8002d7e: 2108 movs r1, #8 + 8002d80: 187b adds r3, r7, r1 + 8002d82: 701a strb r2, [r3, #0] send_buff[1]=lcd_buff[0]&0x0f; - 8002734: 1d3b adds r3, r7, #4 - 8002736: 781b ldrb r3, [r3, #0] - 8002738: 220f movs r2, #15 - 800273a: 4013 ands r3, r2 - 800273c: b2da uxtb r2, r3 - 800273e: 187b adds r3, r7, r1 - 8002740: 705a strb r2, [r3, #1] + 8002d84: 1d3b adds r3, r7, #4 + 8002d86: 781b ldrb r3, [r3, #0] + 8002d88: 220f movs r2, #15 + 8002d8a: 4013 ands r3, r2 + 8002d8c: b2da uxtb r2, r3 + 8002d8e: 187b adds r3, r7, r1 + 8002d90: 705a strb r2, [r3, #1] send_buff[2]=lcd_buff[1]>>4; - 8002742: 1d3b adds r3, r7, #4 - 8002744: 785b ldrb r3, [r3, #1] - 8002746: 091b lsrs r3, r3, #4 - 8002748: b2da uxtb r2, r3 - 800274a: 187b adds r3, r7, r1 - 800274c: 709a strb r2, [r3, #2] + 8002d92: 1d3b adds r3, r7, #4 + 8002d94: 785b ldrb r3, [r3, #1] + 8002d96: 091b lsrs r3, r3, #4 + 8002d98: b2da uxtb r2, r3 + 8002d9a: 187b adds r3, r7, r1 + 8002d9c: 709a strb r2, [r3, #2] send_buff[3]=lcd_buff[1]&0x0f; - 800274e: 1d3b adds r3, r7, #4 - 8002750: 785b ldrb r3, [r3, #1] - 8002752: 220f movs r2, #15 - 8002754: 4013 ands r3, r2 - 8002756: b2da uxtb r2, r3 - 8002758: 187b adds r3, r7, r1 - 800275a: 70da strb r2, [r3, #3] + 8002d9e: 1d3b adds r3, r7, #4 + 8002da0: 785b ldrb r3, [r3, #1] + 8002da2: 220f movs r2, #15 + 8002da4: 4013 ands r3, r2 + 8002da6: b2da uxtb r2, r3 + 8002da8: 187b adds r3, r7, r1 + 8002daa: 70da strb r2, [r3, #3] send_buff[4]=lcd_buff[2]>>4; - 800275c: 1d3b adds r3, r7, #4 - 800275e: 789b ldrb r3, [r3, #2] - 8002760: 091b lsrs r3, r3, #4 - 8002762: b2da uxtb r2, r3 - 8002764: 187b adds r3, r7, r1 - 8002766: 711a strb r2, [r3, #4] + 8002dac: 1d3b adds r3, r7, #4 + 8002dae: 789b ldrb r3, [r3, #2] + 8002db0: 091b lsrs r3, r3, #4 + 8002db2: b2da uxtb r2, r3 + 8002db4: 187b adds r3, r7, r1 + 8002db6: 711a strb r2, [r3, #4] send_buff[5]=lcd_buff[2]&0x0f; - 8002768: 1d3b adds r3, r7, #4 - 800276a: 789b ldrb r3, [r3, #2] - 800276c: 220f movs r2, #15 - 800276e: 4013 ands r3, r2 - 8002770: b2da uxtb r2, r3 - 8002772: 187b adds r3, r7, r1 - 8002774: 715a strb r2, [r3, #5] + 8002db8: 1d3b adds r3, r7, #4 + 8002dba: 789b ldrb r3, [r3, #2] + 8002dbc: 220f movs r2, #15 + 8002dbe: 4013 ands r3, r2 + 8002dc0: b2da uxtb r2, r3 + 8002dc2: 187b adds r3, r7, r1 + 8002dc4: 715a strb r2, [r3, #5] send_buff[6]=lcd_buff[3]>>4; - 8002776: 1d3b adds r3, r7, #4 - 8002778: 78db ldrb r3, [r3, #3] - 800277a: 091b lsrs r3, r3, #4 - 800277c: b2da uxtb r2, r3 - 800277e: 187b adds r3, r7, r1 - 8002780: 719a strb r2, [r3, #6] + 8002dc6: 1d3b adds r3, r7, #4 + 8002dc8: 78db ldrb r3, [r3, #3] + 8002dca: 091b lsrs r3, r3, #4 + 8002dcc: b2da uxtb r2, r3 + 8002dce: 187b adds r3, r7, r1 + 8002dd0: 719a strb r2, [r3, #6] send_buff[7]=lcd_buff[3]&0x0f; - 8002782: 1d3b adds r3, r7, #4 - 8002784: 78db ldrb r3, [r3, #3] - 8002786: 220f movs r2, #15 - 8002788: 4013 ands r3, r2 - 800278a: b2da uxtb r2, r3 - 800278c: 187b adds r3, r7, r1 - 800278e: 71da strb r2, [r3, #7] + 8002dd2: 1d3b adds r3, r7, #4 + 8002dd4: 78db ldrb r3, [r3, #3] + 8002dd6: 220f movs r2, #15 + 8002dd8: 4013 ands r3, r2 + 8002dda: b2da uxtb r2, r3 + 8002ddc: 187b adds r3, r7, r1 + 8002dde: 71da strb r2, [r3, #7] WritenDataHT1621(0,send_buff,8); - 8002790: 187b adds r3, r7, r1 - 8002792: 2208 movs r2, #8 - 8002794: 0019 movs r1, r3 - 8002796: 2000 movs r0, #0 - 8002798: f7ff fc9e bl 80020d8 + 8002de0: 187b adds r3, r7, r1 + 8002de2: 2208 movs r2, #8 + 8002de4: 0019 movs r1, r3 + 8002de6: 2000 movs r0, #0 + 8002de8: f7ff fc9e bl 8002728 } - 800279c: 46c0 nop ; (mov r8, r8) - 800279e: 46bd mov sp, r7 - 80027a0: b004 add sp, #16 - 80027a2: bd80 pop {r7, pc} - 80027a4: 08003150 .word 0x08003150 - 80027a8: 20000028 .word 0x20000028 - 80027ac: 08003168 .word 0x08003168 + 8002dec: 46c0 nop ; (mov r8, r8) + 8002dee: 46bd mov sp, r7 + 8002df0: b004 add sp, #16 + 8002df2: bd80 pop {r7, pc} + 8002df4: 08003a54 .word 0x08003a54 + 8002df8: 20000038 .word 0x20000038 + 8002dfc: 08003a6c .word 0x08003a6c -080027b0 : +08002e00 : void my_code() { - 80027b0: b580 push {r7, lr} - 80027b2: b086 sub sp, #24 - 80027b4: af00 add r7, sp, #0 + 8002e00: b580 push {r7, lr} + 8002e02: b086 sub sp, #24 + 8002e04: af00 add r7, sp, #0 uint32_t runtime=0,move=0; - 80027b6: 2300 movs r3, #0 - 80027b8: 617b str r3, [r7, #20] - 80027ba: 2300 movs r3, #0 - 80027bc: 613b str r3, [r7, #16] + 8002e06: 2300 movs r3, #0 + 8002e08: 617b str r3, [r7, #20] + 8002e0a: 2300 movs r3, #0 + 8002e0c: 613b str r3, [r7, #16] uint8_t mode=0,overload_mode=0; - 80027be: 230f movs r3, #15 - 80027c0: 18fb adds r3, r7, r3 - 80027c2: 2200 movs r2, #0 - 80027c4: 701a strb r2, [r3, #0] - 80027c6: 230e movs r3, #14 - 80027c8: 18fb adds r3, r7, r3 - 80027ca: 2200 movs r2, #0 - 80027cc: 701a strb r2, [r3, #0] + 8002e0e: 230f movs r3, #15 + 8002e10: 18fb adds r3, r7, r3 + 8002e12: 2200 movs r2, #0 + 8002e14: 701a strb r2, [r3, #0] + 8002e16: 230e movs r3, #14 + 8002e18: 18fb adds r3, r7, r3 + 8002e1a: 2200 movs r2, #0 + 8002e1c: 701a strb r2, [r3, #0] uint16_t overload_times=0; - 80027ce: 230c movs r3, #12 - 80027d0: 18fb adds r3, r7, r3 - 80027d2: 2200 movs r2, #0 - 80027d4: 801a strh r2, [r3, #0] + 8002e1e: 230c movs r3, #12 + 8002e20: 18fb adds r3, r7, r3 + 8002e22: 2200 movs r2, #0 + 8002e24: 801a strh r2, [r3, #0] long countdown=1000; - 80027d6: 23fa movs r3, #250 ; 0xfa - 80027d8: 009b lsls r3, r3, #2 - 80027da: 60bb str r3, [r7, #8] + 8002e26: 23fa movs r3, #250 ; 0xfa + 8002e28: 009b lsls r3, r3, #2 + 8002e2a: 60bb str r3, [r7, #8] long countdown_set=15000; - 80027dc: 4be1 ldr r3, [pc, #900] ; (8002b64 ) - 80027de: 607b str r3, [r7, #4] + 8002e2c: 4be3 ldr r3, [pc, #908] ; (80031bc ) + 8002e2e: 607b str r3, [r7, #4] dis_buff.moto1a=0; - 80027e0: 4be1 ldr r3, [pc, #900] ; (8002b68 ) - 80027e2: 7a1a ldrb r2, [r3, #8] - 80027e4: 2120 movs r1, #32 - 80027e6: 438a bics r2, r1 - 80027e8: 721a strb r2, [r3, #8] + 8002e30: 4be3 ldr r3, [pc, #908] ; (80031c0 ) + 8002e32: 7a1a ldrb r2, [r3, #8] + 8002e34: 2120 movs r1, #32 + 8002e36: 438a bics r2, r1 + 8002e38: 721a strb r2, [r3, #8] dis_buff.moto1b=0; - 80027ea: 4bdf ldr r3, [pc, #892] ; (8002b68 ) - 80027ec: 7a1a ldrb r2, [r3, #8] - 80027ee: 2140 movs r1, #64 ; 0x40 - 80027f0: 438a bics r2, r1 - 80027f2: 721a strb r2, [r3, #8] + 8002e3a: 4be1 ldr r3, [pc, #900] ; (80031c0 ) + 8002e3c: 7a1a ldrb r2, [r3, #8] + 8002e3e: 2140 movs r1, #64 ; 0x40 + 8002e40: 438a bics r2, r1 + 8002e42: 721a strb r2, [r3, #8] dis_buff.moto2a=0; - 80027f4: 4bdc ldr r3, [pc, #880] ; (8002b68 ) - 80027f6: 7a1a ldrb r2, [r3, #8] - 80027f8: 217f movs r1, #127 ; 0x7f - 80027fa: 400a ands r2, r1 - 80027fc: 721a strb r2, [r3, #8] + 8002e44: 4bde ldr r3, [pc, #888] ; (80031c0 ) + 8002e46: 7a1a ldrb r2, [r3, #8] + 8002e48: 217f movs r1, #127 ; 0x7f + 8002e4a: 400a ands r2, r1 + 8002e4c: 721a strb r2, [r3, #8] dis_buff.moto2b=0; - 80027fe: 4bda ldr r3, [pc, #872] ; (8002b68 ) - 8002800: 7a5a ldrb r2, [r3, #9] - 8002802: 2101 movs r1, #1 - 8002804: 438a bics r2, r1 - 8002806: 725a strb r2, [r3, #9] + 8002e4e: 4bdc ldr r3, [pc, #880] ; (80031c0 ) + 8002e50: 7a5a ldrb r2, [r3, #9] + 8002e52: 2101 movs r1, #1 + 8002e54: 438a bics r2, r1 + 8002e56: 725a strb r2, [r3, #9] moto.moto_run=0; - 8002808: 4bd8 ldr r3, [pc, #864] ; (8002b6c ) - 800280a: 2200 movs r2, #0 - 800280c: 601a str r2, [r3, #0] + 8002e58: 4bda ldr r3, [pc, #872] ; (80031c4 ) + 8002e5a: 2200 movs r2, #0 + 8002e5c: 601a str r2, [r3, #0] moto.pwm_run=0; - 800280e: 4bd7 ldr r3, [pc, #860] ; (8002b6c ) - 8002810: 2200 movs r2, #0 - 8002812: 605a str r2, [r3, #4] + 8002e5e: 4bd9 ldr r3, [pc, #868] ; (80031c4 ) + 8002e60: 2200 movs r2, #0 + 8002e62: 605a str r2, [r3, #4] moto.moto1a=0; - 8002814: 4bd5 ldr r3, [pc, #852] ; (8002b6c ) - 8002816: 2200 movs r2, #0 - 8002818: 721a strb r2, [r3, #8] + 8002e64: 4bd7 ldr r3, [pc, #860] ; (80031c4 ) + 8002e66: 2200 movs r2, #0 + 8002e68: 721a strb r2, [r3, #8] moto.moto1b=0; - 800281a: 4bd4 ldr r3, [pc, #848] ; (8002b6c ) - 800281c: 2200 movs r2, #0 - 800281e: 725a strb r2, [r3, #9] + 8002e6a: 4bd6 ldr r3, [pc, #856] ; (80031c4 ) + 8002e6c: 2200 movs r2, #0 + 8002e6e: 725a strb r2, [r3, #9] moto.moto2a=0; - 8002820: 4bd2 ldr r3, [pc, #840] ; (8002b6c ) - 8002822: 2200 movs r2, #0 - 8002824: 729a strb r2, [r3, #10] + 8002e70: 4bd4 ldr r3, [pc, #848] ; (80031c4 ) + 8002e72: 2200 movs r2, #0 + 8002e74: 729a strb r2, [r3, #10] moto.moto2b=0; - 8002826: 4bd1 ldr r3, [pc, #836] ; (8002b6c ) - 8002828: 2200 movs r2, #0 - 800282a: 72da strb r2, [r3, #11] + 8002e76: 4bd3 ldr r3, [pc, #844] ; (80031c4 ) + 8002e78: 2200 movs r2, #0 + 8002e7a: 72da strb r2, [r3, #11] moto.moto1a_=0; - 800282c: 4bcf ldr r3, [pc, #828] ; (8002b6c ) - 800282e: 2200 movs r2, #0 - 8002830: 731a strb r2, [r3, #12] + 8002e7c: 4bd1 ldr r3, [pc, #836] ; (80031c4 ) + 8002e7e: 2200 movs r2, #0 + 8002e80: 731a strb r2, [r3, #12] moto.moto1b_=0; - 8002832: 4bce ldr r3, [pc, #824] ; (8002b6c ) - 8002834: 2200 movs r2, #0 - 8002836: 735a strb r2, [r3, #13] + 8002e82: 4bd0 ldr r3, [pc, #832] ; (80031c4 ) + 8002e84: 2200 movs r2, #0 + 8002e86: 735a strb r2, [r3, #13] moto.moto2a_=0; - 8002838: 4bcc ldr r3, [pc, #816] ; (8002b6c ) - 800283a: 2200 movs r2, #0 - 800283c: 739a strb r2, [r3, #14] + 8002e88: 4bce ldr r3, [pc, #824] ; (80031c4 ) + 8002e8a: 2200 movs r2, #0 + 8002e8c: 739a strb r2, [r3, #14] moto.moto2b_=0; - 800283e: 4bcb ldr r3, [pc, #812] ; (8002b6c ) - 8002840: 2200 movs r2, #0 - 8002842: 73da strb r2, [r3, #15] + 8002e8e: 4bcd ldr r3, [pc, #820] ; (80031c4 ) + 8002e90: 2200 movs r2, #0 + 8002e92: 73da strb r2, [r3, #15] HT1621_Init(); - 8002844: f7ff fd09 bl 800225a + 8002e94: f7ff fd09 bl 80028aa + r480_init(); + 8002e98: f000 fcc2 bl 8003820 + while(1) { //get ADC for(char a=0;a<2;a++) - 8002848: 1cfb adds r3, r7, #3 - 800284a: 2200 movs r2, #0 - 800284c: 701a strb r2, [r3, #0] - 800284e: e025 b.n 800289c + 8002e9c: 1cfb adds r3, r7, #3 + 8002e9e: 2200 movs r2, #0 + 8002ea0: 701a strb r2, [r3, #0] + 8002ea2: e025 b.n 8002ef0 { HAL_ADC_Start(&hadc); - 8002850: 4bc7 ldr r3, [pc, #796] ; (8002b70 ) - 8002852: 0018 movs r0, r3 - 8002854: f7fe f95a bl 8000b0c + 8002ea4: 4bc8 ldr r3, [pc, #800] ; (80031c8 ) + 8002ea6: 0018 movs r0, r3 + 8002ea8: f7fd feae bl 8000c08 while(HAL_ADC_PollForConversion(&hadc,0xffff)!=HAL_OK); - 8002858: 46c0 nop ; (mov r8, r8) - 800285a: 4ac6 ldr r2, [pc, #792] ; (8002b74 ) - 800285c: 4bc4 ldr r3, [pc, #784] ; (8002b70 ) - 800285e: 0011 movs r1, r2 - 8002860: 0018 movs r0, r3 - 8002862: f7fe f9e7 bl 8000c34 - 8002866: 1e03 subs r3, r0, #0 - 8002868: d1f7 bne.n 800285a + 8002eac: 46c0 nop ; (mov r8, r8) + 8002eae: 4ac7 ldr r2, [pc, #796] ; (80031cc ) + 8002eb0: 4bc5 ldr r3, [pc, #788] ; (80031c8 ) + 8002eb2: 0011 movs r1, r2 + 8002eb4: 0018 movs r0, r3 + 8002eb6: f7fd ff3b bl 8000d30 + 8002eba: 1e03 subs r3, r0, #0 + 8002ebc: d1f7 bne.n 8002eae ADCC.adc_filtering[a]+=HAL_ADC_GetValue(&hadc); - 800286a: 4bc1 ldr r3, [pc, #772] ; (8002b70 ) - 800286c: 0018 movs r0, r3 - 800286e: f7fe fa79 bl 8000d64 - 8002872: 0001 movs r1, r0 - 8002874: 1cfb adds r3, r7, #3 - 8002876: 781b ldrb r3, [r3, #0] - 8002878: 4abf ldr r2, [pc, #764] ; (8002b78 ) - 800287a: 009b lsls r3, r3, #2 - 800287c: 18d3 adds r3, r2, r3 - 800287e: 3304 adds r3, #4 - 8002880: 681a ldr r2, [r3, #0] - 8002882: 1cfb adds r3, r7, #3 - 8002884: 781b ldrb r3, [r3, #0] - 8002886: 188a adds r2, r1, r2 - 8002888: 49bb ldr r1, [pc, #748] ; (8002b78 ) - 800288a: 009b lsls r3, r3, #2 - 800288c: 18cb adds r3, r1, r3 - 800288e: 3304 adds r3, #4 - 8002890: 601a str r2, [r3, #0] + 8002ebe: 4bc2 ldr r3, [pc, #776] ; (80031c8 ) + 8002ec0: 0018 movs r0, r3 + 8002ec2: f7fd ffcd bl 8000e60 + 8002ec6: 0001 movs r1, r0 + 8002ec8: 1cfb adds r3, r7, #3 + 8002eca: 781b ldrb r3, [r3, #0] + 8002ecc: 4ac0 ldr r2, [pc, #768] ; (80031d0 ) + 8002ece: 009b lsls r3, r3, #2 + 8002ed0: 18d3 adds r3, r2, r3 + 8002ed2: 3304 adds r3, #4 + 8002ed4: 681a ldr r2, [r3, #0] + 8002ed6: 1cfb adds r3, r7, #3 + 8002ed8: 781b ldrb r3, [r3, #0] + 8002eda: 188a adds r2, r1, r2 + 8002edc: 49bc ldr r1, [pc, #752] ; (80031d0 ) + 8002ede: 009b lsls r3, r3, #2 + 8002ee0: 18cb adds r3, r1, r3 + 8002ee2: 3304 adds r3, #4 + 8002ee4: 601a str r2, [r3, #0] for(char a=0;a<2;a++) - 8002892: 1cfb adds r3, r7, #3 - 8002894: 781a ldrb r2, [r3, #0] - 8002896: 1cfb adds r3, r7, #3 - 8002898: 3201 adds r2, #1 - 800289a: 701a strb r2, [r3, #0] - 800289c: 1cfb adds r3, r7, #3 - 800289e: 781b ldrb r3, [r3, #0] - 80028a0: 2b01 cmp r3, #1 - 80028a2: d9d5 bls.n 8002850 + 8002ee6: 1cfb adds r3, r7, #3 + 8002ee8: 781a ldrb r2, [r3, #0] + 8002eea: 1cfb adds r3, r7, #3 + 8002eec: 3201 adds r2, #1 + 8002eee: 701a strb r2, [r3, #0] + 8002ef0: 1cfb adds r3, r7, #3 + 8002ef2: 781b ldrb r3, [r3, #0] + 8002ef4: 2b01 cmp r3, #1 + 8002ef6: d9d5 bls.n 8002ea4 } HAL_ADC_Stop(&hadc); - 80028a4: 4bb2 ldr r3, [pc, #712] ; (8002b70 ) - 80028a6: 0018 movs r0, r3 - 80028a8: f7fe f984 bl 8000bb4 + 8002ef8: 4bb3 ldr r3, [pc, #716] ; (80031c8 ) + 8002efa: 0018 movs r0, r3 + 8002efc: f7fd fed8 bl 8000cb0 ADCC.filtering_times+=1; - 80028ac: 4bb2 ldr r3, [pc, #712] ; (8002b78 ) - 80028ae: 681b ldr r3, [r3, #0] - 80028b0: 1c5a adds r2, r3, #1 - 80028b2: 4bb1 ldr r3, [pc, #708] ; (8002b78 ) - 80028b4: 601a str r2, [r3, #0] + 8002f00: 4bb3 ldr r3, [pc, #716] ; (80031d0 ) + 8002f02: 681b ldr r3, [r3, #0] + 8002f04: 1c5a adds r2, r3, #1 + 8002f06: 4bb2 ldr r3, [pc, #712] ; (80031d0 ) + 8002f08: 601a str r2, [r3, #0] if(ADCC.filtering_times==set_filtering_times) - 80028b6: 4bb0 ldr r3, [pc, #704] ; (8002b78 ) - 80028b8: 681b ldr r3, [r3, #0] - 80028ba: 2b32 cmp r3, #50 ; 0x32 - 80028bc: d11c bne.n 80028f8 + 8002f0a: 4bb1 ldr r3, [pc, #708] ; (80031d0 ) + 8002f0c: 681b ldr r3, [r3, #0] + 8002f0e: 2b32 cmp r3, #50 ; 0x32 + 8002f10: d11c bne.n 8002f4c { ADCC.filtering_times=0; - 80028be: 4bae ldr r3, [pc, #696] ; (8002b78 ) - 80028c0: 2200 movs r2, #0 - 80028c2: 601a str r2, [r3, #0] + 8002f12: 4baf ldr r3, [pc, #700] ; (80031d0 ) + 8002f14: 2200 movs r2, #0 + 8002f16: 601a str r2, [r3, #0] ADCC.adc_value[0]=ADCC.adc_filtering[0]/set_filtering_times; - 80028c4: 4bac ldr r3, [pc, #688] ; (8002b78 ) - 80028c6: 685b ldr r3, [r3, #4] - 80028c8: 2132 movs r1, #50 ; 0x32 - 80028ca: 0018 movs r0, r3 - 80028cc: f7fd fc1c bl 8000108 <__udivsi3> - 80028d0: 0003 movs r3, r0 - 80028d2: 001a movs r2, r3 - 80028d4: 4ba8 ldr r3, [pc, #672] ; (8002b78 ) - 80028d6: 60da str r2, [r3, #12] + 8002f18: 4bad ldr r3, [pc, #692] ; (80031d0 ) + 8002f1a: 685b ldr r3, [r3, #4] + 8002f1c: 2132 movs r1, #50 ; 0x32 + 8002f1e: 0018 movs r0, r3 + 8002f20: f7fd f8f2 bl 8000108 <__udivsi3> + 8002f24: 0003 movs r3, r0 + 8002f26: 001a movs r2, r3 + 8002f28: 4ba9 ldr r3, [pc, #676] ; (80031d0 ) + 8002f2a: 60da str r2, [r3, #12] ADCC.adc_filtering[0]=0; - 80028d8: 4ba7 ldr r3, [pc, #668] ; (8002b78 ) - 80028da: 2200 movs r2, #0 - 80028dc: 605a str r2, [r3, #4] + 8002f2c: 4ba8 ldr r3, [pc, #672] ; (80031d0 ) + 8002f2e: 2200 movs r2, #0 + 8002f30: 605a str r2, [r3, #4] ADCC.adc_value[1]=ADCC.adc_filtering[1]/set_filtering_times; - 80028de: 4ba6 ldr r3, [pc, #664] ; (8002b78 ) - 80028e0: 689b ldr r3, [r3, #8] - 80028e2: 2132 movs r1, #50 ; 0x32 - 80028e4: 0018 movs r0, r3 - 80028e6: f7fd fc0f bl 8000108 <__udivsi3> - 80028ea: 0003 movs r3, r0 - 80028ec: 001a movs r2, r3 - 80028ee: 4ba2 ldr r3, [pc, #648] ; (8002b78 ) - 80028f0: 611a str r2, [r3, #16] + 8002f32: 4ba7 ldr r3, [pc, #668] ; (80031d0 ) + 8002f34: 689b ldr r3, [r3, #8] + 8002f36: 2132 movs r1, #50 ; 0x32 + 8002f38: 0018 movs r0, r3 + 8002f3a: f7fd f8e5 bl 8000108 <__udivsi3> + 8002f3e: 0003 movs r3, r0 + 8002f40: 001a movs r2, r3 + 8002f42: 4ba3 ldr r3, [pc, #652] ; (80031d0 ) + 8002f44: 611a str r2, [r3, #16] ADCC.adc_filtering[1]=0; - 80028f2: 4ba1 ldr r3, [pc, #644] ; (8002b78 ) - 80028f4: 2200 movs r2, #0 - 80028f6: 609a str r2, [r3, #8] + 8002f46: 4ba2 ldr r3, [pc, #648] ; (80031d0 ) + 8002f48: 2200 movs r2, #0 + 8002f4a: 609a str r2, [r3, #8] } switch(mode) - 80028f8: 230f movs r3, #15 - 80028fa: 18fb adds r3, r7, r3 - 80028fc: 781b ldrb r3, [r3, #0] - 80028fe: 2b05 cmp r3, #5 - 8002900: d900 bls.n 8002904 - 8002902: e390 b.n 8003026 - 8002904: 009a lsls r2, r3, #2 - 8002906: 4b9d ldr r3, [pc, #628] ; (8002b7c ) - 8002908: 18d3 adds r3, r2, r3 - 800290a: 681b ldr r3, [r3, #0] - 800290c: 469f mov pc, r3 + 8002f4c: 230f movs r3, #15 + 8002f4e: 18fb adds r3, r7, r3 + 8002f50: 781b ldrb r3, [r3, #0] + 8002f52: 2b06 cmp r3, #6 + 8002f54: d901 bls.n 8002f5a + 8002f56: f000 fbe8 bl 800372a + 8002f5a: 009a lsls r2, r3, #2 + 8002f5c: 4b9d ldr r3, [pc, #628] ; (80031d4 ) + 8002f5e: 18d3 adds r3, r2, r3 + 8002f60: 681b ldr r3, [r3, #0] + 8002f62: 469f mov pc, r3 { case 0: //Startup if(HAL_GetTick()>move) - 800290e: f7fd ffb3 bl 8000878 - 8002912: 0002 movs r2, r0 - 8002914: 693b ldr r3, [r7, #16] - 8002916: 4293 cmp r3, r2 - 8002918: d300 bcc.n 800291c - 800291a: e37b b.n 8003014 + 8002f64: f7fd fd06 bl 8000974 + 8002f68: 0002 movs r2, r0 + 8002f6a: 693b ldr r3, [r7, #16] + 8002f6c: 4293 cmp r3, r2 + 8002f6e: d301 bcc.n 8002f74 + 8002f70: f000 fbd2 bl 8003718 { move=HAL_GetTick()+100; - 800291c: f7fd ffac bl 8000878 - 8002920: 0003 movs r3, r0 - 8002922: 3364 adds r3, #100 ; 0x64 - 8002924: 613b str r3, [r7, #16] + 8002f74: f7fd fcfe bl 8000974 + 8002f78: 0003 movs r3, r0 + 8002f7a: 3364 adds r3, #100 ; 0x64 + 8002f7c: 613b str r3, [r7, #16] countdown-=100; - 8002926: 68bb ldr r3, [r7, #8] - 8002928: 3b64 subs r3, #100 ; 0x64 - 800292a: 60bb str r3, [r7, #8] + 8002f7e: 68bb ldr r3, [r7, #8] + 8002f80: 3b64 subs r3, #100 ; 0x64 + 8002f82: 60bb str r3, [r7, #8] if(countdown<0) - 800292c: 68bb ldr r3, [r7, #8] - 800292e: 2b00 cmp r3, #0 - 8002930: da03 bge.n 800293a + 8002f84: 68bb ldr r3, [r7, #8] + 8002f86: 2b00 cmp r3, #0 + 8002f88: da03 bge.n 8002f92 { mode=1; - 8002932: 230f movs r3, #15 - 8002934: 18fb adds r3, r7, r3 - 8002936: 2201 movs r2, #1 - 8002938: 701a strb r2, [r3, #0] + 8002f8a: 230f movs r3, #15 + 8002f8c: 18fb adds r3, r7, r3 + 8002f8e: 2201 movs r2, #1 + 8002f90: 701a strb r2, [r3, #0] } dis_buff.d_num[0]=((countdown/100)%10); - 800293a: 68bb ldr r3, [r7, #8] - 800293c: 2164 movs r1, #100 ; 0x64 - 800293e: 0018 movs r0, r3 - 8002940: f7fd fc6c bl 800021c <__divsi3> - 8002944: 0003 movs r3, r0 - 8002946: 210a movs r1, #10 - 8002948: 0018 movs r0, r3 - 800294a: f7fd fd4d bl 80003e8 <__aeabi_idivmod> - 800294e: 000b movs r3, r1 - 8002950: b2da uxtb r2, r3 - 8002952: 4b85 ldr r3, [pc, #532] ; (8002b68 ) - 8002954: 701a strb r2, [r3, #0] + 8002f92: 68bb ldr r3, [r7, #8] + 8002f94: 2164 movs r1, #100 ; 0x64 + 8002f96: 0018 movs r0, r3 + 8002f98: f7fd f940 bl 800021c <__divsi3> + 8002f9c: 0003 movs r3, r0 + 8002f9e: 210a movs r1, #10 + 8002fa0: 0018 movs r0, r3 + 8002fa2: f7fd fa21 bl 80003e8 <__aeabi_idivmod> + 8002fa6: 000b movs r3, r1 + 8002fa8: b2da uxtb r2, r3 + 8002faa: 4b85 ldr r3, [pc, #532] ; (80031c0 ) + 8002fac: 701a strb r2, [r3, #0] dis_buff.d_num[1]=((countdown/100)%10); - 8002956: 68bb ldr r3, [r7, #8] - 8002958: 2164 movs r1, #100 ; 0x64 - 800295a: 0018 movs r0, r3 - 800295c: f7fd fc5e bl 800021c <__divsi3> - 8002960: 0003 movs r3, r0 - 8002962: 210a movs r1, #10 - 8002964: 0018 movs r0, r3 - 8002966: f7fd fd3f bl 80003e8 <__aeabi_idivmod> - 800296a: 000b movs r3, r1 - 800296c: b2da uxtb r2, r3 - 800296e: 4b7e ldr r3, [pc, #504] ; (8002b68 ) - 8002970: 705a strb r2, [r3, #1] + 8002fae: 68bb ldr r3, [r7, #8] + 8002fb0: 2164 movs r1, #100 ; 0x64 + 8002fb2: 0018 movs r0, r3 + 8002fb4: f7fd f932 bl 800021c <__divsi3> + 8002fb8: 0003 movs r3, r0 + 8002fba: 210a movs r1, #10 + 8002fbc: 0018 movs r0, r3 + 8002fbe: f7fd fa13 bl 80003e8 <__aeabi_idivmod> + 8002fc2: 000b movs r3, r1 + 8002fc4: b2da uxtb r2, r3 + 8002fc6: 4b7e ldr r3, [pc, #504] ; (80031c0 ) + 8002fc8: 705a strb r2, [r3, #1] dis_buff.d_num[2]=((countdown/100)%10); - 8002972: 68bb ldr r3, [r7, #8] - 8002974: 2164 movs r1, #100 ; 0x64 - 8002976: 0018 movs r0, r3 - 8002978: f7fd fc50 bl 800021c <__divsi3> - 800297c: 0003 movs r3, r0 - 800297e: 210a movs r1, #10 - 8002980: 0018 movs r0, r3 - 8002982: f7fd fd31 bl 80003e8 <__aeabi_idivmod> - 8002986: 000b movs r3, r1 - 8002988: b2da uxtb r2, r3 - 800298a: 4b77 ldr r3, [pc, #476] ; (8002b68 ) - 800298c: 709a strb r2, [r3, #2] + 8002fca: 68bb ldr r3, [r7, #8] + 8002fcc: 2164 movs r1, #100 ; 0x64 + 8002fce: 0018 movs r0, r3 + 8002fd0: f7fd f924 bl 800021c <__divsi3> + 8002fd4: 0003 movs r3, r0 + 8002fd6: 210a movs r1, #10 + 8002fd8: 0018 movs r0, r3 + 8002fda: f7fd fa05 bl 80003e8 <__aeabi_idivmod> + 8002fde: 000b movs r3, r1 + 8002fe0: b2da uxtb r2, r3 + 8002fe2: 4b77 ldr r3, [pc, #476] ; (80031c0 ) + 8002fe4: 709a strb r2, [r3, #2] dis_buff.d_num[3]=((countdown/100)%10); - 800298e: 68bb ldr r3, [r7, #8] - 8002990: 2164 movs r1, #100 ; 0x64 - 8002992: 0018 movs r0, r3 - 8002994: f7fd fc42 bl 800021c <__divsi3> - 8002998: 0003 movs r3, r0 - 800299a: 210a movs r1, #10 - 800299c: 0018 movs r0, r3 - 800299e: f7fd fd23 bl 80003e8 <__aeabi_idivmod> - 80029a2: 000b movs r3, r1 - 80029a4: b2da uxtb r2, r3 - 80029a6: 4b70 ldr r3, [pc, #448] ; (8002b68 ) - 80029a8: 70da strb r2, [r3, #3] + 8002fe6: 68bb ldr r3, [r7, #8] + 8002fe8: 2164 movs r1, #100 ; 0x64 + 8002fea: 0018 movs r0, r3 + 8002fec: f7fd f916 bl 800021c <__divsi3> + 8002ff0: 0003 movs r3, r0 + 8002ff2: 210a movs r1, #10 + 8002ff4: 0018 movs r0, r3 + 8002ff6: f7fd f9f7 bl 80003e8 <__aeabi_idivmod> + 8002ffa: 000b movs r3, r1 + 8002ffc: b2da uxtb r2, r3 + 8002ffe: 4b70 ldr r3, [pc, #448] ; (80031c0 ) + 8003000: 70da strb r2, [r3, #3] dis_buff.dot1=countdown>>3; - 80029aa: 68bb ldr r3, [r7, #8] - 80029ac: 10db asrs r3, r3, #3 - 80029ae: 1c1a adds r2, r3, #0 - 80029b0: 2301 movs r3, #1 - 80029b2: 4013 ands r3, r2 - 80029b4: b2da uxtb r2, r3 - 80029b6: 4b6c ldr r3, [pc, #432] ; (8002b68 ) - 80029b8: 2101 movs r1, #1 - 80029ba: 400a ands r2, r1 - 80029bc: 0010 movs r0, r2 - 80029be: 7a1a ldrb r2, [r3, #8] - 80029c0: 2101 movs r1, #1 - 80029c2: 438a bics r2, r1 - 80029c4: 1c11 adds r1, r2, #0 - 80029c6: 1c02 adds r2, r0, #0 - 80029c8: 430a orrs r2, r1 - 80029ca: 721a strb r2, [r3, #8] + 8003002: 68bb ldr r3, [r7, #8] + 8003004: 10db asrs r3, r3, #3 + 8003006: 1c1a adds r2, r3, #0 + 8003008: 2301 movs r3, #1 + 800300a: 4013 ands r3, r2 + 800300c: b2da uxtb r2, r3 + 800300e: 4b6c ldr r3, [pc, #432] ; (80031c0 ) + 8003010: 2101 movs r1, #1 + 8003012: 400a ands r2, r1 + 8003014: 0010 movs r0, r2 + 8003016: 7a1a ldrb r2, [r3, #8] + 8003018: 2101 movs r1, #1 + 800301a: 438a bics r2, r1 + 800301c: 1c11 adds r1, r2, #0 + 800301e: 1c02 adds r2, r0, #0 + 8003020: 430a orrs r2, r1 + 8003022: 721a strb r2, [r3, #8] dis_buff.dot2=countdown>>4; - 80029cc: 68bb ldr r3, [r7, #8] - 80029ce: 111b asrs r3, r3, #4 - 80029d0: 1c1a adds r2, r3, #0 - 80029d2: 2301 movs r3, #1 - 80029d4: 4013 ands r3, r2 - 80029d6: b2da uxtb r2, r3 - 80029d8: 4b63 ldr r3, [pc, #396] ; (8002b68 ) - 80029da: 2101 movs r1, #1 - 80029dc: 400a ands r2, r1 - 80029de: 1890 adds r0, r2, r2 - 80029e0: 7a1a ldrb r2, [r3, #8] - 80029e2: 2102 movs r1, #2 - 80029e4: 438a bics r2, r1 - 80029e6: 1c11 adds r1, r2, #0 - 80029e8: 1c02 adds r2, r0, #0 - 80029ea: 430a orrs r2, r1 - 80029ec: 721a strb r2, [r3, #8] + 8003024: 68bb ldr r3, [r7, #8] + 8003026: 111b asrs r3, r3, #4 + 8003028: 1c1a adds r2, r3, #0 + 800302a: 2301 movs r3, #1 + 800302c: 4013 ands r3, r2 + 800302e: b2da uxtb r2, r3 + 8003030: 4b63 ldr r3, [pc, #396] ; (80031c0 ) + 8003032: 2101 movs r1, #1 + 8003034: 400a ands r2, r1 + 8003036: 1890 adds r0, r2, r2 + 8003038: 7a1a ldrb r2, [r3, #8] + 800303a: 2102 movs r1, #2 + 800303c: 438a bics r2, r1 + 800303e: 1c11 adds r1, r2, #0 + 8003040: 1c02 adds r2, r0, #0 + 8003042: 430a orrs r2, r1 + 8003044: 721a strb r2, [r3, #8] dis_buff.dot3=countdown>>5; - 80029ee: 68bb ldr r3, [r7, #8] - 80029f0: 115b asrs r3, r3, #5 - 80029f2: 1c1a adds r2, r3, #0 - 80029f4: 2301 movs r3, #1 - 80029f6: 4013 ands r3, r2 - 80029f8: b2da uxtb r2, r3 - 80029fa: 4b5b ldr r3, [pc, #364] ; (8002b68 ) - 80029fc: 2101 movs r1, #1 - 80029fe: 400a ands r2, r1 - 8002a00: 0090 lsls r0, r2, #2 - 8002a02: 7a1a ldrb r2, [r3, #8] - 8002a04: 2104 movs r1, #4 - 8002a06: 438a bics r2, r1 - 8002a08: 1c11 adds r1, r2, #0 - 8002a0a: 1c02 adds r2, r0, #0 - 8002a0c: 430a orrs r2, r1 - 8002a0e: 721a strb r2, [r3, #8] + 8003046: 68bb ldr r3, [r7, #8] + 8003048: 115b asrs r3, r3, #5 + 800304a: 1c1a adds r2, r3, #0 + 800304c: 2301 movs r3, #1 + 800304e: 4013 ands r3, r2 + 8003050: b2da uxtb r2, r3 + 8003052: 4b5b ldr r3, [pc, #364] ; (80031c0 ) + 8003054: 2101 movs r1, #1 + 8003056: 400a ands r2, r1 + 8003058: 0090 lsls r0, r2, #2 + 800305a: 7a1a ldrb r2, [r3, #8] + 800305c: 2104 movs r1, #4 + 800305e: 438a bics r2, r1 + 8003060: 1c11 adds r1, r2, #0 + 8003062: 1c02 adds r2, r0, #0 + 8003064: 430a orrs r2, r1 + 8003066: 721a strb r2, [r3, #8] dis_buff.dot4=countdown>>6; - 8002a10: 68bb ldr r3, [r7, #8] - 8002a12: 119b asrs r3, r3, #6 - 8002a14: 1c1a adds r2, r3, #0 - 8002a16: 2301 movs r3, #1 - 8002a18: 4013 ands r3, r2 - 8002a1a: b2da uxtb r2, r3 - 8002a1c: 4b52 ldr r3, [pc, #328] ; (8002b68 ) - 8002a1e: 2101 movs r1, #1 - 8002a20: 400a ands r2, r1 - 8002a22: 00d0 lsls r0, r2, #3 - 8002a24: 7a1a ldrb r2, [r3, #8] - 8002a26: 2108 movs r1, #8 - 8002a28: 438a bics r2, r1 - 8002a2a: 1c11 adds r1, r2, #0 - 8002a2c: 1c02 adds r2, r0, #0 - 8002a2e: 430a orrs r2, r1 - 8002a30: 721a strb r2, [r3, #8] + 8003068: 68bb ldr r3, [r7, #8] + 800306a: 119b asrs r3, r3, #6 + 800306c: 1c1a adds r2, r3, #0 + 800306e: 2301 movs r3, #1 + 8003070: 4013 ands r3, r2 + 8003072: b2da uxtb r2, r3 + 8003074: 4b52 ldr r3, [pc, #328] ; (80031c0 ) + 8003076: 2101 movs r1, #1 + 8003078: 400a ands r2, r1 + 800307a: 00d0 lsls r0, r2, #3 + 800307c: 7a1a ldrb r2, [r3, #8] + 800307e: 2108 movs r1, #8 + 8003080: 438a bics r2, r1 + 8003082: 1c11 adds r1, r2, #0 + 8003084: 1c02 adds r2, r0, #0 + 8003086: 430a orrs r2, r1 + 8003088: 721a strb r2, [r3, #8] } break; - 8002a32: e2ef b.n 8003014 + 800308a: e345 b.n 8003718 case 1: //standby moto.moto1a=0; - 8002a34: 4b4d ldr r3, [pc, #308] ; (8002b6c ) - 8002a36: 2200 movs r2, #0 - 8002a38: 721a strb r2, [r3, #8] + 800308c: 4b4d ldr r3, [pc, #308] ; (80031c4 ) + 800308e: 2200 movs r2, #0 + 8003090: 721a strb r2, [r3, #8] moto.moto1b=0; - 8002a3a: 4b4c ldr r3, [pc, #304] ; (8002b6c ) - 8002a3c: 2200 movs r2, #0 - 8002a3e: 725a strb r2, [r3, #9] + 8003092: 4b4c ldr r3, [pc, #304] ; (80031c4 ) + 8003094: 2200 movs r2, #0 + 8003096: 725a strb r2, [r3, #9] moto.moto2a=0; - 8002a40: 4b4a ldr r3, [pc, #296] ; (8002b6c ) - 8002a42: 2200 movs r2, #0 - 8002a44: 729a strb r2, [r3, #10] + 8003098: 4b4a ldr r3, [pc, #296] ; (80031c4 ) + 800309a: 2200 movs r2, #0 + 800309c: 729a strb r2, [r3, #10] moto.moto2b=0; - 8002a46: 4b49 ldr r3, [pc, #292] ; (8002b6c ) - 8002a48: 2200 movs r2, #0 - 8002a4a: 72da strb r2, [r3, #11] + 800309e: 4b49 ldr r3, [pc, #292] ; (80031c4 ) + 80030a0: 2200 movs r2, #0 + 80030a2: 72da strb r2, [r3, #11] if(HAL_GetTick()>runtime) - 8002a4c: f7fd ff14 bl 8000878 - 8002a50: 0002 movs r2, r0 - 8002a52: 697b ldr r3, [r7, #20] - 8002a54: 4293 cmp r3, r2 - 8002a56: d221 bcs.n 8002a9c + 80030a4: f7fd fc66 bl 8000974 + 80030a8: 0002 movs r2, r0 + 80030aa: 697b ldr r3, [r7, #20] + 80030ac: 4293 cmp r3, r2 + 80030ae: d221 bcs.n 80030f4 { runtime+=1000; - 8002a58: 697b ldr r3, [r7, #20] - 8002a5a: 22fa movs r2, #250 ; 0xfa - 8002a5c: 0092 lsls r2, r2, #2 - 8002a5e: 4694 mov ip, r2 - 8002a60: 4463 add r3, ip - 8002a62: 617b str r3, [r7, #20] + 80030b0: 697b ldr r3, [r7, #20] + 80030b2: 22fa movs r2, #250 ; 0xfa + 80030b4: 0092 lsls r2, r2, #2 + 80030b6: 4694 mov ip, r2 + 80030b8: 4463 add r3, ip + 80030ba: 617b str r3, [r7, #20] if(dis_buff.led_run==1) - 8002a64: 4b40 ldr r3, [pc, #256] ; (8002b68 ) - 8002a66: 7a1b ldrb r3, [r3, #8] - 8002a68: 2210 movs r2, #16 - 8002a6a: 4013 ands r3, r2 - 8002a6c: b2db uxtb r3, r3 - 8002a6e: 2b00 cmp r3, #0 - 8002a70: d00a beq.n 8002a88 + 80030bc: 4b40 ldr r3, [pc, #256] ; (80031c0 ) + 80030be: 7a1b ldrb r3, [r3, #8] + 80030c0: 2210 movs r2, #16 + 80030c2: 4013 ands r3, r2 + 80030c4: b2db uxtb r3, r3 + 80030c6: 2b00 cmp r3, #0 + 80030c8: d00a beq.n 80030e0 { dis_buff.led_run=0; - 8002a72: 4b3d ldr r3, [pc, #244] ; (8002b68 ) - 8002a74: 7a1a ldrb r2, [r3, #8] - 8002a76: 2110 movs r1, #16 - 8002a78: 438a bics r2, r1 - 8002a7a: 721a strb r2, [r3, #8] + 80030ca: 4b3d ldr r3, [pc, #244] ; (80031c0 ) + 80030cc: 7a1a ldrb r2, [r3, #8] + 80030ce: 2110 movs r1, #16 + 80030d0: 438a bics r2, r1 + 80030d2: 721a strb r2, [r3, #8] dis_buff.dot4=1; - 8002a7c: 4b3a ldr r3, [pc, #232] ; (8002b68 ) - 8002a7e: 7a1a ldrb r2, [r3, #8] - 8002a80: 2108 movs r1, #8 - 8002a82: 430a orrs r2, r1 - 8002a84: 721a strb r2, [r3, #8] - 8002a86: e009 b.n 8002a9c + 80030d4: 4b3a ldr r3, [pc, #232] ; (80031c0 ) + 80030d6: 7a1a ldrb r2, [r3, #8] + 80030d8: 2108 movs r1, #8 + 80030da: 430a orrs r2, r1 + 80030dc: 721a strb r2, [r3, #8] + 80030de: e009 b.n 80030f4 }else { dis_buff.led_run=1; - 8002a88: 4b37 ldr r3, [pc, #220] ; (8002b68 ) - 8002a8a: 7a1a ldrb r2, [r3, #8] - 8002a8c: 2110 movs r1, #16 - 8002a8e: 430a orrs r2, r1 - 8002a90: 721a strb r2, [r3, #8] + 80030e0: 4b37 ldr r3, [pc, #220] ; (80031c0 ) + 80030e2: 7a1a ldrb r2, [r3, #8] + 80030e4: 2110 movs r1, #16 + 80030e6: 430a orrs r2, r1 + 80030e8: 721a strb r2, [r3, #8] dis_buff.dot4=0; - 8002a92: 4b35 ldr r3, [pc, #212] ; (8002b68 ) - 8002a94: 7a1a ldrb r2, [r3, #8] - 8002a96: 2108 movs r1, #8 - 8002a98: 438a bics r2, r1 - 8002a9a: 721a strb r2, [r3, #8] + 80030ea: 4b35 ldr r3, [pc, #212] ; (80031c0 ) + 80030ec: 7a1a ldrb r2, [r3, #8] + 80030ee: 2108 movs r1, #8 + 80030f0: 438a bics r2, r1 + 80030f2: 721a strb r2, [r3, #8] } } dis_buff.d_num[0]=16; - 8002a9c: 4b32 ldr r3, [pc, #200] ; (8002b68 ) - 8002a9e: 2210 movs r2, #16 - 8002aa0: 701a strb r2, [r3, #0] + 80030f4: 4b32 ldr r3, [pc, #200] ; (80031c0 ) + 80030f6: 2210 movs r2, #16 + 80030f8: 701a strb r2, [r3, #0] dis_buff.d_num[1]=16; - 8002aa2: 4b31 ldr r3, [pc, #196] ; (8002b68 ) - 8002aa4: 2210 movs r2, #16 - 8002aa6: 705a strb r2, [r3, #1] + 80030fa: 4b31 ldr r3, [pc, #196] ; (80031c0 ) + 80030fc: 2210 movs r2, #16 + 80030fe: 705a strb r2, [r3, #1] dis_buff.d_num[2]=16; - 8002aa8: 4b2f ldr r3, [pc, #188] ; (8002b68 ) - 8002aaa: 2210 movs r2, #16 - 8002aac: 709a strb r2, [r3, #2] + 8003100: 4b2f ldr r3, [pc, #188] ; (80031c0 ) + 8003102: 2210 movs r2, #16 + 8003104: 709a strb r2, [r3, #2] dis_buff.d_num[3]=16; - 8002aae: 4b2e ldr r3, [pc, #184] ; (8002b68 ) - 8002ab0: 2210 movs r2, #16 - 8002ab2: 70da strb r2, [r3, #3] + 8003106: 4b2e ldr r3, [pc, #184] ; (80031c0 ) + 8003108: 2210 movs r2, #16 + 800310a: 70da strb r2, [r3, #3] dis_buff.dot1=0; - 8002ab4: 4b2c ldr r3, [pc, #176] ; (8002b68 ) - 8002ab6: 7a1a ldrb r2, [r3, #8] - 8002ab8: 2101 movs r1, #1 - 8002aba: 438a bics r2, r1 - 8002abc: 721a strb r2, [r3, #8] + 800310c: 4b2c ldr r3, [pc, #176] ; (80031c0 ) + 800310e: 7a1a ldrb r2, [r3, #8] + 8003110: 2101 movs r1, #1 + 8003112: 438a bics r2, r1 + 8003114: 721a strb r2, [r3, #8] dis_buff.dot2=0; - 8002abe: 4b2a ldr r3, [pc, #168] ; (8002b68 ) - 8002ac0: 7a1a ldrb r2, [r3, #8] - 8002ac2: 2102 movs r1, #2 - 8002ac4: 438a bics r2, r1 - 8002ac6: 721a strb r2, [r3, #8] + 8003116: 4b2a ldr r3, [pc, #168] ; (80031c0 ) + 8003118: 7a1a ldrb r2, [r3, #8] + 800311a: 2102 movs r1, #2 + 800311c: 438a bics r2, r1 + 800311e: 721a strb r2, [r3, #8] dis_buff.dot3=0; - 8002ac8: 4b27 ldr r3, [pc, #156] ; (8002b68 ) - 8002aca: 7a1a ldrb r2, [r3, #8] - 8002acc: 2104 movs r1, #4 - 8002ace: 438a bics r2, r1 - 8002ad0: 721a strb r2, [r3, #8] + 8003120: 4b27 ldr r3, [pc, #156] ; (80031c0 ) + 8003122: 7a1a ldrb r2, [r3, #8] + 8003124: 2104 movs r1, #4 + 8003126: 438a bics r2, r1 + 8003128: 721a strb r2, [r3, #8] overload_times=0; - 8002ad2: 230c movs r3, #12 - 8002ad4: 18fb adds r3, r7, r3 - 8002ad6: 2200 movs r2, #0 - 8002ad8: 801a strh r2, [r3, #0] + 800312a: 230c movs r3, #12 + 800312c: 18fb adds r3, r7, r3 + 800312e: 2200 movs r2, #0 + 8003130: 801a strh r2, [r3, #0] if(key2.code!=0) - 8002ada: 4b29 ldr r3, [pc, #164] ; (8002b80 ) - 8002adc: 681b ldr r3, [r3, #0] - 8002ade: 2b00 cmp r3, #0 - 8002ae0: d005 beq.n 8002aee + 8003132: 4b29 ldr r3, [pc, #164] ; (80031d8 ) + 8003134: 681b ldr r3, [r3, #0] + 8003136: 2b00 cmp r3, #0 + 8003138: d005 beq.n 8003146 { mode=2; - 8002ae2: 230f movs r3, #15 - 8002ae4: 18fb adds r3, r7, r3 - 8002ae6: 2202 movs r2, #2 - 8002ae8: 701a strb r2, [r3, #0] + 800313a: 230f movs r3, #15 + 800313c: 18fb adds r3, r7, r3 + 800313e: 2202 movs r2, #2 + 8003140: 701a strb r2, [r3, #0] countdown=countdown_set; - 8002aea: 687b ldr r3, [r7, #4] - 8002aec: 60bb str r3, [r7, #8] + 8003142: 687b ldr r3, [r7, #4] + 8003144: 60bb str r3, [r7, #8] } if(key3.code!=0) - 8002aee: 4b25 ldr r3, [pc, #148] ; (8002b84 ) - 8002af0: 681b ldr r3, [r3, #0] - 8002af2: 2b00 cmp r3, #0 - 8002af4: d005 beq.n 8002b02 + 8003146: 4b25 ldr r3, [pc, #148] ; (80031dc ) + 8003148: 681b ldr r3, [r3, #0] + 800314a: 2b00 cmp r3, #0 + 800314c: d005 beq.n 800315a { mode=3; - 8002af6: 230f movs r3, #15 - 8002af8: 18fb adds r3, r7, r3 - 8002afa: 2203 movs r2, #3 - 8002afc: 701a strb r2, [r3, #0] + 800314e: 230f movs r3, #15 + 8003150: 18fb adds r3, r7, r3 + 8003152: 2203 movs r2, #3 + 8003154: 701a strb r2, [r3, #0] countdown=countdown_set; - 8002afe: 687b ldr r3, [r7, #4] - 8002b00: 60bb str r3, [r7, #8] + 8003156: 687b ldr r3, [r7, #4] + 8003158: 60bb str r3, [r7, #8] } if(key1.code!=0) - 8002b02: 4b21 ldr r3, [pc, #132] ; (8002b88 ) - 8002b04: 681b ldr r3, [r3, #0] - 8002b06: 2b00 cmp r3, #0 - 8002b08: d100 bne.n 8002b0c - 8002b0a: e285 b.n 8003018 + 800315a: 4b21 ldr r3, [pc, #132] ; (80031e0 ) + 800315c: 681b ldr r3, [r3, #0] + 800315e: 2b00 cmp r3, #0 + 8003160: d100 bne.n 8003164 + 8003162: e2db b.n 800371c { mode=4; - 8002b0c: 230f movs r3, #15 - 8002b0e: 18fb adds r3, r7, r3 - 8002b10: 2204 movs r2, #4 - 8002b12: 701a strb r2, [r3, #0] + 8003164: 230f movs r3, #15 + 8003166: 18fb adds r3, r7, r3 + 8003168: 2204 movs r2, #4 + 800316a: 701a strb r2, [r3, #0] countdown=10000; - 8002b14: 4b1d ldr r3, [pc, #116] ; (8002b8c ) - 8002b16: 60bb str r3, [r7, #8] + 800316c: 4b1d ldr r3, [pc, #116] ; (80031e4 ) + 800316e: 60bb str r3, [r7, #8] } break; - 8002b18: e27e b.n 8003018 + 8003170: e2d4 b.n 800371c case 2: moto.moto1a=10; - 8002b1a: 4b14 ldr r3, [pc, #80] ; (8002b6c ) - 8002b1c: 220a movs r2, #10 - 8002b1e: 721a strb r2, [r3, #8] + 8003172: 4b14 ldr r3, [pc, #80] ; (80031c4 ) + 8003174: 220a movs r2, #10 + 8003176: 721a strb r2, [r3, #8] moto.moto1b=0; - 8002b20: 4b12 ldr r3, [pc, #72] ; (8002b6c ) - 8002b22: 2200 movs r2, #0 - 8002b24: 725a strb r2, [r3, #9] + 8003178: 4b12 ldr r3, [pc, #72] ; (80031c4 ) + 800317a: 2200 movs r2, #0 + 800317c: 725a strb r2, [r3, #9] moto.moto2a=10; - 8002b26: 4b11 ldr r3, [pc, #68] ; (8002b6c ) - 8002b28: 220a movs r2, #10 - 8002b2a: 729a strb r2, [r3, #10] + 800317e: 4b11 ldr r3, [pc, #68] ; (80031c4 ) + 8003180: 220a movs r2, #10 + 8003182: 729a strb r2, [r3, #10] moto.moto2b=0; - 8002b2c: 4b0f ldr r3, [pc, #60] ; (8002b6c ) - 8002b2e: 2200 movs r2, #0 - 8002b30: 72da strb r2, [r3, #11] + 8003184: 4b0f ldr r3, [pc, #60] ; (80031c4 ) + 8003186: 2200 movs r2, #0 + 8003188: 72da strb r2, [r3, #11] if(HAL_GetTick()>move) - 8002b32: f7fd fea1 bl 8000878 - 8002b36: 0002 movs r2, r0 - 8002b38: 693b ldr r3, [r7, #16] - 8002b3a: 4293 cmp r3, r2 - 8002b3c: d237 bcs.n 8002bae + 800318a: f7fd fbf3 bl 8000974 + 800318e: 0002 movs r2, r0 + 8003190: 693b ldr r3, [r7, #16] + 8003192: 4293 cmp r3, r2 + 8003194: d237 bcs.n 8003206 { move=HAL_GetTick()+100; - 8002b3e: f7fd fe9b bl 8000878 - 8002b42: 0003 movs r3, r0 - 8002b44: 3364 adds r3, #100 ; 0x64 - 8002b46: 613b str r3, [r7, #16] + 8003196: f7fd fbed bl 8000974 + 800319a: 0003 movs r3, r0 + 800319c: 3364 adds r3, #100 ; 0x64 + 800319e: 613b str r3, [r7, #16] if(dis_buff.led_run==1) - 8002b48: 4b07 ldr r3, [pc, #28] ; (8002b68 ) - 8002b4a: 7a1b ldrb r3, [r3, #8] - 8002b4c: 2210 movs r2, #16 - 8002b4e: 4013 ands r3, r2 - 8002b50: b2db uxtb r3, r3 - 8002b52: 2b00 cmp r3, #0 - 8002b54: d01c beq.n 8002b90 + 80031a0: 4b07 ldr r3, [pc, #28] ; (80031c0 ) + 80031a2: 7a1b ldrb r3, [r3, #8] + 80031a4: 2210 movs r2, #16 + 80031a6: 4013 ands r3, r2 + 80031a8: b2db uxtb r3, r3 + 80031aa: 2b00 cmp r3, #0 + 80031ac: d01c beq.n 80031e8 { dis_buff.led_run=0; - 8002b56: 4b04 ldr r3, [pc, #16] ; (8002b68 ) - 8002b58: 7a1a ldrb r2, [r3, #8] - 8002b5a: 2110 movs r1, #16 - 8002b5c: 438a bics r2, r1 - 8002b5e: 721a strb r2, [r3, #8] - 8002b60: e01b b.n 8002b9a - 8002b62: 46c0 nop ; (mov r8, r8) - 8002b64: 00003a98 .word 0x00003a98 - 8002b68: 20000028 .word 0x20000028 - 8002b6c: 200000dc .word 0x200000dc - 8002b70: 20000034 .word 0x20000034 - 8002b74: 0000ffff .word 0x0000ffff - 8002b78: 200000b8 .word 0x200000b8 - 8002b7c: 0800317c .word 0x0800317c - 8002b80: 200000cc .word 0x200000cc - 8002b84: 200000a8 .word 0x200000a8 - 8002b88: 20000088 .word 0x20000088 - 8002b8c: 00002710 .word 0x00002710 + 80031ae: 4b04 ldr r3, [pc, #16] ; (80031c0 ) + 80031b0: 7a1a ldrb r2, [r3, #8] + 80031b2: 2110 movs r1, #16 + 80031b4: 438a bics r2, r1 + 80031b6: 721a strb r2, [r3, #8] + 80031b8: e01b b.n 80031f2 + 80031ba: 46c0 nop ; (mov r8, r8) + 80031bc: 00003a98 .word 0x00003a98 + 80031c0: 20000038 .word 0x20000038 + 80031c4: 2000013c .word 0x2000013c + 80031c8: 2000008c .word 0x2000008c + 80031cc: 0000ffff .word 0x0000ffff + 80031d0: 20000118 .word 0x20000118 + 80031d4: 08003a80 .word 0x08003a80 + 80031d8: 2000012c .word 0x2000012c + 80031dc: 20000108 .word 0x20000108 + 80031e0: 200000e8 .word 0x200000e8 + 80031e4: 00002710 .word 0x00002710 }else { dis_buff.led_run=1; - 8002b90: 4bd9 ldr r3, [pc, #868] ; (8002ef8 ) - 8002b92: 7a1a ldrb r2, [r3, #8] - 8002b94: 2110 movs r1, #16 - 8002b96: 430a orrs r2, r1 - 8002b98: 721a strb r2, [r3, #8] + 80031e8: 4bd6 ldr r3, [pc, #856] ; (8003544 ) + 80031ea: 7a1a ldrb r2, [r3, #8] + 80031ec: 2110 movs r1, #16 + 80031ee: 430a orrs r2, r1 + 80031f0: 721a strb r2, [r3, #8] } countdown-=100; - 8002b9a: 68bb ldr r3, [r7, #8] - 8002b9c: 3b64 subs r3, #100 ; 0x64 - 8002b9e: 60bb str r3, [r7, #8] + 80031f2: 68bb ldr r3, [r7, #8] + 80031f4: 3b64 subs r3, #100 ; 0x64 + 80031f6: 60bb str r3, [r7, #8] if(countdown<0) - 8002ba0: 68bb ldr r3, [r7, #8] - 8002ba2: 2b00 cmp r3, #0 - 8002ba4: da03 bge.n 8002bae + 80031f8: 68bb ldr r3, [r7, #8] + 80031fa: 2b00 cmp r3, #0 + 80031fc: da03 bge.n 8003206 { mode=1; - 8002ba6: 230f movs r3, #15 - 8002ba8: 18fb adds r3, r7, r3 - 8002baa: 2201 movs r2, #1 - 8002bac: 701a strb r2, [r3, #0] + 80031fe: 230f movs r3, #15 + 8003200: 18fb adds r3, r7, r3 + 8003202: 2201 movs r2, #1 + 8003204: 701a strb r2, [r3, #0] } } dis_buff.d_num[3]=(countdown/100)%10; - 8002bae: 68bb ldr r3, [r7, #8] - 8002bb0: 2164 movs r1, #100 ; 0x64 - 8002bb2: 0018 movs r0, r3 - 8002bb4: f7fd fb32 bl 800021c <__divsi3> - 8002bb8: 0003 movs r3, r0 - 8002bba: 210a movs r1, #10 - 8002bbc: 0018 movs r0, r3 - 8002bbe: f7fd fc13 bl 80003e8 <__aeabi_idivmod> - 8002bc2: 000b movs r3, r1 - 8002bc4: b2da uxtb r2, r3 - 8002bc6: 4bcc ldr r3, [pc, #816] ; (8002ef8 ) - 8002bc8: 70da strb r2, [r3, #3] + 8003206: 68bb ldr r3, [r7, #8] + 8003208: 2164 movs r1, #100 ; 0x64 + 800320a: 0018 movs r0, r3 + 800320c: f7fd f806 bl 800021c <__divsi3> + 8003210: 0003 movs r3, r0 + 8003212: 210a movs r1, #10 + 8003214: 0018 movs r0, r3 + 8003216: f7fd f8e7 bl 80003e8 <__aeabi_idivmod> + 800321a: 000b movs r3, r1 + 800321c: b2da uxtb r2, r3 + 800321e: 4bc9 ldr r3, [pc, #804] ; (8003544 ) + 8003220: 70da strb r2, [r3, #3] dis_buff.d_num[2]=(countdown/1000)%10; - 8002bca: 68bb ldr r3, [r7, #8] - 8002bcc: 22fa movs r2, #250 ; 0xfa - 8002bce: 0091 lsls r1, r2, #2 - 8002bd0: 0018 movs r0, r3 - 8002bd2: f7fd fb23 bl 800021c <__divsi3> - 8002bd6: 0003 movs r3, r0 - 8002bd8: 210a movs r1, #10 - 8002bda: 0018 movs r0, r3 - 8002bdc: f7fd fc04 bl 80003e8 <__aeabi_idivmod> - 8002be0: 000b movs r3, r1 - 8002be2: b2da uxtb r2, r3 - 8002be4: 4bc4 ldr r3, [pc, #784] ; (8002ef8 ) - 8002be6: 709a strb r2, [r3, #2] + 8003222: 68bb ldr r3, [r7, #8] + 8003224: 22fa movs r2, #250 ; 0xfa + 8003226: 0091 lsls r1, r2, #2 + 8003228: 0018 movs r0, r3 + 800322a: f7fc fff7 bl 800021c <__divsi3> + 800322e: 0003 movs r3, r0 + 8003230: 210a movs r1, #10 + 8003232: 0018 movs r0, r3 + 8003234: f7fd f8d8 bl 80003e8 <__aeabi_idivmod> + 8003238: 000b movs r3, r1 + 800323a: b2da uxtb r2, r3 + 800323c: 4bc1 ldr r3, [pc, #772] ; (8003544 ) + 800323e: 709a strb r2, [r3, #2] dis_buff.d_num[1]=((countdown/10000)%10); - 8002be8: 68bb ldr r3, [r7, #8] - 8002bea: 49c4 ldr r1, [pc, #784] ; (8002efc ) - 8002bec: 0018 movs r0, r3 - 8002bee: f7fd fb15 bl 800021c <__divsi3> - 8002bf2: 0003 movs r3, r0 - 8002bf4: 210a movs r1, #10 - 8002bf6: 0018 movs r0, r3 - 8002bf8: f7fd fbf6 bl 80003e8 <__aeabi_idivmod> - 8002bfc: 000b movs r3, r1 - 8002bfe: b2da uxtb r2, r3 - 8002c00: 4bbd ldr r3, [pc, #756] ; (8002ef8 ) - 8002c02: 705a strb r2, [r3, #1] + 8003240: 68bb ldr r3, [r7, #8] + 8003242: 49c1 ldr r1, [pc, #772] ; (8003548 ) + 8003244: 0018 movs r0, r3 + 8003246: f7fc ffe9 bl 800021c <__divsi3> + 800324a: 0003 movs r3, r0 + 800324c: 210a movs r1, #10 + 800324e: 0018 movs r0, r3 + 8003250: f7fd f8ca bl 80003e8 <__aeabi_idivmod> + 8003254: 000b movs r3, r1 + 8003256: b2da uxtb r2, r3 + 8003258: 4bba ldr r3, [pc, #744] ; (8003544 ) + 800325a: 705a strb r2, [r3, #1] dis_buff.d_num[1]=dis_buff.d_num[1]==0?16:dis_buff.d_num[1]; - 8002c04: 4bbc ldr r3, [pc, #752] ; (8002ef8 ) - 8002c06: 785b ldrb r3, [r3, #1] - 8002c08: 2b00 cmp r3, #0 - 8002c0a: d002 beq.n 8002c12 - 8002c0c: 4bba ldr r3, [pc, #744] ; (8002ef8 ) - 8002c0e: 785a ldrb r2, [r3, #1] - 8002c10: e000 b.n 8002c14 - 8002c12: 2210 movs r2, #16 - 8002c14: 4bb8 ldr r3, [pc, #736] ; (8002ef8 ) - 8002c16: 705a strb r2, [r3, #1] - dis_buff.dot3=1; - 8002c18: 4bb7 ldr r3, [pc, #732] ; (8002ef8 ) - 8002c1a: 7a1a ldrb r2, [r3, #8] - 8002c1c: 2104 movs r1, #4 - 8002c1e: 430a orrs r2, r1 - 8002c20: 721a strb r2, [r3, #8] + 800325c: 4bb9 ldr r3, [pc, #740] ; (8003544 ) + 800325e: 785b ldrb r3, [r3, #1] + 8003260: 2b00 cmp r3, #0 + 8003262: d002 beq.n 800326a + 8003264: 4bb7 ldr r3, [pc, #732] ; (8003544 ) + 8003266: 785a ldrb r2, [r3, #1] + 8003268: e000 b.n 800326c + 800326a: 2210 movs r2, #16 + 800326c: 4bb5 ldr r3, [pc, #724] ; (8003544 ) + 800326e: 705a strb r2, [r3, #1] + dis_buff.dot4=1; + 8003270: 4bb4 ldr r3, [pc, #720] ; (8003544 ) + 8003272: 7a1a ldrb r2, [r3, #8] + 8003274: 2108 movs r1, #8 + 8003276: 430a orrs r2, r1 + 8003278: 721a strb r2, [r3, #8] if(key3.code!=0) - 8002c22: 4bb7 ldr r3, [pc, #732] ; (8002f00 ) - 8002c24: 681b ldr r3, [r3, #0] - 8002c26: 2b00 cmp r3, #0 - 8002c28: d007 beq.n 8002c3a + 800327a: 4bb4 ldr r3, [pc, #720] ; (800354c ) + 800327c: 681b ldr r3, [r3, #0] + 800327e: 2b00 cmp r3, #0 + 8003280: d007 beq.n 8003292 { mode=3; - 8002c2a: 230f movs r3, #15 - 8002c2c: 18fb adds r3, r7, r3 - 8002c2e: 2203 movs r2, #3 - 8002c30: 701a strb r2, [r3, #0] + 8003282: 230f movs r3, #15 + 8003284: 18fb adds r3, r7, r3 + 8003286: 2203 movs r2, #3 + 8003288: 701a strb r2, [r3, #0] countdown=countdown_set-countdown; - 8002c32: 687a ldr r2, [r7, #4] - 8002c34: 68bb ldr r3, [r7, #8] - 8002c36: 1ad3 subs r3, r2, r3 - 8002c38: 60bb str r3, [r7, #8] + 800328a: 687a ldr r2, [r7, #4] + 800328c: 68bb ldr r3, [r7, #8] + 800328e: 1ad3 subs r3, r2, r3 + 8003290: 60bb str r3, [r7, #8] } if(key4.code!=0) - 8002c3a: 4bb2 ldr r3, [pc, #712] ; (8002f04 ) - 8002c3c: 681b ldr r3, [r3, #0] - 8002c3e: 2b00 cmp r3, #0 - 8002c40: d003 beq.n 8002c4a + 8003292: 4baf ldr r3, [pc, #700] ; (8003550 ) + 8003294: 681b ldr r3, [r3, #0] + 8003296: 2b00 cmp r3, #0 + 8003298: d003 beq.n 80032a2 { mode=1; - 8002c42: 230f movs r3, #15 - 8002c44: 18fb adds r3, r7, r3 - 8002c46: 2201 movs r2, #1 - 8002c48: 701a strb r2, [r3, #0] + 800329a: 230f movs r3, #15 + 800329c: 18fb adds r3, r7, r3 + 800329e: 2201 movs r2, #1 + 80032a0: 701a strb r2, [r3, #0] } if(overload.code!=0) - 8002c4a: 4baf ldr r3, [pc, #700] ; (8002f08 ) - 8002c4c: 681b ldr r3, [r3, #0] - 8002c4e: 2b00 cmp r3, #0 - 8002c50: d005 beq.n 8002c5e + 80032a2: 4bac ldr r3, [pc, #688] ; (8003554 ) + 80032a4: 681b ldr r3, [r3, #0] + 80032a6: 2b00 cmp r3, #0 + 80032a8: d005 beq.n 80032b6 { overload_times+=1; - 8002c52: 220c movs r2, #12 - 8002c54: 18bb adds r3, r7, r2 - 8002c56: 18ba adds r2, r7, r2 - 8002c58: 8812 ldrh r2, [r2, #0] - 8002c5a: 3201 adds r2, #1 - 8002c5c: 801a strh r2, [r3, #0] + 80032aa: 220c movs r2, #12 + 80032ac: 18bb adds r3, r7, r2 + 80032ae: 18ba adds r2, r7, r2 + 80032b0: 8812 ldrh r2, [r2, #0] + 80032b2: 3201 adds r2, #1 + 80032b4: 801a strh r2, [r3, #0] } if(overload_times>2) - 8002c5e: 230c movs r3, #12 - 8002c60: 18fb adds r3, r7, r3 - 8002c62: 881b ldrh r3, [r3, #0] - 8002c64: 2b02 cmp r3, #2 - 8002c66: d800 bhi.n 8002c6a - 8002c68: e1d8 b.n 800301c + 80032b6: 230c movs r3, #12 + 80032b8: 18fb adds r3, r7, r3 + 80032ba: 881b ldrh r3, [r3, #0] + 80032bc: 2b02 cmp r3, #2 + 80032be: d800 bhi.n 80032c2 + 80032c0: e22e b.n 8003720 { overload_mode=2; - 8002c6a: 230e movs r3, #14 - 8002c6c: 18fb adds r3, r7, r3 - 8002c6e: 2202 movs r2, #2 - 8002c70: 701a strb r2, [r3, #0] + 80032c2: 230e movs r3, #14 + 80032c4: 18fb adds r3, r7, r3 + 80032c6: 2202 movs r2, #2 + 80032c8: 701a strb r2, [r3, #0] mode=5; - 8002c72: 230f movs r3, #15 - 8002c74: 18fb adds r3, r7, r3 - 8002c76: 2205 movs r2, #5 - 8002c78: 701a strb r2, [r3, #0] + 80032ca: 230f movs r3, #15 + 80032cc: 18fb adds r3, r7, r3 + 80032ce: 2205 movs r2, #5 + 80032d0: 701a strb r2, [r3, #0] } break; - 8002c7a: e1cf b.n 800301c + 80032d2: e225 b.n 8003720 case 3: moto.moto1a=0; - 8002c7c: 4ba3 ldr r3, [pc, #652] ; (8002f0c ) - 8002c7e: 2200 movs r2, #0 - 8002c80: 721a strb r2, [r3, #8] + 80032d4: 4ba0 ldr r3, [pc, #640] ; (8003558 ) + 80032d6: 2200 movs r2, #0 + 80032d8: 721a strb r2, [r3, #8] moto.moto1b=10; - 8002c82: 4ba2 ldr r3, [pc, #648] ; (8002f0c ) - 8002c84: 220a movs r2, #10 - 8002c86: 725a strb r2, [r3, #9] + 80032da: 4b9f ldr r3, [pc, #636] ; (8003558 ) + 80032dc: 220a movs r2, #10 + 80032de: 725a strb r2, [r3, #9] moto.moto2a=0; - 8002c88: 4ba0 ldr r3, [pc, #640] ; (8002f0c ) - 8002c8a: 2200 movs r2, #0 - 8002c8c: 729a strb r2, [r3, #10] + 80032e0: 4b9d ldr r3, [pc, #628] ; (8003558 ) + 80032e2: 2200 movs r2, #0 + 80032e4: 729a strb r2, [r3, #10] moto.moto2b=10; - 8002c8e: 4b9f ldr r3, [pc, #636] ; (8002f0c ) - 8002c90: 220a movs r2, #10 - 8002c92: 72da strb r2, [r3, #11] + 80032e6: 4b9c ldr r3, [pc, #624] ; (8003558 ) + 80032e8: 220a movs r2, #10 + 80032ea: 72da strb r2, [r3, #11] if(HAL_GetTick()>move) - 8002c94: f7fd fdf0 bl 8000878 - 8002c98: 0002 movs r2, r0 - 8002c9a: 693b ldr r3, [r7, #16] - 8002c9c: 4293 cmp r3, r2 - 8002c9e: d220 bcs.n 8002ce2 + 80032ec: f7fd fb42 bl 8000974 + 80032f0: 0002 movs r2, r0 + 80032f2: 693b ldr r3, [r7, #16] + 80032f4: 4293 cmp r3, r2 + 80032f6: d220 bcs.n 800333a { move=HAL_GetTick()+100; - 8002ca0: f7fd fdea bl 8000878 - 8002ca4: 0003 movs r3, r0 - 8002ca6: 3364 adds r3, #100 ; 0x64 - 8002ca8: 613b str r3, [r7, #16] + 80032f8: f7fd fb3c bl 8000974 + 80032fc: 0003 movs r3, r0 + 80032fe: 3364 adds r3, #100 ; 0x64 + 8003300: 613b str r3, [r7, #16] if(dis_buff.led_run==1) - 8002caa: 4b93 ldr r3, [pc, #588] ; (8002ef8 ) - 8002cac: 7a1b ldrb r3, [r3, #8] - 8002cae: 2210 movs r2, #16 - 8002cb0: 4013 ands r3, r2 - 8002cb2: b2db uxtb r3, r3 - 8002cb4: 2b00 cmp r3, #0 - 8002cb6: d005 beq.n 8002cc4 + 8003302: 4b90 ldr r3, [pc, #576] ; (8003544 ) + 8003304: 7a1b ldrb r3, [r3, #8] + 8003306: 2210 movs r2, #16 + 8003308: 4013 ands r3, r2 + 800330a: b2db uxtb r3, r3 + 800330c: 2b00 cmp r3, #0 + 800330e: d005 beq.n 800331c { dis_buff.led_run=0; - 8002cb8: 4b8f ldr r3, [pc, #572] ; (8002ef8 ) - 8002cba: 7a1a ldrb r2, [r3, #8] - 8002cbc: 2110 movs r1, #16 - 8002cbe: 438a bics r2, r1 - 8002cc0: 721a strb r2, [r3, #8] - 8002cc2: e004 b.n 8002cce + 8003310: 4b8c ldr r3, [pc, #560] ; (8003544 ) + 8003312: 7a1a ldrb r2, [r3, #8] + 8003314: 2110 movs r1, #16 + 8003316: 438a bics r2, r1 + 8003318: 721a strb r2, [r3, #8] + 800331a: e004 b.n 8003326 }else { dis_buff.led_run=1; - 8002cc4: 4b8c ldr r3, [pc, #560] ; (8002ef8 ) - 8002cc6: 7a1a ldrb r2, [r3, #8] - 8002cc8: 2110 movs r1, #16 - 8002cca: 430a orrs r2, r1 - 8002ccc: 721a strb r2, [r3, #8] + 800331c: 4b89 ldr r3, [pc, #548] ; (8003544 ) + 800331e: 7a1a ldrb r2, [r3, #8] + 8003320: 2110 movs r1, #16 + 8003322: 430a orrs r2, r1 + 8003324: 721a strb r2, [r3, #8] } countdown-=100; - 8002cce: 68bb ldr r3, [r7, #8] - 8002cd0: 3b64 subs r3, #100 ; 0x64 - 8002cd2: 60bb str r3, [r7, #8] + 8003326: 68bb ldr r3, [r7, #8] + 8003328: 3b64 subs r3, #100 ; 0x64 + 800332a: 60bb str r3, [r7, #8] if(countdown<0) - 8002cd4: 68bb ldr r3, [r7, #8] - 8002cd6: 2b00 cmp r3, #0 - 8002cd8: da03 bge.n 8002ce2 + 800332c: 68bb ldr r3, [r7, #8] + 800332e: 2b00 cmp r3, #0 + 8003330: da03 bge.n 800333a { mode=1; - 8002cda: 230f movs r3, #15 - 8002cdc: 18fb adds r3, r7, r3 - 8002cde: 2201 movs r2, #1 - 8002ce0: 701a strb r2, [r3, #0] + 8003332: 230f movs r3, #15 + 8003334: 18fb adds r3, r7, r3 + 8003336: 2201 movs r2, #1 + 8003338: 701a strb r2, [r3, #0] } } dis_buff.d_num[3]=(countdown/100)%10; - 8002ce2: 68bb ldr r3, [r7, #8] - 8002ce4: 2164 movs r1, #100 ; 0x64 - 8002ce6: 0018 movs r0, r3 - 8002ce8: f7fd fa98 bl 800021c <__divsi3> - 8002cec: 0003 movs r3, r0 - 8002cee: 210a movs r1, #10 - 8002cf0: 0018 movs r0, r3 - 8002cf2: f7fd fb79 bl 80003e8 <__aeabi_idivmod> - 8002cf6: 000b movs r3, r1 - 8002cf8: b2da uxtb r2, r3 - 8002cfa: 4b7f ldr r3, [pc, #508] ; (8002ef8 ) - 8002cfc: 70da strb r2, [r3, #3] + 800333a: 68bb ldr r3, [r7, #8] + 800333c: 2164 movs r1, #100 ; 0x64 + 800333e: 0018 movs r0, r3 + 8003340: f7fc ff6c bl 800021c <__divsi3> + 8003344: 0003 movs r3, r0 + 8003346: 210a movs r1, #10 + 8003348: 0018 movs r0, r3 + 800334a: f7fd f84d bl 80003e8 <__aeabi_idivmod> + 800334e: 000b movs r3, r1 + 8003350: b2da uxtb r2, r3 + 8003352: 4b7c ldr r3, [pc, #496] ; (8003544 ) + 8003354: 70da strb r2, [r3, #3] dis_buff.d_num[2]=(countdown/1000)%10; - 8002cfe: 68bb ldr r3, [r7, #8] - 8002d00: 22fa movs r2, #250 ; 0xfa - 8002d02: 0091 lsls r1, r2, #2 - 8002d04: 0018 movs r0, r3 - 8002d06: f7fd fa89 bl 800021c <__divsi3> - 8002d0a: 0003 movs r3, r0 - 8002d0c: 210a movs r1, #10 - 8002d0e: 0018 movs r0, r3 - 8002d10: f7fd fb6a bl 80003e8 <__aeabi_idivmod> - 8002d14: 000b movs r3, r1 - 8002d16: b2da uxtb r2, r3 - 8002d18: 4b77 ldr r3, [pc, #476] ; (8002ef8 ) - 8002d1a: 709a strb r2, [r3, #2] + 8003356: 68bb ldr r3, [r7, #8] + 8003358: 22fa movs r2, #250 ; 0xfa + 800335a: 0091 lsls r1, r2, #2 + 800335c: 0018 movs r0, r3 + 800335e: f7fc ff5d bl 800021c <__divsi3> + 8003362: 0003 movs r3, r0 + 8003364: 210a movs r1, #10 + 8003366: 0018 movs r0, r3 + 8003368: f7fd f83e bl 80003e8 <__aeabi_idivmod> + 800336c: 000b movs r3, r1 + 800336e: b2da uxtb r2, r3 + 8003370: 4b74 ldr r3, [pc, #464] ; (8003544 ) + 8003372: 709a strb r2, [r3, #2] dis_buff.d_num[1]=((countdown/10000)%10); - 8002d1c: 68bb ldr r3, [r7, #8] - 8002d1e: 4977 ldr r1, [pc, #476] ; (8002efc ) - 8002d20: 0018 movs r0, r3 - 8002d22: f7fd fa7b bl 800021c <__divsi3> - 8002d26: 0003 movs r3, r0 - 8002d28: 210a movs r1, #10 - 8002d2a: 0018 movs r0, r3 - 8002d2c: f7fd fb5c bl 80003e8 <__aeabi_idivmod> - 8002d30: 000b movs r3, r1 - 8002d32: b2da uxtb r2, r3 - 8002d34: 4b70 ldr r3, [pc, #448] ; (8002ef8 ) - 8002d36: 705a strb r2, [r3, #1] + 8003374: 68bb ldr r3, [r7, #8] + 8003376: 4974 ldr r1, [pc, #464] ; (8003548 ) + 8003378: 0018 movs r0, r3 + 800337a: f7fc ff4f bl 800021c <__divsi3> + 800337e: 0003 movs r3, r0 + 8003380: 210a movs r1, #10 + 8003382: 0018 movs r0, r3 + 8003384: f7fd f830 bl 80003e8 <__aeabi_idivmod> + 8003388: 000b movs r3, r1 + 800338a: b2da uxtb r2, r3 + 800338c: 4b6d ldr r3, [pc, #436] ; (8003544 ) + 800338e: 705a strb r2, [r3, #1] dis_buff.d_num[1]=dis_buff.d_num[1]==0?16:dis_buff.d_num[1]; - 8002d38: 4b6f ldr r3, [pc, #444] ; (8002ef8 ) - 8002d3a: 785b ldrb r3, [r3, #1] - 8002d3c: 2b00 cmp r3, #0 - 8002d3e: d002 beq.n 8002d46 - 8002d40: 4b6d ldr r3, [pc, #436] ; (8002ef8 ) - 8002d42: 785a ldrb r2, [r3, #1] - 8002d44: e000 b.n 8002d48 - 8002d46: 2210 movs r2, #16 - 8002d48: 4b6b ldr r3, [pc, #428] ; (8002ef8 ) - 8002d4a: 705a strb r2, [r3, #1] - dis_buff.dot3=1; - 8002d4c: 4b6a ldr r3, [pc, #424] ; (8002ef8 ) - 8002d4e: 7a1a ldrb r2, [r3, #8] - 8002d50: 2104 movs r1, #4 - 8002d52: 430a orrs r2, r1 - 8002d54: 721a strb r2, [r3, #8] + 8003390: 4b6c ldr r3, [pc, #432] ; (8003544 ) + 8003392: 785b ldrb r3, [r3, #1] + 8003394: 2b00 cmp r3, #0 + 8003396: d002 beq.n 800339e + 8003398: 4b6a ldr r3, [pc, #424] ; (8003544 ) + 800339a: 785a ldrb r2, [r3, #1] + 800339c: e000 b.n 80033a0 + 800339e: 2210 movs r2, #16 + 80033a0: 4b68 ldr r3, [pc, #416] ; (8003544 ) + 80033a2: 705a strb r2, [r3, #1] + dis_buff.dot4=1; + 80033a4: 4b67 ldr r3, [pc, #412] ; (8003544 ) + 80033a6: 7a1a ldrb r2, [r3, #8] + 80033a8: 2108 movs r1, #8 + 80033aa: 430a orrs r2, r1 + 80033ac: 721a strb r2, [r3, #8] if(key2.code!=0) - 8002d56: 4b6e ldr r3, [pc, #440] ; (8002f10 ) - 8002d58: 681b ldr r3, [r3, #0] - 8002d5a: 2b00 cmp r3, #0 - 8002d5c: d007 beq.n 8002d6e + 80033ae: 4b6b ldr r3, [pc, #428] ; (800355c ) + 80033b0: 681b ldr r3, [r3, #0] + 80033b2: 2b00 cmp r3, #0 + 80033b4: d007 beq.n 80033c6 { mode=2; - 8002d5e: 230f movs r3, #15 - 8002d60: 18fb adds r3, r7, r3 - 8002d62: 2202 movs r2, #2 - 8002d64: 701a strb r2, [r3, #0] + 80033b6: 230f movs r3, #15 + 80033b8: 18fb adds r3, r7, r3 + 80033ba: 2202 movs r2, #2 + 80033bc: 701a strb r2, [r3, #0] countdown=countdown_set-countdown; - 8002d66: 687a ldr r2, [r7, #4] - 8002d68: 68bb ldr r3, [r7, #8] - 8002d6a: 1ad3 subs r3, r2, r3 - 8002d6c: 60bb str r3, [r7, #8] + 80033be: 687a ldr r2, [r7, #4] + 80033c0: 68bb ldr r3, [r7, #8] + 80033c2: 1ad3 subs r3, r2, r3 + 80033c4: 60bb str r3, [r7, #8] } if(key4.code!=0) - 8002d6e: 4b65 ldr r3, [pc, #404] ; (8002f04 ) - 8002d70: 681b ldr r3, [r3, #0] - 8002d72: 2b00 cmp r3, #0 - 8002d74: d003 beq.n 8002d7e + 80033c6: 4b62 ldr r3, [pc, #392] ; (8003550 ) + 80033c8: 681b ldr r3, [r3, #0] + 80033ca: 2b00 cmp r3, #0 + 80033cc: d003 beq.n 80033d6 { mode=1; - 8002d76: 230f movs r3, #15 - 8002d78: 18fb adds r3, r7, r3 - 8002d7a: 2201 movs r2, #1 - 8002d7c: 701a strb r2, [r3, #0] + 80033ce: 230f movs r3, #15 + 80033d0: 18fb adds r3, r7, r3 + 80033d2: 2201 movs r2, #1 + 80033d4: 701a strb r2, [r3, #0] } if(overload.code!=0) - 8002d7e: 4b62 ldr r3, [pc, #392] ; (8002f08 ) - 8002d80: 681b ldr r3, [r3, #0] - 8002d82: 2b00 cmp r3, #0 - 8002d84: d005 beq.n 8002d92 + 80033d6: 4b5f ldr r3, [pc, #380] ; (8003554 ) + 80033d8: 681b ldr r3, [r3, #0] + 80033da: 2b00 cmp r3, #0 + 80033dc: d005 beq.n 80033ea { overload_times+=1; - 8002d86: 220c movs r2, #12 - 8002d88: 18bb adds r3, r7, r2 - 8002d8a: 18ba adds r2, r7, r2 - 8002d8c: 8812 ldrh r2, [r2, #0] - 8002d8e: 3201 adds r2, #1 - 8002d90: 801a strh r2, [r3, #0] + 80033de: 220c movs r2, #12 + 80033e0: 18bb adds r3, r7, r2 + 80033e2: 18ba adds r2, r7, r2 + 80033e4: 8812 ldrh r2, [r2, #0] + 80033e6: 3201 adds r2, #1 + 80033e8: 801a strh r2, [r3, #0] } if(overload_times>2) - 8002d92: 230c movs r3, #12 - 8002d94: 18fb adds r3, r7, r3 - 8002d96: 881b ldrh r3, [r3, #0] - 8002d98: 2b02 cmp r3, #2 - 8002d9a: d800 bhi.n 8002d9e - 8002d9c: e140 b.n 8003020 + 80033ea: 230c movs r3, #12 + 80033ec: 18fb adds r3, r7, r3 + 80033ee: 881b ldrh r3, [r3, #0] + 80033f0: 2b02 cmp r3, #2 + 80033f2: d800 bhi.n 80033f6 + 80033f4: e196 b.n 8003724 { overload_mode=3; - 8002d9e: 230e movs r3, #14 - 8002da0: 18fb adds r3, r7, r3 - 8002da2: 2203 movs r2, #3 - 8002da4: 701a strb r2, [r3, #0] + 80033f6: 230e movs r3, #14 + 80033f8: 18fb adds r3, r7, r3 + 80033fa: 2203 movs r2, #3 + 80033fc: 701a strb r2, [r3, #0] mode=5; - 8002da6: 230f movs r3, #15 - 8002da8: 18fb adds r3, r7, r3 - 8002daa: 2205 movs r2, #5 - 8002dac: 701a strb r2, [r3, #0] + 80033fe: 230f movs r3, #15 + 8003400: 18fb adds r3, r7, r3 + 8003402: 2205 movs r2, #5 + 8003404: 701a strb r2, [r3, #0] } break; - 8002dae: e137 b.n 8003020 + 8003406: e18d b.n 8003724 case 4: //setting mode dis_buff.led_run=0; - 8002db0: 4b51 ldr r3, [pc, #324] ; (8002ef8 ) - 8002db2: 7a1a ldrb r2, [r3, #8] - 8002db4: 2110 movs r1, #16 - 8002db6: 438a bics r2, r1 - 8002db8: 721a strb r2, [r3, #8] + 8003408: 4b4e ldr r3, [pc, #312] ; (8003544 ) + 800340a: 7a1a ldrb r2, [r3, #8] + 800340c: 2110 movs r1, #16 + 800340e: 438a bics r2, r1 + 8003410: 721a strb r2, [r3, #8] if(HAL_GetTick()>move) - 8002dba: f7fd fd5d bl 8000878 - 8002dbe: 0002 movs r2, r0 - 8002dc0: 693b ldr r3, [r7, #16] - 8002dc2: 4293 cmp r3, r2 - 8002dc4: d237 bcs.n 8002e36 + 8003412: f7fd faaf bl 8000974 + 8003416: 0002 movs r2, r0 + 8003418: 693b ldr r3, [r7, #16] + 800341a: 4293 cmp r3, r2 + 800341c: d237 bcs.n 800348e { move=HAL_GetTick()+100; - 8002dc6: f7fd fd57 bl 8000878 - 8002dca: 0003 movs r3, r0 - 8002dcc: 3364 adds r3, #100 ; 0x64 - 8002dce: 613b str r3, [r7, #16] - if(dis_buff.dot1==1) - 8002dd0: 4b49 ldr r3, [pc, #292] ; (8002ef8 ) - 8002dd2: 7a1b ldrb r3, [r3, #8] - 8002dd4: 2201 movs r2, #1 - 8002dd6: 4013 ands r3, r2 - 8002dd8: b2db uxtb r3, r3 - 8002dda: 2b00 cmp r3, #0 - 8002ddc: d005 beq.n 8002dea + 800341e: f7fd faa9 bl 8000974 + 8003422: 0003 movs r3, r0 + 8003424: 3364 adds r3, #100 ; 0x64 + 8003426: 613b str r3, [r7, #16] + if(dis_buff.dot4==1) + 8003428: 4b46 ldr r3, [pc, #280] ; (8003544 ) + 800342a: 7a1b ldrb r3, [r3, #8] + 800342c: 2208 movs r2, #8 + 800342e: 4013 ands r3, r2 + 8003430: b2db uxtb r3, r3 + 8003432: 2b00 cmp r3, #0 + 8003434: d005 beq.n 8003442 { - dis_buff.dot1=0; - 8002dde: 4b46 ldr r3, [pc, #280] ; (8002ef8 ) - 8002de0: 7a1a ldrb r2, [r3, #8] - 8002de2: 2101 movs r1, #1 - 8002de4: 438a bics r2, r1 - 8002de6: 721a strb r2, [r3, #8] - 8002de8: e004 b.n 8002df4 + dis_buff.dot4=0; + 8003436: 4b43 ldr r3, [pc, #268] ; (8003544 ) + 8003438: 7a1a ldrb r2, [r3, #8] + 800343a: 2108 movs r1, #8 + 800343c: 438a bics r2, r1 + 800343e: 721a strb r2, [r3, #8] + 8003440: e004 b.n 800344c }else { - dis_buff.dot1=1; - 8002dea: 4b43 ldr r3, [pc, #268] ; (8002ef8 ) - 8002dec: 7a1a ldrb r2, [r3, #8] - 8002dee: 2101 movs r1, #1 - 8002df0: 430a orrs r2, r1 - 8002df2: 721a strb r2, [r3, #8] + dis_buff.dot4=1; + 8003442: 4b40 ldr r3, [pc, #256] ; (8003544 ) + 8003444: 7a1a ldrb r2, [r3, #8] + 8003446: 2108 movs r1, #8 + 8003448: 430a orrs r2, r1 + 800344a: 721a strb r2, [r3, #8] } countdown-=100; - 8002df4: 68bb ldr r3, [r7, #8] - 8002df6: 3b64 subs r3, #100 ; 0x64 - 8002df8: 60bb str r3, [r7, #8] + 800344c: 68bb ldr r3, [r7, #8] + 800344e: 3b64 subs r3, #100 ; 0x64 + 8003450: 60bb str r3, [r7, #8] if(countdown<0) - 8002dfa: 68bb ldr r3, [r7, #8] - 8002dfc: 2b00 cmp r3, #0 - 8002dfe: da03 bge.n 8002e08 + 8003452: 68bb ldr r3, [r7, #8] + 8003454: 2b00 cmp r3, #0 + 8003456: da03 bge.n 8003460 { mode=1; - 8002e00: 230f movs r3, #15 - 8002e02: 18fb adds r3, r7, r3 - 8002e04: 2201 movs r2, #1 - 8002e06: 701a strb r2, [r3, #0] + 8003458: 230f movs r3, #15 + 800345a: 18fb adds r3, r7, r3 + 800345c: 2201 movs r2, #1 + 800345e: 701a strb r2, [r3, #0] } if(key2.code<0){countdown_set+=1000;countdown=10000;} - 8002e08: 4b41 ldr r3, [pc, #260] ; (8002f10 ) - 8002e0a: 681b ldr r3, [r3, #0] - 8002e0c: 2b00 cmp r3, #0 - 8002e0e: da07 bge.n 8002e20 - 8002e10: 687b ldr r3, [r7, #4] - 8002e12: 22fa movs r2, #250 ; 0xfa - 8002e14: 0092 lsls r2, r2, #2 - 8002e16: 4694 mov ip, r2 - 8002e18: 4463 add r3, ip - 8002e1a: 607b str r3, [r7, #4] - 8002e1c: 4b37 ldr r3, [pc, #220] ; (8002efc ) - 8002e1e: 60bb str r3, [r7, #8] + 8003460: 4b3e ldr r3, [pc, #248] ; (800355c ) + 8003462: 681b ldr r3, [r3, #0] + 8003464: 2b00 cmp r3, #0 + 8003466: da07 bge.n 8003478 + 8003468: 687b ldr r3, [r7, #4] + 800346a: 22fa movs r2, #250 ; 0xfa + 800346c: 0092 lsls r2, r2, #2 + 800346e: 4694 mov ip, r2 + 8003470: 4463 add r3, ip + 8003472: 607b str r3, [r7, #4] + 8003474: 4b34 ldr r3, [pc, #208] ; (8003548 ) + 8003476: 60bb str r3, [r7, #8] if(key3.code<0){countdown_set-=1000;countdown=10000;} - 8002e20: 4b37 ldr r3, [pc, #220] ; (8002f00 ) - 8002e22: 681b ldr r3, [r3, #0] - 8002e24: 2b00 cmp r3, #0 - 8002e26: da06 bge.n 8002e36 - 8002e28: 687b ldr r3, [r7, #4] - 8002e2a: 4a3a ldr r2, [pc, #232] ; (8002f14 ) - 8002e2c: 4694 mov ip, r2 - 8002e2e: 4463 add r3, ip - 8002e30: 607b str r3, [r7, #4] - 8002e32: 4b32 ldr r3, [pc, #200] ; (8002efc ) - 8002e34: 60bb str r3, [r7, #8] + 8003478: 4b34 ldr r3, [pc, #208] ; (800354c ) + 800347a: 681b ldr r3, [r3, #0] + 800347c: 2b00 cmp r3, #0 + 800347e: da06 bge.n 800348e + 8003480: 687b ldr r3, [r7, #4] + 8003482: 4a37 ldr r2, [pc, #220] ; (8003560 ) + 8003484: 4694 mov ip, r2 + 8003486: 4463 add r3, ip + 8003488: 607b str r3, [r7, #4] + 800348a: 4b2f ldr r3, [pc, #188] ; (8003548 ) + 800348c: 60bb str r3, [r7, #8] } if(key2.code>0){countdown_set+=100;countdown=10000;} - 8002e36: 4b36 ldr r3, [pc, #216] ; (8002f10 ) - 8002e38: 681b ldr r3, [r3, #0] - 8002e3a: 2b00 cmp r3, #0 - 8002e3c: dd04 ble.n 8002e48 - 8002e3e: 687b ldr r3, [r7, #4] - 8002e40: 3364 adds r3, #100 ; 0x64 - 8002e42: 607b str r3, [r7, #4] - 8002e44: 4b2d ldr r3, [pc, #180] ; (8002efc ) - 8002e46: 60bb str r3, [r7, #8] + 800348e: 4b33 ldr r3, [pc, #204] ; (800355c ) + 8003490: 681b ldr r3, [r3, #0] + 8003492: 2b00 cmp r3, #0 + 8003494: dd04 ble.n 80034a0 + 8003496: 687b ldr r3, [r7, #4] + 8003498: 3364 adds r3, #100 ; 0x64 + 800349a: 607b str r3, [r7, #4] + 800349c: 4b2a ldr r3, [pc, #168] ; (8003548 ) + 800349e: 60bb str r3, [r7, #8] if(key3.code>0){countdown_set-=100;countdown=10000;} - 8002e48: 4b2d ldr r3, [pc, #180] ; (8002f00 ) - 8002e4a: 681b ldr r3, [r3, #0] - 8002e4c: 2b00 cmp r3, #0 - 8002e4e: dd04 ble.n 8002e5a - 8002e50: 687b ldr r3, [r7, #4] - 8002e52: 3b64 subs r3, #100 ; 0x64 - 8002e54: 607b str r3, [r7, #4] - 8002e56: 4b29 ldr r3, [pc, #164] ; (8002efc ) - 8002e58: 60bb str r3, [r7, #8] + 80034a0: 4b2a ldr r3, [pc, #168] ; (800354c ) + 80034a2: 681b ldr r3, [r3, #0] + 80034a4: 2b00 cmp r3, #0 + 80034a6: dd04 ble.n 80034b2 + 80034a8: 687b ldr r3, [r7, #4] + 80034aa: 3b64 subs r3, #100 ; 0x64 + 80034ac: 607b str r3, [r7, #4] + 80034ae: 4b26 ldr r3, [pc, #152] ; (8003548 ) + 80034b0: 60bb str r3, [r7, #8] if(countdown_set<100){countdown_set=100;} - 8002e5a: 687b ldr r3, [r7, #4] - 8002e5c: 2b63 cmp r3, #99 ; 0x63 - 8002e5e: dc01 bgt.n 8002e64 - 8002e60: 2364 movs r3, #100 ; 0x64 - 8002e62: 607b str r3, [r7, #4] + 80034b2: 687b ldr r3, [r7, #4] + 80034b4: 2b63 cmp r3, #99 ; 0x63 + 80034b6: dc01 bgt.n 80034bc + 80034b8: 2364 movs r3, #100 ; 0x64 + 80034ba: 607b str r3, [r7, #4] if(countdown_set>60000){countdown_set=60000;} - 8002e64: 687b ldr r3, [r7, #4] - 8002e66: 4a2c ldr r2, [pc, #176] ; (8002f18 ) - 8002e68: 4293 cmp r3, r2 - 8002e6a: dd01 ble.n 8002e70 - 8002e6c: 4b2a ldr r3, [pc, #168] ; (8002f18 ) - 8002e6e: 607b str r3, [r7, #4] + 80034bc: 687b ldr r3, [r7, #4] + 80034be: 4a29 ldr r2, [pc, #164] ; (8003564 ) + 80034c0: 4293 cmp r3, r2 + 80034c2: dd01 ble.n 80034c8 + 80034c4: 4b27 ldr r3, [pc, #156] ; (8003564 ) + 80034c6: 607b str r3, [r7, #4] - if(key1.code!=0){mode=1;} - 8002e70: 4b2a ldr r3, [pc, #168] ; (8002f1c ) - 8002e72: 681b ldr r3, [r3, #0] - 8002e74: 2b00 cmp r3, #0 - 8002e76: d003 beq.n 8002e80 - 8002e78: 230f movs r3, #15 - 8002e7a: 18fb adds r3, r7, r3 - 8002e7c: 2201 movs r2, #1 - 8002e7e: 701a strb r2, [r3, #0] + if(key4.code!=0){mode=1;} + 80034c8: 4b21 ldr r3, [pc, #132] ; (8003550 ) + 80034ca: 681b ldr r3, [r3, #0] + 80034cc: 2b00 cmp r3, #0 + 80034ce: d003 beq.n 80034d8 + 80034d0: 230f movs r3, #15 + 80034d2: 18fb adds r3, r7, r3 + 80034d4: 2201 movs r2, #1 + 80034d6: 701a strb r2, [r3, #0] dis_buff.d_num[3]=(countdown_set/100)%10; - 8002e80: 687b ldr r3, [r7, #4] - 8002e82: 2164 movs r1, #100 ; 0x64 - 8002e84: 0018 movs r0, r3 - 8002e86: f7fd f9c9 bl 800021c <__divsi3> - 8002e8a: 0003 movs r3, r0 - 8002e8c: 210a movs r1, #10 - 8002e8e: 0018 movs r0, r3 - 8002e90: f7fd faaa bl 80003e8 <__aeabi_idivmod> - 8002e94: 000b movs r3, r1 - 8002e96: b2da uxtb r2, r3 - 8002e98: 4b17 ldr r3, [pc, #92] ; (8002ef8 ) - 8002e9a: 70da strb r2, [r3, #3] + 80034d8: 687b ldr r3, [r7, #4] + 80034da: 2164 movs r1, #100 ; 0x64 + 80034dc: 0018 movs r0, r3 + 80034de: f7fc fe9d bl 800021c <__divsi3> + 80034e2: 0003 movs r3, r0 + 80034e4: 210a movs r1, #10 + 80034e6: 0018 movs r0, r3 + 80034e8: f7fc ff7e bl 80003e8 <__aeabi_idivmod> + 80034ec: 000b movs r3, r1 + 80034ee: b2da uxtb r2, r3 + 80034f0: 4b14 ldr r3, [pc, #80] ; (8003544 ) + 80034f2: 70da strb r2, [r3, #3] dis_buff.d_num[2]=(countdown_set/1000)%10; - 8002e9c: 687b ldr r3, [r7, #4] - 8002e9e: 22fa movs r2, #250 ; 0xfa - 8002ea0: 0091 lsls r1, r2, #2 - 8002ea2: 0018 movs r0, r3 - 8002ea4: f7fd f9ba bl 800021c <__divsi3> - 8002ea8: 0003 movs r3, r0 - 8002eaa: 210a movs r1, #10 - 8002eac: 0018 movs r0, r3 - 8002eae: f7fd fa9b bl 80003e8 <__aeabi_idivmod> - 8002eb2: 000b movs r3, r1 - 8002eb4: b2da uxtb r2, r3 - 8002eb6: 4b10 ldr r3, [pc, #64] ; (8002ef8 ) - 8002eb8: 709a strb r2, [r3, #2] + 80034f4: 687b ldr r3, [r7, #4] + 80034f6: 22fa movs r2, #250 ; 0xfa + 80034f8: 0091 lsls r1, r2, #2 + 80034fa: 0018 movs r0, r3 + 80034fc: f7fc fe8e bl 800021c <__divsi3> + 8003500: 0003 movs r3, r0 + 8003502: 210a movs r1, #10 + 8003504: 0018 movs r0, r3 + 8003506: f7fc ff6f bl 80003e8 <__aeabi_idivmod> + 800350a: 000b movs r3, r1 + 800350c: b2da uxtb r2, r3 + 800350e: 4b0d ldr r3, [pc, #52] ; (8003544 ) + 8003510: 709a strb r2, [r3, #2] dis_buff.d_num[1]=((countdown_set/10000)%10); - 8002eba: 687b ldr r3, [r7, #4] - 8002ebc: 490f ldr r1, [pc, #60] ; (8002efc ) - 8002ebe: 0018 movs r0, r3 - 8002ec0: f7fd f9ac bl 800021c <__divsi3> - 8002ec4: 0003 movs r3, r0 - 8002ec6: 210a movs r1, #10 - 8002ec8: 0018 movs r0, r3 - 8002eca: f7fd fa8d bl 80003e8 <__aeabi_idivmod> - 8002ece: 000b movs r3, r1 - 8002ed0: b2da uxtb r2, r3 - 8002ed2: 4b09 ldr r3, [pc, #36] ; (8002ef8 ) - 8002ed4: 705a strb r2, [r3, #1] + 8003512: 687b ldr r3, [r7, #4] + 8003514: 490c ldr r1, [pc, #48] ; (8003548 ) + 8003516: 0018 movs r0, r3 + 8003518: f7fc fe80 bl 800021c <__divsi3> + 800351c: 0003 movs r3, r0 + 800351e: 210a movs r1, #10 + 8003520: 0018 movs r0, r3 + 8003522: f7fc ff61 bl 80003e8 <__aeabi_idivmod> + 8003526: 000b movs r3, r1 + 8003528: b2da uxtb r2, r3 + 800352a: 4b06 ldr r3, [pc, #24] ; (8003544 ) + 800352c: 705a strb r2, [r3, #1] dis_buff.d_num[1]=dis_buff.d_num[1]==0?16:dis_buff.d_num[1]; - 8002ed6: 4b08 ldr r3, [pc, #32] ; (8002ef8 ) - 8002ed8: 785b ldrb r3, [r3, #1] - 8002eda: 2b00 cmp r3, #0 - 8002edc: d002 beq.n 8002ee4 - 8002ede: 4b06 ldr r3, [pc, #24] ; (8002ef8 ) - 8002ee0: 785a ldrb r2, [r3, #1] - 8002ee2: e000 b.n 8002ee6 - 8002ee4: 2210 movs r2, #16 - 8002ee6: 4b04 ldr r3, [pc, #16] ; (8002ef8 ) - 8002ee8: 705a strb r2, [r3, #1] - dis_buff.dot3=1; - 8002eea: 4b03 ldr r3, [pc, #12] ; (8002ef8 ) - 8002eec: 7a1a ldrb r2, [r3, #8] - 8002eee: 2104 movs r1, #4 - 8002ef0: 430a orrs r2, r1 - 8002ef2: 721a strb r2, [r3, #8] + 800352e: 4b05 ldr r3, [pc, #20] ; (8003544 ) + 8003530: 785b ldrb r3, [r3, #1] + 8003532: 2b00 cmp r3, #0 + 8003534: d002 beq.n 800353c + 8003536: 4b03 ldr r3, [pc, #12] ; (8003544 ) + 8003538: 785a ldrb r2, [r3, #1] + 800353a: e000 b.n 800353e + 800353c: 2210 movs r2, #16 + 800353e: 4b01 ldr r3, [pc, #4] ; (8003544 ) + 8003540: 705a strb r2, [r3, #1] + break; - 8002ef4: e097 b.n 8003026 - 8002ef6: 46c0 nop ; (mov r8, r8) - 8002ef8: 20000028 .word 0x20000028 - 8002efc: 00002710 .word 0x00002710 - 8002f00: 200000a8 .word 0x200000a8 - 8002f04: 20000078 .word 0x20000078 - 8002f08: 20000098 .word 0x20000098 - 8002f0c: 200000dc .word 0x200000dc - 8002f10: 200000cc .word 0x200000cc - 8002f14: fffffc18 .word 0xfffffc18 - 8002f18: 0000ea60 .word 0x0000ea60 - 8002f1c: 20000088 .word 0x20000088 + 8003542: e0f2 b.n 800372a + 8003544: 20000038 .word 0x20000038 + 8003548: 00002710 .word 0x00002710 + 800354c: 20000108 .word 0x20000108 + 8003550: 200000d0 .word 0x200000d0 + 8003554: 200000f8 .word 0x200000f8 + 8003558: 2000013c .word 0x2000013c + 800355c: 2000012c .word 0x2000012c + 8003560: fffffc18 .word 0xfffffc18 + 8003564: 0000ea60 .word 0x0000ea60 case 5: //overload moto.moto1a=0; - 8002f20: 4b5e ldr r3, [pc, #376] ; (800309c ) - 8002f22: 2200 movs r2, #0 - 8002f24: 721a strb r2, [r3, #8] + 8003568: 4ba3 ldr r3, [pc, #652] ; (80037f8 ) + 800356a: 2200 movs r2, #0 + 800356c: 721a strb r2, [r3, #8] moto.moto1b=0; - 8002f26: 4b5d ldr r3, [pc, #372] ; (800309c ) - 8002f28: 2200 movs r2, #0 - 8002f2a: 725a strb r2, [r3, #9] + 800356e: 4ba2 ldr r3, [pc, #648] ; (80037f8 ) + 8003570: 2200 movs r2, #0 + 8003572: 725a strb r2, [r3, #9] moto.moto2a=0; - 8002f2c: 4b5b ldr r3, [pc, #364] ; (800309c ) - 8002f2e: 2200 movs r2, #0 - 8002f30: 729a strb r2, [r3, #10] + 8003574: 4ba0 ldr r3, [pc, #640] ; (80037f8 ) + 8003576: 2200 movs r2, #0 + 8003578: 729a strb r2, [r3, #10] moto.moto2b=0; - 8002f32: 4b5a ldr r3, [pc, #360] ; (800309c ) - 8002f34: 2200 movs r2, #0 - 8002f36: 72da strb r2, [r3, #11] + 800357a: 4b9f ldr r3, [pc, #636] ; (80037f8 ) + 800357c: 2200 movs r2, #0 + 800357e: 72da strb r2, [r3, #11] dis_buff.led_run=1; - 8002f38: 4b59 ldr r3, [pc, #356] ; (80030a0 ) - 8002f3a: 7a1a ldrb r2, [r3, #8] - 8002f3c: 2110 movs r1, #16 - 8002f3e: 430a orrs r2, r1 - 8002f40: 721a strb r2, [r3, #8] + 8003580: 4b9e ldr r3, [pc, #632] ; (80037fc ) + 8003582: 7a1a ldrb r2, [r3, #8] + 8003584: 2110 movs r1, #16 + 8003586: 430a orrs r2, r1 + 8003588: 721a strb r2, [r3, #8] overload_times=0; - 8002f42: 230c movs r3, #12 - 8002f44: 18fb adds r3, r7, r3 - 8002f46: 2200 movs r2, #0 - 8002f48: 801a strh r2, [r3, #0] + 800358a: 230c movs r3, #12 + 800358c: 18fb adds r3, r7, r3 + 800358e: 2200 movs r2, #0 + 8003590: 801a strh r2, [r3, #0] dis_buff.d_num[3]=(countdown/100)%10; - 8002f4a: 68bb ldr r3, [r7, #8] - 8002f4c: 2164 movs r1, #100 ; 0x64 - 8002f4e: 0018 movs r0, r3 - 8002f50: f7fd f964 bl 800021c <__divsi3> - 8002f54: 0003 movs r3, r0 - 8002f56: 210a movs r1, #10 - 8002f58: 0018 movs r0, r3 - 8002f5a: f7fd fa45 bl 80003e8 <__aeabi_idivmod> - 8002f5e: 000b movs r3, r1 - 8002f60: b2da uxtb r2, r3 - 8002f62: 4b4f ldr r3, [pc, #316] ; (80030a0 ) - 8002f64: 70da strb r2, [r3, #3] + 8003592: 68bb ldr r3, [r7, #8] + 8003594: 2164 movs r1, #100 ; 0x64 + 8003596: 0018 movs r0, r3 + 8003598: f7fc fe40 bl 800021c <__divsi3> + 800359c: 0003 movs r3, r0 + 800359e: 210a movs r1, #10 + 80035a0: 0018 movs r0, r3 + 80035a2: f7fc ff21 bl 80003e8 <__aeabi_idivmod> + 80035a6: 000b movs r3, r1 + 80035a8: b2da uxtb r2, r3 + 80035aa: 4b94 ldr r3, [pc, #592] ; (80037fc ) + 80035ac: 70da strb r2, [r3, #3] dis_buff.d_num[2]=(countdown/1000)%10; - 8002f66: 68bb ldr r3, [r7, #8] - 8002f68: 22fa movs r2, #250 ; 0xfa - 8002f6a: 0091 lsls r1, r2, #2 - 8002f6c: 0018 movs r0, r3 - 8002f6e: f7fd f955 bl 800021c <__divsi3> - 8002f72: 0003 movs r3, r0 - 8002f74: 210a movs r1, #10 - 8002f76: 0018 movs r0, r3 - 8002f78: f7fd fa36 bl 80003e8 <__aeabi_idivmod> - 8002f7c: 000b movs r3, r1 - 8002f7e: b2da uxtb r2, r3 - 8002f80: 4b47 ldr r3, [pc, #284] ; (80030a0 ) - 8002f82: 709a strb r2, [r3, #2] + 80035ae: 68bb ldr r3, [r7, #8] + 80035b0: 22fa movs r2, #250 ; 0xfa + 80035b2: 0091 lsls r1, r2, #2 + 80035b4: 0018 movs r0, r3 + 80035b6: f7fc fe31 bl 800021c <__divsi3> + 80035ba: 0003 movs r3, r0 + 80035bc: 210a movs r1, #10 + 80035be: 0018 movs r0, r3 + 80035c0: f7fc ff12 bl 80003e8 <__aeabi_idivmod> + 80035c4: 000b movs r3, r1 + 80035c6: b2da uxtb r2, r3 + 80035c8: 4b8c ldr r3, [pc, #560] ; (80037fc ) + 80035ca: 709a strb r2, [r3, #2] dis_buff.d_num[1]=((countdown/10000)%10); - 8002f84: 68bb ldr r3, [r7, #8] - 8002f86: 4947 ldr r1, [pc, #284] ; (80030a4 ) - 8002f88: 0018 movs r0, r3 - 8002f8a: f7fd f947 bl 800021c <__divsi3> - 8002f8e: 0003 movs r3, r0 - 8002f90: 210a movs r1, #10 - 8002f92: 0018 movs r0, r3 - 8002f94: f7fd fa28 bl 80003e8 <__aeabi_idivmod> - 8002f98: 000b movs r3, r1 - 8002f9a: b2da uxtb r2, r3 - 8002f9c: 4b40 ldr r3, [pc, #256] ; (80030a0 ) - 8002f9e: 705a strb r2, [r3, #1] + 80035cc: 68bb ldr r3, [r7, #8] + 80035ce: 498c ldr r1, [pc, #560] ; (8003800 ) + 80035d0: 0018 movs r0, r3 + 80035d2: f7fc fe23 bl 800021c <__divsi3> + 80035d6: 0003 movs r3, r0 + 80035d8: 210a movs r1, #10 + 80035da: 0018 movs r0, r3 + 80035dc: f7fc ff04 bl 80003e8 <__aeabi_idivmod> + 80035e0: 000b movs r3, r1 + 80035e2: b2da uxtb r2, r3 + 80035e4: 4b85 ldr r3, [pc, #532] ; (80037fc ) + 80035e6: 705a strb r2, [r3, #1] dis_buff.d_num[1]=dis_buff.d_num[1]==0?16:dis_buff.d_num[1]; - 8002fa0: 4b3f ldr r3, [pc, #252] ; (80030a0 ) - 8002fa2: 785b ldrb r3, [r3, #1] - 8002fa4: 2b00 cmp r3, #0 - 8002fa6: d002 beq.n 8002fae - 8002fa8: 4b3d ldr r3, [pc, #244] ; (80030a0 ) - 8002faa: 785a ldrb r2, [r3, #1] - 8002fac: e000 b.n 8002fb0 - 8002fae: 2210 movs r2, #16 - 8002fb0: 4b3b ldr r3, [pc, #236] ; (80030a0 ) - 8002fb2: 705a strb r2, [r3, #1] + 80035e8: 4b84 ldr r3, [pc, #528] ; (80037fc ) + 80035ea: 785b ldrb r3, [r3, #1] + 80035ec: 2b00 cmp r3, #0 + 80035ee: d002 beq.n 80035f6 + 80035f0: 4b82 ldr r3, [pc, #520] ; (80037fc ) + 80035f2: 785a ldrb r2, [r3, #1] + 80035f4: e000 b.n 80035f8 + 80035f6: 2210 movs r2, #16 + 80035f8: 4b80 ldr r3, [pc, #512] ; (80037fc ) + 80035fa: 705a strb r2, [r3, #1] dis_buff.dot3=1; - 8002fb4: 4b3a ldr r3, [pc, #232] ; (80030a0 ) - 8002fb6: 7a1a ldrb r2, [r3, #8] - 8002fb8: 2104 movs r1, #4 - 8002fba: 430a orrs r2, r1 - 8002fbc: 721a strb r2, [r3, #8] + 80035fc: 4b7f ldr r3, [pc, #508] ; (80037fc ) + 80035fe: 7a1a ldrb r2, [r3, #8] + 8003600: 2104 movs r1, #4 + 8003602: 430a orrs r2, r1 + 8003604: 721a strb r2, [r3, #8] if(key4.code!=0){mode=1;} - 8002fbe: 4b3a ldr r3, [pc, #232] ; (80030a8 ) - 8002fc0: 681b ldr r3, [r3, #0] - 8002fc2: 2b00 cmp r3, #0 - 8002fc4: d003 beq.n 8002fce - 8002fc6: 230f movs r3, #15 - 8002fc8: 18fb adds r3, r7, r3 - 8002fca: 2201 movs r2, #1 - 8002fcc: 701a strb r2, [r3, #0] + 8003606: 4b7f ldr r3, [pc, #508] ; (8003804 ) + 8003608: 681b ldr r3, [r3, #0] + 800360a: 2b00 cmp r3, #0 + 800360c: d003 beq.n 8003616 + 800360e: 230f movs r3, #15 + 8003610: 18fb adds r3, r7, r3 + 8003612: 2201 movs r2, #1 + 8003614: 701a strb r2, [r3, #0] if(key2.code!=0) - 8002fce: 4b37 ldr r3, [pc, #220] ; (80030ac ) - 8002fd0: 681b ldr r3, [r3, #0] - 8002fd2: 2b00 cmp r3, #0 - 8002fd4: d00c beq.n 8002ff0 + 8003616: 4b7c ldr r3, [pc, #496] ; (8003808 ) + 8003618: 681b ldr r3, [r3, #0] + 800361a: 2b00 cmp r3, #0 + 800361c: d00c beq.n 8003638 { mode=2; - 8002fd6: 230f movs r3, #15 - 8002fd8: 18fb adds r3, r7, r3 - 8002fda: 2202 movs r2, #2 - 8002fdc: 701a strb r2, [r3, #0] + 800361e: 230f movs r3, #15 + 8003620: 18fb adds r3, r7, r3 + 8003622: 2202 movs r2, #2 + 8003624: 701a strb r2, [r3, #0] if(overload_mode==2) - 8002fde: 230e movs r3, #14 - 8002fe0: 18fb adds r3, r7, r3 - 8002fe2: 781b ldrb r3, [r3, #0] - 8002fe4: 2b02 cmp r3, #2 - 8002fe6: d003 beq.n 8002ff0 + 8003626: 230e movs r3, #14 + 8003628: 18fb adds r3, r7, r3 + 800362a: 781b ldrb r3, [r3, #0] + 800362c: 2b02 cmp r3, #2 + 800362e: d003 beq.n 8003638 { }else { countdown=countdown_set-countdown; - 8002fe8: 687a ldr r2, [r7, #4] - 8002fea: 68bb ldr r3, [r7, #8] - 8002fec: 1ad3 subs r3, r2, r3 - 8002fee: 60bb str r3, [r7, #8] + 8003630: 687a ldr r2, [r7, #4] + 8003632: 68bb ldr r3, [r7, #8] + 8003634: 1ad3 subs r3, r2, r3 + 8003636: 60bb str r3, [r7, #8] } } if(key3.code!=0) - 8002ff0: 4b2f ldr r3, [pc, #188] ; (80030b0 ) - 8002ff2: 681b ldr r3, [r3, #0] - 8002ff4: 2b00 cmp r3, #0 - 8002ff6: d015 beq.n 8003024 + 8003638: 4b74 ldr r3, [pc, #464] ; (800380c ) + 800363a: 681b ldr r3, [r3, #0] + 800363c: 2b00 cmp r3, #0 + 800363e: d100 bne.n 8003642 + 8003640: e072 b.n 8003728 { mode=3; - 8002ff8: 230f movs r3, #15 - 8002ffa: 18fb adds r3, r7, r3 - 8002ffc: 2203 movs r2, #3 - 8002ffe: 701a strb r2, [r3, #0] + 8003642: 230f movs r3, #15 + 8003644: 18fb adds r3, r7, r3 + 8003646: 2203 movs r2, #3 + 8003648: 701a strb r2, [r3, #0] if(overload_mode==3) - 8003000: 230e movs r3, #14 - 8003002: 18fb adds r3, r7, r3 - 8003004: 781b ldrb r3, [r3, #0] - 8003006: 2b03 cmp r3, #3 - 8003008: d00c beq.n 8003024 + 800364a: 230e movs r3, #14 + 800364c: 18fb adds r3, r7, r3 + 800364e: 781b ldrb r3, [r3, #0] + 8003650: 2b03 cmp r3, #3 + 8003652: d069 beq.n 8003728 { }else { countdown=countdown_set-countdown; - 800300a: 687a ldr r2, [r7, #4] - 800300c: 68bb ldr r3, [r7, #8] - 800300e: 1ad3 subs r3, r2, r3 - 8003010: 60bb str r3, [r7, #8] + 8003654: 687a ldr r2, [r7, #4] + 8003656: 68bb ldr r3, [r7, #8] + 8003658: 1ad3 subs r3, r2, r3 + 800365a: 60bb str r3, [r7, #8] } } break; - 8003012: e007 b.n 8003024 + 800365c: e064 b.n 8003728 + case 6: + //debug + if(HAL_GetTick()>runtime) + 800365e: f7fd f989 bl 8000974 + 8003662: 0002 movs r2, r0 + 8003664: 697b ldr r3, [r7, #20] + 8003666: 4293 cmp r3, r2 + 8003668: d221 bcs.n 80036ae + { + runtime+=1000; + 800366a: 697b ldr r3, [r7, #20] + 800366c: 22fa movs r2, #250 ; 0xfa + 800366e: 0092 lsls r2, r2, #2 + 8003670: 4694 mov ip, r2 + 8003672: 4463 add r3, ip + 8003674: 617b str r3, [r7, #20] + + if(dis_buff.led_run==1) + 8003676: 4b61 ldr r3, [pc, #388] ; (80037fc ) + 8003678: 7a1b ldrb r3, [r3, #8] + 800367a: 2210 movs r2, #16 + 800367c: 4013 ands r3, r2 + 800367e: b2db uxtb r3, r3 + 8003680: 2b00 cmp r3, #0 + 8003682: d00a beq.n 800369a + { + dis_buff.led_run=0; + 8003684: 4b5d ldr r3, [pc, #372] ; (80037fc ) + 8003686: 7a1a ldrb r2, [r3, #8] + 8003688: 2110 movs r1, #16 + 800368a: 438a bics r2, r1 + 800368c: 721a strb r2, [r3, #8] + dis_buff.dot4=1; + 800368e: 4b5b ldr r3, [pc, #364] ; (80037fc ) + 8003690: 7a1a ldrb r2, [r3, #8] + 8003692: 2108 movs r1, #8 + 8003694: 430a orrs r2, r1 + 8003696: 721a strb r2, [r3, #8] + 8003698: e009 b.n 80036ae + }else + { + dis_buff.led_run=1; + 800369a: 4b58 ldr r3, [pc, #352] ; (80037fc ) + 800369c: 7a1a ldrb r2, [r3, #8] + 800369e: 2110 movs r1, #16 + 80036a0: 430a orrs r2, r1 + 80036a2: 721a strb r2, [r3, #8] + dis_buff.dot4=0; + 80036a4: 4b55 ldr r3, [pc, #340] ; (80037fc ) + 80036a6: 7a1a ldrb r2, [r3, #8] + 80036a8: 2108 movs r1, #8 + 80036aa: 438a bics r2, r1 + 80036ac: 721a strb r2, [r3, #8] + } + } + dis_buff.d_num[3]=(r480.times/100)%10; + 80036ae: 4b58 ldr r3, [pc, #352] ; (8003810 ) + 80036b0: 889b ldrh r3, [r3, #4] + 80036b2: 2164 movs r1, #100 ; 0x64 + 80036b4: 0018 movs r0, r3 + 80036b6: f7fc fd27 bl 8000108 <__udivsi3> + 80036ba: 0003 movs r3, r0 + 80036bc: b29b uxth r3, r3 + 80036be: 210a movs r1, #10 + 80036c0: 0018 movs r0, r3 + 80036c2: f7fc fda7 bl 8000214 <__aeabi_uidivmod> + 80036c6: 000b movs r3, r1 + 80036c8: b29b uxth r3, r3 + 80036ca: b2da uxtb r2, r3 + 80036cc: 4b4b ldr r3, [pc, #300] ; (80037fc ) + 80036ce: 70da strb r2, [r3, #3] + dis_buff.d_num[2]=(r480.times/1000)%10; + 80036d0: 4b4f ldr r3, [pc, #316] ; (8003810 ) + 80036d2: 889b ldrh r3, [r3, #4] + 80036d4: 22fa movs r2, #250 ; 0xfa + 80036d6: 0091 lsls r1, r2, #2 + 80036d8: 0018 movs r0, r3 + 80036da: f7fc fd15 bl 8000108 <__udivsi3> + 80036de: 0003 movs r3, r0 + 80036e0: b29b uxth r3, r3 + 80036e2: 210a movs r1, #10 + 80036e4: 0018 movs r0, r3 + 80036e6: f7fc fd95 bl 8000214 <__aeabi_uidivmod> + 80036ea: 000b movs r3, r1 + 80036ec: b29b uxth r3, r3 + 80036ee: b2da uxtb r2, r3 + 80036f0: 4b42 ldr r3, [pc, #264] ; (80037fc ) + 80036f2: 709a strb r2, [r3, #2] + dis_buff.d_num[1]=((r480.times/10000)%10); + 80036f4: 4b46 ldr r3, [pc, #280] ; (8003810 ) + 80036f6: 889b ldrh r3, [r3, #4] + 80036f8: 4941 ldr r1, [pc, #260] ; (8003800 ) + 80036fa: 0018 movs r0, r3 + 80036fc: f7fc fd04 bl 8000108 <__udivsi3> + 8003700: 0003 movs r3, r0 + 8003702: b29b uxth r3, r3 + 8003704: 210a movs r1, #10 + 8003706: 0018 movs r0, r3 + 8003708: f7fc fd84 bl 8000214 <__aeabi_uidivmod> + 800370c: 000b movs r3, r1 + 800370e: b29b uxth r3, r3 + 8003710: b2da uxtb r2, r3 + 8003712: 4b3a ldr r3, [pc, #232] ; (80037fc ) + 8003714: 705a strb r2, [r3, #1] break; - 8003014: 46c0 nop ; (mov r8, r8) - 8003016: e006 b.n 8003026 + 8003716: e008 b.n 800372a break; - 8003018: 46c0 nop ; (mov r8, r8) - 800301a: e004 b.n 8003026 + 8003718: 46c0 nop ; (mov r8, r8) + 800371a: e006 b.n 800372a break; - 800301c: 46c0 nop ; (mov r8, r8) - 800301e: e002 b.n 8003026 + 800371c: 46c0 nop ; (mov r8, r8) + 800371e: e004 b.n 800372a break; - 8003020: 46c0 nop ; (mov r8, r8) - 8003022: e000 b.n 8003026 + 8003720: 46c0 nop ; (mov r8, r8) + 8003722: e002 b.n 800372a break; - 8003024: 46c0 nop ; (mov r8, r8) + 8003724: 46c0 nop ; (mov r8, r8) + 8003726: e000 b.n 800372a + break; + 8003728: 46c0 nop ; (mov r8, r8) } if(ADCC.adc_value[0]>600||ADCC.adc_value[1]>600) - 8003026: 4b23 ldr r3, [pc, #140] ; (80030b4 ) - 8003028: 68da ldr r2, [r3, #12] - 800302a: 2396 movs r3, #150 ; 0x96 - 800302c: 009b lsls r3, r3, #2 - 800302e: 429a cmp r2, r3 - 8003030: dc05 bgt.n 800303e - 8003032: 4b20 ldr r3, [pc, #128] ; (80030b4 ) - 8003034: 691a ldr r2, [r3, #16] - 8003036: 2396 movs r3, #150 ; 0x96 - 8003038: 009b lsls r3, r3, #2 - 800303a: 429a cmp r2, r3 - 800303c: dd05 ble.n 800304a + 800372a: 4b3a ldr r3, [pc, #232] ; (8003814 ) + 800372c: 68da ldr r2, [r3, #12] + 800372e: 2396 movs r3, #150 ; 0x96 + 8003730: 009b lsls r3, r3, #2 + 8003732: 429a cmp r2, r3 + 8003734: dc05 bgt.n 8003742 + 8003736: 4b37 ldr r3, [pc, #220] ; (8003814 ) + 8003738: 691a ldr r2, [r3, #16] + 800373a: 2396 movs r3, #150 ; 0x96 + 800373c: 009b lsls r3, r3, #2 + 800373e: 429a cmp r2, r3 + 8003740: dd05 ble.n 800374e { GEI_BUTTON_CODE(&overload,1); - 800303e: 4b1e ldr r3, [pc, #120] ; (80030b8 ) - 8003040: 2101 movs r1, #1 - 8003042: 0018 movs r0, r3 - 8003044: f7fe ff60 bl 8001f08 - 8003048: e004 b.n 8003054 + 8003742: 4b35 ldr r3, [pc, #212] ; (8003818 ) + 8003744: 2101 movs r1, #1 + 8003746: 0018 movs r0, r3 + 8003748: f7fe ff06 bl 8002558 + 800374c: e004 b.n 8003758 }else { GEI_BUTTON_CODE(&overload,0); - 800304a: 4b1b ldr r3, [pc, #108] ; (80030b8 ) - 800304c: 2100 movs r1, #0 - 800304e: 0018 movs r0, r3 - 8003050: f7fe ff5a bl 8001f08 + 800374e: 4b32 ldr r3, [pc, #200] ; (8003818 ) + 8003750: 2100 movs r1, #0 + 8003752: 0018 movs r0, r3 + 8003754: f7fe ff00 bl 8002558 } + + + + switch(r480.key) + 8003758: 4b2d ldr r3, [pc, #180] ; (8003810 ) + 800375a: 789b ldrb r3, [r3, #2] + 800375c: 2bde cmp r3, #222 ; 0xde + 800375e: d014 beq.n 800378a + 8003760: dc17 bgt.n 8003792 + 8003762: 2bdd cmp r3, #221 ; 0xdd + 8003764: d00d beq.n 8003782 + 8003766: dc14 bgt.n 8003792 + 8003768: 2bd7 cmp r3, #215 ; 0xd7 + 800376a: d002 beq.n 8003772 + 800376c: 2bdb cmp r3, #219 ; 0xdb + 800376e: d004 beq.n 800377a + 8003770: e00f b.n 8003792 + { + case 0xd7: + dis_buff.button_flag[0]=1; + 8003772: 4b22 ldr r3, [pc, #136] ; (80037fc ) + 8003774: 2201 movs r2, #1 + 8003776: 711a strb r2, [r3, #4] + break; + 8003778: e00b b.n 8003792 + case 0xdb: + dis_buff.button_flag[1]=1; + 800377a: 4b20 ldr r3, [pc, #128] ; (80037fc ) + 800377c: 2201 movs r2, #1 + 800377e: 715a strb r2, [r3, #5] + break; + 8003780: e007 b.n 8003792 + case 0xdd: + dis_buff.button_flag[2]=1; + 8003782: 4b1e ldr r3, [pc, #120] ; (80037fc ) + 8003784: 2201 movs r2, #1 + 8003786: 719a strb r2, [r3, #6] + break; + 8003788: e003 b.n 8003792 + case 0xde: + dis_buff.button_flag[3]=1; + 800378a: 4b1c ldr r3, [pc, #112] ; (80037fc ) + 800378c: 2201 movs r2, #1 + 800378e: 71da strb r2, [r3, #7] + break; + 8003790: 46c0 nop ; (mov r8, r8) + } + r480.key=0; + 8003792: 4b1f ldr r3, [pc, #124] ; (8003810 ) + 8003794: 2200 movs r2, #0 + 8003796: 709a strb r2, [r3, #2] + GEI_BUTTON_CODE(&key1,dis_buff.button_flag[0]); - 8003054: 4b12 ldr r3, [pc, #72] ; (80030a0 ) - 8003056: 791a ldrb r2, [r3, #4] - 8003058: 4b18 ldr r3, [pc, #96] ; (80030bc ) - 800305a: 0011 movs r1, r2 - 800305c: 0018 movs r0, r3 - 800305e: f7fe ff53 bl 8001f08 + 8003798: 4b18 ldr r3, [pc, #96] ; (80037fc ) + 800379a: 791a ldrb r2, [r3, #4] + 800379c: 4b1f ldr r3, [pc, #124] ; (800381c ) + 800379e: 0011 movs r1, r2 + 80037a0: 0018 movs r0, r3 + 80037a2: f7fe fed9 bl 8002558 GEI_BUTTON_CODE(&key2,dis_buff.button_flag[1]); - 8003062: 4b0f ldr r3, [pc, #60] ; (80030a0 ) - 8003064: 795a ldrb r2, [r3, #5] - 8003066: 4b11 ldr r3, [pc, #68] ; (80030ac ) - 8003068: 0011 movs r1, r2 - 800306a: 0018 movs r0, r3 - 800306c: f7fe ff4c bl 8001f08 + 80037a6: 4b15 ldr r3, [pc, #84] ; (80037fc ) + 80037a8: 795a ldrb r2, [r3, #5] + 80037aa: 4b17 ldr r3, [pc, #92] ; (8003808 ) + 80037ac: 0011 movs r1, r2 + 80037ae: 0018 movs r0, r3 + 80037b0: f7fe fed2 bl 8002558 GEI_BUTTON_CODE(&key3,dis_buff.button_flag[2]); - 8003070: 4b0b ldr r3, [pc, #44] ; (80030a0 ) - 8003072: 799a ldrb r2, [r3, #6] - 8003074: 4b0e ldr r3, [pc, #56] ; (80030b0 ) - 8003076: 0011 movs r1, r2 - 8003078: 0018 movs r0, r3 - 800307a: f7fe ff45 bl 8001f08 + 80037b4: 4b11 ldr r3, [pc, #68] ; (80037fc ) + 80037b6: 799a ldrb r2, [r3, #6] + 80037b8: 4b14 ldr r3, [pc, #80] ; (800380c ) + 80037ba: 0011 movs r1, r2 + 80037bc: 0018 movs r0, r3 + 80037be: f7fe fecb bl 8002558 GEI_BUTTON_CODE(&key4,dis_buff.button_flag[3]); - 800307e: 4b08 ldr r3, [pc, #32] ; (80030a0 ) - 8003080: 79da ldrb r2, [r3, #7] - 8003082: 4b09 ldr r3, [pc, #36] ; (80030a8 ) - 8003084: 0011 movs r1, r2 - 8003086: 0018 movs r0, r3 - 8003088: f7fe ff3e bl 8001f08 + 80037c2: 4b0e ldr r3, [pc, #56] ; (80037fc ) + 80037c4: 79da ldrb r2, [r3, #7] + 80037c6: 4b0f ldr r3, [pc, #60] ; (8003804 ) + 80037c8: 0011 movs r1, r2 + 80037ca: 0018 movs r0, r3 + 80037cc: f7fe fec4 bl 8002558 + + dis_buff.button_flag[0]=0; + 80037d0: 4b0a ldr r3, [pc, #40] ; (80037fc ) + 80037d2: 2200 movs r2, #0 + 80037d4: 711a strb r2, [r3, #4] + dis_buff.button_flag[1]=0; + 80037d6: 4b09 ldr r3, [pc, #36] ; (80037fc ) + 80037d8: 2200 movs r2, #0 + 80037da: 715a strb r2, [r3, #5] + dis_buff.button_flag[2]=0; + 80037dc: 4b07 ldr r3, [pc, #28] ; (80037fc ) + 80037de: 2200 movs r2, #0 + 80037e0: 719a strb r2, [r3, #6] + dis_buff.button_flag[3]=0; + 80037e2: 4b06 ldr r3, [pc, #24] ; (80037fc ) + 80037e4: 2200 movs r2, #0 + 80037e6: 71da strb r2, [r3, #7] + + HT1621_Display_GetButton(); - 800308c: f7ff fae8 bl 8002660 + 80037e8: f7ff fa62 bl 8002cb0 hc2_sever(); - 8003090: f7ff f9b2 bl 80023f8 + 80037ec: f7ff f92c bl 8002a48 moto_server(); - 8003094: f7ff fa02 bl 800249c + 80037f0: f7ff f97c bl 8002aec for(char a=0;a<2;a++) - 8003098: f7ff fbd6 bl 8002848 - 800309c: 200000dc .word 0x200000dc - 80030a0: 20000028 .word 0x20000028 - 80030a4: 00002710 .word 0x00002710 - 80030a8: 20000078 .word 0x20000078 - 80030ac: 200000cc .word 0x200000cc - 80030b0: 200000a8 .word 0x200000a8 - 80030b4: 200000b8 .word 0x200000b8 - 80030b8: 20000098 .word 0x20000098 - 80030bc: 20000088 .word 0x20000088 + 80037f4: f7ff fb52 bl 8002e9c + 80037f8: 2000013c .word 0x2000013c + 80037fc: 20000038 .word 0x20000038 + 8003800: 00002710 .word 0x00002710 + 8003804: 200000d0 .word 0x200000d0 + 8003808: 2000012c .word 0x2000012c + 800380c: 20000108 .word 0x20000108 + 8003810: 200000e0 .word 0x200000e0 + 8003814: 20000118 .word 0x20000118 + 8003818: 200000f8 .word 0x200000f8 + 800381c: 200000e8 .word 0x200000e8 -080030c0 <__libc_init_array>: - 80030c0: b570 push {r4, r5, r6, lr} - 80030c2: 2600 movs r6, #0 - 80030c4: 4d0c ldr r5, [pc, #48] ; (80030f8 <__libc_init_array+0x38>) - 80030c6: 4c0d ldr r4, [pc, #52] ; (80030fc <__libc_init_array+0x3c>) - 80030c8: 1b64 subs r4, r4, r5 - 80030ca: 10a4 asrs r4, r4, #2 - 80030cc: 42a6 cmp r6, r4 - 80030ce: d109 bne.n 80030e4 <__libc_init_array+0x24> - 80030d0: 2600 movs r6, #0 - 80030d2: f000 f821 bl 8003118 <_init> - 80030d6: 4d0a ldr r5, [pc, #40] ; (8003100 <__libc_init_array+0x40>) - 80030d8: 4c0a ldr r4, [pc, #40] ; (8003104 <__libc_init_array+0x44>) - 80030da: 1b64 subs r4, r4, r5 - 80030dc: 10a4 asrs r4, r4, #2 - 80030de: 42a6 cmp r6, r4 - 80030e0: d105 bne.n 80030ee <__libc_init_array+0x2e> - 80030e2: bd70 pop {r4, r5, r6, pc} - 80030e4: 00b3 lsls r3, r6, #2 - 80030e6: 58eb ldr r3, [r5, r3] - 80030e8: 4798 blx r3 - 80030ea: 3601 adds r6, #1 - 80030ec: e7ee b.n 80030cc <__libc_init_array+0xc> - 80030ee: 00b3 lsls r3, r6, #2 - 80030f0: 58eb ldr r3, [r5, r3] - 80030f2: 4798 blx r3 - 80030f4: 3601 adds r6, #1 - 80030f6: e7f2 b.n 80030de <__libc_init_array+0x1e> - 80030f8: 08003194 .word 0x08003194 - 80030fc: 08003194 .word 0x08003194 - 8003100: 08003194 .word 0x08003194 - 8003104: 08003198 .word 0x08003198 +08003820 : +int read_char_flag=0; +char read_data_buffer[3]; +char read_begin=0; -08003108 : - 8003108: 0003 movs r3, r0 - 800310a: 1882 adds r2, r0, r2 - 800310c: 4293 cmp r3, r2 - 800310e: d100 bne.n 8003112 - 8003110: 4770 bx lr - 8003112: 7019 strb r1, [r3, #0] - 8003114: 3301 adds r3, #1 - 8003116: e7f9 b.n 800310c +void r480_init() +{ + 8003820: b580 push {r7, lr} + 8003822: af00 add r7, sp, #0 + HAL_TIM_Base_Start_IT(&htim14); + 8003824: 4b04 ldr r3, [pc, #16] ; (8003838 ) + 8003826: 0018 movs r0, r3 + 8003828: f7fe fc9e bl 8002168 + r480.times=0; + 800382c: 4b03 ldr r3, [pc, #12] ; (800383c ) + 800382e: 2200 movs r2, #0 + 8003830: 809a strh r2, [r3, #4] +} + 8003832: 46c0 nop ; (mov r8, r8) + 8003834: 46bd mov sp, r7 + 8003836: bd80 pop {r7, pc} + 8003838: 20000044 .word 0x20000044 + 800383c: 200000e0 .word 0x200000e0 -08003118 <_init>: - 8003118: b5f8 push {r3, r4, r5, r6, r7, lr} - 800311a: 46c0 nop ; (mov r8, r8) - 800311c: bcf8 pop {r3, r4, r5, r6, r7} - 800311e: bc08 pop {r3} - 8003120: 469e mov lr, r3 - 8003122: 4770 bx lr +08003840 : -08003124 <_fini>: - 8003124: b5f8 push {r3, r4, r5, r6, r7, lr} - 8003126: 46c0 nop ; (mov r8, r8) - 8003128: bcf8 pop {r3, r4, r5, r6, r7} - 800312a: bc08 pop {r3} - 800312c: 469e mov lr, r3 - 800312e: 4770 bx lr +void read_433_exit() +{ + 8003840: b590 push {r4, r7, lr} + 8003842: b083 sub sp, #12 + 8003844: af00 add r7, sp, #0 + + char a=read_infrared; + 8003846: 1dfc adds r4, r7, #7 + 8003848: 2390 movs r3, #144 ; 0x90 + 800384a: 05db lsls r3, r3, #23 + 800384c: 2108 movs r1, #8 + 800384e: 0018 movs r0, r3 + 8003850: f7fd ff98 bl 8001784 + 8003854: 0003 movs r3, r0 + 8003856: 7023 strb r3, [r4, #0] + int b; + if(read_begin==0) + 8003858: 4b41 ldr r3, [pc, #260] ; (8003960 ) + 800385a: 781b ldrb r3, [r3, #0] + 800385c: 2b00 cmp r3, #0 + 800385e: d123 bne.n 80038a8 + { + if(a==0) + 8003860: 1dfb adds r3, r7, #7 + 8003862: 781b ldrb r3, [r3, #0] + 8003864: 2b00 cmp r3, #0 + 8003866: d103 bne.n 8003870 + { + timer_100us_tick=0; + 8003868: 4b3e ldr r3, [pc, #248] ; (8003964 ) + 800386a: 2200 movs r2, #0 + 800386c: 801a strh r2, [r3, #0] + return ; + 800386e: e073 b.n 8003958 + }else + { + if(timer_100us_tick>70&&timer_100us_tick<100) + 8003870: 4b3c ldr r3, [pc, #240] ; (8003964 ) + 8003872: 881b ldrh r3, [r3, #0] + 8003874: 2b46 cmp r3, #70 ; 0x46 + 8003876: d800 bhi.n 800387a + 8003878: e06e b.n 8003958 + 800387a: 4b3a ldr r3, [pc, #232] ; (8003964 ) + 800387c: 881b ldrh r3, [r3, #0] + 800387e: 2b63 cmp r3, #99 ; 0x63 + 8003880: d86a bhi.n 8003958 + { + read_begin=1; + 8003882: 4b37 ldr r3, [pc, #220] ; (8003960 ) + 8003884: 2201 movs r2, #1 + 8003886: 701a strb r2, [r3, #0] + r480.times++; + 8003888: 4b37 ldr r3, [pc, #220] ; (8003968 ) + 800388a: 889b ldrh r3, [r3, #4] + 800388c: 3301 adds r3, #1 + 800388e: b29a uxth r2, r3 + 8003890: 4b35 ldr r3, [pc, #212] ; (8003968 ) + 8003892: 809a strh r2, [r3, #4] + read_bit_flag=0; + 8003894: 4b35 ldr r3, [pc, #212] ; (800396c ) + 8003896: 2200 movs r2, #0 + 8003898: 601a str r2, [r3, #0] + read_char_flag=0; + 800389a: 4b35 ldr r3, [pc, #212] ; (8003970 ) + 800389c: 2200 movs r2, #0 + 800389e: 601a str r2, [r3, #0] + timer_100us_tick=0; + 80038a0: 4b30 ldr r3, [pc, #192] ; (8003964 ) + 80038a2: 2200 movs r2, #0 + 80038a4: 801a strh r2, [r3, #0] + return ; + 80038a6: e057 b.n 8003958 + } + } + + }else + { + if(timer_100us_tick<5) + 80038a8: 4b2e ldr r3, [pc, #184] ; (8003964 ) + 80038aa: 881b ldrh r3, [r3, #0] + 80038ac: 2b04 cmp r3, #4 + 80038ae: d803 bhi.n 80038b8 + { + timer_100us_tick=0; + 80038b0: 4b2c ldr r3, [pc, #176] ; (8003964 ) + 80038b2: 2200 movs r2, #0 + 80038b4: 801a strh r2, [r3, #0] + return ; + 80038b6: e04f b.n 8003958 + }else if(timer_100us_tick<12) + 80038b8: 4b2a ldr r3, [pc, #168] ; (8003964 ) + 80038ba: 881b ldrh r3, [r3, #0] + 80038bc: 2b0b cmp r3, #11 + 80038be: d844 bhi.n 800394a + { + read_data_buffer[read_char_flag]<<=1; + 80038c0: 4b2b ldr r3, [pc, #172] ; (8003970 ) + 80038c2: 681b ldr r3, [r3, #0] + 80038c4: 4a2b ldr r2, [pc, #172] ; (8003974 ) + 80038c6: 5cd1 ldrb r1, [r2, r3] + 80038c8: 4b29 ldr r3, [pc, #164] ; (8003970 ) + 80038ca: 681a ldr r2, [r3, #0] + 80038cc: 1c0b adds r3, r1, #0 + 80038ce: 18db adds r3, r3, r3 + 80038d0: b2d9 uxtb r1, r3 + 80038d2: 4b28 ldr r3, [pc, #160] ; (8003974 ) + 80038d4: 5499 strb r1, [r3, r2] + if(a==1) + 80038d6: 1dfb adds r3, r7, #7 + 80038d8: 781b ldrb r3, [r3, #0] + 80038da: 2b01 cmp r3, #1 + 80038dc: d10a bne.n 80038f4 + { + read_data_buffer[read_char_flag]|=0x01; + 80038de: 4b24 ldr r3, [pc, #144] ; (8003970 ) + 80038e0: 681b ldr r3, [r3, #0] + 80038e2: 4a24 ldr r2, [pc, #144] ; (8003974 ) + 80038e4: 5cd2 ldrb r2, [r2, r3] + 80038e6: 4b22 ldr r3, [pc, #136] ; (8003970 ) + 80038e8: 681b ldr r3, [r3, #0] + 80038ea: 2101 movs r1, #1 + 80038ec: 430a orrs r2, r1 + 80038ee: b2d1 uxtb r1, r2 + 80038f0: 4a20 ldr r2, [pc, #128] ; (8003974 ) + 80038f2: 54d1 strb r1, [r2, r3] + } + read_bit_flag++; + 80038f4: 4b1d ldr r3, [pc, #116] ; (800396c ) + 80038f6: 681b ldr r3, [r3, #0] + 80038f8: 1c5a adds r2, r3, #1 + 80038fa: 4b1c ldr r3, [pc, #112] ; (800396c ) + 80038fc: 601a str r2, [r3, #0] + if(read_bit_flag==8) + 80038fe: 4b1b ldr r3, [pc, #108] ; (800396c ) + 8003900: 681b ldr r3, [r3, #0] + 8003902: 2b08 cmp r3, #8 + 8003904: d11d bne.n 8003942 + { + read_bit_flag=0; + 8003906: 4b19 ldr r3, [pc, #100] ; (800396c ) + 8003908: 2200 movs r2, #0 + 800390a: 601a str r2, [r3, #0] + read_char_flag++; + 800390c: 4b18 ldr r3, [pc, #96] ; (8003970 ) + 800390e: 681b ldr r3, [r3, #0] + 8003910: 1c5a adds r2, r3, #1 + 8003912: 4b17 ldr r3, [pc, #92] ; (8003970 ) + 8003914: 601a str r2, [r3, #0] + if(read_char_flag==3) + 8003916: 4b16 ldr r3, [pc, #88] ; (8003970 ) + 8003918: 681b ldr r3, [r3, #0] + 800391a: 2b03 cmp r3, #3 + 800391c: d111 bne.n 8003942 + { + //got data + + read_char_flag=0; + 800391e: 4b14 ldr r3, [pc, #80] ; (8003970 ) + 8003920: 2200 movs r2, #0 + 8003922: 601a str r2, [r3, #0] + timer_100us_tick=0; + 8003924: 4b0f ldr r3, [pc, #60] ; (8003964 ) + 8003926: 2200 movs r2, #0 + 8003928: 801a strh r2, [r3, #0] + + r480.add[0]=read_data_buffer[0]; + 800392a: 4b12 ldr r3, [pc, #72] ; (8003974 ) + 800392c: 781a ldrb r2, [r3, #0] + 800392e: 4b0e ldr r3, [pc, #56] ; (8003968 ) + 8003930: 701a strb r2, [r3, #0] + r480.add[1]=read_data_buffer[1]; + 8003932: 4b10 ldr r3, [pc, #64] ; (8003974 ) + 8003934: 785a ldrb r2, [r3, #1] + 8003936: 4b0c ldr r3, [pc, #48] ; (8003968 ) + 8003938: 705a strb r2, [r3, #1] + r480.key=read_data_buffer[2]; + 800393a: 4b0e ldr r3, [pc, #56] ; (8003974 ) + 800393c: 789a ldrb r2, [r3, #2] + 800393e: 4b0a ldr r3, [pc, #40] ; (8003968 ) + 8003940: 709a strb r2, [r3, #2] + } + } + timer_100us_tick=0; + 8003942: 4b08 ldr r3, [pc, #32] ; (8003964 ) + 8003944: 2200 movs r2, #0 + 8003946: 801a strh r2, [r3, #0] + return ; + 8003948: e006 b.n 8003958 + }else//time out + { + read_begin=0; + 800394a: 4b05 ldr r3, [pc, #20] ; (8003960 ) + 800394c: 2200 movs r2, #0 + 800394e: 701a strb r2, [r3, #0] + timer_100us_tick=0; + 8003950: 4b04 ldr r3, [pc, #16] ; (8003964 ) + 8003952: 2200 movs r2, #0 + 8003954: 801a strh r2, [r3, #0] + return ; + 8003956: 46c0 nop ; (mov r8, r8) + } + } + +} + 8003958: 46bd mov sp, r7 + 800395a: b003 add sp, #12 + 800395c: bd90 pop {r4, r7, pc} + 800395e: 46c0 nop ; (mov r8, r8) + 8003960: 20000034 .word 0x20000034 + 8003964: 20000028 .word 0x20000028 + 8003968: 200000e0 .word 0x200000e0 + 800396c: 2000002c .word 0x2000002c + 8003970: 20000030 .word 0x20000030 + 8003974: 2000014c .word 0x2000014c + +08003978 : + +void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) +{ + 8003978: b580 push {r7, lr} + 800397a: b082 sub sp, #8 + 800397c: af00 add r7, sp, #0 + 800397e: 0002 movs r2, r0 + 8003980: 1dbb adds r3, r7, #6 + 8003982: 801a strh r2, [r3, #0] + switch(GPIO_Pin) + 8003984: 1dbb adds r3, r7, #6 + 8003986: 881b ldrh r3, [r3, #0] + 8003988: 2b08 cmp r3, #8 + 800398a: d102 bne.n 8003992 + { + case infeaed_Pin: + read_433_exit(); + 800398c: f7ff ff58 bl 8003840 + return ; + 8003990: 46c0 nop ; (mov r8, r8) + break; + } +} + 8003992: 46bd mov sp, r7 + 8003994: b002 add sp, #8 + 8003996: bd80 pop {r7, pc} + +08003998 : +void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim)//100us +{ + 8003998: b580 push {r7, lr} + 800399a: b082 sub sp, #8 + 800399c: af00 add r7, sp, #0 + 800399e: 6078 str r0, [r7, #4] + if (htim == (&htim14)) + 80039a0: 687a ldr r2, [r7, #4] + 80039a2: 4b06 ldr r3, [pc, #24] ; (80039bc ) + 80039a4: 429a cmp r2, r3 + 80039a6: d105 bne.n 80039b4 + { + timer_100us_tick++; + 80039a8: 4b05 ldr r3, [pc, #20] ; (80039c0 ) + 80039aa: 881b ldrh r3, [r3, #0] + 80039ac: 3301 adds r3, #1 + 80039ae: b29a uxth r2, r3 + 80039b0: 4b03 ldr r3, [pc, #12] ; (80039c0 ) + 80039b2: 801a strh r2, [r3, #0] + } +} + 80039b4: 46c0 nop ; (mov r8, r8) + 80039b6: 46bd mov sp, r7 + 80039b8: b002 add sp, #8 + 80039ba: bd80 pop {r7, pc} + 80039bc: 20000044 .word 0x20000044 + 80039c0: 20000028 .word 0x20000028 + +080039c4 <__libc_init_array>: + 80039c4: b570 push {r4, r5, r6, lr} + 80039c6: 2600 movs r6, #0 + 80039c8: 4d0c ldr r5, [pc, #48] ; (80039fc <__libc_init_array+0x38>) + 80039ca: 4c0d ldr r4, [pc, #52] ; (8003a00 <__libc_init_array+0x3c>) + 80039cc: 1b64 subs r4, r4, r5 + 80039ce: 10a4 asrs r4, r4, #2 + 80039d0: 42a6 cmp r6, r4 + 80039d2: d109 bne.n 80039e8 <__libc_init_array+0x24> + 80039d4: 2600 movs r6, #0 + 80039d6: f000 f821 bl 8003a1c <_init> + 80039da: 4d0a ldr r5, [pc, #40] ; (8003a04 <__libc_init_array+0x40>) + 80039dc: 4c0a ldr r4, [pc, #40] ; (8003a08 <__libc_init_array+0x44>) + 80039de: 1b64 subs r4, r4, r5 + 80039e0: 10a4 asrs r4, r4, #2 + 80039e2: 42a6 cmp r6, r4 + 80039e4: d105 bne.n 80039f2 <__libc_init_array+0x2e> + 80039e6: bd70 pop {r4, r5, r6, pc} + 80039e8: 00b3 lsls r3, r6, #2 + 80039ea: 58eb ldr r3, [r5, r3] + 80039ec: 4798 blx r3 + 80039ee: 3601 adds r6, #1 + 80039f0: e7ee b.n 80039d0 <__libc_init_array+0xc> + 80039f2: 00b3 lsls r3, r6, #2 + 80039f4: 58eb ldr r3, [r5, r3] + 80039f6: 4798 blx r3 + 80039f8: 3601 adds r6, #1 + 80039fa: e7f2 b.n 80039e2 <__libc_init_array+0x1e> + 80039fc: 08003a9c .word 0x08003a9c + 8003a00: 08003a9c .word 0x08003a9c + 8003a04: 08003a9c .word 0x08003a9c + 8003a08: 08003aa0 .word 0x08003aa0 + +08003a0c : + 8003a0c: 0003 movs r3, r0 + 8003a0e: 1882 adds r2, r0, r2 + 8003a10: 4293 cmp r3, r2 + 8003a12: d100 bne.n 8003a16 + 8003a14: 4770 bx lr + 8003a16: 7019 strb r1, [r3, #0] + 8003a18: 3301 adds r3, #1 + 8003a1a: e7f9 b.n 8003a10 + +08003a1c <_init>: + 8003a1c: b5f8 push {r3, r4, r5, r6, r7, lr} + 8003a1e: 46c0 nop ; (mov r8, r8) + 8003a20: bcf8 pop {r3, r4, r5, r6, r7} + 8003a22: bc08 pop {r3} + 8003a24: 469e mov lr, r3 + 8003a26: 4770 bx lr + +08003a28 <_fini>: + 8003a28: b5f8 push {r3, r4, r5, r6, r7, lr} + 8003a2a: 46c0 nop ; (mov r8, r8) + 8003a2c: bcf8 pop {r3, r4, r5, r6, r7} + 8003a2e: bc08 pop {r3} + 8003a30: 469e mov lr, r3 + 8003a32: 4770 bx lr diff --git a/Debug/Motor_Controller2.map b/Debug/Motor_Controller2.map index f4cc63d..5401647 100644 --- a/Debug/Motor_Controller2.map +++ b/Debug/Motor_Controller2.map @@ -21,6 +21,8 @@ Allocating common symbols Common symbol size file key4 0x10 ./my_software/my_code.o +read_data_buffer 0x3 ./my_software/r480r.o +r480 0x6 ./my_software/my_code.o uwTick 0x4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o pFlash 0x20 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o dis_buff 0xa ./Core/Src/main.o @@ -29,6 +31,7 @@ overload 0x10 ./my_software/my_code.o key3 0x10 ./my_software/my_code.o ADCC 0x14 ./my_software/my_code.o key2 0x10 ./my_software/my_code.o +htim14 0x48 ./Core/Src/main.o hadc 0x40 ./Core/Src/main.o moto 0x10 ./my_software/my_code.o @@ -85,6 +88,8 @@ Discarded input sections .group 0x0000000000000000 0xc ./Core/Src/main.o .group 0x0000000000000000 0xc ./Core/Src/main.o .group 0x0000000000000000 0xc ./Core/Src/main.o + .group 0x0000000000000000 0xc ./Core/Src/main.o + .group 0x0000000000000000 0xc ./Core/Src/main.o .text 0x0000000000000000 0x0 ./Core/Src/main.o .data 0x0000000000000000 0x0 ./Core/Src/main.o .bss 0x0000000000000000 0x0 ./Core/Src/main.o @@ -127,13 +132,17 @@ Discarded input sections .group 0x0000000000000000 0xc ./Core/Src/stm32f0xx_hal_msp.o .group 0x0000000000000000 0xc ./Core/Src/stm32f0xx_hal_msp.o .group 0x0000000000000000 0xc ./Core/Src/stm32f0xx_hal_msp.o + .group 0x0000000000000000 0xc ./Core/Src/stm32f0xx_hal_msp.o + .group 0x0000000000000000 0xc ./Core/Src/stm32f0xx_hal_msp.o .text 0x0000000000000000 0x0 ./Core/Src/stm32f0xx_hal_msp.o .data 0x0000000000000000 0x0 ./Core/Src/stm32f0xx_hal_msp.o .bss 0x0000000000000000 0x0 ./Core/Src/stm32f0xx_hal_msp.o .text.HAL_ADC_MspDeInit 0x0000000000000000 0x40 ./Core/Src/stm32f0xx_hal_msp.o + .text.HAL_TIM_Base_MspDeInit + 0x0000000000000000 0x38 ./Core/Src/stm32f0xx_hal_msp.o .debug_macro 0x0000000000000000 0xa7e ./Core/Src/stm32f0xx_hal_msp.o - .debug_macro 0x0000000000000000 0x12d ./Core/Src/stm32f0xx_hal_msp.o + .debug_macro 0x0000000000000000 0x133 ./Core/Src/stm32f0xx_hal_msp.o .debug_macro 0x0000000000000000 0x2e ./Core/Src/stm32f0xx_hal_msp.o .debug_macro 0x0000000000000000 0x22 ./Core/Src/stm32f0xx_hal_msp.o .debug_macro 0x0000000000000000 0x22 ./Core/Src/stm32f0xx_hal_msp.o @@ -169,8 +178,12 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa5 ./Core/Src/stm32f0xx_hal_msp.o .debug_macro 0x0000000000000000 0x4c ./Core/Src/stm32f0xx_hal_msp.o .debug_macro 0x0000000000000000 0x2b ./Core/Src/stm32f0xx_hal_msp.o + .debug_macro 0x0000000000000000 0x8d8 ./Core/Src/stm32f0xx_hal_msp.o + .debug_macro 0x0000000000000000 0x28 ./Core/Src/stm32f0xx_hal_msp.o .debug_macro 0x0000000000000000 0xf1 ./Core/Src/stm32f0xx_hal_msp.o - .debug_macro 0x0000000000000000 0x88 ./Core/Src/stm32f0xx_hal_msp.o + .debug_macro 0x0000000000000000 0x8e ./Core/Src/stm32f0xx_hal_msp.o + .group 0x0000000000000000 0xc ./Core/Src/stm32f0xx_it.o + .group 0x0000000000000000 0xc ./Core/Src/stm32f0xx_it.o .group 0x0000000000000000 0xc ./Core/Src/stm32f0xx_it.o .group 0x0000000000000000 0xc ./Core/Src/stm32f0xx_it.o .group 0x0000000000000000 0xc ./Core/Src/stm32f0xx_it.o @@ -214,7 +227,7 @@ Discarded input sections .data 0x0000000000000000 0x0 ./Core/Src/stm32f0xx_it.o .bss 0x0000000000000000 0x0 ./Core/Src/stm32f0xx_it.o .debug_macro 0x0000000000000000 0xa7e ./Core/Src/stm32f0xx_it.o - .debug_macro 0x0000000000000000 0x12d ./Core/Src/stm32f0xx_it.o + .debug_macro 0x0000000000000000 0x133 ./Core/Src/stm32f0xx_it.o .debug_macro 0x0000000000000000 0x2e ./Core/Src/stm32f0xx_it.o .debug_macro 0x0000000000000000 0x22 ./Core/Src/stm32f0xx_it.o .debug_macro 0x0000000000000000 0x22 ./Core/Src/stm32f0xx_it.o @@ -250,8 +263,10 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa5 ./Core/Src/stm32f0xx_it.o .debug_macro 0x0000000000000000 0x4c ./Core/Src/stm32f0xx_it.o .debug_macro 0x0000000000000000 0x2b ./Core/Src/stm32f0xx_it.o + .debug_macro 0x0000000000000000 0x8d8 ./Core/Src/stm32f0xx_it.o + .debug_macro 0x0000000000000000 0x28 ./Core/Src/stm32f0xx_it.o .debug_macro 0x0000000000000000 0xf1 ./Core/Src/stm32f0xx_it.o - .debug_macro 0x0000000000000000 0x88 ./Core/Src/stm32f0xx_it.o + .debug_macro 0x0000000000000000 0x8e ./Core/Src/stm32f0xx_it.o .group 0x0000000000000000 0xc ./Core/Src/syscalls.o .group 0x0000000000000000 0xc ./Core/Src/syscalls.o .group 0x0000000000000000 0xc ./Core/Src/syscalls.o @@ -482,6 +497,8 @@ Discarded input sections .group 0x0000000000000000 0xc ./Core/Src/system_stm32f0xx.o .group 0x0000000000000000 0xc ./Core/Src/system_stm32f0xx.o .group 0x0000000000000000 0xc ./Core/Src/system_stm32f0xx.o + .group 0x0000000000000000 0xc ./Core/Src/system_stm32f0xx.o + .group 0x0000000000000000 0xc ./Core/Src/system_stm32f0xx.o .text 0x0000000000000000 0x0 ./Core/Src/system_stm32f0xx.o .data 0x0000000000000000 0x0 ./Core/Src/system_stm32f0xx.o .bss 0x0000000000000000 0x0 ./Core/Src/system_stm32f0xx.o @@ -504,7 +521,7 @@ Discarded input sections .debug_macro 0x0000000000000000 0x391 ./Core/Src/system_stm32f0xx.o .debug_macro 0x0000000000000000 0x6e67 ./Core/Src/system_stm32f0xx.o .debug_macro 0x0000000000000000 0x66 ./Core/Src/system_stm32f0xx.o - .debug_macro 0x0000000000000000 0x12d ./Core/Src/system_stm32f0xx.o + .debug_macro 0x0000000000000000 0x133 ./Core/Src/system_stm32f0xx.o .debug_macro 0x0000000000000000 0x34a6 ./Core/Src/system_stm32f0xx.o .debug_macro 0x0000000000000000 0x174 ./Core/Src/system_stm32f0xx.o .debug_macro 0x0000000000000000 0x55 ./Core/Src/system_stm32f0xx.o @@ -526,6 +543,8 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa5 ./Core/Src/system_stm32f0xx.o .debug_macro 0x0000000000000000 0x4c ./Core/Src/system_stm32f0xx.o .debug_macro 0x0000000000000000 0x2b ./Core/Src/system_stm32f0xx.o + .debug_macro 0x0000000000000000 0x8d8 ./Core/Src/system_stm32f0xx.o + .debug_macro 0x0000000000000000 0x28 ./Core/Src/system_stm32f0xx.o .debug_macro 0x0000000000000000 0xf1 ./Core/Src/system_stm32f0xx.o .text 0x0000000000000000 0x14 ./Core/Startup/startup_stm32f030f4px.o .data 0x0000000000000000 0x0 ./Core/Startup/startup_stm32f030f4px.o @@ -568,6 +587,8 @@ Discarded input sections .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o .text 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o .data 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o .bss 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o @@ -610,7 +631,7 @@ Discarded input sections .text.HAL_DBGMCU_DisableDBGStandbyMode 0x0000000000000000 0x1c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o .debug_macro 0x0000000000000000 0xa7e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o - .debug_macro 0x0000000000000000 0x12d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o + .debug_macro 0x0000000000000000 0x133 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o .debug_macro 0x0000000000000000 0x2e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o @@ -646,6 +667,8 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa5 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o .debug_macro 0x0000000000000000 0x4c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o .debug_macro 0x0000000000000000 0x2b ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o + .debug_macro 0x0000000000000000 0x8d8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o + .debug_macro 0x0000000000000000 0x28 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o .debug_macro 0x0000000000000000 0xf1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o @@ -685,6 +708,8 @@ Discarded input sections .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o .text 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o .data 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o .bss 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o @@ -727,7 +752,7 @@ Discarded input sections .text.ADC_DMAError 0x0000000000000000 0x36 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o .debug_macro 0x0000000000000000 0xa7e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o - .debug_macro 0x0000000000000000 0x12d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o + .debug_macro 0x0000000000000000 0x133 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o .debug_macro 0x0000000000000000 0x2e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o @@ -763,6 +788,8 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa5 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o .debug_macro 0x0000000000000000 0x4c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o .debug_macro 0x0000000000000000 0x2b ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o + .debug_macro 0x0000000000000000 0x8d8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o + .debug_macro 0x0000000000000000 0x28 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o .debug_macro 0x0000000000000000 0xf1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o @@ -802,6 +829,8 @@ Discarded input sections .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o .text 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o .data 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o .bss 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o @@ -812,9 +841,9 @@ Discarded input sections .debug_aranges 0x0000000000000000 0x20 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o .debug_ranges 0x0000000000000000 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o - .debug_macro 0x0000000000000000 0x1b9 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o + .debug_macro 0x0000000000000000 0x1cd ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o .debug_macro 0x0000000000000000 0xa7e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o - .debug_macro 0x0000000000000000 0x12d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o + .debug_macro 0x0000000000000000 0x133 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o .debug_macro 0x0000000000000000 0x2e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o @@ -850,9 +879,11 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa5 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o .debug_macro 0x0000000000000000 0x4c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o .debug_macro 0x0000000000000000 0x2b ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o + .debug_macro 0x0000000000000000 0x8d8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o + .debug_macro 0x0000000000000000 0x28 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o .debug_macro 0x0000000000000000 0xf1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o - .debug_line 0x0000000000000000 0x773 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o - .debug_str 0x0000000000000000 0x55478 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o + .debug_line 0x0000000000000000 0x7a4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o + .debug_str 0x0000000000000000 0x5c217 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o .comment 0x0000000000000000 0x54 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o .debug_frame 0x0000000000000000 0x30 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc_ex.o .ARM.attributes @@ -895,11 +926,11 @@ Discarded input sections .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .text 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .data 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .bss 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o - .text.__NVIC_EnableIRQ - 0x0000000000000000 0x34 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .text.__NVIC_DisableIRQ 0x0000000000000000 0x44 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .text.__NVIC_GetPendingIRQ @@ -912,8 +943,6 @@ Discarded input sections 0x0000000000000000 0x7c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .text.__NVIC_SystemReset 0x0000000000000000 0x24 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o - .text.HAL_NVIC_EnableIRQ - 0x0000000000000000 0x20 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .text.HAL_NVIC_DisableIRQ 0x0000000000000000 0x20 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .text.HAL_NVIC_SystemReset @@ -933,7 +962,7 @@ Discarded input sections .text.HAL_SYSTICK_Callback 0x0000000000000000 0xa ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .debug_macro 0x0000000000000000 0xa7e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o - .debug_macro 0x0000000000000000 0x12d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o + .debug_macro 0x0000000000000000 0x133 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .debug_macro 0x0000000000000000 0x2e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o @@ -969,6 +998,8 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa5 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .debug_macro 0x0000000000000000 0x4c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .debug_macro 0x0000000000000000 0x2b ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o + .debug_macro 0x0000000000000000 0x8d8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o + .debug_macro 0x0000000000000000 0x28 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .debug_macro 0x0000000000000000 0xf1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o @@ -1008,6 +1039,8 @@ Discarded input sections .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o .text 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o .data 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o .bss 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o @@ -1046,9 +1079,9 @@ Discarded input sections .debug_aranges 0x0000000000000000 0x88 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o .debug_ranges 0x0000000000000000 0x78 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o - .debug_macro 0x0000000000000000 0x1ad ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o + .debug_macro 0x0000000000000000 0x1c1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o .debug_macro 0x0000000000000000 0xa7e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o - .debug_macro 0x0000000000000000 0x12d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o + .debug_macro 0x0000000000000000 0x133 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o .debug_macro 0x0000000000000000 0x2e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o @@ -1084,9 +1117,11 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa5 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o .debug_macro 0x0000000000000000 0x4c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o .debug_macro 0x0000000000000000 0x2b ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o + .debug_macro 0x0000000000000000 0x8d8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o + .debug_macro 0x0000000000000000 0x28 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o .debug_macro 0x0000000000000000 0xf1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o - .debug_line 0x0000000000000000 0xc76 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o - .debug_str 0x0000000000000000 0x55497 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o + .debug_line 0x0000000000000000 0xca7 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o + .debug_str 0x0000000000000000 0x5c236 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o .comment 0x0000000000000000 0x54 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o .debug_frame 0x0000000000000000 0x1d0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_dma.o .ARM.attributes @@ -1129,6 +1164,8 @@ Discarded input sections .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o .text 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o .data 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o .bss 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o @@ -1155,9 +1192,9 @@ Discarded input sections .debug_aranges 0x0000000000000000 0x60 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o .debug_ranges 0x0000000000000000 0x50 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o - .debug_macro 0x0000000000000000 0x1ad ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o + .debug_macro 0x0000000000000000 0x1c1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o .debug_macro 0x0000000000000000 0xa7e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o - .debug_macro 0x0000000000000000 0x12d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o + .debug_macro 0x0000000000000000 0x133 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o .debug_macro 0x0000000000000000 0x2e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o @@ -1193,9 +1230,11 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa5 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o .debug_macro 0x0000000000000000 0x4c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o .debug_macro 0x0000000000000000 0x2b ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o + .debug_macro 0x0000000000000000 0x8d8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o + .debug_macro 0x0000000000000000 0x28 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o .debug_macro 0x0000000000000000 0xf1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o - .debug_line 0x0000000000000000 0x9b3 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o - .debug_str 0x0000000000000000 0x55261 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o + .debug_line 0x0000000000000000 0x9e4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o + .debug_str 0x0000000000000000 0x5c000 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o .comment 0x0000000000000000 0x54 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o .debug_frame 0x0000000000000000 0x130 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_exti.o .ARM.attributes @@ -1238,6 +1277,8 @@ Discarded input sections .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o .text 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o .data 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o .bss 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o @@ -1274,9 +1315,9 @@ Discarded input sections .debug_aranges 0x0000000000000000 0x88 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o .debug_ranges 0x0000000000000000 0x78 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o - .debug_macro 0x0000000000000000 0x1ad ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o + .debug_macro 0x0000000000000000 0x1c1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o .debug_macro 0x0000000000000000 0xa7e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o - .debug_macro 0x0000000000000000 0x12d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o + .debug_macro 0x0000000000000000 0x133 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o .debug_macro 0x0000000000000000 0x2e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o @@ -1312,9 +1353,11 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa5 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o .debug_macro 0x0000000000000000 0x4c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o .debug_macro 0x0000000000000000 0x2b ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o + .debug_macro 0x0000000000000000 0x8d8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o + .debug_macro 0x0000000000000000 0x28 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o .debug_macro 0x0000000000000000 0xf1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o - .debug_line 0x0000000000000000 0xa22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o - .debug_str 0x0000000000000000 0x5537a ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o + .debug_line 0x0000000000000000 0xa53 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o + .debug_str 0x0000000000000000 0x5c119 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o .comment 0x0000000000000000 0x54 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o .debug_frame 0x0000000000000000 0x1c4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.o .ARM.attributes @@ -1358,6 +1401,8 @@ Discarded input sections .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o .text 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o .data 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o .bss 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o @@ -1398,9 +1443,9 @@ Discarded input sections .debug_aranges 0x0000000000000000 0x98 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o .debug_ranges 0x0000000000000000 0x88 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o - .debug_macro 0x0000000000000000 0x1bf ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o + .debug_macro 0x0000000000000000 0x1d3 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o .debug_macro 0x0000000000000000 0xa7e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o - .debug_macro 0x0000000000000000 0x12d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o + .debug_macro 0x0000000000000000 0x133 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o .debug_macro 0x0000000000000000 0x2e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o @@ -1436,9 +1481,11 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa5 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o .debug_macro 0x0000000000000000 0x4c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o .debug_macro 0x0000000000000000 0x2b ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o + .debug_macro 0x0000000000000000 0x8d8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o + .debug_macro 0x0000000000000000 0x28 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o .debug_macro 0x0000000000000000 0xf1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o - .debug_line 0x0000000000000000 0xad1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o - .debug_str 0x0000000000000000 0x554cd ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o + .debug_line 0x0000000000000000 0xb02 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o + .debug_str 0x0000000000000000 0x5c26c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o .comment 0x0000000000000000 0x54 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o .debug_frame 0x0000000000000000 0x220 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.o .ARM.attributes @@ -1481,23 +1528,21 @@ Discarded input sections .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .text 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .data 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .bss 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .text.HAL_GPIO_DeInit 0x0000000000000000 0x1a0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o - .text.HAL_GPIO_ReadPin - 0x0000000000000000 0x3a ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .text.HAL_GPIO_TogglePin 0x0000000000000000 0x36 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .text.HAL_GPIO_LockPin 0x0000000000000000 0x52 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o - .text.HAL_GPIO_EXTI_IRQHandler - 0x0000000000000000 0x38 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .text.HAL_GPIO_EXTI_Callback 0x0000000000000000 0x14 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .debug_macro 0x0000000000000000 0xa7e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o - .debug_macro 0x0000000000000000 0x12d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o + .debug_macro 0x0000000000000000 0x133 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .debug_macro 0x0000000000000000 0x2e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o @@ -1533,6 +1578,8 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa5 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .debug_macro 0x0000000000000000 0x4c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .debug_macro 0x0000000000000000 0x2b ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o + .debug_macro 0x0000000000000000 0x8d8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o + .debug_macro 0x0000000000000000 0x28 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .debug_macro 0x0000000000000000 0xf1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o @@ -1572,6 +1619,8 @@ Discarded input sections .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o .text 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o .data 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o .bss 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o @@ -1738,9 +1787,9 @@ Discarded input sections .debug_aranges 0x0000000000000000 0x290 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o .debug_ranges 0x0000000000000000 0x280 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o - .debug_macro 0x0000000000000000 0x272 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o + .debug_macro 0x0000000000000000 0x286 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o .debug_macro 0x0000000000000000 0xa7e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o - .debug_macro 0x0000000000000000 0x12d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o + .debug_macro 0x0000000000000000 0x133 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o .debug_macro 0x0000000000000000 0x2e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o @@ -1776,9 +1825,11 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa5 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o .debug_macro 0x0000000000000000 0x4c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o .debug_macro 0x0000000000000000 0x2b ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o + .debug_macro 0x0000000000000000 0x8d8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o + .debug_macro 0x0000000000000000 0x28 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o .debug_macro 0x0000000000000000 0xf1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o - .debug_line 0x0000000000000000 0x32aa ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o - .debug_str 0x0000000000000000 0x56373 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o + .debug_line 0x0000000000000000 0x32db ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o + .debug_str 0x0000000000000000 0x5d112 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o .comment 0x0000000000000000 0x54 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o .debug_frame 0x0000000000000000 0xa24 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c.o .ARM.attributes @@ -1821,6 +1872,8 @@ Discarded input sections .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o .text 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o .data 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o .bss 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o @@ -1837,9 +1890,9 @@ Discarded input sections .debug_aranges 0x0000000000000000 0x38 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o .debug_ranges 0x0000000000000000 0x28 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o - .debug_macro 0x0000000000000000 0x1ad ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o + .debug_macro 0x0000000000000000 0x1c1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o .debug_macro 0x0000000000000000 0xa7e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o - .debug_macro 0x0000000000000000 0x12d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o + .debug_macro 0x0000000000000000 0x133 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o .debug_macro 0x0000000000000000 0x2e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o @@ -1875,9 +1928,11 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa5 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o .debug_macro 0x0000000000000000 0x4c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o .debug_macro 0x0000000000000000 0x2b ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o + .debug_macro 0x0000000000000000 0x8d8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o + .debug_macro 0x0000000000000000 0x28 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o .debug_macro 0x0000000000000000 0xf1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o - .debug_line 0x0000000000000000 0x81b ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o - .debug_str 0x0000000000000000 0x5562e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o + .debug_line 0x0000000000000000 0x84c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o + .debug_str 0x0000000000000000 0x5c3cd ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o .comment 0x0000000000000000 0x54 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o .debug_frame 0x0000000000000000 0x90 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_i2c_ex.o .ARM.attributes @@ -1920,6 +1975,8 @@ Discarded input sections .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o .text 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o .data 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o .bss 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o @@ -1952,9 +2009,9 @@ Discarded input sections .debug_aranges 0x0000000000000000 0x78 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o .debug_ranges 0x0000000000000000 0x68 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o - .debug_macro 0x0000000000000000 0x1ad ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o + .debug_macro 0x0000000000000000 0x1c1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o .debug_macro 0x0000000000000000 0xa7e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o - .debug_macro 0x0000000000000000 0x12d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o + .debug_macro 0x0000000000000000 0x133 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o .debug_macro 0x0000000000000000 0x2e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o @@ -1990,9 +2047,11 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa5 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o .debug_macro 0x0000000000000000 0x4c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o .debug_macro 0x0000000000000000 0x2b ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o + .debug_macro 0x0000000000000000 0x8d8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o + .debug_macro 0x0000000000000000 0x28 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o .debug_macro 0x0000000000000000 0xf1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o - .debug_line 0x0000000000000000 0x825 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o - .debug_str 0x0000000000000000 0x55228 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o + .debug_line 0x0000000000000000 0x856 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o + .debug_str 0x0000000000000000 0x5bfc7 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o .comment 0x0000000000000000 0x54 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o .debug_frame 0x0000000000000000 0x170 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr.o .ARM.attributes @@ -2035,6 +2094,8 @@ Discarded input sections .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o .text 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o .data 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o .bss 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o @@ -2042,9 +2103,9 @@ Discarded input sections .debug_abbrev 0x0000000000000000 0x9a ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o .debug_aranges 0x0000000000000000 0x18 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o - .debug_macro 0x0000000000000000 0x1c5 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o + .debug_macro 0x0000000000000000 0x1d9 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o .debug_macro 0x0000000000000000 0xa7e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o - .debug_macro 0x0000000000000000 0x12d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o + .debug_macro 0x0000000000000000 0x133 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o .debug_macro 0x0000000000000000 0x2e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o @@ -2080,9 +2141,11 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa5 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o .debug_macro 0x0000000000000000 0x4c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o .debug_macro 0x0000000000000000 0x2b ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o + .debug_macro 0x0000000000000000 0x8d8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o + .debug_macro 0x0000000000000000 0x28 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o .debug_macro 0x0000000000000000 0xf1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o - .debug_line 0x0000000000000000 0x6d8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o - .debug_str 0x0000000000000000 0x550ba ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o + .debug_line 0x0000000000000000 0x709 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o + .debug_str 0x0000000000000000 0x5be59 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o .comment 0x0000000000000000 0x54 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o .ARM.attributes 0x0000000000000000 0x31 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_pwr_ex.o @@ -2124,6 +2187,8 @@ Discarded input sections .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o .text 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o .data 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o .bss 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o @@ -2148,7 +2213,7 @@ Discarded input sections .text.HAL_RCC_CSSCallback 0x0000000000000000 0xa ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o .debug_macro 0x0000000000000000 0xa7e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o - .debug_macro 0x0000000000000000 0x12d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o + .debug_macro 0x0000000000000000 0x133 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o .debug_macro 0x0000000000000000 0x2e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o @@ -2184,6 +2249,8 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa5 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o .debug_macro 0x0000000000000000 0x4c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o .debug_macro 0x0000000000000000 0x2b ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o + .debug_macro 0x0000000000000000 0x8d8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o + .debug_macro 0x0000000000000000 0x28 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o .debug_macro 0x0000000000000000 0xf1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o @@ -2223,6 +2290,8 @@ Discarded input sections .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o .text 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o .data 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o .bss 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o @@ -2237,9 +2306,9 @@ Discarded input sections .debug_aranges 0x0000000000000000 0x30 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o .debug_ranges 0x0000000000000000 0x20 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o - .debug_macro 0x0000000000000000 0x1ad ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o + .debug_macro 0x0000000000000000 0x1c1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o .debug_macro 0x0000000000000000 0xa7e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o - .debug_macro 0x0000000000000000 0x12d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o + .debug_macro 0x0000000000000000 0x133 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o .debug_macro 0x0000000000000000 0x2e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o @@ -2275,9 +2344,11 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa5 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o .debug_macro 0x0000000000000000 0x4c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o .debug_macro 0x0000000000000000 0x2b ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o + .debug_macro 0x0000000000000000 0x8d8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o + .debug_macro 0x0000000000000000 0x28 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o .debug_macro 0x0000000000000000 0xf1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o - .debug_line 0x0000000000000000 0x8b9 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o - .debug_str 0x0000000000000000 0x551fb ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o + .debug_line 0x0000000000000000 0x8ea ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o + .debug_str 0x0000000000000000 0x5bf9a ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o .comment 0x0000000000000000 0x54 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o .debug_frame 0x0000000000000000 0x70 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o .ARM.attributes @@ -2320,16 +2391,235 @@ Discarded input sections .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o .text 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o .data 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o .bss 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o - .debug_info 0x0000000000000000 0x151 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o - .debug_abbrev 0x0000000000000000 0x9a ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o - .debug_aranges + .text.HAL_TIM_Base_DeInit + 0x0000000000000000 0xac ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_Base_MspInit + 0x0000000000000000 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_Base_MspDeInit + 0x0000000000000000 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_Base_Start + 0x0000000000000000 0x7c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_Base_Stop + 0x0000000000000000 0x4c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_Base_Stop_IT + 0x0000000000000000 0x5c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_Base_Start_DMA + 0x0000000000000000 0xf8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_Base_Stop_DMA + 0x0000000000000000 0x68 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_OC_Init + 0x0000000000000000 0xa0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_OC_DeInit + 0x0000000000000000 0xac ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_OC_MspInit + 0x0000000000000000 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_OC_MspDeInit + 0x0000000000000000 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_OC_Start + 0x0000000000000000 0x14c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_OC_Stop + 0x0000000000000000 0xec ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_OC_Start_IT + 0x0000000000000000 0x1dc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_OC_Stop_IT + 0x0000000000000000 0x178 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_OC_Start_DMA + 0x0000000000000000 0x348 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_OC_Stop_DMA + 0x0000000000000000 0x1b0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_PWM_Init + 0x0000000000000000 0xa0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_PWM_DeInit + 0x0000000000000000 0xac ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_PWM_MspInit + 0x0000000000000000 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_PWM_MspDeInit + 0x0000000000000000 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_PWM_Start + 0x0000000000000000 0x14c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_PWM_Stop + 0x0000000000000000 0xec ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_PWM_Start_IT + 0x0000000000000000 0x1dc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_PWM_Stop_IT + 0x0000000000000000 0x178 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_PWM_Start_DMA + 0x0000000000000000 0x348 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_PWM_Stop_DMA + 0x0000000000000000 0x1b0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_IC_Init + 0x0000000000000000 0xa0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_IC_DeInit + 0x0000000000000000 0xac ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_IC_MspInit + 0x0000000000000000 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_IC_MspDeInit + 0x0000000000000000 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_IC_Start + 0x0000000000000000 0x174 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_IC_Stop + 0x0000000000000000 0xc4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_IC_Start_IT + 0x0000000000000000 0x204 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_IC_Stop_IT + 0x0000000000000000 0x150 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_IC_Start_DMA + 0x0000000000000000 0x320 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_IC_Stop_DMA + 0x0000000000000000 0x188 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_OnePulse_Init + 0x0000000000000000 0xa2 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_OnePulse_DeInit + 0x0000000000000000 0x8c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_OnePulse_MspInit + 0x0000000000000000 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_OnePulse_MspDeInit + 0x0000000000000000 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_OnePulse_Start + 0x0000000000000000 0xec ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_OnePulse_Stop + 0x0000000000000000 0xe0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_OnePulse_Start_IT + 0x0000000000000000 0x10c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_OnePulse_Stop_IT + 0x0000000000000000 0x100 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_Encoder_Init + 0x0000000000000000 0x150 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_Encoder_DeInit + 0x0000000000000000 0x8c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_Encoder_MspInit + 0x0000000000000000 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_Encoder_MspDeInit + 0x0000000000000000 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_Encoder_Start + 0x0000000000000000 0x148 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_Encoder_Stop + 0x0000000000000000 0x130 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_Encoder_Start_IT + 0x0000000000000000 0x188 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_Encoder_Stop_IT + 0x0000000000000000 0x16c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_Encoder_Start_DMA + 0x0000000000000000 0x36c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_Encoder_Stop_DMA + 0x0000000000000000 0x19c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_OC_ConfigChannel + 0x0000000000000000 0xb0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_IC_ConfigChannel + 0x0000000000000000 0x148 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_PWM_ConfigChannel + 0x0000000000000000 0x18c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_OnePulse_ConfigChannel + 0x0000000000000000 0x1c4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_DMABurst_WriteStart + 0x0000000000000000 0x4e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_DMABurst_MultiWriteStart + 0x0000000000000000 0x2c4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_DMABurst_WriteStop + 0x0000000000000000 0x11c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_DMABurst_ReadStart + 0x0000000000000000 0x4e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_DMABurst_MultiReadStart + 0x0000000000000000 0x2c4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_DMABurst_ReadStop + 0x0000000000000000 0x11c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_GenerateEvent + 0x0000000000000000 0x4a ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_ConfigOCrefClear + 0x0000000000000000 0x1cc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_ConfigClockSource + 0x0000000000000000 0x1a8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_ConfigTI1Input + 0x0000000000000000 0x34 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_SlaveConfigSynchro + 0x0000000000000000 0x8c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_SlaveConfigSynchro_IT + 0x0000000000000000 0x8c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_ReadCapturedValue + 0x0000000000000000 0x68 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_PeriodElapsedCallback + 0x0000000000000000 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_PeriodElapsedHalfCpltCallback + 0x0000000000000000 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_IC_CaptureHalfCpltCallback + 0x0000000000000000 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_PWM_PulseFinishedHalfCpltCallback + 0x0000000000000000 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_TriggerHalfCpltCallback + 0x0000000000000000 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_ErrorCallback + 0x0000000000000000 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_Base_GetState 0x0000000000000000 0x18 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o - .debug_macro 0x0000000000000000 0x1ae ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_OC_GetState + 0x0000000000000000 0x18 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_PWM_GetState + 0x0000000000000000 0x18 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_IC_GetState + 0x0000000000000000 0x18 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_OnePulse_GetState + 0x0000000000000000 0x18 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_Encoder_GetState + 0x0000000000000000 0x18 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_GetActiveChannel + 0x0000000000000000 0x14 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_GetChannelState + 0x0000000000000000 0x54 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.HAL_TIM_DMABurstState + 0x0000000000000000 0x18 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.TIM_DMAError + 0x0000000000000000 0x94 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.TIM_DMADelayPulseCplt + 0x0000000000000000 0xaa ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.TIM_DMADelayPulseHalfCplt + 0x0000000000000000 0x6a ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.TIM_DMACaptureCplt + 0x0000000000000000 0xca ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.TIM_DMACaptureHalfCplt + 0x0000000000000000 0x6a ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.TIM_DMAPeriodElapsedCplt + 0x0000000000000000 0x30 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.TIM_DMAPeriodElapsedHalfCplt + 0x0000000000000000 0x1e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.TIM_DMATriggerCplt + 0x0000000000000000 0x30 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.TIM_DMATriggerHalfCplt + 0x0000000000000000 0x1e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.TIM_OC1_SetConfig + 0x0000000000000000 0xfc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.TIM_OC2_SetConfig + 0x0000000000000000 0xfc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.TIM_OC3_SetConfig + 0x0000000000000000 0x100 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.TIM_OC4_SetConfig + 0x0000000000000000 0xc8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.TIM_SlaveTimer_SetConfig + 0x0000000000000000 0x124 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.TIM_TI1_SetConfig + 0x0000000000000000 0xa4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.TIM_TI1_ConfigInputStage + 0x0000000000000000 0x5c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.TIM_TI2_SetConfig + 0x0000000000000000 0x84 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.TIM_TI2_ConfigInputStage + 0x0000000000000000 0x64 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.TIM_TI3_SetConfig + 0x0000000000000000 0x80 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.TIM_TI4_SetConfig + 0x0000000000000000 0x8c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.TIM_ITRx_SetConfig + 0x0000000000000000 0x32 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.TIM_ETR_SetConfig + 0x0000000000000000 0x40 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .text.TIM_CCxChannelCmd + 0x0000000000000000 0x46 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o .debug_macro 0x0000000000000000 0xa7e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o - .debug_macro 0x0000000000000000 0x12d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .debug_macro 0x0000000000000000 0x133 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o .debug_macro 0x0000000000000000 0x2e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o @@ -2365,12 +2655,11 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa5 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o .debug_macro 0x0000000000000000 0x4c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o .debug_macro 0x0000000000000000 0x2b ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .debug_macro 0x0000000000000000 0x8d8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .debug_macro 0x0000000000000000 0x28 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o .debug_macro 0x0000000000000000 0xf1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o - .debug_line 0x0000000000000000 0x6d5 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o - .debug_str 0x0000000000000000 0x55045 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o - .comment 0x0000000000000000 0x54 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o - .ARM.attributes - 0x0000000000000000 0x31 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o .group 0x0000000000000000 0xc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o @@ -2412,13 +2701,88 @@ Discarded input sections .text 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o .data 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o .bss 0x0000000000000000 0x0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o - .debug_info 0x0000000000000000 0x151 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o - .debug_abbrev 0x0000000000000000 0x9a ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o - .debug_aranges + .text.HAL_TIMEx_HallSensor_Init + 0x0000000000000000 0x162 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_HallSensor_DeInit + 0x0000000000000000 0x8c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_HallSensor_MspInit + 0x0000000000000000 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_HallSensor_MspDeInit + 0x0000000000000000 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_HallSensor_Start + 0x0000000000000000 0xe4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_HallSensor_Stop + 0x0000000000000000 0x70 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_HallSensor_Start_IT + 0x0000000000000000 0xf4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_HallSensor_Stop_IT + 0x0000000000000000 0x80 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_HallSensor_Start_DMA + 0x0000000000000000 0x134 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_HallSensor_Stop_DMA + 0x0000000000000000 0x80 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_OCN_Start + 0x0000000000000000 0x11c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_OCN_Stop + 0x0000000000000000 0xb8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_OCN_Start_IT + 0x0000000000000000 0x19c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_OCN_Stop_IT + 0x0000000000000000 0x148 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_OCN_Start_DMA + 0x0000000000000000 0x2c0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_OCN_Stop_DMA + 0x0000000000000000 0x150 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_PWMN_Start + 0x0000000000000000 0x11c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_PWMN_Stop + 0x0000000000000000 0xb8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_PWMN_Start_IT + 0x0000000000000000 0x19c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_PWMN_Stop_IT + 0x0000000000000000 0x148 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_PWMN_Start_DMA + 0x0000000000000000 0x2c0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_PWMN_Stop_DMA + 0x0000000000000000 0x150 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_OnePulseN_Start + 0x0000000000000000 0xc4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_OnePulseN_Stop + 0x0000000000000000 0xbc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_OnePulseN_Start_IT + 0x0000000000000000 0xe4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_OnePulseN_Stop_IT + 0x0000000000000000 0xdc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_ConfigCommutEvent + 0x0000000000000000 0xc0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_ConfigCommutEvent_IT + 0x0000000000000000 0xc0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_ConfigCommutEvent_DMA + 0x0000000000000000 0xe4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_MasterConfigSynchronization + 0x0000000000000000 0xa4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_ConfigBreakDeadTime + 0x0000000000000000 0xbc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_RemapConfig + 0x0000000000000000 0x3a ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_CommutHalfCpltCallback + 0x0000000000000000 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_HallSensor_GetState 0x0000000000000000 0x18 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o - .debug_macro 0x0000000000000000 0x1ad ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.HAL_TIMEx_GetChannelNState + 0x0000000000000000 0x54 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.TIMEx_DMACommutationCplt + 0x0000000000000000 0x26 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.TIMEx_DMACommutationHalfCplt + 0x0000000000000000 0x26 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.TIM_DMADelayPulseNCplt + 0x0000000000000000 0xaa ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.TIM_DMAErrorCCxN + 0x0000000000000000 0x70 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .text.TIM_CCxNChannelCmd + 0x0000000000000000 0x46 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o .debug_macro 0x0000000000000000 0xa7e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o - .debug_macro 0x0000000000000000 0x12d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .debug_macro 0x0000000000000000 0x133 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o .debug_macro 0x0000000000000000 0x2e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o .debug_macro 0x0000000000000000 0x22 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o @@ -2454,12 +2818,11 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa5 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o .debug_macro 0x0000000000000000 0x4c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o .debug_macro 0x0000000000000000 0x2b ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .debug_macro 0x0000000000000000 0x8d8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .debug_macro 0x0000000000000000 0x28 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o .debug_macro 0x0000000000000000 0xf1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o - .debug_line 0x0000000000000000 0x6d8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o - .debug_str 0x0000000000000000 0x55048 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o - .comment 0x0000000000000000 0x54 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o - .ARM.attributes - 0x0000000000000000 0x31 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .group 0x0000000000000000 0xc ./my_software/button.o + .group 0x0000000000000000 0xc ./my_software/button.o .group 0x0000000000000000 0xc ./my_software/button.o .group 0x0000000000000000 0xc ./my_software/button.o .group 0x0000000000000000 0xc ./my_software/button.o @@ -2503,7 +2866,7 @@ Discarded input sections .data 0x0000000000000000 0x0 ./my_software/button.o .bss 0x0000000000000000 0x0 ./my_software/button.o .debug_macro 0x0000000000000000 0xa7e ./my_software/button.o - .debug_macro 0x0000000000000000 0x12d ./my_software/button.o + .debug_macro 0x0000000000000000 0x133 ./my_software/button.o .debug_macro 0x0000000000000000 0x2e ./my_software/button.o .debug_macro 0x0000000000000000 0x22 ./my_software/button.o .debug_macro 0x0000000000000000 0x22 ./my_software/button.o @@ -2539,8 +2902,117 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa5 ./my_software/button.o .debug_macro 0x0000000000000000 0x4c ./my_software/button.o .debug_macro 0x0000000000000000 0x2b ./my_software/button.o + .debug_macro 0x0000000000000000 0x8d8 ./my_software/button.o + .debug_macro 0x0000000000000000 0x28 ./my_software/button.o .debug_macro 0x0000000000000000 0xf1 ./my_software/button.o - .debug_macro 0x0000000000000000 0x88 ./my_software/button.o + .debug_macro 0x0000000000000000 0x8e ./my_software/button.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/flash.o + .text 0x0000000000000000 0x0 ./my_software/flash.o + .data 0x0000000000000000 0x0 ./my_software/flash.o + .bss 0x0000000000000000 0x0 ./my_software/flash.o + .text.STMFLASH_ReadWord + 0x0000000000000000 0x14 ./my_software/flash.o + .text.STMFLASH_Write + 0x0000000000000000 0xf0 ./my_software/flash.o + .text.STMFLASH_Read + 0x0000000000000000 0x44 ./my_software/flash.o + .debug_info 0x0000000000000000 0x2ed ./my_software/flash.o + .debug_abbrev 0x0000000000000000 0x132 ./my_software/flash.o + .debug_aranges + 0x0000000000000000 0x30 ./my_software/flash.o + .debug_ranges 0x0000000000000000 0x20 ./my_software/flash.o + .debug_macro 0x0000000000000000 0x1df ./my_software/flash.o + .debug_macro 0x0000000000000000 0xa7e ./my_software/flash.o + .debug_macro 0x0000000000000000 0x133 ./my_software/flash.o + .debug_macro 0x0000000000000000 0x2e ./my_software/flash.o + .debug_macro 0x0000000000000000 0x22 ./my_software/flash.o + .debug_macro 0x0000000000000000 0x22 ./my_software/flash.o + .debug_macro 0x0000000000000000 0x8e ./my_software/flash.o + .debug_macro 0x0000000000000000 0x51 ./my_software/flash.o + .debug_macro 0x0000000000000000 0x103 ./my_software/flash.o + .debug_macro 0x0000000000000000 0x6a ./my_software/flash.o + .debug_macro 0x0000000000000000 0x1df ./my_software/flash.o + .debug_macro 0x0000000000000000 0x1c ./my_software/flash.o + .debug_macro 0x0000000000000000 0x22 ./my_software/flash.o + .debug_macro 0x0000000000000000 0xb5 ./my_software/flash.o + .debug_macro 0x0000000000000000 0x391 ./my_software/flash.o + .debug_macro 0x0000000000000000 0x6e67 ./my_software/flash.o + .debug_macro 0x0000000000000000 0x66 ./my_software/flash.o + .debug_macro 0x0000000000000000 0x34a6 ./my_software/flash.o + .debug_macro 0x0000000000000000 0x174 ./my_software/flash.o + .debug_macro 0x0000000000000000 0x55 ./my_software/flash.o + .debug_macro 0x0000000000000000 0x924 ./my_software/flash.o + .debug_macro 0x0000000000000000 0xe5 ./my_software/flash.o + .debug_macro 0x0000000000000000 0x1af ./my_software/flash.o + .debug_macro 0x0000000000000000 0xb3 ./my_software/flash.o + .debug_macro 0x0000000000000000 0x1a0 ./my_software/flash.o + .debug_macro 0x0000000000000000 0x1ed ./my_software/flash.o + .debug_macro 0x0000000000000000 0x34 ./my_software/flash.o + .debug_macro 0x0000000000000000 0x43 ./my_software/flash.o + .debug_macro 0x0000000000000000 0x28 ./my_software/flash.o + .debug_macro 0x0000000000000000 0x33d ./my_software/flash.o + .debug_macro 0x0000000000000000 0xbc ./my_software/flash.o + .debug_macro 0x0000000000000000 0xb0 ./my_software/flash.o + .debug_macro 0x0000000000000000 0x15a ./my_software/flash.o + .debug_macro 0x0000000000000000 0x22c ./my_software/flash.o + .debug_macro 0x0000000000000000 0x61 ./my_software/flash.o + .debug_macro 0x0000000000000000 0xa5 ./my_software/flash.o + .debug_macro 0x0000000000000000 0x4c ./my_software/flash.o + .debug_macro 0x0000000000000000 0x2b ./my_software/flash.o + .debug_macro 0x0000000000000000 0x8d8 ./my_software/flash.o + .debug_macro 0x0000000000000000 0x28 ./my_software/flash.o + .debug_macro 0x0000000000000000 0xf1 ./my_software/flash.o + .debug_macro 0x0000000000000000 0x8e ./my_software/flash.o + .debug_macro 0x0000000000000000 0x10 ./my_software/flash.o + .debug_line 0x0000000000000000 0x7e5 ./my_software/flash.o + .debug_str 0x0000000000000000 0x5c146 ./my_software/flash.o + .comment 0x0000000000000000 0x54 ./my_software/flash.o + .debug_frame 0x0000000000000000 0x74 ./my_software/flash.o + .ARM.attributes + 0x0000000000000000 0x2c ./my_software/flash.o + .group 0x0000000000000000 0xc ./my_software/ht1621.o + .group 0x0000000000000000 0xc ./my_software/ht1621.o .group 0x0000000000000000 0xc ./my_software/ht1621.o .group 0x0000000000000000 0xc ./my_software/ht1621.o .group 0x0000000000000000 0xc ./my_software/ht1621.o @@ -2588,7 +3060,7 @@ Discarded input sections .text.Write1DataHT1621 0x0000000000000000 0x148 ./my_software/ht1621.o .debug_macro 0x0000000000000000 0xa7e ./my_software/ht1621.o - .debug_macro 0x0000000000000000 0x12d ./my_software/ht1621.o + .debug_macro 0x0000000000000000 0x133 ./my_software/ht1621.o .debug_macro 0x0000000000000000 0x2e ./my_software/ht1621.o .debug_macro 0x0000000000000000 0x22 ./my_software/ht1621.o .debug_macro 0x0000000000000000 0x22 ./my_software/ht1621.o @@ -2624,9 +3096,14 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa5 ./my_software/ht1621.o .debug_macro 0x0000000000000000 0x4c ./my_software/ht1621.o .debug_macro 0x0000000000000000 0x2b ./my_software/ht1621.o - .debug_macro 0x0000000000000000 0xf1 ./my_software/ht1621.o - .debug_macro 0x0000000000000000 0x88 ./my_software/ht1621.o + .debug_macro 0x0000000000000000 0x8d8 ./my_software/ht1621.o .debug_macro 0x0000000000000000 0x28 ./my_software/ht1621.o + .debug_macro 0x0000000000000000 0xf1 ./my_software/ht1621.o + .debug_macro 0x0000000000000000 0x8e ./my_software/ht1621.o + .debug_macro 0x0000000000000000 0x28 ./my_software/ht1621.o + .group 0x0000000000000000 0xc ./my_software/my_code.o + .group 0x0000000000000000 0xc ./my_software/my_code.o + .group 0x0000000000000000 0xc ./my_software/my_code.o .group 0x0000000000000000 0xc ./my_software/my_code.o .group 0x0000000000000000 0xc ./my_software/my_code.o .group 0x0000000000000000 0xc ./my_software/my_code.o @@ -2673,7 +3150,7 @@ Discarded input sections .bss 0x0000000000000000 0x0 ./my_software/my_code.o .text.Read_Ds 0x0000000000000000 0x26 ./my_software/my_code.o .debug_macro 0x0000000000000000 0xa7e ./my_software/my_code.o - .debug_macro 0x0000000000000000 0x12d ./my_software/my_code.o + .debug_macro 0x0000000000000000 0x133 ./my_software/my_code.o .debug_macro 0x0000000000000000 0x2e ./my_software/my_code.o .debug_macro 0x0000000000000000 0x22 ./my_software/my_code.o .debug_macro 0x0000000000000000 0x22 ./my_software/my_code.o @@ -2709,8 +3186,95 @@ Discarded input sections .debug_macro 0x0000000000000000 0xa5 ./my_software/my_code.o .debug_macro 0x0000000000000000 0x4c ./my_software/my_code.o .debug_macro 0x0000000000000000 0x2b ./my_software/my_code.o + .debug_macro 0x0000000000000000 0x8d8 ./my_software/my_code.o + .debug_macro 0x0000000000000000 0x28 ./my_software/my_code.o .debug_macro 0x0000000000000000 0xf1 ./my_software/my_code.o - .debug_macro 0x0000000000000000 0x88 ./my_software/my_code.o + .debug_macro 0x0000000000000000 0x8e ./my_software/my_code.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .group 0x0000000000000000 0xc ./my_software/r480r.o + .text 0x0000000000000000 0x0 ./my_software/r480r.o + .data 0x0000000000000000 0x0 ./my_software/r480r.o + .bss 0x0000000000000000 0x0 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0xa7e ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x133 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x2e ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x22 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x22 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x8e ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x51 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x103 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x6a ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x1df ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x1c ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x22 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0xb5 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x391 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x6e67 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x66 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x34a6 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x174 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x55 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x924 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0xe5 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x1af ./my_software/r480r.o + .debug_macro 0x0000000000000000 0xb3 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x1a0 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x1ed ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x34 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x43 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x28 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x33d ./my_software/r480r.o + .debug_macro 0x0000000000000000 0xbc ./my_software/r480r.o + .debug_macro 0x0000000000000000 0xb0 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x15a ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x22c ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x61 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0xa5 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x4c ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x2b ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x8d8 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x28 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0xf1 ./my_software/r480r.o + .debug_macro 0x0000000000000000 0x8e ./my_software/r480r.o .text 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-errno.o) .data 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-errno.o) .bss 0x0000000000000000 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-errno.o) @@ -2795,8 +3359,10 @@ LOAD ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc_ex.o LOAD ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o LOAD ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o LOAD ./my_software/button.o +LOAD ./my_software/flash.o LOAD ./my_software/ht1621.o LOAD ./my_software/my_code.o +LOAD ./my_software/r480r.o START GROUP LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libm.a @@ -2828,7 +3394,7 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id 0x0000000008000000 g_pfnVectors 0x00000000080000c0 . = ALIGN (0x4) -.text 0x00000000080000c0 0x3070 +.text 0x00000000080000c0 0x3974 0x00000000080000c0 . = ALIGN (0x4) *(.text) .text 0x00000000080000c0 0x48 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o @@ -2844,257 +3410,320 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id 0x00000000080003f0 __aeabi_ldiv0 0x00000000080003f0 __aeabi_idiv0 *(.text*) - .text.main 0x00000000080003f4 0x1a ./Core/Src/main.o + .text.main 0x00000000080003f4 0x1e ./Core/Src/main.o 0x00000000080003f4 main .text.SystemClock_Config - 0x000000000800040e 0xa0 ./Core/Src/main.o - 0x000000000800040e SystemClock_Config - *fill* 0x00000000080004ae 0x2 + 0x0000000008000412 0xa0 ./Core/Src/main.o + 0x0000000008000412 SystemClock_Config + *fill* 0x00000000080004b2 0x2 .text.MX_ADC_Init - 0x00000000080004b0 0xd0 ./Core/Src/main.o + 0x00000000080004b4 0xd0 ./Core/Src/main.o + .text.MX_TIM14_Init + 0x0000000008000584 0x48 ./Core/Src/main.o .text.MX_GPIO_Init - 0x0000000008000580 0xd8 ./Core/Src/main.o + 0x00000000080005cc 0x10c ./Core/Src/main.o .text.Error_Handler - 0x0000000008000658 0xa ./Core/Src/main.o - 0x0000000008000658 Error_Handler - *fill* 0x0000000008000662 0x2 + 0x00000000080006d8 0xa ./Core/Src/main.o + 0x00000000080006d8 Error_Handler + *fill* 0x00000000080006e2 0x2 .text.HAL_MspInit - 0x0000000008000664 0x48 ./Core/Src/stm32f0xx_hal_msp.o - 0x0000000008000664 HAL_MspInit + 0x00000000080006e4 0x48 ./Core/Src/stm32f0xx_hal_msp.o + 0x00000000080006e4 HAL_MspInit .text.HAL_ADC_MspInit - 0x00000000080006ac 0x8c ./Core/Src/stm32f0xx_hal_msp.o - 0x00000000080006ac HAL_ADC_MspInit + 0x000000000800072c 0x8c ./Core/Src/stm32f0xx_hal_msp.o + 0x000000000800072c HAL_ADC_MspInit + .text.HAL_TIM_Base_MspInit + 0x00000000080007b8 0x50 ./Core/Src/stm32f0xx_hal_msp.o + 0x00000000080007b8 HAL_TIM_Base_MspInit .text.NMI_Handler - 0x0000000008000738 0x6 ./Core/Src/stm32f0xx_it.o - 0x0000000008000738 NMI_Handler + 0x0000000008000808 0x6 ./Core/Src/stm32f0xx_it.o + 0x0000000008000808 NMI_Handler .text.HardFault_Handler - 0x000000000800073e 0x6 ./Core/Src/stm32f0xx_it.o - 0x000000000800073e HardFault_Handler + 0x000000000800080e 0x6 ./Core/Src/stm32f0xx_it.o + 0x000000000800080e HardFault_Handler .text.SVC_Handler - 0x0000000008000744 0xa ./Core/Src/stm32f0xx_it.o - 0x0000000008000744 SVC_Handler + 0x0000000008000814 0xa ./Core/Src/stm32f0xx_it.o + 0x0000000008000814 SVC_Handler .text.PendSV_Handler - 0x000000000800074e 0xa ./Core/Src/stm32f0xx_it.o - 0x000000000800074e PendSV_Handler + 0x000000000800081e 0xa ./Core/Src/stm32f0xx_it.o + 0x000000000800081e PendSV_Handler .text.SysTick_Handler - 0x0000000008000758 0xe ./Core/Src/stm32f0xx_it.o - 0x0000000008000758 SysTick_Handler + 0x0000000008000828 0xe ./Core/Src/stm32f0xx_it.o + 0x0000000008000828 SysTick_Handler + .text.EXTI2_3_IRQHandler + 0x0000000008000836 0x10 ./Core/Src/stm32f0xx_it.o + 0x0000000008000836 EXTI2_3_IRQHandler + *fill* 0x0000000008000846 0x2 + .text.TIM14_IRQHandler + 0x0000000008000848 0x18 ./Core/Src/stm32f0xx_it.o + 0x0000000008000848 TIM14_IRQHandler .text.SystemInit - 0x0000000008000766 0xa ./Core/Src/system_stm32f0xx.o - 0x0000000008000766 SystemInit + 0x0000000008000860 0xa ./Core/Src/system_stm32f0xx.o + 0x0000000008000860 SystemInit + *fill* 0x000000000800086a 0x2 .text.Reset_Handler - 0x0000000008000770 0x50 ./Core/Startup/startup_stm32f030f4px.o - 0x0000000008000770 Reset_Handler + 0x000000000800086c 0x50 ./Core/Startup/startup_stm32f030f4px.o + 0x000000000800086c Reset_Handler .text.Default_Handler - 0x00000000080007c0 0x2 ./Core/Startup/startup_stm32f030f4px.o - 0x00000000080007c0 TIM1_BRK_UP_TRG_COM_IRQHandler - 0x00000000080007c0 I2C1_IRQHandler - 0x00000000080007c0 SPI1_IRQHandler - 0x00000000080007c0 EXTI2_3_IRQHandler - 0x00000000080007c0 ADC1_IRQHandler - 0x00000000080007c0 TIM17_IRQHandler - 0x00000000080007c0 RTC_IRQHandler - 0x00000000080007c0 TIM16_IRQHandler - 0x00000000080007c0 TIM3_IRQHandler - 0x00000000080007c0 EXTI4_15_IRQHandler - 0x00000000080007c0 RCC_IRQHandler - 0x00000000080007c0 DMA1_Channel1_IRQHandler - 0x00000000080007c0 Default_Handler - 0x00000000080007c0 TIM14_IRQHandler - 0x00000000080007c0 DMA1_Channel4_5_IRQHandler - 0x00000000080007c0 EXTI0_1_IRQHandler - 0x00000000080007c0 WWDG_IRQHandler - 0x00000000080007c0 DMA1_Channel2_3_IRQHandler - 0x00000000080007c0 FLASH_IRQHandler - 0x00000000080007c0 USART1_IRQHandler - 0x00000000080007c0 TIM1_CC_IRQHandler - *fill* 0x00000000080007c2 0x2 + 0x00000000080008bc 0x2 ./Core/Startup/startup_stm32f030f4px.o + 0x00000000080008bc TIM1_BRK_UP_TRG_COM_IRQHandler + 0x00000000080008bc I2C1_IRQHandler + 0x00000000080008bc SPI1_IRQHandler + 0x00000000080008bc ADC1_IRQHandler + 0x00000000080008bc TIM17_IRQHandler + 0x00000000080008bc RTC_IRQHandler + 0x00000000080008bc TIM16_IRQHandler + 0x00000000080008bc TIM3_IRQHandler + 0x00000000080008bc EXTI4_15_IRQHandler + 0x00000000080008bc RCC_IRQHandler + 0x00000000080008bc DMA1_Channel1_IRQHandler + 0x00000000080008bc Default_Handler + 0x00000000080008bc DMA1_Channel4_5_IRQHandler + 0x00000000080008bc EXTI0_1_IRQHandler + 0x00000000080008bc WWDG_IRQHandler + 0x00000000080008bc DMA1_Channel2_3_IRQHandler + 0x00000000080008bc FLASH_IRQHandler + 0x00000000080008bc USART1_IRQHandler + 0x00000000080008bc TIM1_CC_IRQHandler + *fill* 0x00000000080008be 0x2 .text.HAL_Init - 0x00000000080007c4 0x28 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o - 0x00000000080007c4 HAL_Init + 0x00000000080008c0 0x28 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o + 0x00000000080008c0 HAL_Init .text.HAL_InitTick - 0x00000000080007ec 0x68 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o - 0x00000000080007ec HAL_InitTick + 0x00000000080008e8 0x68 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o + 0x00000000080008e8 HAL_InitTick .text.HAL_IncTick - 0x0000000008000854 0x24 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o - 0x0000000008000854 HAL_IncTick + 0x0000000008000950 0x24 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o + 0x0000000008000950 HAL_IncTick .text.HAL_GetTick - 0x0000000008000878 0x14 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o - 0x0000000008000878 HAL_GetTick + 0x0000000008000974 0x14 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o + 0x0000000008000974 HAL_GetTick .text.HAL_ADC_Init - 0x000000000800088c 0x280 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o - 0x000000000800088c HAL_ADC_Init + 0x0000000008000988 0x280 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o + 0x0000000008000988 HAL_ADC_Init .text.HAL_ADC_Start - 0x0000000008000b0c 0xa8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o - 0x0000000008000b0c HAL_ADC_Start + 0x0000000008000c08 0xa8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o + 0x0000000008000c08 HAL_ADC_Start .text.HAL_ADC_Stop - 0x0000000008000bb4 0x80 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o - 0x0000000008000bb4 HAL_ADC_Stop + 0x0000000008000cb0 0x80 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o + 0x0000000008000cb0 HAL_ADC_Stop .text.HAL_ADC_PollForConversion - 0x0000000008000c34 0x130 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o - 0x0000000008000c34 HAL_ADC_PollForConversion + 0x0000000008000d30 0x130 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o + 0x0000000008000d30 HAL_ADC_PollForConversion .text.HAL_ADC_GetValue - 0x0000000008000d64 0x16 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o - 0x0000000008000d64 HAL_ADC_GetValue - *fill* 0x0000000008000d7a 0x2 + 0x0000000008000e60 0x16 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o + 0x0000000008000e60 HAL_ADC_GetValue + *fill* 0x0000000008000e76 0x2 .text.HAL_ADC_ConfigChannel - 0x0000000008000d7c 0x1ec ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o - 0x0000000008000d7c HAL_ADC_ConfigChannel + 0x0000000008000e78 0x1ec ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o + 0x0000000008000e78 HAL_ADC_ConfigChannel .text.ADC_Enable - 0x0000000008000f68 0x108 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o + 0x0000000008001064 0x108 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o .text.ADC_Disable - 0x0000000008001070 0xe2 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o + 0x000000000800116c 0xe2 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o .text.ADC_ConversionStop - 0x0000000008001152 0x98 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o - *fill* 0x00000000080011ea 0x2 + 0x000000000800124e 0x98 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o + *fill* 0x00000000080012e6 0x2 + .text.__NVIC_EnableIRQ + 0x00000000080012e8 0x34 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .text.__NVIC_SetPriority - 0x00000000080011ec 0xdc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o + 0x000000000800131c 0xdc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .text.SysTick_Config - 0x00000000080012c8 0x48 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o + 0x00000000080013f8 0x48 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .text.HAL_NVIC_SetPriority - 0x0000000008001310 0x2a ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o - 0x0000000008001310 HAL_NVIC_SetPriority + 0x0000000008001440 0x2a ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o + 0x0000000008001440 HAL_NVIC_SetPriority + .text.HAL_NVIC_EnableIRQ + 0x000000000800146a 0x20 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o + 0x000000000800146a HAL_NVIC_EnableIRQ .text.HAL_SYSTICK_Config - 0x000000000800133a 0x1a ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o - 0x000000000800133a HAL_SYSTICK_Config + 0x000000000800148a 0x1a ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o + 0x000000000800148a HAL_SYSTICK_Config .text.HAL_GPIO_Init - 0x0000000008001354 0x2e0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o - 0x0000000008001354 HAL_GPIO_Init + 0x00000000080014a4 0x2e0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o + 0x00000000080014a4 HAL_GPIO_Init + .text.HAL_GPIO_ReadPin + 0x0000000008001784 0x3a ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o + 0x0000000008001784 HAL_GPIO_ReadPin .text.HAL_GPIO_WritePin - 0x0000000008001634 0x3a ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o - 0x0000000008001634 HAL_GPIO_WritePin - *fill* 0x000000000800166e 0x2 + 0x00000000080017be 0x3a ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o + 0x00000000080017be HAL_GPIO_WritePin + .text.HAL_GPIO_EXTI_IRQHandler + 0x00000000080017f8 0x38 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o + 0x00000000080017f8 HAL_GPIO_EXTI_IRQHandler .text.HAL_RCC_OscConfig - 0x0000000008001670 0x634 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o - 0x0000000008001670 HAL_RCC_OscConfig + 0x0000000008001830 0x634 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o + 0x0000000008001830 HAL_RCC_OscConfig .text.HAL_RCC_ClockConfig - 0x0000000008001ca4 0x19c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o - 0x0000000008001ca4 HAL_RCC_ClockConfig + 0x0000000008001e64 0x19c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o + 0x0000000008001e64 HAL_RCC_ClockConfig .text.HAL_RCC_GetSysClockFreq - 0x0000000008001e40 0xc8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o - 0x0000000008001e40 HAL_RCC_GetSysClockFreq + 0x0000000008002000 0xc8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o + 0x0000000008002000 HAL_RCC_GetSysClockFreq + .text.HAL_TIM_Base_Init + 0x00000000080020c8 0xa0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + 0x00000000080020c8 HAL_TIM_Base_Init + .text.HAL_TIM_Base_Start_IT + 0x0000000008002168 0x8c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + 0x0000000008002168 HAL_TIM_Base_Start_IT + .text.HAL_TIM_IRQHandler + 0x00000000080021f4 0x22c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + 0x00000000080021f4 HAL_TIM_IRQHandler + .text.HAL_TIM_OC_DelayElapsedCallback + 0x0000000008002420 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + 0x0000000008002420 HAL_TIM_OC_DelayElapsedCallback + .text.HAL_TIM_IC_CaptureCallback + 0x0000000008002430 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + 0x0000000008002430 HAL_TIM_IC_CaptureCallback + .text.HAL_TIM_PWM_PulseFinishedCallback + 0x0000000008002440 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + 0x0000000008002440 HAL_TIM_PWM_PulseFinishedCallback + .text.HAL_TIM_TriggerCallback + 0x0000000008002450 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + 0x0000000008002450 HAL_TIM_TriggerCallback + .text.TIM_Base_SetConfig + 0x0000000008002460 0xd8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + 0x0000000008002460 TIM_Base_SetConfig + .text.HAL_TIMEx_CommutCallback + 0x0000000008002538 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + 0x0000000008002538 HAL_TIMEx_CommutCallback + .text.HAL_TIMEx_BreakCallback + 0x0000000008002548 0x10 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + 0x0000000008002548 HAL_TIMEx_BreakCallback .text.GEI_BUTTON_CODE - 0x0000000008001f08 0xbc ./my_software/button.o - 0x0000000008001f08 GEI_BUTTON_CODE + 0x0000000008002558 0xbc ./my_software/button.o + 0x0000000008002558 GEI_BUTTON_CODE .text.WriteClockHT1621 - 0x0000000008001fc4 0x26 ./my_software/ht1621.o - 0x0000000008001fc4 WriteClockHT1621 + 0x0000000008002614 0x26 ./my_software/ht1621.o + 0x0000000008002614 WriteClockHT1621 .text.WriteCommandHT1621 - 0x0000000008001fea 0xee ./my_software/ht1621.o - 0x0000000008001fea WriteCommandHT1621 + 0x000000000800263a 0xee ./my_software/ht1621.o + 0x000000000800263a WriteCommandHT1621 .text.WritenDataHT1621 - 0x00000000080020d8 0x182 ./my_software/ht1621.o - 0x00000000080020d8 WritenDataHT1621 + 0x0000000008002728 0x182 ./my_software/ht1621.o + 0x0000000008002728 WritenDataHT1621 .text.HT1621_Init - 0x000000000800225a 0x5e ./my_software/ht1621.o - 0x000000000800225a HT1621_Init + 0x00000000080028aa 0x5e ./my_software/ht1621.o + 0x00000000080028aa HT1621_Init .text.ds_in_or_out - 0x00000000080022b8 0x6c ./my_software/my_code.o - 0x00000000080022b8 ds_in_or_out + 0x0000000008002908 0x6c ./my_software/my_code.o + 0x0000000008002908 ds_in_or_out .text.Sand_Byte_to_595_2 - 0x0000000008002324 0xd4 ./my_software/my_code.o - 0x0000000008002324 Sand_Byte_to_595_2 + 0x0000000008002974 0xd4 ./my_software/my_code.o + 0x0000000008002974 Sand_Byte_to_595_2 .text.hc2_sever - 0x00000000080023f8 0xa4 ./my_software/my_code.o - 0x00000000080023f8 hc2_sever + 0x0000000008002a48 0xa4 ./my_software/my_code.o + 0x0000000008002a48 hc2_sever .text.moto_server - 0x000000000800249c 0x1c4 ./my_software/my_code.o - 0x000000000800249c moto_server + 0x0000000008002aec 0x1c4 ./my_software/my_code.o + 0x0000000008002aec moto_server .text.HT1621_Display_GetButton - 0x0000000008002660 0x150 ./my_software/my_code.o - 0x0000000008002660 HT1621_Display_GetButton - .text.my_code 0x00000000080027b0 0x910 ./my_software/my_code.o - 0x00000000080027b0 my_code + 0x0000000008002cb0 0x150 ./my_software/my_code.o + 0x0000000008002cb0 HT1621_Display_GetButton + .text.my_code 0x0000000008002e00 0xa20 ./my_software/my_code.o + 0x0000000008002e00 my_code + .text.r480_init + 0x0000000008003820 0x20 ./my_software/r480r.o + 0x0000000008003820 r480_init + .text.read_433_exit + 0x0000000008003840 0x138 ./my_software/r480r.o + 0x0000000008003840 read_433_exit + .text.HAL_GPIO_EXTI_Callback + 0x0000000008003978 0x20 ./my_software/r480r.o + 0x0000000008003978 HAL_GPIO_EXTI_Callback + .text.HAL_TIM_PeriodElapsedCallback + 0x0000000008003998 0x2c ./my_software/r480r.o + 0x0000000008003998 HAL_TIM_PeriodElapsedCallback .text.__libc_init_array - 0x00000000080030c0 0x48 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-init.o) - 0x00000000080030c0 __libc_init_array - .text.memset 0x0000000008003108 0x10 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-memset.o) - 0x0000000008003108 memset + 0x00000000080039c4 0x48 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-init.o) + 0x00000000080039c4 __libc_init_array + .text.memset 0x0000000008003a0c 0x10 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-memset.o) + 0x0000000008003a0c memset *(.glue_7) - .glue_7 0x0000000008003118 0x0 linker stubs + .glue_7 0x0000000008003a1c 0x0 linker stubs *(.glue_7t) - .glue_7t 0x0000000008003118 0x0 linker stubs + .glue_7t 0x0000000008003a1c 0x0 linker stubs *(.eh_frame) - .eh_frame 0x0000000008003118 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o + .eh_frame 0x0000000008003a1c 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o *(.init) - .init 0x0000000008003118 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crti.o - 0x0000000008003118 _init - .init 0x000000000800311c 0x8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtn.o + .init 0x0000000008003a1c 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crti.o + 0x0000000008003a1c _init + .init 0x0000000008003a20 0x8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtn.o *(.fini) - .fini 0x0000000008003124 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crti.o - 0x0000000008003124 _fini - .fini 0x0000000008003128 0x8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtn.o - 0x0000000008003130 . = ALIGN (0x4) - 0x0000000008003130 _etext = . + .fini 0x0000000008003a28 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crti.o + 0x0000000008003a28 _fini + .fini 0x0000000008003a2c 0x8 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtn.o + 0x0000000008003a34 . = ALIGN (0x4) + 0x0000000008003a34 _etext = . -.vfp11_veneer 0x0000000008003130 0x0 - .vfp11_veneer 0x0000000008003130 0x0 linker stubs +.vfp11_veneer 0x0000000008003a34 0x0 + .vfp11_veneer 0x0000000008003a34 0x0 linker stubs -.v4_bx 0x0000000008003130 0x0 - .v4_bx 0x0000000008003130 0x0 linker stubs +.v4_bx 0x0000000008003a34 0x0 + .v4_bx 0x0000000008003a34 0x0 linker stubs -.iplt 0x0000000008003130 0x0 - .iplt 0x0000000008003130 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o +.iplt 0x0000000008003a34 0x0 + .iplt 0x0000000008003a34 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o -.rodata 0x0000000008003130 0x64 - 0x0000000008003130 . = ALIGN (0x4) +.rodata 0x0000000008003a34 0x68 + 0x0000000008003a34 . = ALIGN (0x4) *(.rodata) - .rodata 0x0000000008003130 0x20 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o - .rodata 0x0000000008003150 0x8 ./my_software/my_code.o + .rodata 0x0000000008003a34 0x20 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o + .rodata 0x0000000008003a54 0x8 ./my_software/my_code.o *(.rodata*) .rodata.AHBPrescTable - 0x0000000008003158 0x10 ./Core/Src/system_stm32f0xx.o - 0x0000000008003158 AHBPrescTable + 0x0000000008003a5c 0x10 ./Core/Src/system_stm32f0xx.o + 0x0000000008003a5c AHBPrescTable .rodata.LED_Tab - 0x0000000008003168 0x12 ./my_software/my_code.o - 0x0000000008003168 LED_Tab - *fill* 0x000000000800317a 0x2 + 0x0000000008003a6c 0x12 ./my_software/my_code.o + 0x0000000008003a6c LED_Tab + *fill* 0x0000000008003a7e 0x2 .rodata.my_code - 0x000000000800317c 0x18 ./my_software/my_code.o - 0x0000000008003194 . = ALIGN (0x4) + 0x0000000008003a80 0x1c ./my_software/my_code.o + 0x0000000008003a9c . = ALIGN (0x4) -.rel.dyn 0x0000000008003194 0x0 - .rel.iplt 0x0000000008003194 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o +.rel.dyn 0x0000000008003a9c 0x0 + .rel.iplt 0x0000000008003a9c 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o -.ARM.extab 0x0000000008003194 0x0 - 0x0000000008003194 . = ALIGN (0x4) +.ARM.extab 0x0000000008003a9c 0x0 + 0x0000000008003a9c . = ALIGN (0x4) *(.ARM.extab* .gnu.linkonce.armextab.*) - 0x0000000008003194 . = ALIGN (0x4) + 0x0000000008003a9c . = ALIGN (0x4) -.ARM 0x0000000008003194 0x0 - 0x0000000008003194 . = ALIGN (0x4) - 0x0000000008003194 __exidx_start = . +.ARM 0x0000000008003a9c 0x0 + 0x0000000008003a9c . = ALIGN (0x4) + 0x0000000008003a9c __exidx_start = . *(.ARM.exidx*) - 0x0000000008003194 __exidx_end = . - 0x0000000008003194 . = ALIGN (0x4) + 0x0000000008003a9c __exidx_end = . + 0x0000000008003a9c . = ALIGN (0x4) -.preinit_array 0x0000000008003194 0x0 - 0x0000000008003194 . = ALIGN (0x4) - 0x0000000008003194 PROVIDE (__preinit_array_start = .) +.preinit_array 0x0000000008003a9c 0x0 + 0x0000000008003a9c . = ALIGN (0x4) + 0x0000000008003a9c PROVIDE (__preinit_array_start = .) *(.preinit_array*) - 0x0000000008003194 PROVIDE (__preinit_array_end = .) - 0x0000000008003194 . = ALIGN (0x4) + 0x0000000008003a9c PROVIDE (__preinit_array_end = .) + 0x0000000008003a9c . = ALIGN (0x4) -.init_array 0x0000000008003194 0x4 - 0x0000000008003194 . = ALIGN (0x4) - 0x0000000008003194 PROVIDE (__init_array_start = .) +.init_array 0x0000000008003a9c 0x4 + 0x0000000008003a9c . = ALIGN (0x4) + 0x0000000008003a9c PROVIDE (__init_array_start = .) *(SORT_BY_NAME(.init_array.*)) *(.init_array*) - .init_array 0x0000000008003194 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o - 0x0000000008003198 PROVIDE (__init_array_end = .) - 0x0000000008003198 . = ALIGN (0x4) + .init_array 0x0000000008003a9c 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o + 0x0000000008003aa0 PROVIDE (__init_array_end = .) + 0x0000000008003aa0 . = ALIGN (0x4) -.fini_array 0x0000000008003198 0x4 - 0x0000000008003198 . = ALIGN (0x4) +.fini_array 0x0000000008003aa0 0x4 + 0x0000000008003aa0 . = ALIGN (0x4) [!provide] PROVIDE (__fini_array_start = .) *(SORT_BY_NAME(.fini_array.*)) *(.fini_array*) - .fini_array 0x0000000008003198 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o + .fini_array 0x0000000008003aa0 0x4 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o [!provide] PROVIDE (__fini_array_end = .) - 0x000000000800319c . = ALIGN (0x4) - 0x000000000800319c _sidata = LOADADDR (.data) + 0x0000000008003aa4 . = ALIGN (0x4) + 0x0000000008003aa4 _sidata = LOADADDR (.data) -.data 0x0000000020000000 0xc load address 0x000000000800319c +.data 0x0000000020000000 0xc load address 0x0000000008003aa4 0x0000000020000000 . = ALIGN (0x4) 0x0000000020000000 _sdata = . *(.data) @@ -3114,45 +3743,63 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id *fill* 0x0000000020000009 0x3 0x000000002000000c _edata = . -.igot.plt 0x000000002000000c 0x0 load address 0x00000000080031a8 +.igot.plt 0x000000002000000c 0x0 load address 0x0000000008003ab0 .igot.plt 0x000000002000000c 0x0 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o 0x000000002000000c . = ALIGN (0x4) -.bss 0x000000002000000c 0xe0 load address 0x00000000080031a8 +.bss 0x000000002000000c 0x144 load address 0x0000000008003ab0 0x000000002000000c _sbss = . 0x000000002000000c __bss_start__ = _sbss *(.bss) .bss 0x000000002000000c 0x1c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtbegin.o *(.bss*) + .bss.timer_100us_tick + 0x0000000020000028 0x2 ./my_software/r480r.o + 0x0000000020000028 timer_100us_tick + *fill* 0x000000002000002a 0x2 + .bss.read_bit_flag + 0x000000002000002c 0x4 ./my_software/r480r.o + 0x000000002000002c read_bit_flag + .bss.read_char_flag + 0x0000000020000030 0x4 ./my_software/r480r.o + 0x0000000020000030 read_char_flag + .bss.read_begin + 0x0000000020000034 0x1 ./my_software/r480r.o + 0x0000000020000034 read_begin *(COMMON) - COMMON 0x0000000020000028 0x4c ./Core/Src/main.o - 0x0000000020000028 dis_buff - 0x0000000020000034 hadc - COMMON 0x0000000020000074 0x4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o - 0x0000000020000074 uwTick - COMMON 0x0000000020000078 0x74 ./my_software/my_code.o - 0x0000000020000078 key4 - 0x0000000020000088 key1 - 0x0000000020000098 overload - 0x00000000200000a8 key3 - 0x00000000200000b8 ADCC - 0x00000000200000cc key2 - 0x00000000200000dc moto - 0x00000000200000ec . = ALIGN (0x4) - 0x00000000200000ec _ebss = . - 0x00000000200000ec __bss_end__ = _ebss + *fill* 0x0000000020000035 0x3 + COMMON 0x0000000020000038 0x94 ./Core/Src/main.o + 0x0000000020000038 dis_buff + 0x0000000020000044 htim14 + 0x000000002000008c hadc + COMMON 0x00000000200000cc 0x4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o + 0x00000000200000cc uwTick + COMMON 0x00000000200000d0 0x7c ./my_software/my_code.o + 0x00000000200000d0 key4 + 0x00000000200000e0 r480 + 0x00000000200000e8 key1 + 0x00000000200000f8 overload + 0x0000000020000108 key3 + 0x0000000020000118 ADCC + 0x000000002000012c key2 + 0x000000002000013c moto + COMMON 0x000000002000014c 0x3 ./my_software/r480r.o + 0x000000002000014c read_data_buffer + 0x0000000020000150 . = ALIGN (0x4) + *fill* 0x000000002000014f 0x1 + 0x0000000020000150 _ebss = . + 0x0000000020000150 __bss_end__ = _ebss ._user_heap_stack - 0x00000000200000ec 0x604 load address 0x00000000080031a8 - 0x00000000200000f0 . = ALIGN (0x8) - *fill* 0x00000000200000ec 0x4 + 0x0000000020000150 0x600 load address 0x0000000008003ab0 + 0x0000000020000150 . = ALIGN (0x8) [!provide] PROVIDE (end = .) - 0x00000000200000f0 PROVIDE (_end = .) - 0x00000000200002f0 . = (. + _Min_Heap_Size) - *fill* 0x00000000200000f0 0x200 - 0x00000000200006f0 . = (. + _Min_Stack_Size) - *fill* 0x00000000200002f0 0x400 - 0x00000000200006f0 . = ALIGN (0x8) + 0x0000000020000150 PROVIDE (_end = .) + 0x0000000020000350 . = (. + _Min_Heap_Size) + *fill* 0x0000000020000150 0x200 + 0x0000000020000750 . = (. + _Min_Stack_Size) + *fill* 0x0000000020000350 0x400 + 0x0000000020000750 . = ALIGN (0x8) /DISCARD/ libc.a(*) @@ -3187,201 +3834,237 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id .ARM.attributes 0x00000000000001cb 0x2c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o .ARM.attributes - 0x00000000000001f7 0x2c ./my_software/button.o + 0x00000000000001f7 0x2c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o .ARM.attributes - 0x0000000000000223 0x2c ./my_software/ht1621.o + 0x0000000000000223 0x2c ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o .ARM.attributes - 0x000000000000024f 0x2c ./my_software/my_code.o + 0x000000000000024f 0x2c ./my_software/button.o .ARM.attributes - 0x000000000000027b 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-init.o) + 0x000000000000027b 0x2c ./my_software/ht1621.o .ARM.attributes - 0x00000000000002a7 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-memset.o) + 0x00000000000002a7 0x2c ./my_software/my_code.o .ARM.attributes - 0x00000000000002d3 0x1e /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/libgcc.a(_udivsi3.o) + 0x00000000000002d3 0x2c ./my_software/r480r.o .ARM.attributes - 0x00000000000002f1 0x1e /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/libgcc.a(_divsi3.o) + 0x00000000000002ff 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-init.o) .ARM.attributes - 0x000000000000030f 0x1e /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/libgcc.a(_dvmd_tls.o) + 0x000000000000032b 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-memset.o) .ARM.attributes - 0x000000000000032d 0x1e /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtn.o + 0x0000000000000357 0x1e /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/libgcc.a(_udivsi3.o) + .ARM.attributes + 0x0000000000000375 0x1e /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/libgcc.a(_divsi3.o) + .ARM.attributes + 0x0000000000000393 0x1e /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/libgcc.a(_dvmd_tls.o) + .ARM.attributes + 0x00000000000003b1 0x1e /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/crtn.o OUTPUT(Motor_Controller2.elf elf32-littlearm) LOAD linker stubs LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc.a LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libm.a LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/libgcc.a -.debug_info 0x0000000000000000 0x54cd - .debug_info 0x0000000000000000 0xb3c ./Core/Src/main.o - .debug_info 0x0000000000000b3c 0x888 ./Core/Src/stm32f0xx_hal_msp.o - .debug_info 0x00000000000013c4 0x1b3 ./Core/Src/stm32f0xx_it.o - .debug_info 0x0000000000001577 0x2c3 ./Core/Src/system_stm32f0xx.o - .debug_info 0x000000000000183a 0x22 ./Core/Startup/startup_stm32f030f4px.o - .debug_info 0x000000000000185c 0x6be ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o - .debug_info 0x0000000000001f1a 0xd62 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o - .debug_info 0x0000000000002c7c 0x7a0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o - .debug_info 0x000000000000341c 0x6d3 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o - .debug_info 0x0000000000003aef 0x88d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o - .debug_info 0x000000000000437c 0x1d4 ./my_software/button.o - .debug_info 0x0000000000004550 0x438 ./my_software/ht1621.o - .debug_info 0x0000000000004988 0xb45 ./my_software/my_code.o +.debug_info 0x0000000000000000 0xacfa + .debug_info 0x0000000000000000 0xf4a ./Core/Src/main.o + .debug_info 0x0000000000000f4a 0xcdc ./Core/Src/stm32f0xx_hal_msp.o + .debug_info 0x0000000000001c26 0x76a ./Core/Src/stm32f0xx_it.o + .debug_info 0x0000000000002390 0x2c3 ./Core/Src/system_stm32f0xx.o + .debug_info 0x0000000000002653 0x22 ./Core/Startup/startup_stm32f030f4px.o + .debug_info 0x0000000000002675 0x6be ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o + .debug_info 0x0000000000002d33 0xd62 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o + .debug_info 0x0000000000003a95 0x7a0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o + .debug_info 0x0000000000004235 0x6d3 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o + .debug_info 0x0000000000004908 0x88d ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o + .debug_info 0x0000000000005195 0x2ba9 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .debug_info 0x0000000000007d3e 0x1529 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .debug_info 0x0000000000009267 0x1d4 ./my_software/button.o + .debug_info 0x000000000000943b 0x438 ./my_software/ht1621.o + .debug_info 0x0000000000009873 0xb98 ./my_software/my_code.o + .debug_info 0x000000000000a40b 0x8ef ./my_software/r480r.o -.debug_abbrev 0x0000000000000000 0x1576 - .debug_abbrev 0x0000000000000000 0x21f ./Core/Src/main.o - .debug_abbrev 0x000000000000021f 0x1ac ./Core/Src/stm32f0xx_hal_msp.o - .debug_abbrev 0x00000000000003cb 0xd2 ./Core/Src/stm32f0xx_it.o - .debug_abbrev 0x000000000000049d 0x145 ./Core/Src/system_stm32f0xx.o - .debug_abbrev 0x00000000000005e2 0x12 ./Core/Startup/startup_stm32f030f4px.o - .debug_abbrev 0x00000000000005f4 0x21e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o - .debug_abbrev 0x0000000000000812 0x1f1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o - .debug_abbrev 0x0000000000000a03 0x2a9 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o - .debug_abbrev 0x0000000000000cac 0x1e8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o - .debug_abbrev 0x0000000000000e94 0x23b ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o - .debug_abbrev 0x00000000000010cf 0xf6 ./my_software/button.o - .debug_abbrev 0x00000000000011c5 0x18d ./my_software/ht1621.o - .debug_abbrev 0x0000000000001352 0x224 ./my_software/my_code.o +.debug_abbrev 0x0000000000000000 0x1d62 + .debug_abbrev 0x0000000000000000 0x253 ./Core/Src/main.o + .debug_abbrev 0x0000000000000253 0x1c8 ./Core/Src/stm32f0xx_hal_msp.o + .debug_abbrev 0x000000000000041b 0x187 ./Core/Src/stm32f0xx_it.o + .debug_abbrev 0x00000000000005a2 0x145 ./Core/Src/system_stm32f0xx.o + .debug_abbrev 0x00000000000006e7 0x12 ./Core/Startup/startup_stm32f030f4px.o + .debug_abbrev 0x00000000000006f9 0x21e ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o + .debug_abbrev 0x0000000000000917 0x1f1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o + .debug_abbrev 0x0000000000000b08 0x2a9 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o + .debug_abbrev 0x0000000000000db1 0x1e8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o + .debug_abbrev 0x0000000000000f99 0x23b ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o + .debug_abbrev 0x00000000000011d4 0x26f ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .debug_abbrev 0x0000000000001443 0x277 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .debug_abbrev 0x00000000000016ba 0xf6 ./my_software/button.o + .debug_abbrev 0x00000000000017b0 0x18d ./my_software/ht1621.o + .debug_abbrev 0x000000000000193d 0x224 ./my_software/my_code.o + .debug_abbrev 0x0000000000001b61 0x201 ./my_software/r480r.o -.debug_aranges 0x0000000000000000 0x510 +.debug_aranges 0x0000000000000000 0xaa8 .debug_aranges - 0x0000000000000000 0x40 ./Core/Src/main.o + 0x0000000000000000 0x48 ./Core/Src/main.o .debug_aranges - 0x0000000000000040 0x30 ./Core/Src/stm32f0xx_hal_msp.o + 0x0000000000000048 0x40 ./Core/Src/stm32f0xx_hal_msp.o .debug_aranges - 0x0000000000000070 0x40 ./Core/Src/stm32f0xx_it.o + 0x0000000000000088 0x50 ./Core/Src/stm32f0xx_it.o .debug_aranges - 0x00000000000000b0 0x28 ./Core/Src/system_stm32f0xx.o + 0x00000000000000d8 0x28 ./Core/Src/system_stm32f0xx.o .debug_aranges - 0x00000000000000d8 0x28 ./Core/Startup/startup_stm32f030f4px.o + 0x0000000000000100 0x28 ./Core/Startup/startup_stm32f030f4px.o .debug_aranges - 0x0000000000000100 0xd0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o + 0x0000000000000128 0xd0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o .debug_aranges - 0x00000000000001d0 0xf8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o + 0x00000000000001f8 0xf8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o .debug_aranges - 0x00000000000002c8 0xc0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o + 0x00000000000002f0 0xc0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .debug_aranges - 0x0000000000000388 0x58 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o + 0x00000000000003b0 0x58 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .debug_aranges - 0x00000000000003e0 0x80 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o + 0x0000000000000408 0x80 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o .debug_aranges - 0x0000000000000460 0x20 ./my_software/button.o + 0x0000000000000488 0x3d0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o .debug_aranges - 0x0000000000000480 0x40 ./my_software/ht1621.o + 0x0000000000000858 0x168 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o .debug_aranges - 0x00000000000004c0 0x50 ./my_software/my_code.o + 0x00000000000009c0 0x20 ./my_software/button.o + .debug_aranges + 0x00000000000009e0 0x40 ./my_software/ht1621.o + .debug_aranges + 0x0000000000000a20 0x50 ./my_software/my_code.o + .debug_aranges + 0x0000000000000a70 0x38 ./my_software/r480r.o -.debug_ranges 0x0000000000000000 0x448 - .debug_ranges 0x0000000000000000 0x30 ./Core/Src/main.o - .debug_ranges 0x0000000000000030 0x20 ./Core/Src/stm32f0xx_hal_msp.o - .debug_ranges 0x0000000000000050 0x30 ./Core/Src/stm32f0xx_it.o - .debug_ranges 0x0000000000000080 0x18 ./Core/Src/system_stm32f0xx.o - .debug_ranges 0x0000000000000098 0x20 ./Core/Startup/startup_stm32f030f4px.o - .debug_ranges 0x00000000000000b8 0xc0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o - .debug_ranges 0x0000000000000178 0xe8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o - .debug_ranges 0x0000000000000260 0xb0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o - .debug_ranges 0x0000000000000310 0x48 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o - .debug_ranges 0x0000000000000358 0x70 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o - .debug_ranges 0x00000000000003c8 0x10 ./my_software/button.o - .debug_ranges 0x00000000000003d8 0x30 ./my_software/ht1621.o - .debug_ranges 0x0000000000000408 0x40 ./my_software/my_code.o +.debug_ranges 0x0000000000000000 0x9b0 + .debug_ranges 0x0000000000000000 0x38 ./Core/Src/main.o + .debug_ranges 0x0000000000000038 0x30 ./Core/Src/stm32f0xx_hal_msp.o + .debug_ranges 0x0000000000000068 0x40 ./Core/Src/stm32f0xx_it.o + .debug_ranges 0x00000000000000a8 0x18 ./Core/Src/system_stm32f0xx.o + .debug_ranges 0x00000000000000c0 0x20 ./Core/Startup/startup_stm32f030f4px.o + .debug_ranges 0x00000000000000e0 0xc0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o + .debug_ranges 0x00000000000001a0 0xe8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o + .debug_ranges 0x0000000000000288 0xb0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o + .debug_ranges 0x0000000000000338 0x48 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o + .debug_ranges 0x0000000000000380 0x70 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o + .debug_ranges 0x00000000000003f0 0x3c0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .debug_ranges 0x00000000000007b0 0x158 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .debug_ranges 0x0000000000000908 0x10 ./my_software/button.o + .debug_ranges 0x0000000000000918 0x30 ./my_software/ht1621.o + .debug_ranges 0x0000000000000948 0x40 ./my_software/my_code.o + .debug_ranges 0x0000000000000988 0x28 ./my_software/r480r.o -.debug_macro 0x0000000000000000 0xec48 - .debug_macro 0x0000000000000000 0x1c5 ./Core/Src/main.o - .debug_macro 0x00000000000001c5 0xa7e ./Core/Src/main.o - .debug_macro 0x0000000000000c43 0x12d ./Core/Src/main.o - .debug_macro 0x0000000000000d70 0x2e ./Core/Src/main.o - .debug_macro 0x0000000000000d9e 0x22 ./Core/Src/main.o - .debug_macro 0x0000000000000dc0 0x22 ./Core/Src/main.o - .debug_macro 0x0000000000000de2 0x8e ./Core/Src/main.o - .debug_macro 0x0000000000000e70 0x51 ./Core/Src/main.o - .debug_macro 0x0000000000000ec1 0x103 ./Core/Src/main.o - .debug_macro 0x0000000000000fc4 0x6a ./Core/Src/main.o - .debug_macro 0x000000000000102e 0x1df ./Core/Src/main.o - .debug_macro 0x000000000000120d 0x1c ./Core/Src/main.o - .debug_macro 0x0000000000001229 0x22 ./Core/Src/main.o - .debug_macro 0x000000000000124b 0xb5 ./Core/Src/main.o - .debug_macro 0x0000000000001300 0x391 ./Core/Src/main.o - .debug_macro 0x0000000000001691 0x6e67 ./Core/Src/main.o - .debug_macro 0x00000000000084f8 0x66 ./Core/Src/main.o - .debug_macro 0x000000000000855e 0x34a6 ./Core/Src/main.o - .debug_macro 0x000000000000ba04 0x174 ./Core/Src/main.o - .debug_macro 0x000000000000bb78 0x55 ./Core/Src/main.o - .debug_macro 0x000000000000bbcd 0x924 ./Core/Src/main.o - .debug_macro 0x000000000000c4f1 0xe5 ./Core/Src/main.o - .debug_macro 0x000000000000c5d6 0x1af ./Core/Src/main.o - .debug_macro 0x000000000000c785 0xb3 ./Core/Src/main.o - .debug_macro 0x000000000000c838 0x1a0 ./Core/Src/main.o - .debug_macro 0x000000000000c9d8 0x1ed ./Core/Src/main.o - .debug_macro 0x000000000000cbc5 0x34 ./Core/Src/main.o - .debug_macro 0x000000000000cbf9 0x43 ./Core/Src/main.o - .debug_macro 0x000000000000cc3c 0x28 ./Core/Src/main.o - .debug_macro 0x000000000000cc64 0x33d ./Core/Src/main.o - .debug_macro 0x000000000000cfa1 0xbc ./Core/Src/main.o - .debug_macro 0x000000000000d05d 0xb0 ./Core/Src/main.o - .debug_macro 0x000000000000d10d 0x15a ./Core/Src/main.o - .debug_macro 0x000000000000d267 0x22c ./Core/Src/main.o - .debug_macro 0x000000000000d493 0x61 ./Core/Src/main.o - .debug_macro 0x000000000000d4f4 0xa5 ./Core/Src/main.o - .debug_macro 0x000000000000d599 0x4c ./Core/Src/main.o - .debug_macro 0x000000000000d5e5 0x2b ./Core/Src/main.o - .debug_macro 0x000000000000d610 0xf1 ./Core/Src/main.o - .debug_macro 0x000000000000d701 0x88 ./Core/Src/main.o - .debug_macro 0x000000000000d789 0x28 ./Core/Src/main.o - .debug_macro 0x000000000000d7b1 0x1bc ./Core/Src/stm32f0xx_hal_msp.o - .debug_macro 0x000000000000d96d 0x1c6 ./Core/Src/stm32f0xx_it.o - .debug_macro 0x000000000000db33 0x1ad ./Core/Src/system_stm32f0xx.o - .debug_macro 0x000000000000dce0 0x1d1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o - .debug_macro 0x000000000000deb1 0x1d1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o - .debug_macro 0x000000000000e082 0x1ad ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o - .debug_macro 0x000000000000e22f 0x1b4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o - .debug_macro 0x000000000000e3e3 0x1bf ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o - .debug_macro 0x000000000000e5a2 0x1cc ./my_software/button.o - .debug_macro 0x000000000000e76e 0x1da ./my_software/ht1621.o - .debug_macro 0x000000000000e948 0x5e ./my_software/ht1621.o - .debug_macro 0x000000000000e9a6 0x21c ./my_software/my_code.o - .debug_macro 0x000000000000ebc2 0x22 ./my_software/my_code.o - .debug_macro 0x000000000000ebe4 0x64 ./my_software/my_code.o +.debug_macro 0x0000000000000000 0xfbd0 + .debug_macro 0x0000000000000000 0x1d9 ./Core/Src/main.o + .debug_macro 0x00000000000001d9 0xa7e ./Core/Src/main.o + .debug_macro 0x0000000000000c57 0x133 ./Core/Src/main.o + .debug_macro 0x0000000000000d8a 0x2e ./Core/Src/main.o + .debug_macro 0x0000000000000db8 0x22 ./Core/Src/main.o + .debug_macro 0x0000000000000dda 0x22 ./Core/Src/main.o + .debug_macro 0x0000000000000dfc 0x8e ./Core/Src/main.o + .debug_macro 0x0000000000000e8a 0x51 ./Core/Src/main.o + .debug_macro 0x0000000000000edb 0x103 ./Core/Src/main.o + .debug_macro 0x0000000000000fde 0x6a ./Core/Src/main.o + .debug_macro 0x0000000000001048 0x1df ./Core/Src/main.o + .debug_macro 0x0000000000001227 0x1c ./Core/Src/main.o + .debug_macro 0x0000000000001243 0x22 ./Core/Src/main.o + .debug_macro 0x0000000000001265 0xb5 ./Core/Src/main.o + .debug_macro 0x000000000000131a 0x391 ./Core/Src/main.o + .debug_macro 0x00000000000016ab 0x6e67 ./Core/Src/main.o + .debug_macro 0x0000000000008512 0x66 ./Core/Src/main.o + .debug_macro 0x0000000000008578 0x34a6 ./Core/Src/main.o + .debug_macro 0x000000000000ba1e 0x174 ./Core/Src/main.o + .debug_macro 0x000000000000bb92 0x55 ./Core/Src/main.o + .debug_macro 0x000000000000bbe7 0x924 ./Core/Src/main.o + .debug_macro 0x000000000000c50b 0xe5 ./Core/Src/main.o + .debug_macro 0x000000000000c5f0 0x1af ./Core/Src/main.o + .debug_macro 0x000000000000c79f 0xb3 ./Core/Src/main.o + .debug_macro 0x000000000000c852 0x1a0 ./Core/Src/main.o + .debug_macro 0x000000000000c9f2 0x1ed ./Core/Src/main.o + .debug_macro 0x000000000000cbdf 0x34 ./Core/Src/main.o + .debug_macro 0x000000000000cc13 0x43 ./Core/Src/main.o + .debug_macro 0x000000000000cc56 0x28 ./Core/Src/main.o + .debug_macro 0x000000000000cc7e 0x33d ./Core/Src/main.o + .debug_macro 0x000000000000cfbb 0xbc ./Core/Src/main.o + .debug_macro 0x000000000000d077 0xb0 ./Core/Src/main.o + .debug_macro 0x000000000000d127 0x15a ./Core/Src/main.o + .debug_macro 0x000000000000d281 0x22c ./Core/Src/main.o + .debug_macro 0x000000000000d4ad 0x61 ./Core/Src/main.o + .debug_macro 0x000000000000d50e 0xa5 ./Core/Src/main.o + .debug_macro 0x000000000000d5b3 0x4c ./Core/Src/main.o + .debug_macro 0x000000000000d5ff 0x2b ./Core/Src/main.o + .debug_macro 0x000000000000d62a 0x8d8 ./Core/Src/main.o + .debug_macro 0x000000000000df02 0x28 ./Core/Src/main.o + .debug_macro 0x000000000000df2a 0xf1 ./Core/Src/main.o + .debug_macro 0x000000000000e01b 0x8e ./Core/Src/main.o + .debug_macro 0x000000000000e0a9 0x28 ./Core/Src/main.o + .debug_macro 0x000000000000e0d1 0x1d0 ./Core/Src/stm32f0xx_hal_msp.o + .debug_macro 0x000000000000e2a1 0x1da ./Core/Src/stm32f0xx_it.o + .debug_macro 0x000000000000e47b 0x1c1 ./Core/Src/system_stm32f0xx.o + .debug_macro 0x000000000000e63c 0x1e5 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o + .debug_macro 0x000000000000e821 0x1e5 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o + .debug_macro 0x000000000000ea06 0x1c1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o + .debug_macro 0x000000000000ebc7 0x1c8 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o + .debug_macro 0x000000000000ed8f 0x1d3 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o + .debug_macro 0x000000000000ef62 0x1c2 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .debug_macro 0x000000000000f124 0x1c1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .debug_macro 0x000000000000f2e5 0x1e0 ./my_software/button.o + .debug_macro 0x000000000000f4c5 0x1ee ./my_software/ht1621.o + .debug_macro 0x000000000000f6b3 0x5e ./my_software/ht1621.o + .debug_macro 0x000000000000f711 0x243 ./my_software/my_code.o + .debug_macro 0x000000000000f954 0x22 ./my_software/my_code.o + .debug_macro 0x000000000000f976 0x64 ./my_software/my_code.o + .debug_macro 0x000000000000f9da 0x16 ./my_software/my_code.o + .debug_macro 0x000000000000f9f0 0x1e0 ./my_software/r480r.o -.debug_line 0x0000000000000000 0x78b1 - .debug_line 0x0000000000000000 0x851 ./Core/Src/main.o - .debug_line 0x0000000000000851 0x727 ./Core/Src/stm32f0xx_hal_msp.o - .debug_line 0x0000000000000f78 0x744 ./Core/Src/stm32f0xx_it.o - .debug_line 0x00000000000016bc 0x74f ./Core/Src/system_stm32f0xx.o - .debug_line 0x0000000000001e0b 0x89 ./Core/Startup/startup_stm32f030f4px.o - .debug_line 0x0000000000001e94 0x95a ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o - .debug_line 0x00000000000027ee 0x1175 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o - .debug_line 0x0000000000003963 0xa06 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o - .debug_line 0x0000000000004369 0xad7 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o - .debug_line 0x0000000000004e40 0xd46 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o - .debug_line 0x0000000000005b86 0x73a ./my_software/button.o - .debug_line 0x00000000000062c0 0x88a ./my_software/ht1621.o - .debug_line 0x0000000000006b4a 0xd67 ./my_software/my_code.o +.debug_line 0x0000000000000000 0xd257 + .debug_line 0x0000000000000000 0x8c1 ./Core/Src/main.o + .debug_line 0x00000000000008c1 0x793 ./Core/Src/stm32f0xx_hal_msp.o + .debug_line 0x0000000000001054 0x7a5 ./Core/Src/stm32f0xx_it.o + .debug_line 0x00000000000017f9 0x780 ./Core/Src/system_stm32f0xx.o + .debug_line 0x0000000000001f79 0x89 ./Core/Startup/startup_stm32f030f4px.o + .debug_line 0x0000000000002002 0x98b ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o + .debug_line 0x000000000000298d 0x11a6 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o + .debug_line 0x0000000000003b33 0xa37 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o + .debug_line 0x000000000000456a 0xb08 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o + .debug_line 0x0000000000005072 0xd77 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o + .debug_line 0x0000000000005de9 0x35a1 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .debug_line 0x000000000000938a 0x18b2 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .debug_line 0x000000000000ac3c 0x76b ./my_software/button.o + .debug_line 0x000000000000b3a7 0x8bb ./my_software/ht1621.o + .debug_line 0x000000000000bc62 0xe04 ./my_software/my_code.o + .debug_line 0x000000000000ca66 0x7f1 ./my_software/r480r.o -.debug_str 0x0000000000000000 0x56904 - .debug_str 0x0000000000000000 0x55732 ./Core/Src/main.o - 0x55a16 (size before relaxing) - .debug_str 0x0000000000055732 0x4e ./Core/Src/stm32f0xx_hal_msp.o - 0x556a0 (size before relaxing) - .debug_str 0x0000000000055780 0x76 ./Core/Src/stm32f0xx_it.o - 0x5528c (size before relaxing) - .debug_str 0x00000000000557f6 0x5f ./Core/Src/system_stm32f0xx.o - 0x550bf (size before relaxing) - .debug_str 0x0000000000055855 0x36 ./Core/Startup/startup_stm32f030f4px.o +.debug_str 0x0000000000000000 0x5ede8 + .debug_str 0x0000000000000000 0x5c865 ./Core/Src/main.o + 0x5cc12 (size before relaxing) + .debug_str 0x000000000005c865 0x84 ./Core/Src/stm32f0xx_hal_msp.o + 0x5c8c5 (size before relaxing) + .debug_str 0x000000000005c8e9 0x9a ./Core/Src/stm32f0xx_it.o + 0x5c545 (size before relaxing) + .debug_str 0x000000000005c983 0x5f ./Core/Src/system_stm32f0xx.o + 0x5be5e (size before relaxing) + .debug_str 0x000000000005c9e2 0x36 ./Core/Startup/startup_stm32f030f4px.o 0x7c (size before relaxing) - .debug_str 0x000000000005588b 0x413 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o - 0x55596 (size before relaxing) - .debug_str 0x0000000000055c9e 0x393 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o - 0x557bf (size before relaxing) - .debug_str 0x0000000000056031 0x1dc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o - 0x5544a (size before relaxing) - .debug_str 0x000000000005620d 0x150 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o - 0x5529e (size before relaxing) - .debug_str 0x000000000005635d 0x240 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o - 0x554c9 (size before relaxing) - .debug_str 0x000000000005659d 0x40 ./my_software/button.o - 0x5526b (size before relaxing) - .debug_str 0x00000000000565dd 0x183 ./my_software/ht1621.o - 0x555ae (size before relaxing) - .debug_str 0x0000000000056760 0x1a4 ./my_software/my_code.o - 0x55aa4 (size before relaxing) + .debug_str 0x000000000005ca18 0x317 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o + 0x5c335 (size before relaxing) + .debug_str 0x000000000005cd2f 0x387 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o + 0x5c55e (size before relaxing) + .debug_str 0x000000000005d0b6 0x1dc ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o + 0x5c1e9 (size before relaxing) + .debug_str 0x000000000005d292 0x150 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o + 0x5c03d (size before relaxing) + .debug_str 0x000000000005d3e2 0x240 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o + 0x5c268 (size before relaxing) + .debug_str 0x000000000005d622 0xe27 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + 0x5d219 (size before relaxing) + .debug_str 0x000000000005e449 0x538 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + 0x5c9ca (size before relaxing) + .debug_str 0x000000000005e981 0x40 ./my_software/button.o + 0x5c031 (size before relaxing) + .debug_str 0x000000000005e9c1 0x183 ./my_software/ht1621.o + 0x5c374 (size before relaxing) + .debug_str 0x000000000005eb44 0x1ed ./my_software/my_code.o + 0x5c8b3 (size before relaxing) + .debug_str 0x000000000005ed31 0xb7 ./my_software/r480r.o + 0x5c5ec (size before relaxing) .comment 0x0000000000000000 0x53 .comment 0x0000000000000000 0x53 ./Core/Src/main.o @@ -3394,24 +4077,30 @@ LOAD /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.id .comment 0x0000000000000053 0x54 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o .comment 0x0000000000000053 0x54 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o .comment 0x0000000000000053 0x54 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o + .comment 0x0000000000000053 0x54 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .comment 0x0000000000000053 0x54 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o .comment 0x0000000000000053 0x54 ./my_software/button.o .comment 0x0000000000000053 0x54 ./my_software/ht1621.o .comment 0x0000000000000053 0x54 ./my_software/my_code.o + .comment 0x0000000000000053 0x54 ./my_software/r480r.o -.debug_frame 0x0000000000000000 0xfd8 - .debug_frame 0x0000000000000000 0xa8 ./Core/Src/main.o - .debug_frame 0x00000000000000a8 0x70 ./Core/Src/stm32f0xx_hal_msp.o - .debug_frame 0x0000000000000118 0x9c ./Core/Src/stm32f0xx_it.o - .debug_frame 0x00000000000001b4 0x4c ./Core/Src/system_stm32f0xx.o - .debug_frame 0x0000000000000200 0x2a4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o - .debug_frame 0x00000000000004a4 0x3a0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o - .debug_frame 0x0000000000000844 0x2a0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o - .debug_frame 0x0000000000000ae4 0x110 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o - .debug_frame 0x0000000000000bf4 0x198 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o - .debug_frame 0x0000000000000d8c 0x30 ./my_software/button.o - .debug_frame 0x0000000000000dbc 0xa8 ./my_software/ht1621.o - .debug_frame 0x0000000000000e64 0xe8 ./my_software/my_code.o - .debug_frame 0x0000000000000f4c 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-init.o) - .debug_frame 0x0000000000000f78 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-memset.o) - .debug_frame 0x0000000000000f98 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/libgcc.a(_udivsi3.o) - .debug_frame 0x0000000000000fb8 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/libgcc.a(_divsi3.o) +.debug_frame 0x0000000000000000 0x2558 + .debug_frame 0x0000000000000000 0xc4 ./Core/Src/main.o + .debug_frame 0x00000000000000c4 0xb0 ./Core/Src/stm32f0xx_hal_msp.o + .debug_frame 0x0000000000000174 0xd4 ./Core/Src/stm32f0xx_it.o + .debug_frame 0x0000000000000248 0x4c ./Core/Src/system_stm32f0xx.o + .debug_frame 0x0000000000000294 0x2a4 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal.o + .debug_frame 0x0000000000000538 0x3a0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_adc.o + .debug_frame 0x00000000000008d8 0x2a0 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.o + .debug_frame 0x0000000000000b78 0x110 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_gpio.o + .debug_frame 0x0000000000000c88 0x198 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_rcc.o + .debug_frame 0x0000000000000e20 0xf00 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o + .debug_frame 0x0000000000001d20 0x560 ./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o + .debug_frame 0x0000000000002280 0x30 ./my_software/button.o + .debug_frame 0x00000000000022b0 0xa8 ./my_software/ht1621.o + .debug_frame 0x0000000000002358 0xe8 ./my_software/my_code.o + .debug_frame 0x0000000000002440 0x8c ./my_software/r480r.o + .debug_frame 0x00000000000024cc 0x2c /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-init.o) + .debug_frame 0x00000000000024f8 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v6-m/nofp/libc_nano.a(lib_a-memset.o) + .debug_frame 0x0000000000002518 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/libgcc.a(_udivsi3.o) + .debug_frame 0x0000000000002538 0x20 /Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_2.0.0.202105311346/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v6-m/nofp/libgcc.a(_divsi3.o) diff --git a/Debug/my_software/button.d b/Debug/my_software/button.d index cde7086..08ac20e 100644 --- a/Debug/my_software/button.d +++ b/Debug/my_software/button.d @@ -25,7 +25,9 @@ my_software/button.o: ../my_software/button.c ../my_software/button.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_pwr.h \ - ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h ../my_software/button.h: @@ -84,3 +86,7 @@ my_software/button.o: ../my_software/button.c ../my_software/button.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_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: diff --git a/Debug/my_software/flash.d b/Debug/my_software/flash.d new file mode 100644 index 0000000..2c7d96d --- /dev/null +++ b/Debug/my_software/flash.d @@ -0,0 +1,92 @@ +my_software/flash.o: ../my_software/flash.c ../my_software/flash.h \ + ../Core/Inc/main.h ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h \ + ../Core/Inc/stm32f0xx_hal_conf.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h \ + ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h \ + ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030x6.h \ + ../Drivers/CMSIS/Include/core_cm0.h \ + ../Drivers/CMSIS/Include/cmsis_version.h \ + ../Drivers/CMSIS/Include/cmsis_compiler.h \ + ../Drivers/CMSIS/Include/cmsis_gcc.h \ + ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_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_hal_exti.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_adc.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_adc_ex.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 \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.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_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h + +../my_software/flash.h: + +../Core/Inc/main.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h: + +../Core/Inc/stm32f0xx_hal_conf.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h: + +../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h: + +../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030x6.h: + +../Drivers/CMSIS/Include/core_cm0.h: + +../Drivers/CMSIS/Include/cmsis_version.h: + +../Drivers/CMSIS/Include/cmsis_compiler.h: + +../Drivers/CMSIS/Include/cmsis_gcc.h: + +../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_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_hal_exti.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_adc.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_adc_ex.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: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.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_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: diff --git a/Debug/my_software/flash.su b/Debug/my_software/flash.su new file mode 100644 index 0000000..82e9528 --- /dev/null +++ b/Debug/my_software/flash.su @@ -0,0 +1,3 @@ +flash.c:12:10:STMFLASH_ReadWord 16 static +flash.c:17:6:STMFLASH_Write 64 static +flash.c:62:6:STMFLASH_Read 40 static diff --git a/Debug/my_software/ht1621.d b/Debug/my_software/ht1621.d index 63ccc72..09a7cfb 100644 --- a/Debug/my_software/ht1621.d +++ b/Debug/my_software/ht1621.d @@ -26,6 +26,8 @@ my_software/ht1621.o: ../my_software/ht1621.c ../my_software/ht1621.h \ ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.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_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h \ ../my_software/my_code.h ../my_software/ht1621.h: @@ -86,4 +88,8 @@ my_software/ht1621.o: ../my_software/ht1621.c ../my_software/ht1621.h \ ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h: +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: + ../my_software/my_code.h: diff --git a/Debug/my_software/my_code.d b/Debug/my_software/my_code.d index e20a41c..632b0ff 100644 --- a/Debug/my_software/my_code.d +++ b/Debug/my_software/my_code.d @@ -26,7 +26,10 @@ my_software/my_code.o: ../my_software/my_code.c ../my_software/my_code.h \ ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h \ ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h \ ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \ - ../my_software/button.h ../my_software/ht1621.h + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h \ + ../my_software/button.h ../my_software/ht1621.h ../my_software/flash.h \ + ../my_software/r480r.h ../my_software/my_code.h: @@ -86,6 +89,14 @@ my_software/my_code.o: ../my_software/my_code.c ../my_software/my_code.h \ ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h: +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: + ../my_software/button.h: ../my_software/ht1621.h: + +../my_software/flash.h: + +../my_software/r480r.h: diff --git a/Debug/my_software/my_code.su b/Debug/my_software/my_code.su index 5bced31..69a0c80 100644 --- a/Debug/my_software/my_code.su +++ b/Debug/my_software/my_code.su @@ -1,7 +1,7 @@ -my_code.c:45:6:ds_in_or_out 48 static -my_code.c:63:9:Read_Ds 8 static -my_code.c:71:6:Sand_Byte_to_595_2 24 static -my_code.c:92:6:hc2_sever 16 static -my_code.c:119:6:moto_server 8 static -my_code.c:225:6:HT1621_Display_GetButton 24 static -my_code.c:269:6:my_code 32 static +my_code.c:46:6:ds_in_or_out 48 static +my_code.c:64:9:Read_Ds 8 static +my_code.c:72:6:Sand_Byte_to_595_2 24 static +my_code.c:93:6:hc2_sever 16 static +my_code.c:120:6:moto_server 8 static +my_code.c:226:6:HT1621_Display_GetButton 24 static +my_code.c:270:6:my_code 32 static diff --git a/Debug/my_software/r480r.d b/Debug/my_software/r480r.d new file mode 100644 index 0000000..7cdf358 --- /dev/null +++ b/Debug/my_software/r480r.d @@ -0,0 +1,92 @@ +my_software/r480r.o: ../my_software/r480r.c ../my_software/r480r.h \ + ../Core/Inc/main.h ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h \ + ../Core/Inc/stm32f0xx_hal_conf.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h \ + ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h \ + ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030x6.h \ + ../Drivers/CMSIS/Include/core_cm0.h \ + ../Drivers/CMSIS/Include/cmsis_version.h \ + ../Drivers/CMSIS/Include/cmsis_compiler.h \ + ../Drivers/CMSIS/Include/cmsis_gcc.h \ + ../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_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_hal_exti.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_adc.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_adc_ex.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 \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.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_hal_tim.h \ + ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h + +../my_software/r480r.h: + +../Core/Inc/main.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h: + +../Core/Inc/stm32f0xx_hal_conf.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h: + +../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h: + +../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030x6.h: + +../Drivers/CMSIS/Include/core_cm0.h: + +../Drivers/CMSIS/Include/cmsis_version.h: + +../Drivers/CMSIS/Include/cmsis_compiler.h: + +../Drivers/CMSIS/Include/cmsis_gcc.h: + +../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_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_hal_exti.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_adc.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_adc_ex.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: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.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_hal_tim.h: + +../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h: diff --git a/Debug/my_software/r480r.su b/Debug/my_software/r480r.su new file mode 100644 index 0000000..e3d10e1 --- /dev/null +++ b/Debug/my_software/r480r.su @@ -0,0 +1,4 @@ +r480r.c:19:6:r480_init 8 static +r480r.c:25:6:read_433_exit 24 static +r480r.c:91:6:HAL_GPIO_EXTI_Callback 16 static +r480r.c:101:6:HAL_TIM_PeriodElapsedCallback 16 static diff --git a/Debug/my_software/subdir.mk b/Debug/my_software/subdir.mk index 1bab65e..ee02f33 100644 --- a/Debug/my_software/subdir.mk +++ b/Debug/my_software/subdir.mk @@ -6,18 +6,24 @@ # Add inputs and outputs from these tool invocations to the build variables C_SRCS += \ ../my_software/button.c \ +../my_software/flash.c \ ../my_software/ht1621.c \ -../my_software/my_code.c +../my_software/my_code.c \ +../my_software/r480r.c OBJS += \ ./my_software/button.o \ +./my_software/flash.o \ ./my_software/ht1621.o \ -./my_software/my_code.o +./my_software/my_code.o \ +./my_software/r480r.o C_DEPS += \ ./my_software/button.d \ +./my_software/flash.d \ ./my_software/ht1621.d \ -./my_software/my_code.d +./my_software/my_code.d \ +./my_software/r480r.d # Each subdirectory must supply rules for building sources it contributes diff --git a/Debug/objects.list b/Debug/objects.list index c13f6e9..5b6a561 100644 --- a/Debug/objects.list +++ b/Debug/objects.list @@ -23,5 +23,7 @@ "./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim.o" "./Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_tim_ex.o" "./my_software/button.o" +"./my_software/flash.o" "./my_software/ht1621.o" "./my_software/my_code.o" +"./my_software/r480r.o" diff --git a/Motor_Controller2 Debug.launch b/Motor_Controller2 Debug.launch index c26569b..43720e9 100644 --- a/Motor_Controller2 Debug.launch +++ b/Motor_Controller2 Debug.launch @@ -89,5 +89,6 @@ + diff --git a/Motor_Controller2.ioc b/Motor_Controller2.ioc index f613360..ddc1664 100644 --- a/Motor_Controller2.ioc +++ b/Motor_Controller2.ioc @@ -1,12 +1,14 @@ #MicroXplorer Configuration settings - do not modify File.Version=6 +GPIO.groupedBy=Group By Peripherals KeepUserPlacement=false Mcu.Family=STM32F0 Mcu.IP0=ADC Mcu.IP1=NVIC Mcu.IP2=RCC Mcu.IP3=SYS -Mcu.IPNb=4 +Mcu.IP4=TIM14 +Mcu.IPNb=5 Mcu.Name=STM32F030F4Px Mcu.Package=TSSOP20 Mcu.Pin0=PF0-OSC_IN @@ -15,6 +17,7 @@ Mcu.Pin10=PA9 Mcu.Pin11=PA13 Mcu.Pin12=PA14 Mcu.Pin13=VP_SYS_VS_Systick +Mcu.Pin14=VP_TIM14_VS_ClockSourceINT Mcu.Pin2=PA0 Mcu.Pin3=PA1 Mcu.Pin4=PA2 @@ -23,18 +26,20 @@ Mcu.Pin6=PA4 Mcu.Pin7=PA5 Mcu.Pin8=PA6 Mcu.Pin9=PA7 -Mcu.PinsNb=14 +Mcu.PinsNb=15 Mcu.ThirdPartyNb=0 Mcu.UserConstants= Mcu.UserName=STM32F030F4Px MxCube.Version=6.3.0 MxDb.Version=DB.6.0.30 +NVIC.EXTI2_3_IRQn=true\:0\:0\:false\:false\:true\:true\:true NVIC.ForceEnableDMAVector=true NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false NVIC.PendSV_IRQn=true\:0\:0\:false\:false\:true\:false\:false NVIC.SVC_IRQn=true\:0\:0\:false\:false\:true\:false\:false NVIC.SysTick_IRQn=true\:3\:0\:false\:false\:true\:false\:true +NVIC.TIM14_IRQn=true\:0\:0\:false\:false\:true\:true\:true PA0.GPIOParameters=GPIO_Label PA0.GPIO_Label=ADC_CH0 PA0.Locked=true @@ -53,11 +58,12 @@ PA2.GPIO_PuPd=GPIO_PULLDOWN PA2.GPIO_Speed=GPIO_SPEED_FREQ_HIGH PA2.Locked=true PA2.Signal=GPIO_Output -PA3.GPIOParameters=GPIO_PuPd,GPIO_Label -PA3.GPIO_Label=U_R -PA3.GPIO_PuPd=GPIO_PULLDOWN +PA3.GPIOParameters=GPIO_PuPd,GPIO_Label,GPIO_ModeDefaultEXTI +PA3.GPIO_Label=infeaed +PA3.GPIO_ModeDefaultEXTI=GPIO_MODE_IT_RISING_FALLING +PA3.GPIO_PuPd=GPIO_PULLUP PA3.Locked=true -PA3.Signal=GPIO_Input +PA3.Signal=GPXTI3 PA4.GPIOParameters=GPIO_PuPd,GPIO_Label PA4.GPIO_Label=I_R PA4.GPIO_PuPd=GPIO_PULLDOWN @@ -125,7 +131,7 @@ ProjectManager.StackSize=0x400 ProjectManager.TargetToolchain=STM32CubeIDE ProjectManager.ToolChainLocation= ProjectManager.UnderRoot=true -ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true +ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_ADC_Init-ADC-false-HAL-true,4-MX_TIM3_Init-TIM3-false-HAL-true RCC.AHBFreq_Value=48000000 RCC.APB1Freq_Value=48000000 RCC.APB1TimFreq_Value=48000000 @@ -139,13 +145,20 @@ RCC.SYSCLKFreq_VALUE=48000000 RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK RCC.TimSysFreq_Value=48000000 RCC.USART1Freq_Value=48000000 +SH.GPXTI3.0=GPIO_EXTI3 +SH.GPXTI3.ConfNb=1 SH.SharedAnalog_PA0.0=GPIO_Analog SH.SharedAnalog_PA0.1=ADC_IN0,IN0 SH.SharedAnalog_PA0.ConfNb=2 SH.SharedAnalog_PA1.0=GPIO_Analog SH.SharedAnalog_PA1.1=ADC_IN1,IN1 SH.SharedAnalog_PA1.ConfNb=2 +TIM14.IPParameters=Prescaler,Period +TIM14.Period=100-1 +TIM14.Prescaler=48-1 VP_SYS_VS_Systick.Mode=SysTick VP_SYS_VS_Systick.Signal=SYS_VS_Systick +VP_TIM14_VS_ClockSourceINT.Mode=Enable_Timer +VP_TIM14_VS_ClockSourceINT.Signal=TIM14_VS_ClockSourceINT board=custom isbadioc=false diff --git a/my_software/flash.c b/my_software/flash.c new file mode 100644 index 0000000..bef8ff3 --- /dev/null +++ b/my_software/flash.c @@ -0,0 +1,72 @@ +/* + * flash.c + * + * Created on: 2021年10月15日 + * Author: wuwenfeng + */ + + +#include "flash.h" + + +uint32_t STMFLASH_ReadWord(uint32_t faddr) +{ + return *(uint32_t*)faddr; +} + +void STMFLASH_Write(uint32_t WriteAddr,uint32_t *pBuffer,uint32_t NumToWrite) +{ + FLASH_EraseInitTypeDef FlashEraseInit; + HAL_StatusTypeDef FlashStatus=HAL_OK; + uint32_t PageError=0; + uint32_t addrx=0; + uint32_t endaddr=0; + if(WriteAddrmove) { move=HAL_GetTick()+100; - if(dis_buff.dot1==1) + if(dis_buff.dot4==1) { - dis_buff.dot1=0; + dis_buff.dot4=0; }else { - dis_buff.dot1=1; + dis_buff.dot4=1; } countdown-=100; if(countdown<0) @@ -510,12 +513,12 @@ void my_code() if(countdown_set<100){countdown_set=100;} if(countdown_set>60000){countdown_set=60000;} - if(key1.code!=0){mode=1;} + if(key4.code!=0){mode=1;} dis_buff.d_num[3]=(countdown_set/100)%10; dis_buff.d_num[2]=(countdown_set/1000)%10; dis_buff.d_num[1]=((countdown_set/10000)%10); dis_buff.d_num[1]=dis_buff.d_num[1]==0?16:dis_buff.d_num[1]; - dis_buff.dot3=1; + break; case 5: @@ -558,6 +561,26 @@ void my_code() } + break; + case 6: + //debug + if(HAL_GetTick()>runtime) + { + runtime+=1000; + + if(dis_buff.led_run==1) + { + dis_buff.led_run=0; + dis_buff.dot4=1; + }else + { + dis_buff.led_run=1; + dis_buff.dot4=0; + } + } + dis_buff.d_num[3]=(r480.times/100)%10; + dis_buff.d_num[2]=(r480.times/1000)%10; + dis_buff.d_num[1]=((r480.times/10000)%10); break; } @@ -569,10 +592,37 @@ void my_code() GEI_BUTTON_CODE(&overload,0); } + + + + switch(r480.key) + { + case 0xd7: + dis_buff.button_flag[0]=1; + break; + case 0xdb: + dis_buff.button_flag[1]=1; + break; + case 0xdd: + dis_buff.button_flag[2]=1; + break; + case 0xde: + dis_buff.button_flag[3]=1; + break; + } + r480.key=0; + GEI_BUTTON_CODE(&key1,dis_buff.button_flag[0]); GEI_BUTTON_CODE(&key2,dis_buff.button_flag[1]); GEI_BUTTON_CODE(&key3,dis_buff.button_flag[2]); GEI_BUTTON_CODE(&key4,dis_buff.button_flag[3]); + + dis_buff.button_flag[0]=0; + dis_buff.button_flag[1]=0; + dis_buff.button_flag[2]=0; + dis_buff.button_flag[3]=0; + + HT1621_Display_GetButton(); hc2_sever(); moto_server(); diff --git a/my_software/r480r.c b/my_software/r480r.c new file mode 100644 index 0000000..71bbf4d --- /dev/null +++ b/my_software/r480r.c @@ -0,0 +1,107 @@ +/* + * r480r.c + * + * Created on: 2021年10月15日 + * Author: wuwenfeng + */ + + +#include "r480r.h" +#define read_infrared HAL_GPIO_ReadPin(infeaed_GPIO_Port,infeaed_Pin) + +extern TIM_HandleTypeDef htim14; +uint16_t timer_100us_tick=0; +int read_bit_flag=0; +int read_char_flag=0; +char read_data_buffer[3]; +char read_begin=0; + +void r480_init() +{ + HAL_TIM_Base_Start_IT(&htim14); + r480.times=0; +} + +void read_433_exit() +{ + + char a=read_infrared; + int b; + if(read_begin==0) + { + if(a==0) + { + timer_100us_tick=0; + return ; + }else + { + if(timer_100us_tick>70&&timer_100us_tick<100) + { + read_begin=1; + r480.times++; + read_bit_flag=0; + read_char_flag=0; + timer_100us_tick=0; + return ; + } + } + + }else + { + if(timer_100us_tick<5) + { + timer_100us_tick=0; + return ; + }else if(timer_100us_tick<12) + { + read_data_buffer[read_char_flag]<<=1; + if(a==1) + { + read_data_buffer[read_char_flag]|=0x01; + } + read_bit_flag++; + if(read_bit_flag==8) + { + read_bit_flag=0; + read_char_flag++; + if(read_char_flag==3) + { + //got data + + read_char_flag=0; + timer_100us_tick=0; + + r480.add[0]=read_data_buffer[0]; + r480.add[1]=read_data_buffer[1]; + r480.key=read_data_buffer[2]; + } + } + timer_100us_tick=0; + return ; + }else//time out + { + read_begin=0; + timer_100us_tick=0; + return ; + } + } + +} + +void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) +{ + switch(GPIO_Pin) + { + case infeaed_Pin: + read_433_exit(); + return ; + break; + } +} +void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim)//100us +{ + if (htim == (&htim14)) + { + timer_100us_tick++; + } +} diff --git a/my_software/r480r.h b/my_software/r480r.h new file mode 100644 index 0000000..3693dd1 --- /dev/null +++ b/my_software/r480r.h @@ -0,0 +1,24 @@ +/* + * r480r.h + * + * Created on: 2021年10月15日 + * Author: wuwenfeng + */ + +#ifndef R480R_H_ +#define R480R_H_ + +#include "main.h" + +struct +{ + char add[2]; + char key; + uint16_t times; +}r480; + +void r480_init(); + + + +#endif /* R480R_H_ */