diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..d163863
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+build/
\ No newline at end of file
diff --git a/.mxproject b/.mxproject
index 60eb269..9eb9e26 100644
--- a/.mxproject
+++ b/.mxproject
@@ -7,37 +7,39 @@ HeaderPath=../Drivers/STM32F1xx_HAL_Driver/Inc;../Drivers/STM32F1xx_HAL_Driver/I
CDefines=USE_HAL_DRIVER;STM32F103xE;USE_HAL_DRIVER;USE_HAL_DRIVER;
[PreviousUsedMakefileFiles]
-SourceFiles=Core/Src/main.c;Core/Src/gpio.c;Core/Src/adc.c;Core/Src/dac.c;Core/Src/i2c.c;Core/Src/spi.c;Core/Src/tim.c;Core/Src/usart.c;Core/Src/stm32f1xx_it.c;Core/Src/stm32f1xx_hal_msp.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c;Core/Src/system_stm32f1xx.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c;Core/Src/system_stm32f1xx.c;Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/system_stm32f1xx.c;;
+SourceFiles=Core/Src/main.c;Core/Src/gpio.c;Core/Src/adc.c;Core/Src/dac.c;Core/Src/dma.c;Core/Src/i2c.c;Core/Src/spi.c;Core/Src/tim.c;Core/Src/usart.c;Core/Src/stm32f1xx_it.c;Core/Src/stm32f1xx_hal_msp.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c;Core/Src/system_stm32f1xx.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c;Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c;Core/Src/system_stm32f1xx.c;Drivers/CMSIS/Device/ST/STM32F1xx/Source/Templates/system_stm32f1xx.c;;
HeaderPath=Drivers/STM32F1xx_HAL_Driver/Inc;Drivers/STM32F1xx_HAL_Driver/Inc/Legacy;Drivers/CMSIS/Device/ST/STM32F1xx/Include;Drivers/CMSIS/Include;Core/Inc;
CDefines=USE_HAL_DRIVER;STM32F103xE;USE_HAL_DRIVER;USE_HAL_DRIVER;
[PreviousGenFiles]
AdvancedFolderStructure=true
-HeaderFileListSize=10
+HeaderFileListSize=11
HeaderFiles#0=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Inc/gpio.h
HeaderFiles#1=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Inc/adc.h
HeaderFiles#2=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Inc/dac.h
-HeaderFiles#3=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Inc/i2c.h
-HeaderFiles#4=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Inc/spi.h
-HeaderFiles#5=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Inc/tim.h
-HeaderFiles#6=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Inc/usart.h
-HeaderFiles#7=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Inc/stm32f1xx_it.h
-HeaderFiles#8=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Inc/stm32f1xx_hal_conf.h
-HeaderFiles#9=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Inc/main.h
+HeaderFiles#3=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Inc/dma.h
+HeaderFiles#4=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Inc/i2c.h
+HeaderFiles#5=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Inc/spi.h
+HeaderFiles#6=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Inc/tim.h
+HeaderFiles#7=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Inc/usart.h
+HeaderFiles#8=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Inc/stm32f1xx_it.h
+HeaderFiles#9=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Inc/stm32f1xx_hal_conf.h
+HeaderFiles#10=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Inc/main.h
HeaderFolderListSize=1
HeaderPath#0=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Inc
HeaderFiles=;
-SourceFileListSize=10
+SourceFileListSize=11
SourceFiles#0=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Src/gpio.c
SourceFiles#1=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Src/adc.c
SourceFiles#2=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Src/dac.c
-SourceFiles#3=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Src/i2c.c
-SourceFiles#4=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Src/spi.c
-SourceFiles#5=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Src/tim.c
-SourceFiles#6=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Src/usart.c
-SourceFiles#7=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Src/stm32f1xx_it.c
-SourceFiles#8=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Src/stm32f1xx_hal_msp.c
-SourceFiles#9=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Src/main.c
+SourceFiles#3=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Src/dma.c
+SourceFiles#4=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Src/i2c.c
+SourceFiles#5=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Src/spi.c
+SourceFiles#6=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Src/tim.c
+SourceFiles#7=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Src/usart.c
+SourceFiles#8=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Src/stm32f1xx_it.c
+SourceFiles#9=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Src/stm32f1xx_hal_msp.c
+SourceFiles#10=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Src/main.c
SourceFolderListSize=1
SourcePath#0=/home/geekzjk/m-labs/SW/Syrostan-MCU-C/Core/Src
SourceFiles=;
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 17f0091..88520a3 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,5 +1,9 @@
{
"files.associations": {
- "main.h": "c"
+ "main.h": "c",
+ "ethernet.h": "c",
+ "eem_power.h": "c",
+ "user_main.h": "c",
+ "user_isr.h": "c"
}
}
\ No newline at end of file
diff --git a/Core/Inc/User/eem_power.h b/Core/Inc/User/eem_power.h
new file mode 100644
index 0000000..02a7557
--- /dev/null
+++ b/Core/Inc/User/eem_power.h
@@ -0,0 +1,13 @@
+#ifndef EEM_POWER_H
+#define EEM_POWER_H
+
+#include "user_main.h"
+
+#define EEM_CURRENT_REF 0
+#define EEM_CURRENT_VAL 1
+#define EEM_ADC2CURRENT(val,ref) ((val-ref)/4096*3.3f/750) //((val-ref)/4096*3.3/1000/0.03/25)
+
+void eem_power_init();
+void eem_power_get_current();
+
+#endif
\ No newline at end of file
diff --git a/Core/Inc/User/ethernet.h b/Core/Inc/User/ethernet.h
new file mode 100644
index 0000000..beb73b0
--- /dev/null
+++ b/Core/Inc/User/ethernet.h
@@ -0,0 +1,21 @@
+#ifndef ETHERNET_H
+#define ETHERNET_H
+
+#include "user_main.h"
+
+#define ENC_CMD_RESET (0b11001010)
+#define ENC_CMD_RCR(add) (0b00000000 | add)
+#define ENC_CMD_WCR(add) (0b01000000 | add)
+#define ENC_CMD_BxSEL(x) (0b11000000 | (x << 1U))
+#define ENC_CMD_RBSEL (0b11001000)
+
+typedef enum
+{
+ ENC_SPI_READ = 0,
+ ENC_SPI_WRITE
+} enc_spi_operate_type_t;
+
+void ethernet_init();
+void ethernet_spi_n_byte_banked(enc_spi_operate_type_t type, uint8_t spi_cmd, uint8_t *spi_data, uint8_t n);
+
+#endif
\ No newline at end of file
diff --git a/Core/Inc/User/user_isr.h b/Core/Inc/User/user_isr.h
index bf001d1..5694538 100644
--- a/Core/Inc/User/user_isr.h
+++ b/Core/Inc/User/user_isr.h
@@ -1,6 +1,10 @@
#ifndef USER_ISR
#define USER_ISR
+#include "user_main.h"
+
void timer4_isr();
+void adc1_dma_isr();
+void exti2_isr();
#endif
\ No newline at end of file
diff --git a/Core/Inc/User/user_main.h b/Core/Inc/User/user_main.h
index 35ac763..74a4727 100644
--- a/Core/Inc/User/user_main.h
+++ b/Core/Inc/User/user_main.h
@@ -3,6 +3,10 @@
#include "main.h"
#include "tim.h"
+#include "gpio.h"
+#include "adc.h"
+#include "ethernet.h"
+#include "eem_power.h"
void user_setup();
void user_loop();
diff --git a/Core/Inc/dma.h b/Core/Inc/dma.h
new file mode 100644
index 0000000..052393e
--- /dev/null
+++ b/Core/Inc/dma.h
@@ -0,0 +1,52 @@
+/**
+ ******************************************************************************
+ * @file dma.h
+ * @brief This file contains all the function prototypes for
+ * the dma.c file
+ ******************************************************************************
+ * @attention
+ *
+ *
© Copyright (c) 2021 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software component is licensed by ST under BSD 3-Clause license,
+ * the "License"; You may not use this file except in compliance with the
+ * License. You may obtain a copy of the License at:
+ * opensource.org/licenses/BSD-3-Clause
+ *
+ ******************************************************************************
+ */
+/* Define to prevent recursive inclusion -------------------------------------*/
+#ifndef __DMA_H__
+#define __DMA_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Includes ------------------------------------------------------------------*/
+#include "main.h"
+
+/* DMA memory to memory transfer handles -------------------------------------*/
+
+/* USER CODE BEGIN Includes */
+
+/* USER CODE END Includes */
+
+/* USER CODE BEGIN Private defines */
+
+/* USER CODE END Private defines */
+
+void MX_DMA_Init(void);
+
+/* USER CODE BEGIN Prototypes */
+
+/* USER CODE END Prototypes */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __DMA_H__ */
+
+/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
diff --git a/Core/Inc/main.h b/Core/Inc/main.h
index c403b5d..04402fe 100644
--- a/Core/Inc/main.h
+++ b/Core/Inc/main.h
@@ -64,12 +64,13 @@ void Error_Handler(void);
#define LED_GPIO_Port GPIOC
#define KEY_Pin GPIO_PIN_1
#define KEY_GPIO_Port GPIOC
-#define Fault_12V_Pin GPIO_PIN_2
-#define Fault_12V_GPIO_Port GPIOB
+#define EEM_POWER_FAULT_Pin GPIO_PIN_2
+#define EEM_POWER_FAULT_GPIO_Port GPIOB
+#define EEM_POWER_FAULT_EXTI_IRQn EXTI2_IRQn
#define SPI_FPGA_CS_Pin GPIO_PIN_15
#define SPI_FPGA_CS_GPIO_Port GPIOA
-#define SW_12V_Pin GPIO_PIN_6
-#define SW_12V_GPIO_Port GPIOB
+#define EEM_POWER_SW_Pin GPIO_PIN_6
+#define EEM_POWER_SW_GPIO_Port GPIOB
/* USER CODE BEGIN Private defines */
/* USER CODE END Private defines */
diff --git a/Core/Inc/stm32f1xx_hal_conf.h b/Core/Inc/stm32f1xx_hal_conf.h
index 8045b50..b2c09e2 100644
--- a/Core/Inc/stm32f1xx_hal_conf.h
+++ b/Core/Inc/stm32f1xx_hal_conf.h
@@ -41,7 +41,7 @@
/*#define HAL_CORTEX_MODULE_ENABLED */
/*#define HAL_CRC_MODULE_ENABLED */
#define HAL_DAC_MODULE_ENABLED
-/*#define HAL_DMA_MODULE_ENABLED */
+#define HAL_DMA_MODULE_ENABLED
/*#define HAL_ETH_MODULE_ENABLED */
/*#define HAL_FLASH_MODULE_ENABLED */
#define HAL_GPIO_MODULE_ENABLED
diff --git a/Core/Inc/stm32f1xx_it.h b/Core/Inc/stm32f1xx_it.h
index cf81fd4..381889a 100644
--- a/Core/Inc/stm32f1xx_it.h
+++ b/Core/Inc/stm32f1xx_it.h
@@ -56,6 +56,8 @@ void SVC_Handler(void);
void DebugMon_Handler(void);
void PendSV_Handler(void);
void SysTick_Handler(void);
+void EXTI2_IRQHandler(void);
+void DMA1_Channel1_IRQHandler(void);
void TIM4_IRQHandler(void);
/* USER CODE BEGIN EFP */
diff --git a/Core/Src/User/eem_power.c b/Core/Src/User/eem_power.c
new file mode 100644
index 0000000..8dda439
--- /dev/null
+++ b/Core/Src/User/eem_power.c
@@ -0,0 +1,15 @@
+#include "eem_power.h"
+
+uint16_t adc_eem_power[2];
+float eem_current;
+
+void eem_power_init()
+{
+ HAL_GPIO_WritePin(EEM_POWER_SW_GPIO_Port, EEM_POWER_SW_Pin, GPIO_PIN_SET);
+ HAL_ADC_Start_DMA(&hadc1, (uint32_t*)adc_eem_power, sizeof(adc_eem_power));
+}
+
+void eem_power_get_current()
+{
+ eem_current = EEM_ADC2CURRENT(adc_eem_power[EEM_CURRENT_VAL], adc_eem_power[EEM_CURRENT_REF]);
+}
\ No newline at end of file
diff --git a/Core/Src/User/ethernet.c b/Core/Src/User/ethernet.c
new file mode 100644
index 0000000..963c701
--- /dev/null
+++ b/Core/Src/User/ethernet.c
@@ -0,0 +1,76 @@
+#include "ethernet.h"
+#include "spi.h"
+
+
+void ethernet_spi_1_byte(uint8_t spi_cmd)
+{
+ HAL_GPIO_WritePin(SPI_ENC_CS_GPIO_Port, SPI_ENC_CS_Pin, GPIO_PIN_RESET);
+ HAL_SPI_Transmit(&hspi1, &spi_cmd, 1, 100);
+ HAL_GPIO_WritePin(SPI_ENC_CS_GPIO_Port, SPI_ENC_CS_Pin, GPIO_PIN_SET);
+}
+
+void ethernet_spi_2_byte(uint8_t spi_cmd, uint8_t *spi_data)
+{
+ ethernet_spi_n_byte_banked(ENC_SPI_READ, spi_cmd, spi_data, 1);
+}
+
+void ethernet_spi_3_byte(enc_spi_operate_type_t type, uint8_t spi_cmd, uint8_t *spi_data)
+{
+ ethernet_spi_n_byte_banked(type, spi_cmd, spi_data, 2);
+}
+
+void ethernet_spi_n_byte_banked(enc_spi_operate_type_t type, uint8_t spi_cmd, uint8_t *spi_data, uint8_t n)
+{
+ switch (type)
+ {
+ case ENC_SPI_WRITE:
+ HAL_GPIO_WritePin(SPI_ENC_CS_GPIO_Port, SPI_ENC_CS_Pin, GPIO_PIN_RESET);
+ HAL_SPI_Transmit(&hspi1, &spi_cmd, 1, 100);
+ HAL_SPI_Transmit(&hspi1, spi_data, n, 100);
+ HAL_GPIO_WritePin(SPI_ENC_CS_GPIO_Port, SPI_ENC_CS_Pin, GPIO_PIN_SET);
+ break;
+
+ case ENC_SPI_READ:
+ HAL_GPIO_WritePin(SPI_ENC_CS_GPIO_Port, SPI_ENC_CS_Pin, GPIO_PIN_RESET);
+ HAL_SPI_Transmit(&hspi1, &spi_cmd, 1, 100);
+ HAL_SPI_Receive(&hspi1, spi_data, n, 100);
+ HAL_GPIO_WritePin(SPI_ENC_CS_GPIO_Port, SPI_ENC_CS_Pin, GPIO_PIN_SET);
+ break;
+
+ default:
+ break;
+ }
+}
+
+void ethernet_init()
+{
+ HAL_GPIO_WritePin(SPI_ENC_CS_GPIO_Port, SPI_ENC_CS_Pin, GPIO_PIN_SET);
+ uint8_t spi_dummy_data = 0x00;
+ HAL_SPI_Transmit(&hspi1, &spi_dummy_data, 1, 100); //dummy transmition to make the clock low
+
+ uint16_t spi_test_data = 0;
+ ethernet_spi_1_byte(ENC_CMD_BxSEL(0));
+ // HAL_Delay(1);
+ // ethernet_spi_2_byte(ENC_CMD_RBSEL, (uint8_t*)&spi_test_data);
+ // while(spi_test_data != 0);
+
+ spi_test_data = 1234U;
+ ethernet_spi_n_byte_banked(ENC_SPI_WRITE, ENC_CMD_WCR(0x16), (uint8_t*)&spi_test_data, sizeof(spi_test_data));
+ HAL_Delay(1);
+ spi_test_data = 0;
+ ethernet_spi_n_byte_banked(ENC_SPI_READ, ENC_CMD_RCR(0x16), (uint8_t*)&spi_test_data, sizeof(spi_test_data));
+ while(spi_test_data != 1234U);
+
+ // do
+ // {
+ // ethernet_spi_n_byte_banked(ENC_SPI_READ, ENC_CMD_WCR(0x1A), (uint8_t*)&spi_test_data, sizeof(spi_test_data));
+ // HAL_Delay(1);
+ // }
+ // while((spi_test_data & (0x0001 << 12U)) == 0x0000);
+
+ ethernet_spi_1_byte(ENC_CMD_RESET);
+ HAL_Delay(1);
+ ethernet_spi_n_byte_banked(ENC_SPI_READ, ENC_CMD_RCR(0x16), (uint8_t*)&spi_test_data, sizeof(spi_test_data));
+ while(spi_test_data != 0x0000);
+ HAL_Delay(1);
+}
diff --git a/Core/Src/User/user_isr.c b/Core/Src/User/user_isr.c
index 1abbdbe..af02fcd 100644
--- a/Core/Src/User/user_isr.c
+++ b/Core/Src/User/user_isr.c
@@ -1,7 +1,6 @@
#include "user_isr.h"
-#include "user_main.h"
-void timer4_isr ()
+void timer4_isr()
{
static uint16_t cnt = 0;
if (cnt > 999)
@@ -13,4 +12,18 @@ void timer4_isr ()
{
cnt++;
}
+}
+
+void adc1_dma_isr()
+{
+ eem_power_get_current();
+}
+
+GPIO_PinState fault_state;
+
+void exti2_isr()
+{
+
+ fault_state = HAL_GPIO_ReadPin(EEM_POWER_FAULT_GPIO_Port, EEM_POWER_FAULT_Pin);
+ HAL_GPIO_WritePin(LED_GPIO_Port, LED_Pin, fault_state);
}
\ No newline at end of file
diff --git a/Core/Src/User/user_main.c b/Core/Src/User/user_main.c
index 9bc7924..3061520 100644
--- a/Core/Src/User/user_main.c
+++ b/Core/Src/User/user_main.c
@@ -1,11 +1,23 @@
#include "user_main.h"
-void user_setup ()
+void user_setup()
{
+ ethernet_init();
HAL_TIM_Base_Start_IT(&htim4);
+ // HAL_TIM_Base_Start(&htim3);
+ // eem_power_init();
}
-void user_loop ()
+void user_loop()
{
-
+ if (HAL_GPIO_ReadPin(KEY_GPIO_Port, KEY_Pin) == GPIO_PIN_RESET)
+ {
+ HAL_Delay(50);
+ if (HAL_GPIO_ReadPin(KEY_GPIO_Port, KEY_Pin) == GPIO_PIN_RESET)
+ {
+ // ethernet_reset();
+ // HAL_GPIO_TogglePin(EEM_POWER_SW_GPIO_Port, EEM_POWER_SW_Pin);
+ while (HAL_GPIO_ReadPin(KEY_GPIO_Port, KEY_Pin) == GPIO_PIN_RESET);
+ }
+ }
}
\ No newline at end of file
diff --git a/Core/Src/adc.c b/Core/Src/adc.c
index 5dcc661..8d4a122 100644
--- a/Core/Src/adc.c
+++ b/Core/Src/adc.c
@@ -25,6 +25,7 @@
/* USER CODE END 0 */
ADC_HandleTypeDef hadc1;
+DMA_HandleTypeDef hdma_adc1;
/* ADC1 init function */
void MX_ADC1_Init(void)
@@ -42,25 +43,33 @@ void MX_ADC1_Init(void)
/** Common config
*/
hadc1.Instance = ADC1;
- hadc1.Init.ScanConvMode = ADC_SCAN_DISABLE;
+ hadc1.Init.ScanConvMode = ADC_SCAN_ENABLE;
hadc1.Init.ContinuousConvMode = DISABLE;
hadc1.Init.DiscontinuousConvMode = DISABLE;
- hadc1.Init.ExternalTrigConv = ADC_SOFTWARE_START;
+ hadc1.Init.ExternalTrigConv = ADC_EXTERNALTRIGCONV_T3_TRGO;
hadc1.Init.DataAlign = ADC_DATAALIGN_RIGHT;
- hadc1.Init.NbrOfConversion = 1;
+ hadc1.Init.NbrOfConversion = 2;
if (HAL_ADC_Init(&hadc1) != HAL_OK)
{
Error_Handler();
}
/** Configure Regular Channel
*/
- sConfig.Channel = ADC_CHANNEL_0;
+ sConfig.Channel = ADC_CHANNEL_8;
sConfig.Rank = ADC_REGULAR_RANK_1;
sConfig.SamplingTime = ADC_SAMPLETIME_1CYCLE_5;
if (HAL_ADC_ConfigChannel(&hadc1, &sConfig) != HAL_OK)
{
Error_Handler();
}
+ /** Configure Regular Channel
+ */
+ sConfig.Channel = ADC_CHANNEL_9;
+ sConfig.Rank = ADC_REGULAR_RANK_2;
+ if (HAL_ADC_ConfigChannel(&hadc1, &sConfig) != HAL_OK)
+ {
+ Error_Handler();
+ }
/* USER CODE BEGIN ADC1_Init 2 */
/* USER CODE END ADC1_Init 2 */
@@ -108,6 +117,23 @@ void HAL_ADC_MspInit(ADC_HandleTypeDef* adcHandle)
GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
+ /* ADC1 DMA Init */
+ /* ADC1 Init */
+ hdma_adc1.Instance = DMA1_Channel1;
+ hdma_adc1.Init.Direction = DMA_PERIPH_TO_MEMORY;
+ hdma_adc1.Init.PeriphInc = DMA_PINC_DISABLE;
+ hdma_adc1.Init.MemInc = DMA_MINC_ENABLE;
+ hdma_adc1.Init.PeriphDataAlignment = DMA_PDATAALIGN_HALFWORD;
+ hdma_adc1.Init.MemDataAlignment = DMA_MDATAALIGN_HALFWORD;
+ hdma_adc1.Init.Mode = DMA_CIRCULAR;
+ hdma_adc1.Init.Priority = DMA_PRIORITY_LOW;
+ if (HAL_DMA_Init(&hdma_adc1) != HAL_OK)
+ {
+ Error_Handler();
+ }
+
+ __HAL_LINKDMA(adcHandle,DMA_Handle,hdma_adc1);
+
/* USER CODE BEGIN ADC1_MspInit 1 */
/* USER CODE END ADC1_MspInit 1 */
@@ -145,6 +171,8 @@ void HAL_ADC_MspDeInit(ADC_HandleTypeDef* adcHandle)
HAL_GPIO_DeInit(GPIOB, GPIO_PIN_0|GPIO_PIN_1);
+ /* ADC1 DMA DeInit */
+ HAL_DMA_DeInit(adcHandle->DMA_Handle);
/* USER CODE BEGIN ADC1_MspDeInit 1 */
/* USER CODE END ADC1_MspDeInit 1 */
diff --git a/Core/Src/dma.c b/Core/Src/dma.c
new file mode 100644
index 0000000..c3ea887
--- /dev/null
+++ b/Core/Src/dma.c
@@ -0,0 +1,55 @@
+/**
+ ******************************************************************************
+ * @file dma.c
+ * @brief This file provides code for the configuration
+ * of all the requested memory to memory DMA transfers.
+ ******************************************************************************
+ * @attention
+ *
+ * © Copyright (c) 2021 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software component is licensed by ST under BSD 3-Clause license,
+ * the "License"; You may not use this file except in compliance with the
+ * License. You may obtain a copy of the License at:
+ * opensource.org/licenses/BSD-3-Clause
+ *
+ ******************************************************************************
+ */
+
+/* Includes ------------------------------------------------------------------*/
+#include "dma.h"
+
+/* USER CODE BEGIN 0 */
+
+/* USER CODE END 0 */
+
+/*----------------------------------------------------------------------------*/
+/* Configure DMA */
+/*----------------------------------------------------------------------------*/
+
+/* USER CODE BEGIN 1 */
+
+/* USER CODE END 1 */
+
+/**
+ * Enable DMA controller clock
+ */
+void MX_DMA_Init(void)
+{
+
+ /* DMA controller clock enable */
+ __HAL_RCC_DMA1_CLK_ENABLE();
+
+ /* DMA interrupt init */
+ /* DMA1_Channel1_IRQn interrupt configuration */
+ HAL_NVIC_SetPriority(DMA1_Channel1_IRQn, 0, 0);
+ HAL_NVIC_EnableIRQ(DMA1_Channel1_IRQn);
+
+}
+
+/* USER CODE BEGIN 2 */
+
+/* USER CODE END 2 */
+
+/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
diff --git a/Core/Src/gpio.c b/Core/Src/gpio.c
index 479528b..6d6674a 100644
--- a/Core/Src/gpio.c
+++ b/Core/Src/gpio.c
@@ -61,7 +61,7 @@ void MX_GPIO_Init(void)
HAL_GPIO_WritePin(SPI_FPGA_CS_GPIO_Port, SPI_FPGA_CS_Pin, GPIO_PIN_SET);
/*Configure GPIO pin Output Level */
- HAL_GPIO_WritePin(SW_12V_GPIO_Port, SW_12V_Pin, GPIO_PIN_SET);
+ HAL_GPIO_WritePin(EEM_POWER_SW_GPIO_Port, EEM_POWER_SW_Pin, GPIO_PIN_SET);
/*Configure GPIO pin : PtPin */
GPIO_InitStruct.Pin = SPI_ENC_CS_Pin;
@@ -84,10 +84,10 @@ void MX_GPIO_Init(void)
HAL_GPIO_Init(KEY_GPIO_Port, &GPIO_InitStruct);
/*Configure GPIO pin : PtPin */
- GPIO_InitStruct.Pin = Fault_12V_Pin;
- GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
+ GPIO_InitStruct.Pin = EEM_POWER_FAULT_Pin;
+ GPIO_InitStruct.Mode = GPIO_MODE_IT_RISING_FALLING;
GPIO_InitStruct.Pull = GPIO_PULLUP;
- HAL_GPIO_Init(Fault_12V_GPIO_Port, &GPIO_InitStruct);
+ HAL_GPIO_Init(EEM_POWER_FAULT_GPIO_Port, &GPIO_InitStruct);
/*Configure GPIO pins : PA8 PA11 PA12 */
GPIO_InitStruct.Pin = GPIO_PIN_8|GPIO_PIN_11|GPIO_PIN_12;
@@ -104,11 +104,15 @@ void MX_GPIO_Init(void)
HAL_GPIO_Init(SPI_FPGA_CS_GPIO_Port, &GPIO_InitStruct);
/*Configure GPIO pin : PtPin */
- GPIO_InitStruct.Pin = SW_12V_Pin;
+ GPIO_InitStruct.Pin = EEM_POWER_SW_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
- HAL_GPIO_Init(SW_12V_GPIO_Port, &GPIO_InitStruct);
+ HAL_GPIO_Init(EEM_POWER_SW_GPIO_Port, &GPIO_InitStruct);
+
+ /* EXTI interrupt init*/
+ HAL_NVIC_SetPriority(EXTI2_IRQn, 0, 0);
+ HAL_NVIC_EnableIRQ(EXTI2_IRQn);
}
diff --git a/Core/Src/main.c b/Core/Src/main.c
index d30a7d5..bfcabdf 100644
--- a/Core/Src/main.c
+++ b/Core/Src/main.c
@@ -21,6 +21,7 @@
#include "main.h"
#include "adc.h"
#include "dac.h"
+#include "dma.h"
#include "i2c.h"
#include "spi.h"
#include "tim.h"
@@ -91,6 +92,7 @@ int main(void)
/* Initialize all configured peripherals */
MX_GPIO_Init();
+ MX_DMA_Init();
MX_DAC_Init();
MX_I2C1_Init();
MX_I2C2_Init();
diff --git a/Core/Src/spi.c b/Core/Src/spi.c
index 0dc2860..67687ad 100644
--- a/Core/Src/spi.c
+++ b/Core/Src/spi.c
@@ -45,7 +45,7 @@ void MX_SPI1_Init(void)
hspi1.Init.CLKPolarity = SPI_POLARITY_LOW;
hspi1.Init.CLKPhase = SPI_PHASE_1EDGE;
hspi1.Init.NSS = SPI_NSS_SOFT;
- hspi1.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_128;
+ hspi1.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_4;
hspi1.Init.FirstBit = SPI_FIRSTBIT_MSB;
hspi1.Init.TIMode = SPI_TIMODE_DISABLE;
hspi1.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE;
diff --git a/Core/Src/stm32f1xx_it.c b/Core/Src/stm32f1xx_it.c
index 6672e83..b47382c 100644
--- a/Core/Src/stm32f1xx_it.c
+++ b/Core/Src/stm32f1xx_it.c
@@ -57,6 +57,7 @@
/* USER CODE END 0 */
/* External variables --------------------------------------------------------*/
+extern DMA_HandleTypeDef hdma_adc1;
extern TIM_HandleTypeDef htim4;
/* USER CODE BEGIN EV */
@@ -200,6 +201,34 @@ void SysTick_Handler(void)
/* please refer to the startup file (startup_stm32f1xx.s). */
/******************************************************************************/
+/**
+ * @brief This function handles EXTI line2 interrupt.
+ */
+void EXTI2_IRQHandler(void)
+{
+ /* USER CODE BEGIN EXTI2_IRQn 0 */
+ exti2_isr();
+ /* USER CODE END EXTI2_IRQn 0 */
+ HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_2);
+ /* USER CODE BEGIN EXTI2_IRQn 1 */
+
+ /* USER CODE END EXTI2_IRQn 1 */
+}
+
+/**
+ * @brief This function handles DMA1 channel1 global interrupt.
+ */
+void DMA1_Channel1_IRQHandler(void)
+{
+ /* USER CODE BEGIN DMA1_Channel1_IRQn 0 */
+ adc1_dma_isr();
+ /* USER CODE END DMA1_Channel1_IRQn 0 */
+ HAL_DMA_IRQHandler(&hdma_adc1);
+ /* USER CODE BEGIN DMA1_Channel1_IRQn 1 */
+
+ /* USER CODE END DMA1_Channel1_IRQn 1 */
+}
+
/**
* @brief This function handles TIM4 global interrupt.
*/
diff --git a/Core/Src/tim.c b/Core/Src/tim.c
index 763697c..9f079fc 100644
--- a/Core/Src/tim.c
+++ b/Core/Src/tim.c
@@ -36,6 +36,7 @@ void MX_TIM3_Init(void)
/* USER CODE END TIM3_Init 0 */
+ TIM_ClockConfigTypeDef sClockSourceConfig = {0};
TIM_MasterConfigTypeDef sMasterConfig = {0};
TIM_OC_InitTypeDef sConfigOC = {0};
@@ -48,11 +49,20 @@ void MX_TIM3_Init(void)
htim3.Init.Period = 999;
htim3.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
htim3.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
+ if (HAL_TIM_Base_Init(&htim3) != HAL_OK)
+ {
+ Error_Handler();
+ }
+ sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL;
+ if (HAL_TIM_ConfigClockSource(&htim3, &sClockSourceConfig) != HAL_OK)
+ {
+ Error_Handler();
+ }
if (HAL_TIM_PWM_Init(&htim3) != HAL_OK)
{
Error_Handler();
}
- sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET;
+ sMasterConfig.MasterOutputTrigger = TIM_TRGO_UPDATE;
sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE;
if (HAL_TIMEx_MasterConfigSynchronization(&htim3, &sMasterConfig) != HAL_OK)
{
@@ -181,10 +191,10 @@ void MX_TIM8_Init(void)
}
-void HAL_TIM_PWM_MspInit(TIM_HandleTypeDef* tim_pwmHandle)
+void HAL_TIM_Base_MspInit(TIM_HandleTypeDef* tim_baseHandle)
{
- if(tim_pwmHandle->Instance==TIM3)
+ if(tim_baseHandle->Instance==TIM3)
{
/* USER CODE BEGIN TIM3_MspInit 0 */
@@ -195,23 +205,7 @@ void HAL_TIM_PWM_MspInit(TIM_HandleTypeDef* tim_pwmHandle)
/* USER CODE END TIM3_MspInit 1 */
}
- else if(tim_pwmHandle->Instance==TIM8)
- {
- /* USER CODE BEGIN TIM8_MspInit 0 */
-
- /* USER CODE END TIM8_MspInit 0 */
- /* TIM8 clock enable */
- __HAL_RCC_TIM8_CLK_ENABLE();
- /* USER CODE BEGIN TIM8_MspInit 1 */
-
- /* USER CODE END TIM8_MspInit 1 */
- }
-}
-
-void HAL_TIM_Base_MspInit(TIM_HandleTypeDef* tim_baseHandle)
-{
-
- if(tim_baseHandle->Instance==TIM4)
+ else if(tim_baseHandle->Instance==TIM4)
{
/* USER CODE BEGIN TIM4_MspInit 0 */
@@ -227,6 +221,22 @@ void HAL_TIM_Base_MspInit(TIM_HandleTypeDef* tim_baseHandle)
/* USER CODE END TIM4_MspInit 1 */
}
}
+
+void HAL_TIM_PWM_MspInit(TIM_HandleTypeDef* tim_pwmHandle)
+{
+
+ if(tim_pwmHandle->Instance==TIM8)
+ {
+ /* USER CODE BEGIN TIM8_MspInit 0 */
+
+ /* USER CODE END TIM8_MspInit 0 */
+ /* TIM8 clock enable */
+ __HAL_RCC_TIM8_CLK_ENABLE();
+ /* USER CODE BEGIN TIM8_MspInit 1 */
+
+ /* USER CODE END TIM8_MspInit 1 */
+ }
+}
void HAL_TIM_MspPostInit(TIM_HandleTypeDef* timHandle)
{
@@ -275,10 +285,10 @@ void HAL_TIM_MspPostInit(TIM_HandleTypeDef* timHandle)
}
-void HAL_TIM_PWM_MspDeInit(TIM_HandleTypeDef* tim_pwmHandle)
+void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef* tim_baseHandle)
{
- if(tim_pwmHandle->Instance==TIM3)
+ if(tim_baseHandle->Instance==TIM3)
{
/* USER CODE BEGIN TIM3_MspDeInit 0 */
@@ -289,23 +299,7 @@ void HAL_TIM_PWM_MspDeInit(TIM_HandleTypeDef* tim_pwmHandle)
/* USER CODE END TIM3_MspDeInit 1 */
}
- else if(tim_pwmHandle->Instance==TIM8)
- {
- /* USER CODE BEGIN TIM8_MspDeInit 0 */
-
- /* USER CODE END TIM8_MspDeInit 0 */
- /* Peripheral clock disable */
- __HAL_RCC_TIM8_CLK_DISABLE();
- /* USER CODE BEGIN TIM8_MspDeInit 1 */
-
- /* USER CODE END TIM8_MspDeInit 1 */
- }
-}
-
-void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef* tim_baseHandle)
-{
-
- if(tim_baseHandle->Instance==TIM4)
+ else if(tim_baseHandle->Instance==TIM4)
{
/* USER CODE BEGIN TIM4_MspDeInit 0 */
@@ -321,6 +315,22 @@ void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef* tim_baseHandle)
}
}
+void HAL_TIM_PWM_MspDeInit(TIM_HandleTypeDef* tim_pwmHandle)
+{
+
+ if(tim_pwmHandle->Instance==TIM8)
+ {
+ /* USER CODE BEGIN TIM8_MspDeInit 0 */
+
+ /* USER CODE END TIM8_MspDeInit 0 */
+ /* Peripheral clock disable */
+ __HAL_RCC_TIM8_CLK_DISABLE();
+ /* USER CODE BEGIN TIM8_MspDeInit 1 */
+
+ /* USER CODE END TIM8_MspDeInit 1 */
+ }
+}
+
/* USER CODE BEGIN 1 */
/* USER CODE END 1 */
diff --git a/Makefile b/Makefile
index 8b2b472..ad50e72 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
##########################################################################################################################
-# File automatically-generated by tool: [projectgenerator] version: [3.13.0-B3] date: [Mon Jul 26 17:15:52 CST 2021]
+# File automatically-generated by tool: [projectgenerator] version: [3.13.0-B3] date: [Tue Jul 27 10:33:41 CST 2021]
##########################################################################################################################
# ------------------------------------------------
@@ -68,7 +68,10 @@ Core/Src/dac.c \
Core/Src/i2c.c \
Core/Src/spi.c \
Core/Src/tim.c \
-Core/Src/usart.c
+Core/Src/usart.c \
+Core/Src/Uesr/ethernet.c \
+Core/Src/dma.c \
+Core/Src/User/eem_power.c
# ASM sources
ASM_SOURCES = \
diff --git a/Syrostan-MCU-C.ioc b/Syrostan-MCU-C.ioc
index 9c22e94..564a3c1 100644
--- a/Syrostan-MCU-C.ioc
+++ b/Syrostan-MCU-C.ioc
@@ -1,29 +1,47 @@
#MicroXplorer Configuration settings - do not modify
-ADC1.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_0
-ADC1.IPParameters=Rank-0\#ChannelRegularConversion,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,NbrOfConversionFlag,master
+ADC1.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_8
+ADC1.Channel-1\#ChannelRegularConversion=ADC_CHANNEL_9
+ADC1.ContinuousConvMode=DISABLE
+ADC1.ExternalTrigConv=ADC_EXTERNALTRIGCONV_T3_TRGO
+ADC1.IPParameters=Rank-0\#ChannelRegularConversion,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,NbrOfConversionFlag,master,Rank-1\#ChannelRegularConversion,Channel-1\#ChannelRegularConversion,SamplingTime-1\#ChannelRegularConversion,NbrOfConversion,ContinuousConvMode,ExternalTrigConv
+ADC1.NbrOfConversion=2
ADC1.NbrOfConversionFlag=1
ADC1.Rank-0\#ChannelRegularConversion=1
+ADC1.Rank-1\#ChannelRegularConversion=2
ADC1.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_1CYCLE_5
+ADC1.SamplingTime-1\#ChannelRegularConversion=ADC_SAMPLETIME_1CYCLE_5
ADC1.master=1
+Dma.ADC1.0.Direction=DMA_PERIPH_TO_MEMORY
+Dma.ADC1.0.Instance=DMA1_Channel1
+Dma.ADC1.0.MemDataAlignment=DMA_MDATAALIGN_HALFWORD
+Dma.ADC1.0.MemInc=DMA_MINC_ENABLE
+Dma.ADC1.0.Mode=DMA_CIRCULAR
+Dma.ADC1.0.PeriphDataAlignment=DMA_PDATAALIGN_HALFWORD
+Dma.ADC1.0.PeriphInc=DMA_PINC_DISABLE
+Dma.ADC1.0.Priority=DMA_PRIORITY_LOW
+Dma.ADC1.0.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority
+Dma.Request0=ADC1
+Dma.RequestsNb=1
File.Version=6
GPIO.groupedBy=Group By Peripherals
KeepUserPlacement=false
Mcu.Family=STM32F1
Mcu.IP0=ADC1
Mcu.IP1=DAC
-Mcu.IP10=TIM4
-Mcu.IP11=TIM8
-Mcu.IP12=UART4
-Mcu.IP13=USART1
-Mcu.IP2=I2C1
-Mcu.IP3=I2C2
-Mcu.IP4=NVIC
-Mcu.IP5=RCC
-Mcu.IP6=SPI1
-Mcu.IP7=SPI2
-Mcu.IP8=SYS
-Mcu.IP9=TIM3
-Mcu.IPNb=14
+Mcu.IP10=TIM3
+Mcu.IP11=TIM4
+Mcu.IP12=TIM8
+Mcu.IP13=UART4
+Mcu.IP14=USART1
+Mcu.IP2=DMA
+Mcu.IP3=I2C1
+Mcu.IP4=I2C2
+Mcu.IP5=NVIC
+Mcu.IP6=RCC
+Mcu.IP7=SPI1
+Mcu.IP8=SPI2
+Mcu.IP9=SYS
+Mcu.IPNb=15
Mcu.Name=STM32F103V(C-D-E)Tx
Mcu.Package=LQFP100
Mcu.Pin0=PC13-TAMPER-RTC
@@ -67,20 +85,23 @@ Mcu.Pin42=PB6
Mcu.Pin43=PB8
Mcu.Pin44=PB9
Mcu.Pin45=VP_SYS_VS_Systick
-Mcu.Pin46=VP_TIM4_VS_ClockSourceINT
+Mcu.Pin46=VP_TIM3_VS_ClockSourceINT
+Mcu.Pin47=VP_TIM4_VS_ClockSourceINT
Mcu.Pin5=PC2
Mcu.Pin6=PA0-WKUP
Mcu.Pin7=PA1
Mcu.Pin8=PA2
Mcu.Pin9=PA3
-Mcu.PinsNb=47
+Mcu.PinsNb=48
Mcu.ThirdPartyNb=0
Mcu.UserConstants=
Mcu.UserName=STM32F103VCTx
MxCube.Version=6.2.1
MxDb.Version=DB.6.0.21
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false
+NVIC.DMA1_Channel1_IRQn=true\:0\:0\:false\:false\:true\:false\:true
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false
+NVIC.EXTI2_IRQn=true\:0\:0\:false\:false\:true\:true\:true
NVIC.ForceEnableDMAVector=true
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:false
@@ -138,11 +159,12 @@ PB14.Mode=Full_Duplex_Master
PB14.Signal=SPI2_MISO
PB15.Mode=Full_Duplex_Master
PB15.Signal=SPI2_MOSI
-PB2.GPIOParameters=GPIO_PuPd,GPIO_Label
-PB2.GPIO_Label=Fault_12V
+PB2.GPIOParameters=GPIO_PuPd,GPIO_Label,GPIO_ModeDefaultEXTI
+PB2.GPIO_Label=EEM_POWER_FAULT
+PB2.GPIO_ModeDefaultEXTI=GPIO_MODE_IT_RISING_FALLING
PB2.GPIO_PuPd=GPIO_PULLUP
PB2.Locked=true
-PB2.Signal=GPIO_Input
+PB2.Signal=GPXTI2
PB3.Mode=Full_Duplex_Master
PB3.Signal=SPI1_SCK
PB4.Mode=Full_Duplex_Master
@@ -150,7 +172,7 @@ PB4.Signal=SPI1_MISO
PB5.Mode=Full_Duplex_Master
PB5.Signal=SPI1_MOSI
PB6.GPIOParameters=PinState,GPIO_Label
-PB6.GPIO_Label=SW_12V
+PB6.GPIO_Label=EEM_POWER_SW
PB6.Locked=true
PB6.PinState=GPIO_PIN_SET
PB6.Signal=GPIO_Output
@@ -214,7 +236,7 @@ ProjectManager.StackSize=0x400
ProjectManager.TargetToolchain=Makefile
ProjectManager.ToolChainLocation=
ProjectManager.UnderRoot=false
-ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-SystemClock_Config-RCC-false-HAL-false,3-MX_DAC_Init-DAC-false-HAL-true,4-MX_I2C1_Init-I2C1-false-HAL-true,5-MX_I2C2_Init-I2C2-false-HAL-true,6-MX_SPI1_Init-SPI1-false-HAL-true,7-MX_SPI2_Init-SPI2-false-HAL-true,8-MX_UART4_Init-UART4-false-HAL-true,9-MX_ADC1_Init-ADC1-false-HAL-true,10-MX_FSMC_Init-FSMC-false-HAL-true,11-MX_USART1_UART_Init-USART1-false-HAL-true,12-MX_TIM3_Init-TIM3-false-HAL-true,13-MX_TIM8_Init-TIM8-false-HAL-true,14-MX_TIM4_Init-TIM4-false-HAL-true
+ProjectManager.functionlistsort=1-MX_GPIO_Init-GPIO-false-HAL-true,2-MX_DMA_Init-DMA-false-HAL-true,3-SystemClock_Config-RCC-false-HAL-false,4-MX_DAC_Init-DAC-false-HAL-true,5-MX_I2C1_Init-I2C1-false-HAL-true,6-MX_I2C2_Init-I2C2-false-HAL-true,7-MX_SPI1_Init-SPI1-false-HAL-true,8-MX_SPI2_Init-SPI2-false-HAL-true,9-MX_UART4_Init-UART4-false-HAL-true,10-MX_ADC1_Init-ADC1-false-HAL-true,11-MX_USART1_UART_Init-USART1-false-HAL-true,12-MX_TIM3_Init-TIM3-false-HAL-true,13-MX_TIM8_Init-TIM8-false-HAL-true,14-MX_TIM4_Init-TIM4-false-HAL-true
RCC.ADCFreqValue=12000000
RCC.ADCPresc=RCC_ADCPCLK2_DIV6
RCC.AHBFreq_Value=72000000
@@ -268,6 +290,8 @@ SH.COMP_DAC1_group.0=DAC_OUT1,DAC_OUT1
SH.COMP_DAC1_group.ConfNb=1
SH.COMP_DAC2_group.0=DAC_OUT2,DAC_OUT2
SH.COMP_DAC2_group.ConfNb=1
+SH.GPXTI2.0=GPIO_EXTI2
+SH.GPXTI2.ConfNb=1
SH.S_TIM3_CH1.0=TIM3_CH1,PWM Generation1 CH1
SH.S_TIM3_CH1.ConfNb=1
SH.S_TIM3_CH2.0=TIM3_CH2,PWM Generation2 CH2
@@ -276,8 +300,8 @@ SH.S_TIM8_CH3.0=TIM8_CH3,PWM Generation3 CH3
SH.S_TIM8_CH3.ConfNb=1
SH.S_TIM8_CH4.0=TIM8_CH4,PWM Generation4 CH4
SH.S_TIM8_CH4.ConfNb=1
-SPI1.BaudRatePrescaler=SPI_BAUDRATEPRESCALER_128
-SPI1.CalculateBaudRate=562.5 KBits/s
+SPI1.BaudRatePrescaler=SPI_BAUDRATEPRESCALER_4
+SPI1.CalculateBaudRate=18.0 MBits/s
SPI1.Direction=SPI_DIRECTION_2LINES
SPI1.IPParameters=VirtualType,Mode,Direction,CalculateBaudRate,BaudRatePrescaler
SPI1.Mode=SPI_MODE_MASTER
@@ -291,9 +315,10 @@ SPI2.VirtualNSS=VM_NSSHARD
SPI2.VirtualType=VM_MASTER
TIM3.Channel-PWM\ Generation1\ CH1=TIM_CHANNEL_1
TIM3.Channel-PWM\ Generation2\ CH2=TIM_CHANNEL_2
-TIM3.IPParameters=Channel-PWM Generation1 CH1,Channel-PWM Generation2 CH2,Prescaler,Period
+TIM3.IPParameters=Channel-PWM Generation1 CH1,Channel-PWM Generation2 CH2,Prescaler,Period,TIM_MasterOutputTrigger
TIM3.Period=999
TIM3.Prescaler=71
+TIM3.TIM_MasterOutputTrigger=TIM_TRGO_UPDATE
TIM4.IPParameters=Prescaler,Period
TIM4.Period=999
TIM4.Prescaler=71
@@ -306,6 +331,8 @@ USART1.IPParameters=VirtualMode
USART1.VirtualMode=VM_ASYNC
VP_SYS_VS_Systick.Mode=SysTick
VP_SYS_VS_Systick.Signal=SYS_VS_Systick
+VP_TIM3_VS_ClockSourceINT.Mode=Internal
+VP_TIM3_VS_ClockSourceINT.Signal=TIM3_VS_ClockSourceINT
VP_TIM4_VS_ClockSourceINT.Mode=Internal
VP_TIM4_VS_ClockSourceINT.Signal=TIM4_VS_ClockSourceINT
board=custom
diff --git a/build/Syrostan-MCU-C.bin b/build/Syrostan-MCU-C.bin
deleted file mode 100755
index 9df810f..0000000
Binary files a/build/Syrostan-MCU-C.bin and /dev/null differ
diff --git a/build/Syrostan-MCU-C.elf b/build/Syrostan-MCU-C.elf
deleted file mode 100755
index e5a163c..0000000
Binary files a/build/Syrostan-MCU-C.elf and /dev/null differ
diff --git a/build/Syrostan-MCU-C.hex b/build/Syrostan-MCU-C.hex
deleted file mode 100644
index 2c2fa80..0000000
--- a/build/Syrostan-MCU-C.hex
+++ /dev/null
@@ -1,643 +0,0 @@
-:020000040800F2
-:1000000000C00020D12600081F03000821030008BB
-:100010002303000825030008270300080000000050
-:10002000000000000000000000000000290300089C
-:100030002B030008000000002D0300082F03000818
-:100040001927000819270008192700081927000890
-:100050001927000819270008192700081927000880
-:100060001927000819270008192700081927000870
-:100070001927000819270008192700081927000860
-:100080001927000819270008192700081927000850
-:100090001927000819270008192700081927000840
-:1000A0001927000819270008192700081927000830
-:1000B0001927000819270008390300081927000824
-:1000C0001927000819270008192700081927000810
-:1000D0001927000819270008192700081927000800
-:1000E00019270008192700081927000819270008F0
-:1000F00019270008192700081927000819270008E0
-:1001000019270008192700081927000819270008CF
-:1001100019270008192700081927000819270008BF
-:1001200019270008192700081927000819270008AF
-:1001300000000000000000000000000000000000BF
-:1001400000000000000000000000000000000000AF
-:10015000000000000000000000000000000000009F
-:10016000000000000000000000000000000000008F
-:10017000000000000000000000000000000000007F
-:10018000000000000000000000000000000000006F
-:10019000000000000000000000000000000000005F
-:1001A000000000000000000000000000000000004F
-:1001B000000000000000000000000000000000003F
-:1001C000000000000000000000000000000000002F
-:1001D000000000000000000000000000000000001F
-:0401E0005FF8E0F1F3
-:1001E40010B5054C237833B9044B13B10448AFF36D
-:1001F40000800123237010BD0C00002000000000CB
-:10020400742700080C4B43B10C4810B50C49AFF3EC
-:1002140000800C48036823B910BD0A48036833B949
-:100224007047094B002BF7D0BDE810401847064B28
-:10023400002BF5D0184700BF000000007427000809
-:10024400100000200C0000200000000072B6FEE741
-:1002540000B597B0282200210CA802F081FA0023EF
-:100264000793089309930A930B93019302930393BF
-:1002740004930593069301220C924FF480330D935B
-:1002840010920222139214934FF4E01315930CA8C6
-:1002940000F034FAC8B90F23079302210891002310
-:1002A40009934FF480620A920B9307A800F064FC50
-:1002B40068B9022301934FF40043039301A800F0AB
-:1002C40035FD30B917B05DF804FBFFF7BFFFFFF74A
-:1002D400BDFFFFF7BBFF08B500F0D6F9FFF7B8FF85
-:1002E40001F01AFD01F02AFE01F082FE01F09EFEEB
-:1002F40001F01AFF01F03AFF02F046F901F0A0FD07
-:1003040002F05CF902F090F802F0D8F801F0C2FFB4
-:1003140001F0E2FC01F0E8FCFCE7FEE7FEE7FEE7A3
-:10032400FEE7FEE770477047704708B500F0BEF976
-:1003340008BD000008B501F0D9FC024801F071F9CC
-:1003440008BD00BF1402002082B00E4B9A6942F02F
-:1003540001029A619A6902F001020092009ADA6934
-:1003640042F08052DA61DB6903F080530193019B10
-:10037400054A536823F0E06343F00073536002B00E
-:10038400704700BF001002400000014030B482B04A
-:100394000023019390F82430012B00F08B80024657
-:1003A400012380F824304B68062B29D80568686B34
-:1003B40003EB8303053B1F249C4020EA04000C68E4
-:1003C40004FA03F303436B630B68092B38D91568EC
-:1003D400E86803EB43031E3B07249C4020EA040027
-:1003E4008C6804FA03F30343EB600B68103B012BA6
-:1003F40034D90020002382F8243002B030BC704786
-:100404000C2B0ED80568286B03EB8303233B1F24B6
-:100414009C4020EA04000C6804FA03F303432B63B2
-:10042400D2E70568E86A03EB8303413B1F249C4041
-:1004340020EA04000C6804FA03F30343EB62C3E705
-:100444001568286903EB430307249C4020EA040051
-:100454008C6804FA03F303432B61C6E71368164858
-:10046400834205D0936A43F0200393620120C1E7DD
-:10047400986810F4000F1BD1986840F4000098604D
-:100484000B68102B01D00020B4E70C4B1B680C49FF
-:10049400A1FB03139B0C03EB83035900019102E0BE
-:1004A400019B013B0193019B002BF9D10020A1E7A3
-:1004B40000209FE70220A0E700240140080000205C
-:1004C40083DE1B4338B503689A6812F0010F01D12B
-:1004D400002038BD04469A6822F001029A6000F0B8
-:1004E400F1F8054623689B6813F0010F0ED000F065
-:1004F400E9F8401B0228F5D9A36A43F01003A3626C
-:10050400E36A43F00103E362012038BD002038BDF3
-:10051400002800F08A8070B50446836A002B4DD011
-:100524002046FFF7CFFFA36A13F0100377D100280A
-:1005340075D1A26A22F4885222F0020242F0020229
-:10054400A262656821683A4A91423DD0E2692A4331
-:10055400267B42EA4602A568B5F5807F3ED0012D90
-:1005640039D0257D012D3CD04D6825F469452B43B8
-:100574004B6021688D682F4B2B4013438B60A3681D
-:10058400B3F5807F3ED0012B3CD000232568E96A77
-:1005940021F470010B43EB6223689968264B0B40EE
-:1005A4009A4233D0A36A23F0120343F01003A362E8
-:1005B400E36A43F00103E362012070BDC36280F883
-:1005C400243001F069FCABE7E269B2F5402FBED1FB
-:1005D4004FF40022BBE74FF48073C2E74FF48073FB
-:1005E400BFE736B9A569013D43EA453343F40063E7
-:1005F400BAE7A56A45F02005A562E56A45F001055C
-:10060400E562B1E72369013B1B05BFE70023E36211
-:10061400A36A23F0030343F00103A36270BDA36A3A
-:1006240043F01003A362012070BD0120704700BF96
-:10063400003C0140FDF7E1FFFE0E1FFF10B504462C
-:100644000E4B18784FF47A73B3FBF0F30C4A10682E
-:10065400B0FBF3F000F056FD68B90F2C01D901206E
-:1006640010BD002221464FF0FF3000F00BFD054B7A
-:100674001C60002010BD012010BD00BF0000002040
-:10068400080000200400002008B5074A136843F05E
-:1006940010031360032000F0E3FC0020FFF7CEFFFB
-:1006A400FFF752FE002008BD00200240034A1168F3
-:1006B400034B1B780B441360704700BF2C000020D1
-:1006C40000000020014B1868704700BF2C00002078
-:1006D40082B0084B1B68084AA2FB03235B0A00FB99
-:1006E40003F0019000BF019B5A1E0192002BF9D127
-:1006F40002B0704708000020D34D6210002800F0BB
-:10070400F58170B582B00446036813F0010F3DD043
-:10071400AB4B5B6803F00C03042B2ED0A84B5B6837
-:1007240003F00C03082B23D06368B3F5803F51D04A
-:10073400002B55D103F1804303F504331A6822F4E6
-:1007440080321A601A6822F480221A606368002BCF
-:1007540060D0FFF7B7FF0546994B1B6813F4003FC1
-:1007640014D1FFF7AFFF401B6428F5D90320C2E181
-:10077400934B5B6813F4803FD6D0914B1B6813F402
-:10078400003F03D06368002B00F0B281236813F0AC
-:10079400020F65D08A4B5B6813F00C0F4ED0884B68
-:1007A4005B6803F00C03082B43D02369002B79D03A
-:1007B4000122844B1A60FFF785FF0546804B1B68B6
-:1007C40013F0020F65D1FFF77DFF401B0228F5D916
-:1007D400032090E17A4A136843F480331360B5E749
-:1007E400B3F5A02F09D0764B1A6822F480321A6030
-:1007F4001A6822F480221A60A8E703F18043A3F563
-:100804003C331A6842F480221A601A6842F4803237
-:100814001A609BE7FFF756FF0546694B1B6813F404
-:10082400003FB3D0FFF74EFF401B6428F5D90320E7
-:1008340061E1634B5B6813F4803FB6D1604B1B6886
-:1008440013F0020F04D02369012B01D0012052E1DF
-:100854005B4A136823F0F803616943EAC103136038
-:10086400236813F0080F32D0A369002B6ED0012245
-:10087400554B1A60FFF726FF0546514B5B6A13F090
-:10088400020F21D1FFF71EFF401B0228F5D90320D8
-:1008940031E14B4A136823F0F803616943EAC10369
-:1008A4001360DDE70022474B1A60FFF70BFF054694
-:1008B400434B1B6813F0020FD2D0FFF703FF401B1A
-:1008C4000228F5D9032016E10120FFF701FF236870
-:1008D40013F0040F00F09880394BDB6913F0805F4C
-:1008E40046D1374BDA6942F08052DA61DB6903F0B2
-:1008F40080530193019B0125344B1B6813F4807FC3
-:1009040038D0E368012B49D0002B4DD103F180434B
-:1009140003F504331A6A22F001021A621A6A22F0F9
-:1009240004021A62E368002B5CD0FFF7CBFE064694
-:10093400234B1B6A13F0020F65D1FFF7C3FE801B24
-:1009440041F288339842F3D90320D4E000221E4BAD
-:100954001A60FFF7B7FE0546194B5B6A13F0020FE6
-:10096400B5D0FFF7AFFE401B0228F5D90320C2E043
-:100974000025C1E7154A136843F480731360FFF739
-:10098400A1FE0646114B1B6813F4807FB9D1FFF713
-:1009940099FE801B6428F5D90320ACE0084A136A49
-:1009A40043F001031362BDE7052B11D0044B1A6A0F
-:1009B40022F001021A621A6A22F004021A62B1E7F2
-:1009C4000010024000004242800442420070004095
-:1009D4004C4B1A6A42F004021A621A6A42F001028B
-:1009E4001A629FE7FFF76EFE0646464B1B6A13F03A
-:1009F400020F08D0FFF766FE801B41F2883398424D
-:100A0400F3D9032077E0E5B9E369002B72D03D4ABE
-:100A1400526802F00C02082A56D0022B17D000228A
-:100A2400394B1A60FFF74EFE0446364B1B6813F031
-:100A3400007F47D0FFF746FE001B0228F5D90320AC
-:100A440059E0304AD36923F08053D361DCE70022B4
-:100A54002D4B1A60FFF736FE05462A4B1B6813F030
-:100A6400007F06D0FFF72EFE401B0228F5D9032095
-:100A740041E0236AB3F5803F1AD022494B6823F43E
-:100A84007413226A606A024313434B6001221E4BB3
-:100A94001A60FFF717FE04461A4B1B6813F0007F19
-:100AA4000ED1FFF70FFE001B0228F5D9032022E028
-:100AB400144A536823F40033A1680B435360DCE702
-:100AC400002018E0002016E0012B16D00D4B5B68C7
-:100AD40003F48031226A914201D001200BE003F437
-:100AE4007013626A93420AD0012004E00120704727
-:100AF400012000E0002002B070BD0120FBE70020CF
-:100B0400F9E700BF001002406000424210B586B011
-:100B1400154C94E80F000DF1180E0EE90F00238A0E
-:100B2400ADF80430114B5B6803F00C02082A18D1AD
-:100B3400C3F38342724412F8102C13F4803F03D1A0
-:100B44000B4800FB02F00DE0084B5B68C3F3404325
-:100B5400734413F8143C074800FB02F0B0FBF3F0B5
-:100B640000E0044806B010BD8C27000800100240C5
-:100B740000093D0000127A00002800F0A38070B53F
-:100B84000446524B1B6803F007038B420CD24F4AB6
-:100B9400136823F007030B431360136803F0070380
-:100BA400994201D0012070BD236813F0020F17D0C1
-:100BB40013F0040F04D0464A536843F4E0635360CF
-:100BC400236813F0080F04D0414A536843F4605378
-:100BD40053603F4A536823F0F003A0680343536013
-:100BE4000D46236813F0010F31D06368012B20D028
-:100BF400022B25D0364A126812F0020F64D0344911
-:100C04004A6822F0030213434B60FFF75BFD06467C
-:100C14002F4B5B6803F00C036268B3EB820F16D0B2
-:100C2400FFF750FD801B41F288339842F0D903202E
-:100C340070BD274A126812F4003FE0D1012070BD54
-:100C4400234A126812F0007FD9D1012070BD1F4BD6
-:100C54001B6803F007039D420CD21C4A136823F05F
-:100C640007032B431360136803F007039D4201D06D
-:100C7400012070BD236813F0040F06D0144A536892
-:100C840023F4E063E1680B435360236813F0080F17
-:100C940007D00F4A536823F46053216943EAC10320
-:100CA4005360FFF733FF0A4B5B68C3F30313094A2E
-:100CB400D35CD840084B1860084B1868FFF7BEFC9B
-:100CC400002070BD01207047012070BD002002404B
-:100CD40000100240A02700080800002004000020A3
-:100CE400014B1868704700BF0800002008B5FFF7E3
-:100CF400F7FF044B5B68C3F30223034AD35CD84079
-:100D040008BD00BF00100240B027000808B5FFF777
-:100D1400E7FF044B5B68C3F3C223034AD35CD840A8
-:100D240008BD00BF00100240B027000870B582B0B3
-:100D34000446036813F0010F34D03E4BDB6913F013
-:100D4400805F48D13B4BDA6942F08052DA61DB695B
-:100D540003F080530193019B0125374B1B6813F467
-:100D6400807F3AD0334B1B6A13F4407311D062680E
-:100D740002F4407293420CD02E4A136A23F440705A
-:100D84002E4901260E6000260E60106213F0010F3A
-:100D940037D1284A136A23F4407361680B43136202
-:100DA400002D3FD1236813F0020F06D0214A536867
-:100DB40023F44043A1680B435360236813F0100FDE
-:100DC40035D01C4A536823F4800361690B43536094
-:100DD400002002B070BD0025BFE7174A136843F432
-:100DE40080731360FFF76EFC0646134B1B6813F405
-:100DF400807FB7D1FFF766FC801B6428F5D90320F8
-:100E0400E7E7FFF75FFC06460A4B1B6A13F0020F85
-:100E1400BFD1FFF757FC801B41F288339842F3D9C6
-:100E24000320D6E7D36923F08053D361BAE70020C7
-:100E3400CFE700BF0010024000700040400442426F
-:100E4400F0B583B00026344679E0002D00F0AA8086
-:100E5400012D00D1CE68FF2B00F2B8808646FF2B0F
-:100E640000F2B780A500DEF800200F27AF4022EA89
-:100E7400070206FA05F52A43CEF800204A6812F064
-:100E8400805F5BD0684A956945F001059561926978
-:100E940002F001020192019AA208971C634D55F8D1
-:100EA400275004F003074FEA870E0F2707FA0EF7BF
-:100EB40025EA07055E4FB84200F0918007F5806788
-:100EC400B84200F08E8007F58067B84200F08B804E
-:100ED40007F58067B84200F0888007F58067B8425C
-:100EE40000F0858007F58067B84276D0062707FAB8
-:100EF4000EF73D4302324D4F47F822504A6812F430
-:100F0400803F76D04B4D2A681A432A604A6812F40F
-:100F1400003F74D0474D6A681A436A604A6812F405
-:100F2400801F72D0434DAA681A43AA604A6812F41B
-:100F3400001F70D03F4DEA681343EB6001340B6827
-:100F440033FA04F26DD00122A24013409A42F5D143
-:100F54004D68122D30D00BD8022D2AD07FF675AFF4
-:100F6400032D2FD0112D7FF476AFCE68043672E7AF
-:100F7400314FBD4216D00CD9304FBD4212D007F5C7
-:100F84008037BD420ED0A7F58017BD427FF463AF12
-:100F940008E0A7F58017BD4204D007F58037BD42AD
-:100FA4007FF459AF8D687DB1012D08D042610826C8
-:100FB40051E7CE6808364EE7CE680C364BE702613F
-:100FC400082648E7002646E7042644E700F1040E15
-:100FD40045E7A4F10805AD0045E7052787E70027A5
-:100FE40085E7012783E7022781E703277FE70427B3
-:100FF4007DE7104D2A6822EA03022A6086E70D4D38
-:101004006A6822EA03026A6088E70A4DAA6822EA4B
-:101014000302AA608AE7074DEA6822EA0303EB6049
-:101024008CE703B0F0BD00BF001002400000014097
-:1010340000080140000401400000211000003110AC
-:1010440012B909040161704701617047C36803EA7A
-:10105400010221EA030141EA0241016170470000F3
-:10106400074AD36823F4E0631B041B0C000200F45A
-:10107400E060184340F0BF6040F40030D060704737
-:1010840000ED00E030B4164BDB68C3F30223C3F178
-:101094000704042C28BF04241D1D062D17D9033B67
-:1010A400012505FA04F4013C2140994005FA03F3B3
-:1010B400013B1340194300280BDB0901C9B200F1BD
-:1010C400604000F5614080F8001330BC7047002395
-:1010D400E6E700F00F000901C9B2024B1954F4E726
-:1010E40000ED00E014ED00E0002808DB420900F008
-:1010F4001F00012303FA00F0014B43F8220070475C
-:1011040000E100E00138B0F1807F0AD2064B58605C
-:10111400F021064A82F823100020986007221A6002
-:1011240070470120704700BF10E000E000ED00E0D0
-:1011340070B110B50446037933B102232371002042
-:1011440020610123237110BD437100F021FFF4E7F6
-:101154000120704770B44479012C23D001254571D6
-:10116400022303710668346802F0100340F6FE722D
-:101174009A4024EA02020C684968214399400A43D0
-:10118400326004682168C0229A40D2431140216031
-:10119400036819680A401A600571002343711846F0
-:1011A40070BC70470220FBE7002800F0C880F8B547
-:1011B400044690F83D30002B75D0242384F83D304C
-:1011C4002268136823F0010313602268136843F450
-:1011D400004313602268136823F400431360FFF78D
-:1011E40085FD6268584B9A4262D8584B98428CBF2E
-:1011F40000230123002B40F0A480554BA3FB0023C4
-:101204009A0C21684B6823F03F0313434B60256815
-:10121400296A21F03F0166684B4B9E424ED8531C0D
-:101224000B432B622268D16921F44F4121F0FF0165
-:101234006368454DAB424BD801385B00B0FBF3F318
-:101244000133C3F30B03042B38BF04230B43D361D3
-:1012540021680B6823F0C003E269206A0243134348
-:101264000B6021688B6823F4034323F0FF03226996
-:10127400E068024313438B602168CB6823F0FF03CB
-:101284006269A06902431343CB602268136843F088
-:101294000103136000202064202384F83D30206380
-:1012A40084F83E00F8BD80F83C3000F0DDFE84E7B1
-:1012B400284B98428CBF002301239BE74FF496737D
-:1012C40003FB02F3244AA2FB03239B090133A7E790
-:1012D400A668BEB9451E03EB4307B5FBF7F5013518
-:1012E400C5F30B05B5FA85F56D0935BBC6B90138EB
-:1012F40003EB4303B0FBF3F30133C3F30B0343F4F6
-:101304000043A3E7451E03EB830707EB8707B5FB01
-:10131400F7F50135C5F30B05B5FA85F56D09E4E775
-:10132400013803EB830303EB8303B0FBF3F30133D3
-:10133400C3F30B0343F4404388E7012386E701200A
-:1013440070470120F8BD00BFA08601007F841E0005
-:1013540083DE1B43FF083D00D34D6210002856D0A6
-:1013640010B50446436A33B94368B3F5827F05D0A8
-:101374000023C36102E00023036143610023A362ED
-:1013840094F85130002B3CD0022384F85130226869
-:10139400136823F0400313602268636803F48273C4
-:1013A400A16801F404410B43E16801F400610B43BB
-:1013B400216901F002010B43616901F001010B4352
-:1013C400A16901F400710B43E16901F038010B4399
-:1013D400216A01F080010B43A16A01F400510B431F
-:1013E40013602268638B03F0040353602268D3699B
-:1013F40023F40063D36100206065012384F8513035
-:1014040010BD84F85030204600F0D0FEBCE7012027
-:101414007047000030B4036A23F001030362036AD7
-:101424004468826922F073020D682A4323F00203A0
-:101434008D682B43114DA84211D005F50065A842D3
-:101444000DD00E4DA84211D005F50065A8420DD06F
-:10145400446082614A684263036230BC704723F08F
-:101464000803CD682B4323F00403EAE724F4407413
-:101474004D692C438D692C43EAE700BF002C0140E1
-:1014840030B4036A23F480730362036A4468C26954
-:1014940022F073020D682A4323F400738D6843EA33
-:1014A4000523134DA84211D005F50065A8420DD0BF
-:1014B4000F4DA84212D005F50065A8420ED0446035
-:1014C400C2614A68C263036230BC704723F400639C
-:1014D400CD6843EA052323F48063E9E724F4405408
-:1014E4004D6944EA05148D6944EA0514E7E700BF31
-:1014F400002C014030B4036A23F480530362036A6E
-:101504004468C26922F4E6420D6842EA052223F4E3
-:1015140000538D6843EA0533094DA8420AD005F506
-:101524000065A84206D04460C2614A68026403624E
-:1015340030BC704724F480444D6944EA8514F2E7D2
-:10154400002C014010B4036A046A24F0010404620C
-:10155400846924F0F00444EA021223F00A030B43E2
-:101564008261036210BC704710B4036A23F0100355
-:1015740003628469036A24F4704444EA023223F067
-:10158400A00343EA01138261036210BC70478368BD
-:1015940023F07003194341F0070181607047000094
-:1015A40090F83D30DBB2012B01D0012070470223BB
-:1015B40080F83D300268D36843F00103D3600368C8
-:1015C400144A934218D002F50062934214D0B3F146
-:1015D400804F11D0A2F5983293420DD002F580626B
-:1015E400934209D002F58062934205D01A6842F012
-:1015F40001021A60002070479A6802F00702062A66
-:1016040005D01A6842F001021A60002070470020D9
-:10161400704700BF002C0140704770477047704707
-:10162400704710B5044603681A6912F0020F11D00E
-:10163400DA6812F0020F0DD06FF002021A61012372
-:10164400037703689B6913F0030F70D0FFF7E6FF7D
-:101654000023237723681A6912F0040F12D0DA6882
-:1016640012F0040F0ED06FF004021A6102232377E4
-:1016740023689B6913F4407F5FD02046FFF7CEFFB9
-:101684000023237723681A6912F0080F12D0DA684E
-:1016940012F0080F0ED06FF008021A6104232377AA
-:1016A4002368DB6913F0030F4ED02046FFF7B6FF23
-:1016B4000023237723681A6912F0100F12D0DA6816
-:1016C40012F0100F0ED06FF010021A610823237766
-:1016D4002368DB6913F4407F3DD02046FFF79EFF6B
-:1016E4000023237723681A6912F0010F03D0DA6804
-:1016F40012F0010F36D123681A6912F0800F03D05B
-:10170400DA6812F0800F34D123681A6912F0400F9E
-:1017140003D0DA6812F0400F32D123681A6912F04C
-:10172400200F03D0DA6812F0200F30D110BDFFF77C
-:1017340074FF2046FFF773FF8AE72046FFF76DFF2B
-:101744002046FFF76CFF9BE72046FFF766FF204625
-:10175400FFF765FFACE72046FFF75FFF2046FFF782
-:101764005EFFBDE76FF001021A612046FFF754FFE8
-:10177400C1E76FF080021A61204600F033FAC3E734
-:101784006FF040021A612046FFF74AFFC5E76FF089
-:1017940020021A61204600F024FAC7E70368254AAC
-:1017A400904212D002F5006290420ED0B0F1804F08
-:1017B4000BD0A2F59832904207D002F58062904295
-:1017C40003D002F58062904203D123F070034A688B
-:1017D4001343184A904212D002F5006290420ED090
-:1017E400B0F1804F0BD0A2F59832904207D002F5A9
-:1017F4008062904203D002F58062904203D123F4C8
-:101804004073CA68134323F080034A691343036097
-:101814008B68C3620B688362064B984206D003F55B
-:101824000063984202D00123436170470B6903634C
-:10183400F9E700BF002C014038B310B5044690F816
-:101844003D30EBB1022384F83D30211D2068FFF7C1
-:10185400A5FF012384F8463084F83E3084F83F30F5
-:1018640084F8403084F8413084F8423084F84330BE
-:1018740084F8443084F8453084F83D30002010BDAD
-:1018840080F83C3000F064FDDCE70120704738B399
-:1018940010B5044690F83D30EBB1022384F83D3096
-:1018A400211D2068FFF77AFF012384F8463084F86D
-:1018B4003E3084F83F3084F8403084F8413084F876
-:1018C400423084F8433084F8443084F8453084F856
-:1018D4003D30002010BD80F83C3000F013FDDCE703
-:1018E4000120704730B4036A23F010030362036AD3
-:1018F4004468826922F4E6420D6842EA052223F034
-:1019040020038D6843EA0513124DA84211D005F552
-:101914000065A8420DD00F4DA84212D005F5006510
-:10192400A8420ED0446082614A688263036230BC7C
-:10193400704723F08003CD6843EA051323F0400386
-:10194400E9E724F440644D6944EA85048D6944EA76
-:101954008504E7E7002C014038B590F83C30012BB2
-:1019640060D00D460446012380F83C300C2A1AD876
-:10197400DFE802F0071919191D1919193119191974
-:1019840044000068FFF746FD2268936943F00803AA
-:1019940093612268936923F0040393612268936935
-:1019A40029690B439361002084F83C0038BD00682A
-:1019B400FFF798FF2268936943F4006393612268F8
-:1019C400936923F48063936122689369296943EAE4
-:1019D40001239361E7E70068FFF752FD2268D369AA
-:1019E40043F00803D3612268D36923F00403D3616D
-:1019F4002268D36929690B43D361D4E70068FFF7F0
-:101A040079FD2268D36943F40063D3612268D36902
-:101A140023F48063D3612268D369296943EA0123EB
-:101A2400D361C0E7022038BD10B4846824F47F4435
-:101A340042EA032319430C43846010BC704790F8B6
-:101A44003C30012B66D010B50446012380F83C30AD
-:101A5400022380F83D300268936823F47F4323F027
-:101A6400770393600B68402B4AD013D9602B3DD089
-:101A74001ED9702B28D0B3F5005F30D1CB684A68EB
-:101A840089680068FFF7D0FF2268936843F48043B5
-:101A9400936024E0102B06D004D9202B03D0302BE4
-:101AA40001D01CE0DBB919462068FFF770FD16E091
-:101AB400502B14D1CA6849680068FFF743FD5021D0
-:101AC4002068FFF764FD0AE0CB684A68896800680B
-:101AD400FFF7AAFF2268936843F07703936001231A
-:101AE40084F83D30002084F83C0010BDCA68496881
-:101AF4000068FFF739FD60212068FFF748FDEEE735
-:101B0400CA6849680068FFF71DFD40212068FFF797
-:101B14003EFDE4E70220704790F83C30012B33D0BF
-:101B240030B4012380F83C30022380F83D3004684F
-:101B34006368A26823F070030D682B436360036835
-:101B4400124CA34212D004F50064A3420ED0B3F1A8
-:101B5400804F0BD0A4F59834A34207D004F58064D9
-:101B6400A34203D004F58064A34204D122F080028E
-:101B740049680A439A60012380F83D30002380F8C5
-:101B84003C30184630BC704702207047002C01409E
-:101B940090F83C30012B22D0012380F83C30CB68F4
-:101BA40023F440738A68134323F480634A6813431D
-:101BB40023F400630A68134323F480530A6913432C
-:101BC40023F400534A69134323F48043CA6913433B
-:101BD40002685364002380F83C30184670470220A2
-:101BE400704770477047000038B5044602681369AF
-:101BF40023F44053C1680B431361836802691343A0
-:101C0400426913430168CA6822F4B05222F00C02FC
-:101C14001343CB600268536923F4407381690B4317
-:101C240053610268124B9A421FD0FFF75FF8216894
-:101C340000EB800000EB800063689B00B0FBF3F0D6
-:101C44000C4DA5FB00325409642202FB140213015B
-:101C54003233A5FB03235B0903F0F00202EB041209
-:101C640003F00F0313448B6038BDFFF74FF8DEE732
-:101C7400003801401F85EB5158B310B5044690F865
-:101C840039300BB3242384F839302268D36823F421
-:101C94000053D3602046FFF7A7FF2268136923F49B
-:101CA400904313612268536923F02A035361226825
-:101CB400D36843F40053D3600020E063202384F806
-:101CC400393084F83A3010BD80F8383000F090FC98
-:101CD400D8E701207047704708B50248FFF760FC59
-:101CE40008BD00BF140200207047000008B5084B6F
-:101CF4001B88B3F57A7F03D20133054A138008BDEC
-:101D040001210448FFF7A2F90022014B1A8008BD03
-:101D140028000020001001402DE9F04788B000247D
-:101D24000494059406940794414B9A6942F0100276
-:101D34009A619A6902F010020192019A9A6942F03A
-:101D440004029A619A6902F004020292029A9A6960
-:101D540042F008029A619B6903F008030393039B12
-:101D6400344E01224FF400513046FFF769F9224600
-:101D740001213046FFF764F9DFF8BC8022464FF4B6
-:101D8400C8514046FFF75CF901224FF40041404638
-:101D9400FFF756F9DFF8A490012240214846FFF7E7
-:101DA4004FF94FF4005304930125059506944FF021
-:101DB400030ACDF81CA004A93046FFF741F80495A6
-:101DC400059506940227079704A93046FFF738F8CB
-:101DD40004970594069504A93046FFF731F80423C7
-:101DE40004930594069504A94846FFF729F84FF48F
-:101DF400C853049305950694079704A94046FFF732
-:101E04001FF84FF40043049305950694CDF81CA0E5
-:101E140004A94046FFF714F840230493059506945B
-:101E2400079704A94846FFF70BF808B0BDE8F08708
-:101E3400001002400010014000080140000C014065
-:101E440000B585B000230193029303931048114A0F
-:101E540002608360037303754FF46022C2614360C0
-:101E640001230361FEF754FB60B9002301930122AF
-:101E74000292039301A90648FEF788FA28B905B02F
-:101E84005DF804FBFEF7E2F9EFE7FEF7DFF9F6E7AA
-:101E9400300000200024014010B588B000230493D2
-:101EA4000593069307930268204B9A4201D008B029
-:101EB40010BD03F56C439A6942F400729A619A6901
-:101EC40002F400720092009A9A6942F010029A6138
-:101ED4009A6902F010020192019A9A6942F004028E
-:101EE4009A619A6902F004020292029A9A6942F093
-:101EF40008029A619B6903F008030393039B34234C
-:101F040004930324059404A90948FEF799FFCF23F9
-:101F14000493059404A90748FEF792FF04940594DA
-:101F240004A90548FEF78CFFC1E700BF0024014067
-:101F34000010014000080140000C014000B583B0CE
-:101F44000023009301931048104B0360FFF7F0F84F
-:101F540080B900220092019269460B48FFF7FAF813
-:101F640058B9102269460848FFF7F4F840B903B09D
-:101F74005DF804FBFEF76AF9EBE7FEF767F9F0E7B3
-:101F8400FEF764F9F3E700BF60000020007400402E
-:101F940000B587B00023029303930493059302686A
-:101FA400114B9A4202D007B05DF804FB03F5CE331F
-:101FB400DA6942F00052DA61DA6902F00052009202
-:101FC400009A9A6942F004029A619B6903F004033F
-:101FD4000193019B302302930323039302A9034833
-:101FE400FEF72EFFDFE700BF007400400008014049
-:101FF40008B50B480B4B03600B4B43600023836015
-:10200400C3604FF48042026143618361C361036230
-:10201400FFF7CAF800B908BDFEF718F9FBE700BFDF
-:102024007400002000540040A086010008B50B484D
-:102034000B4B03600B4B436000238360C3604FF47E
-:102044008042026143618361C3610362FFF7ACF8BC
-:1020540000B908BDFEF7FAF8FBE700BFC80000208E
-:1020640000580040A086010010B588B000230493F6
-:102074000593069307930368264A934204D0264A9D
-:10208400934227D008B010BD244CA36943F0080341
-:10209400A361A36903F008030093009B4FF440730A
-:1020A4000493122305930323079304A91C48FEF702
-:1020B400C7FE1C4A536843F0E06343F002035360D5
-:1020C400E36943F40013E361E36903F40013019348
-:1020D400019BD7E7114CA36943F00803A361A369EB
-:1020E40003F008030293029B4FF44063049312230A
-:1020F40005930323079304A90948FEF7A1FEE369A6
-:1021040043F48003E361E36903F480030393039BD3
-:10211400B8E700BF005400400058004000100240DF
-:10212400000C01400000014008B50E480E4B03604E
-:102134004FF48273436000238360C360036143618F
-:102144004FF4007282613022C2610362436283628F
-:102154000A23C362FFF702F900B908BDFEF776F857
-:10216400FBE700BF740100200030014008B50D48B2
-:102174000D4B03604FF48273436000238360C3609C
-:10218400036143614FF480228261C361036243624D
-:1021940083620A23C362FFF7E1F800B908BDFEF7C2
-:1021A40055F8FBE71C0100200038004010B588B04A
-:1021B400002304930593069307930368304A9342DC
-:1021C40004D0304A934230D008B010BD2E4B9A69E7
-:1021D40042F480529A619A6902F480520092009A01
-:1021E4009A6942F008029A619B6903F0080301931B
-:1021F400019B282304930223059303230793234C71
-:1022040004A92046FEF71CFE102304930023059323
-:10221400069304A92046FEF713FE1D4A536843F0B3
-:10222400E06343F001035360CEE7174BDA6942F4ED
-:102234008042DA61DA6902F480420292029A9A696F
-:1022440042F008029A619B6903F008030393039B1D
-:102254004FF43043049302230593032307930B4C59
-:1022640004A92046FEF7ECFD4FF4804304930023B9
-:102274000593069304A92046FEF7E2FDA4E700BFF8
-:10228400003001400038004000100240000C0140C2
-:102294000000014000B587B0002302930393049328
-:1022A4000593009301931548154A02604722426042
-:1022B400836040F2E732C26003618361FFF7BCFAD6
-:1022C40098B906A94FF4805341F8103D0B48FFF725
-:1022D400B6FB68B900230093019369460748FFF7EA
-:1022E4001BFC40B907B05DF804FBFDF7AFFFE8E75E
-:1022F400FDF7ACFFEEE7FDF7A9FFF3E714020020BA
-:102304000008004082B003680E4A934204D00E4A8B
-:1023140093420CD002B070470C4BDA6942F00202CF
-:10232400DA61DB6903F002030093009BF2E7074BD9
-:102334009A6942F400529A619B6903F40053019331
-:10234400019BE7E700040040003401400010024014
-:1023540002680E4B9A4200D0704700B583B003F573
-:102364000233DA6942F00402DA61DB6903F0040340
-:102374000193019B002211461E20FEF783FE1E20BE
-:10238400FEF7B2FE03B05DF804FB00BF0008004096
-:1023940000B587B000230293039304930593036865
-:1023A4001C4A934205D01C4A93421DD007B05DF8E5
-:1023B40004FB1A4B9A6942F010029A619B6903F07C
-:1023C40010030093009BC0230293022303930593FD
-:1023D40002A91348FEF734FD124A536843F0E06340
-:1023E40043F440635360E1E70C4B9A6942F01002F6
-:1023F4009A619B6903F010030193019B4FF44073AE
-:10240400029302230393059302A90548FEF718FDDE
-:10241400CCE700BF0004004000340140001002403B
-:10242400001001400000014000B58BB00023089368
-:1024340009930193029303930493059306930793DB
-:102444001C481D4A026047224260836040F2E73222
-:10245400C26003618361FFF71AFAF8B90023089395
-:10246400099308A91348FFF757FBD0B960230193D8
-:10247400002202920392059201A90E48FFF76CFA1A
-:1024840090B904220DEB02010A48FFF765FA70B90E
-:102494000848FFF77DFF0BB05DF804FBFDF7D6FE9F
-:1024A400DCE7FDF7D3FEE1E7FDF7D0FEE9E7FDF752
-:1024B400CDFEEDE75C0200200004004010B592B0B0
-:1024C40000241094119409940A940B940C940D9480
-:1024D4000E940F942022214601A800F041F92848C7
-:1024E400284B0360446084604FF6FF73C36004614B
-:1024F40044618461FFF7CBF9002831D100231093A4
-:10250400119310A91E48FFF707FB00282BD1602365
-:10251400099300230A930B930C930D930E930F933B
-:10252400082209A91648FFF717FAF8B90C2209A9D5
-:102534001348FFF711FAE0B90023019302930393C0
-:10254400049305934FF400520692089301A90C4892
-:10255400FFF71EFB80B90A48FFF71AFF12B010BD3F
-:10256400FDF774FECAE7FDF771FED0E7FDF76EFED6
-:10257400DCE7FDF76BFEDFE7FDF768FEEBE700BF86
-:10258400CC0100200034014008B50A480A4B03601E
-:102594004FF4E133436000238360C36003610C2282
-:1025A40042618361C361FFF767FB00B908BDFDF7B2
-:1025B4004DFEFBE7E4020020004C004008B50A4849
-:1025C4000A4B03604FF4E133436000238360C3602C
-:1025D40003610C2242618361C361FFF74DFB00B9C3
-:1025E40008BDFDF733FEFBE7A402002000380140DC
-:1025F40010B588B0002304930593069307930368EA
-:102604002D4A934204D02D4A93422BD008B010BDDA
-:102614002B4BDA6942F40022DA61DA6902F400220F
-:102624000092009A9A6942F010029A619B6903F041
-:1026340010030193019B4FF48063049302230593D9
-:10264400032307931F4C04A92046FEF7F9FB4FF41C
-:102654000063049300230593069304A92046FEF720
-:10266400EFFBD3E7164B9A6942F480429A619A6968
-:1026740002F480420292029A9A6942F004029A6138
-:102684009B6903F004030393039B4FF400730493C7
-:1026940002230593032307930B4C04A92046FEF75A
-:1026A400CFFB4FF48063049300230593069304A99E
-:1026B4002046FEF7C5FBA9E7004C00400038014066
-:1026C400001002400010014000080140002103E016
-:1026D4000B4B5B58435004310A480B4B42189A4247
-:1026E400F6D30A4A02E0002342F8043B084B9A421C
-:1026F400F9D3FFF7F0FA00F00FF8FDF7ECFD70479F
-:10270400C0270008000000200C0000200C0000205E
-:1027140024030020FEE7000070B500250C4E0D4C8C
-:10272400A41BA410A54209D100F022F800250A4EEA
-:102734000A4CA41BA410A54205D170BD56F825303F
-:1027440098470135EEE756F8253098470135F2E70A
-:10275400B8270008B8270008B8270008BC270008D5
-:1027640003460244934200D1704703F8011BF9E782
-:10277400F8B500BFF8BC08BC9E467047F8B500BF6A
-:08278400F8BC08BC9E4670473A
-:10278C0002030405060708090A0B0C0D0E0F1010A6
-:10279C000102000000000000000000000102030420
-:0C27AC00060708090000000001020304F9
-:0427B800090200080A
-:0427BC00E50100082B
-:0C27C00001000000100000000024F400E4
-:04000005080026D1F8
-:00000001FF
diff --git a/build/Syrostan-MCU-C.map b/build/Syrostan-MCU-C.map
deleted file mode 100644
index 0edc322..0000000
--- a/build/Syrostan-MCU-C.map
+++ /dev/null
@@ -1,3018 +0,0 @@
-Archive member included to satisfy reference by file (symbol)
-
-/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-exit.o)
- /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/crt0.o (exit)
-/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-impure.o)
- /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-exit.o) (_global_impure_ptr)
-/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-init.o)
- /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/crt0.o (__libc_init_array)
-/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-memset.o)
- /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/crt0.o (memset)
-/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libnosys.a(_exit.o)
- /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-exit.o) (_exit)
-
-Allocating common symbols
-Common symbol size file
-
-hspi2 0x58 build/spi.o
-htim8 0x48 build/tim.o
-htim4 0x48 build/tim.o
-hi2c1 0x54 build/i2c.o
-hi2c2 0x54 build/i2c.o
-uwTick 0x4 build/stm32f1xx_hal.o
-pFlash 0x20 build/stm32f1xx_hal_flash.o
-htim3 0x48 build/tim.o
-hadc1 0x30 build/adc.o
-huart1 0x40 build/usart.o
-hdac 0x14 build/dac.o
-huart4 0x40 build/usart.o
-hspi1 0x58 build/spi.o
-
-Discarded input sections
-
- .text 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crti.o
- .data 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crti.o
- .bss 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crti.o
- .data 0x0000000000000000 0x4 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtbegin.o
- .text 0x0000000000000000 0x74 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/crt0.o
- .data 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/crt0.o
- .bss 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/crt0.o
- .ARM.extab 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/crt0.o
- .ARM.exidx 0x0000000000000000 0x8 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/crt0.o
- .ARM.attributes
- 0x0000000000000000 0x1b /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/crt0.o
- .text 0x0000000000000000 0x0 build/main.o
- .data 0x0000000000000000 0x0 build/main.o
- .bss 0x0000000000000000 0x0 build/main.o
- .text 0x0000000000000000 0x0 build/stm32f1xx_it.o
- .data 0x0000000000000000 0x0 build/stm32f1xx_it.o
- .bss 0x0000000000000000 0x0 build/stm32f1xx_it.o
- .text 0x0000000000000000 0x0 build/stm32f1xx_hal_msp.o
- .data 0x0000000000000000 0x0 build/stm32f1xx_hal_msp.o
- .bss 0x0000000000000000 0x0 build/stm32f1xx_hal_msp.o
- .text 0x0000000000000000 0x0 build/stm32f1xx_hal_gpio_ex.o
- .data 0x0000000000000000 0x0 build/stm32f1xx_hal_gpio_ex.o
- .bss 0x0000000000000000 0x0 build/stm32f1xx_hal_gpio_ex.o
- .text.HAL_GPIOEx_ConfigEventout
- 0x0000000000000000 0x14 build/stm32f1xx_hal_gpio_ex.o
- .text.HAL_GPIOEx_EnableEventout
- 0x0000000000000000 0x10 build/stm32f1xx_hal_gpio_ex.o
- .text.HAL_GPIOEx_DisableEventout
- 0x0000000000000000 0x10 build/stm32f1xx_hal_gpio_ex.o
- .debug_info 0x0000000000000000 0x257 build/stm32f1xx_hal_gpio_ex.o
- .debug_abbrev 0x0000000000000000 0x10a build/stm32f1xx_hal_gpio_ex.o
- .debug_loc 0x0000000000000000 0x21 build/stm32f1xx_hal_gpio_ex.o
- .debug_aranges
- 0x0000000000000000 0x30 build/stm32f1xx_hal_gpio_ex.o
- .debug_ranges 0x0000000000000000 0x20 build/stm32f1xx_hal_gpio_ex.o
- .debug_line 0x0000000000000000 0x1f8 build/stm32f1xx_hal_gpio_ex.o
- .debug_str 0x0000000000000000 0x31d build/stm32f1xx_hal_gpio_ex.o
- .comment 0x0000000000000000 0x80 build/stm32f1xx_hal_gpio_ex.o
- .debug_frame 0x0000000000000000 0x40 build/stm32f1xx_hal_gpio_ex.o
- .ARM.attributes
- 0x0000000000000000 0x33 build/stm32f1xx_hal_gpio_ex.o
- .text 0x0000000000000000 0x0 build/stm32f1xx_hal_adc.o
- .data 0x0000000000000000 0x0 build/stm32f1xx_hal_adc.o
- .bss 0x0000000000000000 0x0 build/stm32f1xx_hal_adc.o
- .text.HAL_ADC_MspInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal_adc.o
- .text.HAL_ADC_MspDeInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal_adc.o
- .text.HAL_ADC_PollForConversion
- 0x0000000000000000 0x170 build/stm32f1xx_hal_adc.o
- .text.HAL_ADC_PollForEvent
- 0x0000000000000000 0x4e build/stm32f1xx_hal_adc.o
- .text.HAL_ADC_GetValue
- 0x0000000000000000 0x6 build/stm32f1xx_hal_adc.o
- .text.HAL_ADC_ConvCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_adc.o
- .text.ADC_DMAConvCplt
- 0x0000000000000000 0x52 build/stm32f1xx_hal_adc.o
- .text.HAL_ADC_ConvHalfCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_adc.o
- .text.ADC_DMAHalfConvCplt
- 0x0000000000000000 0xa build/stm32f1xx_hal_adc.o
- .text.HAL_ADC_LevelOutOfWindowCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_adc.o
- .text.HAL_ADC_IRQHandler
- 0x0000000000000000 0x10c build/stm32f1xx_hal_adc.o
- .text.HAL_ADC_ErrorCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_adc.o
- .text.ADC_DMAError
- 0x0000000000000000 0x1a build/stm32f1xx_hal_adc.o
- .text.HAL_ADC_AnalogWDGConfig
- 0x0000000000000000 0x60 build/stm32f1xx_hal_adc.o
- .text.HAL_ADC_GetState
- 0x0000000000000000 0x4 build/stm32f1xx_hal_adc.o
- .text.HAL_ADC_GetError
- 0x0000000000000000 0x4 build/stm32f1xx_hal_adc.o
- .text.ADC_Enable
- 0x0000000000000000 0x80 build/stm32f1xx_hal_adc.o
- .text.HAL_ADC_Start
- 0x0000000000000000 0xec build/stm32f1xx_hal_adc.o
- .text.HAL_ADC_Start_IT
- 0x0000000000000000 0xf8 build/stm32f1xx_hal_adc.o
- .text.HAL_ADC_Start_DMA
- 0x0000000000000000 0x130 build/stm32f1xx_hal_adc.o
- .text.HAL_ADC_DeInit
- 0x0000000000000000 0xfc build/stm32f1xx_hal_adc.o
- .text.HAL_ADC_Stop
- 0x0000000000000000 0x3a build/stm32f1xx_hal_adc.o
- .text.HAL_ADC_Stop_IT
- 0x0000000000000000 0x44 build/stm32f1xx_hal_adc.o
- .text.HAL_ADC_Stop_DMA
- 0x0000000000000000 0x62 build/stm32f1xx_hal_adc.o
- .text 0x0000000000000000 0x0 build/stm32f1xx_hal_adc_ex.o
- .data 0x0000000000000000 0x0 build/stm32f1xx_hal_adc_ex.o
- .bss 0x0000000000000000 0x0 build/stm32f1xx_hal_adc_ex.o
- .text.HAL_ADCEx_Calibration_Start
- 0x0000000000000000 0xec build/stm32f1xx_hal_adc_ex.o
- .text.HAL_ADCEx_InjectedStart
- 0x0000000000000000 0xbc build/stm32f1xx_hal_adc_ex.o
- .text.HAL_ADCEx_InjectedStop
- 0x0000000000000000 0x5a build/stm32f1xx_hal_adc_ex.o
- .text.HAL_ADCEx_InjectedPollForConversion
- 0x0000000000000000 0x168 build/stm32f1xx_hal_adc_ex.o
- .text.HAL_ADCEx_InjectedStart_IT
- 0x0000000000000000 0xc8 build/stm32f1xx_hal_adc_ex.o
- .text.HAL_ADCEx_InjectedStop_IT
- 0x0000000000000000 0x64 build/stm32f1xx_hal_adc_ex.o
- .text.HAL_ADCEx_MultiModeStart_DMA
- 0x0000000000000000 0xf4 build/stm32f1xx_hal_adc_ex.o
- .text.HAL_ADCEx_MultiModeStop_DMA
- 0x0000000000000000 0x80 build/stm32f1xx_hal_adc_ex.o
- .text.HAL_ADCEx_InjectedGetValue
- 0x0000000000000000 0x24 build/stm32f1xx_hal_adc_ex.o
- .text.HAL_ADCEx_MultiModeGetValue
- 0x0000000000000000 0x20 build/stm32f1xx_hal_adc_ex.o
- .text.HAL_ADCEx_InjectedConvCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_adc_ex.o
- .text.HAL_ADCEx_InjectedConfigChannel
- 0x0000000000000000 0x238 build/stm32f1xx_hal_adc_ex.o
- .text.HAL_ADCEx_MultiModeConfigChannel
- 0x0000000000000000 0x58 build/stm32f1xx_hal_adc_ex.o
- .debug_info 0x0000000000000000 0xc72 build/stm32f1xx_hal_adc_ex.o
- .debug_abbrev 0x0000000000000000 0x253 build/stm32f1xx_hal_adc_ex.o
- .debug_loc 0x0000000000000000 0x96c build/stm32f1xx_hal_adc_ex.o
- .debug_aranges
- 0x0000000000000000 0x80 build/stm32f1xx_hal_adc_ex.o
- .debug_ranges 0x0000000000000000 0x70 build/stm32f1xx_hal_adc_ex.o
- .debug_line 0x0000000000000000 0x5f0 build/stm32f1xx_hal_adc_ex.o
- .debug_str 0x0000000000000000 0x92a build/stm32f1xx_hal_adc_ex.o
- .comment 0x0000000000000000 0x80 build/stm32f1xx_hal_adc_ex.o
- .debug_frame 0x0000000000000000 0x1ac build/stm32f1xx_hal_adc_ex.o
- .ARM.attributes
- 0x0000000000000000 0x33 build/stm32f1xx_hal_adc_ex.o
- .text 0x0000000000000000 0x0 build/stm32f1xx_hal.o
- .data 0x0000000000000000 0x0 build/stm32f1xx_hal.o
- .bss 0x0000000000000000 0x0 build/stm32f1xx_hal.o
- .text.HAL_MspInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal.o
- .text.HAL_MspDeInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal.o
- .text.HAL_DeInit
- 0x0000000000000000 0x20 build/stm32f1xx_hal.o
- .text.HAL_GetTickPrio
- 0x0000000000000000 0xc build/stm32f1xx_hal.o
- .text.HAL_SetTickFreq
- 0x0000000000000000 0x2c build/stm32f1xx_hal.o
- .text.HAL_GetTickFreq
- 0x0000000000000000 0xc build/stm32f1xx_hal.o
- .text.HAL_Delay
- 0x0000000000000000 0x28 build/stm32f1xx_hal.o
- .text.HAL_SuspendTick
- 0x0000000000000000 0x10 build/stm32f1xx_hal.o
- .text.HAL_ResumeTick
- 0x0000000000000000 0x10 build/stm32f1xx_hal.o
- .text.HAL_GetHalVersion
- 0x0000000000000000 0x8 build/stm32f1xx_hal.o
- .text.HAL_GetREVID
- 0x0000000000000000 0xc build/stm32f1xx_hal.o
- .text.HAL_GetDEVID
- 0x0000000000000000 0x10 build/stm32f1xx_hal.o
- .text.HAL_GetUIDw0
- 0x0000000000000000 0xc build/stm32f1xx_hal.o
- .text.HAL_GetUIDw1
- 0x0000000000000000 0xc build/stm32f1xx_hal.o
- .text.HAL_GetUIDw2
- 0x0000000000000000 0xc build/stm32f1xx_hal.o
- .text.HAL_DBGMCU_EnableDBGSleepMode
- 0x0000000000000000 0x10 build/stm32f1xx_hal.o
- .text.HAL_DBGMCU_DisableDBGSleepMode
- 0x0000000000000000 0x10 build/stm32f1xx_hal.o
- .text.HAL_DBGMCU_EnableDBGStopMode
- 0x0000000000000000 0x10 build/stm32f1xx_hal.o
- .text.HAL_DBGMCU_DisableDBGStopMode
- 0x0000000000000000 0x10 build/stm32f1xx_hal.o
- .text.HAL_DBGMCU_EnableDBGStandbyMode
- 0x0000000000000000 0x10 build/stm32f1xx_hal.o
- .text.HAL_DBGMCU_DisableDBGStandbyMode
- 0x0000000000000000 0x10 build/stm32f1xx_hal.o
- .text 0x0000000000000000 0x0 build/stm32f1xx_hal_rcc.o
- .data 0x0000000000000000 0x0 build/stm32f1xx_hal_rcc.o
- .bss 0x0000000000000000 0x0 build/stm32f1xx_hal_rcc.o
- .text.HAL_RCC_DeInit
- 0x0000000000000000 0xf4 build/stm32f1xx_hal_rcc.o
- .text.HAL_RCC_MCOConfig
- 0x0000000000000000 0x4c build/stm32f1xx_hal_rcc.o
- .text.HAL_RCC_EnableCSS
- 0x0000000000000000 0xc build/stm32f1xx_hal_rcc.o
- .text.HAL_RCC_DisableCSS
- 0x0000000000000000 0xc build/stm32f1xx_hal_rcc.o
- .text.HAL_RCC_GetOscConfig
- 0x0000000000000000 0xb4 build/stm32f1xx_hal_rcc.o
- .text.HAL_RCC_GetClockConfig
- 0x0000000000000000 0x3c build/stm32f1xx_hal_rcc.o
- .text.HAL_RCC_CSSCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_rcc.o
- .text.HAL_RCC_NMI_IRQHandler
- 0x0000000000000000 0x24 build/stm32f1xx_hal_rcc.o
- .text 0x0000000000000000 0x0 build/stm32f1xx_hal_rcc_ex.o
- .data 0x0000000000000000 0x0 build/stm32f1xx_hal_rcc_ex.o
- .bss 0x0000000000000000 0x0 build/stm32f1xx_hal_rcc_ex.o
- .text.HAL_RCCEx_GetPeriphCLKConfig
- 0x0000000000000000 0x34 build/stm32f1xx_hal_rcc_ex.o
- .text.HAL_RCCEx_GetPeriphCLKFreq
- 0x0000000000000000 0x118 build/stm32f1xx_hal_rcc_ex.o
- .rodata 0x0000000000000000 0x12 build/stm32f1xx_hal_rcc_ex.o
- .text 0x0000000000000000 0x0 build/stm32f1xx_hal_gpio.o
- .data 0x0000000000000000 0x0 build/stm32f1xx_hal_gpio.o
- .bss 0x0000000000000000 0x0 build/stm32f1xx_hal_gpio.o
- .text.HAL_GPIO_DeInit
- 0x0000000000000000 0x10c build/stm32f1xx_hal_gpio.o
- .text.HAL_GPIO_ReadPin
- 0x0000000000000000 0xe build/stm32f1xx_hal_gpio.o
- .text.HAL_GPIO_LockPin
- 0x0000000000000000 0x2e build/stm32f1xx_hal_gpio.o
- .text.HAL_GPIO_EXTI_Callback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_gpio.o
- .text.HAL_GPIO_EXTI_IRQHandler
- 0x0000000000000000 0x1c build/stm32f1xx_hal_gpio.o
- .text 0x0000000000000000 0x0 build/stm32f1xx_hal_dma.o
- .data 0x0000000000000000 0x0 build/stm32f1xx_hal_dma.o
- .bss 0x0000000000000000 0x0 build/stm32f1xx_hal_dma.o
- .text.DMA_SetConfig
- 0x0000000000000000 0x2c build/stm32f1xx_hal_dma.o
- .text.HAL_DMA_Init
- 0x0000000000000000 0x98 build/stm32f1xx_hal_dma.o
- .text.HAL_DMA_DeInit
- 0x0000000000000000 0x90 build/stm32f1xx_hal_dma.o
- .text.HAL_DMA_Start
- 0x0000000000000000 0x50 build/stm32f1xx_hal_dma.o
- .text.HAL_DMA_Start_IT
- 0x0000000000000000 0x74 build/stm32f1xx_hal_dma.o
- .text.HAL_DMA_Abort
- 0x0000000000000000 0x44 build/stm32f1xx_hal_dma.o
- .text.HAL_DMA_Abort_IT
- 0x0000000000000000 0x15c build/stm32f1xx_hal_dma.o
- .text.HAL_DMA_PollForTransfer
- 0x0000000000000000 0x528 build/stm32f1xx_hal_dma.o
- .text.HAL_DMA_IRQHandler
- 0x0000000000000000 0x2d0 build/stm32f1xx_hal_dma.o
- .text.HAL_DMA_RegisterCallback
- 0x0000000000000000 0x4e build/stm32f1xx_hal_dma.o
- .text.HAL_DMA_UnRegisterCallback
- 0x0000000000000000 0x5c build/stm32f1xx_hal_dma.o
- .text.HAL_DMA_GetState
- 0x0000000000000000 0x6 build/stm32f1xx_hal_dma.o
- .text.HAL_DMA_GetError
- 0x0000000000000000 0x4 build/stm32f1xx_hal_dma.o
- .debug_info 0x0000000000000000 0x8c6 build/stm32f1xx_hal_dma.o
- .debug_abbrev 0x0000000000000000 0x263 build/stm32f1xx_hal_dma.o
- .debug_loc 0x0000000000000000 0x850 build/stm32f1xx_hal_dma.o
- .debug_aranges
- 0x0000000000000000 0x80 build/stm32f1xx_hal_dma.o
- .debug_ranges 0x0000000000000000 0x70 build/stm32f1xx_hal_dma.o
- .debug_line 0x0000000000000000 0x7cb build/stm32f1xx_hal_dma.o
- .debug_str 0x0000000000000000 0x6c3 build/stm32f1xx_hal_dma.o
- .comment 0x0000000000000000 0x80 build/stm32f1xx_hal_dma.o
- .debug_frame 0x0000000000000000 0x164 build/stm32f1xx_hal_dma.o
- .ARM.attributes
- 0x0000000000000000 0x33 build/stm32f1xx_hal_dma.o
- .text 0x0000000000000000 0x0 build/stm32f1xx_hal_cortex.o
- .data 0x0000000000000000 0x0 build/stm32f1xx_hal_cortex.o
- .bss 0x0000000000000000 0x0 build/stm32f1xx_hal_cortex.o
- .text.HAL_NVIC_DisableIRQ
- 0x0000000000000000 0x28 build/stm32f1xx_hal_cortex.o
- .text.HAL_NVIC_SystemReset
- 0x0000000000000000 0x24 build/stm32f1xx_hal_cortex.o
- .text.HAL_NVIC_GetPriorityGrouping
- 0x0000000000000000 0x10 build/stm32f1xx_hal_cortex.o
- .text.HAL_NVIC_GetPriority
- 0x0000000000000000 0x5c build/stm32f1xx_hal_cortex.o
- .text.HAL_NVIC_SetPendingIRQ
- 0x0000000000000000 0x20 build/stm32f1xx_hal_cortex.o
- .text.HAL_NVIC_GetPendingIRQ
- 0x0000000000000000 0x24 build/stm32f1xx_hal_cortex.o
- .text.HAL_NVIC_ClearPendingIRQ
- 0x0000000000000000 0x20 build/stm32f1xx_hal_cortex.o
- .text.HAL_NVIC_GetActive
- 0x0000000000000000 0x24 build/stm32f1xx_hal_cortex.o
- .text.HAL_SYSTICK_CLKSourceConfig
- 0x0000000000000000 0x20 build/stm32f1xx_hal_cortex.o
- .text.HAL_SYSTICK_Callback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_cortex.o
- .text.HAL_SYSTICK_IRQHandler
- 0x0000000000000000 0x8 build/stm32f1xx_hal_cortex.o
- .text 0x0000000000000000 0x0 build/stm32f1xx_hal_pwr.o
- .data 0x0000000000000000 0x0 build/stm32f1xx_hal_pwr.o
- .bss 0x0000000000000000 0x0 build/stm32f1xx_hal_pwr.o
- .text.PWR_OverloadWfe
- 0x0000000000000000 0x6 build/stm32f1xx_hal_pwr.o
- .text.HAL_PWR_DeInit
- 0x0000000000000000 0x18 build/stm32f1xx_hal_pwr.o
- .text.HAL_PWR_EnableBkUpAccess
- 0x0000000000000000 0xc build/stm32f1xx_hal_pwr.o
- .text.HAL_PWR_DisableBkUpAccess
- 0x0000000000000000 0xc build/stm32f1xx_hal_pwr.o
- .text.HAL_PWR_ConfigPVD
- 0x0000000000000000 0x84 build/stm32f1xx_hal_pwr.o
- .text.HAL_PWR_EnablePVD
- 0x0000000000000000 0xc build/stm32f1xx_hal_pwr.o
- .text.HAL_PWR_DisablePVD
- 0x0000000000000000 0xc build/stm32f1xx_hal_pwr.o
- .text.HAL_PWR_EnableWakeUpPin
- 0x0000000000000000 0x18 build/stm32f1xx_hal_pwr.o
- .text.HAL_PWR_DisableWakeUpPin
- 0x0000000000000000 0x18 build/stm32f1xx_hal_pwr.o
- .text.HAL_PWR_EnterSLEEPMode
- 0x0000000000000000 0x20 build/stm32f1xx_hal_pwr.o
- .text.HAL_PWR_EnterSTOPMode
- 0x0000000000000000 0x48 build/stm32f1xx_hal_pwr.o
- .text.HAL_PWR_EnterSTANDBYMode
- 0x0000000000000000 0x20 build/stm32f1xx_hal_pwr.o
- .text.HAL_PWR_EnableSleepOnExit
- 0x0000000000000000 0x10 build/stm32f1xx_hal_pwr.o
- .text.HAL_PWR_DisableSleepOnExit
- 0x0000000000000000 0x10 build/stm32f1xx_hal_pwr.o
- .text.HAL_PWR_EnableSEVOnPend
- 0x0000000000000000 0x10 build/stm32f1xx_hal_pwr.o
- .text.HAL_PWR_DisableSEVOnPend
- 0x0000000000000000 0x10 build/stm32f1xx_hal_pwr.o
- .text.HAL_PWR_PVDCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_pwr.o
- .text.HAL_PWR_PVD_IRQHandler
- 0x0000000000000000 0x20 build/stm32f1xx_hal_pwr.o
- .debug_info 0x0000000000000000 0x7ae build/stm32f1xx_hal_pwr.o
- .debug_abbrev 0x0000000000000000 0x1ef build/stm32f1xx_hal_pwr.o
- .debug_loc 0x0000000000000000 0xf5 build/stm32f1xx_hal_pwr.o
- .debug_aranges
- 0x0000000000000000 0xa8 build/stm32f1xx_hal_pwr.o
- .debug_ranges 0x0000000000000000 0x98 build/stm32f1xx_hal_pwr.o
- .debug_line 0x0000000000000000 0x364 build/stm32f1xx_hal_pwr.o
- .debug_str 0x0000000000000000 0x54f build/stm32f1xx_hal_pwr.o
- .comment 0x0000000000000000 0x80 build/stm32f1xx_hal_pwr.o
- .debug_frame 0x0000000000000000 0x148 build/stm32f1xx_hal_pwr.o
- .ARM.attributes
- 0x0000000000000000 0x33 build/stm32f1xx_hal_pwr.o
- .text 0x0000000000000000 0x0 build/stm32f1xx_hal_flash.o
- .data 0x0000000000000000 0x0 build/stm32f1xx_hal_flash.o
- .bss 0x0000000000000000 0x0 build/stm32f1xx_hal_flash.o
- .text.FLASH_Program_HalfWord
- 0x0000000000000000 0x1c build/stm32f1xx_hal_flash.o
- .text.FLASH_SetErrorCode
- 0x0000000000000000 0x74 build/stm32f1xx_hal_flash.o
- .text.HAL_FLASH_Program_IT
- 0x0000000000000000 0x64 build/stm32f1xx_hal_flash.o
- .text.HAL_FLASH_EndOfOperationCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_flash.o
- .text.HAL_FLASH_OperationErrorCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_flash.o
- .text.HAL_FLASH_IRQHandler
- 0x0000000000000000 0x154 build/stm32f1xx_hal_flash.o
- .text.HAL_FLASH_Unlock
- 0x0000000000000000 0x34 build/stm32f1xx_hal_flash.o
- .text.HAL_FLASH_Lock
- 0x0000000000000000 0x14 build/stm32f1xx_hal_flash.o
- .text.HAL_FLASH_OB_Unlock
- 0x0000000000000000 0x28 build/stm32f1xx_hal_flash.o
- .text.HAL_FLASH_OB_Lock
- 0x0000000000000000 0x14 build/stm32f1xx_hal_flash.o
- .text.HAL_FLASH_OB_Launch
- 0x0000000000000000 0x8 build/stm32f1xx_hal_flash.o
- .text.HAL_FLASH_GetError
- 0x0000000000000000 0xc build/stm32f1xx_hal_flash.o
- .text.FLASH_WaitForLastOperation
- 0x0000000000000000 0x6c build/stm32f1xx_hal_flash.o
- .text.HAL_FLASH_Program
- 0x0000000000000000 0x9c build/stm32f1xx_hal_flash.o
- .debug_info 0x0000000000000000 0x757 build/stm32f1xx_hal_flash.o
- .debug_abbrev 0x0000000000000000 0x268 build/stm32f1xx_hal_flash.o
- .debug_loc 0x0000000000000000 0x416 build/stm32f1xx_hal_flash.o
- .debug_aranges
- 0x0000000000000000 0x88 build/stm32f1xx_hal_flash.o
- .debug_ranges 0x0000000000000000 0x78 build/stm32f1xx_hal_flash.o
- .debug_line 0x0000000000000000 0x416 build/stm32f1xx_hal_flash.o
- .debug_str 0x0000000000000000 0x5e3 build/stm32f1xx_hal_flash.o
- .comment 0x0000000000000000 0x80 build/stm32f1xx_hal_flash.o
- .debug_frame 0x0000000000000000 0x150 build/stm32f1xx_hal_flash.o
- .ARM.attributes
- 0x0000000000000000 0x33 build/stm32f1xx_hal_flash.o
- COMMON 0x0000000000000000 0x20 build/stm32f1xx_hal_flash.o
- .text 0x0000000000000000 0x0 build/stm32f1xx_hal_flash_ex.o
- .data 0x0000000000000000 0x0 build/stm32f1xx_hal_flash_ex.o
- .bss 0x0000000000000000 0x0 build/stm32f1xx_hal_flash_ex.o
- .text.FLASH_MassErase
- 0x0000000000000000 0x24 build/stm32f1xx_hal_flash_ex.o
- .text.FLASH_OB_GetWRP
- 0x0000000000000000 0xc build/stm32f1xx_hal_flash_ex.o
- .text.FLASH_OB_GetRDP
- 0x0000000000000000 0x18 build/stm32f1xx_hal_flash_ex.o
- .text.FLASH_OB_GetUser
- 0x0000000000000000 0x10 build/stm32f1xx_hal_flash_ex.o
- .text.FLASH_OB_RDP_LevelConfig
- 0x0000000000000000 0x70 build/stm32f1xx_hal_flash_ex.o
- .text.FLASH_OB_UserConfig
- 0x0000000000000000 0x4c build/stm32f1xx_hal_flash_ex.o
- .text.FLASH_OB_ProgramData
- 0x0000000000000000 0x48 build/stm32f1xx_hal_flash_ex.o
- .text.HAL_FLASHEx_OBErase
- 0x0000000000000000 0x58 build/stm32f1xx_hal_flash_ex.o
- .text.FLASH_OB_EnableWRP
- 0x0000000000000000 0xb8 build/stm32f1xx_hal_flash_ex.o
- .text.FLASH_OB_DisableWRP
- 0x0000000000000000 0xc0 build/stm32f1xx_hal_flash_ex.o
- .text.HAL_FLASHEx_OBProgram
- 0x0000000000000000 0xa8 build/stm32f1xx_hal_flash_ex.o
- .text.HAL_FLASHEx_OBGetConfig
- 0x0000000000000000 0x1c build/stm32f1xx_hal_flash_ex.o
- .text.HAL_FLASHEx_OBGetUserData
- 0x0000000000000000 0x24 build/stm32f1xx_hal_flash_ex.o
- .text.FLASH_PageErase
- 0x0000000000000000 0x24 build/stm32f1xx_hal_flash_ex.o
- .text.HAL_FLASHEx_Erase
- 0x0000000000000000 0xa4 build/stm32f1xx_hal_flash_ex.o
- .text.HAL_FLASHEx_Erase_IT
- 0x0000000000000000 0x5c build/stm32f1xx_hal_flash_ex.o
- .debug_info 0x0000000000000000 0xb72 build/stm32f1xx_hal_flash_ex.o
- .debug_abbrev 0x0000000000000000 0x277 build/stm32f1xx_hal_flash_ex.o
- .debug_loc 0x0000000000000000 0x947 build/stm32f1xx_hal_flash_ex.o
- .debug_aranges
- 0x0000000000000000 0x98 build/stm32f1xx_hal_flash_ex.o
- .debug_ranges 0x0000000000000000 0x88 build/stm32f1xx_hal_flash_ex.o
- .debug_line 0x0000000000000000 0x48f build/stm32f1xx_hal_flash_ex.o
- .debug_str 0x0000000000000000 0x6f9 build/stm32f1xx_hal_flash_ex.o
- .comment 0x0000000000000000 0x80 build/stm32f1xx_hal_flash_ex.o
- .debug_frame 0x0000000000000000 0x1c8 build/stm32f1xx_hal_flash_ex.o
- .ARM.attributes
- 0x0000000000000000 0x33 build/stm32f1xx_hal_flash_ex.o
- .text 0x0000000000000000 0x0 build/stm32f1xx_hal_exti.o
- .data 0x0000000000000000 0x0 build/stm32f1xx_hal_exti.o
- .bss 0x0000000000000000 0x0 build/stm32f1xx_hal_exti.o
- .text.HAL_EXTI_SetConfigLine
- 0x0000000000000000 0xd8 build/stm32f1xx_hal_exti.o
- .text.HAL_EXTI_GetConfigLine
- 0x0000000000000000 0xa8 build/stm32f1xx_hal_exti.o
- .text.HAL_EXTI_ClearConfigLine
- 0x0000000000000000 0x7c build/stm32f1xx_hal_exti.o
- .text.HAL_EXTI_RegisterCallback
- 0x0000000000000000 0xc build/stm32f1xx_hal_exti.o
- .text.HAL_EXTI_GetHandle
- 0x0000000000000000 0xc build/stm32f1xx_hal_exti.o
- .text.HAL_EXTI_IRQHandler
- 0x0000000000000000 0x24 build/stm32f1xx_hal_exti.o
- .text.HAL_EXTI_GetPending
- 0x0000000000000000 0x1c build/stm32f1xx_hal_exti.o
- .text.HAL_EXTI_ClearPending
- 0x0000000000000000 0x14 build/stm32f1xx_hal_exti.o
- .text.HAL_EXTI_GenerateSWI
- 0x0000000000000000 0x14 build/stm32f1xx_hal_exti.o
- .debug_info 0x0000000000000000 0x643 build/stm32f1xx_hal_exti.o
- .debug_abbrev 0x0000000000000000 0x202 build/stm32f1xx_hal_exti.o
- .debug_loc 0x0000000000000000 0x572 build/stm32f1xx_hal_exti.o
- .debug_aranges
- 0x0000000000000000 0x60 build/stm32f1xx_hal_exti.o
- .debug_ranges 0x0000000000000000 0x50 build/stm32f1xx_hal_exti.o
- .debug_line 0x0000000000000000 0x32e build/stm32f1xx_hal_exti.o
- .debug_str 0x0000000000000000 0x49c build/stm32f1xx_hal_exti.o
- .comment 0x0000000000000000 0x80 build/stm32f1xx_hal_exti.o
- .debug_frame 0x0000000000000000 0xfc build/stm32f1xx_hal_exti.o
- .ARM.attributes
- 0x0000000000000000 0x33 build/stm32f1xx_hal_exti.o
- .text 0x0000000000000000 0x0 build/stm32f1xx_hal_dac.o
- .data 0x0000000000000000 0x0 build/stm32f1xx_hal_dac.o
- .bss 0x0000000000000000 0x0 build/stm32f1xx_hal_dac.o
- .text.HAL_DAC_MspInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal_dac.o
- .text.HAL_DAC_MspDeInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal_dac.o
- .text.HAL_DAC_DeInit
- 0x0000000000000000 0x1c build/stm32f1xx_hal_dac.o
- .text.HAL_DAC_Start
- 0x0000000000000000 0x64 build/stm32f1xx_hal_dac.o
- .text.HAL_DAC_Stop
- 0x0000000000000000 0x1e build/stm32f1xx_hal_dac.o
- .text.HAL_DAC_Start_DMA
- 0x0000000000000000 0xf0 build/stm32f1xx_hal_dac.o
- .text.HAL_DAC_Stop_DMA
- 0x0000000000000000 0x44 build/stm32f1xx_hal_dac.o
- .text.HAL_DAC_IRQHandler
- 0x0000000000000000 0x2 build/stm32f1xx_hal_dac.o
- .text.HAL_DAC_SetValue
- 0x0000000000000000 0x2c build/stm32f1xx_hal_dac.o
- .text.HAL_DAC_ConvCpltCallbackCh1
- 0x0000000000000000 0x2 build/stm32f1xx_hal_dac.o
- .text.DAC_DMAConvCpltCh1
- 0x0000000000000000 0x10 build/stm32f1xx_hal_dac.o
- .text.HAL_DAC_ConvHalfCpltCallbackCh1
- 0x0000000000000000 0x2 build/stm32f1xx_hal_dac.o
- .text.DAC_DMAHalfConvCpltCh1
- 0x0000000000000000 0xa build/stm32f1xx_hal_dac.o
- .text.HAL_DAC_ErrorCallbackCh1
- 0x0000000000000000 0x2 build/stm32f1xx_hal_dac.o
- .text.DAC_DMAErrorCh1
- 0x0000000000000000 0x18 build/stm32f1xx_hal_dac.o
- .text.HAL_DAC_DMAUnderrunCallbackCh1
- 0x0000000000000000 0x2 build/stm32f1xx_hal_dac.o
- .text.HAL_DAC_GetValue
- 0x0000000000000000 0xe build/stm32f1xx_hal_dac.o
- .text.HAL_DAC_GetState
- 0x0000000000000000 0x4 build/stm32f1xx_hal_dac.o
- .text.HAL_DAC_GetError
- 0x0000000000000000 0x4 build/stm32f1xx_hal_dac.o
- .text 0x0000000000000000 0x0 build/stm32f1xx_hal_dac_ex.o
- .data 0x0000000000000000 0x0 build/stm32f1xx_hal_dac_ex.o
- .bss 0x0000000000000000 0x0 build/stm32f1xx_hal_dac_ex.o
- .text.HAL_DACEx_TriangleWaveGenerate
- 0x0000000000000000 0x3c build/stm32f1xx_hal_dac_ex.o
- .text.HAL_DACEx_NoiseWaveGenerate
- 0x0000000000000000 0x3c build/stm32f1xx_hal_dac_ex.o
- .text.HAL_DACEx_DualSetValue
- 0x0000000000000000 0x18 build/stm32f1xx_hal_dac_ex.o
- .text.HAL_DACEx_ConvCpltCallbackCh2
- 0x0000000000000000 0x2 build/stm32f1xx_hal_dac_ex.o
- .text.HAL_DACEx_ConvHalfCpltCallbackCh2
- 0x0000000000000000 0x2 build/stm32f1xx_hal_dac_ex.o
- .text.HAL_DACEx_ErrorCallbackCh2
- 0x0000000000000000 0x2 build/stm32f1xx_hal_dac_ex.o
- .text.HAL_DACEx_DMAUnderrunCallbackCh2
- 0x0000000000000000 0x2 build/stm32f1xx_hal_dac_ex.o
- .text.HAL_DACEx_DualGetValue
- 0x0000000000000000 0xc build/stm32f1xx_hal_dac_ex.o
- .text.DAC_DMAConvCpltCh2
- 0x0000000000000000 0x10 build/stm32f1xx_hal_dac_ex.o
- .text.DAC_DMAHalfConvCpltCh2
- 0x0000000000000000 0xa build/stm32f1xx_hal_dac_ex.o
- .text.DAC_DMAErrorCh2
- 0x0000000000000000 0x18 build/stm32f1xx_hal_dac_ex.o
- .debug_info 0x0000000000000000 0x83c build/stm32f1xx_hal_dac_ex.o
- .debug_abbrev 0x0000000000000000 0x27b build/stm32f1xx_hal_dac_ex.o
- .debug_loc 0x0000000000000000 0x3b7 build/stm32f1xx_hal_dac_ex.o
- .debug_aranges
- 0x0000000000000000 0x70 build/stm32f1xx_hal_dac_ex.o
- .debug_ranges 0x0000000000000000 0x60 build/stm32f1xx_hal_dac_ex.o
- .debug_line 0x0000000000000000 0x32b build/stm32f1xx_hal_dac_ex.o
- .debug_str 0x0000000000000000 0x6ec build/stm32f1xx_hal_dac_ex.o
- .comment 0x0000000000000000 0x80 build/stm32f1xx_hal_dac_ex.o
- .debug_frame 0x0000000000000000 0x114 build/stm32f1xx_hal_dac_ex.o
- .ARM.attributes
- 0x0000000000000000 0x33 build/stm32f1xx_hal_dac_ex.o
- .text 0x0000000000000000 0x0 build/stm32f1xx_hal_i2c.o
- .data 0x0000000000000000 0x0 build/stm32f1xx_hal_i2c.o
- .bss 0x0000000000000000 0x0 build/stm32f1xx_hal_i2c.o
- .text.I2C_Master_SB
- 0x0000000000000000 0xaa build/stm32f1xx_hal_i2c.o
- .text.I2C_Master_ADD10
- 0x0000000000000000 0x2e build/stm32f1xx_hal_i2c.o
- .text.I2C_Master_ADDR
- 0x0000000000000000 0x216 build/stm32f1xx_hal_i2c.o
- .text.I2C_SlaveTransmit_BTF
- 0x0000000000000000 0x20 build/stm32f1xx_hal_i2c.o
- .text.I2C_SlaveReceive_BTF
- 0x0000000000000000 0x20 build/stm32f1xx_hal_i2c.o
- .text.I2C_WaitOnSTOPRequestThroughIT
- 0x0000000000000000 0x48 build/stm32f1xx_hal_i2c.o
- .text.I2C_IsAcknowledgeFailed
- 0x0000000000000000 0x32 build/stm32f1xx_hal_i2c.o
- .text.I2C_ConvertOtherXferOptions
- 0x0000000000000000 0x1e build/stm32f1xx_hal_i2c.o
- .text.I2C_WaitOnFlagUntilTimeout
- 0x0000000000000000 0x70 build/stm32f1xx_hal_i2c.o
- .text.I2C_WaitOnMasterAddressFlagUntilTimeout
- 0x0000000000000000 0xa4 build/stm32f1xx_hal_i2c.o
- .text.I2C_MasterRequestWrite
- 0x0000000000000000 0xbc build/stm32f1xx_hal_i2c.o
- .text.I2C_MasterRequestRead
- 0x0000000000000000 0x128 build/stm32f1xx_hal_i2c.o
- .text.I2C_WaitOnTXEFlagUntilTimeout
- 0x0000000000000000 0x54 build/stm32f1xx_hal_i2c.o
- .text.I2C_RequestMemoryWrite
- 0x0000000000000000 0xdc build/stm32f1xx_hal_i2c.o
- .text.I2C_RequestMemoryRead
- 0x0000000000000000 0x160 build/stm32f1xx_hal_i2c.o
- .text.I2C_WaitOnBTFFlagUntilTimeout
- 0x0000000000000000 0x54 build/stm32f1xx_hal_i2c.o
- .text.I2C_WaitOnRXNEFlagUntilTimeout
- 0x0000000000000000 0x6a build/stm32f1xx_hal_i2c.o
- .text.I2C_WaitOnSTOPFlagUntilTimeout
- 0x0000000000000000 0x4e build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_MspInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_MspDeInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_DeInit
- 0x0000000000000000 0x32 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Master_Transmit
- 0x0000000000000000 0x174 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Master_Receive
- 0x0000000000000000 0x338 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Slave_Transmit
- 0x0000000000000000 0x19c build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Slave_Receive
- 0x0000000000000000 0x178 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Master_Transmit_IT
- 0x0000000000000000 0xd8 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Master_Receive_IT
- 0x0000000000000000 0xe4 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Slave_Transmit_IT
- 0x0000000000000000 0x8c build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Slave_Receive_IT
- 0x0000000000000000 0x8c build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Master_Transmit_DMA
- 0x0000000000000000 0x164 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Master_Receive_DMA
- 0x0000000000000000 0x164 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Slave_Transmit_DMA
- 0x0000000000000000 0xe4 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Slave_Receive_DMA
- 0x0000000000000000 0xe4 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Mem_Write
- 0x0000000000000000 0x168 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Mem_Read
- 0x0000000000000000 0x340 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Mem_Write_IT
- 0x0000000000000000 0xe4 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Mem_Read_IT
- 0x0000000000000000 0xf8 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Mem_Write_DMA
- 0x0000000000000000 0x1a8 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Mem_Read_DMA
- 0x0000000000000000 0x1e8 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_IsDeviceReady
- 0x0000000000000000 0x198 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Master_Seq_Transmit_IT
- 0x0000000000000000 0x114 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Master_Seq_Transmit_DMA
- 0x0000000000000000 0x1d4 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Master_Seq_Receive_IT
- 0x0000000000000000 0x160 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Master_Seq_Receive_DMA
- 0x0000000000000000 0x244 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Slave_Seq_Transmit_IT
- 0x0000000000000000 0x8e build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Slave_Seq_Transmit_DMA
- 0x0000000000000000 0x17c build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Slave_Seq_Receive_IT
- 0x0000000000000000 0x8e build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Slave_Seq_Receive_DMA
- 0x0000000000000000 0x17c build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_EnableListen_IT
- 0x0000000000000000 0x3e build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_DisableListen_IT
- 0x0000000000000000 0x42 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_MasterTxCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_i2c.o
- .text.I2C_MasterTransmit_BTF
- 0x0000000000000000 0x86 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_MasterRxCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_SlaveTxCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_i2c.o
- .text.I2C_SlaveTransmit_TXE
- 0x0000000000000000 0x4c build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_SlaveRxCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_i2c.o
- .text.I2C_SlaveReceive_RXNE
- 0x0000000000000000 0x4c build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_AddrCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_i2c.o
- .text.I2C_Slave_ADDR
- 0x0000000000000000 0x4e build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_ListenCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_i2c.o
- .text.I2C_Slave_AF
- 0x0000000000000000 0x94 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_MemTxCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_i2c.o
- .text.I2C_MemoryTransmit_TXE_BTF
- 0x0000000000000000 0xba build/stm32f1xx_hal_i2c.o
- .text.I2C_MasterTransmit_TXE
- 0x0000000000000000 0xd0 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_MemRxCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_i2c.o
- .text.I2C_MasterReceive_BTF
- 0x0000000000000000 0x128 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_ErrorCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_i2c.o
- .text.I2C_DMAError
- 0x0000000000000000 0x3a build/stm32f1xx_hal_i2c.o
- .text.I2C_DMAXferCplt
- 0x0000000000000000 0x122 build/stm32f1xx_hal_i2c.o
- .text.I2C_MasterReceive_RXNE
- 0x0000000000000000 0xea build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_AbortCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_i2c.o
- .text.I2C_DMAAbort
- 0x0000000000000000 0xe4 build/stm32f1xx_hal_i2c.o
- .text.I2C_ITError
- 0x0000000000000000 0x174 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_Master_Abort_IT
- 0x0000000000000000 0x64 build/stm32f1xx_hal_i2c.o
- .text.I2C_Slave_STOPF
- 0x0000000000000000 0x194 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_EV_IRQHandler
- 0x0000000000000000 0x1a4 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_ER_IRQHandler
- 0x0000000000000000 0xd0 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_GetState
- 0x0000000000000000 0x6 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_GetMode
- 0x0000000000000000 0x6 build/stm32f1xx_hal_i2c.o
- .text.HAL_I2C_GetError
- 0x0000000000000000 0x4 build/stm32f1xx_hal_i2c.o
- .text 0x0000000000000000 0x0 build/stm32f1xx_hal_spi.o
- .data 0x0000000000000000 0x0 build/stm32f1xx_hal_spi.o
- .bss 0x0000000000000000 0x0 build/stm32f1xx_hal_spi.o
- .text.SPI_AbortRx_ISR
- 0x0000000000000000 0x60 build/stm32f1xx_hal_spi.o
- .text.SPI_AbortTx_ISR
- 0x0000000000000000 0x1c build/stm32f1xx_hal_spi.o
- .text.SPI_WaitFlagStateUntilTimeout
- 0x0000000000000000 0xd0 build/stm32f1xx_hal_spi.o
- .text.SPI_EndRxTxTransaction
- 0x0000000000000000 0x26 build/stm32f1xx_hal_spi.o
- .text.SPI_EndRxTransaction
- 0x0000000000000000 0x7a build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_MspInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_MspDeInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_DeInit
- 0x0000000000000000 0x2c build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_Transmit
- 0x0000000000000000 0x1aa build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_TransmitReceive
- 0x0000000000000000 0x238 build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_Receive
- 0x0000000000000000 0x16e build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_Transmit_IT
- 0x0000000000000000 0xa8 build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_TransmitReceive_IT
- 0x0000000000000000 0xc8 build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_Receive_IT
- 0x0000000000000000 0xc4 build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_Transmit_DMA
- 0x0000000000000000 0xe8 build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_TransmitReceive_DMA
- 0x0000000000000000 0x154 build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_Receive_DMA
- 0x0000000000000000 0x100 build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_Abort
- 0x0000000000000000 0x13c build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_DMAPause
- 0x0000000000000000 0x26 build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_DMAResume
- 0x0000000000000000 0x26 build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_DMAStop
- 0x0000000000000000 0x46 build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_TxCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_RxCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_TxRxCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_TxHalfCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_spi.o
- .text.SPI_DMAHalfTransmitCplt
- 0x0000000000000000 0xa build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_RxHalfCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_spi.o
- .text.SPI_DMAHalfReceiveCplt
- 0x0000000000000000 0xa build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_TxRxHalfCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_spi.o
- .text.SPI_DMAHalfTransmitReceiveCplt
- 0x0000000000000000 0xa build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_ErrorCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_spi.o
- .text.SPI_CloseTx_ISR
- 0x0000000000000000 0x90 build/stm32f1xx_hal_spi.o
- .text.SPI_TxISR_8BIT
- 0x0000000000000000 0x28 build/stm32f1xx_hal_spi.o
- .text.SPI_TxISR_16BIT
- 0x0000000000000000 0x28 build/stm32f1xx_hal_spi.o
- .text.SPI_CloseRx_ISR
- 0x0000000000000000 0x56 build/stm32f1xx_hal_spi.o
- .text.SPI_RxISR_8BIT
- 0x0000000000000000 0x28 build/stm32f1xx_hal_spi.o
- .text.SPI_RxISR_16BIT
- 0x0000000000000000 0x28 build/stm32f1xx_hal_spi.o
- .text.SPI_CloseRxTx_ISR
- 0x0000000000000000 0xb0 build/stm32f1xx_hal_spi.o
- .text.SPI_2linesTxISR_8BIT
- 0x0000000000000000 0x38 build/stm32f1xx_hal_spi.o
- .text.SPI_2linesRxISR_8BIT
- 0x0000000000000000 0x38 build/stm32f1xx_hal_spi.o
- .text.SPI_2linesTxISR_16BIT
- 0x0000000000000000 0x38 build/stm32f1xx_hal_spi.o
- .text.SPI_2linesRxISR_16BIT
- 0x0000000000000000 0x38 build/stm32f1xx_hal_spi.o
- .text.SPI_DMAError
- 0x0000000000000000 0x22 build/stm32f1xx_hal_spi.o
- .text.SPI_DMATransmitCplt
- 0x0000000000000000 0x70 build/stm32f1xx_hal_spi.o
- .text.SPI_DMAReceiveCplt
- 0x0000000000000000 0x6e build/stm32f1xx_hal_spi.o
- .text.SPI_DMATransmitReceiveCplt
- 0x0000000000000000 0x5c build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_IRQHandler
- 0x0000000000000000 0x100 build/stm32f1xx_hal_spi.o
- .text.SPI_DMAAbortOnError
- 0x0000000000000000 0x10 build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_AbortCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_Abort_IT
- 0x0000000000000000 0x158 build/stm32f1xx_hal_spi.o
- .text.SPI_DMARxAbortCallback
- 0x0000000000000000 0x72 build/stm32f1xx_hal_spi.o
- .text.SPI_DMATxAbortCallback
- 0x0000000000000000 0x8c build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_GetState
- 0x0000000000000000 0x6 build/stm32f1xx_hal_spi.o
- .text.HAL_SPI_GetError
- 0x0000000000000000 0x4 build/stm32f1xx_hal_spi.o
- .text 0x0000000000000000 0x0 build/stm32f1xx_hal_tim.o
- .data 0x0000000000000000 0x0 build/stm32f1xx_hal_tim.o
- .bss 0x0000000000000000 0x0 build/stm32f1xx_hal_tim.o
- .text.TIM_TI2_SetConfig
- 0x0000000000000000 0x34 build/stm32f1xx_hal_tim.o
- .text.TIM_TI3_SetConfig
- 0x0000000000000000 0x32 build/stm32f1xx_hal_tim.o
- .text.TIM_TI4_SetConfig
- 0x0000000000000000 0x34 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_Base_MspInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_Base_MspDeInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_Base_DeInit
- 0x0000000000000000 0x5e build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_Base_Start
- 0x0000000000000000 0x6c build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_Base_Stop
- 0x0000000000000000 0x28 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_Base_Stop_IT
- 0x0000000000000000 0x32 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_Base_Start_DMA
- 0x0000000000000000 0xc0 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_Base_Stop_DMA
- 0x0000000000000000 0x3c build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_OC_MspInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_OC_MspDeInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_OC_DeInit
- 0x0000000000000000 0x5e build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_PWM_MspInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_PWM_MspDeInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_PWM_DeInit
- 0x0000000000000000 0x5e build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_IC_MspInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_IC_MspDeInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_IC_DeInit
- 0x0000000000000000 0x5e build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_OnePulse_MspInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_OnePulse_MspDeInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_OnePulse_DeInit
- 0x0000000000000000 0x4e build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_Encoder_MspInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_Encoder_MspDeInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_Encoder_DeInit
- 0x0000000000000000 0x4e build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_DMABurst_MultiWriteStart
- 0x0000000000000000 0x1b8 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_DMABurst_WriteStart
- 0x0000000000000000 0x16 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_DMABurst_WriteStop
- 0x0000000000000000 0x7c build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_DMABurst_MultiReadStart
- 0x0000000000000000 0x1b8 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_DMABurst_ReadStart
- 0x0000000000000000 0x16 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_DMABurst_ReadStop
- 0x0000000000000000 0x7c build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_GenerateEvent
- 0x0000000000000000 0x26 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_ConfigTI1Input
- 0x0000000000000000 0x10 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_ReadCapturedValue
- 0x0000000000000000 0x32 build/stm32f1xx_hal_tim.o
- .text.TIM_DMAPeriodElapsedCplt
- 0x0000000000000000 0x16 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_PeriodElapsedHalfCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_tim.o
- .text.TIM_DMAPeriodElapsedHalfCplt
- 0x0000000000000000 0xa build/stm32f1xx_hal_tim.o
- .text.TIM_DMACaptureCplt
- 0x0000000000000000 0x80 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_IC_CaptureHalfCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_tim.o
- .text.TIM_DMACaptureHalfCplt
- 0x0000000000000000 0x40 build/stm32f1xx_hal_tim.o
- .text.TIM_DMADelayPulseCplt
- 0x0000000000000000 0x70 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_PWM_PulseFinishedHalfCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_tim.o
- .text.TIM_DMADelayPulseHalfCplt
- 0x0000000000000000 0x40 build/stm32f1xx_hal_tim.o
- .text.TIM_DMATriggerCplt
- 0x0000000000000000 0x16 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_TriggerHalfCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_tim.o
- .text.TIM_DMATriggerHalfCplt
- 0x0000000000000000 0xa build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_ErrorCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_tim.o
- .text.TIM_DMAError
- 0x0000000000000000 0x5c build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_Base_GetState
- 0x0000000000000000 0x6 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_OC_GetState
- 0x0000000000000000 0x6 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_PWM_GetState
- 0x0000000000000000 0x6 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_IC_GetState
- 0x0000000000000000 0x6 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_OnePulse_GetState
- 0x0000000000000000 0x6 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_Encoder_GetState
- 0x0000000000000000 0x6 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_GetActiveChannel
- 0x0000000000000000 0x4 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_GetChannelState
- 0x0000000000000000 0x2a build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_DMABurstState
- 0x0000000000000000 0x6 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_OC_Init
- 0x0000000000000000 0x56 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_IC_Init
- 0x0000000000000000 0x56 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_OnePulse_Init
- 0x0000000000000000 0x5a build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_Encoder_Init
- 0x0000000000000000 0xb0 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_OC_ConfigChannel
- 0x0000000000000000 0x52 build/stm32f1xx_hal_tim.o
- .text.TIM_TI1_SetConfig
- 0x0000000000000000 0x84 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_IC_ConfigChannel
- 0x0000000000000000 0xb4 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_OnePulse_ConfigChannel
- 0x0000000000000000 0xf2 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_ConfigOCrefClear
- 0x0000000000000000 0xe4 build/stm32f1xx_hal_tim.o
- .text.TIM_SlaveTimer_SetConfig
- 0x0000000000000000 0x8a build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_SlaveConfigSynchro
- 0x0000000000000000 0x58 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_SlaveConfigSynchro_IT
- 0x0000000000000000 0x58 build/stm32f1xx_hal_tim.o
- .text.TIM_CCxChannelCmd
- 0x0000000000000000 0x20 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_OC_Start
- 0x0000000000000000 0x108 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_OC_Stop
- 0x0000000000000000 0x94 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_OC_Start_IT
- 0x0000000000000000 0x14c build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_OC_Stop_IT
- 0x0000000000000000 0xdc build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_OC_Start_DMA
- 0x0000000000000000 0x244 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_OC_Stop_DMA
- 0x0000000000000000 0xf4 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_PWM_Start
- 0x0000000000000000 0x108 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_PWM_Stop
- 0x0000000000000000 0x94 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_PWM_Start_IT
- 0x0000000000000000 0x14c build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_PWM_Stop_IT
- 0x0000000000000000 0xdc build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_PWM_Start_DMA
- 0x0000000000000000 0x244 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_PWM_Stop_DMA
- 0x0000000000000000 0xf4 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_IC_Start
- 0x0000000000000000 0x118 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_IC_Stop
- 0x0000000000000000 0x80 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_IC_Start_IT
- 0x0000000000000000 0x15c build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_IC_Stop_IT
- 0x0000000000000000 0xc6 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_IC_Start_DMA
- 0x0000000000000000 0x214 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_IC_Stop_DMA
- 0x0000000000000000 0xde build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_OnePulse_Start
- 0x0000000000000000 0x90 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_OnePulse_Stop
- 0x0000000000000000 0x88 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_OnePulse_Start_IT
- 0x0000000000000000 0xa8 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_OnePulse_Stop_IT
- 0x0000000000000000 0x9c build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_Encoder_Start
- 0x0000000000000000 0xd0 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_Encoder_Stop
- 0x0000000000000000 0xc4 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_Encoder_Start_IT
- 0x0000000000000000 0xf8 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_Encoder_Stop_IT
- 0x0000000000000000 0xee build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_Encoder_Start_DMA
- 0x0000000000000000 0x244 build/stm32f1xx_hal_tim.o
- .text.HAL_TIM_Encoder_Stop_DMA
- 0x0000000000000000 0x106 build/stm32f1xx_hal_tim.o
- .text 0x0000000000000000 0x0 build/stm32f1xx_hal_tim_ex.o
- .data 0x0000000000000000 0x0 build/stm32f1xx_hal_tim_ex.o
- .bss 0x0000000000000000 0x0 build/stm32f1xx_hal_tim_ex.o
- .text.TIM_CCxNChannelCmd
- 0x0000000000000000 0x20 build/stm32f1xx_hal_tim_ex.o
- .text.TIM_DMAErrorCCxN
- 0x0000000000000000 0x44 build/stm32f1xx_hal_tim_ex.o
- .text.TIM_DMADelayPulseNCplt
- 0x0000000000000000 0x70 build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_HallSensor_MspInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_HallSensor_Init
- 0x0000000000000000 0xd2 build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_HallSensor_MspDeInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_HallSensor_DeInit
- 0x0000000000000000 0x4e build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_HallSensor_Start
- 0x0000000000000000 0xb0 build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_HallSensor_Stop
- 0x0000000000000000 0x42 build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_HallSensor_Start_IT
- 0x0000000000000000 0xbc build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_HallSensor_Stop_IT
- 0x0000000000000000 0x4c build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_HallSensor_Start_DMA
- 0x0000000000000000 0xe8 build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_HallSensor_Stop_DMA
- 0x0000000000000000 0x4a build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_OCN_Start
- 0x0000000000000000 0xf0 build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_OCN_Stop
- 0x0000000000000000 0x76 build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_OCN_Start_IT
- 0x0000000000000000 0x12c build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_OCN_Stop_IT
- 0x0000000000000000 0xbc build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_OCN_Start_DMA
- 0x0000000000000000 0x1fc build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_OCN_Stop_DMA
- 0x0000000000000000 0xb8 build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_PWMN_Start
- 0x0000000000000000 0xf0 build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_PWMN_Stop
- 0x0000000000000000 0x76 build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_PWMN_Start_IT
- 0x0000000000000000 0x12c build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_PWMN_Stop_IT
- 0x0000000000000000 0xbc build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_PWMN_Start_DMA
- 0x0000000000000000 0x1fc build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_PWMN_Stop_DMA
- 0x0000000000000000 0xb8 build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_OnePulseN_Start
- 0x0000000000000000 0xc4 build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_OnePulseN_Stop
- 0x0000000000000000 0xa6 build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_OnePulseN_Start_IT
- 0x0000000000000000 0xd8 build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_OnePulseN_Stop_IT
- 0x0000000000000000 0xba build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_ConfigCommutEvent
- 0x0000000000000000 0x70 build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_ConfigCommutEvent_IT
- 0x0000000000000000 0x70 build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_ConfigCommutEvent_DMA
- 0x0000000000000000 0x90 build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_RemapConfig
- 0x0000000000000000 0x4 build/stm32f1xx_hal_tim_ex.o
- .text.TIMEx_DMACommutationCplt
- 0x0000000000000000 0x10 build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_CommutHalfCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_tim_ex.o
- .text.TIMEx_DMACommutationHalfCplt
- 0x0000000000000000 0x10 build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_HallSensor_GetState
- 0x0000000000000000 0x6 build/stm32f1xx_hal_tim_ex.o
- .text.HAL_TIMEx_GetChannelNState
- 0x0000000000000000 0x2a build/stm32f1xx_hal_tim_ex.o
- .text 0x0000000000000000 0x0 build/stm32f1xx_hal_uart.o
- .data 0x0000000000000000 0x0 build/stm32f1xx_hal_uart.o
- .bss 0x0000000000000000 0x0 build/stm32f1xx_hal_uart.o
- .text.UART_EndTxTransfer
- 0x0000000000000000 0x12 build/stm32f1xx_hal_uart.o
- .text.UART_EndRxTransfer
- 0x0000000000000000 0x1c build/stm32f1xx_hal_uart.o
- .text.UART_Transmit_IT
- 0x0000000000000000 0x64 build/stm32f1xx_hal_uart.o
- .text.UART_WaitOnFlagUntilTimeout
- 0x0000000000000000 0x64 build/stm32f1xx_hal_uart.o
- .text.HAL_UART_MspInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal_uart.o
- .text.HAL_HalfDuplex_Init
- 0x0000000000000000 0x6a build/stm32f1xx_hal_uart.o
- .text.HAL_LIN_Init
- 0x0000000000000000 0x80 build/stm32f1xx_hal_uart.o
- .text.HAL_MultiProcessor_Init
- 0x0000000000000000 0x8a build/stm32f1xx_hal_uart.o
- .text.HAL_UART_MspDeInit
- 0x0000000000000000 0x2 build/stm32f1xx_hal_uart.o
- .text.HAL_UART_DeInit
- 0x0000000000000000 0x30 build/stm32f1xx_hal_uart.o
- .text.HAL_UART_Transmit
- 0x0000000000000000 0xdc build/stm32f1xx_hal_uart.o
- .text.HAL_UART_Receive
- 0x0000000000000000 0xe4 build/stm32f1xx_hal_uart.o
- .text.HAL_UART_Transmit_IT
- 0x0000000000000000 0x48 build/stm32f1xx_hal_uart.o
- .text.HAL_UART_Receive_IT
- 0x0000000000000000 0x5c build/stm32f1xx_hal_uart.o
- .text.HAL_UART_Transmit_DMA
- 0x0000000000000000 0x8c build/stm32f1xx_hal_uart.o
- .text.HAL_UART_Receive_DMA
- 0x0000000000000000 0xa8 build/stm32f1xx_hal_uart.o
- .text.HAL_UART_DMAPause
- 0x0000000000000000 0x70 build/stm32f1xx_hal_uart.o
- .text.HAL_UART_DMAResume
- 0x0000000000000000 0x76 build/stm32f1xx_hal_uart.o
- .text.HAL_UART_DMAStop
- 0x0000000000000000 0x64 build/stm32f1xx_hal_uart.o
- .text.HAL_UART_Abort
- 0x0000000000000000 0x94 build/stm32f1xx_hal_uart.o
- .text.HAL_UART_AbortTransmit
- 0x0000000000000000 0x4e build/stm32f1xx_hal_uart.o
- .text.HAL_UART_AbortReceive
- 0x0000000000000000 0x58 build/stm32f1xx_hal_uart.o
- .text.HAL_UART_TxCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_uart.o
- .text.UART_DMATransmitCplt
- 0x0000000000000000 0x30 build/stm32f1xx_hal_uart.o
- .text.UART_EndTransmit_IT
- 0x0000000000000000 0x1a build/stm32f1xx_hal_uart.o
- .text.HAL_UART_TxHalfCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_uart.o
- .text.UART_DMATxHalfCplt
- 0x0000000000000000 0xa build/stm32f1xx_hal_uart.o
- .text.HAL_UART_RxCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_uart.o
- .text.UART_DMAReceiveCplt
- 0x0000000000000000 0x3e build/stm32f1xx_hal_uart.o
- .text.UART_Receive_IT
- 0x0000000000000000 0x94 build/stm32f1xx_hal_uart.o
- .text.HAL_UART_RxHalfCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_uart.o
- .text.UART_DMARxHalfCplt
- 0x0000000000000000 0xa build/stm32f1xx_hal_uart.o
- .text.HAL_UART_ErrorCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_uart.o
- .text.UART_DMAError
- 0x0000000000000000 0x58 build/stm32f1xx_hal_uart.o
- .text.HAL_UART_IRQHandler
- 0x0000000000000000 0x128 build/stm32f1xx_hal_uart.o
- .text.UART_DMAAbortOnError
- 0x0000000000000000 0x10 build/stm32f1xx_hal_uart.o
- .text.HAL_UART_AbortCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_uart.o
- .text.HAL_UART_Abort_IT
- 0x0000000000000000 0xc8 build/stm32f1xx_hal_uart.o
- .text.UART_DMARxAbortCallback
- 0x0000000000000000 0x2c build/stm32f1xx_hal_uart.o
- .text.UART_DMATxAbortCallback
- 0x0000000000000000 0x2c build/stm32f1xx_hal_uart.o
- .text.HAL_UART_AbortTransmitCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_uart.o
- .text.HAL_UART_AbortTransmit_IT
- 0x0000000000000000 0x60 build/stm32f1xx_hal_uart.o
- .text.UART_DMATxOnlyAbortCallback
- 0x0000000000000000 0x14 build/stm32f1xx_hal_uart.o
- .text.HAL_UART_AbortReceiveCpltCallback
- 0x0000000000000000 0x2 build/stm32f1xx_hal_uart.o
- .text.HAL_UART_AbortReceive_IT
- 0x0000000000000000 0x6c build/stm32f1xx_hal_uart.o
- .text.UART_DMARxOnlyAbortCallback
- 0x0000000000000000 0x14 build/stm32f1xx_hal_uart.o
- .text.HAL_LIN_SendBreak
- 0x0000000000000000 0x32 build/stm32f1xx_hal_uart.o
- .text.HAL_MultiProcessor_EnterMuteMode
- 0x0000000000000000 0x32 build/stm32f1xx_hal_uart.o
- .text.HAL_MultiProcessor_ExitMuteMode
- 0x0000000000000000 0x32 build/stm32f1xx_hal_uart.o
- .text.HAL_HalfDuplex_EnableTransmitter
- 0x0000000000000000 0x36 build/stm32f1xx_hal_uart.o
- .text.HAL_HalfDuplex_EnableReceiver
- 0x0000000000000000 0x36 build/stm32f1xx_hal_uart.o
- .text.HAL_UART_GetState
- 0x0000000000000000 0xc build/stm32f1xx_hal_uart.o
- .text.HAL_UART_GetError
- 0x0000000000000000 0x4 build/stm32f1xx_hal_uart.o
- .text 0x0000000000000000 0x0 build/system_stm32f1xx.o
- .data 0x0000000000000000 0x0 build/system_stm32f1xx.o
- .bss 0x0000000000000000 0x0 build/system_stm32f1xx.o
- .text.SystemCoreClockUpdate
- 0x0000000000000000 0x94 build/system_stm32f1xx.o
- .text 0x0000000000000000 0x0 build/user_main.o
- .data 0x0000000000000000 0x0 build/user_main.o
- .bss 0x0000000000000000 0x0 build/user_main.o
- .text 0x0000000000000000 0x0 build/user_isr.o
- .data 0x0000000000000000 0x0 build/user_isr.o
- .bss 0x0000000000000000 0x0 build/user_isr.o
- .text 0x0000000000000000 0x0 build/gpio.o
- .data 0x0000000000000000 0x0 build/gpio.o
- .bss 0x0000000000000000 0x0 build/gpio.o
- .text 0x0000000000000000 0x0 build/adc.o
- .data 0x0000000000000000 0x0 build/adc.o
- .bss 0x0000000000000000 0x0 build/adc.o
- .text.HAL_ADC_MspDeInit
- 0x0000000000000000 0x44 build/adc.o
- .text 0x0000000000000000 0x0 build/dac.o
- .data 0x0000000000000000 0x0 build/dac.o
- .bss 0x0000000000000000 0x0 build/dac.o
- .text.HAL_DAC_MspDeInit
- 0x0000000000000000 0x2c build/dac.o
- .text 0x0000000000000000 0x0 build/i2c.o
- .data 0x0000000000000000 0x0 build/i2c.o
- .bss 0x0000000000000000 0x0 build/i2c.o
- .text.HAL_I2C_MspDeInit
- 0x0000000000000000 0x68 build/i2c.o
- .text 0x0000000000000000 0x0 build/spi.o
- .data 0x0000000000000000 0x0 build/spi.o
- .bss 0x0000000000000000 0x0 build/spi.o
- .text.HAL_SPI_MspDeInit
- 0x0000000000000000 0x4c build/spi.o
- .text 0x0000000000000000 0x0 build/tim.o
- .data 0x0000000000000000 0x0 build/tim.o
- .bss 0x0000000000000000 0x0 build/tim.o
- .text.HAL_TIM_PWM_MspDeInit
- 0x0000000000000000 0x34 build/tim.o
- .text.HAL_TIM_Base_MspDeInit
- 0x0000000000000000 0x28 build/tim.o
- .text 0x0000000000000000 0x0 build/usart.o
- .data 0x0000000000000000 0x0 build/usart.o
- .bss 0x0000000000000000 0x0 build/usart.o
- .text.HAL_UART_MspDeInit
- 0x0000000000000000 0x54 build/usart.o
- .text 0x0000000000000000 0x14 build/startup_stm32f103xe.o
- .data 0x0000000000000000 0x0 build/startup_stm32f103xe.o
- .bss 0x0000000000000000 0x0 build/startup_stm32f103xe.o
- .text 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-exit.o)
- .data 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-exit.o)
- .bss 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-exit.o)
- .text.exit 0x0000000000000000 0x28 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-exit.o)
- .debug_frame 0x0000000000000000 0x28 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-exit.o)
- .ARM.attributes
- 0x0000000000000000 0x2d /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-exit.o)
- .text 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-impure.o)
- .data 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-impure.o)
- .bss 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-impure.o)
- .data._impure_ptr
- 0x0000000000000000 0x4 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-impure.o)
- .data.impure_data
- 0x0000000000000000 0x60 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-impure.o)
- .rodata._global_impure_ptr
- 0x0000000000000000 0x4 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-impure.o)
- .ARM.attributes
- 0x0000000000000000 0x2d /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-impure.o)
- .text 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-init.o)
- .data 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-init.o)
- .bss 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-init.o)
- .text 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-memset.o)
- .data 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-memset.o)
- .bss 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-memset.o)
- .text 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libnosys.a(_exit.o)
- .data 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libnosys.a(_exit.o)
- .bss 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libnosys.a(_exit.o)
- .text._exit 0x0000000000000000 0x4 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libnosys.a(_exit.o)
- .debug_frame 0x0000000000000000 0x20 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libnosys.a(_exit.o)
- .ARM.attributes
- 0x0000000000000000 0x2d /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libnosys.a(_exit.o)
- .text 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtend.o
- .data 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtend.o
- .bss 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtend.o
- .eh_frame 0x0000000000000000 0x4 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtend.o
- .jcr 0x0000000000000000 0x4 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtend.o
- .ARM.attributes
- 0x0000000000000000 0x2d /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtend.o
- .text 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtn.o
- .data 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtn.o
- .bss 0x0000000000000000 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtn.o
-
-Memory Configuration
-
-Name Origin Length Attributes
-RAM 0x0000000020000000 0x000000000000c000 xrw
-FLASH 0x0000000008000000 0x0000000000040000 xr
-*default* 0x0000000000000000 0xffffffffffffffff
-
-Linker script and memory map
-
-LOAD /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crti.o
-LOAD /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtbegin.o
-LOAD /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/crt0.o
-LOAD build/main.o
-LOAD build/stm32f1xx_it.o
-LOAD build/stm32f1xx_hal_msp.o
-LOAD build/stm32f1xx_hal_gpio_ex.o
-LOAD build/stm32f1xx_hal_adc.o
-LOAD build/stm32f1xx_hal_adc_ex.o
-LOAD build/stm32f1xx_hal.o
-LOAD build/stm32f1xx_hal_rcc.o
-LOAD build/stm32f1xx_hal_rcc_ex.o
-LOAD build/stm32f1xx_hal_gpio.o
-LOAD build/stm32f1xx_hal_dma.o
-LOAD build/stm32f1xx_hal_cortex.o
-LOAD build/stm32f1xx_hal_pwr.o
-LOAD build/stm32f1xx_hal_flash.o
-LOAD build/stm32f1xx_hal_flash_ex.o
-LOAD build/stm32f1xx_hal_exti.o
-LOAD build/stm32f1xx_hal_dac.o
-LOAD build/stm32f1xx_hal_dac_ex.o
-LOAD build/stm32f1xx_hal_i2c.o
-LOAD build/stm32f1xx_hal_spi.o
-LOAD build/stm32f1xx_hal_tim.o
-LOAD build/stm32f1xx_hal_tim_ex.o
-LOAD build/stm32f1xx_hal_uart.o
-LOAD build/system_stm32f1xx.o
-LOAD build/user_main.o
-LOAD build/user_isr.o
-LOAD build/gpio.o
-LOAD build/adc.o
-LOAD build/dac.o
-LOAD build/i2c.o
-LOAD build/spi.o
-LOAD build/tim.o
-LOAD build/usart.o
-LOAD build/startup_stm32f103xe.o
-LOAD /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a
-LOAD /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libm.a
-LOAD /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libnosys.a
-START GROUP
-LOAD /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/libgcc.a
-LOAD /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a
-END GROUP
-START GROUP
-LOAD /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/libgcc.a
-LOAD /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a
-END GROUP
-LOAD /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtend.o
-LOAD /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtn.o
- 0x000000002000c000 _estack = 0x2000c000
- 0x0000000000000200 _Min_Heap_Size = 0x200
- 0x0000000000000400 _Min_Stack_Size = 0x400
-
-.isr_vector 0x0000000008000000 0x1e4
- 0x0000000008000000 . = ALIGN (0x4)
- *(.isr_vector)
- .isr_vector 0x0000000008000000 0x1e4 build/startup_stm32f103xe.o
- 0x0000000008000000 g_pfnVectors
- 0x00000000080001e4 . = ALIGN (0x4)
-
-.text 0x00000000080001e4 0x25a8
- 0x00000000080001e4 . = ALIGN (0x4)
- *(.text)
- .text 0x00000000080001e4 0x6c /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtbegin.o
- *(.text*)
- .text.Error_Handler
- 0x0000000008000250 0x4 build/main.o
- 0x0000000008000250 Error_Handler
- .text.SystemClock_Config
- 0x0000000008000254 0x86 build/main.o
- 0x0000000008000254 SystemClock_Config
- .text.main 0x00000000080002da 0x44 build/main.o
- 0x00000000080002da main
- .text.NMI_Handler
- 0x000000000800031e 0x2 build/stm32f1xx_it.o
- 0x000000000800031e NMI_Handler
- .text.HardFault_Handler
- 0x0000000008000320 0x2 build/stm32f1xx_it.o
- 0x0000000008000320 HardFault_Handler
- .text.MemManage_Handler
- 0x0000000008000322 0x2 build/stm32f1xx_it.o
- 0x0000000008000322 MemManage_Handler
- .text.BusFault_Handler
- 0x0000000008000324 0x2 build/stm32f1xx_it.o
- 0x0000000008000324 BusFault_Handler
- .text.UsageFault_Handler
- 0x0000000008000326 0x2 build/stm32f1xx_it.o
- 0x0000000008000326 UsageFault_Handler
- .text.SVC_Handler
- 0x0000000008000328 0x2 build/stm32f1xx_it.o
- 0x0000000008000328 SVC_Handler
- .text.DebugMon_Handler
- 0x000000000800032a 0x2 build/stm32f1xx_it.o
- 0x000000000800032a DebugMon_Handler
- .text.PendSV_Handler
- 0x000000000800032c 0x2 build/stm32f1xx_it.o
- 0x000000000800032c PendSV_Handler
- .text.SysTick_Handler
- 0x000000000800032e 0x8 build/stm32f1xx_it.o
- 0x000000000800032e SysTick_Handler
- *fill* 0x0000000008000336 0x2
- .text.TIM4_IRQHandler
- 0x0000000008000338 0x14 build/stm32f1xx_it.o
- 0x0000000008000338 TIM4_IRQHandler
- .text.HAL_MspInit
- 0x000000000800034c 0x44 build/stm32f1xx_hal_msp.o
- 0x000000000800034c HAL_MspInit
- .text.HAL_ADC_ConfigChannel
- 0x0000000008000390 0x138 build/stm32f1xx_hal_adc.o
- 0x0000000008000390 HAL_ADC_ConfigChannel
- .text.ADC_ConversionStop_Disable
- 0x00000000080004c8 0x4c build/stm32f1xx_hal_adc.o
- 0x00000000080004c8 ADC_ConversionStop_Disable
- .text.HAL_ADC_Init
- 0x0000000008000514 0x12c build/stm32f1xx_hal_adc.o
- 0x0000000008000514 HAL_ADC_Init
- .text.HAL_InitTick
- 0x0000000008000640 0x4c build/stm32f1xx_hal.o
- 0x0000000008000640 HAL_InitTick
- .text.HAL_Init
- 0x000000000800068c 0x24 build/stm32f1xx_hal.o
- 0x000000000800068c HAL_Init
- .text.HAL_IncTick
- 0x00000000080006b0 0x18 build/stm32f1xx_hal.o
- 0x00000000080006b0 HAL_IncTick
- .text.HAL_GetTick
- 0x00000000080006c8 0xc build/stm32f1xx_hal.o
- 0x00000000080006c8 HAL_GetTick
- .text.RCC_Delay
- 0x00000000080006d4 0x2c build/stm32f1xx_hal_rcc.o
- .text.HAL_RCC_OscConfig
- 0x0000000008000700 0x410 build/stm32f1xx_hal_rcc.o
- 0x0000000008000700 HAL_RCC_OscConfig
- .text.HAL_RCC_GetSysClockFreq
- 0x0000000008000b10 0x6c build/stm32f1xx_hal_rcc.o
- 0x0000000008000b10 HAL_RCC_GetSysClockFreq
- .text.HAL_RCC_ClockConfig
- 0x0000000008000b7c 0x168 build/stm32f1xx_hal_rcc.o
- 0x0000000008000b7c HAL_RCC_ClockConfig
- .text.HAL_RCC_GetHCLKFreq
- 0x0000000008000ce4 0xc build/stm32f1xx_hal_rcc.o
- 0x0000000008000ce4 HAL_RCC_GetHCLKFreq
- .text.HAL_RCC_GetPCLK1Freq
- 0x0000000008000cf0 0x20 build/stm32f1xx_hal_rcc.o
- 0x0000000008000cf0 HAL_RCC_GetPCLK1Freq
- .text.HAL_RCC_GetPCLK2Freq
- 0x0000000008000d10 0x20 build/stm32f1xx_hal_rcc.o
- 0x0000000008000d10 HAL_RCC_GetPCLK2Freq
- .text.HAL_RCCEx_PeriphCLKConfig
- 0x0000000008000d30 0x114 build/stm32f1xx_hal_rcc_ex.o
- 0x0000000008000d30 HAL_RCCEx_PeriphCLKConfig
- .text.HAL_GPIO_Init
- 0x0000000008000e44 0x200 build/stm32f1xx_hal_gpio.o
- 0x0000000008000e44 HAL_GPIO_Init
- .text.HAL_GPIO_WritePin
- 0x0000000008001044 0xc build/stm32f1xx_hal_gpio.o
- 0x0000000008001044 HAL_GPIO_WritePin
- .text.HAL_GPIO_TogglePin
- 0x0000000008001050 0x12 build/stm32f1xx_hal_gpio.o
- 0x0000000008001050 HAL_GPIO_TogglePin
- *fill* 0x0000000008001062 0x2
- .text.HAL_NVIC_SetPriorityGrouping
- 0x0000000008001064 0x24 build/stm32f1xx_hal_cortex.o
- 0x0000000008001064 HAL_NVIC_SetPriorityGrouping
- .text.HAL_NVIC_SetPriority
- 0x0000000008001088 0x64 build/stm32f1xx_hal_cortex.o
- 0x0000000008001088 HAL_NVIC_SetPriority
- .text.HAL_NVIC_EnableIRQ
- 0x00000000080010ec 0x1c build/stm32f1xx_hal_cortex.o
- 0x00000000080010ec HAL_NVIC_EnableIRQ
- .text.HAL_SYSTICK_Config
- 0x0000000008001108 0x2c build/stm32f1xx_hal_cortex.o
- 0x0000000008001108 HAL_SYSTICK_Config
- .text.HAL_DAC_Init
- 0x0000000008001134 0x24 build/stm32f1xx_hal_dac.o
- 0x0000000008001134 HAL_DAC_Init
- .text.HAL_DAC_ConfigChannel
- 0x0000000008001158 0x54 build/stm32f1xx_hal_dac.o
- 0x0000000008001158 HAL_DAC_ConfigChannel
- .text.HAL_I2C_Init
- 0x00000000080011ac 0x1b4 build/stm32f1xx_hal_i2c.o
- 0x00000000080011ac HAL_I2C_Init
- .text.HAL_SPI_Init
- 0x0000000008001360 0xb6 build/stm32f1xx_hal_spi.o
- 0x0000000008001360 HAL_SPI_Init
- *fill* 0x0000000008001416 0x2
- .text.TIM_OC1_SetConfig
- 0x0000000008001418 0x6c build/stm32f1xx_hal_tim.o
- .text.TIM_OC3_SetConfig
- 0x0000000008001484 0x74 build/stm32f1xx_hal_tim.o
- .text.TIM_OC4_SetConfig
- 0x00000000080014f8 0x50 build/stm32f1xx_hal_tim.o
- .text.TIM_TI1_ConfigInputStage
- 0x0000000008001548 0x24 build/stm32f1xx_hal_tim.o
- .text.TIM_TI2_ConfigInputStage
- 0x000000000800156c 0x26 build/stm32f1xx_hal_tim.o
- .text.TIM_ITRx_SetConfig
- 0x0000000008001592 0x10 build/stm32f1xx_hal_tim.o
- *fill* 0x00000000080015a2 0x2
- .text.HAL_TIM_Base_Start_IT
- 0x00000000080015a4 0x78 build/stm32f1xx_hal_tim.o
- 0x00000000080015a4 HAL_TIM_Base_Start_IT
- .text.HAL_TIM_PeriodElapsedCallback
- 0x000000000800161c 0x2 build/stm32f1xx_hal_tim.o
- 0x000000000800161c HAL_TIM_PeriodElapsedCallback
- .text.HAL_TIM_OC_DelayElapsedCallback
- 0x000000000800161e 0x2 build/stm32f1xx_hal_tim.o
- 0x000000000800161e HAL_TIM_OC_DelayElapsedCallback
- .text.HAL_TIM_IC_CaptureCallback
- 0x0000000008001620 0x2 build/stm32f1xx_hal_tim.o
- 0x0000000008001620 HAL_TIM_IC_CaptureCallback
- .text.HAL_TIM_PWM_PulseFinishedCallback
- 0x0000000008001622 0x2 build/stm32f1xx_hal_tim.o
- 0x0000000008001622 HAL_TIM_PWM_PulseFinishedCallback
- .text.HAL_TIM_TriggerCallback
- 0x0000000008001624 0x2 build/stm32f1xx_hal_tim.o
- 0x0000000008001624 HAL_TIM_TriggerCallback
- .text.HAL_TIM_IRQHandler
- 0x0000000008001626 0x17a build/stm32f1xx_hal_tim.o
- 0x0000000008001626 HAL_TIM_IRQHandler
- .text.TIM_Base_SetConfig
- 0x00000000080017a0 0x9c build/stm32f1xx_hal_tim.o
- 0x00000000080017a0 TIM_Base_SetConfig
- .text.HAL_TIM_Base_Init
- 0x000000000800183c 0x56 build/stm32f1xx_hal_tim.o
- 0x000000000800183c HAL_TIM_Base_Init
- .text.HAL_TIM_PWM_Init
- 0x0000000008001892 0x56 build/stm32f1xx_hal_tim.o
- 0x0000000008001892 HAL_TIM_PWM_Init
- .text.TIM_OC2_SetConfig
- 0x00000000080018e8 0x74 build/stm32f1xx_hal_tim.o
- 0x00000000080018e8 TIM_OC2_SetConfig
- .text.HAL_TIM_PWM_ConfigChannel
- 0x000000000800195c 0xd0 build/stm32f1xx_hal_tim.o
- 0x000000000800195c HAL_TIM_PWM_ConfigChannel
- .text.TIM_ETR_SetConfig
- 0x0000000008001a2c 0x16 build/stm32f1xx_hal_tim.o
- 0x0000000008001a2c TIM_ETR_SetConfig
- .text.HAL_TIM_ConfigClockSource
- 0x0000000008001a42 0xda build/stm32f1xx_hal_tim.o
- 0x0000000008001a42 HAL_TIM_ConfigClockSource
- .text.HAL_TIMEx_MasterConfigSynchronization
- 0x0000000008001b1c 0x78 build/stm32f1xx_hal_tim_ex.o
- 0x0000000008001b1c HAL_TIMEx_MasterConfigSynchronization
- .text.HAL_TIMEx_ConfigBreakDeadTime
- 0x0000000008001b94 0x52 build/stm32f1xx_hal_tim_ex.o
- 0x0000000008001b94 HAL_TIMEx_ConfigBreakDeadTime
- .text.HAL_TIMEx_CommutCallback
- 0x0000000008001be6 0x2 build/stm32f1xx_hal_tim_ex.o
- 0x0000000008001be6 HAL_TIMEx_CommutCallback
- .text.HAL_TIMEx_BreakCallback
- 0x0000000008001be8 0x2 build/stm32f1xx_hal_tim_ex.o
- 0x0000000008001be8 HAL_TIMEx_BreakCallback
- *fill* 0x0000000008001bea 0x2
- .text.UART_SetConfig
- 0x0000000008001bec 0x90 build/stm32f1xx_hal_uart.o
- .text.HAL_UART_Init
- 0x0000000008001c7c 0x5e build/stm32f1xx_hal_uart.o
- 0x0000000008001c7c HAL_UART_Init
- .text.SystemInit
- 0x0000000008001cda 0x2 build/system_stm32f1xx.o
- 0x0000000008001cda SystemInit
- .text.user_setup
- 0x0000000008001cdc 0x10 build/user_main.o
- 0x0000000008001cdc user_setup
- .text.user_loop
- 0x0000000008001cec 0x2 build/user_main.o
- 0x0000000008001cec user_loop
- *fill* 0x0000000008001cee 0x2
- .text.timer4_isr
- 0x0000000008001cf0 0x2c build/user_isr.o
- 0x0000000008001cf0 timer4_isr
- .text.MX_GPIO_Init
- 0x0000000008001d1c 0x128 build/gpio.o
- 0x0000000008001d1c MX_GPIO_Init
- .text.MX_ADC1_Init
- 0x0000000008001e44 0x58 build/adc.o
- 0x0000000008001e44 MX_ADC1_Init
- .text.HAL_ADC_MspInit
- 0x0000000008001e9c 0xa4 build/adc.o
- 0x0000000008001e9c HAL_ADC_MspInit
- .text.MX_DAC_Init
- 0x0000000008001f40 0x54 build/dac.o
- 0x0000000008001f40 MX_DAC_Init
- .text.HAL_DAC_MspInit
- 0x0000000008001f94 0x60 build/dac.o
- 0x0000000008001f94 HAL_DAC_MspInit
- .text.MX_I2C1_Init
- 0x0000000008001ff4 0x3c build/i2c.o
- 0x0000000008001ff4 MX_I2C1_Init
- .text.MX_I2C2_Init
- 0x0000000008002030 0x3c build/i2c.o
- 0x0000000008002030 MX_I2C2_Init
- .text.HAL_I2C_MspInit
- 0x000000000800206c 0xc0 build/i2c.o
- 0x000000000800206c HAL_I2C_MspInit
- .text.MX_SPI1_Init
- 0x000000000800212c 0x44 build/spi.o
- 0x000000000800212c MX_SPI1_Init
- .text.MX_SPI2_Init
- 0x0000000008002170 0x40 build/spi.o
- 0x0000000008002170 MX_SPI2_Init
- .text.HAL_SPI_MspInit
- 0x00000000080021b0 0xe8 build/spi.o
- 0x00000000080021b0 HAL_SPI_MspInit
- .text.MX_TIM4_Init
- 0x0000000008002298 0x70 build/tim.o
- 0x0000000008002298 MX_TIM4_Init
- .text.HAL_TIM_PWM_MspInit
- 0x0000000008002308 0x4c build/tim.o
- 0x0000000008002308 HAL_TIM_PWM_MspInit
- .text.HAL_TIM_Base_MspInit
- 0x0000000008002354 0x40 build/tim.o
- 0x0000000008002354 HAL_TIM_Base_MspInit
- .text.HAL_TIM_MspPostInit
- 0x0000000008002394 0x98 build/tim.o
- 0x0000000008002394 HAL_TIM_MspPostInit
- .text.MX_TIM3_Init
- 0x000000000800242c 0x94 build/tim.o
- 0x000000000800242c MX_TIM3_Init
- .text.MX_TIM8_Init
- 0x00000000080024c0 0xcc build/tim.o
- 0x00000000080024c0 MX_TIM8_Init
- .text.MX_UART4_Init
- 0x000000000800258c 0x34 build/usart.o
- 0x000000000800258c MX_UART4_Init
- .text.MX_USART1_UART_Init
- 0x00000000080025c0 0x34 build/usart.o
- 0x00000000080025c0 MX_USART1_UART_Init
- .text.HAL_UART_MspInit
- 0x00000000080025f4 0xdc build/usart.o
- 0x00000000080025f4 HAL_UART_MspInit
- .text.Reset_Handler
- 0x00000000080026d0 0x48 build/startup_stm32f103xe.o
- 0x00000000080026d0 Reset_Handler
- .text.Default_Handler
- 0x0000000008002718 0x2 build/startup_stm32f103xe.o
- 0x0000000008002718 RTC_Alarm_IRQHandler
- 0x0000000008002718 EXTI2_IRQHandler
- 0x0000000008002718 TIM8_TRG_COM_IRQHandler
- 0x0000000008002718 TIM8_CC_IRQHandler
- 0x0000000008002718 TIM1_CC_IRQHandler
- 0x0000000008002718 TIM6_IRQHandler
- 0x0000000008002718 PVD_IRQHandler
- 0x0000000008002718 SDIO_IRQHandler
- 0x0000000008002718 EXTI3_IRQHandler
- 0x0000000008002718 EXTI0_IRQHandler
- 0x0000000008002718 I2C2_EV_IRQHandler
- 0x0000000008002718 ADC1_2_IRQHandler
- 0x0000000008002718 SPI1_IRQHandler
- 0x0000000008002718 TAMPER_IRQHandler
- 0x0000000008002718 TIM8_UP_IRQHandler
- 0x0000000008002718 DMA2_Channel2_IRQHandler
- 0x0000000008002718 DMA1_Channel4_IRQHandler
- 0x0000000008002718 USART3_IRQHandler
- 0x0000000008002718 RTC_IRQHandler
- 0x0000000008002718 DMA1_Channel7_IRQHandler
- 0x0000000008002718 CAN1_RX1_IRQHandler
- 0x0000000008002718 UART5_IRQHandler
- 0x0000000008002718 ADC3_IRQHandler
- 0x0000000008002718 DMA2_Channel1_IRQHandler
- 0x0000000008002718 I2C1_EV_IRQHandler
- 0x0000000008002718 DMA1_Channel6_IRQHandler
- 0x0000000008002718 UART4_IRQHandler
- 0x0000000008002718 TIM3_IRQHandler
- 0x0000000008002718 RCC_IRQHandler
- 0x0000000008002718 TIM1_TRG_COM_IRQHandler
- 0x0000000008002718 DMA1_Channel1_IRQHandler
- 0x0000000008002718 Default_Handler
- 0x0000000008002718 EXTI15_10_IRQHandler
- 0x0000000008002718 TIM7_IRQHandler
- 0x0000000008002718 TIM5_IRQHandler
- 0x0000000008002718 EXTI9_5_IRQHandler
- 0x0000000008002718 SPI2_IRQHandler
- 0x0000000008002718 DMA1_Channel5_IRQHandler
- 0x0000000008002718 EXTI4_IRQHandler
- 0x0000000008002718 USB_LP_CAN1_RX0_IRQHandler
- 0x0000000008002718 USB_HP_CAN1_TX_IRQHandler
- 0x0000000008002718 DMA1_Channel3_IRQHandler
- 0x0000000008002718 FSMC_IRQHandler
- 0x0000000008002718 TIM1_UP_IRQHandler
- 0x0000000008002718 WWDG_IRQHandler
- 0x0000000008002718 TIM2_IRQHandler
- 0x0000000008002718 TIM1_BRK_IRQHandler
- 0x0000000008002718 EXTI1_IRQHandler
- 0x0000000008002718 DMA2_Channel4_5_IRQHandler
- 0x0000000008002718 USART2_IRQHandler
- 0x0000000008002718 I2C2_ER_IRQHandler
- 0x0000000008002718 DMA1_Channel2_IRQHandler
- 0x0000000008002718 TIM8_BRK_IRQHandler
- 0x0000000008002718 CAN1_SCE_IRQHandler
- 0x0000000008002718 FLASH_IRQHandler
- 0x0000000008002718 USART1_IRQHandler
- 0x0000000008002718 SPI3_IRQHandler
- 0x0000000008002718 I2C1_ER_IRQHandler
- 0x0000000008002718 USBWakeUp_IRQHandler
- 0x0000000008002718 DMA2_Channel3_IRQHandler
- *fill* 0x000000000800271a 0x2
- .text.__libc_init_array
- 0x000000000800271c 0x48 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-init.o)
- 0x000000000800271c __libc_init_array
- .text.memset 0x0000000008002764 0x10 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-memset.o)
- 0x0000000008002764 memset
- *(.glue_7)
- .glue_7 0x0000000008002774 0x0 linker stubs
- *(.glue_7t)
- .glue_7t 0x0000000008002774 0x0 linker stubs
- *(.eh_frame)
- .eh_frame 0x0000000008002774 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtbegin.o
- *(.init)
- .init 0x0000000008002774 0x4 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crti.o
- 0x0000000008002774 _init
- .init 0x0000000008002778 0x8 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtn.o
- *(.fini)
- .fini 0x0000000008002780 0x4 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crti.o
- 0x0000000008002780 _fini
- .fini 0x0000000008002784 0x8 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtn.o
- 0x000000000800278c . = ALIGN (0x4)
- 0x000000000800278c _etext = .
-
-.vfp11_veneer 0x000000000800278c 0x0
- .vfp11_veneer 0x000000000800278c 0x0 linker stubs
-
-.v4_bx 0x000000000800278c 0x0
- .v4_bx 0x000000000800278c 0x0 linker stubs
-
-.iplt 0x000000000800278c 0x0
- .iplt 0x000000000800278c 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtbegin.o
-
-.rodata 0x000000000800278c 0x2c
- 0x000000000800278c . = ALIGN (0x4)
- *(.rodata)
- .rodata 0x000000000800278c 0x12 build/stm32f1xx_hal_rcc.o
- *(.rodata*)
- *fill* 0x000000000800279e 0x2
- .rodata.AHBPrescTable
- 0x00000000080027a0 0x10 build/system_stm32f1xx.o
- 0x00000000080027a0 AHBPrescTable
- .rodata.APBPrescTable
- 0x00000000080027b0 0x8 build/system_stm32f1xx.o
- 0x00000000080027b0 APBPrescTable
- 0x00000000080027b8 . = ALIGN (0x4)
-
-.rel.dyn 0x00000000080027b8 0x0
- .rel.iplt 0x00000000080027b8 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtbegin.o
-
-.ARM.extab
- *(.ARM.extab* .gnu.linkonce.armextab.*)
-
-.ARM 0x00000000080027b8 0x0
- 0x00000000080027b8 __exidx_start = .
- *(.ARM.exidx*)
- 0x00000000080027b8 __exidx_end = .
-
-.preinit_array 0x00000000080027b8 0x0
- 0x00000000080027b8 PROVIDE (__preinit_array_start, .)
- *(.preinit_array*)
- 0x00000000080027b8 PROVIDE (__preinit_array_end, .)
-
-.init_array 0x00000000080027b8 0x4
- 0x00000000080027b8 PROVIDE (__init_array_start, .)
- *(SORT(.init_array.*))
- *(.init_array*)
- .init_array 0x00000000080027b8 0x4 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtbegin.o
- 0x00000000080027bc PROVIDE (__init_array_end, .)
-
-.fini_array 0x00000000080027bc 0x4
- [!provide] PROVIDE (__fini_array_start, .)
- *(SORT(.fini_array.*))
- *(.fini_array*)
- .fini_array 0x00000000080027bc 0x4 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtbegin.o
- [!provide] PROVIDE (__fini_array_end, .)
- 0x00000000080027c0 _sidata = LOADADDR (.data)
-
-.data 0x0000000020000000 0xc load address 0x00000000080027c0
- 0x0000000020000000 . = ALIGN (0x4)
- 0x0000000020000000 _sdata = .
- *(.data)
- *(.data*)
- .data.uwTickFreq
- 0x0000000020000000 0x1 build/stm32f1xx_hal.o
- 0x0000000020000000 uwTickFreq
- *fill* 0x0000000020000001 0x3
- .data.uwTickPrio
- 0x0000000020000004 0x4 build/stm32f1xx_hal.o
- 0x0000000020000004 uwTickPrio
- .data.SystemCoreClock
- 0x0000000020000008 0x4 build/system_stm32f1xx.o
- 0x0000000020000008 SystemCoreClock
- 0x000000002000000c . = ALIGN (0x4)
- 0x000000002000000c _edata = .
-
-.jcr 0x000000002000000c 0x0 load address 0x00000000080027cc
- .jcr 0x000000002000000c 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtbegin.o
-
-.igot.plt 0x000000002000000c 0x0 load address 0x00000000080027cc
- .igot.plt 0x000000002000000c 0x0 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtbegin.o
- 0x000000002000000c . = ALIGN (0x4)
-
-.bss 0x000000002000000c 0x318 load address 0x00000000080027cc
- 0x000000002000000c _sbss = .
- 0x000000002000000c __bss_start__ = _sbss
- *(.bss)
- .bss 0x000000002000000c 0x1c /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtbegin.o
- *(.bss*)
- .bss.cnt.6802 0x0000000020000028 0x2 build/user_isr.o
- *(COMMON)
- *fill* 0x000000002000002a 0x2
- COMMON 0x000000002000002c 0x4 build/stm32f1xx_hal.o
- 0x000000002000002c uwTick
- COMMON 0x0000000020000030 0x30 build/adc.o
- 0x0000000020000030 hadc1
- COMMON 0x0000000020000060 0x14 build/dac.o
- 0x0000000020000060 hdac
- COMMON 0x0000000020000074 0xa8 build/i2c.o
- 0x0000000020000074 hi2c1
- 0x00000000200000c8 hi2c2
- COMMON 0x000000002000011c 0xb0 build/spi.o
- 0x000000002000011c hspi2
- 0x0000000020000174 hspi1
- COMMON 0x00000000200001cc 0xd8 build/tim.o
- 0x00000000200001cc htim8
- 0x0000000020000214 htim4
- 0x000000002000025c htim3
- COMMON 0x00000000200002a4 0x80 build/usart.o
- 0x00000000200002a4 huart1
- 0x00000000200002e4 huart4
- 0x0000000020000324 . = ALIGN (0x4)
- 0x0000000020000324 _ebss = .
- 0x0000000020000324 __bss_end__ = _ebss
-
-._user_heap_stack
- 0x0000000020000324 0x604 load address 0x00000000080027cc
- 0x0000000020000328 . = ALIGN (0x8)
- *fill* 0x0000000020000324 0x4
- [!provide] PROVIDE (end, .)
- [!provide] PROVIDE (_end, .)
- 0x0000000020000528 . = (. + _Min_Heap_Size)
- *fill* 0x0000000020000328 0x200
- 0x0000000020000928 . = (. + _Min_Stack_Size)
- *fill* 0x0000000020000528 0x400
- 0x0000000020000928 . = ALIGN (0x8)
-
-/DISCARD/
- libc.a(*)
- libm.a(*)
- libgcc.a(*)
-
-.ARM.attributes
- 0x0000000000000000 0x29
- *(.ARM.attributes)
- .ARM.attributes
- 0x0000000000000000 0x1d /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crti.o
- .ARM.attributes
- 0x000000000000001d 0x2d /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtbegin.o
- .ARM.attributes
- 0x000000000000004a 0x33 build/main.o
- .ARM.attributes
- 0x000000000000007d 0x33 build/stm32f1xx_it.o
- .ARM.attributes
- 0x00000000000000b0 0x33 build/stm32f1xx_hal_msp.o
- .ARM.attributes
- 0x00000000000000e3 0x33 build/stm32f1xx_hal_adc.o
- .ARM.attributes
- 0x0000000000000116 0x33 build/stm32f1xx_hal.o
- .ARM.attributes
- 0x0000000000000149 0x33 build/stm32f1xx_hal_rcc.o
- .ARM.attributes
- 0x000000000000017c 0x33 build/stm32f1xx_hal_rcc_ex.o
- .ARM.attributes
- 0x00000000000001af 0x33 build/stm32f1xx_hal_gpio.o
- .ARM.attributes
- 0x00000000000001e2 0x33 build/stm32f1xx_hal_cortex.o
- .ARM.attributes
- 0x0000000000000215 0x33 build/stm32f1xx_hal_dac.o
- .ARM.attributes
- 0x0000000000000248 0x33 build/stm32f1xx_hal_i2c.o
- .ARM.attributes
- 0x000000000000027b 0x33 build/stm32f1xx_hal_spi.o
- .ARM.attributes
- 0x00000000000002ae 0x33 build/stm32f1xx_hal_tim.o
- .ARM.attributes
- 0x00000000000002e1 0x33 build/stm32f1xx_hal_tim_ex.o
- .ARM.attributes
- 0x0000000000000314 0x33 build/stm32f1xx_hal_uart.o
- .ARM.attributes
- 0x0000000000000347 0x33 build/system_stm32f1xx.o
- .ARM.attributes
- 0x000000000000037a 0x33 build/user_main.o
- .ARM.attributes
- 0x00000000000003ad 0x33 build/user_isr.o
- .ARM.attributes
- 0x00000000000003e0 0x33 build/gpio.o
- .ARM.attributes
- 0x0000000000000413 0x33 build/adc.o
- .ARM.attributes
- 0x0000000000000446 0x33 build/dac.o
- .ARM.attributes
- 0x0000000000000479 0x33 build/i2c.o
- .ARM.attributes
- 0x00000000000004ac 0x33 build/spi.o
- .ARM.attributes
- 0x00000000000004df 0x33 build/tim.o
- .ARM.attributes
- 0x0000000000000512 0x33 build/usart.o
- .ARM.attributes
- 0x0000000000000545 0x21 build/startup_stm32f103xe.o
- .ARM.attributes
- 0x0000000000000566 0x2d /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-init.o)
- .ARM.attributes
- 0x0000000000000593 0x2d /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-memset.o)
- .ARM.attributes
- 0x00000000000005c0 0x1d /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtn.o
-OUTPUT(build/Syrostan-MCU-C.elf elf32-littlearm)
-
-.debug_info 0x0000000000000000 0x1849c
- .debug_info 0x0000000000000000 0x174b build/main.o
- .debug_info 0x000000000000174b 0x846 build/stm32f1xx_it.o
- .debug_info 0x0000000000001f91 0x30c build/stm32f1xx_hal_msp.o
- .debug_info 0x000000000000229d 0xf78 build/stm32f1xx_hal_adc.o
- .debug_info 0x0000000000003215 0x8d9 build/stm32f1xx_hal.o
- .debug_info 0x0000000000003aee 0xaaa build/stm32f1xx_hal_rcc.o
- .debug_info 0x0000000000004598 0x518 build/stm32f1xx_hal_rcc_ex.o
- .debug_info 0x0000000000004ab0 0x721 build/stm32f1xx_hal_gpio.o
- .debug_info 0x00000000000051d1 0xdcd build/stm32f1xx_hal_cortex.o
- .debug_info 0x0000000000005f9e 0xb62 build/stm32f1xx_hal_dac.o
- .debug_info 0x0000000000006b00 0x3676 build/stm32f1xx_hal_i2c.o
- .debug_info 0x000000000000a176 0x1ca1 build/stm32f1xx_hal_spi.o
- .debug_info 0x000000000000be17 0x3846 build/stm32f1xx_hal_tim.o
- .debug_info 0x000000000000f65d 0x1910 build/stm32f1xx_hal_tim_ex.o
- .debug_info 0x0000000000010f6d 0x17f5 build/stm32f1xx_hal_uart.o
- .debug_info 0x0000000000012762 0x2cc build/system_stm32f1xx.o
- .debug_info 0x0000000000012a2e 0x783 build/user_main.o
- .debug_info 0x00000000000131b1 0x823 build/user_isr.o
- .debug_info 0x00000000000139d4 0x512 build/gpio.o
- .debug_info 0x0000000000013ee6 0xa2f build/adc.o
- .debug_info 0x0000000000014915 0x8f1 build/dac.o
- .debug_info 0x0000000000015206 0xb21 build/i2c.o
- .debug_info 0x0000000000015d27 0xb00 build/spi.o
- .debug_info 0x0000000000016827 0x1222 build/tim.o
- .debug_info 0x0000000000017a49 0x9f2 build/usart.o
- .debug_info 0x000000000001843b 0x61 build/startup_stm32f103xe.o
-
-.debug_abbrev 0x0000000000000000 0x3230
- .debug_abbrev 0x0000000000000000 0x207 build/main.o
- .debug_abbrev 0x0000000000000207 0x186 build/stm32f1xx_it.o
- .debug_abbrev 0x000000000000038d 0x106 build/stm32f1xx_hal_msp.o
- .debug_abbrev 0x0000000000000493 0x231 build/stm32f1xx_hal_adc.o
- .debug_abbrev 0x00000000000006c4 0x1eb build/stm32f1xx_hal.o
- .debug_abbrev 0x00000000000008af 0x270 build/stm32f1xx_hal_rcc.o
- .debug_abbrev 0x0000000000000b1f 0x1c7 build/stm32f1xx_hal_rcc_ex.o
- .debug_abbrev 0x0000000000000ce6 0x211 build/stm32f1xx_hal_gpio.o
- .debug_abbrev 0x0000000000000ef7 0x316 build/stm32f1xx_hal_cortex.o
- .debug_abbrev 0x000000000000120d 0x20e build/stm32f1xx_hal_dac.o
- .debug_abbrev 0x000000000000141b 0x2e8 build/stm32f1xx_hal_i2c.o
- .debug_abbrev 0x0000000000001703 0x284 build/stm32f1xx_hal_spi.o
- .debug_abbrev 0x0000000000001987 0x282 build/stm32f1xx_hal_tim.o
- .debug_abbrev 0x0000000000001c09 0x278 build/stm32f1xx_hal_tim_ex.o
- .debug_abbrev 0x0000000000001e81 0x2ab build/stm32f1xx_hal_uart.o
- .debug_abbrev 0x000000000000212c 0x131 build/system_stm32f1xx.o
- .debug_abbrev 0x000000000000225d 0x170 build/user_main.o
- .debug_abbrev 0x00000000000023cd 0x175 build/user_isr.o
- .debug_abbrev 0x0000000000002542 0x160 build/gpio.o
- .debug_abbrev 0x00000000000026a2 0x1c8 build/adc.o
- .debug_abbrev 0x000000000000286a 0x1c8 build/dac.o
- .debug_abbrev 0x0000000000002a32 0x1d7 build/i2c.o
- .debug_abbrev 0x0000000000002c09 0x1d7 build/spi.o
- .debug_abbrev 0x0000000000002de0 0x276 build/tim.o
- .debug_abbrev 0x0000000000003056 0x1c8 build/usart.o
- .debug_abbrev 0x000000000000321e 0x12 build/startup_stm32f103xe.o
-
-.debug_loc 0x0000000000000000 0x12818
- .debug_loc 0x0000000000000000 0x66 build/main.o
- .debug_loc 0x0000000000000066 0x40 build/stm32f1xx_it.o
- .debug_loc 0x00000000000000a6 0x2c build/stm32f1xx_hal_msp.o
- .debug_loc 0x00000000000000d2 0xc23 build/stm32f1xx_hal_adc.o
- .debug_loc 0x0000000000000cf5 0x1ad build/stm32f1xx_hal.o
- .debug_loc 0x0000000000000ea2 0x62d build/stm32f1xx_hal_rcc.o
- .debug_loc 0x00000000000014cf 0x39e build/stm32f1xx_hal_rcc_ex.o
- .debug_loc 0x000000000000186d 0x44f build/stm32f1xx_hal_gpio.o
- .debug_loc 0x0000000000001cbc 0x685 build/stm32f1xx_hal_cortex.o
- .debug_loc 0x0000000000002341 0x84c build/stm32f1xx_hal_dac.o
- .debug_loc 0x0000000000002b8d 0x4442 build/stm32f1xx_hal_i2c.o
- .debug_loc 0x0000000000006fcf 0x215c build/stm32f1xx_hal_spi.o
- .debug_loc 0x000000000000912b 0x51cc build/stm32f1xx_hal_tim.o
- .debug_loc 0x000000000000e2f7 0x200b build/stm32f1xx_hal_tim_ex.o
- .debug_loc 0x0000000000010302 0x1ada build/stm32f1xx_hal_uart.o
- .debug_loc 0x0000000000011ddc 0xdf build/system_stm32f1xx.o
- .debug_loc 0x0000000000011ebb 0x20 build/user_main.o
- .debug_loc 0x0000000000011edb 0x20 build/user_isr.o
- .debug_loc 0x0000000000011efb 0x39 build/gpio.o
- .debug_loc 0x0000000000011f34 0x11c build/adc.o
- .debug_loc 0x0000000000012050 0x11c build/dac.o
- .debug_loc 0x000000000001216c 0x17a build/i2c.o
- .debug_loc 0x00000000000122e6 0x16e build/spi.o
- .debug_loc 0x0000000000012454 0x27a build/tim.o
- .debug_loc 0x00000000000126ce 0x14a build/usart.o
-
-.debug_aranges 0x0000000000000000 0x1280
- .debug_aranges
- 0x0000000000000000 0x30 build/main.o
- .debug_aranges
- 0x0000000000000030 0x68 build/stm32f1xx_it.o
- .debug_aranges
- 0x0000000000000098 0x20 build/stm32f1xx_hal_msp.o
- .debug_aranges
- 0x00000000000000b8 0xf0 build/stm32f1xx_hal_adc.o
- .debug_aranges
- 0x00000000000001a8 0xe0 build/stm32f1xx_hal.o
- .debug_aranges
- 0x0000000000000288 0x90 build/stm32f1xx_hal_rcc.o
- .debug_aranges
- 0x0000000000000318 0x30 build/stm32f1xx_hal_rcc_ex.o
- .debug_aranges
- 0x0000000000000348 0x58 build/stm32f1xx_hal_gpio.o
- .debug_aranges
- 0x00000000000003a0 0x90 build/stm32f1xx_hal_cortex.o
- .debug_aranges
- 0x0000000000000430 0xc0 build/stm32f1xx_hal_dac.o
- .debug_aranges
- 0x00000000000004f0 0x2a0 build/stm32f1xx_hal_i2c.o
- .debug_aranges
- 0x0000000000000790 0x1d0 build/stm32f1xx_hal_spi.o
- .debug_aranges
- 0x0000000000000960 0x3d0 build/stm32f1xx_hal_tim.o
- .debug_aranges
- 0x0000000000000d30 0x168 build/stm32f1xx_hal_tim_ex.o
- .debug_aranges
- 0x0000000000000e98 0x1d0 build/stm32f1xx_hal_uart.o
- .debug_aranges
- 0x0000000000001068 0x28 build/system_stm32f1xx.o
- .debug_aranges
- 0x0000000000001090 0x28 build/user_main.o
- .debug_aranges
- 0x00000000000010b8 0x20 build/user_isr.o
- .debug_aranges
- 0x00000000000010d8 0x20 build/gpio.o
- .debug_aranges
- 0x00000000000010f8 0x30 build/adc.o
- .debug_aranges
- 0x0000000000001128 0x30 build/dac.o
- .debug_aranges
- 0x0000000000001158 0x38 build/i2c.o
- .debug_aranges
- 0x0000000000001190 0x38 build/spi.o
- .debug_aranges
- 0x00000000000011c8 0x58 build/tim.o
- .debug_aranges
- 0x0000000000001220 0x38 build/usart.o
- .debug_aranges
- 0x0000000000001258 0x28 build/startup_stm32f103xe.o
-
-.debug_ranges 0x0000000000000000 0x1198
- .debug_ranges 0x0000000000000000 0x20 build/main.o
- .debug_ranges 0x0000000000000020 0x58 build/stm32f1xx_it.o
- .debug_ranges 0x0000000000000078 0x10 build/stm32f1xx_hal_msp.o
- .debug_ranges 0x0000000000000088 0xe0 build/stm32f1xx_hal_adc.o
- .debug_ranges 0x0000000000000168 0xd0 build/stm32f1xx_hal.o
- .debug_ranges 0x0000000000000238 0xa0 build/stm32f1xx_hal_rcc.o
- .debug_ranges 0x00000000000002d8 0x38 build/stm32f1xx_hal_rcc_ex.o
- .debug_ranges 0x0000000000000310 0x48 build/stm32f1xx_hal_gpio.o
- .debug_ranges 0x0000000000000358 0xe0 build/stm32f1xx_hal_cortex.o
- .debug_ranges 0x0000000000000438 0xb0 build/stm32f1xx_hal_dac.o
- .debug_ranges 0x00000000000004e8 0x2a8 build/stm32f1xx_hal_i2c.o
- .debug_ranges 0x0000000000000790 0x1c0 build/stm32f1xx_hal_spi.o
- .debug_ranges 0x0000000000000950 0x3c0 build/stm32f1xx_hal_tim.o
- .debug_ranges 0x0000000000000d10 0x158 build/stm32f1xx_hal_tim_ex.o
- .debug_ranges 0x0000000000000e68 0x1c0 build/stm32f1xx_hal_uart.o
- .debug_ranges 0x0000000000001028 0x18 build/system_stm32f1xx.o
- .debug_ranges 0x0000000000001040 0x18 build/user_main.o
- .debug_ranges 0x0000000000001058 0x10 build/user_isr.o
- .debug_ranges 0x0000000000001068 0x10 build/gpio.o
- .debug_ranges 0x0000000000001078 0x20 build/adc.o
- .debug_ranges 0x0000000000001098 0x20 build/dac.o
- .debug_ranges 0x00000000000010b8 0x28 build/i2c.o
- .debug_ranges 0x00000000000010e0 0x28 build/spi.o
- .debug_ranges 0x0000000000001108 0x48 build/tim.o
- .debug_ranges 0x0000000000001150 0x28 build/usart.o
- .debug_ranges 0x0000000000001178 0x20 build/startup_stm32f103xe.o
-
-.debug_line 0x0000000000000000 0x9df0
- .debug_line 0x0000000000000000 0x370 build/main.o
- .debug_line 0x0000000000000370 0x2a9 build/stm32f1xx_it.o
- .debug_line 0x0000000000000619 0x1bd build/stm32f1xx_hal_msp.o
- .debug_line 0x00000000000007d6 0x784 build/stm32f1xx_hal_adc.o
- .debug_line 0x0000000000000f5a 0x3bf build/stm32f1xx_hal.o
- .debug_line 0x0000000000001319 0x4fa build/stm32f1xx_hal_rcc.o
- .debug_line 0x0000000000001813 0x2e2 build/stm32f1xx_hal_rcc_ex.o
- .debug_line 0x0000000000001af5 0x3a2 build/stm32f1xx_hal_gpio.o
- .debug_line 0x0000000000001e97 0x396 build/stm32f1xx_hal_cortex.o
- .debug_line 0x000000000000222d 0x464 build/stm32f1xx_hal_dac.o
- .debug_line 0x0000000000002691 0x194b build/stm32f1xx_hal_i2c.o
- .debug_line 0x0000000000003fdc 0xc51 build/stm32f1xx_hal_spi.o
- .debug_line 0x0000000000004c2d 0x1e82 build/stm32f1xx_hal_tim.o
- .debug_line 0x0000000000006aaf 0xf1c build/stm32f1xx_hal_tim_ex.o
- .debug_line 0x00000000000079cb 0xb71 build/stm32f1xx_hal_uart.o
- .debug_line 0x000000000000853c 0x1fb build/system_stm32f1xx.o
- .debug_line 0x0000000000008737 0x218 build/user_main.o
- .debug_line 0x000000000000894f 0x225 build/user_isr.o
- .debug_line 0x0000000000008b74 0x1ee build/gpio.o
- .debug_line 0x0000000000008d62 0x286 build/adc.o
- .debug_line 0x0000000000008fe8 0x262 build/dac.o
- .debug_line 0x000000000000924a 0x297 build/i2c.o
- .debug_line 0x00000000000094e1 0x2a3 build/spi.o
- .debug_line 0x0000000000009784 0x35b build/tim.o
- .debug_line 0x0000000000009adf 0x29f build/usart.o
- .debug_line 0x0000000000009d7e 0x72 build/startup_stm32f103xe.o
-
-.debug_str 0x0000000000000000 0x4fe1
- .debug_str 0x0000000000000000 0x1124 build/main.o
- 0x124c (size before relaxing)
- .debug_str 0x0000000000001124 0xe2 build/stm32f1xx_it.o
- 0x7e4 (size before relaxing)
- .debug_str 0x0000000000001206 0x98 build/stm32f1xx_hal_msp.o
- 0x2e5 (size before relaxing)
- .debug_str 0x000000000000129e 0x3c9 build/stm32f1xx_hal_adc.o
- 0x977 (size before relaxing)
- .debug_str 0x0000000000001667 0x630 build/stm32f1xx_hal.o
- 0x93d (size before relaxing)
- .debug_str 0x0000000000001c97 0x21d build/stm32f1xx_hal_rcc.o
- 0x6a8 (size before relaxing)
- .debug_str 0x0000000000001eb4 0x81 build/stm32f1xx_hal_rcc_ex.o
- 0x4c5 (size before relaxing)
- .debug_str 0x0000000000001f35 0x155 build/stm32f1xx_hal_gpio.o
- 0x4c6 (size before relaxing)
- .debug_str 0x000000000000208a 0x3b8 build/stm32f1xx_hal_cortex.o
- 0xa59 (size before relaxing)
- .debug_str 0x0000000000002442 0x210 build/stm32f1xx_hal_dac.o
- 0x7d1 (size before relaxing)
- .debug_str 0x0000000000002652 0x8e4 build/stm32f1xx_hal_i2c.o
- 0x105c (size before relaxing)
- .debug_str 0x0000000000002f36 0x539 build/stm32f1xx_hal_spi.o
- 0xc0a (size before relaxing)
- .debug_str 0x000000000000346f 0xeec build/stm32f1xx_hal_tim.o
- 0x16fe (size before relaxing)
- .debug_str 0x000000000000435b 0x5ba build/stm32f1xx_hal_tim_ex.o
- 0xf28 (size before relaxing)
- .debug_str 0x0000000000004915 0x556 build/stm32f1xx_hal_uart.o
- 0xc56 (size before relaxing)
- .debug_str 0x0000000000004e6b 0x4f build/system_stm32f1xx.o
- 0x2dc (size before relaxing)
- .debug_str 0x0000000000004eba 0x1a build/user_main.o
- 0x753 (size before relaxing)
- .debug_str 0x0000000000004ed4 0x19 build/user_isr.o
- 0x770 (size before relaxing)
- .debug_str 0x0000000000004eed 0x20 build/gpio.o
- 0x343 (size before relaxing)
- .debug_str 0x0000000000004f0d 0x19 build/adc.o
- 0x6e5 (size before relaxing)
- .debug_str 0x0000000000004f26 0x19 build/dac.o
- 0x6c0 (size before relaxing)
- .debug_str 0x0000000000004f3f 0x19 build/i2c.o
- 0x829 (size before relaxing)
- .debug_str 0x0000000000004f58 0x19 build/spi.o
- 0x786 (size before relaxing)
- .debug_str 0x0000000000004f71 0x54 build/tim.o
- 0xf24 (size before relaxing)
- .debug_str 0x0000000000004fc5 0x1c build/usart.o
- 0x73c (size before relaxing)
-
-.comment 0x0000000000000000 0x7f
- .comment 0x0000000000000000 0x7f build/main.o
- 0x80 (size before relaxing)
- .comment 0x000000000000007f 0x80 build/stm32f1xx_it.o
- .comment 0x000000000000007f 0x80 build/stm32f1xx_hal_msp.o
- .comment 0x000000000000007f 0x80 build/stm32f1xx_hal_adc.o
- .comment 0x000000000000007f 0x80 build/stm32f1xx_hal.o
- .comment 0x000000000000007f 0x80 build/stm32f1xx_hal_rcc.o
- .comment 0x000000000000007f 0x80 build/stm32f1xx_hal_rcc_ex.o
- .comment 0x000000000000007f 0x80 build/stm32f1xx_hal_gpio.o
- .comment 0x000000000000007f 0x80 build/stm32f1xx_hal_cortex.o
- .comment 0x000000000000007f 0x80 build/stm32f1xx_hal_dac.o
- .comment 0x000000000000007f 0x80 build/stm32f1xx_hal_i2c.o
- .comment 0x000000000000007f 0x80 build/stm32f1xx_hal_spi.o
- .comment 0x000000000000007f 0x80 build/stm32f1xx_hal_tim.o
- .comment 0x000000000000007f 0x80 build/stm32f1xx_hal_tim_ex.o
- .comment 0x000000000000007f 0x80 build/stm32f1xx_hal_uart.o
- .comment 0x000000000000007f 0x80 build/system_stm32f1xx.o
- .comment 0x000000000000007f 0x80 build/user_main.o
- .comment 0x000000000000007f 0x80 build/user_isr.o
- .comment 0x000000000000007f 0x80 build/gpio.o
- .comment 0x000000000000007f 0x80 build/adc.o
- .comment 0x000000000000007f 0x80 build/dac.o
- .comment 0x000000000000007f 0x80 build/i2c.o
- .comment 0x000000000000007f 0x80 build/spi.o
- .comment 0x000000000000007f 0x80 build/tim.o
- .comment 0x000000000000007f 0x80 build/usart.o
-
-.debug_frame 0x0000000000000000 0x396c
- .debug_frame 0x0000000000000000 0x5c build/main.o
- .debug_frame 0x000000000000005c 0xc8 build/stm32f1xx_it.o
- .debug_frame 0x0000000000000124 0x28 build/stm32f1xx_hal_msp.o
- .debug_frame 0x000000000000014c 0x300 build/stm32f1xx_hal_adc.o
- .debug_frame 0x000000000000044c 0x1e0 build/stm32f1xx_hal.o
- .debug_frame 0x000000000000062c 0x1c4 build/stm32f1xx_hal_rcc.o
- .debug_frame 0x00000000000007f0 0x74 build/stm32f1xx_hal_rcc_ex.o
- .debug_frame 0x0000000000000864 0x104 build/stm32f1xx_hal_gpio.o
- .debug_frame 0x0000000000000968 0x13c build/stm32f1xx_hal_cortex.o
- .debug_frame 0x0000000000000aa4 0x228 build/stm32f1xx_hal_dac.o
- .debug_frame 0x0000000000000ccc 0xa64 build/stm32f1xx_hal_i2c.o
- .debug_frame 0x0000000000001730 0x630 build/stm32f1xx_hal_spi.o
- .debug_frame 0x0000000000001d60 0xcf8 build/stm32f1xx_hal_tim.o
- .debug_frame 0x0000000000002a58 0x510 build/stm32f1xx_hal_tim_ex.o
- .debug_frame 0x0000000000002f68 0x570 build/stm32f1xx_hal_uart.o
- .debug_frame 0x00000000000034d8 0x30 build/system_stm32f1xx.o
- .debug_frame 0x0000000000003508 0x3c build/user_main.o
- .debug_frame 0x0000000000003544 0x2c build/user_isr.o
- .debug_frame 0x0000000000003570 0x44 build/gpio.o
- .debug_frame 0x00000000000035b4 0x70 build/adc.o
- .debug_frame 0x0000000000003624 0x6c build/dac.o
- .debug_frame 0x0000000000003690 0x88 build/i2c.o
- .debug_frame 0x0000000000003718 0x88 build/spi.o
- .debug_frame 0x00000000000037a0 0xf8 build/tim.o
- .debug_frame 0x0000000000003898 0x88 build/usart.o
- .debug_frame 0x0000000000003920 0x2c /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-init.o)
- .debug_frame 0x000000000000394c 0x20 /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-memset.o)
-
-Cross Reference Table
-
-Symbol File
-ADC1_2_IRQHandler build/startup_stm32f103xe.o
-ADC3_IRQHandler build/startup_stm32f103xe.o
-ADC_ConversionStop_Disable build/stm32f1xx_hal_adc.o
- build/stm32f1xx_hal_adc_ex.o
-ADC_DMAConvCplt build/stm32f1xx_hal_adc.o
- build/stm32f1xx_hal_adc_ex.o
-ADC_DMAError build/stm32f1xx_hal_adc.o
- build/stm32f1xx_hal_adc_ex.o
-ADC_DMAHalfConvCplt build/stm32f1xx_hal_adc.o
- build/stm32f1xx_hal_adc_ex.o
-ADC_Enable build/stm32f1xx_hal_adc.o
- build/stm32f1xx_hal_adc_ex.o
-AHBPrescTable build/system_stm32f1xx.o
- build/stm32f1xx_hal_rcc.o
-APBPrescTable build/system_stm32f1xx.o
- build/stm32f1xx_hal_rcc.o
-BusFault_Handler build/stm32f1xx_it.o
-CAN1_RX1_IRQHandler build/startup_stm32f103xe.o
-CAN1_SCE_IRQHandler build/startup_stm32f103xe.o
-DAC_DMAConvCpltCh1 build/stm32f1xx_hal_dac.o
-DAC_DMAConvCpltCh2 build/stm32f1xx_hal_dac_ex.o
- build/stm32f1xx_hal_dac.o
-DAC_DMAErrorCh1 build/stm32f1xx_hal_dac.o
-DAC_DMAErrorCh2 build/stm32f1xx_hal_dac_ex.o
- build/stm32f1xx_hal_dac.o
-DAC_DMAHalfConvCpltCh1 build/stm32f1xx_hal_dac.o
-DAC_DMAHalfConvCpltCh2 build/stm32f1xx_hal_dac_ex.o
- build/stm32f1xx_hal_dac.o
-DMA1_Channel1_IRQHandler build/startup_stm32f103xe.o
-DMA1_Channel2_IRQHandler build/startup_stm32f103xe.o
-DMA1_Channel3_IRQHandler build/startup_stm32f103xe.o
-DMA1_Channel4_IRQHandler build/startup_stm32f103xe.o
-DMA1_Channel5_IRQHandler build/startup_stm32f103xe.o
-DMA1_Channel6_IRQHandler build/startup_stm32f103xe.o
-DMA1_Channel7_IRQHandler build/startup_stm32f103xe.o
-DMA2_Channel1_IRQHandler build/startup_stm32f103xe.o
-DMA2_Channel2_IRQHandler build/startup_stm32f103xe.o
-DMA2_Channel3_IRQHandler build/startup_stm32f103xe.o
-DMA2_Channel4_5_IRQHandler build/startup_stm32f103xe.o
-DebugMon_Handler build/stm32f1xx_it.o
-Default_Handler build/startup_stm32f103xe.o
-EXTI0_IRQHandler build/startup_stm32f103xe.o
-EXTI15_10_IRQHandler build/startup_stm32f103xe.o
-EXTI1_IRQHandler build/startup_stm32f103xe.o
-EXTI2_IRQHandler build/startup_stm32f103xe.o
-EXTI3_IRQHandler build/startup_stm32f103xe.o
-EXTI4_IRQHandler build/startup_stm32f103xe.o
-EXTI9_5_IRQHandler build/startup_stm32f103xe.o
-Error_Handler build/main.o
- build/usart.o
- build/tim.o
- build/spi.o
- build/i2c.o
- build/dac.o
- build/adc.o
-FLASH_IRQHandler build/startup_stm32f103xe.o
-FLASH_PageErase build/stm32f1xx_hal_flash_ex.o
- build/stm32f1xx_hal_flash.o
-FLASH_WaitForLastOperation build/stm32f1xx_hal_flash.o
- build/stm32f1xx_hal_flash_ex.o
-FSMC_IRQHandler build/startup_stm32f103xe.o
-HAL_ADCEx_Calibration_Start build/stm32f1xx_hal_adc_ex.o
-HAL_ADCEx_InjectedConfigChannel build/stm32f1xx_hal_adc_ex.o
-HAL_ADCEx_InjectedConvCpltCallback build/stm32f1xx_hal_adc_ex.o
- build/stm32f1xx_hal_adc.o
-HAL_ADCEx_InjectedGetValue build/stm32f1xx_hal_adc_ex.o
-HAL_ADCEx_InjectedPollForConversion build/stm32f1xx_hal_adc_ex.o
-HAL_ADCEx_InjectedStart build/stm32f1xx_hal_adc_ex.o
-HAL_ADCEx_InjectedStart_IT build/stm32f1xx_hal_adc_ex.o
-HAL_ADCEx_InjectedStop build/stm32f1xx_hal_adc_ex.o
-HAL_ADCEx_InjectedStop_IT build/stm32f1xx_hal_adc_ex.o
-HAL_ADCEx_MultiModeConfigChannel build/stm32f1xx_hal_adc_ex.o
-HAL_ADCEx_MultiModeGetValue build/stm32f1xx_hal_adc_ex.o
-HAL_ADCEx_MultiModeStart_DMA build/stm32f1xx_hal_adc_ex.o
-HAL_ADCEx_MultiModeStop_DMA build/stm32f1xx_hal_adc_ex.o
-HAL_ADC_AnalogWDGConfig build/stm32f1xx_hal_adc.o
-HAL_ADC_ConfigChannel build/stm32f1xx_hal_adc.o
- build/adc.o
-HAL_ADC_ConvCpltCallback build/stm32f1xx_hal_adc.o
-HAL_ADC_ConvHalfCpltCallback build/stm32f1xx_hal_adc.o
-HAL_ADC_DeInit build/stm32f1xx_hal_adc.o
-HAL_ADC_ErrorCallback build/stm32f1xx_hal_adc.o
-HAL_ADC_GetError build/stm32f1xx_hal_adc.o
-HAL_ADC_GetState build/stm32f1xx_hal_adc.o
-HAL_ADC_GetValue build/stm32f1xx_hal_adc.o
-HAL_ADC_IRQHandler build/stm32f1xx_hal_adc.o
-HAL_ADC_Init build/stm32f1xx_hal_adc.o
- build/adc.o
-HAL_ADC_LevelOutOfWindowCallback build/stm32f1xx_hal_adc.o
-HAL_ADC_MspDeInit build/adc.o
- build/stm32f1xx_hal_adc.o
-HAL_ADC_MspInit build/adc.o
- build/stm32f1xx_hal_adc.o
-HAL_ADC_PollForConversion build/stm32f1xx_hal_adc.o
-HAL_ADC_PollForEvent build/stm32f1xx_hal_adc.o
-HAL_ADC_Start build/stm32f1xx_hal_adc.o
-HAL_ADC_Start_DMA build/stm32f1xx_hal_adc.o
-HAL_ADC_Start_IT build/stm32f1xx_hal_adc.o
-HAL_ADC_Stop build/stm32f1xx_hal_adc.o
-HAL_ADC_Stop_DMA build/stm32f1xx_hal_adc.o
-HAL_ADC_Stop_IT build/stm32f1xx_hal_adc.o
-HAL_DACEx_ConvCpltCallbackCh2 build/stm32f1xx_hal_dac_ex.o
-HAL_DACEx_ConvHalfCpltCallbackCh2 build/stm32f1xx_hal_dac_ex.o
-HAL_DACEx_DMAUnderrunCallbackCh2 build/stm32f1xx_hal_dac_ex.o
-HAL_DACEx_DualGetValue build/stm32f1xx_hal_dac_ex.o
-HAL_DACEx_DualSetValue build/stm32f1xx_hal_dac_ex.o
-HAL_DACEx_ErrorCallbackCh2 build/stm32f1xx_hal_dac_ex.o
-HAL_DACEx_NoiseWaveGenerate build/stm32f1xx_hal_dac_ex.o
-HAL_DACEx_TriangleWaveGenerate build/stm32f1xx_hal_dac_ex.o
-HAL_DAC_ConfigChannel build/stm32f1xx_hal_dac.o
- build/dac.o
-HAL_DAC_ConvCpltCallbackCh1 build/stm32f1xx_hal_dac.o
-HAL_DAC_ConvHalfCpltCallbackCh1 build/stm32f1xx_hal_dac.o
-HAL_DAC_DMAUnderrunCallbackCh1 build/stm32f1xx_hal_dac.o
-HAL_DAC_DeInit build/stm32f1xx_hal_dac.o
-HAL_DAC_ErrorCallbackCh1 build/stm32f1xx_hal_dac.o
-HAL_DAC_GetError build/stm32f1xx_hal_dac.o
-HAL_DAC_GetState build/stm32f1xx_hal_dac.o
-HAL_DAC_GetValue build/stm32f1xx_hal_dac.o
-HAL_DAC_IRQHandler build/stm32f1xx_hal_dac.o
-HAL_DAC_Init build/stm32f1xx_hal_dac.o
- build/dac.o
-HAL_DAC_MspDeInit build/dac.o
- build/stm32f1xx_hal_dac.o
-HAL_DAC_MspInit build/dac.o
- build/stm32f1xx_hal_dac.o
-HAL_DAC_SetValue build/stm32f1xx_hal_dac.o
-HAL_DAC_Start build/stm32f1xx_hal_dac.o
-HAL_DAC_Start_DMA build/stm32f1xx_hal_dac.o
-HAL_DAC_Stop build/stm32f1xx_hal_dac.o
-HAL_DAC_Stop_DMA build/stm32f1xx_hal_dac.o
-HAL_DBGMCU_DisableDBGSleepMode build/stm32f1xx_hal.o
-HAL_DBGMCU_DisableDBGStandbyMode build/stm32f1xx_hal.o
-HAL_DBGMCU_DisableDBGStopMode build/stm32f1xx_hal.o
-HAL_DBGMCU_EnableDBGSleepMode build/stm32f1xx_hal.o
-HAL_DBGMCU_EnableDBGStandbyMode build/stm32f1xx_hal.o
-HAL_DBGMCU_EnableDBGStopMode build/stm32f1xx_hal.o
-HAL_DMA_Abort build/stm32f1xx_hal_dma.o
- build/stm32f1xx_hal_uart.o
- build/stm32f1xx_hal_spi.o
- build/stm32f1xx_hal_dac.o
- build/stm32f1xx_hal_adc_ex.o
- build/stm32f1xx_hal_adc.o
-HAL_DMA_Abort_IT build/stm32f1xx_hal_dma.o
- build/stm32f1xx_hal_uart.o
- build/stm32f1xx_hal_tim_ex.o
- build/stm32f1xx_hal_tim.o
- build/stm32f1xx_hal_spi.o
- build/stm32f1xx_hal_i2c.o
-HAL_DMA_DeInit build/stm32f1xx_hal_dma.o
-HAL_DMA_GetError build/stm32f1xx_hal_dma.o
- build/stm32f1xx_hal_uart.o
-HAL_DMA_GetState build/stm32f1xx_hal_dma.o
- build/stm32f1xx_hal_i2c.o
-HAL_DMA_IRQHandler build/stm32f1xx_hal_dma.o
-HAL_DMA_Init build/stm32f1xx_hal_dma.o
-HAL_DMA_PollForTransfer build/stm32f1xx_hal_dma.o
-HAL_DMA_RegisterCallback build/stm32f1xx_hal_dma.o
-HAL_DMA_Start build/stm32f1xx_hal_dma.o
-HAL_DMA_Start_IT build/stm32f1xx_hal_dma.o
- build/stm32f1xx_hal_uart.o
- build/stm32f1xx_hal_tim_ex.o
- build/stm32f1xx_hal_tim.o
- build/stm32f1xx_hal_spi.o
- build/stm32f1xx_hal_i2c.o
- build/stm32f1xx_hal_dac.o
- build/stm32f1xx_hal_adc_ex.o
- build/stm32f1xx_hal_adc.o
-HAL_DMA_UnRegisterCallback build/stm32f1xx_hal_dma.o
-HAL_DeInit build/stm32f1xx_hal.o
-HAL_Delay build/stm32f1xx_hal.o
-HAL_EXTI_ClearConfigLine build/stm32f1xx_hal_exti.o
-HAL_EXTI_ClearPending build/stm32f1xx_hal_exti.o
-HAL_EXTI_GenerateSWI build/stm32f1xx_hal_exti.o
-HAL_EXTI_GetConfigLine build/stm32f1xx_hal_exti.o
-HAL_EXTI_GetHandle build/stm32f1xx_hal_exti.o
-HAL_EXTI_GetPending build/stm32f1xx_hal_exti.o
-HAL_EXTI_IRQHandler build/stm32f1xx_hal_exti.o
-HAL_EXTI_RegisterCallback build/stm32f1xx_hal_exti.o
-HAL_EXTI_SetConfigLine build/stm32f1xx_hal_exti.o
-HAL_FLASHEx_Erase build/stm32f1xx_hal_flash_ex.o
-HAL_FLASHEx_Erase_IT build/stm32f1xx_hal_flash_ex.o
-HAL_FLASHEx_OBErase build/stm32f1xx_hal_flash_ex.o
-HAL_FLASHEx_OBGetConfig build/stm32f1xx_hal_flash_ex.o
-HAL_FLASHEx_OBGetUserData build/stm32f1xx_hal_flash_ex.o
-HAL_FLASHEx_OBProgram build/stm32f1xx_hal_flash_ex.o
-HAL_FLASH_EndOfOperationCallback build/stm32f1xx_hal_flash.o
-HAL_FLASH_GetError build/stm32f1xx_hal_flash.o
-HAL_FLASH_IRQHandler build/stm32f1xx_hal_flash.o
-HAL_FLASH_Lock build/stm32f1xx_hal_flash.o
-HAL_FLASH_OB_Launch build/stm32f1xx_hal_flash.o
-HAL_FLASH_OB_Lock build/stm32f1xx_hal_flash.o
-HAL_FLASH_OB_Unlock build/stm32f1xx_hal_flash.o
-HAL_FLASH_OperationErrorCallback build/stm32f1xx_hal_flash.o
-HAL_FLASH_Program build/stm32f1xx_hal_flash.o
-HAL_FLASH_Program_IT build/stm32f1xx_hal_flash.o
-HAL_FLASH_Unlock build/stm32f1xx_hal_flash.o
-HAL_GPIOEx_ConfigEventout build/stm32f1xx_hal_gpio_ex.o
-HAL_GPIOEx_DisableEventout build/stm32f1xx_hal_gpio_ex.o
-HAL_GPIOEx_EnableEventout build/stm32f1xx_hal_gpio_ex.o
-HAL_GPIO_DeInit build/stm32f1xx_hal_gpio.o
- build/usart.o
- build/spi.o
- build/i2c.o
- build/dac.o
- build/adc.o
-HAL_GPIO_EXTI_Callback build/stm32f1xx_hal_gpio.o
-HAL_GPIO_EXTI_IRQHandler build/stm32f1xx_hal_gpio.o
-HAL_GPIO_Init build/stm32f1xx_hal_gpio.o
- build/usart.o
- build/tim.o
- build/spi.o
- build/i2c.o
- build/dac.o
- build/adc.o
- build/gpio.o
- build/stm32f1xx_hal_rcc.o
-HAL_GPIO_LockPin build/stm32f1xx_hal_gpio.o
-HAL_GPIO_ReadPin build/stm32f1xx_hal_gpio.o
-HAL_GPIO_TogglePin build/stm32f1xx_hal_gpio.o
- build/user_isr.o
-HAL_GPIO_WritePin build/stm32f1xx_hal_gpio.o
- build/gpio.o
-HAL_GetDEVID build/stm32f1xx_hal.o
-HAL_GetHalVersion build/stm32f1xx_hal.o
-HAL_GetREVID build/stm32f1xx_hal.o
-HAL_GetTick build/stm32f1xx_hal.o
- build/stm32f1xx_hal_uart.o
- build/stm32f1xx_hal_spi.o
- build/stm32f1xx_hal_i2c.o
- build/stm32f1xx_hal_flash.o
- build/stm32f1xx_hal_dma.o
- build/stm32f1xx_hal_rcc_ex.o
- build/stm32f1xx_hal_rcc.o
- build/stm32f1xx_hal_adc_ex.o
- build/stm32f1xx_hal_adc.o
-HAL_GetTickFreq build/stm32f1xx_hal.o
-HAL_GetTickPrio build/stm32f1xx_hal.o
-HAL_GetUIDw0 build/stm32f1xx_hal.o
-HAL_GetUIDw1 build/stm32f1xx_hal.o
-HAL_GetUIDw2 build/stm32f1xx_hal.o
-HAL_HalfDuplex_EnableReceiver build/stm32f1xx_hal_uart.o
-HAL_HalfDuplex_EnableTransmitter build/stm32f1xx_hal_uart.o
-HAL_HalfDuplex_Init build/stm32f1xx_hal_uart.o
-HAL_I2C_AbortCpltCallback build/stm32f1xx_hal_i2c.o
-HAL_I2C_AddrCallback build/stm32f1xx_hal_i2c.o
-HAL_I2C_DeInit build/stm32f1xx_hal_i2c.o
-HAL_I2C_DisableListen_IT build/stm32f1xx_hal_i2c.o
-HAL_I2C_ER_IRQHandler build/stm32f1xx_hal_i2c.o
-HAL_I2C_EV_IRQHandler build/stm32f1xx_hal_i2c.o
-HAL_I2C_EnableListen_IT build/stm32f1xx_hal_i2c.o
-HAL_I2C_ErrorCallback build/stm32f1xx_hal_i2c.o
-HAL_I2C_GetError build/stm32f1xx_hal_i2c.o
-HAL_I2C_GetMode build/stm32f1xx_hal_i2c.o
-HAL_I2C_GetState build/stm32f1xx_hal_i2c.o
-HAL_I2C_Init build/stm32f1xx_hal_i2c.o
- build/i2c.o
-HAL_I2C_IsDeviceReady build/stm32f1xx_hal_i2c.o
-HAL_I2C_ListenCpltCallback build/stm32f1xx_hal_i2c.o
-HAL_I2C_MasterRxCpltCallback build/stm32f1xx_hal_i2c.o
-HAL_I2C_MasterTxCpltCallback build/stm32f1xx_hal_i2c.o
-HAL_I2C_Master_Abort_IT build/stm32f1xx_hal_i2c.o
-HAL_I2C_Master_Receive build/stm32f1xx_hal_i2c.o
-HAL_I2C_Master_Receive_DMA build/stm32f1xx_hal_i2c.o
-HAL_I2C_Master_Receive_IT build/stm32f1xx_hal_i2c.o
-HAL_I2C_Master_Seq_Receive_DMA build/stm32f1xx_hal_i2c.o
-HAL_I2C_Master_Seq_Receive_IT build/stm32f1xx_hal_i2c.o
-HAL_I2C_Master_Seq_Transmit_DMA build/stm32f1xx_hal_i2c.o
-HAL_I2C_Master_Seq_Transmit_IT build/stm32f1xx_hal_i2c.o
-HAL_I2C_Master_Transmit build/stm32f1xx_hal_i2c.o
-HAL_I2C_Master_Transmit_DMA build/stm32f1xx_hal_i2c.o
-HAL_I2C_Master_Transmit_IT build/stm32f1xx_hal_i2c.o
-HAL_I2C_MemRxCpltCallback build/stm32f1xx_hal_i2c.o
-HAL_I2C_MemTxCpltCallback build/stm32f1xx_hal_i2c.o
-HAL_I2C_Mem_Read build/stm32f1xx_hal_i2c.o
-HAL_I2C_Mem_Read_DMA build/stm32f1xx_hal_i2c.o
-HAL_I2C_Mem_Read_IT build/stm32f1xx_hal_i2c.o
-HAL_I2C_Mem_Write build/stm32f1xx_hal_i2c.o
-HAL_I2C_Mem_Write_DMA build/stm32f1xx_hal_i2c.o
-HAL_I2C_Mem_Write_IT build/stm32f1xx_hal_i2c.o
-HAL_I2C_MspDeInit build/i2c.o
- build/stm32f1xx_hal_i2c.o
-HAL_I2C_MspInit build/i2c.o
- build/stm32f1xx_hal_i2c.o
-HAL_I2C_SlaveRxCpltCallback build/stm32f1xx_hal_i2c.o
-HAL_I2C_SlaveTxCpltCallback build/stm32f1xx_hal_i2c.o
-HAL_I2C_Slave_Receive build/stm32f1xx_hal_i2c.o
-HAL_I2C_Slave_Receive_DMA build/stm32f1xx_hal_i2c.o
-HAL_I2C_Slave_Receive_IT build/stm32f1xx_hal_i2c.o
-HAL_I2C_Slave_Seq_Receive_DMA build/stm32f1xx_hal_i2c.o
-HAL_I2C_Slave_Seq_Receive_IT build/stm32f1xx_hal_i2c.o
-HAL_I2C_Slave_Seq_Transmit_DMA build/stm32f1xx_hal_i2c.o
-HAL_I2C_Slave_Seq_Transmit_IT build/stm32f1xx_hal_i2c.o
-HAL_I2C_Slave_Transmit build/stm32f1xx_hal_i2c.o
-HAL_I2C_Slave_Transmit_DMA build/stm32f1xx_hal_i2c.o
-HAL_I2C_Slave_Transmit_IT build/stm32f1xx_hal_i2c.o
-HAL_IncTick build/stm32f1xx_hal.o
- build/stm32f1xx_it.o
-HAL_Init build/stm32f1xx_hal.o
- build/main.o
-HAL_InitTick build/stm32f1xx_hal.o
- build/stm32f1xx_hal_rcc.o
-HAL_LIN_Init build/stm32f1xx_hal_uart.o
-HAL_LIN_SendBreak build/stm32f1xx_hal_uart.o
-HAL_MspDeInit build/stm32f1xx_hal.o
-HAL_MspInit build/stm32f1xx_hal_msp.o
-HAL_MultiProcessor_EnterMuteMode build/stm32f1xx_hal_uart.o
-HAL_MultiProcessor_ExitMuteMode build/stm32f1xx_hal_uart.o
-HAL_MultiProcessor_Init build/stm32f1xx_hal_uart.o
-HAL_NVIC_ClearPendingIRQ build/stm32f1xx_hal_cortex.o
-HAL_NVIC_DisableIRQ build/stm32f1xx_hal_cortex.o
- build/tim.o
-HAL_NVIC_EnableIRQ build/stm32f1xx_hal_cortex.o
- build/tim.o
-HAL_NVIC_GetActive build/stm32f1xx_hal_cortex.o
-HAL_NVIC_GetPendingIRQ build/stm32f1xx_hal_cortex.o
-HAL_NVIC_GetPriority build/stm32f1xx_hal_cortex.o
-HAL_NVIC_GetPriorityGrouping build/stm32f1xx_hal_cortex.o
-HAL_NVIC_SetPendingIRQ build/stm32f1xx_hal_cortex.o
-HAL_NVIC_SetPriority build/stm32f1xx_hal_cortex.o
- build/tim.o
- build/stm32f1xx_hal.o
-HAL_NVIC_SetPriorityGrouping build/stm32f1xx_hal_cortex.o
- build/stm32f1xx_hal.o
-HAL_NVIC_SystemReset build/stm32f1xx_hal_cortex.o
- build/stm32f1xx_hal_flash.o
-HAL_PWR_ConfigPVD build/stm32f1xx_hal_pwr.o
-HAL_PWR_DeInit build/stm32f1xx_hal_pwr.o
-HAL_PWR_DisableBkUpAccess build/stm32f1xx_hal_pwr.o
-HAL_PWR_DisablePVD build/stm32f1xx_hal_pwr.o
-HAL_PWR_DisableSEVOnPend build/stm32f1xx_hal_pwr.o
-HAL_PWR_DisableSleepOnExit build/stm32f1xx_hal_pwr.o
-HAL_PWR_DisableWakeUpPin build/stm32f1xx_hal_pwr.o
-HAL_PWR_EnableBkUpAccess build/stm32f1xx_hal_pwr.o
-HAL_PWR_EnablePVD build/stm32f1xx_hal_pwr.o
-HAL_PWR_EnableSEVOnPend build/stm32f1xx_hal_pwr.o
-HAL_PWR_EnableSleepOnExit build/stm32f1xx_hal_pwr.o
-HAL_PWR_EnableWakeUpPin build/stm32f1xx_hal_pwr.o
-HAL_PWR_EnterSLEEPMode build/stm32f1xx_hal_pwr.o
-HAL_PWR_EnterSTANDBYMode build/stm32f1xx_hal_pwr.o
-HAL_PWR_EnterSTOPMode build/stm32f1xx_hal_pwr.o
-HAL_PWR_PVDCallback build/stm32f1xx_hal_pwr.o
-HAL_PWR_PVD_IRQHandler build/stm32f1xx_hal_pwr.o
-HAL_RCCEx_GetPeriphCLKConfig build/stm32f1xx_hal_rcc_ex.o
-HAL_RCCEx_GetPeriphCLKFreq build/stm32f1xx_hal_rcc_ex.o
- build/stm32f1xx_hal_adc_ex.o
- build/stm32f1xx_hal_adc.o
-HAL_RCCEx_PeriphCLKConfig build/stm32f1xx_hal_rcc_ex.o
- build/main.o
-HAL_RCC_CSSCallback build/stm32f1xx_hal_rcc.o
-HAL_RCC_ClockConfig build/stm32f1xx_hal_rcc.o
- build/main.o
-HAL_RCC_DeInit build/stm32f1xx_hal_rcc.o
-HAL_RCC_DisableCSS build/stm32f1xx_hal_rcc.o
-HAL_RCC_EnableCSS build/stm32f1xx_hal_rcc.o
-HAL_RCC_GetClockConfig build/stm32f1xx_hal_rcc.o
-HAL_RCC_GetHCLKFreq build/stm32f1xx_hal_rcc.o
-HAL_RCC_GetOscConfig build/stm32f1xx_hal_rcc.o
-HAL_RCC_GetPCLK1Freq build/stm32f1xx_hal_rcc.o
- build/stm32f1xx_hal_uart.o
- build/stm32f1xx_hal_i2c.o
-HAL_RCC_GetPCLK2Freq build/stm32f1xx_hal_rcc.o
- build/stm32f1xx_hal_uart.o
- build/stm32f1xx_hal_rcc_ex.o
-HAL_RCC_GetSysClockFreq build/stm32f1xx_hal_rcc.o
- build/stm32f1xx_hal_rcc_ex.o
-HAL_RCC_MCOConfig build/stm32f1xx_hal_rcc.o
-HAL_RCC_NMI_IRQHandler build/stm32f1xx_hal_rcc.o
-HAL_RCC_OscConfig build/stm32f1xx_hal_rcc.o
- build/main.o
-HAL_ResumeTick build/stm32f1xx_hal.o
-HAL_SPI_Abort build/stm32f1xx_hal_spi.o
-HAL_SPI_AbortCpltCallback build/stm32f1xx_hal_spi.o
-HAL_SPI_Abort_IT build/stm32f1xx_hal_spi.o
-HAL_SPI_DMAPause build/stm32f1xx_hal_spi.o
-HAL_SPI_DMAResume build/stm32f1xx_hal_spi.o
-HAL_SPI_DMAStop build/stm32f1xx_hal_spi.o
-HAL_SPI_DeInit build/stm32f1xx_hal_spi.o
-HAL_SPI_ErrorCallback build/stm32f1xx_hal_spi.o
-HAL_SPI_GetError build/stm32f1xx_hal_spi.o
-HAL_SPI_GetState build/stm32f1xx_hal_spi.o
-HAL_SPI_IRQHandler build/stm32f1xx_hal_spi.o
-HAL_SPI_Init build/stm32f1xx_hal_spi.o
- build/spi.o
-HAL_SPI_MspDeInit build/spi.o
- build/stm32f1xx_hal_spi.o
-HAL_SPI_MspInit build/spi.o
- build/stm32f1xx_hal_spi.o
-HAL_SPI_Receive build/stm32f1xx_hal_spi.o
-HAL_SPI_Receive_DMA build/stm32f1xx_hal_spi.o
-HAL_SPI_Receive_IT build/stm32f1xx_hal_spi.o
-HAL_SPI_RxCpltCallback build/stm32f1xx_hal_spi.o
-HAL_SPI_RxHalfCpltCallback build/stm32f1xx_hal_spi.o
-HAL_SPI_Transmit build/stm32f1xx_hal_spi.o
-HAL_SPI_TransmitReceive build/stm32f1xx_hal_spi.o
-HAL_SPI_TransmitReceive_DMA build/stm32f1xx_hal_spi.o
-HAL_SPI_TransmitReceive_IT build/stm32f1xx_hal_spi.o
-HAL_SPI_Transmit_DMA build/stm32f1xx_hal_spi.o
-HAL_SPI_Transmit_IT build/stm32f1xx_hal_spi.o
-HAL_SPI_TxCpltCallback build/stm32f1xx_hal_spi.o
-HAL_SPI_TxHalfCpltCallback build/stm32f1xx_hal_spi.o
-HAL_SPI_TxRxCpltCallback build/stm32f1xx_hal_spi.o
-HAL_SPI_TxRxHalfCpltCallback build/stm32f1xx_hal_spi.o
-HAL_SYSTICK_CLKSourceConfig build/stm32f1xx_hal_cortex.o
-HAL_SYSTICK_Callback build/stm32f1xx_hal_cortex.o
-HAL_SYSTICK_Config build/stm32f1xx_hal_cortex.o
- build/stm32f1xx_hal.o
-HAL_SYSTICK_IRQHandler build/stm32f1xx_hal_cortex.o
-HAL_SetTickFreq build/stm32f1xx_hal.o
-HAL_SuspendTick build/stm32f1xx_hal.o
-HAL_TIMEx_BreakCallback build/stm32f1xx_hal_tim_ex.o
- build/stm32f1xx_hal_tim.o
-HAL_TIMEx_CommutCallback build/stm32f1xx_hal_tim_ex.o
- build/stm32f1xx_hal_tim.o
-HAL_TIMEx_CommutHalfCpltCallback build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_ConfigBreakDeadTime build/stm32f1xx_hal_tim_ex.o
- build/tim.o
-HAL_TIMEx_ConfigCommutEvent build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_ConfigCommutEvent_DMA build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_ConfigCommutEvent_IT build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_GetChannelNState build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_HallSensor_DeInit build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_HallSensor_GetState build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_HallSensor_Init build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_HallSensor_MspDeInit build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_HallSensor_MspInit build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_HallSensor_Start build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_HallSensor_Start_DMA build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_HallSensor_Start_IT build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_HallSensor_Stop build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_HallSensor_Stop_DMA build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_HallSensor_Stop_IT build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_MasterConfigSynchronization build/stm32f1xx_hal_tim_ex.o
- build/tim.o
-HAL_TIMEx_OCN_Start build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_OCN_Start_DMA build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_OCN_Start_IT build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_OCN_Stop build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_OCN_Stop_DMA build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_OCN_Stop_IT build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_OnePulseN_Start build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_OnePulseN_Start_IT build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_OnePulseN_Stop build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_OnePulseN_Stop_IT build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_PWMN_Start build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_PWMN_Start_DMA build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_PWMN_Start_IT build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_PWMN_Stop build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_PWMN_Stop_DMA build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_PWMN_Stop_IT build/stm32f1xx_hal_tim_ex.o
-HAL_TIMEx_RemapConfig build/stm32f1xx_hal_tim_ex.o
-HAL_TIM_Base_DeInit build/stm32f1xx_hal_tim.o
-HAL_TIM_Base_GetState build/stm32f1xx_hal_tim.o
-HAL_TIM_Base_Init build/stm32f1xx_hal_tim.o
- build/tim.o
-HAL_TIM_Base_MspDeInit build/tim.o
- build/stm32f1xx_hal_tim.o
-HAL_TIM_Base_MspInit build/tim.o
- build/stm32f1xx_hal_tim.o
-HAL_TIM_Base_Start build/stm32f1xx_hal_tim.o
-HAL_TIM_Base_Start_DMA build/stm32f1xx_hal_tim.o
-HAL_TIM_Base_Start_IT build/stm32f1xx_hal_tim.o
- build/user_main.o
-HAL_TIM_Base_Stop build/stm32f1xx_hal_tim.o
-HAL_TIM_Base_Stop_DMA build/stm32f1xx_hal_tim.o
-HAL_TIM_Base_Stop_IT build/stm32f1xx_hal_tim.o
-HAL_TIM_ConfigClockSource build/stm32f1xx_hal_tim.o
- build/tim.o
-HAL_TIM_ConfigOCrefClear build/stm32f1xx_hal_tim.o
-HAL_TIM_ConfigTI1Input build/stm32f1xx_hal_tim.o
-HAL_TIM_DMABurstState build/stm32f1xx_hal_tim.o
-HAL_TIM_DMABurst_MultiReadStart build/stm32f1xx_hal_tim.o
-HAL_TIM_DMABurst_MultiWriteStart build/stm32f1xx_hal_tim.o
-HAL_TIM_DMABurst_ReadStart build/stm32f1xx_hal_tim.o
-HAL_TIM_DMABurst_ReadStop build/stm32f1xx_hal_tim.o
-HAL_TIM_DMABurst_WriteStart build/stm32f1xx_hal_tim.o
-HAL_TIM_DMABurst_WriteStop build/stm32f1xx_hal_tim.o
-HAL_TIM_Encoder_DeInit build/stm32f1xx_hal_tim.o
-HAL_TIM_Encoder_GetState build/stm32f1xx_hal_tim.o
-HAL_TIM_Encoder_Init build/stm32f1xx_hal_tim.o
-HAL_TIM_Encoder_MspDeInit build/stm32f1xx_hal_tim.o
-HAL_TIM_Encoder_MspInit build/stm32f1xx_hal_tim.o
-HAL_TIM_Encoder_Start build/stm32f1xx_hal_tim.o
-HAL_TIM_Encoder_Start_DMA build/stm32f1xx_hal_tim.o
-HAL_TIM_Encoder_Start_IT build/stm32f1xx_hal_tim.o
-HAL_TIM_Encoder_Stop build/stm32f1xx_hal_tim.o
-HAL_TIM_Encoder_Stop_DMA build/stm32f1xx_hal_tim.o
-HAL_TIM_Encoder_Stop_IT build/stm32f1xx_hal_tim.o
-HAL_TIM_ErrorCallback build/stm32f1xx_hal_tim.o
- build/stm32f1xx_hal_tim_ex.o
-HAL_TIM_GenerateEvent build/stm32f1xx_hal_tim.o
-HAL_TIM_GetActiveChannel build/stm32f1xx_hal_tim.o
-HAL_TIM_GetChannelState build/stm32f1xx_hal_tim.o
-HAL_TIM_IC_CaptureCallback build/stm32f1xx_hal_tim.o
-HAL_TIM_IC_CaptureHalfCpltCallback build/stm32f1xx_hal_tim.o
-HAL_TIM_IC_ConfigChannel build/stm32f1xx_hal_tim.o
-HAL_TIM_IC_DeInit build/stm32f1xx_hal_tim.o
-HAL_TIM_IC_GetState build/stm32f1xx_hal_tim.o
-HAL_TIM_IC_Init build/stm32f1xx_hal_tim.o
-HAL_TIM_IC_MspDeInit build/stm32f1xx_hal_tim.o
-HAL_TIM_IC_MspInit build/stm32f1xx_hal_tim.o
-HAL_TIM_IC_Start build/stm32f1xx_hal_tim.o
-HAL_TIM_IC_Start_DMA build/stm32f1xx_hal_tim.o
-HAL_TIM_IC_Start_IT build/stm32f1xx_hal_tim.o
-HAL_TIM_IC_Stop build/stm32f1xx_hal_tim.o
-HAL_TIM_IC_Stop_DMA build/stm32f1xx_hal_tim.o
-HAL_TIM_IC_Stop_IT build/stm32f1xx_hal_tim.o
-HAL_TIM_IRQHandler build/stm32f1xx_hal_tim.o
- build/stm32f1xx_it.o
-HAL_TIM_MspPostInit build/tim.o
-HAL_TIM_OC_ConfigChannel build/stm32f1xx_hal_tim.o
-HAL_TIM_OC_DeInit build/stm32f1xx_hal_tim.o
-HAL_TIM_OC_DelayElapsedCallback build/stm32f1xx_hal_tim.o
-HAL_TIM_OC_GetState build/stm32f1xx_hal_tim.o
-HAL_TIM_OC_Init build/stm32f1xx_hal_tim.o
-HAL_TIM_OC_MspDeInit build/stm32f1xx_hal_tim.o
-HAL_TIM_OC_MspInit build/stm32f1xx_hal_tim.o
-HAL_TIM_OC_Start build/stm32f1xx_hal_tim.o
-HAL_TIM_OC_Start_DMA build/stm32f1xx_hal_tim.o
-HAL_TIM_OC_Start_IT build/stm32f1xx_hal_tim.o
-HAL_TIM_OC_Stop build/stm32f1xx_hal_tim.o
-HAL_TIM_OC_Stop_DMA build/stm32f1xx_hal_tim.o
-HAL_TIM_OC_Stop_IT build/stm32f1xx_hal_tim.o
-HAL_TIM_OnePulse_ConfigChannel build/stm32f1xx_hal_tim.o
-HAL_TIM_OnePulse_DeInit build/stm32f1xx_hal_tim.o
-HAL_TIM_OnePulse_GetState build/stm32f1xx_hal_tim.o
-HAL_TIM_OnePulse_Init build/stm32f1xx_hal_tim.o
-HAL_TIM_OnePulse_MspDeInit build/stm32f1xx_hal_tim.o
-HAL_TIM_OnePulse_MspInit build/stm32f1xx_hal_tim.o
-HAL_TIM_OnePulse_Start build/stm32f1xx_hal_tim.o
-HAL_TIM_OnePulse_Start_IT build/stm32f1xx_hal_tim.o
-HAL_TIM_OnePulse_Stop build/stm32f1xx_hal_tim.o
-HAL_TIM_OnePulse_Stop_IT build/stm32f1xx_hal_tim.o
-HAL_TIM_PWM_ConfigChannel build/stm32f1xx_hal_tim.o
- build/tim.o
-HAL_TIM_PWM_DeInit build/stm32f1xx_hal_tim.o
-HAL_TIM_PWM_GetState build/stm32f1xx_hal_tim.o
-HAL_TIM_PWM_Init build/stm32f1xx_hal_tim.o
- build/tim.o
-HAL_TIM_PWM_MspDeInit build/tim.o
- build/stm32f1xx_hal_tim.o
-HAL_TIM_PWM_MspInit build/tim.o
- build/stm32f1xx_hal_tim.o
-HAL_TIM_PWM_PulseFinishedCallback build/stm32f1xx_hal_tim.o
- build/stm32f1xx_hal_tim_ex.o
-HAL_TIM_PWM_PulseFinishedHalfCpltCallback build/stm32f1xx_hal_tim.o
-HAL_TIM_PWM_Start build/stm32f1xx_hal_tim.o
-HAL_TIM_PWM_Start_DMA build/stm32f1xx_hal_tim.o
-HAL_TIM_PWM_Start_IT build/stm32f1xx_hal_tim.o
-HAL_TIM_PWM_Stop build/stm32f1xx_hal_tim.o
-HAL_TIM_PWM_Stop_DMA build/stm32f1xx_hal_tim.o
-HAL_TIM_PWM_Stop_IT build/stm32f1xx_hal_tim.o
-HAL_TIM_PeriodElapsedCallback build/stm32f1xx_hal_tim.o
-HAL_TIM_PeriodElapsedHalfCpltCallback build/stm32f1xx_hal_tim.o
-HAL_TIM_ReadCapturedValue build/stm32f1xx_hal_tim.o
-HAL_TIM_SlaveConfigSynchro build/stm32f1xx_hal_tim.o
-HAL_TIM_SlaveConfigSynchro_IT build/stm32f1xx_hal_tim.o
-HAL_TIM_TriggerCallback build/stm32f1xx_hal_tim.o
-HAL_TIM_TriggerHalfCpltCallback build/stm32f1xx_hal_tim.o
-HAL_UART_Abort build/stm32f1xx_hal_uart.o
-HAL_UART_AbortCpltCallback build/stm32f1xx_hal_uart.o
-HAL_UART_AbortReceive build/stm32f1xx_hal_uart.o
-HAL_UART_AbortReceiveCpltCallback build/stm32f1xx_hal_uart.o
-HAL_UART_AbortReceive_IT build/stm32f1xx_hal_uart.o
-HAL_UART_AbortTransmit build/stm32f1xx_hal_uart.o
-HAL_UART_AbortTransmitCpltCallback build/stm32f1xx_hal_uart.o
-HAL_UART_AbortTransmit_IT build/stm32f1xx_hal_uart.o
-HAL_UART_Abort_IT build/stm32f1xx_hal_uart.o
-HAL_UART_DMAPause build/stm32f1xx_hal_uart.o
-HAL_UART_DMAResume build/stm32f1xx_hal_uart.o
-HAL_UART_DMAStop build/stm32f1xx_hal_uart.o
-HAL_UART_DeInit build/stm32f1xx_hal_uart.o
-HAL_UART_ErrorCallback build/stm32f1xx_hal_uart.o
-HAL_UART_GetError build/stm32f1xx_hal_uart.o
-HAL_UART_GetState build/stm32f1xx_hal_uart.o
-HAL_UART_IRQHandler build/stm32f1xx_hal_uart.o
-HAL_UART_Init build/stm32f1xx_hal_uart.o
- build/usart.o
-HAL_UART_MspDeInit build/usart.o
- build/stm32f1xx_hal_uart.o
-HAL_UART_MspInit build/usart.o
- build/stm32f1xx_hal_uart.o
-HAL_UART_Receive build/stm32f1xx_hal_uart.o
-HAL_UART_Receive_DMA build/stm32f1xx_hal_uart.o
-HAL_UART_Receive_IT build/stm32f1xx_hal_uart.o
-HAL_UART_RxCpltCallback build/stm32f1xx_hal_uart.o
-HAL_UART_RxHalfCpltCallback build/stm32f1xx_hal_uart.o
-HAL_UART_Transmit build/stm32f1xx_hal_uart.o
-HAL_UART_Transmit_DMA build/stm32f1xx_hal_uart.o
-HAL_UART_Transmit_IT build/stm32f1xx_hal_uart.o
-HAL_UART_TxCpltCallback build/stm32f1xx_hal_uart.o
-HAL_UART_TxHalfCpltCallback build/stm32f1xx_hal_uart.o
-HardFault_Handler build/stm32f1xx_it.o
-I2C1_ER_IRQHandler build/startup_stm32f103xe.o
-I2C1_EV_IRQHandler build/startup_stm32f103xe.o
-I2C2_ER_IRQHandler build/startup_stm32f103xe.o
-I2C2_EV_IRQHandler build/startup_stm32f103xe.o
-MX_ADC1_Init build/adc.o
- build/main.o
-MX_DAC_Init build/dac.o
- build/main.o
-MX_GPIO_Init build/gpio.o
- build/main.o
-MX_I2C1_Init build/i2c.o
- build/main.o
-MX_I2C2_Init build/i2c.o
- build/main.o
-MX_SPI1_Init build/spi.o
- build/main.o
-MX_SPI2_Init build/spi.o
- build/main.o
-MX_TIM3_Init build/tim.o
- build/main.o
-MX_TIM4_Init build/tim.o
- build/main.o
-MX_TIM8_Init build/tim.o
- build/main.o
-MX_UART4_Init build/usart.o
- build/main.o
-MX_USART1_UART_Init build/usart.o
- build/main.o
-MemManage_Handler build/stm32f1xx_it.o
-NMI_Handler build/stm32f1xx_it.o
-PVD_IRQHandler build/startup_stm32f103xe.o
-PendSV_Handler build/stm32f1xx_it.o
-RCC_IRQHandler build/startup_stm32f103xe.o
-RTC_Alarm_IRQHandler build/startup_stm32f103xe.o
-RTC_IRQHandler build/startup_stm32f103xe.o
-Reset_Handler build/startup_stm32f103xe.o
-SDIO_IRQHandler build/startup_stm32f103xe.o
-SPI1_IRQHandler build/startup_stm32f103xe.o
-SPI2_IRQHandler build/startup_stm32f103xe.o
-SPI3_IRQHandler build/startup_stm32f103xe.o
-SVC_Handler build/stm32f1xx_it.o
-SysTick_Handler build/stm32f1xx_it.o
-SystemClock_Config build/main.o
-SystemCoreClock build/system_stm32f1xx.o
- build/stm32f1xx_hal_spi.o
- build/stm32f1xx_hal_i2c.o
- build/stm32f1xx_hal_rcc.o
- build/stm32f1xx_hal.o
- build/stm32f1xx_hal_adc_ex.o
- build/stm32f1xx_hal_adc.o
-SystemCoreClockUpdate build/system_stm32f1xx.o
-SystemInit build/system_stm32f1xx.o
- build/startup_stm32f103xe.o
-TAMPER_IRQHandler build/startup_stm32f103xe.o
-TIM1_BRK_IRQHandler build/startup_stm32f103xe.o
-TIM1_CC_IRQHandler build/startup_stm32f103xe.o
-TIM1_TRG_COM_IRQHandler build/startup_stm32f103xe.o
-TIM1_UP_IRQHandler build/startup_stm32f103xe.o
-TIM2_IRQHandler build/startup_stm32f103xe.o
-TIM3_IRQHandler build/startup_stm32f103xe.o
-TIM4_IRQHandler build/stm32f1xx_it.o
-TIM5_IRQHandler build/startup_stm32f103xe.o
-TIM6_IRQHandler build/startup_stm32f103xe.o
-TIM7_IRQHandler build/startup_stm32f103xe.o
-TIM8_BRK_IRQHandler build/startup_stm32f103xe.o
-TIM8_CC_IRQHandler build/startup_stm32f103xe.o
-TIM8_TRG_COM_IRQHandler build/startup_stm32f103xe.o
-TIM8_UP_IRQHandler build/startup_stm32f103xe.o
-TIMEx_DMACommutationCplt build/stm32f1xx_hal_tim_ex.o
- build/stm32f1xx_hal_tim.o
-TIMEx_DMACommutationHalfCplt build/stm32f1xx_hal_tim_ex.o
- build/stm32f1xx_hal_tim.o
-TIM_Base_SetConfig build/stm32f1xx_hal_tim.o
- build/stm32f1xx_hal_tim_ex.o
-TIM_CCxChannelCmd build/stm32f1xx_hal_tim.o
- build/stm32f1xx_hal_tim_ex.o
-TIM_DMACaptureCplt build/stm32f1xx_hal_tim.o
- build/stm32f1xx_hal_tim_ex.o
-TIM_DMACaptureHalfCplt build/stm32f1xx_hal_tim.o
- build/stm32f1xx_hal_tim_ex.o
-TIM_DMADelayPulseHalfCplt build/stm32f1xx_hal_tim.o
- build/stm32f1xx_hal_tim_ex.o
-TIM_DMAError build/stm32f1xx_hal_tim.o
- build/stm32f1xx_hal_tim_ex.o
-TIM_ETR_SetConfig build/stm32f1xx_hal_tim.o
-TIM_OC2_SetConfig build/stm32f1xx_hal_tim.o
- build/stm32f1xx_hal_tim_ex.o
-TIM_TI1_SetConfig build/stm32f1xx_hal_tim.o
- build/stm32f1xx_hal_tim_ex.o
-UART4_IRQHandler build/startup_stm32f103xe.o
-UART5_IRQHandler build/startup_stm32f103xe.o
-USART1_IRQHandler build/startup_stm32f103xe.o
-USART2_IRQHandler build/startup_stm32f103xe.o
-USART3_IRQHandler build/startup_stm32f103xe.o
-USBWakeUp_IRQHandler build/startup_stm32f103xe.o
-USB_HP_CAN1_TX_IRQHandler build/startup_stm32f103xe.o
-USB_LP_CAN1_RX0_IRQHandler build/startup_stm32f103xe.o
-UsageFault_Handler build/stm32f1xx_it.o
-WWDG_IRQHandler build/startup_stm32f103xe.o
-_Jv_RegisterClasses /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtbegin.o
-__bss_end__ /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/crt0.o
-__bss_start__ /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/crt0.o
-__call_exitprocs /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-exit.o)
-__deregister_frame_info /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtbegin.o
-__dso_handle /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtbegin.o
-__init_array_end /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-init.o)
-__init_array_start /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-init.o)
-__libc_fini_array /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/crt0.o
-__libc_init_array /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-init.o)
- build/startup_stm32f103xe.o
- /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/crt0.o
-__preinit_array_end /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-init.o)
-__preinit_array_start /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-init.o)
-__register_frame_info /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crtbegin.o
-__sf_fake_stderr /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-impure.o)
-__sf_fake_stdin /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-impure.o)
-__sf_fake_stdout /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-impure.o)
-__stack /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/crt0.o
-_ebss build/startup_stm32f103xe.o
-_edata build/startup_stm32f103xe.o
-_estack build/startup_stm32f103xe.o
-_exit /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libnosys.a(_exit.o)
- /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-exit.o)
-_fini /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crti.o
-_global_impure_ptr /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-impure.o)
- /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-exit.o)
-_impure_ptr /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-impure.o)
-_init /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/thumb/v7-m/crti.o
- /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-init.o)
-_mainCRTStartup /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/crt0.o
-_sbss build/startup_stm32f103xe.o
-_sdata build/startup_stm32f103xe.o
-_sidata build/startup_stm32f103xe.o
-_start /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/crt0.o
-atexit /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/crt0.o
-exit /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-exit.o)
- /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/crt0.o
-g_pfnVectors build/startup_stm32f103xe.o
-hadc1 build/adc.o
-hardware_init_hook /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/crt0.o
-hdac build/dac.o
-hi2c1 build/i2c.o
-hi2c2 build/i2c.o
-hspi1 build/spi.o
-hspi2 build/spi.o
-htim3 build/tim.o
-htim4 build/tim.o
- build/user_main.o
- build/stm32f1xx_it.o
-htim8 build/tim.o
-huart1 build/usart.o
-huart4 build/usart.o
-main build/main.o
- build/startup_stm32f103xe.o
- /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/crt0.o
-memset /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/libc_nano.a(lib_a-memset.o)
- build/tim.o
- build/main.o
- /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/crt0.o
-pFlash build/stm32f1xx_hal_flash.o
- build/stm32f1xx_hal_flash_ex.o
-software_init_hook /home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m/crt0.o
-timer4_isr build/user_isr.o
- build/stm32f1xx_it.o
-user_loop build/user_main.o
- build/main.o
-user_setup build/user_main.o
- build/main.o
-uwTick build/stm32f1xx_hal.o
-uwTickFreq build/stm32f1xx_hal.o
-uwTickPrio build/stm32f1xx_hal.o
- build/stm32f1xx_hal_rcc.o
diff --git a/build/adc.d b/build/adc.d
deleted file mode 100644
index 65e5fbb..0000000
--- a/build/adc.d
+++ /dev/null
@@ -1,96 +0,0 @@
-build/adc.o: Core/Src/adc.c Core/Inc/adc.h Core/Inc/main.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Core/Inc/adc.h:
-
-Core/Inc/main.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/adc.lst b/build/adc.lst
deleted file mode 100644
index 8103c0e..0000000
--- a/build/adc.lst
+++ /dev/null
@@ -1,529 +0,0 @@
-ARM GAS /tmp/ccP0CRLP.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "adc.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.MX_ADC1_Init,"ax",%progbits
- 16 .align 1
- 17 .global MX_ADC1_Init
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 MX_ADC1_Init:
- 24 .LFB65:
- 25 .file 1 "Core/Src/adc.c"
- 1:Core/Src/adc.c **** /**
- 2:Core/Src/adc.c **** ******************************************************************************
- 3:Core/Src/adc.c **** * @file adc.c
- 4:Core/Src/adc.c **** * @brief This file provides code for the configuration
- 5:Core/Src/adc.c **** * of the ADC instances.
- 6:Core/Src/adc.c **** ******************************************************************************
- 7:Core/Src/adc.c **** * @attention
- 8:Core/Src/adc.c **** *
- 9:Core/Src/adc.c **** * © Copyright (c) 2021 STMicroelectronics.
- 10:Core/Src/adc.c **** * All rights reserved.
- 11:Core/Src/adc.c **** *
- 12:Core/Src/adc.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 13:Core/Src/adc.c **** * the "License"; You may not use this file except in compliance with the
- 14:Core/Src/adc.c **** * License. You may obtain a copy of the License at:
- 15:Core/Src/adc.c **** * opensource.org/licenses/BSD-3-Clause
- 16:Core/Src/adc.c **** *
- 17:Core/Src/adc.c **** ******************************************************************************
- 18:Core/Src/adc.c **** */
- 19:Core/Src/adc.c ****
- 20:Core/Src/adc.c **** /* Includes ------------------------------------------------------------------*/
- 21:Core/Src/adc.c **** #include "adc.h"
- 22:Core/Src/adc.c ****
- 23:Core/Src/adc.c **** /* USER CODE BEGIN 0 */
- 24:Core/Src/adc.c ****
- 25:Core/Src/adc.c **** /* USER CODE END 0 */
- 26:Core/Src/adc.c ****
- 27:Core/Src/adc.c **** ADC_HandleTypeDef hadc1;
- 28:Core/Src/adc.c ****
- 29:Core/Src/adc.c **** /* ADC1 init function */
- 30:Core/Src/adc.c **** void MX_ADC1_Init(void)
- 31:Core/Src/adc.c **** {
- 26 .loc 1 31 0
- 27 .cfi_startproc
-ARM GAS /tmp/ccP0CRLP.s page 2
-
-
- 28 @ args = 0, pretend = 0, frame = 16
- 29 @ frame_needed = 0, uses_anonymous_args = 0
- 30 0000 00B5 push {lr}
- 31 .LCFI0:
- 32 .cfi_def_cfa_offset 4
- 33 .cfi_offset 14, -4
- 34 0002 85B0 sub sp, sp, #20
- 35 .LCFI1:
- 36 .cfi_def_cfa_offset 24
- 32:Core/Src/adc.c ****
- 33:Core/Src/adc.c **** /* USER CODE BEGIN ADC1_Init 0 */
- 34:Core/Src/adc.c ****
- 35:Core/Src/adc.c **** /* USER CODE END ADC1_Init 0 */
- 36:Core/Src/adc.c ****
- 37:Core/Src/adc.c **** ADC_ChannelConfTypeDef sConfig = {0};
- 37 .loc 1 37 0
- 38 0004 0023 movs r3, #0
- 39 0006 0193 str r3, [sp, #4]
- 40 0008 0293 str r3, [sp, #8]
- 41 000a 0393 str r3, [sp, #12]
- 38:Core/Src/adc.c ****
- 39:Core/Src/adc.c **** /* USER CODE BEGIN ADC1_Init 1 */
- 40:Core/Src/adc.c ****
- 41:Core/Src/adc.c **** /* USER CODE END ADC1_Init 1 */
- 42:Core/Src/adc.c **** /** Common config
- 43:Core/Src/adc.c **** */
- 44:Core/Src/adc.c **** hadc1.Instance = ADC1;
- 42 .loc 1 44 0
- 43 000c 1048 ldr r0, .L7
- 44 000e 114A ldr r2, .L7+4
- 45 0010 0260 str r2, [r0]
- 45:Core/Src/adc.c **** hadc1.Init.ScanConvMode = ADC_SCAN_DISABLE;
- 46 .loc 1 45 0
- 47 0012 8360 str r3, [r0, #8]
- 46:Core/Src/adc.c **** hadc1.Init.ContinuousConvMode = DISABLE;
- 48 .loc 1 46 0
- 49 0014 0373 strb r3, [r0, #12]
- 47:Core/Src/adc.c **** hadc1.Init.DiscontinuousConvMode = DISABLE;
- 50 .loc 1 47 0
- 51 0016 0375 strb r3, [r0, #20]
- 48:Core/Src/adc.c **** hadc1.Init.ExternalTrigConv = ADC_SOFTWARE_START;
- 52 .loc 1 48 0
- 53 0018 4FF46022 mov r2, #917504
- 54 001c C261 str r2, [r0, #28]
- 49:Core/Src/adc.c **** hadc1.Init.DataAlign = ADC_DATAALIGN_RIGHT;
- 55 .loc 1 49 0
- 56 001e 4360 str r3, [r0, #4]
- 50:Core/Src/adc.c **** hadc1.Init.NbrOfConversion = 1;
- 57 .loc 1 50 0
- 58 0020 0123 movs r3, #1
- 59 0022 0361 str r3, [r0, #16]
- 51:Core/Src/adc.c **** if (HAL_ADC_Init(&hadc1) != HAL_OK)
- 60 .loc 1 51 0
- 61 0024 FFF7FEFF bl HAL_ADC_Init
- 62 .LVL0:
- 63 0028 60B9 cbnz r0, .L5
- 64 .L2:
-ARM GAS /tmp/ccP0CRLP.s page 3
-
-
- 52:Core/Src/adc.c **** {
- 53:Core/Src/adc.c **** Error_Handler();
- 54:Core/Src/adc.c **** }
- 55:Core/Src/adc.c **** /** Configure Regular Channel
- 56:Core/Src/adc.c **** */
- 57:Core/Src/adc.c **** sConfig.Channel = ADC_CHANNEL_0;
- 65 .loc 1 57 0
- 66 002a 0023 movs r3, #0
- 67 002c 0193 str r3, [sp, #4]
- 58:Core/Src/adc.c **** sConfig.Rank = ADC_REGULAR_RANK_1;
- 68 .loc 1 58 0
- 69 002e 0122 movs r2, #1
- 70 0030 0292 str r2, [sp, #8]
- 59:Core/Src/adc.c **** sConfig.SamplingTime = ADC_SAMPLETIME_1CYCLE_5;
- 71 .loc 1 59 0
- 72 0032 0393 str r3, [sp, #12]
- 60:Core/Src/adc.c **** if (HAL_ADC_ConfigChannel(&hadc1, &sConfig) != HAL_OK)
- 73 .loc 1 60 0
- 74 0034 01A9 add r1, sp, #4
- 75 0036 0648 ldr r0, .L7
- 76 0038 FFF7FEFF bl HAL_ADC_ConfigChannel
- 77 .LVL1:
- 78 003c 28B9 cbnz r0, .L6
- 79 .L1:
- 61:Core/Src/adc.c **** {
- 62:Core/Src/adc.c **** Error_Handler();
- 63:Core/Src/adc.c **** }
- 64:Core/Src/adc.c **** /* USER CODE BEGIN ADC1_Init 2 */
- 65:Core/Src/adc.c ****
- 66:Core/Src/adc.c **** /* USER CODE END ADC1_Init 2 */
- 67:Core/Src/adc.c ****
- 68:Core/Src/adc.c **** }
- 80 .loc 1 68 0
- 81 003e 05B0 add sp, sp, #20
- 82 .LCFI2:
- 83 .cfi_remember_state
- 84 .cfi_def_cfa_offset 4
- 85 @ sp needed
- 86 0040 5DF804FB ldr pc, [sp], #4
- 87 .L5:
- 88 .LCFI3:
- 89 .cfi_restore_state
- 53:Core/Src/adc.c **** }
- 90 .loc 1 53 0
- 91 0044 FFF7FEFF bl Error_Handler
- 92 .LVL2:
- 93 0048 EFE7 b .L2
- 94 .L6:
- 62:Core/Src/adc.c **** }
- 95 .loc 1 62 0
- 96 004a FFF7FEFF bl Error_Handler
- 97 .LVL3:
- 98 .loc 1 68 0
- 99 004e F6E7 b .L1
- 100 .L8:
- 101 .align 2
- 102 .L7:
-ARM GAS /tmp/ccP0CRLP.s page 4
-
-
- 103 0050 00000000 .word hadc1
- 104 0054 00240140 .word 1073816576
- 105 .cfi_endproc
- 106 .LFE65:
- 108 .section .text.HAL_ADC_MspInit,"ax",%progbits
- 109 .align 1
- 110 .global HAL_ADC_MspInit
- 111 .syntax unified
- 112 .thumb
- 113 .thumb_func
- 114 .fpu softvfp
- 116 HAL_ADC_MspInit:
- 117 .LFB66:
- 69:Core/Src/adc.c ****
- 70:Core/Src/adc.c **** void HAL_ADC_MspInit(ADC_HandleTypeDef* adcHandle)
- 71:Core/Src/adc.c **** {
- 118 .loc 1 71 0
- 119 .cfi_startproc
- 120 @ args = 0, pretend = 0, frame = 32
- 121 @ frame_needed = 0, uses_anonymous_args = 0
- 122 .LVL4:
- 123 0000 10B5 push {r4, lr}
- 124 .LCFI4:
- 125 .cfi_def_cfa_offset 8
- 126 .cfi_offset 4, -8
- 127 .cfi_offset 14, -4
- 128 0002 88B0 sub sp, sp, #32
- 129 .LCFI5:
- 130 .cfi_def_cfa_offset 40
- 72:Core/Src/adc.c ****
- 73:Core/Src/adc.c **** GPIO_InitTypeDef GPIO_InitStruct = {0};
- 131 .loc 1 73 0
- 132 0004 0023 movs r3, #0
- 133 0006 0493 str r3, [sp, #16]
- 134 0008 0593 str r3, [sp, #20]
- 135 000a 0693 str r3, [sp, #24]
- 136 000c 0793 str r3, [sp, #28]
- 74:Core/Src/adc.c **** if(adcHandle->Instance==ADC1)
- 137 .loc 1 74 0
- 138 000e 0268 ldr r2, [r0]
- 139 0010 204B ldr r3, .L13
- 140 0012 9A42 cmp r2, r3
- 141 0014 01D0 beq .L12
- 142 .LVL5:
- 143 .L9:
- 75:Core/Src/adc.c **** {
- 76:Core/Src/adc.c **** /* USER CODE BEGIN ADC1_MspInit 0 */
- 77:Core/Src/adc.c ****
- 78:Core/Src/adc.c **** /* USER CODE END ADC1_MspInit 0 */
- 79:Core/Src/adc.c **** /* ADC1 clock enable */
- 80:Core/Src/adc.c **** __HAL_RCC_ADC1_CLK_ENABLE();
- 81:Core/Src/adc.c ****
- 82:Core/Src/adc.c **** __HAL_RCC_GPIOC_CLK_ENABLE();
- 83:Core/Src/adc.c **** __HAL_RCC_GPIOA_CLK_ENABLE();
- 84:Core/Src/adc.c **** __HAL_RCC_GPIOB_CLK_ENABLE();
- 85:Core/Src/adc.c **** /**ADC1 GPIO Configuration
- 86:Core/Src/adc.c **** PC2 ------> ADC1_IN12
-ARM GAS /tmp/ccP0CRLP.s page 5
-
-
- 87:Core/Src/adc.c **** PA0-WKUP ------> ADC1_IN0
- 88:Core/Src/adc.c **** PA1 ------> ADC1_IN1
- 89:Core/Src/adc.c **** PA2 ------> ADC1_IN2
- 90:Core/Src/adc.c **** PA3 ------> ADC1_IN3
- 91:Core/Src/adc.c **** PA6 ------> ADC1_IN6
- 92:Core/Src/adc.c **** PA7 ------> ADC1_IN7
- 93:Core/Src/adc.c **** PC4 ------> ADC1_IN14
- 94:Core/Src/adc.c **** PC5 ------> ADC1_IN15
- 95:Core/Src/adc.c **** PB0 ------> ADC1_IN8
- 96:Core/Src/adc.c **** PB1 ------> ADC1_IN9
- 97:Core/Src/adc.c **** */
- 98:Core/Src/adc.c **** GPIO_InitStruct.Pin = GPIO_PIN_2|GPIO_PIN_4|GPIO_PIN_5;
- 99:Core/Src/adc.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
- 100:Core/Src/adc.c **** HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
- 101:Core/Src/adc.c ****
- 102:Core/Src/adc.c **** GPIO_InitStruct.Pin = GPIO_PIN_0|GPIO_PIN_1|GPIO_PIN_2|GPIO_PIN_3
- 103:Core/Src/adc.c **** |GPIO_PIN_6|GPIO_PIN_7;
- 104:Core/Src/adc.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
- 105:Core/Src/adc.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 106:Core/Src/adc.c ****
- 107:Core/Src/adc.c **** GPIO_InitStruct.Pin = GPIO_PIN_0|GPIO_PIN_1;
- 108:Core/Src/adc.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
- 109:Core/Src/adc.c **** HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
- 110:Core/Src/adc.c ****
- 111:Core/Src/adc.c **** /* USER CODE BEGIN ADC1_MspInit 1 */
- 112:Core/Src/adc.c ****
- 113:Core/Src/adc.c **** /* USER CODE END ADC1_MspInit 1 */
- 114:Core/Src/adc.c **** }
- 115:Core/Src/adc.c **** }
- 144 .loc 1 115 0
- 145 0016 08B0 add sp, sp, #32
- 146 .LCFI6:
- 147 .cfi_remember_state
- 148 .cfi_def_cfa_offset 8
- 149 @ sp needed
- 150 0018 10BD pop {r4, pc}
- 151 .LVL6:
- 152 .L12:
- 153 .LCFI7:
- 154 .cfi_restore_state
- 155 .LBB2:
- 80:Core/Src/adc.c ****
- 156 .loc 1 80 0
- 157 001a 03F56C43 add r3, r3, #60416
- 158 001e 9A69 ldr r2, [r3, #24]
- 159 0020 42F40072 orr r2, r2, #512
- 160 0024 9A61 str r2, [r3, #24]
- 161 0026 9A69 ldr r2, [r3, #24]
- 162 0028 02F40072 and r2, r2, #512
- 163 002c 0092 str r2, [sp]
- 164 002e 009A ldr r2, [sp]
- 165 .LBE2:
- 166 .LBB3:
- 82:Core/Src/adc.c **** __HAL_RCC_GPIOA_CLK_ENABLE();
- 167 .loc 1 82 0
- 168 0030 9A69 ldr r2, [r3, #24]
- 169 0032 42F01002 orr r2, r2, #16
-ARM GAS /tmp/ccP0CRLP.s page 6
-
-
- 170 0036 9A61 str r2, [r3, #24]
- 171 0038 9A69 ldr r2, [r3, #24]
- 172 003a 02F01002 and r2, r2, #16
- 173 003e 0192 str r2, [sp, #4]
- 174 0040 019A ldr r2, [sp, #4]
- 175 .LBE3:
- 176 .LBB4:
- 83:Core/Src/adc.c **** __HAL_RCC_GPIOB_CLK_ENABLE();
- 177 .loc 1 83 0
- 178 0042 9A69 ldr r2, [r3, #24]
- 179 0044 42F00402 orr r2, r2, #4
- 180 0048 9A61 str r2, [r3, #24]
- 181 004a 9A69 ldr r2, [r3, #24]
- 182 004c 02F00402 and r2, r2, #4
- 183 0050 0292 str r2, [sp, #8]
- 184 0052 029A ldr r2, [sp, #8]
- 185 .LBE4:
- 186 .LBB5:
- 84:Core/Src/adc.c **** /**ADC1 GPIO Configuration
- 187 .loc 1 84 0
- 188 0054 9A69 ldr r2, [r3, #24]
- 189 0056 42F00802 orr r2, r2, #8
- 190 005a 9A61 str r2, [r3, #24]
- 191 005c 9B69 ldr r3, [r3, #24]
- 192 005e 03F00803 and r3, r3, #8
- 193 0062 0393 str r3, [sp, #12]
- 194 0064 039B ldr r3, [sp, #12]
- 195 .LBE5:
- 98:Core/Src/adc.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
- 196 .loc 1 98 0
- 197 0066 3423 movs r3, #52
- 198 0068 0493 str r3, [sp, #16]
- 99:Core/Src/adc.c **** HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
- 199 .loc 1 99 0
- 200 006a 0324 movs r4, #3
- 201 006c 0594 str r4, [sp, #20]
- 100:Core/Src/adc.c ****
- 202 .loc 1 100 0
- 203 006e 04A9 add r1, sp, #16
- 204 0070 0948 ldr r0, .L13+4
- 205 .LVL7:
- 206 0072 FFF7FEFF bl HAL_GPIO_Init
- 207 .LVL8:
- 102:Core/Src/adc.c **** |GPIO_PIN_6|GPIO_PIN_7;
- 208 .loc 1 102 0
- 209 0076 CF23 movs r3, #207
- 210 0078 0493 str r3, [sp, #16]
- 104:Core/Src/adc.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 211 .loc 1 104 0
- 212 007a 0594 str r4, [sp, #20]
- 105:Core/Src/adc.c ****
- 213 .loc 1 105 0
- 214 007c 04A9 add r1, sp, #16
- 215 007e 0748 ldr r0, .L13+8
- 216 0080 FFF7FEFF bl HAL_GPIO_Init
- 217 .LVL9:
- 107:Core/Src/adc.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
-ARM GAS /tmp/ccP0CRLP.s page 7
-
-
- 218 .loc 1 107 0
- 219 0084 0494 str r4, [sp, #16]
- 108:Core/Src/adc.c **** HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
- 220 .loc 1 108 0
- 221 0086 0594 str r4, [sp, #20]
- 109:Core/Src/adc.c ****
- 222 .loc 1 109 0
- 223 0088 04A9 add r1, sp, #16
- 224 008a 0548 ldr r0, .L13+12
- 225 008c FFF7FEFF bl HAL_GPIO_Init
- 226 .LVL10:
- 227 .loc 1 115 0
- 228 0090 C1E7 b .L9
- 229 .L14:
- 230 0092 00BF .align 2
- 231 .L13:
- 232 0094 00240140 .word 1073816576
- 233 0098 00100140 .word 1073811456
- 234 009c 00080140 .word 1073809408
- 235 00a0 000C0140 .word 1073810432
- 236 .cfi_endproc
- 237 .LFE66:
- 239 .section .text.HAL_ADC_MspDeInit,"ax",%progbits
- 240 .align 1
- 241 .global HAL_ADC_MspDeInit
- 242 .syntax unified
- 243 .thumb
- 244 .thumb_func
- 245 .fpu softvfp
- 247 HAL_ADC_MspDeInit:
- 248 .LFB67:
- 116:Core/Src/adc.c ****
- 117:Core/Src/adc.c **** void HAL_ADC_MspDeInit(ADC_HandleTypeDef* adcHandle)
- 118:Core/Src/adc.c **** {
- 249 .loc 1 118 0
- 250 .cfi_startproc
- 251 @ args = 0, pretend = 0, frame = 0
- 252 @ frame_needed = 0, uses_anonymous_args = 0
- 253 .LVL11:
- 254 0000 08B5 push {r3, lr}
- 255 .LCFI8:
- 256 .cfi_def_cfa_offset 8
- 257 .cfi_offset 3, -8
- 258 .cfi_offset 14, -4
- 119:Core/Src/adc.c ****
- 120:Core/Src/adc.c **** if(adcHandle->Instance==ADC1)
- 259 .loc 1 120 0
- 260 0002 0268 ldr r2, [r0]
- 261 0004 0A4B ldr r3, .L19
- 262 0006 9A42 cmp r2, r3
- 263 0008 00D0 beq .L18
- 264 .LVL12:
- 265 .L15:
- 266 000a 08BD pop {r3, pc}
- 267 .LVL13:
- 268 .L18:
- 121:Core/Src/adc.c **** {
-ARM GAS /tmp/ccP0CRLP.s page 8
-
-
- 122:Core/Src/adc.c **** /* USER CODE BEGIN ADC1_MspDeInit 0 */
- 123:Core/Src/adc.c ****
- 124:Core/Src/adc.c **** /* USER CODE END ADC1_MspDeInit 0 */
- 125:Core/Src/adc.c **** /* Peripheral clock disable */
- 126:Core/Src/adc.c **** __HAL_RCC_ADC1_CLK_DISABLE();
- 269 .loc 1 126 0
- 270 000c 094A ldr r2, .L19+4
- 271 000e 9369 ldr r3, [r2, #24]
- 272 0010 23F40073 bic r3, r3, #512
- 273 0014 9361 str r3, [r2, #24]
- 127:Core/Src/adc.c ****
- 128:Core/Src/adc.c **** /**ADC1 GPIO Configuration
- 129:Core/Src/adc.c **** PC2 ------> ADC1_IN12
- 130:Core/Src/adc.c **** PA0-WKUP ------> ADC1_IN0
- 131:Core/Src/adc.c **** PA1 ------> ADC1_IN1
- 132:Core/Src/adc.c **** PA2 ------> ADC1_IN2
- 133:Core/Src/adc.c **** PA3 ------> ADC1_IN3
- 134:Core/Src/adc.c **** PA6 ------> ADC1_IN6
- 135:Core/Src/adc.c **** PA7 ------> ADC1_IN7
- 136:Core/Src/adc.c **** PC4 ------> ADC1_IN14
- 137:Core/Src/adc.c **** PC5 ------> ADC1_IN15
- 138:Core/Src/adc.c **** PB0 ------> ADC1_IN8
- 139:Core/Src/adc.c **** PB1 ------> ADC1_IN9
- 140:Core/Src/adc.c **** */
- 141:Core/Src/adc.c **** HAL_GPIO_DeInit(GPIOC, GPIO_PIN_2|GPIO_PIN_4|GPIO_PIN_5);
- 274 .loc 1 141 0
- 275 0016 3421 movs r1, #52
- 276 0018 0748 ldr r0, .L19+8
- 277 .LVL14:
- 278 001a FFF7FEFF bl HAL_GPIO_DeInit
- 279 .LVL15:
- 142:Core/Src/adc.c ****
- 143:Core/Src/adc.c **** HAL_GPIO_DeInit(GPIOA, GPIO_PIN_0|GPIO_PIN_1|GPIO_PIN_2|GPIO_PIN_3
- 280 .loc 1 143 0
- 281 001e CF21 movs r1, #207
- 282 0020 0648 ldr r0, .L19+12
- 283 0022 FFF7FEFF bl HAL_GPIO_DeInit
- 284 .LVL16:
- 144:Core/Src/adc.c **** |GPIO_PIN_6|GPIO_PIN_7);
- 145:Core/Src/adc.c ****
- 146:Core/Src/adc.c **** HAL_GPIO_DeInit(GPIOB, GPIO_PIN_0|GPIO_PIN_1);
- 285 .loc 1 146 0
- 286 0026 0321 movs r1, #3
- 287 0028 0548 ldr r0, .L19+16
- 288 002a FFF7FEFF bl HAL_GPIO_DeInit
- 289 .LVL17:
- 147:Core/Src/adc.c ****
- 148:Core/Src/adc.c **** /* USER CODE BEGIN ADC1_MspDeInit 1 */
- 149:Core/Src/adc.c ****
- 150:Core/Src/adc.c **** /* USER CODE END ADC1_MspDeInit 1 */
- 151:Core/Src/adc.c **** }
- 152:Core/Src/adc.c **** }
- 290 .loc 1 152 0
- 291 002e ECE7 b .L15
- 292 .L20:
- 293 .align 2
- 294 .L19:
-ARM GAS /tmp/ccP0CRLP.s page 9
-
-
- 295 0030 00240140 .word 1073816576
- 296 0034 00100240 .word 1073876992
- 297 0038 00100140 .word 1073811456
- 298 003c 00080140 .word 1073809408
- 299 0040 000C0140 .word 1073810432
- 300 .cfi_endproc
- 301 .LFE67:
- 303 .comm hadc1,48,4
- 304 .text
- 305 .Letext0:
- 306 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 307 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 308 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 309 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 310 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 311 .file 7 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h"
- 312 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 313 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h"
- 314 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
- 315 .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h"
- 316 .file 12 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
- 317 .file 13 "Core/Inc/adc.h"
- 318 .file 14 "Core/Inc/main.h"
-ARM GAS /tmp/ccP0CRLP.s page 10
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 adc.c
- /tmp/ccP0CRLP.s:16 .text.MX_ADC1_Init:0000000000000000 $t
- /tmp/ccP0CRLP.s:23 .text.MX_ADC1_Init:0000000000000000 MX_ADC1_Init
- /tmp/ccP0CRLP.s:103 .text.MX_ADC1_Init:0000000000000050 $d
- *COM*:0000000000000030 hadc1
- /tmp/ccP0CRLP.s:109 .text.HAL_ADC_MspInit:0000000000000000 $t
- /tmp/ccP0CRLP.s:116 .text.HAL_ADC_MspInit:0000000000000000 HAL_ADC_MspInit
- /tmp/ccP0CRLP.s:232 .text.HAL_ADC_MspInit:0000000000000094 $d
- /tmp/ccP0CRLP.s:240 .text.HAL_ADC_MspDeInit:0000000000000000 $t
- /tmp/ccP0CRLP.s:247 .text.HAL_ADC_MspDeInit:0000000000000000 HAL_ADC_MspDeInit
- /tmp/ccP0CRLP.s:295 .text.HAL_ADC_MspDeInit:0000000000000030 $d
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-HAL_ADC_Init
-HAL_ADC_ConfigChannel
-Error_Handler
-HAL_GPIO_Init
-HAL_GPIO_DeInit
diff --git a/build/adc.o b/build/adc.o
deleted file mode 100644
index 03661cf..0000000
Binary files a/build/adc.o and /dev/null differ
diff --git a/build/dac.d b/build/dac.d
deleted file mode 100644
index 09271b3..0000000
--- a/build/dac.d
+++ /dev/null
@@ -1,96 +0,0 @@
-build/dac.o: Core/Src/dac.c Core/Inc/dac.h Core/Inc/main.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Core/Inc/dac.h:
-
-Core/Inc/main.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/dac.lst b/build/dac.lst
deleted file mode 100644
index 07530a1..0000000
--- a/build/dac.lst
+++ /dev/null
@@ -1,421 +0,0 @@
-ARM GAS /tmp/ccOso6GW.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "dac.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.MX_DAC_Init,"ax",%progbits
- 16 .align 1
- 17 .global MX_DAC_Init
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 MX_DAC_Init:
- 24 .LFB65:
- 25 .file 1 "Core/Src/dac.c"
- 1:Core/Src/dac.c **** /**
- 2:Core/Src/dac.c **** ******************************************************************************
- 3:Core/Src/dac.c **** * @file dac.c
- 4:Core/Src/dac.c **** * @brief This file provides code for the configuration
- 5:Core/Src/dac.c **** * of the DAC instances.
- 6:Core/Src/dac.c **** ******************************************************************************
- 7:Core/Src/dac.c **** * @attention
- 8:Core/Src/dac.c **** *
- 9:Core/Src/dac.c **** * © Copyright (c) 2021 STMicroelectronics.
- 10:Core/Src/dac.c **** * All rights reserved.
- 11:Core/Src/dac.c **** *
- 12:Core/Src/dac.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 13:Core/Src/dac.c **** * the "License"; You may not use this file except in compliance with the
- 14:Core/Src/dac.c **** * License. You may obtain a copy of the License at:
- 15:Core/Src/dac.c **** * opensource.org/licenses/BSD-3-Clause
- 16:Core/Src/dac.c **** *
- 17:Core/Src/dac.c **** ******************************************************************************
- 18:Core/Src/dac.c **** */
- 19:Core/Src/dac.c ****
- 20:Core/Src/dac.c **** /* Includes ------------------------------------------------------------------*/
- 21:Core/Src/dac.c **** #include "dac.h"
- 22:Core/Src/dac.c ****
- 23:Core/Src/dac.c **** /* USER CODE BEGIN 0 */
- 24:Core/Src/dac.c ****
- 25:Core/Src/dac.c **** /* USER CODE END 0 */
- 26:Core/Src/dac.c ****
- 27:Core/Src/dac.c **** DAC_HandleTypeDef hdac;
- 28:Core/Src/dac.c ****
- 29:Core/Src/dac.c **** /* DAC init function */
- 30:Core/Src/dac.c **** void MX_DAC_Init(void)
- 31:Core/Src/dac.c **** {
- 26 .loc 1 31 0
- 27 .cfi_startproc
-ARM GAS /tmp/ccOso6GW.s page 2
-
-
- 28 @ args = 0, pretend = 0, frame = 8
- 29 @ frame_needed = 0, uses_anonymous_args = 0
- 30 0000 00B5 push {lr}
- 31 .LCFI0:
- 32 .cfi_def_cfa_offset 4
- 33 .cfi_offset 14, -4
- 34 0002 83B0 sub sp, sp, #12
- 35 .LCFI1:
- 36 .cfi_def_cfa_offset 16
- 32:Core/Src/dac.c ****
- 33:Core/Src/dac.c **** /* USER CODE BEGIN DAC_Init 0 */
- 34:Core/Src/dac.c ****
- 35:Core/Src/dac.c **** /* USER CODE END DAC_Init 0 */
- 36:Core/Src/dac.c ****
- 37:Core/Src/dac.c **** DAC_ChannelConfTypeDef sConfig = {0};
- 37 .loc 1 37 0
- 38 0004 0023 movs r3, #0
- 39 0006 0093 str r3, [sp]
- 40 0008 0193 str r3, [sp, #4]
- 38:Core/Src/dac.c ****
- 39:Core/Src/dac.c **** /* USER CODE BEGIN DAC_Init 1 */
- 40:Core/Src/dac.c ****
- 41:Core/Src/dac.c **** /* USER CODE END DAC_Init 1 */
- 42:Core/Src/dac.c **** /** DAC Initialization
- 43:Core/Src/dac.c **** */
- 44:Core/Src/dac.c **** hdac.Instance = DAC;
- 41 .loc 1 44 0
- 42 000a 1048 ldr r0, .L9
- 43 000c 104B ldr r3, .L9+4
- 44 000e 0360 str r3, [r0]
- 45:Core/Src/dac.c **** if (HAL_DAC_Init(&hdac) != HAL_OK)
- 45 .loc 1 45 0
- 46 0010 FFF7FEFF bl HAL_DAC_Init
- 47 .LVL0:
- 48 0014 80B9 cbnz r0, .L6
- 49 .L2:
- 46:Core/Src/dac.c **** {
- 47:Core/Src/dac.c **** Error_Handler();
- 48:Core/Src/dac.c **** }
- 49:Core/Src/dac.c **** /** DAC channel OUT1 config
- 50:Core/Src/dac.c **** */
- 51:Core/Src/dac.c **** sConfig.DAC_Trigger = DAC_TRIGGER_NONE;
- 50 .loc 1 51 0
- 51 0016 0022 movs r2, #0
- 52 0018 0092 str r2, [sp]
- 52:Core/Src/dac.c **** sConfig.DAC_OutputBuffer = DAC_OUTPUTBUFFER_ENABLE;
- 53 .loc 1 52 0
- 54 001a 0192 str r2, [sp, #4]
- 53:Core/Src/dac.c **** if (HAL_DAC_ConfigChannel(&hdac, &sConfig, DAC_CHANNEL_1) != HAL_OK)
- 55 .loc 1 53 0
- 56 001c 6946 mov r1, sp
- 57 001e 0B48 ldr r0, .L9
- 58 0020 FFF7FEFF bl HAL_DAC_ConfigChannel
- 59 .LVL1:
- 60 0024 58B9 cbnz r0, .L7
- 61 .L3:
- 54:Core/Src/dac.c **** {
-ARM GAS /tmp/ccOso6GW.s page 3
-
-
- 55:Core/Src/dac.c **** Error_Handler();
- 56:Core/Src/dac.c **** }
- 57:Core/Src/dac.c **** /** DAC channel OUT2 config
- 58:Core/Src/dac.c **** */
- 59:Core/Src/dac.c **** if (HAL_DAC_ConfigChannel(&hdac, &sConfig, DAC_CHANNEL_2) != HAL_OK)
- 62 .loc 1 59 0
- 63 0026 1022 movs r2, #16
- 64 0028 6946 mov r1, sp
- 65 002a 0848 ldr r0, .L9
- 66 002c FFF7FEFF bl HAL_DAC_ConfigChannel
- 67 .LVL2:
- 68 0030 40B9 cbnz r0, .L8
- 69 .L1:
- 60:Core/Src/dac.c **** {
- 61:Core/Src/dac.c **** Error_Handler();
- 62:Core/Src/dac.c **** }
- 63:Core/Src/dac.c **** /* USER CODE BEGIN DAC_Init 2 */
- 64:Core/Src/dac.c ****
- 65:Core/Src/dac.c **** /* USER CODE END DAC_Init 2 */
- 66:Core/Src/dac.c ****
- 67:Core/Src/dac.c **** }
- 70 .loc 1 67 0
- 71 0032 03B0 add sp, sp, #12
- 72 .LCFI2:
- 73 .cfi_remember_state
- 74 .cfi_def_cfa_offset 4
- 75 @ sp needed
- 76 0034 5DF804FB ldr pc, [sp], #4
- 77 .L6:
- 78 .LCFI3:
- 79 .cfi_restore_state
- 47:Core/Src/dac.c **** }
- 80 .loc 1 47 0
- 81 0038 FFF7FEFF bl Error_Handler
- 82 .LVL3:
- 83 003c EBE7 b .L2
- 84 .L7:
- 55:Core/Src/dac.c **** }
- 85 .loc 1 55 0
- 86 003e FFF7FEFF bl Error_Handler
- 87 .LVL4:
- 88 0042 F0E7 b .L3
- 89 .L8:
- 61:Core/Src/dac.c **** }
- 90 .loc 1 61 0
- 91 0044 FFF7FEFF bl Error_Handler
- 92 .LVL5:
- 93 .loc 1 67 0
- 94 0048 F3E7 b .L1
- 95 .L10:
- 96 004a 00BF .align 2
- 97 .L9:
- 98 004c 00000000 .word hdac
- 99 0050 00740040 .word 1073771520
- 100 .cfi_endproc
- 101 .LFE65:
- 103 .section .text.HAL_DAC_MspInit,"ax",%progbits
-ARM GAS /tmp/ccOso6GW.s page 4
-
-
- 104 .align 1
- 105 .global HAL_DAC_MspInit
- 106 .syntax unified
- 107 .thumb
- 108 .thumb_func
- 109 .fpu softvfp
- 111 HAL_DAC_MspInit:
- 112 .LFB66:
- 68:Core/Src/dac.c ****
- 69:Core/Src/dac.c **** void HAL_DAC_MspInit(DAC_HandleTypeDef* dacHandle)
- 70:Core/Src/dac.c **** {
- 113 .loc 1 70 0
- 114 .cfi_startproc
- 115 @ args = 0, pretend = 0, frame = 24
- 116 @ frame_needed = 0, uses_anonymous_args = 0
- 117 .LVL6:
- 118 0000 00B5 push {lr}
- 119 .LCFI4:
- 120 .cfi_def_cfa_offset 4
- 121 .cfi_offset 14, -4
- 122 0002 87B0 sub sp, sp, #28
- 123 .LCFI5:
- 124 .cfi_def_cfa_offset 32
- 71:Core/Src/dac.c ****
- 72:Core/Src/dac.c **** GPIO_InitTypeDef GPIO_InitStruct = {0};
- 125 .loc 1 72 0
- 126 0004 0023 movs r3, #0
- 127 0006 0293 str r3, [sp, #8]
- 128 0008 0393 str r3, [sp, #12]
- 129 000a 0493 str r3, [sp, #16]
- 130 000c 0593 str r3, [sp, #20]
- 73:Core/Src/dac.c **** if(dacHandle->Instance==DAC)
- 131 .loc 1 73 0
- 132 000e 0268 ldr r2, [r0]
- 133 0010 114B ldr r3, .L15
- 134 0012 9A42 cmp r2, r3
- 135 0014 02D0 beq .L14
- 136 .LVL7:
- 137 .L11:
- 74:Core/Src/dac.c **** {
- 75:Core/Src/dac.c **** /* USER CODE BEGIN DAC_MspInit 0 */
- 76:Core/Src/dac.c ****
- 77:Core/Src/dac.c **** /* USER CODE END DAC_MspInit 0 */
- 78:Core/Src/dac.c **** /* DAC clock enable */
- 79:Core/Src/dac.c **** __HAL_RCC_DAC_CLK_ENABLE();
- 80:Core/Src/dac.c ****
- 81:Core/Src/dac.c **** __HAL_RCC_GPIOA_CLK_ENABLE();
- 82:Core/Src/dac.c **** /**DAC GPIO Configuration
- 83:Core/Src/dac.c **** PA4 ------> DAC_OUT1
- 84:Core/Src/dac.c **** PA5 ------> DAC_OUT2
- 85:Core/Src/dac.c **** */
- 86:Core/Src/dac.c **** GPIO_InitStruct.Pin = GPIO_PIN_4|GPIO_PIN_5;
- 87:Core/Src/dac.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
- 88:Core/Src/dac.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 89:Core/Src/dac.c ****
- 90:Core/Src/dac.c **** /* USER CODE BEGIN DAC_MspInit 1 */
- 91:Core/Src/dac.c ****
-ARM GAS /tmp/ccOso6GW.s page 5
-
-
- 92:Core/Src/dac.c **** /* USER CODE END DAC_MspInit 1 */
- 93:Core/Src/dac.c **** }
- 94:Core/Src/dac.c **** }
- 138 .loc 1 94 0
- 139 0016 07B0 add sp, sp, #28
- 140 .LCFI6:
- 141 .cfi_remember_state
- 142 .cfi_def_cfa_offset 4
- 143 @ sp needed
- 144 0018 5DF804FB ldr pc, [sp], #4
- 145 .LVL8:
- 146 .L14:
- 147 .LCFI7:
- 148 .cfi_restore_state
- 149 .LBB2:
- 79:Core/Src/dac.c ****
- 150 .loc 1 79 0
- 151 001c 03F5CE33 add r3, r3, #105472
- 152 0020 DA69 ldr r2, [r3, #28]
- 153 0022 42F00052 orr r2, r2, #536870912
- 154 0026 DA61 str r2, [r3, #28]
- 155 0028 DA69 ldr r2, [r3, #28]
- 156 002a 02F00052 and r2, r2, #536870912
- 157 002e 0092 str r2, [sp]
- 158 0030 009A ldr r2, [sp]
- 159 .LBE2:
- 160 .LBB3:
- 81:Core/Src/dac.c **** /**DAC GPIO Configuration
- 161 .loc 1 81 0
- 162 0032 9A69 ldr r2, [r3, #24]
- 163 0034 42F00402 orr r2, r2, #4
- 164 0038 9A61 str r2, [r3, #24]
- 165 003a 9B69 ldr r3, [r3, #24]
- 166 003c 03F00403 and r3, r3, #4
- 167 0040 0193 str r3, [sp, #4]
- 168 0042 019B ldr r3, [sp, #4]
- 169 .LBE3:
- 86:Core/Src/dac.c **** GPIO_InitStruct.Mode = GPIO_MODE_ANALOG;
- 170 .loc 1 86 0
- 171 0044 3023 movs r3, #48
- 172 0046 0293 str r3, [sp, #8]
- 87:Core/Src/dac.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 173 .loc 1 87 0
- 174 0048 0323 movs r3, #3
- 175 004a 0393 str r3, [sp, #12]
- 88:Core/Src/dac.c ****
- 176 .loc 1 88 0
- 177 004c 02A9 add r1, sp, #8
- 178 004e 0348 ldr r0, .L15+4
- 179 .LVL9:
- 180 0050 FFF7FEFF bl HAL_GPIO_Init
- 181 .LVL10:
- 182 .loc 1 94 0
- 183 0054 DFE7 b .L11
- 184 .L16:
- 185 0056 00BF .align 2
- 186 .L15:
-ARM GAS /tmp/ccOso6GW.s page 6
-
-
- 187 0058 00740040 .word 1073771520
- 188 005c 00080140 .word 1073809408
- 189 .cfi_endproc
- 190 .LFE66:
- 192 .section .text.HAL_DAC_MspDeInit,"ax",%progbits
- 193 .align 1
- 194 .global HAL_DAC_MspDeInit
- 195 .syntax unified
- 196 .thumb
- 197 .thumb_func
- 198 .fpu softvfp
- 200 HAL_DAC_MspDeInit:
- 201 .LFB67:
- 95:Core/Src/dac.c ****
- 96:Core/Src/dac.c **** void HAL_DAC_MspDeInit(DAC_HandleTypeDef* dacHandle)
- 97:Core/Src/dac.c **** {
- 202 .loc 1 97 0
- 203 .cfi_startproc
- 204 @ args = 0, pretend = 0, frame = 0
- 205 @ frame_needed = 0, uses_anonymous_args = 0
- 206 .LVL11:
- 207 0000 08B5 push {r3, lr}
- 208 .LCFI8:
- 209 .cfi_def_cfa_offset 8
- 210 .cfi_offset 3, -8
- 211 .cfi_offset 14, -4
- 98:Core/Src/dac.c ****
- 99:Core/Src/dac.c **** if(dacHandle->Instance==DAC)
- 212 .loc 1 99 0
- 213 0002 0268 ldr r2, [r0]
- 214 0004 064B ldr r3, .L21
- 215 0006 9A42 cmp r2, r3
- 216 0008 00D0 beq .L20
- 217 .LVL12:
- 218 .L17:
- 219 000a 08BD pop {r3, pc}
- 220 .LVL13:
- 221 .L20:
- 100:Core/Src/dac.c **** {
- 101:Core/Src/dac.c **** /* USER CODE BEGIN DAC_MspDeInit 0 */
- 102:Core/Src/dac.c ****
- 103:Core/Src/dac.c **** /* USER CODE END DAC_MspDeInit 0 */
- 104:Core/Src/dac.c **** /* Peripheral clock disable */
- 105:Core/Src/dac.c **** __HAL_RCC_DAC_CLK_DISABLE();
- 222 .loc 1 105 0
- 223 000c 054A ldr r2, .L21+4
- 224 000e D369 ldr r3, [r2, #28]
- 225 0010 23F00053 bic r3, r3, #536870912
- 226 0014 D361 str r3, [r2, #28]
- 106:Core/Src/dac.c ****
- 107:Core/Src/dac.c **** /**DAC GPIO Configuration
- 108:Core/Src/dac.c **** PA4 ------> DAC_OUT1
- 109:Core/Src/dac.c **** PA5 ------> DAC_OUT2
- 110:Core/Src/dac.c **** */
- 111:Core/Src/dac.c **** HAL_GPIO_DeInit(GPIOA, GPIO_PIN_4|GPIO_PIN_5);
- 227 .loc 1 111 0
- 228 0016 3021 movs r1, #48
-ARM GAS /tmp/ccOso6GW.s page 7
-
-
- 229 0018 0348 ldr r0, .L21+8
- 230 .LVL14:
- 231 001a FFF7FEFF bl HAL_GPIO_DeInit
- 232 .LVL15:
- 112:Core/Src/dac.c ****
- 113:Core/Src/dac.c **** /* USER CODE BEGIN DAC_MspDeInit 1 */
- 114:Core/Src/dac.c ****
- 115:Core/Src/dac.c **** /* USER CODE END DAC_MspDeInit 1 */
- 116:Core/Src/dac.c **** }
- 117:Core/Src/dac.c **** }
- 233 .loc 1 117 0
- 234 001e F4E7 b .L17
- 235 .L22:
- 236 .align 2
- 237 .L21:
- 238 0020 00740040 .word 1073771520
- 239 0024 00100240 .word 1073876992
- 240 0028 00080140 .word 1073809408
- 241 .cfi_endproc
- 242 .LFE67:
- 244 .comm hdac,20,4
- 245 .text
- 246 .Letext0:
- 247 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 248 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 249 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 250 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 251 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 252 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 253 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h"
- 254 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
- 255 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h"
- 256 .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
- 257 .file 12 "Core/Inc/dac.h"
- 258 .file 13 "Core/Inc/main.h"
-ARM GAS /tmp/ccOso6GW.s page 8
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 dac.c
- /tmp/ccOso6GW.s:16 .text.MX_DAC_Init:0000000000000000 $t
- /tmp/ccOso6GW.s:23 .text.MX_DAC_Init:0000000000000000 MX_DAC_Init
- /tmp/ccOso6GW.s:98 .text.MX_DAC_Init:000000000000004c $d
- *COM*:0000000000000014 hdac
- /tmp/ccOso6GW.s:104 .text.HAL_DAC_MspInit:0000000000000000 $t
- /tmp/ccOso6GW.s:111 .text.HAL_DAC_MspInit:0000000000000000 HAL_DAC_MspInit
- /tmp/ccOso6GW.s:187 .text.HAL_DAC_MspInit:0000000000000058 $d
- /tmp/ccOso6GW.s:193 .text.HAL_DAC_MspDeInit:0000000000000000 $t
- /tmp/ccOso6GW.s:200 .text.HAL_DAC_MspDeInit:0000000000000000 HAL_DAC_MspDeInit
- /tmp/ccOso6GW.s:238 .text.HAL_DAC_MspDeInit:0000000000000020 $d
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-HAL_DAC_Init
-HAL_DAC_ConfigChannel
-Error_Handler
-HAL_GPIO_Init
-HAL_GPIO_DeInit
diff --git a/build/dac.o b/build/dac.o
deleted file mode 100644
index b9f295e..0000000
Binary files a/build/dac.o and /dev/null differ
diff --git a/build/fsmc.d b/build/fsmc.d
deleted file mode 100644
index 379307e..0000000
--- a/build/fsmc.d
+++ /dev/null
@@ -1,102 +0,0 @@
-build/fsmc.o: Core/Src/fsmc.c Core/Inc/fsmc.h Core/Inc/main.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_sram.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_fsmc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Core/Inc/fsmc.h:
-
-Core/Inc/main.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_sram.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_fsmc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/fsmc.lst b/build/fsmc.lst
deleted file mode 100644
index ec2b0bc..0000000
--- a/build/fsmc.lst
+++ /dev/null
@@ -1,737 +0,0 @@
-ARM GAS /tmp/cc5v6Cmy.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "fsmc.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.HAL_FSMC_MspInit,"ax",%progbits
- 16 .align 1
- 17 .syntax unified
- 18 .thumb
- 19 .thumb_func
- 20 .fpu softvfp
- 22 HAL_FSMC_MspInit:
- 23 .LFB66:
- 24 .file 1 "Core/Src/fsmc.c"
- 1:Core/Src/fsmc.c **** /**
- 2:Core/Src/fsmc.c **** ******************************************************************************
- 3:Core/Src/fsmc.c **** * File Name : FSMC.c
- 4:Core/Src/fsmc.c **** * Description : This file provides code for the configuration
- 5:Core/Src/fsmc.c **** * of the FSMC peripheral.
- 6:Core/Src/fsmc.c **** ******************************************************************************
- 7:Core/Src/fsmc.c **** * @attention
- 8:Core/Src/fsmc.c **** *
- 9:Core/Src/fsmc.c **** * © Copyright (c) 2021 STMicroelectronics.
- 10:Core/Src/fsmc.c **** * All rights reserved.
- 11:Core/Src/fsmc.c **** *
- 12:Core/Src/fsmc.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 13:Core/Src/fsmc.c **** * the "License"; You may not use this file except in compliance with the
- 14:Core/Src/fsmc.c **** * License. You may obtain a copy of the License at:
- 15:Core/Src/fsmc.c **** * opensource.org/licenses/BSD-3-Clause
- 16:Core/Src/fsmc.c **** *
- 17:Core/Src/fsmc.c **** ******************************************************************************
- 18:Core/Src/fsmc.c **** */
- 19:Core/Src/fsmc.c ****
- 20:Core/Src/fsmc.c **** /* Includes ------------------------------------------------------------------*/
- 21:Core/Src/fsmc.c **** #include "fsmc.h"
- 22:Core/Src/fsmc.c ****
- 23:Core/Src/fsmc.c **** /* USER CODE BEGIN 0 */
- 24:Core/Src/fsmc.c ****
- 25:Core/Src/fsmc.c **** /* USER CODE END 0 */
- 26:Core/Src/fsmc.c ****
- 27:Core/Src/fsmc.c **** SRAM_HandleTypeDef hsram1;
- 28:Core/Src/fsmc.c ****
- 29:Core/Src/fsmc.c **** /* FSMC initialization function */
- 30:Core/Src/fsmc.c **** void MX_FSMC_Init(void)
- 31:Core/Src/fsmc.c **** {
- 32:Core/Src/fsmc.c **** /* USER CODE BEGIN FSMC_Init 0 */
- 33:Core/Src/fsmc.c ****
- 34:Core/Src/fsmc.c **** /* USER CODE END FSMC_Init 0 */
-ARM GAS /tmp/cc5v6Cmy.s page 2
-
-
- 35:Core/Src/fsmc.c ****
- 36:Core/Src/fsmc.c **** FSMC_NORSRAM_TimingTypeDef Timing = {0};
- 37:Core/Src/fsmc.c ****
- 38:Core/Src/fsmc.c **** /* USER CODE BEGIN FSMC_Init 1 */
- 39:Core/Src/fsmc.c ****
- 40:Core/Src/fsmc.c **** /* USER CODE END FSMC_Init 1 */
- 41:Core/Src/fsmc.c ****
- 42:Core/Src/fsmc.c **** /** Perform the SRAM1 memory initialization sequence
- 43:Core/Src/fsmc.c **** */
- 44:Core/Src/fsmc.c **** hsram1.Instance = FSMC_NORSRAM_DEVICE;
- 45:Core/Src/fsmc.c **** hsram1.Extended = FSMC_NORSRAM_EXTENDED_DEVICE;
- 46:Core/Src/fsmc.c **** /* hsram1.Init */
- 47:Core/Src/fsmc.c **** hsram1.Init.NSBank = FSMC_NORSRAM_BANK1;
- 48:Core/Src/fsmc.c **** hsram1.Init.DataAddressMux = FSMC_DATA_ADDRESS_MUX_ENABLE;
- 49:Core/Src/fsmc.c **** hsram1.Init.MemoryType = FSMC_MEMORY_TYPE_PSRAM;
- 50:Core/Src/fsmc.c **** hsram1.Init.MemoryDataWidth = FSMC_NORSRAM_MEM_BUS_WIDTH_16;
- 51:Core/Src/fsmc.c **** hsram1.Init.BurstAccessMode = FSMC_BURST_ACCESS_MODE_ENABLE;
- 52:Core/Src/fsmc.c **** hsram1.Init.WaitSignalPolarity = FSMC_WAIT_SIGNAL_POLARITY_LOW;
- 53:Core/Src/fsmc.c **** hsram1.Init.WrapMode = FSMC_WRAP_MODE_DISABLE;
- 54:Core/Src/fsmc.c **** hsram1.Init.WaitSignalActive = FSMC_WAIT_TIMING_BEFORE_WS;
- 55:Core/Src/fsmc.c **** hsram1.Init.WriteOperation = FSMC_WRITE_OPERATION_ENABLE;
- 56:Core/Src/fsmc.c **** hsram1.Init.WaitSignal = FSMC_WAIT_SIGNAL_ENABLE;
- 57:Core/Src/fsmc.c **** hsram1.Init.ExtendedMode = FSMC_EXTENDED_MODE_DISABLE;
- 58:Core/Src/fsmc.c **** hsram1.Init.AsynchronousWait = FSMC_ASYNCHRONOUS_WAIT_DISABLE;
- 59:Core/Src/fsmc.c **** hsram1.Init.WriteBurst = FSMC_WRITE_BURST_ENABLE;
- 60:Core/Src/fsmc.c **** /* Timing */
- 61:Core/Src/fsmc.c **** Timing.AddressSetupTime = 15;
- 62:Core/Src/fsmc.c **** Timing.AddressHoldTime = 15;
- 63:Core/Src/fsmc.c **** Timing.DataSetupTime = 255;
- 64:Core/Src/fsmc.c **** Timing.BusTurnAroundDuration = 15;
- 65:Core/Src/fsmc.c **** Timing.CLKDivision = 16;
- 66:Core/Src/fsmc.c **** Timing.DataLatency = 2;
- 67:Core/Src/fsmc.c **** Timing.AccessMode = FSMC_ACCESS_MODE_A;
- 68:Core/Src/fsmc.c **** /* ExtTiming */
- 69:Core/Src/fsmc.c ****
- 70:Core/Src/fsmc.c **** if (HAL_SRAM_Init(&hsram1, &Timing, NULL) != HAL_OK)
- 71:Core/Src/fsmc.c **** {
- 72:Core/Src/fsmc.c **** Error_Handler( );
- 73:Core/Src/fsmc.c **** }
- 74:Core/Src/fsmc.c ****
- 75:Core/Src/fsmc.c **** /* USER CODE BEGIN FSMC_Init 2 */
- 76:Core/Src/fsmc.c ****
- 77:Core/Src/fsmc.c **** /* USER CODE END FSMC_Init 2 */
- 78:Core/Src/fsmc.c **** }
- 79:Core/Src/fsmc.c ****
- 80:Core/Src/fsmc.c **** static uint32_t FSMC_Initialized = 0;
- 81:Core/Src/fsmc.c ****
- 82:Core/Src/fsmc.c **** static void HAL_FSMC_MspInit(void){
- 25 .loc 1 82 0
- 26 .cfi_startproc
- 27 @ args = 0, pretend = 0, frame = 24
- 28 @ frame_needed = 0, uses_anonymous_args = 0
- 29 0000 70B5 push {r4, r5, r6, lr}
- 30 .LCFI0:
- 31 .cfi_def_cfa_offset 16
- 32 .cfi_offset 4, -16
- 33 .cfi_offset 5, -12
-ARM GAS /tmp/cc5v6Cmy.s page 3
-
-
- 34 .cfi_offset 6, -8
- 35 .cfi_offset 14, -4
- 36 0002 86B0 sub sp, sp, #24
- 37 .LCFI1:
- 38 .cfi_def_cfa_offset 40
- 83:Core/Src/fsmc.c **** /* USER CODE BEGIN FSMC_MspInit 0 */
- 84:Core/Src/fsmc.c ****
- 85:Core/Src/fsmc.c **** /* USER CODE END FSMC_MspInit 0 */
- 86:Core/Src/fsmc.c **** GPIO_InitTypeDef GPIO_InitStruct = {0};
- 39 .loc 1 86 0
- 40 0004 0023 movs r3, #0
- 41 0006 0293 str r3, [sp, #8]
- 42 0008 0393 str r3, [sp, #12]
- 43 000a 0493 str r3, [sp, #16]
- 44 000c 0593 str r3, [sp, #20]
- 87:Core/Src/fsmc.c **** if (FSMC_Initialized) {
- 45 .loc 1 87 0
- 46 000e 1C4B ldr r3, .L6
- 47 0010 1B68 ldr r3, [r3]
- 48 0012 0BB1 cbz r3, .L5
- 49 .L1:
- 88:Core/Src/fsmc.c **** return;
- 89:Core/Src/fsmc.c **** }
- 90:Core/Src/fsmc.c **** FSMC_Initialized = 1;
- 91:Core/Src/fsmc.c ****
- 92:Core/Src/fsmc.c **** /* Peripheral clock enable */
- 93:Core/Src/fsmc.c **** __HAL_RCC_FSMC_CLK_ENABLE();
- 94:Core/Src/fsmc.c ****
- 95:Core/Src/fsmc.c **** /** FSMC GPIO Configuration
- 96:Core/Src/fsmc.c **** PE2 ------> FSMC_A23
- 97:Core/Src/fsmc.c **** PE3 ------> FSMC_A19
- 98:Core/Src/fsmc.c **** PE4 ------> FSMC_A20
- 99:Core/Src/fsmc.c **** PE5 ------> FSMC_A21
- 100:Core/Src/fsmc.c **** PE6 ------> FSMC_A22
- 101:Core/Src/fsmc.c **** PE7 ------> FSMC_DA4
- 102:Core/Src/fsmc.c **** PE8 ------> FSMC_DA5
- 103:Core/Src/fsmc.c **** PE9 ------> FSMC_DA6
- 104:Core/Src/fsmc.c **** PE10 ------> FSMC_DA7
- 105:Core/Src/fsmc.c **** PE11 ------> FSMC_DA8
- 106:Core/Src/fsmc.c **** PE12 ------> FSMC_DA9
- 107:Core/Src/fsmc.c **** PE13 ------> FSMC_DA10
- 108:Core/Src/fsmc.c **** PE14 ------> FSMC_DA11
- 109:Core/Src/fsmc.c **** PE15 ------> FSMC_DA12
- 110:Core/Src/fsmc.c **** PD8 ------> FSMC_DA13
- 111:Core/Src/fsmc.c **** PD9 ------> FSMC_DA14
- 112:Core/Src/fsmc.c **** PD10 ------> FSMC_DA15
- 113:Core/Src/fsmc.c **** PD11 ------> FSMC_A16
- 114:Core/Src/fsmc.c **** PD12 ------> FSMC_A17
- 115:Core/Src/fsmc.c **** PD13 ------> FSMC_A18
- 116:Core/Src/fsmc.c **** PD14 ------> FSMC_DA0
- 117:Core/Src/fsmc.c **** PD15 ------> FSMC_DA1
- 118:Core/Src/fsmc.c **** PD0 ------> FSMC_DA2
- 119:Core/Src/fsmc.c **** PD1 ------> FSMC_DA3
- 120:Core/Src/fsmc.c **** PD3 ------> FSMC_CLK
- 121:Core/Src/fsmc.c **** PD4 ------> FSMC_NOE
- 122:Core/Src/fsmc.c **** PD5 ------> FSMC_NWE
- 123:Core/Src/fsmc.c **** PD6 ------> FSMC_NWAIT
-ARM GAS /tmp/cc5v6Cmy.s page 4
-
-
- 124:Core/Src/fsmc.c **** PD7 ------> FSMC_NE1
- 125:Core/Src/fsmc.c **** PB7 ------> FSMC_NL
- 126:Core/Src/fsmc.c **** PE0 ------> FSMC_NBL0
- 127:Core/Src/fsmc.c **** PE1 ------> FSMC_NBL1
- 128:Core/Src/fsmc.c **** */
- 129:Core/Src/fsmc.c **** /* GPIO_InitStruct */
- 130:Core/Src/fsmc.c **** GPIO_InitStruct.Pin = GPIO_PIN_2|GPIO_PIN_3|GPIO_PIN_4|GPIO_PIN_5
- 131:Core/Src/fsmc.c **** |GPIO_PIN_6|GPIO_PIN_7|GPIO_PIN_8|GPIO_PIN_9
- 132:Core/Src/fsmc.c **** |GPIO_PIN_10|GPIO_PIN_11|GPIO_PIN_12|GPIO_PIN_13
- 133:Core/Src/fsmc.c **** |GPIO_PIN_14|GPIO_PIN_15|GPIO_PIN_0|GPIO_PIN_1;
- 134:Core/Src/fsmc.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- 135:Core/Src/fsmc.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- 136:Core/Src/fsmc.c ****
- 137:Core/Src/fsmc.c **** HAL_GPIO_Init(GPIOE, &GPIO_InitStruct);
- 138:Core/Src/fsmc.c ****
- 139:Core/Src/fsmc.c **** /* GPIO_InitStruct */
- 140:Core/Src/fsmc.c **** GPIO_InitStruct.Pin = GPIO_PIN_8|GPIO_PIN_9|GPIO_PIN_10|GPIO_PIN_11
- 141:Core/Src/fsmc.c **** |GPIO_PIN_12|GPIO_PIN_13|GPIO_PIN_14|GPIO_PIN_15
- 142:Core/Src/fsmc.c **** |GPIO_PIN_0|GPIO_PIN_1|GPIO_PIN_3|GPIO_PIN_4
- 143:Core/Src/fsmc.c **** |GPIO_PIN_5|GPIO_PIN_7;
- 144:Core/Src/fsmc.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- 145:Core/Src/fsmc.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- 146:Core/Src/fsmc.c ****
- 147:Core/Src/fsmc.c **** HAL_GPIO_Init(GPIOD, &GPIO_InitStruct);
- 148:Core/Src/fsmc.c ****
- 149:Core/Src/fsmc.c **** /* GPIO_InitStruct */
- 150:Core/Src/fsmc.c **** GPIO_InitStruct.Pin = GPIO_PIN_6;
- 151:Core/Src/fsmc.c **** GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
- 152:Core/Src/fsmc.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
- 153:Core/Src/fsmc.c ****
- 154:Core/Src/fsmc.c **** HAL_GPIO_Init(GPIOD, &GPIO_InitStruct);
- 155:Core/Src/fsmc.c ****
- 156:Core/Src/fsmc.c **** /* GPIO_InitStruct */
- 157:Core/Src/fsmc.c **** GPIO_InitStruct.Pin = GPIO_PIN_7;
- 158:Core/Src/fsmc.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- 159:Core/Src/fsmc.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- 160:Core/Src/fsmc.c ****
- 161:Core/Src/fsmc.c **** HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
- 162:Core/Src/fsmc.c ****
- 163:Core/Src/fsmc.c **** /* USER CODE BEGIN FSMC_MspInit 1 */
- 164:Core/Src/fsmc.c ****
- 165:Core/Src/fsmc.c **** /* USER CODE END FSMC_MspInit 1 */
- 166:Core/Src/fsmc.c **** }
- 50 .loc 1 166 0
- 51 0014 06B0 add sp, sp, #24
- 52 .LCFI2:
- 53 .cfi_remember_state
- 54 .cfi_def_cfa_offset 16
- 55 @ sp needed
- 56 0016 70BD pop {r4, r5, r6, pc}
- 57 .L5:
- 58 .LCFI3:
- 59 .cfi_restore_state
- 90:Core/Src/fsmc.c ****
- 60 .loc 1 90 0
- 61 0018 0122 movs r2, #1
- 62 001a 194B ldr r3, .L6
-ARM GAS /tmp/cc5v6Cmy.s page 5
-
-
- 63 001c 1A60 str r2, [r3]
- 64 .LBB2:
- 93:Core/Src/fsmc.c ****
- 65 .loc 1 93 0
- 66 001e 194B ldr r3, .L6+4
- 67 0020 5A69 ldr r2, [r3, #20]
- 68 0022 42F48072 orr r2, r2, #256
- 69 0026 5A61 str r2, [r3, #20]
- 70 0028 5B69 ldr r3, [r3, #20]
- 71 002a 03F48073 and r3, r3, #256
- 72 002e 0193 str r3, [sp, #4]
- 73 0030 019B ldr r3, [sp, #4]
- 74 .LBE2:
- 130:Core/Src/fsmc.c **** |GPIO_PIN_6|GPIO_PIN_7|GPIO_PIN_8|GPIO_PIN_9
- 75 .loc 1 130 0
- 76 0032 4FF6FF73 movw r3, #65535
- 77 0036 0293 str r3, [sp, #8]
- 134:Core/Src/fsmc.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- 78 .loc 1 134 0
- 79 0038 0225 movs r5, #2
- 80 003a 0395 str r5, [sp, #12]
- 135:Core/Src/fsmc.c ****
- 81 .loc 1 135 0
- 82 003c 0324 movs r4, #3
- 83 003e 0594 str r4, [sp, #20]
- 137:Core/Src/fsmc.c ****
- 84 .loc 1 137 0
- 85 0040 02A9 add r1, sp, #8
- 86 0042 1148 ldr r0, .L6+8
- 87 0044 FFF7FEFF bl HAL_GPIO_Init
- 88 .LVL0:
- 140:Core/Src/fsmc.c **** |GPIO_PIN_12|GPIO_PIN_13|GPIO_PIN_14|GPIO_PIN_15
- 89 .loc 1 140 0
- 90 0048 4FF6BB73 movw r3, #65467
- 91 004c 0293 str r3, [sp, #8]
- 144:Core/Src/fsmc.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- 92 .loc 1 144 0
- 93 004e 0395 str r5, [sp, #12]
- 145:Core/Src/fsmc.c ****
- 94 .loc 1 145 0
- 95 0050 0594 str r4, [sp, #20]
- 147:Core/Src/fsmc.c ****
- 96 .loc 1 147 0
- 97 0052 0E4E ldr r6, .L6+12
- 98 0054 02A9 add r1, sp, #8
- 99 0056 3046 mov r0, r6
- 100 0058 FFF7FEFF bl HAL_GPIO_Init
- 101 .LVL1:
- 150:Core/Src/fsmc.c **** GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
- 102 .loc 1 150 0
- 103 005c 4023 movs r3, #64
- 104 005e 0293 str r3, [sp, #8]
- 151:Core/Src/fsmc.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
- 105 .loc 1 151 0
- 106 0060 0023 movs r3, #0
- 107 0062 0393 str r3, [sp, #12]
- 152:Core/Src/fsmc.c ****
-ARM GAS /tmp/cc5v6Cmy.s page 6
-
-
- 108 .loc 1 152 0
- 109 0064 0493 str r3, [sp, #16]
- 154:Core/Src/fsmc.c ****
- 110 .loc 1 154 0
- 111 0066 02A9 add r1, sp, #8
- 112 0068 3046 mov r0, r6
- 113 006a FFF7FEFF bl HAL_GPIO_Init
- 114 .LVL2:
- 157:Core/Src/fsmc.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- 115 .loc 1 157 0
- 116 006e 8023 movs r3, #128
- 117 0070 0293 str r3, [sp, #8]
- 158:Core/Src/fsmc.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- 118 .loc 1 158 0
- 119 0072 0395 str r5, [sp, #12]
- 159:Core/Src/fsmc.c ****
- 120 .loc 1 159 0
- 121 0074 0594 str r4, [sp, #20]
- 161:Core/Src/fsmc.c ****
- 122 .loc 1 161 0
- 123 0076 02A9 add r1, sp, #8
- 124 0078 0548 ldr r0, .L6+16
- 125 007a FFF7FEFF bl HAL_GPIO_Init
- 126 .LVL3:
- 127 007e C9E7 b .L1
- 128 .L7:
- 129 .align 2
- 130 .L6:
- 131 0080 00000000 .word .LANCHOR0
- 132 0084 00100240 .word 1073876992
- 133 0088 00180140 .word 1073813504
- 134 008c 00140140 .word 1073812480
- 135 0090 000C0140 .word 1073810432
- 136 .cfi_endproc
- 137 .LFE66:
- 139 .section .text.HAL_FSMC_MspDeInit,"ax",%progbits
- 140 .align 1
- 141 .syntax unified
- 142 .thumb
- 143 .thumb_func
- 144 .fpu softvfp
- 146 HAL_FSMC_MspDeInit:
- 147 .LFB68:
- 167:Core/Src/fsmc.c ****
- 168:Core/Src/fsmc.c **** void HAL_SRAM_MspInit(SRAM_HandleTypeDef* sramHandle){
- 169:Core/Src/fsmc.c **** /* USER CODE BEGIN SRAM_MspInit 0 */
- 170:Core/Src/fsmc.c ****
- 171:Core/Src/fsmc.c **** /* USER CODE END SRAM_MspInit 0 */
- 172:Core/Src/fsmc.c **** HAL_FSMC_MspInit();
- 173:Core/Src/fsmc.c **** /* USER CODE BEGIN SRAM_MspInit 1 */
- 174:Core/Src/fsmc.c ****
- 175:Core/Src/fsmc.c **** /* USER CODE END SRAM_MspInit 1 */
- 176:Core/Src/fsmc.c **** }
- 177:Core/Src/fsmc.c ****
- 178:Core/Src/fsmc.c **** static uint32_t FSMC_DeInitialized = 0;
- 179:Core/Src/fsmc.c ****
- 180:Core/Src/fsmc.c **** static void HAL_FSMC_MspDeInit(void){
-ARM GAS /tmp/cc5v6Cmy.s page 7
-
-
- 148 .loc 1 180 0
- 149 .cfi_startproc
- 150 @ args = 0, pretend = 0, frame = 0
- 151 @ frame_needed = 0, uses_anonymous_args = 0
- 152 0000 08B5 push {r3, lr}
- 153 .LCFI4:
- 154 .cfi_def_cfa_offset 8
- 155 .cfi_offset 3, -8
- 156 .cfi_offset 14, -4
- 181:Core/Src/fsmc.c **** /* USER CODE BEGIN FSMC_MspDeInit 0 */
- 182:Core/Src/fsmc.c ****
- 183:Core/Src/fsmc.c **** /* USER CODE END FSMC_MspDeInit 0 */
- 184:Core/Src/fsmc.c **** if (FSMC_DeInitialized) {
- 157 .loc 1 184 0
- 158 0002 0D4B ldr r3, .L12
- 159 0004 1B68 ldr r3, [r3]
- 160 0006 03B1 cbz r3, .L11
- 161 .L8:
- 162 0008 08BD pop {r3, pc}
- 163 .L11:
- 185:Core/Src/fsmc.c **** return;
- 186:Core/Src/fsmc.c **** }
- 187:Core/Src/fsmc.c **** FSMC_DeInitialized = 1;
- 164 .loc 1 187 0
- 165 000a 0122 movs r2, #1
- 166 000c 0A4B ldr r3, .L12
- 167 000e 1A60 str r2, [r3]
- 188:Core/Src/fsmc.c **** /* Peripheral clock enable */
- 189:Core/Src/fsmc.c **** __HAL_RCC_FSMC_CLK_DISABLE();
- 168 .loc 1 189 0
- 169 0010 0A4A ldr r2, .L12+4
- 170 0012 5369 ldr r3, [r2, #20]
- 171 0014 23F48073 bic r3, r3, #256
- 172 0018 5361 str r3, [r2, #20]
- 190:Core/Src/fsmc.c ****
- 191:Core/Src/fsmc.c **** /** FSMC GPIO Configuration
- 192:Core/Src/fsmc.c **** PE2 ------> FSMC_A23
- 193:Core/Src/fsmc.c **** PE3 ------> FSMC_A19
- 194:Core/Src/fsmc.c **** PE4 ------> FSMC_A20
- 195:Core/Src/fsmc.c **** PE5 ------> FSMC_A21
- 196:Core/Src/fsmc.c **** PE6 ------> FSMC_A22
- 197:Core/Src/fsmc.c **** PE7 ------> FSMC_DA4
- 198:Core/Src/fsmc.c **** PE8 ------> FSMC_DA5
- 199:Core/Src/fsmc.c **** PE9 ------> FSMC_DA6
- 200:Core/Src/fsmc.c **** PE10 ------> FSMC_DA7
- 201:Core/Src/fsmc.c **** PE11 ------> FSMC_DA8
- 202:Core/Src/fsmc.c **** PE12 ------> FSMC_DA9
- 203:Core/Src/fsmc.c **** PE13 ------> FSMC_DA10
- 204:Core/Src/fsmc.c **** PE14 ------> FSMC_DA11
- 205:Core/Src/fsmc.c **** PE15 ------> FSMC_DA12
- 206:Core/Src/fsmc.c **** PD8 ------> FSMC_DA13
- 207:Core/Src/fsmc.c **** PD9 ------> FSMC_DA14
- 208:Core/Src/fsmc.c **** PD10 ------> FSMC_DA15
- 209:Core/Src/fsmc.c **** PD11 ------> FSMC_A16
- 210:Core/Src/fsmc.c **** PD12 ------> FSMC_A17
- 211:Core/Src/fsmc.c **** PD13 ------> FSMC_A18
- 212:Core/Src/fsmc.c **** PD14 ------> FSMC_DA0
-ARM GAS /tmp/cc5v6Cmy.s page 8
-
-
- 213:Core/Src/fsmc.c **** PD15 ------> FSMC_DA1
- 214:Core/Src/fsmc.c **** PD0 ------> FSMC_DA2
- 215:Core/Src/fsmc.c **** PD1 ------> FSMC_DA3
- 216:Core/Src/fsmc.c **** PD3 ------> FSMC_CLK
- 217:Core/Src/fsmc.c **** PD4 ------> FSMC_NOE
- 218:Core/Src/fsmc.c **** PD5 ------> FSMC_NWE
- 219:Core/Src/fsmc.c **** PD6 ------> FSMC_NWAIT
- 220:Core/Src/fsmc.c **** PD7 ------> FSMC_NE1
- 221:Core/Src/fsmc.c **** PB7 ------> FSMC_NL
- 222:Core/Src/fsmc.c **** PE0 ------> FSMC_NBL0
- 223:Core/Src/fsmc.c **** PE1 ------> FSMC_NBL1
- 224:Core/Src/fsmc.c **** */
- 225:Core/Src/fsmc.c ****
- 226:Core/Src/fsmc.c **** HAL_GPIO_DeInit(GPIOE, GPIO_PIN_2|GPIO_PIN_3|GPIO_PIN_4|GPIO_PIN_5
- 173 .loc 1 226 0
- 174 001a 4FF6FF71 movw r1, #65535
- 175 001e 0848 ldr r0, .L12+8
- 176 0020 FFF7FEFF bl HAL_GPIO_DeInit
- 177 .LVL4:
- 227:Core/Src/fsmc.c **** |GPIO_PIN_6|GPIO_PIN_7|GPIO_PIN_8|GPIO_PIN_9
- 228:Core/Src/fsmc.c **** |GPIO_PIN_10|GPIO_PIN_11|GPIO_PIN_12|GPIO_PIN_13
- 229:Core/Src/fsmc.c **** |GPIO_PIN_14|GPIO_PIN_15|GPIO_PIN_0|GPIO_PIN_1);
- 230:Core/Src/fsmc.c ****
- 231:Core/Src/fsmc.c **** HAL_GPIO_DeInit(GPIOD, GPIO_PIN_8|GPIO_PIN_9|GPIO_PIN_10|GPIO_PIN_11
- 178 .loc 1 231 0
- 179 0024 4FF6FB71 movw r1, #65531
- 180 0028 0648 ldr r0, .L12+12
- 181 002a FFF7FEFF bl HAL_GPIO_DeInit
- 182 .LVL5:
- 232:Core/Src/fsmc.c **** |GPIO_PIN_12|GPIO_PIN_13|GPIO_PIN_14|GPIO_PIN_15
- 233:Core/Src/fsmc.c **** |GPIO_PIN_0|GPIO_PIN_1|GPIO_PIN_3|GPIO_PIN_4
- 234:Core/Src/fsmc.c **** |GPIO_PIN_5|GPIO_PIN_6|GPIO_PIN_7);
- 235:Core/Src/fsmc.c ****
- 236:Core/Src/fsmc.c **** HAL_GPIO_DeInit(GPIOB, GPIO_PIN_7);
- 183 .loc 1 236 0
- 184 002e 8021 movs r1, #128
- 185 0030 0548 ldr r0, .L12+16
- 186 0032 FFF7FEFF bl HAL_GPIO_DeInit
- 187 .LVL6:
- 188 0036 E7E7 b .L8
- 189 .L13:
- 190 .align 2
- 191 .L12:
- 192 0038 00000000 .word .LANCHOR1
- 193 003c 00100240 .word 1073876992
- 194 0040 00180140 .word 1073813504
- 195 0044 00140140 .word 1073812480
- 196 0048 000C0140 .word 1073810432
- 197 .cfi_endproc
- 198 .LFE68:
- 200 .section .text.MX_FSMC_Init,"ax",%progbits
- 201 .align 1
- 202 .global MX_FSMC_Init
- 203 .syntax unified
- 204 .thumb
- 205 .thumb_func
- 206 .fpu softvfp
-ARM GAS /tmp/cc5v6Cmy.s page 9
-
-
- 208 MX_FSMC_Init:
- 209 .LFB65:
- 31:Core/Src/fsmc.c **** /* USER CODE BEGIN FSMC_Init 0 */
- 210 .loc 1 31 0
- 211 .cfi_startproc
- 212 @ args = 0, pretend = 0, frame = 32
- 213 @ frame_needed = 0, uses_anonymous_args = 0
- 214 0000 30B5 push {r4, r5, lr}
- 215 .LCFI5:
- 216 .cfi_def_cfa_offset 12
- 217 .cfi_offset 4, -12
- 218 .cfi_offset 5, -8
- 219 .cfi_offset 14, -4
- 220 0002 89B0 sub sp, sp, #36
- 221 .LCFI6:
- 222 .cfi_def_cfa_offset 48
- 36:Core/Src/fsmc.c ****
- 223 .loc 1 36 0
- 224 0004 0022 movs r2, #0
- 225 0006 0792 str r2, [sp, #28]
- 44:Core/Src/fsmc.c **** hsram1.Extended = FSMC_NORSRAM_EXTENDED_DEVICE;
- 226 .loc 1 44 0
- 227 0008 1748 ldr r0, .L18
- 228 000a 4FF02043 mov r3, #-1610612736
- 229 000e 0360 str r3, [r0]
- 45:Core/Src/fsmc.c **** /* hsram1.Init */
- 230 .loc 1 45 0
- 231 0010 03F58273 add r3, r3, #260
- 232 0014 4360 str r3, [r0, #4]
- 47:Core/Src/fsmc.c **** hsram1.Init.DataAddressMux = FSMC_DATA_ADDRESS_MUX_ENABLE;
- 233 .loc 1 47 0
- 234 0016 8260 str r2, [r0, #8]
- 48:Core/Src/fsmc.c **** hsram1.Init.MemoryType = FSMC_MEMORY_TYPE_PSRAM;
- 235 .loc 1 48 0
- 236 0018 0221 movs r1, #2
- 237 001a C160 str r1, [r0, #12]
- 49:Core/Src/fsmc.c **** hsram1.Init.MemoryDataWidth = FSMC_NORSRAM_MEM_BUS_WIDTH_16;
- 238 .loc 1 49 0
- 239 001c 0423 movs r3, #4
- 240 001e 0361 str r3, [r0, #16]
- 50:Core/Src/fsmc.c **** hsram1.Init.BurstAccessMode = FSMC_BURST_ACCESS_MODE_ENABLE;
- 241 .loc 1 50 0
- 242 0020 1024 movs r4, #16
- 243 0022 4461 str r4, [r0, #20]
- 51:Core/Src/fsmc.c **** hsram1.Init.WaitSignalPolarity = FSMC_WAIT_SIGNAL_POLARITY_LOW;
- 244 .loc 1 51 0
- 245 0024 4FF48073 mov r3, #256
- 246 0028 8361 str r3, [r0, #24]
- 52:Core/Src/fsmc.c **** hsram1.Init.WrapMode = FSMC_WRAP_MODE_DISABLE;
- 247 .loc 1 52 0
- 248 002a C261 str r2, [r0, #28]
- 53:Core/Src/fsmc.c **** hsram1.Init.WaitSignalActive = FSMC_WAIT_TIMING_BEFORE_WS;
- 249 .loc 1 53 0
- 250 002c 0262 str r2, [r0, #32]
- 54:Core/Src/fsmc.c **** hsram1.Init.WriteOperation = FSMC_WRITE_OPERATION_ENABLE;
- 251 .loc 1 54 0
- 252 002e 4262 str r2, [r0, #36]
-ARM GAS /tmp/cc5v6Cmy.s page 10
-
-
- 55:Core/Src/fsmc.c **** hsram1.Init.WaitSignal = FSMC_WAIT_SIGNAL_ENABLE;
- 253 .loc 1 55 0
- 254 0030 4FF48053 mov r3, #4096
- 255 0034 8362 str r3, [r0, #40]
- 56:Core/Src/fsmc.c **** hsram1.Init.ExtendedMode = FSMC_EXTENDED_MODE_DISABLE;
- 256 .loc 1 56 0
- 257 0036 4FF40053 mov r3, #8192
- 258 003a C362 str r3, [r0, #44]
- 57:Core/Src/fsmc.c **** hsram1.Init.AsynchronousWait = FSMC_ASYNCHRONOUS_WAIT_DISABLE;
- 259 .loc 1 57 0
- 260 003c 0263 str r2, [r0, #48]
- 58:Core/Src/fsmc.c **** hsram1.Init.WriteBurst = FSMC_WRITE_BURST_ENABLE;
- 261 .loc 1 58 0
- 262 003e 4263 str r2, [r0, #52]
- 59:Core/Src/fsmc.c **** /* Timing */
- 263 .loc 1 59 0
- 264 0040 4FF40023 mov r3, #524288
- 265 0044 8363 str r3, [r0, #56]
- 61:Core/Src/fsmc.c **** Timing.AddressHoldTime = 15;
- 266 .loc 1 61 0
- 267 0046 0F23 movs r3, #15
- 268 0048 0193 str r3, [sp, #4]
- 62:Core/Src/fsmc.c **** Timing.DataSetupTime = 255;
- 269 .loc 1 62 0
- 270 004a 0293 str r3, [sp, #8]
- 63:Core/Src/fsmc.c **** Timing.BusTurnAroundDuration = 15;
- 271 .loc 1 63 0
- 272 004c FF25 movs r5, #255
- 273 004e 0395 str r5, [sp, #12]
- 64:Core/Src/fsmc.c **** Timing.CLKDivision = 16;
- 274 .loc 1 64 0
- 275 0050 0493 str r3, [sp, #16]
- 65:Core/Src/fsmc.c **** Timing.DataLatency = 2;
- 276 .loc 1 65 0
- 277 0052 0594 str r4, [sp, #20]
- 66:Core/Src/fsmc.c **** Timing.AccessMode = FSMC_ACCESS_MODE_A;
- 278 .loc 1 66 0
- 279 0054 0691 str r1, [sp, #24]
- 70:Core/Src/fsmc.c **** {
- 280 .loc 1 70 0
- 281 0056 01A9 add r1, sp, #4
- 282 0058 FFF7FEFF bl HAL_SRAM_Init
- 283 .LVL7:
- 284 005c 08B9 cbnz r0, .L17
- 285 .L14:
- 78:Core/Src/fsmc.c ****
- 286 .loc 1 78 0
- 287 005e 09B0 add sp, sp, #36
- 288 .LCFI7:
- 289 .cfi_remember_state
- 290 .cfi_def_cfa_offset 12
- 291 @ sp needed
- 292 0060 30BD pop {r4, r5, pc}
- 293 .L17:
- 294 .LCFI8:
- 295 .cfi_restore_state
- 72:Core/Src/fsmc.c **** }
-ARM GAS /tmp/cc5v6Cmy.s page 11
-
-
- 296 .loc 1 72 0
- 297 0062 FFF7FEFF bl Error_Handler
- 298 .LVL8:
- 78:Core/Src/fsmc.c ****
- 299 .loc 1 78 0
- 300 0066 FAE7 b .L14
- 301 .L19:
- 302 .align 2
- 303 .L18:
- 304 0068 00000000 .word hsram1
- 305 .cfi_endproc
- 306 .LFE65:
- 308 .section .text.HAL_SRAM_MspInit,"ax",%progbits
- 309 .align 1
- 310 .global HAL_SRAM_MspInit
- 311 .syntax unified
- 312 .thumb
- 313 .thumb_func
- 314 .fpu softvfp
- 316 HAL_SRAM_MspInit:
- 317 .LFB67:
- 168:Core/Src/fsmc.c **** /* USER CODE BEGIN SRAM_MspInit 0 */
- 318 .loc 1 168 0
- 319 .cfi_startproc
- 320 @ args = 0, pretend = 0, frame = 0
- 321 @ frame_needed = 0, uses_anonymous_args = 0
- 322 .LVL9:
- 323 0000 08B5 push {r3, lr}
- 324 .LCFI9:
- 325 .cfi_def_cfa_offset 8
- 326 .cfi_offset 3, -8
- 327 .cfi_offset 14, -4
- 172:Core/Src/fsmc.c **** /* USER CODE BEGIN SRAM_MspInit 1 */
- 328 .loc 1 172 0
- 329 0002 FFF7FEFF bl HAL_FSMC_MspInit
- 330 .LVL10:
- 331 0006 08BD pop {r3, pc}
- 332 .cfi_endproc
- 333 .LFE67:
- 335 .section .text.HAL_SRAM_MspDeInit,"ax",%progbits
- 336 .align 1
- 337 .global HAL_SRAM_MspDeInit
- 338 .syntax unified
- 339 .thumb
- 340 .thumb_func
- 341 .fpu softvfp
- 343 HAL_SRAM_MspDeInit:
- 344 .LFB69:
- 237:Core/Src/fsmc.c ****
- 238:Core/Src/fsmc.c **** /* USER CODE BEGIN FSMC_MspDeInit 1 */
- 239:Core/Src/fsmc.c ****
- 240:Core/Src/fsmc.c **** /* USER CODE END FSMC_MspDeInit 1 */
- 241:Core/Src/fsmc.c **** }
- 242:Core/Src/fsmc.c ****
- 243:Core/Src/fsmc.c **** void HAL_SRAM_MspDeInit(SRAM_HandleTypeDef* sramHandle){
- 345 .loc 1 243 0
- 346 .cfi_startproc
-ARM GAS /tmp/cc5v6Cmy.s page 12
-
-
- 347 @ args = 0, pretend = 0, frame = 0
- 348 @ frame_needed = 0, uses_anonymous_args = 0
- 349 .LVL11:
- 350 0000 08B5 push {r3, lr}
- 351 .LCFI10:
- 352 .cfi_def_cfa_offset 8
- 353 .cfi_offset 3, -8
- 354 .cfi_offset 14, -4
- 244:Core/Src/fsmc.c **** /* USER CODE BEGIN SRAM_MspDeInit 0 */
- 245:Core/Src/fsmc.c ****
- 246:Core/Src/fsmc.c **** /* USER CODE END SRAM_MspDeInit 0 */
- 247:Core/Src/fsmc.c **** HAL_FSMC_MspDeInit();
- 355 .loc 1 247 0
- 356 0002 FFF7FEFF bl HAL_FSMC_MspDeInit
- 357 .LVL12:
- 358 0006 08BD pop {r3, pc}
- 359 .cfi_endproc
- 360 .LFE69:
- 362 .comm hsram1,72,4
- 363 .section .bss.FSMC_DeInitialized,"aw",%nobits
- 364 .align 2
- 365 .set .LANCHOR1,. + 0
- 368 FSMC_DeInitialized:
- 369 0000 00000000 .space 4
- 370 .section .bss.FSMC_Initialized,"aw",%nobits
- 371 .align 2
- 372 .set .LANCHOR0,. + 0
- 375 FSMC_Initialized:
- 376 0000 00000000 .space 4
- 377 .text
- 378 .Letext0:
- 379 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 380 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 381 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 382 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 383 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 384 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 385 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h"
- 386 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
- 387 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_fsmc.h"
- 388 .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_sram.h"
- 389 .file 12 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
- 390 .file 13 "Core/Inc/fsmc.h"
- 391 .file 14 "Core/Inc/main.h"
-ARM GAS /tmp/cc5v6Cmy.s page 13
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 fsmc.c
- /tmp/cc5v6Cmy.s:16 .text.HAL_FSMC_MspInit:0000000000000000 $t
- /tmp/cc5v6Cmy.s:22 .text.HAL_FSMC_MspInit:0000000000000000 HAL_FSMC_MspInit
- /tmp/cc5v6Cmy.s:131 .text.HAL_FSMC_MspInit:0000000000000080 $d
- /tmp/cc5v6Cmy.s:140 .text.HAL_FSMC_MspDeInit:0000000000000000 $t
- /tmp/cc5v6Cmy.s:146 .text.HAL_FSMC_MspDeInit:0000000000000000 HAL_FSMC_MspDeInit
- /tmp/cc5v6Cmy.s:192 .text.HAL_FSMC_MspDeInit:0000000000000038 $d
- /tmp/cc5v6Cmy.s:201 .text.MX_FSMC_Init:0000000000000000 $t
- /tmp/cc5v6Cmy.s:208 .text.MX_FSMC_Init:0000000000000000 MX_FSMC_Init
- /tmp/cc5v6Cmy.s:304 .text.MX_FSMC_Init:0000000000000068 $d
- *COM*:0000000000000048 hsram1
- /tmp/cc5v6Cmy.s:309 .text.HAL_SRAM_MspInit:0000000000000000 $t
- /tmp/cc5v6Cmy.s:316 .text.HAL_SRAM_MspInit:0000000000000000 HAL_SRAM_MspInit
- /tmp/cc5v6Cmy.s:336 .text.HAL_SRAM_MspDeInit:0000000000000000 $t
- /tmp/cc5v6Cmy.s:343 .text.HAL_SRAM_MspDeInit:0000000000000000 HAL_SRAM_MspDeInit
- /tmp/cc5v6Cmy.s:364 .bss.FSMC_DeInitialized:0000000000000000 $d
- /tmp/cc5v6Cmy.s:368 .bss.FSMC_DeInitialized:0000000000000000 FSMC_DeInitialized
- /tmp/cc5v6Cmy.s:371 .bss.FSMC_Initialized:0000000000000000 $d
- /tmp/cc5v6Cmy.s:375 .bss.FSMC_Initialized:0000000000000000 FSMC_Initialized
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-HAL_GPIO_Init
-HAL_GPIO_DeInit
-HAL_SRAM_Init
-Error_Handler
diff --git a/build/fsmc.o b/build/fsmc.o
deleted file mode 100644
index a0cd21f..0000000
Binary files a/build/fsmc.o and /dev/null differ
diff --git a/build/gpio.d b/build/gpio.d
deleted file mode 100644
index 875f58e..0000000
--- a/build/gpio.d
+++ /dev/null
@@ -1,96 +0,0 @@
-build/gpio.o: Core/Src/gpio.c Core/Inc/gpio.h Core/Inc/main.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Core/Inc/gpio.h:
-
-Core/Inc/main.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/gpio.lst b/build/gpio.lst
deleted file mode 100644
index d41f897..0000000
--- a/build/gpio.lst
+++ /dev/null
@@ -1,378 +0,0 @@
-ARM GAS /tmp/ccbteiYB.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "gpio.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.MX_GPIO_Init,"ax",%progbits
- 16 .align 1
- 17 .global MX_GPIO_Init
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 MX_GPIO_Init:
- 24 .LFB65:
- 25 .file 1 "Core/Src/gpio.c"
- 1:Core/Src/gpio.c **** /**
- 2:Core/Src/gpio.c **** ******************************************************************************
- 3:Core/Src/gpio.c **** * @file gpio.c
- 4:Core/Src/gpio.c **** * @brief This file provides code for the configuration
- 5:Core/Src/gpio.c **** * of all used GPIO pins.
- 6:Core/Src/gpio.c **** ******************************************************************************
- 7:Core/Src/gpio.c **** * @attention
- 8:Core/Src/gpio.c **** *
- 9:Core/Src/gpio.c **** * © Copyright (c) 2021 STMicroelectronics.
- 10:Core/Src/gpio.c **** * All rights reserved.
- 11:Core/Src/gpio.c **** *
- 12:Core/Src/gpio.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 13:Core/Src/gpio.c **** * the "License"; You may not use this file except in compliance with the
- 14:Core/Src/gpio.c **** * License. You may obtain a copy of the License at:
- 15:Core/Src/gpio.c **** * opensource.org/licenses/BSD-3-Clause
- 16:Core/Src/gpio.c **** *
- 17:Core/Src/gpio.c **** ******************************************************************************
- 18:Core/Src/gpio.c **** */
- 19:Core/Src/gpio.c ****
- 20:Core/Src/gpio.c **** /* Includes ------------------------------------------------------------------*/
- 21:Core/Src/gpio.c **** #include "gpio.h"
- 22:Core/Src/gpio.c ****
- 23:Core/Src/gpio.c **** /* USER CODE BEGIN 0 */
- 24:Core/Src/gpio.c ****
- 25:Core/Src/gpio.c **** /* USER CODE END 0 */
- 26:Core/Src/gpio.c ****
- 27:Core/Src/gpio.c **** /*----------------------------------------------------------------------------*/
- 28:Core/Src/gpio.c **** /* Configure GPIO */
- 29:Core/Src/gpio.c **** /*----------------------------------------------------------------------------*/
- 30:Core/Src/gpio.c **** /* USER CODE BEGIN 1 */
- 31:Core/Src/gpio.c ****
- 32:Core/Src/gpio.c **** /* USER CODE END 1 */
- 33:Core/Src/gpio.c ****
-ARM GAS /tmp/ccbteiYB.s page 2
-
-
- 34:Core/Src/gpio.c **** /** Configure pins as
- 35:Core/Src/gpio.c **** * Analog
- 36:Core/Src/gpio.c **** * Input
- 37:Core/Src/gpio.c **** * Output
- 38:Core/Src/gpio.c **** * EVENT_OUT
- 39:Core/Src/gpio.c **** * EXTI
- 40:Core/Src/gpio.c **** */
- 41:Core/Src/gpio.c **** void MX_GPIO_Init(void)
- 42:Core/Src/gpio.c **** {
- 26 .loc 1 42 0
- 27 .cfi_startproc
- 28 @ args = 0, pretend = 0, frame = 32
- 29 @ frame_needed = 0, uses_anonymous_args = 0
- 30 0000 2DE9F047 push {r4, r5, r6, r7, r8, r9, r10, lr}
- 31 .LCFI0:
- 32 .cfi_def_cfa_offset 32
- 33 .cfi_offset 4, -32
- 34 .cfi_offset 5, -28
- 35 .cfi_offset 6, -24
- 36 .cfi_offset 7, -20
- 37 .cfi_offset 8, -16
- 38 .cfi_offset 9, -12
- 39 .cfi_offset 10, -8
- 40 .cfi_offset 14, -4
- 41 0004 88B0 sub sp, sp, #32
- 42 .LCFI1:
- 43 .cfi_def_cfa_offset 64
- 43:Core/Src/gpio.c ****
- 44:Core/Src/gpio.c **** GPIO_InitTypeDef GPIO_InitStruct = {0};
- 44 .loc 1 44 0
- 45 0006 0024 movs r4, #0
- 46 0008 0494 str r4, [sp, #16]
- 47 000a 0594 str r4, [sp, #20]
- 48 000c 0694 str r4, [sp, #24]
- 49 000e 0794 str r4, [sp, #28]
- 50 .LBB2:
- 45:Core/Src/gpio.c ****
- 46:Core/Src/gpio.c **** /* GPIO Ports Clock Enable */
- 47:Core/Src/gpio.c **** __HAL_RCC_GPIOC_CLK_ENABLE();
- 51 .loc 1 47 0
- 52 0010 414B ldr r3, .L3
- 53 0012 9A69 ldr r2, [r3, #24]
- 54 0014 42F01002 orr r2, r2, #16
- 55 0018 9A61 str r2, [r3, #24]
- 56 001a 9A69 ldr r2, [r3, #24]
- 57 001c 02F01002 and r2, r2, #16
- 58 0020 0192 str r2, [sp, #4]
- 59 0022 019A ldr r2, [sp, #4]
- 60 .LBE2:
- 61 .LBB3:
- 48:Core/Src/gpio.c **** __HAL_RCC_GPIOA_CLK_ENABLE();
- 62 .loc 1 48 0
- 63 0024 9A69 ldr r2, [r3, #24]
- 64 0026 42F00402 orr r2, r2, #4
- 65 002a 9A61 str r2, [r3, #24]
- 66 002c 9A69 ldr r2, [r3, #24]
- 67 002e 02F00402 and r2, r2, #4
-ARM GAS /tmp/ccbteiYB.s page 3
-
-
- 68 0032 0292 str r2, [sp, #8]
- 69 0034 029A ldr r2, [sp, #8]
- 70 .LBE3:
- 71 .LBB4:
- 49:Core/Src/gpio.c **** __HAL_RCC_GPIOB_CLK_ENABLE();
- 72 .loc 1 49 0
- 73 0036 9A69 ldr r2, [r3, #24]
- 74 0038 42F00802 orr r2, r2, #8
- 75 003c 9A61 str r2, [r3, #24]
- 76 003e 9B69 ldr r3, [r3, #24]
- 77 0040 03F00803 and r3, r3, #8
- 78 0044 0393 str r3, [sp, #12]
- 79 0046 039B ldr r3, [sp, #12]
- 80 .LBE4:
- 50:Core/Src/gpio.c ****
- 51:Core/Src/gpio.c **** /*Configure GPIO pin Output Level */
- 52:Core/Src/gpio.c **** HAL_GPIO_WritePin(SPI_ENC_CS_GPIO_Port, SPI_ENC_CS_Pin, GPIO_PIN_SET);
- 81 .loc 1 52 0
- 82 0048 344E ldr r6, .L3+4
- 83 004a 0122 movs r2, #1
- 84 004c 4FF40051 mov r1, #8192
- 85 0050 3046 mov r0, r6
- 86 0052 FFF7FEFF bl HAL_GPIO_WritePin
- 87 .LVL0:
- 53:Core/Src/gpio.c ****
- 54:Core/Src/gpio.c **** /*Configure GPIO pin Output Level */
- 55:Core/Src/gpio.c **** HAL_GPIO_WritePin(LED_GPIO_Port, LED_Pin, GPIO_PIN_RESET);
- 88 .loc 1 55 0
- 89 0056 2246 mov r2, r4
- 90 0058 0121 movs r1, #1
- 91 005a 3046 mov r0, r6
- 92 005c FFF7FEFF bl HAL_GPIO_WritePin
- 93 .LVL1:
- 56:Core/Src/gpio.c ****
- 57:Core/Src/gpio.c **** /*Configure GPIO pin Output Level */
- 58:Core/Src/gpio.c **** HAL_GPIO_WritePin(GPIOA, GPIO_PIN_8|GPIO_PIN_11|GPIO_PIN_12, GPIO_PIN_RESET);
- 94 .loc 1 58 0
- 95 0060 DFF8BC80 ldr r8, .L3+8
- 96 0064 2246 mov r2, r4
- 97 0066 4FF4C851 mov r1, #6400
- 98 006a 4046 mov r0, r8
- 99 006c FFF7FEFF bl HAL_GPIO_WritePin
- 100 .LVL2:
- 59:Core/Src/gpio.c ****
- 60:Core/Src/gpio.c **** /*Configure GPIO pin Output Level */
- 61:Core/Src/gpio.c **** HAL_GPIO_WritePin(SPI_FPGA_CS_GPIO_Port, SPI_FPGA_CS_Pin, GPIO_PIN_SET);
- 101 .loc 1 61 0
- 102 0070 0122 movs r2, #1
- 103 0072 4FF40041 mov r1, #32768
- 104 0076 4046 mov r0, r8
- 105 0078 FFF7FEFF bl HAL_GPIO_WritePin
- 106 .LVL3:
- 62:Core/Src/gpio.c ****
- 63:Core/Src/gpio.c **** /*Configure GPIO pin Output Level */
- 64:Core/Src/gpio.c **** HAL_GPIO_WritePin(SW_12V_GPIO_Port, SW_12V_Pin, GPIO_PIN_SET);
- 107 .loc 1 64 0
- 108 007c DFF8A490 ldr r9, .L3+12
-ARM GAS /tmp/ccbteiYB.s page 4
-
-
- 109 0080 0122 movs r2, #1
- 110 0082 4021 movs r1, #64
- 111 0084 4846 mov r0, r9
- 112 0086 FFF7FEFF bl HAL_GPIO_WritePin
- 113 .LVL4:
- 65:Core/Src/gpio.c ****
- 66:Core/Src/gpio.c **** /*Configure GPIO pin : PtPin */
- 67:Core/Src/gpio.c **** GPIO_InitStruct.Pin = SPI_ENC_CS_Pin;
- 114 .loc 1 67 0
- 115 008a 4FF40053 mov r3, #8192
- 116 008e 0493 str r3, [sp, #16]
- 68:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
- 117 .loc 1 68 0
- 118 0090 0125 movs r5, #1
- 119 0092 0595 str r5, [sp, #20]
- 69:Core/Src/gpio.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
- 120 .loc 1 69 0
- 121 0094 0694 str r4, [sp, #24]
- 70:Core/Src/gpio.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- 122 .loc 1 70 0
- 123 0096 4FF0030A mov r10, #3
- 124 009a CDF81CA0 str r10, [sp, #28]
- 71:Core/Src/gpio.c **** HAL_GPIO_Init(SPI_ENC_CS_GPIO_Port, &GPIO_InitStruct);
- 125 .loc 1 71 0
- 126 009e 04A9 add r1, sp, #16
- 127 00a0 3046 mov r0, r6
- 128 00a2 FFF7FEFF bl HAL_GPIO_Init
- 129 .LVL5:
- 72:Core/Src/gpio.c ****
- 73:Core/Src/gpio.c **** /*Configure GPIO pin : PtPin */
- 74:Core/Src/gpio.c **** GPIO_InitStruct.Pin = LED_Pin;
- 130 .loc 1 74 0
- 131 00a6 0495 str r5, [sp, #16]
- 75:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
- 132 .loc 1 75 0
- 133 00a8 0595 str r5, [sp, #20]
- 76:Core/Src/gpio.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
- 134 .loc 1 76 0
- 135 00aa 0694 str r4, [sp, #24]
- 77:Core/Src/gpio.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
- 136 .loc 1 77 0
- 137 00ac 0227 movs r7, #2
- 138 00ae 0797 str r7, [sp, #28]
- 78:Core/Src/gpio.c **** HAL_GPIO_Init(LED_GPIO_Port, &GPIO_InitStruct);
- 139 .loc 1 78 0
- 140 00b0 04A9 add r1, sp, #16
- 141 00b2 3046 mov r0, r6
- 142 00b4 FFF7FEFF bl HAL_GPIO_Init
- 143 .LVL6:
- 79:Core/Src/gpio.c ****
- 80:Core/Src/gpio.c **** /*Configure GPIO pin : PtPin */
- 81:Core/Src/gpio.c **** GPIO_InitStruct.Pin = KEY_Pin;
- 144 .loc 1 81 0
- 145 00b8 0497 str r7, [sp, #16]
- 82:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
- 146 .loc 1 82 0
- 147 00ba 0594 str r4, [sp, #20]
-ARM GAS /tmp/ccbteiYB.s page 5
-
-
- 83:Core/Src/gpio.c **** GPIO_InitStruct.Pull = GPIO_PULLUP;
- 148 .loc 1 83 0
- 149 00bc 0695 str r5, [sp, #24]
- 84:Core/Src/gpio.c **** HAL_GPIO_Init(KEY_GPIO_Port, &GPIO_InitStruct);
- 150 .loc 1 84 0
- 151 00be 04A9 add r1, sp, #16
- 152 00c0 3046 mov r0, r6
- 153 00c2 FFF7FEFF bl HAL_GPIO_Init
- 154 .LVL7:
- 85:Core/Src/gpio.c ****
- 86:Core/Src/gpio.c **** /*Configure GPIO pin : PtPin */
- 87:Core/Src/gpio.c **** GPIO_InitStruct.Pin = Fault_12V_Pin;
- 155 .loc 1 87 0
- 156 00c6 0423 movs r3, #4
- 157 00c8 0493 str r3, [sp, #16]
- 88:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
- 158 .loc 1 88 0
- 159 00ca 0594 str r4, [sp, #20]
- 89:Core/Src/gpio.c **** GPIO_InitStruct.Pull = GPIO_PULLUP;
- 160 .loc 1 89 0
- 161 00cc 0695 str r5, [sp, #24]
- 90:Core/Src/gpio.c **** HAL_GPIO_Init(Fault_12V_GPIO_Port, &GPIO_InitStruct);
- 162 .loc 1 90 0
- 163 00ce 04A9 add r1, sp, #16
- 164 00d0 4846 mov r0, r9
- 165 00d2 FFF7FEFF bl HAL_GPIO_Init
- 166 .LVL8:
- 91:Core/Src/gpio.c ****
- 92:Core/Src/gpio.c **** /*Configure GPIO pins : PA8 PA11 PA12 */
- 93:Core/Src/gpio.c **** GPIO_InitStruct.Pin = GPIO_PIN_8|GPIO_PIN_11|GPIO_PIN_12;
- 167 .loc 1 93 0
- 168 00d6 4FF4C853 mov r3, #6400
- 169 00da 0493 str r3, [sp, #16]
- 94:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
- 170 .loc 1 94 0
- 171 00dc 0595 str r5, [sp, #20]
- 95:Core/Src/gpio.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
- 172 .loc 1 95 0
- 173 00de 0694 str r4, [sp, #24]
- 96:Core/Src/gpio.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
- 174 .loc 1 96 0
- 175 00e0 0797 str r7, [sp, #28]
- 97:Core/Src/gpio.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 176 .loc 1 97 0
- 177 00e2 04A9 add r1, sp, #16
- 178 00e4 4046 mov r0, r8
- 179 00e6 FFF7FEFF bl HAL_GPIO_Init
- 180 .LVL9:
- 98:Core/Src/gpio.c ****
- 99:Core/Src/gpio.c **** /*Configure GPIO pin : PtPin */
- 100:Core/Src/gpio.c **** GPIO_InitStruct.Pin = SPI_FPGA_CS_Pin;
- 181 .loc 1 100 0
- 182 00ea 4FF40043 mov r3, #32768
- 183 00ee 0493 str r3, [sp, #16]
- 101:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
- 184 .loc 1 101 0
- 185 00f0 0595 str r5, [sp, #20]
-ARM GAS /tmp/ccbteiYB.s page 6
-
-
- 102:Core/Src/gpio.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
- 186 .loc 1 102 0
- 187 00f2 0694 str r4, [sp, #24]
- 103:Core/Src/gpio.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- 188 .loc 1 103 0
- 189 00f4 CDF81CA0 str r10, [sp, #28]
- 104:Core/Src/gpio.c **** HAL_GPIO_Init(SPI_FPGA_CS_GPIO_Port, &GPIO_InitStruct);
- 190 .loc 1 104 0
- 191 00f8 04A9 add r1, sp, #16
- 192 00fa 4046 mov r0, r8
- 193 00fc FFF7FEFF bl HAL_GPIO_Init
- 194 .LVL10:
- 105:Core/Src/gpio.c ****
- 106:Core/Src/gpio.c **** /*Configure GPIO pin : PtPin */
- 107:Core/Src/gpio.c **** GPIO_InitStruct.Pin = SW_12V_Pin;
- 195 .loc 1 107 0
- 196 0100 4023 movs r3, #64
- 197 0102 0493 str r3, [sp, #16]
- 108:Core/Src/gpio.c **** GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
- 198 .loc 1 108 0
- 199 0104 0595 str r5, [sp, #20]
- 109:Core/Src/gpio.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
- 200 .loc 1 109 0
- 201 0106 0694 str r4, [sp, #24]
- 110:Core/Src/gpio.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
- 202 .loc 1 110 0
- 203 0108 0797 str r7, [sp, #28]
- 111:Core/Src/gpio.c **** HAL_GPIO_Init(SW_12V_GPIO_Port, &GPIO_InitStruct);
- 204 .loc 1 111 0
- 205 010a 04A9 add r1, sp, #16
- 206 010c 4846 mov r0, r9
- 207 010e FFF7FEFF bl HAL_GPIO_Init
- 208 .LVL11:
- 112:Core/Src/gpio.c ****
- 113:Core/Src/gpio.c **** }
- 209 .loc 1 113 0
- 210 0112 08B0 add sp, sp, #32
- 211 .LCFI2:
- 212 .cfi_def_cfa_offset 32
- 213 @ sp needed
- 214 0114 BDE8F087 pop {r4, r5, r6, r7, r8, r9, r10, pc}
- 215 .L4:
- 216 .align 2
- 217 .L3:
- 218 0118 00100240 .word 1073876992
- 219 011c 00100140 .word 1073811456
- 220 0120 00080140 .word 1073809408
- 221 0124 000C0140 .word 1073810432
- 222 .cfi_endproc
- 223 .LFE65:
- 225 .text
- 226 .Letext0:
- 227 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 228 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 229 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 230 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 231 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
-ARM GAS /tmp/ccbteiYB.s page 7
-
-
- 232 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h"
- 233 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
-ARM GAS /tmp/ccbteiYB.s page 8
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 gpio.c
- /tmp/ccbteiYB.s:16 .text.MX_GPIO_Init:0000000000000000 $t
- /tmp/ccbteiYB.s:23 .text.MX_GPIO_Init:0000000000000000 MX_GPIO_Init
- /tmp/ccbteiYB.s:218 .text.MX_GPIO_Init:0000000000000118 $d
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-HAL_GPIO_WritePin
-HAL_GPIO_Init
diff --git a/build/gpio.o b/build/gpio.o
deleted file mode 100644
index 0196440..0000000
Binary files a/build/gpio.o and /dev/null differ
diff --git a/build/i2c.d b/build/i2c.d
deleted file mode 100644
index 4fb3fab..0000000
--- a/build/i2c.d
+++ /dev/null
@@ -1,96 +0,0 @@
-build/i2c.o: Core/Src/i2c.c Core/Inc/i2c.h Core/Inc/main.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Core/Inc/i2c.h:
-
-Core/Inc/main.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/i2c.lst b/build/i2c.lst
deleted file mode 100644
index 7a52ea8..0000000
--- a/build/i2c.lst
+++ /dev/null
@@ -1,642 +0,0 @@
-ARM GAS /tmp/ccpJ3TPh.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "i2c.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.MX_I2C1_Init,"ax",%progbits
- 16 .align 1
- 17 .global MX_I2C1_Init
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 MX_I2C1_Init:
- 24 .LFB65:
- 25 .file 1 "Core/Src/i2c.c"
- 1:Core/Src/i2c.c **** /**
- 2:Core/Src/i2c.c **** ******************************************************************************
- 3:Core/Src/i2c.c **** * @file i2c.c
- 4:Core/Src/i2c.c **** * @brief This file provides code for the configuration
- 5:Core/Src/i2c.c **** * of the I2C instances.
- 6:Core/Src/i2c.c **** ******************************************************************************
- 7:Core/Src/i2c.c **** * @attention
- 8:Core/Src/i2c.c **** *
- 9:Core/Src/i2c.c **** * © Copyright (c) 2021 STMicroelectronics.
- 10:Core/Src/i2c.c **** * All rights reserved.
- 11:Core/Src/i2c.c **** *
- 12:Core/Src/i2c.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 13:Core/Src/i2c.c **** * the "License"; You may not use this file except in compliance with the
- 14:Core/Src/i2c.c **** * License. You may obtain a copy of the License at:
- 15:Core/Src/i2c.c **** * opensource.org/licenses/BSD-3-Clause
- 16:Core/Src/i2c.c **** *
- 17:Core/Src/i2c.c **** ******************************************************************************
- 18:Core/Src/i2c.c **** */
- 19:Core/Src/i2c.c ****
- 20:Core/Src/i2c.c **** /* Includes ------------------------------------------------------------------*/
- 21:Core/Src/i2c.c **** #include "i2c.h"
- 22:Core/Src/i2c.c ****
- 23:Core/Src/i2c.c **** /* USER CODE BEGIN 0 */
- 24:Core/Src/i2c.c ****
- 25:Core/Src/i2c.c **** /* USER CODE END 0 */
- 26:Core/Src/i2c.c ****
- 27:Core/Src/i2c.c **** I2C_HandleTypeDef hi2c1;
- 28:Core/Src/i2c.c **** I2C_HandleTypeDef hi2c2;
- 29:Core/Src/i2c.c ****
- 30:Core/Src/i2c.c **** /* I2C1 init function */
- 31:Core/Src/i2c.c **** void MX_I2C1_Init(void)
- 32:Core/Src/i2c.c **** {
- 26 .loc 1 32 0
-ARM GAS /tmp/ccpJ3TPh.s page 2
-
-
- 27 .cfi_startproc
- 28 @ args = 0, pretend = 0, frame = 0
- 29 @ frame_needed = 0, uses_anonymous_args = 0
- 30 0000 08B5 push {r3, lr}
- 31 .LCFI0:
- 32 .cfi_def_cfa_offset 8
- 33 .cfi_offset 3, -8
- 34 .cfi_offset 14, -4
- 33:Core/Src/i2c.c ****
- 34:Core/Src/i2c.c **** /* USER CODE BEGIN I2C1_Init 0 */
- 35:Core/Src/i2c.c ****
- 36:Core/Src/i2c.c **** /* USER CODE END I2C1_Init 0 */
- 37:Core/Src/i2c.c ****
- 38:Core/Src/i2c.c **** /* USER CODE BEGIN I2C1_Init 1 */
- 39:Core/Src/i2c.c ****
- 40:Core/Src/i2c.c **** /* USER CODE END I2C1_Init 1 */
- 41:Core/Src/i2c.c **** hi2c1.Instance = I2C1;
- 35 .loc 1 41 0
- 36 0002 0B48 ldr r0, .L5
- 37 0004 0B4B ldr r3, .L5+4
- 38 0006 0360 str r3, [r0]
- 42:Core/Src/i2c.c **** hi2c1.Init.ClockSpeed = 100000;
- 39 .loc 1 42 0
- 40 0008 0B4B ldr r3, .L5+8
- 41 000a 4360 str r3, [r0, #4]
- 43:Core/Src/i2c.c **** hi2c1.Init.DutyCycle = I2C_DUTYCYCLE_2;
- 42 .loc 1 43 0
- 43 000c 0023 movs r3, #0
- 44 000e 8360 str r3, [r0, #8]
- 44:Core/Src/i2c.c **** hi2c1.Init.OwnAddress1 = 0;
- 45 .loc 1 44 0
- 46 0010 C360 str r3, [r0, #12]
- 45:Core/Src/i2c.c **** hi2c1.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT;
- 47 .loc 1 45 0
- 48 0012 4FF48042 mov r2, #16384
- 49 0016 0261 str r2, [r0, #16]
- 46:Core/Src/i2c.c **** hi2c1.Init.DualAddressMode = I2C_DUALADDRESS_DISABLE;
- 50 .loc 1 46 0
- 51 0018 4361 str r3, [r0, #20]
- 47:Core/Src/i2c.c **** hi2c1.Init.OwnAddress2 = 0;
- 52 .loc 1 47 0
- 53 001a 8361 str r3, [r0, #24]
- 48:Core/Src/i2c.c **** hi2c1.Init.GeneralCallMode = I2C_GENERALCALL_DISABLE;
- 54 .loc 1 48 0
- 55 001c C361 str r3, [r0, #28]
- 49:Core/Src/i2c.c **** hi2c1.Init.NoStretchMode = I2C_NOSTRETCH_DISABLE;
- 56 .loc 1 49 0
- 57 001e 0362 str r3, [r0, #32]
- 50:Core/Src/i2c.c **** if (HAL_I2C_Init(&hi2c1) != HAL_OK)
- 58 .loc 1 50 0
- 59 0020 FFF7FEFF bl HAL_I2C_Init
- 60 .LVL0:
- 61 0024 00B9 cbnz r0, .L4
- 62 .L1:
- 63 0026 08BD pop {r3, pc}
- 64 .L4:
- 51:Core/Src/i2c.c **** {
-ARM GAS /tmp/ccpJ3TPh.s page 3
-
-
- 52:Core/Src/i2c.c **** Error_Handler();
- 65 .loc 1 52 0
- 66 0028 FFF7FEFF bl Error_Handler
- 67 .LVL1:
- 53:Core/Src/i2c.c **** }
- 54:Core/Src/i2c.c **** /* USER CODE BEGIN I2C1_Init 2 */
- 55:Core/Src/i2c.c ****
- 56:Core/Src/i2c.c **** /* USER CODE END I2C1_Init 2 */
- 57:Core/Src/i2c.c ****
- 58:Core/Src/i2c.c **** }
- 68 .loc 1 58 0
- 69 002c FBE7 b .L1
- 70 .L6:
- 71 002e 00BF .align 2
- 72 .L5:
- 73 0030 00000000 .word hi2c1
- 74 0034 00540040 .word 1073763328
- 75 0038 A0860100 .word 100000
- 76 .cfi_endproc
- 77 .LFE65:
- 79 .section .text.MX_I2C2_Init,"ax",%progbits
- 80 .align 1
- 81 .global MX_I2C2_Init
- 82 .syntax unified
- 83 .thumb
- 84 .thumb_func
- 85 .fpu softvfp
- 87 MX_I2C2_Init:
- 88 .LFB66:
- 59:Core/Src/i2c.c **** /* I2C2 init function */
- 60:Core/Src/i2c.c **** void MX_I2C2_Init(void)
- 61:Core/Src/i2c.c **** {
- 89 .loc 1 61 0
- 90 .cfi_startproc
- 91 @ args = 0, pretend = 0, frame = 0
- 92 @ frame_needed = 0, uses_anonymous_args = 0
- 93 0000 08B5 push {r3, lr}
- 94 .LCFI1:
- 95 .cfi_def_cfa_offset 8
- 96 .cfi_offset 3, -8
- 97 .cfi_offset 14, -4
- 62:Core/Src/i2c.c ****
- 63:Core/Src/i2c.c **** /* USER CODE BEGIN I2C2_Init 0 */
- 64:Core/Src/i2c.c ****
- 65:Core/Src/i2c.c **** /* USER CODE END I2C2_Init 0 */
- 66:Core/Src/i2c.c ****
- 67:Core/Src/i2c.c **** /* USER CODE BEGIN I2C2_Init 1 */
- 68:Core/Src/i2c.c ****
- 69:Core/Src/i2c.c **** /* USER CODE END I2C2_Init 1 */
- 70:Core/Src/i2c.c **** hi2c2.Instance = I2C2;
- 98 .loc 1 70 0
- 99 0002 0B48 ldr r0, .L11
- 100 0004 0B4B ldr r3, .L11+4
- 101 0006 0360 str r3, [r0]
- 71:Core/Src/i2c.c **** hi2c2.Init.ClockSpeed = 100000;
- 102 .loc 1 71 0
- 103 0008 0B4B ldr r3, .L11+8
-ARM GAS /tmp/ccpJ3TPh.s page 4
-
-
- 104 000a 4360 str r3, [r0, #4]
- 72:Core/Src/i2c.c **** hi2c2.Init.DutyCycle = I2C_DUTYCYCLE_2;
- 105 .loc 1 72 0
- 106 000c 0023 movs r3, #0
- 107 000e 8360 str r3, [r0, #8]
- 73:Core/Src/i2c.c **** hi2c2.Init.OwnAddress1 = 0;
- 108 .loc 1 73 0
- 109 0010 C360 str r3, [r0, #12]
- 74:Core/Src/i2c.c **** hi2c2.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT;
- 110 .loc 1 74 0
- 111 0012 4FF48042 mov r2, #16384
- 112 0016 0261 str r2, [r0, #16]
- 75:Core/Src/i2c.c **** hi2c2.Init.DualAddressMode = I2C_DUALADDRESS_DISABLE;
- 113 .loc 1 75 0
- 114 0018 4361 str r3, [r0, #20]
- 76:Core/Src/i2c.c **** hi2c2.Init.OwnAddress2 = 0;
- 115 .loc 1 76 0
- 116 001a 8361 str r3, [r0, #24]
- 77:Core/Src/i2c.c **** hi2c2.Init.GeneralCallMode = I2C_GENERALCALL_DISABLE;
- 117 .loc 1 77 0
- 118 001c C361 str r3, [r0, #28]
- 78:Core/Src/i2c.c **** hi2c2.Init.NoStretchMode = I2C_NOSTRETCH_DISABLE;
- 119 .loc 1 78 0
- 120 001e 0362 str r3, [r0, #32]
- 79:Core/Src/i2c.c **** if (HAL_I2C_Init(&hi2c2) != HAL_OK)
- 121 .loc 1 79 0
- 122 0020 FFF7FEFF bl HAL_I2C_Init
- 123 .LVL2:
- 124 0024 00B9 cbnz r0, .L10
- 125 .L7:
- 126 0026 08BD pop {r3, pc}
- 127 .L10:
- 80:Core/Src/i2c.c **** {
- 81:Core/Src/i2c.c **** Error_Handler();
- 128 .loc 1 81 0
- 129 0028 FFF7FEFF bl Error_Handler
- 130 .LVL3:
- 82:Core/Src/i2c.c **** }
- 83:Core/Src/i2c.c **** /* USER CODE BEGIN I2C2_Init 2 */
- 84:Core/Src/i2c.c ****
- 85:Core/Src/i2c.c **** /* USER CODE END I2C2_Init 2 */
- 86:Core/Src/i2c.c ****
- 87:Core/Src/i2c.c **** }
- 131 .loc 1 87 0
- 132 002c FBE7 b .L7
- 133 .L12:
- 134 002e 00BF .align 2
- 135 .L11:
- 136 0030 00000000 .word hi2c2
- 137 0034 00580040 .word 1073764352
- 138 0038 A0860100 .word 100000
- 139 .cfi_endproc
- 140 .LFE66:
- 142 .section .text.HAL_I2C_MspInit,"ax",%progbits
- 143 .align 1
- 144 .global HAL_I2C_MspInit
- 145 .syntax unified
-ARM GAS /tmp/ccpJ3TPh.s page 5
-
-
- 146 .thumb
- 147 .thumb_func
- 148 .fpu softvfp
- 150 HAL_I2C_MspInit:
- 151 .LFB67:
- 88:Core/Src/i2c.c ****
- 89:Core/Src/i2c.c **** void HAL_I2C_MspInit(I2C_HandleTypeDef* i2cHandle)
- 90:Core/Src/i2c.c **** {
- 152 .loc 1 90 0
- 153 .cfi_startproc
- 154 @ args = 0, pretend = 0, frame = 32
- 155 @ frame_needed = 0, uses_anonymous_args = 0
- 156 .LVL4:
- 157 0000 10B5 push {r4, lr}
- 158 .LCFI2:
- 159 .cfi_def_cfa_offset 8
- 160 .cfi_offset 4, -8
- 161 .cfi_offset 14, -4
- 162 0002 88B0 sub sp, sp, #32
- 163 .LCFI3:
- 164 .cfi_def_cfa_offset 40
- 91:Core/Src/i2c.c ****
- 92:Core/Src/i2c.c **** GPIO_InitTypeDef GPIO_InitStruct = {0};
- 165 .loc 1 92 0
- 166 0004 0023 movs r3, #0
- 167 0006 0493 str r3, [sp, #16]
- 168 0008 0593 str r3, [sp, #20]
- 169 000a 0693 str r3, [sp, #24]
- 170 000c 0793 str r3, [sp, #28]
- 93:Core/Src/i2c.c **** if(i2cHandle->Instance==I2C1)
- 171 .loc 1 93 0
- 172 000e 0368 ldr r3, [r0]
- 173 0010 264A ldr r2, .L19
- 174 0012 9342 cmp r3, r2
- 175 0014 04D0 beq .L17
- 94:Core/Src/i2c.c **** {
- 95:Core/Src/i2c.c **** /* USER CODE BEGIN I2C1_MspInit 0 */
- 96:Core/Src/i2c.c ****
- 97:Core/Src/i2c.c **** /* USER CODE END I2C1_MspInit 0 */
- 98:Core/Src/i2c.c ****
- 99:Core/Src/i2c.c **** __HAL_RCC_GPIOB_CLK_ENABLE();
- 100:Core/Src/i2c.c **** /**I2C1 GPIO Configuration
- 101:Core/Src/i2c.c **** PB8 ------> I2C1_SCL
- 102:Core/Src/i2c.c **** PB9 ------> I2C1_SDA
- 103:Core/Src/i2c.c **** */
- 104:Core/Src/i2c.c **** GPIO_InitStruct.Pin = GPIO_PIN_8|GPIO_PIN_9;
- 105:Core/Src/i2c.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
- 106:Core/Src/i2c.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- 107:Core/Src/i2c.c **** HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
- 108:Core/Src/i2c.c ****
- 109:Core/Src/i2c.c **** __HAL_AFIO_REMAP_I2C1_ENABLE();
- 110:Core/Src/i2c.c ****
- 111:Core/Src/i2c.c **** /* I2C1 clock enable */
- 112:Core/Src/i2c.c **** __HAL_RCC_I2C1_CLK_ENABLE();
- 113:Core/Src/i2c.c **** /* USER CODE BEGIN I2C1_MspInit 1 */
- 114:Core/Src/i2c.c ****
- 115:Core/Src/i2c.c **** /* USER CODE END I2C1_MspInit 1 */
-ARM GAS /tmp/ccpJ3TPh.s page 6
-
-
- 116:Core/Src/i2c.c **** }
- 117:Core/Src/i2c.c **** else if(i2cHandle->Instance==I2C2)
- 176 .loc 1 117 0
- 177 0016 264A ldr r2, .L19+4
- 178 0018 9342 cmp r3, r2
- 179 001a 27D0 beq .L18
- 180 .LVL5:
- 181 .L13:
- 118:Core/Src/i2c.c **** {
- 119:Core/Src/i2c.c **** /* USER CODE BEGIN I2C2_MspInit 0 */
- 120:Core/Src/i2c.c ****
- 121:Core/Src/i2c.c **** /* USER CODE END I2C2_MspInit 0 */
- 122:Core/Src/i2c.c ****
- 123:Core/Src/i2c.c **** __HAL_RCC_GPIOB_CLK_ENABLE();
- 124:Core/Src/i2c.c **** /**I2C2 GPIO Configuration
- 125:Core/Src/i2c.c **** PB10 ------> I2C2_SCL
- 126:Core/Src/i2c.c **** PB11 ------> I2C2_SDA
- 127:Core/Src/i2c.c **** */
- 128:Core/Src/i2c.c **** GPIO_InitStruct.Pin = GPIO_PIN_10|GPIO_PIN_11;
- 129:Core/Src/i2c.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
- 130:Core/Src/i2c.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- 131:Core/Src/i2c.c **** HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
- 132:Core/Src/i2c.c ****
- 133:Core/Src/i2c.c **** /* I2C2 clock enable */
- 134:Core/Src/i2c.c **** __HAL_RCC_I2C2_CLK_ENABLE();
- 135:Core/Src/i2c.c **** /* USER CODE BEGIN I2C2_MspInit 1 */
- 136:Core/Src/i2c.c ****
- 137:Core/Src/i2c.c **** /* USER CODE END I2C2_MspInit 1 */
- 138:Core/Src/i2c.c **** }
- 139:Core/Src/i2c.c **** }
- 182 .loc 1 139 0
- 183 001c 08B0 add sp, sp, #32
- 184 .LCFI4:
- 185 .cfi_remember_state
- 186 .cfi_def_cfa_offset 8
- 187 @ sp needed
- 188 001e 10BD pop {r4, pc}
- 189 .LVL6:
- 190 .L17:
- 191 .LCFI5:
- 192 .cfi_restore_state
- 193 .LBB2:
- 99:Core/Src/i2c.c **** /**I2C1 GPIO Configuration
- 194 .loc 1 99 0
- 195 0020 244C ldr r4, .L19+8
- 196 0022 A369 ldr r3, [r4, #24]
- 197 0024 43F00803 orr r3, r3, #8
- 198 0028 A361 str r3, [r4, #24]
- 199 002a A369 ldr r3, [r4, #24]
- 200 002c 03F00803 and r3, r3, #8
- 201 0030 0093 str r3, [sp]
- 202 0032 009B ldr r3, [sp]
- 203 .LBE2:
- 104:Core/Src/i2c.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
- 204 .loc 1 104 0
- 205 0034 4FF44073 mov r3, #768
- 206 0038 0493 str r3, [sp, #16]
-ARM GAS /tmp/ccpJ3TPh.s page 7
-
-
- 105:Core/Src/i2c.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- 207 .loc 1 105 0
- 208 003a 1223 movs r3, #18
- 209 003c 0593 str r3, [sp, #20]
- 106:Core/Src/i2c.c **** HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
- 210 .loc 1 106 0
- 211 003e 0323 movs r3, #3
- 212 0040 0793 str r3, [sp, #28]
- 107:Core/Src/i2c.c ****
- 213 .loc 1 107 0
- 214 0042 04A9 add r1, sp, #16
- 215 0044 1C48 ldr r0, .L19+12
- 216 .LVL7:
- 217 0046 FFF7FEFF bl HAL_GPIO_Init
- 218 .LVL8:
- 219 .LBB3:
- 109:Core/Src/i2c.c ****
- 220 .loc 1 109 0
- 221 004a 1C4A ldr r2, .L19+16
- 222 004c 5368 ldr r3, [r2, #4]
- 223 .LVL9:
- 224 004e 43F0E063 orr r3, r3, #117440512
- 225 .LVL10:
- 226 0052 43F00203 orr r3, r3, #2
- 227 .LVL11:
- 228 0056 5360 str r3, [r2, #4]
- 229 .LBE3:
- 230 .LBB4:
- 112:Core/Src/i2c.c **** /* USER CODE BEGIN I2C1_MspInit 1 */
- 231 .loc 1 112 0
- 232 0058 E369 ldr r3, [r4, #28]
- 233 .LVL12:
- 234 005a 43F40013 orr r3, r3, #2097152
- 235 005e E361 str r3, [r4, #28]
- 236 .LVL13:
- 237 0060 E369 ldr r3, [r4, #28]
- 238 0062 03F40013 and r3, r3, #2097152
- 239 0066 0193 str r3, [sp, #4]
- 240 0068 019B ldr r3, [sp, #4]
- 241 .LBE4:
- 242 006a D7E7 b .L13
- 243 .LVL14:
- 244 .L18:
- 245 .LBB5:
- 123:Core/Src/i2c.c **** /**I2C2 GPIO Configuration
- 246 .loc 1 123 0
- 247 006c 114C ldr r4, .L19+8
- 248 006e A369 ldr r3, [r4, #24]
- 249 0070 43F00803 orr r3, r3, #8
- 250 0074 A361 str r3, [r4, #24]
- 251 0076 A369 ldr r3, [r4, #24]
- 252 0078 03F00803 and r3, r3, #8
- 253 007c 0293 str r3, [sp, #8]
- 254 007e 029B ldr r3, [sp, #8]
- 255 .LBE5:
- 128:Core/Src/i2c.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
- 256 .loc 1 128 0
-ARM GAS /tmp/ccpJ3TPh.s page 8
-
-
- 257 0080 4FF44063 mov r3, #3072
- 258 0084 0493 str r3, [sp, #16]
- 129:Core/Src/i2c.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- 259 .loc 1 129 0
- 260 0086 1223 movs r3, #18
- 261 0088 0593 str r3, [sp, #20]
- 130:Core/Src/i2c.c **** HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
- 262 .loc 1 130 0
- 263 008a 0323 movs r3, #3
- 264 008c 0793 str r3, [sp, #28]
- 131:Core/Src/i2c.c ****
- 265 .loc 1 131 0
- 266 008e 04A9 add r1, sp, #16
- 267 0090 0948 ldr r0, .L19+12
- 268 .LVL15:
- 269 0092 FFF7FEFF bl HAL_GPIO_Init
- 270 .LVL16:
- 271 .LBB6:
- 134:Core/Src/i2c.c **** /* USER CODE BEGIN I2C2_MspInit 1 */
- 272 .loc 1 134 0
- 273 0096 E369 ldr r3, [r4, #28]
- 274 0098 43F48003 orr r3, r3, #4194304
- 275 009c E361 str r3, [r4, #28]
- 276 009e E369 ldr r3, [r4, #28]
- 277 00a0 03F48003 and r3, r3, #4194304
- 278 00a4 0393 str r3, [sp, #12]
- 279 00a6 039B ldr r3, [sp, #12]
- 280 .LBE6:
- 281 .loc 1 139 0
- 282 00a8 B8E7 b .L13
- 283 .L20:
- 284 00aa 00BF .align 2
- 285 .L19:
- 286 00ac 00540040 .word 1073763328
- 287 00b0 00580040 .word 1073764352
- 288 00b4 00100240 .word 1073876992
- 289 00b8 000C0140 .word 1073810432
- 290 00bc 00000140 .word 1073807360
- 291 .cfi_endproc
- 292 .LFE67:
- 294 .section .text.HAL_I2C_MspDeInit,"ax",%progbits
- 295 .align 1
- 296 .global HAL_I2C_MspDeInit
- 297 .syntax unified
- 298 .thumb
- 299 .thumb_func
- 300 .fpu softvfp
- 302 HAL_I2C_MspDeInit:
- 303 .LFB68:
- 140:Core/Src/i2c.c ****
- 141:Core/Src/i2c.c **** void HAL_I2C_MspDeInit(I2C_HandleTypeDef* i2cHandle)
- 142:Core/Src/i2c.c **** {
- 304 .loc 1 142 0
- 305 .cfi_startproc
- 306 @ args = 0, pretend = 0, frame = 0
- 307 @ frame_needed = 0, uses_anonymous_args = 0
- 308 .LVL17:
-ARM GAS /tmp/ccpJ3TPh.s page 9
-
-
- 309 0000 10B5 push {r4, lr}
- 310 .LCFI6:
- 311 .cfi_def_cfa_offset 8
- 312 .cfi_offset 4, -8
- 313 .cfi_offset 14, -4
- 143:Core/Src/i2c.c ****
- 144:Core/Src/i2c.c **** if(i2cHandle->Instance==I2C1)
- 314 .loc 1 144 0
- 315 0002 0368 ldr r3, [r0]
- 316 0004 154A ldr r2, .L27
- 317 0006 9342 cmp r3, r2
- 318 0008 03D0 beq .L25
- 145:Core/Src/i2c.c **** {
- 146:Core/Src/i2c.c **** /* USER CODE BEGIN I2C1_MspDeInit 0 */
- 147:Core/Src/i2c.c ****
- 148:Core/Src/i2c.c **** /* USER CODE END I2C1_MspDeInit 0 */
- 149:Core/Src/i2c.c **** /* Peripheral clock disable */
- 150:Core/Src/i2c.c **** __HAL_RCC_I2C1_CLK_DISABLE();
- 151:Core/Src/i2c.c ****
- 152:Core/Src/i2c.c **** /**I2C1 GPIO Configuration
- 153:Core/Src/i2c.c **** PB8 ------> I2C1_SCL
- 154:Core/Src/i2c.c **** PB9 ------> I2C1_SDA
- 155:Core/Src/i2c.c **** */
- 156:Core/Src/i2c.c **** HAL_GPIO_DeInit(GPIOB, GPIO_PIN_8);
- 157:Core/Src/i2c.c ****
- 158:Core/Src/i2c.c **** HAL_GPIO_DeInit(GPIOB, GPIO_PIN_9);
- 159:Core/Src/i2c.c ****
- 160:Core/Src/i2c.c **** /* USER CODE BEGIN I2C1_MspDeInit 1 */
- 161:Core/Src/i2c.c ****
- 162:Core/Src/i2c.c **** /* USER CODE END I2C1_MspDeInit 1 */
- 163:Core/Src/i2c.c **** }
- 164:Core/Src/i2c.c **** else if(i2cHandle->Instance==I2C2)
- 319 .loc 1 164 0
- 320 000a 154A ldr r2, .L27+4
- 321 000c 9342 cmp r3, r2
- 322 000e 12D0 beq .L26
- 323 .LVL18:
- 324 .L21:
- 325 0010 10BD pop {r4, pc}
- 326 .LVL19:
- 327 .L25:
- 150:Core/Src/i2c.c ****
- 328 .loc 1 150 0
- 329 0012 02F5DE32 add r2, r2, #113664
- 330 0016 D369 ldr r3, [r2, #28]
- 331 0018 23F40013 bic r3, r3, #2097152
- 332 001c D361 str r3, [r2, #28]
- 156:Core/Src/i2c.c ****
- 333 .loc 1 156 0
- 334 001e 114C ldr r4, .L27+8
- 335 0020 4FF48071 mov r1, #256
- 336 0024 2046 mov r0, r4
- 337 .LVL20:
- 338 0026 FFF7FEFF bl HAL_GPIO_DeInit
- 339 .LVL21:
- 158:Core/Src/i2c.c ****
- 340 .loc 1 158 0
-ARM GAS /tmp/ccpJ3TPh.s page 10
-
-
- 341 002a 4FF40071 mov r1, #512
- 342 002e 2046 mov r0, r4
- 343 0030 FFF7FEFF bl HAL_GPIO_DeInit
- 344 .LVL22:
- 345 0034 10BD pop {r4, pc}
- 346 .LVL23:
- 347 .L26:
- 165:Core/Src/i2c.c **** {
- 166:Core/Src/i2c.c **** /* USER CODE BEGIN I2C2_MspDeInit 0 */
- 167:Core/Src/i2c.c ****
- 168:Core/Src/i2c.c **** /* USER CODE END I2C2_MspDeInit 0 */
- 169:Core/Src/i2c.c **** /* Peripheral clock disable */
- 170:Core/Src/i2c.c **** __HAL_RCC_I2C2_CLK_DISABLE();
- 348 .loc 1 170 0
- 349 0036 02F5DC32 add r2, r2, #112640
- 350 003a D369 ldr r3, [r2, #28]
- 351 003c 23F48003 bic r3, r3, #4194304
- 352 0040 D361 str r3, [r2, #28]
- 171:Core/Src/i2c.c ****
- 172:Core/Src/i2c.c **** /**I2C2 GPIO Configuration
- 173:Core/Src/i2c.c **** PB10 ------> I2C2_SCL
- 174:Core/Src/i2c.c **** PB11 ------> I2C2_SDA
- 175:Core/Src/i2c.c **** */
- 176:Core/Src/i2c.c **** HAL_GPIO_DeInit(GPIOB, GPIO_PIN_10);
- 353 .loc 1 176 0
- 354 0042 084C ldr r4, .L27+8
- 355 0044 4FF48061 mov r1, #1024
- 356 0048 2046 mov r0, r4
- 357 .LVL24:
- 358 004a FFF7FEFF bl HAL_GPIO_DeInit
- 359 .LVL25:
- 177:Core/Src/i2c.c ****
- 178:Core/Src/i2c.c **** HAL_GPIO_DeInit(GPIOB, GPIO_PIN_11);
- 360 .loc 1 178 0
- 361 004e 4FF40061 mov r1, #2048
- 362 0052 2046 mov r0, r4
- 363 0054 FFF7FEFF bl HAL_GPIO_DeInit
- 364 .LVL26:
- 179:Core/Src/i2c.c ****
- 180:Core/Src/i2c.c **** /* USER CODE BEGIN I2C2_MspDeInit 1 */
- 181:Core/Src/i2c.c ****
- 182:Core/Src/i2c.c **** /* USER CODE END I2C2_MspDeInit 1 */
- 183:Core/Src/i2c.c **** }
- 184:Core/Src/i2c.c **** }
- 365 .loc 1 184 0
- 366 0058 DAE7 b .L21
- 367 .L28:
- 368 005a 00BF .align 2
- 369 .L27:
- 370 005c 00540040 .word 1073763328
- 371 0060 00580040 .word 1073764352
- 372 0064 000C0140 .word 1073810432
- 373 .cfi_endproc
- 374 .LFE68:
- 376 .comm hi2c2,84,4
- 377 .comm hi2c1,84,4
- 378 .text
-ARM GAS /tmp/ccpJ3TPh.s page 11
-
-
- 379 .Letext0:
- 380 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 381 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 382 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 383 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 384 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 385 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 386 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h"
- 387 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
- 388 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h"
- 389 .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
- 390 .file 12 "Core/Inc/i2c.h"
- 391 .file 13 "Core/Inc/main.h"
-ARM GAS /tmp/ccpJ3TPh.s page 12
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 i2c.c
- /tmp/ccpJ3TPh.s:16 .text.MX_I2C1_Init:0000000000000000 $t
- /tmp/ccpJ3TPh.s:23 .text.MX_I2C1_Init:0000000000000000 MX_I2C1_Init
- /tmp/ccpJ3TPh.s:73 .text.MX_I2C1_Init:0000000000000030 $d
- *COM*:0000000000000054 hi2c1
- /tmp/ccpJ3TPh.s:80 .text.MX_I2C2_Init:0000000000000000 $t
- /tmp/ccpJ3TPh.s:87 .text.MX_I2C2_Init:0000000000000000 MX_I2C2_Init
- /tmp/ccpJ3TPh.s:136 .text.MX_I2C2_Init:0000000000000030 $d
- *COM*:0000000000000054 hi2c2
- /tmp/ccpJ3TPh.s:143 .text.HAL_I2C_MspInit:0000000000000000 $t
- /tmp/ccpJ3TPh.s:150 .text.HAL_I2C_MspInit:0000000000000000 HAL_I2C_MspInit
- /tmp/ccpJ3TPh.s:286 .text.HAL_I2C_MspInit:00000000000000ac $d
- /tmp/ccpJ3TPh.s:295 .text.HAL_I2C_MspDeInit:0000000000000000 $t
- /tmp/ccpJ3TPh.s:302 .text.HAL_I2C_MspDeInit:0000000000000000 HAL_I2C_MspDeInit
- /tmp/ccpJ3TPh.s:370 .text.HAL_I2C_MspDeInit:000000000000005c $d
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-HAL_I2C_Init
-Error_Handler
-HAL_GPIO_Init
-HAL_GPIO_DeInit
diff --git a/build/i2c.o b/build/i2c.o
deleted file mode 100644
index 85d61c0..0000000
Binary files a/build/i2c.o and /dev/null differ
diff --git a/build/main.d b/build/main.d
deleted file mode 100644
index 1670d66..0000000
--- a/build/main.d
+++ /dev/null
@@ -1,115 +0,0 @@
-build/main.o: Core/Src/main.c Core/Inc/main.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h Core/Inc/adc.h \
- Core/Inc/main.h Core/Inc/dac.h Core/Inc/i2c.h Core/Inc/spi.h \
- Core/Inc/tim.h Core/Inc/usart.h Core/Inc/gpio.h \
- Core/Inc/User/user_main.h
-
-Core/Inc/main.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
-
-Core/Inc/adc.h:
-
-Core/Inc/main.h:
-
-Core/Inc/dac.h:
-
-Core/Inc/i2c.h:
-
-Core/Inc/spi.h:
-
-Core/Inc/tim.h:
-
-Core/Inc/usart.h:
-
-Core/Inc/gpio.h:
-
-Core/Inc/User/user_main.h:
diff --git a/build/main.lst b/build/main.lst
deleted file mode 100644
index 111e03e..0000000
--- a/build/main.lst
+++ /dev/null
@@ -1,682 +0,0 @@
-ARM GAS /tmp/ccmpSzyr.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "main.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.Error_Handler,"ax",%progbits
- 16 .align 1
- 17 .global Error_Handler
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 Error_Handler:
- 24 .LFB67:
- 25 .file 1 "Core/Src/main.c"
- 1:Core/Src/main.c **** /* USER CODE BEGIN Header */
- 2:Core/Src/main.c **** /**
- 3:Core/Src/main.c **** ******************************************************************************
- 4:Core/Src/main.c **** * @file : main.c
- 5:Core/Src/main.c **** * @brief : Main program body
- 6:Core/Src/main.c **** ******************************************************************************
- 7:Core/Src/main.c **** * @attention
- 8:Core/Src/main.c **** *
- 9:Core/Src/main.c **** * © Copyright (c) 2021 STMicroelectronics.
- 10:Core/Src/main.c **** * All rights reserved.
- 11:Core/Src/main.c **** *
- 12:Core/Src/main.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 13:Core/Src/main.c **** * the "License"; You may not use this file except in compliance with the
- 14:Core/Src/main.c **** * License. You may obtain a copy of the License at:
- 15:Core/Src/main.c **** * opensource.org/licenses/BSD-3-Clause
- 16:Core/Src/main.c **** *
- 17:Core/Src/main.c **** ******************************************************************************
- 18:Core/Src/main.c **** */
- 19:Core/Src/main.c **** /* USER CODE END Header */
- 20:Core/Src/main.c **** /* Includes ------------------------------------------------------------------*/
- 21:Core/Src/main.c **** #include "main.h"
- 22:Core/Src/main.c **** #include "adc.h"
- 23:Core/Src/main.c **** #include "dac.h"
- 24:Core/Src/main.c **** #include "i2c.h"
- 25:Core/Src/main.c **** #include "spi.h"
- 26:Core/Src/main.c **** #include "tim.h"
- 27:Core/Src/main.c **** #include "usart.h"
- 28:Core/Src/main.c **** #include "gpio.h"
- 29:Core/Src/main.c ****
- 30:Core/Src/main.c **** /* Private includes ----------------------------------------------------------*/
- 31:Core/Src/main.c **** /* USER CODE BEGIN Includes */
- 32:Core/Src/main.c **** #include "user_main.h"
- 33:Core/Src/main.c **** /* USER CODE END Includes */
-ARM GAS /tmp/ccmpSzyr.s page 2
-
-
- 34:Core/Src/main.c ****
- 35:Core/Src/main.c **** /* Private typedef -----------------------------------------------------------*/
- 36:Core/Src/main.c **** /* USER CODE BEGIN PTD */
- 37:Core/Src/main.c ****
- 38:Core/Src/main.c **** /* USER CODE END PTD */
- 39:Core/Src/main.c ****
- 40:Core/Src/main.c **** /* Private define ------------------------------------------------------------*/
- 41:Core/Src/main.c **** /* USER CODE BEGIN PD */
- 42:Core/Src/main.c **** /* USER CODE END PD */
- 43:Core/Src/main.c ****
- 44:Core/Src/main.c **** /* Private macro -------------------------------------------------------------*/
- 45:Core/Src/main.c **** /* USER CODE BEGIN PM */
- 46:Core/Src/main.c ****
- 47:Core/Src/main.c **** /* USER CODE END PM */
- 48:Core/Src/main.c ****
- 49:Core/Src/main.c **** /* Private variables ---------------------------------------------------------*/
- 50:Core/Src/main.c ****
- 51:Core/Src/main.c **** /* USER CODE BEGIN PV */
- 52:Core/Src/main.c ****
- 53:Core/Src/main.c **** /* USER CODE END PV */
- 54:Core/Src/main.c ****
- 55:Core/Src/main.c **** /* Private function prototypes -----------------------------------------------*/
- 56:Core/Src/main.c **** void SystemClock_Config(void);
- 57:Core/Src/main.c **** /* USER CODE BEGIN PFP */
- 58:Core/Src/main.c ****
- 59:Core/Src/main.c **** /* USER CODE END PFP */
- 60:Core/Src/main.c ****
- 61:Core/Src/main.c **** /* Private user code ---------------------------------------------------------*/
- 62:Core/Src/main.c **** /* USER CODE BEGIN 0 */
- 63:Core/Src/main.c ****
- 64:Core/Src/main.c **** /* USER CODE END 0 */
- 65:Core/Src/main.c ****
- 66:Core/Src/main.c **** /**
- 67:Core/Src/main.c **** * @brief The application entry point.
- 68:Core/Src/main.c **** * @retval int
- 69:Core/Src/main.c **** */
- 70:Core/Src/main.c **** int main(void)
- 71:Core/Src/main.c **** {
- 72:Core/Src/main.c **** /* USER CODE BEGIN 1 */
- 73:Core/Src/main.c ****
- 74:Core/Src/main.c **** /* USER CODE END 1 */
- 75:Core/Src/main.c ****
- 76:Core/Src/main.c **** /* MCU Configuration--------------------------------------------------------*/
- 77:Core/Src/main.c ****
- 78:Core/Src/main.c **** /* Reset of all peripherals, Initializes the Flash interface and the Systick. */
- 79:Core/Src/main.c **** HAL_Init();
- 80:Core/Src/main.c ****
- 81:Core/Src/main.c **** /* USER CODE BEGIN Init */
- 82:Core/Src/main.c ****
- 83:Core/Src/main.c **** /* USER CODE END Init */
- 84:Core/Src/main.c ****
- 85:Core/Src/main.c **** /* Configure the system clock */
- 86:Core/Src/main.c **** SystemClock_Config();
- 87:Core/Src/main.c ****
- 88:Core/Src/main.c **** /* USER CODE BEGIN SysInit */
- 89:Core/Src/main.c ****
- 90:Core/Src/main.c **** /* USER CODE END SysInit */
-ARM GAS /tmp/ccmpSzyr.s page 3
-
-
- 91:Core/Src/main.c ****
- 92:Core/Src/main.c **** /* Initialize all configured peripherals */
- 93:Core/Src/main.c **** MX_GPIO_Init();
- 94:Core/Src/main.c **** MX_DAC_Init();
- 95:Core/Src/main.c **** MX_I2C1_Init();
- 96:Core/Src/main.c **** MX_I2C2_Init();
- 97:Core/Src/main.c **** MX_SPI1_Init();
- 98:Core/Src/main.c **** MX_SPI2_Init();
- 99:Core/Src/main.c **** MX_UART4_Init();
- 100:Core/Src/main.c **** MX_ADC1_Init();
- 101:Core/Src/main.c **** MX_USART1_UART_Init();
- 102:Core/Src/main.c **** MX_TIM3_Init();
- 103:Core/Src/main.c **** MX_TIM8_Init();
- 104:Core/Src/main.c **** MX_TIM4_Init();
- 105:Core/Src/main.c **** /* USER CODE BEGIN 2 */
- 106:Core/Src/main.c **** user_setup();
- 107:Core/Src/main.c **** /* USER CODE END 2 */
- 108:Core/Src/main.c ****
- 109:Core/Src/main.c **** /* Infinite loop */
- 110:Core/Src/main.c **** /* USER CODE BEGIN WHILE */
- 111:Core/Src/main.c **** while (1)
- 112:Core/Src/main.c **** {
- 113:Core/Src/main.c **** user_loop();
- 114:Core/Src/main.c **** /* USER CODE END WHILE */
- 115:Core/Src/main.c ****
- 116:Core/Src/main.c **** /* USER CODE BEGIN 3 */
- 117:Core/Src/main.c **** }
- 118:Core/Src/main.c **** /* USER CODE END 3 */
- 119:Core/Src/main.c **** }
- 120:Core/Src/main.c ****
- 121:Core/Src/main.c **** /**
- 122:Core/Src/main.c **** * @brief System Clock Configuration
- 123:Core/Src/main.c **** * @retval None
- 124:Core/Src/main.c **** */
- 125:Core/Src/main.c **** void SystemClock_Config(void)
- 126:Core/Src/main.c **** {
- 127:Core/Src/main.c **** RCC_OscInitTypeDef RCC_OscInitStruct = {0};
- 128:Core/Src/main.c **** RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
- 129:Core/Src/main.c **** RCC_PeriphCLKInitTypeDef PeriphClkInit = {0};
- 130:Core/Src/main.c ****
- 131:Core/Src/main.c **** /** Initializes the RCC Oscillators according to the specified parameters
- 132:Core/Src/main.c **** * in the RCC_OscInitTypeDef structure.
- 133:Core/Src/main.c **** */
- 134:Core/Src/main.c **** RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE;
- 135:Core/Src/main.c **** RCC_OscInitStruct.HSEState = RCC_HSE_ON;
- 136:Core/Src/main.c **** RCC_OscInitStruct.HSEPredivValue = RCC_HSE_PREDIV_DIV1;
- 137:Core/Src/main.c **** RCC_OscInitStruct.HSIState = RCC_HSI_ON;
- 138:Core/Src/main.c **** RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
- 139:Core/Src/main.c **** RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE;
- 140:Core/Src/main.c **** RCC_OscInitStruct.PLL.PLLMUL = RCC_PLL_MUL9;
- 141:Core/Src/main.c **** if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
- 142:Core/Src/main.c **** {
- 143:Core/Src/main.c **** Error_Handler();
- 144:Core/Src/main.c **** }
- 145:Core/Src/main.c **** /** Initializes the CPU, AHB and APB buses clocks
- 146:Core/Src/main.c **** */
- 147:Core/Src/main.c **** RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
-ARM GAS /tmp/ccmpSzyr.s page 4
-
-
- 148:Core/Src/main.c **** |RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2;
- 149:Core/Src/main.c **** RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK;
- 150:Core/Src/main.c **** RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
- 151:Core/Src/main.c **** RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV2;
- 152:Core/Src/main.c **** RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1;
- 153:Core/Src/main.c ****
- 154:Core/Src/main.c **** if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_2) != HAL_OK)
- 155:Core/Src/main.c **** {
- 156:Core/Src/main.c **** Error_Handler();
- 157:Core/Src/main.c **** }
- 158:Core/Src/main.c **** PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_ADC;
- 159:Core/Src/main.c **** PeriphClkInit.AdcClockSelection = RCC_ADCPCLK2_DIV6;
- 160:Core/Src/main.c **** if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
- 161:Core/Src/main.c **** {
- 162:Core/Src/main.c **** Error_Handler();
- 163:Core/Src/main.c **** }
- 164:Core/Src/main.c **** }
- 165:Core/Src/main.c ****
- 166:Core/Src/main.c **** /* USER CODE BEGIN 4 */
- 167:Core/Src/main.c ****
- 168:Core/Src/main.c **** /* USER CODE END 4 */
- 169:Core/Src/main.c ****
- 170:Core/Src/main.c **** /**
- 171:Core/Src/main.c **** * @brief This function is executed in case of error occurrence.
- 172:Core/Src/main.c **** * @retval None
- 173:Core/Src/main.c **** */
- 174:Core/Src/main.c **** void Error_Handler(void)
- 175:Core/Src/main.c **** {
- 26 .loc 1 175 0
- 27 .cfi_startproc
- 28 @ Volatile: function does not return.
- 29 @ args = 0, pretend = 0, frame = 0
- 30 @ frame_needed = 0, uses_anonymous_args = 0
- 31 @ link register save eliminated.
- 32 .LBB4:
- 33 .LBB5:
- 34 .file 2 "Drivers/CMSIS/Include/cmsis_gcc.h"
- 1:Drivers/CMSIS/Include/cmsis_gcc.h **** /**************************************************************************//**
- 2:Drivers/CMSIS/Include/cmsis_gcc.h **** * @file cmsis_gcc.h
- 3:Drivers/CMSIS/Include/cmsis_gcc.h **** * @brief CMSIS compiler GCC header file
- 4:Drivers/CMSIS/Include/cmsis_gcc.h **** * @version V5.0.4
- 5:Drivers/CMSIS/Include/cmsis_gcc.h **** * @date 09. April 2018
- 6:Drivers/CMSIS/Include/cmsis_gcc.h **** ******************************************************************************/
- 7:Drivers/CMSIS/Include/cmsis_gcc.h **** /*
- 8:Drivers/CMSIS/Include/cmsis_gcc.h **** * Copyright (c) 2009-2018 Arm Limited. All rights reserved.
- 9:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 10:Drivers/CMSIS/Include/cmsis_gcc.h **** * SPDX-License-Identifier: Apache-2.0
- 11:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 12:Drivers/CMSIS/Include/cmsis_gcc.h **** * Licensed under the Apache License, Version 2.0 (the License); you may
- 13:Drivers/CMSIS/Include/cmsis_gcc.h **** * not use this file except in compliance with the License.
- 14:Drivers/CMSIS/Include/cmsis_gcc.h **** * You may obtain a copy of the License at
- 15:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 16:Drivers/CMSIS/Include/cmsis_gcc.h **** * www.apache.org/licenses/LICENSE-2.0
- 17:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 18:Drivers/CMSIS/Include/cmsis_gcc.h **** * Unless required by applicable law or agreed to in writing, software
- 19:Drivers/CMSIS/Include/cmsis_gcc.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT
- 20:Drivers/CMSIS/Include/cmsis_gcc.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-ARM GAS /tmp/ccmpSzyr.s page 5
-
-
- 21:Drivers/CMSIS/Include/cmsis_gcc.h **** * See the License for the specific language governing permissions and
- 22:Drivers/CMSIS/Include/cmsis_gcc.h **** * limitations under the License.
- 23:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 24:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 25:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __CMSIS_GCC_H
- 26:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_H
- 27:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 28:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ignore some GCC warnings */
- 29:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 30:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wsign-conversion"
- 31:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wconversion"
- 32:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wunused-parameter"
- 33:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 34:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Fallback for __has_builtin */
- 35:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __has_builtin
- 36:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __has_builtin(x) (0)
- 37:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 38:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 39:Drivers/CMSIS/Include/cmsis_gcc.h **** /* CMSIS compiler specific defines */
- 40:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ASM
- 41:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ASM __asm
- 42:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 43:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __INLINE
- 44:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __INLINE inline
- 45:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 46:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_INLINE
- 47:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_INLINE static inline
- 48:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 49:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_FORCEINLINE
- 50:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_FORCEINLINE __attribute__((always_inline)) static inline
- 51:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 52:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __NO_RETURN
- 53:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NO_RETURN __attribute__((__noreturn__))
- 54:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 55:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __USED
- 56:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __USED __attribute__((used))
- 57:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 58:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __WEAK
- 59:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WEAK __attribute__((weak))
- 60:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 61:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED
- 62:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED __attribute__((packed, aligned(1)))
- 63:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 64:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_STRUCT
- 65:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_STRUCT struct __attribute__((packed, aligned(1)))
- 66:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 67:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_UNION
- 68:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_UNION union __attribute__((packed, aligned(1)))
- 69:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 70:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32 /* deprecated */
- 71:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 72:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 73:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 74:Drivers/CMSIS/Include/cmsis_gcc.h **** struct __attribute__((packed)) T_UINT32 { uint32_t v; };
- 75:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 76:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
- 77:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
-ARM GAS /tmp/ccmpSzyr.s page 6
-
-
- 78:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_WRITE
- 79:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 80:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 81:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 82:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; };
- 83:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 84:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))-
- 85:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 86:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_READ
- 87:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 88:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 89:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 90:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_READ { uint16_t v; };
- 91:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 92:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(add
- 93:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 94:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_WRITE
- 95:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 96:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 97:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 98:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; };
- 99:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 100:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))-
- 101:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 102:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_READ
- 103:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 104:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 105:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 106:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_READ { uint32_t v; };
- 107:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 108:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(add
- 109:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 110:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ALIGNED
- 111:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ALIGNED(x) __attribute__((aligned(x)))
- 112:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 113:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __RESTRICT
- 114:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __RESTRICT __restrict
- 115:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 116:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 117:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 118:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################### Core Function Access ########################### */
- 119:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \ingroup CMSIS_Core_FunctionInterface
- 120:Drivers/CMSIS/Include/cmsis_gcc.h **** \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions
- 121:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
- 122:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 123:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 124:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 125:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable IRQ Interrupts
- 126:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables IRQ interrupts by clearing the I-bit in the CPSR.
- 127:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
- 128:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 129:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_irq(void)
- 130:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 131:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie i" : : : "memory");
- 132:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 133:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 134:Drivers/CMSIS/Include/cmsis_gcc.h ****
-ARM GAS /tmp/ccmpSzyr.s page 7
-
-
- 135:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 136:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable IRQ Interrupts
- 137:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables IRQ interrupts by setting the I-bit in the CPSR.
- 138:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
- 139:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 140:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_irq(void)
- 141:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 142:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid i" : : : "memory");
- 35 .loc 2 142 0
- 36 .syntax unified
- 37 @ 142 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 38 0000 72B6 cpsid i
- 39 @ 0 "" 2
- 40 .thumb
- 41 .syntax unified
- 42 .L2:
- 43 0002 FEE7 b .L2
- 44 .LBE5:
- 45 .LBE4:
- 46 .cfi_endproc
- 47 .LFE67:
- 49 .section .text.SystemClock_Config,"ax",%progbits
- 50 .align 1
- 51 .global SystemClock_Config
- 52 .syntax unified
- 53 .thumb
- 54 .thumb_func
- 55 .fpu softvfp
- 57 SystemClock_Config:
- 58 .LFB66:
- 126:Core/Src/main.c **** RCC_OscInitTypeDef RCC_OscInitStruct = {0};
- 59 .loc 1 126 0
- 60 .cfi_startproc
- 61 @ args = 0, pretend = 0, frame = 88
- 62 @ frame_needed = 0, uses_anonymous_args = 0
- 63 0000 00B5 push {lr}
- 64 .LCFI0:
- 65 .cfi_def_cfa_offset 4
- 66 .cfi_offset 14, -4
- 67 0002 97B0 sub sp, sp, #92
- 68 .LCFI1:
- 69 .cfi_def_cfa_offset 96
- 127:Core/Src/main.c **** RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
- 70 .loc 1 127 0
- 71 0004 2822 movs r2, #40
- 72 0006 0021 movs r1, #0
- 73 0008 0CA8 add r0, sp, #48
- 74 000a FFF7FEFF bl memset
- 75 .LVL0:
- 128:Core/Src/main.c **** RCC_PeriphCLKInitTypeDef PeriphClkInit = {0};
- 76 .loc 1 128 0
- 77 000e 0023 movs r3, #0
- 78 0010 0793 str r3, [sp, #28]
- 79 0012 0893 str r3, [sp, #32]
- 80 0014 0993 str r3, [sp, #36]
- 81 0016 0A93 str r3, [sp, #40]
- 82 0018 0B93 str r3, [sp, #44]
-ARM GAS /tmp/ccmpSzyr.s page 8
-
-
- 129:Core/Src/main.c ****
- 83 .loc 1 129 0
- 84 001a 0193 str r3, [sp, #4]
- 85 001c 0293 str r3, [sp, #8]
- 86 001e 0393 str r3, [sp, #12]
- 87 0020 0493 str r3, [sp, #16]
- 88 0022 0593 str r3, [sp, #20]
- 89 0024 0693 str r3, [sp, #24]
- 134:Core/Src/main.c **** RCC_OscInitStruct.HSEState = RCC_HSE_ON;
- 90 .loc 1 134 0
- 91 0026 0122 movs r2, #1
- 92 0028 0C92 str r2, [sp, #48]
- 135:Core/Src/main.c **** RCC_OscInitStruct.HSEPredivValue = RCC_HSE_PREDIV_DIV1;
- 93 .loc 1 135 0
- 94 002a 4FF48033 mov r3, #65536
- 95 002e 0D93 str r3, [sp, #52]
- 137:Core/Src/main.c **** RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
- 96 .loc 1 137 0
- 97 0030 1092 str r2, [sp, #64]
- 138:Core/Src/main.c **** RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE;
- 98 .loc 1 138 0
- 99 0032 0222 movs r2, #2
- 100 0034 1392 str r2, [sp, #76]
- 139:Core/Src/main.c **** RCC_OscInitStruct.PLL.PLLMUL = RCC_PLL_MUL9;
- 101 .loc 1 139 0
- 102 0036 1493 str r3, [sp, #80]
- 140:Core/Src/main.c **** if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
- 103 .loc 1 140 0
- 104 0038 4FF4E013 mov r3, #1835008
- 105 003c 1593 str r3, [sp, #84]
- 141:Core/Src/main.c **** {
- 106 .loc 1 141 0
- 107 003e 0CA8 add r0, sp, #48
- 108 0040 FFF7FEFF bl HAL_RCC_OscConfig
- 109 .LVL1:
- 110 0044 C8B9 cbnz r0, .L8
- 147:Core/Src/main.c **** |RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2;
- 111 .loc 1 147 0
- 112 0046 0F23 movs r3, #15
- 113 0048 0793 str r3, [sp, #28]
- 149:Core/Src/main.c **** RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
- 114 .loc 1 149 0
- 115 004a 0221 movs r1, #2
- 116 004c 0891 str r1, [sp, #32]
- 150:Core/Src/main.c **** RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV2;
- 117 .loc 1 150 0
- 118 004e 0023 movs r3, #0
- 119 0050 0993 str r3, [sp, #36]
- 151:Core/Src/main.c **** RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1;
- 120 .loc 1 151 0
- 121 0052 4FF48062 mov r2, #1024
- 122 0056 0A92 str r2, [sp, #40]
- 152:Core/Src/main.c ****
- 123 .loc 1 152 0
- 124 0058 0B93 str r3, [sp, #44]
- 154:Core/Src/main.c **** {
- 125 .loc 1 154 0
-ARM GAS /tmp/ccmpSzyr.s page 9
-
-
- 126 005a 07A8 add r0, sp, #28
- 127 005c FFF7FEFF bl HAL_RCC_ClockConfig
- 128 .LVL2:
- 129 0060 68B9 cbnz r0, .L9
- 158:Core/Src/main.c **** PeriphClkInit.AdcClockSelection = RCC_ADCPCLK2_DIV6;
- 130 .loc 1 158 0
- 131 0062 0223 movs r3, #2
- 132 0064 0193 str r3, [sp, #4]
- 159:Core/Src/main.c **** if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit) != HAL_OK)
- 133 .loc 1 159 0
- 134 0066 4FF40043 mov r3, #32768
- 135 006a 0393 str r3, [sp, #12]
- 160:Core/Src/main.c **** {
- 136 .loc 1 160 0
- 137 006c 01A8 add r0, sp, #4
- 138 006e FFF7FEFF bl HAL_RCCEx_PeriphCLKConfig
- 139 .LVL3:
- 140 0072 30B9 cbnz r0, .L10
- 164:Core/Src/main.c ****
- 141 .loc 1 164 0
- 142 0074 17B0 add sp, sp, #92
- 143 .LCFI2:
- 144 .cfi_remember_state
- 145 .cfi_def_cfa_offset 4
- 146 @ sp needed
- 147 0076 5DF804FB ldr pc, [sp], #4
- 148 .L8:
- 149 .LCFI3:
- 150 .cfi_restore_state
- 143:Core/Src/main.c **** }
- 151 .loc 1 143 0
- 152 007a FFF7FEFF bl Error_Handler
- 153 .LVL4:
- 154 .L9:
- 156:Core/Src/main.c **** }
- 155 .loc 1 156 0
- 156 007e FFF7FEFF bl Error_Handler
- 157 .LVL5:
- 158 .L10:
- 162:Core/Src/main.c **** }
- 159 .loc 1 162 0
- 160 0082 FFF7FEFF bl Error_Handler
- 161 .LVL6:
- 162 .cfi_endproc
- 163 .LFE66:
- 165 .section .text.main,"ax",%progbits
- 166 .align 1
- 167 .global main
- 168 .syntax unified
- 169 .thumb
- 170 .thumb_func
- 171 .fpu softvfp
- 173 main:
- 174 .LFB65:
- 71:Core/Src/main.c **** /* USER CODE BEGIN 1 */
- 175 .loc 1 71 0
- 176 .cfi_startproc
-ARM GAS /tmp/ccmpSzyr.s page 10
-
-
- 177 @ Volatile: function does not return.
- 178 @ args = 0, pretend = 0, frame = 0
- 179 @ frame_needed = 0, uses_anonymous_args = 0
- 180 0000 08B5 push {r3, lr}
- 181 .LCFI4:
- 182 .cfi_def_cfa_offset 8
- 183 .cfi_offset 3, -8
- 184 .cfi_offset 14, -4
- 79:Core/Src/main.c ****
- 185 .loc 1 79 0
- 186 0002 FFF7FEFF bl HAL_Init
- 187 .LVL7:
- 86:Core/Src/main.c ****
- 188 .loc 1 86 0
- 189 0006 FFF7FEFF bl SystemClock_Config
- 190 .LVL8:
- 93:Core/Src/main.c **** MX_DAC_Init();
- 191 .loc 1 93 0
- 192 000a FFF7FEFF bl MX_GPIO_Init
- 193 .LVL9:
- 94:Core/Src/main.c **** MX_I2C1_Init();
- 194 .loc 1 94 0
- 195 000e FFF7FEFF bl MX_DAC_Init
- 196 .LVL10:
- 95:Core/Src/main.c **** MX_I2C2_Init();
- 197 .loc 1 95 0
- 198 0012 FFF7FEFF bl MX_I2C1_Init
- 199 .LVL11:
- 96:Core/Src/main.c **** MX_SPI1_Init();
- 200 .loc 1 96 0
- 201 0016 FFF7FEFF bl MX_I2C2_Init
- 202 .LVL12:
- 97:Core/Src/main.c **** MX_SPI2_Init();
- 203 .loc 1 97 0
- 204 001a FFF7FEFF bl MX_SPI1_Init
- 205 .LVL13:
- 98:Core/Src/main.c **** MX_UART4_Init();
- 206 .loc 1 98 0
- 207 001e FFF7FEFF bl MX_SPI2_Init
- 208 .LVL14:
- 99:Core/Src/main.c **** MX_ADC1_Init();
- 209 .loc 1 99 0
- 210 0022 FFF7FEFF bl MX_UART4_Init
- 211 .LVL15:
- 100:Core/Src/main.c **** MX_USART1_UART_Init();
- 212 .loc 1 100 0
- 213 0026 FFF7FEFF bl MX_ADC1_Init
- 214 .LVL16:
- 101:Core/Src/main.c **** MX_TIM3_Init();
- 215 .loc 1 101 0
- 216 002a FFF7FEFF bl MX_USART1_UART_Init
- 217 .LVL17:
- 102:Core/Src/main.c **** MX_TIM8_Init();
- 218 .loc 1 102 0
- 219 002e FFF7FEFF bl MX_TIM3_Init
- 220 .LVL18:
- 103:Core/Src/main.c **** MX_TIM4_Init();
-ARM GAS /tmp/ccmpSzyr.s page 11
-
-
- 221 .loc 1 103 0
- 222 0032 FFF7FEFF bl MX_TIM8_Init
- 223 .LVL19:
- 104:Core/Src/main.c **** /* USER CODE BEGIN 2 */
- 224 .loc 1 104 0
- 225 0036 FFF7FEFF bl MX_TIM4_Init
- 226 .LVL20:
- 106:Core/Src/main.c **** /* USER CODE END 2 */
- 227 .loc 1 106 0
- 228 003a FFF7FEFF bl user_setup
- 229 .LVL21:
- 230 .L12:
- 113:Core/Src/main.c **** /* USER CODE END WHILE */
- 231 .loc 1 113 0 discriminator 1
- 232 003e FFF7FEFF bl user_loop
- 233 .LVL22:
- 234 0042 FCE7 b .L12
- 235 .cfi_endproc
- 236 .LFE65:
- 238 .text
- 239 .Letext0:
- 240 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 241 .file 4 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 242 .file 5 "Drivers/CMSIS/Include/core_cm3.h"
- 243 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 244 .file 7 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 245 .file 8 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h"
- 246 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 247 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h"
- 248 .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h"
- 249 .file 12 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
- 250 .file 13 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h"
- 251 .file 14 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h"
- 252 .file 15 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h"
- 253 .file 16 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h"
- 254 .file 17 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h"
- 255 .file 18 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h"
- 256 .file 19 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
- 257 .file 20 "Core/Inc/adc.h"
- 258 .file 21 "Core/Inc/dac.h"
- 259 .file 22 "Core/Inc/i2c.h"
- 260 .file 23 "Core/Inc/spi.h"
- 261 .file 24 "Core/Inc/tim.h"
- 262 .file 25 "Core/Inc/usart.h"
- 263 .file 26 "Core/Inc/gpio.h"
- 264 .file 27 "Core/Inc/User/user_main.h"
-ARM GAS /tmp/ccmpSzyr.s page 12
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 main.c
- /tmp/ccmpSzyr.s:16 .text.Error_Handler:0000000000000000 $t
- /tmp/ccmpSzyr.s:23 .text.Error_Handler:0000000000000000 Error_Handler
- /tmp/ccmpSzyr.s:50 .text.SystemClock_Config:0000000000000000 $t
- /tmp/ccmpSzyr.s:57 .text.SystemClock_Config:0000000000000000 SystemClock_Config
- /tmp/ccmpSzyr.s:166 .text.main:0000000000000000 $t
- /tmp/ccmpSzyr.s:173 .text.main:0000000000000000 main
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-memset
-HAL_RCC_OscConfig
-HAL_RCC_ClockConfig
-HAL_RCCEx_PeriphCLKConfig
-HAL_Init
-MX_GPIO_Init
-MX_DAC_Init
-MX_I2C1_Init
-MX_I2C2_Init
-MX_SPI1_Init
-MX_SPI2_Init
-MX_UART4_Init
-MX_ADC1_Init
-MX_USART1_UART_Init
-MX_TIM3_Init
-MX_TIM8_Init
-MX_TIM4_Init
-user_setup
-user_loop
diff --git a/build/main.o b/build/main.o
deleted file mode 100644
index 0e789bf..0000000
Binary files a/build/main.o and /dev/null differ
diff --git a/build/spi.d b/build/spi.d
deleted file mode 100644
index f17a9ac..0000000
--- a/build/spi.d
+++ /dev/null
@@ -1,96 +0,0 @@
-build/spi.o: Core/Src/spi.c Core/Inc/spi.h Core/Inc/main.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Core/Inc/spi.h:
-
-Core/Inc/main.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/spi.lst b/build/spi.lst
deleted file mode 100644
index 7189fa3..0000000
--- a/build/spi.lst
+++ /dev/null
@@ -1,697 +0,0 @@
-ARM GAS /tmp/ccLqZfGE.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "spi.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.MX_SPI1_Init,"ax",%progbits
- 16 .align 1
- 17 .global MX_SPI1_Init
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 MX_SPI1_Init:
- 24 .LFB65:
- 25 .file 1 "Core/Src/spi.c"
- 1:Core/Src/spi.c **** /**
- 2:Core/Src/spi.c **** ******************************************************************************
- 3:Core/Src/spi.c **** * @file spi.c
- 4:Core/Src/spi.c **** * @brief This file provides code for the configuration
- 5:Core/Src/spi.c **** * of the SPI instances.
- 6:Core/Src/spi.c **** ******************************************************************************
- 7:Core/Src/spi.c **** * @attention
- 8:Core/Src/spi.c **** *
- 9:Core/Src/spi.c **** * © Copyright (c) 2021 STMicroelectronics.
- 10:Core/Src/spi.c **** * All rights reserved.
- 11:Core/Src/spi.c **** *
- 12:Core/Src/spi.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 13:Core/Src/spi.c **** * the "License"; You may not use this file except in compliance with the
- 14:Core/Src/spi.c **** * License. You may obtain a copy of the License at:
- 15:Core/Src/spi.c **** * opensource.org/licenses/BSD-3-Clause
- 16:Core/Src/spi.c **** *
- 17:Core/Src/spi.c **** ******************************************************************************
- 18:Core/Src/spi.c **** */
- 19:Core/Src/spi.c ****
- 20:Core/Src/spi.c **** /* Includes ------------------------------------------------------------------*/
- 21:Core/Src/spi.c **** #include "spi.h"
- 22:Core/Src/spi.c ****
- 23:Core/Src/spi.c **** /* USER CODE BEGIN 0 */
- 24:Core/Src/spi.c ****
- 25:Core/Src/spi.c **** /* USER CODE END 0 */
- 26:Core/Src/spi.c ****
- 27:Core/Src/spi.c **** SPI_HandleTypeDef hspi1;
- 28:Core/Src/spi.c **** SPI_HandleTypeDef hspi2;
- 29:Core/Src/spi.c ****
- 30:Core/Src/spi.c **** /* SPI1 init function */
- 31:Core/Src/spi.c **** void MX_SPI1_Init(void)
- 32:Core/Src/spi.c **** {
- 26 .loc 1 32 0
-ARM GAS /tmp/ccLqZfGE.s page 2
-
-
- 27 .cfi_startproc
- 28 @ args = 0, pretend = 0, frame = 0
- 29 @ frame_needed = 0, uses_anonymous_args = 0
- 30 0000 08B5 push {r3, lr}
- 31 .LCFI0:
- 32 .cfi_def_cfa_offset 8
- 33 .cfi_offset 3, -8
- 34 .cfi_offset 14, -4
- 33:Core/Src/spi.c ****
- 34:Core/Src/spi.c **** /* USER CODE BEGIN SPI1_Init 0 */
- 35:Core/Src/spi.c ****
- 36:Core/Src/spi.c **** /* USER CODE END SPI1_Init 0 */
- 37:Core/Src/spi.c ****
- 38:Core/Src/spi.c **** /* USER CODE BEGIN SPI1_Init 1 */
- 39:Core/Src/spi.c ****
- 40:Core/Src/spi.c **** /* USER CODE END SPI1_Init 1 */
- 41:Core/Src/spi.c **** hspi1.Instance = SPI1;
- 35 .loc 1 41 0
- 36 0002 0E48 ldr r0, .L5
- 37 0004 0E4B ldr r3, .L5+4
- 38 0006 0360 str r3, [r0]
- 42:Core/Src/spi.c **** hspi1.Init.Mode = SPI_MODE_MASTER;
- 39 .loc 1 42 0
- 40 0008 4FF48273 mov r3, #260
- 41 000c 4360 str r3, [r0, #4]
- 43:Core/Src/spi.c **** hspi1.Init.Direction = SPI_DIRECTION_2LINES;
- 42 .loc 1 43 0
- 43 000e 0023 movs r3, #0
- 44 0010 8360 str r3, [r0, #8]
- 44:Core/Src/spi.c **** hspi1.Init.DataSize = SPI_DATASIZE_8BIT;
- 45 .loc 1 44 0
- 46 0012 C360 str r3, [r0, #12]
- 45:Core/Src/spi.c **** hspi1.Init.CLKPolarity = SPI_POLARITY_LOW;
- 47 .loc 1 45 0
- 48 0014 0361 str r3, [r0, #16]
- 46:Core/Src/spi.c **** hspi1.Init.CLKPhase = SPI_PHASE_1EDGE;
- 49 .loc 1 46 0
- 50 0016 4361 str r3, [r0, #20]
- 47:Core/Src/spi.c **** hspi1.Init.NSS = SPI_NSS_SOFT;
- 51 .loc 1 47 0
- 52 0018 4FF40072 mov r2, #512
- 53 001c 8261 str r2, [r0, #24]
- 48:Core/Src/spi.c **** hspi1.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_128;
- 54 .loc 1 48 0
- 55 001e 3022 movs r2, #48
- 56 0020 C261 str r2, [r0, #28]
- 49:Core/Src/spi.c **** hspi1.Init.FirstBit = SPI_FIRSTBIT_MSB;
- 57 .loc 1 49 0
- 58 0022 0362 str r3, [r0, #32]
- 50:Core/Src/spi.c **** hspi1.Init.TIMode = SPI_TIMODE_DISABLE;
- 59 .loc 1 50 0
- 60 0024 4362 str r3, [r0, #36]
- 51:Core/Src/spi.c **** hspi1.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE;
- 61 .loc 1 51 0
- 62 0026 8362 str r3, [r0, #40]
- 52:Core/Src/spi.c **** hspi1.Init.CRCPolynomial = 10;
- 63 .loc 1 52 0
-ARM GAS /tmp/ccLqZfGE.s page 3
-
-
- 64 0028 0A23 movs r3, #10
- 65 002a C362 str r3, [r0, #44]
- 53:Core/Src/spi.c **** if (HAL_SPI_Init(&hspi1) != HAL_OK)
- 66 .loc 1 53 0
- 67 002c FFF7FEFF bl HAL_SPI_Init
- 68 .LVL0:
- 69 0030 00B9 cbnz r0, .L4
- 70 .L1:
- 71 0032 08BD pop {r3, pc}
- 72 .L4:
- 54:Core/Src/spi.c **** {
- 55:Core/Src/spi.c **** Error_Handler();
- 73 .loc 1 55 0
- 74 0034 FFF7FEFF bl Error_Handler
- 75 .LVL1:
- 56:Core/Src/spi.c **** }
- 57:Core/Src/spi.c **** /* USER CODE BEGIN SPI1_Init 2 */
- 58:Core/Src/spi.c ****
- 59:Core/Src/spi.c **** /* USER CODE END SPI1_Init 2 */
- 60:Core/Src/spi.c ****
- 61:Core/Src/spi.c **** }
- 76 .loc 1 61 0
- 77 0038 FBE7 b .L1
- 78 .L6:
- 79 003a 00BF .align 2
- 80 .L5:
- 81 003c 00000000 .word hspi1
- 82 0040 00300140 .word 1073819648
- 83 .cfi_endproc
- 84 .LFE65:
- 86 .section .text.MX_SPI2_Init,"ax",%progbits
- 87 .align 1
- 88 .global MX_SPI2_Init
- 89 .syntax unified
- 90 .thumb
- 91 .thumb_func
- 92 .fpu softvfp
- 94 MX_SPI2_Init:
- 95 .LFB66:
- 62:Core/Src/spi.c **** /* SPI2 init function */
- 63:Core/Src/spi.c **** void MX_SPI2_Init(void)
- 64:Core/Src/spi.c **** {
- 96 .loc 1 64 0
- 97 .cfi_startproc
- 98 @ args = 0, pretend = 0, frame = 0
- 99 @ frame_needed = 0, uses_anonymous_args = 0
- 100 0000 08B5 push {r3, lr}
- 101 .LCFI1:
- 102 .cfi_def_cfa_offset 8
- 103 .cfi_offset 3, -8
- 104 .cfi_offset 14, -4
- 65:Core/Src/spi.c ****
- 66:Core/Src/spi.c **** /* USER CODE BEGIN SPI2_Init 0 */
- 67:Core/Src/spi.c ****
- 68:Core/Src/spi.c **** /* USER CODE END SPI2_Init 0 */
- 69:Core/Src/spi.c ****
- 70:Core/Src/spi.c **** /* USER CODE BEGIN SPI2_Init 1 */
-ARM GAS /tmp/ccLqZfGE.s page 4
-
-
- 71:Core/Src/spi.c ****
- 72:Core/Src/spi.c **** /* USER CODE END SPI2_Init 1 */
- 73:Core/Src/spi.c **** hspi2.Instance = SPI2;
- 105 .loc 1 73 0
- 106 0002 0D48 ldr r0, .L11
- 107 0004 0D4B ldr r3, .L11+4
- 108 0006 0360 str r3, [r0]
- 74:Core/Src/spi.c **** hspi2.Init.Mode = SPI_MODE_MASTER;
- 109 .loc 1 74 0
- 110 0008 4FF48273 mov r3, #260
- 111 000c 4360 str r3, [r0, #4]
- 75:Core/Src/spi.c **** hspi2.Init.Direction = SPI_DIRECTION_2LINES;
- 112 .loc 1 75 0
- 113 000e 0023 movs r3, #0
- 114 0010 8360 str r3, [r0, #8]
- 76:Core/Src/spi.c **** hspi2.Init.DataSize = SPI_DATASIZE_8BIT;
- 115 .loc 1 76 0
- 116 0012 C360 str r3, [r0, #12]
- 77:Core/Src/spi.c **** hspi2.Init.CLKPolarity = SPI_POLARITY_LOW;
- 117 .loc 1 77 0
- 118 0014 0361 str r3, [r0, #16]
- 78:Core/Src/spi.c **** hspi2.Init.CLKPhase = SPI_PHASE_1EDGE;
- 119 .loc 1 78 0
- 120 0016 4361 str r3, [r0, #20]
- 79:Core/Src/spi.c **** hspi2.Init.NSS = SPI_NSS_HARD_OUTPUT;
- 121 .loc 1 79 0
- 122 0018 4FF48022 mov r2, #262144
- 123 001c 8261 str r2, [r0, #24]
- 80:Core/Src/spi.c **** hspi2.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_2;
- 124 .loc 1 80 0
- 125 001e C361 str r3, [r0, #28]
- 81:Core/Src/spi.c **** hspi2.Init.FirstBit = SPI_FIRSTBIT_MSB;
- 126 .loc 1 81 0
- 127 0020 0362 str r3, [r0, #32]
- 82:Core/Src/spi.c **** hspi2.Init.TIMode = SPI_TIMODE_DISABLE;
- 128 .loc 1 82 0
- 129 0022 4362 str r3, [r0, #36]
- 83:Core/Src/spi.c **** hspi2.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE;
- 130 .loc 1 83 0
- 131 0024 8362 str r3, [r0, #40]
- 84:Core/Src/spi.c **** hspi2.Init.CRCPolynomial = 10;
- 132 .loc 1 84 0
- 133 0026 0A23 movs r3, #10
- 134 0028 C362 str r3, [r0, #44]
- 85:Core/Src/spi.c **** if (HAL_SPI_Init(&hspi2) != HAL_OK)
- 135 .loc 1 85 0
- 136 002a FFF7FEFF bl HAL_SPI_Init
- 137 .LVL2:
- 138 002e 00B9 cbnz r0, .L10
- 139 .L7:
- 140 0030 08BD pop {r3, pc}
- 141 .L10:
- 86:Core/Src/spi.c **** {
- 87:Core/Src/spi.c **** Error_Handler();
- 142 .loc 1 87 0
- 143 0032 FFF7FEFF bl Error_Handler
- 144 .LVL3:
-ARM GAS /tmp/ccLqZfGE.s page 5
-
-
- 88:Core/Src/spi.c **** }
- 89:Core/Src/spi.c **** /* USER CODE BEGIN SPI2_Init 2 */
- 90:Core/Src/spi.c ****
- 91:Core/Src/spi.c **** /* USER CODE END SPI2_Init 2 */
- 92:Core/Src/spi.c ****
- 93:Core/Src/spi.c **** }
- 145 .loc 1 93 0
- 146 0036 FBE7 b .L7
- 147 .L12:
- 148 .align 2
- 149 .L11:
- 150 0038 00000000 .word hspi2
- 151 003c 00380040 .word 1073756160
- 152 .cfi_endproc
- 153 .LFE66:
- 155 .section .text.HAL_SPI_MspInit,"ax",%progbits
- 156 .align 1
- 157 .global HAL_SPI_MspInit
- 158 .syntax unified
- 159 .thumb
- 160 .thumb_func
- 161 .fpu softvfp
- 163 HAL_SPI_MspInit:
- 164 .LFB67:
- 94:Core/Src/spi.c ****
- 95:Core/Src/spi.c **** void HAL_SPI_MspInit(SPI_HandleTypeDef* spiHandle)
- 96:Core/Src/spi.c **** {
- 165 .loc 1 96 0
- 166 .cfi_startproc
- 167 @ args = 0, pretend = 0, frame = 32
- 168 @ frame_needed = 0, uses_anonymous_args = 0
- 169 .LVL4:
- 170 0000 10B5 push {r4, lr}
- 171 .LCFI2:
- 172 .cfi_def_cfa_offset 8
- 173 .cfi_offset 4, -8
- 174 .cfi_offset 14, -4
- 175 0002 88B0 sub sp, sp, #32
- 176 .LCFI3:
- 177 .cfi_def_cfa_offset 40
- 97:Core/Src/spi.c ****
- 98:Core/Src/spi.c **** GPIO_InitTypeDef GPIO_InitStruct = {0};
- 178 .loc 1 98 0
- 179 0004 0023 movs r3, #0
- 180 0006 0493 str r3, [sp, #16]
- 181 0008 0593 str r3, [sp, #20]
- 182 000a 0693 str r3, [sp, #24]
- 183 000c 0793 str r3, [sp, #28]
- 99:Core/Src/spi.c **** if(spiHandle->Instance==SPI1)
- 184 .loc 1 99 0
- 185 000e 0368 ldr r3, [r0]
- 186 0010 304A ldr r2, .L19
- 187 0012 9342 cmp r3, r2
- 188 0014 04D0 beq .L17
- 100:Core/Src/spi.c **** {
- 101:Core/Src/spi.c **** /* USER CODE BEGIN SPI1_MspInit 0 */
- 102:Core/Src/spi.c ****
-ARM GAS /tmp/ccLqZfGE.s page 6
-
-
- 103:Core/Src/spi.c **** /* USER CODE END SPI1_MspInit 0 */
- 104:Core/Src/spi.c **** /* SPI1 clock enable */
- 105:Core/Src/spi.c **** __HAL_RCC_SPI1_CLK_ENABLE();
- 106:Core/Src/spi.c ****
- 107:Core/Src/spi.c **** __HAL_RCC_GPIOB_CLK_ENABLE();
- 108:Core/Src/spi.c **** /**SPI1 GPIO Configuration
- 109:Core/Src/spi.c **** PB3 ------> SPI1_SCK
- 110:Core/Src/spi.c **** PB4 ------> SPI1_MISO
- 111:Core/Src/spi.c **** PB5 ------> SPI1_MOSI
- 112:Core/Src/spi.c **** */
- 113:Core/Src/spi.c **** GPIO_InitStruct.Pin = GPIO_PIN_3|GPIO_PIN_5;
- 114:Core/Src/spi.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- 115:Core/Src/spi.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- 116:Core/Src/spi.c **** HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
- 117:Core/Src/spi.c ****
- 118:Core/Src/spi.c **** GPIO_InitStruct.Pin = GPIO_PIN_4;
- 119:Core/Src/spi.c **** GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
- 120:Core/Src/spi.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
- 121:Core/Src/spi.c **** HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
- 122:Core/Src/spi.c ****
- 123:Core/Src/spi.c **** __HAL_AFIO_REMAP_SPI1_ENABLE();
- 124:Core/Src/spi.c ****
- 125:Core/Src/spi.c **** /* USER CODE BEGIN SPI1_MspInit 1 */
- 126:Core/Src/spi.c ****
- 127:Core/Src/spi.c **** /* USER CODE END SPI1_MspInit 1 */
- 128:Core/Src/spi.c **** }
- 129:Core/Src/spi.c **** else if(spiHandle->Instance==SPI2)
- 189 .loc 1 129 0
- 190 0016 304A ldr r2, .L19+4
- 191 0018 9342 cmp r3, r2
- 192 001a 30D0 beq .L18
- 193 .LVL5:
- 194 .L13:
- 130:Core/Src/spi.c **** {
- 131:Core/Src/spi.c **** /* USER CODE BEGIN SPI2_MspInit 0 */
- 132:Core/Src/spi.c ****
- 133:Core/Src/spi.c **** /* USER CODE END SPI2_MspInit 0 */
- 134:Core/Src/spi.c **** /* SPI2 clock enable */
- 135:Core/Src/spi.c **** __HAL_RCC_SPI2_CLK_ENABLE();
- 136:Core/Src/spi.c ****
- 137:Core/Src/spi.c **** __HAL_RCC_GPIOB_CLK_ENABLE();
- 138:Core/Src/spi.c **** /**SPI2 GPIO Configuration
- 139:Core/Src/spi.c **** PB12 ------> SPI2_NSS
- 140:Core/Src/spi.c **** PB13 ------> SPI2_SCK
- 141:Core/Src/spi.c **** PB14 ------> SPI2_MISO
- 142:Core/Src/spi.c **** PB15 ------> SPI2_MOSI
- 143:Core/Src/spi.c **** */
- 144:Core/Src/spi.c **** GPIO_InitStruct.Pin = GPIO_PIN_12|GPIO_PIN_13|GPIO_PIN_15;
- 145:Core/Src/spi.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- 146:Core/Src/spi.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- 147:Core/Src/spi.c **** HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
- 148:Core/Src/spi.c ****
- 149:Core/Src/spi.c **** GPIO_InitStruct.Pin = GPIO_PIN_14;
- 150:Core/Src/spi.c **** GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
- 151:Core/Src/spi.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
- 152:Core/Src/spi.c **** HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
- 153:Core/Src/spi.c ****
-ARM GAS /tmp/ccLqZfGE.s page 7
-
-
- 154:Core/Src/spi.c **** /* USER CODE BEGIN SPI2_MspInit 1 */
- 155:Core/Src/spi.c ****
- 156:Core/Src/spi.c **** /* USER CODE END SPI2_MspInit 1 */
- 157:Core/Src/spi.c **** }
- 158:Core/Src/spi.c **** }
- 195 .loc 1 158 0
- 196 001c 08B0 add sp, sp, #32
- 197 .LCFI4:
- 198 .cfi_remember_state
- 199 .cfi_def_cfa_offset 8
- 200 @ sp needed
- 201 001e 10BD pop {r4, pc}
- 202 .LVL6:
- 203 .L17:
- 204 .LCFI5:
- 205 .cfi_restore_state
- 206 .LBB2:
- 105:Core/Src/spi.c ****
- 207 .loc 1 105 0
- 208 0020 2E4B ldr r3, .L19+8
- 209 0022 9A69 ldr r2, [r3, #24]
- 210 0024 42F48052 orr r2, r2, #4096
- 211 0028 9A61 str r2, [r3, #24]
- 212 002a 9A69 ldr r2, [r3, #24]
- 213 002c 02F48052 and r2, r2, #4096
- 214 0030 0092 str r2, [sp]
- 215 0032 009A ldr r2, [sp]
- 216 .LBE2:
- 217 .LBB3:
- 107:Core/Src/spi.c **** /**SPI1 GPIO Configuration
- 218 .loc 1 107 0
- 219 0034 9A69 ldr r2, [r3, #24]
- 220 0036 42F00802 orr r2, r2, #8
- 221 003a 9A61 str r2, [r3, #24]
- 222 003c 9B69 ldr r3, [r3, #24]
- 223 003e 03F00803 and r3, r3, #8
- 224 0042 0193 str r3, [sp, #4]
- 225 0044 019B ldr r3, [sp, #4]
- 226 .LBE3:
- 113:Core/Src/spi.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- 227 .loc 1 113 0
- 228 0046 2823 movs r3, #40
- 229 0048 0493 str r3, [sp, #16]
- 114:Core/Src/spi.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- 230 .loc 1 114 0
- 231 004a 0223 movs r3, #2
- 232 004c 0593 str r3, [sp, #20]
- 115:Core/Src/spi.c **** HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
- 233 .loc 1 115 0
- 234 004e 0323 movs r3, #3
- 235 0050 0793 str r3, [sp, #28]
- 116:Core/Src/spi.c ****
- 236 .loc 1 116 0
- 237 0052 234C ldr r4, .L19+12
- 238 0054 04A9 add r1, sp, #16
- 239 0056 2046 mov r0, r4
- 240 .LVL7:
-ARM GAS /tmp/ccLqZfGE.s page 8
-
-
- 241 0058 FFF7FEFF bl HAL_GPIO_Init
- 242 .LVL8:
- 118:Core/Src/spi.c **** GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
- 243 .loc 1 118 0
- 244 005c 1023 movs r3, #16
- 245 005e 0493 str r3, [sp, #16]
- 119:Core/Src/spi.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
- 246 .loc 1 119 0
- 247 0060 0023 movs r3, #0
- 248 0062 0593 str r3, [sp, #20]
- 120:Core/Src/spi.c **** HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
- 249 .loc 1 120 0
- 250 0064 0693 str r3, [sp, #24]
- 121:Core/Src/spi.c ****
- 251 .loc 1 121 0
- 252 0066 04A9 add r1, sp, #16
- 253 0068 2046 mov r0, r4
- 254 006a FFF7FEFF bl HAL_GPIO_Init
- 255 .LVL9:
- 256 .LBB4:
- 123:Core/Src/spi.c ****
- 257 .loc 1 123 0
- 258 006e 1D4A ldr r2, .L19+16
- 259 0070 5368 ldr r3, [r2, #4]
- 260 .LVL10:
- 261 0072 43F0E063 orr r3, r3, #117440512
- 262 .LVL11:
- 263 0076 43F00103 orr r3, r3, #1
- 264 .LVL12:
- 265 007a 5360 str r3, [r2, #4]
- 266 .LBE4:
- 267 007c CEE7 b .L13
- 268 .LVL13:
- 269 .L18:
- 270 .LBB5:
- 135:Core/Src/spi.c ****
- 271 .loc 1 135 0
- 272 007e 174B ldr r3, .L19+8
- 273 0080 DA69 ldr r2, [r3, #28]
- 274 0082 42F48042 orr r2, r2, #16384
- 275 0086 DA61 str r2, [r3, #28]
- 276 0088 DA69 ldr r2, [r3, #28]
- 277 008a 02F48042 and r2, r2, #16384
- 278 008e 0292 str r2, [sp, #8]
- 279 0090 029A ldr r2, [sp, #8]
- 280 .LBE5:
- 281 .LBB6:
- 137:Core/Src/spi.c **** /**SPI2 GPIO Configuration
- 282 .loc 1 137 0
- 283 0092 9A69 ldr r2, [r3, #24]
- 284 0094 42F00802 orr r2, r2, #8
- 285 0098 9A61 str r2, [r3, #24]
- 286 009a 9B69 ldr r3, [r3, #24]
- 287 009c 03F00803 and r3, r3, #8
- 288 00a0 0393 str r3, [sp, #12]
- 289 00a2 039B ldr r3, [sp, #12]
- 290 .LBE6:
-ARM GAS /tmp/ccLqZfGE.s page 9
-
-
- 144:Core/Src/spi.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- 291 .loc 1 144 0
- 292 00a4 4FF43043 mov r3, #45056
- 293 00a8 0493 str r3, [sp, #16]
- 145:Core/Src/spi.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- 294 .loc 1 145 0
- 295 00aa 0223 movs r3, #2
- 296 00ac 0593 str r3, [sp, #20]
- 146:Core/Src/spi.c **** HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
- 297 .loc 1 146 0
- 298 00ae 0323 movs r3, #3
- 299 00b0 0793 str r3, [sp, #28]
- 147:Core/Src/spi.c ****
- 300 .loc 1 147 0
- 301 00b2 0B4C ldr r4, .L19+12
- 302 00b4 04A9 add r1, sp, #16
- 303 00b6 2046 mov r0, r4
- 304 .LVL14:
- 305 00b8 FFF7FEFF bl HAL_GPIO_Init
- 306 .LVL15:
- 149:Core/Src/spi.c **** GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
- 307 .loc 1 149 0
- 308 00bc 4FF48043 mov r3, #16384
- 309 00c0 0493 str r3, [sp, #16]
- 150:Core/Src/spi.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
- 310 .loc 1 150 0
- 311 00c2 0023 movs r3, #0
- 312 00c4 0593 str r3, [sp, #20]
- 151:Core/Src/spi.c **** HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
- 313 .loc 1 151 0
- 314 00c6 0693 str r3, [sp, #24]
- 152:Core/Src/spi.c ****
- 315 .loc 1 152 0
- 316 00c8 04A9 add r1, sp, #16
- 317 00ca 2046 mov r0, r4
- 318 00cc FFF7FEFF bl HAL_GPIO_Init
- 319 .LVL16:
- 320 .loc 1 158 0
- 321 00d0 A4E7 b .L13
- 322 .L20:
- 323 00d2 00BF .align 2
- 324 .L19:
- 325 00d4 00300140 .word 1073819648
- 326 00d8 00380040 .word 1073756160
- 327 00dc 00100240 .word 1073876992
- 328 00e0 000C0140 .word 1073810432
- 329 00e4 00000140 .word 1073807360
- 330 .cfi_endproc
- 331 .LFE67:
- 333 .section .text.HAL_SPI_MspDeInit,"ax",%progbits
- 334 .align 1
- 335 .global HAL_SPI_MspDeInit
- 336 .syntax unified
- 337 .thumb
- 338 .thumb_func
- 339 .fpu softvfp
- 341 HAL_SPI_MspDeInit:
-ARM GAS /tmp/ccLqZfGE.s page 10
-
-
- 342 .LFB68:
- 159:Core/Src/spi.c ****
- 160:Core/Src/spi.c **** void HAL_SPI_MspDeInit(SPI_HandleTypeDef* spiHandle)
- 161:Core/Src/spi.c **** {
- 343 .loc 1 161 0
- 344 .cfi_startproc
- 345 @ args = 0, pretend = 0, frame = 0
- 346 @ frame_needed = 0, uses_anonymous_args = 0
- 347 .LVL17:
- 348 0000 08B5 push {r3, lr}
- 349 .LCFI6:
- 350 .cfi_def_cfa_offset 8
- 351 .cfi_offset 3, -8
- 352 .cfi_offset 14, -4
- 162:Core/Src/spi.c ****
- 163:Core/Src/spi.c **** if(spiHandle->Instance==SPI1)
- 353 .loc 1 163 0
- 354 0002 0368 ldr r3, [r0]
- 355 0004 0E4A ldr r2, .L27
- 356 0006 9342 cmp r3, r2
- 357 0008 03D0 beq .L25
- 164:Core/Src/spi.c **** {
- 165:Core/Src/spi.c **** /* USER CODE BEGIN SPI1_MspDeInit 0 */
- 166:Core/Src/spi.c ****
- 167:Core/Src/spi.c **** /* USER CODE END SPI1_MspDeInit 0 */
- 168:Core/Src/spi.c **** /* Peripheral clock disable */
- 169:Core/Src/spi.c **** __HAL_RCC_SPI1_CLK_DISABLE();
- 170:Core/Src/spi.c ****
- 171:Core/Src/spi.c **** /**SPI1 GPIO Configuration
- 172:Core/Src/spi.c **** PB3 ------> SPI1_SCK
- 173:Core/Src/spi.c **** PB4 ------> SPI1_MISO
- 174:Core/Src/spi.c **** PB5 ------> SPI1_MOSI
- 175:Core/Src/spi.c **** */
- 176:Core/Src/spi.c **** HAL_GPIO_DeInit(GPIOB, GPIO_PIN_3|GPIO_PIN_4|GPIO_PIN_5);
- 177:Core/Src/spi.c ****
- 178:Core/Src/spi.c **** /* USER CODE BEGIN SPI1_MspDeInit 1 */
- 179:Core/Src/spi.c ****
- 180:Core/Src/spi.c **** /* USER CODE END SPI1_MspDeInit 1 */
- 181:Core/Src/spi.c **** }
- 182:Core/Src/spi.c **** else if(spiHandle->Instance==SPI2)
- 358 .loc 1 182 0
- 359 000a 0E4A ldr r2, .L27+4
- 360 000c 9342 cmp r3, r2
- 361 000e 0BD0 beq .L26
- 362 .LVL18:
- 363 .L21:
- 364 0010 08BD pop {r3, pc}
- 365 .LVL19:
- 366 .L25:
- 169:Core/Src/spi.c ****
- 367 .loc 1 169 0
- 368 0012 02F56042 add r2, r2, #57344
- 369 0016 9369 ldr r3, [r2, #24]
- 370 0018 23F48053 bic r3, r3, #4096
- 371 001c 9361 str r3, [r2, #24]
- 176:Core/Src/spi.c ****
- 372 .loc 1 176 0
-ARM GAS /tmp/ccLqZfGE.s page 11
-
-
- 373 001e 3821 movs r1, #56
- 374 0020 0948 ldr r0, .L27+8
- 375 .LVL20:
- 376 0022 FFF7FEFF bl HAL_GPIO_DeInit
- 377 .LVL21:
- 378 0026 08BD pop {r3, pc}
- 379 .LVL22:
- 380 .L26:
- 183:Core/Src/spi.c **** {
- 184:Core/Src/spi.c **** /* USER CODE BEGIN SPI2_MspDeInit 0 */
- 185:Core/Src/spi.c ****
- 186:Core/Src/spi.c **** /* USER CODE END SPI2_MspDeInit 0 */
- 187:Core/Src/spi.c **** /* Peripheral clock disable */
- 188:Core/Src/spi.c **** __HAL_RCC_SPI2_CLK_DISABLE();
- 381 .loc 1 188 0
- 382 0028 02F5EC32 add r2, r2, #120832
- 383 002c D369 ldr r3, [r2, #28]
- 384 002e 23F48043 bic r3, r3, #16384
- 385 0032 D361 str r3, [r2, #28]
- 189:Core/Src/spi.c ****
- 190:Core/Src/spi.c **** /**SPI2 GPIO Configuration
- 191:Core/Src/spi.c **** PB12 ------> SPI2_NSS
- 192:Core/Src/spi.c **** PB13 ------> SPI2_SCK
- 193:Core/Src/spi.c **** PB14 ------> SPI2_MISO
- 194:Core/Src/spi.c **** PB15 ------> SPI2_MOSI
- 195:Core/Src/spi.c **** */
- 196:Core/Src/spi.c **** HAL_GPIO_DeInit(GPIOB, GPIO_PIN_12|GPIO_PIN_13|GPIO_PIN_14|GPIO_PIN_15);
- 386 .loc 1 196 0
- 387 0034 4FF47041 mov r1, #61440
- 388 0038 0348 ldr r0, .L27+8
- 389 .LVL23:
- 390 003a FFF7FEFF bl HAL_GPIO_DeInit
- 391 .LVL24:
- 197:Core/Src/spi.c ****
- 198:Core/Src/spi.c **** /* USER CODE BEGIN SPI2_MspDeInit 1 */
- 199:Core/Src/spi.c ****
- 200:Core/Src/spi.c **** /* USER CODE END SPI2_MspDeInit 1 */
- 201:Core/Src/spi.c **** }
- 202:Core/Src/spi.c **** }
- 392 .loc 1 202 0
- 393 003e E7E7 b .L21
- 394 .L28:
- 395 .align 2
- 396 .L27:
- 397 0040 00300140 .word 1073819648
- 398 0044 00380040 .word 1073756160
- 399 0048 000C0140 .word 1073810432
- 400 .cfi_endproc
- 401 .LFE68:
- 403 .comm hspi2,88,4
- 404 .comm hspi1,88,4
- 405 .text
- 406 .Letext0:
- 407 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 408 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 409 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 410 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
-ARM GAS /tmp/ccLqZfGE.s page 12
-
-
- 411 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 412 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 413 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h"
- 414 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
- 415 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h"
- 416 .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
- 417 .file 12 "Core/Inc/spi.h"
- 418 .file 13 "Core/Inc/main.h"
-ARM GAS /tmp/ccLqZfGE.s page 13
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 spi.c
- /tmp/ccLqZfGE.s:16 .text.MX_SPI1_Init:0000000000000000 $t
- /tmp/ccLqZfGE.s:23 .text.MX_SPI1_Init:0000000000000000 MX_SPI1_Init
- /tmp/ccLqZfGE.s:81 .text.MX_SPI1_Init:000000000000003c $d
- *COM*:0000000000000058 hspi1
- /tmp/ccLqZfGE.s:87 .text.MX_SPI2_Init:0000000000000000 $t
- /tmp/ccLqZfGE.s:94 .text.MX_SPI2_Init:0000000000000000 MX_SPI2_Init
- /tmp/ccLqZfGE.s:150 .text.MX_SPI2_Init:0000000000000038 $d
- *COM*:0000000000000058 hspi2
- /tmp/ccLqZfGE.s:156 .text.HAL_SPI_MspInit:0000000000000000 $t
- /tmp/ccLqZfGE.s:163 .text.HAL_SPI_MspInit:0000000000000000 HAL_SPI_MspInit
- /tmp/ccLqZfGE.s:325 .text.HAL_SPI_MspInit:00000000000000d4 $d
- /tmp/ccLqZfGE.s:334 .text.HAL_SPI_MspDeInit:0000000000000000 $t
- /tmp/ccLqZfGE.s:341 .text.HAL_SPI_MspDeInit:0000000000000000 HAL_SPI_MspDeInit
- /tmp/ccLqZfGE.s:397 .text.HAL_SPI_MspDeInit:0000000000000040 $d
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-HAL_SPI_Init
-Error_Handler
-HAL_GPIO_Init
-HAL_GPIO_DeInit
diff --git a/build/spi.o b/build/spi.o
deleted file mode 100644
index 136eec3..0000000
Binary files a/build/spi.o and /dev/null differ
diff --git a/build/startup_stm32f103xe.d b/build/startup_stm32f103xe.d
deleted file mode 100644
index 586f2d4..0000000
--- a/build/startup_stm32f103xe.d
+++ /dev/null
@@ -1 +0,0 @@
-build/startup_stm32f103xe.o: startup_stm32f103xe.s
diff --git a/build/startup_stm32f103xe.o b/build/startup_stm32f103xe.o
deleted file mode 100644
index f1cfebc..0000000
Binary files a/build/startup_stm32f103xe.o and /dev/null differ
diff --git a/build/stm32f1xx_hal.d b/build/stm32f1xx_hal.d
deleted file mode 100644
index 5459403..0000000
--- a/build/stm32f1xx_hal.d
+++ /dev/null
@@ -1,92 +0,0 @@
-build/stm32f1xx_hal.o: Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/stm32f1xx_hal.lst b/build/stm32f1xx_hal.lst
deleted file mode 100644
index 287fe74..0000000
--- a/build/stm32f1xx_hal.lst
+++ /dev/null
@@ -1,1560 +0,0 @@
-ARM GAS /tmp/ccKx32PD.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "stm32f1xx_hal.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.HAL_MspInit,"ax",%progbits
- 16 .align 1
- 17 .weak HAL_MspInit
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 HAL_MspInit:
- 24 .LFB67:
- 25 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c"
- 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** ******************************************************************************
- 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @file stm32f1xx_hal.c
- 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @author MCD Application Team
- 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief HAL module driver.
- 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * This is the common part of the HAL initialization
- 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** *
- 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** @verbatim
- 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** ==============================================================================
- 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** ##### How to use this driver #####
- 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** ==============================================================================
- 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** [..]
- 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** The common HAL driver contains a set of generic and common APIs that can be
- 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** used by the PPP peripheral drivers and the user to start using the HAL.
- 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** [..]
- 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** The HAL contains two APIs' categories:
- 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** (+) Common HAL APIs
- 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** (+) Services HAL APIs
- 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** @endverbatim
- 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** ******************************************************************************
- 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @attention
- 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** *
- 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * © Copyright (c) 2016 STMicroelectronics.
- 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * All rights reserved.
- 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** *
- 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * the "License"; You may not use this file except in compliance with the
- 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * License. You may obtain a copy of the License at:
- 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * opensource.org/licenses/BSD-3-Clause
- 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** *
- 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** ******************************************************************************
- 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
-ARM GAS /tmp/ccKx32PD.s page 2
-
-
- 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Includes ------------------------------------------------------------------*/
- 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** #include "stm32f1xx_hal.h"
- 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /** @addtogroup STM32F1xx_HAL_Driver
- 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @{
- 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /** @defgroup HAL HAL
- 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief HAL module driver.
- 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @{
- 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** #ifdef HAL_MODULE_ENABLED
- 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Private typedef -----------------------------------------------------------*/
- 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Private define ------------------------------------------------------------*/
- 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /** @defgroup HAL_Private_Constants HAL Private Constants
- 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @{
- 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief STM32F1xx HAL Driver version number V1.1.7
- 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** #define __STM32F1xx_HAL_VERSION_MAIN (0x01U) /*!< [31:24] main version */
- 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** #define __STM32F1xx_HAL_VERSION_SUB1 (0x01U) /*!< [23:16] sub1 version */
- 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** #define __STM32F1xx_HAL_VERSION_SUB2 (0x07U) /*!< [15:8] sub2 version */
- 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** #define __STM32F1xx_HAL_VERSION_RC (0x00U) /*!< [7:0] release candidate */
- 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** #define __STM32F1xx_HAL_VERSION ((__STM32F1xx_HAL_VERSION_MAIN << 24)\
- 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** |(__STM32F1xx_HAL_VERSION_SUB1 << 16)\
- 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** |(__STM32F1xx_HAL_VERSION_SUB2 << 8 )\
- 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** |(__STM32F1xx_HAL_VERSION_RC))
- 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** #define IDCODE_DEVID_MASK 0x00000FFFU
- 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @}
- 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Private macro -------------------------------------------------------------*/
- 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Private variables ---------------------------------------------------------*/
- 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /** @defgroup HAL_Private_Variables HAL Private Variables
- 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @{
- 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** __IO uint32_t uwTick;
- 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** uint32_t uwTickPrio = (1UL << __NVIC_PRIO_BITS); /* Invalid PRIO */
- 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** HAL_TickFreqTypeDef uwTickFreq = HAL_TICK_FREQ_DEFAULT; /* 1KHz */
- 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @}
- 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Private function prototypes -----------------------------------------------*/
- 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Exported functions ---------------------------------------------------------*/
- 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /** @defgroup HAL_Exported_Functions HAL Exported Functions
- 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @{
- 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
-ARM GAS /tmp/ccKx32PD.s page 3
-
-
- 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /** @defgroup HAL_Exported_Functions_Group1 Initialization and de-initialization Functions
- 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief Initialization and de-initialization functions
- 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** *
- 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** @verbatim
- 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** ===============================================================================
- 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** ##### Initialization and de-initialization functions #####
- 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** ===============================================================================
- 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** [..] This section provides functions allowing to:
- 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** (+) Initializes the Flash interface, the NVIC allocation and initial clock
- 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** configuration. It initializes the systick also when timeout is needed
- 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** and the backup domain when enabled.
- 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** (+) de-Initializes common part of the HAL.
- 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** (+) Configure The time base source to have 1ms time base with a dedicated
- 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** Tick interrupt priority.
- 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** (++) SysTick timer is used by default as source of time base, but user
- 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** can eventually implement his proper time base source (a general purpose
- 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** timer for example or other time source), keeping in mind that Time base
- 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** duration should be kept 1ms since PPP_TIMEOUT_VALUEs are defined and
- 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** handled in milliseconds basis.
- 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** (++) Time base configuration function (HAL_InitTick ()) is called automatically
- 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** at the beginning of the program after reset by HAL_Init() or at any time
- 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** when clock is configured, by HAL_RCC_ClockConfig().
- 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** (++) Source of time base is configured to generate interrupts at regular
- 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** time intervals. Care must be taken if HAL_Delay() is called from a
- 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** peripheral ISR process, the Tick interrupt line must have higher priority
- 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** (numerically lower) than the peripheral interrupt. Otherwise the caller
- 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** ISR process will be blocked.
- 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** (++) functions affecting time base configurations are declared as __weak
- 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** to make override possible in case of other implementations in user file.
- 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** @endverbatim
- 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @{
- 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief This function is used to initialize the HAL Library; it must be the first
- 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * instruction to be executed in the main program (before to call any other
- 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * HAL function), it performs the following:
- 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Configure the Flash prefetch.
- 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Configures the SysTick to generate an interrupt each 1 millisecond,
- 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * which is clocked by the HSI (at this stage, the clock is not yet
- 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * configured and thus the system is running from the internal HSI at 16 MHz).
- 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Set NVIC Group Priority to 4.
- 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Calls the HAL_MspInit() callback function defined in user file
- 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * "stm32f1xx_hal_msp.c" to do the global low level hardware initialization
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** *
- 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @note SysTick is used as time base for the HAL_Delay() function, the application
- 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * need to ensure that the SysTick time base is always set to 1 millisecond
- 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * to have correct HAL operation.
- 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval HAL status
- 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** HAL_StatusTypeDef HAL_Init(void)
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Configure Flash prefetch */
- 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** #if (PREFETCH_ENABLE != 0)
- 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** #if defined(STM32F101x6) || defined(STM32F101xB) || defined(STM32F101xE) || defined(STM32F101xG) ||
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** defined(STM32F102x6) || defined(STM32F102xB) || \
-ARM GAS /tmp/ccKx32PD.s page 4
-
-
- 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** defined(STM32F103x6) || defined(STM32F103xB) || defined(STM32F103xE) || defined(STM32F103xG) ||
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** defined(STM32F105xC) || defined(STM32F107xC)
- 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Prefetch buffer is not available on value line devices */
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** __HAL_FLASH_PREFETCH_BUFFER_ENABLE();
- 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** #endif
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** #endif /* PREFETCH_ENABLE */
- 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Set Interrupt Group Priority */
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** HAL_NVIC_SetPriorityGrouping(NVIC_PRIORITYGROUP_4);
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Use systick as time base source and configure 1ms tick (default clock after Reset is HSI) */
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** HAL_InitTick(TICK_INT_PRIORITY);
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Init the low level hardware */
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** HAL_MspInit();
- 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Return function status */
- 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** return HAL_OK;
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief This function de-Initializes common part of the HAL and stops the systick.
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * of time base.
- 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @note This function is optional.
- 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval HAL status
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** HAL_StatusTypeDef HAL_DeInit(void)
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Reset of all peripherals */
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** __HAL_RCC_APB1_FORCE_RESET();
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** __HAL_RCC_APB1_RELEASE_RESET();
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** __HAL_RCC_APB2_FORCE_RESET();
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** __HAL_RCC_APB2_RELEASE_RESET();
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** #if defined(STM32F105xC) || defined(STM32F107xC)
- 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** __HAL_RCC_AHB_FORCE_RESET();
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** __HAL_RCC_AHB_RELEASE_RESET();
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** #endif
- 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* De-Init the low level hardware */
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** HAL_MspDeInit();
- 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Return function status */
- 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** return HAL_OK;
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief Initialize the MSP.
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval None
- 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** __weak void HAL_MspInit(void)
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 26 .loc 1 201 0
- 27 .cfi_startproc
- 28 @ args = 0, pretend = 0, frame = 0
-ARM GAS /tmp/ccKx32PD.s page 5
-
-
- 29 @ frame_needed = 0, uses_anonymous_args = 0
- 30 @ link register save eliminated.
- 31 0000 7047 bx lr
- 32 .cfi_endproc
- 33 .LFE67:
- 35 .section .text.HAL_MspDeInit,"ax",%progbits
- 36 .align 1
- 37 .weak HAL_MspDeInit
- 38 .syntax unified
- 39 .thumb
- 40 .thumb_func
- 41 .fpu softvfp
- 43 HAL_MspDeInit:
- 44 .LFB68:
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* NOTE : This function should not be modified, when the callback is needed,
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** the HAL_MspInit could be implemented in the user file
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief DeInitializes the MSP.
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval None
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** __weak void HAL_MspDeInit(void)
- 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 45 .loc 1 212 0
- 46 .cfi_startproc
- 47 @ args = 0, pretend = 0, frame = 0
- 48 @ frame_needed = 0, uses_anonymous_args = 0
- 49 @ link register save eliminated.
- 50 0000 7047 bx lr
- 51 .cfi_endproc
- 52 .LFE68:
- 54 .section .text.HAL_DeInit,"ax",%progbits
- 55 .align 1
- 56 .global HAL_DeInit
- 57 .syntax unified
- 58 .thumb
- 59 .thumb_func
- 60 .fpu softvfp
- 62 HAL_DeInit:
- 63 .LFB66:
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Reset of all peripherals */
- 64 .loc 1 176 0
- 65 .cfi_startproc
- 66 @ args = 0, pretend = 0, frame = 0
- 67 @ frame_needed = 0, uses_anonymous_args = 0
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Reset of all peripherals */
- 68 .loc 1 176 0
- 69 0000 10B5 push {r4, lr}
- 70 .LCFI0:
- 71 .cfi_def_cfa_offset 8
- 72 .cfi_offset 4, -8
- 73 .cfi_offset 14, -4
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** __HAL_RCC_APB1_RELEASE_RESET();
- 74 .loc 1 178 0
- 75 0002 064B ldr r3, .L5
-ARM GAS /tmp/ccKx32PD.s page 6
-
-
- 76 0004 4FF0FF32 mov r2, #-1
- 77 0008 DA60 str r2, [r3, #12]
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 78 .loc 1 179 0
- 79 000a 0024 movs r4, #0
- 80 000c 1C61 str r4, [r3, #16]
- 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** __HAL_RCC_APB2_RELEASE_RESET();
- 81 .loc 1 181 0
- 82 000e DA60 str r2, [r3, #12]
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 83 .loc 1 182 0
- 84 0010 DC60 str r4, [r3, #12]
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 85 .loc 1 190 0
- 86 0012 FFF7FEFF bl HAL_MspDeInit
- 87 .LVL0:
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 88 .loc 1 194 0
- 89 0016 2046 mov r0, r4
- 90 0018 10BD pop {r4, pc}
- 91 .L6:
- 92 001a 00BF .align 2
- 93 .L5:
- 94 001c 00100240 .word 1073876992
- 95 .cfi_endproc
- 96 .LFE66:
- 98 .section .text.HAL_InitTick,"ax",%progbits
- 99 .align 1
- 100 .weak HAL_InitTick
- 101 .syntax unified
- 102 .thumb
- 103 .thumb_func
- 104 .fpu softvfp
- 106 HAL_InitTick:
- 107 .LFB69:
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* NOTE : This function should not be modified, when the callback is needed,
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** the HAL_MspDeInit could be implemented in the user file
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief This function configures the source of the time base.
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * The time source is configured to have 1ms time base with a dedicated
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Tick interrupt priority.
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @note This function is called automatically at the beginning of program after
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * reset by HAL_Init() or at any time when clock is reconfigured by HAL_RCC_ClockConfig().
- 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @note In the default implementation, SysTick timer is the source of time base.
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * It is used to generate interrupts at regular time intervals.
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Care must be taken if HAL_Delay() is called from a peripheral ISR process,
- 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * The SysTick interrupt must have higher priority (numerically lower)
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * than the peripheral interrupt. Otherwise the caller ISR process will be blocked.
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * The function is declared as __weak to be overwritten in case of other
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * implementation in user file.
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @param TickPriority Tick interrupt priority.
- 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval HAL status
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** __weak HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority)
-ARM GAS /tmp/ccKx32PD.s page 7
-
-
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 108 .loc 1 235 0
- 109 .cfi_startproc
- 110 @ args = 0, pretend = 0, frame = 0
- 111 @ frame_needed = 0, uses_anonymous_args = 0
- 112 .LVL1:
- 113 0000 10B5 push {r4, lr}
- 114 .LCFI1:
- 115 .cfi_def_cfa_offset 8
- 116 .cfi_offset 4, -8
- 117 .cfi_offset 14, -4
- 118 0002 0446 mov r4, r0
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Configure the SysTick to have interrupt in 1ms time basis*/
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** if (HAL_SYSTICK_Config(SystemCoreClock / (1000U / uwTickFreq)) > 0U)
- 119 .loc 1 237 0
- 120 0004 0E4B ldr r3, .L13
- 121 0006 1878 ldrb r0, [r3] @ zero_extendqisi2
- 122 .LVL2:
- 123 0008 4FF47A73 mov r3, #1000
- 124 000c B3FBF0F3 udiv r3, r3, r0
- 125 0010 0C4A ldr r2, .L13+4
- 126 0012 1068 ldr r0, [r2]
- 127 0014 B0FBF3F0 udiv r0, r0, r3
- 128 0018 FFF7FEFF bl HAL_SYSTICK_Config
- 129 .LVL3:
- 130 001c 68B9 cbnz r0, .L9
- 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** return HAL_ERROR;
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Configure the SysTick IRQ priority */
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** if (TickPriority < (1UL << __NVIC_PRIO_BITS))
- 131 .loc 1 243 0
- 132 001e 0F2C cmp r4, #15
- 133 0020 01D9 bls .L12
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** HAL_NVIC_SetPriority(SysTick_IRQn, TickPriority, 0U);
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** uwTickPrio = TickPriority;
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** else
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** return HAL_ERROR;
- 134 .loc 1 250 0
- 135 0022 0120 movs r0, #1
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Return function status */
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** return HAL_OK;
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 136 .loc 1 255 0
- 137 0024 10BD pop {r4, pc}
- 138 .LVL4:
- 139 .L12:
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** uwTickPrio = TickPriority;
- 140 .loc 1 245 0
- 141 0026 0022 movs r2, #0
- 142 0028 2146 mov r1, r4
-ARM GAS /tmp/ccKx32PD.s page 8
-
-
- 143 002a 4FF0FF30 mov r0, #-1
- 144 002e FFF7FEFF bl HAL_NVIC_SetPriority
- 145 .LVL5:
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 146 .loc 1 246 0
- 147 0032 054B ldr r3, .L13+8
- 148 0034 1C60 str r4, [r3]
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 149 .loc 1 254 0
- 150 0036 0020 movs r0, #0
- 151 0038 10BD pop {r4, pc}
- 152 .LVL6:
- 153 .L9:
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 154 .loc 1 239 0
- 155 003a 0120 movs r0, #1
- 156 003c 10BD pop {r4, pc}
- 157 .LVL7:
- 158 .L14:
- 159 003e 00BF .align 2
- 160 .L13:
- 161 0040 00000000 .word .LANCHOR0
- 162 0044 00000000 .word SystemCoreClock
- 163 0048 00000000 .word .LANCHOR1
- 164 .cfi_endproc
- 165 .LFE69:
- 167 .section .text.HAL_Init,"ax",%progbits
- 168 .align 1
- 169 .global HAL_Init
- 170 .syntax unified
- 171 .thumb
- 172 .thumb_func
- 173 .fpu softvfp
- 175 HAL_Init:
- 176 .LFB65:
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Configure Flash prefetch */
- 177 .loc 1 143 0
- 178 .cfi_startproc
- 179 @ args = 0, pretend = 0, frame = 0
- 180 @ frame_needed = 0, uses_anonymous_args = 0
- 181 0000 08B5 push {r3, lr}
- 182 .LCFI2:
- 183 .cfi_def_cfa_offset 8
- 184 .cfi_offset 3, -8
- 185 .cfi_offset 14, -4
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** #endif
- 186 .loc 1 152 0
- 187 0002 074A ldr r2, .L17
- 188 0004 1368 ldr r3, [r2]
- 189 0006 43F01003 orr r3, r3, #16
- 190 000a 1360 str r3, [r2]
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 191 .loc 1 157 0
- 192 000c 0320 movs r0, #3
- 193 000e FFF7FEFF bl HAL_NVIC_SetPriorityGrouping
- 194 .LVL8:
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
-ARM GAS /tmp/ccKx32PD.s page 9
-
-
- 195 .loc 1 160 0
- 196 0012 0020 movs r0, #0
- 197 0014 FFF7FEFF bl HAL_InitTick
- 198 .LVL9:
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 199 .loc 1 163 0
- 200 0018 FFF7FEFF bl HAL_MspInit
- 201 .LVL10:
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 202 .loc 1 167 0
- 203 001c 0020 movs r0, #0
- 204 001e 08BD pop {r3, pc}
- 205 .L18:
- 206 .align 2
- 207 .L17:
- 208 0020 00200240 .word 1073881088
- 209 .cfi_endproc
- 210 .LFE65:
- 212 .section .text.HAL_IncTick,"ax",%progbits
- 213 .align 1
- 214 .weak HAL_IncTick
- 215 .syntax unified
- 216 .thumb
- 217 .thumb_func
- 218 .fpu softvfp
- 220 HAL_IncTick:
- 221 .LFB70:
- 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @}
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /** @defgroup HAL_Exported_Functions_Group2 HAL Control functions
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief HAL Control functions
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** *
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** @verbatim
- 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** ===============================================================================
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** ##### HAL Control functions #####
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** ===============================================================================
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** [..] This section provides functions allowing to:
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** (+) Provide a tick value in millisecond
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** (+) Provide a blocking delay in millisecond
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** (+) Suspend the time base source interrupt
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** (+) Resume the time base source interrupt
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** (+) Get the HAL API driver version
- 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** (+) Get the device identifier
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** (+) Get the device revision identifier
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** (+) Enable/Disable Debug module during SLEEP mode
- 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** (+) Enable/Disable Debug module during STOP mode
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** (+) Enable/Disable Debug module during STANDBY mode
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** @endverbatim
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @{
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief This function is called to increment a global variable "uwTick"
-ARM GAS /tmp/ccKx32PD.s page 10
-
-
- 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * used as application time base.
- 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @note In the default implementation, this variable is incremented each 1ms
- 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * in SysTick ISR.
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @note This function is declared as __weak to be overwritten in case of other
- 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * implementations in user file.
- 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval None
- 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** __weak void HAL_IncTick(void)
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 222 .loc 1 294 0
- 223 .cfi_startproc
- 224 @ args = 0, pretend = 0, frame = 0
- 225 @ frame_needed = 0, uses_anonymous_args = 0
- 226 @ link register save eliminated.
- 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** uwTick += uwTickFreq;
- 227 .loc 1 295 0
- 228 0000 034A ldr r2, .L20
- 229 0002 1168 ldr r1, [r2]
- 230 0004 034B ldr r3, .L20+4
- 231 0006 1B78 ldrb r3, [r3] @ zero_extendqisi2
- 232 0008 0B44 add r3, r3, r1
- 233 000a 1360 str r3, [r2]
- 234 000c 7047 bx lr
- 235 .L21:
- 236 000e 00BF .align 2
- 237 .L20:
- 238 0010 00000000 .word uwTick
- 239 0014 00000000 .word .LANCHOR0
- 240 .cfi_endproc
- 241 .LFE70:
- 243 .section .text.HAL_GetTick,"ax",%progbits
- 244 .align 1
- 245 .weak HAL_GetTick
- 246 .syntax unified
- 247 .thumb
- 248 .thumb_func
- 249 .fpu softvfp
- 251 HAL_GetTick:
- 252 .LFB71:
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief Provides a tick value in millisecond.
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @note This function is declared as __weak to be overwritten in case of other
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * implementations in user file.
- 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval tick value
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** __weak uint32_t HAL_GetTick(void)
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 253 .loc 1 305 0
- 254 .cfi_startproc
- 255 @ args = 0, pretend = 0, frame = 0
- 256 @ frame_needed = 0, uses_anonymous_args = 0
- 257 @ link register save eliminated.
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** return uwTick;
- 258 .loc 1 306 0
- 259 0000 014B ldr r3, .L23
-ARM GAS /tmp/ccKx32PD.s page 11
-
-
- 260 0002 1868 ldr r0, [r3]
- 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 261 .loc 1 307 0
- 262 0004 7047 bx lr
- 263 .L24:
- 264 0006 00BF .align 2
- 265 .L23:
- 266 0008 00000000 .word uwTick
- 267 .cfi_endproc
- 268 .LFE71:
- 270 .section .text.HAL_GetTickPrio,"ax",%progbits
- 271 .align 1
- 272 .global HAL_GetTickPrio
- 273 .syntax unified
- 274 .thumb
- 275 .thumb_func
- 276 .fpu softvfp
- 278 HAL_GetTickPrio:
- 279 .LFB72:
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief This function returns a tick priority.
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval tick priority
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** uint32_t HAL_GetTickPrio(void)
- 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 280 .loc 1 314 0
- 281 .cfi_startproc
- 282 @ args = 0, pretend = 0, frame = 0
- 283 @ frame_needed = 0, uses_anonymous_args = 0
- 284 @ link register save eliminated.
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** return uwTickPrio;
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 285 .loc 1 316 0
- 286 0000 014B ldr r3, .L26
- 287 0002 1868 ldr r0, [r3]
- 288 0004 7047 bx lr
- 289 .L27:
- 290 0006 00BF .align 2
- 291 .L26:
- 292 0008 00000000 .word .LANCHOR1
- 293 .cfi_endproc
- 294 .LFE72:
- 296 .section .text.HAL_SetTickFreq,"ax",%progbits
- 297 .align 1
- 298 .global HAL_SetTickFreq
- 299 .syntax unified
- 300 .thumb
- 301 .thumb_func
- 302 .fpu softvfp
- 304 HAL_SetTickFreq:
- 305 .LFB73:
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief Set new tick Freq.
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval status
- 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
-ARM GAS /tmp/ccKx32PD.s page 12
-
-
- 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** HAL_StatusTypeDef HAL_SetTickFreq(HAL_TickFreqTypeDef Freq)
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 306 .loc 1 323 0
- 307 .cfi_startproc
- 308 @ args = 0, pretend = 0, frame = 0
- 309 @ frame_needed = 0, uses_anonymous_args = 0
- 310 .LVL11:
- 311 0000 10B5 push {r4, lr}
- 312 .LCFI3:
- 313 .cfi_def_cfa_offset 8
- 314 .cfi_offset 4, -8
- 315 .cfi_offset 14, -4
- 316 .LVL12:
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** HAL_StatusTypeDef status = HAL_OK;
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** HAL_TickFreqTypeDef prevTickFreq;
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** assert_param(IS_TICKFREQ(Freq));
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** if (uwTickFreq != Freq)
- 317 .loc 1 329 0
- 318 0002 084B ldr r3, .L32
- 319 0004 1C78 ldrb r4, [r3] @ zero_extendqisi2
- 320 0006 8442 cmp r4, r0
- 321 0008 0AD0 beq .L30
- 322 .LVL13:
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Back up uwTickFreq frequency */
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** prevTickFreq = uwTickFreq;
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Update uwTickFreq global variable used by HAL_InitTick() */
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** uwTickFreq = Freq;
- 323 .loc 1 335 0
- 324 000a 1870 strb r0, [r3]
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Apply the new tick Freq */
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** status = HAL_InitTick(uwTickPrio);
- 325 .loc 1 338 0
- 326 000c 064B ldr r3, .L32+4
- 327 000e 1868 ldr r0, [r3]
- 328 .LVL14:
- 329 0010 FFF7FEFF bl HAL_InitTick
- 330 .LVL15:
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** if (status != HAL_OK)
- 331 .loc 1 340 0
- 332 0014 0346 mov r3, r0
- 333 0016 08B1 cbz r0, .L29
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Restore previous tick frequency */
- 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** uwTickFreq = prevTickFreq;
- 334 .loc 1 343 0
- 335 0018 024A ldr r2, .L32
- 336 001a 1470 strb r4, [r2]
- 337 .LVL16:
- 338 .L29:
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
-ARM GAS /tmp/ccKx32PD.s page 13
-
-
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** return status;
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 339 .loc 1 348 0
- 340 001c 1846 mov r0, r3
- 341 001e 10BD pop {r4, pc}
- 342 .LVL17:
- 343 .L30:
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** HAL_TickFreqTypeDef prevTickFreq;
- 344 .loc 1 324 0
- 345 0020 0023 movs r3, #0
- 346 0022 FBE7 b .L29
- 347 .L33:
- 348 .align 2
- 349 .L32:
- 350 0024 00000000 .word .LANCHOR0
- 351 0028 00000000 .word .LANCHOR1
- 352 .cfi_endproc
- 353 .LFE73:
- 355 .section .text.HAL_GetTickFreq,"ax",%progbits
- 356 .align 1
- 357 .global HAL_GetTickFreq
- 358 .syntax unified
- 359 .thumb
- 360 .thumb_func
- 361 .fpu softvfp
- 363 HAL_GetTickFreq:
- 364 .LFB74:
- 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief Return tick frequency.
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval tick period in Hz
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** HAL_TickFreqTypeDef HAL_GetTickFreq(void)
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 365 .loc 1 355 0
- 366 .cfi_startproc
- 367 @ args = 0, pretend = 0, frame = 0
- 368 @ frame_needed = 0, uses_anonymous_args = 0
- 369 @ link register save eliminated.
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** return uwTickFreq;
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 370 .loc 1 357 0
- 371 0000 014B ldr r3, .L35
- 372 0002 1878 ldrb r0, [r3] @ zero_extendqisi2
- 373 0004 7047 bx lr
- 374 .L36:
- 375 0006 00BF .align 2
- 376 .L35:
- 377 0008 00000000 .word .LANCHOR0
- 378 .cfi_endproc
- 379 .LFE74:
- 381 .section .text.HAL_Delay,"ax",%progbits
- 382 .align 1
- 383 .weak HAL_Delay
- 384 .syntax unified
- 385 .thumb
-ARM GAS /tmp/ccKx32PD.s page 14
-
-
- 386 .thumb_func
- 387 .fpu softvfp
- 389 HAL_Delay:
- 390 .LFB75:
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief This function provides minimum delay (in milliseconds) based
- 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * on variable incremented.
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @note In the default implementation , SysTick timer is the source of time base.
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * It is used to generate interrupts at regular time intervals where uwTick
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * is incremented.
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @note This function is declared as __weak to be overwritten in case of other
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * implementations in user file.
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @param Delay specifies the delay time length, in milliseconds.
- 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval None
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** __weak void HAL_Delay(uint32_t Delay)
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 391 .loc 1 371 0
- 392 .cfi_startproc
- 393 @ args = 0, pretend = 0, frame = 0
- 394 @ frame_needed = 0, uses_anonymous_args = 0
- 395 .LVL18:
- 396 0000 38B5 push {r3, r4, r5, lr}
- 397 .LCFI4:
- 398 .cfi_def_cfa_offset 16
- 399 .cfi_offset 3, -16
- 400 .cfi_offset 4, -12
- 401 .cfi_offset 5, -8
- 402 .cfi_offset 14, -4
- 403 0002 0446 mov r4, r0
- 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** uint32_t tickstart = HAL_GetTick();
- 404 .loc 1 372 0
- 405 0004 FFF7FEFF bl HAL_GetTick
- 406 .LVL19:
- 407 0008 0546 mov r5, r0
- 408 .LVL20:
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** uint32_t wait = Delay;
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Add a freq to guarantee minimum wait */
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** if (wait < HAL_MAX_DELAY)
- 409 .loc 1 376 0
- 410 000a B4F1FF3F cmp r4, #-1
- 411 000e 02D0 beq .L39
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** wait += (uint32_t)(uwTickFreq);
- 412 .loc 1 378 0
- 413 0010 044B ldr r3, .L41
- 414 0012 1B78 ldrb r3, [r3] @ zero_extendqisi2
- 415 0014 1C44 add r4, r4, r3
- 416 .LVL21:
- 417 .L39:
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** while ((HAL_GetTick() - tickstart) < wait)
- 418 .loc 1 381 0 discriminator 1
- 419 0016 FFF7FEFF bl HAL_GetTick
-ARM GAS /tmp/ccKx32PD.s page 15
-
-
- 420 .LVL22:
- 421 001a 401B subs r0, r0, r5
- 422 001c 8442 cmp r4, r0
- 423 001e FAD8 bhi .L39
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 424 .loc 1 384 0
- 425 0020 38BD pop {r3, r4, r5, pc}
- 426 .LVL23:
- 427 .L42:
- 428 0022 00BF .align 2
- 429 .L41:
- 430 0024 00000000 .word .LANCHOR0
- 431 .cfi_endproc
- 432 .LFE75:
- 434 .section .text.HAL_SuspendTick,"ax",%progbits
- 435 .align 1
- 436 .weak HAL_SuspendTick
- 437 .syntax unified
- 438 .thumb
- 439 .thumb_func
- 440 .fpu softvfp
- 442 HAL_SuspendTick:
- 443 .LFB76:
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief Suspend Tick increment.
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @note In the default implementation , SysTick timer is the source of time base. It is
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * used to generate interrupts at regular time intervals. Once HAL_SuspendTick()
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * is called, the SysTick interrupt will be disabled and so Tick increment
- 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * is suspended.
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @note This function is declared as __weak to be overwritten in case of other
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * implementations in user file.
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval None
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** __weak void HAL_SuspendTick(void)
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 444 .loc 1 397 0
- 445 .cfi_startproc
- 446 @ args = 0, pretend = 0, frame = 0
- 447 @ frame_needed = 0, uses_anonymous_args = 0
- 448 @ link register save eliminated.
- 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Disable SysTick Interrupt */
- 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** CLEAR_BIT(SysTick->CTRL, SysTick_CTRL_TICKINT_Msk);
- 449 .loc 1 399 0
- 450 0000 024A ldr r2, .L44
- 451 0002 1368 ldr r3, [r2]
- 452 0004 23F00203 bic r3, r3, #2
- 453 0008 1360 str r3, [r2]
- 454 000a 7047 bx lr
- 455 .L45:
- 456 .align 2
- 457 .L44:
- 458 000c 10E000E0 .word -536813552
- 459 .cfi_endproc
- 460 .LFE76:
-ARM GAS /tmp/ccKx32PD.s page 16
-
-
- 462 .section .text.HAL_ResumeTick,"ax",%progbits
- 463 .align 1
- 464 .weak HAL_ResumeTick
- 465 .syntax unified
- 466 .thumb
- 467 .thumb_func
- 468 .fpu softvfp
- 470 HAL_ResumeTick:
- 471 .LFB77:
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief Resume Tick increment.
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @note In the default implementation , SysTick timer is the source of time base. It is
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * used to generate interrupts at regular time intervals. Once HAL_ResumeTick()
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * is called, the SysTick interrupt will be enabled and so Tick increment
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * is resumed.
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @note This function is declared as __weak to be overwritten in case of other
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * implementations in user file.
- 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval None
- 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** __weak void HAL_ResumeTick(void)
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 472 .loc 1 413 0
- 473 .cfi_startproc
- 474 @ args = 0, pretend = 0, frame = 0
- 475 @ frame_needed = 0, uses_anonymous_args = 0
- 476 @ link register save eliminated.
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /* Enable SysTick Interrupt */
- 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** SET_BIT(SysTick->CTRL, SysTick_CTRL_TICKINT_Msk);
- 477 .loc 1 415 0
- 478 0000 024A ldr r2, .L47
- 479 0002 1368 ldr r3, [r2]
- 480 0004 43F00203 orr r3, r3, #2
- 481 0008 1360 str r3, [r2]
- 482 000a 7047 bx lr
- 483 .L48:
- 484 .align 2
- 485 .L47:
- 486 000c 10E000E0 .word -536813552
- 487 .cfi_endproc
- 488 .LFE77:
- 490 .section .text.HAL_GetHalVersion,"ax",%progbits
- 491 .align 1
- 492 .global HAL_GetHalVersion
- 493 .syntax unified
- 494 .thumb
- 495 .thumb_func
- 496 .fpu softvfp
- 498 HAL_GetHalVersion:
- 499 .LFB78:
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief Returns the HAL revision
- 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval version 0xXYZR (8bits for each decimal, R for RC)
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
-ARM GAS /tmp/ccKx32PD.s page 17
-
-
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** uint32_t HAL_GetHalVersion(void)
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 500 .loc 1 423 0
- 501 .cfi_startproc
- 502 @ args = 0, pretend = 0, frame = 0
- 503 @ frame_needed = 0, uses_anonymous_args = 0
- 504 @ link register save eliminated.
- 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** return __STM32F1xx_HAL_VERSION;
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 505 .loc 1 425 0
- 506 0000 0048 ldr r0, .L50
- 507 0002 7047 bx lr
- 508 .L51:
- 509 .align 2
- 510 .L50:
- 511 0004 00070101 .word 16844544
- 512 .cfi_endproc
- 513 .LFE78:
- 515 .section .text.HAL_GetREVID,"ax",%progbits
- 516 .align 1
- 517 .global HAL_GetREVID
- 518 .syntax unified
- 519 .thumb
- 520 .thumb_func
- 521 .fpu softvfp
- 523 HAL_GetREVID:
- 524 .LFB79:
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief Returns the device revision identifier.
- 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Note: On devices STM32F10xx8 and STM32F10xxB,
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * STM32F101xC/D/E and STM32F103xC/D/E,
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * STM32F101xF/G and STM32F103xF/G
- 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * STM32F10xx4 and STM32F10xx6
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Debug registers DBGMCU_IDCODE and DBGMCU_CR are accessible only in
- 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * debug mode (not accessible by the user software in normal mode).
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Refer to errata sheet of these devices for more details.
- 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval Device revision identifier
- 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** uint32_t HAL_GetREVID(void)
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 525 .loc 1 439 0
- 526 .cfi_startproc
- 527 @ args = 0, pretend = 0, frame = 0
- 528 @ frame_needed = 0, uses_anonymous_args = 0
- 529 @ link register save eliminated.
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** return ((DBGMCU->IDCODE) >> DBGMCU_IDCODE_REV_ID_Pos);
- 530 .loc 1 440 0
- 531 0000 014B ldr r3, .L53
- 532 0002 1868 ldr r0, [r3]
- 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 533 .loc 1 441 0
- 534 0004 000C lsrs r0, r0, #16
- 535 0006 7047 bx lr
- 536 .L54:
- 537 .align 2
- 538 .L53:
-ARM GAS /tmp/ccKx32PD.s page 18
-
-
- 539 0008 002004E0 .word -536600576
- 540 .cfi_endproc
- 541 .LFE79:
- 543 .section .text.HAL_GetDEVID,"ax",%progbits
- 544 .align 1
- 545 .global HAL_GetDEVID
- 546 .syntax unified
- 547 .thumb
- 548 .thumb_func
- 549 .fpu softvfp
- 551 HAL_GetDEVID:
- 552 .LFB80:
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief Returns the device identifier.
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Note: On devices STM32F10xx8 and STM32F10xxB,
- 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * STM32F101xC/D/E and STM32F103xC/D/E,
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * STM32F101xF/G and STM32F103xF/G
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * STM32F10xx4 and STM32F10xx6
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Debug registers DBGMCU_IDCODE and DBGMCU_CR are accessible only in
- 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * debug mode (not accessible by the user software in normal mode).
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Refer to errata sheet of these devices for more details.
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval Device identifier
- 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** uint32_t HAL_GetDEVID(void)
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 553 .loc 1 455 0
- 554 .cfi_startproc
- 555 @ args = 0, pretend = 0, frame = 0
- 556 @ frame_needed = 0, uses_anonymous_args = 0
- 557 @ link register save eliminated.
- 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** return ((DBGMCU->IDCODE) & IDCODE_DEVID_MASK);
- 558 .loc 1 456 0
- 559 0000 024B ldr r3, .L56
- 560 0002 1868 ldr r0, [r3]
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 561 .loc 1 457 0
- 562 0004 C0F30B00 ubfx r0, r0, #0, #12
- 563 0008 7047 bx lr
- 564 .L57:
- 565 000a 00BF .align 2
- 566 .L56:
- 567 000c 002004E0 .word -536600576
- 568 .cfi_endproc
- 569 .LFE80:
- 571 .section .text.HAL_GetUIDw0,"ax",%progbits
- 572 .align 1
- 573 .global HAL_GetUIDw0
- 574 .syntax unified
- 575 .thumb
- 576 .thumb_func
- 577 .fpu softvfp
- 579 HAL_GetUIDw0:
- 580 .LFB81:
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief Returns first word of the unique device identifier (UID based on 96 bits)
-ARM GAS /tmp/ccKx32PD.s page 19
-
-
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval Device identifier
- 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** uint32_t HAL_GetUIDw0(void)
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 581 .loc 1 464 0
- 582 .cfi_startproc
- 583 @ args = 0, pretend = 0, frame = 0
- 584 @ frame_needed = 0, uses_anonymous_args = 0
- 585 @ link register save eliminated.
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** return(READ_REG(*((uint32_t *)UID_BASE)));
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 586 .loc 1 466 0
- 587 0000 014B ldr r3, .L59
- 588 0002 1868 ldr r0, [r3]
- 589 0004 7047 bx lr
- 590 .L60:
- 591 0006 00BF .align 2
- 592 .L59:
- 593 0008 E8F7FF1F .word 536868840
- 594 .cfi_endproc
- 595 .LFE81:
- 597 .section .text.HAL_GetUIDw1,"ax",%progbits
- 598 .align 1
- 599 .global HAL_GetUIDw1
- 600 .syntax unified
- 601 .thumb
- 602 .thumb_func
- 603 .fpu softvfp
- 605 HAL_GetUIDw1:
- 606 .LFB82:
- 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief Returns second word of the unique device identifier (UID based on 96 bits)
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval Device identifier
- 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** uint32_t HAL_GetUIDw1(void)
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 607 .loc 1 473 0
- 608 .cfi_startproc
- 609 @ args = 0, pretend = 0, frame = 0
- 610 @ frame_needed = 0, uses_anonymous_args = 0
- 611 @ link register save eliminated.
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** return(READ_REG(*((uint32_t *)(UID_BASE + 4U))));
- 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 612 .loc 1 475 0
- 613 0000 014B ldr r3, .L62
- 614 0002 1868 ldr r0, [r3]
- 615 0004 7047 bx lr
- 616 .L63:
- 617 0006 00BF .align 2
- 618 .L62:
- 619 0008 ECF7FF1F .word 536868844
- 620 .cfi_endproc
- 621 .LFE82:
- 623 .section .text.HAL_GetUIDw2,"ax",%progbits
- 624 .align 1
- 625 .global HAL_GetUIDw2
-ARM GAS /tmp/ccKx32PD.s page 20
-
-
- 626 .syntax unified
- 627 .thumb
- 628 .thumb_func
- 629 .fpu softvfp
- 631 HAL_GetUIDw2:
- 632 .LFB83:
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief Returns third word of the unique device identifier (UID based on 96 bits)
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval Device identifier
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** uint32_t HAL_GetUIDw2(void)
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 633 .loc 1 482 0
- 634 .cfi_startproc
- 635 @ args = 0, pretend = 0, frame = 0
- 636 @ frame_needed = 0, uses_anonymous_args = 0
- 637 @ link register save eliminated.
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** return(READ_REG(*((uint32_t *)(UID_BASE + 8U))));
- 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 638 .loc 1 484 0
- 639 0000 014B ldr r3, .L65
- 640 0002 1868 ldr r0, [r3]
- 641 0004 7047 bx lr
- 642 .L66:
- 643 0006 00BF .align 2
- 644 .L65:
- 645 0008 F0F7FF1F .word 536868848
- 646 .cfi_endproc
- 647 .LFE83:
- 649 .section .text.HAL_DBGMCU_EnableDBGSleepMode,"ax",%progbits
- 650 .align 1
- 651 .global HAL_DBGMCU_EnableDBGSleepMode
- 652 .syntax unified
- 653 .thumb
- 654 .thumb_func
- 655 .fpu softvfp
- 657 HAL_DBGMCU_EnableDBGSleepMode:
- 658 .LFB84:
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief Enable the Debug Module during SLEEP mode
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval None
- 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** void HAL_DBGMCU_EnableDBGSleepMode(void)
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 659 .loc 1 491 0
- 660 .cfi_startproc
- 661 @ args = 0, pretend = 0, frame = 0
- 662 @ frame_needed = 0, uses_anonymous_args = 0
- 663 @ link register save eliminated.
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_SLEEP);
- 664 .loc 1 492 0
- 665 0000 024A ldr r2, .L68
- 666 0002 5368 ldr r3, [r2, #4]
- 667 0004 43F00103 orr r3, r3, #1
- 668 0008 5360 str r3, [r2, #4]
-ARM GAS /tmp/ccKx32PD.s page 21
-
-
- 669 000a 7047 bx lr
- 670 .L69:
- 671 .align 2
- 672 .L68:
- 673 000c 002004E0 .word -536600576
- 674 .cfi_endproc
- 675 .LFE84:
- 677 .section .text.HAL_DBGMCU_DisableDBGSleepMode,"ax",%progbits
- 678 .align 1
- 679 .global HAL_DBGMCU_DisableDBGSleepMode
- 680 .syntax unified
- 681 .thumb
- 682 .thumb_func
- 683 .fpu softvfp
- 685 HAL_DBGMCU_DisableDBGSleepMode:
- 686 .LFB85:
- 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief Disable the Debug Module during SLEEP mode
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Note: On devices STM32F10xx8 and STM32F10xxB,
- 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * STM32F101xC/D/E and STM32F103xC/D/E,
- 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * STM32F101xF/G and STM32F103xF/G
- 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * STM32F10xx4 and STM32F10xx6
- 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Debug registers DBGMCU_IDCODE and DBGMCU_CR are accessible only in
- 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * debug mode (not accessible by the user software in normal mode).
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Refer to errata sheet of these devices for more details.
- 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval None
- 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** void HAL_DBGMCU_DisableDBGSleepMode(void)
- 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 687 .loc 1 507 0
- 688 .cfi_startproc
- 689 @ args = 0, pretend = 0, frame = 0
- 690 @ frame_needed = 0, uses_anonymous_args = 0
- 691 @ link register save eliminated.
- 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_SLEEP);
- 692 .loc 1 508 0
- 693 0000 024A ldr r2, .L71
- 694 0002 5368 ldr r3, [r2, #4]
- 695 0004 23F00103 bic r3, r3, #1
- 696 0008 5360 str r3, [r2, #4]
- 697 000a 7047 bx lr
- 698 .L72:
- 699 .align 2
- 700 .L71:
- 701 000c 002004E0 .word -536600576
- 702 .cfi_endproc
- 703 .LFE85:
- 705 .section .text.HAL_DBGMCU_EnableDBGStopMode,"ax",%progbits
- 706 .align 1
- 707 .global HAL_DBGMCU_EnableDBGStopMode
- 708 .syntax unified
- 709 .thumb
- 710 .thumb_func
- 711 .fpu softvfp
- 713 HAL_DBGMCU_EnableDBGStopMode:
-ARM GAS /tmp/ccKx32PD.s page 22
-
-
- 714 .LFB86:
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief Enable the Debug Module during STOP mode
- 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Note: On devices STM32F10xx8 and STM32F10xxB,
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * STM32F101xC/D/E and STM32F103xC/D/E,
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * STM32F101xF/G and STM32F103xF/G
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * STM32F10xx4 and STM32F10xx6
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Debug registers DBGMCU_IDCODE and DBGMCU_CR are accessible only in
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * debug mode (not accessible by the user software in normal mode).
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Refer to errata sheet of these devices for more details.
- 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Note: On all STM32F1 devices:
- 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * If the system tick timer interrupt is enabled during the Stop mode
- 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * debug (DBG_STOP bit set in the DBGMCU_CR register ), it will wakeup
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * the system from Stop mode.
- 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Workaround: To debug the Stop mode, disable the system tick timer
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * interrupt.
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Refer to errata sheet of these devices for more details.
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Note: On all STM32F1 devices:
- 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * If the system tick timer interrupt is enabled during the Stop mode
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * debug (DBG_STOP bit set in the DBGMCU_CR register ), it will wakeup
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * the system from Stop mode.
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Workaround: To debug the Stop mode, disable the system tick timer
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * interrupt.
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Refer to errata sheet of these devices for more details.
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval None
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** void HAL_DBGMCU_EnableDBGStopMode(void)
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 715 .loc 1 537 0
- 716 .cfi_startproc
- 717 @ args = 0, pretend = 0, frame = 0
- 718 @ frame_needed = 0, uses_anonymous_args = 0
- 719 @ link register save eliminated.
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_STOP);
- 720 .loc 1 538 0
- 721 0000 024A ldr r2, .L74
- 722 0002 5368 ldr r3, [r2, #4]
- 723 0004 43F00203 orr r3, r3, #2
- 724 0008 5360 str r3, [r2, #4]
- 725 000a 7047 bx lr
- 726 .L75:
- 727 .align 2
- 728 .L74:
- 729 000c 002004E0 .word -536600576
- 730 .cfi_endproc
- 731 .LFE86:
- 733 .section .text.HAL_DBGMCU_DisableDBGStopMode,"ax",%progbits
- 734 .align 1
- 735 .global HAL_DBGMCU_DisableDBGStopMode
- 736 .syntax unified
- 737 .thumb
- 738 .thumb_func
- 739 .fpu softvfp
- 741 HAL_DBGMCU_DisableDBGStopMode:
- 742 .LFB87:
-ARM GAS /tmp/ccKx32PD.s page 23
-
-
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief Disable the Debug Module during STOP mode
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Note: On devices STM32F10xx8 and STM32F10xxB,
- 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * STM32F101xC/D/E and STM32F103xC/D/E,
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * STM32F101xF/G and STM32F103xF/G
- 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * STM32F10xx4 and STM32F10xx6
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Debug registers DBGMCU_IDCODE and DBGMCU_CR are accessible only in
- 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * debug mode (not accessible by the user software in normal mode).
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Refer to errata sheet of these devices for more details.
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval None
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** void HAL_DBGMCU_DisableDBGStopMode(void)
- 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 743 .loc 1 553 0
- 744 .cfi_startproc
- 745 @ args = 0, pretend = 0, frame = 0
- 746 @ frame_needed = 0, uses_anonymous_args = 0
- 747 @ link register save eliminated.
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_STOP);
- 748 .loc 1 554 0
- 749 0000 024A ldr r2, .L77
- 750 0002 5368 ldr r3, [r2, #4]
- 751 0004 23F00203 bic r3, r3, #2
- 752 0008 5360 str r3, [r2, #4]
- 753 000a 7047 bx lr
- 754 .L78:
- 755 .align 2
- 756 .L77:
- 757 000c 002004E0 .word -536600576
- 758 .cfi_endproc
- 759 .LFE87:
- 761 .section .text.HAL_DBGMCU_EnableDBGStandbyMode,"ax",%progbits
- 762 .align 1
- 763 .global HAL_DBGMCU_EnableDBGStandbyMode
- 764 .syntax unified
- 765 .thumb
- 766 .thumb_func
- 767 .fpu softvfp
- 769 HAL_DBGMCU_EnableDBGStandbyMode:
- 770 .LFB88:
- 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief Enable the Debug Module during STANDBY mode
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Note: On devices STM32F10xx8 and STM32F10xxB,
- 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * STM32F101xC/D/E and STM32F103xC/D/E,
- 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * STM32F101xF/G and STM32F103xF/G
- 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * STM32F10xx4 and STM32F10xx6
- 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Debug registers DBGMCU_IDCODE and DBGMCU_CR are accessible only in
- 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * debug mode (not accessible by the user software in normal mode).
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Refer to errata sheet of these devices for more details.
- 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval None
- 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** void HAL_DBGMCU_EnableDBGStandbyMode(void)
- 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
-ARM GAS /tmp/ccKx32PD.s page 24
-
-
- 771 .loc 1 569 0
- 772 .cfi_startproc
- 773 @ args = 0, pretend = 0, frame = 0
- 774 @ frame_needed = 0, uses_anonymous_args = 0
- 775 @ link register save eliminated.
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_STANDBY);
- 776 .loc 1 570 0
- 777 0000 024A ldr r2, .L80
- 778 0002 5368 ldr r3, [r2, #4]
- 779 0004 43F00403 orr r3, r3, #4
- 780 0008 5360 str r3, [r2, #4]
- 781 000a 7047 bx lr
- 782 .L81:
- 783 .align 2
- 784 .L80:
- 785 000c 002004E0 .word -536600576
- 786 .cfi_endproc
- 787 .LFE88:
- 789 .section .text.HAL_DBGMCU_DisableDBGStandbyMode,"ax",%progbits
- 790 .align 1
- 791 .global HAL_DBGMCU_DisableDBGStandbyMode
- 792 .syntax unified
- 793 .thumb
- 794 .thumb_func
- 795 .fpu softvfp
- 797 HAL_DBGMCU_DisableDBGStandbyMode:
- 798 .LFB89:
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** }
- 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c ****
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** /**
- 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @brief Disable the Debug Module during STANDBY mode
- 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Note: On devices STM32F10xx8 and STM32F10xxB,
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * STM32F101xC/D/E and STM32F103xC/D/E,
- 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * STM32F101xF/G and STM32F103xF/G
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * STM32F10xx4 and STM32F10xx6
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Debug registers DBGMCU_IDCODE and DBGMCU_CR are accessible only in
- 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * debug mode (not accessible by the user software in normal mode).
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * Refer to errata sheet of these devices for more details.
- 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** * @retval None
- 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** */
- 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** void HAL_DBGMCU_DisableDBGStandbyMode(void)
- 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** {
- 799 .loc 1 585 0
- 800 .cfi_startproc
- 801 @ args = 0, pretend = 0, frame = 0
- 802 @ frame_needed = 0, uses_anonymous_args = 0
- 803 @ link register save eliminated.
- 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal.c **** CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_STANDBY);
- 804 .loc 1 586 0
- 805 0000 024A ldr r2, .L83
- 806 0002 5368 ldr r3, [r2, #4]
- 807 0004 23F00403 bic r3, r3, #4
- 808 0008 5360 str r3, [r2, #4]
- 809 000a 7047 bx lr
- 810 .L84:
- 811 .align 2
- 812 .L83:
-ARM GAS /tmp/ccKx32PD.s page 25
-
-
- 813 000c 002004E0 .word -536600576
- 814 .cfi_endproc
- 815 .LFE89:
- 817 .global uwTickFreq
- 818 .global uwTickPrio
- 819 .comm uwTick,4,4
- 820 .section .data.uwTickFreq,"aw",%progbits
- 821 .set .LANCHOR0,. + 0
- 824 uwTickFreq:
- 825 0000 01 .byte 1
- 826 .section .data.uwTickPrio,"aw",%progbits
- 827 .align 2
- 828 .set .LANCHOR1,. + 0
- 831 uwTickPrio:
- 832 0000 10000000 .word 16
- 833 .text
- 834 .Letext0:
- 835 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 836 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 837 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 838 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 839 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 840 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 841 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
- 842 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h"
-ARM GAS /tmp/ccKx32PD.s page 26
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_hal.c
- /tmp/ccKx32PD.s:16 .text.HAL_MspInit:0000000000000000 $t
- /tmp/ccKx32PD.s:23 .text.HAL_MspInit:0000000000000000 HAL_MspInit
- /tmp/ccKx32PD.s:36 .text.HAL_MspDeInit:0000000000000000 $t
- /tmp/ccKx32PD.s:43 .text.HAL_MspDeInit:0000000000000000 HAL_MspDeInit
- /tmp/ccKx32PD.s:55 .text.HAL_DeInit:0000000000000000 $t
- /tmp/ccKx32PD.s:62 .text.HAL_DeInit:0000000000000000 HAL_DeInit
- /tmp/ccKx32PD.s:94 .text.HAL_DeInit:000000000000001c $d
- /tmp/ccKx32PD.s:99 .text.HAL_InitTick:0000000000000000 $t
- /tmp/ccKx32PD.s:106 .text.HAL_InitTick:0000000000000000 HAL_InitTick
- /tmp/ccKx32PD.s:161 .text.HAL_InitTick:0000000000000040 $d
- /tmp/ccKx32PD.s:168 .text.HAL_Init:0000000000000000 $t
- /tmp/ccKx32PD.s:175 .text.HAL_Init:0000000000000000 HAL_Init
- /tmp/ccKx32PD.s:208 .text.HAL_Init:0000000000000020 $d
- /tmp/ccKx32PD.s:213 .text.HAL_IncTick:0000000000000000 $t
- /tmp/ccKx32PD.s:220 .text.HAL_IncTick:0000000000000000 HAL_IncTick
- /tmp/ccKx32PD.s:238 .text.HAL_IncTick:0000000000000010 $d
- *COM*:0000000000000004 uwTick
- /tmp/ccKx32PD.s:244 .text.HAL_GetTick:0000000000000000 $t
- /tmp/ccKx32PD.s:251 .text.HAL_GetTick:0000000000000000 HAL_GetTick
- /tmp/ccKx32PD.s:266 .text.HAL_GetTick:0000000000000008 $d
- /tmp/ccKx32PD.s:271 .text.HAL_GetTickPrio:0000000000000000 $t
- /tmp/ccKx32PD.s:278 .text.HAL_GetTickPrio:0000000000000000 HAL_GetTickPrio
- /tmp/ccKx32PD.s:292 .text.HAL_GetTickPrio:0000000000000008 $d
- /tmp/ccKx32PD.s:297 .text.HAL_SetTickFreq:0000000000000000 $t
- /tmp/ccKx32PD.s:304 .text.HAL_SetTickFreq:0000000000000000 HAL_SetTickFreq
- /tmp/ccKx32PD.s:350 .text.HAL_SetTickFreq:0000000000000024 $d
- /tmp/ccKx32PD.s:356 .text.HAL_GetTickFreq:0000000000000000 $t
- /tmp/ccKx32PD.s:363 .text.HAL_GetTickFreq:0000000000000000 HAL_GetTickFreq
- /tmp/ccKx32PD.s:377 .text.HAL_GetTickFreq:0000000000000008 $d
- /tmp/ccKx32PD.s:382 .text.HAL_Delay:0000000000000000 $t
- /tmp/ccKx32PD.s:389 .text.HAL_Delay:0000000000000000 HAL_Delay
- /tmp/ccKx32PD.s:430 .text.HAL_Delay:0000000000000024 $d
- /tmp/ccKx32PD.s:435 .text.HAL_SuspendTick:0000000000000000 $t
- /tmp/ccKx32PD.s:442 .text.HAL_SuspendTick:0000000000000000 HAL_SuspendTick
- /tmp/ccKx32PD.s:458 .text.HAL_SuspendTick:000000000000000c $d
- /tmp/ccKx32PD.s:463 .text.HAL_ResumeTick:0000000000000000 $t
- /tmp/ccKx32PD.s:470 .text.HAL_ResumeTick:0000000000000000 HAL_ResumeTick
- /tmp/ccKx32PD.s:486 .text.HAL_ResumeTick:000000000000000c $d
- /tmp/ccKx32PD.s:491 .text.HAL_GetHalVersion:0000000000000000 $t
- /tmp/ccKx32PD.s:498 .text.HAL_GetHalVersion:0000000000000000 HAL_GetHalVersion
- /tmp/ccKx32PD.s:511 .text.HAL_GetHalVersion:0000000000000004 $d
- /tmp/ccKx32PD.s:516 .text.HAL_GetREVID:0000000000000000 $t
- /tmp/ccKx32PD.s:523 .text.HAL_GetREVID:0000000000000000 HAL_GetREVID
- /tmp/ccKx32PD.s:539 .text.HAL_GetREVID:0000000000000008 $d
- /tmp/ccKx32PD.s:544 .text.HAL_GetDEVID:0000000000000000 $t
- /tmp/ccKx32PD.s:551 .text.HAL_GetDEVID:0000000000000000 HAL_GetDEVID
- /tmp/ccKx32PD.s:567 .text.HAL_GetDEVID:000000000000000c $d
- /tmp/ccKx32PD.s:572 .text.HAL_GetUIDw0:0000000000000000 $t
- /tmp/ccKx32PD.s:579 .text.HAL_GetUIDw0:0000000000000000 HAL_GetUIDw0
- /tmp/ccKx32PD.s:593 .text.HAL_GetUIDw0:0000000000000008 $d
- /tmp/ccKx32PD.s:598 .text.HAL_GetUIDw1:0000000000000000 $t
- /tmp/ccKx32PD.s:605 .text.HAL_GetUIDw1:0000000000000000 HAL_GetUIDw1
- /tmp/ccKx32PD.s:619 .text.HAL_GetUIDw1:0000000000000008 $d
- /tmp/ccKx32PD.s:624 .text.HAL_GetUIDw2:0000000000000000 $t
- /tmp/ccKx32PD.s:631 .text.HAL_GetUIDw2:0000000000000000 HAL_GetUIDw2
-ARM GAS /tmp/ccKx32PD.s page 27
-
-
- /tmp/ccKx32PD.s:645 .text.HAL_GetUIDw2:0000000000000008 $d
- /tmp/ccKx32PD.s:650 .text.HAL_DBGMCU_EnableDBGSleepMode:0000000000000000 $t
- /tmp/ccKx32PD.s:657 .text.HAL_DBGMCU_EnableDBGSleepMode:0000000000000000 HAL_DBGMCU_EnableDBGSleepMode
- /tmp/ccKx32PD.s:673 .text.HAL_DBGMCU_EnableDBGSleepMode:000000000000000c $d
- /tmp/ccKx32PD.s:678 .text.HAL_DBGMCU_DisableDBGSleepMode:0000000000000000 $t
- /tmp/ccKx32PD.s:685 .text.HAL_DBGMCU_DisableDBGSleepMode:0000000000000000 HAL_DBGMCU_DisableDBGSleepMode
- /tmp/ccKx32PD.s:701 .text.HAL_DBGMCU_DisableDBGSleepMode:000000000000000c $d
- /tmp/ccKx32PD.s:706 .text.HAL_DBGMCU_EnableDBGStopMode:0000000000000000 $t
- /tmp/ccKx32PD.s:713 .text.HAL_DBGMCU_EnableDBGStopMode:0000000000000000 HAL_DBGMCU_EnableDBGStopMode
- /tmp/ccKx32PD.s:729 .text.HAL_DBGMCU_EnableDBGStopMode:000000000000000c $d
- /tmp/ccKx32PD.s:734 .text.HAL_DBGMCU_DisableDBGStopMode:0000000000000000 $t
- /tmp/ccKx32PD.s:741 .text.HAL_DBGMCU_DisableDBGStopMode:0000000000000000 HAL_DBGMCU_DisableDBGStopMode
- /tmp/ccKx32PD.s:757 .text.HAL_DBGMCU_DisableDBGStopMode:000000000000000c $d
- /tmp/ccKx32PD.s:762 .text.HAL_DBGMCU_EnableDBGStandbyMode:0000000000000000 $t
- /tmp/ccKx32PD.s:769 .text.HAL_DBGMCU_EnableDBGStandbyMode:0000000000000000 HAL_DBGMCU_EnableDBGStandbyMode
- /tmp/ccKx32PD.s:785 .text.HAL_DBGMCU_EnableDBGStandbyMode:000000000000000c $d
- /tmp/ccKx32PD.s:790 .text.HAL_DBGMCU_DisableDBGStandbyMode:0000000000000000 $t
- /tmp/ccKx32PD.s:797 .text.HAL_DBGMCU_DisableDBGStandbyMode:0000000000000000 HAL_DBGMCU_DisableDBGStandbyMode
- /tmp/ccKx32PD.s:813 .text.HAL_DBGMCU_DisableDBGStandbyMode:000000000000000c $d
- /tmp/ccKx32PD.s:824 .data.uwTickFreq:0000000000000000 uwTickFreq
- /tmp/ccKx32PD.s:831 .data.uwTickPrio:0000000000000000 uwTickPrio
- /tmp/ccKx32PD.s:827 .data.uwTickPrio:0000000000000000 $d
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-HAL_SYSTICK_Config
-HAL_NVIC_SetPriority
-SystemCoreClock
-HAL_NVIC_SetPriorityGrouping
diff --git a/build/stm32f1xx_hal.o b/build/stm32f1xx_hal.o
deleted file mode 100644
index 2c6df94..0000000
Binary files a/build/stm32f1xx_hal.o and /dev/null differ
diff --git a/build/stm32f1xx_hal_adc.d b/build/stm32f1xx_hal_adc.d
deleted file mode 100644
index 33597bb..0000000
--- a/build/stm32f1xx_hal_adc.d
+++ /dev/null
@@ -1,93 +0,0 @@
-build/stm32f1xx_hal_adc.o: \
- Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/stm32f1xx_hal_adc.lst b/build/stm32f1xx_hal_adc.lst
deleted file mode 100644
index 92497a5..0000000
--- a/build/stm32f1xx_hal_adc.lst
+++ /dev/null
@@ -1,5592 +0,0 @@
-ARM GAS /tmp/ccubaZyq.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "stm32f1xx_hal_adc.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.HAL_ADC_MspInit,"ax",%progbits
- 16 .align 1
- 17 .weak HAL_ADC_MspInit
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 HAL_ADC_MspInit:
- 24 .LFB67:
- 25 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c"
- 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
- 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ******************************************************************************
- 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @file stm32f1xx_hal_adc.c
- 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @author MCD Application Team
- 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief This file provides firmware functions to manage the following
- 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * functionalities of the Analog to Digital Convertor (ADC)
- 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * peripheral:
- 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * + Initialization and de-initialization functions
- 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * ++ Initialization and Configuration of ADC
- 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * + Operation functions
- 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * ++ Start, stop, get result of conversions of regular
- 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * group, using 3 possible modes: polling, interruption or DMA.
- 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * + Control functions
- 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * ++ Channels configuration on regular group
- 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * ++ Channels configuration on injected group
- 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * ++ Analog Watchdog configuration
- 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * + State functions
- 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * ++ ADC state machine management
- 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * ++ Interrupts and flags management
- 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * Other functions (extended functions) are available in file
- 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * "stm32f1xx_hal_adc_ex.c".
- 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** *
- 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** @verbatim
- 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ==============================================================================
- 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ##### ADC peripheral features #####
- 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ==============================================================================
- 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** [..]
- 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) 12-bit resolution
- 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) Interrupt generation at the end of regular conversion, end of injected
- 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** conversion, and in case of analog watchdog or overrun events.
- 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) Single and continuous conversion modes.
-ARM GAS /tmp/ccubaZyq.s page 2
-
-
- 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) Scan mode for conversion of several channels sequentially.
- 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) Data alignment with in-built data coherency.
- 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) Programmable sampling time (channel wise)
- 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) ADC conversion of regular group and injected group.
- 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) External trigger (timer or EXTI)
- 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** for both regular and injected groups.
- 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) DMA request generation for transfer of conversions data of regular group.
- 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) Multimode Dual mode (available on devices with 2 ADCs or more).
- 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) Configurable DMA data storage in Multimode Dual mode (available on devices
- 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** with 2 DCs or more).
- 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) Configurable delay between conversions in Dual interleaved mode (available
- 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** on devices with 2 DCs or more).
- 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) ADC calibration
- 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) ADC supply requirements: 2.4 V to 3.6 V at full speed and down to 1.8 V at
- 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** slower speed.
- 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) ADC input range: from Vref- (connected to Vssa) to Vref+ (connected to
- 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** Vdda or to an external voltage reference).
- 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ##### How to use this driver #####
- 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ==============================================================================
- 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** [..]
- 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** *** Configuration of top level parameters related to ADC ***
- 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ============================================================
- 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** [..]
- 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (#) Enable the ADC interface
- 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (++) As prerequisite, ADC clock must be configured at RCC top level.
- 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** Caution: On STM32F1, ADC clock frequency max is 14MHz (refer
- 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** to device datasheet).
- 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** Therefore, ADC clock prescaler must be configured in
- 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** function of ADC clock source frequency to remain below
- 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** this maximum frequency.
- 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (++) One clock setting is mandatory:
- 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC clock (core clock, also possibly conversion clock).
- 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) Example:
- 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** Into HAL_ADC_MspInit() (recommended code location) or with
- 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** other device clock parameters configuration:
- 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) RCC_PeriphCLKInitTypeDef PeriphClkInit;
- 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) __ADC1_CLK_ENABLE();
- 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_ADC;
- 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) PeriphClkInit.AdcClockSelection = RCC_ADCPCLK2_DIV2;
- 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit);
- 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-ARM GAS /tmp/ccubaZyq.s page 3
-
-
- 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (#) ADC pins configuration
- 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (++) Enable the clock for the ADC GPIOs
- 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using macro __HAL_RCC_GPIOx_CLK_ENABLE()
- 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (++) Configure these ADC pins in analog mode
- 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_GPIO_Init()
- 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (#) Optionally, in case of usage of ADC with interruptions:
- 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (++) Configure the NVIC for ADC
- 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_NVIC_EnableIRQ(ADCx_IRQn)
- 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (++) Insert the ADC interruption handler function HAL_ADC_IRQHandler()
- 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** into the function of corresponding ADC interruption vector
- 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADCx_IRQHandler().
- 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (#) Optionally, in case of usage of DMA:
- 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (++) Configure the DMA (DMA channel, mode normal or circular, ...)
- 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_DMA_Init().
- 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (++) Configure the NVIC for DMA
- 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_NVIC_EnableIRQ(DMAx_Channelx_IRQn)
- 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (++) Insert the ADC interruption handler function HAL_ADC_IRQHandler()
- 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** into the function of corresponding DMA interruption vector
- 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** DMAx_Channelx_IRQHandler().
- 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** *** Configuration of ADC, groups regular/injected, channels parameters ***
- 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ==========================================================================
- 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** [..]
- 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (#) Configure the ADC parameters (resolution, data alignment, ...)
- 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** and regular group parameters (conversion trigger, sequencer, ...)
- 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_ADC_Init().
- 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (#) Configure the channels for regular group parameters (channel number,
- 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** channel rank into sequencer, ..., into regular group)
- 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_ADC_ConfigChannel().
- 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (#) Optionally, configure the injected group parameters (conversion trigger,
- 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** sequencer, ..., of injected group)
- 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** and the channels for injected group parameters (channel number,
- 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** channel rank into sequencer, ..., into injected group)
- 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_ADCEx_InjectedConfigChannel().
- 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (#) Optionally, configure the analog watchdog parameters (channels
- 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** monitored, thresholds, ...)
- 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_ADC_AnalogWDGConfig().
- 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (#) Optionally, for devices with several ADC instances: configure the
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** multimode parameters
- 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_ADCEx_MultiModeConfigChannel().
- 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** *** Execution of ADC conversions ***
- 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ====================================
- 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** [..]
- 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (#) Optionally, perform an automatic ADC calibration to improve the
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** conversion accuracy
- 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_ADCEx_Calibration_Start().
- 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (#) ADC driver can be used among three modes: polling, interruption,
-ARM GAS /tmp/ccubaZyq.s page 4
-
-
- 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** transfer by DMA.
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (++) ADC conversion by polling:
- 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) Activate the ADC peripheral and start conversions
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_ADC_Start()
- 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) Wait for ADC conversion completion
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_ADC_PollForConversion()
- 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (or for injected group: HAL_ADCEx_InjectedPollForConversion() )
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) Retrieve conversion results
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_ADC_GetValue()
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (or for injected group: HAL_ADCEx_InjectedGetValue() )
- 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) Stop conversion and disable the ADC peripheral
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_ADC_Stop()
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (++) ADC conversion by interruption:
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) Activate the ADC peripheral and start conversions
- 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_ADC_Start_IT()
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) Wait for ADC conversion completion by call of function
- 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_ConvCpltCallback()
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (this function must be implemented in user program)
- 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (or for injected group: HAL_ADCEx_InjectedConvCpltCallback() )
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) Retrieve conversion results
- 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_ADC_GetValue()
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (or for injected group: HAL_ADCEx_InjectedGetValue() )
- 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) Stop conversion and disable the ADC peripheral
- 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_ADC_Stop_IT()
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (++) ADC conversion with transfer by DMA:
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) Activate the ADC peripheral and start conversions
- 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_ADC_Start_DMA()
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) Wait for ADC conversion completion by call of function
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_ConvCpltCallback() or HAL_ADC_ConvHalfCpltCallback()
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (these functions must be implemented in user program)
- 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) Conversion results are automatically transferred by DMA into
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** destination variable address.
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) Stop conversion and disable the ADC peripheral
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_ADC_Stop_DMA()
- 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (++) For devices with several ADCs: ADC multimode conversion
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** with transfer by DMA:
- 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) Activate the ADC peripheral (slave) and start conversions
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_ADC_Start()
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) Activate the ADC peripheral (master) and start conversions
- 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_ADCEx_MultiModeStart_DMA()
- 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) Wait for ADC conversion completion by call of function
- 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_ConvCpltCallback() or HAL_ADC_ConvHalfCpltCallback()
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (these functions must be implemented in user program)
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) Conversion results are automatically transferred by DMA into
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** destination variable address.
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) Stop conversion and disable the ADC peripheral (master)
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_ADCEx_MultiModeStop_DMA()
- 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) Stop conversion and disable the ADC peripheral (slave)
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_ADC_Stop_IT()
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** [..]
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (@) Callback functions must be implemented in user program:
-ARM GAS /tmp/ccubaZyq.s page 5
-
-
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+@) HAL_ADC_ErrorCallback()
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+@) HAL_ADC_LevelOutOfWindowCallback() (callback of analog watchdog)
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+@) HAL_ADC_ConvCpltCallback()
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+@) HAL_ADC_ConvHalfCpltCallback
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+@) HAL_ADCEx_InjectedConvCpltCallback()
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** *** Deinitialization of ADC ***
- 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ============================================================
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** [..]
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (#) Disable the ADC interface
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (++) ADC clock can be hard reset and disabled at RCC top level.
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (++) Hard reset of ADC peripherals
- 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using macro __ADCx_FORCE_RESET(), __ADCx_RELEASE_RESET().
- 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (++) ADC clock disable
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using the equivalent macro/functions as configuration step.
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) Example:
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** Into HAL_ADC_MspDeInit() (recommended code location) or with
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** other device clock parameters configuration:
- 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) PeriphClkInit.PeriphClockSelection = RCC_PERIPHCLK_ADC
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) PeriphClkInit.AdcClockSelection = RCC_ADCPLLCLK2_OFF
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+++) HAL_RCCEx_PeriphCLKConfig(&PeriphClkInit)
- 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (#) ADC pins configuration
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (++) Disable the clock for the ADC GPIOs
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using macro __HAL_RCC_GPIOx_CLK_DISABLE()
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (#) Optionally, in case of usage of ADC with interruptions:
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (++) Disable the NVIC for ADC
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_NVIC_EnableIRQ(ADCx_IRQn)
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (#) Optionally, in case of usage of DMA:
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (++) Deinitialize the DMA
- 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_DMA_Init().
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (++) Disable the NVIC for DMA
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using function HAL_NVIC_EnableIRQ(DMAx_Channelx_IRQn)
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** [..]
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** *** Callback registration ***
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** =============================================
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** [..]
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** The compilation flag USE_HAL_ADC_REGISTER_CALLBACKS, when set to 1,
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** allows the user to configure dynamically the driver callbacks.
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** Use Functions @ref HAL_ADC_RegisterCallback()
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** to register an interrupt callback.
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** [..]
- 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** Function @ref HAL_ADC_RegisterCallback() allows to register following callbacks:
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) ConvCpltCallback : ADC conversion complete callback
- 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) ConvHalfCpltCallback : ADC conversion DMA half-transfer callback
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) LevelOutOfWindowCallback : ADC analog watchdog 1 callback
- 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) ErrorCallback : ADC error callback
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) InjectedConvCpltCallback : ADC group injected conversion complete callback
- 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) MspInitCallback : ADC Msp Init callback
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) MspDeInitCallback : ADC Msp DeInit callback
-ARM GAS /tmp/ccubaZyq.s page 6
-
-
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** This function takes as parameters the HAL peripheral handle, the Callback ID
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** and a pointer to the user callback function.
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** [..]
- 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** Use function @ref HAL_ADC_UnRegisterCallback to reset a callback to the default
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** weak function.
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** [..]
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** @ref HAL_ADC_UnRegisterCallback takes as parameters the HAL peripheral handle,
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** and the Callback ID.
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** This function allows to reset following callbacks:
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) ConvCpltCallback : ADC conversion complete callback
- 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) ConvHalfCpltCallback : ADC conversion DMA half-transfer callback
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) LevelOutOfWindowCallback : ADC analog watchdog 1 callback
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) ErrorCallback : ADC error callback
- 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) InjectedConvCpltCallback : ADC group injected conversion complete callback
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) MspInitCallback : ADC Msp Init callback
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) MspDeInitCallback : ADC Msp DeInit callback
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** [..]
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** By default, after the @ref HAL_ADC_Init() and when the state is @ref HAL_ADC_STATE_RESET
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** all callbacks are set to the corresponding weak functions:
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** examples @ref HAL_ADC_ConvCpltCallback(), @ref HAL_ADC_ErrorCallback().
- 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** Exception done for MspInit and MspDeInit functions that are
- 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** reset to the legacy weak functions in the @ref HAL_ADC_Init()/ @ref HAL_ADC_DeInit() only when
- 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** these callbacks are null (not registered beforehand).
- 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** [..]
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** If MspInit or MspDeInit are not null, the @ref HAL_ADC_Init()/ @ref HAL_ADC_DeInit()
- 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** keep and use the user MspInit/MspDeInit callbacks (registered beforehand) whatever the state.
- 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** [..]
- 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** Callbacks can be registered/unregistered in @ref HAL_ADC_STATE_READY state only.
- 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** Exception done MspInit/MspDeInit functions that can be registered/unregistered
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** in @ref HAL_ADC_STATE_READY or @ref HAL_ADC_STATE_RESET state,
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** thus registered (user) MspInit/DeInit callbacks can be used during the Init/DeInit.
- 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** [..]
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** Then, the user first registers the MspInit/MspDeInit user callbacks
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** using @ref HAL_ADC_RegisterCallback() before calling @ref HAL_ADC_DeInit()
- 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** or @ref HAL_ADC_Init() function.
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** [..]
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** When the compilation flag USE_HAL_ADC_REGISTER_CALLBACKS is set to 0 or
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** not defined, the callback registration feature is not available and all callbacks
- 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** are set to the corresponding weak functions.
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** @endverbatim
- 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ******************************************************************************
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @attention
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** *
- 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * © Copyright (c) 2016 STMicroelectronics.
- 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * All rights reserved.
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** *
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * the "License"; You may not use this file except in compliance with the
- 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * License. You may obtain a copy of the License at:
-ARM GAS /tmp/ccubaZyq.s page 7
-
-
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * opensource.org/licenses/BSD-3-Clause
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** *
- 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ******************************************************************************
- 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Includes ------------------------------------------------------------------*/
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #include "stm32f1xx_hal.h"
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /** @addtogroup STM32F1xx_HAL_Driver
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @{
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /** @defgroup ADC ADC
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief ADC HAL module driver
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @{
- 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #ifdef HAL_ADC_MODULE_ENABLED
- 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Private typedef -----------------------------------------------------------*/
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Private define ------------------------------------------------------------*/
- 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /** @defgroup ADC_Private_Constants ADC Private Constants
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @{
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
- 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Timeout values for ADC enable and disable settling time. */
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Values defined to be higher than worst cases: low clocks freq, */
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* maximum prescaler. */
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Ex of profile low frequency : Clock source at 0.1 MHz, ADC clock */
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* prescaler 4, sampling time 12.5 ADC clock cycles, resolution 12 bits. */
- 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Unit: ms */
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #define ADC_ENABLE_TIMEOUT 2U
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #define ADC_DISABLE_TIMEOUT 2U
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Delay for ADC stabilization time. */
- 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Maximum delay is 1us (refer to device datasheet, parameter tSTAB). */
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Unit: us */
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #define ADC_STAB_DELAY_US 1U
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Delay for temperature sensor stabilization time. */
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Maximum delay is 10us (refer to device datasheet, parameter tSTART). */
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Unit: us */
- 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #define ADC_TEMPSENSOR_DELAY_US 10U
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @}
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Private macro -------------------------------------------------------------*/
- 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Private variables ---------------------------------------------------------*/
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Private function prototypes -----------------------------------------------*/
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /** @defgroup ADC_Private_Functions ADC Private Functions
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @{
- 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @}
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-ARM GAS /tmp/ccubaZyq.s page 8
-
-
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Exported functions --------------------------------------------------------*/
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /** @defgroup ADC_Exported_Functions ADC Exported Functions
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @{
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /** @defgroup ADC_Exported_Functions_Group1 Initialization/de-initialization functions
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Initialization and Configuration functions
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** *
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** @verbatim
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ===============================================================================
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ##### Initialization and de-initialization functions #####
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ===============================================================================
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** [..] This section provides functions allowing to:
- 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) Initialize and configure the ADC.
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) De-initialize the ADC.
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** @endverbatim
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @{
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
- 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Initializes the ADC peripheral and regular group according to
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * parameters specified in structure "ADC_InitTypeDef".
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @note As prerequisite, ADC clock must be configured at RCC top level
- 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * (clock source APB2).
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * See commented example code below that can be copied and uncommented
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * into HAL_ADC_MspInit().
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @note Possibility to update parameters on the fly:
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * This function initializes the ADC MSP (HAL_ADC_MspInit()) only when
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * coming from ADC state reset. Following calls to this function can
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * be used to reconfigure some parameters of ADC_InitTypeDef
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * structure on the fly, without modifying MSP configuration. If ADC
- 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * MSP has to be modified again, HAL_ADC_DeInit() must be called
- 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * before HAL_ADC_Init().
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * The setting of these parameters is conditioned to ADC state.
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * For parameters constraints, see comments of structure
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * "ADC_InitTypeDef".
- 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @note This function configures the ADC within 2 scopes: scope of entire
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * ADC and scope of regular group. For parameters details, see comments
- 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * of structure "ADC_InitTypeDef".
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc: ADC handle
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval HAL status
- 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_Init(ADC_HandleTypeDef* hadc)
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** uint32_t tmp_cr1 = 0U;
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** uint32_t tmp_cr2 = 0U;
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** uint32_t tmp_sqr1 = 0U;
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check ADC handle */
- 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if(hadc == NULL)
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return HAL_ERROR;
- 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-ARM GAS /tmp/ccubaZyq.s page 9
-
-
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check the parameters */
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
- 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_DATA_ALIGN(hadc->Init.DataAlign));
- 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_SCAN_MODE(hadc->Init.ScanConvMode));
- 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.ContinuousConvMode));
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_EXTTRIG(hadc->Init.ExternalTrigConv));
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if(hadc->Init.ScanConvMode != ADC_SCAN_DISABLE)
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_REGULAR_NB_CONV(hadc->Init.NbrOfConversion));
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.DiscontinuousConvMode));
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if(hadc->Init.DiscontinuousConvMode != DISABLE)
- 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_REGULAR_DISCONT_NUMBER(hadc->Init.NbrOfDiscConversion));
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* As prerequisite, into HAL_ADC_MspInit(), ADC clock must be configured */
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* at RCC top level. */
- 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Refer to header of this file for more details on clock enabling */
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* procedure. */
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Actions performed only if ADC is coming from state reset: */
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - Initialization of ADC MSP */
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (hadc->State == HAL_ADC_STATE_RESET)
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Initialize ADC error code */
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CLEAR_ERRORCODE(hadc);
- 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Allocate lock resource and initialize it */
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->Lock = HAL_UNLOCKED;
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
- 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Init the ADC Callback settings */
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->ConvCpltCallback = HAL_ADC_ConvCpltCallback; /* Legacy weak
- 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->ConvHalfCpltCallback = HAL_ADC_ConvHalfCpltCallback; /* Legacy weak
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->LevelOutOfWindowCallback = HAL_ADC_LevelOutOfWindowCallback; /* Legacy weak
- 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->ErrorCallback = HAL_ADC_ErrorCallback; /* Legacy weak
- 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->InjectedConvCpltCallback = HAL_ADCEx_InjectedConvCpltCallback; /* Legacy weak
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (hadc->MspInitCallback == NULL)
- 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->MspInitCallback = HAL_ADC_MspInit; /* Legacy weak MspInit */
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Init the low level hardware */
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->MspInitCallback(hadc);
- 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #else
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Init the low level hardware */
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_MspInit(hadc);
- 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Stop potential conversion on going, on regular and injected groups */
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Disable ADC peripheral */
- 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Note: In case of ADC already enabled, precaution to not launch an */
-ARM GAS /tmp/ccubaZyq.s page 10
-
-
- 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* unwanted conversion while modifying register CR2 by writing 1 to */
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* bit ADON. */
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** tmp_hal_status = ADC_ConversionStop_Disable(hadc);
- 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Configuration of ADC parameters if previous preliminary actions are */
- 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* correctly completed. */
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL) &&
- 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (tmp_hal_status == HAL_OK) )
- 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC state */
- 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State,
- 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_BUSY_INTERNAL);
- 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC parameters */
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Configuration of ADC: */
- 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - data alignment */
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - external trigger to start conversion */
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - external trigger polarity (always set to 1, because needed for all */
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* triggers: external trigger of SW start) */
- 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - continuous conversion mode */
- 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Note: External trigger polarity (ADC_CR2_EXTTRIG) is set into */
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* HAL_ADC_Start_xxx functions because if set in this function, */
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* a conversion on injected group would start a conversion also on */
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* regular group after ADC enabling. */
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** tmp_cr2 |= (hadc->Init.DataAlign |
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CFGR_EXTSEL(hadc, hadc->Init.ExternalTrigConv) |
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR2_CONTINUOUS((uint32_t)hadc->Init.ContinuousConvMode) );
- 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Configuration of ADC: */
- 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - scan mode */
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - discontinuous mode disable/enable */
- 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - discontinuous mode number of conversions */
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** tmp_cr1 |= (ADC_CR1_SCAN_SET(hadc->Init.ScanConvMode));
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Enable discontinuous mode only if continuous mode is disabled */
- 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Note: If parameter "Init.ScanConvMode" is set to disable, parameter */
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* discontinuous is set anyway, but will have no effect on ADC HW. */
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (hadc->Init.DiscontinuousConvMode == ENABLE)
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (hadc->Init.ContinuousConvMode == DISABLE)
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Enable the selected ADC regular discontinuous mode */
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set the number of channels to be converted in discontinuous mode */
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(tmp_cr1, ADC_CR1_DISCEN |
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR1_DISCONTINUOUS_NUM(hadc->Init.NbrOfDiscConversion) );
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else
- 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* ADC regular group settings continuous and sequencer discontinuous*/
- 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* cannot be enabled simultaneously. */
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update ADC state machine to error */
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
- 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-ARM GAS /tmp/ccubaZyq.s page 11
-
-
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC error code to ADC IP internal error */
- 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_INTERNAL);
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update ADC configuration register CR1 with previous settings */
- 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** MODIFY_REG(hadc->Instance->CR1,
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR1_SCAN |
- 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR1_DISCEN |
- 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR1_DISCNUM ,
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** tmp_cr1 );
- 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update ADC configuration register CR2 with previous settings */
- 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** MODIFY_REG(hadc->Instance->CR2,
- 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR2_ALIGN |
- 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR2_EXTSEL |
- 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR2_EXTTRIG |
- 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR2_CONT ,
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** tmp_cr2 );
- 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Configuration of regular group sequencer: */
- 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - if scan mode is disabled, regular channels sequence length is set to */
- 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* 0x00: 1 channel converted (channel on regular rank 1) */
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Parameter "NbrOfConversion" is discarded. */
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Note: Scan mode is present by hardware on this device and, if */
- 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* disabled, discards automatically nb of conversions. Anyway, nb of */
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* conversions is forced to 0x00 for alignment over all STM32 devices. */
- 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - if scan mode is enabled, regular channels sequence length is set to */
- 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* parameter "NbrOfConversion" */
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (ADC_CR1_SCAN_SET(hadc->Init.ScanConvMode) == ADC_SCAN_ENABLE)
- 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** tmp_sqr1 = ADC_SQR1_L_SHIFT(hadc->Init.NbrOfConversion);
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** MODIFY_REG(hadc->Instance->SQR1,
- 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SQR1_L ,
- 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** tmp_sqr1 );
- 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check back that ADC registers have effectively been configured to */
- 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* ensure of no potential problem of ADC core IP clocking. */
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check through register CR2 (excluding bits set in other functions: */
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* execution control bits (ADON, JSWSTART, SWSTART), regular group bits */
- 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* (DMA), injected group bits (JEXTTRIG and JEXTSEL), channel internal */
- 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* measurement path bit (TSVREFE). */
- 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (READ_BIT(hadc->Instance->CR2, ~(ADC_CR2_ADON | ADC_CR2_DMA |
- 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR2_SWSTART | ADC_CR2_JSWSTART |
- 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR2_JEXTTRIG | ADC_CR2_JEXTSEL |
- 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR2_TSVREFE ))
- 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** == tmp_cr2)
- 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC error code to none */
- 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CLEAR_ERRORCODE(hadc);
- 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set the ADC state */
- 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State,
- 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_BUSY_INTERNAL,
- 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_READY);
-ARM GAS /tmp/ccubaZyq.s page 12
-
-
- 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else
- 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update ADC state machine to error */
- 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State,
- 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_BUSY_INTERNAL,
- 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_ERROR_INTERNAL);
- 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC error code to ADC IP internal error */
- 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_INTERNAL);
- 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** tmp_hal_status = HAL_ERROR;
- 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else
- 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update ADC state machine to error */
- 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL);
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** tmp_hal_status = HAL_ERROR;
- 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Return function status */
- 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return tmp_hal_status;
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
- 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Deinitialize the ADC peripheral registers to their default reset
- 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * values, with deinitialization of the ADC MSP.
- 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * If needed, the example code can be copied and uncommented into
- 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * function HAL_ADC_MspDeInit().
- 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc: ADC handle
- 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval HAL status
- 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
- 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_DeInit(ADC_HandleTypeDef* hadc)
- 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check ADC handle */
- 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if(hadc == NULL)
- 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return HAL_ERROR;
- 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check the parameters */
- 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
- 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC state */
- 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_BUSY_INTERNAL);
- 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Stop potential conversion on going, on regular and injected groups */
- 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Disable ADC peripheral */
- 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** tmp_hal_status = ADC_ConversionStop_Disable(hadc);
- 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Configuration of ADC parameters if previous preliminary actions are */
-ARM GAS /tmp/ccubaZyq.s page 13
-
-
- 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* correctly completed. */
- 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (tmp_hal_status == HAL_OK)
- 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* ========== Reset ADC registers ========== */
- 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset register SR */
- 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, (ADC_FLAG_AWD | ADC_FLAG_JEOC | ADC_FLAG_EOC |
- 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_FLAG_JSTRT | ADC_FLAG_STRT));
- 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset register CR1 */
- 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->CR1, (ADC_CR1_AWDEN | ADC_CR1_JAWDEN | ADC_CR1_DISCNUM |
- 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR1_JDISCEN | ADC_CR1_DISCEN | ADC_CR1_JAUTO |
- 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR1_AWDSGL | ADC_CR1_SCAN | ADC_CR1_JEOCIE |
- 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR1_AWDIE | ADC_CR1_EOCIE | ADC_CR1_AWDCH ));
- 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset register CR2 */
- 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->CR2, (ADC_CR2_TSVREFE | ADC_CR2_SWSTART | ADC_CR2_JSWSTART |
- 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR2_EXTTRIG | ADC_CR2_EXTSEL | ADC_CR2_JEXTTRIG |
- 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR2_JEXTSEL | ADC_CR2_ALIGN | ADC_CR2_DMA |
- 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR2_RSTCAL | ADC_CR2_CAL | ADC_CR2_CONT |
- 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR2_ADON ));
- 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset register SMPR1 */
- 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->SMPR1, (ADC_SMPR1_SMP17 | ADC_SMPR1_SMP16 | ADC_SMPR1_SMP15 |
- 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SMPR1_SMP14 | ADC_SMPR1_SMP13 | ADC_SMPR1_SMP12 |
- 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SMPR1_SMP11 | ADC_SMPR1_SMP10 ));
- 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset register SMPR2 */
- 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->SMPR2, (ADC_SMPR2_SMP9 | ADC_SMPR2_SMP8 | ADC_SMPR2_SMP7 |
- 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SMPR2_SMP6 | ADC_SMPR2_SMP5 | ADC_SMPR2_SMP4 |
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SMPR2_SMP3 | ADC_SMPR2_SMP2 | ADC_SMPR2_SMP1 |
- 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SMPR2_SMP0 ));
- 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset register JOFR1 */
- 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->JOFR1, ADC_JOFR1_JOFFSET1);
- 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset register JOFR2 */
- 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->JOFR2, ADC_JOFR2_JOFFSET2);
- 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset register JOFR3 */
- 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->JOFR3, ADC_JOFR3_JOFFSET3);
- 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset register JOFR4 */
- 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->JOFR4, ADC_JOFR4_JOFFSET4);
- 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset register HTR */
- 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->HTR, ADC_HTR_HT);
- 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset register LTR */
- 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->LTR, ADC_LTR_LT);
- 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset register SQR1 */
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->SQR1, ADC_SQR1_L |
- 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SQR1_SQ16 | ADC_SQR1_SQ15 |
- 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SQR1_SQ14 | ADC_SQR1_SQ13 );
- 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset register SQR1 */
- 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->SQR1, ADC_SQR1_L |
-ARM GAS /tmp/ccubaZyq.s page 14
-
-
- 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SQR1_SQ16 | ADC_SQR1_SQ15 |
- 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SQR1_SQ14 | ADC_SQR1_SQ13 );
- 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset register SQR2 */
- 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->SQR2, ADC_SQR2_SQ12 | ADC_SQR2_SQ11 | ADC_SQR2_SQ10 |
- 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SQR2_SQ9 | ADC_SQR2_SQ8 | ADC_SQR2_SQ7 );
- 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset register SQR3 */
- 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->SQR3, ADC_SQR3_SQ6 | ADC_SQR3_SQ5 | ADC_SQR3_SQ4 |
- 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SQR3_SQ3 | ADC_SQR3_SQ2 | ADC_SQR3_SQ1 );
- 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset register JSQR */
- 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->JSQR, ADC_JSQR_JL |
- 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_JSQR_JSQ4 | ADC_JSQR_JSQ3 |
- 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_JSQR_JSQ2 | ADC_JSQR_JSQ1 );
- 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset register JSQR */
- 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->JSQR, ADC_JSQR_JL |
- 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_JSQR_JSQ4 | ADC_JSQR_JSQ3 |
- 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_JSQR_JSQ2 | ADC_JSQR_JSQ1 );
- 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset register DR */
- 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* bits in access mode read only, no direct reset applicable*/
- 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset registers JDR1, JDR2, JDR3, JDR4 */
- 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* bits in access mode read only, no direct reset applicable*/
- 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* ========== Hard reset ADC peripheral ========== */
- 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Performs a global reset of the entire ADC peripheral: ADC state is */
- 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* forced to a similar state after device power-on. */
- 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* If needed, copy-paste and uncomment the following reset code into */
- 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* function "void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc)": */
- 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* */
- 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* __HAL_RCC_ADC1_FORCE_RESET() */
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* __HAL_RCC_ADC1_RELEASE_RESET() */
- 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
- 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (hadc->MspDeInitCallback == NULL)
- 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->MspDeInitCallback = HAL_ADC_MspDeInit; /* Legacy weak MspDeInit */
- 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* DeInit the low level hardware */
- 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->MspDeInitCallback(hadc);
- 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #else
- 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* DeInit the low level hardware */
- 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_MspDeInit(hadc);
- 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
- 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC error code to none */
- 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CLEAR_ERRORCODE(hadc);
- 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC state */
- 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->State = HAL_ADC_STATE_RESET;
- 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-ARM GAS /tmp/ccubaZyq.s page 15
-
-
- 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process unlocked */
- 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_UNLOCK(hadc);
- 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Return function status */
- 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return tmp_hal_status;
- 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
- 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Initializes the ADC MSP.
- 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc: ADC handle
- 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval None
- 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
- 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __weak void HAL_ADC_MspInit(ADC_HandleTypeDef* hadc)
- 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 26 .loc 1 788 0
- 27 .cfi_startproc
- 28 @ args = 0, pretend = 0, frame = 0
- 29 @ frame_needed = 0, uses_anonymous_args = 0
- 30 @ link register save eliminated.
- 31 .LVL0:
- 32 0000 7047 bx lr
- 33 .cfi_endproc
- 34 .LFE67:
- 36 .section .text.HAL_ADC_MspDeInit,"ax",%progbits
- 37 .align 1
- 38 .weak HAL_ADC_MspDeInit
- 39 .syntax unified
- 40 .thumb
- 41 .thumb_func
- 42 .fpu softvfp
- 44 HAL_ADC_MspDeInit:
- 45 .LFB68:
- 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
- 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** UNUSED(hadc);
- 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* NOTE : This function should not be modified. When the callback is needed,
- 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** function HAL_ADC_MspInit must be implemented in the user file.
- 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
- 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief DeInitializes the ADC MSP.
- 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc: ADC handle
- 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval None
- 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
- 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __weak void HAL_ADC_MspDeInit(ADC_HandleTypeDef* hadc)
- 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 46 .loc 1 802 0
- 47 .cfi_startproc
- 48 @ args = 0, pretend = 0, frame = 0
- 49 @ frame_needed = 0, uses_anonymous_args = 0
- 50 @ link register save eliminated.
- 51 .LVL1:
- 52 0000 7047 bx lr
- 53 .cfi_endproc
- 54 .LFE68:
- 56 .section .text.HAL_ADC_PollForConversion,"ax",%progbits
- 57 .align 1
-ARM GAS /tmp/ccubaZyq.s page 16
-
-
- 58 .global HAL_ADC_PollForConversion
- 59 .syntax unified
- 60 .thumb
- 61 .thumb_func
- 62 .fpu softvfp
- 64 HAL_ADC_PollForConversion:
- 65 .LFB71:
- 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
- 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** UNUSED(hadc);
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* NOTE : This function should not be modified. When the callback is needed,
- 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** function HAL_ADC_MspDeInit must be implemented in the user file.
- 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
- 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
- 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
- 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Register a User ADC Callback
- 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * To be used instead of the weak predefined callback
- 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc Pointer to a ADC_HandleTypeDef structure that contains
- 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * the configuration information for the specified ADC.
- 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param CallbackID ID of the callback to be registered
- 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * This parameter can be one of the following values:
- 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @arg @ref HAL_ADC_CONVERSION_COMPLETE_CB_ID ADC conversion complete callback ID
- 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @arg @ref HAL_ADC_CONVERSION_HALF_CB_ID ADC conversion complete callback ID
- 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @arg @ref HAL_ADC_LEVEL_OUT_OF_WINDOW_1_CB_ID ADC analog watchdog 1 callback ID
- 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @arg @ref HAL_ADC_ERROR_CB_ID ADC error callback ID
- 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @arg @ref HAL_ADC_INJ_CONVERSION_COMPLETE_CB_ID ADC group injected conversion complet
- 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @arg @ref HAL_ADC_MSPINIT_CB_ID ADC Msp Init callback ID
- 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @arg @ref HAL_ADC_MSPDEINIT_CB_ID ADC Msp DeInit callback ID
- 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @arg @ref HAL_ADC_MSPINIT_CB_ID MspInit callback ID
- 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @arg @ref HAL_ADC_MSPDEINIT_CB_ID MspDeInit callback ID
- 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param pCallback pointer to the Callback function
- 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval HAL status
- 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
- 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_RegisterCallback(ADC_HandleTypeDef *hadc, HAL_ADC_CallbackIDTypeDef Callb
- 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef status = HAL_OK;
- 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (pCallback == NULL)
- 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update the error code */
- 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->ErrorCode |= HAL_ADC_ERROR_INVALID_CALLBACK;
- 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return HAL_ERROR;
- 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if ((hadc->State & HAL_ADC_STATE_READY) != 0)
- 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** switch (CallbackID)
- 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** case HAL_ADC_CONVERSION_COMPLETE_CB_ID :
- 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->ConvCpltCallback = pCallback;
- 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** break;
- 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** case HAL_ADC_CONVERSION_HALF_CB_ID :
- 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->ConvHalfCpltCallback = pCallback;
- 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** break;
-ARM GAS /tmp/ccubaZyq.s page 17
-
-
- 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** case HAL_ADC_LEVEL_OUT_OF_WINDOW_1_CB_ID :
- 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->LevelOutOfWindowCallback = pCallback;
- 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** break;
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** case HAL_ADC_ERROR_CB_ID :
- 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->ErrorCallback = pCallback;
- 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** break;
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** case HAL_ADC_INJ_CONVERSION_COMPLETE_CB_ID :
- 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->InjectedConvCpltCallback = pCallback;
- 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** break;
- 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** case HAL_ADC_MSPINIT_CB_ID :
- 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->MspInitCallback = pCallback;
- 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** break;
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** case HAL_ADC_MSPDEINIT_CB_ID :
- 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->MspDeInitCallback = pCallback;
- 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** break;
- 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** default :
- 875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update the error code */
- 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->ErrorCode |= HAL_ADC_ERROR_INVALID_CALLBACK;
- 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Return error status */
- 879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** status = HAL_ERROR;
- 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** break;
- 881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else if (HAL_ADC_STATE_RESET == hadc->State)
- 884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** switch (CallbackID)
- 886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** case HAL_ADC_MSPINIT_CB_ID :
- 888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->MspInitCallback = pCallback;
- 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** break;
- 890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** case HAL_ADC_MSPDEINIT_CB_ID :
- 892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->MspDeInitCallback = pCallback;
- 893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** break;
- 894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** default :
- 896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update the error code */
- 897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->ErrorCode |= HAL_ADC_ERROR_INVALID_CALLBACK;
- 898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Return error status */
- 900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** status = HAL_ERROR;
- 901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** break;
- 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else
- 905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update the error code */
- 907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->ErrorCode |= HAL_ADC_ERROR_INVALID_CALLBACK;
- 908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Return error status */
-ARM GAS /tmp/ccubaZyq.s page 18
-
-
- 910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** status = HAL_ERROR;
- 911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return status;
- 914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
- 917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Unregister a ADC Callback
- 918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * ADC callback is redirected to the weak predefined callback
- 919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc Pointer to a ADC_HandleTypeDef structure that contains
- 920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * the configuration information for the specified ADC.
- 921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param CallbackID ID of the callback to be unregistered
- 922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * This parameter can be one of the following values:
- 923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @arg @ref HAL_ADC_CONVERSION_COMPLETE_CB_ID ADC conversion complete callback ID
- 924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @arg @ref HAL_ADC_CONVERSION_HALF_CB_ID ADC conversion complete callback ID
- 925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @arg @ref HAL_ADC_LEVEL_OUT_OF_WINDOW_1_CB_ID ADC analog watchdog 1 callback ID
- 926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @arg @ref HAL_ADC_ERROR_CB_ID ADC error callback ID
- 927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @arg @ref HAL_ADC_INJ_CONVERSION_COMPLETE_CB_ID ADC group injected conversion complet
- 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @arg @ref HAL_ADC_MSPINIT_CB_ID ADC Msp Init callback ID
- 929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @arg @ref HAL_ADC_MSPDEINIT_CB_ID ADC Msp DeInit callback ID
- 930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @arg @ref HAL_ADC_MSPINIT_CB_ID MspInit callback ID
- 931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @arg @ref HAL_ADC_MSPDEINIT_CB_ID MspDeInit callback ID
- 932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval HAL status
- 933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
- 934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_UnRegisterCallback(ADC_HandleTypeDef *hadc, HAL_ADC_CallbackIDTypeDef Cal
- 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef status = HAL_OK;
- 937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if ((hadc->State & HAL_ADC_STATE_READY) != 0)
- 939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** switch (CallbackID)
- 941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** case HAL_ADC_CONVERSION_COMPLETE_CB_ID :
- 943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->ConvCpltCallback = HAL_ADC_ConvCpltCallback;
- 944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** break;
- 945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** case HAL_ADC_CONVERSION_HALF_CB_ID :
- 947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->ConvHalfCpltCallback = HAL_ADC_ConvHalfCpltCallback;
- 948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** break;
- 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** case HAL_ADC_LEVEL_OUT_OF_WINDOW_1_CB_ID :
- 951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->LevelOutOfWindowCallback = HAL_ADC_LevelOutOfWindowCallback;
- 952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** break;
- 953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** case HAL_ADC_ERROR_CB_ID :
- 955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->ErrorCallback = HAL_ADC_ErrorCallback;
- 956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** break;
- 957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** case HAL_ADC_INJ_CONVERSION_COMPLETE_CB_ID :
- 959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->InjectedConvCpltCallback = HAL_ADCEx_InjectedConvCpltCallback;
- 960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** break;
- 961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** case HAL_ADC_MSPINIT_CB_ID :
- 963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->MspInitCallback = HAL_ADC_MspInit; /* Legacy weak MspInit */
- 964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** break;
- 965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** case HAL_ADC_MSPDEINIT_CB_ID :
-ARM GAS /tmp/ccubaZyq.s page 19
-
-
- 967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->MspDeInitCallback = HAL_ADC_MspDeInit; /* Legacy weak MspDeInit */
- 968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** break;
- 969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** default :
- 971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update the error code */
- 972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->ErrorCode |= HAL_ADC_ERROR_INVALID_CALLBACK;
- 973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Return error status */
- 975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** status = HAL_ERROR;
- 976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** break;
- 977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else if (HAL_ADC_STATE_RESET == hadc->State)
- 980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** switch (CallbackID)
- 982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** case HAL_ADC_MSPINIT_CB_ID :
- 984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->MspInitCallback = HAL_ADC_MspInit; /* Legacy weak MspInit
- 985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** break;
- 986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** case HAL_ADC_MSPDEINIT_CB_ID :
- 988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->MspDeInitCallback = HAL_ADC_MspDeInit; /* Legacy weak MspDeInit
- 989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** break;
- 990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** default :
- 992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update the error code */
- 993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->ErrorCode |= HAL_ADC_ERROR_INVALID_CALLBACK;
- 994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Return error status */
- 996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** status = HAL_ERROR;
- 997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** break;
- 998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else
-1001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update the error code */
-1003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->ErrorCode |= HAL_ADC_ERROR_INVALID_CALLBACK;
-1004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Return error status */
-1006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** status = HAL_ERROR;
-1007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return status;
-1010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
-1013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @}
-1016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-1017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /** @defgroup ADC_Exported_Functions_Group2 IO operation functions
-1019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Input and Output operation functions
-1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** *
-1021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** @verbatim
-1022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ===============================================================================
-1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ##### IO operation functions #####
-ARM GAS /tmp/ccubaZyq.s page 20
-
-
-1024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ===============================================================================
-1025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** [..] This section provides functions allowing to:
-1026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) Start conversion of regular group.
-1027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) Stop conversion of regular group.
-1028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) Poll for conversion complete on regular group.
-1029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) Poll for conversion event.
-1030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) Get result of regular channel conversion.
-1031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) Start conversion of regular group and enable interruptions.
-1032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) Stop conversion of regular group and disable interruptions.
-1033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) Handle ADC interrupt request
-1034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) Start conversion of regular group and enable DMA transfer.
-1035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) Stop conversion of regular group and disable ADC DMA transfer.
-1036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** @endverbatim
-1037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @{
-1038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-1039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-1041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Enables ADC, starts conversion of regular group.
-1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * Interruptions enabled in this function: None.
-1043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc: ADC handle
-1044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval HAL status
-1045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_Start(ADC_HandleTypeDef* hadc)
-1047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
-1049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check the parameters */
-1051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
-1052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process locked */
-1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_LOCK(hadc);
-1055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Enable the ADC peripheral */
-1057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** tmp_hal_status = ADC_Enable(hadc);
-1058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Start conversion if ADC is effectively enabled */
-1060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (tmp_hal_status == HAL_OK)
-1061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC state */
-1063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - Clear state bitfield related to regular group conversion results */
-1064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - Set state bitfield related to regular operation */
-1065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State,
-1066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC,
-1067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY);
-1068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set group injected state (from auto-injection) and multimode state */
-1070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* for all cases of multimode: independent mode, multimode ADC master */
-1071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* or multimode ADC slave (for devices with several ADCs): */
-1072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (ADC_NONMULTIMODE_OR_MULTIMODEMASTER(hadc))
-1073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC state (ADC independent or master) */
-1075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_MULTIMODE_SLAVE);
-1076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* If conversions on group regular are also triggering group injected, */
-1078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* update ADC state. */
-1079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (READ_BIT(hadc->Instance->CR1, ADC_CR1_JAUTO) != RESET)
-1080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-ARM GAS /tmp/ccubaZyq.s page 21
-
-
-1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State, HAL_ADC_STATE_INJ_EOC, HAL_ADC_STATE_INJ_BUSY);
-1082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else
-1085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC state (ADC slave) */
-1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_MULTIMODE_SLAVE);
-1088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* If conversions on group regular are also triggering group injected, */
-1090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* update ADC state. */
-1091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (ADC_MULTIMODE_AUTO_INJECTED(hadc))
-1092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State, HAL_ADC_STATE_INJ_EOC, HAL_ADC_STATE_INJ_BUSY);
-1094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* State machine update: Check if an injected conversion is ongoing */
-1098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (HAL_IS_BIT_SET(hadc->State, HAL_ADC_STATE_INJ_BUSY))
-1099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset ADC error code fields related to conversions on group regular */
-1101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->ErrorCode, (HAL_ADC_ERROR_OVR | HAL_ADC_ERROR_DMA));
-1102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else
-1104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset ADC all error code fields */
-1106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CLEAR_ERRORCODE(hadc);
-1107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process unlocked */
-1110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Unlock before starting ADC conversions: in case of potential */
-1111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* interruption, to let the process to ADC IRQ Handler. */
-1112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_UNLOCK(hadc);
-1113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Clear regular group conversion flag */
-1115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* (To ensure of no unknown state from potential previous ADC operations) */
-1116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_EOC);
-1117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Enable conversion of regular group. */
-1119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* If software start has been selected, conversion starts immediately. */
-1120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* If external trigger has been selected, conversion will start at next */
-1121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* trigger event. */
-1122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Case of multimode enabled: */
-1123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - if ADC is slave, ADC is enabled only (conversion is not started). */
-1124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - if ADC is master, ADC is enabled and conversion is started. */
-1125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* If ADC is master, ADC is enabled and conversion is started. */
-1126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Note: Alternate trigger for single conversion could be to force an */
-1127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* additional set of bit ADON "hadc->Instance->CR2 |= ADC_CR2_ADON;"*/
-1128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
-1129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_NONMULTIMODE_OR_MULTIMODEMASTER(hadc) )
-1130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Start ADC conversion on regular group with SW start */
-1132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->Instance->CR2, (ADC_CR2_SWSTART | ADC_CR2_EXTTRIG));
-1133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else
-1135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Start ADC conversion on regular group with external trigger */
-1137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->Instance->CR2, ADC_CR2_EXTTRIG);
-ARM GAS /tmp/ccubaZyq.s page 22
-
-
-1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else
-1141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process unlocked */
-1143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_UNLOCK(hadc);
-1144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Return function status */
-1147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return tmp_hal_status;
-1148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-1151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Stop ADC conversion of regular group (and injected channels in
-1152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * case of auto_injection mode), disable ADC peripheral.
-1153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @note: ADC peripheral disable is forcing stop of potential
-1154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * conversion on injected group. If injected group is under use, it
-1155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * should be preliminarily stopped using HAL_ADCEx_InjectedStop function.
-1156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc: ADC handle
-1157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval HAL status.
-1158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-1159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_Stop(ADC_HandleTypeDef* hadc)
-1160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
-1162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check the parameters */
-1164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
-1165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process locked */
-1167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_LOCK(hadc);
-1168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Stop potential conversion on going, on regular and injected groups */
-1170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Disable ADC peripheral */
-1171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** tmp_hal_status = ADC_ConversionStop_Disable(hadc);
-1172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check if ADC is effectively disabled */
-1174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (tmp_hal_status == HAL_OK)
-1175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC state */
-1177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State,
-1178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
-1179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_READY);
-1180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process unlocked */
-1183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_UNLOCK(hadc);
-1184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Return function status */
-1186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return tmp_hal_status;
-1187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-1190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Wait for regular group conversion to be completed.
-1191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @note This function cannot be used in a particular setup: ADC configured
-1192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * in DMA mode.
-1193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * In this case, DMA resets the flag EOC and polling cannot be
-1194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * performed on each conversion.
-ARM GAS /tmp/ccubaZyq.s page 23
-
-
-1195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @note On STM32F1 devices, limitation in case of sequencer enabled
-1196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * (several ranks selected): polling cannot be done on each
-1197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * conversion inside the sequence. In this case, polling is replaced by
-1198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * wait for maximum conversion time.
-1199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc: ADC handle
-1200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param Timeout: Timeout value in millisecond.
-1201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval HAL status
-1202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-1203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_PollForConversion(ADC_HandleTypeDef* hadc, uint32_t Timeout)
-1204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 66 .loc 1 1204 0
- 67 .cfi_startproc
- 68 @ args = 0, pretend = 0, frame = 8
- 69 @ frame_needed = 0, uses_anonymous_args = 0
- 70 .LVL2:
- 71 .loc 1 1204 0
- 72 0000 F0B5 push {r4, r5, r6, r7, lr}
- 73 .LCFI0:
- 74 .cfi_def_cfa_offset 20
- 75 .cfi_offset 4, -20
- 76 .cfi_offset 5, -16
- 77 .cfi_offset 6, -12
- 78 .cfi_offset 7, -8
- 79 .cfi_offset 14, -4
- 80 0002 83B0 sub sp, sp, #12
- 81 .LCFI1:
- 82 .cfi_def_cfa_offset 32
- 83 0004 0546 mov r5, r0
- 84 0006 0C46 mov r4, r1
- 85 .LVL3:
-1205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** uint32_t tickstart = 0U;
-1206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Variables for polling in case of scan mode enabled and polling for each */
-1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* conversion. */
-1209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __IO uint32_t Conversion_Timeout_CPU_cycles = 0U;
- 86 .loc 1 1209 0
- 87 0008 0023 movs r3, #0
- 88 000a 0193 str r3, [sp, #4]
- 89 .LVL4:
-1210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** uint32_t Conversion_Timeout_CPU_cycles_max = 0U;
-1211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check the parameters */
-1213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
-1214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Get tick count */
-1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** tickstart = HAL_GetTick();
- 90 .loc 1 1216 0
- 91 000c FFF7FEFF bl HAL_GetTick
- 92 .LVL5:
-1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Verification that ADC configuration is compliant with polling for */
-1219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* each conversion: */
-1220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Particular case is ADC configured in DMA mode */
-1221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_DMA))
- 93 .loc 1 1221 0
- 94 0010 2B68 ldr r3, [r5]
- 95 0012 9A68 ldr r2, [r3, #8]
-ARM GAS /tmp/ccubaZyq.s page 24
-
-
- 96 0014 12F4807F tst r2, #256
- 97 0018 23D1 bne .L28
- 98 001a 0646 mov r6, r0
-1222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update ADC state machine to error */
-1224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
-1225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process unlocked */
-1227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_UNLOCK(hadc);
-1228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return HAL_ERROR;
-1230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Polling for end of conversion: differentiation if single/sequence */
-1233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* conversion. */
-1234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - If single conversion for regular group (Scan mode disabled or enabled */
-1235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* with NbrOfConversion =1), flag EOC is used to determine the */
-1236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* conversion completion. */
-1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - If sequence conversion for regular group (scan mode enabled and */
-1238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* NbrOfConversion >=2), flag EOC is set only at the end of the */
-1239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* sequence. */
-1240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* To poll for each conversion, the maximum conversion time is computed */
-1241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* from ADC conversion time (selected sampling time + conversion time of */
-1242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* 12.5 ADC clock cycles) and APB2/ADC clock prescalers (depending on */
-1243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* settings, conversion time range can be from 28 to 32256 CPU cycles). */
-1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* As flag EOC is not set after each conversion, no timeout status can */
-1245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* be set. */
-1246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_SCAN) &&
- 99 .loc 1 1246 0
- 100 001c 5A68 ldr r2, [r3, #4]
- 101 001e 12F4807F tst r2, #256
- 102 0022 03D1 bne .L6
-1247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_IS_BIT_CLR(hadc->Instance->SQR1, ADC_SQR1_L) )
- 103 .loc 1 1247 0 discriminator 1
- 104 0024 DB6A ldr r3, [r3, #44]
-1246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_IS_BIT_CLR(hadc->Instance->SQR1, ADC_SQR1_L) )
- 105 .loc 1 1246 0 discriminator 1
- 106 0026 13F4700F tst r3, #15728640
- 107 002a 24D0 beq .L8
- 108 .L6:
-1248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Wait until End of Conversion flag is raised */
-1250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** while(HAL_IS_BIT_CLR(hadc->Instance->SR, ADC_FLAG_EOC))
-1251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check if timeout is disabled (set to infinite wait) */
-1253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if(Timeout != HAL_MAX_DELAY)
-1254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if((Timeout == 0U) || ((HAL_GetTick() - tickstart ) > Timeout))
-1256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update ADC state machine to timeout */
-1258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_TIMEOUT);
-1259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process unlocked */
-1261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_UNLOCK(hadc);
-1262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return HAL_TIMEOUT;
-1264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-ARM GAS /tmp/ccubaZyq.s page 25
-
-
-1265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else
-1269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Replace polling by wait for maximum conversion time */
-1271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - Computation of CPU clock cycles corresponding to ADC clock cycles */
-1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* and ADC maximum conversion cycles on all channels. */
-1273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - Wait for the expected ADC clock cycles delay */
-1274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** Conversion_Timeout_CPU_cycles_max = ((SystemCoreClock
-1275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** / HAL_RCCEx_GetPeriphCLKFreq(RCC_PERIPHCLK_ADC))
- 109 .loc 1 1275 0
- 110 002c 4B4B ldr r3, .L30
- 111 002e 1F68 ldr r7, [r3]
- 112 0030 0220 movs r0, #2
- 113 .LVL6:
- 114 0032 FFF7FEFF bl HAL_RCCEx_GetPeriphCLKFreq
- 115 .LVL7:
- 116 0036 B7FBF0F7 udiv r7, r7, r0
-1276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * ADC_CONVCYCLES_MAX_RANGE(hadc) );
- 117 .loc 1 1276 0
- 118 003a 2B68 ldr r3, [r5]
- 119 003c 1969 ldr r1, [r3, #16]
- 120 003e 484A ldr r2, .L30+4
- 121 0040 1142 tst r1, r2
- 122 0042 2FD1 bne .L12
- 123 .loc 1 1276 0 is_stmt 0 discriminator 1
- 124 0044 D968 ldr r1, [r3, #12]
- 125 0046 02F15C42 add r2, r2, #-603979776
- 126 004a 1142 tst r1, r2
- 127 004c 2AD1 bne .L12
- 128 .loc 1 1276 0 discriminator 3
- 129 004e 1969 ldr r1, [r3, #16]
- 130 0050 444A ldr r2, .L30+8
- 131 0052 1142 tst r1, r2
- 132 0054 39D1 bne .L19
- 133 .loc 1 1276 0 discriminator 5
- 134 0056 DA68 ldr r2, [r3, #12]
- 135 0058 434B ldr r3, .L30+12
- 136 005a 1A42 tst r2, r3
- 137 005c 37D0 beq .L20
- 138 .loc 1 1276 0
- 139 005e 2920 movs r0, #41
- 140 0060 3AE0 b .L13
- 141 .LVL8:
- 142 .L28:
-1224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 143 .loc 1 1224 0 is_stmt 1
- 144 0062 AB6A ldr r3, [r5, #40]
- 145 0064 43F02003 orr r3, r3, #32
- 146 0068 AB62 str r3, [r5, #40]
-1227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 147 .loc 1 1227 0
- 148 006a 0023 movs r3, #0
- 149 006c 85F82430 strb r3, [r5, #36]
-1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 150 .loc 1 1229 0
-ARM GAS /tmp/ccubaZyq.s page 26
-
-
- 151 0070 0120 movs r0, #1
- 152 .LVL9:
- 153 .L5:
-1277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** while(Conversion_Timeout_CPU_cycles < Conversion_Timeout_CPU_cycles_max)
-1279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check if timeout is disabled (set to infinite wait) */
-1281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if(Timeout != HAL_MAX_DELAY)
-1282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if((Timeout == 0U) || ((HAL_GetTick() - tickstart) > Timeout))
-1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update ADC state machine to timeout */
-1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_TIMEOUT);
-1287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process unlocked */
-1289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_UNLOCK(hadc);
-1290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return HAL_TIMEOUT;
-1292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** Conversion_Timeout_CPU_cycles ++;
-1295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Clear regular group conversion flag */
-1299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_STRT | ADC_FLAG_EOC);
-1300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update ADC state machine */
-1302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_REG_EOC);
-1303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Determine whether any further conversion upcoming on group regular */
-1305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* by external trigger, continuous mode or scan sequence on going. */
-1306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Note: On STM32F1 devices, in case of sequencer enabled */
-1307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* (several ranks selected), end of conversion flag is raised */
-1308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* at the end of the sequence. */
-1309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if(ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
-1310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) )
-1311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC state */
-1313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_REG_BUSY);
-1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_INJ_BUSY))
-1316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_READY);
-1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Return ADC state */
-1322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return HAL_OK;
-1323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 154 .loc 1 1323 0
- 155 0072 03B0 add sp, sp, #12
- 156 .LCFI2:
- 157 .cfi_remember_state
- 158 .cfi_def_cfa_offset 20
- 159 @ sp needed
- 160 0074 F0BD pop {r4, r5, r6, r7, pc}
-ARM GAS /tmp/ccubaZyq.s page 27
-
-
- 161 .LVL10:
- 162 .L8:
- 163 .LCFI3:
- 164 .cfi_restore_state
-1250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 165 .loc 1 1250 0
- 166 0076 2B68 ldr r3, [r5]
- 167 0078 1B68 ldr r3, [r3]
- 168 007a 13F0020F tst r3, #2
- 169 007e 48D1 bne .L11
-1253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 170 .loc 1 1253 0
- 171 0080 B4F1FF3F cmp r4, #-1
- 172 0084 F7D0 beq .L8
-1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 173 .loc 1 1255 0
- 174 0086 24B1 cbz r4, .L9
-1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 175 .loc 1 1255 0 is_stmt 0 discriminator 1
- 176 0088 FFF7FEFF bl HAL_GetTick
- 177 .LVL11:
- 178 008c 801B subs r0, r0, r6
- 179 008e 8442 cmp r4, r0
- 180 0090 F1D2 bcs .L8
- 181 .L9:
-1258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 182 .loc 1 1258 0 is_stmt 1
- 183 0092 AB6A ldr r3, [r5, #40]
- 184 0094 43F00403 orr r3, r3, #4
- 185 0098 AB62 str r3, [r5, #40]
-1261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 186 .loc 1 1261 0
- 187 009a 0023 movs r3, #0
- 188 009c 85F82430 strb r3, [r5, #36]
-1263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 189 .loc 1 1263 0
- 190 00a0 0320 movs r0, #3
- 191 00a2 E6E7 b .L5
- 192 .L12:
-1276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 193 .loc 1 1276 0 discriminator 4
- 194 00a4 1969 ldr r1, [r3, #16]
- 195 00a6 2F4A ldr r2, .L30+8
- 196 00a8 1142 tst r1, r2
- 197 00aa 04D1 bne .L14
-1276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 198 .loc 1 1276 0 is_stmt 0 discriminator 11
- 199 00ac D968 ldr r1, [r3, #12]
- 200 00ae 02F16E42 add r2, r2, #-301989888
- 201 00b2 1142 tst r1, r2
- 202 00b4 0DD0 beq .L21
- 203 .L14:
-1276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 204 .loc 1 1276 0 discriminator 14
- 205 00b6 1969 ldr r1, [r3, #16]
- 206 00b8 2C4A ldr r2, .L30+16
- 207 00ba 0A40 ands r2, r2, r1
-ARM GAS /tmp/ccubaZyq.s page 28
-
-
- 208 00bc 5AB9 cbnz r2, .L22
-1276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 209 .loc 1 1276 0 discriminator 15
- 210 00be DA68 ldr r2, [r3, #12]
- 211 00c0 2A4B ldr r3, .L30+16
- 212 00c2 1340 ands r3, r3, r2
- 213 00c4 5BB1 cbz r3, .L23
-1276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 214 .loc 1 1276 0
- 215 00c6 FC20 movs r0, #252
- 216 00c8 06E0 b .L13
- 217 .L19:
- 218 00ca 2920 movs r0, #41
- 219 00cc 04E0 b .L13
- 220 .L20:
- 221 00ce 1420 movs r0, #20
- 222 00d0 02E0 b .L13
- 223 .L21:
- 224 00d2 5420 movs r0, #84
- 225 00d4 00E0 b .L13
- 226 .L22:
- 227 00d6 FC20 movs r0, #252
- 228 .L13:
-1274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** / HAL_RCCEx_GetPeriphCLKFreq(RCC_PERIPHCLK_ADC))
- 229 .loc 1 1274 0 is_stmt 1
- 230 00d8 07FB00F7 mul r7, r7, r0
- 231 .LVL12:
-1278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 232 .loc 1 1278 0
- 233 00dc 04E0 b .L15
- 234 .LVL13:
- 235 .L23:
-1276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 236 .loc 1 1276 0
- 237 00de 5420 movs r0, #84
- 238 00e0 FAE7 b .L13
- 239 .LVL14:
- 240 .L16:
-1294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 241 .loc 1 1294 0
- 242 00e2 019B ldr r3, [sp, #4]
- 243 00e4 0133 adds r3, r3, #1
- 244 00e6 0193 str r3, [sp, #4]
- 245 .L15:
-1278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 246 .loc 1 1278 0
- 247 00e8 019B ldr r3, [sp, #4]
- 248 00ea 9F42 cmp r7, r3
- 249 00ec 11D9 bls .L11
-1281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 250 .loc 1 1281 0
- 251 00ee B4F1FF3F cmp r4, #-1
- 252 00f2 F6D0 beq .L16
-1283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 253 .loc 1 1283 0
- 254 00f4 24B1 cbz r4, .L17
-1283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-ARM GAS /tmp/ccubaZyq.s page 29
-
-
- 255 .loc 1 1283 0 is_stmt 0 discriminator 1
- 256 00f6 FFF7FEFF bl HAL_GetTick
- 257 .LVL15:
- 258 00fa 801B subs r0, r0, r6
- 259 00fc 8442 cmp r4, r0
- 260 00fe F0D2 bcs .L16
- 261 .L17:
-1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 262 .loc 1 1286 0 is_stmt 1
- 263 0100 AB6A ldr r3, [r5, #40]
- 264 0102 43F00403 orr r3, r3, #4
- 265 0106 AB62 str r3, [r5, #40]
-1289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 266 .loc 1 1289 0
- 267 0108 0023 movs r3, #0
- 268 010a 85F82430 strb r3, [r5, #36]
-1291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 269 .loc 1 1291 0
- 270 010e 0320 movs r0, #3
- 271 0110 AFE7 b .L5
- 272 .LVL16:
- 273 .L11:
-1299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 274 .loc 1 1299 0
- 275 0112 2B68 ldr r3, [r5]
- 276 0114 6FF01202 mvn r2, #18
- 277 0118 1A60 str r2, [r3]
-1302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 278 .loc 1 1302 0
- 279 011a AB6A ldr r3, [r5, #40]
- 280 011c 43F40073 orr r3, r3, #512
- 281 0120 AB62 str r3, [r5, #40]
-1309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) )
- 282 .loc 1 1309 0
- 283 0122 2B68 ldr r3, [r5]
- 284 0124 9B68 ldr r3, [r3, #8]
- 285 0126 03F46023 and r3, r3, #917504
- 286 012a B3F5602F cmp r3, #917504
- 287 012e 01D0 beq .L29
-1322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 288 .loc 1 1322 0
- 289 0130 0020 movs r0, #0
- 290 0132 9EE7 b .L5
- 291 .L29:
-1310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 292 .loc 1 1310 0 discriminator 1
- 293 0134 2B7B ldrb r3, [r5, #12] @ zero_extendqisi2
-1309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) )
- 294 .loc 1 1309 0 discriminator 1
- 295 0136 6BB9 cbnz r3, .L25
-1313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 296 .loc 1 1313 0
- 297 0138 AB6A ldr r3, [r5, #40]
- 298 013a 23F48073 bic r3, r3, #256
- 299 013e AB62 str r3, [r5, #40]
-1315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 300 .loc 1 1315 0
-ARM GAS /tmp/ccubaZyq.s page 30
-
-
- 301 0140 AB6A ldr r3, [r5, #40]
- 302 0142 13F4805F tst r3, #4096
- 303 0146 07D1 bne .L26
-1317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 304 .loc 1 1317 0
- 305 0148 AB6A ldr r3, [r5, #40]
- 306 014a 43F00103 orr r3, r3, #1
- 307 014e AB62 str r3, [r5, #40]
-1322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 308 .loc 1 1322 0
- 309 0150 0020 movs r0, #0
- 310 0152 8EE7 b .L5
- 311 .L25:
- 312 0154 0020 movs r0, #0
- 313 0156 8CE7 b .L5
- 314 .L26:
- 315 0158 0020 movs r0, #0
- 316 015a 8AE7 b .L5
- 317 .L31:
- 318 .align 2
- 319 .L30:
- 320 015c 00000000 .word SystemCoreClock
- 321 0160 24499224 .word 613566756
- 322 0164 92244912 .word 306783378
- 323 0168 92244900 .word 4793490
- 324 016c 49922400 .word 2396745
- 325 .cfi_endproc
- 326 .LFE71:
- 328 .section .text.HAL_ADC_PollForEvent,"ax",%progbits
- 329 .align 1
- 330 .global HAL_ADC_PollForEvent
- 331 .syntax unified
- 332 .thumb
- 333 .thumb_func
- 334 .fpu softvfp
- 336 HAL_ADC_PollForEvent:
- 337 .LFB72:
-1324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Poll for conversion event.
-1327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc: ADC handle
-1328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param EventType: the ADC event type.
-1329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * This parameter can be one of the following values:
-1330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @arg ADC_AWD_EVENT: ADC Analog watchdog event.
-1331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param Timeout: Timeout value in millisecond.
-1332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval HAL status
-1333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-1334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_PollForEvent(ADC_HandleTypeDef* hadc, uint32_t EventType, uint32_t Timeou
-1335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 338 .loc 1 1335 0
- 339 .cfi_startproc
- 340 @ args = 0, pretend = 0, frame = 0
- 341 @ frame_needed = 0, uses_anonymous_args = 0
- 342 .LVL17:
- 343 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
- 344 .LCFI4:
- 345 .cfi_def_cfa_offset 24
-ARM GAS /tmp/ccubaZyq.s page 31
-
-
- 346 .cfi_offset 3, -24
- 347 .cfi_offset 4, -20
- 348 .cfi_offset 5, -16
- 349 .cfi_offset 6, -12
- 350 .cfi_offset 7, -8
- 351 .cfi_offset 14, -4
- 352 0002 0446 mov r4, r0
- 353 0004 0E46 mov r6, r1
- 354 0006 1546 mov r5, r2
- 355 .LVL18:
-1336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** uint32_t tickstart = 0U;
-1337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check the parameters */
-1339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
-1340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_EVENT_TYPE(EventType));
-1341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Get tick count */
-1343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** tickstart = HAL_GetTick();
- 356 .loc 1 1343 0
- 357 0008 FFF7FEFF bl HAL_GetTick
- 358 .LVL19:
- 359 000c 0746 mov r7, r0
- 360 .LVL20:
- 361 .L34:
-1344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check selected event flag */
-1346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** while(__HAL_ADC_GET_FLAG(hadc, EventType) == RESET)
- 362 .loc 1 1346 0
- 363 000e 2368 ldr r3, [r4]
- 364 0010 1A68 ldr r2, [r3]
- 365 0012 36EA0202 bics r2, r6, r2
- 366 0016 11D0 beq .L39
-1347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check if timeout is disabled (set to infinite wait) */
-1349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if(Timeout != HAL_MAX_DELAY)
- 367 .loc 1 1349 0
- 368 0018 B5F1FF3F cmp r5, #-1
- 369 001c F7D0 beq .L34
-1350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if((Timeout == 0U) || ((HAL_GetTick() - tickstart ) > Timeout))
- 370 .loc 1 1351 0
- 371 001e 25B1 cbz r5, .L35
- 372 .loc 1 1351 0 is_stmt 0 discriminator 1
- 373 0020 FFF7FEFF bl HAL_GetTick
- 374 .LVL21:
- 375 0024 C01B subs r0, r0, r7
- 376 0026 8542 cmp r5, r0
- 377 0028 F1D2 bcs .L34
- 378 .L35:
-1352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update ADC state machine to timeout */
-1354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_TIMEOUT);
- 379 .loc 1 1354 0 is_stmt 1
- 380 002a A36A ldr r3, [r4, #40]
- 381 002c 43F00403 orr r3, r3, #4
- 382 0030 A362 str r3, [r4, #40]
-1355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-ARM GAS /tmp/ccubaZyq.s page 32
-
-
-1356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process unlocked */
-1357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_UNLOCK(hadc);
- 383 .loc 1 1357 0
- 384 0032 0023 movs r3, #0
- 385 0034 84F82430 strb r3, [r4, #36]
-1358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return HAL_TIMEOUT;
- 386 .loc 1 1359 0
- 387 0038 0320 movs r0, #3
- 388 003a F8BD pop {r3, r4, r5, r6, r7, pc}
- 389 .LVL22:
- 390 .L39:
-1360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Analog watchdog (level out of window) event */
-1365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC state */
-1366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_AWD1);
- 391 .loc 1 1366 0
- 392 003c A26A ldr r2, [r4, #40]
- 393 003e 42F48032 orr r2, r2, #65536
- 394 0042 A262 str r2, [r4, #40]
-1367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Clear ADC analog watchdog flag */
-1369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_AWD);
- 395 .loc 1 1369 0
- 396 0044 6FF00102 mvn r2, #1
- 397 0048 1A60 str r2, [r3]
-1370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Return ADC state */
-1372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return HAL_OK;
- 398 .loc 1 1372 0
- 399 004a 0020 movs r0, #0
-1373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 400 .loc 1 1373 0
- 401 004c F8BD pop {r3, r4, r5, r6, r7, pc}
- 402 .cfi_endproc
- 403 .LFE72:
- 405 .section .text.HAL_ADC_GetValue,"ax",%progbits
- 406 .align 1
- 407 .global HAL_ADC_GetValue
- 408 .syntax unified
- 409 .thumb
- 410 .thumb_func
- 411 .fpu softvfp
- 413 HAL_ADC_GetValue:
- 414 .LFB77:
-1374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-1376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Enables ADC, starts conversion of regular group with interruption.
-1377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * Interruptions enabled in this function:
-1378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * - EOC (end of conversion of regular group)
-1379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * Each of these interruptions has its dedicated callback function.
-1380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc: ADC handle
-1381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval HAL status
-1382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-ARM GAS /tmp/ccubaZyq.s page 33
-
-
-1383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_Start_IT(ADC_HandleTypeDef* hadc)
-1384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
-1386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check the parameters */
-1388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
-1389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process locked */
-1391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_LOCK(hadc);
-1392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Enable the ADC peripheral */
-1394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** tmp_hal_status = ADC_Enable(hadc);
-1395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Start conversion if ADC is effectively enabled */
-1397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (tmp_hal_status == HAL_OK)
-1398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC state */
-1400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - Clear state bitfield related to regular group conversion results */
-1401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - Set state bitfield related to regular operation */
-1402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State,
-1403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC | HAL_ADC_STATE_REG_OVR | HAL_ADC
-1404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY);
-1405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set group injected state (from auto-injection) and multimode state */
-1407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* for all cases of multimode: independent mode, multimode ADC master */
-1408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* or multimode ADC slave (for devices with several ADCs): */
-1409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (ADC_NONMULTIMODE_OR_MULTIMODEMASTER(hadc))
-1410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC state (ADC independent or master) */
-1412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_MULTIMODE_SLAVE);
-1413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* If conversions on group regular are also triggering group injected, */
-1415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* update ADC state. */
-1416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (READ_BIT(hadc->Instance->CR1, ADC_CR1_JAUTO) != RESET)
-1417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State, HAL_ADC_STATE_INJ_EOC, HAL_ADC_STATE_INJ_BUSY);
-1419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else
-1422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC state (ADC slave) */
-1424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_MULTIMODE_SLAVE);
-1425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* If conversions on group regular are also triggering group injected, */
-1427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* update ADC state. */
-1428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (ADC_MULTIMODE_AUTO_INJECTED(hadc))
-1429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State, HAL_ADC_STATE_INJ_EOC, HAL_ADC_STATE_INJ_BUSY);
-1431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* State machine update: Check if an injected conversion is ongoing */
-1435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (HAL_IS_BIT_SET(hadc->State, HAL_ADC_STATE_INJ_BUSY))
-1436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset ADC error code fields related to conversions on group regular */
-1438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->ErrorCode, (HAL_ADC_ERROR_OVR | HAL_ADC_ERROR_DMA));
-1439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-ARM GAS /tmp/ccubaZyq.s page 34
-
-
-1440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else
-1441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset ADC all error code fields */
-1443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CLEAR_ERRORCODE(hadc);
-1444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process unlocked */
-1447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Unlock before starting ADC conversions: in case of potential */
-1448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* interruption, to let the process to ADC IRQ Handler. */
-1449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_UNLOCK(hadc);
-1450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Clear regular group conversion flag and overrun flag */
-1452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* (To ensure of no unknown state from potential previous ADC operations) */
-1453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_EOC);
-1454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Enable end of conversion interrupt for regular group */
-1456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_ADC_ENABLE_IT(hadc, ADC_IT_EOC);
-1457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Enable conversion of regular group. */
-1459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* If software start has been selected, conversion starts immediately. */
-1460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* If external trigger has been selected, conversion will start at next */
-1461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* trigger event. */
-1462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Case of multimode enabled: */
-1463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - if ADC is slave, ADC is enabled only (conversion is not started). */
-1464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - if ADC is master, ADC is enabled and conversion is started. */
-1465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
-1466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_NONMULTIMODE_OR_MULTIMODEMASTER(hadc) )
-1467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Start ADC conversion on regular group with SW start */
-1469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->Instance->CR2, (ADC_CR2_SWSTART | ADC_CR2_EXTTRIG));
-1470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else
-1472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Start ADC conversion on regular group with external trigger */
-1474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->Instance->CR2, ADC_CR2_EXTTRIG);
-1475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else
-1478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process unlocked */
-1480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_UNLOCK(hadc);
-1481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Return function status */
-1484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return tmp_hal_status;
-1485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-1488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Stop ADC conversion of regular group (and injected group in
-1489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * case of auto_injection mode), disable interrution of
-1490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * end-of-conversion, disable ADC peripheral.
-1491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc: ADC handle
-1492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval None
-1493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-1494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_Stop_IT(ADC_HandleTypeDef* hadc)
-1495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
-ARM GAS /tmp/ccubaZyq.s page 35
-
-
-1497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check the parameters */
-1499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
-1500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process locked */
-1502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_LOCK(hadc);
-1503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Stop potential conversion on going, on regular and injected groups */
-1505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Disable ADC peripheral */
-1506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** tmp_hal_status = ADC_ConversionStop_Disable(hadc);
-1507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check if ADC is effectively disabled */
-1509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (tmp_hal_status == HAL_OK)
-1510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Disable ADC end of conversion interrupt for regular group */
-1512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_EOC);
-1513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC state */
-1515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State,
-1516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
-1517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_READY);
-1518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process unlocked */
-1521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_UNLOCK(hadc);
-1522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Return function status */
-1524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return tmp_hal_status;
-1525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-1528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Enables ADC, starts conversion of regular group and transfers result
-1529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * through DMA.
-1530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * Interruptions enabled in this function:
-1531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * - DMA transfer complete
-1532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * - DMA half transfer
-1533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * Each of these interruptions has its dedicated callback function.
-1534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @note For devices with several ADCs: This function is for single-ADC mode
-1535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * only. For multimode, use the dedicated MultimodeStart function.
-1536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @note On STM32F1 devices, only ADC1 and ADC3 (ADC availability depending
-1537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * on devices) have DMA capability.
-1538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * ADC2 converted data can be transferred in dual ADC mode using DMA
-1539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * of ADC1 (ADC master in multimode).
-1540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * In case of using ADC1 with DMA on a device featuring 2 ADC
-1541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * instances: ADC1 conversion register DR contains ADC1 conversion
-1542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * result (ADC1 register DR bits 0 to 11) and, additionally, ADC2 last
-1543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * conversion result (ADC1 register DR bits 16 to 27). Therefore, to
-1544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * have DMA transferring the conversion results of ADC1 only, DMA must
-1545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * be configured to transfer size: half word.
-1546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc: ADC handle
-1547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param pData: The destination Buffer address.
-1548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param Length: The length of data to be transferred from ADC peripheral to memory.
-1549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval None
-1550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-1551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_Start_DMA(ADC_HandleTypeDef* hadc, uint32_t* pData, uint32_t Length)
-1552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
-ARM GAS /tmp/ccubaZyq.s page 36
-
-
-1554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check the parameters */
-1556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_DMA_CAPABILITY_INSTANCE(hadc->Instance));
-1557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Verification if multimode is disabled (for devices with several ADC) */
-1559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* If multimode is enabled, dedicated function multimode conversion */
-1560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* start DMA must be used. */
-1561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if(ADC_MULTIMODE_IS_ENABLE(hadc) == RESET)
-1562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process locked */
-1564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_LOCK(hadc);
-1565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Enable the ADC peripheral */
-1567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** tmp_hal_status = ADC_Enable(hadc);
-1568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Start conversion if ADC is effectively enabled */
-1570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (tmp_hal_status == HAL_OK)
-1571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC state */
-1573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - Clear state bitfield related to regular group conversion results */
-1574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - Set state bitfield related to regular operation */
-1575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State,
-1576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC | HAL_ADC_STATE_REG_OVR | HAL_A
-1577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY);
-1578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set group injected state (from auto-injection) and multimode state */
-1580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* for all cases of multimode: independent mode, multimode ADC master */
-1581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* or multimode ADC slave (for devices with several ADCs): */
-1582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (ADC_NONMULTIMODE_OR_MULTIMODEMASTER(hadc))
-1583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC state (ADC independent or master) */
-1585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_MULTIMODE_SLAVE);
-1586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* If conversions on group regular are also triggering group injected, */
-1588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* update ADC state. */
-1589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (READ_BIT(hadc->Instance->CR1, ADC_CR1_JAUTO) != RESET)
-1590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State, HAL_ADC_STATE_INJ_EOC, HAL_ADC_STATE_INJ_BUSY);
-1592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else
-1595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC state (ADC slave) */
-1597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_MULTIMODE_SLAVE);
-1598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* If conversions on group regular are also triggering group injected, */
-1600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* update ADC state. */
-1601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (ADC_MULTIMODE_AUTO_INJECTED(hadc))
-1602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State, HAL_ADC_STATE_INJ_EOC, HAL_ADC_STATE_INJ_BUSY);
-1604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* State machine update: Check if an injected conversion is ongoing */
-1608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (HAL_IS_BIT_SET(hadc->State, HAL_ADC_STATE_INJ_BUSY))
-1609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset ADC error code fields related to conversions on group regular */
-ARM GAS /tmp/ccubaZyq.s page 37
-
-
-1611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->ErrorCode, (HAL_ADC_ERROR_OVR | HAL_ADC_ERROR_DMA));
-1612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else
-1614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset ADC all error code fields */
-1616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CLEAR_ERRORCODE(hadc);
-1617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process unlocked */
-1620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Unlock before starting ADC conversions: in case of potential */
-1621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* interruption, to let the process to ADC IRQ Handler. */
-1622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_UNLOCK(hadc);
-1623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set the DMA transfer complete callback */
-1625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->DMA_Handle->XferCpltCallback = ADC_DMAConvCplt;
-1626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set the DMA half transfer complete callback */
-1628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->DMA_Handle->XferHalfCpltCallback = ADC_DMAHalfConvCplt;
-1629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set the DMA error callback */
-1631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->DMA_Handle->XferErrorCallback = ADC_DMAError;
-1632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Manage ADC and DMA start: ADC overrun interruption, DMA start, ADC */
-1635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* start (in case of SW start): */
-1636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Clear regular group conversion flag and overrun flag */
-1638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* (To ensure of no unknown state from potential previous ADC */
-1639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* operations) */
-1640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_EOC);
-1641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Enable ADC DMA mode */
-1643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->Instance->CR2, ADC_CR2_DMA);
-1644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Start the DMA channel */
-1646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_DMA_Start_IT(hadc->DMA_Handle, (uint32_t)&hadc->Instance->DR, (uint32_t)pData, Length);
-1647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Enable conversion of regular group. */
-1649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* If software start has been selected, conversion starts immediately. */
-1650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* If external trigger has been selected, conversion will start at next */
-1651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* trigger event. */
-1652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (ADC_IS_SOFTWARE_START_REGULAR(hadc))
-1653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Start ADC conversion on regular group with SW start */
-1655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->Instance->CR2, (ADC_CR2_SWSTART | ADC_CR2_EXTTRIG));
-1656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else
-1658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Start ADC conversion on regular group with external trigger */
-1660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->Instance->CR2, ADC_CR2_EXTTRIG);
-1661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else
-1664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process unlocked */
-1666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_UNLOCK(hadc);
-1667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-ARM GAS /tmp/ccubaZyq.s page 38
-
-
-1668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else
-1670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** tmp_hal_status = HAL_ERROR;
-1672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Return function status */
-1675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return tmp_hal_status;
-1676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-1679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Stop ADC conversion of regular group (and injected group in
-1680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * case of auto_injection mode), disable ADC DMA transfer, disable
-1681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * ADC peripheral.
-1682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @note: ADC peripheral disable is forcing stop of potential
-1683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * conversion on injected group. If injected group is under use, it
-1684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * should be preliminarily stopped using HAL_ADCEx_InjectedStop function.
-1685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @note For devices with several ADCs: This function is for single-ADC mode
-1686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * only. For multimode, use the dedicated MultimodeStop function.
-1687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @note On STM32F1 devices, only ADC1 and ADC3 (ADC availability depending
-1688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * on devices) have DMA capability.
-1689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc: ADC handle
-1690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval HAL status.
-1691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-1692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_Stop_DMA(ADC_HandleTypeDef* hadc)
-1693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
-1695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check the parameters */
-1697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_DMA_CAPABILITY_INSTANCE(hadc->Instance));
-1698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process locked */
-1700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_LOCK(hadc);
-1701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Stop potential conversion on going, on regular and injected groups */
-1703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Disable ADC peripheral */
-1704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** tmp_hal_status = ADC_ConversionStop_Disable(hadc);
-1705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check if ADC is effectively disabled */
-1707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (tmp_hal_status == HAL_OK)
-1708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Disable ADC DMA mode */
-1710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->Instance->CR2, ADC_CR2_DMA);
-1711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Disable the DMA channel (in case of DMA in circular mode or stop while */
-1713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* DMA transfer is on going) */
-1714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (hadc->DMA_Handle->State == HAL_DMA_STATE_BUSY)
-1715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** tmp_hal_status = HAL_DMA_Abort(hadc->DMA_Handle);
-1717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check if DMA channel effectively disabled */
-1719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (tmp_hal_status == HAL_OK)
-1720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC state */
-1722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_STATE_CLR_SET(hadc->State,
-1723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
-1724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_READY);
-ARM GAS /tmp/ccubaZyq.s page 39
-
-
-1725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else
-1727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update ADC state machine to error */
-1729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_DMA);
-1730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process unlocked */
-1735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_UNLOCK(hadc);
-1736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Return function status */
-1738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return tmp_hal_status;
-1739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-1742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Get ADC regular group conversion result.
-1743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @note Reading register DR automatically clears ADC flag EOC
-1744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * (ADC group regular end of unitary conversion).
-1745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @note This function does not clear ADC flag EOS
-1746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * (ADC group regular end of sequence conversion).
-1747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * Occurrence of flag EOS rising:
-1748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * - If sequencer is composed of 1 rank, flag EOS is equivalent
-1749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * to flag EOC.
-1750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * - If sequencer is composed of several ranks, during the scan
-1751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * sequence flag EOC only is raised, at the end of the scan sequence
-1752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * both flags EOC and EOS are raised.
-1753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * To clear this flag, either use function:
-1754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * in programming model IT: @ref HAL_ADC_IRQHandler(), in programming
-1755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * model polling: @ref HAL_ADC_PollForConversion()
-1756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * or @ref __HAL_ADC_CLEAR_FLAG(&hadc, ADC_FLAG_EOS).
-1757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc: ADC handle
-1758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval ADC group regular conversion data
-1759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-1760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** uint32_t HAL_ADC_GetValue(ADC_HandleTypeDef* hadc)
-1761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 415 .loc 1 1761 0
- 416 .cfi_startproc
- 417 @ args = 0, pretend = 0, frame = 0
- 418 @ frame_needed = 0, uses_anonymous_args = 0
- 419 @ link register save eliminated.
- 420 .LVL23:
-1762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check the parameters */
-1763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
-1764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Note: EOC flag is not cleared here by software because automatically */
-1766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* cleared by hardware when reading register DR. */
-1767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Return ADC converted value */
-1769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return hadc->Instance->DR;
- 421 .loc 1 1769 0
- 422 0000 0368 ldr r3, [r0]
- 423 0002 D86C ldr r0, [r3, #76]
- 424 .LVL24:
-1770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 425 .loc 1 1770 0
-ARM GAS /tmp/ccubaZyq.s page 40
-
-
- 426 0004 7047 bx lr
- 427 .cfi_endproc
- 428 .LFE77:
- 430 .section .text.HAL_ADC_ConvCpltCallback,"ax",%progbits
- 431 .align 1
- 432 .weak HAL_ADC_ConvCpltCallback
- 433 .syntax unified
- 434 .thumb
- 435 .thumb_func
- 436 .fpu softvfp
- 438 HAL_ADC_ConvCpltCallback:
- 439 .LFB79:
-1771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-1773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Handles ADC interrupt request
-1774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc: ADC handle
-1775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval None
-1776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-1777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** void HAL_ADC_IRQHandler(ADC_HandleTypeDef* hadc)
-1778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check the parameters */
-1780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
-1781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.ContinuousConvMode));
-1782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_REGULAR_NB_CONV(hadc->Init.NbrOfConversion));
-1783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* ========== Check End of Conversion flag for regular group ========== */
-1786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if(__HAL_ADC_GET_IT_SOURCE(hadc, ADC_IT_EOC))
-1787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if(__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_EOC) )
-1789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update state machine on conversion status if not in error state */
-1791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL))
-1792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC state */
-1794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_REG_EOC);
-1795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Determine whether any further conversion upcoming on group regular */
-1798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* by external trigger, continuous mode or scan sequence on going. */
-1799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Note: On STM32F1 devices, in case of sequencer enabled */
-1800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* (several ranks selected), end of conversion flag is raised */
-1801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* at the end of the sequence. */
-1802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if(ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
-1803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) )
-1804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Disable ADC end of conversion interrupt on group regular */
-1806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_EOC);
-1807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC state */
-1809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_REG_BUSY);
-1810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_INJ_BUSY))
-1812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_READY);
-1814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-ARM GAS /tmp/ccubaZyq.s page 41
-
-
-1816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Conversion complete callback */
-1818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
-1819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->ConvCpltCallback(hadc);
-1820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #else
-1821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_ConvCpltCallback(hadc);
-1822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
-1823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Clear regular group conversion flag */
-1825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_STRT | ADC_FLAG_EOC);
-1826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* ========== Check End of Conversion flag for injected group ========== */
-1830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if(__HAL_ADC_GET_IT_SOURCE(hadc, ADC_IT_JEOC))
-1831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if(__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_JEOC))
-1833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update state machine on conversion status if not in error state */
-1835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL))
-1836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC state */
-1838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_INJ_EOC);
-1839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Determine whether any further conversion upcoming on group injected */
-1842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* by external trigger, scan sequence on going or by automatic injected */
-1843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* conversion from group regular (same conditions as group regular */
-1844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* interruption disabling above). */
-1845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Note: On STM32F1 devices, in case of sequencer enabled */
-1846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* (several ranks selected), end of conversion flag is raised */
-1847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* at the end of the sequence. */
-1848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if(ADC_IS_SOFTWARE_START_INJECTED(hadc) ||
-1849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) &&
-1850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
-1851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) ) ) )
-1852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Disable ADC end of conversion interrupt on group injected */
-1854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_JEOC);
-1855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC state */
-1857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_INJ_BUSY);
-1858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_REG_BUSY))
-1860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_READY);
-1862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Conversion complete callback */
-1866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
-1867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->InjectedConvCpltCallback(hadc);
-1868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #else
-1869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADCEx_InjectedConvCpltCallback(hadc);
-1870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
-1871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Clear injected group conversion flag */
-ARM GAS /tmp/ccubaZyq.s page 42
-
-
-1873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, (ADC_FLAG_JSTRT | ADC_FLAG_JEOC));
-1874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* ========== Check Analog watchdog flags ========== */
-1878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if(__HAL_ADC_GET_IT_SOURCE(hadc, ADC_IT_AWD))
-1879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if(__HAL_ADC_GET_FLAG(hadc, ADC_FLAG_AWD))
-1881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC state */
-1883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_AWD1);
-1884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Level out of window callback */
-1886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
-1887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->LevelOutOfWindowCallback(hadc);
-1888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #else
-1889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_LevelOutOfWindowCallback(hadc);
-1890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
-1891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Clear the ADC analog watchdog flag */
-1893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_AWD);
-1894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-1900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Conversion complete callback in non blocking mode
-1901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc: ADC handle
-1902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval None
-1903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-1904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __weak void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef* hadc)
-1905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 440 .loc 1 1905 0
- 441 .cfi_startproc
- 442 @ args = 0, pretend = 0, frame = 0
- 443 @ frame_needed = 0, uses_anonymous_args = 0
- 444 @ link register save eliminated.
- 445 .LVL25:
- 446 0000 7047 bx lr
- 447 .cfi_endproc
- 448 .LFE79:
- 450 .section .text.ADC_DMAConvCplt,"ax",%progbits
- 451 .align 1
- 452 .global ADC_DMAConvCplt
- 453 .syntax unified
- 454 .thumb
- 455 .thumb_func
- 456 .fpu softvfp
- 458 ADC_DMAConvCplt:
- 459 .LFB89:
-1906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
-1907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** UNUSED(hadc);
-1908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* NOTE : This function should not be modified. When the callback is needed,
-1909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** function HAL_ADC_ConvCpltCallback must be implemented in the user file.
-1910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-1911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-ARM GAS /tmp/ccubaZyq.s page 43
-
-
-1912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-1914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Conversion DMA half-transfer callback in non blocking mode
-1915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc: ADC handle
-1916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval None
-1917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-1918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __weak void HAL_ADC_ConvHalfCpltCallback(ADC_HandleTypeDef* hadc)
-1919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
-1921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** UNUSED(hadc);
-1922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* NOTE : This function should not be modified. When the callback is needed,
-1923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** function HAL_ADC_ConvHalfCpltCallback must be implemented in the user file.
-1924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-1925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-1928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Analog watchdog callback in non blocking mode.
-1929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc: ADC handle
-1930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval None
-1931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-1932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __weak void HAL_ADC_LevelOutOfWindowCallback(ADC_HandleTypeDef* hadc)
-1933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
-1935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** UNUSED(hadc);
-1936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* NOTE : This function should not be modified. When the callback is needed,
-1937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** function HAL_ADC_LevelOutOfWindowCallback must be implemented in the user file.
-1938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-1939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-1942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief ADC error callback in non blocking mode
-1943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * (ADC conversion with interruption or transfer by DMA)
-1944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc: ADC handle
-1945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval None
-1946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-1947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __weak void HAL_ADC_ErrorCallback(ADC_HandleTypeDef *hadc)
-1948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
-1950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** UNUSED(hadc);
-1951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* NOTE : This function should not be modified. When the callback is needed,
-1952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** function HAL_ADC_ErrorCallback must be implemented in the user file.
-1953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-1954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-1955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-1958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @}
-1959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-1960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /** @defgroup ADC_Exported_Functions_Group3 Peripheral Control functions
-1962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Peripheral Control functions
-1963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** *
-1964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** @verbatim
-1965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ===============================================================================
-1966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ##### Peripheral Control functions #####
-1967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ===============================================================================
-1968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** [..] This section provides functions allowing to:
-ARM GAS /tmp/ccubaZyq.s page 44
-
-
-1969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) Configure channels on regular group
-1970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) Configure the analog watchdog
-1971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** @endverbatim
-1973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @{
-1974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-1975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-1976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-1977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Configures the the selected channel to be linked to the regular
-1978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * group.
-1979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @note In case of usage of internal measurement channels:
-1980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * Vbat/VrefInt/TempSensor.
-1981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * These internal paths can be be disabled using function
-1982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * HAL_ADC_DeInit().
-1983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @note Possibility to update parameters on the fly:
-1984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * This function initializes channel into regular group, following
-1985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * calls to this function can be used to reconfigure some parameters
-1986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * of structure "ADC_ChannelConfTypeDef" on the fly, without reseting
-1987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * the ADC.
-1988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * The setting of these parameters is conditioned to ADC state.
-1989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * For parameters constraints, see comments of structure
-1990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * "ADC_ChannelConfTypeDef".
-1991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc: ADC handle
-1992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param sConfig: Structure of ADC channel for regular group.
-1993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval HAL status
-1994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-1995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_ConfigChannel(ADC_HandleTypeDef* hadc, ADC_ChannelConfTypeDef* sConfig)
-1996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-1997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
-1998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __IO uint32_t wait_loop_index = 0U;
-1999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check the parameters */
-2001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
-2002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_CHANNEL(sConfig->Channel));
-2003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_REGULAR_RANK(sConfig->Rank));
-2004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_SAMPLE_TIME(sConfig->SamplingTime));
-2005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process locked */
-2007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_LOCK(hadc);
-2008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Regular sequence configuration */
-2011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* For Rank 1 to 6 */
-2012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (sConfig->Rank < 7U)
-2013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** MODIFY_REG(hadc->Instance->SQR3 ,
-2015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SQR3_RK(ADC_SQR3_SQ1, sConfig->Rank) ,
-2016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SQR3_RK(sConfig->Channel, sConfig->Rank) );
-2017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* For Rank 7 to 12 */
-2019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else if (sConfig->Rank < 13U)
-2020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** MODIFY_REG(hadc->Instance->SQR2 ,
-2022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SQR2_RK(ADC_SQR2_SQ7, sConfig->Rank) ,
-2023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SQR2_RK(sConfig->Channel, sConfig->Rank) );
-2024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* For Rank 13 to 16 */
-ARM GAS /tmp/ccubaZyq.s page 45
-
-
-2026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else
-2027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** MODIFY_REG(hadc->Instance->SQR1 ,
-2029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SQR1_RK(ADC_SQR1_SQ13, sConfig->Rank) ,
-2030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SQR1_RK(sConfig->Channel, sConfig->Rank) );
-2031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Channel sampling time configuration */
-2035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* For channels 10 to 17 */
-2036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (sConfig->Channel >= ADC_CHANNEL_10)
-2037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** MODIFY_REG(hadc->Instance->SMPR1 ,
-2039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SMPR1(ADC_SMPR1_SMP10, sConfig->Channel) ,
-2040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SMPR1(sConfig->SamplingTime, sConfig->Channel) );
-2041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else /* For channels 0 to 9 */
-2043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** MODIFY_REG(hadc->Instance->SMPR2 ,
-2045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SMPR2(ADC_SMPR2_SMP0, sConfig->Channel) ,
-2046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SMPR2(sConfig->SamplingTime, sConfig->Channel) );
-2047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* If ADC1 Channel_16 or Channel_17 is selected, enable Temperature sensor */
-2050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* and VREFINT measurement path. */
-2051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if ((sConfig->Channel == ADC_CHANNEL_TEMPSENSOR) ||
-2052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (sConfig->Channel == ADC_CHANNEL_VREFINT) )
-2053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* For STM32F1 devices with several ADC: Only ADC1 can access internal */
-2055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* measurement channels (VrefInt/TempSensor). If these channels are */
-2056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* intended to be set on other ADC instances, an error is reported. */
-2057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (hadc->Instance == ADC1)
-2058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (READ_BIT(hadc->Instance->CR2, ADC_CR2_TSVREFE) == RESET)
-2060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->Instance->CR2, ADC_CR2_TSVREFE);
-2062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if ((sConfig->Channel == ADC_CHANNEL_TEMPSENSOR))
-2064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Delay for temperature sensor stabilization time */
-2066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Compute number of CPU cycles to wait for */
-2067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** wait_loop_index = (ADC_TEMPSENSOR_DELAY_US * (SystemCoreClock / 1000000U));
-2068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** while(wait_loop_index != 0U)
-2069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** wait_loop_index--;
-2071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else
-2076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update ADC state machine to error */
-2078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
-2079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** tmp_hal_status = HAL_ERROR;
-2081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-ARM GAS /tmp/ccubaZyq.s page 46
-
-
-2083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process unlocked */
-2085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_UNLOCK(hadc);
-2086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Return function status */
-2088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return tmp_hal_status;
-2089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Configures the analog watchdog.
-2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @note Analog watchdog thresholds can be modified while ADC conversion
-2094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * is on going.
-2095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * In this case, some constraints must be taken into account:
-2096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * the programmed threshold values are effective from the next
-2097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * ADC EOC (end of unitary conversion).
-2098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * Considering that registers write delay may happen due to
-2099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * bus activity, this might cause an uncertainty on the
-2100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * effective timing of the new programmed threshold values.
-2101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc: ADC handle
-2102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param AnalogWDGConfig: Structure of ADC analog watchdog configuration
-2103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval HAL status
-2104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-2105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef HAL_ADC_AnalogWDGConfig(ADC_HandleTypeDef* hadc, ADC_AnalogWDGConfTypeDef* Analog
-2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check the parameters */
-2108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
-2109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_ANALOG_WATCHDOG_MODE(AnalogWDGConfig->WatchdogMode));
-2110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_FUNCTIONAL_STATE(AnalogWDGConfig->ITMode));
-2111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_RANGE(AnalogWDGConfig->HighThreshold));
-2112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_RANGE(AnalogWDGConfig->LowThreshold));
-2113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if((AnalogWDGConfig->WatchdogMode == ADC_ANALOGWATCHDOG_SINGLE_REG) ||
-2115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (AnalogWDGConfig->WatchdogMode == ADC_ANALOGWATCHDOG_SINGLE_INJEC) ||
-2116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (AnalogWDGConfig->WatchdogMode == ADC_ANALOGWATCHDOG_SINGLE_REGINJEC) )
-2117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** assert_param(IS_ADC_CHANNEL(AnalogWDGConfig->Channel));
-2119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process locked */
-2122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_LOCK(hadc);
-2123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Analog watchdog configuration */
-2125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Configure ADC Analog watchdog interrupt */
-2127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if(AnalogWDGConfig->ITMode == ENABLE)
-2128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Enable the ADC Analog watchdog interrupt */
-2130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_ADC_ENABLE_IT(hadc, ADC_IT_AWD);
-2131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else
-2133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Disable the ADC Analog watchdog interrupt */
-2135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_AWD);
-2136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Configuration of analog watchdog: */
-2139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - Set the analog watchdog enable mode: regular and/or injected groups, */
-ARM GAS /tmp/ccubaZyq.s page 47
-
-
-2140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* one or all channels. */
-2141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* - Set the Analog watchdog channel (is not used if watchdog */
-2142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* mode "all channels": ADC_CFGR_AWD1SGL=0). */
-2143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** MODIFY_REG(hadc->Instance->CR1 ,
-2144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR1_AWDSGL |
-2145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR1_JAWDEN |
-2146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR1_AWDEN |
-2147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR1_AWDCH ,
-2148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** AnalogWDGConfig->WatchdogMode |
-2149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** AnalogWDGConfig->Channel );
-2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set the high threshold */
-2152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** WRITE_REG(hadc->Instance->HTR, AnalogWDGConfig->HighThreshold);
-2153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set the low threshold */
-2155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** WRITE_REG(hadc->Instance->LTR, AnalogWDGConfig->LowThreshold);
-2156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process unlocked */
-2158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_UNLOCK(hadc);
-2159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Return function status */
-2161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return HAL_OK;
-2162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-2166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @}
-2167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-2168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /** @defgroup ADC_Exported_Functions_Group4 Peripheral State functions
-2171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Peripheral State functions
-2172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** *
-2173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** @verbatim
-2174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ===============================================================================
-2175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ##### Peripheral State and Errors functions #####
-2176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ===============================================================================
-2177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** [..]
-2178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** This subsection provides functions to get in run-time the status of the
-2179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** peripheral.
-2180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) Check the ADC state
-2181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (+) Check the ADC error code
-2182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** @endverbatim
-2184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @{
-2185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-2186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-2188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief return the ADC state
-2189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc: ADC handle
-2190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval HAL state
-2191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-2192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** uint32_t HAL_ADC_GetState(ADC_HandleTypeDef* hadc)
-2193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Return ADC state */
-2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return hadc->State;
-2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-ARM GAS /tmp/ccubaZyq.s page 48
-
-
-2197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-2199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Return the ADC error code
-2200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc: ADC handle
-2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval ADC Error Code
-2202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-2203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** uint32_t HAL_ADC_GetError(ADC_HandleTypeDef *hadc)
-2204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return hadc->ErrorCode;
-2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @}
-2210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-2211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-2213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @}
-2214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-2215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /** @defgroup ADC_Private_Functions ADC Private Functions
-2217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @{
-2218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-2219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-2221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Enable the selected ADC.
-2222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @note Prerequisite condition to use this function: ADC must be disabled
-2223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * and voltage regulator must be enabled (done into HAL_ADC_Init()).
-2224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc: ADC handle
-2225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval HAL status.
-2226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-2227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef ADC_Enable(ADC_HandleTypeDef* hadc)
-2228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** uint32_t tickstart = 0U;
-2230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __IO uint32_t wait_loop_index = 0U;
-2231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* ADC enable and wait for ADC ready (in case of ADC is disabled or */
-2233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* enabling phase not yet completed: flag ADC ready not yet set). */
-2234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Timeout implemented to not be stuck if ADC cannot be enabled (possible */
-2235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* causes: ADC clock not running, ...). */
-2236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (ADC_IS_ENABLE(hadc) == RESET)
-2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Enable the Peripheral */
-2239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_ADC_ENABLE(hadc);
-2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Delay for ADC stabilization time */
-2242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Compute number of CPU cycles to wait for */
-2243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** wait_loop_index = (ADC_STAB_DELAY_US * (SystemCoreClock / 1000000U));
-2244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** while(wait_loop_index != 0U)
-2245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** wait_loop_index--;
-2247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Get tick count */
-2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** tickstart = HAL_GetTick();
-2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Wait for ADC effectively enabled */
-2253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** while(ADC_IS_ENABLE(hadc) == RESET)
-ARM GAS /tmp/ccubaZyq.s page 49
-
-
-2254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if((HAL_GetTick() - tickstart) > ADC_ENABLE_TIMEOUT)
-2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update ADC state machine to error */
-2258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL);
-2259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC error code to ADC IP internal error */
-2261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_INTERNAL);
-2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Process unlocked */
-2264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_UNLOCK(hadc);
-2265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return HAL_ERROR;
-2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Return HAL status */
-2272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return HAL_OK;
-2273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-2276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief Stop ADC conversion and disable the selected ADC
-2277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @note Prerequisite condition to use this function: ADC conversions must be
-2278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * stopped to disable the ADC.
-2279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hadc: ADC handle
-2280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval HAL status.
-2281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-2282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef ADC_ConversionStop_Disable(ADC_HandleTypeDef* hadc)
-2283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** uint32_t tickstart = 0U;
-2285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Verification if ADC is not already disabled */
-2287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (ADC_IS_ENABLE(hadc) != RESET)
-2288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Disable the ADC peripheral */
-2290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __HAL_ADC_DISABLE(hadc);
-2291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Get tick count */
-2293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** tickstart = HAL_GetTick();
-2294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Wait for ADC effectively disabled */
-2296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** while(ADC_IS_ENABLE(hadc) != RESET)
-2297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if((HAL_GetTick() - tickstart) > ADC_DISABLE_TIMEOUT)
-2299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update ADC state machine to error */
-2301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL);
-2302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC error code to ADC IP internal error */
-2304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_INTERNAL);
-2305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return HAL_ERROR;
-2307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-ARM GAS /tmp/ccubaZyq.s page 50
-
-
-2311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Return HAL status */
-2312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return HAL_OK;
-2313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-2316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief DMA transfer complete callback.
-2317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hdma: pointer to DMA handle.
-2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval None
-2319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-2320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** void ADC_DMAConvCplt(DMA_HandleTypeDef *hdma)
-2321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 460 .loc 1 2321 0
- 461 .cfi_startproc
- 462 @ args = 0, pretend = 0, frame = 0
- 463 @ frame_needed = 0, uses_anonymous_args = 0
- 464 .LVL26:
- 465 .loc 1 2321 0
- 466 0000 08B5 push {r3, lr}
- 467 .LCFI5:
- 468 .cfi_def_cfa_offset 8
- 469 .cfi_offset 3, -8
- 470 .cfi_offset 14, -4
-2322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Retrieve ADC handle corresponding to current DMA handle */
-2323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_HandleTypeDef* hadc = ( ADC_HandleTypeDef* )((DMA_HandleTypeDef* )hdma)->Parent;
- 471 .loc 1 2323 0
- 472 0002 436A ldr r3, [r0, #36]
- 473 .LVL27:
-2324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update state machine on conversion status if not in error state */
-2326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL | HAL_ADC_STATE_ERROR_DMA))
- 474 .loc 1 2326 0
- 475 0004 9A6A ldr r2, [r3, #40]
- 476 0006 12F0500F tst r2, #80
- 477 000a 1ED1 bne .L43
-2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Update ADC state machine */
-2329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_REG_EOC);
- 478 .loc 1 2329 0
- 479 000c 9A6A ldr r2, [r3, #40]
- 480 000e 42F40072 orr r2, r2, #512
- 481 0012 9A62 str r2, [r3, #40]
-2330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Determine whether any further conversion upcoming on group regular */
-2332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* by external trigger, continuous mode or scan sequence on going. */
-2333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Note: On STM32F1 devices, in case of sequencer enabled */
-2334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* (several ranks selected), end of conversion flag is raised */
-2335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* at the end of the sequence. */
-2336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if(ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
- 482 .loc 1 2336 0
- 483 0014 1A68 ldr r2, [r3]
- 484 0016 9268 ldr r2, [r2, #8]
- 485 0018 02F46022 and r2, r2, #917504
- 486 001c B2F5602F cmp r2, #917504
- 487 0020 03D0 beq .L47
- 488 .L44:
-2337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) )
-2338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-ARM GAS /tmp/ccubaZyq.s page 51
-
-
-2339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC state */
-2340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_REG_BUSY);
-2341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_INJ_BUSY))
-2343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_READY);
-2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Conversion complete callback */
-2349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
-2350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->ConvCpltCallback(hadc);
-2351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #else
-2352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_ConvCpltCallback(hadc);
- 489 .loc 1 2352 0
- 490 0022 1846 mov r0, r3
- 491 .LVL28:
- 492 0024 FFF7FEFF bl HAL_ADC_ConvCpltCallback
- 493 .LVL29:
- 494 0028 08BD pop {r3, pc}
- 495 .LVL30:
- 496 .L47:
-2337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) )
- 497 .loc 1 2337 0 discriminator 1
- 498 002a 1A7B ldrb r2, [r3, #12] @ zero_extendqisi2
-2336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) )
- 499 .loc 1 2336 0 discriminator 1
- 500 002c 002A cmp r2, #0
- 501 002e F8D1 bne .L44
-2340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 502 .loc 1 2340 0
- 503 0030 9A6A ldr r2, [r3, #40]
- 504 0032 22F48072 bic r2, r2, #256
- 505 0036 9A62 str r2, [r3, #40]
-2342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 506 .loc 1 2342 0
- 507 0038 9A6A ldr r2, [r3, #40]
- 508 003a 12F4805F tst r2, #4096
- 509 003e F0D1 bne .L44
-2344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 510 .loc 1 2344 0
- 511 0040 9A6A ldr r2, [r3, #40]
- 512 0042 42F00102 orr r2, r2, #1
- 513 0046 9A62 str r2, [r3, #40]
- 514 0048 EBE7 b .L44
- 515 .L43:
-2353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
-2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** else
-2356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
-2357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Call DMA error callback */
-2358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->DMA_Handle->XferErrorCallback(hdma);
- 516 .loc 1 2358 0
- 517 004a 1B6A ldr r3, [r3, #32]
- 518 .LVL31:
- 519 004c 1B6B ldr r3, [r3, #48]
- 520 004e 9847 blx r3
-ARM GAS /tmp/ccubaZyq.s page 52
-
-
- 521 .LVL32:
- 522 0050 08BD pop {r3, pc}
- 523 .cfi_endproc
- 524 .LFE89:
- 526 .section .text.HAL_ADC_ConvHalfCpltCallback,"ax",%progbits
- 527 .align 1
- 528 .weak HAL_ADC_ConvHalfCpltCallback
- 529 .syntax unified
- 530 .thumb
- 531 .thumb_func
- 532 .fpu softvfp
- 534 HAL_ADC_ConvHalfCpltCallback:
- 535 .LFB80:
-1919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
- 536 .loc 1 1919 0
- 537 .cfi_startproc
- 538 @ args = 0, pretend = 0, frame = 0
- 539 @ frame_needed = 0, uses_anonymous_args = 0
- 540 @ link register save eliminated.
- 541 .LVL33:
- 542 0000 7047 bx lr
- 543 .cfi_endproc
- 544 .LFE80:
- 546 .section .text.ADC_DMAHalfConvCplt,"ax",%progbits
- 547 .align 1
- 548 .global ADC_DMAHalfConvCplt
- 549 .syntax unified
- 550 .thumb
- 551 .thumb_func
- 552 .fpu softvfp
- 554 ADC_DMAHalfConvCplt:
- 555 .LFB90:
-2359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-2363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief DMA half transfer complete callback.
-2364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hdma: pointer to DMA handle.
-2365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval None
-2366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-2367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** void ADC_DMAHalfConvCplt(DMA_HandleTypeDef *hdma)
-2368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 556 .loc 1 2368 0
- 557 .cfi_startproc
- 558 @ args = 0, pretend = 0, frame = 0
- 559 @ frame_needed = 0, uses_anonymous_args = 0
- 560 .LVL34:
- 561 .loc 1 2368 0
- 562 0000 08B5 push {r3, lr}
- 563 .LCFI6:
- 564 .cfi_def_cfa_offset 8
- 565 .cfi_offset 3, -8
- 566 .cfi_offset 14, -4
- 567 .LVL35:
-2369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Retrieve ADC handle corresponding to current DMA handle */
-2370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_HandleTypeDef* hadc = ( ADC_HandleTypeDef* )((DMA_HandleTypeDef* )hdma)->Parent;
-2371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-ARM GAS /tmp/ccubaZyq.s page 53
-
-
-2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Half conversion callback */
-2373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
-2374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->ConvHalfCpltCallback(hadc);
-2375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #else
-2376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_ConvHalfCpltCallback(hadc);
- 568 .loc 1 2376 0
- 569 0002 406A ldr r0, [r0, #36]
- 570 .LVL36:
- 571 0004 FFF7FEFF bl HAL_ADC_ConvHalfCpltCallback
- 572 .LVL37:
- 573 0008 08BD pop {r3, pc}
- 574 .cfi_endproc
- 575 .LFE90:
- 577 .section .text.HAL_ADC_LevelOutOfWindowCallback,"ax",%progbits
- 578 .align 1
- 579 .weak HAL_ADC_LevelOutOfWindowCallback
- 580 .syntax unified
- 581 .thumb
- 582 .thumb_func
- 583 .fpu softvfp
- 585 HAL_ADC_LevelOutOfWindowCallback:
- 586 .LFB81:
-1933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
- 587 .loc 1 1933 0
- 588 .cfi_startproc
- 589 @ args = 0, pretend = 0, frame = 0
- 590 @ frame_needed = 0, uses_anonymous_args = 0
- 591 @ link register save eliminated.
- 592 .LVL38:
- 593 0000 7047 bx lr
- 594 .cfi_endproc
- 595 .LFE81:
- 597 .section .text.HAL_ADC_IRQHandler,"ax",%progbits
- 598 .align 1
- 599 .global HAL_ADC_IRQHandler
- 600 .syntax unified
- 601 .thumb
- 602 .thumb_func
- 603 .fpu softvfp
- 605 HAL_ADC_IRQHandler:
- 606 .LFB78:
-1778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check the parameters */
- 607 .loc 1 1778 0
- 608 .cfi_startproc
- 609 @ args = 0, pretend = 0, frame = 0
- 610 @ frame_needed = 0, uses_anonymous_args = 0
- 611 .LVL39:
-1778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check the parameters */
- 612 .loc 1 1778 0
- 613 0000 10B5 push {r4, lr}
- 614 .LCFI7:
- 615 .cfi_def_cfa_offset 8
- 616 .cfi_offset 4, -8
- 617 .cfi_offset 14, -4
- 618 0002 0446 mov r4, r0
-1786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 619 .loc 1 1786 0
-ARM GAS /tmp/ccubaZyq.s page 54
-
-
- 620 0004 0368 ldr r3, [r0]
- 621 0006 5A68 ldr r2, [r3, #4]
- 622 0008 12F0200F tst r2, #32
- 623 000c 18D0 beq .L53
-1788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 624 .loc 1 1788 0
- 625 000e 1A68 ldr r2, [r3]
- 626 0010 12F0020F tst r2, #2
- 627 0014 14D0 beq .L53
-1791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 628 .loc 1 1791 0
- 629 0016 826A ldr r2, [r0, #40]
- 630 0018 12F0100F tst r2, #16
- 631 001c 03D1 bne .L54
-1794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 632 .loc 1 1794 0
- 633 001e 826A ldr r2, [r0, #40]
- 634 0020 42F40072 orr r2, r2, #512
- 635 0024 8262 str r2, [r0, #40]
- 636 .L54:
-1802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) )
- 637 .loc 1 1802 0
- 638 0026 9A68 ldr r2, [r3, #8]
- 639 0028 02F46022 and r2, r2, #917504
- 640 002c B2F5602F cmp r2, #917504
- 641 0030 38D0 beq .L62
- 642 .L55:
-1821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
- 643 .loc 1 1821 0
- 644 0032 2046 mov r0, r4
- 645 .LVL40:
- 646 0034 FFF7FEFF bl HAL_ADC_ConvCpltCallback
- 647 .LVL41:
-1825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 648 .loc 1 1825 0
- 649 0038 2368 ldr r3, [r4]
- 650 003a 6FF01202 mvn r2, #18
- 651 003e 1A60 str r2, [r3]
- 652 .L53:
-1830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 653 .loc 1 1830 0
- 654 0040 2368 ldr r3, [r4]
- 655 0042 5A68 ldr r2, [r3, #4]
- 656 0044 12F0800F tst r2, #128
- 657 0048 22D0 beq .L56
-1832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 658 .loc 1 1832 0
- 659 004a 1A68 ldr r2, [r3]
- 660 004c 12F0040F tst r2, #4
- 661 0050 1ED0 beq .L56
-1835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 662 .loc 1 1835 0
- 663 0052 A26A ldr r2, [r4, #40]
- 664 0054 12F0100F tst r2, #16
- 665 0058 03D1 bne .L57
-1838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 666 .loc 1 1838 0
-ARM GAS /tmp/ccubaZyq.s page 55
-
-
- 667 005a A26A ldr r2, [r4, #40]
- 668 005c 42F40052 orr r2, r2, #8192
- 669 0060 A262 str r2, [r4, #40]
- 670 .L57:
-1848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) &&
- 671 .loc 1 1848 0
- 672 0062 9A68 ldr r2, [r3, #8]
- 673 0064 02F4E042 and r2, r2, #28672
- 674 0068 B2F5E04F cmp r2, #28672
- 675 006c 31D0 beq .L58
-1849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
- 676 .loc 1 1849 0 discriminator 1
- 677 006e 5A68 ldr r2, [r3, #4]
-1848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) &&
- 678 .loc 1 1848 0 discriminator 1
- 679 0070 12F4806F tst r2, #1024
- 680 0074 05D1 bne .L59
-1850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) ) ) )
- 681 .loc 1 1850 0
- 682 0076 9A68 ldr r2, [r3, #8]
- 683 0078 02F46022 and r2, r2, #917504
-1849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
- 684 .loc 1 1849 0
- 685 007c B2F5602F cmp r2, #917504
- 686 0080 24D0 beq .L63
- 687 .L59:
-1869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
- 688 .loc 1 1869 0
- 689 0082 2046 mov r0, r4
- 690 0084 FFF7FEFF bl HAL_ADCEx_InjectedConvCpltCallback
- 691 .LVL42:
-1873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 692 .loc 1 1873 0
- 693 0088 2368 ldr r3, [r4]
- 694 008a 6FF00C02 mvn r2, #12
- 695 008e 1A60 str r2, [r3]
- 696 .L56:
-1878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 697 .loc 1 1878 0
- 698 0090 2368 ldr r3, [r4]
- 699 0092 5A68 ldr r2, [r3, #4]
- 700 0094 12F0400F tst r2, #64
- 701 0098 03D0 beq .L52
-1880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 702 .loc 1 1880 0
- 703 009a 1B68 ldr r3, [r3]
- 704 009c 13F0010F tst r3, #1
- 705 00a0 28D1 bne .L64
- 706 .L52:
- 707 00a2 10BD pop {r4, pc}
- 708 .LVL43:
- 709 .L62:
-1803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 710 .loc 1 1803 0 discriminator 1
- 711 00a4 227B ldrb r2, [r4, #12] @ zero_extendqisi2
-1802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) )
- 712 .loc 1 1802 0 discriminator 1
-ARM GAS /tmp/ccubaZyq.s page 56
-
-
- 713 00a6 002A cmp r2, #0
- 714 00a8 C3D1 bne .L55
-1806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 715 .loc 1 1806 0
- 716 00aa 5A68 ldr r2, [r3, #4]
- 717 00ac 22F02002 bic r2, r2, #32
- 718 00b0 5A60 str r2, [r3, #4]
-1809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 719 .loc 1 1809 0
- 720 00b2 A36A ldr r3, [r4, #40]
- 721 00b4 23F48073 bic r3, r3, #256
- 722 00b8 A362 str r3, [r4, #40]
-1811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 723 .loc 1 1811 0
- 724 00ba A36A ldr r3, [r4, #40]
- 725 00bc 13F4805F tst r3, #4096
- 726 00c0 B7D1 bne .L55
-1813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 727 .loc 1 1813 0
- 728 00c2 A36A ldr r3, [r4, #40]
- 729 00c4 43F00103 orr r3, r3, #1
- 730 00c8 A362 str r3, [r4, #40]
- 731 00ca B2E7 b .L55
- 732 .LVL44:
- 733 .L63:
-1851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 734 .loc 1 1851 0
- 735 00cc 227B ldrb r2, [r4, #12] @ zero_extendqisi2
-1850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (hadc->Init.ContinuousConvMode == DISABLE) ) ) )
- 736 .loc 1 1850 0
- 737 00ce 002A cmp r2, #0
- 738 00d0 D7D1 bne .L59
- 739 .L58:
-1854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 740 .loc 1 1854 0
- 741 00d2 5A68 ldr r2, [r3, #4]
- 742 00d4 22F08002 bic r2, r2, #128
- 743 00d8 5A60 str r2, [r3, #4]
-1857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 744 .loc 1 1857 0
- 745 00da A36A ldr r3, [r4, #40]
- 746 00dc 23F48053 bic r3, r3, #4096
- 747 00e0 A362 str r3, [r4, #40]
-1859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 748 .loc 1 1859 0
- 749 00e2 A36A ldr r3, [r4, #40]
- 750 00e4 13F4807F tst r3, #256
- 751 00e8 CBD1 bne .L59
-1861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 752 .loc 1 1861 0
- 753 00ea A36A ldr r3, [r4, #40]
- 754 00ec 43F00103 orr r3, r3, #1
- 755 00f0 A362 str r3, [r4, #40]
- 756 00f2 C6E7 b .L59
- 757 .L64:
-1883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 758 .loc 1 1883 0
-ARM GAS /tmp/ccubaZyq.s page 57
-
-
- 759 00f4 A36A ldr r3, [r4, #40]
- 760 00f6 43F48033 orr r3, r3, #65536
- 761 00fa A362 str r3, [r4, #40]
-1889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
- 762 .loc 1 1889 0
- 763 00fc 2046 mov r0, r4
- 764 00fe FFF7FEFF bl HAL_ADC_LevelOutOfWindowCallback
- 765 .LVL45:
-1893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 766 .loc 1 1893 0
- 767 0102 2368 ldr r3, [r4]
- 768 0104 6FF00102 mvn r2, #1
- 769 0108 1A60 str r2, [r3]
-1897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 770 .loc 1 1897 0
- 771 010a CAE7 b .L52
- 772 .cfi_endproc
- 773 .LFE78:
- 775 .section .text.HAL_ADC_ErrorCallback,"ax",%progbits
- 776 .align 1
- 777 .weak HAL_ADC_ErrorCallback
- 778 .syntax unified
- 779 .thumb
- 780 .thumb_func
- 781 .fpu softvfp
- 783 HAL_ADC_ErrorCallback:
- 784 .LFB82:
-1948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Prevent unused argument(s) compilation warning */
- 785 .loc 1 1948 0
- 786 .cfi_startproc
- 787 @ args = 0, pretend = 0, frame = 0
- 788 @ frame_needed = 0, uses_anonymous_args = 0
- 789 @ link register save eliminated.
- 790 .LVL46:
- 791 0000 7047 bx lr
- 792 .cfi_endproc
- 793 .LFE82:
- 795 .section .text.ADC_DMAError,"ax",%progbits
- 796 .align 1
- 797 .global ADC_DMAError
- 798 .syntax unified
- 799 .thumb
- 800 .thumb_func
- 801 .fpu softvfp
- 803 ADC_DMAError:
- 804 .LFB91:
-2377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
-2378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-2379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /**
-2381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @brief DMA error callback
-2382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @param hdma: pointer to DMA handle.
-2383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** * @retval None
-2384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** */
-2385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** void ADC_DMAError(DMA_HandleTypeDef *hdma)
-2386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 805 .loc 1 2386 0
-ARM GAS /tmp/ccubaZyq.s page 58
-
-
- 806 .cfi_startproc
- 807 @ args = 0, pretend = 0, frame = 0
- 808 @ frame_needed = 0, uses_anonymous_args = 0
- 809 .LVL47:
- 810 .loc 1 2386 0
- 811 0000 08B5 push {r3, lr}
- 812 .LCFI8:
- 813 .cfi_def_cfa_offset 8
- 814 .cfi_offset 3, -8
- 815 .cfi_offset 14, -4
-2387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Retrieve ADC handle corresponding to current DMA handle */
-2388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_HandleTypeDef* hadc = ( ADC_HandleTypeDef* )((DMA_HandleTypeDef* )hdma)->Parent;
- 816 .loc 1 2388 0
- 817 0002 406A ldr r0, [r0, #36]
- 818 .LVL48:
-2389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC state */
-2391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_DMA);
- 819 .loc 1 2391 0
- 820 0004 836A ldr r3, [r0, #40]
- 821 0006 43F04003 orr r3, r3, #64
- 822 000a 8362 str r3, [r0, #40]
-2392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Set ADC error code to DMA error */
-2394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** SET_BIT(hadc->ErrorCode, HAL_ADC_ERROR_DMA);
- 823 .loc 1 2394 0
- 824 000c C36A ldr r3, [r0, #44]
- 825 000e 43F00403 orr r3, r3, #4
- 826 0012 C362 str r3, [r0, #44]
-2395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-2396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Error callback */
-2397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #if (USE_HAL_ADC_REGISTER_CALLBACKS == 1)
-2398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** hadc->ErrorCallback(hadc);
-2399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #else
-2400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_ErrorCallback(hadc);
- 827 .loc 1 2400 0
- 828 0014 FFF7FEFF bl HAL_ADC_ErrorCallback
- 829 .LVL49:
- 830 0018 08BD pop {r3, pc}
- 831 .cfi_endproc
- 832 .LFE91:
- 834 .section .text.HAL_ADC_ConfigChannel,"ax",%progbits
- 835 .align 1
- 836 .global HAL_ADC_ConfigChannel
- 837 .syntax unified
- 838 .thumb
- 839 .thumb_func
- 840 .fpu softvfp
- 842 HAL_ADC_ConfigChannel:
- 843 .LFB83:
-1996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 844 .loc 1 1996 0
- 845 .cfi_startproc
- 846 @ args = 0, pretend = 0, frame = 8
- 847 @ frame_needed = 0, uses_anonymous_args = 0
- 848 @ link register save eliminated.
- 849 .LVL50:
-ARM GAS /tmp/ccubaZyq.s page 59
-
-
- 850 0000 30B4 push {r4, r5}
- 851 .LCFI9:
- 852 .cfi_def_cfa_offset 8
- 853 .cfi_offset 4, -8
- 854 .cfi_offset 5, -4
- 855 0002 82B0 sub sp, sp, #8
- 856 .LCFI10:
- 857 .cfi_def_cfa_offset 16
- 858 .LVL51:
-1998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 859 .loc 1 1998 0
- 860 0004 0023 movs r3, #0
- 861 0006 0193 str r3, [sp, #4]
-2007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 862 .loc 1 2007 0
- 863 0008 90F82430 ldrb r3, [r0, #36] @ zero_extendqisi2
- 864 000c 012B cmp r3, #1
- 865 000e 00F08B80 beq .L79
- 866 0012 0246 mov r2, r0
-2007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 867 .loc 1 2007 0 is_stmt 0 discriminator 2
- 868 0014 0123 movs r3, #1
- 869 0016 80F82430 strb r3, [r0, #36]
-2012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 870 .loc 1 2012 0 is_stmt 1 discriminator 2
- 871 001a 4B68 ldr r3, [r1, #4]
- 872 001c 062B cmp r3, #6
- 873 001e 29D8 bhi .L70
-2014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SQR3_RK(ADC_SQR3_SQ1, sConfig->Rank) ,
- 874 .loc 1 2014 0
- 875 0020 0568 ldr r5, [r0]
- 876 0022 686B ldr r0, [r5, #52]
- 877 .LVL52:
- 878 0024 03EB8303 add r3, r3, r3, lsl #2
- 879 0028 053B subs r3, r3, #5
- 880 002a 1F24 movs r4, #31
- 881 002c 9C40 lsls r4, r4, r3
- 882 002e 20EA0400 bic r0, r0, r4
- 883 0032 0C68 ldr r4, [r1]
- 884 0034 04FA03F3 lsl r3, r4, r3
- 885 0038 0343 orrs r3, r3, r0
- 886 003a 6B63 str r3, [r5, #52]
- 887 .L71:
-2036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 888 .loc 1 2036 0
- 889 003c 0B68 ldr r3, [r1]
- 890 003e 092B cmp r3, #9
- 891 0040 38D9 bls .L73
-2038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SMPR1(ADC_SMPR1_SMP10, sConfig->Channel) ,
- 892 .loc 1 2038 0
- 893 0042 1568 ldr r5, [r2]
- 894 0044 E868 ldr r0, [r5, #12]
- 895 0046 03EB4303 add r3, r3, r3, lsl #1
- 896 004a 1E3B subs r3, r3, #30
- 897 004c 0724 movs r4, #7
- 898 004e 9C40 lsls r4, r4, r3
- 899 0050 20EA0400 bic r0, r0, r4
-ARM GAS /tmp/ccubaZyq.s page 60
-
-
- 900 0054 8C68 ldr r4, [r1, #8]
- 901 0056 04FA03F3 lsl r3, r4, r3
- 902 005a 0343 orrs r3, r3, r0
- 903 005c EB60 str r3, [r5, #12]
- 904 .L74:
-2051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (sConfig->Channel == ADC_CHANNEL_VREFINT) )
- 905 .loc 1 2051 0
- 906 005e 0B68 ldr r3, [r1]
- 907 0060 103B subs r3, r3, #16
- 908 0062 012B cmp r3, #1
- 909 0064 34D9 bls .L84
-1997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __IO uint32_t wait_loop_index = 0U;
- 910 .loc 1 1997 0
- 911 0066 0020 movs r0, #0
- 912 .LVL53:
- 913 .L75:
-2085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 914 .loc 1 2085 0
- 915 0068 0023 movs r3, #0
- 916 006a 82F82430 strb r3, [r2, #36]
- 917 .LVL54:
- 918 .L69:
-2089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 919 .loc 1 2089 0
- 920 006e 02B0 add sp, sp, #8
- 921 .LCFI11:
- 922 .cfi_remember_state
- 923 .cfi_def_cfa_offset 8
- 924 @ sp needed
- 925 0070 30BC pop {r4, r5}
- 926 .LCFI12:
- 927 .cfi_restore 5
- 928 .cfi_restore 4
- 929 .cfi_def_cfa_offset 0
- 930 0072 7047 bx lr
- 931 .LVL55:
- 932 .L70:
- 933 .LCFI13:
- 934 .cfi_restore_state
-2019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 935 .loc 1 2019 0
- 936 0074 0C2B cmp r3, #12
- 937 0076 0ED8 bhi .L72
-2021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SQR2_RK(ADC_SQR2_SQ7, sConfig->Rank) ,
- 938 .loc 1 2021 0
- 939 0078 0568 ldr r5, [r0]
- 940 007a 286B ldr r0, [r5, #48]
- 941 .LVL56:
- 942 007c 03EB8303 add r3, r3, r3, lsl #2
- 943 0080 233B subs r3, r3, #35
- 944 0082 1F24 movs r4, #31
- 945 0084 9C40 lsls r4, r4, r3
- 946 0086 20EA0400 bic r0, r0, r4
- 947 008a 0C68 ldr r4, [r1]
- 948 008c 04FA03F3 lsl r3, r4, r3
- 949 0090 0343 orrs r3, r3, r0
- 950 0092 2B63 str r3, [r5, #48]
-ARM GAS /tmp/ccubaZyq.s page 61
-
-
- 951 0094 D2E7 b .L71
- 952 .LVL57:
- 953 .L72:
-2028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SQR1_RK(ADC_SQR1_SQ13, sConfig->Rank) ,
- 954 .loc 1 2028 0
- 955 0096 0568 ldr r5, [r0]
- 956 0098 E86A ldr r0, [r5, #44]
- 957 .LVL58:
- 958 009a 03EB8303 add r3, r3, r3, lsl #2
- 959 009e 413B subs r3, r3, #65
- 960 00a0 1F24 movs r4, #31
- 961 00a2 9C40 lsls r4, r4, r3
- 962 00a4 20EA0400 bic r0, r0, r4
- 963 00a8 0C68 ldr r4, [r1]
- 964 00aa 04FA03F3 lsl r3, r4, r3
- 965 00ae 0343 orrs r3, r3, r0
- 966 00b0 EB62 str r3, [r5, #44]
- 967 00b2 C3E7 b .L71
- 968 .L73:
-2044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SMPR2(ADC_SMPR2_SMP0, sConfig->Channel) ,
- 969 .loc 1 2044 0
- 970 00b4 1568 ldr r5, [r2]
- 971 00b6 2869 ldr r0, [r5, #16]
- 972 00b8 03EB4303 add r3, r3, r3, lsl #1
- 973 00bc 0724 movs r4, #7
- 974 00be 9C40 lsls r4, r4, r3
- 975 00c0 20EA0400 bic r0, r0, r4
- 976 00c4 8C68 ldr r4, [r1, #8]
- 977 00c6 04FA03F3 lsl r3, r4, r3
- 978 00ca 0343 orrs r3, r3, r0
- 979 00cc 2B61 str r3, [r5, #16]
- 980 00ce C6E7 b .L74
- 981 .L84:
-2057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 982 .loc 1 2057 0
- 983 00d0 1368 ldr r3, [r2]
- 984 00d2 1648 ldr r0, .L87
- 985 00d4 8342 cmp r3, r0
- 986 00d6 05D0 beq .L85
-2078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 987 .loc 1 2078 0
- 988 00d8 936A ldr r3, [r2, #40]
- 989 00da 43F02003 orr r3, r3, #32
- 990 00de 9362 str r3, [r2, #40]
- 991 .LVL59:
-2080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 992 .loc 1 2080 0
- 993 00e0 0120 movs r0, #1
- 994 00e2 C1E7 b .L75
- 995 .LVL60:
- 996 .L85:
-2059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 997 .loc 1 2059 0
- 998 00e4 9868 ldr r0, [r3, #8]
- 999 00e6 10F4000F tst r0, #8388608
- 1000 00ea 1BD1 bne .L81
-2061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-ARM GAS /tmp/ccubaZyq.s page 62
-
-
- 1001 .loc 1 2061 0
- 1002 00ec 9868 ldr r0, [r3, #8]
- 1003 00ee 40F40000 orr r0, r0, #8388608
- 1004 00f2 9860 str r0, [r3, #8]
-2063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1005 .loc 1 2063 0
- 1006 00f4 0B68 ldr r3, [r1]
- 1007 00f6 102B cmp r3, #16
- 1008 00f8 01D0 beq .L86
-1997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __IO uint32_t wait_loop_index = 0U;
- 1009 .loc 1 1997 0
- 1010 00fa 0020 movs r0, #0
- 1011 00fc B4E7 b .L75
- 1012 .L86:
-2067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** while(wait_loop_index != 0U)
- 1013 .loc 1 2067 0
- 1014 00fe 0C4B ldr r3, .L87+4
- 1015 0100 1B68 ldr r3, [r3]
- 1016 0102 0C49 ldr r1, .L87+8
- 1017 .LVL61:
- 1018 0104 A1FB0313 umull r1, r3, r1, r3
- 1019 0108 9B0C lsrs r3, r3, #18
- 1020 010a 03EB8303 add r3, r3, r3, lsl #2
- 1021 010e 5900 lsls r1, r3, #1
- 1022 0110 0191 str r1, [sp, #4]
-2068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1023 .loc 1 2068 0
- 1024 0112 02E0 b .L77
- 1025 .L78:
-2070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1026 .loc 1 2070 0
- 1027 0114 019B ldr r3, [sp, #4]
- 1028 0116 013B subs r3, r3, #1
- 1029 0118 0193 str r3, [sp, #4]
- 1030 .L77:
-2068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1031 .loc 1 2068 0
- 1032 011a 019B ldr r3, [sp, #4]
- 1033 011c 002B cmp r3, #0
- 1034 011e F9D1 bne .L78
-1997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** __IO uint32_t wait_loop_index = 0U;
- 1035 .loc 1 1997 0
- 1036 0120 0020 movs r0, #0
- 1037 0122 A1E7 b .L75
- 1038 .LVL62:
- 1039 .L81:
- 1040 0124 0020 movs r0, #0
- 1041 0126 9FE7 b .L75
- 1042 .LVL63:
- 1043 .L79:
-2007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1044 .loc 1 2007 0
- 1045 0128 0220 movs r0, #2
- 1046 .LVL64:
- 1047 012a A0E7 b .L69
- 1048 .L88:
- 1049 .align 2
-ARM GAS /tmp/ccubaZyq.s page 63
-
-
- 1050 .L87:
- 1051 012c 00240140 .word 1073816576
- 1052 0130 00000000 .word SystemCoreClock
- 1053 0134 83DE1B43 .word 1125899907
- 1054 .cfi_endproc
- 1055 .LFE83:
- 1057 .section .text.HAL_ADC_AnalogWDGConfig,"ax",%progbits
- 1058 .align 1
- 1059 .global HAL_ADC_AnalogWDGConfig
- 1060 .syntax unified
- 1061 .thumb
- 1062 .thumb_func
- 1063 .fpu softvfp
- 1065 HAL_ADC_AnalogWDGConfig:
- 1066 .LFB84:
-2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check the parameters */
- 1067 .loc 1 2106 0
- 1068 .cfi_startproc
- 1069 @ args = 0, pretend = 0, frame = 0
- 1070 @ frame_needed = 0, uses_anonymous_args = 0
- 1071 @ link register save eliminated.
- 1072 .LVL65:
-2122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1073 .loc 1 2122 0
- 1074 0000 90F82430 ldrb r3, [r0, #36] @ zero_extendqisi2
- 1075 0004 012B cmp r3, #1
- 1076 0006 26D0 beq .L93
-2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Check the parameters */
- 1077 .loc 1 2106 0 discriminator 2
- 1078 0008 30B4 push {r4, r5}
- 1079 .LCFI14:
- 1080 .cfi_def_cfa_offset 8
- 1081 .cfi_offset 4, -8
- 1082 .cfi_offset 5, -4
-2122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1083 .loc 1 2122 0 discriminator 2
- 1084 000a 0123 movs r3, #1
- 1085 000c 80F82430 strb r3, [r0, #36]
-2127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1086 .loc 1 2127 0 discriminator 2
- 1087 0010 0B7A ldrb r3, [r1, #8] @ zero_extendqisi2
- 1088 0012 012B cmp r3, #1
- 1089 0014 19D0 beq .L98
-2135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1090 .loc 1 2135 0
- 1091 0016 0268 ldr r2, [r0]
- 1092 0018 5368 ldr r3, [r2, #4]
- 1093 001a 23F04003 bic r3, r3, #64
- 1094 001e 5360 str r3, [r2, #4]
- 1095 .L92:
-2143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR1_AWDSGL |
- 1096 .loc 1 2143 0
- 1097 0020 0468 ldr r4, [r0]
- 1098 0022 6268 ldr r2, [r4, #4]
- 1099 0024 0D4B ldr r3, .L99
- 1100 0026 1340 ands r3, r3, r2
- 1101 0028 0A68 ldr r2, [r1]
-ARM GAS /tmp/ccubaZyq.s page 64
-
-
- 1102 002a 4D68 ldr r5, [r1, #4]
- 1103 002c 2A43 orrs r2, r2, r5
- 1104 002e 1343 orrs r3, r3, r2
- 1105 0030 6360 str r3, [r4, #4]
-2152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1106 .loc 1 2152 0
- 1107 0032 0368 ldr r3, [r0]
- 1108 0034 CA68 ldr r2, [r1, #12]
- 1109 0036 5A62 str r2, [r3, #36]
-2155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1110 .loc 1 2155 0
- 1111 0038 0368 ldr r3, [r0]
- 1112 003a 0A69 ldr r2, [r1, #16]
- 1113 003c 9A62 str r2, [r3, #40]
-2158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1114 .loc 1 2158 0
- 1115 003e 0023 movs r3, #0
- 1116 0040 80F82430 strb r3, [r0, #36]
-2161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1117 .loc 1 2161 0
- 1118 0044 1846 mov r0, r3
- 1119 .LVL66:
-2162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1120 .loc 1 2162 0
- 1121 0046 30BC pop {r4, r5}
- 1122 .LCFI15:
- 1123 .cfi_remember_state
- 1124 .cfi_restore 5
- 1125 .cfi_restore 4
- 1126 .cfi_def_cfa_offset 0
- 1127 0048 7047 bx lr
- 1128 .LVL67:
- 1129 .L98:
- 1130 .LCFI16:
- 1131 .cfi_restore_state
-2130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1132 .loc 1 2130 0
- 1133 004a 0268 ldr r2, [r0]
- 1134 004c 5368 ldr r3, [r2, #4]
- 1135 004e 43F04003 orr r3, r3, #64
- 1136 0052 5360 str r3, [r2, #4]
- 1137 0054 E4E7 b .L92
- 1138 .L93:
- 1139 .LCFI17:
- 1140 .cfi_def_cfa_offset 0
- 1141 .cfi_restore 4
- 1142 .cfi_restore 5
-2122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1143 .loc 1 2122 0
- 1144 0056 0220 movs r0, #2
- 1145 .LVL68:
- 1146 0058 7047 bx lr
- 1147 .L100:
- 1148 005a 00BF .align 2
- 1149 .L99:
- 1150 005c E0FD3FFF .word -12583456
- 1151 .cfi_endproc
-ARM GAS /tmp/ccubaZyq.s page 65
-
-
- 1152 .LFE84:
- 1154 .section .text.HAL_ADC_GetState,"ax",%progbits
- 1155 .align 1
- 1156 .global HAL_ADC_GetState
- 1157 .syntax unified
- 1158 .thumb
- 1159 .thumb_func
- 1160 .fpu softvfp
- 1162 HAL_ADC_GetState:
- 1163 .LFB85:
-2193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Return ADC state */
- 1164 .loc 1 2193 0
- 1165 .cfi_startproc
- 1166 @ args = 0, pretend = 0, frame = 0
- 1167 @ frame_needed = 0, uses_anonymous_args = 0
- 1168 @ link register save eliminated.
- 1169 .LVL69:
-2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1170 .loc 1 2195 0
- 1171 0000 806A ldr r0, [r0, #40]
- 1172 .LVL70:
-2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1173 .loc 1 2196 0
- 1174 0002 7047 bx lr
- 1175 .cfi_endproc
- 1176 .LFE85:
- 1178 .section .text.HAL_ADC_GetError,"ax",%progbits
- 1179 .align 1
- 1180 .global HAL_ADC_GetError
- 1181 .syntax unified
- 1182 .thumb
- 1183 .thumb_func
- 1184 .fpu softvfp
- 1186 HAL_ADC_GetError:
- 1187 .LFB86:
-2204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** return hadc->ErrorCode;
- 1188 .loc 1 2204 0
- 1189 .cfi_startproc
- 1190 @ args = 0, pretend = 0, frame = 0
- 1191 @ frame_needed = 0, uses_anonymous_args = 0
- 1192 @ link register save eliminated.
- 1193 .LVL71:
-2205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1194 .loc 1 2205 0
- 1195 0000 C06A ldr r0, [r0, #44]
- 1196 .LVL72:
-2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1197 .loc 1 2206 0
- 1198 0002 7047 bx lr
- 1199 .cfi_endproc
- 1200 .LFE86:
- 1202 .section .text.ADC_Enable,"ax",%progbits
- 1203 .align 1
- 1204 .global ADC_Enable
- 1205 .syntax unified
- 1206 .thumb
- 1207 .thumb_func
-ARM GAS /tmp/ccubaZyq.s page 66
-
-
- 1208 .fpu softvfp
- 1210 ADC_Enable:
- 1211 .LFB87:
-2228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** uint32_t tickstart = 0U;
- 1212 .loc 1 2228 0
- 1213 .cfi_startproc
- 1214 @ args = 0, pretend = 0, frame = 8
- 1215 @ frame_needed = 0, uses_anonymous_args = 0
- 1216 .LVL73:
- 1217 0000 30B5 push {r4, r5, lr}
- 1218 .LCFI18:
- 1219 .cfi_def_cfa_offset 12
- 1220 .cfi_offset 4, -12
- 1221 .cfi_offset 5, -8
- 1222 .cfi_offset 14, -4
- 1223 0002 83B0 sub sp, sp, #12
- 1224 .LCFI19:
- 1225 .cfi_def_cfa_offset 24
- 1226 .LVL74:
-2230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1227 .loc 1 2230 0
- 1228 0004 0023 movs r3, #0
- 1229 0006 0193 str r3, [sp, #4]
-2236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1230 .loc 1 2236 0
- 1231 0008 0368 ldr r3, [r0]
- 1232 000a 9A68 ldr r2, [r3, #8]
- 1233 000c 12F0010F tst r2, #1
- 1234 0010 2ED1 bne .L109
-2239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1235 .loc 1 2239 0
- 1236 0012 9A68 ldr r2, [r3, #8]
- 1237 0014 42F00102 orr r2, r2, #1
- 1238 0018 9A60 str r2, [r3, #8]
-2243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** while(wait_loop_index != 0U)
- 1239 .loc 1 2243 0
- 1240 001a 174B ldr r3, .L112
- 1241 001c 1B68 ldr r3, [r3]
- 1242 001e 174A ldr r2, .L112+4
- 1243 0020 A2FB0323 umull r2, r3, r2, r3
- 1244 0024 9B0C lsrs r3, r3, #18
- 1245 0026 0193 str r3, [sp, #4]
-2244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1246 .loc 1 2244 0
- 1247 0028 02E0 b .L105
- 1248 .L106:
-2246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1249 .loc 1 2246 0
- 1250 002a 019B ldr r3, [sp, #4]
- 1251 002c 013B subs r3, r3, #1
- 1252 002e 0193 str r3, [sp, #4]
- 1253 .L105:
-2244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1254 .loc 1 2244 0
- 1255 0030 019B ldr r3, [sp, #4]
- 1256 0032 002B cmp r3, #0
- 1257 0034 F9D1 bne .L106
-ARM GAS /tmp/ccubaZyq.s page 67
-
-
- 1258 0036 0446 mov r4, r0
-2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1259 .loc 1 2250 0
- 1260 0038 FFF7FEFF bl HAL_GetTick
- 1261 .LVL75:
- 1262 003c 0546 mov r5, r0
- 1263 .LVL76:
- 1264 .L107:
-2253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1265 .loc 1 2253 0
- 1266 003e 2368 ldr r3, [r4]
- 1267 0040 9B68 ldr r3, [r3, #8]
- 1268 0042 13F0010F tst r3, #1
- 1269 0046 11D1 bne .L111
-2255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1270 .loc 1 2255 0
- 1271 0048 FFF7FEFF bl HAL_GetTick
- 1272 .LVL77:
- 1273 004c 401B subs r0, r0, r5
- 1274 004e 0228 cmp r0, #2
- 1275 0050 F5D9 bls .L107
-2258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1276 .loc 1 2258 0
- 1277 0052 A36A ldr r3, [r4, #40]
- 1278 0054 43F01003 orr r3, r3, #16
- 1279 0058 A362 str r3, [r4, #40]
-2261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1280 .loc 1 2261 0
- 1281 005a E36A ldr r3, [r4, #44]
- 1282 005c 43F00103 orr r3, r3, #1
- 1283 0060 E362 str r3, [r4, #44]
-2264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1284 .loc 1 2264 0
- 1285 0062 0023 movs r3, #0
- 1286 0064 84F82430 strb r3, [r4, #36]
-2266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1287 .loc 1 2266 0
- 1288 0068 0120 movs r0, #1
- 1289 006a 02E0 b .L104
- 1290 .L111:
-2272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1291 .loc 1 2272 0
- 1292 006c 0020 movs r0, #0
- 1293 006e 00E0 b .L104
- 1294 .LVL78:
- 1295 .L109:
- 1296 0070 0020 movs r0, #0
- 1297 .LVL79:
- 1298 .L104:
-2273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1299 .loc 1 2273 0
- 1300 0072 03B0 add sp, sp, #12
- 1301 .LCFI20:
- 1302 .cfi_def_cfa_offset 12
- 1303 @ sp needed
- 1304 0074 30BD pop {r4, r5, pc}
- 1305 .L113:
-ARM GAS /tmp/ccubaZyq.s page 68
-
-
- 1306 0076 00BF .align 2
- 1307 .L112:
- 1308 0078 00000000 .word SystemCoreClock
- 1309 007c 83DE1B43 .word 1125899907
- 1310 .cfi_endproc
- 1311 .LFE87:
- 1313 .section .text.HAL_ADC_Start,"ax",%progbits
- 1314 .align 1
- 1315 .global HAL_ADC_Start
- 1316 .syntax unified
- 1317 .thumb
- 1318 .thumb_func
- 1319 .fpu softvfp
- 1321 HAL_ADC_Start:
- 1322 .LFB69:
-1047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 1323 .loc 1 1047 0
- 1324 .cfi_startproc
- 1325 @ args = 0, pretend = 0, frame = 0
- 1326 @ frame_needed = 0, uses_anonymous_args = 0
- 1327 .LVL80:
-1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1328 .loc 1 1054 0
- 1329 0000 90F82430 ldrb r3, [r0, #36] @ zero_extendqisi2
- 1330 0004 012B cmp r3, #1
- 1331 0006 02D1 bne .L129
- 1332 0008 0223 movs r3, #2
-1148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1333 .loc 1 1148 0
- 1334 000a 1846 mov r0, r3
- 1335 .LVL81:
- 1336 000c 7047 bx lr
- 1337 .LVL82:
- 1338 .L129:
-1047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 1339 .loc 1 1047 0 discriminator 2
- 1340 000e 10B5 push {r4, lr}
- 1341 .LCFI21:
- 1342 .cfi_def_cfa_offset 8
- 1343 .cfi_offset 4, -8
- 1344 .cfi_offset 14, -4
- 1345 0010 0446 mov r4, r0
-1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1346 .loc 1 1054 0 discriminator 2
- 1347 0012 0123 movs r3, #1
- 1348 0014 80F82430 strb r3, [r0, #36]
-1057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1349 .loc 1 1057 0 discriminator 2
- 1350 0018 FFF7FEFF bl ADC_Enable
- 1351 .LVL83:
-1060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1352 .loc 1 1060 0 discriminator 2
- 1353 001c 0346 mov r3, r0
- 1354 001e 0028 cmp r0, #0
- 1355 0020 5BD1 bne .L116
-1065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC,
- 1356 .loc 1 1065 0
-ARM GAS /tmp/ccubaZyq.s page 69
-
-
- 1357 0022 A26A ldr r2, [r4, #40]
- 1358 0024 22F44072 bic r2, r2, #768
- 1359 0028 22F00102 bic r2, r2, #1
- 1360 002c 42F48072 orr r2, r2, #256
- 1361 0030 A262 str r2, [r4, #40]
-1072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1362 .loc 1 1072 0
- 1363 0032 2268 ldr r2, [r4]
- 1364 0034 2B49 ldr r1, .L133
- 1365 0036 8A42 cmp r2, r1
- 1366 0038 27D0 beq .L130
- 1367 .L117:
-1075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1368 .loc 1 1075 0
- 1369 003a A16A ldr r1, [r4, #40]
- 1370 003c 21F48011 bic r1, r1, #1048576
- 1371 0040 A162 str r1, [r4, #40]
-1079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1372 .loc 1 1079 0
- 1373 0042 5168 ldr r1, [r2, #4]
- 1374 0044 11F4806F tst r1, #1024
- 1375 0048 05D0 beq .L119
-1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1376 .loc 1 1081 0
- 1377 004a A16A ldr r1, [r4, #40]
- 1378 004c 21F44051 bic r1, r1, #12288
- 1379 0050 41F48051 orr r1, r1, #4096
- 1380 0054 A162 str r1, [r4, #40]
- 1381 .L119:
-1098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1382 .loc 1 1098 0
- 1383 0056 A16A ldr r1, [r4, #40]
- 1384 0058 11F4805F tst r1, #4096
- 1385 005c 2BD0 beq .L120
-1101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1386 .loc 1 1101 0
- 1387 005e E16A ldr r1, [r4, #44]
- 1388 0060 21F00601 bic r1, r1, #6
- 1389 0064 E162 str r1, [r4, #44]
- 1390 .L121:
-1112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1391 .loc 1 1112 0
- 1392 0066 0021 movs r1, #0
- 1393 0068 84F82410 strb r1, [r4, #36]
-1116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1394 .loc 1 1116 0
- 1395 006c 6FF00201 mvn r1, #2
- 1396 0070 1160 str r1, [r2]
-1128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_NONMULTIMODE_OR_MULTIMODEMASTER(hadc) )
- 1397 .loc 1 1128 0
- 1398 0072 2268 ldr r2, [r4]
- 1399 0074 9168 ldr r1, [r2, #8]
- 1400 0076 01F46021 and r1, r1, #917504
- 1401 007a B1F5602F cmp r1, #917504
- 1402 007e 1DD0 beq .L131
- 1403 .L122:
-1137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-ARM GAS /tmp/ccubaZyq.s page 70
-
-
- 1404 .loc 1 1137 0
- 1405 0080 9168 ldr r1, [r2, #8]
- 1406 0082 41F48011 orr r1, r1, #1048576
- 1407 0086 9160 str r1, [r2, #8]
- 1408 0088 2AE0 b .L115
- 1409 .L130:
-1072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1410 .loc 1 1072 0 discriminator 1
- 1411 008a A1F58061 sub r1, r1, #1024
- 1412 008e 4968 ldr r1, [r1, #4]
- 1413 0090 11F4702F tst r1, #983040
- 1414 0094 D1D0 beq .L117
-1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1415 .loc 1 1087 0
- 1416 0096 A16A ldr r1, [r4, #40]
- 1417 0098 41F48011 orr r1, r1, #1048576
- 1418 009c A162 str r1, [r4, #40]
-1091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1419 .loc 1 1091 0
- 1420 009e 1249 ldr r1, .L133+4
- 1421 00a0 4968 ldr r1, [r1, #4]
- 1422 00a2 11F4806F tst r1, #1024
- 1423 00a6 D6D0 beq .L119
-1093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1424 .loc 1 1093 0
- 1425 00a8 A16A ldr r1, [r4, #40]
- 1426 00aa 21F44051 bic r1, r1, #12288
- 1427 00ae 41F48051 orr r1, r1, #4096
- 1428 00b2 A162 str r1, [r4, #40]
- 1429 00b4 CFE7 b .L119
- 1430 .L120:
-1106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1431 .loc 1 1106 0
- 1432 00b6 0021 movs r1, #0
- 1433 00b8 E162 str r1, [r4, #44]
- 1434 00ba D4E7 b .L121
- 1435 .L131:
-1128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_NONMULTIMODE_OR_MULTIMODEMASTER(hadc) )
- 1436 .loc 1 1128 0 discriminator 1
- 1437 00bc 0949 ldr r1, .L133
- 1438 00be 8A42 cmp r2, r1
- 1439 00c0 04D0 beq .L132
- 1440 .L123:
-1132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1441 .loc 1 1132 0
- 1442 00c2 9168 ldr r1, [r2, #8]
- 1443 00c4 41F4A001 orr r1, r1, #5242880
- 1444 00c8 9160 str r1, [r2, #8]
- 1445 00ca 09E0 b .L115
- 1446 .L132:
-1129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1447 .loc 1 1129 0 discriminator 2
- 1448 00cc A1F58061 sub r1, r1, #1024
- 1449 00d0 4968 ldr r1, [r1, #4]
-1128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_NONMULTIMODE_OR_MULTIMODEMASTER(hadc) )
- 1450 .loc 1 1128 0 discriminator 2
- 1451 00d2 11F4702F tst r1, #983040
-ARM GAS /tmp/ccubaZyq.s page 71
-
-
- 1452 00d6 D3D1 bne .L122
- 1453 00d8 F3E7 b .L123
- 1454 .L116:
-1143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1455 .loc 1 1143 0
- 1456 00da 0022 movs r2, #0
- 1457 00dc 84F82420 strb r2, [r4, #36]
- 1458 .L115:
-1148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1459 .loc 1 1148 0
- 1460 00e0 1846 mov r0, r3
- 1461 .LVL84:
- 1462 00e2 10BD pop {r4, pc}
- 1463 .LVL85:
- 1464 .L134:
- 1465 .align 2
- 1466 .L133:
- 1467 00e4 00280140 .word 1073817600
- 1468 00e8 00240140 .word 1073816576
- 1469 .cfi_endproc
- 1470 .LFE69:
- 1472 .section .text.HAL_ADC_Start_IT,"ax",%progbits
- 1473 .align 1
- 1474 .global HAL_ADC_Start_IT
- 1475 .syntax unified
- 1476 .thumb
- 1477 .thumb_func
- 1478 .fpu softvfp
- 1480 HAL_ADC_Start_IT:
- 1481 .LFB73:
-1384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 1482 .loc 1 1384 0
- 1483 .cfi_startproc
- 1484 @ args = 0, pretend = 0, frame = 0
- 1485 @ frame_needed = 0, uses_anonymous_args = 0
- 1486 .LVL86:
-1391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1487 .loc 1 1391 0
- 1488 0000 90F82430 ldrb r3, [r0, #36] @ zero_extendqisi2
- 1489 0004 012B cmp r3, #1
- 1490 0006 02D1 bne .L150
- 1491 0008 0223 movs r3, #2
-1485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1492 .loc 1 1485 0
- 1493 000a 1846 mov r0, r3
- 1494 .LVL87:
- 1495 000c 7047 bx lr
- 1496 .LVL88:
- 1497 .L150:
-1384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 1498 .loc 1 1384 0 discriminator 2
- 1499 000e 10B5 push {r4, lr}
- 1500 .LCFI22:
- 1501 .cfi_def_cfa_offset 8
- 1502 .cfi_offset 4, -8
- 1503 .cfi_offset 14, -4
- 1504 0010 0446 mov r4, r0
-ARM GAS /tmp/ccubaZyq.s page 72
-
-
-1391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1505 .loc 1 1391 0 discriminator 2
- 1506 0012 0123 movs r3, #1
- 1507 0014 80F82430 strb r3, [r0, #36]
-1394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1508 .loc 1 1394 0 discriminator 2
- 1509 0018 FFF7FEFF bl ADC_Enable
- 1510 .LVL89:
-1397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1511 .loc 1 1397 0 discriminator 2
- 1512 001c 0346 mov r3, r0
- 1513 001e 0028 cmp r0, #0
- 1514 0020 60D1 bne .L137
-1402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC | HAL_ADC_STATE_REG_OVR | HAL_ADC
- 1515 .loc 1 1402 0
- 1516 0022 A26A ldr r2, [r4, #40]
- 1517 0024 22F47062 bic r2, r2, #3840
- 1518 0028 22F00102 bic r2, r2, #1
- 1519 002c 42F48072 orr r2, r2, #256
- 1520 0030 A262 str r2, [r4, #40]
-1409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1521 .loc 1 1409 0
- 1522 0032 2268 ldr r2, [r4]
- 1523 0034 2E49 ldr r1, .L154
- 1524 0036 8A42 cmp r2, r1
- 1525 0038 2CD0 beq .L151
- 1526 .L138:
-1412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1527 .loc 1 1412 0
- 1528 003a A16A ldr r1, [r4, #40]
- 1529 003c 21F48011 bic r1, r1, #1048576
- 1530 0040 A162 str r1, [r4, #40]
-1416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1531 .loc 1 1416 0
- 1532 0042 5168 ldr r1, [r2, #4]
- 1533 0044 11F4806F tst r1, #1024
- 1534 0048 05D0 beq .L140
-1418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1535 .loc 1 1418 0
- 1536 004a A16A ldr r1, [r4, #40]
- 1537 004c 21F44051 bic r1, r1, #12288
- 1538 0050 41F48051 orr r1, r1, #4096
- 1539 0054 A162 str r1, [r4, #40]
- 1540 .L140:
-1435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1541 .loc 1 1435 0
- 1542 0056 A16A ldr r1, [r4, #40]
- 1543 0058 11F4805F tst r1, #4096
- 1544 005c 30D0 beq .L141
-1438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1545 .loc 1 1438 0
- 1546 005e E16A ldr r1, [r4, #44]
- 1547 0060 21F00601 bic r1, r1, #6
- 1548 0064 E162 str r1, [r4, #44]
- 1549 .L142:
-1449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1550 .loc 1 1449 0
-ARM GAS /tmp/ccubaZyq.s page 73
-
-
- 1551 0066 0021 movs r1, #0
- 1552 0068 84F82410 strb r1, [r4, #36]
-1453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1553 .loc 1 1453 0
- 1554 006c 6FF00201 mvn r1, #2
- 1555 0070 1160 str r1, [r2]
-1456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1556 .loc 1 1456 0
- 1557 0072 2168 ldr r1, [r4]
- 1558 0074 4A68 ldr r2, [r1, #4]
- 1559 0076 42F02002 orr r2, r2, #32
- 1560 007a 4A60 str r2, [r1, #4]
-1465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_NONMULTIMODE_OR_MULTIMODEMASTER(hadc) )
- 1561 .loc 1 1465 0
- 1562 007c 2268 ldr r2, [r4]
- 1563 007e 9168 ldr r1, [r2, #8]
- 1564 0080 01F46021 and r1, r1, #917504
- 1565 0084 B1F5602F cmp r1, #917504
- 1566 0088 1DD0 beq .L152
- 1567 .L143:
-1474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1568 .loc 1 1474 0
- 1569 008a 9168 ldr r1, [r2, #8]
- 1570 008c 41F48011 orr r1, r1, #1048576
- 1571 0090 9160 str r1, [r2, #8]
- 1572 0092 2AE0 b .L136
- 1573 .L151:
-1409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1574 .loc 1 1409 0 discriminator 1
- 1575 0094 A1F58061 sub r1, r1, #1024
- 1576 0098 4968 ldr r1, [r1, #4]
- 1577 009a 11F4702F tst r1, #983040
- 1578 009e CCD0 beq .L138
-1424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1579 .loc 1 1424 0
- 1580 00a0 A16A ldr r1, [r4, #40]
- 1581 00a2 41F48011 orr r1, r1, #1048576
- 1582 00a6 A162 str r1, [r4, #40]
-1428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1583 .loc 1 1428 0
- 1584 00a8 1249 ldr r1, .L154+4
- 1585 00aa 4968 ldr r1, [r1, #4]
- 1586 00ac 11F4806F tst r1, #1024
- 1587 00b0 D1D0 beq .L140
-1430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1588 .loc 1 1430 0
- 1589 00b2 A16A ldr r1, [r4, #40]
- 1590 00b4 21F44051 bic r1, r1, #12288
- 1591 00b8 41F48051 orr r1, r1, #4096
- 1592 00bc A162 str r1, [r4, #40]
- 1593 00be CAE7 b .L140
- 1594 .L141:
-1443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1595 .loc 1 1443 0
- 1596 00c0 0021 movs r1, #0
- 1597 00c2 E162 str r1, [r4, #44]
- 1598 00c4 CFE7 b .L142
-ARM GAS /tmp/ccubaZyq.s page 74
-
-
- 1599 .L152:
-1465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_NONMULTIMODE_OR_MULTIMODEMASTER(hadc) )
- 1600 .loc 1 1465 0 discriminator 1
- 1601 00c6 0A49 ldr r1, .L154
- 1602 00c8 8A42 cmp r2, r1
- 1603 00ca 04D0 beq .L153
- 1604 .L144:
-1469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1605 .loc 1 1469 0
- 1606 00cc 9168 ldr r1, [r2, #8]
- 1607 00ce 41F4A001 orr r1, r1, #5242880
- 1608 00d2 9160 str r1, [r2, #8]
- 1609 00d4 09E0 b .L136
- 1610 .L153:
-1466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1611 .loc 1 1466 0 discriminator 2
- 1612 00d6 A1F58061 sub r1, r1, #1024
- 1613 00da 4968 ldr r1, [r1, #4]
-1465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_NONMULTIMODE_OR_MULTIMODEMASTER(hadc) )
- 1614 .loc 1 1465 0 discriminator 2
- 1615 00dc 11F4702F tst r1, #983040
- 1616 00e0 D3D1 bne .L143
- 1617 00e2 F3E7 b .L144
- 1618 .L137:
-1480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1619 .loc 1 1480 0
- 1620 00e4 0022 movs r2, #0
- 1621 00e6 84F82420 strb r2, [r4, #36]
- 1622 .L136:
-1485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1623 .loc 1 1485 0
- 1624 00ea 1846 mov r0, r3
- 1625 .LVL90:
- 1626 00ec 10BD pop {r4, pc}
- 1627 .LVL91:
- 1628 .L155:
- 1629 00ee 00BF .align 2
- 1630 .L154:
- 1631 00f0 00280140 .word 1073817600
- 1632 00f4 00240140 .word 1073816576
- 1633 .cfi_endproc
- 1634 .LFE73:
- 1636 .section .text.HAL_ADC_Start_DMA,"ax",%progbits
- 1637 .align 1
- 1638 .global HAL_ADC_Start_DMA
- 1639 .syntax unified
- 1640 .thumb
- 1641 .thumb_func
- 1642 .fpu softvfp
- 1644 HAL_ADC_Start_DMA:
- 1645 .LFB75:
-1552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 1646 .loc 1 1552 0
- 1647 .cfi_startproc
- 1648 @ args = 0, pretend = 0, frame = 0
- 1649 @ frame_needed = 0, uses_anonymous_args = 0
- 1650 .LVL92:
-ARM GAS /tmp/ccubaZyq.s page 75
-
-
- 1651 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
- 1652 .LCFI23:
- 1653 .cfi_def_cfa_offset 24
- 1654 .cfi_offset 3, -24
- 1655 .cfi_offset 4, -20
- 1656 .cfi_offset 5, -16
- 1657 .cfi_offset 6, -12
- 1658 .cfi_offset 7, -8
- 1659 .cfi_offset 14, -4
- 1660 .LVL93:
-1561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1661 .loc 1 1561 0
- 1662 0002 0468 ldr r4, [r0]
- 1663 0004 454D ldr r5, .L173
- 1664 0006 AC42 cmp r4, r5
- 1665 0008 0AD0 beq .L157
-1561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1666 .loc 1 1561 0 is_stmt 0 discriminator 1
- 1667 000a 05F58065 add r5, r5, #1024
- 1668 000e AC42 cmp r4, r5
- 1669 0010 06D0 beq .L157
- 1670 .L158:
-1564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1671 .loc 1 1564 0 is_stmt 1
- 1672 0012 90F82440 ldrb r4, [r0, #36] @ zero_extendqisi2
- 1673 0016 012C cmp r4, #1
- 1674 0018 09D1 bne .L170
- 1675 001a 0225 movs r5, #2
- 1676 .LVL94:
- 1677 .L159:
-1676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1678 .loc 1 1676 0
- 1679 001c 2846 mov r0, r5
- 1680 001e F8BD pop {r3, r4, r5, r6, r7, pc}
- 1681 .LVL95:
- 1682 .L157:
-1561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1683 .loc 1 1561 0 discriminator 3
- 1684 0020 3E4B ldr r3, .L173
- 1685 0022 5B68 ldr r3, [r3, #4]
- 1686 0024 13F4702F tst r3, #983040
- 1687 0028 F3D0 beq .L158
-1671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1688 .loc 1 1671 0
- 1689 002a 0125 movs r5, #1
- 1690 002c F6E7 b .L159
- 1691 .L170:
- 1692 002e 1746 mov r7, r2
- 1693 0030 0E46 mov r6, r1
- 1694 0032 0446 mov r4, r0
-1564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1695 .loc 1 1564 0 discriminator 2
- 1696 0034 0123 movs r3, #1
- 1697 0036 80F82430 strb r3, [r0, #36]
-1567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1698 .loc 1 1567 0 discriminator 2
- 1699 003a FFF7FEFF bl ADC_Enable
-ARM GAS /tmp/ccubaZyq.s page 76
-
-
- 1700 .LVL96:
-1570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1701 .loc 1 1570 0 discriminator 2
- 1702 003e 0546 mov r5, r0
- 1703 0040 0028 cmp r0, #0
- 1704 0042 67D1 bne .L160
-1575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC | HAL_ADC_STATE_REG_OVR | HAL_A
- 1705 .loc 1 1575 0
- 1706 0044 A36A ldr r3, [r4, #40]
- 1707 0046 23F47063 bic r3, r3, #3840
- 1708 004a 23F00103 bic r3, r3, #1
- 1709 004e 43F48073 orr r3, r3, #256
- 1710 0052 A362 str r3, [r4, #40]
-1582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1711 .loc 1 1582 0
- 1712 0054 2268 ldr r2, [r4]
- 1713 0056 324B ldr r3, .L173+4
- 1714 0058 9A42 cmp r2, r3
- 1715 005a 3DD0 beq .L171
- 1716 .L161:
-1585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1717 .loc 1 1585 0
- 1718 005c A36A ldr r3, [r4, #40]
- 1719 005e 23F48013 bic r3, r3, #1048576
- 1720 0062 A362 str r3, [r4, #40]
-1589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1721 .loc 1 1589 0
- 1722 0064 5368 ldr r3, [r2, #4]
- 1723 0066 13F4806F tst r3, #1024
- 1724 006a 05D0 beq .L163
-1591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1725 .loc 1 1591 0
- 1726 006c A36A ldr r3, [r4, #40]
- 1727 006e 23F44053 bic r3, r3, #12288
- 1728 0072 43F48053 orr r3, r3, #4096
- 1729 0076 A362 str r3, [r4, #40]
- 1730 .L163:
-1608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1731 .loc 1 1608 0
- 1732 0078 A36A ldr r3, [r4, #40]
- 1733 007a 13F4805F tst r3, #4096
- 1734 007e 41D0 beq .L164
-1611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1735 .loc 1 1611 0
- 1736 0080 E36A ldr r3, [r4, #44]
- 1737 0082 23F00603 bic r3, r3, #6
- 1738 0086 E362 str r3, [r4, #44]
- 1739 .L165:
-1622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1740 .loc 1 1622 0
- 1741 0088 0023 movs r3, #0
- 1742 008a 84F82430 strb r3, [r4, #36]
-1625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1743 .loc 1 1625 0
- 1744 008e 236A ldr r3, [r4, #32]
- 1745 0090 244A ldr r2, .L173+8
- 1746 0092 9A62 str r2, [r3, #40]
-ARM GAS /tmp/ccubaZyq.s page 77
-
-
-1628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1747 .loc 1 1628 0
- 1748 0094 236A ldr r3, [r4, #32]
- 1749 0096 244A ldr r2, .L173+12
- 1750 0098 DA62 str r2, [r3, #44]
-1631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1751 .loc 1 1631 0
- 1752 009a 236A ldr r3, [r4, #32]
- 1753 009c 234A ldr r2, .L173+16
- 1754 009e 1A63 str r2, [r3, #48]
-1640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1755 .loc 1 1640 0
- 1756 00a0 2368 ldr r3, [r4]
- 1757 00a2 6FF00202 mvn r2, #2
- 1758 00a6 1A60 str r2, [r3]
-1643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1759 .loc 1 1643 0
- 1760 00a8 2268 ldr r2, [r4]
- 1761 00aa 9368 ldr r3, [r2, #8]
- 1762 00ac 43F48073 orr r3, r3, #256
- 1763 00b0 9360 str r3, [r2, #8]
-1646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1764 .loc 1 1646 0
- 1765 00b2 2168 ldr r1, [r4]
- 1766 00b4 3B46 mov r3, r7
- 1767 00b6 3246 mov r2, r6
- 1768 00b8 4C31 adds r1, r1, #76
- 1769 00ba 206A ldr r0, [r4, #32]
- 1770 .LVL97:
- 1771 00bc FFF7FEFF bl HAL_DMA_Start_IT
- 1772 .LVL98:
-1652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1773 .loc 1 1652 0
- 1774 00c0 2268 ldr r2, [r4]
- 1775 00c2 9368 ldr r3, [r2, #8]
- 1776 00c4 03F46023 and r3, r3, #917504
- 1777 00c8 B3F5602F cmp r3, #917504
- 1778 00cc 1DD0 beq .L172
-1660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1779 .loc 1 1660 0
- 1780 00ce 9368 ldr r3, [r2, #8]
- 1781 00d0 43F48013 orr r3, r3, #1048576
- 1782 00d4 9360 str r3, [r2, #8]
- 1783 00d6 A1E7 b .L159
- 1784 .LVL99:
- 1785 .L171:
-1582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1786 .loc 1 1582 0 discriminator 1
- 1787 00d8 A3F58063 sub r3, r3, #1024
- 1788 00dc 5B68 ldr r3, [r3, #4]
- 1789 00de 13F4702F tst r3, #983040
- 1790 00e2 BBD0 beq .L161
-1597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1791 .loc 1 1597 0
- 1792 00e4 A36A ldr r3, [r4, #40]
- 1793 00e6 43F48013 orr r3, r3, #1048576
- 1794 00ea A362 str r3, [r4, #40]
-ARM GAS /tmp/ccubaZyq.s page 78
-
-
-1601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1795 .loc 1 1601 0
- 1796 00ec 0B4B ldr r3, .L173
- 1797 00ee 5B68 ldr r3, [r3, #4]
- 1798 00f0 13F4806F tst r3, #1024
- 1799 00f4 C0D0 beq .L163
-1603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1800 .loc 1 1603 0
- 1801 00f6 A36A ldr r3, [r4, #40]
- 1802 00f8 23F44053 bic r3, r3, #12288
- 1803 00fc 43F48053 orr r3, r3, #4096
- 1804 0100 A362 str r3, [r4, #40]
- 1805 0102 B9E7 b .L163
- 1806 .L164:
-1616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1807 .loc 1 1616 0
- 1808 0104 0023 movs r3, #0
- 1809 0106 E362 str r3, [r4, #44]
- 1810 0108 BEE7 b .L165
- 1811 .LVL100:
- 1812 .L172:
-1655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1813 .loc 1 1655 0
- 1814 010a 9368 ldr r3, [r2, #8]
- 1815 010c 43F4A003 orr r3, r3, #5242880
- 1816 0110 9360 str r3, [r2, #8]
- 1817 0112 83E7 b .L159
- 1818 .LVL101:
- 1819 .L160:
-1666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1820 .loc 1 1666 0
- 1821 0114 0023 movs r3, #0
- 1822 0116 84F82430 strb r3, [r4, #36]
- 1823 011a 7FE7 b .L159
- 1824 .L174:
- 1825 .align 2
- 1826 .L173:
- 1827 011c 00240140 .word 1073816576
- 1828 0120 00280140 .word 1073817600
- 1829 0124 00000000 .word ADC_DMAConvCplt
- 1830 0128 00000000 .word ADC_DMAHalfConvCplt
- 1831 012c 00000000 .word ADC_DMAError
- 1832 .cfi_endproc
- 1833 .LFE75:
- 1835 .section .text.ADC_ConversionStop_Disable,"ax",%progbits
- 1836 .align 1
- 1837 .global ADC_ConversionStop_Disable
- 1838 .syntax unified
- 1839 .thumb
- 1840 .thumb_func
- 1841 .fpu softvfp
- 1843 ADC_ConversionStop_Disable:
- 1844 .LFB88:
-2283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** uint32_t tickstart = 0U;
- 1845 .loc 1 2283 0
- 1846 .cfi_startproc
- 1847 @ args = 0, pretend = 0, frame = 0
-ARM GAS /tmp/ccubaZyq.s page 79
-
-
- 1848 @ frame_needed = 0, uses_anonymous_args = 0
- 1849 .LVL102:
- 1850 0000 38B5 push {r3, r4, r5, lr}
- 1851 .LCFI24:
- 1852 .cfi_def_cfa_offset 16
- 1853 .cfi_offset 3, -16
- 1854 .cfi_offset 4, -12
- 1855 .cfi_offset 5, -8
- 1856 .cfi_offset 14, -4
- 1857 .LVL103:
-2287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1858 .loc 1 2287 0
- 1859 0002 0368 ldr r3, [r0]
- 1860 0004 9A68 ldr r2, [r3, #8]
- 1861 0006 12F0010F tst r2, #1
- 1862 000a 01D1 bne .L181
-2312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1863 .loc 1 2312 0
- 1864 000c 0020 movs r0, #0
- 1865 .LVL104:
-2313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1866 .loc 1 2313 0
- 1867 000e 38BD pop {r3, r4, r5, pc}
- 1868 .LVL105:
- 1869 .L181:
- 1870 0010 0446 mov r4, r0
-2290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1871 .loc 1 2290 0
- 1872 0012 9A68 ldr r2, [r3, #8]
- 1873 0014 22F00102 bic r2, r2, #1
- 1874 0018 9A60 str r2, [r3, #8]
-2293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1875 .loc 1 2293 0
- 1876 001a FFF7FEFF bl HAL_GetTick
- 1877 .LVL106:
- 1878 001e 0546 mov r5, r0
- 1879 .LVL107:
- 1880 .L177:
-2296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1881 .loc 1 2296 0
- 1882 0020 2368 ldr r3, [r4]
- 1883 0022 9B68 ldr r3, [r3, #8]
- 1884 0024 13F0010F tst r3, #1
- 1885 0028 0ED0 beq .L182
-2298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1886 .loc 1 2298 0
- 1887 002a FFF7FEFF bl HAL_GetTick
- 1888 .LVL108:
- 1889 002e 401B subs r0, r0, r5
- 1890 0030 0228 cmp r0, #2
- 1891 0032 F5D9 bls .L177
-2301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1892 .loc 1 2301 0
- 1893 0034 A36A ldr r3, [r4, #40]
- 1894 0036 43F01003 orr r3, r3, #16
- 1895 003a A362 str r3, [r4, #40]
-2304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-ARM GAS /tmp/ccubaZyq.s page 80
-
-
- 1896 .loc 1 2304 0
- 1897 003c E36A ldr r3, [r4, #44]
- 1898 003e 43F00103 orr r3, r3, #1
- 1899 0042 E362 str r3, [r4, #44]
-2306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1900 .loc 1 2306 0
- 1901 0044 0120 movs r0, #1
- 1902 0046 38BD pop {r3, r4, r5, pc}
- 1903 .LVL109:
- 1904 .L182:
-2312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 1905 .loc 1 2312 0
- 1906 0048 0020 movs r0, #0
- 1907 004a 38BD pop {r3, r4, r5, pc}
- 1908 .cfi_endproc
- 1909 .LFE88:
- 1911 .section .text.HAL_ADC_Init,"ax",%progbits
- 1912 .align 1
- 1913 .global HAL_ADC_Init
- 1914 .syntax unified
- 1915 .thumb
- 1916 .thumb_func
- 1917 .fpu softvfp
- 1919 HAL_ADC_Init:
- 1920 .LFB65:
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 1921 .loc 1 422 0
- 1922 .cfi_startproc
- 1923 @ args = 0, pretend = 0, frame = 0
- 1924 @ frame_needed = 0, uses_anonymous_args = 0
- 1925 .LVL110:
- 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1926 .loc 1 429 0
- 1927 0000 0028 cmp r0, #0
- 1928 0002 00F08A80 beq .L195
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 1929 .loc 1 422 0
- 1930 0006 70B5 push {r4, r5, r6, lr}
- 1931 .LCFI25:
- 1932 .cfi_def_cfa_offset 16
- 1933 .cfi_offset 4, -16
- 1934 .cfi_offset 5, -12
- 1935 .cfi_offset 6, -8
- 1936 .cfi_offset 14, -4
- 1937 0008 0446 mov r4, r0
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1938 .loc 1 458 0
- 1939 000a 836A ldr r3, [r0, #40]
- 1940 000c 002B cmp r3, #0
- 1941 000e 4DD0 beq .L202
- 1942 .LVL111:
- 1943 .L185:
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1944 .loc 1 492 0
- 1945 0010 2046 mov r0, r4
- 1946 0012 FFF7FEFF bl ADC_ConversionStop_Disable
- 1947 .LVL112:
-ARM GAS /tmp/ccubaZyq.s page 81
-
-
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (tmp_hal_status == HAL_OK) )
- 1948 .loc 1 497 0
- 1949 0016 A36A ldr r3, [r4, #40]
- 1950 0018 13F01003 ands r3, r3, #16
- 1951 001c 77D1 bne .L186
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** (tmp_hal_status == HAL_OK) )
- 1952 .loc 1 497 0 is_stmt 0 discriminator 1
- 1953 001e 0028 cmp r0, #0
- 1954 0020 75D1 bne .L186
- 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
- 1955 .loc 1 501 0 is_stmt 1
- 1956 0022 A26A ldr r2, [r4, #40]
- 1957 0024 22F48852 bic r2, r2, #4352
- 1958 0028 22F00202 bic r2, r2, #2
- 1959 002c 42F00202 orr r2, r2, #2
- 1960 0030 A262 str r2, [r4, #40]
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CFGR_EXTSEL(hadc, hadc->Init.ExternalTrigConv) |
- 1961 .loc 1 517 0
- 1962 0032 6568 ldr r5, [r4, #4]
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR2_CONTINUOUS((uint32_t)hadc->Init.ContinuousConvMode) );
- 1963 .loc 1 518 0
- 1964 0034 2168 ldr r1, [r4]
- 1965 0036 3A4A ldr r2, .L207
- 1966 0038 9142 cmp r1, r2
- 1967 003a 3DD0 beq .L203
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR2_CONTINUOUS((uint32_t)hadc->Init.ContinuousConvMode) );
- 1968 .loc 1 518 0 is_stmt 0 discriminator 2
- 1969 003c E269 ldr r2, [r4, #28]
- 1970 .L188:
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CFGR_EXTSEL(hadc, hadc->Init.ExternalTrigConv) |
- 1971 .loc 1 517 0 is_stmt 1
- 1972 003e 2A43 orrs r2, r2, r5
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1973 .loc 1 519 0
- 1974 0040 267B ldrb r6, [r4, #12] @ zero_extendqisi2
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR2_CONTINUOUS((uint32_t)hadc->Init.ContinuousConvMode) );
- 1975 .loc 1 518 0
- 1976 0042 42EA4602 orr r2, r2, r6, lsl #1
- 1977 .LVL113:
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1978 .loc 1 525 0
- 1979 0046 A568 ldr r5, [r4, #8]
- 1980 0048 B5F5807F cmp r5, #256
- 1981 004c 3ED0 beq .L196
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 1982 .loc 1 525 0 is_stmt 0 discriminator 2
- 1983 004e 012D cmp r5, #1
- 1984 0050 39D0 beq .L204
- 1985 .L189:
- 1986 .LVL114:
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 1987 .loc 1 530 0 is_stmt 1 discriminator 6
- 1988 0052 257D ldrb r5, [r4, #20] @ zero_extendqisi2
- 1989 0054 012D cmp r5, #1
- 1990 0056 3CD0 beq .L205
- 1991 .L190:
- 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR1_SCAN |
-ARM GAS /tmp/ccubaZyq.s page 82
-
-
- 1992 .loc 1 553 0
- 1993 0058 4D68 ldr r5, [r1, #4]
- 1994 005a 25F46945 bic r5, r5, #59648
- 1995 005e 2B43 orrs r3, r3, r5
- 1996 .LVL115:
- 1997 0060 4B60 str r3, [r1, #4]
- 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR2_ALIGN |
- 1998 .loc 1 560 0
- 1999 0062 2168 ldr r1, [r4]
- 2000 0064 8D68 ldr r5, [r1, #8]
- 2001 0066 2F4B ldr r3, .L207+4
- 2002 0068 2B40 ands r3, r3, r5
- 2003 006a 1343 orrs r3, r3, r2
- 2004 006c 8B60 str r3, [r1, #8]
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 2005 .loc 1 576 0
- 2006 006e A368 ldr r3, [r4, #8]
- 2007 0070 B3F5807F cmp r3, #256
- 2008 0074 3ED0 beq .L192
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 2009 .loc 1 576 0 is_stmt 0 discriminator 1
- 2010 0076 012B cmp r3, #1
- 2011 0078 3CD0 beq .L192
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2012 .loc 1 426 0 is_stmt 1
- 2013 007a 0023 movs r3, #0
- 2014 .LVL116:
- 2015 .L193:
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SQR1_L ,
- 2016 .loc 1 581 0
- 2017 007c 2568 ldr r5, [r4]
- 2018 007e E96A ldr r1, [r5, #44]
- 2019 0080 21F47001 bic r1, r1, #15728640
- 2020 0084 0B43 orrs r3, r3, r1
- 2021 .LVL117:
- 2022 0086 EB62 str r3, [r5, #44]
- 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR2_SWSTART | ADC_CR2_JSWSTART |
- 2023 .loc 1 591 0
- 2024 0088 2368 ldr r3, [r4]
- 2025 008a 9968 ldr r1, [r3, #8]
- 2026 008c 264B ldr r3, .L207+8
- 2027 008e 0B40 ands r3, r3, r1
- 2028 0090 9A42 cmp r2, r3
- 2029 0092 33D0 beq .L206
- 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_BUSY_INTERNAL,
- 2030 .loc 1 608 0
- 2031 0094 A36A ldr r3, [r4, #40]
- 2032 0096 23F01203 bic r3, r3, #18
- 2033 009a 43F01003 orr r3, r3, #16
- 2034 009e A362 str r3, [r4, #40]
- 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2035 .loc 1 613 0
- 2036 00a0 E36A ldr r3, [r4, #44]
- 2037 00a2 43F00103 orr r3, r3, #1
- 2038 00a6 E362 str r3, [r4, #44]
- 2039 .LVL118:
- 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-ARM GAS /tmp/ccubaZyq.s page 83
-
-
- 2040 .loc 1 615 0
- 2041 00a8 0120 movs r0, #1
- 2042 00aa 70BD pop {r4, r5, r6, pc}
- 2043 .LVL119:
- 2044 .L202:
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2045 .loc 1 461 0
- 2046 00ac C362 str r3, [r0, #44]
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2047 .loc 1 464 0
- 2048 00ae 80F82430 strb r3, [r0, #36]
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
- 2049 .loc 1 483 0
- 2050 00b2 FFF7FEFF bl HAL_ADC_MspInit
- 2051 .LVL120:
- 2052 00b6 ABE7 b .L185
- 2053 .LVL121:
- 2054 .L203:
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR2_CONTINUOUS((uint32_t)hadc->Init.ContinuousConvMode) );
- 2055 .loc 1 518 0 discriminator 1
- 2056 00b8 E269 ldr r2, [r4, #28]
- 2057 00ba B2F5402F cmp r2, #786432
- 2058 00be BED1 bne .L188
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR2_CONTINUOUS((uint32_t)hadc->Init.ContinuousConvMode) );
- 2059 .loc 1 518 0 is_stmt 0
- 2060 00c0 4FF40022 mov r2, #524288
- 2061 00c4 BBE7 b .L188
- 2062 .LVL122:
- 2063 .L204:
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2064 .loc 1 525 0 is_stmt 1
- 2065 00c6 4FF48073 mov r3, #256
- 2066 00ca C2E7 b .L189
- 2067 .L196:
- 2068 00cc 4FF48073 mov r3, #256
- 2069 00d0 BFE7 b .L189
- 2070 .LVL123:
- 2071 .L205:
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 2072 .loc 1 532 0
- 2073 00d2 36B9 cbnz r6, .L191
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR1_DISCONTINUOUS_NUM(hadc->Init.NbrOfDiscConversion) );
- 2074 .loc 1 536 0
- 2075 00d4 A569 ldr r5, [r4, #24]
- 2076 00d6 013D subs r5, r5, #1
- 2077 00d8 43EA4533 orr r3, r3, r5, lsl #13
- 2078 .LVL124:
- 2079 00dc 43F40063 orr r3, r3, #2048
- 2080 .LVL125:
- 2081 00e0 BAE7 b .L190
- 2082 .L191:
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2083 .loc 1 545 0
- 2084 00e2 A56A ldr r5, [r4, #40]
- 2085 00e4 45F02005 orr r5, r5, #32
- 2086 00e8 A562 str r5, [r4, #40]
- 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
-ARM GAS /tmp/ccubaZyq.s page 84
-
-
- 2087 .loc 1 548 0
- 2088 00ea E56A ldr r5, [r4, #44]
- 2089 00ec 45F00105 orr r5, r5, #1
- 2090 00f0 E562 str r5, [r4, #44]
- 2091 00f2 B1E7 b .L190
- 2092 .LVL126:
- 2093 .L192:
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 2094 .loc 1 578 0
- 2095 00f4 2369 ldr r3, [r4, #16]
- 2096 00f6 013B subs r3, r3, #1
- 2097 00f8 1B05 lsls r3, r3, #20
- 2098 .LVL127:
- 2099 00fa BFE7 b .L193
- 2100 .LVL128:
- 2101 .L206:
- 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2102 .loc 1 598 0
- 2103 00fc 0023 movs r3, #0
- 2104 00fe E362 str r3, [r4, #44]
- 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_BUSY_INTERNAL,
- 2105 .loc 1 601 0
- 2106 0100 A36A ldr r3, [r4, #40]
- 2107 0102 23F00303 bic r3, r3, #3
- 2108 0106 43F00103 orr r3, r3, #1
- 2109 010a A362 str r3, [r4, #40]
- 2110 010c 70BD pop {r4, r5, r6, pc}
- 2111 .LVL129:
- 2112 .L186:
- 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2113 .loc 1 622 0
- 2114 010e A36A ldr r3, [r4, #40]
- 2115 0110 43F01003 orr r3, r3, #16
- 2116 0114 A362 str r3, [r4, #40]
- 2117 .LVL130:
- 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 2118 .loc 1 624 0
- 2119 0116 0120 movs r0, #1
- 2120 0118 70BD pop {r4, r5, r6, pc}
- 2121 .LVL131:
- 2122 .L195:
- 2123 .LCFI26:
- 2124 .cfi_def_cfa_offset 0
- 2125 .cfi_restore 4
- 2126 .cfi_restore 5
- 2127 .cfi_restore 6
- 2128 .cfi_restore 14
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 2129 .loc 1 431 0
- 2130 011a 0120 movs r0, #1
- 2131 .LVL132:
- 2132 011c 7047 bx lr
- 2133 .L208:
- 2134 011e 00BF .align 2
- 2135 .L207:
- 2136 0120 003C0140 .word 1073822720
- 2137 0124 FDF7E1FF .word -1968131
-ARM GAS /tmp/ccubaZyq.s page 85
-
-
- 2138 0128 FE0E1FFF .word -14741762
- 2139 .cfi_endproc
- 2140 .LFE65:
- 2142 .section .text.HAL_ADC_DeInit,"ax",%progbits
- 2143 .align 1
- 2144 .global HAL_ADC_DeInit
- 2145 .syntax unified
- 2146 .thumb
- 2147 .thumb_func
- 2148 .fpu softvfp
- 2150 HAL_ADC_DeInit:
- 2151 .LFB66:
- 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 2152 .loc 1 640 0
- 2153 .cfi_startproc
- 2154 @ args = 0, pretend = 0, frame = 0
- 2155 @ frame_needed = 0, uses_anonymous_args = 0
- 2156 .LVL133:
- 2157 0000 38B5 push {r3, r4, r5, lr}
- 2158 .LCFI27:
- 2159 .cfi_def_cfa_offset 16
- 2160 .cfi_offset 3, -16
- 2161 .cfi_offset 4, -12
- 2162 .cfi_offset 5, -8
- 2163 .cfi_offset 14, -4
- 2164 .LVL134:
- 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 2165 .loc 1 644 0
- 2166 0002 0028 cmp r0, #0
- 2167 0004 74D0 beq .L212
- 2168 0006 0446 mov r4, r0
- 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2169 .loc 1 653 0
- 2170 0008 836A ldr r3, [r0, #40]
- 2171 000a 43F00203 orr r3, r3, #2
- 2172 000e 8362 str r3, [r0, #40]
- 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2173 .loc 1 657 0
- 2174 0010 FFF7FEFF bl ADC_ConversionStop_Disable
- 2175 .LVL135:
- 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 2176 .loc 1 662 0
- 2177 0014 0546 mov r5, r0
- 2178 0016 20B1 cbz r0, .L214
- 2179 .LVL136:
- 2180 .L211:
- 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2181 .loc 1 776 0
- 2182 0018 0023 movs r3, #0
- 2183 001a 84F82430 strb r3, [r4, #36]
- 2184 .LVL137:
- 2185 .L210:
- 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2186 .loc 1 780 0
- 2187 001e 2846 mov r0, r5
- 2188 0020 38BD pop {r3, r4, r5, pc}
- 2189 .LVL138:
-ARM GAS /tmp/ccubaZyq.s page 86
-
-
- 2190 .L214:
- 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_FLAG_JSTRT | ADC_FLAG_STRT));
- 2191 .loc 1 670 0
- 2192 0022 2368 ldr r3, [r4]
- 2193 0024 6FF01F02 mvn r2, #31
- 2194 0028 1A60 str r2, [r3]
- 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR1_JDISCEN | ADC_CR1_DISCEN | ADC_CR1_JAUTO |
- 2195 .loc 1 674 0
- 2196 002a 2268 ldr r2, [r4]
- 2197 002c 5168 ldr r1, [r2, #4]
- 2198 002e 314B ldr r3, .L215
- 2199 0030 0B40 ands r3, r3, r1
- 2200 0032 5360 str r3, [r2, #4]
- 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_CR2_EXTTRIG | ADC_CR2_EXTSEL | ADC_CR2_JEXTTRIG |
- 2201 .loc 1 680 0
- 2202 0034 2268 ldr r2, [r4]
- 2203 0036 9168 ldr r1, [r2, #8]
- 2204 0038 2F4B ldr r3, .L215+4
- 2205 003a 0B40 ands r3, r3, r1
- 2206 003c 9360 str r3, [r2, #8]
- 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SMPR1_SMP14 | ADC_SMPR1_SMP13 | ADC_SMPR1_SMP12 |
- 2207 .loc 1 687 0
- 2208 003e 2268 ldr r2, [r4]
- 2209 0040 D368 ldr r3, [r2, #12]
- 2210 0042 03F07F43 and r3, r3, #-16777216
- 2211 0046 D360 str r3, [r2, #12]
- 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SMPR2_SMP6 | ADC_SMPR2_SMP5 | ADC_SMPR2_SMP4 |
- 2212 .loc 1 692 0
- 2213 0048 2268 ldr r2, [r4]
- 2214 004a 1369 ldr r3, [r2, #16]
- 2215 004c 03F04043 and r3, r3, #-1073741824
- 2216 0050 1361 str r3, [r2, #16]
- 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset register JOFR2 */
- 2217 .loc 1 698 0
- 2218 0052 2268 ldr r2, [r4]
- 2219 0054 5369 ldr r3, [r2, #20]
- 2220 0056 23F47F63 bic r3, r3, #4080
- 2221 005a 23F00F03 bic r3, r3, #15
- 2222 005e 5361 str r3, [r2, #20]
- 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset register JOFR3 */
- 2223 .loc 1 700 0
- 2224 0060 2268 ldr r2, [r4]
- 2225 0062 9369 ldr r3, [r2, #24]
- 2226 0064 23F47F63 bic r3, r3, #4080
- 2227 0068 23F00F03 bic r3, r3, #15
- 2228 006c 9361 str r3, [r2, #24]
- 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset register JOFR4 */
- 2229 .loc 1 702 0
- 2230 006e 2268 ldr r2, [r4]
- 2231 0070 D369 ldr r3, [r2, #28]
- 2232 0072 23F47F63 bic r3, r3, #4080
- 2233 0076 23F00F03 bic r3, r3, #15
- 2234 007a D361 str r3, [r2, #28]
- 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2235 .loc 1 704 0
- 2236 007c 2268 ldr r2, [r4]
- 2237 007e 136A ldr r3, [r2, #32]
-ARM GAS /tmp/ccubaZyq.s page 87
-
-
- 2238 0080 23F47F63 bic r3, r3, #4080
- 2239 0084 23F00F03 bic r3, r3, #15
- 2240 0088 1362 str r3, [r2, #32]
- 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** /* Reset register LTR */
- 2241 .loc 1 707 0
- 2242 008a 2268 ldr r2, [r4]
- 2243 008c 536A ldr r3, [r2, #36]
- 2244 008e 23F47F63 bic r3, r3, #4080
- 2245 0092 23F00F03 bic r3, r3, #15
- 2246 0096 5362 str r3, [r2, #36]
- 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2247 .loc 1 709 0
- 2248 0098 2268 ldr r2, [r4]
- 2249 009a 936A ldr r3, [r2, #40]
- 2250 009c 23F47F63 bic r3, r3, #4080
- 2251 00a0 23F00F03 bic r3, r3, #15
- 2252 00a4 9362 str r3, [r2, #40]
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SQR1_SQ16 | ADC_SQR1_SQ15 |
- 2253 .loc 1 712 0
- 2254 00a6 2268 ldr r2, [r4]
- 2255 00a8 D36A ldr r3, [r2, #44]
- 2256 00aa 03F07F43 and r3, r3, #-16777216
- 2257 00ae D362 str r3, [r2, #44]
- 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SQR1_SQ16 | ADC_SQR1_SQ15 |
- 2258 .loc 1 717 0
- 2259 00b0 2268 ldr r2, [r4]
- 2260 00b2 D36A ldr r3, [r2, #44]
- 2261 00b4 03F07F43 and r3, r3, #-16777216
- 2262 00b8 D362 str r3, [r2, #44]
- 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SQR2_SQ9 | ADC_SQR2_SQ8 | ADC_SQR2_SQ7 );
- 2263 .loc 1 722 0
- 2264 00ba 2268 ldr r2, [r4]
- 2265 00bc 136B ldr r3, [r2, #48]
- 2266 00be 03F04043 and r3, r3, #-1073741824
- 2267 00c2 1363 str r3, [r2, #48]
- 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_SQR3_SQ3 | ADC_SQR3_SQ2 | ADC_SQR3_SQ1 );
- 2268 .loc 1 726 0
- 2269 00c4 2268 ldr r2, [r4]
- 2270 00c6 536B ldr r3, [r2, #52]
- 2271 00c8 03F04043 and r3, r3, #-1073741824
- 2272 00cc 5363 str r3, [r2, #52]
- 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_JSQR_JSQ4 | ADC_JSQR_JSQ3 |
- 2273 .loc 1 730 0
- 2274 00ce 2268 ldr r2, [r4]
- 2275 00d0 936B ldr r3, [r2, #56]
- 2276 00d2 9B0D lsrs r3, r3, #22
- 2277 00d4 9B05 lsls r3, r3, #22
- 2278 00d6 9363 str r3, [r2, #56]
- 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** ADC_JSQR_JSQ4 | ADC_JSQR_JSQ3 |
- 2279 .loc 1 735 0
- 2280 00d8 2268 ldr r2, [r4]
- 2281 00da 936B ldr r3, [r2, #56]
- 2282 00dc 9B0D lsrs r3, r3, #22
- 2283 00de 9B05 lsls r3, r3, #22
- 2284 00e0 9363 str r3, [r2, #56]
- 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** #endif /* USE_HAL_ADC_REGISTER_CALLBACKS */
- 2285 .loc 1 764 0
-ARM GAS /tmp/ccubaZyq.s page 88
-
-
- 2286 00e2 2046 mov r0, r4
- 2287 .LVL139:
- 2288 00e4 FFF7FEFF bl HAL_ADC_MspDeInit
- 2289 .LVL140:
- 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2290 .loc 1 768 0
- 2291 00e8 0023 movs r3, #0
- 2292 00ea E362 str r3, [r4, #44]
- 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2293 .loc 1 771 0
- 2294 00ec A362 str r3, [r4, #40]
- 2295 00ee 93E7 b .L211
- 2296 .LVL141:
- 2297 .L212:
- 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 2298 .loc 1 646 0
- 2299 00f0 0125 movs r5, #1
- 2300 00f2 94E7 b .L210
- 2301 .L216:
- 2302 .align 2
- 2303 .L215:
- 2304 00f4 00003FFF .word -12648448
- 2305 00f8 F00601FF .word -16709904
- 2306 .cfi_endproc
- 2307 .LFE66:
- 2309 .section .text.HAL_ADC_Stop,"ax",%progbits
- 2310 .align 1
- 2311 .global HAL_ADC_Stop
- 2312 .syntax unified
- 2313 .thumb
- 2314 .thumb_func
- 2315 .fpu softvfp
- 2317 HAL_ADC_Stop:
- 2318 .LFB70:
-1160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 2319 .loc 1 1160 0
- 2320 .cfi_startproc
- 2321 @ args = 0, pretend = 0, frame = 0
- 2322 @ frame_needed = 0, uses_anonymous_args = 0
- 2323 .LVL142:
-1167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2324 .loc 1 1167 0
- 2325 0000 90F82430 ldrb r3, [r0, #36] @ zero_extendqisi2
- 2326 0004 012B cmp r3, #1
- 2327 0006 02D1 bne .L225
- 2328 0008 0223 movs r3, #2
-1187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2329 .loc 1 1187 0
- 2330 000a 1846 mov r0, r3
- 2331 .LVL143:
- 2332 000c 7047 bx lr
- 2333 .LVL144:
- 2334 .L225:
-1160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 2335 .loc 1 1160 0 discriminator 2
- 2336 000e 10B5 push {r4, lr}
- 2337 .LCFI28:
-ARM GAS /tmp/ccubaZyq.s page 89
-
-
- 2338 .cfi_def_cfa_offset 8
- 2339 .cfi_offset 4, -8
- 2340 .cfi_offset 14, -4
- 2341 0010 0446 mov r4, r0
-1167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2342 .loc 1 1167 0 discriminator 2
- 2343 0012 0123 movs r3, #1
- 2344 0014 80F82430 strb r3, [r0, #36]
-1171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2345 .loc 1 1171 0 discriminator 2
- 2346 0018 FFF7FEFF bl ADC_ConversionStop_Disable
- 2347 .LVL145:
-1174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 2348 .loc 1 1174 0 discriminator 2
- 2349 001c 0346 mov r3, r0
- 2350 001e 38B9 cbnz r0, .L219
-1177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
- 2351 .loc 1 1177 0
- 2352 0020 A26A ldr r2, [r4, #40]
- 2353 0022 22F48852 bic r2, r2, #4352
- 2354 0026 22F00102 bic r2, r2, #1
- 2355 002a 42F00102 orr r2, r2, #1
- 2356 002e A262 str r2, [r4, #40]
- 2357 .L219:
-1183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2358 .loc 1 1183 0
- 2359 0030 0022 movs r2, #0
- 2360 0032 84F82420 strb r2, [r4, #36]
-1187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2361 .loc 1 1187 0
- 2362 0036 1846 mov r0, r3
- 2363 .LVL146:
- 2364 0038 10BD pop {r4, pc}
- 2365 .cfi_endproc
- 2366 .LFE70:
- 2368 .section .text.HAL_ADC_Stop_IT,"ax",%progbits
- 2369 .align 1
- 2370 .global HAL_ADC_Stop_IT
- 2371 .syntax unified
- 2372 .thumb
- 2373 .thumb_func
- 2374 .fpu softvfp
- 2376 HAL_ADC_Stop_IT:
- 2377 .LFB74:
-1495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 2378 .loc 1 1495 0
- 2379 .cfi_startproc
- 2380 @ args = 0, pretend = 0, frame = 0
- 2381 @ frame_needed = 0, uses_anonymous_args = 0
- 2382 .LVL147:
-1502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2383 .loc 1 1502 0
- 2384 0000 90F82430 ldrb r3, [r0, #36] @ zero_extendqisi2
- 2385 0004 012B cmp r3, #1
- 2386 0006 02D1 bne .L234
- 2387 0008 0223 movs r3, #2
-1525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
-ARM GAS /tmp/ccubaZyq.s page 90
-
-
- 2388 .loc 1 1525 0
- 2389 000a 1846 mov r0, r3
- 2390 .LVL148:
- 2391 000c 7047 bx lr
- 2392 .LVL149:
- 2393 .L234:
-1495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 2394 .loc 1 1495 0 discriminator 2
- 2395 000e 10B5 push {r4, lr}
- 2396 .LCFI29:
- 2397 .cfi_def_cfa_offset 8
- 2398 .cfi_offset 4, -8
- 2399 .cfi_offset 14, -4
- 2400 0010 0446 mov r4, r0
-1502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2401 .loc 1 1502 0 discriminator 2
- 2402 0012 0123 movs r3, #1
- 2403 0014 80F82430 strb r3, [r0, #36]
-1506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2404 .loc 1 1506 0 discriminator 2
- 2405 0018 FFF7FEFF bl ADC_ConversionStop_Disable
- 2406 .LVL150:
-1509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 2407 .loc 1 1509 0 discriminator 2
- 2408 001c 0346 mov r3, r0
- 2409 001e 60B9 cbnz r0, .L228
-1512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2410 .loc 1 1512 0
- 2411 0020 2168 ldr r1, [r4]
- 2412 0022 4A68 ldr r2, [r1, #4]
- 2413 0024 22F02002 bic r2, r2, #32
- 2414 0028 4A60 str r2, [r1, #4]
-1515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
- 2415 .loc 1 1515 0
- 2416 002a A26A ldr r2, [r4, #40]
- 2417 002c 22F48852 bic r2, r2, #4352
- 2418 0030 22F00102 bic r2, r2, #1
- 2419 0034 42F00102 orr r2, r2, #1
- 2420 0038 A262 str r2, [r4, #40]
- 2421 .L228:
-1521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2422 .loc 1 1521 0
- 2423 003a 0022 movs r2, #0
- 2424 003c 84F82420 strb r2, [r4, #36]
-1525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2425 .loc 1 1525 0
- 2426 0040 1846 mov r0, r3
- 2427 .LVL151:
- 2428 0042 10BD pop {r4, pc}
- 2429 .cfi_endproc
- 2430 .LFE74:
- 2432 .section .text.HAL_ADC_Stop_DMA,"ax",%progbits
- 2433 .align 1
- 2434 .global HAL_ADC_Stop_DMA
- 2435 .syntax unified
- 2436 .thumb
- 2437 .thumb_func
-ARM GAS /tmp/ccubaZyq.s page 91
-
-
- 2438 .fpu softvfp
- 2440 HAL_ADC_Stop_DMA:
- 2441 .LFB76:
-1693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 2442 .loc 1 1693 0
- 2443 .cfi_startproc
- 2444 @ args = 0, pretend = 0, frame = 0
- 2445 @ frame_needed = 0, uses_anonymous_args = 0
- 2446 .LVL152:
-1700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2447 .loc 1 1700 0
- 2448 0000 90F82430 ldrb r3, [r0, #36] @ zero_extendqisi2
- 2449 0004 012B cmp r3, #1
- 2450 0006 02D1 bne .L244
- 2451 0008 0223 movs r3, #2
-1739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2452 .loc 1 1739 0
- 2453 000a 1846 mov r0, r3
- 2454 .LVL153:
- 2455 000c 7047 bx lr
- 2456 .LVL154:
- 2457 .L244:
-1693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 2458 .loc 1 1693 0 discriminator 2
- 2459 000e 10B5 push {r4, lr}
- 2460 .LCFI30:
- 2461 .cfi_def_cfa_offset 8
- 2462 .cfi_offset 4, -8
- 2463 .cfi_offset 14, -4
- 2464 0010 0446 mov r4, r0
-1700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2465 .loc 1 1700 0 discriminator 2
- 2466 0012 0123 movs r3, #1
- 2467 0014 80F82430 strb r3, [r0, #36]
-1704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2468 .loc 1 1704 0 discriminator 2
- 2469 0018 FFF7FEFF bl ADC_ConversionStop_Disable
- 2470 .LVL155:
-1707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 2471 .loc 1 1707 0 discriminator 2
- 2472 001c 0346 mov r3, r0
- 2473 001e 48B9 cbnz r0, .L237
-1710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2474 .loc 1 1710 0
- 2475 0020 2168 ldr r1, [r4]
- 2476 0022 8A68 ldr r2, [r1, #8]
- 2477 0024 22F48072 bic r2, r2, #256
- 2478 0028 8A60 str r2, [r1, #8]
-1714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 2479 .loc 1 1714 0
- 2480 002a 206A ldr r0, [r4, #32]
- 2481 .LVL156:
- 2482 002c 90F82120 ldrb r2, [r0, #33] @ zero_extendqisi2
- 2483 0030 022A cmp r2, #2
- 2484 0032 04D0 beq .L245
- 2485 .L237:
- 2486 .LVL157:
-ARM GAS /tmp/ccubaZyq.s page 92
-
-
-1735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2487 .loc 1 1735 0
- 2488 0034 0022 movs r2, #0
- 2489 0036 84F82420 strb r2, [r4, #36]
-1739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2490 .loc 1 1739 0
- 2491 003a 1846 mov r0, r3
- 2492 003c 10BD pop {r4, pc}
- 2493 .LVL158:
- 2494 .L245:
-1716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c ****
- 2495 .loc 1 1716 0
- 2496 003e FFF7FEFF bl HAL_DMA_Abort
- 2497 .LVL159:
-1719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** {
- 2498 .loc 1 1719 0
- 2499 0042 0346 mov r3, r0
- 2500 0044 40B9 cbnz r0, .L238
-1722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
- 2501 .loc 1 1722 0
- 2502 0046 A26A ldr r2, [r4, #40]
- 2503 0048 22F48852 bic r2, r2, #4352
- 2504 004c 22F00102 bic r2, r2, #1
- 2505 0050 42F00102 orr r2, r2, #1
- 2506 0054 A262 str r2, [r4, #40]
- 2507 0056 EDE7 b .L237
- 2508 .L238:
-1729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc.c **** }
- 2509 .loc 1 1729 0
- 2510 0058 A26A ldr r2, [r4, #40]
- 2511 005a 42F04002 orr r2, r2, #64
- 2512 005e A262 str r2, [r4, #40]
- 2513 0060 E8E7 b .L237
- 2514 .cfi_endproc
- 2515 .LFE76:
- 2517 .text
- 2518 .Letext0:
- 2519 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 2520 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 2521 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 2522 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 2523 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 2524 .file 7 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h"
- 2525 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 2526 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
- 2527 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h"
- 2528 .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
- 2529 .file 12 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h"
- 2530 .file 13 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h"
-ARM GAS /tmp/ccubaZyq.s page 93
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_hal_adc.c
- /tmp/ccubaZyq.s:16 .text.HAL_ADC_MspInit:0000000000000000 $t
- /tmp/ccubaZyq.s:23 .text.HAL_ADC_MspInit:0000000000000000 HAL_ADC_MspInit
- /tmp/ccubaZyq.s:37 .text.HAL_ADC_MspDeInit:0000000000000000 $t
- /tmp/ccubaZyq.s:44 .text.HAL_ADC_MspDeInit:0000000000000000 HAL_ADC_MspDeInit
- /tmp/ccubaZyq.s:57 .text.HAL_ADC_PollForConversion:0000000000000000 $t
- /tmp/ccubaZyq.s:64 .text.HAL_ADC_PollForConversion:0000000000000000 HAL_ADC_PollForConversion
- /tmp/ccubaZyq.s:320 .text.HAL_ADC_PollForConversion:000000000000015c $d
- /tmp/ccubaZyq.s:329 .text.HAL_ADC_PollForEvent:0000000000000000 $t
- /tmp/ccubaZyq.s:336 .text.HAL_ADC_PollForEvent:0000000000000000 HAL_ADC_PollForEvent
- /tmp/ccubaZyq.s:406 .text.HAL_ADC_GetValue:0000000000000000 $t
- /tmp/ccubaZyq.s:413 .text.HAL_ADC_GetValue:0000000000000000 HAL_ADC_GetValue
- /tmp/ccubaZyq.s:431 .text.HAL_ADC_ConvCpltCallback:0000000000000000 $t
- /tmp/ccubaZyq.s:438 .text.HAL_ADC_ConvCpltCallback:0000000000000000 HAL_ADC_ConvCpltCallback
- /tmp/ccubaZyq.s:451 .text.ADC_DMAConvCplt:0000000000000000 $t
- /tmp/ccubaZyq.s:458 .text.ADC_DMAConvCplt:0000000000000000 ADC_DMAConvCplt
- /tmp/ccubaZyq.s:527 .text.HAL_ADC_ConvHalfCpltCallback:0000000000000000 $t
- /tmp/ccubaZyq.s:534 .text.HAL_ADC_ConvHalfCpltCallback:0000000000000000 HAL_ADC_ConvHalfCpltCallback
- /tmp/ccubaZyq.s:547 .text.ADC_DMAHalfConvCplt:0000000000000000 $t
- /tmp/ccubaZyq.s:554 .text.ADC_DMAHalfConvCplt:0000000000000000 ADC_DMAHalfConvCplt
- /tmp/ccubaZyq.s:578 .text.HAL_ADC_LevelOutOfWindowCallback:0000000000000000 $t
- /tmp/ccubaZyq.s:585 .text.HAL_ADC_LevelOutOfWindowCallback:0000000000000000 HAL_ADC_LevelOutOfWindowCallback
- /tmp/ccubaZyq.s:598 .text.HAL_ADC_IRQHandler:0000000000000000 $t
- /tmp/ccubaZyq.s:605 .text.HAL_ADC_IRQHandler:0000000000000000 HAL_ADC_IRQHandler
- /tmp/ccubaZyq.s:776 .text.HAL_ADC_ErrorCallback:0000000000000000 $t
- /tmp/ccubaZyq.s:783 .text.HAL_ADC_ErrorCallback:0000000000000000 HAL_ADC_ErrorCallback
- /tmp/ccubaZyq.s:796 .text.ADC_DMAError:0000000000000000 $t
- /tmp/ccubaZyq.s:803 .text.ADC_DMAError:0000000000000000 ADC_DMAError
- /tmp/ccubaZyq.s:835 .text.HAL_ADC_ConfigChannel:0000000000000000 $t
- /tmp/ccubaZyq.s:842 .text.HAL_ADC_ConfigChannel:0000000000000000 HAL_ADC_ConfigChannel
- /tmp/ccubaZyq.s:1051 .text.HAL_ADC_ConfigChannel:000000000000012c $d
- /tmp/ccubaZyq.s:1058 .text.HAL_ADC_AnalogWDGConfig:0000000000000000 $t
- /tmp/ccubaZyq.s:1065 .text.HAL_ADC_AnalogWDGConfig:0000000000000000 HAL_ADC_AnalogWDGConfig
- /tmp/ccubaZyq.s:1150 .text.HAL_ADC_AnalogWDGConfig:000000000000005c $d
- /tmp/ccubaZyq.s:1155 .text.HAL_ADC_GetState:0000000000000000 $t
- /tmp/ccubaZyq.s:1162 .text.HAL_ADC_GetState:0000000000000000 HAL_ADC_GetState
- /tmp/ccubaZyq.s:1179 .text.HAL_ADC_GetError:0000000000000000 $t
- /tmp/ccubaZyq.s:1186 .text.HAL_ADC_GetError:0000000000000000 HAL_ADC_GetError
- /tmp/ccubaZyq.s:1203 .text.ADC_Enable:0000000000000000 $t
- /tmp/ccubaZyq.s:1210 .text.ADC_Enable:0000000000000000 ADC_Enable
- /tmp/ccubaZyq.s:1308 .text.ADC_Enable:0000000000000078 $d
- /tmp/ccubaZyq.s:1314 .text.HAL_ADC_Start:0000000000000000 $t
- /tmp/ccubaZyq.s:1321 .text.HAL_ADC_Start:0000000000000000 HAL_ADC_Start
- /tmp/ccubaZyq.s:1467 .text.HAL_ADC_Start:00000000000000e4 $d
- /tmp/ccubaZyq.s:1473 .text.HAL_ADC_Start_IT:0000000000000000 $t
- /tmp/ccubaZyq.s:1480 .text.HAL_ADC_Start_IT:0000000000000000 HAL_ADC_Start_IT
- /tmp/ccubaZyq.s:1631 .text.HAL_ADC_Start_IT:00000000000000f0 $d
- /tmp/ccubaZyq.s:1637 .text.HAL_ADC_Start_DMA:0000000000000000 $t
- /tmp/ccubaZyq.s:1644 .text.HAL_ADC_Start_DMA:0000000000000000 HAL_ADC_Start_DMA
- /tmp/ccubaZyq.s:1827 .text.HAL_ADC_Start_DMA:000000000000011c $d
- /tmp/ccubaZyq.s:1836 .text.ADC_ConversionStop_Disable:0000000000000000 $t
- /tmp/ccubaZyq.s:1843 .text.ADC_ConversionStop_Disable:0000000000000000 ADC_ConversionStop_Disable
- /tmp/ccubaZyq.s:1912 .text.HAL_ADC_Init:0000000000000000 $t
- /tmp/ccubaZyq.s:1919 .text.HAL_ADC_Init:0000000000000000 HAL_ADC_Init
- /tmp/ccubaZyq.s:2136 .text.HAL_ADC_Init:0000000000000120 $d
- /tmp/ccubaZyq.s:2143 .text.HAL_ADC_DeInit:0000000000000000 $t
-ARM GAS /tmp/ccubaZyq.s page 94
-
-
- /tmp/ccubaZyq.s:2150 .text.HAL_ADC_DeInit:0000000000000000 HAL_ADC_DeInit
- /tmp/ccubaZyq.s:2304 .text.HAL_ADC_DeInit:00000000000000f4 $d
- /tmp/ccubaZyq.s:2310 .text.HAL_ADC_Stop:0000000000000000 $t
- /tmp/ccubaZyq.s:2317 .text.HAL_ADC_Stop:0000000000000000 HAL_ADC_Stop
- /tmp/ccubaZyq.s:2369 .text.HAL_ADC_Stop_IT:0000000000000000 $t
- /tmp/ccubaZyq.s:2376 .text.HAL_ADC_Stop_IT:0000000000000000 HAL_ADC_Stop_IT
- /tmp/ccubaZyq.s:2433 .text.HAL_ADC_Stop_DMA:0000000000000000 $t
- /tmp/ccubaZyq.s:2440 .text.HAL_ADC_Stop_DMA:0000000000000000 HAL_ADC_Stop_DMA
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-HAL_GetTick
-HAL_RCCEx_GetPeriphCLKFreq
-SystemCoreClock
-HAL_ADCEx_InjectedConvCpltCallback
-HAL_DMA_Start_IT
-HAL_DMA_Abort
diff --git a/build/stm32f1xx_hal_adc.o b/build/stm32f1xx_hal_adc.o
deleted file mode 100644
index f568520..0000000
Binary files a/build/stm32f1xx_hal_adc.o and /dev/null differ
diff --git a/build/stm32f1xx_hal_adc_ex.d b/build/stm32f1xx_hal_adc_ex.d
deleted file mode 100644
index 90c68a9..0000000
--- a/build/stm32f1xx_hal_adc_ex.d
+++ /dev/null
@@ -1,93 +0,0 @@
-build/stm32f1xx_hal_adc_ex.o: \
- Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/stm32f1xx_hal_adc_ex.lst b/build/stm32f1xx_hal_adc_ex.lst
deleted file mode 100644
index b6eb65d..0000000
--- a/build/stm32f1xx_hal_adc_ex.lst
+++ /dev/null
@@ -1,3496 +0,0 @@
-ARM GAS /tmp/ccKNWHXv.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "stm32f1xx_hal_adc_ex.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.HAL_ADCEx_Calibration_Start,"ax",%progbits
- 16 .align 1
- 17 .global HAL_ADCEx_Calibration_Start
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 HAL_ADCEx_Calibration_Start:
- 24 .LFB65:
- 25 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c"
- 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /**
- 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ******************************************************************************
- 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @file stm32f1xx_hal_adc_ex.c
- 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @author MCD Application Team
- 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @brief This file provides firmware functions to manage the following
- 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * functionalities of the Analog to Digital Convertor (ADC)
- 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * peripheral:
- 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * + Operation functions
- 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * ++ Start, stop, get result of conversions of injected
- 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * group, using 2 possible modes: polling, interruption.
- 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * ++ Multimode feature (available on devices with 2 ADCs or more)
- 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * ++ Calibration (ADC automatic self-calibration)
- 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * + Control functions
- 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * ++ Channels configuration on injected group
- 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * Other functions (generic functions) are available in file
- 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * "stm32f1xx_hal_adc.c".
- 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** *
- 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** @verbatim
- 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** [..]
- 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (@) Sections "ADC peripheral features" and "How to use this driver" are
- 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** available in file of generic functions "stm32f1xx_hal_adc.c".
- 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** [..]
- 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** @endverbatim
- 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ******************************************************************************
- 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @attention
- 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** *
- 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * © Copyright (c) 2016 STMicroelectronics.
- 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * All rights reserved.
- 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** *
- 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * the "License"; You may not use this file except in compliance with the
- 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * License. You may obtain a copy of the License at:
- 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * opensource.org/licenses/BSD-3-Clause
-ARM GAS /tmp/ccKNWHXv.s page 2
-
-
- 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** *
- 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ******************************************************************************
- 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** */
- 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Includes ------------------------------------------------------------------*/
- 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** #include "stm32f1xx_hal.h"
- 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /** @addtogroup STM32F1xx_HAL_Driver
- 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @{
- 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** */
- 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /** @defgroup ADCEx ADCEx
- 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @brief ADC Extension HAL module driver
- 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @{
- 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** */
- 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** #ifdef HAL_ADC_MODULE_ENABLED
- 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Private typedef -----------------------------------------------------------*/
- 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Private define ------------------------------------------------------------*/
- 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /** @defgroup ADCEx_Private_Constants ADCEx Private Constants
- 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @{
- 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** */
- 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Delay for ADC calibration: */
- 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Hardware prerequisite before starting a calibration: the ADC must have */
- 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* been in power-on state for at least two ADC clock cycles. */
- 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Unit: ADC clock cycles */
- 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** #define ADC_PRECALIBRATION_DELAY_ADCCLOCKCYCLES 2U
- 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Timeout value for ADC calibration */
- 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Value defined to be higher than worst cases: low clocks freq, */
- 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* maximum prescaler. */
- 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Ex of profile low frequency : Clock source at 0.1 MHz, ADC clock */
- 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* prescaler 4, sampling time 12.5 ADC clock cycles, resolution 12 bits. */
- 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Unit: ms */
- 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** #define ADC_CALIBRATION_TIMEOUT 10U
- 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Delay for temperature sensor stabilization time. */
- 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Maximum delay is 10us (refer to device datasheet, parameter tSTART). */
- 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Unit: us */
- 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** #define ADC_TEMPSENSOR_DELAY_US 10U
- 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /**
- 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @}
- 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** */
- 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Private macro -------------------------------------------------------------*/
- 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Private variables ---------------------------------------------------------*/
- 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Private function prototypes -----------------------------------------------*/
- 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Private functions ---------------------------------------------------------*/
- 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /** @defgroup ADCEx_Exported_Functions ADCEx Exported Functions
- 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @{
- 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** */
- 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /** @defgroup ADCEx_Exported_Functions_Group1 Extended Extended IO operation functions
-ARM GAS /tmp/ccKNWHXv.s page 3
-
-
- 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @brief Extended Extended Input and Output operation functions
- 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** *
- 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** @verbatim
- 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ===============================================================================
- 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ##### IO operation functions #####
- 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ===============================================================================
- 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** [..] This section provides functions allowing to:
- 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (+) Start conversion of injected group.
- 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (+) Stop conversion of injected group.
- 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (+) Poll for conversion complete on injected group.
- 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (+) Get result of injected channel conversion.
- 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (+) Start conversion of injected group and enable interruptions.
- 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (+) Stop conversion of injected group and disable interruptions.
- 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (+) Start multimode and enable DMA transfer.
- 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (+) Stop multimode and disable ADC DMA transfer.
- 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (+) Get result of multimode conversion.
- 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (+) Perform the ADC self-calibration for single or differential ending.
- 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (+) Get calibration factors for single or differential ending.
- 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (+) Set calibration factors for single or differential ending.
- 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** @endverbatim
- 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @{
- 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** */
- 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /**
- 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @brief Perform an ADC automatic self-calibration
- 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * Calibration prerequisite: ADC must be disabled (execute this
- 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * function before HAL_ADC_Start() or after HAL_ADC_Stop() ).
- 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * During calibration process, ADC is enabled. ADC is let enabled at
- 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * the completion of this function.
- 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @param hadc: ADC handle
- 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @retval HAL status
- 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** */
- 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_Calibration_Start(ADC_HandleTypeDef* hadc)
- 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 26 .loc 1 127 0
- 27 .cfi_startproc
- 28 @ args = 0, pretend = 0, frame = 8
- 29 @ frame_needed = 0, uses_anonymous_args = 0
- 30 .LVL0:
- 31 0000 70B5 push {r4, r5, r6, lr}
- 32 .LCFI0:
- 33 .cfi_def_cfa_offset 16
- 34 .cfi_offset 4, -16
- 35 .cfi_offset 5, -12
- 36 .cfi_offset 6, -8
- 37 .cfi_offset 14, -4
- 38 0002 82B0 sub sp, sp, #8
- 39 .LCFI1:
- 40 .cfi_def_cfa_offset 24
- 41 .LVL1:
- 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** uint32_t tickstart;
- 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __IO uint32_t wait_loop_index = 0U;
- 42 .loc 1 130 0
-ARM GAS /tmp/ccKNWHXv.s page 4
-
-
- 43 0004 0023 movs r3, #0
- 44 0006 0193 str r3, [sp, #4]
- 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Check the parameters */
- 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
- 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process locked */
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
- 45 .loc 1 136 0
- 46 0008 90F82430 ldrb r3, [r0, #36] @ zero_extendqisi2
- 47 000c 012B cmp r3, #1
- 48 000e 03D1 bne .L12
- 49 0010 0225 movs r5, #2
- 50 .LVL2:
- 51 .L2:
- 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* 1. Calibration prerequisite: */
- 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - ADC must be disabled for at least two ADC clock cycles in disable */
- 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* mode before ADC enable */
- 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Stop potential conversion on going, on regular and injected groups */
- 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Disable ADC peripheral */
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tmp_hal_status = ADC_ConversionStop_Disable(hadc);
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Check if ADC is effectively disabled */
- 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (tmp_hal_status == HAL_OK)
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Set ADC state */
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
- 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
- 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_BUSY_INTERNAL);
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Hardware prerequisite: delay before starting the calibration. */
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - Computation of CPU clock cycles corresponding to ADC clock cycles. */
- 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - Wait for the expected ADC clock cycles delay */
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** wait_loop_index = ((SystemCoreClock
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** / HAL_RCCEx_GetPeriphCLKFreq(RCC_PERIPHCLK_ADC))
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * ADC_PRECALIBRATION_DELAY_ADCCLOCKCYCLES );
- 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** while(wait_loop_index != 0U)
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** wait_loop_index--;
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* 2. Enable the ADC peripheral */
- 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_Enable(hadc);
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* 3. Resets ADC calibration registers */
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->Instance->CR2, ADC_CR2_RSTCAL);
- 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tickstart = HAL_GetTick();
- 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Wait for calibration reset completion */
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** while(HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_RSTCAL))
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if((HAL_GetTick() - tickstart) > ADC_CALIBRATION_TIMEOUT)
- 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Update ADC state machine to error */
-ARM GAS /tmp/ccKNWHXv.s page 5
-
-
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_BUSY_INTERNAL,
- 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_ERROR_INTERNAL);
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process unlocked */
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
- 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** return HAL_ERROR;
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* 4. Start ADC calibration */
- 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->Instance->CR2, ADC_CR2_CAL);
- 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tickstart = HAL_GetTick();
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Wait for calibration completion */
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** while(HAL_IS_BIT_SET(hadc->Instance->CR2, ADC_CR2_CAL))
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if((HAL_GetTick() - tickstart) > ADC_CALIBRATION_TIMEOUT)
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Update ADC state machine to error */
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_BUSY_INTERNAL,
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_ERROR_INTERNAL);
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process unlocked */
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** return HAL_ERROR;
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Set ADC state */
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_BUSY_INTERNAL,
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_READY);
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process unlocked */
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Return function status */
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** return tmp_hal_status;
- 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 52 .loc 1 224 0
- 53 0012 2846 mov r0, r5
- 54 0014 02B0 add sp, sp, #8
- 55 .LCFI2:
- 56 .cfi_remember_state
- 57 .cfi_def_cfa_offset 16
- 58 @ sp needed
- 59 0016 70BD pop {r4, r5, r6, pc}
- 60 .LVL3:
- 61 .L12:
- 62 .LCFI3:
-ARM GAS /tmp/ccKNWHXv.s page 6
-
-
- 63 .cfi_restore_state
- 64 0018 0446 mov r4, r0
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 65 .loc 1 136 0 discriminator 2
- 66 001a 0123 movs r3, #1
- 67 001c 80F82430 strb r3, [r0, #36]
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 68 .loc 1 143 0 discriminator 2
- 69 0020 FFF7FEFF bl ADC_ConversionStop_Disable
- 70 .LVL4:
- 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 71 .loc 1 146 0 discriminator 2
- 72 0024 0546 mov r5, r0
- 73 0026 18B1 cbz r0, .L13
- 74 .LVL5:
- 75 .L3:
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 76 .loc 1 220 0
- 77 0028 0023 movs r3, #0
- 78 002a 84F82430 strb r3, [r4, #36]
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 79 .loc 1 223 0
- 80 002e F0E7 b .L2
- 81 .LVL6:
- 82 .L13:
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
- 83 .loc 1 149 0
- 84 0030 A36A ldr r3, [r4, #40]
- 85 0032 23F48853 bic r3, r3, #4352
- 86 0036 23F00203 bic r3, r3, #2
- 87 003a 43F00203 orr r3, r3, #2
- 88 003e A362 str r3, [r4, #40]
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * ADC_PRECALIBRATION_DELAY_ADCCLOCKCYCLES );
- 89 .loc 1 157 0
- 90 0040 294B ldr r3, .L16
- 91 0042 1E68 ldr r6, [r3]
- 92 0044 0220 movs r0, #2
- 93 .LVL7:
- 94 0046 FFF7FEFF bl HAL_RCCEx_GetPeriphCLKFreq
- 95 .LVL8:
- 96 004a B6FBF0F0 udiv r0, r6, r0
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 97 .loc 1 158 0
- 98 004e 4000 lsls r0, r0, #1
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** / HAL_RCCEx_GetPeriphCLKFreq(RCC_PERIPHCLK_ADC))
- 99 .loc 1 156 0
- 100 0050 0190 str r0, [sp, #4]
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 101 .loc 1 160 0
- 102 0052 02E0 b .L4
- 103 .L5:
- 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 104 .loc 1 162 0
- 105 0054 019B ldr r3, [sp, #4]
- 106 0056 013B subs r3, r3, #1
- 107 0058 0193 str r3, [sp, #4]
- 108 .L4:
-ARM GAS /tmp/ccKNWHXv.s page 7
-
-
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 109 .loc 1 160 0
- 110 005a 019B ldr r3, [sp, #4]
- 111 005c 002B cmp r3, #0
- 112 005e F9D1 bne .L5
- 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 113 .loc 1 166 0
- 114 0060 2046 mov r0, r4
- 115 0062 FFF7FEFF bl ADC_Enable
- 116 .LVL9:
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 117 .loc 1 169 0
- 118 0066 2268 ldr r2, [r4]
- 119 0068 9368 ldr r3, [r2, #8]
- 120 006a 43F00803 orr r3, r3, #8
- 121 006e 9360 str r3, [r2, #8]
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 122 .loc 1 171 0
- 123 0070 FFF7FEFF bl HAL_GetTick
- 124 .LVL10:
- 125 0074 0646 mov r6, r0
- 126 .LVL11:
- 127 .L6:
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 128 .loc 1 174 0
- 129 0076 2368 ldr r3, [r4]
- 130 0078 9A68 ldr r2, [r3, #8]
- 131 007a 12F0080F tst r2, #8
- 132 007e 0FD0 beq .L14
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 133 .loc 1 176 0
- 134 0080 FFF7FEFF bl HAL_GetTick
- 135 .LVL12:
- 136 0084 801B subs r0, r0, r6
- 137 0086 0A28 cmp r0, #10
- 138 0088 F5D9 bls .L6
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_BUSY_INTERNAL,
- 139 .loc 1 179 0
- 140 008a A36A ldr r3, [r4, #40]
- 141 008c 23F01203 bic r3, r3, #18
- 142 0090 43F01003 orr r3, r3, #16
- 143 0094 A362 str r3, [r4, #40]
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 144 .loc 1 184 0
- 145 0096 0023 movs r3, #0
- 146 0098 84F82430 strb r3, [r4, #36]
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 147 .loc 1 186 0
- 148 009c 0125 movs r5, #1
- 149 009e B8E7 b .L2
- 150 .L14:
- 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 151 .loc 1 192 0
- 152 00a0 9A68 ldr r2, [r3, #8]
- 153 00a2 42F00402 orr r2, r2, #4
- 154 00a6 9A60 str r2, [r3, #8]
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-ARM GAS /tmp/ccKNWHXv.s page 8
-
-
- 155 .loc 1 194 0
- 156 00a8 FFF7FEFF bl HAL_GetTick
- 157 .LVL13:
- 158 00ac 0646 mov r6, r0
- 159 .LVL14:
- 160 .L8:
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 161 .loc 1 197 0
- 162 00ae 2368 ldr r3, [r4]
- 163 00b0 9B68 ldr r3, [r3, #8]
- 164 00b2 13F0040F tst r3, #4
- 165 00b6 0FD0 beq .L15
- 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 166 .loc 1 199 0
- 167 00b8 FFF7FEFF bl HAL_GetTick
- 168 .LVL15:
- 169 00bc 801B subs r0, r0, r6
- 170 00be 0A28 cmp r0, #10
- 171 00c0 F5D9 bls .L8
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_BUSY_INTERNAL,
- 172 .loc 1 202 0
- 173 00c2 A36A ldr r3, [r4, #40]
- 174 00c4 23F01203 bic r3, r3, #18
- 175 00c8 43F01003 orr r3, r3, #16
- 176 00cc A362 str r3, [r4, #40]
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 177 .loc 1 207 0
- 178 00ce 0023 movs r3, #0
- 179 00d0 84F82430 strb r3, [r4, #36]
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 180 .loc 1 209 0
- 181 00d4 0125 movs r5, #1
- 182 00d6 9CE7 b .L2
- 183 .L15:
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_BUSY_INTERNAL,
- 184 .loc 1 214 0
- 185 00d8 A36A ldr r3, [r4, #40]
- 186 00da 23F00303 bic r3, r3, #3
- 187 00de 43F00103 orr r3, r3, #1
- 188 00e2 A362 str r3, [r4, #40]
- 189 00e4 A0E7 b .L3
- 190 .L17:
- 191 00e6 00BF .align 2
- 192 .L16:
- 193 00e8 00000000 .word SystemCoreClock
- 194 .cfi_endproc
- 195 .LFE65:
- 197 .section .text.HAL_ADCEx_InjectedStart,"ax",%progbits
- 198 .align 1
- 199 .global HAL_ADCEx_InjectedStart
- 200 .syntax unified
- 201 .thumb
- 202 .thumb_func
- 203 .fpu softvfp
- 205 HAL_ADCEx_InjectedStart:
- 206 .LFB66:
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-ARM GAS /tmp/ccKNWHXv.s page 9
-
-
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /**
- 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @brief Enables ADC, starts conversion of injected group.
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * Interruptions enabled in this function: None.
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @param hadc: ADC handle
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @retval HAL status
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** */
- 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_InjectedStart(ADC_HandleTypeDef* hadc)
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 207 .loc 1 233 0
- 208 .cfi_startproc
- 209 @ args = 0, pretend = 0, frame = 0
- 210 @ frame_needed = 0, uses_anonymous_args = 0
- 211 .LVL16:
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Check the parameters */
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
- 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process locked */
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
- 212 .loc 1 240 0
- 213 0000 90F82430 ldrb r3, [r0, #36] @ zero_extendqisi2
- 214 0004 012B cmp r3, #1
- 215 0006 02D1 bne .L32
- 216 0008 0223 movs r3, #2
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Enable the ADC peripheral */
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tmp_hal_status = ADC_Enable(hadc);
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Start conversion if ADC is effectively enabled */
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (tmp_hal_status == HAL_OK)
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Set ADC state */
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - Clear state bitfield related to injected group conversion results */
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - Set state bitfield related to injected operation */
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_INJ_EOC,
- 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_INJ_BUSY);
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Case of independent mode or multimode (for devices with several ADCs): */
- 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Set multimode state. */
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (ADC_NONMULTIMODE_OR_MULTIMODEMASTER(hadc))
- 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_MULTIMODE_SLAVE);
- 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** else
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_MULTIMODE_SLAVE);
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Check if a regular conversion is ongoing */
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Note: On this device, there is no ADC error code fields related to */
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* conversions on group injected only. In case of conversion on */
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* going on group regular, no error code is reset. */
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_REG_BUSY))
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Reset ADC all error code fields */
-ARM GAS /tmp/ccKNWHXv.s page 10
-
-
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_CLEAR_ERRORCODE(hadc);
- 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process unlocked */
- 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Unlock before starting ADC conversions: in case of potential */
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* interruption, to let the process to ADC IRQ Handler. */
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Clear injected group conversion flag */
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* (To ensure of no unknown state from potential previous ADC operations) */
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_JEOC);
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Enable conversion of injected group. */
- 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* If software start has been selected, conversion starts immediately. */
- 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* If external trigger has been selected, conversion will start at next */
- 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* trigger event. */
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* If automatic injected conversion is enabled, conversion will start */
- 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* after next regular group conversion. */
- 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Case of multimode enabled (for devices with several ADCs): if ADC is */
- 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* slave, ADC is enabled only (conversion is not started). If ADC is */
- 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* master, ADC is enabled and conversion is started. */
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO))
- 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (ADC_IS_SOFTWARE_START_INJECTED(hadc) &&
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_NONMULTIMODE_OR_MULTIMODEMASTER(hadc) )
- 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Start ADC conversion on injected group with SW start */
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->Instance->CR2, (ADC_CR2_JSWSTART | ADC_CR2_JEXTTRIG));
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** else
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Start ADC conversion on injected group with external trigger */
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->Instance->CR2, ADC_CR2_JEXTTRIG);
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** else
- 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process unlocked */
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
- 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Return function status */
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** return tmp_hal_status;
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 217 .loc 1 317 0
- 218 000a 1846 mov r0, r3
- 219 .LVL17:
- 220 000c 7047 bx lr
- 221 .LVL18:
- 222 .L32:
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 223 .loc 1 233 0 discriminator 2
- 224 000e 10B5 push {r4, lr}
- 225 .LCFI4:
- 226 .cfi_def_cfa_offset 8
- 227 .cfi_offset 4, -8
-ARM GAS /tmp/ccKNWHXv.s page 11
-
-
- 228 .cfi_offset 14, -4
- 229 0010 0446 mov r4, r0
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 230 .loc 1 240 0 discriminator 2
- 231 0012 0123 movs r3, #1
- 232 0014 80F82430 strb r3, [r0, #36]
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 233 .loc 1 243 0 discriminator 2
- 234 0018 FFF7FEFF bl ADC_Enable
- 235 .LVL19:
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 236 .loc 1 246 0 discriminator 2
- 237 001c 0346 mov r3, r0
- 238 001e 0028 cmp r0, #0
- 239 0020 45D1 bne .L20
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_INJ_EOC,
- 240 .loc 1 251 0
- 241 0022 A26A ldr r2, [r4, #40]
- 242 0024 22F44052 bic r2, r2, #12288
- 243 0028 22F00102 bic r2, r2, #1
- 244 002c 42F48052 orr r2, r2, #4096
- 245 0030 A262 str r2, [r4, #40]
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 246 .loc 1 257 0
- 247 0032 2168 ldr r1, [r4]
- 248 0034 204A ldr r2, .L36
- 249 0036 9142 cmp r1, r2
- 250 0038 1FD0 beq .L33
- 251 .L21:
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 252 .loc 1 259 0
- 253 003a A26A ldr r2, [r4, #40]
- 254 003c 22F48012 bic r2, r2, #1048576
- 255 0040 A262 str r2, [r4, #40]
- 256 .L23:
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 257 .loc 1 270 0
- 258 0042 A26A ldr r2, [r4, #40]
- 259 0044 12F4807F tst r2, #256
- 260 0048 01D1 bne .L24
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 261 .loc 1 273 0
- 262 004a 0022 movs r2, #0
- 263 004c E262 str r2, [r4, #44]
- 264 .L24:
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 265 .loc 1 279 0
- 266 004e 0022 movs r2, #0
- 267 0050 84F82420 strb r2, [r4, #36]
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 268 .loc 1 283 0
- 269 0054 6FF00402 mvn r2, #4
- 270 0058 0A60 str r2, [r1]
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 271 .loc 1 294 0
- 272 005a 2268 ldr r2, [r4]
- 273 005c 5168 ldr r1, [r2, #4]
-ARM GAS /tmp/ccKNWHXv.s page 12
-
-
- 274 005e 11F4806F tst r1, #1024
- 275 0062 27D1 bne .L19
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_NONMULTIMODE_OR_MULTIMODEMASTER(hadc) )
- 276 .loc 1 296 0
- 277 0064 9168 ldr r1, [r2, #8]
- 278 0066 01F4E041 and r1, r1, #28672
- 279 006a B1F5E04F cmp r1, #28672
- 280 006e 0FD0 beq .L34
- 281 .L25:
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 282 .loc 1 305 0
- 283 0070 9168 ldr r1, [r2, #8]
- 284 0072 41F40041 orr r1, r1, #32768
- 285 0076 9160 str r1, [r2, #8]
- 286 0078 1CE0 b .L19
- 287 .L33:
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 288 .loc 1 257 0 discriminator 1
- 289 007a A2F58062 sub r2, r2, #1024
- 290 007e 5268 ldr r2, [r2, #4]
- 291 0080 12F4702F tst r2, #983040
- 292 0084 D9D0 beq .L21
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 293 .loc 1 263 0
- 294 0086 A26A ldr r2, [r4, #40]
- 295 0088 42F48012 orr r2, r2, #1048576
- 296 008c A262 str r2, [r4, #40]
- 297 008e D8E7 b .L23
- 298 .L34:
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_NONMULTIMODE_OR_MULTIMODEMASTER(hadc) )
- 299 .loc 1 296 0 discriminator 1
- 300 0090 0949 ldr r1, .L36
- 301 0092 8A42 cmp r2, r1
- 302 0094 04D0 beq .L35
- 303 .L26:
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 304 .loc 1 300 0
- 305 0096 9168 ldr r1, [r2, #8]
- 306 0098 41F40211 orr r1, r1, #2129920
- 307 009c 9160 str r1, [r2, #8]
- 308 009e 09E0 b .L19
- 309 .L35:
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 310 .loc 1 297 0 discriminator 2
- 311 00a0 A1F58061 sub r1, r1, #1024
- 312 00a4 4968 ldr r1, [r1, #4]
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_NONMULTIMODE_OR_MULTIMODEMASTER(hadc) )
- 313 .loc 1 296 0 discriminator 2
- 314 00a6 11F4702F tst r1, #983040
- 315 00aa E1D1 bne .L25
- 316 00ac F3E7 b .L26
- 317 .L20:
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 318 .loc 1 312 0
- 319 00ae 0022 movs r2, #0
- 320 00b0 84F82420 strb r2, [r4, #36]
- 321 .L19:
-ARM GAS /tmp/ccKNWHXv.s page 13
-
-
- 322 .loc 1 317 0
- 323 00b4 1846 mov r0, r3
- 324 .LVL20:
- 325 00b6 10BD pop {r4, pc}
- 326 .LVL21:
- 327 .L37:
- 328 .align 2
- 329 .L36:
- 330 00b8 00280140 .word 1073817600
- 331 .cfi_endproc
- 332 .LFE66:
- 334 .section .text.HAL_ADCEx_InjectedStop,"ax",%progbits
- 335 .align 1
- 336 .global HAL_ADCEx_InjectedStop
- 337 .syntax unified
- 338 .thumb
- 339 .thumb_func
- 340 .fpu softvfp
- 342 HAL_ADCEx_InjectedStop:
- 343 .LFB67:
- 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /**
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @brief Stop conversion of injected channels. Disable ADC peripheral if
- 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * no regular conversion is on going.
- 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @note If ADC must be disabled and if conversion is on going on
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * regular group, function HAL_ADC_Stop must be used to stop both
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * injected and regular groups, and disable the ADC.
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @note If injected group mode auto-injection is enabled,
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * function HAL_ADC_Stop must be used.
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @note In case of auto-injection mode, HAL_ADC_Stop must be used.
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @param hadc: ADC handle
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @retval None
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** */
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_InjectedStop(ADC_HandleTypeDef* hadc)
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 344 .loc 1 332 0
- 345 .cfi_startproc
- 346 @ args = 0, pretend = 0, frame = 0
- 347 @ frame_needed = 0, uses_anonymous_args = 0
- 348 .LVL22:
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Check the parameters */
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
- 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process locked */
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
- 349 .loc 1 339 0
- 350 0000 90F82430 ldrb r3, [r0, #36] @ zero_extendqisi2
- 351 0004 012B cmp r3, #1
- 352 0006 25D0 beq .L42
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 353 .loc 1 332 0 discriminator 2
- 354 0008 10B5 push {r4, lr}
- 355 .LCFI5:
- 356 .cfi_def_cfa_offset 8
- 357 .cfi_offset 4, -8
-ARM GAS /tmp/ccKNWHXv.s page 14
-
-
- 358 .cfi_offset 14, -4
- 359 000a 0446 mov r4, r0
- 360 .loc 1 339 0 discriminator 2
- 361 000c 0123 movs r3, #1
- 362 000e 80F82430 strb r3, [r0, #36]
- 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Stop potential conversion and disable ADC peripheral */
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Conditioned to: */
- 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - No conversion on the other group (regular group) is intended to */
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* continue (injected and regular groups stop conversion and ADC disable */
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* are common) */
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - In case of auto-injection mode, HAL_ADC_Stop must be used. */
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if(((hadc->State & HAL_ADC_STATE_REG_BUSY) == RESET) &&
- 363 .loc 1 347 0 discriminator 2
- 364 0012 836A ldr r3, [r0, #40]
- 365 0014 13F4807F tst r3, #256
- 366 0018 04D1 bne .L40
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
- 367 .loc 1 348 0 discriminator 1
- 368 001a 0368 ldr r3, [r0]
- 369 001c 5B68 ldr r3, [r3, #4]
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
- 370 .loc 1 347 0 discriminator 1
- 371 001e 13F4806F tst r3, #1024
- 372 0022 09D0 beq .L47
- 373 .L40:
- 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Stop potential conversion on going, on regular and injected groups */
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Disable ADC peripheral */
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tmp_hal_status = ADC_ConversionStop_Disable(hadc);
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Check if ADC is effectively disabled */
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (tmp_hal_status == HAL_OK)
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Set ADC state */
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_READY);
- 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** else
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Update ADC state machine to error */
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
- 374 .loc 1 366 0
- 375 0024 A36A ldr r3, [r4, #40]
- 376 0026 43F02003 orr r3, r3, #32
- 377 002a A362 str r3, [r4, #40]
- 378 .LVL23:
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tmp_hal_status = HAL_ERROR;
- 379 .loc 1 368 0
- 380 002c 0123 movs r3, #1
- 381 .LVL24:
- 382 .L41:
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-ARM GAS /tmp/ccKNWHXv.s page 15
-
-
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process unlocked */
- 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
- 383 .loc 1 372 0
- 384 002e 0022 movs r2, #0
- 385 0030 84F82420 strb r2, [r4, #36]
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Return function status */
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** return tmp_hal_status;
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 386 .loc 1 376 0
- 387 0034 1846 mov r0, r3
- 388 0036 10BD pop {r4, pc}
- 389 .LVL25:
- 390 .L47:
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 391 .loc 1 352 0
- 392 0038 FFF7FEFF bl ADC_ConversionStop_Disable
- 393 .LVL26:
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 394 .loc 1 355 0
- 395 003c 0346 mov r3, r0
- 396 003e 0028 cmp r0, #0
- 397 0040 F5D1 bne .L41
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
- 398 .loc 1 358 0
- 399 0042 A26A ldr r2, [r4, #40]
- 400 0044 22F48852 bic r2, r2, #4352
- 401 0048 22F00102 bic r2, r2, #1
- 402 004c 42F00102 orr r2, r2, #1
- 403 0050 A262 str r2, [r4, #40]
- 404 0052 ECE7 b .L41
- 405 .LVL27:
- 406 .L42:
- 407 .LCFI6:
- 408 .cfi_def_cfa_offset 0
- 409 .cfi_restore 4
- 410 .cfi_restore 14
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 411 .loc 1 339 0
- 412 0054 0223 movs r3, #2
- 413 .loc 1 376 0
- 414 0056 1846 mov r0, r3
- 415 .LVL28:
- 416 0058 7047 bx lr
- 417 .cfi_endproc
- 418 .LFE67:
- 420 .section .text.HAL_ADCEx_InjectedPollForConversion,"ax",%progbits
- 421 .align 1
- 422 .global HAL_ADCEx_InjectedPollForConversion
- 423 .syntax unified
- 424 .thumb
- 425 .thumb_func
- 426 .fpu softvfp
- 428 HAL_ADCEx_InjectedPollForConversion:
- 429 .LFB68:
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /**
-ARM GAS /tmp/ccKNWHXv.s page 16
-
-
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @brief Wait for injected group conversion to be completed.
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @param hadc: ADC handle
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @param Timeout: Timeout value in millisecond.
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @retval HAL status
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** */
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_InjectedPollForConversion(ADC_HandleTypeDef* hadc, uint32_t Timeout)
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 430 .loc 1 385 0
- 431 .cfi_startproc
- 432 @ args = 0, pretend = 0, frame = 8
- 433 @ frame_needed = 0, uses_anonymous_args = 0
- 434 .LVL29:
- 435 0000 F0B5 push {r4, r5, r6, r7, lr}
- 436 .LCFI7:
- 437 .cfi_def_cfa_offset 20
- 438 .cfi_offset 4, -20
- 439 .cfi_offset 5, -16
- 440 .cfi_offset 6, -12
- 441 .cfi_offset 7, -8
- 442 .cfi_offset 14, -4
- 443 0002 83B0 sub sp, sp, #12
- 444 .LCFI8:
- 445 .cfi_def_cfa_offset 32
- 446 0004 0546 mov r5, r0
- 447 0006 0C46 mov r4, r1
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** uint32_t tickstart;
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Variables for polling in case of scan mode enabled and polling for each */
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* conversion. */
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __IO uint32_t Conversion_Timeout_CPU_cycles = 0U;
- 448 .loc 1 390 0
- 449 0008 0023 movs r3, #0
- 450 000a 0193 str r3, [sp, #4]
- 451 .LVL30:
- 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** uint32_t Conversion_Timeout_CPU_cycles_max = 0U;
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Check the parameters */
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Get timeout */
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tickstart = HAL_GetTick();
- 452 .loc 1 397 0
- 453 000c FFF7FEFF bl HAL_GetTick
- 454 .LVL31:
- 455 0010 0646 mov r6, r0
- 456 .LVL32:
- 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Polling for end of conversion: differentiation if single/sequence */
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* conversion. */
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* For injected group, flag JEOC is set only at the end of the sequence, */
- 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* not for each conversion within the sequence. */
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - If single conversion for injected group (scan mode disabled or */
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* InjectedNbrOfConversion ==1), flag JEOC is used to determine the */
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* conversion completion. */
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - If sequence conversion for injected group (scan mode enabled and */
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* InjectedNbrOfConversion >=2), flag JEOC is set only at the end of the */
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* sequence. */
-ARM GAS /tmp/ccKNWHXv.s page 17
-
-
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* To poll for each conversion, the maximum conversion time is computed */
- 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* from ADC conversion time (selected sampling time + conversion time of */
- 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* 12.5 ADC clock cycles) and APB2/ADC clock prescalers (depending on */
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* settings, conversion time range can be from 28 to 32256 CPU cycles). */
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* As flag JEOC is not set after each conversion, no timeout status can */
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* be set. */
- 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if ((hadc->Instance->JSQR & ADC_JSQR_JL) == RESET)
- 457 .loc 1 415 0
- 458 0012 2B68 ldr r3, [r5]
- 459 0014 9B6B ldr r3, [r3, #56]
- 460 0016 13F4401F tst r3, #3145728
- 461 001a 16D1 bne .L75
- 462 .LVL33:
- 463 .L51:
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Wait until End of Conversion flag is raised */
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** while(HAL_IS_BIT_CLR(hadc->Instance->SR, ADC_FLAG_JEOC))
- 464 .loc 1 418 0
- 465 001c 2B68 ldr r3, [r5]
- 466 001e 1B68 ldr r3, [r3]
- 467 0020 13F0040F tst r3, #4
- 468 0024 63D1 bne .L55
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Check if timeout is disabled (set to infinite wait) */
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if(Timeout != HAL_MAX_DELAY)
- 469 .loc 1 421 0
- 470 0026 B4F1FF3F cmp r4, #-1
- 471 002a F7D0 beq .L51
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if((Timeout == 0U) || ((HAL_GetTick() - tickstart ) > Timeout))
- 472 .loc 1 423 0
- 473 002c 24B1 cbz r4, .L52
- 474 .loc 1 423 0 is_stmt 0 discriminator 1
- 475 002e FFF7FEFF bl HAL_GetTick
- 476 .LVL34:
- 477 0032 801B subs r0, r0, r6
- 478 0034 8442 cmp r4, r0
- 479 0036 F1D2 bcs .L51
- 480 .L52:
- 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Update ADC state machine to timeout */
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_TIMEOUT);
- 481 .loc 1 426 0 is_stmt 1
- 482 0038 AB6A ldr r3, [r5, #40]
- 483 003a 43F00403 orr r3, r3, #4
- 484 003e AB62 str r3, [r5, #40]
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process unlocked */
- 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
- 485 .loc 1 429 0
- 486 0040 0023 movs r3, #0
- 487 0042 85F82430 strb r3, [r5, #36]
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** return HAL_TIMEOUT;
- 488 .loc 1 431 0
- 489 0046 0320 movs r0, #3
- 490 0048 7DE0 b .L53
-ARM GAS /tmp/ccKNWHXv.s page 18
-
-
- 491 .LVL35:
- 492 .L75:
- 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** else
- 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Replace polling by wait for maximum conversion time */
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - Computation of CPU clock cycles corresponding to ADC clock cycles */
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* and ADC maximum conversion cycles on all channels. */
- 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - Wait for the expected ADC clock cycles delay */
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** Conversion_Timeout_CPU_cycles_max = ((SystemCoreClock
- 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** / HAL_RCCEx_GetPeriphCLKFreq(RCC_PERIPHCLK_ADC))
- 493 .loc 1 443 0
- 494 004a 424B ldr r3, .L77
- 495 004c 1F68 ldr r7, [r3]
- 496 004e 0220 movs r0, #2
- 497 .LVL36:
- 498 0050 FFF7FEFF bl HAL_RCCEx_GetPeriphCLKFreq
- 499 .LVL37:
- 500 0054 B7FBF0F7 udiv r7, r7, r0
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * ADC_CONVCYCLES_MAX_RANGE(hadc) );
- 501 .loc 1 444 0
- 502 0058 2B68 ldr r3, [r5]
- 503 005a 1969 ldr r1, [r3, #16]
- 504 005c 3E4A ldr r2, .L77+4
- 505 005e 1142 tst r1, r2
- 506 0060 0ED1 bne .L56
- 507 .loc 1 444 0 is_stmt 0 discriminator 1
- 508 0062 D968 ldr r1, [r3, #12]
- 509 0064 02F15C42 add r2, r2, #-603979776
- 510 0068 1142 tst r1, r2
- 511 006a 09D1 bne .L56
- 512 .loc 1 444 0 discriminator 3
- 513 006c 1969 ldr r1, [r3, #16]
- 514 006e 3B4A ldr r2, .L77+8
- 515 0070 1142 tst r1, r2
- 516 0072 18D1 bne .L64
- 517 .loc 1 444 0 discriminator 5
- 518 0074 DA68 ldr r2, [r3, #12]
- 519 0076 3A4B ldr r3, .L77+12
- 520 0078 1A42 tst r2, r3
- 521 007a 16D0 beq .L65
- 522 .loc 1 444 0
- 523 007c 2920 movs r0, #41
- 524 007e 19E0 b .L57
- 525 .L56:
- 526 .loc 1 444 0 discriminator 4
- 527 0080 1969 ldr r1, [r3, #16]
- 528 0082 364A ldr r2, .L77+8
- 529 0084 1142 tst r1, r2
- 530 0086 04D1 bne .L58
- 531 .loc 1 444 0 discriminator 11
- 532 0088 D968 ldr r1, [r3, #12]
- 533 008a 02F16E42 add r2, r2, #-301989888
- 534 008e 1142 tst r1, r2
-ARM GAS /tmp/ccKNWHXv.s page 19
-
-
- 535 0090 0DD0 beq .L66
- 536 .L58:
- 537 .loc 1 444 0 discriminator 14
- 538 0092 1969 ldr r1, [r3, #16]
- 539 0094 334A ldr r2, .L77+16
- 540 0096 0A40 ands r2, r2, r1
- 541 0098 5AB9 cbnz r2, .L67
- 542 .loc 1 444 0 discriminator 15
- 543 009a DA68 ldr r2, [r3, #12]
- 544 009c 314B ldr r3, .L77+16
- 545 009e 1340 ands r3, r3, r2
- 546 00a0 5BB1 cbz r3, .L68
- 547 .loc 1 444 0
- 548 00a2 FC20 movs r0, #252
- 549 00a4 06E0 b .L57
- 550 .L64:
- 551 00a6 2920 movs r0, #41
- 552 00a8 04E0 b .L57
- 553 .L65:
- 554 00aa 1420 movs r0, #20
- 555 00ac 02E0 b .L57
- 556 .L66:
- 557 00ae 5420 movs r0, #84
- 558 00b0 00E0 b .L57
- 559 .L67:
- 560 00b2 FC20 movs r0, #252
- 561 .L57:
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** / HAL_RCCEx_GetPeriphCLKFreq(RCC_PERIPHCLK_ADC))
- 562 .loc 1 442 0 is_stmt 1
- 563 00b4 07FB00F7 mul r7, r7, r0
- 564 .LVL38:
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** while(Conversion_Timeout_CPU_cycles < Conversion_Timeout_CPU_cycles_max)
- 565 .loc 1 446 0
- 566 00b8 04E0 b .L59
- 567 .LVL39:
- 568 .L68:
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 569 .loc 1 444 0
- 570 00ba 5420 movs r0, #84
- 571 00bc FAE7 b .L57
- 572 .LVL40:
- 573 .L60:
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Check if timeout is disabled (set to infinite wait) */
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if(Timeout != HAL_MAX_DELAY)
- 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if((Timeout == 0)||((HAL_GetTick() - tickstart ) > Timeout))
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Update ADC state machine to timeout */
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_TIMEOUT);
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process unlocked */
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** return HAL_TIMEOUT;
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-ARM GAS /tmp/ccKNWHXv.s page 20
-
-
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** Conversion_Timeout_CPU_cycles ++;
- 574 .loc 1 462 0
- 575 00be 019B ldr r3, [sp, #4]
- 576 00c0 0133 adds r3, r3, #1
- 577 00c2 0193 str r3, [sp, #4]
- 578 .L59:
- 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 579 .loc 1 446 0
- 580 00c4 019B ldr r3, [sp, #4]
- 581 00c6 9F42 cmp r7, r3
- 582 00c8 11D9 bls .L55
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 583 .loc 1 449 0
- 584 00ca B4F1FF3F cmp r4, #-1
- 585 00ce F6D0 beq .L60
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 586 .loc 1 451 0
- 587 00d0 24B1 cbz r4, .L61
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 588 .loc 1 451 0 is_stmt 0 discriminator 1
- 589 00d2 FFF7FEFF bl HAL_GetTick
- 590 .LVL41:
- 591 00d6 801B subs r0, r0, r6
- 592 00d8 8442 cmp r4, r0
- 593 00da F0D2 bcs .L60
- 594 .L61:
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 595 .loc 1 454 0 is_stmt 1
- 596 00dc AB6A ldr r3, [r5, #40]
- 597 00de 43F00403 orr r3, r3, #4
- 598 00e2 AB62 str r3, [r5, #40]
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 599 .loc 1 457 0
- 600 00e4 0023 movs r3, #0
- 601 00e6 85F82430 strb r3, [r5, #36]
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 602 .loc 1 459 0
- 603 00ea 0320 movs r0, #3
- 604 00ec 2BE0 b .L53
- 605 .LVL42:
- 606 .L55:
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Clear injected group conversion flag */
- 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Note: On STM32F1 ADC, clear regular conversion flag raised */
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* simultaneously. */
- 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_JSTRT | ADC_FLAG_JEOC | ADC_FLAG_EOC);
- 607 .loc 1 469 0
- 608 00ee 2B68 ldr r3, [r5]
- 609 00f0 6FF00E02 mvn r2, #14
- 610 00f4 1A60 str r2, [r3]
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Update ADC state machine */
- 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_INJ_EOC);
- 611 .loc 1 472 0
-ARM GAS /tmp/ccKNWHXv.s page 21
-
-
- 612 00f6 AB6A ldr r3, [r5, #40]
- 613 00f8 43F40053 orr r3, r3, #8192
- 614 00fc AB62 str r3, [r5, #40]
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Determine whether any further conversion upcoming on group injected */
- 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* by external trigger or by automatic injected conversion */
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* from group regular. */
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if(ADC_IS_SOFTWARE_START_INJECTED(hadc) ||
- 615 .loc 1 477 0
- 616 00fe 2A68 ldr r2, [r5]
- 617 0100 9368 ldr r3, [r2, #8]
- 618 0102 03F4E043 and r3, r3, #28672
- 619 0106 B3F5E04F cmp r3, #28672
- 620 010a 0DD0 beq .L63
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) &&
- 621 .loc 1 478 0 discriminator 1
- 622 010c 5368 ldr r3, [r2, #4]
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) &&
- 623 .loc 1 477 0 discriminator 1
- 624 010e 13F4806F tst r3, #1024
- 625 0112 17D1 bne .L69
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
- 626 .loc 1 479 0
- 627 0114 9368 ldr r3, [r2, #8]
- 628 0116 03F46023 and r3, r3, #917504
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) &&
- 629 .loc 1 478 0
- 630 011a B3F5602F cmp r3, #917504
- 631 011e 01D0 beq .L76
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (hadc->Init.ContinuousConvMode == DISABLE) ) ) )
- 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Set ADC state */
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_INJ_BUSY);
- 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_REG_BUSY))
- 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_READY);
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Return ADC state */
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** return HAL_OK;
- 632 .loc 1 492 0
- 633 0120 0020 movs r0, #0
- 634 0122 10E0 b .L53
- 635 .L76:
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (hadc->Init.ContinuousConvMode == DISABLE) ) ) )
- 636 .loc 1 480 0
- 637 0124 2B7B ldrb r3, [r5, #12] @ zero_extendqisi2
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (ADC_IS_SOFTWARE_START_REGULAR(hadc) &&
- 638 .loc 1 479 0
- 639 0126 83B9 cbnz r3, .L71
- 640 .L63:
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 641 .loc 1 483 0
- 642 0128 AB6A ldr r3, [r5, #40]
- 643 012a 23F48053 bic r3, r3, #4096
-ARM GAS /tmp/ccKNWHXv.s page 22
-
-
- 644 012e AB62 str r3, [r5, #40]
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 645 .loc 1 485 0
- 646 0130 AB6A ldr r3, [r5, #40]
- 647 0132 13F4807F tst r3, #256
- 648 0136 0AD1 bne .L72
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 649 .loc 1 487 0
- 650 0138 AB6A ldr r3, [r5, #40]
- 651 013a 43F00103 orr r3, r3, #1
- 652 013e AB62 str r3, [r5, #40]
- 653 .loc 1 492 0
- 654 0140 0020 movs r0, #0
- 655 0142 00E0 b .L53
- 656 .L69:
- 657 0144 0020 movs r0, #0
- 658 .L53:
- 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 659 .loc 1 493 0
- 660 0146 03B0 add sp, sp, #12
- 661 .LCFI9:
- 662 .cfi_remember_state
- 663 .cfi_def_cfa_offset 20
- 664 @ sp needed
- 665 0148 F0BD pop {r4, r5, r6, r7, pc}
- 666 .LVL43:
- 667 .L71:
- 668 .LCFI10:
- 669 .cfi_restore_state
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 670 .loc 1 492 0
- 671 014a 0020 movs r0, #0
- 672 014c FBE7 b .L53
- 673 .L72:
- 674 014e 0020 movs r0, #0
- 675 0150 F9E7 b .L53
- 676 .L78:
- 677 0152 00BF .align 2
- 678 .L77:
- 679 0154 00000000 .word SystemCoreClock
- 680 0158 24499224 .word 613566756
- 681 015c 92244912 .word 306783378
- 682 0160 92244900 .word 4793490
- 683 0164 49922400 .word 2396745
- 684 .cfi_endproc
- 685 .LFE68:
- 687 .section .text.HAL_ADCEx_InjectedStart_IT,"ax",%progbits
- 688 .align 1
- 689 .global HAL_ADCEx_InjectedStart_IT
- 690 .syntax unified
- 691 .thumb
- 692 .thumb_func
- 693 .fpu softvfp
- 695 HAL_ADCEx_InjectedStart_IT:
- 696 .LFB69:
- 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /**
-ARM GAS /tmp/ccKNWHXv.s page 23
-
-
- 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @brief Enables ADC, starts conversion of injected group with interruption.
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * - JEOC (end of conversion of injected group)
- 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * Each of these interruptions has its dedicated callback function.
- 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @param hadc: ADC handle
- 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @retval HAL status.
- 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** */
- 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_InjectedStart_IT(ADC_HandleTypeDef* hadc)
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 697 .loc 1 503 0
- 698 .cfi_startproc
- 699 @ args = 0, pretend = 0, frame = 0
- 700 @ frame_needed = 0, uses_anonymous_args = 0
- 701 .LVL44:
- 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Check the parameters */
- 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
- 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process locked */
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
- 702 .loc 1 510 0
- 703 0000 90F82430 ldrb r3, [r0, #36] @ zero_extendqisi2
- 704 0004 012B cmp r3, #1
- 705 0006 02D1 bne .L93
- 706 0008 0223 movs r3, #2
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Enable the ADC peripheral */
- 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tmp_hal_status = ADC_Enable(hadc);
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Start conversion if ADC is effectively enabled */
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (tmp_hal_status == HAL_OK)
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Set ADC state */
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - Clear state bitfield related to injected group conversion results */
- 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - Set state bitfield related to injected operation */
- 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
- 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_INJ_EOC,
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_INJ_BUSY);
- 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Case of independent mode or multimode (for devices with several ADCs): */
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Set multimode state. */
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (ADC_NONMULTIMODE_OR_MULTIMODEMASTER(hadc))
- 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** CLEAR_BIT(hadc->State, HAL_ADC_STATE_MULTIMODE_SLAVE);
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** else
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_MULTIMODE_SLAVE);
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Check if a regular conversion is ongoing */
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Note: On this device, there is no ADC error code fields related to */
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* conversions on group injected only. In case of conversion on */
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* going on group regular, no error code is reset. */
- 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (HAL_IS_BIT_CLR(hadc->State, HAL_ADC_STATE_REG_BUSY))
- 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Reset ADC all error code fields */
-ARM GAS /tmp/ccKNWHXv.s page 24
-
-
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_CLEAR_ERRORCODE(hadc);
- 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process unlocked */
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Unlock before starting ADC conversions: in case of potential */
- 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* interruption, to let the process to ADC IRQ Handler. */
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Clear injected group conversion flag */
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* (To ensure of no unknown state from potential previous ADC operations) */
- 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_JEOC);
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Enable end of conversion interrupt for injected channels */
- 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_ADC_ENABLE_IT(hadc, ADC_IT_JEOC);
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Start conversion of injected group if software start has been selected */
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* and if automatic injected conversion is disabled. */
- 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* If external trigger has been selected, conversion will start at next */
- 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* trigger event. */
- 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* If automatic injected conversion is enabled, conversion will start */
- 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* after next regular group conversion. */
- 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO))
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (ADC_IS_SOFTWARE_START_INJECTED(hadc) &&
- 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_NONMULTIMODE_OR_MULTIMODEMASTER(hadc) )
- 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Start ADC conversion on injected group with SW start */
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->Instance->CR2, (ADC_CR2_JSWSTART | ADC_CR2_JEXTTRIG));
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** else
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Start ADC conversion on injected group with external trigger */
- 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->Instance->CR2, ADC_CR2_JEXTTRIG);
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** else
- 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process unlocked */
- 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
- 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Return function status */
- 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** return tmp_hal_status;
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 707 .loc 1 587 0
- 708 000a 1846 mov r0, r3
- 709 .LVL45:
- 710 000c 7047 bx lr
- 711 .LVL46:
- 712 .L93:
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 713 .loc 1 503 0 discriminator 2
- 714 000e 10B5 push {r4, lr}
- 715 .LCFI11:
- 716 .cfi_def_cfa_offset 8
- 717 .cfi_offset 4, -8
-ARM GAS /tmp/ccKNWHXv.s page 25
-
-
- 718 .cfi_offset 14, -4
- 719 0010 0446 mov r4, r0
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 720 .loc 1 510 0 discriminator 2
- 721 0012 0123 movs r3, #1
- 722 0014 80F82430 strb r3, [r0, #36]
- 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 723 .loc 1 513 0 discriminator 2
- 724 0018 FFF7FEFF bl ADC_Enable
- 725 .LVL47:
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 726 .loc 1 516 0 discriminator 2
- 727 001c 0346 mov r3, r0
- 728 001e 0028 cmp r0, #0
- 729 0020 4AD1 bne .L81
- 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_INJ_EOC,
- 730 .loc 1 521 0
- 731 0022 A26A ldr r2, [r4, #40]
- 732 0024 22F44052 bic r2, r2, #12288
- 733 0028 22F00102 bic r2, r2, #1
- 734 002c 42F48052 orr r2, r2, #4096
- 735 0030 A262 str r2, [r4, #40]
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 736 .loc 1 527 0
- 737 0032 2168 ldr r1, [r4]
- 738 0034 234A ldr r2, .L97
- 739 0036 9142 cmp r1, r2
- 740 0038 24D0 beq .L94
- 741 .L82:
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 742 .loc 1 529 0
- 743 003a A26A ldr r2, [r4, #40]
- 744 003c 22F48012 bic r2, r2, #1048576
- 745 0040 A262 str r2, [r4, #40]
- 746 .L84:
- 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 747 .loc 1 540 0
- 748 0042 A26A ldr r2, [r4, #40]
- 749 0044 12F4807F tst r2, #256
- 750 0048 01D1 bne .L85
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 751 .loc 1 543 0
- 752 004a 0022 movs r2, #0
- 753 004c E262 str r2, [r4, #44]
- 754 .L85:
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 755 .loc 1 549 0
- 756 004e 0022 movs r2, #0
- 757 0050 84F82420 strb r2, [r4, #36]
- 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 758 .loc 1 553 0
- 759 0054 6FF00402 mvn r2, #4
- 760 0058 0A60 str r2, [r1]
- 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 761 .loc 1 556 0
- 762 005a 2168 ldr r1, [r4]
- 763 005c 4A68 ldr r2, [r1, #4]
-ARM GAS /tmp/ccKNWHXv.s page 26
-
-
- 764 005e 42F08002 orr r2, r2, #128
- 765 0062 4A60 str r2, [r1, #4]
- 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 766 .loc 1 564 0
- 767 0064 2268 ldr r2, [r4]
- 768 0066 5168 ldr r1, [r2, #4]
- 769 0068 11F4806F tst r1, #1024
- 770 006c 27D1 bne .L80
- 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_NONMULTIMODE_OR_MULTIMODEMASTER(hadc) )
- 771 .loc 1 566 0
- 772 006e 9168 ldr r1, [r2, #8]
- 773 0070 01F4E041 and r1, r1, #28672
- 774 0074 B1F5E04F cmp r1, #28672
- 775 0078 0FD0 beq .L95
- 776 .L86:
- 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 777 .loc 1 575 0
- 778 007a 9168 ldr r1, [r2, #8]
- 779 007c 41F40041 orr r1, r1, #32768
- 780 0080 9160 str r1, [r2, #8]
- 781 0082 1CE0 b .L80
- 782 .L94:
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 783 .loc 1 527 0 discriminator 1
- 784 0084 A2F58062 sub r2, r2, #1024
- 785 0088 5268 ldr r2, [r2, #4]
- 786 008a 12F4702F tst r2, #983040
- 787 008e D4D0 beq .L82
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 788 .loc 1 533 0
- 789 0090 A26A ldr r2, [r4, #40]
- 790 0092 42F48012 orr r2, r2, #1048576
- 791 0096 A262 str r2, [r4, #40]
- 792 0098 D3E7 b .L84
- 793 .L95:
- 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_NONMULTIMODE_OR_MULTIMODEMASTER(hadc) )
- 794 .loc 1 566 0 discriminator 1
- 795 009a 0A49 ldr r1, .L97
- 796 009c 8A42 cmp r2, r1
- 797 009e 04D0 beq .L96
- 798 .L87:
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 799 .loc 1 570 0
- 800 00a0 9168 ldr r1, [r2, #8]
- 801 00a2 41F40211 orr r1, r1, #2129920
- 802 00a6 9160 str r1, [r2, #8]
- 803 00a8 09E0 b .L80
- 804 .L96:
- 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 805 .loc 1 567 0 discriminator 2
- 806 00aa A1F58061 sub r1, r1, #1024
- 807 00ae 4968 ldr r1, [r1, #4]
- 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_NONMULTIMODE_OR_MULTIMODEMASTER(hadc) )
- 808 .loc 1 566 0 discriminator 2
- 809 00b0 11F4702F tst r1, #983040
- 810 00b4 E1D1 bne .L86
- 811 00b6 F3E7 b .L87
-ARM GAS /tmp/ccKNWHXv.s page 27
-
-
- 812 .L81:
- 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 813 .loc 1 582 0
- 814 00b8 0022 movs r2, #0
- 815 00ba 84F82420 strb r2, [r4, #36]
- 816 .L80:
- 817 .loc 1 587 0
- 818 00be 1846 mov r0, r3
- 819 .LVL48:
- 820 00c0 10BD pop {r4, pc}
- 821 .LVL49:
- 822 .L98:
- 823 00c2 00BF .align 2
- 824 .L97:
- 825 00c4 00280140 .word 1073817600
- 826 .cfi_endproc
- 827 .LFE69:
- 829 .section .text.HAL_ADCEx_InjectedStop_IT,"ax",%progbits
- 830 .align 1
- 831 .global HAL_ADCEx_InjectedStop_IT
- 832 .syntax unified
- 833 .thumb
- 834 .thumb_func
- 835 .fpu softvfp
- 837 HAL_ADCEx_InjectedStop_IT:
- 838 .LFB70:
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /**
- 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @brief Stop conversion of injected channels, disable interruption of
- 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * end-of-conversion. Disable ADC peripheral if no regular conversion
- 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * is on going.
- 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @note If ADC must be disabled and if conversion is on going on
- 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * regular group, function HAL_ADC_Stop must be used to stop both
- 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * injected and regular groups, and disable the ADC.
- 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @note If injected group mode auto-injection is enabled,
- 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * function HAL_ADC_Stop must be used.
- 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @param hadc: ADC handle
- 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @retval None
- 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** */
- 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_InjectedStop_IT(ADC_HandleTypeDef* hadc)
- 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 839 .loc 1 602 0
- 840 .cfi_startproc
- 841 @ args = 0, pretend = 0, frame = 0
- 842 @ frame_needed = 0, uses_anonymous_args = 0
- 843 .LVL50:
- 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Check the parameters */
- 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
- 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process locked */
- 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
- 844 .loc 1 609 0
- 845 0000 90F82430 ldrb r3, [r0, #36] @ zero_extendqisi2
- 846 0004 012B cmp r3, #1
- 847 0006 2AD0 beq .L103
-ARM GAS /tmp/ccKNWHXv.s page 28
-
-
- 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 848 .loc 1 602 0 discriminator 2
- 849 0008 10B5 push {r4, lr}
- 850 .LCFI12:
- 851 .cfi_def_cfa_offset 8
- 852 .cfi_offset 4, -8
- 853 .cfi_offset 14, -4
- 854 000a 0446 mov r4, r0
- 855 .loc 1 609 0 discriminator 2
- 856 000c 0123 movs r3, #1
- 857 000e 80F82430 strb r3, [r0, #36]
- 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Stop potential conversion and disable ADC peripheral */
- 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Conditioned to: */
- 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - No conversion on the other group (regular group) is intended to */
- 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* continue (injected and regular groups stop conversion and ADC disable */
- 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* are common) */
- 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - In case of auto-injection mode, HAL_ADC_Stop must be used. */
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if(((hadc->State & HAL_ADC_STATE_REG_BUSY) == RESET) &&
- 858 .loc 1 617 0 discriminator 2
- 859 0012 836A ldr r3, [r0, #40]
- 860 0014 13F4807F tst r3, #256
- 861 0018 04D1 bne .L101
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
- 862 .loc 1 618 0 discriminator 1
- 863 001a 0368 ldr r3, [r0]
- 864 001c 5B68 ldr r3, [r3, #4]
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO) )
- 865 .loc 1 617 0 discriminator 1
- 866 001e 13F4806F tst r3, #1024
- 867 0022 09D0 beq .L108
- 868 .L101:
- 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Stop potential conversion on going, on regular and injected groups */
- 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Disable ADC peripheral */
- 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tmp_hal_status = ADC_ConversionStop_Disable(hadc);
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Check if ADC is effectively disabled */
- 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (tmp_hal_status == HAL_OK)
- 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Disable ADC end of conversion interrupt for injected channels */
- 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_ADC_DISABLE_IT(hadc, ADC_IT_JEOC);
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Set ADC state */
- 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
- 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
- 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_READY);
- 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** else
- 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Update ADC state machine to error */
- 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
- 869 .loc 1 639 0
- 870 0024 A36A ldr r3, [r4, #40]
- 871 0026 43F02003 orr r3, r3, #32
- 872 002a A362 str r3, [r4, #40]
-ARM GAS /tmp/ccKNWHXv.s page 29
-
-
- 873 .LVL51:
- 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tmp_hal_status = HAL_ERROR;
- 874 .loc 1 641 0
- 875 002c 0123 movs r3, #1
- 876 .LVL52:
- 877 .L102:
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process unlocked */
- 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
- 878 .loc 1 645 0
- 879 002e 0022 movs r2, #0
- 880 0030 84F82420 strb r2, [r4, #36]
- 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Return function status */
- 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** return tmp_hal_status;
- 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 881 .loc 1 649 0
- 882 0034 1846 mov r0, r3
- 883 0036 10BD pop {r4, pc}
- 884 .LVL53:
- 885 .L108:
- 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 886 .loc 1 622 0
- 887 0038 FFF7FEFF bl ADC_ConversionStop_Disable
- 888 .LVL54:
- 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 889 .loc 1 625 0
- 890 003c 0346 mov r3, r0
- 891 003e 0028 cmp r0, #0
- 892 0040 F5D1 bne .L102
- 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 893 .loc 1 628 0
- 894 0042 2168 ldr r1, [r4]
- 895 0044 4A68 ldr r2, [r1, #4]
- 896 0046 22F08002 bic r2, r2, #128
- 897 004a 4A60 str r2, [r1, #4]
- 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
- 898 .loc 1 631 0
- 899 004c A26A ldr r2, [r4, #40]
- 900 004e 22F48852 bic r2, r2, #4352
- 901 0052 22F00102 bic r2, r2, #1
- 902 0056 42F00102 orr r2, r2, #1
- 903 005a A262 str r2, [r4, #40]
- 904 005c E7E7 b .L102
- 905 .LVL55:
- 906 .L103:
- 907 .LCFI13:
- 908 .cfi_def_cfa_offset 0
- 909 .cfi_restore 4
- 910 .cfi_restore 14
- 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 911 .loc 1 609 0
- 912 005e 0223 movs r3, #2
- 913 .loc 1 649 0
- 914 0060 1846 mov r0, r3
-ARM GAS /tmp/ccKNWHXv.s page 30
-
-
- 915 .LVL56:
- 916 0062 7047 bx lr
- 917 .cfi_endproc
- 918 .LFE70:
- 920 .section .text.HAL_ADCEx_MultiModeStart_DMA,"ax",%progbits
- 921 .align 1
- 922 .global HAL_ADCEx_MultiModeStart_DMA
- 923 .syntax unified
- 924 .thumb
- 925 .thumb_func
- 926 .fpu softvfp
- 928 HAL_ADCEx_MultiModeStart_DMA:
- 929 .LFB71:
- 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** #if defined (STM32F103x6) || defined (STM32F103xB) || defined (STM32F105xC) || defined (STM32F107xC
- 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /**
- 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @brief Enables ADC, starts conversion of regular group and transfers result
- 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * through DMA.
- 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * Multimode must have been previously configured using
- 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * HAL_ADCEx_MultiModeConfigChannel() function.
- 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * Interruptions enabled in this function:
- 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * - DMA transfer complete
- 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * - DMA half transfer
- 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * Each of these interruptions has its dedicated callback function.
- 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @note: On STM32F1 devices, ADC slave regular group must be configured
- 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * with conversion trigger ADC_SOFTWARE_START.
- 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @note: ADC slave can be enabled preliminarily using single-mode
- 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * HAL_ADC_Start() function.
- 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @param hadc: ADC handle of ADC master (handle of ADC slave must not be used)
- 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @param pData: The destination Buffer address.
- 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @param Length: The length of data to be transferred from ADC peripheral to memory.
- 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @retval None
- 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** */
- 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_MultiModeStart_DMA(ADC_HandleTypeDef* hadc, uint32_t* pData, uint32_t L
- 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 930 .loc 1 671 0
- 931 .cfi_startproc
- 932 @ args = 0, pretend = 0, frame = 48
- 933 @ frame_needed = 0, uses_anonymous_args = 0
- 934 .LVL57:
- 935 0000 F0B5 push {r4, r5, r6, r7, lr}
- 936 .LCFI14:
- 937 .cfi_def_cfa_offset 20
- 938 .cfi_offset 4, -20
- 939 .cfi_offset 5, -16
- 940 .cfi_offset 6, -12
- 941 .cfi_offset 7, -8
- 942 .cfi_offset 14, -4
- 943 0002 8DB0 sub sp, sp, #52
- 944 .LCFI15:
- 945 .cfi_def_cfa_offset 72
- 946 .LVL58:
- 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_HandleTypeDef tmphadcSlave;
- 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Check the parameters */
- 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** assert_param(IS_ADC_MULTIMODE_MASTER_INSTANCE(hadc->Instance));
-ARM GAS /tmp/ccKNWHXv.s page 31
-
-
- 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** assert_param(IS_FUNCTIONAL_STATE(hadc->Init.ContinuousConvMode));
- 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process locked */
- 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
- 947 .loc 1 680 0
- 948 0004 90F82440 ldrb r4, [r0, #36] @ zero_extendqisi2
- 949 0008 012C cmp r4, #1
- 950 000a 67D0 beq .L116
- 951 .loc 1 680 0 is_stmt 0 discriminator 2
- 952 000c 0124 movs r4, #1
- 953 000e 80F82440 strb r4, [r0, #36]
- 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Set a temporary handle of the ADC slave associated to the ADC master */
- 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_MULTI_SLAVE(hadc, &tmphadcSlave);
- 954 .loc 1 683 0 is_stmt 1 discriminator 2
- 955 0012 334C ldr r4, .L120
- 956 0014 0094 str r4, [sp]
- 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* On STM32F1 devices, ADC slave regular group must be configured with */
- 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* conversion trigger ADC_SOFTWARE_START. */
- 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Note: External trigger of ADC slave must be enabled, it is already done */
- 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* into function "HAL_ADC_Init()". */
- 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if(!ADC_IS_SOFTWARE_START_REGULAR(&tmphadcSlave))
- 957 .loc 1 689 0 discriminator 2
- 958 0016 A468 ldr r4, [r4, #8]
- 959 0018 04F46024 and r4, r4, #917504
- 960 001c B4F5602F cmp r4, #917504
- 961 0020 0AD0 beq .L111
- 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Update ADC state machine to error */
- 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
- 962 .loc 1 692 0
- 963 0022 836A ldr r3, [r0, #40]
- 964 0024 43F02003 orr r3, r3, #32
- 965 0028 8362 str r3, [r0, #40]
- 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process unlocked */
- 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
- 966 .loc 1 695 0
- 967 002a 0023 movs r3, #0
- 968 002c 80F82430 strb r3, [r0, #36]
- 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** return HAL_ERROR;
- 969 .loc 1 697 0
- 970 0030 0124 movs r4, #1
- 971 .LVL59:
- 972 .L110:
- 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Enable the ADC peripherals: master and slave (in case if not already */
- 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* enabled previously) */
- 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tmp_hal_status = ADC_Enable(hadc);
- 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (tmp_hal_status == HAL_OK)
- 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tmp_hal_status = ADC_Enable(&tmphadcSlave);
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-ARM GAS /tmp/ccKNWHXv.s page 32
-
-
- 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Start conversion if all ADCs of multimode are effectively enabled */
- 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (tmp_hal_status == HAL_OK)
- 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Set ADC state (ADC master) */
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - Clear state bitfield related to regular group conversion results */
- 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - Set state bitfield related to regular operation */
- 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
- 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC | HAL_ADC_STATE_MULTIMODE_SLAVE,
- 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY);
- 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* If conversions on group regular are also triggering group injected, */
- 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* update ADC state. */
- 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (READ_BIT(hadc->Instance->CR1, ADC_CR1_JAUTO) != RESET)
- 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State, HAL_ADC_STATE_INJ_EOC, HAL_ADC_STATE_INJ_BUSY);
- 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process unlocked */
- 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Unlock before starting ADC conversions: in case of potential */
- 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* interruption, to let the process to ADC IRQ Handler. */
- 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
- 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Set ADC error code to none */
- 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_CLEAR_ERRORCODE(hadc);
- 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Set the DMA transfer complete callback */
- 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** hadc->DMA_Handle->XferCpltCallback = ADC_DMAConvCplt;
- 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Set the DMA half transfer complete callback */
- 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** hadc->DMA_Handle->XferHalfCpltCallback = ADC_DMAHalfConvCplt;
- 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Set the DMA error callback */
- 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** hadc->DMA_Handle->XferErrorCallback = ADC_DMAError;
- 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Manage ADC and DMA start: ADC overrun interruption, DMA start, ADC */
- 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* start (in case of SW start): */
- 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Clear regular group conversion flag and overrun flag */
- 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* (To ensure of no unknown state from potential previous ADC operations) */
- 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_ADC_CLEAR_FLAG(hadc, ADC_FLAG_EOC);
- 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Enable ADC DMA mode of ADC master */
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->Instance->CR2, ADC_CR2_DMA);
- 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Start the DMA channel */
- 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_DMA_Start_IT(hadc->DMA_Handle, (uint32_t)&hadc->Instance->DR, (uint32_t)pData, Length);
- 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Start conversion of regular group if software start has been selected. */
- 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* If external trigger has been selected, conversion will start at next */
- 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* trigger event. */
- 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Note: Alternate trigger for single conversion could be to force an */
- 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* additional set of bit ADON "hadc->Instance->CR2 |= ADC_CR2_ADON;"*/
- 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (ADC_IS_SOFTWARE_START_REGULAR(hadc))
- 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Start ADC conversion on regular group with SW start */
-ARM GAS /tmp/ccKNWHXv.s page 33
-
-
- 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->Instance->CR2, (ADC_CR2_SWSTART | ADC_CR2_EXTTRIG));
- 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** else
- 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Start ADC conversion on regular group with external trigger */
- 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->Instance->CR2, ADC_CR2_EXTTRIG);
- 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** else
- 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process unlocked */
- 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
- 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Return function status */
- 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** return tmp_hal_status;
- 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 973 .loc 1 781 0
- 974 0032 2046 mov r0, r4
- 975 0034 0DB0 add sp, sp, #52
- 976 .LCFI16:
- 977 .cfi_remember_state
- 978 .cfi_def_cfa_offset 20
- 979 @ sp needed
- 980 0036 F0BD pop {r4, r5, r6, r7, pc}
- 981 .LVL60:
- 982 .L111:
- 983 .LCFI17:
- 984 .cfi_restore_state
- 985 0038 1646 mov r6, r2
- 986 003a 0D46 mov r5, r1
- 987 003c 0746 mov r7, r0
- 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (tmp_hal_status == HAL_OK)
- 988 .loc 1 702 0
- 989 003e FFF7FEFF bl ADC_Enable
- 990 .LVL61:
- 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 991 .loc 1 703 0
- 992 0042 0446 mov r4, r0
- 993 0044 0028 cmp r0, #0
- 994 0046 3BD0 beq .L118
- 995 .LVL62:
- 996 .L112:
- 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 997 .loc 1 709 0
- 998 0048 002C cmp r4, #0
- 999 004a 43D1 bne .L113
- 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_READY | HAL_ADC_STATE_REG_EOC | HAL_ADC_STATE_MULTIMODE_SLAVE,
- 1000 .loc 1 714 0
- 1001 004c BA6A ldr r2, [r7, #40]
- 1002 004e 254B ldr r3, .L120+4
- 1003 0050 1340 ands r3, r3, r2
- 1004 0052 43F48073 orr r3, r3, #256
- 1005 0056 BB62 str r3, [r7, #40]
- 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 1006 .loc 1 720 0
- 1007 0058 3B68 ldr r3, [r7]
-ARM GAS /tmp/ccKNWHXv.s page 34
-
-
- 1008 005a 5B68 ldr r3, [r3, #4]
- 1009 005c 13F4806F tst r3, #1024
- 1010 0060 05D0 beq .L114
- 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 1011 .loc 1 722 0
- 1012 0062 BB6A ldr r3, [r7, #40]
- 1013 0064 23F44053 bic r3, r3, #12288
- 1014 0068 43F48053 orr r3, r3, #4096
- 1015 006c BB62 str r3, [r7, #40]
- 1016 .L114:
- 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1017 .loc 1 728 0
- 1018 006e 0023 movs r3, #0
- 1019 0070 87F82430 strb r3, [r7, #36]
- 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1020 .loc 1 731 0
- 1021 0074 FB62 str r3, [r7, #44]
- 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1022 .loc 1 735 0
- 1023 0076 3B6A ldr r3, [r7, #32]
- 1024 0078 1B4A ldr r2, .L120+8
- 1025 007a 9A62 str r2, [r3, #40]
- 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1026 .loc 1 738 0
- 1027 007c 3B6A ldr r3, [r7, #32]
- 1028 007e 1B4A ldr r2, .L120+12
- 1029 0080 DA62 str r2, [r3, #44]
- 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1030 .loc 1 741 0
- 1031 0082 3B6A ldr r3, [r7, #32]
- 1032 0084 1A4A ldr r2, .L120+16
- 1033 0086 1A63 str r2, [r3, #48]
- 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1034 .loc 1 749 0
- 1035 0088 3B68 ldr r3, [r7]
- 1036 008a 6FF00202 mvn r2, #2
- 1037 008e 1A60 str r2, [r3]
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1038 .loc 1 752 0
- 1039 0090 3A68 ldr r2, [r7]
- 1040 0092 9368 ldr r3, [r2, #8]
- 1041 0094 43F48073 orr r3, r3, #256
- 1042 0098 9360 str r3, [r2, #8]
- 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1043 .loc 1 755 0
- 1044 009a 3968 ldr r1, [r7]
- 1045 009c 3346 mov r3, r6
- 1046 009e 2A46 mov r2, r5
- 1047 00a0 4C31 adds r1, r1, #76
- 1048 00a2 386A ldr r0, [r7, #32]
- 1049 00a4 FFF7FEFF bl HAL_DMA_Start_IT
- 1050 .LVL63:
- 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 1051 .loc 1 762 0
- 1052 00a8 3B68 ldr r3, [r7]
- 1053 00aa 9A68 ldr r2, [r3, #8]
- 1054 00ac 02F46022 and r2, r2, #917504
-ARM GAS /tmp/ccKNWHXv.s page 35
-
-
- 1055 00b0 B2F5602F cmp r2, #917504
- 1056 00b4 09D0 beq .L119
- 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 1057 .loc 1 770 0
- 1058 00b6 9A68 ldr r2, [r3, #8]
- 1059 00b8 42F48012 orr r2, r2, #1048576
- 1060 00bc 9A60 str r2, [r3, #8]
- 1061 00be B8E7 b .L110
- 1062 .LVL64:
- 1063 .L118:
- 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 1064 .loc 1 705 0
- 1065 00c0 6846 mov r0, sp
- 1066 .LVL65:
- 1067 00c2 FFF7FEFF bl ADC_Enable
- 1068 .LVL66:
- 1069 00c6 0446 mov r4, r0
- 1070 .LVL67:
- 1071 00c8 BEE7 b .L112
- 1072 .L119:
- 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 1073 .loc 1 765 0
- 1074 00ca 9A68 ldr r2, [r3, #8]
- 1075 00cc 42F4A002 orr r2, r2, #5242880
- 1076 00d0 9A60 str r2, [r3, #8]
- 1077 00d2 AEE7 b .L110
- 1078 .L113:
- 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 1079 .loc 1 776 0
- 1080 00d4 0023 movs r3, #0
- 1081 00d6 87F82430 strb r3, [r7, #36]
- 1082 00da AAE7 b .L110
- 1083 .LVL68:
- 1084 .L116:
- 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1085 .loc 1 680 0
- 1086 00dc 0224 movs r4, #2
- 1087 00de A8E7 b .L110
- 1088 .L121:
- 1089 .align 2
- 1090 .L120:
- 1091 00e0 00280140 .word 1073817600
- 1092 00e4 FEFCEFFF .word -1049346
- 1093 00e8 00000000 .word ADC_DMAConvCplt
- 1094 00ec 00000000 .word ADC_DMAHalfConvCplt
- 1095 00f0 00000000 .word ADC_DMAError
- 1096 .cfi_endproc
- 1097 .LFE71:
- 1099 .section .text.HAL_ADCEx_MultiModeStop_DMA,"ax",%progbits
- 1100 .align 1
- 1101 .global HAL_ADCEx_MultiModeStop_DMA
- 1102 .syntax unified
- 1103 .thumb
- 1104 .thumb_func
- 1105 .fpu softvfp
- 1107 HAL_ADCEx_MultiModeStop_DMA:
- 1108 .LFB72:
-ARM GAS /tmp/ccKNWHXv.s page 36
-
-
- 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /**
- 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @brief Stop ADC conversion of regular group (and injected channels in
- 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * case of auto_injection mode), disable ADC DMA transfer, disable
- 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * ADC peripheral.
- 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @note Multimode is kept enabled after this function. To disable multimode
- 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * (set with HAL_ADCEx_MultiModeConfigChannel(), ADC must be
- 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * reinitialized using HAL_ADC_Init() or HAL_ADC_ReInit().
- 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @note In case of DMA configured in circular mode, function
- 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * HAL_ADC_Stop_DMA must be called after this function with handle of
- 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * ADC slave, to properly disable the DMA channel.
- 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @param hadc: ADC handle of ADC master (handle of ADC slave must not be used)
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @retval None
- 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** */
- 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_MultiModeStop_DMA(ADC_HandleTypeDef* hadc)
- 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 1109 .loc 1 797 0
- 1110 .cfi_startproc
- 1111 @ args = 0, pretend = 0, frame = 48
- 1112 @ frame_needed = 0, uses_anonymous_args = 0
- 1113 .LVL69:
- 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_HandleTypeDef tmphadcSlave;
- 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Check the parameters */
- 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** assert_param(IS_ADC_MULTIMODE_MASTER_INSTANCE(hadc->Instance));
- 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process locked */
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
- 1114 .loc 1 805 0
- 1115 0000 90F82430 ldrb r3, [r0, #36] @ zero_extendqisi2
- 1116 0004 012B cmp r3, #1
- 1117 0006 02D1 bne .L131
- 1118 0008 0223 movs r3, #2
- 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Stop potential conversion on going, on regular and injected groups */
- 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Disable ADC master peripheral */
- 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tmp_hal_status = ADC_ConversionStop_Disable(hadc);
- 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Check if ADC is effectively disabled */
- 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if(tmp_hal_status == HAL_OK)
- 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Set a temporary handle of the ADC slave associated to the ADC master */
- 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_MULTI_SLAVE(hadc, &tmphadcSlave);
- 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Disable ADC slave peripheral */
- 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tmp_hal_status = ADC_ConversionStop_Disable(&tmphadcSlave);
- 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Check if ADC is effectively disabled */
- 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if(tmp_hal_status != HAL_OK)
- 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Update ADC state machine to error */
- 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_INTERNAL);
- 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process unlocked */
- 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
-ARM GAS /tmp/ccKNWHXv.s page 37
-
-
- 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** return HAL_ERROR;
- 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Disable ADC DMA mode */
- 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** CLEAR_BIT(hadc->Instance->CR2, ADC_CR2_DMA);
- 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Reset configuration of ADC DMA continuous request for dual mode */
- 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** CLEAR_BIT(hadc->Instance->CR1, ADC_CR1_DUALMOD);
- 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Disable the DMA channel (in case of DMA in circular mode or stop while */
- 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* while DMA transfer is on going) */
- 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tmp_hal_status = HAL_DMA_Abort(hadc->DMA_Handle);
- 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Change ADC state (ADC master) */
- 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_STATE_CLR_SET(hadc->State,
- 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
- 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_READY);
- 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process unlocked */
- 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
- 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Return function status */
- 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** return tmp_hal_status;
- 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 1119 .loc 1 854 0
- 1120 000a 1846 mov r0, r3
- 1121 .LVL70:
- 1122 000c 7047 bx lr
- 1123 .LVL71:
- 1124 .L131:
- 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 1125 .loc 1 797 0 discriminator 2
- 1126 000e 10B5 push {r4, lr}
- 1127 .LCFI18:
- 1128 .cfi_def_cfa_offset 8
- 1129 .cfi_offset 4, -8
- 1130 .cfi_offset 14, -4
- 1131 0010 8CB0 sub sp, sp, #48
- 1132 .LCFI19:
- 1133 .cfi_def_cfa_offset 56
- 1134 0012 0446 mov r4, r0
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1135 .loc 1 805 0 discriminator 2
- 1136 0014 0123 movs r3, #1
- 1137 0016 80F82430 strb r3, [r0, #36]
- 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1138 .loc 1 810 0 discriminator 2
- 1139 001a FFF7FEFF bl ADC_ConversionStop_Disable
- 1140 .LVL72:
- 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 1141 .loc 1 813 0 discriminator 2
- 1142 001e 0346 mov r3, r0
- 1143 0020 28B1 cbz r0, .L132
- 1144 .LVL73:
- 1145 .L124:
-ARM GAS /tmp/ccKNWHXv.s page 38
-
-
- 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1146 .loc 1 850 0
- 1147 0022 0022 movs r2, #0
- 1148 0024 84F82420 strb r2, [r4, #36]
- 1149 .LVL74:
- 1150 .L123:
- 1151 .loc 1 854 0
- 1152 0028 1846 mov r0, r3
- 1153 002a 0CB0 add sp, sp, #48
- 1154 .LCFI20:
- 1155 .cfi_remember_state
- 1156 .cfi_def_cfa_offset 8
- 1157 @ sp needed
- 1158 002c 10BD pop {r4, pc}
- 1159 .LVL75:
- 1160 .L132:
- 1161 .LCFI21:
- 1162 .cfi_restore_state
- 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1163 .loc 1 816 0
- 1164 002e 0CA8 add r0, sp, #48
- 1165 .LVL76:
- 1166 0030 124B ldr r3, .L133
- 1167 0032 40F8303D str r3, [r0, #-48]!
- 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1168 .loc 1 819 0
- 1169 0036 FFF7FEFF bl ADC_ConversionStop_Disable
- 1170 .LVL77:
- 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 1171 .loc 1 822 0
- 1172 003a 40B1 cbz r0, .L125
- 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1173 .loc 1 825 0
- 1174 003c A36A ldr r3, [r4, #40]
- 1175 003e 43F01003 orr r3, r3, #16
- 1176 0042 A362 str r3, [r4, #40]
- 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1177 .loc 1 828 0
- 1178 0044 0023 movs r3, #0
- 1179 0046 84F82430 strb r3, [r4, #36]
- 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 1180 .loc 1 830 0
- 1181 004a 0123 movs r3, #1
- 1182 004c ECE7 b .L123
- 1183 .L125:
- 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1184 .loc 1 834 0
- 1185 004e 2268 ldr r2, [r4]
- 1186 0050 9368 ldr r3, [r2, #8]
- 1187 0052 23F48073 bic r3, r3, #256
- 1188 0056 9360 str r3, [r2, #8]
- 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1189 .loc 1 837 0
- 1190 0058 2268 ldr r2, [r4]
- 1191 005a 5368 ldr r3, [r2, #4]
- 1192 005c 23F47023 bic r3, r3, #983040
- 1193 0060 5360 str r3, [r2, #4]
-ARM GAS /tmp/ccKNWHXv.s page 39
-
-
- 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1194 .loc 1 841 0
- 1195 0062 206A ldr r0, [r4, #32]
- 1196 .LVL78:
- 1197 0064 FFF7FEFF bl HAL_DMA_Abort
- 1198 .LVL79:
- 1199 0068 0346 mov r3, r0
- 1200 .LVL80:
- 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_ADC_STATE_REG_BUSY | HAL_ADC_STATE_INJ_BUSY,
- 1201 .loc 1 844 0
- 1202 006a A26A ldr r2, [r4, #40]
- 1203 006c 22F48852 bic r2, r2, #4352
- 1204 0070 22F00102 bic r2, r2, #1
- 1205 0074 42F00102 orr r2, r2, #1
- 1206 0078 A262 str r2, [r4, #40]
- 1207 007a D2E7 b .L124
- 1208 .L134:
- 1209 .align 2
- 1210 .L133:
- 1211 007c 00280140 .word 1073817600
- 1212 .cfi_endproc
- 1213 .LFE72:
- 1215 .section .text.HAL_ADCEx_InjectedGetValue,"ax",%progbits
- 1216 .align 1
- 1217 .global HAL_ADCEx_InjectedGetValue
- 1218 .syntax unified
- 1219 .thumb
- 1220 .thumb_func
- 1221 .fpu softvfp
- 1223 HAL_ADCEx_InjectedGetValue:
- 1224 .LFB73:
- 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** #endif /* defined STM32F103x6 || defined STM32F103xB || defined STM32F105xC || defined STM32F107xC
- 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /**
- 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @brief Get ADC injected group conversion result.
- 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @note Reading register JDRx automatically clears ADC flag JEOC
- 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * (ADC group injected end of unitary conversion).
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @note This function does not clear ADC flag JEOS
- 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * (ADC group injected end of sequence conversion)
- 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * Occurrence of flag JEOS rising:
- 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * - If sequencer is composed of 1 rank, flag JEOS is equivalent
- 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * to flag JEOC.
- 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * - If sequencer is composed of several ranks, during the scan
- 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * sequence flag JEOC only is raised, at the end of the scan sequence
- 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * both flags JEOC and EOS are raised.
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * Flag JEOS must not be cleared by this function because
- 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * it would not be compliant with low power features
- 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * (feature low power auto-wait, not available on all STM32 families).
- 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * To clear this flag, either use function:
- 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * in programming model IT: @ref HAL_ADC_IRQHandler(), in programming
- 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * model polling: @ref HAL_ADCEx_InjectedPollForConversion()
- 875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * or @ref __HAL_ADC_CLEAR_FLAG(&hadc, ADC_FLAG_JEOS).
- 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @param hadc: ADC handle
- 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @param InjectedRank: the converted ADC injected rank.
- 878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * This parameter can be one of the following values:
- 879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @arg ADC_INJECTED_RANK_1: Injected Channel1 selected
- 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @arg ADC_INJECTED_RANK_2: Injected Channel2 selected
-ARM GAS /tmp/ccKNWHXv.s page 40
-
-
- 881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @arg ADC_INJECTED_RANK_3: Injected Channel3 selected
- 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @arg ADC_INJECTED_RANK_4: Injected Channel4 selected
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @retval ADC group injected conversion data
- 884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** */
- 885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** uint32_t HAL_ADCEx_InjectedGetValue(ADC_HandleTypeDef* hadc, uint32_t InjectedRank)
- 886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 1225 .loc 1 886 0
- 1226 .cfi_startproc
- 1227 @ args = 0, pretend = 0, frame = 0
- 1228 @ frame_needed = 0, uses_anonymous_args = 0
- 1229 @ link register save eliminated.
- 1230 .LVL81:
- 887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** uint32_t tmp_jdr = 0U;
- 888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Check the parameters */
- 890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
- 891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** assert_param(IS_ADC_INJECTED_RANK(InjectedRank));
- 892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Get ADC converted value */
- 894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** switch(InjectedRank)
- 1231 .loc 1 894 0
- 1232 0000 0329 cmp r1, #3
- 1233 0002 09D0 beq .L137
- 1234 0004 0429 cmp r1, #4
- 1235 0006 04D0 beq .L138
- 1236 0008 0229 cmp r1, #2
- 1237 000a 08D0 beq .L142
- 895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_4:
- 897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tmp_jdr = hadc->Instance->JDR4;
- 898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** break;
- 899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_3:
- 900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tmp_jdr = hadc->Instance->JDR3;
- 901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** break;
- 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_2:
- 903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tmp_jdr = hadc->Instance->JDR2;
- 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** break;
- 905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_1:
- 906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** default:
- 907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tmp_jdr = hadc->Instance->JDR1;
- 1238 .loc 1 907 0
- 1239 000c 0368 ldr r3, [r0]
- 1240 000e D86B ldr r0, [r3, #60]
- 1241 .LVL82:
- 908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** break;
- 909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Return ADC converted value */
- 912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** return tmp_jdr;
- 913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 1242 .loc 1 913 0
- 1243 0010 7047 bx lr
- 1244 .LVL83:
- 1245 .L138:
- 897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** break;
- 1246 .loc 1 897 0
- 1247 0012 0368 ldr r3, [r0]
-ARM GAS /tmp/ccKNWHXv.s page 41
-
-
- 1248 0014 986C ldr r0, [r3, #72]
- 1249 .LVL84:
- 898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_3:
- 1250 .loc 1 898 0
- 1251 0016 7047 bx lr
- 1252 .LVL85:
- 1253 .L137:
- 900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** break;
- 1254 .loc 1 900 0
- 1255 0018 0368 ldr r3, [r0]
- 1256 001a 586C ldr r0, [r3, #68]
- 1257 .LVL86:
- 901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_2:
- 1258 .loc 1 901 0
- 1259 001c 7047 bx lr
- 1260 .LVL87:
- 1261 .L142:
- 903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** break;
- 1262 .loc 1 903 0
- 1263 001e 0368 ldr r3, [r0]
- 1264 0020 186C ldr r0, [r3, #64]
- 1265 .LVL88:
- 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** case ADC_INJECTED_RANK_1:
- 1266 .loc 1 904 0
- 1267 0022 7047 bx lr
- 1268 .cfi_endproc
- 1269 .LFE73:
- 1271 .section .text.HAL_ADCEx_MultiModeGetValue,"ax",%progbits
- 1272 .align 1
- 1273 .global HAL_ADCEx_MultiModeGetValue
- 1274 .syntax unified
- 1275 .thumb
- 1276 .thumb_func
- 1277 .fpu softvfp
- 1279 HAL_ADCEx_MultiModeGetValue:
- 1280 .LFB74:
- 914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** #if defined (STM32F103x6) || defined (STM32F103xB) || defined (STM32F105xC) || defined (STM32F107xC
- 916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /**
- 917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @brief Returns the last ADC Master&Slave regular conversions results data
- 918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * in the selected multi mode.
- 919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @param hadc: ADC handle of ADC master (handle of ADC slave must not be used)
- 920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @retval The converted data value.
- 921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** */
- 922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** uint32_t HAL_ADCEx_MultiModeGetValue(ADC_HandleTypeDef* hadc)
- 923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 1281 .loc 1 923 0
- 1282 .cfi_startproc
- 1283 @ args = 0, pretend = 0, frame = 0
- 1284 @ frame_needed = 0, uses_anonymous_args = 0
- 1285 @ link register save eliminated.
- 1286 .LVL89:
- 924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** uint32_t tmpDR = 0U;
- 925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Check the parameters */
- 927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** assert_param(IS_ADC_MULTIMODE_MASTER_INSTANCE(hadc->Instance));
- 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-ARM GAS /tmp/ccKNWHXv.s page 42
-
-
- 929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Check the parameters */
- 930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
- 931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Note: EOC flag is not cleared here by software because automatically */
- 933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* cleared by hardware when reading register DR. */
- 934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* On STM32F1 devices, ADC1 data register DR contains ADC2 conversions */
- 936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* only if ADC1 DMA mode is enabled. */
- 937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tmpDR = hadc->Instance->DR;
- 1287 .loc 1 937 0
- 1288 0000 0368 ldr r3, [r0]
- 1289 0002 D86C ldr r0, [r3, #76]
- 1290 .LVL90:
- 938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (HAL_IS_BIT_CLR(ADC1->CR2, ADC_CR2_DMA))
- 1291 .loc 1 939 0
- 1292 0004 044B ldr r3, .L145
- 1293 0006 9B68 ldr r3, [r3, #8]
- 1294 0008 13F4807F tst r3, #256
- 1295 000c 03D1 bne .L143
- 940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tmpDR |= (ADC2->DR << 16U);
- 1296 .loc 1 941 0
- 1297 000e 034B ldr r3, .L145+4
- 1298 0010 DB6C ldr r3, [r3, #76]
- 1299 0012 40EA0340 orr r0, r0, r3, lsl #16
- 1300 .LVL91:
- 1301 .L143:
- 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Return ADC converted value */
- 945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** return tmpDR;
- 946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 1302 .loc 1 946 0
- 1303 0016 7047 bx lr
- 1304 .L146:
- 1305 .align 2
- 1306 .L145:
- 1307 0018 00240140 .word 1073816576
- 1308 001c 00280140 .word 1073817600
- 1309 .cfi_endproc
- 1310 .LFE74:
- 1312 .section .text.HAL_ADCEx_InjectedConvCpltCallback,"ax",%progbits
- 1313 .align 1
- 1314 .weak HAL_ADCEx_InjectedConvCpltCallback
- 1315 .syntax unified
- 1316 .thumb
- 1317 .thumb_func
- 1318 .fpu softvfp
- 1320 HAL_ADCEx_InjectedConvCpltCallback:
- 1321 .LFB75:
- 947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** #endif /* defined STM32F103x6 || defined STM32F103xB || defined STM32F105xC || defined STM32F107xC
- 948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /**
- 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @brief Injected conversion complete callback in non blocking mode
- 951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @param hadc: ADC handle
- 952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @retval None
-ARM GAS /tmp/ccKNWHXv.s page 43
-
-
- 953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** */
- 954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __weak void HAL_ADCEx_InjectedConvCpltCallback(ADC_HandleTypeDef* hadc)
- 955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 1322 .loc 1 955 0
- 1323 .cfi_startproc
- 1324 @ args = 0, pretend = 0, frame = 0
- 1325 @ frame_needed = 0, uses_anonymous_args = 0
- 1326 @ link register save eliminated.
- 1327 .LVL92:
- 1328 0000 7047 bx lr
- 1329 .cfi_endproc
- 1330 .LFE75:
- 1332 .section .text.HAL_ADCEx_InjectedConfigChannel,"ax",%progbits
- 1333 .align 1
- 1334 .global HAL_ADCEx_InjectedConfigChannel
- 1335 .syntax unified
- 1336 .thumb
- 1337 .thumb_func
- 1338 .fpu softvfp
- 1340 HAL_ADCEx_InjectedConfigChannel:
- 1341 .LFB76:
- 956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Prevent unused argument(s) compilation warning */
- 957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** UNUSED(hadc);
- 958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* NOTE : This function Should not be modified, when the callback is needed,
- 959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** the HAL_ADCEx_InjectedConvCpltCallback could be implemented in the user file
- 960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** */
- 961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /**
- 964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @}
- 965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** */
- 966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /** @defgroup ADCEx_Exported_Functions_Group2 Extended Peripheral Control functions
- 968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @brief Extended Peripheral Control functions
- 969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** *
- 970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** @verbatim
- 971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ===============================================================================
- 972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ##### Peripheral Control functions #####
- 973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ===============================================================================
- 974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** [..] This section provides functions allowing to:
- 975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (+) Configure channels on injected group
- 976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (+) Configure multimode
- 977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** @endverbatim
- 979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @{
- 980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** */
- 981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /**
- 983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @brief Configures the ADC injected group and the selected channel to be
- 984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * linked to the injected group.
- 985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @note Possibility to update parameters on the fly:
- 986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * This function initializes injected group, following calls to this
- 987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * function can be used to reconfigure some parameters of structure
- 988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * "ADC_InjectionConfTypeDef" on the fly, without reseting the ADC.
- 989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * The setting of these parameters is conditioned to ADC state:
- 990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * this function must be called when ADC is not under conversion.
- 991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @param hadc: ADC handle
-ARM GAS /tmp/ccKNWHXv.s page 44
-
-
- 992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @param sConfigInjected: Structure of ADC injected group and ADC channel for
- 993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * injected group.
- 994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @retval None
- 995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** */
- 996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_InjectedConfigChannel(ADC_HandleTypeDef* hadc, ADC_InjectionConfTypeDef
- 997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 1342 .loc 1 997 0
- 1343 .cfi_startproc
- 1344 @ args = 0, pretend = 0, frame = 8
- 1345 @ frame_needed = 0, uses_anonymous_args = 0
- 1346 @ link register save eliminated.
- 1347 .LVL93:
- 1348 .loc 1 997 0
- 1349 0000 F0B4 push {r4, r5, r6, r7}
- 1350 .LCFI22:
- 1351 .cfi_def_cfa_offset 16
- 1352 .cfi_offset 4, -16
- 1353 .cfi_offset 5, -12
- 1354 .cfi_offset 6, -8
- 1355 .cfi_offset 7, -4
- 1356 0002 82B0 sub sp, sp, #8
- 1357 .LCFI23:
- 1358 .cfi_def_cfa_offset 24
- 1359 0004 0346 mov r3, r0
- 1360 .LVL94:
- 998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
- 999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __IO uint32_t wait_loop_index = 0U;
- 1361 .loc 1 999 0
- 1362 0006 0022 movs r2, #0
- 1363 0008 0192 str r2, [sp, #4]
-1000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Check the parameters */
-1002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** assert_param(IS_ADC_ALL_INSTANCE(hadc->Instance));
-1003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** assert_param(IS_ADC_CHANNEL(sConfigInjected->InjectedChannel));
-1004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** assert_param(IS_ADC_SAMPLE_TIME(sConfigInjected->InjectedSamplingTime));
-1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** assert_param(IS_FUNCTIONAL_STATE(sConfigInjected->AutoInjectedConv));
-1006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** assert_param(IS_ADC_EXTTRIGINJEC(sConfigInjected->ExternalTrigInjecConv));
-1007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** assert_param(IS_ADC_RANGE(sConfigInjected->InjectedOffset));
-1008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if(hadc->Init.ScanConvMode != ADC_SCAN_DISABLE)
- 1364 .loc 1 1009 0
- 1365 000a 8068 ldr r0, [r0, #8]
- 1366 .LVL95:
-1010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** assert_param(IS_ADC_INJECTED_RANK(sConfigInjected->InjectedRank));
-1012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** assert_param(IS_ADC_INJECTED_NB_CONV(sConfigInjected->InjectedNbrOfConversion));
-1013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** assert_param(IS_FUNCTIONAL_STATE(sConfigInjected->InjectedDiscontinuousConvMode));
-1014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process locked */
-1017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
- 1367 .loc 1 1017 0
- 1368 000c 93F82420 ldrb r2, [r3, #36] @ zero_extendqisi2
- 1369 0010 012A cmp r2, #1
- 1370 0012 00F00681 beq .L173
- 1371 .loc 1 1017 0 is_stmt 0 discriminator 2
- 1372 0016 0122 movs r2, #1
-ARM GAS /tmp/ccKNWHXv.s page 45
-
-
- 1373 0018 83F82420 strb r2, [r3, #36]
-1018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Configuration of injected group sequencer: */
-1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - if scan mode is disabled, injected channels sequence length is set to */
-1021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* 0x00: 1 channel converted (channel on regular rank 1) */
-1022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Parameter "InjectedNbrOfConversion" is discarded. */
-1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Note: Scan mode is present by hardware on this device and, if */
-1024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* disabled, discards automatically nb of conversions. Anyway, nb of */
-1025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* conversions is forced to 0x00 for alignment over all STM32 devices. */
-1026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - if scan mode is enabled, injected channels sequence length is set to */
-1027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* parameter "InjectedNbrOfConversion". */
-1028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (hadc->Init.ScanConvMode == ADC_SCAN_DISABLE)
- 1374 .loc 1 1028 0 is_stmt 1 discriminator 2
- 1375 001c 0028 cmp r0, #0
- 1376 001e 4FD1 bne .L150
-1029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (sConfigInjected->InjectedRank == ADC_INJECTED_RANK_1)
- 1377 .loc 1 1030 0
- 1378 0020 4A68 ldr r2, [r1, #4]
- 1379 0022 012A cmp r2, #1
- 1380 0024 42D0 beq .L176
-1031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Clear the old SQx bits for all injected ranks */
-1033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** MODIFY_REG(hadc->Instance->JSQR ,
-1034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_JSQR_JL |
-1035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_JSQR_JSQ4 |
-1036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_JSQR_JSQ3 |
-1037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_JSQR_JSQ2 |
-1038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_JSQR_JSQ1 ,
-1039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_JSQR_RK_JL(sConfigInjected->InjectedChannel,
-1040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_INJECTED_RANK_1,
-1041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** 0x01U));
-1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* If another injected rank than rank1 was intended to be set, and could */
-1044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* not due to ScanConvMode disabled, error is reported. */
-1045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** else
-1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Update ADC state machine to error */
-1048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
- 1381 .loc 1 1048 0
- 1382 0026 9A6A ldr r2, [r3, #40]
- 1383 0028 42F02002 orr r2, r2, #32
- 1384 002c 9A62 str r2, [r3, #40]
- 1385 .LVL96:
-1049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tmp_hal_status = HAL_ERROR;
- 1386 .loc 1 1050 0
- 1387 002e 0120 movs r0, #1
- 1388 .LVL97:
- 1389 .L152:
-1051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** else
-1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Since injected channels rank conv. order depends on total number of */
-1056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* injected conversions, selected rank must be below or equal to total */
-1057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* number of injected conversions to be updated. */
-ARM GAS /tmp/ccKNWHXv.s page 46
-
-
-1058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (sConfigInjected->InjectedRank <= sConfigInjected->InjectedNbrOfConversion)
-1059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Clear the old SQx bits for the selected rank */
-1061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Set the SQx bits for the selected rank */
-1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** MODIFY_REG(hadc->Instance->JSQR ,
-1063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_JSQR_JL |
-1065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_JSQR_RK_JL(ADC_JSQR_JSQ1,
-1066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** sConfigInjected->InjectedRank,
-1067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** sConfigInjected->InjectedNbrOfConversion) ,
-1068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_JSQR_JL_SHIFT(sConfigInjected->InjectedNbrOfConversion) |
-1070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_JSQR_RK_JL(sConfigInjected->InjectedChannel,
-1071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** sConfigInjected->InjectedRank,
-1072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** sConfigInjected->InjectedNbrOfConversion) );
-1073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** else
-1075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Clear the old SQx bits for the selected rank */
-1077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** MODIFY_REG(hadc->Instance->JSQR ,
-1078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_JSQR_JL |
-1080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_JSQR_RK_JL(ADC_JSQR_JSQ1,
-1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** sConfigInjected->InjectedRank,
-1082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** sConfigInjected->InjectedNbrOfConversion) ,
-1083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** 0x00000000U);
-1085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Configuration of injected group */
-1089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Parameters update conditioned to ADC state: */
-1090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Parameters that can be updated only when ADC is disabled: */
-1091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - external trigger to start conversion */
-1092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Parameters update not conditioned to ADC state: */
-1093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - Automatic injected conversion */
-1094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - Injected discontinuous mode */
-1095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Note: In case of ADC already enabled, caution to not launch an unwanted */
-1096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* conversion while modifying register CR2 by writing 1 to bit ADON. */
-1097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (ADC_IS_ENABLE(hadc) == RESET)
- 1390 .loc 1 1097 0
- 1391 0030 1A68 ldr r2, [r3]
- 1392 0032 9468 ldr r4, [r2, #8]
- 1393 0034 14F0010F tst r4, #1
- 1394 0038 0AD1 bne .L154
-1098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** MODIFY_REG(hadc->Instance->CR2 ,
- 1395 .loc 1 1099 0
- 1396 003a 9468 ldr r4, [r2, #8]
- 1397 003c 24F4E044 bic r4, r4, #28672
- 1398 0040 24F00104 bic r4, r4, #1
- 1399 0044 784D ldr r5, .L185
- 1400 0046 AA42 cmp r2, r5
- 1401 0048 64D0 beq .L177
- 1402 .loc 1 1099 0 is_stmt 0 discriminator 2
- 1403 004a 8D69 ldr r5, [r1, #24]
- 1404 .L156:
-ARM GAS /tmp/ccKNWHXv.s page 47
-
-
- 1405 .loc 1 1099 0 discriminator 8
- 1406 004c 2C43 orrs r4, r4, r5
- 1407 004e 9460 str r4, [r2, #8]
- 1408 .L154:
-1100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_CR2_JEXTSEL |
-1101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_CR2_ADON ,
-1102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_CFGR_JEXTSEL(hadc, sConfigInjected->ExternalTrigInjecConv) );
-1103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Configuration of injected group */
-1107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - Automatic injected conversion */
-1108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - Injected discontinuous mode */
-1109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Automatic injected conversion can be enabled if injected group */
-1111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* external triggers are disabled. */
-1112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (sConfigInjected->AutoInjectedConv == ENABLE)
- 1409 .loc 1 1112 0 is_stmt 1
- 1410 0050 4A7D ldrb r2, [r1, #21] @ zero_extendqisi2
- 1411 0052 012A cmp r2, #1
- 1412 0054 65D0 beq .L178
- 1413 .LVL98:
- 1414 .L157:
-1113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (sConfigInjected->ExternalTrigInjecConv == ADC_INJECTED_SOFTWARE_START)
-1115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->Instance->CR1, ADC_CR1_JAUTO);
-1117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** else
-1119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Update ADC state machine to error */
-1121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
-1122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tmp_hal_status = HAL_ERROR;
-1124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Injected discontinuous can be enabled only if auto-injected mode is */
-1128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* disabled. */
-1129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (sConfigInjected->InjectedDiscontinuousConvMode == ENABLE)
- 1415 .loc 1 1129 0
- 1416 0056 0A7D ldrb r2, [r1, #20] @ zero_extendqisi2
- 1417 0058 012A cmp r2, #1
- 1418 005a 72D0 beq .L179
- 1419 .LVL99:
- 1420 .L159:
-1130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (sConfigInjected->AutoInjectedConv == DISABLE)
-1132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->Instance->CR1, ADC_CR1_JDISCEN);
-1134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** else
-1136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Update ADC state machine to error */
-1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
-1139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tmp_hal_status = HAL_ERROR;
-ARM GAS /tmp/ccKNWHXv.s page 48
-
-
-1141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* InjectedChannel sampling time configuration */
-1146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* For channels 10 to 17 */
-1147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (sConfigInjected->InjectedChannel >= ADC_CHANNEL_10)
- 1421 .loc 1 1147 0
- 1422 005c 0A68 ldr r2, [r1]
- 1423 005e 092A cmp r2, #9
- 1424 0060 7DD9 bls .L161
-1148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** MODIFY_REG(hadc->Instance->SMPR1 ,
- 1425 .loc 1 1149 0
- 1426 0062 1E68 ldr r6, [r3]
- 1427 0064 F468 ldr r4, [r6, #12]
- 1428 0066 02EB4202 add r2, r2, r2, lsl #1
- 1429 006a 1E3A subs r2, r2, #30
- 1430 006c 0725 movs r5, #7
- 1431 006e 9540 lsls r5, r5, r2
- 1432 0070 24EA0504 bic r4, r4, r5
- 1433 0074 8D68 ldr r5, [r1, #8]
- 1434 0076 05FA02F2 lsl r2, r5, r2
- 1435 007a 2243 orrs r2, r2, r4
- 1436 007c F260 str r2, [r6, #12]
- 1437 .L162:
-1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_SMPR1(ADC_SMPR1_SMP10, sConfigInjected->InjectedChannel) ,
-1151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_SMPR1(sConfigInjected->InjectedSamplingTime, sConfigInjected->InjectedChannel) )
-1152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** else /* For channels 0 to 9 */
-1154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** MODIFY_REG(hadc->Instance->SMPR2 ,
-1156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_SMPR2(ADC_SMPR2_SMP0, sConfigInjected->InjectedChannel) ,
-1157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_SMPR2(sConfigInjected->InjectedSamplingTime, sConfigInjected->InjectedChannel) )
-1158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* If ADC1 InjectedChannel_16 or InjectedChannel_17 is selected, enable Temperature sensor */
-1161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* and VREFINT measurement path. */
-1162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if ((sConfigInjected->InjectedChannel == ADC_CHANNEL_TEMPSENSOR) ||
- 1438 .loc 1 1162 0
- 1439 007e 0A68 ldr r2, [r1]
- 1440 0080 103A subs r2, r2, #16
- 1441 0082 012A cmp r2, #1
- 1442 0084 79D9 bls .L180
- 1443 .L163:
-1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (sConfigInjected->InjectedChannel == ADC_CHANNEL_VREFINT) )
-1164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->Instance->CR2, ADC_CR2_TSVREFE);
-1166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Configure the offset: offset enable/disable, InjectedChannel, offset value */
-1170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** switch(sConfigInjected->InjectedRank)
- 1444 .loc 1 1170 0
- 1445 0086 4A68 ldr r2, [r1, #4]
- 1446 0088 022A cmp r2, #2
- 1447 008a 00F08F80 beq .L165
-ARM GAS /tmp/ccKNWHXv.s page 49
-
-
- 1448 008e 032A cmp r2, #3
- 1449 0090 00F09680 beq .L166
- 1450 0094 012A cmp r2, #1
- 1451 0096 76D0 beq .L181
-1171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** case 1:
-1173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Set injected channel 1 offset */
-1174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** MODIFY_REG(hadc->Instance->JOFR1,
-1175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_JOFR1_JOFFSET1,
-1176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** sConfigInjected->InjectedOffset);
-1177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** break;
-1178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** case 2:
-1179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Set injected channel 2 offset */
-1180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** MODIFY_REG(hadc->Instance->JOFR2,
-1181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_JOFR2_JOFFSET2,
-1182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** sConfigInjected->InjectedOffset);
-1183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** break;
-1184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** case 3:
-1185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Set injected channel 3 offset */
-1186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** MODIFY_REG(hadc->Instance->JOFR3,
-1187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_JOFR3_JOFFSET3,
-1188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** sConfigInjected->InjectedOffset);
-1189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** break;
-1190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** case 4:
-1191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** default:
-1192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** MODIFY_REG(hadc->Instance->JOFR4,
- 1452 .loc 1 1192 0
- 1453 0098 1C68 ldr r4, [r3]
- 1454 009a 226A ldr r2, [r4, #32]
- 1455 009c 22F47F62 bic r2, r2, #4080
- 1456 00a0 22F00F02 bic r2, r2, #15
- 1457 00a4 CD68 ldr r5, [r1, #12]
- 1458 00a6 2A43 orrs r2, r2, r5
- 1459 00a8 2262 str r2, [r4, #32]
-1193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_JOFR4_JOFFSET4,
-1194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** sConfigInjected->InjectedOffset);
-1195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** break;
- 1460 .loc 1 1195 0
- 1461 00aa 75E0 b .L168
- 1462 .LVL100:
- 1463 .L176:
-1033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_JSQR_JL |
- 1464 .loc 1 1033 0
- 1465 00ac 1868 ldr r0, [r3]
- 1466 00ae 826B ldr r2, [r0, #56]
- 1467 00b0 920D lsrs r2, r2, #22
- 1468 00b2 9205 lsls r2, r2, #22
- 1469 00b4 0C68 ldr r4, [r1]
- 1470 00b6 42EAC432 orr r2, r2, r4, lsl #15
- 1471 00ba 8263 str r2, [r0, #56]
- 998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __IO uint32_t wait_loop_index = 0U;
- 1472 .loc 1 998 0
- 1473 00bc 0020 movs r0, #0
- 1474 00be B7E7 b .L152
- 1475 .L150:
-1058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 1476 .loc 1 1058 0
-ARM GAS /tmp/ccKNWHXv.s page 50
-
-
- 1477 00c0 4A68 ldr r2, [r1, #4]
- 1478 00c2 0C69 ldr r4, [r1, #16]
- 1479 00c4 A242 cmp r2, r4
- 1480 00c6 15D8 bhi .L153
-1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1481 .loc 1 1062 0
- 1482 00c8 1F68 ldr r7, [r3]
- 1483 00ca BD6B ldr r5, [r7, #56]
- 1484 00cc 101B subs r0, r2, r4
- 1485 00ce 00EB8000 add r0, r0, r0, lsl #2
- 1486 00d2 0F30 adds r0, r0, #15
- 1487 00d4 1F22 movs r2, #31
- 1488 00d6 8240 lsls r2, r2, r0
- 1489 00d8 42F44012 orr r2, r2, #3145728
- 1490 00dc 25EA0205 bic r5, r5, r2
- 1491 00e0 621E subs r2, r4, #1
- 1492 00e2 0E68 ldr r6, [r1]
- 1493 00e4 06FA00F0 lsl r0, r6, r0
- 1494 00e8 40EA0252 orr r2, r0, r2, lsl #20
- 1495 00ec 2A43 orrs r2, r2, r5
- 1496 00ee BA63 str r2, [r7, #56]
- 998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __IO uint32_t wait_loop_index = 0U;
- 1497 .loc 1 998 0
- 1498 00f0 0020 movs r0, #0
- 1499 00f2 9DE7 b .L152
- 1500 .L153:
-1077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1501 .loc 1 1077 0
- 1502 00f4 1E68 ldr r6, [r3]
- 1503 00f6 B56B ldr r5, [r6, #56]
- 1504 00f8 121B subs r2, r2, r4
- 1505 00fa 02EB8202 add r2, r2, r2, lsl #2
- 1506 00fe 0F32 adds r2, r2, #15
- 1507 0100 1F20 movs r0, #31
- 1508 0102 00FA02F2 lsl r2, r0, r2
- 1509 0106 42F44012 orr r2, r2, #3145728
- 1510 010a 25EA0202 bic r2, r5, r2
- 1511 010e B263 str r2, [r6, #56]
- 998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __IO uint32_t wait_loop_index = 0U;
- 1512 .loc 1 998 0
- 1513 0110 0020 movs r0, #0
- 1514 0112 8DE7 b .L152
- 1515 .LVL101:
- 1516 .L177:
-1099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_CR2_JEXTSEL |
- 1517 .loc 1 1099 0 discriminator 1
- 1518 0114 8D69 ldr r5, [r1, #24]
- 1519 0116 B5F5C04F cmp r5, #24576
- 1520 011a 97D1 bne .L156
-1099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_CR2_JEXTSEL |
- 1521 .loc 1 1099 0 is_stmt 0
- 1522 011c 4FF48045 mov r5, #16384
- 1523 0120 94E7 b .L156
- 1524 .L178:
-1114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 1525 .loc 1 1114 0 is_stmt 1
- 1526 0122 8A69 ldr r2, [r1, #24]
-ARM GAS /tmp/ccKNWHXv.s page 51
-
-
- 1527 0124 B2F5E04F cmp r2, #28672
- 1528 0128 05D0 beq .L182
-1121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1529 .loc 1 1121 0
- 1530 012a 9A6A ldr r2, [r3, #40]
- 1531 012c 42F02002 orr r2, r2, #32
- 1532 0130 9A62 str r2, [r3, #40]
- 1533 .LVL102:
-1123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 1534 .loc 1 1123 0
- 1535 0132 0120 movs r0, #1
- 1536 0134 8FE7 b .L157
- 1537 .LVL103:
- 1538 .L182:
-1116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 1539 .loc 1 1116 0
- 1540 0136 1C68 ldr r4, [r3]
- 1541 0138 6268 ldr r2, [r4, #4]
- 1542 013a 42F48062 orr r2, r2, #1024
- 1543 013e 6260 str r2, [r4, #4]
- 1544 0140 89E7 b .L157
- 1545 .L179:
-1131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 1546 .loc 1 1131 0
- 1547 0142 4A7D ldrb r2, [r1, #21] @ zero_extendqisi2
- 1548 0144 2AB9 cbnz r2, .L160
-1133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 1549 .loc 1 1133 0
- 1550 0146 1C68 ldr r4, [r3]
- 1551 0148 6268 ldr r2, [r4, #4]
- 1552 014a 42F48052 orr r2, r2, #4096
- 1553 014e 6260 str r2, [r4, #4]
- 1554 0150 84E7 b .L159
- 1555 .L160:
-1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1556 .loc 1 1138 0
- 1557 0152 9A6A ldr r2, [r3, #40]
- 1558 0154 42F02002 orr r2, r2, #32
- 1559 0158 9A62 str r2, [r3, #40]
- 1560 .LVL104:
-1140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 1561 .loc 1 1140 0
- 1562 015a 0120 movs r0, #1
- 1563 015c 7EE7 b .L159
- 1564 .LVL105:
- 1565 .L161:
-1155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_SMPR2(ADC_SMPR2_SMP0, sConfigInjected->InjectedChannel) ,
- 1566 .loc 1 1155 0
- 1567 015e 1E68 ldr r6, [r3]
- 1568 0160 3469 ldr r4, [r6, #16]
- 1569 0162 02EB4202 add r2, r2, r2, lsl #1
- 1570 0166 0725 movs r5, #7
- 1571 0168 9540 lsls r5, r5, r2
- 1572 016a 24EA0504 bic r4, r4, r5
- 1573 016e 8D68 ldr r5, [r1, #8]
- 1574 0170 05FA02F2 lsl r2, r5, r2
- 1575 0174 2243 orrs r2, r2, r4
-ARM GAS /tmp/ccKNWHXv.s page 52
-
-
- 1576 0176 3261 str r2, [r6, #16]
- 1577 0178 81E7 b .L162
- 1578 .L180:
-1165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 1579 .loc 1 1165 0
- 1580 017a 1C68 ldr r4, [r3]
- 1581 017c A268 ldr r2, [r4, #8]
- 1582 017e 42F40002 orr r2, r2, #8388608
- 1583 0182 A260 str r2, [r4, #8]
- 1584 0184 7FE7 b .L163
- 1585 .L181:
-1174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_JOFR1_JOFFSET1,
- 1586 .loc 1 1174 0
- 1587 0186 1C68 ldr r4, [r3]
- 1588 0188 6269 ldr r2, [r4, #20]
- 1589 018a 22F47F62 bic r2, r2, #4080
- 1590 018e 22F00F02 bic r2, r2, #15
- 1591 0192 CD68 ldr r5, [r1, #12]
- 1592 0194 2A43 orrs r2, r2, r5
- 1593 0196 6261 str r2, [r4, #20]
- 1594 .L168:
-1196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* If ADC1 Channel_16 or Channel_17 is selected, enable Temperature sensor */
-1199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* and VREFINT measurement path. */
-1200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if ((sConfigInjected->InjectedChannel == ADC_CHANNEL_TEMPSENSOR) ||
- 1595 .loc 1 1200 0
- 1596 0198 0A68 ldr r2, [r1]
- 1597 019a 103A subs r2, r2, #16
- 1598 019c 012A cmp r2, #1
- 1599 019e 19D9 bls .L183
- 1600 .LVL106:
- 1601 .L169:
-1201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (sConfigInjected->InjectedChannel == ADC_CHANNEL_VREFINT) )
-1202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* For STM32F1 devices with several ADC: Only ADC1 can access internal */
-1204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* measurement channels (VrefInt/TempSensor). If these channels are */
-1205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* intended to be set on other ADC instances, an error is reported. */
-1206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (hadc->Instance == ADC1)
-1207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if (READ_BIT(hadc->Instance->CR2, ADC_CR2_TSVREFE) == RESET)
-1209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->Instance->CR2, ADC_CR2_TSVREFE);
-1211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if ((sConfigInjected->InjectedChannel == ADC_CHANNEL_TEMPSENSOR))
-1213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Delay for temperature sensor stabilization time */
-1215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Compute number of CPU cycles to wait for */
-1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** wait_loop_index = (ADC_TEMPSENSOR_DELAY_US * (SystemCoreClock / 1000000U));
-1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** while(wait_loop_index != 0U)
-1218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** wait_loop_index--;
-1220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** else
-ARM GAS /tmp/ccKNWHXv.s page 53
-
-
-1225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Update ADC state machine to error */
-1227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
-1228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tmp_hal_status = HAL_ERROR;
-1230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process unlocked */
-1234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
- 1602 .loc 1 1234 0
- 1603 01a0 0022 movs r2, #0
- 1604 01a2 83F82420 strb r2, [r3, #36]
- 1605 .LVL107:
- 1606 .L149:
-1235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Return function status */
-1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** return tmp_hal_status;
-1238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 1607 .loc 1 1238 0
- 1608 01a6 02B0 add sp, sp, #8
- 1609 .LCFI24:
- 1610 .cfi_remember_state
- 1611 .cfi_def_cfa_offset 16
- 1612 @ sp needed
- 1613 01a8 F0BC pop {r4, r5, r6, r7}
- 1614 .LCFI25:
- 1615 .cfi_restore 7
- 1616 .cfi_restore 6
- 1617 .cfi_restore 5
- 1618 .cfi_restore 4
- 1619 .cfi_def_cfa_offset 0
- 1620 01aa 7047 bx lr
- 1621 .LVL108:
- 1622 .L165:
- 1623 .LCFI26:
- 1624 .cfi_restore_state
-1180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_JOFR2_JOFFSET2,
- 1625 .loc 1 1180 0
- 1626 01ac 1C68 ldr r4, [r3]
- 1627 01ae A269 ldr r2, [r4, #24]
- 1628 01b0 22F47F62 bic r2, r2, #4080
- 1629 01b4 22F00F02 bic r2, r2, #15
- 1630 01b8 CD68 ldr r5, [r1, #12]
- 1631 01ba 2A43 orrs r2, r2, r5
- 1632 01bc A261 str r2, [r4, #24]
-1183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** case 3:
- 1633 .loc 1 1183 0
- 1634 01be EBE7 b .L168
- 1635 .L166:
-1186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_JOFR3_JOFFSET3,
- 1636 .loc 1 1186 0
- 1637 01c0 1C68 ldr r4, [r3]
- 1638 01c2 E269 ldr r2, [r4, #28]
- 1639 01c4 22F47F62 bic r2, r2, #4080
- 1640 01c8 22F00F02 bic r2, r2, #15
- 1641 01cc CD68 ldr r5, [r1, #12]
-ARM GAS /tmp/ccKNWHXv.s page 54
-
-
- 1642 01ce 2A43 orrs r2, r2, r5
- 1643 01d0 E261 str r2, [r4, #28]
-1189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** case 4:
- 1644 .loc 1 1189 0
- 1645 01d2 E1E7 b .L168
- 1646 .L183:
-1206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 1647 .loc 1 1206 0
- 1648 01d4 1A68 ldr r2, [r3]
- 1649 01d6 154C ldr r4, .L185+4
- 1650 01d8 A242 cmp r2, r4
- 1651 01da 05D0 beq .L184
-1227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1652 .loc 1 1227 0
- 1653 01dc 9A6A ldr r2, [r3, #40]
- 1654 01de 42F02002 orr r2, r2, #32
- 1655 01e2 9A62 str r2, [r3, #40]
- 1656 .LVL109:
-1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 1657 .loc 1 1229 0
- 1658 01e4 0120 movs r0, #1
- 1659 01e6 DBE7 b .L169
- 1660 .LVL110:
- 1661 .L184:
-1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 1662 .loc 1 1208 0
- 1663 01e8 9468 ldr r4, [r2, #8]
- 1664 01ea 14F4000F tst r4, #8388608
- 1665 01ee D7D1 bne .L169
-1210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1666 .loc 1 1210 0
- 1667 01f0 9468 ldr r4, [r2, #8]
- 1668 01f2 44F40004 orr r4, r4, #8388608
- 1669 01f6 9460 str r4, [r2, #8]
-1212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 1670 .loc 1 1212 0
- 1671 01f8 0A68 ldr r2, [r1]
- 1672 01fa 102A cmp r2, #16
- 1673 01fc D0D1 bne .L169
-1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** while(wait_loop_index != 0U)
- 1674 .loc 1 1216 0
- 1675 01fe 0C4A ldr r2, .L185+8
- 1676 0200 1268 ldr r2, [r2]
- 1677 0202 0C49 ldr r1, .L185+12
- 1678 .LVL111:
- 1679 0204 A1FB0212 umull r1, r2, r1, r2
- 1680 0208 920C lsrs r2, r2, #18
- 1681 020a 02EB8202 add r2, r2, r2, lsl #2
- 1682 020e 5100 lsls r1, r2, #1
- 1683 0210 0191 str r1, [sp, #4]
-1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 1684 .loc 1 1217 0
- 1685 0212 02E0 b .L171
- 1686 .L172:
-1219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 1687 .loc 1 1219 0
- 1688 0214 019A ldr r2, [sp, #4]
-ARM GAS /tmp/ccKNWHXv.s page 55
-
-
- 1689 0216 013A subs r2, r2, #1
- 1690 0218 0192 str r2, [sp, #4]
- 1691 .L171:
-1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 1692 .loc 1 1217 0
- 1693 021a 019A ldr r2, [sp, #4]
- 1694 021c 002A cmp r2, #0
- 1695 021e F9D1 bne .L172
- 1696 0220 BEE7 b .L169
- 1697 .LVL112:
- 1698 .L173:
-1017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1699 .loc 1 1017 0
- 1700 0222 0220 movs r0, #2
- 1701 0224 BFE7 b .L149
- 1702 .L186:
- 1703 0226 00BF .align 2
- 1704 .L185:
- 1705 0228 003C0140 .word 1073822720
- 1706 022c 00240140 .word 1073816576
- 1707 0230 00000000 .word SystemCoreClock
- 1708 0234 83DE1B43 .word 1125899907
- 1709 .cfi_endproc
- 1710 .LFE76:
- 1712 .section .text.HAL_ADCEx_MultiModeConfigChannel,"ax",%progbits
- 1713 .align 1
- 1714 .global HAL_ADCEx_MultiModeConfigChannel
- 1715 .syntax unified
- 1716 .thumb
- 1717 .thumb_func
- 1718 .fpu softvfp
- 1720 HAL_ADCEx_MultiModeConfigChannel:
- 1721 .LFB77:
-1239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** #if defined (STM32F103x6) || defined (STM32F103xB) || defined (STM32F105xC) || defined (STM32F107xC
-1241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /**
-1242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @brief Enable ADC multimode and configure multimode parameters
-1243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @note Possibility to update parameters on the fly:
-1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * This function initializes multimode parameters, following
-1245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * calls to this function can be used to reconfigure some parameters
-1246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * of structure "ADC_MultiModeTypeDef" on the fly, without reseting
-1247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * the ADCs (both ADCs of the common group).
-1248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * The setting of these parameters is conditioned to ADC state.
-1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * For parameters constraints, see comments of structure
-1250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * "ADC_MultiModeTypeDef".
-1251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @note To change back configuration from multimode to single mode, ADC must
-1252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * be reset (using function HAL_ADC_Init() ).
-1253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @param hadc: ADC handle
-1254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @param multimode: Structure of ADC multimode configuration
-1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** * @retval HAL status
-1256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** */
-1257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_StatusTypeDef HAL_ADCEx_MultiModeConfigChannel(ADC_HandleTypeDef* hadc, ADC_MultiModeTypeDef* m
-1258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
- 1722 .loc 1 1258 0
- 1723 .cfi_startproc
- 1724 @ args = 0, pretend = 0, frame = 0
- 1725 @ frame_needed = 0, uses_anonymous_args = 0
-ARM GAS /tmp/ccKNWHXv.s page 56
-
-
- 1726 @ link register save eliminated.
- 1727 .LVL113:
- 1728 0000 0346 mov r3, r0
- 1729 .LVL114:
-1259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** HAL_StatusTypeDef tmp_hal_status = HAL_OK;
-1260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_HandleTypeDef tmphadcSlave;
-1261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Check the parameters */
-1263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** assert_param(IS_ADC_MULTIMODE_MASTER_INSTANCE(hadc->Instance));
-1264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** assert_param(IS_ADC_MODE(multimode->Mode));
-1265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process locked */
-1267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_LOCK(hadc);
- 1730 .loc 1 1267 0
- 1731 0002 90F82420 ldrb r2, [r0, #36] @ zero_extendqisi2
- 1732 0006 012A cmp r2, #1
- 1733 0008 20D0 beq .L191
- 1734 .loc 1 1267 0 is_stmt 0 discriminator 2
- 1735 000a 0122 movs r2, #1
- 1736 000c 80F82420 strb r2, [r0, #36]
-1268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Set a temporary handle of the ADC slave associated to the ADC master */
-1270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_MULTI_SLAVE(hadc, &tmphadcSlave);
-1271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Parameters update conditioned to ADC state: */
-1273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Parameters that can be updated when ADC is disabled or enabled without */
-1274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* conversion on going on regular group: */
-1275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - ADC master and ADC slave DMA configuration */
-1276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Parameters that can be updated only when ADC is disabled: */
-1277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* - Multimode mode selection */
-1278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* To optimize code, all multimode settings can be set when both ADCs of */
-1279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* the common group are in state: disabled. */
-1280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** if ((ADC_IS_ENABLE(hadc) == RESET) &&
- 1737 .loc 1 1280 0 is_stmt 1 discriminator 2
- 1738 0010 0268 ldr r2, [r0]
- 1739 0012 9068 ldr r0, [r2, #8]
- 1740 .LVL115:
- 1741 0014 10F0010F tst r0, #1
- 1742 0018 07D1 bne .L189
-1281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (ADC_IS_ENABLE(&tmphadcSlave) == RESET) &&
- 1743 .loc 1 1281 0 discriminator 1
- 1744 001a 0D48 ldr r0, .L193
- 1745 001c 8068 ldr r0, [r0, #8]
-1280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (ADC_IS_ENABLE(&tmphadcSlave) == RESET) &&
- 1746 .loc 1 1280 0 discriminator 1
- 1747 001e 10F0010F tst r0, #1
- 1748 0022 02D1 bne .L189
- 1749 .loc 1 1281 0
- 1750 0024 0B48 ldr r0, .L193+4
- 1751 0026 8242 cmp r2, r0
- 1752 0028 08D0 beq .L192
- 1753 .L189:
-1282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** (IS_ADC_MULTIMODE_MASTER_INSTANCE(hadc->Instance)) )
-1283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** MODIFY_REG(hadc->Instance->CR1,
-1285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_CR1_DUALMOD ,
-1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** multimode->Mode );
-ARM GAS /tmp/ccKNWHXv.s page 57
-
-
-1287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* If one of the ADC sharing the same common group is enabled, no update */
-1289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* could be done on neither of the multimode structure parameters. */
-1290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** else
-1291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** {
-1292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Update ADC state machine to error */
-1293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** SET_BIT(hadc->State, HAL_ADC_STATE_ERROR_CONFIG);
- 1754 .loc 1 1293 0
- 1755 002a 9A6A ldr r2, [r3, #40]
- 1756 002c 42F02002 orr r2, r2, #32
- 1757 0030 9A62 str r2, [r3, #40]
- 1758 .LVL116:
-1294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** tmp_hal_status = HAL_ERROR;
- 1759 .loc 1 1295 0
- 1760 0032 0120 movs r0, #1
- 1761 .LVL117:
- 1762 .L190:
-1296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
-1297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Process unlocked */
-1300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** __HAL_UNLOCK(hadc);
- 1763 .loc 1 1300 0
- 1764 0034 0022 movs r2, #0
- 1765 0036 83F82420 strb r2, [r3, #36]
-1301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
-1302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** /* Return function status */
-1303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** return tmp_hal_status;
- 1766 .loc 1 1303 0
- 1767 003a 7047 bx lr
- 1768 .LVL118:
- 1769 .L192:
-1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_CR1_DUALMOD ,
- 1770 .loc 1 1284 0
- 1771 003c 5068 ldr r0, [r2, #4]
- 1772 003e 20F47020 bic r0, r0, #983040
- 1773 0042 0968 ldr r1, [r1]
- 1774 .LVL119:
- 1775 0044 0143 orrs r1, r1, r0
- 1776 0046 5160 str r1, [r2, #4]
-1259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_HandleTypeDef tmphadcSlave;
- 1777 .loc 1 1259 0
- 1778 0048 0020 movs r0, #0
-1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** ADC_CR1_DUALMOD ,
- 1779 .loc 1 1284 0
- 1780 004a F3E7 b .L190
- 1781 .LVL120:
- 1782 .L191:
-1267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c ****
- 1783 .loc 1 1267 0
- 1784 004c 0220 movs r0, #2
- 1785 .LVL121:
-1304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_adc_ex.c **** }
- 1786 .loc 1 1304 0
- 1787 004e 7047 bx lr
- 1788 .L194:
-ARM GAS /tmp/ccKNWHXv.s page 58
-
-
- 1789 .align 2
- 1790 .L193:
- 1791 0050 00280140 .word 1073817600
- 1792 0054 00240140 .word 1073816576
- 1793 .cfi_endproc
- 1794 .LFE77:
- 1796 .text
- 1797 .Letext0:
- 1798 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 1799 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 1800 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 1801 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 1802 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 1803 .file 7 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h"
- 1804 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 1805 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
- 1806 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h"
- 1807 .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h"
- 1808 .file 12 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
- 1809 .file 13 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h"
-ARM GAS /tmp/ccKNWHXv.s page 59
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_hal_adc_ex.c
- /tmp/ccKNWHXv.s:16 .text.HAL_ADCEx_Calibration_Start:0000000000000000 $t
- /tmp/ccKNWHXv.s:23 .text.HAL_ADCEx_Calibration_Start:0000000000000000 HAL_ADCEx_Calibration_Start
- /tmp/ccKNWHXv.s:193 .text.HAL_ADCEx_Calibration_Start:00000000000000e8 $d
- /tmp/ccKNWHXv.s:198 .text.HAL_ADCEx_InjectedStart:0000000000000000 $t
- /tmp/ccKNWHXv.s:205 .text.HAL_ADCEx_InjectedStart:0000000000000000 HAL_ADCEx_InjectedStart
- /tmp/ccKNWHXv.s:330 .text.HAL_ADCEx_InjectedStart:00000000000000b8 $d
- /tmp/ccKNWHXv.s:335 .text.HAL_ADCEx_InjectedStop:0000000000000000 $t
- /tmp/ccKNWHXv.s:342 .text.HAL_ADCEx_InjectedStop:0000000000000000 HAL_ADCEx_InjectedStop
- /tmp/ccKNWHXv.s:421 .text.HAL_ADCEx_InjectedPollForConversion:0000000000000000 $t
- /tmp/ccKNWHXv.s:428 .text.HAL_ADCEx_InjectedPollForConversion:0000000000000000 HAL_ADCEx_InjectedPollForConversion
- /tmp/ccKNWHXv.s:679 .text.HAL_ADCEx_InjectedPollForConversion:0000000000000154 $d
- /tmp/ccKNWHXv.s:688 .text.HAL_ADCEx_InjectedStart_IT:0000000000000000 $t
- /tmp/ccKNWHXv.s:695 .text.HAL_ADCEx_InjectedStart_IT:0000000000000000 HAL_ADCEx_InjectedStart_IT
- /tmp/ccKNWHXv.s:825 .text.HAL_ADCEx_InjectedStart_IT:00000000000000c4 $d
- /tmp/ccKNWHXv.s:830 .text.HAL_ADCEx_InjectedStop_IT:0000000000000000 $t
- /tmp/ccKNWHXv.s:837 .text.HAL_ADCEx_InjectedStop_IT:0000000000000000 HAL_ADCEx_InjectedStop_IT
- /tmp/ccKNWHXv.s:921 .text.HAL_ADCEx_MultiModeStart_DMA:0000000000000000 $t
- /tmp/ccKNWHXv.s:928 .text.HAL_ADCEx_MultiModeStart_DMA:0000000000000000 HAL_ADCEx_MultiModeStart_DMA
- /tmp/ccKNWHXv.s:1091 .text.HAL_ADCEx_MultiModeStart_DMA:00000000000000e0 $d
- /tmp/ccKNWHXv.s:1100 .text.HAL_ADCEx_MultiModeStop_DMA:0000000000000000 $t
- /tmp/ccKNWHXv.s:1107 .text.HAL_ADCEx_MultiModeStop_DMA:0000000000000000 HAL_ADCEx_MultiModeStop_DMA
- /tmp/ccKNWHXv.s:1211 .text.HAL_ADCEx_MultiModeStop_DMA:000000000000007c $d
- /tmp/ccKNWHXv.s:1216 .text.HAL_ADCEx_InjectedGetValue:0000000000000000 $t
- /tmp/ccKNWHXv.s:1223 .text.HAL_ADCEx_InjectedGetValue:0000000000000000 HAL_ADCEx_InjectedGetValue
- /tmp/ccKNWHXv.s:1272 .text.HAL_ADCEx_MultiModeGetValue:0000000000000000 $t
- /tmp/ccKNWHXv.s:1279 .text.HAL_ADCEx_MultiModeGetValue:0000000000000000 HAL_ADCEx_MultiModeGetValue
- /tmp/ccKNWHXv.s:1307 .text.HAL_ADCEx_MultiModeGetValue:0000000000000018 $d
- /tmp/ccKNWHXv.s:1313 .text.HAL_ADCEx_InjectedConvCpltCallback:0000000000000000 $t
- /tmp/ccKNWHXv.s:1320 .text.HAL_ADCEx_InjectedConvCpltCallback:0000000000000000 HAL_ADCEx_InjectedConvCpltCallback
- /tmp/ccKNWHXv.s:1333 .text.HAL_ADCEx_InjectedConfigChannel:0000000000000000 $t
- /tmp/ccKNWHXv.s:1340 .text.HAL_ADCEx_InjectedConfigChannel:0000000000000000 HAL_ADCEx_InjectedConfigChannel
- /tmp/ccKNWHXv.s:1705 .text.HAL_ADCEx_InjectedConfigChannel:0000000000000228 $d
- /tmp/ccKNWHXv.s:1713 .text.HAL_ADCEx_MultiModeConfigChannel:0000000000000000 $t
- /tmp/ccKNWHXv.s:1720 .text.HAL_ADCEx_MultiModeConfigChannel:0000000000000000 HAL_ADCEx_MultiModeConfigChannel
- /tmp/ccKNWHXv.s:1791 .text.HAL_ADCEx_MultiModeConfigChannel:0000000000000050 $d
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-ADC_ConversionStop_Disable
-HAL_RCCEx_GetPeriphCLKFreq
-ADC_Enable
-HAL_GetTick
-SystemCoreClock
-HAL_DMA_Start_IT
-ADC_DMAConvCplt
-ADC_DMAHalfConvCplt
-ADC_DMAError
-HAL_DMA_Abort
diff --git a/build/stm32f1xx_hal_adc_ex.o b/build/stm32f1xx_hal_adc_ex.o
deleted file mode 100644
index 22b82f0..0000000
Binary files a/build/stm32f1xx_hal_adc_ex.o and /dev/null differ
diff --git a/build/stm32f1xx_hal_cortex.d b/build/stm32f1xx_hal_cortex.d
deleted file mode 100644
index fe8c890..0000000
--- a/build/stm32f1xx_hal_cortex.d
+++ /dev/null
@@ -1,93 +0,0 @@
-build/stm32f1xx_hal_cortex.o: \
- Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/stm32f1xx_hal_cortex.lst b/build/stm32f1xx_hal_cortex.lst
deleted file mode 100644
index aa77cdf..0000000
--- a/build/stm32f1xx_hal_cortex.lst
+++ /dev/null
@@ -1,4321 +0,0 @@
-ARM GAS /tmp/cc8EHLWE.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "stm32f1xx_hal_cortex.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.HAL_NVIC_SetPriorityGrouping,"ax",%progbits
- 16 .align 1
- 17 .global HAL_NVIC_SetPriorityGrouping
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 HAL_NVIC_SetPriorityGrouping:
- 24 .LFB65:
- 25 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c"
- 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
- 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ******************************************************************************
- 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @file stm32f1xx_hal_cortex.c
- 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @author MCD Application Team
- 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief CORTEX HAL module driver.
- 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This file provides firmware functions to manage the following
- 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * functionalities of the CORTEX:
- 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * + Initialization and de-initialization functions
- 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * + Peripheral Control functions
- 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** *
- 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** @verbatim
- 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ==============================================================================
- 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ##### How to use this driver #####
- 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ==============================================================================
- 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** [..]
- 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** *** How to configure Interrupts using CORTEX HAL driver ***
- 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ===========================================================
- 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** [..]
- 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** This section provides functions allowing to configure the NVIC interrupts (IRQ).
- 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** The Cortex-M3 exceptions are managed by CMSIS functions.
- 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (#) Configure the NVIC Priority Grouping using HAL_NVIC_SetPriorityGrouping()
- 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** function according to the following table.
- 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (#) Configure the priority of the selected IRQ Channels using HAL_NVIC_SetPriority().
- 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (#) Enable the selected IRQ Channels using HAL_NVIC_EnableIRQ().
- 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (#) please refer to programming manual for details in how to configure priority.
- 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** -@- When the NVIC_PRIORITYGROUP_0 is selected, IRQ preemption is no more possible.
- 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** The pending IRQ priority will be managed only by the sub priority.
- 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** -@- IRQ priority order (sorted by highest to lowest priority):
- 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (+@) Lowest preemption priority
-ARM GAS /tmp/cc8EHLWE.s page 2
-
-
- 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (+@) Lowest sub priority
- 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (+@) Lowest hardware priority (IRQ number)
- 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** [..]
- 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** *** How to configure Systick using CORTEX HAL driver ***
- 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ========================================================
- 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** [..]
- 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** Setup SysTick Timer for time base.
- 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (+) The HAL_SYSTICK_Config()function calls the SysTick_Config() function which
- 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** is a CMSIS function that:
- 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (++) Configures the SysTick Reload register with value passed as function parameter.
- 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (++) Configures the SysTick IRQ priority to the lowest value 0x0F.
- 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (++) Resets the SysTick Counter register.
- 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (++) Configures the SysTick Counter clock source to be Core Clock Source (HCLK).
- 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (++) Enables the SysTick Interrupt.
- 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (++) Starts the SysTick Counter.
- 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (+) You can change the SysTick Clock source to be HCLK_Div8 by calling the macro
- 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** __HAL_CORTEX_SYSTICKCLK_CONFIG(SYSTICK_CLKSOURCE_HCLK_DIV8) just after the
- 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** HAL_SYSTICK_Config() function call. The __HAL_CORTEX_SYSTICKCLK_CONFIG() macro is defined
- 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** inside the stm32f1xx_hal_cortex.h file.
- 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (+) You can change the SysTick IRQ priority by calling the
- 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** HAL_NVIC_SetPriority(SysTick_IRQn,...) function just after the HAL_SYSTICK_Config() function
- 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** call. The HAL_NVIC_SetPriority() call the NVIC_SetPriority() function which is a CMSIS funct
- 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (+) To adjust the SysTick time base, use the following formula:
- 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** Reload Value = SysTick Counter Clock (Hz) x Desired Time base (s)
- 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (++) Reload Value is the parameter to be passed for HAL_SYSTICK_Config() function
- 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (++) Reload Value should not exceed 0xFFFFFF
- 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** @endverbatim
- 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ******************************************************************************
- 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @attention
- 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** *
- 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * © Copyright (c) 2017 STMicroelectronics.
- 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * All rights reserved.
- 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** *
- 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * the "License"; You may not use this file except in compliance with the
- 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * License. You may obtain a copy of the License at:
- 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * opensource.org/licenses/BSD-3-Clause
- 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** *
- 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ******************************************************************************
- 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Includes ------------------------------------------------------------------*/
- 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** #include "stm32f1xx_hal.h"
- 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /** @addtogroup STM32F1xx_HAL_Driver
- 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @{
- 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /** @defgroup CORTEX CORTEX
- 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief CORTEX HAL module driver
-ARM GAS /tmp/cc8EHLWE.s page 3
-
-
- 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @{
- 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** #ifdef HAL_CORTEX_MODULE_ENABLED
- 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Private types -------------------------------------------------------------*/
- 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Private variables ---------------------------------------------------------*/
- 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Private constants ---------------------------------------------------------*/
- 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Private macros ------------------------------------------------------------*/
- 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Private functions ---------------------------------------------------------*/
- 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Exported functions --------------------------------------------------------*/
- 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /** @defgroup CORTEX_Exported_Functions CORTEX Exported Functions
- 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @{
- 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /** @defgroup CORTEX_Exported_Functions_Group1 Initialization and de-initialization functions
- 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Initialization and Configuration functions
- 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** *
- 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** @verbatim
- 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ==============================================================================
- 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ##### Initialization and de-initialization functions #####
- 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ==============================================================================
- 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** [..]
- 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** This section provides the CORTEX HAL driver functions allowing to configure Interrupts
- 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** Systick functionalities
- 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** @endverbatim
- 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @{
- 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
- 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Sets the priority grouping field (preemption priority and subpriority)
- 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * using the required unlock sequence.
- 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param PriorityGroup: The priority grouping bits length.
- 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be one of the following values:
- 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_0: 0 bits for preemption priority
- 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * 4 bits for subpriority
- 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_1: 1 bits for preemption priority
- 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * 3 bits for subpriority
- 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_2: 2 bits for preemption priority
- 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * 2 bits for subpriority
- 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_3: 3 bits for preemption priority
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * 1 bits for subpriority
- 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_4: 4 bits for preemption priority
- 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * 0 bits for subpriority
- 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @note When the NVIC_PriorityGroup_0 is selected, IRQ preemption is no more possible.
- 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * The pending IRQ priority will be managed only by the subpriority.
- 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
- 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
- 26 .loc 1 144 0
- 27 .cfi_startproc
- 28 @ args = 0, pretend = 0, frame = 0
-ARM GAS /tmp/cc8EHLWE.s page 4
-
-
- 29 @ frame_needed = 0, uses_anonymous_args = 0
- 30 @ link register save eliminated.
- 31 .LVL0:
- 32 .LBB46:
- 33 .LBB47:
- 34 .file 2 "Drivers/CMSIS/Include/core_cm3.h"
- 1:Drivers/CMSIS/Include/core_cm3.h **** /**************************************************************************//**
- 2:Drivers/CMSIS/Include/core_cm3.h **** * @file core_cm3.h
- 3:Drivers/CMSIS/Include/core_cm3.h **** * @brief CMSIS Cortex-M3 Core Peripheral Access Layer Header File
- 4:Drivers/CMSIS/Include/core_cm3.h **** * @version V5.0.8
- 5:Drivers/CMSIS/Include/core_cm3.h **** * @date 04. June 2018
- 6:Drivers/CMSIS/Include/core_cm3.h **** ******************************************************************************/
- 7:Drivers/CMSIS/Include/core_cm3.h **** /*
- 8:Drivers/CMSIS/Include/core_cm3.h **** * Copyright (c) 2009-2018 Arm Limited. All rights reserved.
- 9:Drivers/CMSIS/Include/core_cm3.h **** *
- 10:Drivers/CMSIS/Include/core_cm3.h **** * SPDX-License-Identifier: Apache-2.0
- 11:Drivers/CMSIS/Include/core_cm3.h **** *
- 12:Drivers/CMSIS/Include/core_cm3.h **** * Licensed under the Apache License, Version 2.0 (the License); you may
- 13:Drivers/CMSIS/Include/core_cm3.h **** * not use this file except in compliance with the License.
- 14:Drivers/CMSIS/Include/core_cm3.h **** * You may obtain a copy of the License at
- 15:Drivers/CMSIS/Include/core_cm3.h **** *
- 16:Drivers/CMSIS/Include/core_cm3.h **** * www.apache.org/licenses/LICENSE-2.0
- 17:Drivers/CMSIS/Include/core_cm3.h **** *
- 18:Drivers/CMSIS/Include/core_cm3.h **** * Unless required by applicable law or agreed to in writing, software
- 19:Drivers/CMSIS/Include/core_cm3.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT
- 20:Drivers/CMSIS/Include/core_cm3.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- 21:Drivers/CMSIS/Include/core_cm3.h **** * See the License for the specific language governing permissions and
- 22:Drivers/CMSIS/Include/core_cm3.h **** * limitations under the License.
- 23:Drivers/CMSIS/Include/core_cm3.h **** */
- 24:Drivers/CMSIS/Include/core_cm3.h ****
- 25:Drivers/CMSIS/Include/core_cm3.h **** #if defined ( __ICCARM__ )
- 26:Drivers/CMSIS/Include/core_cm3.h **** #pragma system_include /* treat file as system include file for MISRA check */
- 27:Drivers/CMSIS/Include/core_cm3.h **** #elif defined (__clang__)
- 28:Drivers/CMSIS/Include/core_cm3.h **** #pragma clang system_header /* treat file as system include file */
- 29:Drivers/CMSIS/Include/core_cm3.h **** #endif
- 30:Drivers/CMSIS/Include/core_cm3.h ****
- 31:Drivers/CMSIS/Include/core_cm3.h **** #ifndef __CORE_CM3_H_GENERIC
- 32:Drivers/CMSIS/Include/core_cm3.h **** #define __CORE_CM3_H_GENERIC
- 33:Drivers/CMSIS/Include/core_cm3.h ****
- 34:Drivers/CMSIS/Include/core_cm3.h **** #include
- 35:Drivers/CMSIS/Include/core_cm3.h ****
- 36:Drivers/CMSIS/Include/core_cm3.h **** #ifdef __cplusplus
- 37:Drivers/CMSIS/Include/core_cm3.h **** extern "C" {
- 38:Drivers/CMSIS/Include/core_cm3.h **** #endif
- 39:Drivers/CMSIS/Include/core_cm3.h ****
- 40:Drivers/CMSIS/Include/core_cm3.h **** /**
- 41:Drivers/CMSIS/Include/core_cm3.h **** \page CMSIS_MISRA_Exceptions MISRA-C:2004 Compliance Exceptions
- 42:Drivers/CMSIS/Include/core_cm3.h **** CMSIS violates the following MISRA-C:2004 rules:
- 43:Drivers/CMSIS/Include/core_cm3.h ****
- 44:Drivers/CMSIS/Include/core_cm3.h **** \li Required Rule 8.5, object/function definition in header file.
- 45:Drivers/CMSIS/Include/core_cm3.h **** Function definitions in header files are used to allow 'inlining'.
- 46:Drivers/CMSIS/Include/core_cm3.h ****
- 47:Drivers/CMSIS/Include/core_cm3.h **** \li Required Rule 18.4, declaration of union type or object of union type: '{...}'.
- 48:Drivers/CMSIS/Include/core_cm3.h **** Unions are used for effective representation of core registers.
- 49:Drivers/CMSIS/Include/core_cm3.h ****
- 50:Drivers/CMSIS/Include/core_cm3.h **** \li Advisory Rule 19.7, Function-like macro defined.
- 51:Drivers/CMSIS/Include/core_cm3.h **** Function-like macros are used to allow more efficient code.
-ARM GAS /tmp/cc8EHLWE.s page 5
-
-
- 52:Drivers/CMSIS/Include/core_cm3.h **** */
- 53:Drivers/CMSIS/Include/core_cm3.h ****
- 54:Drivers/CMSIS/Include/core_cm3.h ****
- 55:Drivers/CMSIS/Include/core_cm3.h **** /*******************************************************************************
- 56:Drivers/CMSIS/Include/core_cm3.h **** * CMSIS definitions
- 57:Drivers/CMSIS/Include/core_cm3.h **** ******************************************************************************/
- 58:Drivers/CMSIS/Include/core_cm3.h **** /**
- 59:Drivers/CMSIS/Include/core_cm3.h **** \ingroup Cortex_M3
- 60:Drivers/CMSIS/Include/core_cm3.h **** @{
- 61:Drivers/CMSIS/Include/core_cm3.h **** */
- 62:Drivers/CMSIS/Include/core_cm3.h ****
- 63:Drivers/CMSIS/Include/core_cm3.h **** #include "cmsis_version.h"
- 64:Drivers/CMSIS/Include/core_cm3.h ****
- 65:Drivers/CMSIS/Include/core_cm3.h **** /* CMSIS CM3 definitions */
- 66:Drivers/CMSIS/Include/core_cm3.h **** #define __CM3_CMSIS_VERSION_MAIN (__CM_CMSIS_VERSION_MAIN) /*!< \deprecated [31:16] C
- 67:Drivers/CMSIS/Include/core_cm3.h **** #define __CM3_CMSIS_VERSION_SUB (__CM_CMSIS_VERSION_SUB) /*!< \deprecated [15:0] C
- 68:Drivers/CMSIS/Include/core_cm3.h **** #define __CM3_CMSIS_VERSION ((__CM3_CMSIS_VERSION_MAIN << 16U) | \
- 69:Drivers/CMSIS/Include/core_cm3.h **** __CM3_CMSIS_VERSION_SUB ) /*!< \deprecated CMSIS HAL
- 70:Drivers/CMSIS/Include/core_cm3.h ****
- 71:Drivers/CMSIS/Include/core_cm3.h **** #define __CORTEX_M (3U) /*!< Cortex-M Core */
- 72:Drivers/CMSIS/Include/core_cm3.h ****
- 73:Drivers/CMSIS/Include/core_cm3.h **** /** __FPU_USED indicates whether an FPU is used or not.
- 74:Drivers/CMSIS/Include/core_cm3.h **** This core does not support an FPU at all
- 75:Drivers/CMSIS/Include/core_cm3.h **** */
- 76:Drivers/CMSIS/Include/core_cm3.h **** #define __FPU_USED 0U
- 77:Drivers/CMSIS/Include/core_cm3.h ****
- 78:Drivers/CMSIS/Include/core_cm3.h **** #if defined ( __CC_ARM )
- 79:Drivers/CMSIS/Include/core_cm3.h **** #if defined __TARGET_FPU_VFP
- 80:Drivers/CMSIS/Include/core_cm3.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
- 81:Drivers/CMSIS/Include/core_cm3.h **** #endif
- 82:Drivers/CMSIS/Include/core_cm3.h ****
- 83:Drivers/CMSIS/Include/core_cm3.h **** #elif defined (__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050)
- 84:Drivers/CMSIS/Include/core_cm3.h **** #if defined __ARM_PCS_VFP
- 85:Drivers/CMSIS/Include/core_cm3.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
- 86:Drivers/CMSIS/Include/core_cm3.h **** #endif
- 87:Drivers/CMSIS/Include/core_cm3.h ****
- 88:Drivers/CMSIS/Include/core_cm3.h **** #elif defined ( __GNUC__ )
- 89:Drivers/CMSIS/Include/core_cm3.h **** #if defined (__VFP_FP__) && !defined(__SOFTFP__)
- 90:Drivers/CMSIS/Include/core_cm3.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
- 91:Drivers/CMSIS/Include/core_cm3.h **** #endif
- 92:Drivers/CMSIS/Include/core_cm3.h ****
- 93:Drivers/CMSIS/Include/core_cm3.h **** #elif defined ( __ICCARM__ )
- 94:Drivers/CMSIS/Include/core_cm3.h **** #if defined __ARMVFP__
- 95:Drivers/CMSIS/Include/core_cm3.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
- 96:Drivers/CMSIS/Include/core_cm3.h **** #endif
- 97:Drivers/CMSIS/Include/core_cm3.h ****
- 98:Drivers/CMSIS/Include/core_cm3.h **** #elif defined ( __TI_ARM__ )
- 99:Drivers/CMSIS/Include/core_cm3.h **** #if defined __TI_VFP_SUPPORT__
- 100:Drivers/CMSIS/Include/core_cm3.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
- 101:Drivers/CMSIS/Include/core_cm3.h **** #endif
- 102:Drivers/CMSIS/Include/core_cm3.h ****
- 103:Drivers/CMSIS/Include/core_cm3.h **** #elif defined ( __TASKING__ )
- 104:Drivers/CMSIS/Include/core_cm3.h **** #if defined __FPU_VFP__
- 105:Drivers/CMSIS/Include/core_cm3.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
- 106:Drivers/CMSIS/Include/core_cm3.h **** #endif
- 107:Drivers/CMSIS/Include/core_cm3.h ****
- 108:Drivers/CMSIS/Include/core_cm3.h **** #elif defined ( __CSMC__ )
-ARM GAS /tmp/cc8EHLWE.s page 6
-
-
- 109:Drivers/CMSIS/Include/core_cm3.h **** #if ( __CSMC__ & 0x400U)
- 110:Drivers/CMSIS/Include/core_cm3.h **** #error "Compiler generates FPU instructions for a device without an FPU (check __FPU_PRESENT)"
- 111:Drivers/CMSIS/Include/core_cm3.h **** #endif
- 112:Drivers/CMSIS/Include/core_cm3.h ****
- 113:Drivers/CMSIS/Include/core_cm3.h **** #endif
- 114:Drivers/CMSIS/Include/core_cm3.h ****
- 115:Drivers/CMSIS/Include/core_cm3.h **** #include "cmsis_compiler.h" /* CMSIS compiler specific defines */
- 116:Drivers/CMSIS/Include/core_cm3.h ****
- 117:Drivers/CMSIS/Include/core_cm3.h ****
- 118:Drivers/CMSIS/Include/core_cm3.h **** #ifdef __cplusplus
- 119:Drivers/CMSIS/Include/core_cm3.h **** }
- 120:Drivers/CMSIS/Include/core_cm3.h **** #endif
- 121:Drivers/CMSIS/Include/core_cm3.h ****
- 122:Drivers/CMSIS/Include/core_cm3.h **** #endif /* __CORE_CM3_H_GENERIC */
- 123:Drivers/CMSIS/Include/core_cm3.h ****
- 124:Drivers/CMSIS/Include/core_cm3.h **** #ifndef __CMSIS_GENERIC
- 125:Drivers/CMSIS/Include/core_cm3.h ****
- 126:Drivers/CMSIS/Include/core_cm3.h **** #ifndef __CORE_CM3_H_DEPENDANT
- 127:Drivers/CMSIS/Include/core_cm3.h **** #define __CORE_CM3_H_DEPENDANT
- 128:Drivers/CMSIS/Include/core_cm3.h ****
- 129:Drivers/CMSIS/Include/core_cm3.h **** #ifdef __cplusplus
- 130:Drivers/CMSIS/Include/core_cm3.h **** extern "C" {
- 131:Drivers/CMSIS/Include/core_cm3.h **** #endif
- 132:Drivers/CMSIS/Include/core_cm3.h ****
- 133:Drivers/CMSIS/Include/core_cm3.h **** /* check device defines and use defaults */
- 134:Drivers/CMSIS/Include/core_cm3.h **** #if defined __CHECK_DEVICE_DEFINES
- 135:Drivers/CMSIS/Include/core_cm3.h **** #ifndef __CM3_REV
- 136:Drivers/CMSIS/Include/core_cm3.h **** #define __CM3_REV 0x0200U
- 137:Drivers/CMSIS/Include/core_cm3.h **** #warning "__CM3_REV not defined in device header file; using default!"
- 138:Drivers/CMSIS/Include/core_cm3.h **** #endif
- 139:Drivers/CMSIS/Include/core_cm3.h ****
- 140:Drivers/CMSIS/Include/core_cm3.h **** #ifndef __MPU_PRESENT
- 141:Drivers/CMSIS/Include/core_cm3.h **** #define __MPU_PRESENT 0U
- 142:Drivers/CMSIS/Include/core_cm3.h **** #warning "__MPU_PRESENT not defined in device header file; using default!"
- 143:Drivers/CMSIS/Include/core_cm3.h **** #endif
- 144:Drivers/CMSIS/Include/core_cm3.h ****
- 145:Drivers/CMSIS/Include/core_cm3.h **** #ifndef __NVIC_PRIO_BITS
- 146:Drivers/CMSIS/Include/core_cm3.h **** #define __NVIC_PRIO_BITS 3U
- 147:Drivers/CMSIS/Include/core_cm3.h **** #warning "__NVIC_PRIO_BITS not defined in device header file; using default!"
- 148:Drivers/CMSIS/Include/core_cm3.h **** #endif
- 149:Drivers/CMSIS/Include/core_cm3.h ****
- 150:Drivers/CMSIS/Include/core_cm3.h **** #ifndef __Vendor_SysTickConfig
- 151:Drivers/CMSIS/Include/core_cm3.h **** #define __Vendor_SysTickConfig 0U
- 152:Drivers/CMSIS/Include/core_cm3.h **** #warning "__Vendor_SysTickConfig not defined in device header file; using default!"
- 153:Drivers/CMSIS/Include/core_cm3.h **** #endif
- 154:Drivers/CMSIS/Include/core_cm3.h **** #endif
- 155:Drivers/CMSIS/Include/core_cm3.h ****
- 156:Drivers/CMSIS/Include/core_cm3.h **** /* IO definitions (access restrictions to peripheral registers) */
- 157:Drivers/CMSIS/Include/core_cm3.h **** /**
- 158:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_glob_defs CMSIS Global Defines
- 159:Drivers/CMSIS/Include/core_cm3.h ****
- 160:Drivers/CMSIS/Include/core_cm3.h **** IO Type Qualifiers are used
- 161:Drivers/CMSIS/Include/core_cm3.h **** \li to specify the access to peripheral variables.
- 162:Drivers/CMSIS/Include/core_cm3.h **** \li for automatic generation of peripheral register debug information.
- 163:Drivers/CMSIS/Include/core_cm3.h **** */
- 164:Drivers/CMSIS/Include/core_cm3.h **** #ifdef __cplusplus
- 165:Drivers/CMSIS/Include/core_cm3.h **** #define __I volatile /*!< Defines 'read only' permissions */
-ARM GAS /tmp/cc8EHLWE.s page 7
-
-
- 166:Drivers/CMSIS/Include/core_cm3.h **** #else
- 167:Drivers/CMSIS/Include/core_cm3.h **** #define __I volatile const /*!< Defines 'read only' permissions */
- 168:Drivers/CMSIS/Include/core_cm3.h **** #endif
- 169:Drivers/CMSIS/Include/core_cm3.h **** #define __O volatile /*!< Defines 'write only' permissions */
- 170:Drivers/CMSIS/Include/core_cm3.h **** #define __IO volatile /*!< Defines 'read / write' permissions */
- 171:Drivers/CMSIS/Include/core_cm3.h ****
- 172:Drivers/CMSIS/Include/core_cm3.h **** /* following defines should be used for structure members */
- 173:Drivers/CMSIS/Include/core_cm3.h **** #define __IM volatile const /*! Defines 'read only' structure member permissions */
- 174:Drivers/CMSIS/Include/core_cm3.h **** #define __OM volatile /*! Defines 'write only' structure member permissions */
- 175:Drivers/CMSIS/Include/core_cm3.h **** #define __IOM volatile /*! Defines 'read / write' structure member permissions */
- 176:Drivers/CMSIS/Include/core_cm3.h ****
- 177:Drivers/CMSIS/Include/core_cm3.h **** /*@} end of group Cortex_M3 */
- 178:Drivers/CMSIS/Include/core_cm3.h ****
- 179:Drivers/CMSIS/Include/core_cm3.h ****
- 180:Drivers/CMSIS/Include/core_cm3.h ****
- 181:Drivers/CMSIS/Include/core_cm3.h **** /*******************************************************************************
- 182:Drivers/CMSIS/Include/core_cm3.h **** * Register Abstraction
- 183:Drivers/CMSIS/Include/core_cm3.h **** Core Register contain:
- 184:Drivers/CMSIS/Include/core_cm3.h **** - Core Register
- 185:Drivers/CMSIS/Include/core_cm3.h **** - Core NVIC Register
- 186:Drivers/CMSIS/Include/core_cm3.h **** - Core SCB Register
- 187:Drivers/CMSIS/Include/core_cm3.h **** - Core SysTick Register
- 188:Drivers/CMSIS/Include/core_cm3.h **** - Core Debug Register
- 189:Drivers/CMSIS/Include/core_cm3.h **** - Core MPU Register
- 190:Drivers/CMSIS/Include/core_cm3.h **** ******************************************************************************/
- 191:Drivers/CMSIS/Include/core_cm3.h **** /**
- 192:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_core_register Defines and Type Definitions
- 193:Drivers/CMSIS/Include/core_cm3.h **** \brief Type definitions and defines for Cortex-M processor based devices.
- 194:Drivers/CMSIS/Include/core_cm3.h **** */
- 195:Drivers/CMSIS/Include/core_cm3.h ****
- 196:Drivers/CMSIS/Include/core_cm3.h **** /**
- 197:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_core_register
- 198:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_CORE Status and Control Registers
- 199:Drivers/CMSIS/Include/core_cm3.h **** \brief Core Register type definitions.
- 200:Drivers/CMSIS/Include/core_cm3.h **** @{
- 201:Drivers/CMSIS/Include/core_cm3.h **** */
- 202:Drivers/CMSIS/Include/core_cm3.h ****
- 203:Drivers/CMSIS/Include/core_cm3.h **** /**
- 204:Drivers/CMSIS/Include/core_cm3.h **** \brief Union type to access the Application Program Status Register (APSR).
- 205:Drivers/CMSIS/Include/core_cm3.h **** */
- 206:Drivers/CMSIS/Include/core_cm3.h **** typedef union
- 207:Drivers/CMSIS/Include/core_cm3.h **** {
- 208:Drivers/CMSIS/Include/core_cm3.h **** struct
- 209:Drivers/CMSIS/Include/core_cm3.h **** {
- 210:Drivers/CMSIS/Include/core_cm3.h **** uint32_t _reserved0:27; /*!< bit: 0..26 Reserved */
- 211:Drivers/CMSIS/Include/core_cm3.h **** uint32_t Q:1; /*!< bit: 27 Saturation condition flag */
- 212:Drivers/CMSIS/Include/core_cm3.h **** uint32_t V:1; /*!< bit: 28 Overflow condition code flag */
- 213:Drivers/CMSIS/Include/core_cm3.h **** uint32_t C:1; /*!< bit: 29 Carry condition code flag */
- 214:Drivers/CMSIS/Include/core_cm3.h **** uint32_t Z:1; /*!< bit: 30 Zero condition code flag */
- 215:Drivers/CMSIS/Include/core_cm3.h **** uint32_t N:1; /*!< bit: 31 Negative condition code flag */
- 216:Drivers/CMSIS/Include/core_cm3.h **** } b; /*!< Structure used for bit access */
- 217:Drivers/CMSIS/Include/core_cm3.h **** uint32_t w; /*!< Type used for word access */
- 218:Drivers/CMSIS/Include/core_cm3.h **** } APSR_Type;
- 219:Drivers/CMSIS/Include/core_cm3.h ****
- 220:Drivers/CMSIS/Include/core_cm3.h **** /* APSR Register Definitions */
- 221:Drivers/CMSIS/Include/core_cm3.h **** #define APSR_N_Pos 31U /*!< APSR
- 222:Drivers/CMSIS/Include/core_cm3.h **** #define APSR_N_Msk (1UL << APSR_N_Pos) /*!< APSR
-ARM GAS /tmp/cc8EHLWE.s page 8
-
-
- 223:Drivers/CMSIS/Include/core_cm3.h ****
- 224:Drivers/CMSIS/Include/core_cm3.h **** #define APSR_Z_Pos 30U /*!< APSR
- 225:Drivers/CMSIS/Include/core_cm3.h **** #define APSR_Z_Msk (1UL << APSR_Z_Pos) /*!< APSR
- 226:Drivers/CMSIS/Include/core_cm3.h ****
- 227:Drivers/CMSIS/Include/core_cm3.h **** #define APSR_C_Pos 29U /*!< APSR
- 228:Drivers/CMSIS/Include/core_cm3.h **** #define APSR_C_Msk (1UL << APSR_C_Pos) /*!< APSR
- 229:Drivers/CMSIS/Include/core_cm3.h ****
- 230:Drivers/CMSIS/Include/core_cm3.h **** #define APSR_V_Pos 28U /*!< APSR
- 231:Drivers/CMSIS/Include/core_cm3.h **** #define APSR_V_Msk (1UL << APSR_V_Pos) /*!< APSR
- 232:Drivers/CMSIS/Include/core_cm3.h ****
- 233:Drivers/CMSIS/Include/core_cm3.h **** #define APSR_Q_Pos 27U /*!< APSR
- 234:Drivers/CMSIS/Include/core_cm3.h **** #define APSR_Q_Msk (1UL << APSR_Q_Pos) /*!< APSR
- 235:Drivers/CMSIS/Include/core_cm3.h ****
- 236:Drivers/CMSIS/Include/core_cm3.h ****
- 237:Drivers/CMSIS/Include/core_cm3.h **** /**
- 238:Drivers/CMSIS/Include/core_cm3.h **** \brief Union type to access the Interrupt Program Status Register (IPSR).
- 239:Drivers/CMSIS/Include/core_cm3.h **** */
- 240:Drivers/CMSIS/Include/core_cm3.h **** typedef union
- 241:Drivers/CMSIS/Include/core_cm3.h **** {
- 242:Drivers/CMSIS/Include/core_cm3.h **** struct
- 243:Drivers/CMSIS/Include/core_cm3.h **** {
- 244:Drivers/CMSIS/Include/core_cm3.h **** uint32_t ISR:9; /*!< bit: 0.. 8 Exception number */
- 245:Drivers/CMSIS/Include/core_cm3.h **** uint32_t _reserved0:23; /*!< bit: 9..31 Reserved */
- 246:Drivers/CMSIS/Include/core_cm3.h **** } b; /*!< Structure used for bit access */
- 247:Drivers/CMSIS/Include/core_cm3.h **** uint32_t w; /*!< Type used for word access */
- 248:Drivers/CMSIS/Include/core_cm3.h **** } IPSR_Type;
- 249:Drivers/CMSIS/Include/core_cm3.h ****
- 250:Drivers/CMSIS/Include/core_cm3.h **** /* IPSR Register Definitions */
- 251:Drivers/CMSIS/Include/core_cm3.h **** #define IPSR_ISR_Pos 0U /*!< IPSR
- 252:Drivers/CMSIS/Include/core_cm3.h **** #define IPSR_ISR_Msk (0x1FFUL /*<< IPSR_ISR_Pos*/) /*!< IPSR
- 253:Drivers/CMSIS/Include/core_cm3.h ****
- 254:Drivers/CMSIS/Include/core_cm3.h ****
- 255:Drivers/CMSIS/Include/core_cm3.h **** /**
- 256:Drivers/CMSIS/Include/core_cm3.h **** \brief Union type to access the Special-Purpose Program Status Registers (xPSR).
- 257:Drivers/CMSIS/Include/core_cm3.h **** */
- 258:Drivers/CMSIS/Include/core_cm3.h **** typedef union
- 259:Drivers/CMSIS/Include/core_cm3.h **** {
- 260:Drivers/CMSIS/Include/core_cm3.h **** struct
- 261:Drivers/CMSIS/Include/core_cm3.h **** {
- 262:Drivers/CMSIS/Include/core_cm3.h **** uint32_t ISR:9; /*!< bit: 0.. 8 Exception number */
- 263:Drivers/CMSIS/Include/core_cm3.h **** uint32_t _reserved0:1; /*!< bit: 9 Reserved */
- 264:Drivers/CMSIS/Include/core_cm3.h **** uint32_t ICI_IT_1:6; /*!< bit: 10..15 ICI/IT part 1 */
- 265:Drivers/CMSIS/Include/core_cm3.h **** uint32_t _reserved1:8; /*!< bit: 16..23 Reserved */
- 266:Drivers/CMSIS/Include/core_cm3.h **** uint32_t T:1; /*!< bit: 24 Thumb bit */
- 267:Drivers/CMSIS/Include/core_cm3.h **** uint32_t ICI_IT_2:2; /*!< bit: 25..26 ICI/IT part 2 */
- 268:Drivers/CMSIS/Include/core_cm3.h **** uint32_t Q:1; /*!< bit: 27 Saturation condition flag */
- 269:Drivers/CMSIS/Include/core_cm3.h **** uint32_t V:1; /*!< bit: 28 Overflow condition code flag */
- 270:Drivers/CMSIS/Include/core_cm3.h **** uint32_t C:1; /*!< bit: 29 Carry condition code flag */
- 271:Drivers/CMSIS/Include/core_cm3.h **** uint32_t Z:1; /*!< bit: 30 Zero condition code flag */
- 272:Drivers/CMSIS/Include/core_cm3.h **** uint32_t N:1; /*!< bit: 31 Negative condition code flag */
- 273:Drivers/CMSIS/Include/core_cm3.h **** } b; /*!< Structure used for bit access */
- 274:Drivers/CMSIS/Include/core_cm3.h **** uint32_t w; /*!< Type used for word access */
- 275:Drivers/CMSIS/Include/core_cm3.h **** } xPSR_Type;
- 276:Drivers/CMSIS/Include/core_cm3.h ****
- 277:Drivers/CMSIS/Include/core_cm3.h **** /* xPSR Register Definitions */
- 278:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_N_Pos 31U /*!< xPSR
- 279:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_N_Msk (1UL << xPSR_N_Pos) /*!< xPSR
-ARM GAS /tmp/cc8EHLWE.s page 9
-
-
- 280:Drivers/CMSIS/Include/core_cm3.h ****
- 281:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_Z_Pos 30U /*!< xPSR
- 282:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_Z_Msk (1UL << xPSR_Z_Pos) /*!< xPSR
- 283:Drivers/CMSIS/Include/core_cm3.h ****
- 284:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_C_Pos 29U /*!< xPSR
- 285:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_C_Msk (1UL << xPSR_C_Pos) /*!< xPSR
- 286:Drivers/CMSIS/Include/core_cm3.h ****
- 287:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_V_Pos 28U /*!< xPSR
- 288:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_V_Msk (1UL << xPSR_V_Pos) /*!< xPSR
- 289:Drivers/CMSIS/Include/core_cm3.h ****
- 290:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_Q_Pos 27U /*!< xPSR
- 291:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_Q_Msk (1UL << xPSR_Q_Pos) /*!< xPSR
- 292:Drivers/CMSIS/Include/core_cm3.h ****
- 293:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_ICI_IT_2_Pos 25U /*!< xPSR
- 294:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_ICI_IT_2_Msk (3UL << xPSR_ICI_IT_2_Pos) /*!< xPSR
- 295:Drivers/CMSIS/Include/core_cm3.h ****
- 296:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_T_Pos 24U /*!< xPSR
- 297:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_T_Msk (1UL << xPSR_T_Pos) /*!< xPSR
- 298:Drivers/CMSIS/Include/core_cm3.h ****
- 299:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_ICI_IT_1_Pos 10U /*!< xPSR
- 300:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_ICI_IT_1_Msk (0x3FUL << xPSR_ICI_IT_1_Pos) /*!< xPSR
- 301:Drivers/CMSIS/Include/core_cm3.h ****
- 302:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_ISR_Pos 0U /*!< xPSR
- 303:Drivers/CMSIS/Include/core_cm3.h **** #define xPSR_ISR_Msk (0x1FFUL /*<< xPSR_ISR_Pos*/) /*!< xPSR
- 304:Drivers/CMSIS/Include/core_cm3.h ****
- 305:Drivers/CMSIS/Include/core_cm3.h ****
- 306:Drivers/CMSIS/Include/core_cm3.h **** /**
- 307:Drivers/CMSIS/Include/core_cm3.h **** \brief Union type to access the Control Registers (CONTROL).
- 308:Drivers/CMSIS/Include/core_cm3.h **** */
- 309:Drivers/CMSIS/Include/core_cm3.h **** typedef union
- 310:Drivers/CMSIS/Include/core_cm3.h **** {
- 311:Drivers/CMSIS/Include/core_cm3.h **** struct
- 312:Drivers/CMSIS/Include/core_cm3.h **** {
- 313:Drivers/CMSIS/Include/core_cm3.h **** uint32_t nPRIV:1; /*!< bit: 0 Execution privilege in Thread mode */
- 314:Drivers/CMSIS/Include/core_cm3.h **** uint32_t SPSEL:1; /*!< bit: 1 Stack to be used */
- 315:Drivers/CMSIS/Include/core_cm3.h **** uint32_t _reserved1:30; /*!< bit: 2..31 Reserved */
- 316:Drivers/CMSIS/Include/core_cm3.h **** } b; /*!< Structure used for bit access */
- 317:Drivers/CMSIS/Include/core_cm3.h **** uint32_t w; /*!< Type used for word access */
- 318:Drivers/CMSIS/Include/core_cm3.h **** } CONTROL_Type;
- 319:Drivers/CMSIS/Include/core_cm3.h ****
- 320:Drivers/CMSIS/Include/core_cm3.h **** /* CONTROL Register Definitions */
- 321:Drivers/CMSIS/Include/core_cm3.h **** #define CONTROL_SPSEL_Pos 1U /*!< CONT
- 322:Drivers/CMSIS/Include/core_cm3.h **** #define CONTROL_SPSEL_Msk (1UL << CONTROL_SPSEL_Pos) /*!< CONT
- 323:Drivers/CMSIS/Include/core_cm3.h ****
- 324:Drivers/CMSIS/Include/core_cm3.h **** #define CONTROL_nPRIV_Pos 0U /*!< CONT
- 325:Drivers/CMSIS/Include/core_cm3.h **** #define CONTROL_nPRIV_Msk (1UL /*<< CONTROL_nPRIV_Pos*/) /*!< CONT
- 326:Drivers/CMSIS/Include/core_cm3.h ****
- 327:Drivers/CMSIS/Include/core_cm3.h **** /*@} end of group CMSIS_CORE */
- 328:Drivers/CMSIS/Include/core_cm3.h ****
- 329:Drivers/CMSIS/Include/core_cm3.h ****
- 330:Drivers/CMSIS/Include/core_cm3.h **** /**
- 331:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_core_register
- 332:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_NVIC Nested Vectored Interrupt Controller (NVIC)
- 333:Drivers/CMSIS/Include/core_cm3.h **** \brief Type definitions for the NVIC Registers
- 334:Drivers/CMSIS/Include/core_cm3.h **** @{
- 335:Drivers/CMSIS/Include/core_cm3.h **** */
- 336:Drivers/CMSIS/Include/core_cm3.h ****
-ARM GAS /tmp/cc8EHLWE.s page 10
-
-
- 337:Drivers/CMSIS/Include/core_cm3.h **** /**
- 338:Drivers/CMSIS/Include/core_cm3.h **** \brief Structure type to access the Nested Vectored Interrupt Controller (NVIC).
- 339:Drivers/CMSIS/Include/core_cm3.h **** */
- 340:Drivers/CMSIS/Include/core_cm3.h **** typedef struct
- 341:Drivers/CMSIS/Include/core_cm3.h **** {
- 342:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t ISER[8U]; /*!< Offset: 0x000 (R/W) Interrupt Set Enable Register */
- 343:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED0[24U];
- 344:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t ICER[8U]; /*!< Offset: 0x080 (R/W) Interrupt Clear Enable Register
- 345:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RSERVED1[24U];
- 346:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t ISPR[8U]; /*!< Offset: 0x100 (R/W) Interrupt Set Pending Register *
- 347:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED2[24U];
- 348:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t ICPR[8U]; /*!< Offset: 0x180 (R/W) Interrupt Clear Pending Register
- 349:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED3[24U];
- 350:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t IABR[8U]; /*!< Offset: 0x200 (R/W) Interrupt Active bit Register */
- 351:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED4[56U];
- 352:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint8_t IP[240U]; /*!< Offset: 0x300 (R/W) Interrupt Priority Register (8Bi
- 353:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED5[644U];
- 354:Drivers/CMSIS/Include/core_cm3.h **** __OM uint32_t STIR; /*!< Offset: 0xE00 ( /W) Software Trigger Interrupt Regis
- 355:Drivers/CMSIS/Include/core_cm3.h **** } NVIC_Type;
- 356:Drivers/CMSIS/Include/core_cm3.h ****
- 357:Drivers/CMSIS/Include/core_cm3.h **** /* Software Triggered Interrupt Register Definitions */
- 358:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_STIR_INTID_Pos 0U /*!< STIR: I
- 359:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_STIR_INTID_Msk (0x1FFUL /*<< NVIC_STIR_INTID_Pos*/) /*!< STIR: I
- 360:Drivers/CMSIS/Include/core_cm3.h ****
- 361:Drivers/CMSIS/Include/core_cm3.h **** /*@} end of group CMSIS_NVIC */
- 362:Drivers/CMSIS/Include/core_cm3.h ****
- 363:Drivers/CMSIS/Include/core_cm3.h ****
- 364:Drivers/CMSIS/Include/core_cm3.h **** /**
- 365:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_core_register
- 366:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_SCB System Control Block (SCB)
- 367:Drivers/CMSIS/Include/core_cm3.h **** \brief Type definitions for the System Control Block Registers
- 368:Drivers/CMSIS/Include/core_cm3.h **** @{
- 369:Drivers/CMSIS/Include/core_cm3.h **** */
- 370:Drivers/CMSIS/Include/core_cm3.h ****
- 371:Drivers/CMSIS/Include/core_cm3.h **** /**
- 372:Drivers/CMSIS/Include/core_cm3.h **** \brief Structure type to access the System Control Block (SCB).
- 373:Drivers/CMSIS/Include/core_cm3.h **** */
- 374:Drivers/CMSIS/Include/core_cm3.h **** typedef struct
- 375:Drivers/CMSIS/Include/core_cm3.h **** {
- 376:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t CPUID; /*!< Offset: 0x000 (R/ ) CPUID Base Register */
- 377:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t ICSR; /*!< Offset: 0x004 (R/W) Interrupt Control and State Regi
- 378:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t VTOR; /*!< Offset: 0x008 (R/W) Vector Table Offset Register */
- 379:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t AIRCR; /*!< Offset: 0x00C (R/W) Application Interrupt and Reset
- 380:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t SCR; /*!< Offset: 0x010 (R/W) System Control Register */
- 381:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t CCR; /*!< Offset: 0x014 (R/W) Configuration Control Register *
- 382:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint8_t SHP[12U]; /*!< Offset: 0x018 (R/W) System Handlers Priority Registe
- 383:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t SHCSR; /*!< Offset: 0x024 (R/W) System Handler Control and State
- 384:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t CFSR; /*!< Offset: 0x028 (R/W) Configurable Fault Status Regist
- 385:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t HFSR; /*!< Offset: 0x02C (R/W) HardFault Status Register */
- 386:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t DFSR; /*!< Offset: 0x030 (R/W) Debug Fault Status Register */
- 387:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t MMFAR; /*!< Offset: 0x034 (R/W) MemManage Fault Address Register
- 388:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t BFAR; /*!< Offset: 0x038 (R/W) BusFault Address Register */
- 389:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t AFSR; /*!< Offset: 0x03C (R/W) Auxiliary Fault Status Register
- 390:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t PFR[2U]; /*!< Offset: 0x040 (R/ ) Processor Feature Register */
- 391:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t DFR; /*!< Offset: 0x048 (R/ ) Debug Feature Register */
- 392:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t ADR; /*!< Offset: 0x04C (R/ ) Auxiliary Feature Register */
- 393:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t MMFR[4U]; /*!< Offset: 0x050 (R/ ) Memory Model Feature Register */
-ARM GAS /tmp/cc8EHLWE.s page 11
-
-
- 394:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t ISAR[5U]; /*!< Offset: 0x060 (R/ ) Instruction Set Attributes Regis
- 395:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED0[5U];
- 396:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t CPACR; /*!< Offset: 0x088 (R/W) Coprocessor Access Control Regis
- 397:Drivers/CMSIS/Include/core_cm3.h **** } SCB_Type;
- 398:Drivers/CMSIS/Include/core_cm3.h ****
- 399:Drivers/CMSIS/Include/core_cm3.h **** /* SCB CPUID Register Definitions */
- 400:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CPUID_IMPLEMENTER_Pos 24U /*!< SCB
- 401:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CPUID_IMPLEMENTER_Msk (0xFFUL << SCB_CPUID_IMPLEMENTER_Pos) /*!< SCB
- 402:Drivers/CMSIS/Include/core_cm3.h ****
- 403:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CPUID_VARIANT_Pos 20U /*!< SCB
- 404:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CPUID_VARIANT_Msk (0xFUL << SCB_CPUID_VARIANT_Pos) /*!< SCB
- 405:Drivers/CMSIS/Include/core_cm3.h ****
- 406:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CPUID_ARCHITECTURE_Pos 16U /*!< SCB
- 407:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CPUID_ARCHITECTURE_Msk (0xFUL << SCB_CPUID_ARCHITECTURE_Pos) /*!< SCB
- 408:Drivers/CMSIS/Include/core_cm3.h ****
- 409:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CPUID_PARTNO_Pos 4U /*!< SCB
- 410:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CPUID_PARTNO_Msk (0xFFFUL << SCB_CPUID_PARTNO_Pos) /*!< SCB
- 411:Drivers/CMSIS/Include/core_cm3.h ****
- 412:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CPUID_REVISION_Pos 0U /*!< SCB
- 413:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CPUID_REVISION_Msk (0xFUL /*<< SCB_CPUID_REVISION_Pos*/) /*!< SCB
- 414:Drivers/CMSIS/Include/core_cm3.h ****
- 415:Drivers/CMSIS/Include/core_cm3.h **** /* SCB Interrupt Control State Register Definitions */
- 416:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_NMIPENDSET_Pos 31U /*!< SCB
- 417:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_NMIPENDSET_Msk (1UL << SCB_ICSR_NMIPENDSET_Pos) /*!< SCB
- 418:Drivers/CMSIS/Include/core_cm3.h ****
- 419:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_PENDSVSET_Pos 28U /*!< SCB
- 420:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_PENDSVSET_Msk (1UL << SCB_ICSR_PENDSVSET_Pos) /*!< SCB
- 421:Drivers/CMSIS/Include/core_cm3.h ****
- 422:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_PENDSVCLR_Pos 27U /*!< SCB
- 423:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_PENDSVCLR_Msk (1UL << SCB_ICSR_PENDSVCLR_Pos) /*!< SCB
- 424:Drivers/CMSIS/Include/core_cm3.h ****
- 425:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_PENDSTSET_Pos 26U /*!< SCB
- 426:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_PENDSTSET_Msk (1UL << SCB_ICSR_PENDSTSET_Pos) /*!< SCB
- 427:Drivers/CMSIS/Include/core_cm3.h ****
- 428:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_PENDSTCLR_Pos 25U /*!< SCB
- 429:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_PENDSTCLR_Msk (1UL << SCB_ICSR_PENDSTCLR_Pos) /*!< SCB
- 430:Drivers/CMSIS/Include/core_cm3.h ****
- 431:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_ISRPREEMPT_Pos 23U /*!< SCB
- 432:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_ISRPREEMPT_Msk (1UL << SCB_ICSR_ISRPREEMPT_Pos) /*!< SCB
- 433:Drivers/CMSIS/Include/core_cm3.h ****
- 434:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_ISRPENDING_Pos 22U /*!< SCB
- 435:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_ISRPENDING_Msk (1UL << SCB_ICSR_ISRPENDING_Pos) /*!< SCB
- 436:Drivers/CMSIS/Include/core_cm3.h ****
- 437:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_VECTPENDING_Pos 12U /*!< SCB
- 438:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_VECTPENDING_Msk (0x1FFUL << SCB_ICSR_VECTPENDING_Pos) /*!< SCB
- 439:Drivers/CMSIS/Include/core_cm3.h ****
- 440:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_RETTOBASE_Pos 11U /*!< SCB
- 441:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_RETTOBASE_Msk (1UL << SCB_ICSR_RETTOBASE_Pos) /*!< SCB
- 442:Drivers/CMSIS/Include/core_cm3.h ****
- 443:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_VECTACTIVE_Pos 0U /*!< SCB
- 444:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_ICSR_VECTACTIVE_Msk (0x1FFUL /*<< SCB_ICSR_VECTACTIVE_Pos*/) /*!< SCB
- 445:Drivers/CMSIS/Include/core_cm3.h ****
- 446:Drivers/CMSIS/Include/core_cm3.h **** /* SCB Vector Table Offset Register Definitions */
- 447:Drivers/CMSIS/Include/core_cm3.h **** #if defined (__CM3_REV) && (__CM3_REV < 0x0201U) /* core r2p1 */
- 448:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_VTOR_TBLBASE_Pos 29U /*!< SCB
- 449:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_VTOR_TBLBASE_Msk (1UL << SCB_VTOR_TBLBASE_Pos) /*!< SCB
- 450:Drivers/CMSIS/Include/core_cm3.h ****
-ARM GAS /tmp/cc8EHLWE.s page 12
-
-
- 451:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_VTOR_TBLOFF_Pos 7U /*!< SCB
- 452:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_VTOR_TBLOFF_Msk (0x3FFFFFUL << SCB_VTOR_TBLOFF_Pos) /*!< SCB
- 453:Drivers/CMSIS/Include/core_cm3.h **** #else
- 454:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_VTOR_TBLOFF_Pos 7U /*!< SCB
- 455:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_VTOR_TBLOFF_Msk (0x1FFFFFFUL << SCB_VTOR_TBLOFF_Pos) /*!< SCB
- 456:Drivers/CMSIS/Include/core_cm3.h **** #endif
- 457:Drivers/CMSIS/Include/core_cm3.h ****
- 458:Drivers/CMSIS/Include/core_cm3.h **** /* SCB Application Interrupt and Reset Control Register Definitions */
- 459:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_VECTKEY_Pos 16U /*!< SCB
- 460:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_VECTKEY_Msk (0xFFFFUL << SCB_AIRCR_VECTKEY_Pos) /*!< SCB
- 461:Drivers/CMSIS/Include/core_cm3.h ****
- 462:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_VECTKEYSTAT_Pos 16U /*!< SCB
- 463:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_VECTKEYSTAT_Msk (0xFFFFUL << SCB_AIRCR_VECTKEYSTAT_Pos) /*!< SCB
- 464:Drivers/CMSIS/Include/core_cm3.h ****
- 465:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_ENDIANESS_Pos 15U /*!< SCB
- 466:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_ENDIANESS_Msk (1UL << SCB_AIRCR_ENDIANESS_Pos) /*!< SCB
- 467:Drivers/CMSIS/Include/core_cm3.h ****
- 468:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_PRIGROUP_Pos 8U /*!< SCB
- 469:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_PRIGROUP_Msk (7UL << SCB_AIRCR_PRIGROUP_Pos) /*!< SCB
- 470:Drivers/CMSIS/Include/core_cm3.h ****
- 471:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_SYSRESETREQ_Pos 2U /*!< SCB
- 472:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_SYSRESETREQ_Msk (1UL << SCB_AIRCR_SYSRESETREQ_Pos) /*!< SCB
- 473:Drivers/CMSIS/Include/core_cm3.h ****
- 474:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_VECTCLRACTIVE_Pos 1U /*!< SCB
- 475:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_VECTCLRACTIVE_Msk (1UL << SCB_AIRCR_VECTCLRACTIVE_Pos) /*!< SCB
- 476:Drivers/CMSIS/Include/core_cm3.h ****
- 477:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_VECTRESET_Pos 0U /*!< SCB
- 478:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_AIRCR_VECTRESET_Msk (1UL /*<< SCB_AIRCR_VECTRESET_Pos*/) /*!< SCB
- 479:Drivers/CMSIS/Include/core_cm3.h ****
- 480:Drivers/CMSIS/Include/core_cm3.h **** /* SCB System Control Register Definitions */
- 481:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SCR_SEVONPEND_Pos 4U /*!< SCB
- 482:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SCR_SEVONPEND_Msk (1UL << SCB_SCR_SEVONPEND_Pos) /*!< SCB
- 483:Drivers/CMSIS/Include/core_cm3.h ****
- 484:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SCR_SLEEPDEEP_Pos 2U /*!< SCB
- 485:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SCR_SLEEPDEEP_Msk (1UL << SCB_SCR_SLEEPDEEP_Pos) /*!< SCB
- 486:Drivers/CMSIS/Include/core_cm3.h ****
- 487:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SCR_SLEEPONEXIT_Pos 1U /*!< SCB
- 488:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SCR_SLEEPONEXIT_Msk (1UL << SCB_SCR_SLEEPONEXIT_Pos) /*!< SCB
- 489:Drivers/CMSIS/Include/core_cm3.h ****
- 490:Drivers/CMSIS/Include/core_cm3.h **** /* SCB Configuration Control Register Definitions */
- 491:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CCR_STKALIGN_Pos 9U /*!< SCB
- 492:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CCR_STKALIGN_Msk (1UL << SCB_CCR_STKALIGN_Pos) /*!< SCB
- 493:Drivers/CMSIS/Include/core_cm3.h ****
- 494:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CCR_BFHFNMIGN_Pos 8U /*!< SCB
- 495:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CCR_BFHFNMIGN_Msk (1UL << SCB_CCR_BFHFNMIGN_Pos) /*!< SCB
- 496:Drivers/CMSIS/Include/core_cm3.h ****
- 497:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CCR_DIV_0_TRP_Pos 4U /*!< SCB
- 498:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CCR_DIV_0_TRP_Msk (1UL << SCB_CCR_DIV_0_TRP_Pos) /*!< SCB
- 499:Drivers/CMSIS/Include/core_cm3.h ****
- 500:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CCR_UNALIGN_TRP_Pos 3U /*!< SCB
- 501:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CCR_UNALIGN_TRP_Msk (1UL << SCB_CCR_UNALIGN_TRP_Pos) /*!< SCB
- 502:Drivers/CMSIS/Include/core_cm3.h ****
- 503:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CCR_USERSETMPEND_Pos 1U /*!< SCB
- 504:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CCR_USERSETMPEND_Msk (1UL << SCB_CCR_USERSETMPEND_Pos) /*!< SCB
- 505:Drivers/CMSIS/Include/core_cm3.h ****
- 506:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CCR_NONBASETHRDENA_Pos 0U /*!< SCB
- 507:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CCR_NONBASETHRDENA_Msk (1UL /*<< SCB_CCR_NONBASETHRDENA_Pos*/) /*!< SCB
-ARM GAS /tmp/cc8EHLWE.s page 13
-
-
- 508:Drivers/CMSIS/Include/core_cm3.h ****
- 509:Drivers/CMSIS/Include/core_cm3.h **** /* SCB System Handler Control and State Register Definitions */
- 510:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_USGFAULTENA_Pos 18U /*!< SCB
- 511:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_USGFAULTENA_Msk (1UL << SCB_SHCSR_USGFAULTENA_Pos) /*!< SCB
- 512:Drivers/CMSIS/Include/core_cm3.h ****
- 513:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_BUSFAULTENA_Pos 17U /*!< SCB
- 514:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_BUSFAULTENA_Msk (1UL << SCB_SHCSR_BUSFAULTENA_Pos) /*!< SCB
- 515:Drivers/CMSIS/Include/core_cm3.h ****
- 516:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_MEMFAULTENA_Pos 16U /*!< SCB
- 517:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_MEMFAULTENA_Msk (1UL << SCB_SHCSR_MEMFAULTENA_Pos) /*!< SCB
- 518:Drivers/CMSIS/Include/core_cm3.h ****
- 519:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_SVCALLPENDED_Pos 15U /*!< SCB
- 520:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_SVCALLPENDED_Msk (1UL << SCB_SHCSR_SVCALLPENDED_Pos) /*!< SCB
- 521:Drivers/CMSIS/Include/core_cm3.h ****
- 522:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_BUSFAULTPENDED_Pos 14U /*!< SCB
- 523:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_BUSFAULTPENDED_Msk (1UL << SCB_SHCSR_BUSFAULTPENDED_Pos) /*!< SCB
- 524:Drivers/CMSIS/Include/core_cm3.h ****
- 525:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_MEMFAULTPENDED_Pos 13U /*!< SCB
- 526:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_MEMFAULTPENDED_Msk (1UL << SCB_SHCSR_MEMFAULTPENDED_Pos) /*!< SCB
- 527:Drivers/CMSIS/Include/core_cm3.h ****
- 528:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_USGFAULTPENDED_Pos 12U /*!< SCB
- 529:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_USGFAULTPENDED_Msk (1UL << SCB_SHCSR_USGFAULTPENDED_Pos) /*!< SCB
- 530:Drivers/CMSIS/Include/core_cm3.h ****
- 531:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_SYSTICKACT_Pos 11U /*!< SCB
- 532:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_SYSTICKACT_Msk (1UL << SCB_SHCSR_SYSTICKACT_Pos) /*!< SCB
- 533:Drivers/CMSIS/Include/core_cm3.h ****
- 534:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_PENDSVACT_Pos 10U /*!< SCB
- 535:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_PENDSVACT_Msk (1UL << SCB_SHCSR_PENDSVACT_Pos) /*!< SCB
- 536:Drivers/CMSIS/Include/core_cm3.h ****
- 537:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_MONITORACT_Pos 8U /*!< SCB
- 538:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_MONITORACT_Msk (1UL << SCB_SHCSR_MONITORACT_Pos) /*!< SCB
- 539:Drivers/CMSIS/Include/core_cm3.h ****
- 540:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_SVCALLACT_Pos 7U /*!< SCB
- 541:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_SVCALLACT_Msk (1UL << SCB_SHCSR_SVCALLACT_Pos) /*!< SCB
- 542:Drivers/CMSIS/Include/core_cm3.h ****
- 543:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_USGFAULTACT_Pos 3U /*!< SCB
- 544:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_USGFAULTACT_Msk (1UL << SCB_SHCSR_USGFAULTACT_Pos) /*!< SCB
- 545:Drivers/CMSIS/Include/core_cm3.h ****
- 546:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_BUSFAULTACT_Pos 1U /*!< SCB
- 547:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_BUSFAULTACT_Msk (1UL << SCB_SHCSR_BUSFAULTACT_Pos) /*!< SCB
- 548:Drivers/CMSIS/Include/core_cm3.h ****
- 549:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_MEMFAULTACT_Pos 0U /*!< SCB
- 550:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_SHCSR_MEMFAULTACT_Msk (1UL /*<< SCB_SHCSR_MEMFAULTACT_Pos*/) /*!< SCB
- 551:Drivers/CMSIS/Include/core_cm3.h ****
- 552:Drivers/CMSIS/Include/core_cm3.h **** /* SCB Configurable Fault Status Register Definitions */
- 553:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_USGFAULTSR_Pos 16U /*!< SCB
- 554:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_USGFAULTSR_Msk (0xFFFFUL << SCB_CFSR_USGFAULTSR_Pos) /*!< SCB
- 555:Drivers/CMSIS/Include/core_cm3.h ****
- 556:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_BUSFAULTSR_Pos 8U /*!< SCB
- 557:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_BUSFAULTSR_Msk (0xFFUL << SCB_CFSR_BUSFAULTSR_Pos) /*!< SCB
- 558:Drivers/CMSIS/Include/core_cm3.h ****
- 559:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_MEMFAULTSR_Pos 0U /*!< SCB
- 560:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_MEMFAULTSR_Msk (0xFFUL /*<< SCB_CFSR_MEMFAULTSR_Pos*/) /*!< SCB
- 561:Drivers/CMSIS/Include/core_cm3.h ****
- 562:Drivers/CMSIS/Include/core_cm3.h **** /* MemManage Fault Status Register (part of SCB Configurable Fault Status Register) */
- 563:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_MMARVALID_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 7U) /*!< SCB
- 564:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_MMARVALID_Msk (1UL << SCB_CFSR_MMARVALID_Pos) /*!< SCB
-ARM GAS /tmp/cc8EHLWE.s page 14
-
-
- 565:Drivers/CMSIS/Include/core_cm3.h ****
- 566:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_MSTKERR_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 4U) /*!< SCB
- 567:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_MSTKERR_Msk (1UL << SCB_CFSR_MSTKERR_Pos) /*!< SCB
- 568:Drivers/CMSIS/Include/core_cm3.h ****
- 569:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_MUNSTKERR_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 3U) /*!< SCB
- 570:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_MUNSTKERR_Msk (1UL << SCB_CFSR_MUNSTKERR_Pos) /*!< SCB
- 571:Drivers/CMSIS/Include/core_cm3.h ****
- 572:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_DACCVIOL_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 1U) /*!< SCB
- 573:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_DACCVIOL_Msk (1UL << SCB_CFSR_DACCVIOL_Pos) /*!< SCB
- 574:Drivers/CMSIS/Include/core_cm3.h ****
- 575:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_IACCVIOL_Pos (SCB_SHCSR_MEMFAULTACT_Pos + 0U) /*!< SCB
- 576:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_IACCVIOL_Msk (1UL /*<< SCB_CFSR_IACCVIOL_Pos*/) /*!< SCB
- 577:Drivers/CMSIS/Include/core_cm3.h ****
- 578:Drivers/CMSIS/Include/core_cm3.h **** /* BusFault Status Register (part of SCB Configurable Fault Status Register) */
- 579:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_BFARVALID_Pos (SCB_CFSR_BUSFAULTSR_Pos + 7U) /*!< SCB
- 580:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_BFARVALID_Msk (1UL << SCB_CFSR_BFARVALID_Pos) /*!< SCB
- 581:Drivers/CMSIS/Include/core_cm3.h ****
- 582:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_STKERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 4U) /*!< SCB
- 583:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_STKERR_Msk (1UL << SCB_CFSR_STKERR_Pos) /*!< SCB
- 584:Drivers/CMSIS/Include/core_cm3.h ****
- 585:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_UNSTKERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 3U) /*!< SCB
- 586:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_UNSTKERR_Msk (1UL << SCB_CFSR_UNSTKERR_Pos) /*!< SCB
- 587:Drivers/CMSIS/Include/core_cm3.h ****
- 588:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_IMPRECISERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 2U) /*!< SCB
- 589:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_IMPRECISERR_Msk (1UL << SCB_CFSR_IMPRECISERR_Pos) /*!< SCB
- 590:Drivers/CMSIS/Include/core_cm3.h ****
- 591:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_PRECISERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 1U) /*!< SCB
- 592:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_PRECISERR_Msk (1UL << SCB_CFSR_PRECISERR_Pos) /*!< SCB
- 593:Drivers/CMSIS/Include/core_cm3.h ****
- 594:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_IBUSERR_Pos (SCB_CFSR_BUSFAULTSR_Pos + 0U) /*!< SCB
- 595:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_IBUSERR_Msk (1UL << SCB_CFSR_IBUSERR_Pos) /*!< SCB
- 596:Drivers/CMSIS/Include/core_cm3.h ****
- 597:Drivers/CMSIS/Include/core_cm3.h **** /* UsageFault Status Register (part of SCB Configurable Fault Status Register) */
- 598:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_DIVBYZERO_Pos (SCB_CFSR_USGFAULTSR_Pos + 9U) /*!< SCB
- 599:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_DIVBYZERO_Msk (1UL << SCB_CFSR_DIVBYZERO_Pos) /*!< SCB
- 600:Drivers/CMSIS/Include/core_cm3.h ****
- 601:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_UNALIGNED_Pos (SCB_CFSR_USGFAULTSR_Pos + 8U) /*!< SCB
- 602:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_UNALIGNED_Msk (1UL << SCB_CFSR_UNALIGNED_Pos) /*!< SCB
- 603:Drivers/CMSIS/Include/core_cm3.h ****
- 604:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_NOCP_Pos (SCB_CFSR_USGFAULTSR_Pos + 3U) /*!< SCB
- 605:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_NOCP_Msk (1UL << SCB_CFSR_NOCP_Pos) /*!< SCB
- 606:Drivers/CMSIS/Include/core_cm3.h ****
- 607:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_INVPC_Pos (SCB_CFSR_USGFAULTSR_Pos + 2U) /*!< SCB
- 608:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_INVPC_Msk (1UL << SCB_CFSR_INVPC_Pos) /*!< SCB
- 609:Drivers/CMSIS/Include/core_cm3.h ****
- 610:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_INVSTATE_Pos (SCB_CFSR_USGFAULTSR_Pos + 1U) /*!< SCB
- 611:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_INVSTATE_Msk (1UL << SCB_CFSR_INVSTATE_Pos) /*!< SCB
- 612:Drivers/CMSIS/Include/core_cm3.h ****
- 613:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_UNDEFINSTR_Pos (SCB_CFSR_USGFAULTSR_Pos + 0U) /*!< SCB
- 614:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_CFSR_UNDEFINSTR_Msk (1UL << SCB_CFSR_UNDEFINSTR_Pos) /*!< SCB
- 615:Drivers/CMSIS/Include/core_cm3.h ****
- 616:Drivers/CMSIS/Include/core_cm3.h **** /* SCB Hard Fault Status Register Definitions */
- 617:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_HFSR_DEBUGEVT_Pos 31U /*!< SCB
- 618:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_HFSR_DEBUGEVT_Msk (1UL << SCB_HFSR_DEBUGEVT_Pos) /*!< SCB
- 619:Drivers/CMSIS/Include/core_cm3.h ****
- 620:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_HFSR_FORCED_Pos 30U /*!< SCB
- 621:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_HFSR_FORCED_Msk (1UL << SCB_HFSR_FORCED_Pos) /*!< SCB
-ARM GAS /tmp/cc8EHLWE.s page 15
-
-
- 622:Drivers/CMSIS/Include/core_cm3.h ****
- 623:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_HFSR_VECTTBL_Pos 1U /*!< SCB
- 624:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_HFSR_VECTTBL_Msk (1UL << SCB_HFSR_VECTTBL_Pos) /*!< SCB
- 625:Drivers/CMSIS/Include/core_cm3.h ****
- 626:Drivers/CMSIS/Include/core_cm3.h **** /* SCB Debug Fault Status Register Definitions */
- 627:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_DFSR_EXTERNAL_Pos 4U /*!< SCB
- 628:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_DFSR_EXTERNAL_Msk (1UL << SCB_DFSR_EXTERNAL_Pos) /*!< SCB
- 629:Drivers/CMSIS/Include/core_cm3.h ****
- 630:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_DFSR_VCATCH_Pos 3U /*!< SCB
- 631:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_DFSR_VCATCH_Msk (1UL << SCB_DFSR_VCATCH_Pos) /*!< SCB
- 632:Drivers/CMSIS/Include/core_cm3.h ****
- 633:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_DFSR_DWTTRAP_Pos 2U /*!< SCB
- 634:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_DFSR_DWTTRAP_Msk (1UL << SCB_DFSR_DWTTRAP_Pos) /*!< SCB
- 635:Drivers/CMSIS/Include/core_cm3.h ****
- 636:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_DFSR_BKPT_Pos 1U /*!< SCB
- 637:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_DFSR_BKPT_Msk (1UL << SCB_DFSR_BKPT_Pos) /*!< SCB
- 638:Drivers/CMSIS/Include/core_cm3.h ****
- 639:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_DFSR_HALTED_Pos 0U /*!< SCB
- 640:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_DFSR_HALTED_Msk (1UL /*<< SCB_DFSR_HALTED_Pos*/) /*!< SCB
- 641:Drivers/CMSIS/Include/core_cm3.h ****
- 642:Drivers/CMSIS/Include/core_cm3.h **** /*@} end of group CMSIS_SCB */
- 643:Drivers/CMSIS/Include/core_cm3.h ****
- 644:Drivers/CMSIS/Include/core_cm3.h ****
- 645:Drivers/CMSIS/Include/core_cm3.h **** /**
- 646:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_core_register
- 647:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_SCnSCB System Controls not in SCB (SCnSCB)
- 648:Drivers/CMSIS/Include/core_cm3.h **** \brief Type definitions for the System Control and ID Register not in the SCB
- 649:Drivers/CMSIS/Include/core_cm3.h **** @{
- 650:Drivers/CMSIS/Include/core_cm3.h **** */
- 651:Drivers/CMSIS/Include/core_cm3.h ****
- 652:Drivers/CMSIS/Include/core_cm3.h **** /**
- 653:Drivers/CMSIS/Include/core_cm3.h **** \brief Structure type to access the System Control and ID Register not in the SCB.
- 654:Drivers/CMSIS/Include/core_cm3.h **** */
- 655:Drivers/CMSIS/Include/core_cm3.h **** typedef struct
- 656:Drivers/CMSIS/Include/core_cm3.h **** {
- 657:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED0[1U];
- 658:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t ICTR; /*!< Offset: 0x004 (R/ ) Interrupt Controller Type Regist
- 659:Drivers/CMSIS/Include/core_cm3.h **** #if defined (__CM3_REV) && (__CM3_REV >= 0x200U)
- 660:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t ACTLR; /*!< Offset: 0x008 (R/W) Auxiliary Control Register */
- 661:Drivers/CMSIS/Include/core_cm3.h **** #else
- 662:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED1[1U];
- 663:Drivers/CMSIS/Include/core_cm3.h **** #endif
- 664:Drivers/CMSIS/Include/core_cm3.h **** } SCnSCB_Type;
- 665:Drivers/CMSIS/Include/core_cm3.h ****
- 666:Drivers/CMSIS/Include/core_cm3.h **** /* Interrupt Controller Type Register Definitions */
- 667:Drivers/CMSIS/Include/core_cm3.h **** #define SCnSCB_ICTR_INTLINESNUM_Pos 0U /*!< ICTR: I
- 668:Drivers/CMSIS/Include/core_cm3.h **** #define SCnSCB_ICTR_INTLINESNUM_Msk (0xFUL /*<< SCnSCB_ICTR_INTLINESNUM_Pos*/) /*!< ICTR: I
- 669:Drivers/CMSIS/Include/core_cm3.h ****
- 670:Drivers/CMSIS/Include/core_cm3.h **** /* Auxiliary Control Register Definitions */
- 671:Drivers/CMSIS/Include/core_cm3.h ****
- 672:Drivers/CMSIS/Include/core_cm3.h **** #define SCnSCB_ACTLR_DISFOLD_Pos 2U /*!< ACTLR:
- 673:Drivers/CMSIS/Include/core_cm3.h **** #define SCnSCB_ACTLR_DISFOLD_Msk (1UL << SCnSCB_ACTLR_DISFOLD_Pos) /*!< ACTLR:
- 674:Drivers/CMSIS/Include/core_cm3.h ****
- 675:Drivers/CMSIS/Include/core_cm3.h **** #define SCnSCB_ACTLR_DISDEFWBUF_Pos 1U /*!< ACTLR:
- 676:Drivers/CMSIS/Include/core_cm3.h **** #define SCnSCB_ACTLR_DISDEFWBUF_Msk (1UL << SCnSCB_ACTLR_DISDEFWBUF_Pos) /*!< ACTLR:
- 677:Drivers/CMSIS/Include/core_cm3.h ****
- 678:Drivers/CMSIS/Include/core_cm3.h **** #define SCnSCB_ACTLR_DISMCYCINT_Pos 0U /*!< ACTLR:
-ARM GAS /tmp/cc8EHLWE.s page 16
-
-
- 679:Drivers/CMSIS/Include/core_cm3.h **** #define SCnSCB_ACTLR_DISMCYCINT_Msk (1UL /*<< SCnSCB_ACTLR_DISMCYCINT_Pos*/) /*!< ACTLR:
- 680:Drivers/CMSIS/Include/core_cm3.h ****
- 681:Drivers/CMSIS/Include/core_cm3.h **** /*@} end of group CMSIS_SCnotSCB */
- 682:Drivers/CMSIS/Include/core_cm3.h ****
- 683:Drivers/CMSIS/Include/core_cm3.h ****
- 684:Drivers/CMSIS/Include/core_cm3.h **** /**
- 685:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_core_register
- 686:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_SysTick System Tick Timer (SysTick)
- 687:Drivers/CMSIS/Include/core_cm3.h **** \brief Type definitions for the System Timer Registers.
- 688:Drivers/CMSIS/Include/core_cm3.h **** @{
- 689:Drivers/CMSIS/Include/core_cm3.h **** */
- 690:Drivers/CMSIS/Include/core_cm3.h ****
- 691:Drivers/CMSIS/Include/core_cm3.h **** /**
- 692:Drivers/CMSIS/Include/core_cm3.h **** \brief Structure type to access the System Timer (SysTick).
- 693:Drivers/CMSIS/Include/core_cm3.h **** */
- 694:Drivers/CMSIS/Include/core_cm3.h **** typedef struct
- 695:Drivers/CMSIS/Include/core_cm3.h **** {
- 696:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t CTRL; /*!< Offset: 0x000 (R/W) SysTick Control and Status Regis
- 697:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t LOAD; /*!< Offset: 0x004 (R/W) SysTick Reload Value Register */
- 698:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t VAL; /*!< Offset: 0x008 (R/W) SysTick Current Value Register *
- 699:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t CALIB; /*!< Offset: 0x00C (R/ ) SysTick Calibration Register */
- 700:Drivers/CMSIS/Include/core_cm3.h **** } SysTick_Type;
- 701:Drivers/CMSIS/Include/core_cm3.h ****
- 702:Drivers/CMSIS/Include/core_cm3.h **** /* SysTick Control / Status Register Definitions */
- 703:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CTRL_COUNTFLAG_Pos 16U /*!< SysT
- 704:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CTRL_COUNTFLAG_Msk (1UL << SysTick_CTRL_COUNTFLAG_Pos) /*!< SysT
- 705:Drivers/CMSIS/Include/core_cm3.h ****
- 706:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CTRL_CLKSOURCE_Pos 2U /*!< SysT
- 707:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CTRL_CLKSOURCE_Msk (1UL << SysTick_CTRL_CLKSOURCE_Pos) /*!< SysT
- 708:Drivers/CMSIS/Include/core_cm3.h ****
- 709:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CTRL_TICKINT_Pos 1U /*!< SysT
- 710:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CTRL_TICKINT_Msk (1UL << SysTick_CTRL_TICKINT_Pos) /*!< SysT
- 711:Drivers/CMSIS/Include/core_cm3.h ****
- 712:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CTRL_ENABLE_Pos 0U /*!< SysT
- 713:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CTRL_ENABLE_Msk (1UL /*<< SysTick_CTRL_ENABLE_Pos*/) /*!< SysT
- 714:Drivers/CMSIS/Include/core_cm3.h ****
- 715:Drivers/CMSIS/Include/core_cm3.h **** /* SysTick Reload Register Definitions */
- 716:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_LOAD_RELOAD_Pos 0U /*!< SysT
- 717:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_LOAD_RELOAD_Msk (0xFFFFFFUL /*<< SysTick_LOAD_RELOAD_Pos*/) /*!< SysT
- 718:Drivers/CMSIS/Include/core_cm3.h ****
- 719:Drivers/CMSIS/Include/core_cm3.h **** /* SysTick Current Register Definitions */
- 720:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_VAL_CURRENT_Pos 0U /*!< SysT
- 721:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_VAL_CURRENT_Msk (0xFFFFFFUL /*<< SysTick_VAL_CURRENT_Pos*/) /*!< SysT
- 722:Drivers/CMSIS/Include/core_cm3.h ****
- 723:Drivers/CMSIS/Include/core_cm3.h **** /* SysTick Calibration Register Definitions */
- 724:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CALIB_NOREF_Pos 31U /*!< SysT
- 725:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CALIB_NOREF_Msk (1UL << SysTick_CALIB_NOREF_Pos) /*!< SysT
- 726:Drivers/CMSIS/Include/core_cm3.h ****
- 727:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CALIB_SKEW_Pos 30U /*!< SysT
- 728:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CALIB_SKEW_Msk (1UL << SysTick_CALIB_SKEW_Pos) /*!< SysT
- 729:Drivers/CMSIS/Include/core_cm3.h ****
- 730:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CALIB_TENMS_Pos 0U /*!< SysT
- 731:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_CALIB_TENMS_Msk (0xFFFFFFUL /*<< SysTick_CALIB_TENMS_Pos*/) /*!< SysT
- 732:Drivers/CMSIS/Include/core_cm3.h ****
- 733:Drivers/CMSIS/Include/core_cm3.h **** /*@} end of group CMSIS_SysTick */
- 734:Drivers/CMSIS/Include/core_cm3.h ****
- 735:Drivers/CMSIS/Include/core_cm3.h ****
-ARM GAS /tmp/cc8EHLWE.s page 17
-
-
- 736:Drivers/CMSIS/Include/core_cm3.h **** /**
- 737:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_core_register
- 738:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_ITM Instrumentation Trace Macrocell (ITM)
- 739:Drivers/CMSIS/Include/core_cm3.h **** \brief Type definitions for the Instrumentation Trace Macrocell (ITM)
- 740:Drivers/CMSIS/Include/core_cm3.h **** @{
- 741:Drivers/CMSIS/Include/core_cm3.h **** */
- 742:Drivers/CMSIS/Include/core_cm3.h ****
- 743:Drivers/CMSIS/Include/core_cm3.h **** /**
- 744:Drivers/CMSIS/Include/core_cm3.h **** \brief Structure type to access the Instrumentation Trace Macrocell Register (ITM).
- 745:Drivers/CMSIS/Include/core_cm3.h **** */
- 746:Drivers/CMSIS/Include/core_cm3.h **** typedef struct
- 747:Drivers/CMSIS/Include/core_cm3.h **** {
- 748:Drivers/CMSIS/Include/core_cm3.h **** __OM union
- 749:Drivers/CMSIS/Include/core_cm3.h **** {
- 750:Drivers/CMSIS/Include/core_cm3.h **** __OM uint8_t u8; /*!< Offset: 0x000 ( /W) ITM Stimulus Port 8-bit */
- 751:Drivers/CMSIS/Include/core_cm3.h **** __OM uint16_t u16; /*!< Offset: 0x000 ( /W) ITM Stimulus Port 16-bit */
- 752:Drivers/CMSIS/Include/core_cm3.h **** __OM uint32_t u32; /*!< Offset: 0x000 ( /W) ITM Stimulus Port 32-bit */
- 753:Drivers/CMSIS/Include/core_cm3.h **** } PORT [32U]; /*!< Offset: 0x000 ( /W) ITM Stimulus Port Registers */
- 754:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED0[864U];
- 755:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t TER; /*!< Offset: 0xE00 (R/W) ITM Trace Enable Register */
- 756:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED1[15U];
- 757:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t TPR; /*!< Offset: 0xE40 (R/W) ITM Trace Privilege Register */
- 758:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED2[15U];
- 759:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t TCR; /*!< Offset: 0xE80 (R/W) ITM Trace Control Register */
- 760:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED3[29U];
- 761:Drivers/CMSIS/Include/core_cm3.h **** __OM uint32_t IWR; /*!< Offset: 0xEF8 ( /W) ITM Integration Write Register *
- 762:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t IRR; /*!< Offset: 0xEFC (R/ ) ITM Integration Read Register */
- 763:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t IMCR; /*!< Offset: 0xF00 (R/W) ITM Integration Mode Control Reg
- 764:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED4[43U];
- 765:Drivers/CMSIS/Include/core_cm3.h **** __OM uint32_t LAR; /*!< Offset: 0xFB0 ( /W) ITM Lock Access Register */
- 766:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t LSR; /*!< Offset: 0xFB4 (R/ ) ITM Lock Status Register */
- 767:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED5[6U];
- 768:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t PID4; /*!< Offset: 0xFD0 (R/ ) ITM Peripheral Identification Re
- 769:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t PID5; /*!< Offset: 0xFD4 (R/ ) ITM Peripheral Identification Re
- 770:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t PID6; /*!< Offset: 0xFD8 (R/ ) ITM Peripheral Identification Re
- 771:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t PID7; /*!< Offset: 0xFDC (R/ ) ITM Peripheral Identification Re
- 772:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t PID0; /*!< Offset: 0xFE0 (R/ ) ITM Peripheral Identification Re
- 773:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t PID1; /*!< Offset: 0xFE4 (R/ ) ITM Peripheral Identification Re
- 774:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t PID2; /*!< Offset: 0xFE8 (R/ ) ITM Peripheral Identification Re
- 775:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t PID3; /*!< Offset: 0xFEC (R/ ) ITM Peripheral Identification Re
- 776:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t CID0; /*!< Offset: 0xFF0 (R/ ) ITM Component Identification Re
- 777:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t CID1; /*!< Offset: 0xFF4 (R/ ) ITM Component Identification Re
- 778:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t CID2; /*!< Offset: 0xFF8 (R/ ) ITM Component Identification Re
- 779:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t CID3; /*!< Offset: 0xFFC (R/ ) ITM Component Identification Re
- 780:Drivers/CMSIS/Include/core_cm3.h **** } ITM_Type;
- 781:Drivers/CMSIS/Include/core_cm3.h ****
- 782:Drivers/CMSIS/Include/core_cm3.h **** /* ITM Trace Privilege Register Definitions */
- 783:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TPR_PRIVMASK_Pos 0U /*!< ITM
- 784:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TPR_PRIVMASK_Msk (0xFFFFFFFFUL /*<< ITM_TPR_PRIVMASK_Pos*/) /*!< ITM
- 785:Drivers/CMSIS/Include/core_cm3.h ****
- 786:Drivers/CMSIS/Include/core_cm3.h **** /* ITM Trace Control Register Definitions */
- 787:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_BUSY_Pos 23U /*!< ITM
- 788:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_BUSY_Msk (1UL << ITM_TCR_BUSY_Pos) /*!< ITM
- 789:Drivers/CMSIS/Include/core_cm3.h ****
- 790:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_TraceBusID_Pos 16U /*!< ITM
- 791:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_TraceBusID_Msk (0x7FUL << ITM_TCR_TraceBusID_Pos) /*!< ITM
- 792:Drivers/CMSIS/Include/core_cm3.h ****
-ARM GAS /tmp/cc8EHLWE.s page 18
-
-
- 793:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_GTSFREQ_Pos 10U /*!< ITM
- 794:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_GTSFREQ_Msk (3UL << ITM_TCR_GTSFREQ_Pos) /*!< ITM
- 795:Drivers/CMSIS/Include/core_cm3.h ****
- 796:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_TSPrescale_Pos 8U /*!< ITM
- 797:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_TSPrescale_Msk (3UL << ITM_TCR_TSPrescale_Pos) /*!< ITM
- 798:Drivers/CMSIS/Include/core_cm3.h ****
- 799:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_SWOENA_Pos 4U /*!< ITM
- 800:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_SWOENA_Msk (1UL << ITM_TCR_SWOENA_Pos) /*!< ITM
- 801:Drivers/CMSIS/Include/core_cm3.h ****
- 802:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_DWTENA_Pos 3U /*!< ITM
- 803:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_DWTENA_Msk (1UL << ITM_TCR_DWTENA_Pos) /*!< ITM
- 804:Drivers/CMSIS/Include/core_cm3.h ****
- 805:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_SYNCENA_Pos 2U /*!< ITM
- 806:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_SYNCENA_Msk (1UL << ITM_TCR_SYNCENA_Pos) /*!< ITM
- 807:Drivers/CMSIS/Include/core_cm3.h ****
- 808:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_TSENA_Pos 1U /*!< ITM
- 809:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_TSENA_Msk (1UL << ITM_TCR_TSENA_Pos) /*!< ITM
- 810:Drivers/CMSIS/Include/core_cm3.h ****
- 811:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_ITMENA_Pos 0U /*!< ITM
- 812:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_TCR_ITMENA_Msk (1UL /*<< ITM_TCR_ITMENA_Pos*/) /*!< ITM
- 813:Drivers/CMSIS/Include/core_cm3.h ****
- 814:Drivers/CMSIS/Include/core_cm3.h **** /* ITM Integration Write Register Definitions */
- 815:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_IWR_ATVALIDM_Pos 0U /*!< ITM
- 816:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_IWR_ATVALIDM_Msk (1UL /*<< ITM_IWR_ATVALIDM_Pos*/) /*!< ITM
- 817:Drivers/CMSIS/Include/core_cm3.h ****
- 818:Drivers/CMSIS/Include/core_cm3.h **** /* ITM Integration Read Register Definitions */
- 819:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_IRR_ATREADYM_Pos 0U /*!< ITM
- 820:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_IRR_ATREADYM_Msk (1UL /*<< ITM_IRR_ATREADYM_Pos*/) /*!< ITM
- 821:Drivers/CMSIS/Include/core_cm3.h ****
- 822:Drivers/CMSIS/Include/core_cm3.h **** /* ITM Integration Mode Control Register Definitions */
- 823:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_IMCR_INTEGRATION_Pos 0U /*!< ITM
- 824:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_IMCR_INTEGRATION_Msk (1UL /*<< ITM_IMCR_INTEGRATION_Pos*/) /*!< ITM
- 825:Drivers/CMSIS/Include/core_cm3.h ****
- 826:Drivers/CMSIS/Include/core_cm3.h **** /* ITM Lock Status Register Definitions */
- 827:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_LSR_ByteAcc_Pos 2U /*!< ITM
- 828:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_LSR_ByteAcc_Msk (1UL << ITM_LSR_ByteAcc_Pos) /*!< ITM
- 829:Drivers/CMSIS/Include/core_cm3.h ****
- 830:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_LSR_Access_Pos 1U /*!< ITM
- 831:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_LSR_Access_Msk (1UL << ITM_LSR_Access_Pos) /*!< ITM
- 832:Drivers/CMSIS/Include/core_cm3.h ****
- 833:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_LSR_Present_Pos 0U /*!< ITM
- 834:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_LSR_Present_Msk (1UL /*<< ITM_LSR_Present_Pos*/) /*!< ITM
- 835:Drivers/CMSIS/Include/core_cm3.h ****
- 836:Drivers/CMSIS/Include/core_cm3.h **** /*@}*/ /* end of group CMSIS_ITM */
- 837:Drivers/CMSIS/Include/core_cm3.h ****
- 838:Drivers/CMSIS/Include/core_cm3.h ****
- 839:Drivers/CMSIS/Include/core_cm3.h **** /**
- 840:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_core_register
- 841:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_DWT Data Watchpoint and Trace (DWT)
- 842:Drivers/CMSIS/Include/core_cm3.h **** \brief Type definitions for the Data Watchpoint and Trace (DWT)
- 843:Drivers/CMSIS/Include/core_cm3.h **** @{
- 844:Drivers/CMSIS/Include/core_cm3.h **** */
- 845:Drivers/CMSIS/Include/core_cm3.h ****
- 846:Drivers/CMSIS/Include/core_cm3.h **** /**
- 847:Drivers/CMSIS/Include/core_cm3.h **** \brief Structure type to access the Data Watchpoint and Trace Register (DWT).
- 848:Drivers/CMSIS/Include/core_cm3.h **** */
- 849:Drivers/CMSIS/Include/core_cm3.h **** typedef struct
-ARM GAS /tmp/cc8EHLWE.s page 19
-
-
- 850:Drivers/CMSIS/Include/core_cm3.h **** {
- 851:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t CTRL; /*!< Offset: 0x000 (R/W) Control Register */
- 852:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t CYCCNT; /*!< Offset: 0x004 (R/W) Cycle Count Register */
- 853:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t CPICNT; /*!< Offset: 0x008 (R/W) CPI Count Register */
- 854:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t EXCCNT; /*!< Offset: 0x00C (R/W) Exception Overhead Count Registe
- 855:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t SLEEPCNT; /*!< Offset: 0x010 (R/W) Sleep Count Register */
- 856:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t LSUCNT; /*!< Offset: 0x014 (R/W) LSU Count Register */
- 857:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t FOLDCNT; /*!< Offset: 0x018 (R/W) Folded-instruction Count Registe
- 858:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t PCSR; /*!< Offset: 0x01C (R/ ) Program Counter Sample Register
- 859:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t COMP0; /*!< Offset: 0x020 (R/W) Comparator Register 0 */
- 860:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t MASK0; /*!< Offset: 0x024 (R/W) Mask Register 0 */
- 861:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t FUNCTION0; /*!< Offset: 0x028 (R/W) Function Register 0 */
- 862:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED0[1U];
- 863:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t COMP1; /*!< Offset: 0x030 (R/W) Comparator Register 1 */
- 864:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t MASK1; /*!< Offset: 0x034 (R/W) Mask Register 1 */
- 865:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t FUNCTION1; /*!< Offset: 0x038 (R/W) Function Register 1 */
- 866:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED1[1U];
- 867:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t COMP2; /*!< Offset: 0x040 (R/W) Comparator Register 2 */
- 868:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t MASK2; /*!< Offset: 0x044 (R/W) Mask Register 2 */
- 869:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t FUNCTION2; /*!< Offset: 0x048 (R/W) Function Register 2 */
- 870:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED2[1U];
- 871:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t COMP3; /*!< Offset: 0x050 (R/W) Comparator Register 3 */
- 872:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t MASK3; /*!< Offset: 0x054 (R/W) Mask Register 3 */
- 873:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t FUNCTION3; /*!< Offset: 0x058 (R/W) Function Register 3 */
- 874:Drivers/CMSIS/Include/core_cm3.h **** } DWT_Type;
- 875:Drivers/CMSIS/Include/core_cm3.h ****
- 876:Drivers/CMSIS/Include/core_cm3.h **** /* DWT Control Register Definitions */
- 877:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_NUMCOMP_Pos 28U /*!< DWT CTR
- 878:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_NUMCOMP_Msk (0xFUL << DWT_CTRL_NUMCOMP_Pos) /*!< DWT CTR
- 879:Drivers/CMSIS/Include/core_cm3.h ****
- 880:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_NOTRCPKT_Pos 27U /*!< DWT CTR
- 881:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_NOTRCPKT_Msk (0x1UL << DWT_CTRL_NOTRCPKT_Pos) /*!< DWT CTR
- 882:Drivers/CMSIS/Include/core_cm3.h ****
- 883:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_NOEXTTRIG_Pos 26U /*!< DWT CTR
- 884:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_NOEXTTRIG_Msk (0x1UL << DWT_CTRL_NOEXTTRIG_Pos) /*!< DWT CTR
- 885:Drivers/CMSIS/Include/core_cm3.h ****
- 886:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_NOCYCCNT_Pos 25U /*!< DWT CTR
- 887:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_NOCYCCNT_Msk (0x1UL << DWT_CTRL_NOCYCCNT_Pos) /*!< DWT CTR
- 888:Drivers/CMSIS/Include/core_cm3.h ****
- 889:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_NOPRFCNT_Pos 24U /*!< DWT CTR
- 890:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_NOPRFCNT_Msk (0x1UL << DWT_CTRL_NOPRFCNT_Pos) /*!< DWT CTR
- 891:Drivers/CMSIS/Include/core_cm3.h ****
- 892:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_CYCEVTENA_Pos 22U /*!< DWT CTR
- 893:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_CYCEVTENA_Msk (0x1UL << DWT_CTRL_CYCEVTENA_Pos) /*!< DWT CTR
- 894:Drivers/CMSIS/Include/core_cm3.h ****
- 895:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_FOLDEVTENA_Pos 21U /*!< DWT CTR
- 896:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_FOLDEVTENA_Msk (0x1UL << DWT_CTRL_FOLDEVTENA_Pos) /*!< DWT CTR
- 897:Drivers/CMSIS/Include/core_cm3.h ****
- 898:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_LSUEVTENA_Pos 20U /*!< DWT CTR
- 899:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_LSUEVTENA_Msk (0x1UL << DWT_CTRL_LSUEVTENA_Pos) /*!< DWT CTR
- 900:Drivers/CMSIS/Include/core_cm3.h ****
- 901:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_SLEEPEVTENA_Pos 19U /*!< DWT CTR
- 902:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_SLEEPEVTENA_Msk (0x1UL << DWT_CTRL_SLEEPEVTENA_Pos) /*!< DWT CTR
- 903:Drivers/CMSIS/Include/core_cm3.h ****
- 904:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_EXCEVTENA_Pos 18U /*!< DWT CTR
- 905:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_EXCEVTENA_Msk (0x1UL << DWT_CTRL_EXCEVTENA_Pos) /*!< DWT CTR
- 906:Drivers/CMSIS/Include/core_cm3.h ****
-ARM GAS /tmp/cc8EHLWE.s page 20
-
-
- 907:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_CPIEVTENA_Pos 17U /*!< DWT CTR
- 908:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_CPIEVTENA_Msk (0x1UL << DWT_CTRL_CPIEVTENA_Pos) /*!< DWT CTR
- 909:Drivers/CMSIS/Include/core_cm3.h ****
- 910:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_EXCTRCENA_Pos 16U /*!< DWT CTR
- 911:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_EXCTRCENA_Msk (0x1UL << DWT_CTRL_EXCTRCENA_Pos) /*!< DWT CTR
- 912:Drivers/CMSIS/Include/core_cm3.h ****
- 913:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_PCSAMPLENA_Pos 12U /*!< DWT CTR
- 914:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_PCSAMPLENA_Msk (0x1UL << DWT_CTRL_PCSAMPLENA_Pos) /*!< DWT CTR
- 915:Drivers/CMSIS/Include/core_cm3.h ****
- 916:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_SYNCTAP_Pos 10U /*!< DWT CTR
- 917:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_SYNCTAP_Msk (0x3UL << DWT_CTRL_SYNCTAP_Pos) /*!< DWT CTR
- 918:Drivers/CMSIS/Include/core_cm3.h ****
- 919:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_CYCTAP_Pos 9U /*!< DWT CTR
- 920:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_CYCTAP_Msk (0x1UL << DWT_CTRL_CYCTAP_Pos) /*!< DWT CTR
- 921:Drivers/CMSIS/Include/core_cm3.h ****
- 922:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_POSTINIT_Pos 5U /*!< DWT CTR
- 923:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_POSTINIT_Msk (0xFUL << DWT_CTRL_POSTINIT_Pos) /*!< DWT CTR
- 924:Drivers/CMSIS/Include/core_cm3.h ****
- 925:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_POSTPRESET_Pos 1U /*!< DWT CTR
- 926:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_POSTPRESET_Msk (0xFUL << DWT_CTRL_POSTPRESET_Pos) /*!< DWT CTR
- 927:Drivers/CMSIS/Include/core_cm3.h ****
- 928:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_CYCCNTENA_Pos 0U /*!< DWT CTR
- 929:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CTRL_CYCCNTENA_Msk (0x1UL /*<< DWT_CTRL_CYCCNTENA_Pos*/) /*!< DWT CTR
- 930:Drivers/CMSIS/Include/core_cm3.h ****
- 931:Drivers/CMSIS/Include/core_cm3.h **** /* DWT CPI Count Register Definitions */
- 932:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CPICNT_CPICNT_Pos 0U /*!< DWT CPI
- 933:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_CPICNT_CPICNT_Msk (0xFFUL /*<< DWT_CPICNT_CPICNT_Pos*/) /*!< DWT CPI
- 934:Drivers/CMSIS/Include/core_cm3.h ****
- 935:Drivers/CMSIS/Include/core_cm3.h **** /* DWT Exception Overhead Count Register Definitions */
- 936:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_EXCCNT_EXCCNT_Pos 0U /*!< DWT EXC
- 937:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_EXCCNT_EXCCNT_Msk (0xFFUL /*<< DWT_EXCCNT_EXCCNT_Pos*/) /*!< DWT EXC
- 938:Drivers/CMSIS/Include/core_cm3.h ****
- 939:Drivers/CMSIS/Include/core_cm3.h **** /* DWT Sleep Count Register Definitions */
- 940:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_SLEEPCNT_SLEEPCNT_Pos 0U /*!< DWT SLE
- 941:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_SLEEPCNT_SLEEPCNT_Msk (0xFFUL /*<< DWT_SLEEPCNT_SLEEPCNT_Pos*/) /*!< DWT SLE
- 942:Drivers/CMSIS/Include/core_cm3.h ****
- 943:Drivers/CMSIS/Include/core_cm3.h **** /* DWT LSU Count Register Definitions */
- 944:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_LSUCNT_LSUCNT_Pos 0U /*!< DWT LSU
- 945:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_LSUCNT_LSUCNT_Msk (0xFFUL /*<< DWT_LSUCNT_LSUCNT_Pos*/) /*!< DWT LSU
- 946:Drivers/CMSIS/Include/core_cm3.h ****
- 947:Drivers/CMSIS/Include/core_cm3.h **** /* DWT Folded-instruction Count Register Definitions */
- 948:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FOLDCNT_FOLDCNT_Pos 0U /*!< DWT FOL
- 949:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FOLDCNT_FOLDCNT_Msk (0xFFUL /*<< DWT_FOLDCNT_FOLDCNT_Pos*/) /*!< DWT FOL
- 950:Drivers/CMSIS/Include/core_cm3.h ****
- 951:Drivers/CMSIS/Include/core_cm3.h **** /* DWT Comparator Mask Register Definitions */
- 952:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_MASK_MASK_Pos 0U /*!< DWT MAS
- 953:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_MASK_MASK_Msk (0x1FUL /*<< DWT_MASK_MASK_Pos*/) /*!< DWT MAS
- 954:Drivers/CMSIS/Include/core_cm3.h ****
- 955:Drivers/CMSIS/Include/core_cm3.h **** /* DWT Comparator Function Register Definitions */
- 956:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_MATCHED_Pos 24U /*!< DWT FUN
- 957:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_MATCHED_Msk (0x1UL << DWT_FUNCTION_MATCHED_Pos) /*!< DWT FUN
- 958:Drivers/CMSIS/Include/core_cm3.h ****
- 959:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_DATAVADDR1_Pos 16U /*!< DWT FUN
- 960:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_DATAVADDR1_Msk (0xFUL << DWT_FUNCTION_DATAVADDR1_Pos) /*!< DWT FUN
- 961:Drivers/CMSIS/Include/core_cm3.h ****
- 962:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_DATAVADDR0_Pos 12U /*!< DWT FUN
- 963:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_DATAVADDR0_Msk (0xFUL << DWT_FUNCTION_DATAVADDR0_Pos) /*!< DWT FUN
-ARM GAS /tmp/cc8EHLWE.s page 21
-
-
- 964:Drivers/CMSIS/Include/core_cm3.h ****
- 965:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_DATAVSIZE_Pos 10U /*!< DWT FUN
- 966:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_DATAVSIZE_Msk (0x3UL << DWT_FUNCTION_DATAVSIZE_Pos) /*!< DWT FUN
- 967:Drivers/CMSIS/Include/core_cm3.h ****
- 968:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_LNK1ENA_Pos 9U /*!< DWT FUN
- 969:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_LNK1ENA_Msk (0x1UL << DWT_FUNCTION_LNK1ENA_Pos) /*!< DWT FUN
- 970:Drivers/CMSIS/Include/core_cm3.h ****
- 971:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_DATAVMATCH_Pos 8U /*!< DWT FUN
- 972:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_DATAVMATCH_Msk (0x1UL << DWT_FUNCTION_DATAVMATCH_Pos) /*!< DWT FUN
- 973:Drivers/CMSIS/Include/core_cm3.h ****
- 974:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_CYCMATCH_Pos 7U /*!< DWT FUN
- 975:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_CYCMATCH_Msk (0x1UL << DWT_FUNCTION_CYCMATCH_Pos) /*!< DWT FUN
- 976:Drivers/CMSIS/Include/core_cm3.h ****
- 977:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_EMITRANGE_Pos 5U /*!< DWT FUN
- 978:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_EMITRANGE_Msk (0x1UL << DWT_FUNCTION_EMITRANGE_Pos) /*!< DWT FUN
- 979:Drivers/CMSIS/Include/core_cm3.h ****
- 980:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_FUNCTION_Pos 0U /*!< DWT FUN
- 981:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_FUNCTION_FUNCTION_Msk (0xFUL /*<< DWT_FUNCTION_FUNCTION_Pos*/) /*!< DWT FUN
- 982:Drivers/CMSIS/Include/core_cm3.h ****
- 983:Drivers/CMSIS/Include/core_cm3.h **** /*@}*/ /* end of group CMSIS_DWT */
- 984:Drivers/CMSIS/Include/core_cm3.h ****
- 985:Drivers/CMSIS/Include/core_cm3.h ****
- 986:Drivers/CMSIS/Include/core_cm3.h **** /**
- 987:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_core_register
- 988:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_TPI Trace Port Interface (TPI)
- 989:Drivers/CMSIS/Include/core_cm3.h **** \brief Type definitions for the Trace Port Interface (TPI)
- 990:Drivers/CMSIS/Include/core_cm3.h **** @{
- 991:Drivers/CMSIS/Include/core_cm3.h **** */
- 992:Drivers/CMSIS/Include/core_cm3.h ****
- 993:Drivers/CMSIS/Include/core_cm3.h **** /**
- 994:Drivers/CMSIS/Include/core_cm3.h **** \brief Structure type to access the Trace Port Interface Register (TPI).
- 995:Drivers/CMSIS/Include/core_cm3.h **** */
- 996:Drivers/CMSIS/Include/core_cm3.h **** typedef struct
- 997:Drivers/CMSIS/Include/core_cm3.h **** {
- 998:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t SSPSR; /*!< Offset: 0x000 (R/ ) Supported Parallel Port Size Reg
- 999:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t CSPSR; /*!< Offset: 0x004 (R/W) Current Parallel Port Size Regis
-1000:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED0[2U];
-1001:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t ACPR; /*!< Offset: 0x010 (R/W) Asynchronous Clock Prescaler Reg
-1002:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED1[55U];
-1003:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t SPPR; /*!< Offset: 0x0F0 (R/W) Selected Pin Protocol Register *
-1004:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED2[131U];
-1005:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t FFSR; /*!< Offset: 0x300 (R/ ) Formatter and Flush Status Regis
-1006:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t FFCR; /*!< Offset: 0x304 (R/W) Formatter and Flush Control Regi
-1007:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t FSCR; /*!< Offset: 0x308 (R/ ) Formatter Synchronization Counte
-1008:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED3[759U];
-1009:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t TRIGGER; /*!< Offset: 0xEE8 (R/ ) TRIGGER Register */
-1010:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t FIFO0; /*!< Offset: 0xEEC (R/ ) Integration ETM Data */
-1011:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t ITATBCTR2; /*!< Offset: 0xEF0 (R/ ) ITATBCTR2 */
-1012:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED4[1U];
-1013:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t ITATBCTR0; /*!< Offset: 0xEF8 (R/ ) ITATBCTR0 */
-1014:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t FIFO1; /*!< Offset: 0xEFC (R/ ) Integration ITM Data */
-1015:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t ITCTRL; /*!< Offset: 0xF00 (R/W) Integration Mode Control */
-1016:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED5[39U];
-1017:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t CLAIMSET; /*!< Offset: 0xFA0 (R/W) Claim tag set */
-1018:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t CLAIMCLR; /*!< Offset: 0xFA4 (R/W) Claim tag clear */
-1019:Drivers/CMSIS/Include/core_cm3.h **** uint32_t RESERVED7[8U];
-1020:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t DEVID; /*!< Offset: 0xFC8 (R/ ) TPIU_DEVID */
-ARM GAS /tmp/cc8EHLWE.s page 22
-
-
-1021:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t DEVTYPE; /*!< Offset: 0xFCC (R/ ) TPIU_DEVTYPE */
-1022:Drivers/CMSIS/Include/core_cm3.h **** } TPI_Type;
-1023:Drivers/CMSIS/Include/core_cm3.h ****
-1024:Drivers/CMSIS/Include/core_cm3.h **** /* TPI Asynchronous Clock Prescaler Register Definitions */
-1025:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_ACPR_PRESCALER_Pos 0U /*!< TPI ACP
-1026:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_ACPR_PRESCALER_Msk (0x1FFFUL /*<< TPI_ACPR_PRESCALER_Pos*/) /*!< TPI ACP
-1027:Drivers/CMSIS/Include/core_cm3.h ****
-1028:Drivers/CMSIS/Include/core_cm3.h **** /* TPI Selected Pin Protocol Register Definitions */
-1029:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_SPPR_TXMODE_Pos 0U /*!< TPI SPP
-1030:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_SPPR_TXMODE_Msk (0x3UL /*<< TPI_SPPR_TXMODE_Pos*/) /*!< TPI SPP
-1031:Drivers/CMSIS/Include/core_cm3.h ****
-1032:Drivers/CMSIS/Include/core_cm3.h **** /* TPI Formatter and Flush Status Register Definitions */
-1033:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FFSR_FtNonStop_Pos 3U /*!< TPI FFS
-1034:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FFSR_FtNonStop_Msk (0x1UL << TPI_FFSR_FtNonStop_Pos) /*!< TPI FFS
-1035:Drivers/CMSIS/Include/core_cm3.h ****
-1036:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FFSR_TCPresent_Pos 2U /*!< TPI FFS
-1037:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FFSR_TCPresent_Msk (0x1UL << TPI_FFSR_TCPresent_Pos) /*!< TPI FFS
-1038:Drivers/CMSIS/Include/core_cm3.h ****
-1039:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FFSR_FtStopped_Pos 1U /*!< TPI FFS
-1040:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FFSR_FtStopped_Msk (0x1UL << TPI_FFSR_FtStopped_Pos) /*!< TPI FFS
-1041:Drivers/CMSIS/Include/core_cm3.h ****
-1042:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FFSR_FlInProg_Pos 0U /*!< TPI FFS
-1043:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FFSR_FlInProg_Msk (0x1UL /*<< TPI_FFSR_FlInProg_Pos*/) /*!< TPI FFS
-1044:Drivers/CMSIS/Include/core_cm3.h ****
-1045:Drivers/CMSIS/Include/core_cm3.h **** /* TPI Formatter and Flush Control Register Definitions */
-1046:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FFCR_TrigIn_Pos 8U /*!< TPI FFC
-1047:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FFCR_TrigIn_Msk (0x1UL << TPI_FFCR_TrigIn_Pos) /*!< TPI FFC
-1048:Drivers/CMSIS/Include/core_cm3.h ****
-1049:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FFCR_EnFCont_Pos 1U /*!< TPI FFC
-1050:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FFCR_EnFCont_Msk (0x1UL << TPI_FFCR_EnFCont_Pos) /*!< TPI FFC
-1051:Drivers/CMSIS/Include/core_cm3.h ****
-1052:Drivers/CMSIS/Include/core_cm3.h **** /* TPI TRIGGER Register Definitions */
-1053:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_TRIGGER_TRIGGER_Pos 0U /*!< TPI TRI
-1054:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_TRIGGER_TRIGGER_Msk (0x1UL /*<< TPI_TRIGGER_TRIGGER_Pos*/) /*!< TPI TRI
-1055:Drivers/CMSIS/Include/core_cm3.h ****
-1056:Drivers/CMSIS/Include/core_cm3.h **** /* TPI Integration ETM Data Register Definitions (FIFO0) */
-1057:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ITM_ATVALID_Pos 29U /*!< TPI FIF
-1058:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ITM_ATVALID_Msk (0x3UL << TPI_FIFO0_ITM_ATVALID_Pos) /*!< TPI FIF
-1059:Drivers/CMSIS/Include/core_cm3.h ****
-1060:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ITM_bytecount_Pos 27U /*!< TPI FIF
-1061:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ITM_bytecount_Msk (0x3UL << TPI_FIFO0_ITM_bytecount_Pos) /*!< TPI FIF
-1062:Drivers/CMSIS/Include/core_cm3.h ****
-1063:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ETM_ATVALID_Pos 26U /*!< TPI FIF
-1064:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ETM_ATVALID_Msk (0x3UL << TPI_FIFO0_ETM_ATVALID_Pos) /*!< TPI FIF
-1065:Drivers/CMSIS/Include/core_cm3.h ****
-1066:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ETM_bytecount_Pos 24U /*!< TPI FIF
-1067:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ETM_bytecount_Msk (0x3UL << TPI_FIFO0_ETM_bytecount_Pos) /*!< TPI FIF
-1068:Drivers/CMSIS/Include/core_cm3.h ****
-1069:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ETM2_Pos 16U /*!< TPI FIF
-1070:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ETM2_Msk (0xFFUL << TPI_FIFO0_ETM2_Pos) /*!< TPI FIF
-1071:Drivers/CMSIS/Include/core_cm3.h ****
-1072:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ETM1_Pos 8U /*!< TPI FIF
-1073:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ETM1_Msk (0xFFUL << TPI_FIFO0_ETM1_Pos) /*!< TPI FIF
-1074:Drivers/CMSIS/Include/core_cm3.h ****
-1075:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ETM0_Pos 0U /*!< TPI FIF
-1076:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO0_ETM0_Msk (0xFFUL /*<< TPI_FIFO0_ETM0_Pos*/) /*!< TPI FIF
-1077:Drivers/CMSIS/Include/core_cm3.h ****
-ARM GAS /tmp/cc8EHLWE.s page 23
-
-
-1078:Drivers/CMSIS/Include/core_cm3.h **** /* TPI ITATBCTR2 Register Definitions */
-1079:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_ITATBCTR2_ATREADY2_Pos 0U /*!< TPI ITA
-1080:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_ITATBCTR2_ATREADY2_Msk (0x1UL /*<< TPI_ITATBCTR2_ATREADY2_Pos*/) /*!< TPI ITA
-1081:Drivers/CMSIS/Include/core_cm3.h ****
-1082:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_ITATBCTR2_ATREADY1_Pos 0U /*!< TPI ITA
-1083:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_ITATBCTR2_ATREADY1_Msk (0x1UL /*<< TPI_ITATBCTR2_ATREADY1_Pos*/) /*!< TPI ITA
-1084:Drivers/CMSIS/Include/core_cm3.h ****
-1085:Drivers/CMSIS/Include/core_cm3.h **** /* TPI Integration ITM Data Register Definitions (FIFO1) */
-1086:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ITM_ATVALID_Pos 29U /*!< TPI FIF
-1087:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ITM_ATVALID_Msk (0x3UL << TPI_FIFO1_ITM_ATVALID_Pos) /*!< TPI FIF
-1088:Drivers/CMSIS/Include/core_cm3.h ****
-1089:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ITM_bytecount_Pos 27U /*!< TPI FIF
-1090:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ITM_bytecount_Msk (0x3UL << TPI_FIFO1_ITM_bytecount_Pos) /*!< TPI FIF
-1091:Drivers/CMSIS/Include/core_cm3.h ****
-1092:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ETM_ATVALID_Pos 26U /*!< TPI FIF
-1093:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ETM_ATVALID_Msk (0x3UL << TPI_FIFO1_ETM_ATVALID_Pos) /*!< TPI FIF
-1094:Drivers/CMSIS/Include/core_cm3.h ****
-1095:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ETM_bytecount_Pos 24U /*!< TPI FIF
-1096:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ETM_bytecount_Msk (0x3UL << TPI_FIFO1_ETM_bytecount_Pos) /*!< TPI FIF
-1097:Drivers/CMSIS/Include/core_cm3.h ****
-1098:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ITM2_Pos 16U /*!< TPI FIF
-1099:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ITM2_Msk (0xFFUL << TPI_FIFO1_ITM2_Pos) /*!< TPI FIF
-1100:Drivers/CMSIS/Include/core_cm3.h ****
-1101:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ITM1_Pos 8U /*!< TPI FIF
-1102:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ITM1_Msk (0xFFUL << TPI_FIFO1_ITM1_Pos) /*!< TPI FIF
-1103:Drivers/CMSIS/Include/core_cm3.h ****
-1104:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ITM0_Pos 0U /*!< TPI FIF
-1105:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_FIFO1_ITM0_Msk (0xFFUL /*<< TPI_FIFO1_ITM0_Pos*/) /*!< TPI FIF
-1106:Drivers/CMSIS/Include/core_cm3.h ****
-1107:Drivers/CMSIS/Include/core_cm3.h **** /* TPI ITATBCTR0 Register Definitions */
-1108:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_ITATBCTR0_ATREADY2_Pos 0U /*!< TPI ITA
-1109:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_ITATBCTR0_ATREADY2_Msk (0x1UL /*<< TPI_ITATBCTR0_ATREADY2_Pos*/) /*!< TPI ITA
-1110:Drivers/CMSIS/Include/core_cm3.h ****
-1111:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_ITATBCTR0_ATREADY1_Pos 0U /*!< TPI ITA
-1112:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_ITATBCTR0_ATREADY1_Msk (0x1UL /*<< TPI_ITATBCTR0_ATREADY1_Pos*/) /*!< TPI ITA
-1113:Drivers/CMSIS/Include/core_cm3.h ****
-1114:Drivers/CMSIS/Include/core_cm3.h **** /* TPI Integration Mode Control Register Definitions */
-1115:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_ITCTRL_Mode_Pos 0U /*!< TPI ITC
-1116:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_ITCTRL_Mode_Msk (0x3UL /*<< TPI_ITCTRL_Mode_Pos*/) /*!< TPI ITC
-1117:Drivers/CMSIS/Include/core_cm3.h ****
-1118:Drivers/CMSIS/Include/core_cm3.h **** /* TPI DEVID Register Definitions */
-1119:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVID_NRZVALID_Pos 11U /*!< TPI DEV
-1120:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVID_NRZVALID_Msk (0x1UL << TPI_DEVID_NRZVALID_Pos) /*!< TPI DEV
-1121:Drivers/CMSIS/Include/core_cm3.h ****
-1122:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVID_MANCVALID_Pos 10U /*!< TPI DEV
-1123:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVID_MANCVALID_Msk (0x1UL << TPI_DEVID_MANCVALID_Pos) /*!< TPI DEV
-1124:Drivers/CMSIS/Include/core_cm3.h ****
-1125:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVID_PTINVALID_Pos 9U /*!< TPI DEV
-1126:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVID_PTINVALID_Msk (0x1UL << TPI_DEVID_PTINVALID_Pos) /*!< TPI DEV
-1127:Drivers/CMSIS/Include/core_cm3.h ****
-1128:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVID_MinBufSz_Pos 6U /*!< TPI DEV
-1129:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVID_MinBufSz_Msk (0x7UL << TPI_DEVID_MinBufSz_Pos) /*!< TPI DEV
-1130:Drivers/CMSIS/Include/core_cm3.h ****
-1131:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVID_AsynClkIn_Pos 5U /*!< TPI DEV
-1132:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVID_AsynClkIn_Msk (0x1UL << TPI_DEVID_AsynClkIn_Pos) /*!< TPI DEV
-1133:Drivers/CMSIS/Include/core_cm3.h ****
-1134:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVID_NrTraceInput_Pos 0U /*!< TPI DEV
-ARM GAS /tmp/cc8EHLWE.s page 24
-
-
-1135:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVID_NrTraceInput_Msk (0x1FUL /*<< TPI_DEVID_NrTraceInput_Pos*/) /*!< TPI DEV
-1136:Drivers/CMSIS/Include/core_cm3.h ****
-1137:Drivers/CMSIS/Include/core_cm3.h **** /* TPI DEVTYPE Register Definitions */
-1138:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVTYPE_SubType_Pos 4U /*!< TPI DEV
-1139:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVTYPE_SubType_Msk (0xFUL /*<< TPI_DEVTYPE_SubType_Pos*/) /*!< TPI DEV
-1140:Drivers/CMSIS/Include/core_cm3.h ****
-1141:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVTYPE_MajorType_Pos 0U /*!< TPI DEV
-1142:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_DEVTYPE_MajorType_Msk (0xFUL << TPI_DEVTYPE_MajorType_Pos) /*!< TPI DEV
-1143:Drivers/CMSIS/Include/core_cm3.h ****
-1144:Drivers/CMSIS/Include/core_cm3.h **** /*@}*/ /* end of group CMSIS_TPI */
-1145:Drivers/CMSIS/Include/core_cm3.h ****
-1146:Drivers/CMSIS/Include/core_cm3.h ****
-1147:Drivers/CMSIS/Include/core_cm3.h **** #if defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U)
-1148:Drivers/CMSIS/Include/core_cm3.h **** /**
-1149:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_core_register
-1150:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_MPU Memory Protection Unit (MPU)
-1151:Drivers/CMSIS/Include/core_cm3.h **** \brief Type definitions for the Memory Protection Unit (MPU)
-1152:Drivers/CMSIS/Include/core_cm3.h **** @{
-1153:Drivers/CMSIS/Include/core_cm3.h **** */
-1154:Drivers/CMSIS/Include/core_cm3.h ****
-1155:Drivers/CMSIS/Include/core_cm3.h **** /**
-1156:Drivers/CMSIS/Include/core_cm3.h **** \brief Structure type to access the Memory Protection Unit (MPU).
-1157:Drivers/CMSIS/Include/core_cm3.h **** */
-1158:Drivers/CMSIS/Include/core_cm3.h **** typedef struct
-1159:Drivers/CMSIS/Include/core_cm3.h **** {
-1160:Drivers/CMSIS/Include/core_cm3.h **** __IM uint32_t TYPE; /*!< Offset: 0x000 (R/ ) MPU Type Register */
-1161:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t CTRL; /*!< Offset: 0x004 (R/W) MPU Control Register */
-1162:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t RNR; /*!< Offset: 0x008 (R/W) MPU Region RNRber Register */
-1163:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t RBAR; /*!< Offset: 0x00C (R/W) MPU Region Base Address Register
-1164:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t RASR; /*!< Offset: 0x010 (R/W) MPU Region Attribute and Size Re
-1165:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t RBAR_A1; /*!< Offset: 0x014 (R/W) MPU Alias 1 Region Base Address
-1166:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t RASR_A1; /*!< Offset: 0x018 (R/W) MPU Alias 1 Region Attribute and
-1167:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t RBAR_A2; /*!< Offset: 0x01C (R/W) MPU Alias 2 Region Base Address
-1168:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t RASR_A2; /*!< Offset: 0x020 (R/W) MPU Alias 2 Region Attribute and
-1169:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t RBAR_A3; /*!< Offset: 0x024 (R/W) MPU Alias 3 Region Base Address
-1170:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t RASR_A3; /*!< Offset: 0x028 (R/W) MPU Alias 3 Region Attribute and
-1171:Drivers/CMSIS/Include/core_cm3.h **** } MPU_Type;
-1172:Drivers/CMSIS/Include/core_cm3.h ****
-1173:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_TYPE_RALIASES 4U
-1174:Drivers/CMSIS/Include/core_cm3.h ****
-1175:Drivers/CMSIS/Include/core_cm3.h **** /* MPU Type Register Definitions */
-1176:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_TYPE_IREGION_Pos 16U /*!< MPU
-1177:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_TYPE_IREGION_Msk (0xFFUL << MPU_TYPE_IREGION_Pos) /*!< MPU
-1178:Drivers/CMSIS/Include/core_cm3.h ****
-1179:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_TYPE_DREGION_Pos 8U /*!< MPU
-1180:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_TYPE_DREGION_Msk (0xFFUL << MPU_TYPE_DREGION_Pos) /*!< MPU
-1181:Drivers/CMSIS/Include/core_cm3.h ****
-1182:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_TYPE_SEPARATE_Pos 0U /*!< MPU
-1183:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_TYPE_SEPARATE_Msk (1UL /*<< MPU_TYPE_SEPARATE_Pos*/) /*!< MPU
-1184:Drivers/CMSIS/Include/core_cm3.h ****
-1185:Drivers/CMSIS/Include/core_cm3.h **** /* MPU Control Register Definitions */
-1186:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_CTRL_PRIVDEFENA_Pos 2U /*!< MPU
-1187:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_CTRL_PRIVDEFENA_Msk (1UL << MPU_CTRL_PRIVDEFENA_Pos) /*!< MPU
-1188:Drivers/CMSIS/Include/core_cm3.h ****
-1189:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_CTRL_HFNMIENA_Pos 1U /*!< MPU
-1190:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_CTRL_HFNMIENA_Msk (1UL << MPU_CTRL_HFNMIENA_Pos) /*!< MPU
-1191:Drivers/CMSIS/Include/core_cm3.h ****
-ARM GAS /tmp/cc8EHLWE.s page 25
-
-
-1192:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_CTRL_ENABLE_Pos 0U /*!< MPU
-1193:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_CTRL_ENABLE_Msk (1UL /*<< MPU_CTRL_ENABLE_Pos*/) /*!< MPU
-1194:Drivers/CMSIS/Include/core_cm3.h ****
-1195:Drivers/CMSIS/Include/core_cm3.h **** /* MPU Region Number Register Definitions */
-1196:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RNR_REGION_Pos 0U /*!< MPU
-1197:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RNR_REGION_Msk (0xFFUL /*<< MPU_RNR_REGION_Pos*/) /*!< MPU
-1198:Drivers/CMSIS/Include/core_cm3.h ****
-1199:Drivers/CMSIS/Include/core_cm3.h **** /* MPU Region Base Address Register Definitions */
-1200:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RBAR_ADDR_Pos 5U /*!< MPU
-1201:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RBAR_ADDR_Msk (0x7FFFFFFUL << MPU_RBAR_ADDR_Pos) /*!< MPU
-1202:Drivers/CMSIS/Include/core_cm3.h ****
-1203:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RBAR_VALID_Pos 4U /*!< MPU
-1204:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RBAR_VALID_Msk (1UL << MPU_RBAR_VALID_Pos) /*!< MPU
-1205:Drivers/CMSIS/Include/core_cm3.h ****
-1206:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RBAR_REGION_Pos 0U /*!< MPU
-1207:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RBAR_REGION_Msk (0xFUL /*<< MPU_RBAR_REGION_Pos*/) /*!< MPU
-1208:Drivers/CMSIS/Include/core_cm3.h ****
-1209:Drivers/CMSIS/Include/core_cm3.h **** /* MPU Region Attribute and Size Register Definitions */
-1210:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_ATTRS_Pos 16U /*!< MPU
-1211:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_ATTRS_Msk (0xFFFFUL << MPU_RASR_ATTRS_Pos) /*!< MPU
-1212:Drivers/CMSIS/Include/core_cm3.h ****
-1213:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_XN_Pos 28U /*!< MPU
-1214:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_XN_Msk (1UL << MPU_RASR_XN_Pos) /*!< MPU
-1215:Drivers/CMSIS/Include/core_cm3.h ****
-1216:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_AP_Pos 24U /*!< MPU
-1217:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_AP_Msk (0x7UL << MPU_RASR_AP_Pos) /*!< MPU
-1218:Drivers/CMSIS/Include/core_cm3.h ****
-1219:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_TEX_Pos 19U /*!< MPU
-1220:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_TEX_Msk (0x7UL << MPU_RASR_TEX_Pos) /*!< MPU
-1221:Drivers/CMSIS/Include/core_cm3.h ****
-1222:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_S_Pos 18U /*!< MPU
-1223:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_S_Msk (1UL << MPU_RASR_S_Pos) /*!< MPU
-1224:Drivers/CMSIS/Include/core_cm3.h ****
-1225:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_C_Pos 17U /*!< MPU
-1226:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_C_Msk (1UL << MPU_RASR_C_Pos) /*!< MPU
-1227:Drivers/CMSIS/Include/core_cm3.h ****
-1228:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_B_Pos 16U /*!< MPU
-1229:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_B_Msk (1UL << MPU_RASR_B_Pos) /*!< MPU
-1230:Drivers/CMSIS/Include/core_cm3.h ****
-1231:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_SRD_Pos 8U /*!< MPU
-1232:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_SRD_Msk (0xFFUL << MPU_RASR_SRD_Pos) /*!< MPU
-1233:Drivers/CMSIS/Include/core_cm3.h ****
-1234:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_SIZE_Pos 1U /*!< MPU
-1235:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_SIZE_Msk (0x1FUL << MPU_RASR_SIZE_Pos) /*!< MPU
-1236:Drivers/CMSIS/Include/core_cm3.h ****
-1237:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_ENABLE_Pos 0U /*!< MPU
-1238:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_RASR_ENABLE_Msk (1UL /*<< MPU_RASR_ENABLE_Pos*/) /*!< MPU
-1239:Drivers/CMSIS/Include/core_cm3.h ****
-1240:Drivers/CMSIS/Include/core_cm3.h **** /*@} end of group CMSIS_MPU */
-1241:Drivers/CMSIS/Include/core_cm3.h **** #endif
-1242:Drivers/CMSIS/Include/core_cm3.h ****
-1243:Drivers/CMSIS/Include/core_cm3.h ****
-1244:Drivers/CMSIS/Include/core_cm3.h **** /**
-1245:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_core_register
-1246:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_CoreDebug Core Debug Registers (CoreDebug)
-1247:Drivers/CMSIS/Include/core_cm3.h **** \brief Type definitions for the Core Debug Registers
-1248:Drivers/CMSIS/Include/core_cm3.h **** @{
-ARM GAS /tmp/cc8EHLWE.s page 26
-
-
-1249:Drivers/CMSIS/Include/core_cm3.h **** */
-1250:Drivers/CMSIS/Include/core_cm3.h ****
-1251:Drivers/CMSIS/Include/core_cm3.h **** /**
-1252:Drivers/CMSIS/Include/core_cm3.h **** \brief Structure type to access the Core Debug Register (CoreDebug).
-1253:Drivers/CMSIS/Include/core_cm3.h **** */
-1254:Drivers/CMSIS/Include/core_cm3.h **** typedef struct
-1255:Drivers/CMSIS/Include/core_cm3.h **** {
-1256:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t DHCSR; /*!< Offset: 0x000 (R/W) Debug Halting Control and Status
-1257:Drivers/CMSIS/Include/core_cm3.h **** __OM uint32_t DCRSR; /*!< Offset: 0x004 ( /W) Debug Core Register Selector Reg
-1258:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t DCRDR; /*!< Offset: 0x008 (R/W) Debug Core Register Data Registe
-1259:Drivers/CMSIS/Include/core_cm3.h **** __IOM uint32_t DEMCR; /*!< Offset: 0x00C (R/W) Debug Exception and Monitor Cont
-1260:Drivers/CMSIS/Include/core_cm3.h **** } CoreDebug_Type;
-1261:Drivers/CMSIS/Include/core_cm3.h ****
-1262:Drivers/CMSIS/Include/core_cm3.h **** /* Debug Halting Control and Status Register Definitions */
-1263:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_DBGKEY_Pos 16U /*!< Core
-1264:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_DBGKEY_Msk (0xFFFFUL << CoreDebug_DHCSR_DBGKEY_Pos) /*!< Core
-1265:Drivers/CMSIS/Include/core_cm3.h ****
-1266:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_S_RESET_ST_Pos 25U /*!< Core
-1267:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_S_RESET_ST_Msk (1UL << CoreDebug_DHCSR_S_RESET_ST_Pos) /*!< Core
-1268:Drivers/CMSIS/Include/core_cm3.h ****
-1269:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_S_RETIRE_ST_Pos 24U /*!< Core
-1270:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_S_RETIRE_ST_Msk (1UL << CoreDebug_DHCSR_S_RETIRE_ST_Pos) /*!< Core
-1271:Drivers/CMSIS/Include/core_cm3.h ****
-1272:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_S_LOCKUP_Pos 19U /*!< Core
-1273:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_S_LOCKUP_Msk (1UL << CoreDebug_DHCSR_S_LOCKUP_Pos) /*!< Core
-1274:Drivers/CMSIS/Include/core_cm3.h ****
-1275:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_S_SLEEP_Pos 18U /*!< Core
-1276:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_S_SLEEP_Msk (1UL << CoreDebug_DHCSR_S_SLEEP_Pos) /*!< Core
-1277:Drivers/CMSIS/Include/core_cm3.h ****
-1278:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_S_HALT_Pos 17U /*!< Core
-1279:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_S_HALT_Msk (1UL << CoreDebug_DHCSR_S_HALT_Pos) /*!< Core
-1280:Drivers/CMSIS/Include/core_cm3.h ****
-1281:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_S_REGRDY_Pos 16U /*!< Core
-1282:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_S_REGRDY_Msk (1UL << CoreDebug_DHCSR_S_REGRDY_Pos) /*!< Core
-1283:Drivers/CMSIS/Include/core_cm3.h ****
-1284:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_C_SNAPSTALL_Pos 5U /*!< Core
-1285:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_C_SNAPSTALL_Msk (1UL << CoreDebug_DHCSR_C_SNAPSTALL_Pos) /*!< Core
-1286:Drivers/CMSIS/Include/core_cm3.h ****
-1287:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_C_MASKINTS_Pos 3U /*!< Core
-1288:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_C_MASKINTS_Msk (1UL << CoreDebug_DHCSR_C_MASKINTS_Pos) /*!< Core
-1289:Drivers/CMSIS/Include/core_cm3.h ****
-1290:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_C_STEP_Pos 2U /*!< Core
-1291:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_C_STEP_Msk (1UL << CoreDebug_DHCSR_C_STEP_Pos) /*!< Core
-1292:Drivers/CMSIS/Include/core_cm3.h ****
-1293:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_C_HALT_Pos 1U /*!< Core
-1294:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_C_HALT_Msk (1UL << CoreDebug_DHCSR_C_HALT_Pos) /*!< Core
-1295:Drivers/CMSIS/Include/core_cm3.h ****
-1296:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_C_DEBUGEN_Pos 0U /*!< Core
-1297:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DHCSR_C_DEBUGEN_Msk (1UL /*<< CoreDebug_DHCSR_C_DEBUGEN_Pos*/) /*!< Core
-1298:Drivers/CMSIS/Include/core_cm3.h ****
-1299:Drivers/CMSIS/Include/core_cm3.h **** /* Debug Core Register Selector Register Definitions */
-1300:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DCRSR_REGWnR_Pos 16U /*!< Core
-1301:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DCRSR_REGWnR_Msk (1UL << CoreDebug_DCRSR_REGWnR_Pos) /*!< Core
-1302:Drivers/CMSIS/Include/core_cm3.h ****
-1303:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DCRSR_REGSEL_Pos 0U /*!< Core
-1304:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DCRSR_REGSEL_Msk (0x1FUL /*<< CoreDebug_DCRSR_REGSEL_Pos*/) /*!< Core
-1305:Drivers/CMSIS/Include/core_cm3.h ****
-ARM GAS /tmp/cc8EHLWE.s page 27
-
-
-1306:Drivers/CMSIS/Include/core_cm3.h **** /* Debug Exception and Monitor Control Register Definitions */
-1307:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_TRCENA_Pos 24U /*!< Core
-1308:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_TRCENA_Msk (1UL << CoreDebug_DEMCR_TRCENA_Pos) /*!< Core
-1309:Drivers/CMSIS/Include/core_cm3.h ****
-1310:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_MON_REQ_Pos 19U /*!< Core
-1311:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_MON_REQ_Msk (1UL << CoreDebug_DEMCR_MON_REQ_Pos) /*!< Core
-1312:Drivers/CMSIS/Include/core_cm3.h ****
-1313:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_MON_STEP_Pos 18U /*!< Core
-1314:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_MON_STEP_Msk (1UL << CoreDebug_DEMCR_MON_STEP_Pos) /*!< Core
-1315:Drivers/CMSIS/Include/core_cm3.h ****
-1316:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_MON_PEND_Pos 17U /*!< Core
-1317:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_MON_PEND_Msk (1UL << CoreDebug_DEMCR_MON_PEND_Pos) /*!< Core
-1318:Drivers/CMSIS/Include/core_cm3.h ****
-1319:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_MON_EN_Pos 16U /*!< Core
-1320:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_MON_EN_Msk (1UL << CoreDebug_DEMCR_MON_EN_Pos) /*!< Core
-1321:Drivers/CMSIS/Include/core_cm3.h ****
-1322:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_HARDERR_Pos 10U /*!< Core
-1323:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_HARDERR_Msk (1UL << CoreDebug_DEMCR_VC_HARDERR_Pos) /*!< Core
-1324:Drivers/CMSIS/Include/core_cm3.h ****
-1325:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_INTERR_Pos 9U /*!< Core
-1326:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_INTERR_Msk (1UL << CoreDebug_DEMCR_VC_INTERR_Pos) /*!< Core
-1327:Drivers/CMSIS/Include/core_cm3.h ****
-1328:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_BUSERR_Pos 8U /*!< Core
-1329:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_BUSERR_Msk (1UL << CoreDebug_DEMCR_VC_BUSERR_Pos) /*!< Core
-1330:Drivers/CMSIS/Include/core_cm3.h ****
-1331:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_STATERR_Pos 7U /*!< Core
-1332:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_STATERR_Msk (1UL << CoreDebug_DEMCR_VC_STATERR_Pos) /*!< Core
-1333:Drivers/CMSIS/Include/core_cm3.h ****
-1334:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_CHKERR_Pos 6U /*!< Core
-1335:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_CHKERR_Msk (1UL << CoreDebug_DEMCR_VC_CHKERR_Pos) /*!< Core
-1336:Drivers/CMSIS/Include/core_cm3.h ****
-1337:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_NOCPERR_Pos 5U /*!< Core
-1338:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_NOCPERR_Msk (1UL << CoreDebug_DEMCR_VC_NOCPERR_Pos) /*!< Core
-1339:Drivers/CMSIS/Include/core_cm3.h ****
-1340:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_MMERR_Pos 4U /*!< Core
-1341:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_MMERR_Msk (1UL << CoreDebug_DEMCR_VC_MMERR_Pos) /*!< Core
-1342:Drivers/CMSIS/Include/core_cm3.h ****
-1343:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_CORERESET_Pos 0U /*!< Core
-1344:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_DEMCR_VC_CORERESET_Msk (1UL /*<< CoreDebug_DEMCR_VC_CORERESET_Pos*/) /*!< Core
-1345:Drivers/CMSIS/Include/core_cm3.h ****
-1346:Drivers/CMSIS/Include/core_cm3.h **** /*@} end of group CMSIS_CoreDebug */
-1347:Drivers/CMSIS/Include/core_cm3.h ****
-1348:Drivers/CMSIS/Include/core_cm3.h ****
-1349:Drivers/CMSIS/Include/core_cm3.h **** /**
-1350:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_core_register
-1351:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_core_bitfield Core register bit field macros
-1352:Drivers/CMSIS/Include/core_cm3.h **** \brief Macros for use with bit field definitions (xxx_Pos, xxx_Msk).
-1353:Drivers/CMSIS/Include/core_cm3.h **** @{
-1354:Drivers/CMSIS/Include/core_cm3.h **** */
-1355:Drivers/CMSIS/Include/core_cm3.h ****
-1356:Drivers/CMSIS/Include/core_cm3.h **** /**
-1357:Drivers/CMSIS/Include/core_cm3.h **** \brief Mask and shift a bit field value for use in a register bit range.
-1358:Drivers/CMSIS/Include/core_cm3.h **** \param[in] field Name of the register bit field.
-1359:Drivers/CMSIS/Include/core_cm3.h **** \param[in] value Value of the bit field. This parameter is interpreted as an uint32_t type.
-1360:Drivers/CMSIS/Include/core_cm3.h **** \return Masked and shifted value.
-1361:Drivers/CMSIS/Include/core_cm3.h **** */
-1362:Drivers/CMSIS/Include/core_cm3.h **** #define _VAL2FLD(field, value) (((uint32_t)(value) << field ## _Pos) & field ## _Msk)
-ARM GAS /tmp/cc8EHLWE.s page 28
-
-
-1363:Drivers/CMSIS/Include/core_cm3.h ****
-1364:Drivers/CMSIS/Include/core_cm3.h **** /**
-1365:Drivers/CMSIS/Include/core_cm3.h **** \brief Mask and shift a register value to extract a bit filed value.
-1366:Drivers/CMSIS/Include/core_cm3.h **** \param[in] field Name of the register bit field.
-1367:Drivers/CMSIS/Include/core_cm3.h **** \param[in] value Value of register. This parameter is interpreted as an uint32_t type.
-1368:Drivers/CMSIS/Include/core_cm3.h **** \return Masked and shifted bit field value.
-1369:Drivers/CMSIS/Include/core_cm3.h **** */
-1370:Drivers/CMSIS/Include/core_cm3.h **** #define _FLD2VAL(field, value) (((uint32_t)(value) & field ## _Msk) >> field ## _Pos)
-1371:Drivers/CMSIS/Include/core_cm3.h ****
-1372:Drivers/CMSIS/Include/core_cm3.h **** /*@} end of group CMSIS_core_bitfield */
-1373:Drivers/CMSIS/Include/core_cm3.h ****
-1374:Drivers/CMSIS/Include/core_cm3.h ****
-1375:Drivers/CMSIS/Include/core_cm3.h **** /**
-1376:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_core_register
-1377:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_core_base Core Definitions
-1378:Drivers/CMSIS/Include/core_cm3.h **** \brief Definitions for base addresses, unions, and structures.
-1379:Drivers/CMSIS/Include/core_cm3.h **** @{
-1380:Drivers/CMSIS/Include/core_cm3.h **** */
-1381:Drivers/CMSIS/Include/core_cm3.h ****
-1382:Drivers/CMSIS/Include/core_cm3.h **** /* Memory mapping of Core Hardware */
-1383:Drivers/CMSIS/Include/core_cm3.h **** #define SCS_BASE (0xE000E000UL) /*!< System Control Space Bas
-1384:Drivers/CMSIS/Include/core_cm3.h **** #define ITM_BASE (0xE0000000UL) /*!< ITM Base Address */
-1385:Drivers/CMSIS/Include/core_cm3.h **** #define DWT_BASE (0xE0001000UL) /*!< DWT Base Address */
-1386:Drivers/CMSIS/Include/core_cm3.h **** #define TPI_BASE (0xE0040000UL) /*!< TPI Base Address */
-1387:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug_BASE (0xE000EDF0UL) /*!< Core Debug Base Address
-1388:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick_BASE (SCS_BASE + 0x0010UL) /*!< SysTick Base Address */
-1389:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_BASE (SCS_BASE + 0x0100UL) /*!< NVIC Base Address */
-1390:Drivers/CMSIS/Include/core_cm3.h **** #define SCB_BASE (SCS_BASE + 0x0D00UL) /*!< System Control Block Bas
-1391:Drivers/CMSIS/Include/core_cm3.h ****
-1392:Drivers/CMSIS/Include/core_cm3.h **** #define SCnSCB ((SCnSCB_Type *) SCS_BASE ) /*!< System control Register
-1393:Drivers/CMSIS/Include/core_cm3.h **** #define SCB ((SCB_Type *) SCB_BASE ) /*!< SCB configuration struct
-1394:Drivers/CMSIS/Include/core_cm3.h **** #define SysTick ((SysTick_Type *) SysTick_BASE ) /*!< SysTick configuration st
-1395:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC ((NVIC_Type *) NVIC_BASE ) /*!< NVIC configuration struc
-1396:Drivers/CMSIS/Include/core_cm3.h **** #define ITM ((ITM_Type *) ITM_BASE ) /*!< ITM configuration struct
-1397:Drivers/CMSIS/Include/core_cm3.h **** #define DWT ((DWT_Type *) DWT_BASE ) /*!< DWT configuration struct
-1398:Drivers/CMSIS/Include/core_cm3.h **** #define TPI ((TPI_Type *) TPI_BASE ) /*!< TPI configuration struct
-1399:Drivers/CMSIS/Include/core_cm3.h **** #define CoreDebug ((CoreDebug_Type *) CoreDebug_BASE) /*!< Core Debug configuration
-1400:Drivers/CMSIS/Include/core_cm3.h ****
-1401:Drivers/CMSIS/Include/core_cm3.h **** #if defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U)
-1402:Drivers/CMSIS/Include/core_cm3.h **** #define MPU_BASE (SCS_BASE + 0x0D90UL) /*!< Memory Protection Unit *
-1403:Drivers/CMSIS/Include/core_cm3.h **** #define MPU ((MPU_Type *) MPU_BASE ) /*!< Memory Protection Unit *
-1404:Drivers/CMSIS/Include/core_cm3.h **** #endif
-1405:Drivers/CMSIS/Include/core_cm3.h ****
-1406:Drivers/CMSIS/Include/core_cm3.h **** /*@} */
-1407:Drivers/CMSIS/Include/core_cm3.h ****
-1408:Drivers/CMSIS/Include/core_cm3.h ****
-1409:Drivers/CMSIS/Include/core_cm3.h ****
-1410:Drivers/CMSIS/Include/core_cm3.h **** /*******************************************************************************
-1411:Drivers/CMSIS/Include/core_cm3.h **** * Hardware Abstraction Layer
-1412:Drivers/CMSIS/Include/core_cm3.h **** Core Function Interface contains:
-1413:Drivers/CMSIS/Include/core_cm3.h **** - Core NVIC Functions
-1414:Drivers/CMSIS/Include/core_cm3.h **** - Core SysTick Functions
-1415:Drivers/CMSIS/Include/core_cm3.h **** - Core Debug Functions
-1416:Drivers/CMSIS/Include/core_cm3.h **** - Core Register Access Functions
-1417:Drivers/CMSIS/Include/core_cm3.h **** ******************************************************************************/
-1418:Drivers/CMSIS/Include/core_cm3.h **** /**
-1419:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_Core_FunctionInterface Functions and Instructions Reference
-ARM GAS /tmp/cc8EHLWE.s page 29
-
-
-1420:Drivers/CMSIS/Include/core_cm3.h **** */
-1421:Drivers/CMSIS/Include/core_cm3.h ****
-1422:Drivers/CMSIS/Include/core_cm3.h ****
-1423:Drivers/CMSIS/Include/core_cm3.h ****
-1424:Drivers/CMSIS/Include/core_cm3.h **** /* ########################## NVIC functions #################################### */
-1425:Drivers/CMSIS/Include/core_cm3.h **** /**
-1426:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_Core_FunctionInterface
-1427:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_Core_NVICFunctions NVIC Functions
-1428:Drivers/CMSIS/Include/core_cm3.h **** \brief Functions that manage interrupts and exceptions via the NVIC.
-1429:Drivers/CMSIS/Include/core_cm3.h **** @{
-1430:Drivers/CMSIS/Include/core_cm3.h **** */
-1431:Drivers/CMSIS/Include/core_cm3.h ****
-1432:Drivers/CMSIS/Include/core_cm3.h **** #ifdef CMSIS_NVIC_VIRTUAL
-1433:Drivers/CMSIS/Include/core_cm3.h **** #ifndef CMSIS_NVIC_VIRTUAL_HEADER_FILE
-1434:Drivers/CMSIS/Include/core_cm3.h **** #define CMSIS_NVIC_VIRTUAL_HEADER_FILE "cmsis_nvic_virtual.h"
-1435:Drivers/CMSIS/Include/core_cm3.h **** #endif
-1436:Drivers/CMSIS/Include/core_cm3.h **** #include CMSIS_NVIC_VIRTUAL_HEADER_FILE
-1437:Drivers/CMSIS/Include/core_cm3.h **** #else
-1438:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_SetPriorityGrouping __NVIC_SetPriorityGrouping
-1439:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_GetPriorityGrouping __NVIC_GetPriorityGrouping
-1440:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_EnableIRQ __NVIC_EnableIRQ
-1441:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_GetEnableIRQ __NVIC_GetEnableIRQ
-1442:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_DisableIRQ __NVIC_DisableIRQ
-1443:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_GetPendingIRQ __NVIC_GetPendingIRQ
-1444:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_SetPendingIRQ __NVIC_SetPendingIRQ
-1445:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_ClearPendingIRQ __NVIC_ClearPendingIRQ
-1446:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_GetActive __NVIC_GetActive
-1447:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_SetPriority __NVIC_SetPriority
-1448:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_GetPriority __NVIC_GetPriority
-1449:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_SystemReset __NVIC_SystemReset
-1450:Drivers/CMSIS/Include/core_cm3.h **** #endif /* CMSIS_NVIC_VIRTUAL */
-1451:Drivers/CMSIS/Include/core_cm3.h ****
-1452:Drivers/CMSIS/Include/core_cm3.h **** #ifdef CMSIS_VECTAB_VIRTUAL
-1453:Drivers/CMSIS/Include/core_cm3.h **** #ifndef CMSIS_VECTAB_VIRTUAL_HEADER_FILE
-1454:Drivers/CMSIS/Include/core_cm3.h **** #define CMSIS_VECTAB_VIRTUAL_HEADER_FILE "cmsis_vectab_virtual.h"
-1455:Drivers/CMSIS/Include/core_cm3.h **** #endif
-1456:Drivers/CMSIS/Include/core_cm3.h **** #include CMSIS_VECTAB_VIRTUAL_HEADER_FILE
-1457:Drivers/CMSIS/Include/core_cm3.h **** #else
-1458:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_SetVector __NVIC_SetVector
-1459:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_GetVector __NVIC_GetVector
-1460:Drivers/CMSIS/Include/core_cm3.h **** #endif /* (CMSIS_VECTAB_VIRTUAL) */
-1461:Drivers/CMSIS/Include/core_cm3.h ****
-1462:Drivers/CMSIS/Include/core_cm3.h **** #define NVIC_USER_IRQ_OFFSET 16
-1463:Drivers/CMSIS/Include/core_cm3.h ****
-1464:Drivers/CMSIS/Include/core_cm3.h ****
-1465:Drivers/CMSIS/Include/core_cm3.h **** /* The following EXC_RETURN values are saved the LR on exception entry */
-1466:Drivers/CMSIS/Include/core_cm3.h **** #define EXC_RETURN_HANDLER (0xFFFFFFF1UL) /* return to Handler mode, uses MSP after ret
-1467:Drivers/CMSIS/Include/core_cm3.h **** #define EXC_RETURN_THREAD_MSP (0xFFFFFFF9UL) /* return to Thread mode, uses MSP after retu
-1468:Drivers/CMSIS/Include/core_cm3.h **** #define EXC_RETURN_THREAD_PSP (0xFFFFFFFDUL) /* return to Thread mode, uses PSP after retu
-1469:Drivers/CMSIS/Include/core_cm3.h ****
-1470:Drivers/CMSIS/Include/core_cm3.h ****
-1471:Drivers/CMSIS/Include/core_cm3.h **** /**
-1472:Drivers/CMSIS/Include/core_cm3.h **** \brief Set Priority Grouping
-1473:Drivers/CMSIS/Include/core_cm3.h **** \details Sets the priority grouping field using the required unlock sequence.
-1474:Drivers/CMSIS/Include/core_cm3.h **** The parameter PriorityGroup is assigned to the field SCB->AIRCR [10:8] PRIGROUP field.
-1475:Drivers/CMSIS/Include/core_cm3.h **** Only values from 0..7 are used.
-1476:Drivers/CMSIS/Include/core_cm3.h **** In case of a conflict between priority grouping and available
-ARM GAS /tmp/cc8EHLWE.s page 30
-
-
-1477:Drivers/CMSIS/Include/core_cm3.h **** priority bits (__NVIC_PRIO_BITS), the smallest possible priority group is set.
-1478:Drivers/CMSIS/Include/core_cm3.h **** \param [in] PriorityGroup Priority grouping field.
-1479:Drivers/CMSIS/Include/core_cm3.h **** */
-1480:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE void __NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
-1481:Drivers/CMSIS/Include/core_cm3.h **** {
-1482:Drivers/CMSIS/Include/core_cm3.h **** uint32_t reg_value;
-1483:Drivers/CMSIS/Include/core_cm3.h **** uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 a
-1484:Drivers/CMSIS/Include/core_cm3.h ****
-1485:Drivers/CMSIS/Include/core_cm3.h **** reg_value = SCB->AIRCR; /* read old register
- 35 .loc 2 1485 0
- 36 0000 074A ldr r2, .L2
- 37 0002 D368 ldr r3, [r2, #12]
- 38 .LVL1:
-1486:Drivers/CMSIS/Include/core_cm3.h **** reg_value &= ~((uint32_t)(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk)); /* clear bits to chan
- 39 .loc 2 1486 0
- 40 0004 23F4E063 bic r3, r3, #1792
- 41 .LVL2:
- 42 0008 1B04 lsls r3, r3, #16
- 43 000a 1B0C lsrs r3, r3, #16
- 44 .LVL3:
-1487:Drivers/CMSIS/Include/core_cm3.h **** reg_value = (reg_value |
-1488:Drivers/CMSIS/Include/core_cm3.h **** ((uint32_t)0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
-1489:Drivers/CMSIS/Include/core_cm3.h **** (PriorityGroupTmp << SCB_AIRCR_PRIGROUP_Pos) ); /* Insert write key a
- 45 .loc 2 1489 0
- 46 000c 0002 lsls r0, r0, #8
- 47 .LVL4:
- 48 000e 00F4E060 and r0, r0, #1792
-1488:Drivers/CMSIS/Include/core_cm3.h **** (PriorityGroupTmp << SCB_AIRCR_PRIGROUP_Pos) ); /* Insert write key a
- 49 .loc 2 1488 0
- 50 0012 1843 orrs r0, r0, r3
-1487:Drivers/CMSIS/Include/core_cm3.h **** reg_value = (reg_value |
- 51 .loc 2 1487 0
- 52 0014 40F0BF60 orr r0, r0, #100139008
- 53 0018 40F40030 orr r0, r0, #131072
- 54 .LVL5:
-1490:Drivers/CMSIS/Include/core_cm3.h **** SCB->AIRCR = reg_value;
- 55 .loc 2 1490 0
- 56 001c D060 str r0, [r2, #12]
- 57 .LVL6:
- 58 001e 7047 bx lr
- 59 .L3:
- 60 .align 2
- 61 .L2:
- 62 0020 00ED00E0 .word -536810240
- 63 .LBE47:
- 64 .LBE46:
- 65 .cfi_endproc
- 66 .LFE65:
- 68 .section .text.HAL_NVIC_SetPriority,"ax",%progbits
- 69 .align 1
- 70 .global HAL_NVIC_SetPriority
- 71 .syntax unified
- 72 .thumb
- 73 .thumb_func
- 74 .fpu softvfp
- 76 HAL_NVIC_SetPriority:
- 77 .LFB66:
-ARM GAS /tmp/cc8EHLWE.s page 31
-
-
- 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Check the parameters */
- 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup));
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Set the PRIGROUP[10:8] bits according to the PriorityGroup parameter value */
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** NVIC_SetPriorityGrouping(PriorityGroup);
- 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
- 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
- 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Sets the priority of an interrupt.
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param IRQn: External interrupt number.
- 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param PreemptPriority: The preemption priority for the IRQn channel.
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be a value between 0 and 15
- 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * A lower priority value indicates a higher priority
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param SubPriority: the subpriority level for the IRQ channel.
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be a value between 0 and 15
- 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * A lower priority value indicates a higher priority.
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
- 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_NVIC_SetPriority(IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority)
- 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
- 78 .loc 1 166 0
- 79 .cfi_startproc
- 80 @ args = 0, pretend = 0, frame = 0
- 81 @ frame_needed = 0, uses_anonymous_args = 0
- 82 @ link register save eliminated.
- 83 .LVL7:
- 84 0000 30B4 push {r4, r5}
- 85 .LCFI0:
- 86 .cfi_def_cfa_offset 8
- 87 .cfi_offset 4, -8
- 88 .cfi_offset 5, -4
- 89 .LVL8:
- 90 .LBB48:
- 91 .LBB49:
-1491:Drivers/CMSIS/Include/core_cm3.h **** }
-1492:Drivers/CMSIS/Include/core_cm3.h ****
-1493:Drivers/CMSIS/Include/core_cm3.h ****
-1494:Drivers/CMSIS/Include/core_cm3.h **** /**
-1495:Drivers/CMSIS/Include/core_cm3.h **** \brief Get Priority Grouping
-1496:Drivers/CMSIS/Include/core_cm3.h **** \details Reads the priority grouping field from the NVIC Interrupt Controller.
-1497:Drivers/CMSIS/Include/core_cm3.h **** \return Priority grouping field (SCB->AIRCR [10:8] PRIGROUP field).
-1498:Drivers/CMSIS/Include/core_cm3.h **** */
-1499:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE uint32_t __NVIC_GetPriorityGrouping(void)
-1500:Drivers/CMSIS/Include/core_cm3.h **** {
-1501:Drivers/CMSIS/Include/core_cm3.h **** return ((uint32_t)((SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) >> SCB_AIRCR_PRIGROUP_Pos));
- 92 .loc 2 1501 0
- 93 0002 164B ldr r3, .L10
- 94 0004 DB68 ldr r3, [r3, #12]
- 95 0006 C3F30223 ubfx r3, r3, #8, #3
- 96 .LVL9:
- 97 .LBE49:
- 98 .LBE48:
- 99 .LBB50:
- 100 .LBB51:
-1502:Drivers/CMSIS/Include/core_cm3.h **** }
-ARM GAS /tmp/cc8EHLWE.s page 32
-
-
-1503:Drivers/CMSIS/Include/core_cm3.h ****
-1504:Drivers/CMSIS/Include/core_cm3.h ****
-1505:Drivers/CMSIS/Include/core_cm3.h **** /**
-1506:Drivers/CMSIS/Include/core_cm3.h **** \brief Enable Interrupt
-1507:Drivers/CMSIS/Include/core_cm3.h **** \details Enables a device specific interrupt in the NVIC interrupt controller.
-1508:Drivers/CMSIS/Include/core_cm3.h **** \param [in] IRQn Device specific interrupt number.
-1509:Drivers/CMSIS/Include/core_cm3.h **** \note IRQn must not be negative.
-1510:Drivers/CMSIS/Include/core_cm3.h **** */
-1511:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE void __NVIC_EnableIRQ(IRQn_Type IRQn)
-1512:Drivers/CMSIS/Include/core_cm3.h **** {
-1513:Drivers/CMSIS/Include/core_cm3.h **** if ((int32_t)(IRQn) >= 0)
-1514:Drivers/CMSIS/Include/core_cm3.h **** {
-1515:Drivers/CMSIS/Include/core_cm3.h **** NVIC->ISER[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
-1516:Drivers/CMSIS/Include/core_cm3.h **** }
-1517:Drivers/CMSIS/Include/core_cm3.h **** }
-1518:Drivers/CMSIS/Include/core_cm3.h ****
-1519:Drivers/CMSIS/Include/core_cm3.h ****
-1520:Drivers/CMSIS/Include/core_cm3.h **** /**
-1521:Drivers/CMSIS/Include/core_cm3.h **** \brief Get Interrupt Enable status
-1522:Drivers/CMSIS/Include/core_cm3.h **** \details Returns a device specific interrupt enable status from the NVIC interrupt controller.
-1523:Drivers/CMSIS/Include/core_cm3.h **** \param [in] IRQn Device specific interrupt number.
-1524:Drivers/CMSIS/Include/core_cm3.h **** \return 0 Interrupt is not enabled.
-1525:Drivers/CMSIS/Include/core_cm3.h **** \return 1 Interrupt is enabled.
-1526:Drivers/CMSIS/Include/core_cm3.h **** \note IRQn must not be negative.
-1527:Drivers/CMSIS/Include/core_cm3.h **** */
-1528:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE uint32_t __NVIC_GetEnableIRQ(IRQn_Type IRQn)
-1529:Drivers/CMSIS/Include/core_cm3.h **** {
-1530:Drivers/CMSIS/Include/core_cm3.h **** if ((int32_t)(IRQn) >= 0)
-1531:Drivers/CMSIS/Include/core_cm3.h **** {
-1532:Drivers/CMSIS/Include/core_cm3.h **** return((uint32_t)(((NVIC->ISER[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL)
-1533:Drivers/CMSIS/Include/core_cm3.h **** }
-1534:Drivers/CMSIS/Include/core_cm3.h **** else
-1535:Drivers/CMSIS/Include/core_cm3.h **** {
-1536:Drivers/CMSIS/Include/core_cm3.h **** return(0U);
-1537:Drivers/CMSIS/Include/core_cm3.h **** }
-1538:Drivers/CMSIS/Include/core_cm3.h **** }
-1539:Drivers/CMSIS/Include/core_cm3.h ****
-1540:Drivers/CMSIS/Include/core_cm3.h ****
-1541:Drivers/CMSIS/Include/core_cm3.h **** /**
-1542:Drivers/CMSIS/Include/core_cm3.h **** \brief Disable Interrupt
-1543:Drivers/CMSIS/Include/core_cm3.h **** \details Disables a device specific interrupt in the NVIC interrupt controller.
-1544:Drivers/CMSIS/Include/core_cm3.h **** \param [in] IRQn Device specific interrupt number.
-1545:Drivers/CMSIS/Include/core_cm3.h **** \note IRQn must not be negative.
-1546:Drivers/CMSIS/Include/core_cm3.h **** */
-1547:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE void __NVIC_DisableIRQ(IRQn_Type IRQn)
-1548:Drivers/CMSIS/Include/core_cm3.h **** {
-1549:Drivers/CMSIS/Include/core_cm3.h **** if ((int32_t)(IRQn) >= 0)
-1550:Drivers/CMSIS/Include/core_cm3.h **** {
-1551:Drivers/CMSIS/Include/core_cm3.h **** NVIC->ICER[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
-1552:Drivers/CMSIS/Include/core_cm3.h **** __DSB();
-1553:Drivers/CMSIS/Include/core_cm3.h **** __ISB();
-1554:Drivers/CMSIS/Include/core_cm3.h **** }
-1555:Drivers/CMSIS/Include/core_cm3.h **** }
-1556:Drivers/CMSIS/Include/core_cm3.h ****
-1557:Drivers/CMSIS/Include/core_cm3.h ****
-1558:Drivers/CMSIS/Include/core_cm3.h **** /**
-1559:Drivers/CMSIS/Include/core_cm3.h **** \brief Get Pending Interrupt
-ARM GAS /tmp/cc8EHLWE.s page 33
-
-
-1560:Drivers/CMSIS/Include/core_cm3.h **** \details Reads the NVIC pending register and returns the pending bit for the specified device spe
-1561:Drivers/CMSIS/Include/core_cm3.h **** \param [in] IRQn Device specific interrupt number.
-1562:Drivers/CMSIS/Include/core_cm3.h **** \return 0 Interrupt status is not pending.
-1563:Drivers/CMSIS/Include/core_cm3.h **** \return 1 Interrupt status is pending.
-1564:Drivers/CMSIS/Include/core_cm3.h **** \note IRQn must not be negative.
-1565:Drivers/CMSIS/Include/core_cm3.h **** */
-1566:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE uint32_t __NVIC_GetPendingIRQ(IRQn_Type IRQn)
-1567:Drivers/CMSIS/Include/core_cm3.h **** {
-1568:Drivers/CMSIS/Include/core_cm3.h **** if ((int32_t)(IRQn) >= 0)
-1569:Drivers/CMSIS/Include/core_cm3.h **** {
-1570:Drivers/CMSIS/Include/core_cm3.h **** return((uint32_t)(((NVIC->ISPR[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL)
-1571:Drivers/CMSIS/Include/core_cm3.h **** }
-1572:Drivers/CMSIS/Include/core_cm3.h **** else
-1573:Drivers/CMSIS/Include/core_cm3.h **** {
-1574:Drivers/CMSIS/Include/core_cm3.h **** return(0U);
-1575:Drivers/CMSIS/Include/core_cm3.h **** }
-1576:Drivers/CMSIS/Include/core_cm3.h **** }
-1577:Drivers/CMSIS/Include/core_cm3.h ****
-1578:Drivers/CMSIS/Include/core_cm3.h ****
-1579:Drivers/CMSIS/Include/core_cm3.h **** /**
-1580:Drivers/CMSIS/Include/core_cm3.h **** \brief Set Pending Interrupt
-1581:Drivers/CMSIS/Include/core_cm3.h **** \details Sets the pending bit of a device specific interrupt in the NVIC pending register.
-1582:Drivers/CMSIS/Include/core_cm3.h **** \param [in] IRQn Device specific interrupt number.
-1583:Drivers/CMSIS/Include/core_cm3.h **** \note IRQn must not be negative.
-1584:Drivers/CMSIS/Include/core_cm3.h **** */
-1585:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE void __NVIC_SetPendingIRQ(IRQn_Type IRQn)
-1586:Drivers/CMSIS/Include/core_cm3.h **** {
-1587:Drivers/CMSIS/Include/core_cm3.h **** if ((int32_t)(IRQn) >= 0)
-1588:Drivers/CMSIS/Include/core_cm3.h **** {
-1589:Drivers/CMSIS/Include/core_cm3.h **** NVIC->ISPR[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
-1590:Drivers/CMSIS/Include/core_cm3.h **** }
-1591:Drivers/CMSIS/Include/core_cm3.h **** }
-1592:Drivers/CMSIS/Include/core_cm3.h ****
-1593:Drivers/CMSIS/Include/core_cm3.h ****
-1594:Drivers/CMSIS/Include/core_cm3.h **** /**
-1595:Drivers/CMSIS/Include/core_cm3.h **** \brief Clear Pending Interrupt
-1596:Drivers/CMSIS/Include/core_cm3.h **** \details Clears the pending bit of a device specific interrupt in the NVIC pending register.
-1597:Drivers/CMSIS/Include/core_cm3.h **** \param [in] IRQn Device specific interrupt number.
-1598:Drivers/CMSIS/Include/core_cm3.h **** \note IRQn must not be negative.
-1599:Drivers/CMSIS/Include/core_cm3.h **** */
-1600:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE void __NVIC_ClearPendingIRQ(IRQn_Type IRQn)
-1601:Drivers/CMSIS/Include/core_cm3.h **** {
-1602:Drivers/CMSIS/Include/core_cm3.h **** if ((int32_t)(IRQn) >= 0)
-1603:Drivers/CMSIS/Include/core_cm3.h **** {
-1604:Drivers/CMSIS/Include/core_cm3.h **** NVIC->ICPR[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
-1605:Drivers/CMSIS/Include/core_cm3.h **** }
-1606:Drivers/CMSIS/Include/core_cm3.h **** }
-1607:Drivers/CMSIS/Include/core_cm3.h ****
-1608:Drivers/CMSIS/Include/core_cm3.h ****
-1609:Drivers/CMSIS/Include/core_cm3.h **** /**
-1610:Drivers/CMSIS/Include/core_cm3.h **** \brief Get Active Interrupt
-1611:Drivers/CMSIS/Include/core_cm3.h **** \details Reads the active register in the NVIC and returns the active bit for the device specific
-1612:Drivers/CMSIS/Include/core_cm3.h **** \param [in] IRQn Device specific interrupt number.
-1613:Drivers/CMSIS/Include/core_cm3.h **** \return 0 Interrupt status is not active.
-1614:Drivers/CMSIS/Include/core_cm3.h **** \return 1 Interrupt status is active.
-1615:Drivers/CMSIS/Include/core_cm3.h **** \note IRQn must not be negative.
-1616:Drivers/CMSIS/Include/core_cm3.h **** */
-ARM GAS /tmp/cc8EHLWE.s page 34
-
-
-1617:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE uint32_t __NVIC_GetActive(IRQn_Type IRQn)
-1618:Drivers/CMSIS/Include/core_cm3.h **** {
-1619:Drivers/CMSIS/Include/core_cm3.h **** if ((int32_t)(IRQn) >= 0)
-1620:Drivers/CMSIS/Include/core_cm3.h **** {
-1621:Drivers/CMSIS/Include/core_cm3.h **** return((uint32_t)(((NVIC->IABR[(((uint32_t)IRQn) >> 5UL)] & (1UL << (((uint32_t)IRQn) & 0x1FUL)
-1622:Drivers/CMSIS/Include/core_cm3.h **** }
-1623:Drivers/CMSIS/Include/core_cm3.h **** else
-1624:Drivers/CMSIS/Include/core_cm3.h **** {
-1625:Drivers/CMSIS/Include/core_cm3.h **** return(0U);
-1626:Drivers/CMSIS/Include/core_cm3.h **** }
-1627:Drivers/CMSIS/Include/core_cm3.h **** }
-1628:Drivers/CMSIS/Include/core_cm3.h ****
-1629:Drivers/CMSIS/Include/core_cm3.h ****
-1630:Drivers/CMSIS/Include/core_cm3.h **** /**
-1631:Drivers/CMSIS/Include/core_cm3.h **** \brief Set Interrupt Priority
-1632:Drivers/CMSIS/Include/core_cm3.h **** \details Sets the priority of a device specific interrupt or a processor exception.
-1633:Drivers/CMSIS/Include/core_cm3.h **** The interrupt number can be positive to specify a device specific interrupt,
-1634:Drivers/CMSIS/Include/core_cm3.h **** or negative to specify a processor exception.
-1635:Drivers/CMSIS/Include/core_cm3.h **** \param [in] IRQn Interrupt number.
-1636:Drivers/CMSIS/Include/core_cm3.h **** \param [in] priority Priority to set.
-1637:Drivers/CMSIS/Include/core_cm3.h **** \note The priority cannot be set for every processor exception.
-1638:Drivers/CMSIS/Include/core_cm3.h **** */
-1639:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE void __NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)
-1640:Drivers/CMSIS/Include/core_cm3.h **** {
-1641:Drivers/CMSIS/Include/core_cm3.h **** if ((int32_t)(IRQn) >= 0)
-1642:Drivers/CMSIS/Include/core_cm3.h **** {
-1643:Drivers/CMSIS/Include/core_cm3.h **** NVIC->IP[((uint32_t)IRQn)] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (u
-1644:Drivers/CMSIS/Include/core_cm3.h **** }
-1645:Drivers/CMSIS/Include/core_cm3.h **** else
-1646:Drivers/CMSIS/Include/core_cm3.h **** {
-1647:Drivers/CMSIS/Include/core_cm3.h **** SCB->SHP[(((uint32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (u
-1648:Drivers/CMSIS/Include/core_cm3.h **** }
-1649:Drivers/CMSIS/Include/core_cm3.h **** }
-1650:Drivers/CMSIS/Include/core_cm3.h ****
-1651:Drivers/CMSIS/Include/core_cm3.h ****
-1652:Drivers/CMSIS/Include/core_cm3.h **** /**
-1653:Drivers/CMSIS/Include/core_cm3.h **** \brief Get Interrupt Priority
-1654:Drivers/CMSIS/Include/core_cm3.h **** \details Reads the priority of a device specific interrupt or a processor exception.
-1655:Drivers/CMSIS/Include/core_cm3.h **** The interrupt number can be positive to specify a device specific interrupt,
-1656:Drivers/CMSIS/Include/core_cm3.h **** or negative to specify a processor exception.
-1657:Drivers/CMSIS/Include/core_cm3.h **** \param [in] IRQn Interrupt number.
-1658:Drivers/CMSIS/Include/core_cm3.h **** \return Interrupt Priority.
-1659:Drivers/CMSIS/Include/core_cm3.h **** Value is aligned automatically to the implemented priority bits of the microc
-1660:Drivers/CMSIS/Include/core_cm3.h **** */
-1661:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE uint32_t __NVIC_GetPriority(IRQn_Type IRQn)
-1662:Drivers/CMSIS/Include/core_cm3.h **** {
-1663:Drivers/CMSIS/Include/core_cm3.h ****
-1664:Drivers/CMSIS/Include/core_cm3.h **** if ((int32_t)(IRQn) >= 0)
-1665:Drivers/CMSIS/Include/core_cm3.h **** {
-1666:Drivers/CMSIS/Include/core_cm3.h **** return(((uint32_t)NVIC->IP[((uint32_t)IRQn)] >> (8U - __NVIC_PRIO_BITS)));
-1667:Drivers/CMSIS/Include/core_cm3.h **** }
-1668:Drivers/CMSIS/Include/core_cm3.h **** else
-1669:Drivers/CMSIS/Include/core_cm3.h **** {
-1670:Drivers/CMSIS/Include/core_cm3.h **** return(((uint32_t)SCB->SHP[(((uint32_t)IRQn) & 0xFUL)-4UL] >> (8U - __NVIC_PRIO_BITS)));
-1671:Drivers/CMSIS/Include/core_cm3.h **** }
-1672:Drivers/CMSIS/Include/core_cm3.h **** }
-1673:Drivers/CMSIS/Include/core_cm3.h ****
-ARM GAS /tmp/cc8EHLWE.s page 35
-
-
-1674:Drivers/CMSIS/Include/core_cm3.h ****
-1675:Drivers/CMSIS/Include/core_cm3.h **** /**
-1676:Drivers/CMSIS/Include/core_cm3.h **** \brief Encode Priority
-1677:Drivers/CMSIS/Include/core_cm3.h **** \details Encodes the priority for an interrupt with the given priority group,
-1678:Drivers/CMSIS/Include/core_cm3.h **** preemptive priority value, and subpriority value.
-1679:Drivers/CMSIS/Include/core_cm3.h **** In case of a conflict between priority grouping and available
-1680:Drivers/CMSIS/Include/core_cm3.h **** priority bits (__NVIC_PRIO_BITS), the smallest possible priority group is set.
-1681:Drivers/CMSIS/Include/core_cm3.h **** \param [in] PriorityGroup Used priority group.
-1682:Drivers/CMSIS/Include/core_cm3.h **** \param [in] PreemptPriority Preemptive priority value (starting from 0).
-1683:Drivers/CMSIS/Include/core_cm3.h **** \param [in] SubPriority Subpriority value (starting from 0).
-1684:Drivers/CMSIS/Include/core_cm3.h **** \return Encoded priority. Value can be used in the function \ref NVIC_SetP
-1685:Drivers/CMSIS/Include/core_cm3.h **** */
-1686:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE uint32_t NVIC_EncodePriority (uint32_t PriorityGroup, uint32_t PreemptPriority, uin
-1687:Drivers/CMSIS/Include/core_cm3.h **** {
-1688:Drivers/CMSIS/Include/core_cm3.h **** uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used
-1689:Drivers/CMSIS/Include/core_cm3.h **** uint32_t PreemptPriorityBits;
-1690:Drivers/CMSIS/Include/core_cm3.h **** uint32_t SubPriorityBits;
-1691:Drivers/CMSIS/Include/core_cm3.h ****
-1692:Drivers/CMSIS/Include/core_cm3.h **** PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NV
- 101 .loc 2 1692 0
- 102 000a C3F10704 rsb r4, r3, #7
- 103 000e 042C cmp r4, #4
- 104 0010 28BF it cs
- 105 0012 0424 movcs r4, #4
- 106 .LVL10:
-1693:Drivers/CMSIS/Include/core_cm3.h **** SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint
- 107 .loc 2 1693 0
- 108 0014 1D1D adds r5, r3, #4
- 109 0016 062D cmp r5, #6
- 110 0018 17D9 bls .L8
- 111 001a 033B subs r3, r3, #3
- 112 .LVL11:
- 113 .L5:
-1694:Drivers/CMSIS/Include/core_cm3.h ****
-1695:Drivers/CMSIS/Include/core_cm3.h **** return (
-1696:Drivers/CMSIS/Include/core_cm3.h **** ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits
- 114 .loc 2 1696 0
- 115 001c 0125 movs r5, #1
- 116 .LVL12:
- 117 001e 05FA04F4 lsl r4, r5, r4
- 118 .LVL13:
- 119 0022 013C subs r4, r4, #1
- 120 0024 2140 ands r1, r1, r4
- 121 .LVL14:
- 122 0026 9940 lsls r1, r1, r3
-1697:Drivers/CMSIS/Include/core_cm3.h **** ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL)))
- 123 .loc 2 1697 0
- 124 0028 05FA03F3 lsl r3, r5, r3
- 125 .LVL15:
- 126 002c 013B subs r3, r3, #1
- 127 002e 1340 ands r3, r3, r2
-1696:Drivers/CMSIS/Include/core_cm3.h **** ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL)))
- 128 .loc 2 1696 0
- 129 0030 1943 orrs r1, r1, r3
- 130 .LVL16:
- 131 .LBE51:
- 132 .LBE50:
-ARM GAS /tmp/cc8EHLWE.s page 36
-
-
- 133 .LBB53:
- 134 .LBB54:
-1641:Drivers/CMSIS/Include/core_cm3.h **** {
- 135 .loc 2 1641 0
- 136 0032 0028 cmp r0, #0
- 137 0034 0BDB blt .L6
-1643:Drivers/CMSIS/Include/core_cm3.h **** }
- 138 .loc 2 1643 0
- 139 0036 0901 lsls r1, r1, #4
- 140 0038 C9B2 uxtb r1, r1
- 141 003a 00F16040 add r0, r0, #-536870912
- 142 .LVL17:
- 143 003e 00F56140 add r0, r0, #57600
- 144 0042 80F80013 strb r1, [r0, #768]
- 145 .LVL18:
- 146 .L4:
- 147 .LBE54:
- 148 .LBE53:
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** uint32_t prioritygroup = 0x00U;
- 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Check the parameters */
- 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_NVIC_SUB_PRIORITY(SubPriority));
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_NVIC_PREEMPTION_PRIORITY(PreemptPriority));
- 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** prioritygroup = NVIC_GetPriorityGrouping();
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** NVIC_SetPriority(IRQn, NVIC_EncodePriority(prioritygroup, PreemptPriority, SubPriority));
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
- 149 .loc 1 176 0
- 150 0046 30BC pop {r4, r5}
- 151 .LCFI1:
- 152 .cfi_remember_state
- 153 .cfi_restore 5
- 154 .cfi_restore 4
- 155 .cfi_def_cfa_offset 0
- 156 0048 7047 bx lr
- 157 .LVL19:
- 158 .L8:
- 159 .LCFI2:
- 160 .cfi_restore_state
- 161 .LBB56:
- 162 .LBB52:
-1693:Drivers/CMSIS/Include/core_cm3.h ****
- 163 .loc 2 1693 0
- 164 004a 0023 movs r3, #0
- 165 .LVL20:
- 166 004c E6E7 b .L5
- 167 .LVL21:
- 168 .L6:
- 169 .LBE52:
- 170 .LBE56:
- 171 .LBB57:
- 172 .LBB55:
-1647:Drivers/CMSIS/Include/core_cm3.h **** }
- 173 .loc 2 1647 0
- 174 004e 00F00F00 and r0, r0, #15
- 175 .LVL22:
-ARM GAS /tmp/cc8EHLWE.s page 37
-
-
- 176 0052 0901 lsls r1, r1, #4
- 177 0054 C9B2 uxtb r1, r1
- 178 0056 024B ldr r3, .L10+4
- 179 0058 1954 strb r1, [r3, r0]
- 180 .LVL23:
- 181 .LBE55:
- 182 .LBE57:
- 183 .loc 1 176 0
- 184 005a F4E7 b .L4
- 185 .L11:
- 186 .align 2
- 187 .L10:
- 188 005c 00ED00E0 .word -536810240
- 189 0060 14ED00E0 .word -536810220
- 190 .cfi_endproc
- 191 .LFE66:
- 193 .section .text.HAL_NVIC_EnableIRQ,"ax",%progbits
- 194 .align 1
- 195 .global HAL_NVIC_EnableIRQ
- 196 .syntax unified
- 197 .thumb
- 198 .thumb_func
- 199 .fpu softvfp
- 201 HAL_NVIC_EnableIRQ:
- 202 .LFB67:
- 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Enables a device specific interrupt in the NVIC interrupt controller.
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @note To configure interrupts priority correctly, the NVIC_PriorityGroupConfig()
- 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * function should be called before.
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param IRQn External interrupt number.
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
- 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_NVIC_EnableIRQ(IRQn_Type IRQn)
- 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
- 203 .loc 1 188 0
- 204 .cfi_startproc
- 205 @ args = 0, pretend = 0, frame = 0
- 206 @ frame_needed = 0, uses_anonymous_args = 0
- 207 @ link register save eliminated.
- 208 .LVL24:
- 209 .LBB58:
- 210 .LBB59:
-1513:Drivers/CMSIS/Include/core_cm3.h **** {
- 211 .loc 2 1513 0
- 212 0000 0028 cmp r0, #0
- 213 .LVL25:
- 214 0002 08DB blt .L12
-1515:Drivers/CMSIS/Include/core_cm3.h **** }
- 215 .loc 2 1515 0
- 216 0004 4209 lsrs r2, r0, #5
- 217 0006 00F01F00 and r0, r0, #31
- 218 000a 0123 movs r3, #1
- 219 000c 03FA00F0 lsl r0, r3, r0
- 220 0010 014B ldr r3, .L14
-ARM GAS /tmp/cc8EHLWE.s page 38
-
-
- 221 0012 43F82200 str r0, [r3, r2, lsl #2]
- 222 .LVL26:
- 223 .L12:
- 224 0016 7047 bx lr
- 225 .L15:
- 226 .align 2
- 227 .L14:
- 228 0018 00E100E0 .word -536813312
- 229 .LBE59:
- 230 .LBE58:
- 231 .cfi_endproc
- 232 .LFE67:
- 234 .section .text.HAL_NVIC_DisableIRQ,"ax",%progbits
- 235 .align 1
- 236 .global HAL_NVIC_DisableIRQ
- 237 .syntax unified
- 238 .thumb
- 239 .thumb_func
- 240 .fpu softvfp
- 242 HAL_NVIC_DisableIRQ:
- 243 .LFB68:
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Check the parameters */
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
- 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Enable interrupt */
- 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** NVIC_EnableIRQ(IRQn);
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Disables a device specific interrupt in the NVIC interrupt controller.
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param IRQn External interrupt number.
- 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_NVIC_DisableIRQ(IRQn_Type IRQn)
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
- 244 .loc 1 204 0
- 245 .cfi_startproc
- 246 @ args = 0, pretend = 0, frame = 0
- 247 @ frame_needed = 0, uses_anonymous_args = 0
- 248 @ link register save eliminated.
- 249 .LVL27:
- 250 .LBB60:
- 251 .LBB61:
-1549:Drivers/CMSIS/Include/core_cm3.h **** {
- 252 .loc 2 1549 0
- 253 0000 0028 cmp r0, #0
- 254 .LVL28:
- 255 0002 0DDB blt .L16
-1551:Drivers/CMSIS/Include/core_cm3.h **** __DSB();
- 256 .loc 2 1551 0
- 257 0004 4309 lsrs r3, r0, #5
- 258 0006 00F01F00 and r0, r0, #31
- 259 000a 0122 movs r2, #1
- 260 000c 02FA00F0 lsl r0, r2, r0
- 261 0010 2033 adds r3, r3, #32
-ARM GAS /tmp/cc8EHLWE.s page 39
-
-
- 262 0012 044A ldr r2, .L18
- 263 0014 42F82300 str r0, [r2, r3, lsl #2]
- 264 .LBB62:
- 265 .LBB63:
- 266 .file 3 "Drivers/CMSIS/Include/cmsis_gcc.h"
- 1:Drivers/CMSIS/Include/cmsis_gcc.h **** /**************************************************************************//**
- 2:Drivers/CMSIS/Include/cmsis_gcc.h **** * @file cmsis_gcc.h
- 3:Drivers/CMSIS/Include/cmsis_gcc.h **** * @brief CMSIS compiler GCC header file
- 4:Drivers/CMSIS/Include/cmsis_gcc.h **** * @version V5.0.4
- 5:Drivers/CMSIS/Include/cmsis_gcc.h **** * @date 09. April 2018
- 6:Drivers/CMSIS/Include/cmsis_gcc.h **** ******************************************************************************/
- 7:Drivers/CMSIS/Include/cmsis_gcc.h **** /*
- 8:Drivers/CMSIS/Include/cmsis_gcc.h **** * Copyright (c) 2009-2018 Arm Limited. All rights reserved.
- 9:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 10:Drivers/CMSIS/Include/cmsis_gcc.h **** * SPDX-License-Identifier: Apache-2.0
- 11:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 12:Drivers/CMSIS/Include/cmsis_gcc.h **** * Licensed under the Apache License, Version 2.0 (the License); you may
- 13:Drivers/CMSIS/Include/cmsis_gcc.h **** * not use this file except in compliance with the License.
- 14:Drivers/CMSIS/Include/cmsis_gcc.h **** * You may obtain a copy of the License at
- 15:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 16:Drivers/CMSIS/Include/cmsis_gcc.h **** * www.apache.org/licenses/LICENSE-2.0
- 17:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 18:Drivers/CMSIS/Include/cmsis_gcc.h **** * Unless required by applicable law or agreed to in writing, software
- 19:Drivers/CMSIS/Include/cmsis_gcc.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT
- 20:Drivers/CMSIS/Include/cmsis_gcc.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- 21:Drivers/CMSIS/Include/cmsis_gcc.h **** * See the License for the specific language governing permissions and
- 22:Drivers/CMSIS/Include/cmsis_gcc.h **** * limitations under the License.
- 23:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 24:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 25:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __CMSIS_GCC_H
- 26:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_H
- 27:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 28:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ignore some GCC warnings */
- 29:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 30:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wsign-conversion"
- 31:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wconversion"
- 32:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wunused-parameter"
- 33:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 34:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Fallback for __has_builtin */
- 35:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __has_builtin
- 36:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __has_builtin(x) (0)
- 37:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 38:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 39:Drivers/CMSIS/Include/cmsis_gcc.h **** /* CMSIS compiler specific defines */
- 40:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ASM
- 41:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ASM __asm
- 42:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 43:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __INLINE
- 44:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __INLINE inline
- 45:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 46:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_INLINE
- 47:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_INLINE static inline
- 48:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 49:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_FORCEINLINE
- 50:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_FORCEINLINE __attribute__((always_inline)) static inline
- 51:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 52:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __NO_RETURN
-ARM GAS /tmp/cc8EHLWE.s page 40
-
-
- 53:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NO_RETURN __attribute__((__noreturn__))
- 54:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 55:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __USED
- 56:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __USED __attribute__((used))
- 57:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 58:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __WEAK
- 59:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WEAK __attribute__((weak))
- 60:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 61:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED
- 62:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED __attribute__((packed, aligned(1)))
- 63:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 64:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_STRUCT
- 65:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_STRUCT struct __attribute__((packed, aligned(1)))
- 66:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 67:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_UNION
- 68:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_UNION union __attribute__((packed, aligned(1)))
- 69:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 70:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32 /* deprecated */
- 71:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 72:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 73:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 74:Drivers/CMSIS/Include/cmsis_gcc.h **** struct __attribute__((packed)) T_UINT32 { uint32_t v; };
- 75:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 76:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
- 77:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 78:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_WRITE
- 79:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 80:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 81:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 82:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; };
- 83:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 84:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))-
- 85:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 86:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_READ
- 87:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 88:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 89:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 90:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_READ { uint16_t v; };
- 91:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 92:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(add
- 93:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 94:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_WRITE
- 95:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 96:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 97:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 98:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; };
- 99:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 100:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))-
- 101:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 102:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_READ
- 103:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 104:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 105:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 106:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_READ { uint32_t v; };
- 107:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 108:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(add
- 109:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
-ARM GAS /tmp/cc8EHLWE.s page 41
-
-
- 110:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ALIGNED
- 111:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ALIGNED(x) __attribute__((aligned(x)))
- 112:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 113:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __RESTRICT
- 114:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __RESTRICT __restrict
- 115:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 116:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 117:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 118:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################### Core Function Access ########################### */
- 119:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \ingroup CMSIS_Core_FunctionInterface
- 120:Drivers/CMSIS/Include/cmsis_gcc.h **** \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions
- 121:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
- 122:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 123:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 124:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 125:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable IRQ Interrupts
- 126:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables IRQ interrupts by clearing the I-bit in the CPSR.
- 127:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
- 128:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 129:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_irq(void)
- 130:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 131:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie i" : : : "memory");
- 132:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 133:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 134:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 135:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 136:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable IRQ Interrupts
- 137:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables IRQ interrupts by setting the I-bit in the CPSR.
- 138:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
- 139:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 140:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_irq(void)
- 141:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 142:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid i" : : : "memory");
- 143:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 144:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 145:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 146:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 147:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register
- 148:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the Control Register.
- 149:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Control Register value
- 150:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 151:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_CONTROL(void)
- 152:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 153:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 154:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 155:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control" : "=r" (result) );
- 156:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 157:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 158:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 159:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 160:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 161:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 162:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register (non-secure)
- 163:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the non-secure Control Register when in secure mode.
- 164:Drivers/CMSIS/Include/cmsis_gcc.h **** \return non-secure Control Register value
- 165:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 166:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_CONTROL_NS(void)
-ARM GAS /tmp/cc8EHLWE.s page 42
-
-
- 167:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 168:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 169:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 170:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control_ns" : "=r" (result) );
- 171:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 172:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 173:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 174:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 175:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 176:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 177:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register
- 178:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the Control Register.
- 179:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
- 180:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 181:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_CONTROL(uint32_t control)
- 182:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 183:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control, %0" : : "r" (control) : "memory");
- 184:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 185:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 186:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 187:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 188:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 189:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register (non-secure)
- 190:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the non-secure Control Register when in secure state.
- 191:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
- 192:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 193:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_CONTROL_NS(uint32_t control)
- 194:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 195:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control_ns, %0" : : "r" (control) : "memory");
- 196:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 197:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 198:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 199:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 200:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 201:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get IPSR Register
- 202:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the IPSR Register.
- 203:Drivers/CMSIS/Include/cmsis_gcc.h **** \return IPSR Register value
- 204:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 205:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_IPSR(void)
- 206:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 207:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 208:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 209:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, ipsr" : "=r" (result) );
- 210:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 211:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 212:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 213:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 214:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 215:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get APSR Register
- 216:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the APSR Register.
- 217:Drivers/CMSIS/Include/cmsis_gcc.h **** \return APSR Register value
- 218:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 219:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_APSR(void)
- 220:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 221:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 222:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 223:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, apsr" : "=r" (result) );
-ARM GAS /tmp/cc8EHLWE.s page 43
-
-
- 224:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 225:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 226:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 227:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 228:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 229:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get xPSR Register
- 230:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the xPSR Register.
- 231:Drivers/CMSIS/Include/cmsis_gcc.h **** \return xPSR Register value
- 232:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 233:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_xPSR(void)
- 234:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 235:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 236:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 237:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, xpsr" : "=r" (result) );
- 238:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 239:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 240:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 241:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 242:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 243:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer
- 244:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer (PSP).
- 245:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
- 246:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 247:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSP(void)
- 248:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 249:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 250:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 251:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp" : "=r" (result) );
- 252:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 253:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 254:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 255:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 256:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 257:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 258:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer (non-secure)
- 259:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer (PSP) when in secure s
- 260:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
- 261:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 262:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSP_NS(void)
- 263:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 264:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 265:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 266:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp_ns" : "=r" (result) );
- 267:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 268:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 269:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 270:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 271:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 272:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 273:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer
- 274:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer (PSP).
- 275:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
- 276:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 277:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSP(uint32_t topOfProcStack)
- 278:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 279:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp, %0" : : "r" (topOfProcStack) : );
- 280:Drivers/CMSIS/Include/cmsis_gcc.h **** }
-ARM GAS /tmp/cc8EHLWE.s page 44
-
-
- 281:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 282:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 283:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 284:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 285:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
- 286:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer (PSP) when in secure sta
- 287:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
- 288:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 289:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSP_NS(uint32_t topOfProcStack)
- 290:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 291:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp_ns, %0" : : "r" (topOfProcStack) : );
- 292:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 293:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 294:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 295:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 296:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 297:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer
- 298:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer (MSP).
- 299:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
- 300:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 301:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSP(void)
- 302:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 303:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 304:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 305:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp" : "=r" (result) );
- 306:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 307:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 308:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 309:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 310:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 311:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 312:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer (non-secure)
- 313:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer (MSP) when in secure stat
- 314:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
- 315:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 316:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSP_NS(void)
- 317:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 318:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 319:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 320:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp_ns" : "=r" (result) );
- 321:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 322:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 323:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 324:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 325:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 326:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 327:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer
- 328:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer (MSP).
- 329:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
- 330:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 331:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSP(uint32_t topOfMainStack)
- 332:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 333:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp, %0" : : "r" (topOfMainStack) : );
- 334:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 335:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 336:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 337:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
-ARM GAS /tmp/cc8EHLWE.s page 45
-
-
- 338:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 339:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer (non-secure)
- 340:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer (MSP) when in secure state.
- 341:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
- 342:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 343:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSP_NS(uint32_t topOfMainStack)
- 344:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 345:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp_ns, %0" : : "r" (topOfMainStack) : );
- 346:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 347:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 348:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 349:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 350:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 351:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 352:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Stack Pointer (non-secure)
- 353:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Stack Pointer (SP) when in secure state.
- 354:Drivers/CMSIS/Include/cmsis_gcc.h **** \return SP Register value
- 355:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 356:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_SP_NS(void)
- 357:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 358:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 359:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 360:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, sp_ns" : "=r" (result) );
- 361:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 362:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 363:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 364:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 365:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 366:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Stack Pointer (non-secure)
- 367:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Stack Pointer (SP) when in secure state.
- 368:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfStack Stack Pointer value to set
- 369:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 370:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_SP_NS(uint32_t topOfStack)
- 371:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 372:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR sp_ns, %0" : : "r" (topOfStack) : );
- 373:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 374:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 375:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 376:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 377:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 378:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask
- 379:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the priority mask bit from the Priority Mask Register.
- 380:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
- 381:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 382:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PRIMASK(void)
- 383:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 384:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 385:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 386:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask" : "=r" (result) :: "memory");
- 387:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 388:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 389:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 390:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 391:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 392:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 393:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask (non-secure)
- 394:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the non-secure priority mask bit from the Priority Mask Reg
-ARM GAS /tmp/cc8EHLWE.s page 46
-
-
- 395:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
- 396:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 397:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PRIMASK_NS(void)
- 398:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 399:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 400:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 401:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask_ns" : "=r" (result) :: "memory");
- 402:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 403:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 404:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 405:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 406:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 407:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 408:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask
- 409:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Priority Mask Register.
- 410:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
- 411:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 412:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PRIMASK(uint32_t priMask)
- 413:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 414:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask, %0" : : "r" (priMask) : "memory");
- 415:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 416:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 417:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 418:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 419:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 420:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask (non-secure)
- 421:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Priority Mask Register when in secure state.
- 422:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
- 423:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 424:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PRIMASK_NS(uint32_t priMask)
- 425:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 426:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask_ns, %0" : : "r" (priMask) : "memory");
- 427:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 428:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 429:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 430:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 431:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
- 432:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
- 433:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) )
- 434:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 435:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable FIQ
- 436:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables FIQ interrupts by clearing the F-bit in the CPSR.
- 437:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
- 438:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 439:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_fault_irq(void)
- 440:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 441:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie f" : : : "memory");
- 442:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 443:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 444:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 445:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 446:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable FIQ
- 447:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables FIQ interrupts by setting the F-bit in the CPSR.
- 448:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
- 449:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 450:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_fault_irq(void)
- 451:Drivers/CMSIS/Include/cmsis_gcc.h **** {
-ARM GAS /tmp/cc8EHLWE.s page 47
-
-
- 452:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid f" : : : "memory");
- 453:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 454:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 455:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 456:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 457:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority
- 458:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Base Priority register.
- 459:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value
- 460:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 461:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_BASEPRI(void)
- 462:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 463:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 464:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 465:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri" : "=r" (result) );
- 466:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 467:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 468:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 469:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 470:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 471:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 472:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority (non-secure)
- 473:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Base Priority register when in secure state.
- 474:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value
- 475:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 476:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_BASEPRI_NS(void)
- 477:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 478:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 479:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 480:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri_ns" : "=r" (result) );
- 481:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 482:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 483:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 484:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 485:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 486:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 487:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority
- 488:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register.
- 489:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
- 490:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 491:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI(uint32_t basePri)
- 492:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 493:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri, %0" : : "r" (basePri) : "memory");
- 494:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 495:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 496:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 497:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 498:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 499:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority (non-secure)
- 500:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Base Priority register when in secure state.
- 501:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
- 502:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 503:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_BASEPRI_NS(uint32_t basePri)
- 504:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 505:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_ns, %0" : : "r" (basePri) : "memory");
- 506:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 507:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 508:Drivers/CMSIS/Include/cmsis_gcc.h ****
-ARM GAS /tmp/cc8EHLWE.s page 48
-
-
- 509:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 510:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 511:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority with condition
- 512:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register only if BASEPRI masking is disable
- 513:Drivers/CMSIS/Include/cmsis_gcc.h **** or the new value increases the BASEPRI priority level.
- 514:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
- 515:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 516:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI_MAX(uint32_t basePri)
- 517:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 518:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_max, %0" : : "r" (basePri) : "memory");
- 519:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 520:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 521:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 522:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 523:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask
- 524:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Fault Mask register.
- 525:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value
- 526:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 527:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FAULTMASK(void)
- 528:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 529:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 530:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 531:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask" : "=r" (result) );
- 532:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 533:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 534:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 535:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 536:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 537:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 538:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask (non-secure)
- 539:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Fault Mask register when in secure state.
- 540:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value
- 541:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 542:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_FAULTMASK_NS(void)
- 543:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 544:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 545:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 546:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask_ns" : "=r" (result) );
- 547:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 548:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 549:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 550:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 551:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 552:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 553:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask
- 554:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Fault Mask register.
- 555:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set
- 556:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 557:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FAULTMASK(uint32_t faultMask)
- 558:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 559:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask, %0" : : "r" (faultMask) : "memory");
- 560:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 561:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 562:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 563:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 564:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 565:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask (non-secure)
-ARM GAS /tmp/cc8EHLWE.s page 49
-
-
- 566:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Fault Mask register when in secure state.
- 567:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set
- 568:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 569:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_FAULTMASK_NS(uint32_t faultMask)
- 570:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 571:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask_ns, %0" : : "r" (faultMask) : "memory");
- 572:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 573:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 574:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 575:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
- 576:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
- 577:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) ) */
- 578:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 579:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 580:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \
- 581:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) )
- 582:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 583:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 584:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit
- 585:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
- 586:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure
- 587:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
- 588:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 589:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer Limit (PSPLIM).
- 590:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value
- 591:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 592:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSPLIM(void)
- 593:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 594:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
- 595:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
- 596:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
- 597:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
- 598:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 599:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 600:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim" : "=r" (result) );
- 601:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
- 602:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 603:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 604:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 605:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3))
- 606:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 607:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit (non-secure)
- 608:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
- 609:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always.
- 610:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 611:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer Limit (PSPLIM) when in
- 612:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value
- 613:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 614:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSPLIM_NS(void)
- 615:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 616:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
- 617:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
- 618:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
- 619:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 620:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 621:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim_ns" : "=r" (result) );
- 622:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
-ARM GAS /tmp/cc8EHLWE.s page 50
-
-
- 623:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 624:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 625:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 626:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 627:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 628:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 629:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer Limit
- 630:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
- 631:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure
- 632:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
- 633:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 634:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer Limit (PSPLIM).
- 635:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set
- 636:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 637:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSPLIM(uint32_t ProcStackPtrLimit)
- 638:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 639:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
- 640:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
- 641:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
- 642:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit;
- 643:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 644:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim, %0" : : "r" (ProcStackPtrLimit));
- 645:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 646:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 647:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 648:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 649:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 650:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 651:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
- 652:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
- 653:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored.
- 654:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 655:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer Limit (PSPLIM) when in s
- 656:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set
- 657:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 658:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSPLIM_NS(uint32_t ProcStackPtrLimit)
- 659:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 660:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
- 661:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
- 662:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit;
- 663:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 664:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim_ns, %0\n" : : "r" (ProcStackPtrLimit));
- 665:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 666:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 667:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 668:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 669:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 670:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 671:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit
- 672:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
- 673:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure
- 674:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
- 675:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 676:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer Limit (MSPLIM).
- 677:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value
- 678:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 679:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSPLIM(void)
-ARM GAS /tmp/cc8EHLWE.s page 51
-
-
- 680:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 681:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
- 682:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
- 683:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
- 684:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
- 685:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 686:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 687:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim" : "=r" (result) );
- 688:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
- 689:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 690:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 691:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 692:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 693:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 694:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 695:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit (non-secure)
- 696:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
- 697:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always.
- 698:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 699:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer Limit(MSPLIM) when in sec
- 700:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value
- 701:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 702:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSPLIM_NS(void)
- 703:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 704:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
- 705:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
- 706:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
- 707:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 708:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 709:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim_ns" : "=r" (result) );
- 710:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
- 711:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 712:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 713:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 714:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 715:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 716:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 717:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit
- 718:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
- 719:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure
- 720:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
- 721:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 722:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer Limit (MSPLIM).
- 723:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer Limit value to set
- 724:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 725:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSPLIM(uint32_t MainStackPtrLimit)
- 726:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 727:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
- 728:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
- 729:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
- 730:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit;
- 731:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 732:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim, %0" : : "r" (MainStackPtrLimit));
- 733:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 734:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 735:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 736:Drivers/CMSIS/Include/cmsis_gcc.h ****
-ARM GAS /tmp/cc8EHLWE.s page 52
-
-
- 737:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 738:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 739:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit (non-secure)
- 740:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
- 741:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored.
- 742:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 743:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer Limit (MSPLIM) when in secu
- 744:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer value to set
- 745:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 746:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSPLIM_NS(uint32_t MainStackPtrLimit)
- 747:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 748:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
- 749:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
- 750:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit;
- 751:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 752:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim_ns, %0" : : "r" (MainStackPtrLimit));
- 753:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 754:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 755:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 756:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 757:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \
- 758:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) ) */
- 759:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 760:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 761:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 762:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get FPSCR
- 763:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Floating Point Status/Control register.
- 764:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Floating Point Status/Control register value
- 765:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 766:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FPSCR(void)
- 767:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 768:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
- 769:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) )
- 770:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_get_fpscr)
- 771:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed
- 772:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2)
- 773:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */
- 774:Drivers/CMSIS/Include/cmsis_gcc.h **** return __builtin_arm_get_fpscr();
- 775:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 776:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 777:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 778:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMRS %0, fpscr" : "=r" (result) );
- 779:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 780:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 781:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 782:Drivers/CMSIS/Include/cmsis_gcc.h **** return(0U);
- 783:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 784:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 785:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 786:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 787:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 788:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set FPSCR
- 789:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Floating Point Status/Control register.
- 790:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] fpscr Floating Point Status/Control value to set
- 791:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 792:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FPSCR(uint32_t fpscr)
- 793:Drivers/CMSIS/Include/cmsis_gcc.h **** {
-ARM GAS /tmp/cc8EHLWE.s page 53
-
-
- 794:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
- 795:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) )
- 796:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_set_fpscr)
- 797:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed
- 798:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2)
- 799:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */
- 800:Drivers/CMSIS/Include/cmsis_gcc.h **** __builtin_arm_set_fpscr(fpscr);
- 801:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 802:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMSR fpscr, %0" : : "r" (fpscr) : "vfpcc", "memory");
- 803:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 804:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 805:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)fpscr;
- 806:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 807:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 808:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 809:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 810:Drivers/CMSIS/Include/cmsis_gcc.h **** /*@} end of CMSIS_Core_RegAccFunctions */
- 811:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 812:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 813:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################## Core Instruction Access ######################### */
- 814:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \defgroup CMSIS_Core_InstructionInterface CMSIS Core Instruction Interface
- 815:Drivers/CMSIS/Include/cmsis_gcc.h **** Access to dedicated instructions
- 816:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
- 817:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 818:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 819:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Define macros for porting to both thumb1 and thumb2.
- 820:Drivers/CMSIS/Include/cmsis_gcc.h **** * For thumb1, use low register (r0-r7), specified by constraint "l"
- 821:Drivers/CMSIS/Include/cmsis_gcc.h **** * Otherwise, use general registers, specified by constraint "r" */
- 822:Drivers/CMSIS/Include/cmsis_gcc.h **** #if defined (__thumb__) && !defined (__thumb2__)
- 823:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=l" (r)
- 824:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+l" (r)
- 825:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "l" (r)
- 826:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 827:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=r" (r)
- 828:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+r" (r)
- 829:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "r" (r)
- 830:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 831:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 832:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 833:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief No Operation
- 834:Drivers/CMSIS/Include/cmsis_gcc.h **** \details No Operation does nothing. This instruction can be used for code alignment purposes.
- 835:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 836:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NOP() __ASM volatile ("nop")
- 837:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 838:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 839:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Interrupt
- 840:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Interrupt is a hint instruction that suspends execution until one of a number o
- 841:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 842:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFI() __ASM volatile ("wfi")
- 843:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 844:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 845:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 846:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Event
- 847:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Event is a hint instruction that permits the processor to enter
- 848:Drivers/CMSIS/Include/cmsis_gcc.h **** a low-power state until one of a number of events occurs.
- 849:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 850:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFE() __ASM volatile ("wfe")
-ARM GAS /tmp/cc8EHLWE.s page 54
-
-
- 851:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 852:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 853:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 854:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Send Event
- 855:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Send Event is a hint instruction. It causes an event to be signaled to the CPU.
- 856:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 857:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __SEV() __ASM volatile ("sev")
- 858:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 859:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 860:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 861:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Instruction Synchronization Barrier
- 862:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Instruction Synchronization Barrier flushes the pipeline in the processor,
- 863:Drivers/CMSIS/Include/cmsis_gcc.h **** so that all instructions following the ISB are fetched from cache or memory,
- 864:Drivers/CMSIS/Include/cmsis_gcc.h **** after the instruction has been completed.
- 865:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 866:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __ISB(void)
- 867:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 868:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("isb 0xF":::"memory");
- 869:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 870:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 871:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 872:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 873:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Data Synchronization Barrier
- 874:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Acts as a special kind of Data Memory Barrier.
- 875:Drivers/CMSIS/Include/cmsis_gcc.h **** It completes when all explicit memory accesses before this instruction complete.
- 876:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 877:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __DSB(void)
- 878:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 879:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("dsb 0xF":::"memory");
- 267 .loc 3 879 0
- 268 .syntax unified
- 269 @ 879 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 270 0018 BFF34F8F dsb 0xF
- 271 @ 0 "" 2
- 272 .thumb
- 273 .syntax unified
- 274 .LBE63:
- 275 .LBE62:
- 276 .LBB64:
- 277 .LBB65:
- 868:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 278 .loc 3 868 0
- 279 .syntax unified
- 280 @ 868 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 281 001c BFF36F8F isb 0xF
- 282 @ 0 "" 2
- 283 .LVL29:
- 284 .thumb
- 285 .syntax unified
- 286 .L16:
- 287 0020 7047 bx lr
- 288 .L19:
- 289 0022 00BF .align 2
- 290 .L18:
- 291 0024 00E100E0 .word -536813312
- 292 .LBE65:
- 293 .LBE64:
-ARM GAS /tmp/cc8EHLWE.s page 55
-
-
- 294 .LBE61:
- 295 .LBE60:
- 296 .cfi_endproc
- 297 .LFE68:
- 299 .section .text.HAL_NVIC_SystemReset,"ax",%progbits
- 300 .align 1
- 301 .global HAL_NVIC_SystemReset
- 302 .syntax unified
- 303 .thumb
- 304 .thumb_func
- 305 .fpu softvfp
- 307 HAL_NVIC_SystemReset:
- 308 .LFB69:
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Check the parameters */
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Disable interrupt */
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** NVIC_DisableIRQ(IRQn);
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Initiates a system reset request to reset the MCU.
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_NVIC_SystemReset(void)
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
- 309 .loc 1 217 0
- 310 .cfi_startproc
- 311 @ Volatile: function does not return.
- 312 @ args = 0, pretend = 0, frame = 0
- 313 @ frame_needed = 0, uses_anonymous_args = 0
- 314 @ link register save eliminated.
- 315 .LBB72:
- 316 .LBB73:
- 317 .LBB74:
- 318 .LBB75:
- 319 .loc 3 879 0
- 320 .syntax unified
- 321 @ 879 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 322 0000 BFF34F8F dsb 0xF
- 323 @ 0 "" 2
- 324 .thumb
- 325 .syntax unified
- 326 .LBE75:
- 327 .LBE74:
-1698:Drivers/CMSIS/Include/core_cm3.h **** );
-1699:Drivers/CMSIS/Include/core_cm3.h **** }
-1700:Drivers/CMSIS/Include/core_cm3.h ****
-1701:Drivers/CMSIS/Include/core_cm3.h ****
-1702:Drivers/CMSIS/Include/core_cm3.h **** /**
-1703:Drivers/CMSIS/Include/core_cm3.h **** \brief Decode Priority
-1704:Drivers/CMSIS/Include/core_cm3.h **** \details Decodes an interrupt priority value with a given priority group to
-1705:Drivers/CMSIS/Include/core_cm3.h **** preemptive priority value and subpriority value.
-1706:Drivers/CMSIS/Include/core_cm3.h **** In case of a conflict between priority grouping and available
-1707:Drivers/CMSIS/Include/core_cm3.h **** priority bits (__NVIC_PRIO_BITS) the smallest possible priority group is set.
-1708:Drivers/CMSIS/Include/core_cm3.h **** \param [in] Priority Priority value, which can be retrieved with the function \ref NVIC
-1709:Drivers/CMSIS/Include/core_cm3.h **** \param [in] PriorityGroup Used priority group.
-ARM GAS /tmp/cc8EHLWE.s page 56
-
-
-1710:Drivers/CMSIS/Include/core_cm3.h **** \param [out] pPreemptPriority Preemptive priority value (starting from 0).
-1711:Drivers/CMSIS/Include/core_cm3.h **** \param [out] pSubPriority Subpriority value (starting from 0).
-1712:Drivers/CMSIS/Include/core_cm3.h **** */
-1713:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE void NVIC_DecodePriority (uint32_t Priority, uint32_t PriorityGroup, uint32_t* cons
-1714:Drivers/CMSIS/Include/core_cm3.h **** {
-1715:Drivers/CMSIS/Include/core_cm3.h **** uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used
-1716:Drivers/CMSIS/Include/core_cm3.h **** uint32_t PreemptPriorityBits;
-1717:Drivers/CMSIS/Include/core_cm3.h **** uint32_t SubPriorityBits;
-1718:Drivers/CMSIS/Include/core_cm3.h ****
-1719:Drivers/CMSIS/Include/core_cm3.h **** PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NV
-1720:Drivers/CMSIS/Include/core_cm3.h **** SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint
-1721:Drivers/CMSIS/Include/core_cm3.h ****
-1722:Drivers/CMSIS/Include/core_cm3.h **** *pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1
-1723:Drivers/CMSIS/Include/core_cm3.h **** *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1
-1724:Drivers/CMSIS/Include/core_cm3.h **** }
-1725:Drivers/CMSIS/Include/core_cm3.h ****
-1726:Drivers/CMSIS/Include/core_cm3.h ****
-1727:Drivers/CMSIS/Include/core_cm3.h **** /**
-1728:Drivers/CMSIS/Include/core_cm3.h **** \brief Set Interrupt Vector
-1729:Drivers/CMSIS/Include/core_cm3.h **** \details Sets an interrupt vector in SRAM based interrupt vector table.
-1730:Drivers/CMSIS/Include/core_cm3.h **** The interrupt number can be positive to specify a device specific interrupt,
-1731:Drivers/CMSIS/Include/core_cm3.h **** or negative to specify a processor exception.
-1732:Drivers/CMSIS/Include/core_cm3.h **** VTOR must been relocated to SRAM before.
-1733:Drivers/CMSIS/Include/core_cm3.h **** \param [in] IRQn Interrupt number
-1734:Drivers/CMSIS/Include/core_cm3.h **** \param [in] vector Address of interrupt handler function
-1735:Drivers/CMSIS/Include/core_cm3.h **** */
-1736:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE void __NVIC_SetVector(IRQn_Type IRQn, uint32_t vector)
-1737:Drivers/CMSIS/Include/core_cm3.h **** {
-1738:Drivers/CMSIS/Include/core_cm3.h **** uint32_t *vectors = (uint32_t *)SCB->VTOR;
-1739:Drivers/CMSIS/Include/core_cm3.h **** vectors[(int32_t)IRQn + NVIC_USER_IRQ_OFFSET] = vector;
-1740:Drivers/CMSIS/Include/core_cm3.h **** }
-1741:Drivers/CMSIS/Include/core_cm3.h ****
-1742:Drivers/CMSIS/Include/core_cm3.h ****
-1743:Drivers/CMSIS/Include/core_cm3.h **** /**
-1744:Drivers/CMSIS/Include/core_cm3.h **** \brief Get Interrupt Vector
-1745:Drivers/CMSIS/Include/core_cm3.h **** \details Reads an interrupt vector from interrupt vector table.
-1746:Drivers/CMSIS/Include/core_cm3.h **** The interrupt number can be positive to specify a device specific interrupt,
-1747:Drivers/CMSIS/Include/core_cm3.h **** or negative to specify a processor exception.
-1748:Drivers/CMSIS/Include/core_cm3.h **** \param [in] IRQn Interrupt number.
-1749:Drivers/CMSIS/Include/core_cm3.h **** \return Address of interrupt handler function
-1750:Drivers/CMSIS/Include/core_cm3.h **** */
-1751:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE uint32_t __NVIC_GetVector(IRQn_Type IRQn)
-1752:Drivers/CMSIS/Include/core_cm3.h **** {
-1753:Drivers/CMSIS/Include/core_cm3.h **** uint32_t *vectors = (uint32_t *)SCB->VTOR;
-1754:Drivers/CMSIS/Include/core_cm3.h **** return vectors[(int32_t)IRQn + NVIC_USER_IRQ_OFFSET];
-1755:Drivers/CMSIS/Include/core_cm3.h **** }
-1756:Drivers/CMSIS/Include/core_cm3.h ****
-1757:Drivers/CMSIS/Include/core_cm3.h ****
-1758:Drivers/CMSIS/Include/core_cm3.h **** /**
-1759:Drivers/CMSIS/Include/core_cm3.h **** \brief System Reset
-1760:Drivers/CMSIS/Include/core_cm3.h **** \details Initiates a system reset request to reset the MCU.
-1761:Drivers/CMSIS/Include/core_cm3.h **** */
-1762:Drivers/CMSIS/Include/core_cm3.h **** __NO_RETURN __STATIC_INLINE void __NVIC_SystemReset(void)
-1763:Drivers/CMSIS/Include/core_cm3.h **** {
-1764:Drivers/CMSIS/Include/core_cm3.h **** __DSB(); /* Ensure all outstanding memor
-1765:Drivers/CMSIS/Include/core_cm3.h **** buffered write are completed
-1766:Drivers/CMSIS/Include/core_cm3.h **** SCB->AIRCR = (uint32_t)((0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
-ARM GAS /tmp/cc8EHLWE.s page 57
-
-
-1767:Drivers/CMSIS/Include/core_cm3.h **** (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) |
- 328 .loc 2 1767 0
- 329 0004 0549 ldr r1, .L22
- 330 0006 CA68 ldr r2, [r1, #12]
- 331 0008 02F4E062 and r2, r2, #1792
-1766:Drivers/CMSIS/Include/core_cm3.h **** (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) |
- 332 .loc 2 1766 0
- 333 000c 044B ldr r3, .L22+4
- 334 000e 1343 orrs r3, r3, r2
- 335 0010 CB60 str r3, [r1, #12]
- 336 .LBB76:
- 337 .LBB77:
- 338 .loc 3 879 0
- 339 .syntax unified
- 340 @ 879 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 341 0012 BFF34F8F dsb 0xF
- 342 @ 0 "" 2
- 343 .thumb
- 344 .syntax unified
- 345 .L21:
- 346 .LBE77:
- 347 .LBE76:
-1768:Drivers/CMSIS/Include/core_cm3.h **** SCB_AIRCR_SYSRESETREQ_Msk ); /* Keep priority group unchange
-1769:Drivers/CMSIS/Include/core_cm3.h **** __DSB(); /* Ensure completion of memory
-1770:Drivers/CMSIS/Include/core_cm3.h ****
-1771:Drivers/CMSIS/Include/core_cm3.h **** for(;;) /* wait until reset */
-1772:Drivers/CMSIS/Include/core_cm3.h **** {
-1773:Drivers/CMSIS/Include/core_cm3.h **** __NOP();
- 348 .loc 2 1773 0
- 349 .syntax unified
- 350 @ 1773 "Drivers/CMSIS/Include/core_cm3.h" 1
- 351 0016 00BF nop
- 352 @ 0 "" 2
- 353 .thumb
- 354 .syntax unified
- 355 0018 FDE7 b .L21
- 356 .L23:
- 357 001a 00BF .align 2
- 358 .L22:
- 359 001c 00ED00E0 .word -536810240
- 360 0020 0400FA05 .word 100270084
- 361 .LBE73:
- 362 .LBE72:
- 363 .cfi_endproc
- 364 .LFE69:
- 366 .section .text.HAL_SYSTICK_Config,"ax",%progbits
- 367 .align 1
- 368 .global HAL_SYSTICK_Config
- 369 .syntax unified
- 370 .thumb
- 371 .thumb_func
- 372 .fpu softvfp
- 374 HAL_SYSTICK_Config:
- 375 .LFB70:
- 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* System Reset */
- 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** NVIC_SystemReset();
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
-ARM GAS /tmp/cc8EHLWE.s page 58
-
-
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Initializes the System Timer and its interrupt, and starts the System Tick Timer.
- 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * Counter is in free running mode to generate periodic interrupts.
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param TicksNumb: Specifies the ticks Number of ticks between two interrupts.
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval status: - 0 Function succeeded.
- 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * - 1 Function failed.
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** uint32_t HAL_SYSTICK_Config(uint32_t TicksNumb)
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
- 376 .loc 1 230 0
- 377 .cfi_startproc
- 378 @ args = 0, pretend = 0, frame = 0
- 379 @ frame_needed = 0, uses_anonymous_args = 0
- 380 @ link register save eliminated.
- 381 .LVL30:
- 382 .LBB78:
- 383 .LBB79:
-1774:Drivers/CMSIS/Include/core_cm3.h **** }
-1775:Drivers/CMSIS/Include/core_cm3.h **** }
-1776:Drivers/CMSIS/Include/core_cm3.h ****
-1777:Drivers/CMSIS/Include/core_cm3.h **** /*@} end of CMSIS_Core_NVICFunctions */
-1778:Drivers/CMSIS/Include/core_cm3.h ****
-1779:Drivers/CMSIS/Include/core_cm3.h **** /* ########################## MPU functions #################################### */
-1780:Drivers/CMSIS/Include/core_cm3.h ****
-1781:Drivers/CMSIS/Include/core_cm3.h **** #if defined (__MPU_PRESENT) && (__MPU_PRESENT == 1U)
-1782:Drivers/CMSIS/Include/core_cm3.h ****
-1783:Drivers/CMSIS/Include/core_cm3.h **** #include "mpu_armv7.h"
-1784:Drivers/CMSIS/Include/core_cm3.h ****
-1785:Drivers/CMSIS/Include/core_cm3.h **** #endif
-1786:Drivers/CMSIS/Include/core_cm3.h ****
-1787:Drivers/CMSIS/Include/core_cm3.h **** /* ########################## FPU functions #################################### */
-1788:Drivers/CMSIS/Include/core_cm3.h **** /**
-1789:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_Core_FunctionInterface
-1790:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_Core_FpuFunctions FPU Functions
-1791:Drivers/CMSIS/Include/core_cm3.h **** \brief Function that provides FPU type.
-1792:Drivers/CMSIS/Include/core_cm3.h **** @{
-1793:Drivers/CMSIS/Include/core_cm3.h **** */
-1794:Drivers/CMSIS/Include/core_cm3.h ****
-1795:Drivers/CMSIS/Include/core_cm3.h **** /**
-1796:Drivers/CMSIS/Include/core_cm3.h **** \brief get FPU type
-1797:Drivers/CMSIS/Include/core_cm3.h **** \details returns the FPU type
-1798:Drivers/CMSIS/Include/core_cm3.h **** \returns
-1799:Drivers/CMSIS/Include/core_cm3.h **** - \b 0: No FPU
-1800:Drivers/CMSIS/Include/core_cm3.h **** - \b 1: Single precision FPU
-1801:Drivers/CMSIS/Include/core_cm3.h **** - \b 2: Double + Single precision FPU
-1802:Drivers/CMSIS/Include/core_cm3.h **** */
-1803:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE uint32_t SCB_GetFPUType(void)
-1804:Drivers/CMSIS/Include/core_cm3.h **** {
-1805:Drivers/CMSIS/Include/core_cm3.h **** return 0U; /* No FPU */
-1806:Drivers/CMSIS/Include/core_cm3.h **** }
-1807:Drivers/CMSIS/Include/core_cm3.h ****
-1808:Drivers/CMSIS/Include/core_cm3.h ****
-1809:Drivers/CMSIS/Include/core_cm3.h **** /*@} end of CMSIS_Core_FpuFunctions */
-1810:Drivers/CMSIS/Include/core_cm3.h ****
-1811:Drivers/CMSIS/Include/core_cm3.h ****
-1812:Drivers/CMSIS/Include/core_cm3.h ****
-ARM GAS /tmp/cc8EHLWE.s page 59
-
-
-1813:Drivers/CMSIS/Include/core_cm3.h **** /* ################################## SysTick function ########################################
-1814:Drivers/CMSIS/Include/core_cm3.h **** /**
-1815:Drivers/CMSIS/Include/core_cm3.h **** \ingroup CMSIS_Core_FunctionInterface
-1816:Drivers/CMSIS/Include/core_cm3.h **** \defgroup CMSIS_Core_SysTickFunctions SysTick Functions
-1817:Drivers/CMSIS/Include/core_cm3.h **** \brief Functions that configure the System.
-1818:Drivers/CMSIS/Include/core_cm3.h **** @{
-1819:Drivers/CMSIS/Include/core_cm3.h **** */
-1820:Drivers/CMSIS/Include/core_cm3.h ****
-1821:Drivers/CMSIS/Include/core_cm3.h **** #if defined (__Vendor_SysTickConfig) && (__Vendor_SysTickConfig == 0U)
-1822:Drivers/CMSIS/Include/core_cm3.h ****
-1823:Drivers/CMSIS/Include/core_cm3.h **** /**
-1824:Drivers/CMSIS/Include/core_cm3.h **** \brief System Tick Configuration
-1825:Drivers/CMSIS/Include/core_cm3.h **** \details Initializes the System Timer and its interrupt, and starts the System Tick Timer.
-1826:Drivers/CMSIS/Include/core_cm3.h **** Counter is in free running mode to generate periodic interrupts.
-1827:Drivers/CMSIS/Include/core_cm3.h **** \param [in] ticks Number of ticks between two interrupts.
-1828:Drivers/CMSIS/Include/core_cm3.h **** \return 0 Function succeeded.
-1829:Drivers/CMSIS/Include/core_cm3.h **** \return 1 Function failed.
-1830:Drivers/CMSIS/Include/core_cm3.h **** \note When the variable __Vendor_SysTickConfig is set to 1, then the
-1831:Drivers/CMSIS/Include/core_cm3.h **** function SysTick_Config is not included. In this case, the file device.
-1832:Drivers/CMSIS/Include/core_cm3.h **** must contain a vendor-specific implementation of this function.
-1833:Drivers/CMSIS/Include/core_cm3.h **** */
-1834:Drivers/CMSIS/Include/core_cm3.h **** __STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks)
-1835:Drivers/CMSIS/Include/core_cm3.h **** {
-1836:Drivers/CMSIS/Include/core_cm3.h **** if ((ticks - 1UL) > SysTick_LOAD_RELOAD_Msk)
- 384 .loc 2 1836 0
- 385 0000 0138 subs r0, r0, #1
- 386 .LVL31:
- 387 0002 B0F1807F cmp r0, #16777216
- 388 0006 0AD2 bcs .L26
-1837:Drivers/CMSIS/Include/core_cm3.h **** {
-1838:Drivers/CMSIS/Include/core_cm3.h **** return (1UL); /* Reload value impossible */
-1839:Drivers/CMSIS/Include/core_cm3.h **** }
-1840:Drivers/CMSIS/Include/core_cm3.h ****
-1841:Drivers/CMSIS/Include/core_cm3.h **** SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */
- 389 .loc 2 1841 0
- 390 0008 064B ldr r3, .L27
- 391 000a 5860 str r0, [r3, #4]
- 392 .LVL32:
- 393 .LBB80:
- 394 .LBB81:
-1647:Drivers/CMSIS/Include/core_cm3.h **** }
- 395 .loc 2 1647 0
- 396 000c F021 movs r1, #240
- 397 000e 064A ldr r2, .L27+4
- 398 0010 82F82310 strb r1, [r2, #35]
- 399 .LVL33:
- 400 .LBE81:
- 401 .LBE80:
-1842:Drivers/CMSIS/Include/core_cm3.h **** NVIC_SetPriority (SysTick_IRQn, (1UL << __NVIC_PRIO_BITS) - 1UL); /* set Priority for Systick Int
-1843:Drivers/CMSIS/Include/core_cm3.h **** SysTick->VAL = 0UL; /* Load the SysTick Counter Val
- 402 .loc 2 1843 0
- 403 0014 0020 movs r0, #0
- 404 .LVL34:
- 405 0016 9860 str r0, [r3, #8]
-1844:Drivers/CMSIS/Include/core_cm3.h **** SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk |
- 406 .loc 2 1844 0
- 407 0018 0722 movs r2, #7
-ARM GAS /tmp/cc8EHLWE.s page 60
-
-
- 408 001a 1A60 str r2, [r3]
- 409 001c 7047 bx lr
- 410 .L26:
-1838:Drivers/CMSIS/Include/core_cm3.h **** }
- 411 .loc 2 1838 0
- 412 001e 0120 movs r0, #1
- 413 .LVL35:
- 414 .LBE79:
- 415 .LBE78:
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** return SysTick_Config(TicksNumb);
- 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
- 416 .loc 1 232 0
- 417 0020 7047 bx lr
- 418 .L28:
- 419 0022 00BF .align 2
- 420 .L27:
- 421 0024 10E000E0 .word -536813552
- 422 0028 00ED00E0 .word -536810240
- 423 .cfi_endproc
- 424 .LFE70:
- 426 .section .text.HAL_NVIC_GetPriorityGrouping,"ax",%progbits
- 427 .align 1
- 428 .global HAL_NVIC_GetPriorityGrouping
- 429 .syntax unified
- 430 .thumb
- 431 .thumb_func
- 432 .fpu softvfp
- 434 HAL_NVIC_GetPriorityGrouping:
- 435 .LFB71:
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @}
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /** @defgroup CORTEX_Exported_Functions_Group2 Peripheral Control functions
- 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Cortex control functions
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** *
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** @verbatim
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ==============================================================================
- 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ##### Peripheral Control functions #####
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ==============================================================================
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** [..]
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** This subsection provides a set of functions allowing to control the CORTEX
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** (NVIC, SYSTICK, MPU) functionalities.
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** @endverbatim
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @{
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** #if (__MPU_PRESENT == 1U)
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Disables the MPU
- 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_MPU_Disable(void)
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
- 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Make sure outstanding transfers are done */
-ARM GAS /tmp/cc8EHLWE.s page 61
-
-
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** __DMB();
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Disable fault exceptions */
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** SCB->SHCSR &= ~SCB_SHCSR_MEMFAULTENA_Msk;
- 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Disable the MPU and clear the control register*/
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** MPU->CTRL = 0U;
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Enable the MPU.
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param MPU_Control: Specifies the control mode of the MPU during hard fault,
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * NMI, FAULTMASK and privileged access to the default memory
- 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be one of the following values:
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg MPU_HFNMI_PRIVDEF_NONE
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg MPU_HARDFAULT_NMI
- 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg MPU_PRIVILEGED_DEFAULT
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg MPU_HFNMI_PRIVDEF
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_MPU_Enable(uint32_t MPU_Control)
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Enable the MPU */
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** MPU->CTRL = MPU_Control | MPU_CTRL_ENABLE_Msk;
- 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Enable fault exceptions */
- 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** SCB->SHCSR |= SCB_SHCSR_MEMFAULTENA_Msk;
- 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Ensure MPU setting take effects */
- 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** __DSB();
- 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** __ISB();
- 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
- 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
- 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Initializes and configures the Region and the memory to be protected.
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param MPU_Init: Pointer to a MPU_Region_InitTypeDef structure that contains
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * the initialization and configuration information.
- 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_MPU_ConfigRegion(MPU_Region_InitTypeDef *MPU_Init)
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
- 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Check the parameters */
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_MPU_REGION_NUMBER(MPU_Init->Number));
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_MPU_REGION_ENABLE(MPU_Init->Enable));
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Set the Region number */
- 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** MPU->RNR = MPU_Init->Number;
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** if ((MPU_Init->Enable) != RESET)
- 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Check the parameters */
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_MPU_INSTRUCTION_ACCESS(MPU_Init->DisableExec));
- 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_MPU_REGION_PERMISSION_ATTRIBUTE(MPU_Init->AccessPermission));
- 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_MPU_TEX_LEVEL(MPU_Init->TypeExtField));
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_MPU_ACCESS_SHAREABLE(MPU_Init->IsShareable));
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_MPU_ACCESS_CACHEABLE(MPU_Init->IsCacheable));
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_MPU_ACCESS_BUFFERABLE(MPU_Init->IsBufferable));
-ARM GAS /tmp/cc8EHLWE.s page 62
-
-
- 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_MPU_SUB_REGION_DISABLE(MPU_Init->SubRegionDisable));
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_MPU_REGION_SIZE(MPU_Init->Size));
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** MPU->RBAR = MPU_Init->BaseAddress;
- 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** MPU->RASR = ((uint32_t)MPU_Init->DisableExec << MPU_RASR_XN_Pos) |
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ((uint32_t)MPU_Init->AccessPermission << MPU_RASR_AP_Pos) |
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ((uint32_t)MPU_Init->TypeExtField << MPU_RASR_TEX_Pos) |
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsShareable << MPU_RASR_S_Pos) |
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsCacheable << MPU_RASR_C_Pos) |
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ((uint32_t)MPU_Init->IsBufferable << MPU_RASR_B_Pos) |
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ((uint32_t)MPU_Init->SubRegionDisable << MPU_RASR_SRD_Pos) |
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ((uint32_t)MPU_Init->Size << MPU_RASR_SIZE_Pos) |
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** ((uint32_t)MPU_Init->Enable << MPU_RASR_ENABLE_Pos);
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** else
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
- 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** MPU->RBAR = 0x00U;
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** MPU->RASR = 0x00U;
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
- 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** #endif /* __MPU_PRESENT */
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Gets the priority grouping field from the NVIC Interrupt Controller.
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval Priority grouping field (SCB->AIRCR [10:8] PRIGROUP field)
- 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** uint32_t HAL_NVIC_GetPriorityGrouping(void)
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
- 436 .loc 1 345 0
- 437 .cfi_startproc
- 438 @ args = 0, pretend = 0, frame = 0
- 439 @ frame_needed = 0, uses_anonymous_args = 0
- 440 @ link register save eliminated.
- 441 .LBB82:
- 442 .LBB83:
-1501:Drivers/CMSIS/Include/core_cm3.h **** }
- 443 .loc 2 1501 0
- 444 0000 024B ldr r3, .L30
- 445 0002 D868 ldr r0, [r3, #12]
- 446 .LBE83:
- 447 .LBE82:
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Get the PRIGROUP[10:8] field value */
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** return NVIC_GetPriorityGrouping();
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
- 448 .loc 1 348 0
- 449 0004 C0F30220 ubfx r0, r0, #8, #3
- 450 0008 7047 bx lr
- 451 .L31:
- 452 000a 00BF .align 2
- 453 .L30:
- 454 000c 00ED00E0 .word -536810240
- 455 .cfi_endproc
- 456 .LFE71:
- 458 .section .text.HAL_NVIC_GetPriority,"ax",%progbits
- 459 .align 1
- 460 .global HAL_NVIC_GetPriority
- 461 .syntax unified
-ARM GAS /tmp/cc8EHLWE.s page 63
-
-
- 462 .thumb
- 463 .thumb_func
- 464 .fpu softvfp
- 466 HAL_NVIC_GetPriority:
- 467 .LFB72:
- 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Gets the priority of an interrupt.
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param IRQn: External interrupt number.
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
- 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param PriorityGroup: the priority grouping bits length.
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be one of the following values:
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_0: 0 bits for preemption priority
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * 4 bits for subpriority
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_1: 1 bits for preemption priority
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * 3 bits for subpriority
- 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_2: 2 bits for preemption priority
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * 2 bits for subpriority
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_3: 3 bits for preemption priority
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * 1 bits for subpriority
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg NVIC_PRIORITYGROUP_4: 4 bits for preemption priority
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * 0 bits for subpriority
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param pPreemptPriority: Pointer on the Preemptive priority value (starting from 0).
- 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param pSubPriority: Pointer on the Subpriority value (starting from 0).
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_NVIC_GetPriority(IRQn_Type IRQn, uint32_t PriorityGroup, uint32_t *pPreemptPriority, uint3
- 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
- 468 .loc 1 372 0
- 469 .cfi_startproc
- 470 @ args = 0, pretend = 0, frame = 0
- 471 @ frame_needed = 0, uses_anonymous_args = 0
- 472 @ link register save eliminated.
- 473 .LVL36:
- 474 0000 70B4 push {r4, r5, r6}
- 475 .LCFI3:
- 476 .cfi_def_cfa_offset 12
- 477 .cfi_offset 4, -12
- 478 .cfi_offset 5, -8
- 479 .cfi_offset 6, -4
- 480 .LVL37:
- 481 .LBB84:
- 482 .LBB85:
-1664:Drivers/CMSIS/Include/core_cm3.h **** {
- 483 .loc 2 1664 0
- 484 0002 0028 cmp r0, #0
- 485 .LVL38:
- 486 0004 1FDB blt .L33
-1666:Drivers/CMSIS/Include/core_cm3.h **** }
- 487 .loc 2 1666 0
- 488 0006 00F16040 add r0, r0, #-536870912
- 489 000a 00F56140 add r0, r0, #57600
- 490 000e 90F80003 ldrb r0, [r0, #768] @ zero_extendqisi2
- 491 0012 0509 lsrs r5, r0, #4
- 492 .L34:
- 493 .LVL39:
-ARM GAS /tmp/cc8EHLWE.s page 64
-
-
- 494 .LBE85:
- 495 .LBE84:
- 496 .LBB87:
- 497 .LBB88:
-1715:Drivers/CMSIS/Include/core_cm3.h **** uint32_t PreemptPriorityBits;
- 498 .loc 2 1715 0
- 499 0014 01F00701 and r1, r1, #7
- 500 .LVL40:
-1719:Drivers/CMSIS/Include/core_cm3.h **** SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint
- 501 .loc 2 1719 0
- 502 0018 C1F10704 rsb r4, r1, #7
- 503 001c 042C cmp r4, #4
- 504 001e 28BF it cs
- 505 0020 0424 movcs r4, #4
- 506 .LVL41:
-1720:Drivers/CMSIS/Include/core_cm3.h ****
- 507 .loc 2 1720 0
- 508 0022 081D adds r0, r1, #4
- 509 0024 0628 cmp r0, #6
- 510 0026 14D9 bls .L36
- 511 0028 0339 subs r1, r1, #3
- 512 .LVL42:
- 513 .L35:
-1722:Drivers/CMSIS/Include/core_cm3.h **** *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1
- 514 .loc 2 1722 0
- 515 002a 25FA01F6 lsr r6, r5, r1
- 516 002e 0120 movs r0, #1
- 517 .LVL43:
- 518 0030 00FA04F4 lsl r4, r0, r4
- 519 .LVL44:
- 520 0034 013C subs r4, r4, #1
- 521 0036 3440 ands r4, r4, r6
- 522 0038 1460 str r4, [r2]
-1723:Drivers/CMSIS/Include/core_cm3.h **** }
- 523 .loc 2 1723 0
- 524 003a 8840 lsls r0, r0, r1
- 525 003c 0138 subs r0, r0, #1
- 526 003e 2840 ands r0, r0, r5
- 527 0040 1860 str r0, [r3]
- 528 .LVL45:
- 529 .LBE88:
- 530 .LBE87:
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Check the parameters */
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup));
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Get priority for Cortex-M system or device specific interrupts */
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** NVIC_DecodePriority(NVIC_GetPriority(IRQn), PriorityGroup, pPreemptPriority, pSubPriority);
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
- 531 .loc 1 377 0
- 532 0042 70BC pop {r4, r5, r6}
- 533 .LCFI4:
- 534 .cfi_remember_state
- 535 .cfi_restore 6
- 536 .cfi_restore 5
- 537 .cfi_restore 4
- 538 .cfi_def_cfa_offset 0
- 539 0044 7047 bx lr
- 540 .LVL46:
-ARM GAS /tmp/cc8EHLWE.s page 65
-
-
- 541 .L33:
- 542 .LCFI5:
- 543 .cfi_restore_state
- 544 .LBB90:
- 545 .LBB86:
-1670:Drivers/CMSIS/Include/core_cm3.h **** }
- 546 .loc 2 1670 0
- 547 0046 00F00F00 and r0, r0, #15
- 548 004a 034C ldr r4, .L38
- 549 004c 205C ldrb r0, [r4, r0] @ zero_extendqisi2
- 550 004e 0509 lsrs r5, r0, #4
- 551 0050 E0E7 b .L34
- 552 .LVL47:
- 553 .L36:
- 554 .LBE86:
- 555 .LBE90:
- 556 .LBB91:
- 557 .LBB89:
-1720:Drivers/CMSIS/Include/core_cm3.h ****
- 558 .loc 2 1720 0
- 559 0052 0021 movs r1, #0
- 560 .LVL48:
- 561 0054 E9E7 b .L35
- 562 .L39:
- 563 0056 00BF .align 2
- 564 .L38:
- 565 0058 14ED00E0 .word -536810220
- 566 .LBE89:
- 567 .LBE91:
- 568 .cfi_endproc
- 569 .LFE72:
- 571 .section .text.HAL_NVIC_SetPendingIRQ,"ax",%progbits
- 572 .align 1
- 573 .global HAL_NVIC_SetPendingIRQ
- 574 .syntax unified
- 575 .thumb
- 576 .thumb_func
- 577 .fpu softvfp
- 579 HAL_NVIC_SetPendingIRQ:
- 580 .LFB73:
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Sets Pending bit of an external interrupt.
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param IRQn External interrupt number
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_NVIC_SetPendingIRQ(IRQn_Type IRQn)
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
- 581 .loc 1 387 0
- 582 .cfi_startproc
- 583 @ args = 0, pretend = 0, frame = 0
- 584 @ frame_needed = 0, uses_anonymous_args = 0
- 585 @ link register save eliminated.
- 586 .LVL49:
- 587 .LBB92:
-ARM GAS /tmp/cc8EHLWE.s page 66
-
-
- 588 .LBB93:
-1587:Drivers/CMSIS/Include/core_cm3.h **** {
- 589 .loc 2 1587 0
- 590 0000 0028 cmp r0, #0
- 591 .LVL50:
- 592 0002 09DB blt .L40
-1589:Drivers/CMSIS/Include/core_cm3.h **** }
- 593 .loc 2 1589 0
- 594 0004 4309 lsrs r3, r0, #5
- 595 0006 00F01F00 and r0, r0, #31
- 596 000a 0122 movs r2, #1
- 597 000c 02FA00F0 lsl r0, r2, r0
- 598 0010 4033 adds r3, r3, #64
- 599 0012 024A ldr r2, .L42
- 600 0014 42F82300 str r0, [r2, r3, lsl #2]
- 601 .LVL51:
- 602 .L40:
- 603 0018 7047 bx lr
- 604 .L43:
- 605 001a 00BF .align 2
- 606 .L42:
- 607 001c 00E100E0 .word -536813312
- 608 .LBE93:
- 609 .LBE92:
- 610 .cfi_endproc
- 611 .LFE73:
- 613 .section .text.HAL_NVIC_GetPendingIRQ,"ax",%progbits
- 614 .align 1
- 615 .global HAL_NVIC_GetPendingIRQ
- 616 .syntax unified
- 617 .thumb
- 618 .thumb_func
- 619 .fpu softvfp
- 621 HAL_NVIC_GetPendingIRQ:
- 622 .LFB74:
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Check the parameters */
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Set interrupt pending */
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** NVIC_SetPendingIRQ(IRQn);
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Gets Pending Interrupt (reads the pending register in the NVIC
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * and returns the pending bit for the specified interrupt).
- 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param IRQn External interrupt number.
- 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval status: - 0 Interrupt status is not pending.
- 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * - 1 Interrupt status is pending.
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** uint32_t HAL_NVIC_GetPendingIRQ(IRQn_Type IRQn)
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
- 623 .loc 1 405 0
- 624 .cfi_startproc
- 625 @ args = 0, pretend = 0, frame = 0
- 626 @ frame_needed = 0, uses_anonymous_args = 0
-ARM GAS /tmp/cc8EHLWE.s page 67
-
-
- 627 @ link register save eliminated.
- 628 .LVL52:
- 629 .LBB94:
- 630 .LBB95:
-1568:Drivers/CMSIS/Include/core_cm3.h **** {
- 631 .loc 2 1568 0
- 632 0000 031E subs r3, r0, #0
- 633 0002 0ADB blt .L46
-1570:Drivers/CMSIS/Include/core_cm3.h **** }
- 634 .loc 2 1570 0
- 635 0004 5A09 lsrs r2, r3, #5
- 636 0006 4032 adds r2, r2, #64
- 637 0008 0549 ldr r1, .L47
- 638 000a 51F82200 ldr r0, [r1, r2, lsl #2]
- 639 .LVL53:
- 640 000e 03F01F03 and r3, r3, #31
- 641 0012 D840 lsrs r0, r0, r3
- 642 0014 00F00100 and r0, r0, #1
- 643 0018 7047 bx lr
- 644 .LVL54:
- 645 .L46:
-1574:Drivers/CMSIS/Include/core_cm3.h **** }
- 646 .loc 2 1574 0
- 647 001a 0020 movs r0, #0
- 648 .LVL55:
- 649 .LBE95:
- 650 .LBE94:
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Check the parameters */
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Return 1 if pending else 0 */
- 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** return NVIC_GetPendingIRQ(IRQn);
- 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
- 651 .loc 1 411 0
- 652 001c 7047 bx lr
- 653 .L48:
- 654 001e 00BF .align 2
- 655 .L47:
- 656 0020 00E100E0 .word -536813312
- 657 .cfi_endproc
- 658 .LFE74:
- 660 .section .text.HAL_NVIC_ClearPendingIRQ,"ax",%progbits
- 661 .align 1
- 662 .global HAL_NVIC_ClearPendingIRQ
- 663 .syntax unified
- 664 .thumb
- 665 .thumb_func
- 666 .fpu softvfp
- 668 HAL_NVIC_ClearPendingIRQ:
- 669 .LFB75:
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Clears the pending bit of an external interrupt.
- 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param IRQn External interrupt number.
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
- 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
-ARM GAS /tmp/cc8EHLWE.s page 68
-
-
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_NVIC_ClearPendingIRQ(IRQn_Type IRQn)
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
- 670 .loc 1 421 0
- 671 .cfi_startproc
- 672 @ args = 0, pretend = 0, frame = 0
- 673 @ frame_needed = 0, uses_anonymous_args = 0
- 674 @ link register save eliminated.
- 675 .LVL56:
- 676 .LBB96:
- 677 .LBB97:
-1602:Drivers/CMSIS/Include/core_cm3.h **** {
- 678 .loc 2 1602 0
- 679 0000 0028 cmp r0, #0
- 680 .LVL57:
- 681 0002 09DB blt .L49
-1604:Drivers/CMSIS/Include/core_cm3.h **** }
- 682 .loc 2 1604 0
- 683 0004 4309 lsrs r3, r0, #5
- 684 0006 00F01F00 and r0, r0, #31
- 685 000a 0122 movs r2, #1
- 686 000c 02FA00F0 lsl r0, r2, r0
- 687 0010 6033 adds r3, r3, #96
- 688 0012 024A ldr r2, .L51
- 689 0014 42F82300 str r0, [r2, r3, lsl #2]
- 690 .LVL58:
- 691 .L49:
- 692 0018 7047 bx lr
- 693 .L52:
- 694 001a 00BF .align 2
- 695 .L51:
- 696 001c 00E100E0 .word -536813312
- 697 .LBE97:
- 698 .LBE96:
- 699 .cfi_endproc
- 700 .LFE75:
- 702 .section .text.HAL_NVIC_GetActive,"ax",%progbits
- 703 .align 1
- 704 .global HAL_NVIC_GetActive
- 705 .syntax unified
- 706 .thumb
- 707 .thumb_func
- 708 .fpu softvfp
- 710 HAL_NVIC_GetActive:
- 711 .LFB76:
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Check the parameters */
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
- 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Clear pending interrupt */
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** NVIC_ClearPendingIRQ(IRQn);
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
- 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Gets active interrupt ( reads the active register in NVIC and returns the active bit).
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param IRQn External interrupt number
- 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be an enumerator of IRQn_Type enumeration
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSI
-ARM GAS /tmp/cc8EHLWE.s page 69
-
-
- 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval status: - 0 Interrupt status is not pending.
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * - 1 Interrupt status is pending.
- 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** uint32_t HAL_NVIC_GetActive(IRQn_Type IRQn)
- 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
- 712 .loc 1 438 0
- 713 .cfi_startproc
- 714 @ args = 0, pretend = 0, frame = 0
- 715 @ frame_needed = 0, uses_anonymous_args = 0
- 716 @ link register save eliminated.
- 717 .LVL59:
- 718 .LBB98:
- 719 .LBB99:
-1619:Drivers/CMSIS/Include/core_cm3.h **** {
- 720 .loc 2 1619 0
- 721 0000 031E subs r3, r0, #0
- 722 0002 0ADB blt .L55
-1621:Drivers/CMSIS/Include/core_cm3.h **** }
- 723 .loc 2 1621 0
- 724 0004 5A09 lsrs r2, r3, #5
- 725 0006 8032 adds r2, r2, #128
- 726 0008 0549 ldr r1, .L56
- 727 000a 51F82200 ldr r0, [r1, r2, lsl #2]
- 728 .LVL60:
- 729 000e 03F01F03 and r3, r3, #31
- 730 0012 D840 lsrs r0, r0, r3
- 731 0014 00F00100 and r0, r0, #1
- 732 0018 7047 bx lr
- 733 .LVL61:
- 734 .L55:
-1625:Drivers/CMSIS/Include/core_cm3.h **** }
- 735 .loc 2 1625 0
- 736 001a 0020 movs r0, #0
- 737 .LVL62:
- 738 .LBE99:
- 739 .LBE98:
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Check the parameters */
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
- 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Return 1 if active else 0 */
- 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** return NVIC_GetActive(IRQn);
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
- 740 .loc 1 444 0
- 741 001c 7047 bx lr
- 742 .L57:
- 743 001e 00BF .align 2
- 744 .L56:
- 745 0020 00E100E0 .word -536813312
- 746 .cfi_endproc
- 747 .LFE76:
- 749 .section .text.HAL_SYSTICK_CLKSourceConfig,"ax",%progbits
- 750 .align 1
- 751 .global HAL_SYSTICK_CLKSourceConfig
- 752 .syntax unified
- 753 .thumb
- 754 .thumb_func
- 755 .fpu softvfp
-ARM GAS /tmp/cc8EHLWE.s page 70
-
-
- 757 HAL_SYSTICK_CLKSourceConfig:
- 758 .LFB77:
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief Configures the SysTick clock source.
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @param CLKSource: specifies the SysTick clock source.
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * This parameter can be one of the following values:
- 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg SYSTICK_CLKSOURCE_HCLK_DIV8: AHB clock divided by 8 selected as SysTick clock
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @arg SYSTICK_CLKSOURCE_HCLK: AHB clock selected as SysTick clock source.
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
- 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_SYSTICK_CLKSourceConfig(uint32_t CLKSource)
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
- 759 .loc 1 455 0
- 760 .cfi_startproc
- 761 @ args = 0, pretend = 0, frame = 0
- 762 @ frame_needed = 0, uses_anonymous_args = 0
- 763 @ link register save eliminated.
- 764 .LVL63:
- 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /* Check the parameters */
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** assert_param(IS_SYSTICK_CLK_SOURCE(CLKSource));
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** if (CLKSource == SYSTICK_CLKSOURCE_HCLK)
- 765 .loc 1 458 0
- 766 0000 0428 cmp r0, #4
- 767 0002 05D0 beq .L61
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** SysTick->CTRL |= SYSTICK_CLKSOURCE_HCLK;
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
- 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** else
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** SysTick->CTRL &= ~SYSTICK_CLKSOURCE_HCLK;
- 768 .loc 1 464 0
- 769 0004 054A ldr r2, .L62
- 770 0006 1368 ldr r3, [r2]
- 771 0008 23F00403 bic r3, r3, #4
- 772 000c 1360 str r3, [r2]
- 773 000e 7047 bx lr
- 774 .L61:
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
- 775 .loc 1 460 0
- 776 0010 024A ldr r2, .L62
- 777 0012 1368 ldr r3, [r2]
- 778 0014 43F00403 orr r3, r3, #4
- 779 0018 1360 str r3, [r2]
- 780 001a 7047 bx lr
- 781 .L63:
- 782 .align 2
- 783 .L62:
- 784 001c 10E000E0 .word -536813552
- 785 .cfi_endproc
- 786 .LFE77:
- 788 .section .text.HAL_SYSTICK_Callback,"ax",%progbits
- 789 .align 1
- 790 .weak HAL_SYSTICK_Callback
- 791 .syntax unified
- 792 .thumb
- 793 .thumb_func
-ARM GAS /tmp/cc8EHLWE.s page 71
-
-
- 794 .fpu softvfp
- 796 HAL_SYSTICK_Callback:
- 797 .LFB79:
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
- 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
- 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief This function handles SYSTICK interrupt request.
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
- 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** void HAL_SYSTICK_IRQHandler(void)
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** HAL_SYSTICK_Callback();
- 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c ****
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** /**
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @brief SYSTICK callback.
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** * @retval None
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** */
- 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** __weak void HAL_SYSTICK_Callback(void)
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** {
- 798 .loc 1 482 0
- 799 .cfi_startproc
- 800 @ args = 0, pretend = 0, frame = 0
- 801 @ frame_needed = 0, uses_anonymous_args = 0
- 802 @ link register save eliminated.
- 803 0000 7047 bx lr
- 804 .cfi_endproc
- 805 .LFE79:
- 807 .section .text.HAL_SYSTICK_IRQHandler,"ax",%progbits
- 808 .align 1
- 809 .global HAL_SYSTICK_IRQHandler
- 810 .syntax unified
- 811 .thumb
- 812 .thumb_func
- 813 .fpu softvfp
- 815 HAL_SYSTICK_IRQHandler:
- 816 .LFB78:
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** HAL_SYSTICK_Callback();
- 817 .loc 1 473 0
- 818 .cfi_startproc
- 819 @ args = 0, pretend = 0, frame = 0
- 820 @ frame_needed = 0, uses_anonymous_args = 0
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** HAL_SYSTICK_Callback();
- 821 .loc 1 473 0
- 822 0000 08B5 push {r3, lr}
- 823 .LCFI6:
- 824 .cfi_def_cfa_offset 8
- 825 .cfi_offset 3, -8
- 826 .cfi_offset 14, -4
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_cortex.c **** }
- 827 .loc 1 474 0
- 828 0002 FFF7FEFF bl HAL_SYSTICK_Callback
- 829 .LVL64:
- 830 0006 08BD pop {r3, pc}
- 831 .cfi_endproc
- 832 .LFE78:
-ARM GAS /tmp/cc8EHLWE.s page 72
-
-
- 834 .text
- 835 .Letext0:
- 836 .file 4 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 837 .file 5 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 838 .file 6 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 839 .file 7 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 840 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
-ARM GAS /tmp/cc8EHLWE.s page 73
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_hal_cortex.c
- /tmp/cc8EHLWE.s:16 .text.HAL_NVIC_SetPriorityGrouping:0000000000000000 $t
- /tmp/cc8EHLWE.s:23 .text.HAL_NVIC_SetPriorityGrouping:0000000000000000 HAL_NVIC_SetPriorityGrouping
- /tmp/cc8EHLWE.s:62 .text.HAL_NVIC_SetPriorityGrouping:0000000000000020 $d
- /tmp/cc8EHLWE.s:69 .text.HAL_NVIC_SetPriority:0000000000000000 $t
- /tmp/cc8EHLWE.s:76 .text.HAL_NVIC_SetPriority:0000000000000000 HAL_NVIC_SetPriority
- /tmp/cc8EHLWE.s:188 .text.HAL_NVIC_SetPriority:000000000000005c $d
- /tmp/cc8EHLWE.s:194 .text.HAL_NVIC_EnableIRQ:0000000000000000 $t
- /tmp/cc8EHLWE.s:201 .text.HAL_NVIC_EnableIRQ:0000000000000000 HAL_NVIC_EnableIRQ
- /tmp/cc8EHLWE.s:228 .text.HAL_NVIC_EnableIRQ:0000000000000018 $d
- /tmp/cc8EHLWE.s:235 .text.HAL_NVIC_DisableIRQ:0000000000000000 $t
- /tmp/cc8EHLWE.s:242 .text.HAL_NVIC_DisableIRQ:0000000000000000 HAL_NVIC_DisableIRQ
- /tmp/cc8EHLWE.s:291 .text.HAL_NVIC_DisableIRQ:0000000000000024 $d
- /tmp/cc8EHLWE.s:300 .text.HAL_NVIC_SystemReset:0000000000000000 $t
- /tmp/cc8EHLWE.s:307 .text.HAL_NVIC_SystemReset:0000000000000000 HAL_NVIC_SystemReset
- /tmp/cc8EHLWE.s:359 .text.HAL_NVIC_SystemReset:000000000000001c $d
- /tmp/cc8EHLWE.s:367 .text.HAL_SYSTICK_Config:0000000000000000 $t
- /tmp/cc8EHLWE.s:374 .text.HAL_SYSTICK_Config:0000000000000000 HAL_SYSTICK_Config
- /tmp/cc8EHLWE.s:421 .text.HAL_SYSTICK_Config:0000000000000024 $d
- /tmp/cc8EHLWE.s:427 .text.HAL_NVIC_GetPriorityGrouping:0000000000000000 $t
- /tmp/cc8EHLWE.s:434 .text.HAL_NVIC_GetPriorityGrouping:0000000000000000 HAL_NVIC_GetPriorityGrouping
- /tmp/cc8EHLWE.s:454 .text.HAL_NVIC_GetPriorityGrouping:000000000000000c $d
- /tmp/cc8EHLWE.s:459 .text.HAL_NVIC_GetPriority:0000000000000000 $t
- /tmp/cc8EHLWE.s:466 .text.HAL_NVIC_GetPriority:0000000000000000 HAL_NVIC_GetPriority
- /tmp/cc8EHLWE.s:565 .text.HAL_NVIC_GetPriority:0000000000000058 $d
- /tmp/cc8EHLWE.s:572 .text.HAL_NVIC_SetPendingIRQ:0000000000000000 $t
- /tmp/cc8EHLWE.s:579 .text.HAL_NVIC_SetPendingIRQ:0000000000000000 HAL_NVIC_SetPendingIRQ
- /tmp/cc8EHLWE.s:607 .text.HAL_NVIC_SetPendingIRQ:000000000000001c $d
- /tmp/cc8EHLWE.s:614 .text.HAL_NVIC_GetPendingIRQ:0000000000000000 $t
- /tmp/cc8EHLWE.s:621 .text.HAL_NVIC_GetPendingIRQ:0000000000000000 HAL_NVIC_GetPendingIRQ
- /tmp/cc8EHLWE.s:656 .text.HAL_NVIC_GetPendingIRQ:0000000000000020 $d
- /tmp/cc8EHLWE.s:661 .text.HAL_NVIC_ClearPendingIRQ:0000000000000000 $t
- /tmp/cc8EHLWE.s:668 .text.HAL_NVIC_ClearPendingIRQ:0000000000000000 HAL_NVIC_ClearPendingIRQ
- /tmp/cc8EHLWE.s:696 .text.HAL_NVIC_ClearPendingIRQ:000000000000001c $d
- /tmp/cc8EHLWE.s:703 .text.HAL_NVIC_GetActive:0000000000000000 $t
- /tmp/cc8EHLWE.s:710 .text.HAL_NVIC_GetActive:0000000000000000 HAL_NVIC_GetActive
- /tmp/cc8EHLWE.s:745 .text.HAL_NVIC_GetActive:0000000000000020 $d
- /tmp/cc8EHLWE.s:750 .text.HAL_SYSTICK_CLKSourceConfig:0000000000000000 $t
- /tmp/cc8EHLWE.s:757 .text.HAL_SYSTICK_CLKSourceConfig:0000000000000000 HAL_SYSTICK_CLKSourceConfig
- /tmp/cc8EHLWE.s:784 .text.HAL_SYSTICK_CLKSourceConfig:000000000000001c $d
- /tmp/cc8EHLWE.s:789 .text.HAL_SYSTICK_Callback:0000000000000000 $t
- /tmp/cc8EHLWE.s:796 .text.HAL_SYSTICK_Callback:0000000000000000 HAL_SYSTICK_Callback
- /tmp/cc8EHLWE.s:808 .text.HAL_SYSTICK_IRQHandler:0000000000000000 $t
- /tmp/cc8EHLWE.s:815 .text.HAL_SYSTICK_IRQHandler:0000000000000000 HAL_SYSTICK_IRQHandler
- .debug_frame:0000000000000010 $d
-
-NO UNDEFINED SYMBOLS
diff --git a/build/stm32f1xx_hal_cortex.o b/build/stm32f1xx_hal_cortex.o
deleted file mode 100644
index 8f85ec5..0000000
Binary files a/build/stm32f1xx_hal_cortex.o and /dev/null differ
diff --git a/build/stm32f1xx_hal_dac.d b/build/stm32f1xx_hal_dac.d
deleted file mode 100644
index 43115d3..0000000
--- a/build/stm32f1xx_hal_dac.d
+++ /dev/null
@@ -1,93 +0,0 @@
-build/stm32f1xx_hal_dac.o: \
- Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/stm32f1xx_hal_dac.lst b/build/stm32f1xx_hal_dac.lst
deleted file mode 100644
index 35644ce..0000000
--- a/build/stm32f1xx_hal_dac.lst
+++ /dev/null
@@ -1,2639 +0,0 @@
-ARM GAS /tmp/ccOTyioh.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "stm32f1xx_hal_dac.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.HAL_DAC_MspInit,"ax",%progbits
- 16 .align 1
- 17 .weak HAL_DAC_MspInit
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 HAL_DAC_MspInit:
- 24 .LFB67:
- 25 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c"
- 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
- 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ******************************************************************************
- 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @file stm32f1xx_hal_dac.c
- 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @author MCD Application Team
- 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief DAC HAL module driver.
- 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * This file provides firmware functions to manage the following
- 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * functionalities of the Digital to Analog Converter (DAC) peripheral:
- 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * + Initialization and de-initialization functions
- 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * + IO operation functions
- 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * + Peripheral Control functions
- 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * + Peripheral State and Errors functions
- 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** *
- 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** *
- 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** @verbatim
- 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ==============================================================================
- 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ##### DAC Peripheral features #####
- 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ==============================================================================
- 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..]
- 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** *** DAC Channels ***
- 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ====================
- 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..]
- 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** STM32F1 devices integrate two 12-bit Digital Analog Converters
- 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** The 2 converters (i.e. channel1 & channel2)
- 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** can be used independently or simultaneously (dual mode):
- 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (#) DAC channel1 with DAC_OUT1 (PA4) as output or connected to on-chip
- 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** peripherals (ex. timers).
- 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (#) DAC channel2 with DAC_OUT2 (PA5) as output or connected to on-chip
- 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** peripherals (ex. timers).
- 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** *** DAC Triggers ***
- 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ====================
- 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..]
-ARM GAS /tmp/ccOTyioh.s page 2
-
-
- 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** Digital to Analog conversion can be non-triggered using DAC_TRIGGER_NONE
- 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** and DAC_OUT1/DAC_OUT2 is available once writing to DHRx register.
- 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..]
- 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** Digital to Analog conversion can be triggered by:
- 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (#) External event: EXTI Line 9 (any GPIOx_PIN_9) using DAC_TRIGGER_EXT_IT9.
- 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** The used pin (GPIOx_PIN_9) must be configured in input mode.
- 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (#) Timers TRGO: TIM2, TIM4, TIM6, TIM7
- 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** For STM32F10x connectivity line devices and STM32F100x devices: TIM3
- 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** For STM32F10x high-density and XL-density devices: TIM8
- 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** For STM32F100x high-density value line devices: TIM15 as
- 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** replacement of TIM5.
- 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (DAC_TRIGGER_T2_TRGO, DAC_TRIGGER_T4_TRGO...)
- 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (#) Software using DAC_TRIGGER_SOFTWARE
- 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** *** DAC Buffer mode feature ***
- 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ===============================
- 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..]
- 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** Each DAC channel integrates an output buffer that can be used to
- 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** reduce the output impedance, and to drive external loads directly
- 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** without having to add an external operational amplifier.
- 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** To enable, the output buffer use
- 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** sConfig.DAC_OutputBuffer = DAC_OUTPUTBUFFER_ENABLE;
- 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..]
- 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (@) Refer to the device datasheet for more details about output
- 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** impedance value with and without output buffer.
- 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** *** DAC connect feature ***
- 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ===============================
- 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..]
- 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** Each DAC channel can be connected internally.
- 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** To connect, use
- 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** sConfig.DAC_ConnectOnChipPeripheral = DAC_CHIPCONNECT_ENABLE;
- 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** *** GPIO configurations guidelines ***
- 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** =====================
- 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..]
- 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** When a DAC channel is used (ex channel1 on PA4) and the other is not
- 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (ex channel2 on PA5 is configured in Analog and disabled).
- 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** Channel1 may disturb channel2 as coupling effect.
- 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** Note that there is no coupling on channel2 as soon as channel2 is turned on.
- 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** Coupling on adjacent channel could be avoided as follows:
- 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** when unused PA5 is configured as INPUT PULL-UP or DOWN.
- 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** PA5 is configured in ANALOG just before it is turned on.
- 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** *** DAC wave generation feature ***
- 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ===================================
- 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..]
- 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** Both DAC channels can be used to generate
- 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (#) Noise wave
- 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (#) Triangle wave
- 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** *** DAC data format ***
- 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** =======================
- 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..]
- 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** The DAC data format can be:
-ARM GAS /tmp/ccOTyioh.s page 3
-
-
- 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (#) 8-bit right alignment using DAC_ALIGN_8B_R
- 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (#) 12-bit left alignment using DAC_ALIGN_12B_L
- 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (#) 12-bit right alignment using DAC_ALIGN_12B_R
- 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** *** DAC data value to voltage correspondence ***
- 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ================================================
- 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..]
- 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** The analog output voltage on each DAC channel pin is determined
- 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** by the following equation:
- 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..]
- 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** DAC_OUTx = VREF+ * DOR / 4095
- 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) with DOR is the Data Output Register
- 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..]
- 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** VEF+ is the input voltage reference (refer to the device datasheet)
- 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..]
- 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** e.g. To set DAC_OUT1 to 0.7V, use
- 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) Assuming that VREF+ = 3.3V, DAC_OUT1 = (3.3 * 868) / 4095 = 0.7V
- 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** *** DMA requests ***
- 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** =====================
- 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..]
- 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** A DMA request can be generated when an external trigger (but not a software trigger)
- 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** occurs if DMA1 requests are enabled using HAL_DAC_Start_DMA().
- 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** DMA1 requests are mapped as following:
- 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (#) DAC channel1 mapped on DMA1 channel3
- 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** for STM32F100x low-density, medium-density, high-density with DAC
- 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** DMA remap:
- 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (#) DAC channel2 mapped on DMA2 channel3
- 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** for STM32F100x high-density without DAC DMA remap and other
- 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** STM32F1 devices
- 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..]
- 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (@) For Dual mode and specific signal (Triangle and noise) generation please
- 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** refer to Extended Features Driver description
- 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ##### How to use this driver #####
- 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ==============================================================================
- 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..]
- 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) DAC APB clock must be enabled to get write access to DAC
- 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** registers using HAL_DAC_Init()
- 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) Configure DAC_OUTx (DAC_OUT1: PA4, DAC_OUT2: PA5) in analog mode.
- 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) Configure the DAC channel using HAL_DAC_ConfigChannel() function.
- 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) Enable the DAC channel using HAL_DAC_Start() or HAL_DAC_Start_DMA() functions.
- 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** *** Polling mode IO operation ***
- 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** =================================
- 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..]
- 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) Start the DAC peripheral using HAL_DAC_Start()
- 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) To read the DAC last data output value, use the HAL_DAC_GetValue() function.
- 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) Stop the DAC peripheral using HAL_DAC_Stop()
- 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** *** DMA mode IO operation ***
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ==============================
- 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..]
- 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) Start the DAC peripheral using HAL_DAC_Start_DMA(), at this stage the user specify the l
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** of data to be transferred at each end of conversion
-ARM GAS /tmp/ccOTyioh.s page 4
-
-
- 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** First issued trigger will start the conversion of the value previously set by HAL_DAC_Se
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) At the middle of data transfer HAL_DAC_ConvHalfCpltCallbackCh1() or HAL_DACEx_ConvHalfCp
- 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** function is executed and user can add his own code by customization of function pointer
- 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_DAC_ConvHalfCpltCallbackCh1() or HAL_DACEx_ConvHalfCpltCallbackCh2()
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) At The end of data transfer HAL_DAC_ConvCpltCallbackCh1() or HAL_DACEx_ConvHalfCpltCallb
- 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** function is executed and user can add his own code by customization of function pointer
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_DAC_ConvCpltCallbackCh1() or HAL_DACEx_ConvHalfCpltCallbackCh2()
- 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) In case of transfer Error, HAL_DAC_ErrorCallbackCh1() function is executed and user can
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** add his own code by customization of function pointer HAL_DAC_ErrorCallbackCh1
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) For STM32F100x devices with specific feature: DMA underrun.
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** In case of DMA underrun, DAC interruption triggers and execute internal function HAL_DAC
- 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_DAC_DMAUnderrunCallbackCh1() or HAL_DACEx_DMAUnderrunCallbackCh2()
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** function is executed and user can add his own code by customization of function pointer
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_DAC_DMAUnderrunCallbackCh1() or HAL_DACEx_DMAUnderrunCallbackCh2() and
- 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** add his own code by customization of function pointer HAL_DAC_ErrorCallbackCh1()
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) Stop the DAC peripheral using HAL_DAC_Stop_DMA()
- 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** *** Callback registration ***
- 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** =============================================
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..]
- 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** The compilation define USE_HAL_DAC_REGISTER_CALLBACKS when set to 1
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** allows the user to configure dynamically the driver callbacks.
- 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** Use Functions @ref HAL_DAC_RegisterCallback() to register a user callback,
- 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** it allows to register following callbacks:
- 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) ConvCpltCallbackCh1 : callback when a half transfer is completed on Ch1.
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) ConvHalfCpltCallbackCh1 : callback when a transfer is completed on Ch1.
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) ErrorCallbackCh1 : callback when an error occurs on Ch1.
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) DMAUnderrunCallbackCh1 : callback when an underrun error occurs on Ch1.
- 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) ConvCpltCallbackCh2 : callback when a half transfer is completed on Ch2.
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) ConvHalfCpltCallbackCh2 : callback when a transfer is completed on Ch2.
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) ErrorCallbackCh2 : callback when an error occurs on Ch2.
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) DMAUnderrunCallbackCh2 : callback when an underrun error occurs on Ch2.
- 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) MspInitCallback : DAC MspInit.
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) MspDeInitCallback : DAC MspdeInit.
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** This function takes as parameters the HAL peripheral handle, the Callback ID
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** and a pointer to the user callback function.
- 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** Use function @ref HAL_DAC_UnRegisterCallback() to reset a callback to the default
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** weak (surcharged) function. It allows to reset following callbacks:
- 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) ConvCpltCallbackCh1 : callback when a half transfer is completed on Ch1.
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) ConvHalfCpltCallbackCh1 : callback when a transfer is completed on Ch1.
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) ErrorCallbackCh1 : callback when an error occurs on Ch1.
- 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) DMAUnderrunCallbackCh1 : callback when an underrun error occurs on Ch1.
- 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) ConvCpltCallbackCh2 : callback when a half transfer is completed on Ch2.
- 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) ConvHalfCpltCallbackCh2 : callback when a transfer is completed on Ch2.
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) ErrorCallbackCh2 : callback when an error occurs on Ch2.
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) DMAUnderrunCallbackCh2 : callback when an underrun error occurs on Ch2.
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) MspInitCallback : DAC MspInit.
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) MspDeInitCallback : DAC MspdeInit.
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) All Callbacks
- 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** This function) takes as parameters the HAL peripheral handle and the Callback ID.
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** By default, after the @ref HAL_DAC_Init and if the state is HAL_DAC_STATE_RESET
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** all callbacks are reset to the corresponding legacy weak (surcharged) functions.
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** Exception done for MspInit and MspDeInit callbacks that are respectively
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** reset to the legacy weak (surcharged) functions in the @ref HAL_DAC_Init
-ARM GAS /tmp/ccOTyioh.s page 5
-
-
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** and @ref HAL_DAC_DeInit only when these callbacks are null (not registered beforehand).
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** If not, MspInit or MspDeInit are not null, the @ref HAL_DAC_Init and @ref HAL_DAC_DeInit
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** keep and use the user MspInit/MspDeInit callbacks (registered beforehand)
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** Callbacks can be registered/unregistered in READY state only.
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** Exception done for MspInit/MspDeInit callbacks that can be registered/unregistered
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** in READY or RESET state, thus registered (user) MspInit/DeInit callbacks can be used
- 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** during the Init/DeInit.
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** In that case first register the MspInit/MspDeInit user callbacks
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** using @ref HAL_DAC_RegisterCallback before calling @ref HAL_DAC_DeInit
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** or @ref HAL_DAC_Init function.
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** When The compilation define USE_HAL_DAC_REGISTER_CALLBACKS is set to 0 or
- 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** not defined, the callback registering feature is not available
- 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** and weak (surcharged) callbacks are used.
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** *** DAC HAL driver macros list ***
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** =============================================
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..]
- 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** Below the list of most used macros in DAC HAL driver.
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) __HAL_DAC_ENABLE : Enable the DAC peripheral (For STM32F100x devices with specific featur
- 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) __HAL_DAC_DISABLE : Disable the DAC peripheral (For STM32F100x devices with specific feat
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) __HAL_DAC_CLEAR_FLAG: Clear the DAC's pending flags (For STM32F100x devices with specific
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) __HAL_DAC_GET_FLAG: Get the selected DAC's flag status (For STM32F100x devices with speci
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..]
- 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (@) You can refer to the DAC HAL driver header file for more useful macros
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** @endverbatim
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ******************************************************************************
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @attention
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** *
- 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * © Copyright (c) 2016 STMicroelectronics.
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * All rights reserved.
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** *
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * the "License"; You may not use this file except in compliance with the
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * License. You may obtain a copy of the License at:
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * opensource.org/licenses/BSD-3-Clause
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** *
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ******************************************************************************
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Includes ------------------------------------------------------------------*/
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #include "stm32f1xx_hal.h"
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /** @addtogroup STM32F1xx_HAL_Driver
- 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @{
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #ifdef HAL_DAC_MODULE_ENABLED
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #if defined(DAC)
- 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /** @defgroup DAC DAC
- 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief DAC driver modules
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @{
-ARM GAS /tmp/ccOTyioh.s page 6
-
-
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Private typedef -----------------------------------------------------------*/
- 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Private define ------------------------------------------------------------*/
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Private constants ---------------------------------------------------------*/
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Private macro -------------------------------------------------------------*/
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Private variables ---------------------------------------------------------*/
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Private function prototypes -----------------------------------------------*/
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Exported functions -------------------------------------------------------*/
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /** @defgroup DAC_Exported_Functions DAC Exported Functions
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @{
- 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /** @defgroup DAC_Exported_Functions_Group1 Initialization and de-initialization functions
- 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief Initialization and Configuration functions
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** *
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** @verbatim
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ==============================================================================
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ##### Initialization and de-initialization functions #####
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ==============================================================================
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..] This section provides functions allowing to:
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) Initialize and configure the DAC.
- 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) De-initialize the DAC.
- 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** @endverbatim
- 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @{
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
- 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief Initialize the DAC peripheral according to the specified parameters
- 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * in the DAC_InitStruct and initialize the associated handle.
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
- 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * the configuration information for the specified DAC.
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @retval HAL status
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_StatusTypeDef HAL_DAC_Init(DAC_HandleTypeDef *hdac)
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Check DAC handle */
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** if (hdac == NULL)
- 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** return HAL_ERROR;
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Check the parameters */
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** assert_param(IS_DAC_ALL_INSTANCE(hdac->Instance));
- 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** if (hdac->State == HAL_DAC_STATE_RESET)
- 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #if (USE_HAL_DAC_REGISTER_CALLBACKS == 1)
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Init the DAC Callback settings */
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ConvCpltCallbackCh1 = HAL_DAC_ConvCpltCallbackCh1;
- 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ConvHalfCpltCallbackCh1 = HAL_DAC_ConvHalfCpltCallbackCh1;
- 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ErrorCallbackCh1 = HAL_DAC_ErrorCallbackCh1;
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->DMAUnderrunCallbackCh1 = HAL_DAC_DMAUnderrunCallbackCh1;
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ConvCpltCallbackCh2 = HAL_DACEx_ConvCpltCallbackCh2;
- 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ConvHalfCpltCallbackCh2 = HAL_DACEx_ConvHalfCpltCallbackCh2;
-ARM GAS /tmp/ccOTyioh.s page 7
-
-
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ErrorCallbackCh2 = HAL_DACEx_ErrorCallbackCh2;
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->DMAUnderrunCallbackCh2 = HAL_DACEx_DMAUnderrunCallbackCh2;
- 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** if (hdac->MspInitCallback == NULL)
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->MspInitCallback = HAL_DAC_MspInit;
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #endif /* USE_HAL_DAC_REGISTER_CALLBACKS */
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Allocate lock resource and initialize it */
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->Lock = HAL_UNLOCKED;
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #if (USE_HAL_DAC_REGISTER_CALLBACKS == 1)
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Init the low level hardware */
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->MspInitCallback(hdac);
- 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #else
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Init the low level hardware */
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_DAC_MspInit(hdac);
- 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #endif /* USE_HAL_DAC_REGISTER_CALLBACKS */
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Initialize the DAC state*/
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->State = HAL_DAC_STATE_BUSY;
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Set DAC error code to none */
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ErrorCode = HAL_DAC_ERROR_NONE;
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Initialize the DAC state*/
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->State = HAL_DAC_STATE_READY;
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Return function status */
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** return HAL_OK;
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
- 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief Deinitialize the DAC peripheral registers to their default reset values.
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * the configuration information for the specified DAC.
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @retval HAL status
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_StatusTypeDef HAL_DAC_DeInit(DAC_HandleTypeDef *hdac)
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Check DAC handle */
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** if (hdac == NULL)
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** return HAL_ERROR;
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Check the parameters */
- 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** assert_param(IS_DAC_ALL_INSTANCE(hdac->Instance));
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Change DAC state */
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->State = HAL_DAC_STATE_BUSY;
- 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #if (USE_HAL_DAC_REGISTER_CALLBACKS == 1)
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** if (hdac->MspDeInitCallback == NULL)
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
-ARM GAS /tmp/ccOTyioh.s page 8
-
-
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->MspDeInitCallback = HAL_DAC_MspDeInit;
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* DeInit the low level hardware */
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->MspDeInitCallback(hdac);
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #else
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* DeInit the low level hardware */
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_DAC_MspDeInit(hdac);
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #endif /* USE_HAL_DAC_REGISTER_CALLBACKS */
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Set DAC error code to none */
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ErrorCode = HAL_DAC_ERROR_NONE;
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Change DAC state */
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->State = HAL_DAC_STATE_RESET;
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Release Lock */
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __HAL_UNLOCK(hdac);
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Return function status */
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** return HAL_OK;
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
- 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief Initialize the DAC MSP.
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * the configuration information for the specified DAC.
- 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @retval None
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __weak void HAL_DAC_MspInit(DAC_HandleTypeDef *hdac)
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 26 .loc 1 405 0
- 27 .cfi_startproc
- 28 @ args = 0, pretend = 0, frame = 0
- 29 @ frame_needed = 0, uses_anonymous_args = 0
- 30 @ link register save eliminated.
- 31 .LVL0:
- 32 0000 7047 bx lr
- 33 .cfi_endproc
- 34 .LFE67:
- 36 .section .text.HAL_DAC_Init,"ax",%progbits
- 37 .align 1
- 38 .global HAL_DAC_Init
- 39 .syntax unified
- 40 .thumb
- 41 .thumb_func
- 42 .fpu softvfp
- 44 HAL_DAC_Init:
- 45 .LFB65:
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Check DAC handle */
- 46 .loc 1 299 0
- 47 .cfi_startproc
- 48 @ args = 0, pretend = 0, frame = 0
- 49 @ frame_needed = 0, uses_anonymous_args = 0
- 50 .LVL1:
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 51 .loc 1 301 0
- 52 0000 70B1 cbz r0, .L5
-ARM GAS /tmp/ccOTyioh.s page 9
-
-
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Check DAC handle */
- 53 .loc 1 299 0
- 54 0002 10B5 push {r4, lr}
- 55 .LCFI0:
- 56 .cfi_def_cfa_offset 8
- 57 .cfi_offset 4, -8
- 58 .cfi_offset 14, -4
- 59 0004 0446 mov r4, r0
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 60 .loc 1 308 0
- 61 0006 0379 ldrb r3, [r0, #4] @ zero_extendqisi2
- 62 0008 33B1 cbz r3, .L10
- 63 .LVL2:
- 64 .L4:
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 65 .loc 1 341 0
- 66 000a 0223 movs r3, #2
- 67 000c 2371 strb r3, [r4, #4]
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 68 .loc 1 344 0
- 69 000e 0020 movs r0, #0
- 70 0010 2061 str r0, [r4, #16]
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 71 .loc 1 347 0
- 72 0012 0123 movs r3, #1
- 73 0014 2371 strb r3, [r4, #4]
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 74 .loc 1 350 0
- 75 0016 10BD pop {r4, pc}
- 76 .LVL3:
- 77 .L10:
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 78 .loc 1 329 0
- 79 0018 4371 strb r3, [r0, #5]
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #endif /* USE_HAL_DAC_REGISTER_CALLBACKS */
- 80 .loc 1 336 0
- 81 001a FFF7FEFF bl HAL_DAC_MspInit
- 82 .LVL4:
- 83 001e F4E7 b .L4
- 84 .LVL5:
- 85 .L5:
- 86 .LCFI1:
- 87 .cfi_def_cfa_offset 0
- 88 .cfi_restore 4
- 89 .cfi_restore 14
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 90 .loc 1 303 0
- 91 0020 0120 movs r0, #1
- 92 .LVL6:
- 93 0022 7047 bx lr
- 94 .cfi_endproc
- 95 .LFE65:
- 97 .section .text.HAL_DAC_MspDeInit,"ax",%progbits
- 98 .align 1
- 99 .weak HAL_DAC_MspDeInit
- 100 .syntax unified
- 101 .thumb
-ARM GAS /tmp/ccOTyioh.s page 10
-
-
- 102 .thumb_func
- 103 .fpu softvfp
- 105 HAL_DAC_MspDeInit:
- 106 .LFB68:
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Prevent unused argument(s) compilation warning */
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** UNUSED(hdac);
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* NOTE : This function should not be modified, when the callback is needed,
- 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** the HAL_DAC_MspInit could be implemented in the user file
- 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
- 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief DeInitialize the DAC MSP.
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
- 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * the configuration information for the specified DAC.
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @retval None
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __weak void HAL_DAC_MspDeInit(DAC_HandleTypeDef *hdac)
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 107 .loc 1 421 0
- 108 .cfi_startproc
- 109 @ args = 0, pretend = 0, frame = 0
- 110 @ frame_needed = 0, uses_anonymous_args = 0
- 111 @ link register save eliminated.
- 112 .LVL7:
- 113 0000 7047 bx lr
- 114 .cfi_endproc
- 115 .LFE68:
- 117 .section .text.HAL_DAC_DeInit,"ax",%progbits
- 118 .align 1
- 119 .global HAL_DAC_DeInit
- 120 .syntax unified
- 121 .thumb
- 122 .thumb_func
- 123 .fpu softvfp
- 125 HAL_DAC_DeInit:
- 126 .LFB66:
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Check DAC handle */
- 127 .loc 1 360 0
- 128 .cfi_startproc
- 129 @ args = 0, pretend = 0, frame = 0
- 130 @ frame_needed = 0, uses_anonymous_args = 0
- 131 .LVL8:
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 132 .loc 1 362 0
- 133 0000 50B1 cbz r0, .L14
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Check DAC handle */
- 134 .loc 1 360 0
- 135 0002 10B5 push {r4, lr}
- 136 .LCFI2:
- 137 .cfi_def_cfa_offset 8
- 138 .cfi_offset 4, -8
- 139 .cfi_offset 14, -4
- 140 0004 0446 mov r4, r0
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 141 .loc 1 371 0
-ARM GAS /tmp/ccOTyioh.s page 11
-
-
- 142 0006 0223 movs r3, #2
- 143 0008 0371 strb r3, [r0, #4]
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #endif /* USE_HAL_DAC_REGISTER_CALLBACKS */
- 144 .loc 1 382 0
- 145 000a FFF7FEFF bl HAL_DAC_MspDeInit
- 146 .LVL9:
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 147 .loc 1 386 0
- 148 000e 0020 movs r0, #0
- 149 0010 2061 str r0, [r4, #16]
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 150 .loc 1 389 0
- 151 0012 2071 strb r0, [r4, #4]
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 152 .loc 1 392 0
- 153 0014 6071 strb r0, [r4, #5]
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 154 .loc 1 395 0
- 155 0016 10BD pop {r4, pc}
- 156 .LVL10:
- 157 .L14:
- 158 .LCFI3:
- 159 .cfi_def_cfa_offset 0
- 160 .cfi_restore 4
- 161 .cfi_restore 14
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 162 .loc 1 364 0
- 163 0018 0120 movs r0, #1
- 164 .LVL11:
- 165 001a 7047 bx lr
- 166 .cfi_endproc
- 167 .LFE66:
- 169 .section .text.HAL_DAC_Start,"ax",%progbits
- 170 .align 1
- 171 .global HAL_DAC_Start
- 172 .syntax unified
- 173 .thumb
- 174 .thumb_func
- 175 .fpu softvfp
- 177 HAL_DAC_Start:
- 178 .LFB69:
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Prevent unused argument(s) compilation warning */
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** UNUSED(hdac);
- 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* NOTE : This function should not be modified, when the callback is needed,
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** the HAL_DAC_MspDeInit could be implemented in the user file
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @}
- 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /** @defgroup DAC_Exported_Functions_Group2 IO operation functions
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief IO operation functions
- 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** *
- 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** @verbatim
-ARM GAS /tmp/ccOTyioh.s page 12
-
-
- 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ==============================================================================
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ##### IO operation functions #####
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ==============================================================================
- 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..] This section provides functions allowing to:
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) Start conversion.
- 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) Stop conversion.
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) Start conversion and enable DMA transfer.
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) Stop conversion and disable DMA transfer.
- 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) Get result of conversion.
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** @endverbatim
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @{
- 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
- 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief Enables DAC and starts conversion of channel.
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * the configuration information for the specified DAC.
- 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param Channel The selected DAC channel.
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * This parameter can be one of the following values:
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg DAC_CHANNEL_1: DAC Channel1 selected
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg DAC_CHANNEL_2: DAC Channel2 selected
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @retval HAL status
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_StatusTypeDef HAL_DAC_Start(DAC_HandleTypeDef *hdac, uint32_t Channel)
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 179 .loc 1 463 0
- 180 .cfi_startproc
- 181 @ args = 0, pretend = 0, frame = 0
- 182 @ frame_needed = 0, uses_anonymous_args = 0
- 183 @ link register save eliminated.
- 184 .LVL12:
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Check the parameters */
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** assert_param(IS_DAC_CHANNEL(Channel));
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Process locked */
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __HAL_LOCK(hdac);
- 185 .loc 1 468 0
- 186 0000 4379 ldrb r3, [r0, #5] @ zero_extendqisi2
- 187 0002 012B cmp r3, #1
- 188 0004 2CD0 beq .L23
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Check the parameters */
- 189 .loc 1 463 0 discriminator 2
- 190 0006 30B4 push {r4, r5}
- 191 .LCFI4:
- 192 .cfi_def_cfa_offset 8
- 193 .cfi_offset 4, -8
- 194 .cfi_offset 5, -4
- 195 .loc 1 468 0 discriminator 2
- 196 0008 0123 movs r3, #1
- 197 000a 4371 strb r3, [r0, #5]
- 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Change DAC state */
- 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->State = HAL_DAC_STATE_BUSY;
- 198 .loc 1 471 0 discriminator 2
- 199 000c 0222 movs r2, #2
- 200 000e 0271 strb r2, [r0, #4]
-ARM GAS /tmp/ccOTyioh.s page 13
-
-
- 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Enable the Peripheral */
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __HAL_DAC_ENABLE(hdac, Channel);
- 201 .loc 1 474 0 discriminator 2
- 202 0010 0468 ldr r4, [r0]
- 203 0012 2268 ldr r2, [r4]
- 204 0014 01F01005 and r5, r1, #16
- 205 0018 AB40 lsls r3, r3, r5
- 206 001a 1343 orrs r3, r3, r2
- 207 001c 2360 str r3, [r4]
- 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** if (Channel == DAC_CHANNEL_1)
- 208 .loc 1 476 0 discriminator 2
- 209 001e 89B9 cbnz r1, .L21
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Check if software trigger enabled */
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** if ((hdac->Instance->CR & (DAC_CR_TEN1 | DAC_CR_TSEL1)) == DAC_TRIGGER_SOFTWARE)
- 210 .loc 1 479 0
- 211 0020 0268 ldr r2, [r0]
- 212 0022 1368 ldr r3, [r2]
- 213 0024 03F03C03 and r3, r3, #60
- 214 0028 3C2B cmp r3, #60
- 215 002a 06D0 beq .L28
- 216 .LVL13:
- 217 .L22:
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Enable the selected DAC software conversion */
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** SET_BIT(hdac->Instance->SWTRIGR, DAC_SWTRIGR_SWTRIG1);
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** else
- 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Check if software trigger enabled */
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** if ((hdac->Instance->CR & (DAC_CR_TEN2 | DAC_CR_TSEL2)) == (DAC_TRIGGER_SOFTWARE << (Channel &
- 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Enable the selected DAC software conversion*/
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** SET_BIT(hdac->Instance->SWTRIGR, DAC_SWTRIGR_SWTRIG2);
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Change DAC state */
- 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->State = HAL_DAC_STATE_READY;
- 218 .loc 1 496 0
- 219 002c 0123 movs r3, #1
- 220 002e 0371 strb r3, [r0, #4]
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Process unlocked */
- 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __HAL_UNLOCK(hdac);
- 221 .loc 1 499 0
- 222 0030 0023 movs r3, #0
- 223 0032 4371 strb r3, [r0, #5]
- 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Return function status */
- 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** return HAL_OK;
- 224 .loc 1 502 0
- 225 0034 1846 mov r0, r3
- 226 .LVL14:
-ARM GAS /tmp/ccOTyioh.s page 14
-
-
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 227 .loc 1 503 0
- 228 0036 30BC pop {r4, r5}
- 229 .LCFI5:
- 230 .cfi_remember_state
- 231 .cfi_restore 5
- 232 .cfi_restore 4
- 233 .cfi_def_cfa_offset 0
- 234 0038 7047 bx lr
- 235 .LVL15:
- 236 .L28:
- 237 .LCFI6:
- 238 .cfi_restore_state
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 239 .loc 1 482 0
- 240 003a 5368 ldr r3, [r2, #4]
- 241 003c 43F00103 orr r3, r3, #1
- 242 0040 5360 str r3, [r2, #4]
- 243 0042 F3E7 b .L22
- 244 .L21:
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 245 .loc 1 488 0
- 246 0044 0168 ldr r1, [r0]
- 247 .LVL16:
- 248 0046 0A68 ldr r2, [r1]
- 249 0048 02F47012 and r2, r2, #3932160
- 250 004c 3C23 movs r3, #60
- 251 004e 03FA05F5 lsl r5, r3, r5
- 252 0052 AA42 cmp r2, r5
- 253 0054 EAD1 bne .L22
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 254 .loc 1 491 0
- 255 0056 4B68 ldr r3, [r1, #4]
- 256 0058 43F00203 orr r3, r3, #2
- 257 005c 4B60 str r3, [r1, #4]
- 258 005e E5E7 b .L22
- 259 .LVL17:
- 260 .L23:
- 261 .LCFI7:
- 262 .cfi_def_cfa_offset 0
- 263 .cfi_restore 4
- 264 .cfi_restore 5
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 265 .loc 1 468 0
- 266 0060 0220 movs r0, #2
- 267 .LVL18:
- 268 0062 7047 bx lr
- 269 .cfi_endproc
- 270 .LFE69:
- 272 .section .text.HAL_DAC_Stop,"ax",%progbits
- 273 .align 1
- 274 .global HAL_DAC_Stop
- 275 .syntax unified
- 276 .thumb
- 277 .thumb_func
- 278 .fpu softvfp
- 280 HAL_DAC_Stop:
-ARM GAS /tmp/ccOTyioh.s page 15
-
-
- 281 .LFB70:
- 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief Disables DAC and stop conversion of channel.
- 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
- 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * the configuration information for the specified DAC.
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param Channel The selected DAC channel.
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * This parameter can be one of the following values:
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg DAC_CHANNEL_1: DAC Channel1 selected
- 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg DAC_CHANNEL_2: DAC Channel2 selected
- 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @retval HAL status
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_StatusTypeDef HAL_DAC_Stop(DAC_HandleTypeDef *hdac, uint32_t Channel)
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 282 .loc 1 516 0
- 283 .cfi_startproc
- 284 @ args = 0, pretend = 0, frame = 0
- 285 @ frame_needed = 0, uses_anonymous_args = 0
- 286 @ link register save eliminated.
- 287 .LVL19:
- 288 0000 10B4 push {r4}
- 289 .LCFI8:
- 290 .cfi_def_cfa_offset 4
- 291 .cfi_offset 4, -4
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Check the parameters */
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** assert_param(IS_DAC_CHANNEL(Channel));
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Disable the Peripheral */
- 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __HAL_DAC_DISABLE(hdac, Channel);
- 292 .loc 1 521 0
- 293 0002 0468 ldr r4, [r0]
- 294 0004 2368 ldr r3, [r4]
- 295 0006 01F01001 and r1, r1, #16
- 296 .LVL20:
- 297 000a 0122 movs r2, #1
- 298 000c 02FA01F1 lsl r1, r2, r1
- 299 0010 23EA0103 bic r3, r3, r1
- 300 0014 2360 str r3, [r4]
- 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Change DAC state */
- 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->State = HAL_DAC_STATE_READY;
- 301 .loc 1 524 0
- 302 0016 0271 strb r2, [r0, #4]
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Return function status */
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** return HAL_OK;
- 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 303 .loc 1 528 0
- 304 0018 0020 movs r0, #0
- 305 .LVL21:
- 306 001a 10BC pop {r4}
- 307 .LCFI9:
- 308 .cfi_restore 4
- 309 .cfi_def_cfa_offset 0
- 310 001c 7047 bx lr
- 311 .cfi_endproc
- 312 .LFE70:
-ARM GAS /tmp/ccOTyioh.s page 16
-
-
- 314 .section .text.HAL_DAC_Start_DMA,"ax",%progbits
- 315 .align 1
- 316 .global HAL_DAC_Start_DMA
- 317 .syntax unified
- 318 .thumb
- 319 .thumb_func
- 320 .fpu softvfp
- 322 HAL_DAC_Start_DMA:
- 323 .LFB71:
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief Enables DAC and starts conversion of channel.
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * the configuration information for the specified DAC.
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param Channel The selected DAC channel.
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * This parameter can be one of the following values:
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg DAC_CHANNEL_1: DAC Channel1 selected
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg DAC_CHANNEL_2: DAC Channel2 selected
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param pData The destination peripheral Buffer address.
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param Length The length of data to be transferred from memory to DAC peripheral
- 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param Alignment Specifies the data alignment for DAC channel.
- 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * This parameter can be one of the following values:
- 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg DAC_ALIGN_8B_R: 8bit right data alignment selected
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg DAC_ALIGN_12B_L: 12bit left data alignment selected
- 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg DAC_ALIGN_12B_R: 12bit right data alignment selected
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @retval HAL status
- 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_StatusTypeDef HAL_DAC_Start_DMA(DAC_HandleTypeDef *hdac, uint32_t Channel, uint32_t *pData, uin
- 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** uint32_t Alignment)
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 324 .loc 1 549 0
- 325 .cfi_startproc
- 326 @ args = 4, pretend = 0, frame = 0
- 327 @ frame_needed = 0, uses_anonymous_args = 0
- 328 .LVL22:
- 329 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
- 330 .LCFI10:
- 331 .cfi_def_cfa_offset 24
- 332 .cfi_offset 3, -24
- 333 .cfi_offset 4, -20
- 334 .cfi_offset 5, -16
- 335 .cfi_offset 6, -12
- 336 .cfi_offset 7, -8
- 337 .cfi_offset 14, -4
- 338 0002 069C ldr r4, [sp, #24]
- 339 .LVL23:
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_StatusTypeDef status;
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** uint32_t tmpreg = 0U;
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Check the parameters */
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** assert_param(IS_DAC_CHANNEL(Channel));
- 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** assert_param(IS_DAC_ALIGN(Alignment));
- 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Process locked */
- 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __HAL_LOCK(hdac);
- 340 .loc 1 558 0
- 341 0004 4579 ldrb r5, [r0, #5] @ zero_extendqisi2
-ARM GAS /tmp/ccOTyioh.s page 17
-
-
- 342 0006 012D cmp r5, #1
- 343 0008 63D0 beq .L44
- 344 .loc 1 558 0 is_stmt 0 discriminator 2
- 345 000a 0125 movs r5, #1
- 346 000c 4571 strb r5, [r0, #5]
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Change DAC state */
- 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->State = HAL_DAC_STATE_BUSY;
- 347 .loc 1 561 0 is_stmt 1 discriminator 2
- 348 000e 0225 movs r5, #2
- 349 0010 0571 strb r5, [r0, #4]
- 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** if (Channel == DAC_CHANNEL_1)
- 350 .loc 1 563 0 discriminator 2
- 351 0012 0029 cmp r1, #0
- 352 0014 2FD1 bne .L33
- 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Set the DMA transfer complete callback for channel1 */
- 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->DMA_Handle1->XferCpltCallback = DAC_DMAConvCpltCh1;
- 353 .loc 1 566 0
- 354 0016 8568 ldr r5, [r0, #8]
- 355 0018 2F4E ldr r6, .L53
- 356 001a AE62 str r6, [r5, #40]
- 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Set the DMA half transfer complete callback for channel1 */
- 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->DMA_Handle1->XferHalfCpltCallback = DAC_DMAHalfConvCpltCh1;
- 357 .loc 1 569 0
- 358 001c 8568 ldr r5, [r0, #8]
- 359 001e 2F4E ldr r6, .L53+4
- 360 0020 EE62 str r6, [r5, #44]
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Set the DMA error callback for channel1 */
- 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->DMA_Handle1->XferErrorCallback = DAC_DMAErrorCh1;
- 361 .loc 1 572 0
- 362 0022 8568 ldr r5, [r0, #8]
- 363 0024 2E4E ldr r6, .L53+8
- 364 0026 2E63 str r6, [r5, #48]
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Enable the selected DAC channel1 DMA request */
- 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** SET_BIT(hdac->Instance->CR, DAC_CR_DMAEN1);
- 365 .loc 1 575 0
- 366 0028 0668 ldr r6, [r0]
- 367 002a 3568 ldr r5, [r6]
- 368 002c 45F48055 orr r5, r5, #4096
- 369 0030 3560 str r5, [r6]
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Case of use of channel 1 */
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** switch (Alignment)
- 370 .loc 1 578 0
- 371 0032 042C cmp r4, #4
- 372 0034 19D0 beq .L35
- 373 0036 082C cmp r4, #8
- 374 0038 1AD0 beq .L36
- 375 003a 9CB1 cbz r4, .L50
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 376 .loc 1 551 0
- 377 003c 0E46 mov r6, r1
-ARM GAS /tmp/ccOTyioh.s page 18
-
-
- 378 .LVL24:
- 379 .L34:
- 380 003e 1446 mov r4, r2
- 381 0040 0F46 mov r7, r1
- 382 0042 0546 mov r5, r0
- 383 .LVL25:
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case DAC_ALIGN_12B_R:
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Get DHR12R1 address */
- 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** tmpreg = (uint32_t)&hdac->Instance->DHR12R1;
- 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
- 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case DAC_ALIGN_12B_L:
- 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Get DHR12L1 address */
- 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** tmpreg = (uint32_t)&hdac->Instance->DHR12L1;
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case DAC_ALIGN_8B_R:
- 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Get DHR8R1 address */
- 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** tmpreg = (uint32_t)&hdac->Instance->DHR8R1;
- 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
- 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** default:
- 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
- 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** else
- 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Set the DMA transfer complete callback for channel2 */
- 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->DMA_Handle2->XferCpltCallback = DAC_DMAConvCpltCh2;
- 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Set the DMA half transfer complete callback for channel2 */
- 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->DMA_Handle2->XferHalfCpltCallback = DAC_DMAHalfConvCpltCh2;
- 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Set the DMA error callback for channel2 */
- 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->DMA_Handle2->XferErrorCallback = DAC_DMAErrorCh2;
- 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Enable the selected DAC channel2 DMA request */
- 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** SET_BIT(hdac->Instance->CR, DAC_CR_DMAEN2);
- 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Case of use of channel 2 */
- 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** switch (Alignment)
- 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case DAC_ALIGN_12B_R:
- 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Get DHR12R2 address */
- 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** tmpreg = (uint32_t)&hdac->Instance->DHR12R2;
- 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case DAC_ALIGN_12B_L:
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Get DHR12L2 address */
- 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** tmpreg = (uint32_t)&hdac->Instance->DHR12L2;
- 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
- 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case DAC_ALIGN_8B_R:
- 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Get DHR8R2 address */
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** tmpreg = (uint32_t)&hdac->Instance->DHR8R2;
- 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
- 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** default:
- 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
- 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-ARM GAS /tmp/ccOTyioh.s page 19
-
-
- 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Enable the DMA Stream */
- 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** if (Channel == DAC_CHANNEL_1)
- 384 .loc 1 631 0
- 385 0044 0029 cmp r1, #0
- 386 0046 34D1 bne .L41
- 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #if defined(DAC_CR_DMAUDRIE1)
- 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Enable the DAC DMA underrun interrupt */
- 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __HAL_DAC_ENABLE_IT(hdac, DAC_IT_DMAUDR1);
- 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #endif /* DAC_CR_DMAUDRIE1 */
- 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Enable the DMA Stream */
- 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** status = HAL_DMA_Start_IT(hdac->DMA_Handle1, (uint32_t)pData, tmpreg, Length);
- 387 .loc 1 638 0
- 388 0048 3246 mov r2, r6
- 389 .LVL26:
- 390 004a 2146 mov r1, r4
- 391 .LVL27:
- 392 004c 8068 ldr r0, [r0, #8]
- 393 .LVL28:
- 394 004e FFF7FEFF bl HAL_DMA_Start_IT
- 395 .LVL29:
- 396 .L42:
- 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** else
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #if defined(DAC_CR_DMAUDRIE2)
- 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Enable the DAC DMA underrun interrupt */
- 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __HAL_DAC_ENABLE_IT(hdac, DAC_IT_DMAUDR2);
- 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #endif /* DAC_CR_DMAUDRIE2 */
- 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Enable the DMA Stream */
- 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** status = HAL_DMA_Start_IT(hdac->DMA_Handle2, (uint32_t)pData, tmpreg, Length);
- 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Process Unlocked */
- 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __HAL_UNLOCK(hdac);
- 397 .loc 1 651 0
- 398 0052 0023 movs r3, #0
- 399 0054 6B71 strb r3, [r5, #5]
- 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** if (status == HAL_OK)
- 400 .loc 1 653 0
- 401 0056 0028 cmp r0, #0
- 402 0058 31D0 beq .L51
- 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Enable the Peripheral */
- 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __HAL_DAC_ENABLE(hdac, Channel);
- 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** else
- 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ErrorCode |= HAL_DAC_ERROR_DMA;
- 403 .loc 1 660 0
- 404 005a 2B69 ldr r3, [r5, #16]
- 405 005c 43F00403 orr r3, r3, #4
- 406 0060 2B61 str r3, [r5, #16]
- 407 0062 F8BD pop {r3, r4, r5, r6, r7, pc}
- 408 .LVL30:
- 409 .L50:
-ARM GAS /tmp/ccOTyioh.s page 20
-
-
- 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
- 410 .loc 1 582 0
- 411 0064 0668 ldr r6, [r0]
- 412 0066 0836 adds r6, r6, #8
- 413 .LVL31:
- 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case DAC_ALIGN_12B_L:
- 414 .loc 1 583 0
- 415 0068 E9E7 b .L34
- 416 .LVL32:
- 417 .L35:
- 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
- 418 .loc 1 586 0
- 419 006a 0668 ldr r6, [r0]
- 420 006c 0C36 adds r6, r6, #12
- 421 .LVL33:
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case DAC_ALIGN_8B_R:
- 422 .loc 1 587 0
- 423 006e E6E7 b .L34
- 424 .LVL34:
- 425 .L36:
- 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
- 426 .loc 1 590 0
- 427 0070 0668 ldr r6, [r0]
- 428 0072 1036 adds r6, r6, #16
- 429 .LVL35:
- 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** default:
- 430 .loc 1 591 0
- 431 0074 E3E7 b .L34
- 432 .LVL36:
- 433 .L33:
- 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 434 .loc 1 599 0
- 435 0076 C568 ldr r5, [r0, #12]
- 436 0078 1A4E ldr r6, .L53+12
- 437 007a AE62 str r6, [r5, #40]
- 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 438 .loc 1 602 0
- 439 007c C568 ldr r5, [r0, #12]
- 440 007e 1A4E ldr r6, .L53+16
- 441 0080 EE62 str r6, [r5, #44]
- 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 442 .loc 1 605 0
- 443 0082 C568 ldr r5, [r0, #12]
- 444 0084 194E ldr r6, .L53+20
- 445 0086 2E63 str r6, [r5, #48]
- 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 446 .loc 1 608 0
- 447 0088 0668 ldr r6, [r0]
- 448 008a 3568 ldr r5, [r6]
- 449 008c 45F08055 orr r5, r5, #268435456
- 450 0090 3560 str r5, [r6]
- 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 451 .loc 1 611 0
- 452 0092 042C cmp r4, #4
- 453 0094 07D0 beq .L38
- 454 0096 082C cmp r4, #8
- 455 0098 08D0 beq .L39
-ARM GAS /tmp/ccOTyioh.s page 21
-
-
- 456 009a 0CB1 cbz r4, .L52
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 457 .loc 1 551 0
- 458 009c 0026 movs r6, #0
- 459 009e CEE7 b .L34
- 460 .L52:
- 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
- 461 .loc 1 615 0
- 462 00a0 0668 ldr r6, [r0]
- 463 00a2 1436 adds r6, r6, #20
- 464 .LVL37:
- 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case DAC_ALIGN_12B_L:
- 465 .loc 1 616 0
- 466 00a4 CBE7 b .L34
- 467 .LVL38:
- 468 .L38:
- 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
- 469 .loc 1 619 0
- 470 00a6 0668 ldr r6, [r0]
- 471 00a8 1836 adds r6, r6, #24
- 472 .LVL39:
- 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case DAC_ALIGN_8B_R:
- 473 .loc 1 620 0
- 474 00aa C8E7 b .L34
- 475 .LVL40:
- 476 .L39:
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
- 477 .loc 1 623 0
- 478 00ac 0668 ldr r6, [r0]
- 479 00ae 1C36 adds r6, r6, #28
- 480 .LVL41:
- 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** default:
- 481 .loc 1 624 0
- 482 00b0 C5E7 b .L34
- 483 .L41:
- 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 484 .loc 1 647 0
- 485 00b2 3246 mov r2, r6
- 486 .LVL42:
- 487 00b4 2146 mov r1, r4
- 488 .LVL43:
- 489 00b6 C068 ldr r0, [r0, #12]
- 490 .LVL44:
- 491 00b8 FFF7FEFF bl HAL_DMA_Start_IT
- 492 .LVL45:
- 493 00bc C9E7 b .L42
- 494 .L51:
- 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 495 .loc 1 656 0
- 496 00be 2A68 ldr r2, [r5]
- 497 00c0 1368 ldr r3, [r2]
- 498 00c2 07F01001 and r1, r7, #16
- 499 00c6 0127 movs r7, #1
- 500 .LVL46:
- 501 00c8 07FA01F1 lsl r1, r7, r1
- 502 00cc 1943 orrs r1, r1, r3
- 503 00ce 1160 str r1, [r2]
-ARM GAS /tmp/ccOTyioh.s page 22
-
-
- 504 00d0 F8BD pop {r3, r4, r5, r6, r7, pc}
- 505 .LVL47:
- 506 .L44:
- 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 507 .loc 1 558 0
- 508 00d2 0220 movs r0, #2
- 509 .LVL48:
- 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Return function status */
- 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** return status;
- 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 510 .loc 1 665 0
- 511 00d4 F8BD pop {r3, r4, r5, r6, r7, pc}
- 512 .LVL49:
- 513 .L54:
- 514 00d6 00BF .align 2
- 515 .L53:
- 516 00d8 00000000 .word DAC_DMAConvCpltCh1
- 517 00dc 00000000 .word DAC_DMAHalfConvCpltCh1
- 518 00e0 00000000 .word DAC_DMAErrorCh1
- 519 00e4 00000000 .word DAC_DMAConvCpltCh2
- 520 00e8 00000000 .word DAC_DMAHalfConvCpltCh2
- 521 00ec 00000000 .word DAC_DMAErrorCh2
- 522 .cfi_endproc
- 523 .LFE71:
- 525 .section .text.HAL_DAC_Stop_DMA,"ax",%progbits
- 526 .align 1
- 527 .global HAL_DAC_Stop_DMA
- 528 .syntax unified
- 529 .thumb
- 530 .thumb_func
- 531 .fpu softvfp
- 533 HAL_DAC_Stop_DMA:
- 534 .LFB72:
- 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
- 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief Disables DAC and stop conversion of channel.
- 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
- 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * the configuration information for the specified DAC.
- 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param Channel The selected DAC channel.
- 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * This parameter can be one of the following values:
- 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg DAC_CHANNEL_1: DAC Channel1 selected
- 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg DAC_CHANNEL_2: DAC Channel2 selected
- 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @retval HAL status
- 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_StatusTypeDef HAL_DAC_Stop_DMA(DAC_HandleTypeDef *hdac, uint32_t Channel)
- 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 535 .loc 1 678 0
- 536 .cfi_startproc
- 537 @ args = 0, pretend = 0, frame = 0
- 538 @ frame_needed = 0, uses_anonymous_args = 0
- 539 .LVL50:
- 540 0000 70B5 push {r4, r5, r6, lr}
- 541 .LCFI11:
- 542 .cfi_def_cfa_offset 16
- 543 .cfi_offset 4, -16
-ARM GAS /tmp/ccOTyioh.s page 23
-
-
- 544 .cfi_offset 5, -12
- 545 .cfi_offset 6, -8
- 546 .cfi_offset 14, -4
- 547 0002 0446 mov r4, r0
- 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_StatusTypeDef status;
- 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Check the parameters */
- 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** assert_param(IS_DAC_CHANNEL(Channel));
- 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Disable the selected DAC channel DMA request */
- 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->Instance->CR &= ~(DAC_CR_DMAEN1 << (Channel & 0x10UL));
- 548 .loc 1 685 0
- 549 0004 0368 ldr r3, [r0]
- 550 0006 1868 ldr r0, [r3]
- 551 .LVL51:
- 552 0008 01F01006 and r6, r1, #16
- 553 000c 4FF48055 mov r5, #4096
- 554 0010 B540 lsls r5, r5, r6
- 555 0012 20EA0500 bic r0, r0, r5
- 556 0016 1860 str r0, [r3]
- 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Disable the Peripheral */
- 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __HAL_DAC_DISABLE(hdac, Channel);
- 557 .loc 1 688 0
- 558 0018 2068 ldr r0, [r4]
- 559 001a 0368 ldr r3, [r0]
- 560 001c 0122 movs r2, #1
- 561 001e B240 lsls r2, r2, r6
- 562 0020 23EA0203 bic r3, r3, r2
- 563 0024 0360 str r3, [r0]
- 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Disable the DMA Stream */
- 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Channel1 is used */
- 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** if (Channel == DAC_CHANNEL_1)
- 564 .loc 1 693 0
- 565 0026 31B9 cbnz r1, .L56
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Disable the DMA Stream */
- 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** status = HAL_DMA_Abort(hdac->DMA_Handle1);
- 566 .loc 1 696 0
- 567 0028 A068 ldr r0, [r4, #8]
- 568 002a FFF7FEFF bl HAL_DMA_Abort
- 569 .LVL52:
- 570 .L57:
- 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #if defined(DAC_CR_DMAUDRIE1)
- 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Disable the DAC DMA underrun interrupt */
- 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __HAL_DAC_DISABLE_IT(hdac, DAC_IT_DMAUDR1);
- 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #endif /* DAC_CR_DMAUDRIE1 */
- 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** else /* Channel2 is used for */
- 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Disable the DMA Stream */
- 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** status = HAL_DMA_Abort(hdac->DMA_Handle2);
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #if defined(DAC_CR_DMAUDRIE2)
- 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Disable the DAC DMA underrun interrupt */
- 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __HAL_DAC_DISABLE_IT(hdac, DAC_IT_DMAUDR2);
-ARM GAS /tmp/ccOTyioh.s page 24
-
-
- 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #endif /* DAC_CR_DMAUDRIE2 */
- 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Check if DMA Stream effectively disabled */
- 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** if (status != HAL_OK)
- 571 .loc 1 713 0
- 572 002e 30B9 cbnz r0, .L61
- 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Update DAC state machine to error */
- 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->State = HAL_DAC_STATE_ERROR;
- 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** else
- 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Change DAC state */
- 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->State = HAL_DAC_STATE_READY;
- 573 .loc 1 721 0
- 574 0030 0123 movs r3, #1
- 575 0032 2371 strb r3, [r4, #4]
- 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Return function status */
- 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** return status;
- 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 576 .loc 1 726 0
- 577 0034 70BD pop {r4, r5, r6, pc}
- 578 .LVL53:
- 579 .L56:
- 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #if defined(DAC_CR_DMAUDRIE2)
- 580 .loc 1 705 0
- 581 0036 E068 ldr r0, [r4, #12]
- 582 0038 FFF7FEFF bl HAL_DMA_Abort
- 583 .LVL54:
- 584 003c F7E7 b .L57
- 585 .L61:
- 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 586 .loc 1 716 0
- 587 003e 0423 movs r3, #4
- 588 0040 2371 strb r3, [r4, #4]
- 589 0042 70BD pop {r4, r5, r6, pc}
- 590 .cfi_endproc
- 591 .LFE72:
- 593 .section .text.HAL_DAC_IRQHandler,"ax",%progbits
- 594 .align 1
- 595 .global HAL_DAC_IRQHandler
- 596 .syntax unified
- 597 .thumb
- 598 .thumb_func
- 599 .fpu softvfp
- 601 HAL_DAC_IRQHandler:
- 602 .LFB73:
- 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
- 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief Handles DAC interrupt request
- 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * This function uses the interruption of DMA
- 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * underrun.
- 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
- 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * the configuration information for the specified DAC.
-ARM GAS /tmp/ccOTyioh.s page 25
-
-
- 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @retval None
- 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** void HAL_DAC_IRQHandler(DAC_HandleTypeDef *hdac)
- 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 603 .loc 1 737 0
- 604 .cfi_startproc
- 605 @ args = 0, pretend = 0, frame = 0
- 606 @ frame_needed = 0, uses_anonymous_args = 0
- 607 @ link register save eliminated.
- 608 .LVL55:
- 609 0000 7047 bx lr
- 610 .cfi_endproc
- 611 .LFE73:
- 613 .section .text.HAL_DAC_SetValue,"ax",%progbits
- 614 .align 1
- 615 .global HAL_DAC_SetValue
- 616 .syntax unified
- 617 .thumb
- 618 .thumb_func
- 619 .fpu softvfp
- 621 HAL_DAC_SetValue:
- 622 .LFB74:
- 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #if defined(DAC_SR_DMAUDR1)
- 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** if (__HAL_DAC_GET_IT_SOURCE(hdac, DAC_IT_DMAUDR1))
- 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Check underrun flag of DAC channel 1 */
- 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** if (__HAL_DAC_GET_FLAG(hdac, DAC_FLAG_DMAUDR1))
- 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Change DAC state to error state */
- 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->State = HAL_DAC_STATE_ERROR;
- 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Set DAC error code to chanel1 DMA underrun error */
- 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** SET_BIT(hdac->ErrorCode, HAL_DAC_ERROR_DMAUNDERRUNCH1);
- 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Clear the underrun flag */
- 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __HAL_DAC_CLEAR_FLAG(hdac, DAC_FLAG_DMAUDR1);
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Disable the selected DAC channel1 DMA request */
- 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** CLEAR_BIT(hdac->Instance->CR, DAC_CR_DMAEN1);
- 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Error callback */
- 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #if (USE_HAL_DAC_REGISTER_CALLBACKS == 1)
- 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->DMAUnderrunCallbackCh1(hdac);
- 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #else
- 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_DAC_DMAUnderrunCallbackCh1(hdac);
- 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #endif /* USE_HAL_DAC_REGISTER_CALLBACKS */
- 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #endif /* DAC_SR_DMAUDR1 */
- 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #if defined(DAC_SR_DMAUDR2)
- 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** if (__HAL_DAC_GET_IT_SOURCE(hdac, DAC_IT_DMAUDR2))
- 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Check underrun flag of DAC channel 2 */
- 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** if (__HAL_DAC_GET_FLAG(hdac, DAC_FLAG_DMAUDR2))
- 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Change DAC state to error state */
-ARM GAS /tmp/ccOTyioh.s page 26
-
-
- 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->State = HAL_DAC_STATE_ERROR;
- 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Set DAC error code to channel2 DMA underrun error */
- 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** SET_BIT(hdac->ErrorCode, HAL_DAC_ERROR_DMAUNDERRUNCH2);
- 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Clear the underrun flag */
- 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __HAL_DAC_CLEAR_FLAG(hdac, DAC_FLAG_DMAUDR2);
- 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Disable the selected DAC channel2 DMA request */
- 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** CLEAR_BIT(hdac->Instance->CR, DAC_CR_DMAEN2);
- 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Error callback */
- 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #if (USE_HAL_DAC_REGISTER_CALLBACKS == 1)
- 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->DMAUnderrunCallbackCh2(hdac);
- 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #else
- 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_DACEx_DMAUnderrunCallbackCh2(hdac);
- 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #endif /* USE_HAL_DAC_REGISTER_CALLBACKS */
- 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #endif /* DAC_SR_DMAUDR2 */
- 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
- 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief Set the specified data holding register value for DAC channel.
- 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
- 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * the configuration information for the specified DAC.
- 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param Channel The selected DAC channel.
- 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * This parameter can be one of the following values:
- 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg DAC_CHANNEL_1: DAC Channel1 selected
- 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg DAC_CHANNEL_2: DAC Channel2 selected
- 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param Alignment Specifies the data alignment.
- 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * This parameter can be one of the following values:
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg DAC_ALIGN_8B_R: 8bit right data alignment selected
- 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg DAC_ALIGN_12B_L: 12bit left data alignment selected
- 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg DAC_ALIGN_12B_R: 12bit right data alignment selected
- 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param Data Data to be loaded in the selected data holding register.
- 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @retval HAL status
- 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_StatusTypeDef HAL_DAC_SetValue(DAC_HandleTypeDef *hdac, uint32_t Channel, uint32_t Alignment, u
- 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 623 .loc 1 812 0
- 624 .cfi_startproc
- 625 @ args = 0, pretend = 0, frame = 8
- 626 @ frame_needed = 0, uses_anonymous_args = 0
- 627 @ link register save eliminated.
- 628 .LVL56:
- 629 .loc 1 812 0
- 630 0000 10B4 push {r4}
- 631 .LCFI12:
- 632 .cfi_def_cfa_offset 4
- 633 .cfi_offset 4, -4
- 634 0002 83B0 sub sp, sp, #12
- 635 .LCFI13:
- 636 .cfi_def_cfa_offset 16
- 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __IO uint32_t tmp = 0;
- 637 .loc 1 813 0
- 638 0004 0024 movs r4, #0
-ARM GAS /tmp/ccOTyioh.s page 27
-
-
- 639 0006 0194 str r4, [sp, #4]
- 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Check the parameters */
- 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** assert_param(IS_DAC_CHANNEL(Channel));
- 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** assert_param(IS_DAC_ALIGN(Alignment));
- 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** assert_param(IS_DAC_DATA(Data));
- 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** tmp = (uint32_t)hdac->Instance;
- 640 .loc 1 820 0
- 641 0008 0068 ldr r0, [r0]
- 642 .LVL57:
- 643 000a 0190 str r0, [sp, #4]
- 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** if (Channel == DAC_CHANNEL_1)
- 644 .loc 1 821 0
- 645 000c 49B1 cbz r1, .L67
- 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** tmp += DAC_DHR12R1_ALIGNMENT(Alignment);
- 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** else
- 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** tmp += DAC_DHR12R2_ALIGNMENT(Alignment);
- 646 .loc 1 827 0
- 647 000e 0199 ldr r1, [sp, #4]
- 648 .LVL58:
- 649 0010 0A44 add r2, r2, r1
- 650 .LVL59:
- 651 0012 1432 adds r2, r2, #20
- 652 0014 0192 str r2, [sp, #4]
- 653 .L65:
- 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Set the DAC channel selected data holding register */
- 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** *(__IO uint32_t *) tmp = Data;
- 654 .loc 1 831 0
- 655 0016 019A ldr r2, [sp, #4]
- 656 0018 1360 str r3, [r2]
- 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Return function status */
- 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** return HAL_OK;
- 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 657 .loc 1 835 0
- 658 001a 0020 movs r0, #0
- 659 001c 03B0 add sp, sp, #12
- 660 .LCFI14:
- 661 .cfi_remember_state
- 662 .cfi_def_cfa_offset 4
- 663 @ sp needed
- 664 001e 10BC pop {r4}
- 665 .LCFI15:
- 666 .cfi_restore 4
- 667 .cfi_def_cfa_offset 0
- 668 0020 7047 bx lr
- 669 .LVL60:
- 670 .L67:
- 671 .LCFI16:
- 672 .cfi_restore_state
- 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
-ARM GAS /tmp/ccOTyioh.s page 28
-
-
- 673 .loc 1 823 0
- 674 0022 0199 ldr r1, [sp, #4]
- 675 .LVL61:
- 676 0024 0A44 add r2, r2, r1
- 677 .LVL62:
- 678 0026 0832 adds r2, r2, #8
- 679 0028 0192 str r2, [sp, #4]
- 680 002a F4E7 b .L65
- 681 .cfi_endproc
- 682 .LFE74:
- 684 .section .text.HAL_DAC_ConvCpltCallbackCh1,"ax",%progbits
- 685 .align 1
- 686 .weak HAL_DAC_ConvCpltCallbackCh1
- 687 .syntax unified
- 688 .thumb
- 689 .thumb_func
- 690 .fpu softvfp
- 692 HAL_DAC_ConvCpltCallbackCh1:
- 693 .LFB75:
- 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
- 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief Conversion complete callback in non-blocking mode for Channel1
- 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
- 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * the configuration information for the specified DAC.
- 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @retval None
- 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __weak void HAL_DAC_ConvCpltCallbackCh1(DAC_HandleTypeDef *hdac)
- 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 694 .loc 1 844 0
- 695 .cfi_startproc
- 696 @ args = 0, pretend = 0, frame = 0
- 697 @ frame_needed = 0, uses_anonymous_args = 0
- 698 @ link register save eliminated.
- 699 .LVL63:
- 700 0000 7047 bx lr
- 701 .cfi_endproc
- 702 .LFE75:
- 704 .section .text.DAC_DMAConvCpltCh1,"ax",%progbits
- 705 .align 1
- 706 .global DAC_DMAConvCpltCh1
- 707 .syntax unified
- 708 .thumb
- 709 .thumb_func
- 710 .fpu softvfp
- 712 DAC_DMAConvCpltCh1:
- 713 .LFB83:
- 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Prevent unused argument(s) compilation warning */
- 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** UNUSED(hdac);
- 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* NOTE : This function should not be modified, when the callback is needed,
- 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** the HAL_DAC_ConvCpltCallbackCh1 could be implemented in the user file
- 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
- 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief Conversion half DMA transfer callback in non-blocking mode for Channel1
- 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
-ARM GAS /tmp/ccOTyioh.s page 29
-
-
- 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * the configuration information for the specified DAC.
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @retval None
- 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __weak void HAL_DAC_ConvHalfCpltCallbackCh1(DAC_HandleTypeDef *hdac)
- 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Prevent unused argument(s) compilation warning */
- 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** UNUSED(hdac);
- 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* NOTE : This function should not be modified, when the callback is needed,
- 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** the HAL_DAC_ConvHalfCpltCallbackCh1 could be implemented in the user file
- 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
- 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief Error DAC callback for Channel1.
- 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
- 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * the configuration information for the specified DAC.
- 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @retval None
- 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __weak void HAL_DAC_ErrorCallbackCh1(DAC_HandleTypeDef *hdac)
- 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Prevent unused argument(s) compilation warning */
- 878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** UNUSED(hdac);
- 879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* NOTE : This function should not be modified, when the callback is needed,
- 881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** the HAL_DAC_ErrorCallbackCh1 could be implemented in the user file
- 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
- 886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief DMA underrun DAC callback for channel1.
- 887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
- 888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * the configuration information for the specified DAC.
- 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @retval None
- 890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __weak void HAL_DAC_DMAUnderrunCallbackCh1(DAC_HandleTypeDef *hdac)
- 892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Prevent unused argument(s) compilation warning */
- 894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** UNUSED(hdac);
- 895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* NOTE : This function should not be modified, when the callback is needed,
- 897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** the HAL_DAC_DMAUnderrunCallbackCh1 could be implemented in the user file
- 898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
- 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @}
- 903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /** @defgroup DAC_Exported_Functions_Group3 Peripheral Control functions
- 906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief Peripheral Control functions
- 907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** *
- 908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** @verbatim
- 909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ==============================================================================
- 910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ##### Peripheral Control functions #####
- 911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ==============================================================================
- 912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..] This section provides functions allowing to:
-ARM GAS /tmp/ccOTyioh.s page 30
-
-
- 913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) Configure channels.
- 914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) Set the specified data holding register value for DAC channel.
- 915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** @endverbatim
- 917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @{
- 918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
- 921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief Returns the last data output value of the selected DAC channel.
- 922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
- 923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * the configuration information for the specified DAC.
- 924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param Channel The selected DAC channel.
- 925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * This parameter can be one of the following values:
- 926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg DAC_CHANNEL_1: DAC Channel1 selected
- 927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg DAC_CHANNEL_2: DAC Channel2 selected
- 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @retval The selected DAC channel data output value.
- 929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** uint32_t HAL_DAC_GetValue(DAC_HandleTypeDef *hdac, uint32_t Channel)
- 931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Check the parameters */
- 933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** assert_param(IS_DAC_CHANNEL(Channel));
- 934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Returns the DAC channel data output register value */
- 936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** if (Channel == DAC_CHANNEL_1)
- 937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** return hdac->Instance->DOR1;
- 939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** else
- 941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** return hdac->Instance->DOR2;
- 943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
- 947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief Configures the selected DAC channel.
- 948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
- 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * the configuration information for the specified DAC.
- 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param sConfig DAC configuration structure.
- 951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param Channel The selected DAC channel.
- 952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * This parameter can be one of the following values:
- 953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg DAC_CHANNEL_1: DAC Channel1 selected
- 954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg DAC_CHANNEL_2: DAC Channel2 selected
- 955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @retval HAL status
- 956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
- 957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_StatusTypeDef HAL_DAC_ConfigChannel(DAC_HandleTypeDef *hdac, DAC_ChannelConfTypeDef *sConfig, u
- 958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** uint32_t tmpreg1;
- 960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** uint32_t tmpreg2;
- 961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Check the DAC parameters */
- 963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** assert_param(IS_DAC_TRIGGER(sConfig->DAC_Trigger));
- 964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** assert_param(IS_DAC_OUTPUT_BUFFER_STATE(sConfig->DAC_OutputBuffer));
- 965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** assert_param(IS_DAC_CHANNEL(Channel));
- 966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Process locked */
- 968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __HAL_LOCK(hdac);
- 969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-ARM GAS /tmp/ccOTyioh.s page 31
-
-
- 970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Change DAC state */
- 971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->State = HAL_DAC_STATE_BUSY;
- 972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Get the DAC CR value */
- 974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** tmpreg1 = hdac->Instance->CR;
- 975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Clear BOFFx, TENx, TSELx, WAVEx and MAMPx bits */
- 976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** tmpreg1 &= ~(((uint32_t)(DAC_CR_MAMP1 | DAC_CR_WAVE1 | DAC_CR_TSEL1 | DAC_CR_TEN1 | DAC_CR_BOFF1)
- 977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Configure for the selected DAC channel: buffer output, trigger */
- 978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Set TSELx and TENx bits according to DAC_Trigger value */
- 979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Set BOFFx bit according to DAC_OutputBuffer value */
- 980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** tmpreg2 = (sConfig->DAC_Trigger | sConfig->DAC_OutputBuffer);
- 981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Calculate CR register value depending on DAC_Channel */
- 982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** tmpreg1 |= tmpreg2 << (Channel & 0x10UL);
- 983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Write to DAC CR */
- 984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->Instance->CR = tmpreg1;
- 985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Disable wave generation */
- 986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** CLEAR_BIT(hdac->Instance->CR, (DAC_CR_WAVE1 << (Channel & 0x10UL)));
- 987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Disable wave generation */
- 988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->Instance->CR &= ~(DAC_CR_WAVE1 << (Channel & 0x10UL));
- 989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Change DAC state */
- 991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->State = HAL_DAC_STATE_READY;
- 992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Process unlocked */
- 994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __HAL_UNLOCK(hdac);
- 995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Return function status */
- 997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** return HAL_OK;
- 998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
-1001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @}
-1002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
-1003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /** @defgroup DAC_Exported_Functions_Group4 Peripheral State and Errors functions
-1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief Peripheral State and Errors functions
-1006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** *
-1007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** @verbatim
-1008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ==============================================================================
-1009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ##### Peripheral State and Errors functions #####
-1010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** ==============================================================================
-1011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** [..]
-1012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** This subsection provides functions allowing to
-1013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) Check the DAC state.
-1014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** (+) Check the DAC Errors.
-1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** @endverbatim
-1017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @{
-1018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
-1019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
-1021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief return the DAC handle state
-1022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
-1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * the configuration information for the specified DAC.
-1024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @retval HAL state
-1025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
-1026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_DAC_StateTypeDef HAL_DAC_GetState(DAC_HandleTypeDef *hdac)
-ARM GAS /tmp/ccOTyioh.s page 32
-
-
-1027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
-1028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Return DAC handle state */
-1029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** return hdac->State;
-1030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
-1031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
-1034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief Return the DAC error code
-1035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
-1036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * the configuration information for the specified DAC.
-1037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @retval DAC Error Code
-1038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
-1039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** uint32_t HAL_DAC_GetError(DAC_HandleTypeDef *hdac)
-1040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
-1041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** return hdac->ErrorCode;
-1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
-1043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
-1045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @}
-1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
-1047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
-1049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @}
-1050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
-1051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /** @addtogroup DAC_Exported_Functions
-1053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @{
-1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
-1055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /** @addtogroup DAC_Exported_Functions_Group1
-1057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @{
-1058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
-1059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #if (USE_HAL_DAC_REGISTER_CALLBACKS == 1)
-1060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
-1061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief Register a User DAC Callback
-1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * To be used instead of the weak (surcharged) predefined callback
-1063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param hdac DAC handle
-1064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param CallbackID ID of the callback to be registered
-1065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * This parameter can be one of the following values:
-1066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg @ref HAL_DAC_ERROR_INVALID_CALLBACK DAC Error Callback ID
-1067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg @ref HAL_DAC_CH1_COMPLETE_CB_ID DAC CH1 Complete Callback ID
-1068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg @ref HAL_DAC_CH1_HALF_COMPLETE_CB_ID DAC CH1 Half Complete Callback ID
-1069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg @ref HAL_DAC_CH1_ERROR_ID DAC CH1 Error Callback ID
-1070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg @ref HAL_DAC_CH1_UNDERRUN_CB_ID DAC CH1 UnderRun Callback ID
-1071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg @ref HAL_DAC_CH2_COMPLETE_CB_ID DAC CH2 Complete Callback ID
-1072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg @ref HAL_DAC_CH2_HALF_COMPLETE_CB_ID DAC CH2 Half Complete Callback ID
-1073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg @ref HAL_DAC_CH2_ERROR_ID DAC CH2 Error Callback ID
-1074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg @ref HAL_DAC_CH2_UNDERRUN_CB_ID DAC CH2 UnderRun Callback ID
-1075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg @ref HAL_DAC_MSPINIT_CB_ID DAC MSP Init Callback ID
-1076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg @ref HAL_DAC_MSPDEINIT_CB_ID DAC MSP DeInit Callback ID
-1077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** *
-1078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param pCallback pointer to the Callback function
-1079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @retval status
-1080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
-1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_StatusTypeDef HAL_DAC_RegisterCallback(DAC_HandleTypeDef *hdac, HAL_DAC_CallbackIDTypeDef Callb
-1082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** pDAC_CallbackTypeDef pCallback)
-1083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
-ARM GAS /tmp/ccOTyioh.s page 33
-
-
-1084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_StatusTypeDef status = HAL_OK;
-1085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** if (pCallback == NULL)
-1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
-1088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Update the error code */
-1089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ErrorCode |= HAL_DAC_ERROR_INVALID_CALLBACK;
-1090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** return HAL_ERROR;
-1091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
-1092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Process locked */
-1094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __HAL_LOCK(hdac);
-1095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** if (hdac->State == HAL_DAC_STATE_READY)
-1097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
-1098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** switch (CallbackID)
-1099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
-1100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_CH1_COMPLETE_CB_ID :
-1101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ConvCpltCallbackCh1 = pCallback;
-1102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_CH1_HALF_COMPLETE_CB_ID :
-1104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ConvHalfCpltCallbackCh1 = pCallback;
-1105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_CH1_ERROR_ID :
-1107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ErrorCallbackCh1 = pCallback;
-1108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_CH1_UNDERRUN_CB_ID :
-1110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->DMAUnderrunCallbackCh1 = pCallback;
-1111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_CH2_COMPLETE_CB_ID :
-1113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ConvCpltCallbackCh2 = pCallback;
-1114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_CH2_HALF_COMPLETE_CB_ID :
-1116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ConvHalfCpltCallbackCh2 = pCallback;
-1117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_CH2_ERROR_ID :
-1119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ErrorCallbackCh2 = pCallback;
-1120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_CH2_UNDERRUN_CB_ID :
-1122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->DMAUnderrunCallbackCh2 = pCallback;
-1123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_MSPINIT_CB_ID :
-1125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->MspInitCallback = pCallback;
-1126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_MSPDEINIT_CB_ID :
-1128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->MspDeInitCallback = pCallback;
-1129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** default :
-1131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Update the error code */
-1132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ErrorCode |= HAL_DAC_ERROR_INVALID_CALLBACK;
-1133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* update return status */
-1134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** status = HAL_ERROR;
-1135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
-1137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
-1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** else if (hdac->State == HAL_DAC_STATE_RESET)
-1139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
-1140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** switch (CallbackID)
-ARM GAS /tmp/ccOTyioh.s page 34
-
-
-1141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
-1142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_MSPINIT_CB_ID :
-1143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->MspInitCallback = pCallback;
-1144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_MSPDEINIT_CB_ID :
-1146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->MspDeInitCallback = pCallback;
-1147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** default :
-1149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Update the error code */
-1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ErrorCode |= HAL_DAC_ERROR_INVALID_CALLBACK;
-1151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* update return status */
-1152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** status = HAL_ERROR;
-1153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
-1155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
-1156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** else
-1157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
-1158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Update the error code */
-1159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ErrorCode |= HAL_DAC_ERROR_INVALID_CALLBACK;
-1160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* update return status */
-1161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** status = HAL_ERROR;
-1162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
-1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Release Lock */
-1165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __HAL_UNLOCK(hdac);
-1166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** return status;
-1167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
-1168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
-1170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief Unregister a User DAC Callback
-1171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * DAC Callback is redirected to the weak (surcharged) predefined callback
-1172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param hdac DAC handle
-1173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param CallbackID ID of the callback to be unregistered
-1174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * This parameter can be one of the following values:
-1175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg @ref HAL_DAC_CH1_COMPLETE_CB_ID DAC CH1 tranfer Complete Callback ID
-1176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg @ref HAL_DAC_CH1_HALF_COMPLETE_CB_ID DAC CH1 Half Complete Callback ID
-1177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg @ref HAL_DAC_CH1_ERROR_ID DAC CH1 Error Callback ID
-1178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg @ref HAL_DAC_CH1_UNDERRUN_CB_ID DAC CH1 UnderRun Callback ID
-1179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg @ref HAL_DAC_CH2_COMPLETE_CB_ID DAC CH2 Complete Callback ID
-1180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg @ref HAL_DAC_CH2_HALF_COMPLETE_CB_ID DAC CH2 Half Complete Callback ID
-1181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg @ref HAL_DAC_CH2_ERROR_ID DAC CH2 Error Callback ID
-1182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg @ref HAL_DAC_CH2_UNDERRUN_CB_ID DAC CH2 UnderRun Callback ID
-1183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg @ref HAL_DAC_MSPINIT_CB_ID DAC MSP Init Callback ID
-1184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg @ref HAL_DAC_MSPDEINIT_CB_ID DAC MSP DeInit Callback ID
-1185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @arg @ref HAL_DAC_ALL_CB_ID DAC All callbacks
-1186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @retval status
-1187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
-1188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_StatusTypeDef HAL_DAC_UnRegisterCallback(DAC_HandleTypeDef *hdac, HAL_DAC_CallbackIDTypeDef Cal
-1189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
-1190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_StatusTypeDef status = HAL_OK;
-1191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Process locked */
-1193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __HAL_LOCK(hdac);
-1194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** if (hdac->State == HAL_DAC_STATE_READY)
-1196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
-1197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** switch (CallbackID)
-ARM GAS /tmp/ccOTyioh.s page 35
-
-
-1198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
-1199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_CH1_COMPLETE_CB_ID :
-1200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ConvCpltCallbackCh1 = HAL_DAC_ConvCpltCallbackCh1;
-1201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_CH1_HALF_COMPLETE_CB_ID :
-1203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ConvHalfCpltCallbackCh1 = HAL_DAC_ConvHalfCpltCallbackCh1;
-1204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_CH1_ERROR_ID :
-1206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ErrorCallbackCh1 = HAL_DAC_ErrorCallbackCh1;
-1207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_CH1_UNDERRUN_CB_ID :
-1209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->DMAUnderrunCallbackCh1 = HAL_DAC_DMAUnderrunCallbackCh1;
-1210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_CH2_COMPLETE_CB_ID :
-1212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ConvCpltCallbackCh2 = HAL_DACEx_ConvCpltCallbackCh2;
-1213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_CH2_HALF_COMPLETE_CB_ID :
-1215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ConvHalfCpltCallbackCh2 = HAL_DACEx_ConvHalfCpltCallbackCh2;
-1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_CH2_ERROR_ID :
-1218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ErrorCallbackCh2 = HAL_DACEx_ErrorCallbackCh2;
-1219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_CH2_UNDERRUN_CB_ID :
-1221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->DMAUnderrunCallbackCh2 = HAL_DACEx_DMAUnderrunCallbackCh2;
-1222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_MSPINIT_CB_ID :
-1224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->MspInitCallback = HAL_DAC_MspInit;
-1225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_MSPDEINIT_CB_ID :
-1227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->MspDeInitCallback = HAL_DAC_MspDeInit;
-1228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_ALL_CB_ID :
-1230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ConvCpltCallbackCh1 = HAL_DAC_ConvCpltCallbackCh1;
-1231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ConvHalfCpltCallbackCh1 = HAL_DAC_ConvHalfCpltCallbackCh1;
-1232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ErrorCallbackCh1 = HAL_DAC_ErrorCallbackCh1;
-1233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->DMAUnderrunCallbackCh1 = HAL_DAC_DMAUnderrunCallbackCh1;
-1234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ConvCpltCallbackCh2 = HAL_DACEx_ConvCpltCallbackCh2;
-1235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ConvHalfCpltCallbackCh2 = HAL_DACEx_ConvHalfCpltCallbackCh2;
-1236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ErrorCallbackCh2 = HAL_DACEx_ErrorCallbackCh2;
-1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->DMAUnderrunCallbackCh2 = HAL_DACEx_DMAUnderrunCallbackCh2;
-1238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->MspInitCallback = HAL_DAC_MspInit;
-1239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->MspDeInitCallback = HAL_DAC_MspDeInit;
-1240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** default :
-1242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Update the error code */
-1243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ErrorCode |= HAL_DAC_ERROR_INVALID_CALLBACK;
-1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* update return status */
-1245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** status = HAL_ERROR;
-1246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
-1248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
-1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** else if (hdac->State == HAL_DAC_STATE_RESET)
-1250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
-1251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** switch (CallbackID)
-1252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
-1253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_MSPINIT_CB_ID :
-1254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->MspInitCallback = HAL_DAC_MspInit;
-ARM GAS /tmp/ccOTyioh.s page 36
-
-
-1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** case HAL_DAC_MSPDEINIT_CB_ID :
-1257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->MspDeInitCallback = HAL_DAC_MspDeInit;
-1258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** default :
-1260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Update the error code */
-1261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ErrorCode |= HAL_DAC_ERROR_INVALID_CALLBACK;
-1262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* update return status */
-1263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** status = HAL_ERROR;
-1264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** break;
-1265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
-1266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
-1267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** else
-1268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
-1269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Update the error code */
-1270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ErrorCode |= HAL_DAC_ERROR_INVALID_CALLBACK;
-1271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* update return status */
-1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** status = HAL_ERROR;
-1273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
-1274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Release Lock */
-1276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** __HAL_UNLOCK(hdac);
-1277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** return status;
-1278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
-1279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #endif /* USE_HAL_DAC_REGISTER_CALLBACKS */
-1280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
-1282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @}
-1283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
-1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
-1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @}
-1287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
-1288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /** @addtogroup DAC_Private_Functions
-1290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @{
-1291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
-1292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
-1294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief DMA conversion complete callback.
-1295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
-1296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * the configuration information for the specified DMA module.
-1297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @retval None
-1298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
-1299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** void DAC_DMAConvCpltCh1(DMA_HandleTypeDef *hdma)
-1300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 714 .loc 1 1300 0
- 715 .cfi_startproc
- 716 @ args = 0, pretend = 0, frame = 0
- 717 @ frame_needed = 0, uses_anonymous_args = 0
- 718 .LVL64:
- 719 .loc 1 1300 0
- 720 0000 10B5 push {r4, lr}
- 721 .LCFI17:
- 722 .cfi_def_cfa_offset 8
- 723 .cfi_offset 4, -8
- 724 .cfi_offset 14, -4
-ARM GAS /tmp/ccOTyioh.s page 37
-
-
-1301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** DAC_HandleTypeDef *hdac = (DAC_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 725 .loc 1 1301 0
- 726 0002 446A ldr r4, [r0, #36]
- 727 .LVL65:
-1302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #if (USE_HAL_DAC_REGISTER_CALLBACKS == 1)
-1304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ConvCpltCallbackCh1(hdac);
-1305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #else
-1306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_DAC_ConvCpltCallbackCh1(hdac);
- 728 .loc 1 1306 0
- 729 0004 2046 mov r0, r4
- 730 .LVL66:
- 731 0006 FFF7FEFF bl HAL_DAC_ConvCpltCallbackCh1
- 732 .LVL67:
-1307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #endif /* USE_HAL_DAC_REGISTER_CALLBACKS */
-1308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->State = HAL_DAC_STATE_READY;
- 733 .loc 1 1309 0
- 734 000a 0123 movs r3, #1
- 735 000c 2371 strb r3, [r4, #4]
- 736 000e 10BD pop {r4, pc}
- 737 .cfi_endproc
- 738 .LFE83:
- 740 .section .text.HAL_DAC_ConvHalfCpltCallbackCh1,"ax",%progbits
- 741 .align 1
- 742 .weak HAL_DAC_ConvHalfCpltCallbackCh1
- 743 .syntax unified
- 744 .thumb
- 745 .thumb_func
- 746 .fpu softvfp
- 748 HAL_DAC_ConvHalfCpltCallbackCh1:
- 749 .LFB76:
- 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Prevent unused argument(s) compilation warning */
- 750 .loc 1 860 0
- 751 .cfi_startproc
- 752 @ args = 0, pretend = 0, frame = 0
- 753 @ frame_needed = 0, uses_anonymous_args = 0
- 754 @ link register save eliminated.
- 755 .LVL68:
- 756 0000 7047 bx lr
- 757 .cfi_endproc
- 758 .LFE76:
- 760 .section .text.DAC_DMAHalfConvCpltCh1,"ax",%progbits
- 761 .align 1
- 762 .global DAC_DMAHalfConvCpltCh1
- 763 .syntax unified
- 764 .thumb
- 765 .thumb_func
- 766 .fpu softvfp
- 768 DAC_DMAHalfConvCpltCh1:
- 769 .LFB84:
-1310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
-1311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
-1313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief DMA half transfer complete callback.
-1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
-1315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * the configuration information for the specified DMA module.
-ARM GAS /tmp/ccOTyioh.s page 38
-
-
-1316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @retval None
-1317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
-1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** void DAC_DMAHalfConvCpltCh1(DMA_HandleTypeDef *hdma)
-1319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 770 .loc 1 1319 0
- 771 .cfi_startproc
- 772 @ args = 0, pretend = 0, frame = 0
- 773 @ frame_needed = 0, uses_anonymous_args = 0
- 774 .LVL69:
- 775 .loc 1 1319 0
- 776 0000 08B5 push {r3, lr}
- 777 .LCFI18:
- 778 .cfi_def_cfa_offset 8
- 779 .cfi_offset 3, -8
- 780 .cfi_offset 14, -4
- 781 .LVL70:
-1320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** DAC_HandleTypeDef *hdac = (DAC_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
-1321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Conversion complete callback */
-1322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #if (USE_HAL_DAC_REGISTER_CALLBACKS == 1)
-1323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ConvHalfCpltCallbackCh1(hdac);
-1324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #else
-1325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_DAC_ConvHalfCpltCallbackCh1(hdac);
- 782 .loc 1 1325 0
- 783 0002 406A ldr r0, [r0, #36]
- 784 .LVL71:
- 785 0004 FFF7FEFF bl HAL_DAC_ConvHalfCpltCallbackCh1
- 786 .LVL72:
- 787 0008 08BD pop {r3, pc}
- 788 .cfi_endproc
- 789 .LFE84:
- 791 .section .text.HAL_DAC_ErrorCallbackCh1,"ax",%progbits
- 792 .align 1
- 793 .weak HAL_DAC_ErrorCallbackCh1
- 794 .syntax unified
- 795 .thumb
- 796 .thumb_func
- 797 .fpu softvfp
- 799 HAL_DAC_ErrorCallbackCh1:
- 800 .LFB77:
- 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Prevent unused argument(s) compilation warning */
- 801 .loc 1 876 0
- 802 .cfi_startproc
- 803 @ args = 0, pretend = 0, frame = 0
- 804 @ frame_needed = 0, uses_anonymous_args = 0
- 805 @ link register save eliminated.
- 806 .LVL73:
- 807 0000 7047 bx lr
- 808 .cfi_endproc
- 809 .LFE77:
- 811 .section .text.DAC_DMAErrorCh1,"ax",%progbits
- 812 .align 1
- 813 .global DAC_DMAErrorCh1
- 814 .syntax unified
- 815 .thumb
- 816 .thumb_func
- 817 .fpu softvfp
- 819 DAC_DMAErrorCh1:
-ARM GAS /tmp/ccOTyioh.s page 39
-
-
- 820 .LFB85:
-1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #endif /* USE_HAL_DAC_REGISTER_CALLBACKS */
-1327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
-1328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /**
-1330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @brief DMA error callback
-1331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
-1332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * the configuration information for the specified DMA module.
-1333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** * @retval None
-1334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** */
-1335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** void DAC_DMAErrorCh1(DMA_HandleTypeDef *hdma)
-1336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 821 .loc 1 1336 0
- 822 .cfi_startproc
- 823 @ args = 0, pretend = 0, frame = 0
- 824 @ frame_needed = 0, uses_anonymous_args = 0
- 825 .LVL74:
- 826 .loc 1 1336 0
- 827 0000 10B5 push {r4, lr}
- 828 .LCFI19:
- 829 .cfi_def_cfa_offset 8
- 830 .cfi_offset 4, -8
- 831 .cfi_offset 14, -4
-1337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** DAC_HandleTypeDef *hdac = (DAC_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 832 .loc 1 1337 0
- 833 0002 446A ldr r4, [r0, #36]
- 834 .LVL75:
-1338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Set DAC error code to DMA error */
-1340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ErrorCode |= HAL_DAC_ERROR_DMA;
- 835 .loc 1 1340 0
- 836 0004 2369 ldr r3, [r4, #16]
- 837 0006 43F00403 orr r3, r3, #4
- 838 000a 2361 str r3, [r4, #16]
-1341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #if (USE_HAL_DAC_REGISTER_CALLBACKS == 1)
-1343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->ErrorCallbackCh1(hdac);
-1344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #else
-1345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** HAL_DAC_ErrorCallbackCh1(hdac);
- 839 .loc 1 1345 0
- 840 000c 2046 mov r0, r4
- 841 .LVL76:
- 842 000e FFF7FEFF bl HAL_DAC_ErrorCallbackCh1
- 843 .LVL77:
-1346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** #endif /* USE_HAL_DAC_REGISTER_CALLBACKS */
-1347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
-1348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** hdac->State = HAL_DAC_STATE_READY;
- 844 .loc 1 1348 0
- 845 0012 0123 movs r3, #1
- 846 0014 2371 strb r3, [r4, #4]
- 847 0016 10BD pop {r4, pc}
- 848 .cfi_endproc
- 849 .LFE85:
- 851 .section .text.HAL_DAC_DMAUnderrunCallbackCh1,"ax",%progbits
- 852 .align 1
- 853 .weak HAL_DAC_DMAUnderrunCallbackCh1
- 854 .syntax unified
-ARM GAS /tmp/ccOTyioh.s page 40
-
-
- 855 .thumb
- 856 .thumb_func
- 857 .fpu softvfp
- 859 HAL_DAC_DMAUnderrunCallbackCh1:
- 860 .LFB78:
- 892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Prevent unused argument(s) compilation warning */
- 861 .loc 1 892 0
- 862 .cfi_startproc
- 863 @ args = 0, pretend = 0, frame = 0
- 864 @ frame_needed = 0, uses_anonymous_args = 0
- 865 @ link register save eliminated.
- 866 .LVL78:
- 867 0000 7047 bx lr
- 868 .cfi_endproc
- 869 .LFE78:
- 871 .section .text.HAL_DAC_GetValue,"ax",%progbits
- 872 .align 1
- 873 .global HAL_DAC_GetValue
- 874 .syntax unified
- 875 .thumb
- 876 .thumb_func
- 877 .fpu softvfp
- 879 HAL_DAC_GetValue:
- 880 .LFB79:
- 931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Check the parameters */
- 881 .loc 1 931 0
- 882 .cfi_startproc
- 883 @ args = 0, pretend = 0, frame = 0
- 884 @ frame_needed = 0, uses_anonymous_args = 0
- 885 @ link register save eliminated.
- 886 .LVL79:
- 936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** {
- 887 .loc 1 936 0
- 888 0000 11B1 cbz r1, .L81
- 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 889 .loc 1 942 0
- 890 0002 0368 ldr r3, [r0]
- 891 0004 186B ldr r0, [r3, #48]
- 892 .LVL80:
- 944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 893 .loc 1 944 0
- 894 0006 7047 bx lr
- 895 .LVL81:
- 896 .L81:
- 938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 897 .loc 1 938 0
- 898 0008 0368 ldr r3, [r0]
- 899 000a D86A ldr r0, [r3, #44]
- 900 .LVL82:
- 901 000c 7047 bx lr
- 902 .cfi_endproc
- 903 .LFE79:
- 905 .section .text.HAL_DAC_ConfigChannel,"ax",%progbits
- 906 .align 1
- 907 .global HAL_DAC_ConfigChannel
- 908 .syntax unified
- 909 .thumb
-ARM GAS /tmp/ccOTyioh.s page 41
-
-
- 910 .thumb_func
- 911 .fpu softvfp
- 913 HAL_DAC_ConfigChannel:
- 914 .LFB80:
- 958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** uint32_t tmpreg1;
- 915 .loc 1 958 0
- 916 .cfi_startproc
- 917 @ args = 0, pretend = 0, frame = 0
- 918 @ frame_needed = 0, uses_anonymous_args = 0
- 919 @ link register save eliminated.
- 920 .LVL83:
- 921 0000 70B4 push {r4, r5, r6}
- 922 .LCFI20:
- 923 .cfi_def_cfa_offset 12
- 924 .cfi_offset 4, -12
- 925 .cfi_offset 5, -8
- 926 .cfi_offset 6, -4
- 968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 927 .loc 1 968 0
- 928 0002 4479 ldrb r4, [r0, #5] @ zero_extendqisi2
- 929 0004 012C cmp r4, #1
- 930 0006 23D0 beq .L84
- 968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 931 .loc 1 968 0 is_stmt 0 discriminator 2
- 932 0008 0125 movs r5, #1
- 933 000a 4571 strb r5, [r0, #5]
- 971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 934 .loc 1 971 0 is_stmt 1 discriminator 2
- 935 000c 0223 movs r3, #2
- 936 000e 0371 strb r3, [r0, #4]
- 974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Clear BOFFx, TENx, TSELx, WAVEx and MAMPx bits */
- 937 .loc 1 974 0 discriminator 2
- 938 0010 0668 ldr r6, [r0]
- 939 0012 3468 ldr r4, [r6]
- 940 .LVL84:
- 976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Configure for the selected DAC channel: buffer output, trigger */
- 941 .loc 1 976 0 discriminator 2
- 942 0014 02F01003 and r3, r2, #16
- 943 0018 40F6FE72 movw r2, #4094
- 944 .LVL85:
- 945 001c 9A40 lsls r2, r2, r3
- 946 001e 24EA0202 bic r2, r4, r2
- 947 .LVL86:
- 980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Calculate CR register value depending on DAC_Channel */
- 948 .loc 1 980 0 discriminator 2
- 949 0022 0C68 ldr r4, [r1]
- 950 0024 4968 ldr r1, [r1, #4]
- 951 .LVL87:
- 952 0026 2143 orrs r1, r1, r4
- 953 .LVL88:
- 982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Write to DAC CR */
- 954 .loc 1 982 0 discriminator 2
- 955 0028 9940 lsls r1, r1, r3
- 956 .LVL89:
- 957 002a 0A43 orrs r2, r2, r1
- 958 .LVL90:
- 984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Disable wave generation */
-ARM GAS /tmp/ccOTyioh.s page 42
-
-
- 959 .loc 1 984 0 discriminator 2
- 960 002c 3260 str r2, [r6]
- 961 .LVL91:
- 986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Disable wave generation */
- 962 .loc 1 986 0 discriminator 2
- 963 002e 0468 ldr r4, [r0]
- 964 0030 2168 ldr r1, [r4]
- 965 0032 C022 movs r2, #192
- 966 .LVL92:
- 967 0034 9A40 lsls r2, r2, r3
- 968 0036 D243 mvns r2, r2
- 969 0038 1140 ands r1, r1, r2
- 970 003a 2160 str r1, [r4]
- 971 .LVL93:
- 988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 972 .loc 1 988 0 discriminator 2
- 973 003c 0368 ldr r3, [r0]
- 974 003e 1968 ldr r1, [r3]
- 975 0040 0A40 ands r2, r2, r1
- 976 0042 1A60 str r2, [r3]
- 991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 977 .loc 1 991 0 discriminator 2
- 978 0044 0571 strb r5, [r0, #4]
- 994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 979 .loc 1 994 0 discriminator 2
- 980 0046 0023 movs r3, #0
- 981 0048 4371 strb r3, [r0, #5]
- 997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 982 .loc 1 997 0 discriminator 2
- 983 004a 1846 mov r0, r3
- 984 .LVL94:
- 985 .L83:
- 998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 986 .loc 1 998 0
- 987 004c 70BC pop {r4, r5, r6}
- 988 .LCFI21:
- 989 .cfi_remember_state
- 990 .cfi_restore 6
- 991 .cfi_restore 5
- 992 .cfi_restore 4
- 993 .cfi_def_cfa_offset 0
- 994 004e 7047 bx lr
- 995 .LVL95:
- 996 .L84:
- 997 .LCFI22:
- 998 .cfi_restore_state
- 968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 999 .loc 1 968 0
- 1000 0050 0220 movs r0, #2
- 1001 .LVL96:
- 1002 0052 FBE7 b .L83
- 1003 .cfi_endproc
- 1004 .LFE80:
- 1006 .section .text.HAL_DAC_GetState,"ax",%progbits
- 1007 .align 1
- 1008 .global HAL_DAC_GetState
- 1009 .syntax unified
-ARM GAS /tmp/ccOTyioh.s page 43
-
-
- 1010 .thumb
- 1011 .thumb_func
- 1012 .fpu softvfp
- 1014 HAL_DAC_GetState:
- 1015 .LFB81:
-1027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** /* Return DAC handle state */
- 1016 .loc 1 1027 0
- 1017 .cfi_startproc
- 1018 @ args = 0, pretend = 0, frame = 0
- 1019 @ frame_needed = 0, uses_anonymous_args = 0
- 1020 @ link register save eliminated.
- 1021 .LVL97:
-1029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 1022 .loc 1 1029 0
- 1023 0000 0079 ldrb r0, [r0, #4] @ zero_extendqisi2
- 1024 .LVL98:
-1030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 1025 .loc 1 1030 0
- 1026 0002 7047 bx lr
- 1027 .cfi_endproc
- 1028 .LFE81:
- 1030 .section .text.HAL_DAC_GetError,"ax",%progbits
- 1031 .align 1
- 1032 .global HAL_DAC_GetError
- 1033 .syntax unified
- 1034 .thumb
- 1035 .thumb_func
- 1036 .fpu softvfp
- 1038 HAL_DAC_GetError:
- 1039 .LFB82:
-1040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** return hdac->ErrorCode;
- 1040 .loc 1 1040 0
- 1041 .cfi_startproc
- 1042 @ args = 0, pretend = 0, frame = 0
- 1043 @ frame_needed = 0, uses_anonymous_args = 0
- 1044 @ link register save eliminated.
- 1045 .LVL99:
-1041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c **** }
- 1046 .loc 1 1041 0
- 1047 0000 0069 ldr r0, [r0, #16]
- 1048 .LVL100:
-1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac.c ****
- 1049 .loc 1 1042 0
- 1050 0002 7047 bx lr
- 1051 .cfi_endproc
- 1052 .LFE82:
- 1054 .text
- 1055 .Letext0:
- 1056 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 1057 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 1058 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 1059 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 1060 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 1061 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 1062 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
- 1063 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h"
- 1064 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
-ARM GAS /tmp/ccOTyioh.s page 44
-
-
-ARM GAS /tmp/ccOTyioh.s page 45
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_hal_dac.c
- /tmp/ccOTyioh.s:16 .text.HAL_DAC_MspInit:0000000000000000 $t
- /tmp/ccOTyioh.s:23 .text.HAL_DAC_MspInit:0000000000000000 HAL_DAC_MspInit
- /tmp/ccOTyioh.s:37 .text.HAL_DAC_Init:0000000000000000 $t
- /tmp/ccOTyioh.s:44 .text.HAL_DAC_Init:0000000000000000 HAL_DAC_Init
- /tmp/ccOTyioh.s:98 .text.HAL_DAC_MspDeInit:0000000000000000 $t
- /tmp/ccOTyioh.s:105 .text.HAL_DAC_MspDeInit:0000000000000000 HAL_DAC_MspDeInit
- /tmp/ccOTyioh.s:118 .text.HAL_DAC_DeInit:0000000000000000 $t
- /tmp/ccOTyioh.s:125 .text.HAL_DAC_DeInit:0000000000000000 HAL_DAC_DeInit
- /tmp/ccOTyioh.s:170 .text.HAL_DAC_Start:0000000000000000 $t
- /tmp/ccOTyioh.s:177 .text.HAL_DAC_Start:0000000000000000 HAL_DAC_Start
- /tmp/ccOTyioh.s:273 .text.HAL_DAC_Stop:0000000000000000 $t
- /tmp/ccOTyioh.s:280 .text.HAL_DAC_Stop:0000000000000000 HAL_DAC_Stop
- /tmp/ccOTyioh.s:315 .text.HAL_DAC_Start_DMA:0000000000000000 $t
- /tmp/ccOTyioh.s:322 .text.HAL_DAC_Start_DMA:0000000000000000 HAL_DAC_Start_DMA
- /tmp/ccOTyioh.s:516 .text.HAL_DAC_Start_DMA:00000000000000d8 $d
- /tmp/ccOTyioh.s:712 .text.DAC_DMAConvCpltCh1:0000000000000000 DAC_DMAConvCpltCh1
- /tmp/ccOTyioh.s:768 .text.DAC_DMAHalfConvCpltCh1:0000000000000000 DAC_DMAHalfConvCpltCh1
- /tmp/ccOTyioh.s:819 .text.DAC_DMAErrorCh1:0000000000000000 DAC_DMAErrorCh1
- /tmp/ccOTyioh.s:526 .text.HAL_DAC_Stop_DMA:0000000000000000 $t
- /tmp/ccOTyioh.s:533 .text.HAL_DAC_Stop_DMA:0000000000000000 HAL_DAC_Stop_DMA
- /tmp/ccOTyioh.s:594 .text.HAL_DAC_IRQHandler:0000000000000000 $t
- /tmp/ccOTyioh.s:601 .text.HAL_DAC_IRQHandler:0000000000000000 HAL_DAC_IRQHandler
- /tmp/ccOTyioh.s:614 .text.HAL_DAC_SetValue:0000000000000000 $t
- /tmp/ccOTyioh.s:621 .text.HAL_DAC_SetValue:0000000000000000 HAL_DAC_SetValue
- /tmp/ccOTyioh.s:685 .text.HAL_DAC_ConvCpltCallbackCh1:0000000000000000 $t
- /tmp/ccOTyioh.s:692 .text.HAL_DAC_ConvCpltCallbackCh1:0000000000000000 HAL_DAC_ConvCpltCallbackCh1
- /tmp/ccOTyioh.s:705 .text.DAC_DMAConvCpltCh1:0000000000000000 $t
- /tmp/ccOTyioh.s:741 .text.HAL_DAC_ConvHalfCpltCallbackCh1:0000000000000000 $t
- /tmp/ccOTyioh.s:748 .text.HAL_DAC_ConvHalfCpltCallbackCh1:0000000000000000 HAL_DAC_ConvHalfCpltCallbackCh1
- /tmp/ccOTyioh.s:761 .text.DAC_DMAHalfConvCpltCh1:0000000000000000 $t
- /tmp/ccOTyioh.s:792 .text.HAL_DAC_ErrorCallbackCh1:0000000000000000 $t
- /tmp/ccOTyioh.s:799 .text.HAL_DAC_ErrorCallbackCh1:0000000000000000 HAL_DAC_ErrorCallbackCh1
- /tmp/ccOTyioh.s:812 .text.DAC_DMAErrorCh1:0000000000000000 $t
- /tmp/ccOTyioh.s:852 .text.HAL_DAC_DMAUnderrunCallbackCh1:0000000000000000 $t
- /tmp/ccOTyioh.s:859 .text.HAL_DAC_DMAUnderrunCallbackCh1:0000000000000000 HAL_DAC_DMAUnderrunCallbackCh1
- /tmp/ccOTyioh.s:872 .text.HAL_DAC_GetValue:0000000000000000 $t
- /tmp/ccOTyioh.s:879 .text.HAL_DAC_GetValue:0000000000000000 HAL_DAC_GetValue
- /tmp/ccOTyioh.s:906 .text.HAL_DAC_ConfigChannel:0000000000000000 $t
- /tmp/ccOTyioh.s:913 .text.HAL_DAC_ConfigChannel:0000000000000000 HAL_DAC_ConfigChannel
- /tmp/ccOTyioh.s:1007 .text.HAL_DAC_GetState:0000000000000000 $t
- /tmp/ccOTyioh.s:1014 .text.HAL_DAC_GetState:0000000000000000 HAL_DAC_GetState
- /tmp/ccOTyioh.s:1031 .text.HAL_DAC_GetError:0000000000000000 $t
- /tmp/ccOTyioh.s:1038 .text.HAL_DAC_GetError:0000000000000000 HAL_DAC_GetError
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-HAL_DMA_Start_IT
-DAC_DMAConvCpltCh2
-DAC_DMAHalfConvCpltCh2
-DAC_DMAErrorCh2
-HAL_DMA_Abort
diff --git a/build/stm32f1xx_hal_dac.o b/build/stm32f1xx_hal_dac.o
deleted file mode 100644
index a4aadb8..0000000
Binary files a/build/stm32f1xx_hal_dac.o and /dev/null differ
diff --git a/build/stm32f1xx_hal_dac_ex.d b/build/stm32f1xx_hal_dac_ex.d
deleted file mode 100644
index 3e9a7a1..0000000
--- a/build/stm32f1xx_hal_dac_ex.d
+++ /dev/null
@@ -1,93 +0,0 @@
-build/stm32f1xx_hal_dac_ex.o: \
- Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/stm32f1xx_hal_dac_ex.lst b/build/stm32f1xx_hal_dac_ex.lst
deleted file mode 100644
index c187563..0000000
--- a/build/stm32f1xx_hal_dac_ex.lst
+++ /dev/null
@@ -1,885 +0,0 @@
-ARM GAS /tmp/ccEpsZWs.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "stm32f1xx_hal_dac_ex.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.HAL_DACEx_TriangleWaveGenerate,"ax",%progbits
- 16 .align 1
- 17 .global HAL_DACEx_TriangleWaveGenerate
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 HAL_DACEx_TriangleWaveGenerate:
- 24 .LFB65:
- 25 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c"
- 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /**
- 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** ******************************************************************************
- 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @file stm32f1xx_hal_dac_ex.c
- 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @author MCD Application Team
- 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @brief DAC HAL module driver.
- 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * This file provides firmware functions to manage the extended
- 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * functionalities of the DAC peripheral.
- 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** *
- 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** *
- 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** @verbatim
- 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** ==============================================================================
- 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** ##### How to use this driver #####
- 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** ==============================================================================
- 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** [..]
- 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** *** Dual mode IO operation ***
- 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** ==============================
- 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** (+) When Dual mode is enabled (i.e. DAC Channel1 and Channel2 are used simultaneously) :
- 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** Use HAL_DACEx_DualGetValue() to get digital data to be converted and use
- 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** HAL_DACEx_DualSetValue() to set digital value to converted simultaneously in
- 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** Channel 1 and Channel 2.
- 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** *** Signal generation operation ***
- 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** ===================================
- 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** (+) Use HAL_DACEx_TriangleWaveGenerate() to generate Triangle signal.
- 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** (+) Use HAL_DACEx_NoiseWaveGenerate() to generate Noise signal.
- 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** @endverbatim
- 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** ******************************************************************************
- 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @attention
- 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** *
- 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * © Copyright (c) 2016 STMicroelectronics.
- 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * All rights reserved.
- 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** *
-ARM GAS /tmp/ccEpsZWs.s page 2
-
-
- 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * the "License"; You may not use this file except in compliance with the
- 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * License. You may obtain a copy of the License at:
- 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * opensource.org/licenses/BSD-3-Clause
- 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** *
- 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** ******************************************************************************
- 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Includes ------------------------------------------------------------------*/
- 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** #include "stm32f1xx_hal.h"
- 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /** @addtogroup STM32F1xx_HAL_Driver
- 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @{
- 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** #ifdef HAL_DAC_MODULE_ENABLED
- 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** #if defined(DAC)
- 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /** @defgroup DACEx DACEx
- 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @brief DAC Extended HAL module driver
- 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @{
- 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Private typedef -----------------------------------------------------------*/
- 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Private define ------------------------------------------------------------*/
- 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Private macro -------------------------------------------------------------*/
- 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Private variables ---------------------------------------------------------*/
- 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Private function prototypes -----------------------------------------------*/
- 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Exported functions --------------------------------------------------------*/
- 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /** @defgroup DACEx_Exported_Functions DACEx Exported Functions
- 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @{
- 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /** @defgroup DACEx_Exported_Functions_Group2 IO operation functions
- 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @brief Extended IO operation functions
- 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** *
- 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** @verbatim
- 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** ==============================================================================
- 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** ##### Extended features functions #####
- 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** ==============================================================================
- 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** [..] This section provides functions allowing to:
- 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** (+) Start conversion.
- 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** (+) Stop conversion.
- 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** (+) Start conversion and enable DMA transfer.
- 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** (+) Stop conversion and disable DMA transfer.
- 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** (+) Get result of conversion.
- 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** (+) Get result of dual mode conversion.
- 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** @endverbatim
- 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @{
- 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /**
- 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @brief Enable or disable the selected DAC channel wave generation.
-ARM GAS /tmp/ccEpsZWs.s page 3
-
-
- 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
- 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * the configuration information for the specified DAC.
- 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @param Channel The selected DAC channel.
- 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * This parameter can be one of the following values:
- 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_CHANNEL_1: DAC Channel1 selected
- 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_CHANNEL_2: DAC Channel2 selected
- 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @param Amplitude Select max triangle amplitude.
- 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * This parameter can be one of the following values:
- 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_TRIANGLEAMPLITUDE_1: Select max triangle amplitude of 1
- 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_TRIANGLEAMPLITUDE_3: Select max triangle amplitude of 3
- 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_TRIANGLEAMPLITUDE_7: Select max triangle amplitude of 7
- 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_TRIANGLEAMPLITUDE_15: Select max triangle amplitude of 15
- 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_TRIANGLEAMPLITUDE_31: Select max triangle amplitude of 31
- 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_TRIANGLEAMPLITUDE_63: Select max triangle amplitude of 63
- 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_TRIANGLEAMPLITUDE_127: Select max triangle amplitude of 127
- 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_TRIANGLEAMPLITUDE_255: Select max triangle amplitude of 255
- 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_TRIANGLEAMPLITUDE_511: Select max triangle amplitude of 511
- 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_TRIANGLEAMPLITUDE_1023: Select max triangle amplitude of 1023
- 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_TRIANGLEAMPLITUDE_2047: Select max triangle amplitude of 2047
- 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_TRIANGLEAMPLITUDE_4095: Select max triangle amplitude of 4095
- 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @retval HAL status
- 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** HAL_StatusTypeDef HAL_DACEx_TriangleWaveGenerate(DAC_HandleTypeDef *hdac, uint32_t Channel, uint32_
- 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** {
- 26 .loc 1 114 0
- 27 .cfi_startproc
- 28 @ args = 0, pretend = 0, frame = 0
- 29 @ frame_needed = 0, uses_anonymous_args = 0
- 30 @ link register save eliminated.
- 31 .LVL0:
- 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Check the parameters */
- 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** assert_param(IS_DAC_CHANNEL(Channel));
- 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** assert_param(IS_DAC_LFSR_UNMASK_TRIANGLE_AMPLITUDE(Amplitude));
- 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Process locked */
- 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** __HAL_LOCK(hdac);
- 32 .loc 1 120 0
- 33 0000 4379 ldrb r3, [r0, #5] @ zero_extendqisi2
- 34 0002 012B cmp r3, #1
- 35 0004 18D0 beq .L3
- 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Check the parameters */
- 36 .loc 1 114 0 discriminator 2
- 37 0006 70B4 push {r4, r5, r6}
- 38 .LCFI0:
- 39 .cfi_def_cfa_offset 12
- 40 .cfi_offset 4, -12
- 41 .cfi_offset 5, -8
- 42 .cfi_offset 6, -4
- 43 .loc 1 120 0 discriminator 2
- 44 0008 0125 movs r5, #1
- 45 000a 4571 strb r5, [r0, #5]
- 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Change DAC state */
- 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** hdac->State = HAL_DAC_STATE_BUSY;
- 46 .loc 1 123 0 discriminator 2
- 47 000c 0223 movs r3, #2
- 48 000e 0371 strb r3, [r0, #4]
-ARM GAS /tmp/ccEpsZWs.s page 4
-
-
- 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Enable the triangle wave generation for the selected DAC channel */
- 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** MODIFY_REG(hdac->Instance->CR, ((DAC_CR_WAVE1) | (DAC_CR_MAMP1)) << (Channel & 0x10UL), (DAC_CR_W
- 49 .loc 1 126 0 discriminator 2
- 50 0010 0668 ldr r6, [r0]
- 51 0012 3368 ldr r3, [r6]
- 52 0014 01F01001 and r1, r1, #16
- 53 .LVL1:
- 54 0018 4FF47C64 mov r4, #4032
- 55 001c 8C40 lsls r4, r4, r1
- 56 001e 23EA0403 bic r3, r3, r4
- 57 0022 42F08002 orr r2, r2, #128
- 58 .LVL2:
- 59 0026 8A40 lsls r2, r2, r1
- 60 0028 1A43 orrs r2, r2, r3
- 61 002a 3260 str r2, [r6]
- 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Change DAC state */
- 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** hdac->State = HAL_DAC_STATE_READY;
- 62 .loc 1 129 0 discriminator 2
- 63 002c 0571 strb r5, [r0, #4]
- 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Process unlocked */
- 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** __HAL_UNLOCK(hdac);
- 64 .loc 1 132 0 discriminator 2
- 65 002e 0023 movs r3, #0
- 66 0030 4371 strb r3, [r0, #5]
- 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Return function status */
- 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** return HAL_OK;
- 67 .loc 1 135 0 discriminator 2
- 68 0032 1846 mov r0, r3
- 69 .LVL3:
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** }
- 70 .loc 1 136 0 discriminator 2
- 71 0034 70BC pop {r4, r5, r6}
- 72 .LCFI1:
- 73 .cfi_restore 6
- 74 .cfi_restore 5
- 75 .cfi_restore 4
- 76 .cfi_def_cfa_offset 0
- 77 0036 7047 bx lr
- 78 .LVL4:
- 79 .L3:
- 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 80 .loc 1 120 0
- 81 0038 0220 movs r0, #2
- 82 .LVL5:
- 83 003a 7047 bx lr
- 84 .cfi_endproc
- 85 .LFE65:
- 87 .section .text.HAL_DACEx_NoiseWaveGenerate,"ax",%progbits
- 88 .align 1
- 89 .global HAL_DACEx_NoiseWaveGenerate
- 90 .syntax unified
- 91 .thumb
- 92 .thumb_func
-ARM GAS /tmp/ccEpsZWs.s page 5
-
-
- 93 .fpu softvfp
- 95 HAL_DACEx_NoiseWaveGenerate:
- 96 .LFB66:
- 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /**
- 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @brief Enable or disable the selected DAC channel wave generation.
- 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
- 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * the configuration information for the specified DAC.
- 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @param Channel The selected DAC channel.
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * This parameter can be one of the following values:
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_CHANNEL_1: DAC Channel1 selected
- 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_CHANNEL_2: DAC Channel2 selected
- 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @param Amplitude Unmask DAC channel LFSR for noise wave generation.
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * This parameter can be one of the following values:
- 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_LFSRUNMASK_BIT0: Unmask DAC channel LFSR bit0 for noise wave generation
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_LFSRUNMASK_BITS1_0: Unmask DAC channel LFSR bit[1:0] for noise wave generat
- 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_LFSRUNMASK_BITS2_0: Unmask DAC channel LFSR bit[2:0] for noise wave generat
- 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_LFSRUNMASK_BITS3_0: Unmask DAC channel LFSR bit[3:0] for noise wave generat
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_LFSRUNMASK_BITS4_0: Unmask DAC channel LFSR bit[4:0] for noise wave generat
- 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_LFSRUNMASK_BITS5_0: Unmask DAC channel LFSR bit[5:0] for noise wave generat
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_LFSRUNMASK_BITS6_0: Unmask DAC channel LFSR bit[6:0] for noise wave generat
- 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_LFSRUNMASK_BITS7_0: Unmask DAC channel LFSR bit[7:0] for noise wave generat
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_LFSRUNMASK_BITS8_0: Unmask DAC channel LFSR bit[8:0] for noise wave generat
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_LFSRUNMASK_BITS9_0: Unmask DAC channel LFSR bit[9:0] for noise wave generat
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_LFSRUNMASK_BITS10_0: Unmask DAC channel LFSR bit[10:0] for noise wave gener
- 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @arg DAC_LFSRUNMASK_BITS11_0: Unmask DAC channel LFSR bit[11:0] for noise wave gener
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @retval HAL status
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** HAL_StatusTypeDef HAL_DACEx_NoiseWaveGenerate(DAC_HandleTypeDef *hdac, uint32_t Channel, uint32_t A
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** {
- 97 .loc 1 163 0
- 98 .cfi_startproc
- 99 @ args = 0, pretend = 0, frame = 0
- 100 @ frame_needed = 0, uses_anonymous_args = 0
- 101 @ link register save eliminated.
- 102 .LVL6:
- 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Check the parameters */
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** assert_param(IS_DAC_CHANNEL(Channel));
- 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** assert_param(IS_DAC_LFSR_UNMASK_TRIANGLE_AMPLITUDE(Amplitude));
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Process locked */
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** __HAL_LOCK(hdac);
- 103 .loc 1 169 0
- 104 0000 4379 ldrb r3, [r0, #5] @ zero_extendqisi2
- 105 0002 012B cmp r3, #1
- 106 0004 18D0 beq .L10
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Check the parameters */
- 107 .loc 1 163 0 discriminator 2
- 108 0006 70B4 push {r4, r5, r6}
- 109 .LCFI2:
- 110 .cfi_def_cfa_offset 12
- 111 .cfi_offset 4, -12
- 112 .cfi_offset 5, -8
- 113 .cfi_offset 6, -4
- 114 .loc 1 169 0 discriminator 2
- 115 0008 0125 movs r5, #1
- 116 000a 4571 strb r5, [r0, #5]
-ARM GAS /tmp/ccEpsZWs.s page 6
-
-
- 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Change DAC state */
- 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** hdac->State = HAL_DAC_STATE_BUSY;
- 117 .loc 1 172 0 discriminator 2
- 118 000c 0223 movs r3, #2
- 119 000e 0371 strb r3, [r0, #4]
- 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Enable the noise wave generation for the selected DAC channel */
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** MODIFY_REG(hdac->Instance->CR, ((DAC_CR_WAVE1) | (DAC_CR_MAMP1)) << (Channel & 0x10UL), (DAC_CR_W
- 120 .loc 1 175 0 discriminator 2
- 121 0010 0668 ldr r6, [r0]
- 122 0012 3368 ldr r3, [r6]
- 123 0014 01F01001 and r1, r1, #16
- 124 .LVL7:
- 125 0018 4FF47C64 mov r4, #4032
- 126 001c 8C40 lsls r4, r4, r1
- 127 001e 23EA0403 bic r3, r3, r4
- 128 0022 42F04002 orr r2, r2, #64
- 129 .LVL8:
- 130 0026 8A40 lsls r2, r2, r1
- 131 0028 1A43 orrs r2, r2, r3
- 132 002a 3260 str r2, [r6]
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Change DAC state */
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** hdac->State = HAL_DAC_STATE_READY;
- 133 .loc 1 178 0 discriminator 2
- 134 002c 0571 strb r5, [r0, #4]
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Process unlocked */
- 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** __HAL_UNLOCK(hdac);
- 135 .loc 1 181 0 discriminator 2
- 136 002e 0023 movs r3, #0
- 137 0030 4371 strb r3, [r0, #5]
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Return function status */
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** return HAL_OK;
- 138 .loc 1 184 0 discriminator 2
- 139 0032 1846 mov r0, r3
- 140 .LVL9:
- 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** }
- 141 .loc 1 185 0 discriminator 2
- 142 0034 70BC pop {r4, r5, r6}
- 143 .LCFI3:
- 144 .cfi_restore 6
- 145 .cfi_restore 5
- 146 .cfi_restore 4
- 147 .cfi_def_cfa_offset 0
- 148 0036 7047 bx lr
- 149 .LVL10:
- 150 .L10:
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 151 .loc 1 169 0
- 152 0038 0220 movs r0, #2
- 153 .LVL11:
- 154 003a 7047 bx lr
- 155 .cfi_endproc
- 156 .LFE66:
-ARM GAS /tmp/ccEpsZWs.s page 7
-
-
- 158 .section .text.HAL_DACEx_DualSetValue,"ax",%progbits
- 159 .align 1
- 160 .global HAL_DACEx_DualSetValue
- 161 .syntax unified
- 162 .thumb
- 163 .thumb_func
- 164 .fpu softvfp
- 166 HAL_DACEx_DualSetValue:
- 167 .LFB67:
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /**
- 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @brief Set the specified data holding register value for dual DAC channel.
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * the configuration information for the specified DAC.
- 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @param Alignment Specifies the data alignment for dual channel DAC.
- 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * This parameter can be one of the following values:
- 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * DAC_ALIGN_8B_R: 8bit right data alignment selected
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * DAC_ALIGN_12B_L: 12bit left data alignment selected
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * DAC_ALIGN_12B_R: 12bit right data alignment selected
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @param Data1 Data for DAC Channel1 to be loaded in the selected data holding register.
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @param Data2 Data for DAC Channel2 to be loaded in the selected data holding register.
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @note In dual mode, a unique register access is required to write in both
- 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * DAC channels at the same time.
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @retval HAL status
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** HAL_StatusTypeDef HAL_DACEx_DualSetValue(DAC_HandleTypeDef *hdac, uint32_t Alignment, uint32_t Data
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** {
- 168 .loc 1 203 0
- 169 .cfi_startproc
- 170 @ args = 0, pretend = 0, frame = 0
- 171 @ frame_needed = 0, uses_anonymous_args = 0
- 172 @ link register save eliminated.
- 173 .LVL12:
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** uint32_t data;
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** uint32_t tmp;
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Check the parameters */
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** assert_param(IS_DAC_ALIGN(Alignment));
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** assert_param(IS_DAC_DATA(Data1));
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** assert_param(IS_DAC_DATA(Data2));
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Calculate and set dual DAC data holding register value */
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** if (Alignment == DAC_ALIGN_8B_R)
- 174 .loc 1 213 0
- 175 0000 0829 cmp r1, #8
- 176 0002 06D0 beq .L18
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** {
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** data = ((uint32_t)Data2 << 8U) | Data1;
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** }
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** else
- 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** {
- 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** data = ((uint32_t)Data2 << 16U) | Data1;
- 177 .loc 1 219 0
- 178 0004 42EA0342 orr r2, r2, r3, lsl #16
- 179 .LVL13:
- 180 .L17:
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** }
-ARM GAS /tmp/ccEpsZWs.s page 8
-
-
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** tmp = (uint32_t)hdac->Instance;
- 181 .loc 1 222 0
- 182 0008 0368 ldr r3, [r0]
- 183 .LVL14:
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** tmp += DAC_DHR12RD_ALIGNMENT(Alignment);
- 184 .loc 1 223 0
- 185 000a 1944 add r1, r1, r3
- 186 .LVL15:
- 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Set the dual DAC selected data holding register */
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** *(__IO uint32_t *)tmp = data;
- 187 .loc 1 226 0
- 188 000c 0A62 str r2, [r1, #32]
- 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Return function status */
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** return HAL_OK;
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** }
- 189 .loc 1 230 0
- 190 000e 0020 movs r0, #0
- 191 .LVL16:
- 192 0010 7047 bx lr
- 193 .LVL17:
- 194 .L18:
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** }
- 195 .loc 1 215 0
- 196 0012 42EA0322 orr r2, r2, r3, lsl #8
- 197 .LVL18:
- 198 0016 F7E7 b .L17
- 199 .cfi_endproc
- 200 .LFE67:
- 202 .section .text.HAL_DACEx_ConvCpltCallbackCh2,"ax",%progbits
- 203 .align 1
- 204 .weak HAL_DACEx_ConvCpltCallbackCh2
- 205 .syntax unified
- 206 .thumb
- 207 .thumb_func
- 208 .fpu softvfp
- 210 HAL_DACEx_ConvCpltCallbackCh2:
- 211 .LFB68:
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /**
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @brief Conversion complete callback in non-blocking mode for Channel2.
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * the configuration information for the specified DAC.
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @retval None
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** __weak void HAL_DACEx_ConvCpltCallbackCh2(DAC_HandleTypeDef *hdac)
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** {
- 212 .loc 1 239 0
- 213 .cfi_startproc
- 214 @ args = 0, pretend = 0, frame = 0
- 215 @ frame_needed = 0, uses_anonymous_args = 0
- 216 @ link register save eliminated.
- 217 .LVL19:
- 218 0000 7047 bx lr
- 219 .cfi_endproc
-ARM GAS /tmp/ccEpsZWs.s page 9
-
-
- 220 .LFE68:
- 222 .section .text.HAL_DACEx_ConvHalfCpltCallbackCh2,"ax",%progbits
- 223 .align 1
- 224 .weak HAL_DACEx_ConvHalfCpltCallbackCh2
- 225 .syntax unified
- 226 .thumb
- 227 .thumb_func
- 228 .fpu softvfp
- 230 HAL_DACEx_ConvHalfCpltCallbackCh2:
- 231 .LFB69:
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Prevent unused argument(s) compilation warning */
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** UNUSED(hdac);
- 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** the HAL_DACEx_ConvCpltCallbackCh2 could be implemented in the user file
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** }
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /**
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @brief Conversion half DMA transfer callback in non-blocking mode for Channel2.
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * the configuration information for the specified DAC.
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @retval None
- 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** __weak void HAL_DACEx_ConvHalfCpltCallbackCh2(DAC_HandleTypeDef *hdac)
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** {
- 232 .loc 1 255 0
- 233 .cfi_startproc
- 234 @ args = 0, pretend = 0, frame = 0
- 235 @ frame_needed = 0, uses_anonymous_args = 0
- 236 @ link register save eliminated.
- 237 .LVL20:
- 238 0000 7047 bx lr
- 239 .cfi_endproc
- 240 .LFE69:
- 242 .section .text.HAL_DACEx_ErrorCallbackCh2,"ax",%progbits
- 243 .align 1
- 244 .weak HAL_DACEx_ErrorCallbackCh2
- 245 .syntax unified
- 246 .thumb
- 247 .thumb_func
- 248 .fpu softvfp
- 250 HAL_DACEx_ErrorCallbackCh2:
- 251 .LFB70:
- 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Prevent unused argument(s) compilation warning */
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** UNUSED(hdac);
- 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
- 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** the HAL_DACEx_ConvHalfCpltCallbackCh2 could be implemented in the user file
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** }
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /**
- 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @brief Error DAC callback for Channel2.
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * the configuration information for the specified DAC.
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @retval None
-ARM GAS /tmp/ccEpsZWs.s page 10
-
-
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** __weak void HAL_DACEx_ErrorCallbackCh2(DAC_HandleTypeDef *hdac)
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** {
- 252 .loc 1 271 0
- 253 .cfi_startproc
- 254 @ args = 0, pretend = 0, frame = 0
- 255 @ frame_needed = 0, uses_anonymous_args = 0
- 256 @ link register save eliminated.
- 257 .LVL21:
- 258 0000 7047 bx lr
- 259 .cfi_endproc
- 260 .LFE70:
- 262 .section .text.HAL_DACEx_DMAUnderrunCallbackCh2,"ax",%progbits
- 263 .align 1
- 264 .weak HAL_DACEx_DMAUnderrunCallbackCh2
- 265 .syntax unified
- 266 .thumb
- 267 .thumb_func
- 268 .fpu softvfp
- 270 HAL_DACEx_DMAUnderrunCallbackCh2:
- 271 .LFB71:
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Prevent unused argument(s) compilation warning */
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** UNUSED(hdac);
- 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** the HAL_DACEx_ErrorCallbackCh2 could be implemented in the user file
- 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** }
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /**
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @brief DMA underrun DAC callback for Channel2.
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * the configuration information for the specified DAC.
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @retval None
- 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** __weak void HAL_DACEx_DMAUnderrunCallbackCh2(DAC_HandleTypeDef *hdac)
- 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** {
- 272 .loc 1 287 0
- 273 .cfi_startproc
- 274 @ args = 0, pretend = 0, frame = 0
- 275 @ frame_needed = 0, uses_anonymous_args = 0
- 276 @ link register save eliminated.
- 277 .LVL22:
- 278 0000 7047 bx lr
- 279 .cfi_endproc
- 280 .LFE71:
- 282 .section .text.HAL_DACEx_DualGetValue,"ax",%progbits
- 283 .align 1
- 284 .global HAL_DACEx_DualGetValue
- 285 .syntax unified
- 286 .thumb
- 287 .thumb_func
- 288 .fpu softvfp
- 290 HAL_DACEx_DualGetValue:
- 291 .LFB72:
- 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Prevent unused argument(s) compilation warning */
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** UNUSED(hdac);
-ARM GAS /tmp/ccEpsZWs.s page 11
-
-
- 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
- 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** the HAL_DACEx_DMAUnderrunCallbackCh2 could be implemented in the user file
- 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** }
- 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /**
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @}
- 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /** @defgroup DACEx_Exported_Functions_Group3 Peripheral Control functions
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @brief Extended Peripheral Control functions
- 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** *
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** @verbatim
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** ==============================================================================
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** ##### Peripheral Control functions #####
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** ==============================================================================
- 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** [..] This section provides functions allowing to:
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** (+) Set the specified data holding register value for DAC channel.
- 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** @endverbatim
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @{
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /**
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @brief Return the last data output value of the selected DAC channel.
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @param hdac pointer to a DAC_HandleTypeDef structure that contains
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * the configuration information for the specified DAC.
- 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @retval The selected DAC channel data output value.
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** uint32_t HAL_DACEx_DualGetValue(DAC_HandleTypeDef *hdac)
- 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** {
- 292 .loc 1 321 0
- 293 .cfi_startproc
- 294 @ args = 0, pretend = 0, frame = 0
- 295 @ frame_needed = 0, uses_anonymous_args = 0
- 296 @ link register save eliminated.
- 297 .LVL23:
- 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** uint32_t tmp = 0U;
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** tmp |= hdac->Instance->DOR1;
- 298 .loc 1 324 0
- 299 0000 0368 ldr r3, [r0]
- 300 0002 DA6A ldr r2, [r3, #44]
- 301 .LVL24:
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** tmp |= hdac->Instance->DOR2 << 16U;
- 302 .loc 1 326 0
- 303 0004 186B ldr r0, [r3, #48]
- 304 .LVL25:
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Returns the DAC channel data output register value */
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** return tmp;
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** }
- 305 .loc 1 330 0
- 306 0006 42EA0040 orr r0, r2, r0, lsl #16
- 307 .LVL26:
-ARM GAS /tmp/ccEpsZWs.s page 12
-
-
- 308 000a 7047 bx lr
- 309 .cfi_endproc
- 310 .LFE72:
- 312 .section .text.DAC_DMAConvCpltCh2,"ax",%progbits
- 313 .align 1
- 314 .global DAC_DMAConvCpltCh2
- 315 .syntax unified
- 316 .thumb
- 317 .thumb_func
- 318 .fpu softvfp
- 320 DAC_DMAConvCpltCh2:
- 321 .LFB73:
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /**
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @}
- 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /**
- 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @}
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Private functions ---------------------------------------------------------*/
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /** @defgroup DACEx_Private_Functions DACEx private functions
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @brief Extended private functions
- 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @{
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /**
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @brief DMA conversion complete callback.
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
- 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * the configuration information for the specified DMA module.
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @retval None
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** void DAC_DMAConvCpltCh2(DMA_HandleTypeDef *hdma)
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** {
- 322 .loc 1 353 0
- 323 .cfi_startproc
- 324 @ args = 0, pretend = 0, frame = 0
- 325 @ frame_needed = 0, uses_anonymous_args = 0
- 326 .LVL27:
- 327 0000 10B5 push {r4, lr}
- 328 .LCFI4:
- 329 .cfi_def_cfa_offset 8
- 330 .cfi_offset 4, -8
- 331 .cfi_offset 14, -4
- 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** DAC_HandleTypeDef *hdac = (DAC_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 332 .loc 1 354 0
- 333 0002 446A ldr r4, [r0, #36]
- 334 .LVL28:
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** #if (USE_HAL_DAC_REGISTER_CALLBACKS == 1)
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** hdac->ConvCpltCallbackCh2(hdac);
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** #else
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** HAL_DACEx_ConvCpltCallbackCh2(hdac);
- 335 .loc 1 359 0
- 336 0004 2046 mov r0, r4
- 337 .LVL29:
-ARM GAS /tmp/ccEpsZWs.s page 13
-
-
- 338 0006 FFF7FEFF bl HAL_DACEx_ConvCpltCallbackCh2
- 339 .LVL30:
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** #endif /* USE_HAL_DAC_REGISTER_CALLBACKS */
- 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** hdac->State = HAL_DAC_STATE_READY;
- 340 .loc 1 362 0
- 341 000a 0123 movs r3, #1
- 342 000c 2371 strb r3, [r4, #4]
- 343 000e 10BD pop {r4, pc}
- 344 .cfi_endproc
- 345 .LFE73:
- 347 .section .text.DAC_DMAHalfConvCpltCh2,"ax",%progbits
- 348 .align 1
- 349 .global DAC_DMAHalfConvCpltCh2
- 350 .syntax unified
- 351 .thumb
- 352 .thumb_func
- 353 .fpu softvfp
- 355 DAC_DMAHalfConvCpltCh2:
- 356 .LFB74:
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** }
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /**
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @brief DMA half transfer complete callback.
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
- 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * the configuration information for the specified DMA module.
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @retval None
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** void DAC_DMAHalfConvCpltCh2(DMA_HandleTypeDef *hdma)
- 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** {
- 357 .loc 1 372 0
- 358 .cfi_startproc
- 359 @ args = 0, pretend = 0, frame = 0
- 360 @ frame_needed = 0, uses_anonymous_args = 0
- 361 .LVL31:
- 362 0000 08B5 push {r3, lr}
- 363 .LCFI5:
- 364 .cfi_def_cfa_offset 8
- 365 .cfi_offset 3, -8
- 366 .cfi_offset 14, -4
- 367 .LVL32:
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** DAC_HandleTypeDef *hdac = (DAC_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Conversion complete callback */
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** #if (USE_HAL_DAC_REGISTER_CALLBACKS == 1)
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** hdac->ConvHalfCpltCallbackCh2(hdac);
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** #else
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** HAL_DACEx_ConvHalfCpltCallbackCh2(hdac);
- 368 .loc 1 378 0
- 369 0002 406A ldr r0, [r0, #36]
- 370 .LVL33:
- 371 0004 FFF7FEFF bl HAL_DACEx_ConvHalfCpltCallbackCh2
- 372 .LVL34:
- 373 0008 08BD pop {r3, pc}
- 374 .cfi_endproc
- 375 .LFE74:
- 377 .section .text.DAC_DMAErrorCh2,"ax",%progbits
- 378 .align 1
-ARM GAS /tmp/ccEpsZWs.s page 14
-
-
- 379 .global DAC_DMAErrorCh2
- 380 .syntax unified
- 381 .thumb
- 382 .thumb_func
- 383 .fpu softvfp
- 385 DAC_DMAErrorCh2:
- 386 .LFB75:
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** #endif /* USE_HAL_DAC_REGISTER_CALLBACKS */
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** }
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /**
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @brief DMA error callback.
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * the configuration information for the specified DMA module.
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** * @retval None
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** */
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** void DAC_DMAErrorCh2(DMA_HandleTypeDef *hdma)
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** {
- 387 .loc 1 389 0
- 388 .cfi_startproc
- 389 @ args = 0, pretend = 0, frame = 0
- 390 @ frame_needed = 0, uses_anonymous_args = 0
- 391 .LVL35:
- 392 0000 10B5 push {r4, lr}
- 393 .LCFI6:
- 394 .cfi_def_cfa_offset 8
- 395 .cfi_offset 4, -8
- 396 .cfi_offset 14, -4
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** DAC_HandleTypeDef *hdac = (DAC_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 397 .loc 1 390 0
- 398 0002 446A ldr r4, [r0, #36]
- 399 .LVL36:
- 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** /* Set DAC error code to DMA error */
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** hdac->ErrorCode |= HAL_DAC_ERROR_DMA;
- 400 .loc 1 393 0
- 401 0004 2369 ldr r3, [r4, #16]
- 402 0006 43F00403 orr r3, r3, #4
- 403 000a 2361 str r3, [r4, #16]
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** #if (USE_HAL_DAC_REGISTER_CALLBACKS == 1)
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** hdac->ErrorCallbackCh2(hdac);
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** #else
- 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** HAL_DACEx_ErrorCallbackCh2(hdac);
- 404 .loc 1 398 0
- 405 000c 2046 mov r0, r4
- 406 .LVL37:
- 407 000e FFF7FEFF bl HAL_DACEx_ErrorCallbackCh2
- 408 .LVL38:
- 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** #endif /* USE_HAL_DAC_REGISTER_CALLBACKS */
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c ****
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dac_ex.c **** hdac->State = HAL_DAC_STATE_READY;
- 409 .loc 1 401 0
- 410 0012 0123 movs r3, #1
- 411 0014 2371 strb r3, [r4, #4]
- 412 0016 10BD pop {r4, pc}
- 413 .cfi_endproc
-ARM GAS /tmp/ccEpsZWs.s page 15
-
-
- 414 .LFE75:
- 416 .text
- 417 .Letext0:
- 418 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 419 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 420 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 421 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 422 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 423 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 424 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
- 425 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h"
- 426 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
-ARM GAS /tmp/ccEpsZWs.s page 16
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_hal_dac_ex.c
- /tmp/ccEpsZWs.s:16 .text.HAL_DACEx_TriangleWaveGenerate:0000000000000000 $t
- /tmp/ccEpsZWs.s:23 .text.HAL_DACEx_TriangleWaveGenerate:0000000000000000 HAL_DACEx_TriangleWaveGenerate
- /tmp/ccEpsZWs.s:88 .text.HAL_DACEx_NoiseWaveGenerate:0000000000000000 $t
- /tmp/ccEpsZWs.s:95 .text.HAL_DACEx_NoiseWaveGenerate:0000000000000000 HAL_DACEx_NoiseWaveGenerate
- /tmp/ccEpsZWs.s:159 .text.HAL_DACEx_DualSetValue:0000000000000000 $t
- /tmp/ccEpsZWs.s:166 .text.HAL_DACEx_DualSetValue:0000000000000000 HAL_DACEx_DualSetValue
- /tmp/ccEpsZWs.s:203 .text.HAL_DACEx_ConvCpltCallbackCh2:0000000000000000 $t
- /tmp/ccEpsZWs.s:210 .text.HAL_DACEx_ConvCpltCallbackCh2:0000000000000000 HAL_DACEx_ConvCpltCallbackCh2
- /tmp/ccEpsZWs.s:223 .text.HAL_DACEx_ConvHalfCpltCallbackCh2:0000000000000000 $t
- /tmp/ccEpsZWs.s:230 .text.HAL_DACEx_ConvHalfCpltCallbackCh2:0000000000000000 HAL_DACEx_ConvHalfCpltCallbackCh2
- /tmp/ccEpsZWs.s:243 .text.HAL_DACEx_ErrorCallbackCh2:0000000000000000 $t
- /tmp/ccEpsZWs.s:250 .text.HAL_DACEx_ErrorCallbackCh2:0000000000000000 HAL_DACEx_ErrorCallbackCh2
- /tmp/ccEpsZWs.s:263 .text.HAL_DACEx_DMAUnderrunCallbackCh2:0000000000000000 $t
- /tmp/ccEpsZWs.s:270 .text.HAL_DACEx_DMAUnderrunCallbackCh2:0000000000000000 HAL_DACEx_DMAUnderrunCallbackCh2
- /tmp/ccEpsZWs.s:283 .text.HAL_DACEx_DualGetValue:0000000000000000 $t
- /tmp/ccEpsZWs.s:290 .text.HAL_DACEx_DualGetValue:0000000000000000 HAL_DACEx_DualGetValue
- /tmp/ccEpsZWs.s:313 .text.DAC_DMAConvCpltCh2:0000000000000000 $t
- /tmp/ccEpsZWs.s:320 .text.DAC_DMAConvCpltCh2:0000000000000000 DAC_DMAConvCpltCh2
- /tmp/ccEpsZWs.s:348 .text.DAC_DMAHalfConvCpltCh2:0000000000000000 $t
- /tmp/ccEpsZWs.s:355 .text.DAC_DMAHalfConvCpltCh2:0000000000000000 DAC_DMAHalfConvCpltCh2
- /tmp/ccEpsZWs.s:378 .text.DAC_DMAErrorCh2:0000000000000000 $t
- /tmp/ccEpsZWs.s:385 .text.DAC_DMAErrorCh2:0000000000000000 DAC_DMAErrorCh2
- .debug_frame:0000000000000010 $d
-
-NO UNDEFINED SYMBOLS
diff --git a/build/stm32f1xx_hal_dac_ex.o b/build/stm32f1xx_hal_dac_ex.o
deleted file mode 100644
index 0e7a092..0000000
Binary files a/build/stm32f1xx_hal_dac_ex.o and /dev/null differ
diff --git a/build/stm32f1xx_hal_dma.d b/build/stm32f1xx_hal_dma.d
deleted file mode 100644
index 2e3d650..0000000
--- a/build/stm32f1xx_hal_dma.d
+++ /dev/null
@@ -1,93 +0,0 @@
-build/stm32f1xx_hal_dma.o: \
- Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/stm32f1xx_hal_dma.lst b/build/stm32f1xx_hal_dma.lst
deleted file mode 100644
index 5eb7914..0000000
--- a/build/stm32f1xx_hal_dma.lst
+++ /dev/null
@@ -1,3928 +0,0 @@
-ARM GAS /tmp/cctXRS3L.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "stm32f1xx_hal_dma.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.DMA_SetConfig,"ax",%progbits
- 16 .align 1
- 17 .syntax unified
- 18 .thumb
- 19 .thumb_func
- 20 .fpu softvfp
- 22 DMA_SetConfig:
- 23 .LFB77:
- 24 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c"
- 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ******************************************************************************
- 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @file stm32f1xx_hal_dma.c
- 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @author MCD Application Team
- 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief DMA HAL module driver.
- 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * This file provides firmware functions to manage the following
- 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * functionalities of the Direct Memory Access (DMA) peripheral:
- 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * + Initialization and de-initialization functions
- 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * + IO operation functions
- 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * + Peripheral State and errors functions
- 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @verbatim
- 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ==============================================================================
- 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ##### How to use this driver #####
- 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ==============================================================================
- 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..]
- 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (#) Enable and configure the peripheral to be connected to the DMA Channel
- 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (except for internal SRAM / FLASH memories: no initialization is
- 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** necessary). Please refer to the Reference manual for connection between peripherals
- 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** and DMA requests.
- 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (#) For a given Channel, program the required configuration through the following parameters:
- 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** Channel request, Transfer Direction, Source and Destination data formats,
- 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** Circular or Normal mode, Channel Priority level, Source and Destination Increment mode
- 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** using HAL_DMA_Init() function.
- 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (#) Use HAL_DMA_GetState() function to return the DMA state and HAL_DMA_GetError() in case of er
- 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** detection.
- 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (#) Use HAL_DMA_Abort() function to abort the current transfer
- 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** -@- In Memory-to-Memory transfer mode, Circular mode is not allowed.
- 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *** Polling mode IO operation ***
- 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** =================================
- 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..]
-ARM GAS /tmp/cctXRS3L.s page 2
-
-
- 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Use HAL_DMA_Start() to start DMA transfer after the configuration of Source
- 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** address and destination address and the Length of data to be transferred
- 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Use HAL_DMA_PollForTransfer() to poll for the end of current transfer, in this
- 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case a fixed Timeout can be configured by User depending from his application.
- 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *** Interrupt mode IO operation ***
- 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ===================================
- 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..]
- 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Configure the DMA interrupt priority using HAL_NVIC_SetPriority()
- 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Enable the DMA IRQ handler using HAL_NVIC_EnableIRQ()
- 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Use HAL_DMA_Start_IT() to start DMA transfer after the configuration of
- 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** Source address and destination address and the Length of data to be transferred.
- 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** In this case the DMA interrupt is configured
- 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Use HAL_DMA_IRQHandler() called under DMA_IRQHandler() Interrupt subroutine
- 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) At the end of data transfer HAL_DMA_IRQHandler() function is executed and user can
- 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** add his own function by customization of function pointer XferCpltCallback and
- 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** XferErrorCallback (i.e. a member of DMA handle structure).
- 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *** DMA HAL driver macros list ***
- 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** =============================================
- 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..]
- 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** Below the list of most used macros in DMA HAL driver.
- 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_ENABLE: Enable the specified DMA Channel.
- 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_DISABLE: Disable the specified DMA Channel.
- 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_GET_FLAG: Get the DMA Channel pending flags.
- 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_CLEAR_FLAG: Clear the DMA Channel pending flags.
- 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_ENABLE_IT: Enable the specified DMA Channel interrupts.
- 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_DISABLE_IT: Disable the specified DMA Channel interrupts.
- 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) __HAL_DMA_GET_IT_SOURCE: Check whether the specified DMA Channel interrupt has occurred
- 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..]
- 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (@) You can refer to the DMA HAL driver header file for more useful macros
- 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @endverbatim
- 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ******************************************************************************
- 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @attention
- 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *
- 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * © Copyright (c) 2016 STMicroelectronics.
- 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * All rights reserved.
- 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *
- 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the "License"; You may not use this file except in compliance with the
- 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * License. You may obtain a copy of the License at:
- 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * opensource.org/licenses/BSD-3-Clause
- 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *
- 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ******************************************************************************
- 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Includes ------------------------------------------------------------------*/
- 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #include "stm32f1xx_hal.h"
- 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @addtogroup STM32F1xx_HAL_Driver
- 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{
- 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @defgroup DMA DMA
-ARM GAS /tmp/cctXRS3L.s page 3
-
-
- 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief DMA HAL module driver
- 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{
- 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #ifdef HAL_DMA_MODULE_ENABLED
- 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Private typedef -----------------------------------------------------------*/
- 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Private define ------------------------------------------------------------*/
- 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Private macro -------------------------------------------------------------*/
- 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Private variables ---------------------------------------------------------*/
- 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Private function prototypes -----------------------------------------------*/
- 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @defgroup DMA_Private_Functions DMA Private Functions
- 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{
- 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** static void DMA_SetConfig(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32
- 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @}
- 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Exported functions ---------------------------------------------------------*/
- 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions DMA Exported Functions
- 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{
- 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions_Group1 Initialization and de-initialization functions
- 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Initialization and de-initialization functions
- 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *
- 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @verbatim
- 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ===============================================================================
- 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ##### Initialization and de-initialization functions #####
- 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ===============================================================================
- 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..]
- 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** This section provides functions allowing to initialize the DMA Channel source
- 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** and destination addresses, incrementation and data sizes, transfer direction,
- 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** circular/normal mode selection, memory-to-memory mode selection and Channel priority value.
- 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..]
- 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** The HAL_DMA_Init() function follows the DMA configuration procedures as described in
- 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** reference manual.
- 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @endverbatim
- 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{
- 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Initialize the DMA according to the specified
- 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * parameters in the DMA_InitTypeDef and initialize the associated handle.
- 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: Pointer to a DMA_HandleTypeDef structure that contains
- 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
- 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Init(DMA_HandleTypeDef *hdma)
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t tmp = 0U;
- 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the DMA handle allocation */
- 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(hdma == NULL)
-ARM GAS /tmp/cctXRS3L.s page 4
-
-
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
- 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the parameters */
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_ALL_INSTANCE(hdma->Instance));
- 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_DIRECTION(hdma->Init.Direction));
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_INC_STATE(hdma->Init.PeriphInc));
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_INC_STATE(hdma->Init.MemInc));
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_PERIPHERAL_DATA_SIZE(hdma->Init.PeriphDataAlignment));
- 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_MEMORY_DATA_SIZE(hdma->Init.MemDataAlignment));
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_MODE(hdma->Init.Mode));
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_PRIORITY(hdma->Init.Priority));
- 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #if defined (DMA2)
- 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* calculation of the channel index */
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if ((uint32_t)(hdma->Instance) < (uint32_t)(DMA2_Channel1))
- 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA1 */
- 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA1_Channel1) / ((uint32_t)DMA1_Ch
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
- 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
- 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA2 */
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA2_Channel1) / ((uint32_t)DMA2_Ch
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #else
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA1 */
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA1_Channel1) / ((uint32_t)DMA1_Chan
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
- 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #endif /* DMA2 */
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change DMA peripheral state */
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY;
- 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Get the CR register value */
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** tmp = hdma->Instance->CCR;
- 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear PL, MSIZE, PSIZE, MINC, PINC, CIRC and DIR bits */
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** tmp &= ((uint32_t)~(DMA_CCR_PL | DMA_CCR_MSIZE | DMA_CCR_PSIZE | \
- 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_CCR_MINC | DMA_CCR_PINC | DMA_CCR_CIRC | \
- 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_CCR_DIR));
- 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Prepare the DMA Channel configuration */
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** tmp |= hdma->Init.Direction |
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
- 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Write to DMA Channel CR register */
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CCR = tmp;
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Initialise the error code */
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
-ARM GAS /tmp/cctXRS3L.s page 5
-
-
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Initialize the DMA state*/
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Allocate lock resource and initialize it */
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Lock = HAL_UNLOCKED;
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_OK;
- 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief DeInitialize the DMA peripheral.
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
- 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_DeInit(DMA_HandleTypeDef *hdma)
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the DMA handle allocation */
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(hdma == NULL)
- 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the parameters */
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_ALL_INSTANCE(hdma->Instance));
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the selected DMA Channelx */
- 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma);
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Reset DMA Channel control register */
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CCR = 0U;
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Reset DMA Channel Number of Data to Transfer register */
- 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CNDTR = 0U;
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Reset DMA Channel peripheral address register */
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CPAR = 0U;
- 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Reset DMA Channel memory address register */
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CMAR = 0U;
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #if defined (DMA2)
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* calculation of the channel index */
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if ((uint32_t)(hdma->Instance) < (uint32_t)(DMA2_Channel1))
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA1 */
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA1_Channel1) / ((uint32_t)DMA1_Ch
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
- 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA2 */
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA2_Channel1) / ((uint32_t)DMA2_Ch
- 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #else
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA1 */
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ChannelIndex = (((uint32_t)hdma->Instance - (uint32_t)DMA1_Channel1) / ((uint32_t)DMA1_Chan
-ARM GAS /tmp/cctXRS3L.s page 6
-
-
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** #endif /* DMA2 */
- 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear all flags */
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_ISR_GIF1 << (hdma->ChannelIndex));
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clean all callbacks */
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferCpltCallback = NULL;
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
- 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Reset the error code */
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
- 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Reset the DMA state */
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_RESET;
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Release Lock */
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_OK;
- 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @}
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions_Group2 Input and Output operation functions
- 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Input and Output operation functions
- 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @verbatim
- 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ===============================================================================
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ##### IO operation functions #####
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ===============================================================================
- 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..] This section provides functions allowing to:
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Configure the source, destination address and data length and Start DMA transfer
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Configure the source, destination address and data length and
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** Start DMA transfer with interrupt
- 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Abort DMA transfer
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Poll for transfer complete
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Handle DMA interrupt request
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @endverbatim
- 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Start the DMA Transfer.
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
- 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param SrcAddress: The source memory Buffer address
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param DstAddress: The destination memory Buffer address
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param DataLength: The length of data to be transferred from source to destination
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
- 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Start(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress,
-ARM GAS /tmp/cctXRS3L.s page 7
-
-
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the parameters */
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_BUFFER_SIZE(DataLength));
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process locked */
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_LOCK(hdma);
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State)
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change DMA peripheral state */
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY;
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
- 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the peripheral */
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma);
- 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure the source, destination address and the data length & clear flags*/
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_SetConfig(hdma, SrcAddress, DstAddress, DataLength);
- 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Enable the Peripheral */
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_ENABLE(hdma);
- 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_BUSY;
- 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return status;
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Start the DMA Transfer with interrupt enabled.
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param SrcAddress: The source memory Buffer address
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param DstAddress: The destination memory Buffer address
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param DataLength: The length of data to be transferred from source to destination
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
- 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Start_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddres
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the parameters */
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** assert_param(IS_DMA_BUFFER_SIZE(DataLength));
- 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process locked */
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_LOCK(hdma);
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State)
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change DMA peripheral state */
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_BUSY;
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
-ARM GAS /tmp/cctXRS3L.s page 8
-
-
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the peripheral */
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma);
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure the source, destination address and the data length & clear flags*/
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_SetConfig(hdma, SrcAddress, DstAddress, DataLength);
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Enable the transfer complete interrupt */
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Enable the transfer Error interrupt */
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(NULL != hdma->XferHalfCpltCallback)
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Enable the Half transfer complete interrupt as well */
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_ENABLE_IT(hdma, (DMA_IT_TC | DMA_IT_HT | DMA_IT_TE));
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, DMA_IT_HT);
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_ENABLE_IT(hdma, (DMA_IT_TC | DMA_IT_TE));
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Enable the Peripheral */
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_ENABLE(hdma);
- 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
- 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Remain BUSY */
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_BUSY;
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return status;
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Abort the DMA Transfer.
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
- 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Abort(DMA_HandleTypeDef *hdma)
- 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(hdma->State != HAL_DMA_STATE_BUSY)
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* no transfer ongoing */
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER;
- 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
- 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable DMA IT */
-ARM GAS /tmp/cctXRS3L.s page 9
-
-
- 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, (DMA_IT_TC | DMA_IT_HT | DMA_IT_TE));
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the channel */
- 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma);
- 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear all flags */
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_ISR_GIF1 << hdma->ChannelIndex);
- 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change the DMA state */
- 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
- 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return status;
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Aborts the DMA Transfer in Interrupt mode.
- 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma : pointer to a DMA_HandleTypeDef structure that contains
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
- 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_Abort_IT(DMA_HandleTypeDef *hdma)
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(HAL_DMA_STATE_BUSY != hdma->State)
- 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* no transfer ongoing */
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER;
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_ERROR;
- 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
- 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable DMA IT */
- 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, (DMA_IT_TC | DMA_IT_HT | DMA_IT_TE));
- 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the channel */
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE(hdma);
- 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear all flags */
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_GI_FLAG_INDEX(hdma));
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change the DMA state */
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
- 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Call User Abort callback */
- 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(hdma->XferAbortCallback != NULL)
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback(hdma);
- 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
-ARM GAS /tmp/cctXRS3L.s page 10
-
-
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return status;
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Polling for transfer complete.
- 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param CompleteLevel: Specifies the DMA level complete.
- 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param Timeout: Timeout duration.
- 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
- 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_PollForTransfer(DMA_HandleTypeDef *hdma, uint32_t CompleteLevel, uint32_t
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t temp;
- 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t tickstart = 0U;
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(HAL_DMA_STATE_BUSY != hdma->State)
- 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* no transfer ongoing */
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER;
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
- 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Polling mode not supported in circular mode */
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if (RESET != (hdma->Instance->CCR & DMA_CCR_CIRC))
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NOT_SUPPORTED;
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
- 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Get the level transfer complete flag */
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(CompleteLevel == HAL_DMA_FULL_TRANSFER)
- 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Transfer Complete flag */
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** temp = __HAL_DMA_GET_TC_FLAG_INDEX(hdma);
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Half Transfer Complete flag */
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** temp = __HAL_DMA_GET_HT_FLAG_INDEX(hdma);
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Get tick */
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** tickstart = HAL_GetTick();
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** while(__HAL_DMA_GET_FLAG(hdma, temp) == RESET)
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if((__HAL_DMA_GET_FLAG(hdma, __HAL_DMA_GET_TE_FLAG_INDEX(hdma)) != RESET))
- 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* When a DMA transfer error occurs */
- 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* A hardware clear of its EN bits is performed */
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear all flags */
- 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_ISR_GIF1 << hdma->ChannelIndex);
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Update error code */
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** SET_BIT(hdma->ErrorCode, HAL_DMA_ERROR_TE);
-ARM GAS /tmp/cctXRS3L.s page 11
-
-
- 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change the DMA state */
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State= HAL_DMA_STATE_READY;
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
- 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
- 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check for the Timeout */
- 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(Timeout != HAL_MAX_DELAY)
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if((Timeout == 0U) || ((HAL_GetTick() - tickstart) > Timeout))
- 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Update error code */
- 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** SET_BIT(hdma->ErrorCode, HAL_DMA_ERROR_TIMEOUT);
- 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change the DMA state */
- 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
- 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
- 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
- 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(CompleteLevel == HAL_DMA_FULL_TRANSFER)
- 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear the transfer complete flag */
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_TC_FLAG_INDEX(hdma));
- 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* The selected Channelx EN bit is cleared (DMA is disabled and
- 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** all transfers are complete) */
- 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
- 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
- 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear the half transfer complete flag */
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_HT_FLAG_INDEX(hdma));
- 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process unlocked */
- 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_OK;
- 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Handles DMA interrupt request.
- 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
- 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval None
- 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** void HAL_DMA_IRQHandler(DMA_HandleTypeDef *hdma)
- 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
-ARM GAS /tmp/cctXRS3L.s page 12
-
-
- 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t flag_it = hdma->DmaBaseAddress->ISR;
- 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR;
- 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Half Transfer Complete Interrupt management ******************************/
- 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if (((flag_it & (DMA_FLAG_HT1 << hdma->ChannelIndex)) != RESET) && ((source_it & DMA_IT_HT) != RE
- 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the half transfer interrupt if the DMA mode is not CIRCULAR */
- 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if((hdma->Instance->CCR & DMA_CCR_CIRC) == 0U)
- 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the half transfer interrupt */
- 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, DMA_IT_HT);
- 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear the half transfer complete flag */
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_HT_FLAG_INDEX(hdma));
- 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* DMA peripheral state is not updated in Half Transfer */
- 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* but in Transfer Complete case */
- 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(hdma->XferHalfCpltCallback != NULL)
- 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Half transfer callback */
- 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback(hdma);
- 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Transfer Complete Interrupt management ***********************************/
- 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else if (((flag_it & (DMA_FLAG_TC1 << hdma->ChannelIndex)) != RESET) && ((source_it & DMA_IT_TC)
- 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if((hdma->Instance->CCR & DMA_CCR_CIRC) == 0U)
- 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable the transfer complete and error interrupt */
- 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, DMA_IT_TE | DMA_IT_TC);
- 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change the DMA state */
- 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
- 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear the transfer complete flag */
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_CLEAR_FLAG(hdma, __HAL_DMA_GET_TC_FLAG_INDEX(hdma));
- 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
- 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(hdma->XferCpltCallback != NULL)
- 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Transfer complete callback */
- 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferCpltCallback(hdma);
- 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Transfer Error Interrupt management **************************************/
- 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else if (( RESET != (flag_it & (DMA_FLAG_TE1 << hdma->ChannelIndex))) && (RESET != (source_it & D
- 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* When a DMA transfer error occurs */
- 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* A hardware clear of its EN bits is performed */
- 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Disable ALL DMA IT */
- 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_DISABLE_IT(hdma, (DMA_IT_TC | DMA_IT_HT | DMA_IT_TE));
- 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
-ARM GAS /tmp/cctXRS3L.s page 13
-
-
- 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear all flags */
- 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_ISR_GIF1 << hdma->ChannelIndex);
- 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Update error code */
- 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_TE;
- 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Change the DMA state */
- 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->State = HAL_DMA_STATE_READY;
- 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process Unlocked */
- 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if (hdma->XferErrorCallback != NULL)
- 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Transfer error callback */
- 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback(hdma);
- 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return;
- 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Register callbacks
- 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
- 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param CallbackID: User Callback identifer
- 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * a HAL_DMA_CallbackIDTypeDef ENUM as parameter.
- 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param pCallback: pointer to private callbacsk function which has pointer to
- 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * a DMA_HandleTypeDef structure as parameter.
- 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
- 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_RegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef Callb
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process locked */
- 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_LOCK(hdma);
- 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State)
- 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** switch (CallbackID)
- 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_CPLT_CB_ID:
- 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferCpltCallback = pCallback;
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_HALFCPLT_CB_ID:
- 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = pCallback;
- 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_ERROR_CB_ID:
- 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = pCallback;
- 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_ABORT_CB_ID:
- 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = pCallback;
- 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
-ARM GAS /tmp/cctXRS3L.s page 14
-
-
- 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** default:
- 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_ERROR;
- 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
- 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_ERROR;
- 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Release Lock */
- 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return status;
- 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief UnRegister callbacks
- 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
- 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param CallbackID: User Callback identifer
- 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * a HAL_DMA_CallbackIDTypeDef ENUM as parameter.
- 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
- 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef HAL_DMA_UnRegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef Cal
- 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Process locked */
- 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_LOCK(hdma);
- 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if(HAL_DMA_STATE_READY == hdma->State)
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** switch (CallbackID)
- 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_CPLT_CB_ID:
- 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferCpltCallback = NULL;
- 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_HALFCPLT_CB_ID:
- 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
- 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_ERROR_CB_ID:
- 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
- 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_ABORT_CB_ID:
- 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
- 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** case HAL_DMA_XFER_ALL_CB_ID:
- 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferCpltCallback = NULL;
- 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
- 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
- 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
-ARM GAS /tmp/cctXRS3L.s page 15
-
-
- 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** default:
- 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_ERROR;
- 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
- 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_ERROR;
- 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Release Lock */
- 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return status;
- 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @}
- 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @defgroup DMA_Exported_Functions_Group3 Peripheral State and Errors functions
- 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Peripheral State and Errors functions
- 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** *
- 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @verbatim
- 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ===============================================================================
- 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ##### Peripheral State and Errors functions #####
- 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** ===============================================================================
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** [..]
- 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** This subsection provides functions allowing to
- 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Check the DMA state
- 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** (+) Get error code
- 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** @endverbatim
- 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{
- 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Return the DMA hande state.
- 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
- 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL state
- 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_DMA_StateTypeDef HAL_DMA_GetState(DMA_HandleTypeDef *hdma)
- 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Return DMA handle state */
- 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return hdma->State;
- 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Return the DMA error code.
- 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma : pointer to a DMA_HandleTypeDef structure that contains
- 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval DMA Error Code
- 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t HAL_DMA_GetError(DMA_HandleTypeDef *hdma)
-ARM GAS /tmp/cctXRS3L.s page 16
-
-
- 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return hdma->ErrorCode;
- 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @}
- 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @}
- 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /** @addtogroup DMA_Private_Functions
- 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @{
- 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /**
- 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @brief Sets the DMA Transfer parameter.
- 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param hdma: pointer to a DMA_HandleTypeDef structure that contains
- 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * the configuration information for the specified DMA Channel.
- 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param SrcAddress: The source memory Buffer address
- 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param DstAddress: The destination memory Buffer address
- 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @param DataLength: The length of data to be transferred from source to destination
- 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** * @retval HAL status
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** */
- 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** static void DMA_SetConfig(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32
- 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 25 .loc 1 859 0
- 26 .cfi_startproc
- 27 @ args = 0, pretend = 0, frame = 0
- 28 @ frame_needed = 0, uses_anonymous_args = 0
- 29 @ link register save eliminated.
- 30 .LVL0:
- 31 0000 70B4 push {r4, r5, r6}
- 32 .LCFI0:
- 33 .cfi_def_cfa_offset 12
- 34 .cfi_offset 4, -12
- 35 .cfi_offset 5, -8
- 36 .cfi_offset 6, -4
- 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Clear all flags */
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress->IFCR = (DMA_ISR_GIF1 << hdma->ChannelIndex);
- 37 .loc 1 861 0
- 38 0002 C56B ldr r5, [r0, #60]
- 39 0004 066C ldr r6, [r0, #64]
- 40 0006 0124 movs r4, #1
- 41 0008 B440 lsls r4, r4, r6
- 42 000a 6C60 str r4, [r5, #4]
- 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure DMA Channel data length */
- 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CNDTR = DataLength;
- 43 .loc 1 864 0
- 44 000c 0468 ldr r4, [r0]
- 45 000e 6360 str r3, [r4, #4]
- 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Memory to Peripheral */
- 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** if((hdma->Init.Direction) == DMA_MEMORY_TO_PERIPH)
- 46 .loc 1 867 0
-ARM GAS /tmp/cctXRS3L.s page 17
-
-
- 47 0010 4368 ldr r3, [r0, #4]
- 48 .LVL1:
- 49 0012 102B cmp r3, #16
- 50 0014 05D0 beq .L5
- 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure DMA Channel destination address */
- 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CPAR = DstAddress;
- 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure DMA Channel source address */
- 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CMAR = SrcAddress;
- 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Peripheral to Memory */
- 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** else
- 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure DMA Channel source address */
- 879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CPAR = SrcAddress;
- 51 .loc 1 879 0
- 52 0016 0368 ldr r3, [r0]
- 53 0018 9960 str r1, [r3, #8]
- 54 .LVL2:
- 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Configure DMA Channel destination address */
- 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Instance->CMAR = DstAddress;
- 55 .loc 1 882 0
- 56 001a 0368 ldr r3, [r0]
- 57 001c DA60 str r2, [r3, #12]
- 58 .L1:
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 59 .loc 1 884 0
- 60 001e 70BC pop {r4, r5, r6}
- 61 .LCFI1:
- 62 .cfi_remember_state
- 63 .cfi_restore 6
- 64 .cfi_restore 5
- 65 .cfi_restore 4
- 66 .cfi_def_cfa_offset 0
- 67 0020 7047 bx lr
- 68 .LVL3:
- 69 .L5:
- 70 .LCFI2:
- 71 .cfi_restore_state
- 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 72 .loc 1 870 0
- 73 0022 0368 ldr r3, [r0]
- 74 0024 9A60 str r2, [r3, #8]
- 75 .LVL4:
- 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 76 .loc 1 873 0
- 77 0026 0368 ldr r3, [r0]
- 78 0028 D960 str r1, [r3, #12]
- 79 002a F8E7 b .L1
- 80 .cfi_endproc
- 81 .LFE77:
- 83 .section .text.HAL_DMA_Init,"ax",%progbits
- 84 .align 1
- 85 .global HAL_DMA_Init
-ARM GAS /tmp/cctXRS3L.s page 18
-
-
- 86 .syntax unified
- 87 .thumb
- 88 .thumb_func
- 89 .fpu softvfp
- 91 HAL_DMA_Init:
- 92 .LFB65:
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t tmp = 0U;
- 93 .loc 1 144 0
- 94 .cfi_startproc
- 95 @ args = 0, pretend = 0, frame = 0
- 96 @ frame_needed = 0, uses_anonymous_args = 0
- 97 @ link register save eliminated.
- 98 .LVL5:
- 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 99 .loc 1 148 0
- 100 0000 0028 cmp r0, #0
- 101 0002 3BD0 beq .L10
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t tmp = 0U;
- 102 .loc 1 144 0
- 103 0004 10B4 push {r4}
- 104 .LCFI3:
- 105 .cfi_def_cfa_offset 4
- 106 .cfi_offset 4, -4
- 107 0006 0346 mov r3, r0
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 108 .loc 1 165 0
- 109 0008 0168 ldr r1, [r0]
- 110 000a 1D4A ldr r2, .L15
- 111 000c 9142 cmp r1, r2
- 112 000e 2AD8 bhi .L8
- 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
- 113 .loc 1 168 0
- 114 0010 1C4A ldr r2, .L15+4
- 115 0012 0A44 add r2, r2, r1
- 116 0014 1C49 ldr r1, .L15+8
- 117 0016 A1FB0212 umull r1, r2, r1, r2
- 118 001a 1209 lsrs r2, r2, #4
- 119 001c 9200 lsls r2, r2, #2
- 120 001e 0264 str r2, [r0, #64]
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 121 .loc 1 169 0
- 122 0020 1A4A ldr r2, .L15+12
- 123 0022 C263 str r2, [r0, #60]
- 124 .L9:
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 125 .loc 1 184 0
- 126 0024 0222 movs r2, #2
- 127 0026 83F82120 strb r2, [r3, #33]
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 128 .loc 1 187 0
- 129 002a 1868 ldr r0, [r3]
- 130 .LVL6:
- 131 002c 0168 ldr r1, [r0]
- 132 .LVL7:
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** DMA_CCR_MINC | DMA_CCR_PINC | DMA_CCR_CIRC | \
- 133 .loc 1 190 0
- 134 002e 21F47F51 bic r1, r1, #16320
-ARM GAS /tmp/cctXRS3L.s page 19
-
-
- 135 .LVL8:
- 136 0032 21F03001 bic r1, r1, #48
- 137 .LVL9:
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
- 138 .loc 1 195 0
- 139 0036 5A68 ldr r2, [r3, #4]
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
- 140 .loc 1 196 0
- 141 0038 9C68 ldr r4, [r3, #8]
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
- 142 .loc 1 195 0
- 143 003a 2243 orrs r2, r2, r4
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
- 144 .loc 1 196 0
- 145 003c DC68 ldr r4, [r3, #12]
- 146 003e 2243 orrs r2, r2, r4
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
- 147 .loc 1 197 0
- 148 0040 1C69 ldr r4, [r3, #16]
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment |
- 149 .loc 1 196 0
- 150 0042 2243 orrs r2, r2, r4
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
- 151 .loc 1 197 0
- 152 0044 5C69 ldr r4, [r3, #20]
- 153 0046 2243 orrs r2, r2, r4
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 154 .loc 1 198 0
- 155 0048 9C69 ldr r4, [r3, #24]
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.Mode | hdma->Init.Priority;
- 156 .loc 1 197 0
- 157 004a 2243 orrs r2, r2, r4
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 158 .loc 1 198 0
- 159 004c DC69 ldr r4, [r3, #28]
- 160 004e 2243 orrs r2, r2, r4
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->Init.PeriphInc | hdma->Init.MemInc |
- 161 .loc 1 195 0
- 162 0050 0A43 orrs r2, r2, r1
- 163 .LVL10:
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 164 .loc 1 201 0
- 165 0052 0260 str r2, [r0]
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 166 .loc 1 204 0
- 167 0054 0020 movs r0, #0
- 168 0056 9863 str r0, [r3, #56]
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Allocate lock resource and initialize it */
- 169 .loc 1 207 0
- 170 0058 0122 movs r2, #1
- 171 .LVL11:
- 172 005a 83F82120 strb r2, [r3, #33]
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 173 .loc 1 209 0
- 174 005e 83F82000 strb r0, [r3, #32]
- 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 175 .loc 1 212 0
-ARM GAS /tmp/cctXRS3L.s page 20
-
-
- 176 0062 10BC pop {r4}
- 177 .LCFI4:
- 178 .cfi_remember_state
- 179 .cfi_restore 4
- 180 .cfi_def_cfa_offset 0
- 181 0064 7047 bx lr
- 182 .LVL12:
- 183 .L8:
- 184 .LCFI5:
- 185 .cfi_restore_state
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
- 186 .loc 1 174 0
- 187 0066 0A4A ldr r2, .L15+16
- 188 0068 0A44 add r2, r2, r1
- 189 006a 0749 ldr r1, .L15+8
- 190 006c A1FB0212 umull r1, r2, r1, r2
- 191 0070 1209 lsrs r2, r2, #4
- 192 0072 9200 lsls r2, r2, #2
- 193 0074 0264 str r2, [r0, #64]
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 194 .loc 1 175 0
- 195 0076 074A ldr r2, .L15+20
- 196 0078 C263 str r2, [r0, #60]
- 197 007a D3E7 b .L9
- 198 .L10:
- 199 .LCFI6:
- 200 .cfi_def_cfa_offset 0
- 201 .cfi_restore 4
- 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 202 .loc 1 150 0
- 203 007c 0120 movs r0, #1
- 204 .LVL13:
- 205 007e 7047 bx lr
- 206 .L16:
- 207 .align 2
- 208 .L15:
- 209 0080 07040240 .word 1073873927
- 210 0084 F8FFFDBF .word -1073872904
- 211 0088 CDCCCCCC .word -858993459
- 212 008c 00000240 .word 1073872896
- 213 0090 F8FBFDBF .word -1073873928
- 214 0094 00040240 .word 1073873920
- 215 .cfi_endproc
- 216 .LFE65:
- 218 .section .text.HAL_DMA_DeInit,"ax",%progbits
- 219 .align 1
- 220 .global HAL_DMA_DeInit
- 221 .syntax unified
- 222 .thumb
- 223 .thumb_func
- 224 .fpu softvfp
- 226 HAL_DMA_DeInit:
- 227 .LFB66:
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Check the DMA handle allocation */
- 228 .loc 1 221 0
- 229 .cfi_startproc
- 230 @ args = 0, pretend = 0, frame = 0
-ARM GAS /tmp/cctXRS3L.s page 21
-
-
- 231 @ frame_needed = 0, uses_anonymous_args = 0
- 232 @ link register save eliminated.
- 233 .LVL14:
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 234 .loc 1 223 0
- 235 0000 0346 mov r3, r0
- 236 0002 0028 cmp r0, #0
- 237 0004 36D0 beq .L21
- 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 238 .loc 1 232 0
- 239 0006 0168 ldr r1, [r0]
- 240 0008 0A68 ldr r2, [r1]
- 241 000a 22F00102 bic r2, r2, #1
- 242 000e 0A60 str r2, [r1]
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 243 .loc 1 235 0
- 244 0010 0168 ldr r1, [r0]
- 245 0012 0022 movs r2, #0
- 246 0014 0A60 str r2, [r1]
- 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 247 .loc 1 238 0
- 248 0016 0168 ldr r1, [r0]
- 249 0018 4A60 str r2, [r1, #4]
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 250 .loc 1 241 0
- 251 001a 0168 ldr r1, [r0]
- 252 001c 8A60 str r2, [r1, #8]
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 253 .loc 1 244 0
- 254 001e 0168 ldr r1, [r0]
- 255 0020 CA60 str r2, [r1, #12]
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 256 .loc 1 248 0
- 257 0022 0168 ldr r1, [r0]
- 258 0024 144A ldr r2, .L22
- 259 0026 9142 cmp r1, r2
- 260 0028 19D8 bhi .L19
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA1;
- 261 .loc 1 251 0
- 262 002a 144A ldr r2, .L22+4
- 263 002c 0A44 add r2, r2, r1
- 264 002e 1449 ldr r1, .L22+8
- 265 0030 A1FB0212 umull r1, r2, r1, r2
- 266 0034 1209 lsrs r2, r2, #4
- 267 0036 9200 lsls r2, r2, #2
- 268 0038 0264 str r2, [r0, #64]
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 269 .loc 1 252 0
- 270 003a 124A ldr r2, .L22+12
- 271 003c C263 str r2, [r0, #60]
- 272 .L20:
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 273 .loc 1 267 0
- 274 003e D96B ldr r1, [r3, #60]
- 275 0040 186C ldr r0, [r3, #64]
- 276 .LVL15:
- 277 0042 0122 movs r2, #1
-ARM GAS /tmp/cctXRS3L.s page 22
-
-
- 278 0044 8240 lsls r2, r2, r0
- 279 0046 4A60 str r2, [r1, #4]
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
- 280 .loc 1 270 0
- 281 0048 0020 movs r0, #0
- 282 004a 9862 str r0, [r3, #40]
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
- 283 .loc 1 271 0
- 284 004c D862 str r0, [r3, #44]
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
- 285 .loc 1 272 0
- 286 004e 1863 str r0, [r3, #48]
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 287 .loc 1 273 0
- 288 0050 5863 str r0, [r3, #52]
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 289 .loc 1 276 0
- 290 0052 9863 str r0, [r3, #56]
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 291 .loc 1 279 0
- 292 0054 83F82100 strb r0, [r3, #33]
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 293 .loc 1 282 0
- 294 0058 83F82000 strb r0, [r3, #32]
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 295 .loc 1 284 0
- 296 005c 7047 bx lr
- 297 .LVL16:
- 298 .L19:
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->DmaBaseAddress = DMA2;
- 299 .loc 1 257 0
- 300 005e 0A4A ldr r2, .L22+16
- 301 0060 0A44 add r2, r2, r1
- 302 0062 0749 ldr r1, .L22+8
- 303 0064 A1FB0212 umull r1, r2, r1, r2
- 304 0068 1209 lsrs r2, r2, #4
- 305 006a 9200 lsls r2, r2, #2
- 306 006c 0264 str r2, [r0, #64]
- 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 307 .loc 1 258 0
- 308 006e 074A ldr r2, .L22+20
- 309 0070 C263 str r2, [r0, #60]
- 310 0072 E4E7 b .L20
- 311 .L21:
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 312 .loc 1 225 0
- 313 0074 0120 movs r0, #1
- 314 .LVL17:
- 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 315 .loc 1 285 0
- 316 0076 7047 bx lr
- 317 .L23:
- 318 .align 2
- 319 .L22:
- 320 0078 07040240 .word 1073873927
- 321 007c F8FFFDBF .word -1073872904
- 322 0080 CDCCCCCC .word -858993459
-ARM GAS /tmp/cctXRS3L.s page 23
-
-
- 323 0084 00000240 .word 1073872896
- 324 0088 F8FBFDBF .word -1073873928
- 325 008c 00040240 .word 1073873920
- 326 .cfi_endproc
- 327 .LFE66:
- 329 .section .text.HAL_DMA_Start,"ax",%progbits
- 330 .align 1
- 331 .global HAL_DMA_Start
- 332 .syntax unified
- 333 .thumb
- 334 .thumb_func
- 335 .fpu softvfp
- 337 HAL_DMA_Start:
- 338 .LFB67:
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 339 .loc 1 320 0
- 340 .cfi_startproc
- 341 @ args = 0, pretend = 0, frame = 0
- 342 @ frame_needed = 0, uses_anonymous_args = 0
- 343 .LVL18:
- 344 0000 70B5 push {r4, r5, r6, lr}
- 345 .LCFI7:
- 346 .cfi_def_cfa_offset 16
- 347 .cfi_offset 4, -16
- 348 .cfi_offset 5, -12
- 349 .cfi_offset 6, -8
- 350 .cfi_offset 14, -4
- 351 .LVL19:
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 352 .loc 1 327 0
- 353 0002 90F82040 ldrb r4, [r0, #32] @ zero_extendqisi2
- 354 0006 012C cmp r4, #1
- 355 0008 20D0 beq .L27
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 356 .loc 1 327 0 is_stmt 0 discriminator 2
- 357 000a 0124 movs r4, #1
- 358 000c 80F82040 strb r4, [r0, #32]
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 359 .loc 1 329 0 is_stmt 1 discriminator 2
- 360 0010 90F82140 ldrb r4, [r0, #33] @ zero_extendqisi2
- 361 0014 012C cmp r4, #1
- 362 0016 04D0 beq .L29
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** status = HAL_BUSY;
- 363 .loc 1 347 0
- 364 0018 0023 movs r3, #0
- 365 .LVL20:
- 366 001a 80F82030 strb r3, [r0, #32]
- 367 .LVL21:
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 368 .loc 1 348 0
- 369 001e 0220 movs r0, #2
- 370 .LVL22:
- 371 0020 70BD pop {r4, r5, r6, pc}
- 372 .LVL23:
- 373 .L29:
- 374 0022 0446 mov r4, r0
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
-ARM GAS /tmp/cctXRS3L.s page 24
-
-
- 375 .loc 1 332 0
- 376 0024 0220 movs r0, #2
- 377 .LVL24:
- 378 0026 84F82100 strb r0, [r4, #33]
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 379 .loc 1 333 0
- 380 002a 0025 movs r5, #0
- 381 002c A563 str r5, [r4, #56]
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 382 .loc 1 336 0
- 383 002e 2668 ldr r6, [r4]
- 384 0030 3068 ldr r0, [r6]
- 385 0032 20F00100 bic r0, r0, #1
- 386 0036 3060 str r0, [r6]
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 387 .loc 1 339 0
- 388 0038 2046 mov r0, r4
- 389 003a FFF7FEFF bl DMA_SetConfig
- 390 .LVL25:
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 391 .loc 1 342 0
- 392 003e 2268 ldr r2, [r4]
- 393 0040 1368 ldr r3, [r2]
- 394 0042 43F00103 orr r3, r3, #1
- 395 0046 1360 str r3, [r2]
- 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 396 .loc 1 321 0
- 397 0048 2846 mov r0, r5
- 398 004a 70BD pop {r4, r5, r6, pc}
- 399 .LVL26:
- 400 .L27:
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 401 .loc 1 327 0
- 402 004c 0220 movs r0, #2
- 403 .LVL27:
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 404 .loc 1 351 0
- 405 004e 70BD pop {r4, r5, r6, pc}
- 406 .cfi_endproc
- 407 .LFE67:
- 409 .section .text.HAL_DMA_Start_IT,"ax",%progbits
- 410 .align 1
- 411 .global HAL_DMA_Start_IT
- 412 .syntax unified
- 413 .thumb
- 414 .thumb_func
- 415 .fpu softvfp
- 417 HAL_DMA_Start_IT:
- 418 .LFB68:
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 419 .loc 1 363 0
- 420 .cfi_startproc
- 421 @ args = 0, pretend = 0, frame = 0
- 422 @ frame_needed = 0, uses_anonymous_args = 0
- 423 .LVL28:
- 424 0000 38B5 push {r3, r4, r5, lr}
- 425 .LCFI8:
-ARM GAS /tmp/cctXRS3L.s page 25
-
-
- 426 .cfi_def_cfa_offset 16
- 427 .cfi_offset 3, -16
- 428 .cfi_offset 4, -12
- 429 .cfi_offset 5, -8
- 430 .cfi_offset 14, -4
- 431 .LVL29:
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 432 .loc 1 370 0
- 433 0002 90F82040 ldrb r4, [r0, #32] @ zero_extendqisi2
- 434 0006 012C cmp r4, #1
- 435 0008 32D0 beq .L35
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 436 .loc 1 370 0 is_stmt 0 discriminator 2
- 437 000a 0124 movs r4, #1
- 438 000c 80F82040 strb r4, [r0, #32]
- 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 439 .loc 1 372 0 is_stmt 1 discriminator 2
- 440 0010 90F82140 ldrb r4, [r0, #33] @ zero_extendqisi2
- 441 0014 012C cmp r4, #1
- 442 0016 04D0 beq .L37
- 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 443 .loc 1 402 0
- 444 0018 0023 movs r3, #0
- 445 .LVL30:
- 446 001a 80F82030 strb r3, [r0, #32]
- 447 .LVL31:
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 448 .loc 1 405 0
- 449 001e 0220 movs r0, #2
- 450 .LVL32:
- 451 0020 38BD pop {r3, r4, r5, pc}
- 452 .LVL33:
- 453 .L37:
- 454 0022 0446 mov r4, r0
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->ErrorCode = HAL_DMA_ERROR_NONE;
- 455 .loc 1 375 0
- 456 0024 0220 movs r0, #2
- 457 .LVL34:
- 458 0026 84F82100 strb r0, [r4, #33]
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 459 .loc 1 376 0
- 460 002a 0020 movs r0, #0
- 461 002c A063 str r0, [r4, #56]
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 462 .loc 1 379 0
- 463 002e 2568 ldr r5, [r4]
- 464 0030 2868 ldr r0, [r5]
- 465 0032 20F00100 bic r0, r0, #1
- 466 0036 2860 str r0, [r5]
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 467 .loc 1 382 0
- 468 0038 2046 mov r0, r4
- 469 003a FFF7FEFF bl DMA_SetConfig
- 470 .LVL35:
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 471 .loc 1 386 0
- 472 003e E36A ldr r3, [r4, #44]
-ARM GAS /tmp/cctXRS3L.s page 26
-
-
- 473 0040 5BB1 cbz r3, .L33
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 474 .loc 1 389 0
- 475 0042 2268 ldr r2, [r4]
- 476 0044 1368 ldr r3, [r2]
- 477 0046 43F00E03 orr r3, r3, #14
- 478 004a 1360 str r3, [r2]
- 479 .L34:
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 480 .loc 1 397 0
- 481 004c 2268 ldr r2, [r4]
- 482 004e 1368 ldr r3, [r2]
- 483 0050 43F00103 orr r3, r3, #1
- 484 0054 1360 str r3, [r2]
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 485 .loc 1 364 0
- 486 0056 0020 movs r0, #0
- 487 0058 38BD pop {r3, r4, r5, pc}
- 488 .LVL36:
- 489 .L33:
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_DMA_ENABLE_IT(hdma, (DMA_IT_TC | DMA_IT_TE));
- 490 .loc 1 393 0
- 491 005a 2268 ldr r2, [r4]
- 492 005c 1368 ldr r3, [r2]
- 493 005e 23F00403 bic r3, r3, #4
- 494 0062 1360 str r3, [r2]
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 495 .loc 1 394 0
- 496 0064 2268 ldr r2, [r4]
- 497 0066 1368 ldr r3, [r2]
- 498 0068 43F00A03 orr r3, r3, #10
- 499 006c 1360 str r3, [r2]
- 500 006e EDE7 b .L34
- 501 .LVL37:
- 502 .L35:
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 503 .loc 1 370 0
- 504 0070 0220 movs r0, #2
- 505 .LVL38:
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 506 .loc 1 408 0
- 507 0072 38BD pop {r3, r4, r5, pc}
- 508 .cfi_endproc
- 509 .LFE68:
- 511 .section .text.HAL_DMA_Abort,"ax",%progbits
- 512 .align 1
- 513 .global HAL_DMA_Abort
- 514 .syntax unified
- 515 .thumb
- 516 .thumb_func
- 517 .fpu softvfp
- 519 HAL_DMA_Abort:
- 520 .LFB69:
- 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 521 .loc 1 417 0
- 522 .cfi_startproc
- 523 @ args = 0, pretend = 0, frame = 0
-ARM GAS /tmp/cctXRS3L.s page 27
-
-
- 524 @ frame_needed = 0, uses_anonymous_args = 0
- 525 @ link register save eliminated.
- 526 .LVL39:
- 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 527 .loc 1 420 0
- 528 0000 90F82130 ldrb r3, [r0, #33] @ zero_extendqisi2
- 529 0004 022B cmp r3, #2
- 530 0006 06D0 beq .L39
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 531 .loc 1 423 0
- 532 0008 0423 movs r3, #4
- 533 000a 8363 str r3, [r0, #56]
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 534 .loc 1 426 0
- 535 000c 0023 movs r3, #0
- 536 000e 80F82030 strb r3, [r0, #32]
- 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 537 .loc 1 428 0
- 538 0012 0120 movs r0, #1
- 539 .LVL40:
- 540 0014 7047 bx lr
- 541 .LVL41:
- 542 .L39:
- 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 543 .loc 1 434 0
- 544 0016 0268 ldr r2, [r0]
- 545 0018 1368 ldr r3, [r2]
- 546 001a 23F00E03 bic r3, r3, #14
- 547 001e 1360 str r3, [r2]
- 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 548 .loc 1 437 0
- 549 0020 0268 ldr r2, [r0]
- 550 0022 1368 ldr r3, [r2]
- 551 0024 23F00103 bic r3, r3, #1
- 552 0028 1360 str r3, [r2]
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 553 .loc 1 440 0
- 554 002a C16B ldr r1, [r0, #60]
- 555 002c 036C ldr r3, [r0, #64]
- 556 002e 0122 movs r2, #1
- 557 0030 02FA03F3 lsl r3, r2, r3
- 558 0034 4B60 str r3, [r1, #4]
- 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 559 .loc 1 443 0
- 560 0036 80F82120 strb r2, [r0, #33]
- 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 561 .loc 1 446 0
- 562 003a 0023 movs r3, #0
- 563 003c 80F82030 strb r3, [r0, #32]
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 564 .loc 1 448 0
- 565 0040 1846 mov r0, r3
- 566 .LVL42:
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 567 .loc 1 449 0
- 568 0042 7047 bx lr
- 569 .cfi_endproc
-ARM GAS /tmp/cctXRS3L.s page 28
-
-
- 570 .LFE69:
- 572 .section .text.HAL_DMA_Abort_IT,"ax",%progbits
- 573 .align 1
- 574 .global HAL_DMA_Abort_IT
- 575 .syntax unified
- 576 .thumb
- 577 .thumb_func
- 578 .fpu softvfp
- 580 HAL_DMA_Abort_IT:
- 581 .LFB70:
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 582 .loc 1 458 0
- 583 .cfi_startproc
- 584 @ args = 0, pretend = 0, frame = 0
- 585 @ frame_needed = 0, uses_anonymous_args = 0
- 586 .LVL43:
- 587 0000 08B5 push {r3, lr}
- 588 .LCFI9:
- 589 .cfi_def_cfa_offset 8
- 590 .cfi_offset 3, -8
- 591 .cfi_offset 14, -4
- 592 .LVL44:
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 593 .loc 1 461 0
- 594 0002 90F82130 ldrb r3, [r0, #33] @ zero_extendqisi2
- 595 0006 022B cmp r3, #2
- 596 0008 03D0 beq .L42
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 597 .loc 1 464 0
- 598 000a 0423 movs r3, #4
- 599 000c 8363 str r3, [r0, #56]
- 600 .LVL45:
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 601 .loc 1 466 0
- 602 000e 0120 movs r0, #1
- 603 .LVL46:
- 604 0010 08BD pop {r3, pc}
- 605 .LVL47:
- 606 .L42:
- 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 607 .loc 1 471 0
- 608 0012 0268 ldr r2, [r0]
- 609 0014 1368 ldr r3, [r2]
- 610 0016 23F00E03 bic r3, r3, #14
- 611 001a 1360 str r3, [r2]
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 612 .loc 1 474 0
- 613 001c 0268 ldr r2, [r0]
- 614 001e 1368 ldr r3, [r2]
- 615 0020 23F00103 bic r3, r3, #1
- 616 0024 1360 str r3, [r2]
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 617 .loc 1 477 0
- 618 0026 0368 ldr r3, [r0]
- 619 0028 484A ldr r2, .L73
- 620 002a 9342 cmp r3, r2
- 621 002c 48D9 bls .L44
-ARM GAS /tmp/cctXRS3L.s page 29
-
-
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 622 .loc 1 477 0 is_stmt 0 discriminator 1
- 623 002e 783A subs r2, r2, #120
- 624 0030 9342 cmp r3, r2
- 625 0032 21D0 beq .L48
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 626 .loc 1 477 0 discriminator 3
- 627 0034 1432 adds r2, r2, #20
- 628 0036 9342 cmp r3, r2
- 629 0038 2DD0 beq .L49
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 630 .loc 1 477 0 discriminator 5
- 631 003a 1432 adds r2, r2, #20
- 632 003c 9342 cmp r3, r2
- 633 003e 2CD0 beq .L50
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 634 .loc 1 477 0 discriminator 7
- 635 0040 1432 adds r2, r2, #20
- 636 0042 9342 cmp r3, r2
- 637 0044 2CD0 beq .L51
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 638 .loc 1 477 0 discriminator 9
- 639 0046 1432 adds r2, r2, #20
- 640 0048 9342 cmp r3, r2
- 641 004a 2CD0 beq .L52
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 642 .loc 1 477 0 discriminator 11
- 643 004c 1432 adds r2, r2, #20
- 644 004e 9342 cmp r3, r2
- 645 0050 2CD0 beq .L53
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 646 .loc 1 477 0 discriminator 15
- 647 0052 02F56772 add r2, r2, #924
- 648 0056 9342 cmp r3, r2
- 649 0058 2BD0 beq .L54
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 650 .loc 1 477 0 discriminator 17
- 651 005a 1432 adds r2, r2, #20
- 652 005c 9342 cmp r3, r2
- 653 005e 2AD0 beq .L55
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 654 .loc 1 477 0 discriminator 19
- 655 0060 1432 adds r2, r2, #20
- 656 0062 9342 cmp r3, r2
- 657 0064 29D0 beq .L56
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 658 .loc 1 477 0 discriminator 21
- 659 0066 1432 adds r2, r2, #20
- 660 0068 9342 cmp r3, r2
- 661 006a 02D0 beq .L71
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 662 .loc 1 477 0
- 663 006c 4FF48032 mov r2, #65536
- 664 0070 03E0 b .L45
- 665 .L71:
- 666 0072 4FF48052 mov r2, #4096
- 667 0076 00E0 b .L45
-ARM GAS /tmp/cctXRS3L.s page 30
-
-
- 668 .L48:
- 669 0078 0122 movs r2, #1
- 670 .L45:
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 671 .loc 1 477 0 discriminator 46
- 672 007a 354B ldr r3, .L73+4
- 673 007c 5A60 str r2, [r3, #4]
- 674 .L46:
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 675 .loc 1 480 0 is_stmt 1
- 676 007e 0123 movs r3, #1
- 677 0080 80F82130 strb r3, [r0, #33]
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 678 .loc 1 483 0
- 679 0084 0023 movs r3, #0
- 680 0086 80F82030 strb r3, [r0, #32]
- 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 681 .loc 1 486 0
- 682 008a 436B ldr r3, [r0, #52]
- 683 008c 002B cmp r3, #0
- 684 008e 5BD0 beq .L69
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 685 .loc 1 488 0
- 686 0090 9847 blx r3
- 687 .LVL48:
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 688 .loc 1 459 0
- 689 0092 0020 movs r0, #0
- 690 0094 08BD pop {r3, pc}
- 691 .LVL49:
- 692 .L49:
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 693 .loc 1 477 0
- 694 0096 1022 movs r2, #16
- 695 0098 EFE7 b .L45
- 696 .L50:
- 697 009a 4FF48072 mov r2, #256
- 698 009e ECE7 b .L45
- 699 .L51:
- 700 00a0 4FF48052 mov r2, #4096
- 701 00a4 E9E7 b .L45
- 702 .L52:
- 703 00a6 4FF48032 mov r2, #65536
- 704 00aa E6E7 b .L45
- 705 .L53:
- 706 00ac 4FF48012 mov r2, #1048576
- 707 00b0 E3E7 b .L45
- 708 .L54:
- 709 00b2 0122 movs r2, #1
- 710 00b4 E1E7 b .L45
- 711 .L55:
- 712 00b6 1022 movs r2, #16
- 713 00b8 DFE7 b .L45
- 714 .L56:
- 715 00ba 4FF48072 mov r2, #256
- 716 00be DCE7 b .L45
- 717 .L44:
-ARM GAS /tmp/cctXRS3L.s page 31
-
-
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 718 .loc 1 477 0 is_stmt 0 discriminator 2
- 719 00c0 244A ldr r2, .L73+8
- 720 00c2 9342 cmp r3, r2
- 721 00c4 24D0 beq .L58
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 722 .loc 1 477 0 discriminator 47
- 723 00c6 1432 adds r2, r2, #20
- 724 00c8 9342 cmp r3, r2
- 725 00ca 25D0 beq .L59
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 726 .loc 1 477 0 discriminator 49
- 727 00cc 1432 adds r2, r2, #20
- 728 00ce 9342 cmp r3, r2
- 729 00d0 24D0 beq .L60
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 730 .loc 1 477 0 discriminator 51
- 731 00d2 1432 adds r2, r2, #20
- 732 00d4 9342 cmp r3, r2
- 733 00d6 24D0 beq .L61
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 734 .loc 1 477 0 discriminator 53
- 735 00d8 1432 adds r2, r2, #20
- 736 00da 9342 cmp r3, r2
- 737 00dc 24D0 beq .L62
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 738 .loc 1 477 0 discriminator 55
- 739 00de 1432 adds r2, r2, #20
- 740 00e0 9342 cmp r3, r2
- 741 00e2 24D0 beq .L63
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 742 .loc 1 477 0 discriminator 57
- 743 00e4 1432 adds r2, r2, #20
- 744 00e6 9342 cmp r3, r2
- 745 00e8 24D0 beq .L64
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 746 .loc 1 477 0 discriminator 59
- 747 00ea 02F56272 add r2, r2, #904
- 748 00ee 9342 cmp r3, r2
- 749 00f0 23D0 beq .L65
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 750 .loc 1 477 0 discriminator 61
- 751 00f2 1432 adds r2, r2, #20
- 752 00f4 9342 cmp r3, r2
- 753 00f6 22D0 beq .L66
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 754 .loc 1 477 0 discriminator 63
- 755 00f8 1432 adds r2, r2, #20
- 756 00fa 9342 cmp r3, r2
- 757 00fc 21D0 beq .L67
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 758 .loc 1 477 0 discriminator 65
- 759 00fe 1432 adds r2, r2, #20
- 760 0100 9342 cmp r3, r2
- 761 0102 02D0 beq .L72
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 762 .loc 1 477 0
-ARM GAS /tmp/cctXRS3L.s page 32
-
-
- 763 0104 4FF48032 mov r2, #65536
- 764 0108 03E0 b .L47
- 765 .L72:
- 766 010a 4FF48052 mov r2, #4096
- 767 010e 00E0 b .L47
- 768 .L58:
- 769 0110 0122 movs r2, #1
- 770 .L47:
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 771 .loc 1 477 0 discriminator 90
- 772 0112 114B ldr r3, .L73+12
- 773 0114 5A60 str r2, [r3, #4]
- 774 0116 B2E7 b .L46
- 775 .L59:
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 776 .loc 1 477 0
- 777 0118 1022 movs r2, #16
- 778 011a FAE7 b .L47
- 779 .L60:
- 780 011c 4FF48072 mov r2, #256
- 781 0120 F7E7 b .L47
- 782 .L61:
- 783 0122 4FF48052 mov r2, #4096
- 784 0126 F4E7 b .L47
- 785 .L62:
- 786 0128 4FF48032 mov r2, #65536
- 787 012c F1E7 b .L47
- 788 .L63:
- 789 012e 4FF48012 mov r2, #1048576
- 790 0132 EEE7 b .L47
- 791 .L64:
- 792 0134 4FF08072 mov r2, #16777216
- 793 0138 EBE7 b .L47
- 794 .L65:
- 795 013a 0122 movs r2, #1
- 796 013c E9E7 b .L47
- 797 .L66:
- 798 013e 1022 movs r2, #16
- 799 0140 E7E7 b .L47
- 800 .L67:
- 801 0142 4FF48072 mov r2, #256
- 802 0146 E4E7 b .L47
- 803 .L69:
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 804 .loc 1 459 0 is_stmt 1
- 805 0148 0020 movs r0, #0
- 806 .LVL50:
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 807 .loc 1 492 0
- 808 014a 08BD pop {r3, pc}
- 809 .L74:
- 810 .align 2
- 811 .L73:
- 812 014c 80000240 .word 1073873024
- 813 0150 00040240 .word 1073873920
- 814 0154 08000240 .word 1073872904
- 815 0158 00000240 .word 1073872896
-ARM GAS /tmp/cctXRS3L.s page 33
-
-
- 816 .cfi_endproc
- 817 .LFE70:
- 819 .section .text.HAL_DMA_PollForTransfer,"ax",%progbits
- 820 .align 1
- 821 .global HAL_DMA_PollForTransfer
- 822 .syntax unified
- 823 .thumb
- 824 .thumb_func
- 825 .fpu softvfp
- 827 HAL_DMA_PollForTransfer:
- 828 .LFB71:
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t temp;
- 829 .loc 1 503 0
- 830 .cfi_startproc
- 831 @ args = 0, pretend = 0, frame = 0
- 832 @ frame_needed = 0, uses_anonymous_args = 0
- 833 .LVL51:
- 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 834 .loc 1 507 0
- 835 0000 90F82130 ldrb r3, [r0, #33] @ zero_extendqisi2
- 836 0004 022B cmp r3, #2
- 837 0006 06D0 beq .L76
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** __HAL_UNLOCK(hdma);
- 838 .loc 1 510 0
- 839 0008 0423 movs r3, #4
- 840 000a 8363 str r3, [r0, #56]
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
- 841 .loc 1 511 0
- 842 000c 0023 movs r3, #0
- 843 000e 80F82030 strb r3, [r0, #32]
- 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 844 .loc 1 512 0
- 845 0012 0120 movs r0, #1
- 846 .LVL52:
- 847 0014 7047 bx lr
- 848 .LVL53:
- 849 .L76:
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t temp;
- 850 .loc 1 503 0
- 851 0016 2DE9F041 push {r4, r5, r6, r7, r8, lr}
- 852 .LCFI10:
- 853 .cfi_def_cfa_offset 24
- 854 .cfi_offset 4, -24
- 855 .cfi_offset 5, -20
- 856 .cfi_offset 6, -16
- 857 .cfi_offset 7, -12
- 858 .cfi_offset 8, -8
- 859 .cfi_offset 14, -4
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 860 .loc 1 516 0
- 861 001a 0368 ldr r3, [r0]
- 862 001c 1C68 ldr r4, [r3]
- 863 001e 14F0200F tst r4, #32
- 864 0022 25D1 bne .L189
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 865 .loc 1 523 0
- 866 0024 69BB cbnz r1, .L79
-ARM GAS /tmp/cctXRS3L.s page 34
-
-
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 867 .loc 1 526 0
- 868 0026 AE4C ldr r4, .L201
- 869 0028 A342 cmp r3, r4
- 870 002a 52D0 beq .L101
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 871 .loc 1 526 0 is_stmt 0 discriminator 1
- 872 002c 1434 adds r4, r4, #20
- 873 002e A342 cmp r3, r4
- 874 0030 57D0 beq .L102
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 875 .loc 1 526 0 discriminator 3
- 876 0032 1434 adds r4, r4, #20
- 877 0034 A342 cmp r3, r4
- 878 0036 56D0 beq .L103
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 879 .loc 1 526 0 discriminator 5
- 880 0038 1434 adds r4, r4, #20
- 881 003a A342 cmp r3, r4
- 882 003c 56D0 beq .L104
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 883 .loc 1 526 0 discriminator 7
- 884 003e 1434 adds r4, r4, #20
- 885 0040 A342 cmp r3, r4
- 886 0042 56D0 beq .L105
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 887 .loc 1 526 0 discriminator 9
- 888 0044 1434 adds r4, r4, #20
- 889 0046 A342 cmp r3, r4
- 890 0048 56D0 beq .L106
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 891 .loc 1 526 0 discriminator 11
- 892 004a 1434 adds r4, r4, #20
- 893 004c A342 cmp r3, r4
- 894 004e 56D0 beq .L107
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 895 .loc 1 526 0 discriminator 13
- 896 0050 04F56274 add r4, r4, #904
- 897 0054 A342 cmp r3, r4
- 898 0056 55D0 beq .L108
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 899 .loc 1 526 0 discriminator 15
- 900 0058 1434 adds r4, r4, #20
- 901 005a A342 cmp r3, r4
- 902 005c 54D0 beq .L109
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 903 .loc 1 526 0 discriminator 17
- 904 005e 1434 adds r4, r4, #20
- 905 0060 A342 cmp r3, r4
- 906 0062 53D0 beq .L110
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 907 .loc 1 526 0 discriminator 19
- 908 0064 1434 adds r4, r4, #20
- 909 0066 A342 cmp r3, r4
- 910 0068 08D0 beq .L190
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 911 .loc 1 526 0
-ARM GAS /tmp/cctXRS3L.s page 35
-
-
- 912 006a 4FF40036 mov r6, #131072
- 913 006e 31E0 b .L80
- 914 .L189:
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return HAL_ERROR;
- 915 .loc 1 518 0 is_stmt 1
- 916 0070 4FF48073 mov r3, #256
- 917 0074 8363 str r3, [r0, #56]
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 918 .loc 1 519 0
- 919 0076 0120 movs r0, #1
- 920 .LVL54:
- 921 0078 BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 922 .LVL55:
- 923 .L190:
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 924 .loc 1 526 0
- 925 007c 4FF40056 mov r6, #8192
- 926 0080 28E0 b .L80
- 927 .L79:
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 928 .loc 1 531 0
- 929 0082 974C ldr r4, .L201
- 930 0084 A342 cmp r3, r4
- 931 0086 44D0 beq .L112
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 932 .loc 1 531 0 is_stmt 0 discriminator 1
- 933 0088 1434 adds r4, r4, #20
- 934 008a A342 cmp r3, r4
- 935 008c 43D0 beq .L113
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 936 .loc 1 531 0 discriminator 3
- 937 008e 1434 adds r4, r4, #20
- 938 0090 A342 cmp r3, r4
- 939 0092 42D0 beq .L114
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 940 .loc 1 531 0 discriminator 5
- 941 0094 1434 adds r4, r4, #20
- 942 0096 A342 cmp r3, r4
- 943 0098 42D0 beq .L115
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 944 .loc 1 531 0 discriminator 7
- 945 009a 1434 adds r4, r4, #20
- 946 009c A342 cmp r3, r4
- 947 009e 42D0 beq .L116
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 948 .loc 1 531 0 discriminator 9
- 949 00a0 1434 adds r4, r4, #20
- 950 00a2 A342 cmp r3, r4
- 951 00a4 42D0 beq .L117
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 952 .loc 1 531 0 discriminator 11
- 953 00a6 1434 adds r4, r4, #20
- 954 00a8 A342 cmp r3, r4
- 955 00aa 42D0 beq .L118
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 956 .loc 1 531 0 discriminator 13
- 957 00ac 04F56274 add r4, r4, #904
-ARM GAS /tmp/cctXRS3L.s page 36
-
-
- 958 00b0 A342 cmp r3, r4
- 959 00b2 41D0 beq .L119
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 960 .loc 1 531 0 discriminator 15
- 961 00b4 1434 adds r4, r4, #20
- 962 00b6 A342 cmp r3, r4
- 963 00b8 40D0 beq .L120
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 964 .loc 1 531 0 discriminator 17
- 965 00ba 1434 adds r4, r4, #20
- 966 00bc A342 cmp r3, r4
- 967 00be 3FD0 beq .L121
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 968 .loc 1 531 0 discriminator 19
- 969 00c0 1434 adds r4, r4, #20
- 970 00c2 A342 cmp r3, r4
- 971 00c4 02D0 beq .L191
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 972 .loc 1 531 0
- 973 00c6 4FF48026 mov r6, #262144
- 974 00ca 03E0 b .L80
- 975 .L191:
- 976 00cc 4FF48046 mov r6, #16384
- 977 00d0 00E0 b .L80
- 978 .L101:
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 979 .loc 1 526 0 is_stmt 1
- 980 00d2 0226 movs r6, #2
- 981 .L80:
- 982 00d4 1546 mov r5, r2
- 983 00d6 0F46 mov r7, r1
- 984 00d8 0446 mov r4, r0
- 985 .LVL56:
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 986 .loc 1 535 0
- 987 00da FFF7FEFF bl HAL_GetTick
- 988 .LVL57:
- 989 00de 8046 mov r8, r0
- 990 .LVL58:
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 991 .loc 1 537 0
- 992 00e0 40E0 b .L87
- 993 .LVL59:
- 994 .L102:
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 995 .loc 1 526 0
- 996 00e2 2026 movs r6, #32
- 997 00e4 F6E7 b .L80
- 998 .L103:
- 999 00e6 4FF40076 mov r6, #512
- 1000 00ea F3E7 b .L80
- 1001 .L104:
- 1002 00ec 4FF40056 mov r6, #8192
- 1003 00f0 F0E7 b .L80
- 1004 .L105:
- 1005 00f2 4FF40036 mov r6, #131072
- 1006 00f6 EDE7 b .L80
-ARM GAS /tmp/cctXRS3L.s page 37
-
-
- 1007 .L106:
- 1008 00f8 4FF40016 mov r6, #2097152
- 1009 00fc EAE7 b .L80
- 1010 .L107:
- 1011 00fe 4FF00076 mov r6, #33554432
- 1012 0102 E7E7 b .L80
- 1013 .L108:
- 1014 0104 0226 movs r6, #2
- 1015 0106 E5E7 b .L80
- 1016 .L109:
- 1017 0108 2026 movs r6, #32
- 1018 010a E3E7 b .L80
- 1019 .L110:
- 1020 010c 4FF40076 mov r6, #512
- 1021 0110 E0E7 b .L80
- 1022 .L112:
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1023 .loc 1 531 0
- 1024 0112 0426 movs r6, #4
- 1025 0114 DEE7 b .L80
- 1026 .L113:
- 1027 0116 4026 movs r6, #64
- 1028 0118 DCE7 b .L80
- 1029 .L114:
- 1030 011a 4FF48066 mov r6, #1024
- 1031 011e D9E7 b .L80
- 1032 .L115:
- 1033 0120 4FF48046 mov r6, #16384
- 1034 0124 D6E7 b .L80
- 1035 .L116:
- 1036 0126 4FF48026 mov r6, #262144
- 1037 012a D3E7 b .L80
- 1038 .L117:
- 1039 012c 4FF48006 mov r6, #4194304
- 1040 0130 D0E7 b .L80
- 1041 .L118:
- 1042 0132 4FF08066 mov r6, #67108864
- 1043 0136 CDE7 b .L80
- 1044 .L119:
- 1045 0138 0426 movs r6, #4
- 1046 013a CBE7 b .L80
- 1047 .L120:
- 1048 013c 4026 movs r6, #64
- 1049 013e C9E7 b .L80
- 1050 .L121:
- 1051 0140 4FF48066 mov r6, #1024
- 1052 0144 C6E7 b .L80
- 1053 .LVL60:
- 1054 .L195:
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1055 .loc 1 539 0
- 1056 0146 4FF40043 mov r3, #32768
- 1057 014a 00E0 b .L83
- 1058 .L123:
- 1059 014c 0823 movs r3, #8
- 1060 .L83:
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
-ARM GAS /tmp/cctXRS3L.s page 38
-
-
- 1061 .loc 1 539 0 is_stmt 0 discriminator 46
- 1062 014e 1342 tst r3, r2
- 1063 0150 14BF ite ne
- 1064 0152 0123 movne r3, #1
- 1065 0154 0023 moveq r3, #0
- 1066 .L84:
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1067 .loc 1 539 0 discriminator 92
- 1068 0156 002B cmp r3, #0
- 1069 0158 40F09780 bne .L192
- 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1070 .loc 1 558 0 is_stmt 1
- 1071 015c B5F1FF3F cmp r5, #-1
- 1072 0160 40F0A380 bne .L193
- 1073 .L87:
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1074 .loc 1 537 0
- 1075 0164 2368 ldr r3, [r4]
- 1076 0166 5F48 ldr r0, .L201+4
- 1077 0168 8342 cmp r3, r0
- 1078 016a 40F2B280 bls .L89
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1079 .loc 1 537 0 is_stmt 0 discriminator 1
- 1080 016e 5E4A ldr r2, .L201+8
- 1081 0170 1268 ldr r2, [r2]
- 1082 0172 1642 tst r6, r2
- 1083 0174 0CBF ite eq
- 1084 0176 0120 moveq r0, #1
- 1085 0178 0020 movne r0, #0
- 1086 .L90:
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1087 .loc 1 537 0 discriminator 4
- 1088 017a 0028 cmp r0, #0
- 1089 017c 00F0B880 beq .L194
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1090 .loc 1 539 0 is_stmt 1
- 1091 0180 584A ldr r2, .L201+4
- 1092 0182 9342 cmp r3, r2
- 1093 0184 39D9 bls .L82
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1094 .loc 1 539 0 is_stmt 0 discriminator 1
- 1095 0186 02F56072 add r2, r2, #896
- 1096 018a 1268 ldr r2, [r2]
- 1097 018c 5449 ldr r1, .L201
- 1098 018e 8B42 cmp r3, r1
- 1099 0190 DCD0 beq .L123
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1100 .loc 1 539 0 discriminator 3
- 1101 0192 1431 adds r1, r1, #20
- 1102 0194 8B42 cmp r3, r1
- 1103 0196 1BD0 beq .L124
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1104 .loc 1 539 0 discriminator 5
- 1105 0198 1431 adds r1, r1, #20
- 1106 019a 8B42 cmp r3, r1
- 1107 019c 1AD0 beq .L125
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
-ARM GAS /tmp/cctXRS3L.s page 39
-
-
- 1108 .loc 1 539 0 discriminator 7
- 1109 019e 1431 adds r1, r1, #20
- 1110 01a0 8B42 cmp r3, r1
- 1111 01a2 1AD0 beq .L126
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1112 .loc 1 539 0 discriminator 9
- 1113 01a4 1431 adds r1, r1, #20
- 1114 01a6 8B42 cmp r3, r1
- 1115 01a8 1AD0 beq .L127
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1116 .loc 1 539 0 discriminator 11
- 1117 01aa 1431 adds r1, r1, #20
- 1118 01ac 8B42 cmp r3, r1
- 1119 01ae 1AD0 beq .L128
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1120 .loc 1 539 0 discriminator 15
- 1121 01b0 01F56771 add r1, r1, #924
- 1122 01b4 8B42 cmp r3, r1
- 1123 01b6 19D0 beq .L129
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1124 .loc 1 539 0 discriminator 17
- 1125 01b8 1431 adds r1, r1, #20
- 1126 01ba 8B42 cmp r3, r1
- 1127 01bc 18D0 beq .L130
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1128 .loc 1 539 0 discriminator 19
- 1129 01be 1431 adds r1, r1, #20
- 1130 01c0 8B42 cmp r3, r1
- 1131 01c2 17D0 beq .L131
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1132 .loc 1 539 0 discriminator 21
- 1133 01c4 1431 adds r1, r1, #20
- 1134 01c6 8B42 cmp r3, r1
- 1135 01c8 BDD0 beq .L195
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1136 .loc 1 539 0
- 1137 01ca 4FF40023 mov r3, #524288
- 1138 01ce BEE7 b .L83
- 1139 .L124:
- 1140 01d0 8023 movs r3, #128
- 1141 01d2 BCE7 b .L83
- 1142 .L125:
- 1143 01d4 4FF40063 mov r3, #2048
- 1144 01d8 B9E7 b .L83
- 1145 .L126:
- 1146 01da 4FF40043 mov r3, #32768
- 1147 01de B6E7 b .L83
- 1148 .L127:
- 1149 01e0 4FF40023 mov r3, #524288
- 1150 01e4 B3E7 b .L83
- 1151 .L128:
- 1152 01e6 4FF40003 mov r3, #8388608
- 1153 01ea B0E7 b .L83
- 1154 .L129:
- 1155 01ec 0823 movs r3, #8
- 1156 01ee AEE7 b .L83
- 1157 .L130:
-ARM GAS /tmp/cctXRS3L.s page 40
-
-
- 1158 01f0 8023 movs r3, #128
- 1159 01f2 ACE7 b .L83
- 1160 .L131:
- 1161 01f4 4FF40063 mov r3, #2048
- 1162 01f8 A9E7 b .L83
- 1163 .L82:
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1164 .loc 1 539 0 discriminator 2
- 1165 01fa 3C4A ldr r2, .L201+12
- 1166 01fc 1268 ldr r2, [r2]
- 1167 01fe 3849 ldr r1, .L201
- 1168 0200 8B42 cmp r3, r1
- 1169 0202 24D0 beq .L133
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1170 .loc 1 539 0 discriminator 48
- 1171 0204 1431 adds r1, r1, #20
- 1172 0206 8B42 cmp r3, r1
- 1173 0208 27D0 beq .L134
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1174 .loc 1 539 0 discriminator 50
- 1175 020a 1431 adds r1, r1, #20
- 1176 020c 8B42 cmp r3, r1
- 1177 020e 26D0 beq .L135
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1178 .loc 1 539 0 discriminator 52
- 1179 0210 1431 adds r1, r1, #20
- 1180 0212 8B42 cmp r3, r1
- 1181 0214 26D0 beq .L136
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1182 .loc 1 539 0 discriminator 54
- 1183 0216 1431 adds r1, r1, #20
- 1184 0218 8B42 cmp r3, r1
- 1185 021a 26D0 beq .L137
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1186 .loc 1 539 0 discriminator 56
- 1187 021c 1431 adds r1, r1, #20
- 1188 021e 8B42 cmp r3, r1
- 1189 0220 26D0 beq .L138
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1190 .loc 1 539 0 discriminator 58
- 1191 0222 1431 adds r1, r1, #20
- 1192 0224 8B42 cmp r3, r1
- 1193 0226 26D0 beq .L139
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1194 .loc 1 539 0 discriminator 60
- 1195 0228 01F56271 add r1, r1, #904
- 1196 022c 8B42 cmp r3, r1
- 1197 022e 25D0 beq .L140
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1198 .loc 1 539 0 discriminator 62
- 1199 0230 1431 adds r1, r1, #20
- 1200 0232 8B42 cmp r3, r1
- 1201 0234 24D0 beq .L141
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1202 .loc 1 539 0 discriminator 64
- 1203 0236 1431 adds r1, r1, #20
- 1204 0238 8B42 cmp r3, r1
-ARM GAS /tmp/cctXRS3L.s page 41
-
-
- 1205 023a 23D0 beq .L142
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1206 .loc 1 539 0 discriminator 66
- 1207 023c 1431 adds r1, r1, #20
- 1208 023e 8B42 cmp r3, r1
- 1209 0240 02D0 beq .L196
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1210 .loc 1 539 0
- 1211 0242 4FF40023 mov r3, #524288
- 1212 0246 03E0 b .L85
- 1213 .L196:
- 1214 0248 4FF40043 mov r3, #32768
- 1215 024c 00E0 b .L85
- 1216 .L133:
- 1217 024e 0823 movs r3, #8
- 1218 .L85:
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1219 .loc 1 539 0 discriminator 91
- 1220 0250 1342 tst r3, r2
- 1221 0252 14BF ite ne
- 1222 0254 0123 movne r3, #1
- 1223 0256 0023 moveq r3, #0
- 1224 0258 7DE7 b .L84
- 1225 .L134:
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1226 .loc 1 539 0
- 1227 025a 8023 movs r3, #128
- 1228 025c F8E7 b .L85
- 1229 .L135:
- 1230 025e 4FF40063 mov r3, #2048
- 1231 0262 F5E7 b .L85
- 1232 .L136:
- 1233 0264 4FF40043 mov r3, #32768
- 1234 0268 F2E7 b .L85
- 1235 .L137:
- 1236 026a 4FF40023 mov r3, #524288
- 1237 026e EFE7 b .L85
- 1238 .L138:
- 1239 0270 4FF40003 mov r3, #8388608
- 1240 0274 ECE7 b .L85
- 1241 .L139:
- 1242 0276 4FF00063 mov r3, #134217728
- 1243 027a E9E7 b .L85
- 1244 .L140:
- 1245 027c 0823 movs r3, #8
- 1246 027e E7E7 b .L85
- 1247 .L141:
- 1248 0280 8023 movs r3, #128
- 1249 0282 E5E7 b .L85
- 1250 .L142:
- 1251 0284 4FF40063 mov r3, #2048
- 1252 0288 E2E7 b .L85
- 1253 .L192:
- 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1254 .loc 1 544 0 is_stmt 1
- 1255 028a E26B ldr r2, [r4, #60]
- 1256 028c 236C ldr r3, [r4, #64]
-ARM GAS /tmp/cctXRS3L.s page 42
-
-
- 1257 028e 0120 movs r0, #1
- 1258 0290 00FA03F3 lsl r3, r0, r3
- 1259 0294 5360 str r3, [r2, #4]
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1260 .loc 1 547 0
- 1261 0296 A36B ldr r3, [r4, #56]
- 1262 0298 0343 orrs r3, r3, r0
- 1263 029a A363 str r3, [r4, #56]
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1264 .loc 1 550 0
- 1265 029c 84F82100 strb r0, [r4, #33]
- 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1266 .loc 1 553 0
- 1267 02a0 0023 movs r3, #0
- 1268 02a2 84F82030 strb r3, [r4, #32]
- 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1269 .loc 1 555 0
- 1270 02a6 BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 1271 .LVL61:
- 1272 .L193:
- 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1273 .loc 1 560 0
- 1274 02aa 35B1 cbz r5, .L88
- 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1275 .loc 1 560 0 is_stmt 0 discriminator 1
- 1276 02ac FFF7FEFF bl HAL_GetTick
- 1277 .LVL62:
- 1278 02b0 A0EB0800 sub r0, r0, r8
- 1279 02b4 8542 cmp r5, r0
- 1280 02b6 BFF455AF bcs .L87
- 1281 .L88:
- 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1282 .loc 1 563 0 is_stmt 1
- 1283 02ba A36B ldr r3, [r4, #56]
- 1284 02bc 43F02003 orr r3, r3, #32
- 1285 02c0 A363 str r3, [r4, #56]
- 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1286 .loc 1 566 0
- 1287 02c2 0120 movs r0, #1
- 1288 02c4 84F82100 strb r0, [r4, #33]
- 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1289 .loc 1 569 0
- 1290 02c8 0023 movs r3, #0
- 1291 02ca 84F82030 strb r3, [r4, #32]
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1292 .loc 1 571 0
- 1293 02ce BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 1294 .LVL63:
- 1295 .L89:
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1296 .loc 1 537 0 discriminator 2
- 1297 02d2 064A ldr r2, .L201+12
- 1298 02d4 1268 ldr r2, [r2]
- 1299 02d6 1642 tst r6, r2
- 1300 02d8 0CBF ite eq
- 1301 02da 0120 moveq r0, #1
- 1302 02dc 0020 movne r0, #0
-ARM GAS /tmp/cctXRS3L.s page 43
-
-
- 1303 02de 4CE7 b .L90
- 1304 .L202:
- 1305 .align 2
- 1306 .L201:
- 1307 02e0 08000240 .word 1073872904
- 1308 02e4 80000240 .word 1073873024
- 1309 02e8 00040240 .word 1073873920
- 1310 02ec 00000240 .word 1073872896
- 1311 .L194:
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1312 .loc 1 576 0
- 1313 02f0 002F cmp r7, #0
- 1314 02f2 40F08C80 bne .L92
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1315 .loc 1 579 0
- 1316 02f6 884A ldr r2, .L203
- 1317 02f8 9342 cmp r3, r2
- 1318 02fa 44D9 bls .L93
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1319 .loc 1 579 0 is_stmt 0 discriminator 1
- 1320 02fc 783A subs r2, r2, #120
- 1321 02fe 9342 cmp r3, r2
- 1322 0300 21D0 beq .L144
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1323 .loc 1 579 0 discriminator 3
- 1324 0302 1432 adds r2, r2, #20
- 1325 0304 9342 cmp r3, r2
- 1326 0306 29D0 beq .L145
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1327 .loc 1 579 0 discriminator 5
- 1328 0308 1432 adds r2, r2, #20
- 1329 030a 9342 cmp r3, r2
- 1330 030c 28D0 beq .L146
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1331 .loc 1 579 0 discriminator 7
- 1332 030e 1432 adds r2, r2, #20
- 1333 0310 9342 cmp r3, r2
- 1334 0312 28D0 beq .L147
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1335 .loc 1 579 0 discriminator 9
- 1336 0314 1432 adds r2, r2, #20
- 1337 0316 9342 cmp r3, r2
- 1338 0318 28D0 beq .L148
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1339 .loc 1 579 0 discriminator 11
- 1340 031a 1432 adds r2, r2, #20
- 1341 031c 9342 cmp r3, r2
- 1342 031e 28D0 beq .L149
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1343 .loc 1 579 0 discriminator 15
- 1344 0320 02F56772 add r2, r2, #924
- 1345 0324 9342 cmp r3, r2
- 1346 0326 27D0 beq .L150
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1347 .loc 1 579 0 discriminator 17
- 1348 0328 1432 adds r2, r2, #20
- 1349 032a 9342 cmp r3, r2
-ARM GAS /tmp/cctXRS3L.s page 44
-
-
- 1350 032c 26D0 beq .L151
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1351 .loc 1 579 0 discriminator 19
- 1352 032e 1432 adds r2, r2, #20
- 1353 0330 9342 cmp r3, r2
- 1354 0332 25D0 beq .L152
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1355 .loc 1 579 0 discriminator 21
- 1356 0334 1432 adds r2, r2, #20
- 1357 0336 9342 cmp r3, r2
- 1358 0338 02D0 beq .L197
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1359 .loc 1 579 0
- 1360 033a 4FF40033 mov r3, #131072
- 1361 033e 03E0 b .L94
- 1362 .L197:
- 1363 0340 4FF40053 mov r3, #8192
- 1364 0344 00E0 b .L94
- 1365 .L144:
- 1366 0346 0223 movs r3, #2
- 1367 .L94:
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1368 .loc 1 579 0 discriminator 46
- 1369 0348 744A ldr r2, .L203+4
- 1370 034a 5360 str r3, [r2, #4]
- 1371 .L95:
- 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1372 .loc 1 583 0 is_stmt 1
- 1373 034c 0123 movs r3, #1
- 1374 034e 84F82130 strb r3, [r4, #33]
- 1375 .L97:
- 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1376 .loc 1 592 0
- 1377 0352 0020 movs r0, #0
- 1378 0354 84F82000 strb r0, [r4, #32]
- 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1379 .loc 1 595 0
- 1380 0358 BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 1381 .LVL64:
- 1382 .L145:
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1383 .loc 1 579 0
- 1384 035c 2023 movs r3, #32
- 1385 035e F3E7 b .L94
- 1386 .L146:
- 1387 0360 4FF40073 mov r3, #512
- 1388 0364 F0E7 b .L94
- 1389 .L147:
- 1390 0366 4FF40053 mov r3, #8192
- 1391 036a EDE7 b .L94
- 1392 .L148:
- 1393 036c 4FF40033 mov r3, #131072
- 1394 0370 EAE7 b .L94
- 1395 .L149:
- 1396 0372 4FF40013 mov r3, #2097152
- 1397 0376 E7E7 b .L94
- 1398 .L150:
-ARM GAS /tmp/cctXRS3L.s page 45
-
-
- 1399 0378 0223 movs r3, #2
- 1400 037a E5E7 b .L94
- 1401 .L151:
- 1402 037c 2023 movs r3, #32
- 1403 037e E3E7 b .L94
- 1404 .L152:
- 1405 0380 4FF40073 mov r3, #512
- 1406 0384 E0E7 b .L94
- 1407 .L93:
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1408 .loc 1 579 0 is_stmt 0 discriminator 2
- 1409 0386 664A ldr r2, .L203+8
- 1410 0388 9342 cmp r3, r2
- 1411 038a 24D0 beq .L154
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1412 .loc 1 579 0 discriminator 47
- 1413 038c 1432 adds r2, r2, #20
- 1414 038e 9342 cmp r3, r2
- 1415 0390 25D0 beq .L155
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1416 .loc 1 579 0 discriminator 49
- 1417 0392 1432 adds r2, r2, #20
- 1418 0394 9342 cmp r3, r2
- 1419 0396 24D0 beq .L156
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1420 .loc 1 579 0 discriminator 51
- 1421 0398 1432 adds r2, r2, #20
- 1422 039a 9342 cmp r3, r2
- 1423 039c 24D0 beq .L157
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1424 .loc 1 579 0 discriminator 53
- 1425 039e 1432 adds r2, r2, #20
- 1426 03a0 9342 cmp r3, r2
- 1427 03a2 24D0 beq .L158
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1428 .loc 1 579 0 discriminator 55
- 1429 03a4 1432 adds r2, r2, #20
- 1430 03a6 9342 cmp r3, r2
- 1431 03a8 24D0 beq .L159
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1432 .loc 1 579 0 discriminator 57
- 1433 03aa 1432 adds r2, r2, #20
- 1434 03ac 9342 cmp r3, r2
- 1435 03ae 24D0 beq .L160
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1436 .loc 1 579 0 discriminator 59
- 1437 03b0 02F56272 add r2, r2, #904
- 1438 03b4 9342 cmp r3, r2
- 1439 03b6 23D0 beq .L161
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1440 .loc 1 579 0 discriminator 61
- 1441 03b8 1432 adds r2, r2, #20
- 1442 03ba 9342 cmp r3, r2
- 1443 03bc 22D0 beq .L162
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1444 .loc 1 579 0 discriminator 63
- 1445 03be 1432 adds r2, r2, #20
-ARM GAS /tmp/cctXRS3L.s page 46
-
-
- 1446 03c0 9342 cmp r3, r2
- 1447 03c2 21D0 beq .L163
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1448 .loc 1 579 0 discriminator 65
- 1449 03c4 1432 adds r2, r2, #20
- 1450 03c6 9342 cmp r3, r2
- 1451 03c8 02D0 beq .L198
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1452 .loc 1 579 0
- 1453 03ca 4FF40033 mov r3, #131072
- 1454 03ce 03E0 b .L96
- 1455 .L198:
- 1456 03d0 4FF40053 mov r3, #8192
- 1457 03d4 00E0 b .L96
- 1458 .L154:
- 1459 03d6 0223 movs r3, #2
- 1460 .L96:
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1461 .loc 1 579 0 discriminator 90
- 1462 03d8 524A ldr r2, .L203+12
- 1463 03da 5360 str r3, [r2, #4]
- 1464 03dc B6E7 b .L95
- 1465 .L155:
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1466 .loc 1 579 0
- 1467 03de 2023 movs r3, #32
- 1468 03e0 FAE7 b .L96
- 1469 .L156:
- 1470 03e2 4FF40073 mov r3, #512
- 1471 03e6 F7E7 b .L96
- 1472 .L157:
- 1473 03e8 4FF40053 mov r3, #8192
- 1474 03ec F4E7 b .L96
- 1475 .L158:
- 1476 03ee 4FF40033 mov r3, #131072
- 1477 03f2 F1E7 b .L96
- 1478 .L159:
- 1479 03f4 4FF40013 mov r3, #2097152
- 1480 03f8 EEE7 b .L96
- 1481 .L160:
- 1482 03fa 4FF00073 mov r3, #33554432
- 1483 03fe EBE7 b .L96
- 1484 .L161:
- 1485 0400 0223 movs r3, #2
- 1486 0402 E9E7 b .L96
- 1487 .L162:
- 1488 0404 2023 movs r3, #32
- 1489 0406 E7E7 b .L96
- 1490 .L163:
- 1491 0408 4FF40073 mov r3, #512
- 1492 040c E4E7 b .L96
- 1493 .L92:
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1494 .loc 1 588 0 is_stmt 1
- 1495 040e 424A ldr r2, .L203
- 1496 0410 9342 cmp r3, r2
- 1497 0412 3DD9 bls .L98
-ARM GAS /tmp/cctXRS3L.s page 47
-
-
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1498 .loc 1 588 0 is_stmt 0 discriminator 1
- 1499 0414 783A subs r2, r2, #120
- 1500 0416 9342 cmp r3, r2
- 1501 0418 21D0 beq .L165
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1502 .loc 1 588 0 discriminator 3
- 1503 041a 1432 adds r2, r2, #20
- 1504 041c 9342 cmp r3, r2
- 1505 041e 22D0 beq .L166
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1506 .loc 1 588 0 discriminator 5
- 1507 0420 1432 adds r2, r2, #20
- 1508 0422 9342 cmp r3, r2
- 1509 0424 21D0 beq .L167
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1510 .loc 1 588 0 discriminator 7
- 1511 0426 1432 adds r2, r2, #20
- 1512 0428 9342 cmp r3, r2
- 1513 042a 21D0 beq .L168
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1514 .loc 1 588 0 discriminator 9
- 1515 042c 1432 adds r2, r2, #20
- 1516 042e 9342 cmp r3, r2
- 1517 0430 21D0 beq .L169
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1518 .loc 1 588 0 discriminator 11
- 1519 0432 1432 adds r2, r2, #20
- 1520 0434 9342 cmp r3, r2
- 1521 0436 21D0 beq .L170
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1522 .loc 1 588 0 discriminator 15
- 1523 0438 02F56772 add r2, r2, #924
- 1524 043c 9342 cmp r3, r2
- 1525 043e 20D0 beq .L171
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1526 .loc 1 588 0 discriminator 17
- 1527 0440 1432 adds r2, r2, #20
- 1528 0442 9342 cmp r3, r2
- 1529 0444 1FD0 beq .L172
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1530 .loc 1 588 0 discriminator 19
- 1531 0446 1432 adds r2, r2, #20
- 1532 0448 9342 cmp r3, r2
- 1533 044a 1ED0 beq .L173
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1534 .loc 1 588 0 discriminator 21
- 1535 044c 1432 adds r2, r2, #20
- 1536 044e 9342 cmp r3, r2
- 1537 0450 02D0 beq .L199
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1538 .loc 1 588 0
- 1539 0452 4FF48023 mov r3, #262144
- 1540 0456 03E0 b .L99
- 1541 .L199:
- 1542 0458 4FF48043 mov r3, #16384
- 1543 045c 00E0 b .L99
-ARM GAS /tmp/cctXRS3L.s page 48
-
-
- 1544 .L165:
- 1545 045e 0423 movs r3, #4
- 1546 .L99:
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1547 .loc 1 588 0 discriminator 46
- 1548 0460 2E4A ldr r2, .L203+4
- 1549 0462 5360 str r3, [r2, #4]
- 1550 0464 75E7 b .L97
- 1551 .L166:
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1552 .loc 1 588 0
- 1553 0466 4023 movs r3, #64
- 1554 0468 FAE7 b .L99
- 1555 .L167:
- 1556 046a 4FF48063 mov r3, #1024
- 1557 046e F7E7 b .L99
- 1558 .L168:
- 1559 0470 4FF48043 mov r3, #16384
- 1560 0474 F4E7 b .L99
- 1561 .L169:
- 1562 0476 4FF48023 mov r3, #262144
- 1563 047a F1E7 b .L99
- 1564 .L170:
- 1565 047c 4FF48003 mov r3, #4194304
- 1566 0480 EEE7 b .L99
- 1567 .L171:
- 1568 0482 0423 movs r3, #4
- 1569 0484 ECE7 b .L99
- 1570 .L172:
- 1571 0486 4023 movs r3, #64
- 1572 0488 EAE7 b .L99
- 1573 .L173:
- 1574 048a 4FF48063 mov r3, #1024
- 1575 048e E7E7 b .L99
- 1576 .L98:
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1577 .loc 1 588 0 discriminator 2
- 1578 0490 234A ldr r2, .L203+8
- 1579 0492 9342 cmp r3, r2
- 1580 0494 24D0 beq .L175
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1581 .loc 1 588 0 discriminator 47
- 1582 0496 1432 adds r2, r2, #20
- 1583 0498 9342 cmp r3, r2
- 1584 049a 25D0 beq .L176
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1585 .loc 1 588 0 discriminator 49
- 1586 049c 1432 adds r2, r2, #20
- 1587 049e 9342 cmp r3, r2
- 1588 04a0 24D0 beq .L177
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1589 .loc 1 588 0 discriminator 51
- 1590 04a2 1432 adds r2, r2, #20
- 1591 04a4 9342 cmp r3, r2
- 1592 04a6 24D0 beq .L178
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1593 .loc 1 588 0 discriminator 53
-ARM GAS /tmp/cctXRS3L.s page 49
-
-
- 1594 04a8 1432 adds r2, r2, #20
- 1595 04aa 9342 cmp r3, r2
- 1596 04ac 24D0 beq .L179
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1597 .loc 1 588 0 discriminator 55
- 1598 04ae 1432 adds r2, r2, #20
- 1599 04b0 9342 cmp r3, r2
- 1600 04b2 24D0 beq .L180
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1601 .loc 1 588 0 discriminator 57
- 1602 04b4 1432 adds r2, r2, #20
- 1603 04b6 9342 cmp r3, r2
- 1604 04b8 24D0 beq .L181
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1605 .loc 1 588 0 discriminator 59
- 1606 04ba 02F56272 add r2, r2, #904
- 1607 04be 9342 cmp r3, r2
- 1608 04c0 23D0 beq .L182
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1609 .loc 1 588 0 discriminator 61
- 1610 04c2 1432 adds r2, r2, #20
- 1611 04c4 9342 cmp r3, r2
- 1612 04c6 22D0 beq .L183
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1613 .loc 1 588 0 discriminator 63
- 1614 04c8 1432 adds r2, r2, #20
- 1615 04ca 9342 cmp r3, r2
- 1616 04cc 21D0 beq .L184
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1617 .loc 1 588 0 discriminator 65
- 1618 04ce 1432 adds r2, r2, #20
- 1619 04d0 9342 cmp r3, r2
- 1620 04d2 02D0 beq .L200
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1621 .loc 1 588 0
- 1622 04d4 4FF48023 mov r3, #262144
- 1623 04d8 03E0 b .L100
- 1624 .L200:
- 1625 04da 4FF48043 mov r3, #16384
- 1626 04de 00E0 b .L100
- 1627 .L175:
- 1628 04e0 0423 movs r3, #4
- 1629 .L100:
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1630 .loc 1 588 0 discriminator 90
- 1631 04e2 104A ldr r2, .L203+12
- 1632 04e4 5360 str r3, [r2, #4]
- 1633 04e6 34E7 b .L97
- 1634 .L176:
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1635 .loc 1 588 0
- 1636 04e8 4023 movs r3, #64
- 1637 04ea FAE7 b .L100
- 1638 .L177:
- 1639 04ec 4FF48063 mov r3, #1024
- 1640 04f0 F7E7 b .L100
- 1641 .L178:
-ARM GAS /tmp/cctXRS3L.s page 50
-
-
- 1642 04f2 4FF48043 mov r3, #16384
- 1643 04f6 F4E7 b .L100
- 1644 .L179:
- 1645 04f8 4FF48023 mov r3, #262144
- 1646 04fc F1E7 b .L100
- 1647 .L180:
- 1648 04fe 4FF48003 mov r3, #4194304
- 1649 0502 EEE7 b .L100
- 1650 .L181:
- 1651 0504 4FF08063 mov r3, #67108864
- 1652 0508 EBE7 b .L100
- 1653 .L182:
- 1654 050a 0423 movs r3, #4
- 1655 050c E9E7 b .L100
- 1656 .L183:
- 1657 050e 4023 movs r3, #64
- 1658 0510 E7E7 b .L100
- 1659 .L184:
- 1660 0512 4FF48063 mov r3, #1024
- 1661 0516 E4E7 b .L100
- 1662 .L204:
- 1663 .align 2
- 1664 .L203:
- 1665 0518 80000240 .word 1073873024
- 1666 051c 00040240 .word 1073873920
- 1667 0520 08000240 .word 1073872904
- 1668 0524 00000240 .word 1073872896
- 1669 .cfi_endproc
- 1670 .LFE71:
- 1672 .section .text.HAL_DMA_IRQHandler,"ax",%progbits
- 1673 .align 1
- 1674 .global HAL_DMA_IRQHandler
- 1675 .syntax unified
- 1676 .thumb
- 1677 .thumb_func
- 1678 .fpu softvfp
- 1680 HAL_DMA_IRQHandler:
- 1681 .LFB72:
- 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t flag_it = hdma->DmaBaseAddress->ISR;
- 1682 .loc 1 604 0 is_stmt 1
- 1683 .cfi_startproc
- 1684 @ args = 0, pretend = 0, frame = 0
- 1685 @ frame_needed = 0, uses_anonymous_args = 0
- 1686 .LVL65:
- 1687 0000 38B5 push {r3, r4, r5, lr}
- 1688 .LCFI11:
- 1689 .cfi_def_cfa_offset 16
- 1690 .cfi_offset 3, -16
- 1691 .cfi_offset 4, -12
- 1692 .cfi_offset 5, -8
- 1693 .cfi_offset 14, -4
- 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** uint32_t source_it = hdma->Instance->CCR;
- 1694 .loc 1 605 0
- 1695 0002 C36B ldr r3, [r0, #60]
- 1696 0004 1A68 ldr r2, [r3]
- 1697 .LVL66:
- 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
-ARM GAS /tmp/cctXRS3L.s page 51
-
-
- 1698 .loc 1 606 0
- 1699 0006 0468 ldr r4, [r0]
- 1700 0008 2568 ldr r5, [r4]
- 1701 .LVL67:
- 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1702 .loc 1 609 0
- 1703 000a 016C ldr r1, [r0, #64]
- 1704 000c 0423 movs r3, #4
- 1705 000e 8B40 lsls r3, r3, r1
- 1706 0010 1A42 tst r2, r3
- 1707 0012 00F09780 beq .L206
- 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1708 .loc 1 609 0 is_stmt 0 discriminator 1
- 1709 0016 15F0040F tst r5, #4
- 1710 001a 00F09380 beq .L206
- 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1711 .loc 1 612 0 is_stmt 1
- 1712 001e 2368 ldr r3, [r4]
- 1713 0020 13F0200F tst r3, #32
- 1714 0024 03D1 bne .L207
- 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1715 .loc 1 615 0
- 1716 0026 2368 ldr r3, [r4]
- 1717 0028 23F00403 bic r3, r3, #4
- 1718 002c 2360 str r3, [r4]
- 1719 .L207:
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1720 .loc 1 618 0
- 1721 002e 0368 ldr r3, [r0]
- 1722 0030 A34A ldr r2, .L266
- 1723 .LVL68:
- 1724 0032 9342 cmp r3, r2
- 1725 0034 42D9 bls .L208
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1726 .loc 1 618 0 is_stmt 0 discriminator 1
- 1727 0036 783A subs r2, r2, #120
- 1728 0038 9342 cmp r3, r2
- 1729 003a 21D0 beq .L219
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1730 .loc 1 618 0 discriminator 3
- 1731 003c 1432 adds r2, r2, #20
- 1732 003e 9342 cmp r3, r2
- 1733 0040 27D0 beq .L220
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1734 .loc 1 618 0 discriminator 5
- 1735 0042 1432 adds r2, r2, #20
- 1736 0044 9342 cmp r3, r2
- 1737 0046 26D0 beq .L221
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1738 .loc 1 618 0 discriminator 7
- 1739 0048 1432 adds r2, r2, #20
- 1740 004a 9342 cmp r3, r2
- 1741 004c 26D0 beq .L222
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1742 .loc 1 618 0 discriminator 9
- 1743 004e 1432 adds r2, r2, #20
- 1744 0050 9342 cmp r3, r2
-ARM GAS /tmp/cctXRS3L.s page 52
-
-
- 1745 0052 26D0 beq .L223
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1746 .loc 1 618 0 discriminator 11
- 1747 0054 1432 adds r2, r2, #20
- 1748 0056 9342 cmp r3, r2
- 1749 0058 26D0 beq .L224
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1750 .loc 1 618 0 discriminator 15
- 1751 005a 02F56772 add r2, r2, #924
- 1752 005e 9342 cmp r3, r2
- 1753 0060 25D0 beq .L225
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1754 .loc 1 618 0 discriminator 17
- 1755 0062 1432 adds r2, r2, #20
- 1756 0064 9342 cmp r3, r2
- 1757 0066 24D0 beq .L226
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1758 .loc 1 618 0 discriminator 19
- 1759 0068 1432 adds r2, r2, #20
- 1760 006a 9342 cmp r3, r2
- 1761 006c 23D0 beq .L227
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1762 .loc 1 618 0 discriminator 21
- 1763 006e 1432 adds r2, r2, #20
- 1764 0070 9342 cmp r3, r2
- 1765 0072 02D0 beq .L262
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1766 .loc 1 618 0
- 1767 0074 4FF48022 mov r2, #262144
- 1768 0078 03E0 b .L209
- 1769 .L262:
- 1770 007a 4FF48042 mov r2, #16384
- 1771 007e 00E0 b .L209
- 1772 .L219:
- 1773 0080 0422 movs r2, #4
- 1774 .L209:
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1775 .loc 1 618 0 discriminator 46
- 1776 0082 904B ldr r3, .L266+4
- 1777 0084 5A60 str r2, [r3, #4]
- 1778 .L210:
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1779 .loc 1 623 0 is_stmt 1
- 1780 0086 C36A ldr r3, [r0, #44]
- 1781 0088 002B cmp r3, #0
- 1782 008a 00F01781 beq .L205
- 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1783 .loc 1 626 0
- 1784 008e 9847 blx r3
- 1785 .LVL69:
- 1786 0090 38BD pop {r3, r4, r5, pc}
- 1787 .LVL70:
- 1788 .L220:
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1789 .loc 1 618 0
- 1790 0092 4022 movs r2, #64
- 1791 0094 F5E7 b .L209
-ARM GAS /tmp/cctXRS3L.s page 53
-
-
- 1792 .L221:
- 1793 0096 4FF48062 mov r2, #1024
- 1794 009a F2E7 b .L209
- 1795 .L222:
- 1796 009c 4FF48042 mov r2, #16384
- 1797 00a0 EFE7 b .L209
- 1798 .L223:
- 1799 00a2 4FF48022 mov r2, #262144
- 1800 00a6 ECE7 b .L209
- 1801 .L224:
- 1802 00a8 4FF48002 mov r2, #4194304
- 1803 00ac E9E7 b .L209
- 1804 .L225:
- 1805 00ae 0422 movs r2, #4
- 1806 00b0 E7E7 b .L209
- 1807 .L226:
- 1808 00b2 4022 movs r2, #64
- 1809 00b4 E5E7 b .L209
- 1810 .L227:
- 1811 00b6 4FF48062 mov r2, #1024
- 1812 00ba E2E7 b .L209
- 1813 .L208:
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1814 .loc 1 618 0 is_stmt 0 discriminator 2
- 1815 00bc 824A ldr r2, .L266+8
- 1816 00be 9342 cmp r3, r2
- 1817 00c0 24D0 beq .L229
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1818 .loc 1 618 0 discriminator 47
- 1819 00c2 1432 adds r2, r2, #20
- 1820 00c4 9342 cmp r3, r2
- 1821 00c6 25D0 beq .L230
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1822 .loc 1 618 0 discriminator 49
- 1823 00c8 1432 adds r2, r2, #20
- 1824 00ca 9342 cmp r3, r2
- 1825 00cc 24D0 beq .L231
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1826 .loc 1 618 0 discriminator 51
- 1827 00ce 1432 adds r2, r2, #20
- 1828 00d0 9342 cmp r3, r2
- 1829 00d2 24D0 beq .L232
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1830 .loc 1 618 0 discriminator 53
- 1831 00d4 1432 adds r2, r2, #20
- 1832 00d6 9342 cmp r3, r2
- 1833 00d8 24D0 beq .L233
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1834 .loc 1 618 0 discriminator 55
- 1835 00da 1432 adds r2, r2, #20
- 1836 00dc 9342 cmp r3, r2
- 1837 00de 24D0 beq .L234
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1838 .loc 1 618 0 discriminator 57
- 1839 00e0 1432 adds r2, r2, #20
- 1840 00e2 9342 cmp r3, r2
- 1841 00e4 24D0 beq .L235
-ARM GAS /tmp/cctXRS3L.s page 54
-
-
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1842 .loc 1 618 0 discriminator 59
- 1843 00e6 02F56272 add r2, r2, #904
- 1844 00ea 9342 cmp r3, r2
- 1845 00ec 23D0 beq .L236
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1846 .loc 1 618 0 discriminator 61
- 1847 00ee 1432 adds r2, r2, #20
- 1848 00f0 9342 cmp r3, r2
- 1849 00f2 22D0 beq .L237
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1850 .loc 1 618 0 discriminator 63
- 1851 00f4 1432 adds r2, r2, #20
- 1852 00f6 9342 cmp r3, r2
- 1853 00f8 21D0 beq .L238
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1854 .loc 1 618 0 discriminator 65
- 1855 00fa 1432 adds r2, r2, #20
- 1856 00fc 9342 cmp r3, r2
- 1857 00fe 02D0 beq .L263
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1858 .loc 1 618 0
- 1859 0100 4FF48022 mov r2, #262144
- 1860 0104 03E0 b .L211
- 1861 .L263:
- 1862 0106 4FF48042 mov r2, #16384
- 1863 010a 00E0 b .L211
- 1864 .L229:
- 1865 010c 0422 movs r2, #4
- 1866 .L211:
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1867 .loc 1 618 0 discriminator 90
- 1868 010e 6F4B ldr r3, .L266+12
- 1869 0110 5A60 str r2, [r3, #4]
- 1870 0112 B8E7 b .L210
- 1871 .L230:
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1872 .loc 1 618 0
- 1873 0114 4022 movs r2, #64
- 1874 0116 FAE7 b .L211
- 1875 .L231:
- 1876 0118 4FF48062 mov r2, #1024
- 1877 011c F7E7 b .L211
- 1878 .L232:
- 1879 011e 4FF48042 mov r2, #16384
- 1880 0122 F4E7 b .L211
- 1881 .L233:
- 1882 0124 4FF48022 mov r2, #262144
- 1883 0128 F1E7 b .L211
- 1884 .L234:
- 1885 012a 4FF48002 mov r2, #4194304
- 1886 012e EEE7 b .L211
- 1887 .L235:
- 1888 0130 4FF08062 mov r2, #67108864
- 1889 0134 EBE7 b .L211
- 1890 .L236:
- 1891 0136 0422 movs r2, #4
-ARM GAS /tmp/cctXRS3L.s page 55
-
-
- 1892 0138 E9E7 b .L211
- 1893 .L237:
- 1894 013a 4022 movs r2, #64
- 1895 013c E7E7 b .L211
- 1896 .L238:
- 1897 013e 4FF48062 mov r2, #1024
- 1898 0142 E4E7 b .L211
- 1899 .LVL71:
- 1900 .L206:
- 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1901 .loc 1 631 0 is_stmt 1
- 1902 0144 0223 movs r3, #2
- 1903 0146 8B40 lsls r3, r3, r1
- 1904 0148 1A42 tst r2, r3
- 1905 014a 00F09C80 beq .L213
- 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1906 .loc 1 631 0 is_stmt 0 discriminator 1
- 1907 014e 15F0020F tst r5, #2
- 1908 0152 00F09880 beq .L213
- 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1909 .loc 1 633 0 is_stmt 1
- 1910 0156 2368 ldr r3, [r4]
- 1911 0158 13F0200F tst r3, #32
- 1912 015c 06D1 bne .L214
- 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1913 .loc 1 636 0
- 1914 015e 2368 ldr r3, [r4]
- 1915 0160 23F00A03 bic r3, r3, #10
- 1916 0164 2360 str r3, [r4]
- 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1917 .loc 1 639 0
- 1918 0166 0123 movs r3, #1
- 1919 0168 80F82130 strb r3, [r0, #33]
- 1920 .L214:
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1921 .loc 1 642 0
- 1922 016c 0368 ldr r3, [r0]
- 1923 016e 544A ldr r2, .L266
- 1924 .LVL72:
- 1925 0170 9342 cmp r3, r2
- 1926 0172 44D9 bls .L215
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1927 .loc 1 642 0 is_stmt 0 discriminator 1
- 1928 0174 783A subs r2, r2, #120
- 1929 0176 9342 cmp r3, r2
- 1930 0178 21D0 beq .L240
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1931 .loc 1 642 0 discriminator 3
- 1932 017a 1432 adds r2, r2, #20
- 1933 017c 9342 cmp r3, r2
- 1934 017e 29D0 beq .L241
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1935 .loc 1 642 0 discriminator 5
- 1936 0180 1432 adds r2, r2, #20
- 1937 0182 9342 cmp r3, r2
- 1938 0184 28D0 beq .L242
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
-ARM GAS /tmp/cctXRS3L.s page 56
-
-
- 1939 .loc 1 642 0 discriminator 7
- 1940 0186 1432 adds r2, r2, #20
- 1941 0188 9342 cmp r3, r2
- 1942 018a 28D0 beq .L243
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1943 .loc 1 642 0 discriminator 9
- 1944 018c 1432 adds r2, r2, #20
- 1945 018e 9342 cmp r3, r2
- 1946 0190 28D0 beq .L244
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1947 .loc 1 642 0 discriminator 11
- 1948 0192 1432 adds r2, r2, #20
- 1949 0194 9342 cmp r3, r2
- 1950 0196 28D0 beq .L245
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1951 .loc 1 642 0 discriminator 15
- 1952 0198 02F56772 add r2, r2, #924
- 1953 019c 9342 cmp r3, r2
- 1954 019e 27D0 beq .L246
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1955 .loc 1 642 0 discriminator 17
- 1956 01a0 1432 adds r2, r2, #20
- 1957 01a2 9342 cmp r3, r2
- 1958 01a4 26D0 beq .L247
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1959 .loc 1 642 0 discriminator 19
- 1960 01a6 1432 adds r2, r2, #20
- 1961 01a8 9342 cmp r3, r2
- 1962 01aa 25D0 beq .L248
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1963 .loc 1 642 0 discriminator 21
- 1964 01ac 1432 adds r2, r2, #20
- 1965 01ae 9342 cmp r3, r2
- 1966 01b0 02D0 beq .L264
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1967 .loc 1 642 0
- 1968 01b2 4FF40032 mov r2, #131072
- 1969 01b6 03E0 b .L216
- 1970 .L264:
- 1971 01b8 4FF40052 mov r2, #8192
- 1972 01bc 00E0 b .L216
- 1973 .L240:
- 1974 01be 0222 movs r2, #2
- 1975 .L216:
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1976 .loc 1 642 0 discriminator 46
- 1977 01c0 404B ldr r3, .L266+4
- 1978 01c2 5A60 str r2, [r3, #4]
- 1979 .L217:
- 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1980 .loc 1 645 0 is_stmt 1
- 1981 01c4 0023 movs r3, #0
- 1982 01c6 80F82030 strb r3, [r0, #32]
- 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 1983 .loc 1 647 0
- 1984 01ca 836A ldr r3, [r0, #40]
- 1985 01cc 002B cmp r3, #0
-ARM GAS /tmp/cctXRS3L.s page 57
-
-
- 1986 01ce 75D0 beq .L205
- 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 1987 .loc 1 650 0
- 1988 01d0 9847 blx r3
- 1989 .LVL73:
- 1990 01d2 38BD pop {r3, r4, r5, pc}
- 1991 .LVL74:
- 1992 .L241:
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 1993 .loc 1 642 0
- 1994 01d4 2022 movs r2, #32
- 1995 01d6 F3E7 b .L216
- 1996 .L242:
- 1997 01d8 4FF40072 mov r2, #512
- 1998 01dc F0E7 b .L216
- 1999 .L243:
- 2000 01de 4FF40052 mov r2, #8192
- 2001 01e2 EDE7 b .L216
- 2002 .L244:
- 2003 01e4 4FF40032 mov r2, #131072
- 2004 01e8 EAE7 b .L216
- 2005 .L245:
- 2006 01ea 4FF40012 mov r2, #2097152
- 2007 01ee E7E7 b .L216
- 2008 .L246:
- 2009 01f0 0222 movs r2, #2
- 2010 01f2 E5E7 b .L216
- 2011 .L247:
- 2012 01f4 2022 movs r2, #32
- 2013 01f6 E3E7 b .L216
- 2014 .L248:
- 2015 01f8 4FF40072 mov r2, #512
- 2016 01fc E0E7 b .L216
- 2017 .L215:
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2018 .loc 1 642 0 is_stmt 0 discriminator 2
- 2019 01fe 324A ldr r2, .L266+8
- 2020 0200 9342 cmp r3, r2
- 2021 0202 24D0 beq .L250
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2022 .loc 1 642 0 discriminator 47
- 2023 0204 1432 adds r2, r2, #20
- 2024 0206 9342 cmp r3, r2
- 2025 0208 25D0 beq .L251
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2026 .loc 1 642 0 discriminator 49
- 2027 020a 1432 adds r2, r2, #20
- 2028 020c 9342 cmp r3, r2
- 2029 020e 24D0 beq .L252
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2030 .loc 1 642 0 discriminator 51
- 2031 0210 1432 adds r2, r2, #20
- 2032 0212 9342 cmp r3, r2
- 2033 0214 24D0 beq .L253
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2034 .loc 1 642 0 discriminator 53
- 2035 0216 1432 adds r2, r2, #20
-ARM GAS /tmp/cctXRS3L.s page 58
-
-
- 2036 0218 9342 cmp r3, r2
- 2037 021a 24D0 beq .L254
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2038 .loc 1 642 0 discriminator 55
- 2039 021c 1432 adds r2, r2, #20
- 2040 021e 9342 cmp r3, r2
- 2041 0220 24D0 beq .L255
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2042 .loc 1 642 0 discriminator 57
- 2043 0222 1432 adds r2, r2, #20
- 2044 0224 9342 cmp r3, r2
- 2045 0226 24D0 beq .L256
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2046 .loc 1 642 0 discriminator 59
- 2047 0228 02F56272 add r2, r2, #904
- 2048 022c 9342 cmp r3, r2
- 2049 022e 23D0 beq .L257
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2050 .loc 1 642 0 discriminator 61
- 2051 0230 1432 adds r2, r2, #20
- 2052 0232 9342 cmp r3, r2
- 2053 0234 22D0 beq .L258
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2054 .loc 1 642 0 discriminator 63
- 2055 0236 1432 adds r2, r2, #20
- 2056 0238 9342 cmp r3, r2
- 2057 023a 21D0 beq .L259
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2058 .loc 1 642 0 discriminator 65
- 2059 023c 1432 adds r2, r2, #20
- 2060 023e 9342 cmp r3, r2
- 2061 0240 02D0 beq .L265
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2062 .loc 1 642 0
- 2063 0242 4FF40032 mov r2, #131072
- 2064 0246 03E0 b .L218
- 2065 .L265:
- 2066 0248 4FF40052 mov r2, #8192
- 2067 024c 00E0 b .L218
- 2068 .L250:
- 2069 024e 0222 movs r2, #2
- 2070 .L218:
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2071 .loc 1 642 0 discriminator 90
- 2072 0250 1E4B ldr r3, .L266+12
- 2073 0252 5A60 str r2, [r3, #4]
- 2074 0254 B6E7 b .L217
- 2075 .L251:
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2076 .loc 1 642 0
- 2077 0256 2022 movs r2, #32
- 2078 0258 FAE7 b .L218
- 2079 .L252:
- 2080 025a 4FF40072 mov r2, #512
- 2081 025e F7E7 b .L218
- 2082 .L253:
- 2083 0260 4FF40052 mov r2, #8192
-ARM GAS /tmp/cctXRS3L.s page 59
-
-
- 2084 0264 F4E7 b .L218
- 2085 .L254:
- 2086 0266 4FF40032 mov r2, #131072
- 2087 026a F1E7 b .L218
- 2088 .L255:
- 2089 026c 4FF40012 mov r2, #2097152
- 2090 0270 EEE7 b .L218
- 2091 .L256:
- 2092 0272 4FF00072 mov r2, #33554432
- 2093 0276 EBE7 b .L218
- 2094 .L257:
- 2095 0278 0222 movs r2, #2
- 2096 027a E9E7 b .L218
- 2097 .L258:
- 2098 027c 2022 movs r2, #32
- 2099 027e E7E7 b .L218
- 2100 .L259:
- 2101 0280 4FF40072 mov r2, #512
- 2102 0284 E4E7 b .L218
- 2103 .LVL75:
- 2104 .L213:
- 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 2105 .loc 1 655 0 is_stmt 1
- 2106 0286 0823 movs r3, #8
- 2107 0288 03FA01F1 lsl r1, r3, r1
- 2108 028c 0A42 tst r2, r1
- 2109 028e 15D0 beq .L205
- 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 2110 .loc 1 655 0 is_stmt 0 discriminator 1
- 2111 0290 15F0080F tst r5, #8
- 2112 0294 12D0 beq .L205
- 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2113 .loc 1 660 0 is_stmt 1
- 2114 0296 2368 ldr r3, [r4]
- 2115 0298 23F00E03 bic r3, r3, #14
- 2116 029c 2360 str r3, [r4]
- 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2117 .loc 1 663 0
- 2118 029e C16B ldr r1, [r0, #60]
- 2119 02a0 026C ldr r2, [r0, #64]
- 2120 .LVL76:
- 2121 02a2 0123 movs r3, #1
- 2122 02a4 03FA02F2 lsl r2, r3, r2
- 2123 02a8 4A60 str r2, [r1, #4]
- 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2124 .loc 1 666 0
- 2125 02aa 8363 str r3, [r0, #56]
- 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2126 .loc 1 669 0
- 2127 02ac 80F82130 strb r3, [r0, #33]
- 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2128 .loc 1 672 0
- 2129 02b0 0023 movs r3, #0
- 2130 02b2 80F82030 strb r3, [r0, #32]
- 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 2131 .loc 1 674 0
- 2132 02b6 036B ldr r3, [r0, #48]
-ARM GAS /tmp/cctXRS3L.s page 60
-
-
- 2133 02b8 03B1 cbz r3, .L205
- 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 2134 .loc 1 677 0
- 2135 02ba 9847 blx r3
- 2136 .LVL77:
- 2137 .L205:
- 2138 02bc 38BD pop {r3, r4, r5, pc}
- 2139 .LVL78:
- 2140 .L267:
- 2141 02be 00BF .align 2
- 2142 .L266:
- 2143 02c0 80000240 .word 1073873024
- 2144 02c4 00040240 .word 1073873920
- 2145 02c8 08000240 .word 1073872904
- 2146 02cc 00000240 .word 1073872896
- 2147 .cfi_endproc
- 2148 .LFE72:
- 2150 .section .text.HAL_DMA_RegisterCallback,"ax",%progbits
- 2151 .align 1
- 2152 .global HAL_DMA_RegisterCallback
- 2153 .syntax unified
- 2154 .thumb
- 2155 .thumb_func
- 2156 .fpu softvfp
- 2158 HAL_DMA_RegisterCallback:
- 2159 .LFB73:
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 2160 .loc 1 694 0
- 2161 .cfi_startproc
- 2162 @ args = 0, pretend = 0, frame = 0
- 2163 @ frame_needed = 0, uses_anonymous_args = 0
- 2164 @ link register save eliminated.
- 2165 .LVL79:
- 2166 0000 0346 mov r3, r0
- 2167 .LVL80:
- 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2168 .loc 1 698 0
- 2169 0002 90F82000 ldrb r0, [r0, #32] @ zero_extendqisi2
- 2170 .LVL81:
- 2171 0006 0128 cmp r0, #1
- 2172 0008 1FD0 beq .L276
- 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2173 .loc 1 698 0 is_stmt 0 discriminator 2
- 2174 000a 0120 movs r0, #1
- 2175 000c 83F82000 strb r0, [r3, #32]
- 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 2176 .loc 1 700 0 is_stmt 1 discriminator 2
- 2177 0010 93F82100 ldrb r0, [r3, #33] @ zero_extendqisi2
- 2178 0014 0128 cmp r0, #1
- 2179 0016 04D0 beq .L279
- 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 2180 .loc 1 727 0
- 2181 0018 0120 movs r0, #1
- 2182 .L270:
- 2183 .LVL82:
- 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2184 .loc 1 731 0
-ARM GAS /tmp/cctXRS3L.s page 61
-
-
- 2185 001a 0022 movs r2, #0
- 2186 .LVL83:
- 2187 001c 83F82020 strb r2, [r3, #32]
- 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 2188 .loc 1 733 0
- 2189 0020 7047 bx lr
- 2190 .LVL84:
- 2191 .L279:
- 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 2192 .loc 1 702 0
- 2193 0022 0329 cmp r1, #3
- 2194 0024 0FD8 bhi .L278
- 2195 0026 DFE801F0 tbb [pc, r1]
- 2196 .L272:
- 2197 002a 02 .byte (.L271-.L272)/2
- 2198 002b 05 .byte (.L273-.L272)/2
- 2199 002c 08 .byte (.L274-.L272)/2
- 2200 002d 0B .byte (.L275-.L272)/2
- 2201 .p2align 1
- 2202 .L271:
- 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 2203 .loc 1 705 0
- 2204 002e 9A62 str r2, [r3, #40]
- 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2205 .loc 1 695 0
- 2206 0030 0020 movs r0, #0
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2207 .loc 1 706 0
- 2208 0032 F2E7 b .L270
- 2209 .L273:
- 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 2210 .loc 1 709 0
- 2211 0034 DA62 str r2, [r3, #44]
- 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2212 .loc 1 695 0
- 2213 0036 0020 movs r0, #0
- 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2214 .loc 1 710 0
- 2215 0038 EFE7 b .L270
- 2216 .L274:
- 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 2217 .loc 1 713 0
- 2218 003a 1A63 str r2, [r3, #48]
- 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2219 .loc 1 695 0
- 2220 003c 0020 movs r0, #0
- 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2221 .loc 1 714 0
- 2222 003e ECE7 b .L270
- 2223 .L275:
- 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 2224 .loc 1 717 0
- 2225 0040 5A63 str r2, [r3, #52]
- 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2226 .loc 1 695 0
- 2227 0042 0020 movs r0, #0
- 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
-ARM GAS /tmp/cctXRS3L.s page 62
-
-
- 2228 .loc 1 718 0
- 2229 0044 E9E7 b .L270
- 2230 .L278:
- 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 2231 .loc 1 721 0
- 2232 0046 0120 movs r0, #1
- 2233 0048 E7E7 b .L270
- 2234 .L276:
- 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2235 .loc 1 698 0
- 2236 004a 0220 movs r0, #2
- 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2237 .loc 1 734 0
- 2238 004c 7047 bx lr
- 2239 .cfi_endproc
- 2240 .LFE73:
- 2242 .section .text.HAL_DMA_UnRegisterCallback,"ax",%progbits
- 2243 .align 1
- 2244 .global HAL_DMA_UnRegisterCallback
- 2245 .syntax unified
- 2246 .thumb
- 2247 .thumb_func
- 2248 .fpu softvfp
- 2250 HAL_DMA_UnRegisterCallback:
- 2251 .LFB74:
- 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** HAL_StatusTypeDef status = HAL_OK;
- 2252 .loc 1 745 0
- 2253 .cfi_startproc
- 2254 @ args = 0, pretend = 0, frame = 0
- 2255 @ frame_needed = 0, uses_anonymous_args = 0
- 2256 @ link register save eliminated.
- 2257 .LVL85:
- 2258 0000 0346 mov r3, r0
- 2259 .LVL86:
- 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2260 .loc 1 749 0
- 2261 0002 90F82020 ldrb r2, [r0, #32] @ zero_extendqisi2
- 2262 0006 012A cmp r2, #1
- 2263 0008 26D0 beq .L289
- 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2264 .loc 1 749 0 is_stmt 0 discriminator 2
- 2265 000a 0122 movs r2, #1
- 2266 000c 80F82020 strb r2, [r0, #32]
- 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 2267 .loc 1 751 0 is_stmt 1 discriminator 2
- 2268 0010 90F82120 ldrb r2, [r0, #33] @ zero_extendqisi2
- 2269 0014 012A cmp r2, #1
- 2270 0016 04D0 beq .L292
- 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 2271 .loc 1 785 0
- 2272 0018 0120 movs r0, #1
- 2273 .LVL87:
- 2274 .L282:
- 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2275 .loc 1 789 0
- 2276 001a 0022 movs r2, #0
- 2277 001c 83F82020 strb r2, [r3, #32]
-ARM GAS /tmp/cctXRS3L.s page 63
-
-
- 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 2278 .loc 1 791 0
- 2279 0020 7047 bx lr
- 2280 .LVL88:
- 2281 .L292:
- 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** {
- 2282 .loc 1 753 0
- 2283 0022 0429 cmp r1, #4
- 2284 0024 16D8 bhi .L291
- 2285 0026 DFE801F0 tbb [pc, r1]
- 2286 .L284:
- 2287 002a 03 .byte (.L283-.L284)/2
- 2288 002b 06 .byte (.L285-.L284)/2
- 2289 002c 09 .byte (.L286-.L284)/2
- 2290 002d 0C .byte (.L287-.L284)/2
- 2291 002e 0F .byte (.L288-.L284)/2
- 2292 002f 00 .p2align 1
- 2293 .L283:
- 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 2294 .loc 1 756 0
- 2295 0030 0020 movs r0, #0
- 2296 .LVL89:
- 2297 0032 9862 str r0, [r3, #40]
- 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2298 .loc 1 757 0
- 2299 0034 F1E7 b .L282
- 2300 .LVL90:
- 2301 .L285:
- 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 2302 .loc 1 760 0
- 2303 0036 0020 movs r0, #0
- 2304 .LVL91:
- 2305 0038 D862 str r0, [r3, #44]
- 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2306 .loc 1 761 0
- 2307 003a EEE7 b .L282
- 2308 .LVL92:
- 2309 .L286:
- 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 2310 .loc 1 764 0
- 2311 003c 0020 movs r0, #0
- 2312 .LVL93:
- 2313 003e 1863 str r0, [r3, #48]
- 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2314 .loc 1 765 0
- 2315 0040 EBE7 b .L282
- 2316 .LVL94:
- 2317 .L287:
- 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 2318 .loc 1 768 0
- 2319 0042 0020 movs r0, #0
- 2320 .LVL95:
- 2321 0044 5863 str r0, [r3, #52]
- 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2322 .loc 1 769 0
- 2323 0046 E8E7 b .L282
- 2324 .LVL96:
-ARM GAS /tmp/cctXRS3L.s page 64
-
-
- 2325 .L288:
- 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferHalfCpltCallback = NULL;
- 2326 .loc 1 772 0
- 2327 0048 0020 movs r0, #0
- 2328 .LVL97:
- 2329 004a 9862 str r0, [r3, #40]
- 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferErrorCallback = NULL;
- 2330 .loc 1 773 0
- 2331 004c D862 str r0, [r3, #44]
- 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** hdma->XferAbortCallback = NULL;
- 2332 .loc 1 774 0
- 2333 004e 1863 str r0, [r3, #48]
- 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 2334 .loc 1 775 0
- 2335 0050 5863 str r0, [r3, #52]
- 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2336 .loc 1 776 0
- 2337 0052 E2E7 b .L282
- 2338 .LVL98:
- 2339 .L291:
- 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** break;
- 2340 .loc 1 779 0
- 2341 0054 0120 movs r0, #1
- 2342 .LVL99:
- 2343 0056 E0E7 b .L282
- 2344 .LVL100:
- 2345 .L289:
- 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2346 .loc 1 749 0
- 2347 0058 0220 movs r0, #2
- 2348 .LVL101:
- 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2349 .loc 1 792 0
- 2350 005a 7047 bx lr
- 2351 .cfi_endproc
- 2352 .LFE74:
- 2354 .section .text.HAL_DMA_GetState,"ax",%progbits
- 2355 .align 1
- 2356 .global HAL_DMA_GetState
- 2357 .syntax unified
- 2358 .thumb
- 2359 .thumb_func
- 2360 .fpu softvfp
- 2362 HAL_DMA_GetState:
- 2363 .LFB75:
- 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** /* Return DMA handle state */
- 2364 .loc 1 821 0
- 2365 .cfi_startproc
- 2366 @ args = 0, pretend = 0, frame = 0
- 2367 @ frame_needed = 0, uses_anonymous_args = 0
- 2368 @ link register save eliminated.
- 2369 .LVL102:
- 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2370 .loc 1 824 0
- 2371 0000 90F82100 ldrb r0, [r0, #33] @ zero_extendqisi2
- 2372 .LVL103:
- 2373 0004 7047 bx lr
-ARM GAS /tmp/cctXRS3L.s page 65
-
-
- 2374 .cfi_endproc
- 2375 .LFE75:
- 2377 .section .text.HAL_DMA_GetError,"ax",%progbits
- 2378 .align 1
- 2379 .global HAL_DMA_GetError
- 2380 .syntax unified
- 2381 .thumb
- 2382 .thumb_func
- 2383 .fpu softvfp
- 2385 HAL_DMA_GetError:
- 2386 .LFB76:
- 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** return hdma->ErrorCode;
- 2387 .loc 1 833 0
- 2388 .cfi_startproc
- 2389 @ args = 0, pretend = 0, frame = 0
- 2390 @ frame_needed = 0, uses_anonymous_args = 0
- 2391 @ link register save eliminated.
- 2392 .LVL104:
- 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c **** }
- 2393 .loc 1 834 0
- 2394 0000 806B ldr r0, [r0, #56]
- 2395 .LVL105:
- 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_dma.c ****
- 2396 .loc 1 835 0
- 2397 0002 7047 bx lr
- 2398 .cfi_endproc
- 2399 .LFE76:
- 2401 .text
- 2402 .Letext0:
- 2403 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 2404 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 2405 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 2406 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 2407 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 2408 .file 7 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h"
- 2409 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 2410 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
- 2411 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
-ARM GAS /tmp/cctXRS3L.s page 66
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_hal_dma.c
- /tmp/cctXRS3L.s:16 .text.DMA_SetConfig:0000000000000000 $t
- /tmp/cctXRS3L.s:22 .text.DMA_SetConfig:0000000000000000 DMA_SetConfig
- /tmp/cctXRS3L.s:84 .text.HAL_DMA_Init:0000000000000000 $t
- /tmp/cctXRS3L.s:91 .text.HAL_DMA_Init:0000000000000000 HAL_DMA_Init
- /tmp/cctXRS3L.s:209 .text.HAL_DMA_Init:0000000000000080 $d
- /tmp/cctXRS3L.s:219 .text.HAL_DMA_DeInit:0000000000000000 $t
- /tmp/cctXRS3L.s:226 .text.HAL_DMA_DeInit:0000000000000000 HAL_DMA_DeInit
- /tmp/cctXRS3L.s:320 .text.HAL_DMA_DeInit:0000000000000078 $d
- /tmp/cctXRS3L.s:330 .text.HAL_DMA_Start:0000000000000000 $t
- /tmp/cctXRS3L.s:337 .text.HAL_DMA_Start:0000000000000000 HAL_DMA_Start
- /tmp/cctXRS3L.s:410 .text.HAL_DMA_Start_IT:0000000000000000 $t
- /tmp/cctXRS3L.s:417 .text.HAL_DMA_Start_IT:0000000000000000 HAL_DMA_Start_IT
- /tmp/cctXRS3L.s:512 .text.HAL_DMA_Abort:0000000000000000 $t
- /tmp/cctXRS3L.s:519 .text.HAL_DMA_Abort:0000000000000000 HAL_DMA_Abort
- /tmp/cctXRS3L.s:573 .text.HAL_DMA_Abort_IT:0000000000000000 $t
- /tmp/cctXRS3L.s:580 .text.HAL_DMA_Abort_IT:0000000000000000 HAL_DMA_Abort_IT
- /tmp/cctXRS3L.s:812 .text.HAL_DMA_Abort_IT:000000000000014c $d
- /tmp/cctXRS3L.s:820 .text.HAL_DMA_PollForTransfer:0000000000000000 $t
- /tmp/cctXRS3L.s:827 .text.HAL_DMA_PollForTransfer:0000000000000000 HAL_DMA_PollForTransfer
- /tmp/cctXRS3L.s:1307 .text.HAL_DMA_PollForTransfer:00000000000002e0 $d
- /tmp/cctXRS3L.s:1313 .text.HAL_DMA_PollForTransfer:00000000000002f0 $t
- /tmp/cctXRS3L.s:1665 .text.HAL_DMA_PollForTransfer:0000000000000518 $d
- /tmp/cctXRS3L.s:1673 .text.HAL_DMA_IRQHandler:0000000000000000 $t
- /tmp/cctXRS3L.s:1680 .text.HAL_DMA_IRQHandler:0000000000000000 HAL_DMA_IRQHandler
- /tmp/cctXRS3L.s:2143 .text.HAL_DMA_IRQHandler:00000000000002c0 $d
- /tmp/cctXRS3L.s:2151 .text.HAL_DMA_RegisterCallback:0000000000000000 $t
- /tmp/cctXRS3L.s:2158 .text.HAL_DMA_RegisterCallback:0000000000000000 HAL_DMA_RegisterCallback
- /tmp/cctXRS3L.s:2197 .text.HAL_DMA_RegisterCallback:000000000000002a $d
- /tmp/cctXRS3L.s:2201 .text.HAL_DMA_RegisterCallback:000000000000002e $t
- /tmp/cctXRS3L.s:2243 .text.HAL_DMA_UnRegisterCallback:0000000000000000 $t
- /tmp/cctXRS3L.s:2250 .text.HAL_DMA_UnRegisterCallback:0000000000000000 HAL_DMA_UnRegisterCallback
- /tmp/cctXRS3L.s:2287 .text.HAL_DMA_UnRegisterCallback:000000000000002a $d
- /tmp/cctXRS3L.s:2355 .text.HAL_DMA_GetState:0000000000000000 $t
- /tmp/cctXRS3L.s:2362 .text.HAL_DMA_GetState:0000000000000000 HAL_DMA_GetState
- /tmp/cctXRS3L.s:2378 .text.HAL_DMA_GetError:0000000000000000 $t
- /tmp/cctXRS3L.s:2385 .text.HAL_DMA_GetError:0000000000000000 HAL_DMA_GetError
- .debug_frame:0000000000000010 $d
- /tmp/cctXRS3L.s:2292 .text.HAL_DMA_UnRegisterCallback:000000000000002f $d
- /tmp/cctXRS3L.s:2292 .text.HAL_DMA_UnRegisterCallback:0000000000000030 $t
-
-UNDEFINED SYMBOLS
-HAL_GetTick
diff --git a/build/stm32f1xx_hal_dma.o b/build/stm32f1xx_hal_dma.o
deleted file mode 100644
index d4b7dbe..0000000
Binary files a/build/stm32f1xx_hal_dma.o and /dev/null differ
diff --git a/build/stm32f1xx_hal_exti.d b/build/stm32f1xx_hal_exti.d
deleted file mode 100644
index 9d0f9df..0000000
--- a/build/stm32f1xx_hal_exti.d
+++ /dev/null
@@ -1,93 +0,0 @@
-build/stm32f1xx_hal_exti.o: \
- Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/stm32f1xx_hal_exti.lst b/build/stm32f1xx_hal_exti.lst
deleted file mode 100644
index c49f60b..0000000
--- a/build/stm32f1xx_hal_exti.lst
+++ /dev/null
@@ -1,1368 +0,0 @@
-ARM GAS /tmp/ccUUDue3.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "stm32f1xx_hal_exti.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.HAL_EXTI_SetConfigLine,"ax",%progbits
- 16 .align 1
- 17 .global HAL_EXTI_SetConfigLine
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 HAL_EXTI_SetConfigLine:
- 24 .LFB65:
- 25 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c"
- 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /**
- 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** ******************************************************************************
- 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @file stm32f1xx_hal_exti.c
- 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @author MCD Application Team
- 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @brief EXTI HAL module driver.
- 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * This file provides firmware functions to manage the following
- 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * functionalities of the Extended Interrupts and events controller (EXTI) peripheral:
- 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * + Initialization and de-initialization functions
- 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * + IO operation functions
- 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** *
- 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** @verbatim
- 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** ==============================================================================
- 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** ##### EXTI Peripheral features #####
- 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** ==============================================================================
- 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** [..]
- 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (+) Each Exti line can be configured within this driver.
- 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (+) Exti line can be configured in 3 different modes
- 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Interrupt
- 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Event
- 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Both of them
- 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (+) Configurable Exti lines can be configured with 3 different triggers
- 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Rising
- 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Falling
- 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Both of them
- 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (+) When set in interrupt mode, configurable Exti lines have two different
- 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** interrupts pending registers which allow to distinguish which transition
- 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** occurs:
- 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Rising edge pending interrupt
- 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Falling
- 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
-ARM GAS /tmp/ccUUDue3.s page 2
-
-
- 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (+) Exti lines 0 to 15 are linked to gpio pin number 0 to 15. Gpio port can
- 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** be selected through multiplexer.
- 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** ##### How to use this driver #####
- 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** ==============================================================================
- 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** [..]
- 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (#) Configure the EXTI line using HAL_EXTI_SetConfigLine().
- 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Choose the interrupt line number by setting "Line" member from
- 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI_ConfigTypeDef structure.
- 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Configure the interrupt and/or event mode using "Mode" member from
- 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI_ConfigTypeDef structure.
- 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) For configurable lines, configure rising and/or falling trigger
- 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** "Trigger" member from EXTI_ConfigTypeDef structure.
- 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) For Exti lines linked to gpio, choose gpio port using "GPIOSel"
- 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** member from GPIO_InitTypeDef structure.
- 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (#) Get current Exti configuration of a dedicated line using
- 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** HAL_EXTI_GetConfigLine().
- 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Provide exiting handle as parameter.
- 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Provide pointer on EXTI_ConfigTypeDef structure as second parameter.
- 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (#) Clear Exti configuration of a dedicated line using HAL_EXTI_GetConfigLine().
- 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Provide exiting handle as parameter.
- 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (#) Register callback to treat Exti interrupts using HAL_EXTI_RegisterCallback().
- 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Provide exiting handle as first parameter.
- 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Provide which callback will be registered using one value from
- 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI_CallbackIDTypeDef.
- 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (++) Provide callback function pointer.
- 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (#) Get interrupt pending bit using HAL_EXTI_GetPending().
- 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (#) Clear interrupt pending bit using HAL_EXTI_GetPending().
- 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** (#) Generate software interrupt using HAL_EXTI_GenerateSWI().
- 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** @endverbatim
- 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** ******************************************************************************
- 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @attention
- 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** *
- 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * © Copyright (c) 2019 STMicroelectronics.
- 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * All rights reserved.
- 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** *
- 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * the "License"; You may not use this file except in compliance with the
- 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * License. You may obtain a copy of the License at:
- 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * opensource.org/licenses/BSD-3-Clause
- 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** *
- 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** ******************************************************************************
- 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */
- 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Includes ------------------------------------------------------------------*/
- 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** #include "stm32f1xx_hal.h"
- 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** @addtogroup STM32F1xx_HAL_Driver
- 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @{
-ARM GAS /tmp/ccUUDue3.s page 3
-
-
- 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */
- 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** @addtogroup EXTI
- 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @{
- 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */
- 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** MISRA C:2012 deviation rule has been granted for following rule:
- 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * Rule-18.1_b - Medium: Array `EXTICR' 1st subscript interval [0,7] may be out
- 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * of bounds [0,3] in following API :
- 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * HAL_EXTI_SetConfigLine
- 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * HAL_EXTI_GetConfigLine
- 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * HAL_EXTI_ClearConfigLine
- 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */
- 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** #ifdef HAL_EXTI_MODULE_ENABLED
- 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Private typedef -----------------------------------------------------------*/
- 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Private defines -----------------------------------------------------------*/
- 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** @defgroup EXTI_Private_Constants EXTI Private Constants
- 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @{
- 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */
- 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /**
- 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @}
- 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */
- 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Private macros ------------------------------------------------------------*/
- 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Private variables ---------------------------------------------------------*/
- 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Private function prototypes -----------------------------------------------*/
- 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Exported functions --------------------------------------------------------*/
- 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** @addtogroup EXTI_Exported_Functions
- 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @{
- 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */
- 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** @addtogroup EXTI_Exported_Functions_Group1
- 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @brief Configuration functions
- 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** *
- 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** @verbatim
- 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** ===============================================================================
- 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** ##### Configuration functions #####
- 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** ===============================================================================
- 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** @endverbatim
- 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @{
- 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /**
- 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @brief Set configuration of a dedicated Exti line.
- 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param hexti Exti handle.
- 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param pExtiConfig Pointer on EXTI configuration to be set.
- 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @retval HAL Status.
- 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** HAL_StatusTypeDef HAL_EXTI_SetConfigLine(EXTI_HandleTypeDef *hexti, EXTI_ConfigTypeDef *pExtiConfig
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 26 .loc 1 144 0
- 27 .cfi_startproc
- 28 @ args = 0, pretend = 0, frame = 0
-ARM GAS /tmp/ccUUDue3.s page 4
-
-
- 29 @ frame_needed = 0, uses_anonymous_args = 0
- 30 @ link register save eliminated.
- 31 .LVL0:
- 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t regval;
- 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t linepos;
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t maskline;
- 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check null pointer */
- 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((hexti == NULL) || (pExtiConfig == NULL))
- 32 .loc 1 150 0
- 33 0000 0028 cmp r0, #0
- 34 0002 61D0 beq .L11
- 35 .loc 1 150 0 is_stmt 0 discriminator 1
- 36 0004 0029 cmp r1, #0
- 37 0006 61D0 beq .L12
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t regval;
- 38 .loc 1 144 0 is_stmt 1
- 39 0008 70B4 push {r4, r5, r6}
- 40 .LCFI0:
- 41 .cfi_def_cfa_offset 12
- 42 .cfi_offset 4, -12
- 43 .cfi_offset 5, -8
- 44 .cfi_offset 6, -4
- 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** return HAL_ERROR;
- 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check parameters */
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_LINE(pExtiConfig->Line));
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_MODE(pExtiConfig->Mode));
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Assign line number to handle */
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** hexti->Line = pExtiConfig->Line;
- 45 .loc 1 160 0
- 46 000a 0A68 ldr r2, [r1]
- 47 000c 0260 str r2, [r0]
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Compute line mask */
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** linepos = (pExtiConfig->Line & EXTI_PIN_MASK);
- 48 .loc 1 163 0
- 49 000e 0A68 ldr r2, [r1]
- 50 0010 02F01F00 and r0, r2, #31
- 51 .LVL1:
- 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** maskline = (1uL << linepos);
- 52 .loc 1 164 0
- 53 0014 0123 movs r3, #1
- 54 0016 8340 lsls r3, r3, r0
- 55 .LVL2:
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Configure triggers for configurable lines */
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((pExtiConfig->Line & EXTI_CONFIG) != 0x00u)
- 56 .loc 1 167 0
- 57 0018 12F0007F tst r2, #33554432
- 58 001c 15D0 beq .L3
- 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_TRIGGER(pExtiConfig->Trigger));
- 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
-ARM GAS /tmp/ccUUDue3.s page 5
-
-
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Configure rising trigger */
- 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Mask or set line */
- 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((pExtiConfig->Trigger & EXTI_TRIGGER_RISING) != 0x00u)
- 59 .loc 1 173 0
- 60 001e 8C68 ldr r4, [r1, #8]
- 61 0020 14F0010F tst r4, #1
- 62 0024 25D0 beq .L4
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->RTSR |= maskline;
- 63 .loc 1 175 0
- 64 0026 2A4D ldr r5, .L19
- 65 0028 AC68 ldr r4, [r5, #8]
- 66 002a 1C43 orrs r4, r4, r3
- 67 002c AC60 str r4, [r5, #8]
- 68 .L5:
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** else
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->RTSR &= ~maskline;
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Configure falling trigger */
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Mask or set line */
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((pExtiConfig->Trigger & EXTI_TRIGGER_FALLING) != 0x00u)
- 69 .loc 1 184 0
- 70 002e 8C68 ldr r4, [r1, #8]
- 71 0030 14F0020F tst r4, #2
- 72 0034 23D0 beq .L6
- 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->FTSR |= maskline;
- 73 .loc 1 186 0
- 74 0036 264D ldr r5, .L19
- 75 0038 EC68 ldr r4, [r5, #12]
- 76 003a 1C43 orrs r4, r4, r3
- 77 003c EC60 str r4, [r5, #12]
- 78 .L7:
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** else
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->FTSR &= ~maskline;
- 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Configure gpio port selection in case of gpio exti line */
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((pExtiConfig->Line & EXTI_GPIO) == EXTI_GPIO)
- 79 .loc 1 195 0
- 80 003e 0C68 ldr r4, [r1]
- 81 0040 04F0C064 and r4, r4, #100663296
- 82 0044 B4F1C06F cmp r4, #100663296
- 83 0048 1FD0 beq .L17
- 84 .LVL3:
- 85 .L3:
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_GPIO_PORT(pExtiConfig->GPIOSel));
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_GPIO_PIN(linepos));
- 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval = AFIO->EXTICR[linepos >> 2u];
-ARM GAS /tmp/ccUUDue3.s page 6
-
-
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval &= ~(AFIO_EXTICR1_EXTI0 << (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u)));
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval |= (pExtiConfig->GPIOSel << (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u)));
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** AFIO->EXTICR[linepos >> 2u] = regval;
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Configure interrupt mode : read current mode */
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Mask or set line */
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((pExtiConfig->Mode & EXTI_MODE_INTERRUPT) != 0x00u)
- 86 .loc 1 209 0
- 87 004a 4A68 ldr r2, [r1, #4]
- 88 004c 12F0010F tst r2, #1
- 89 0050 2ED0 beq .L8
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->IMR |= maskline;
- 90 .loc 1 211 0
- 91 0052 1F48 ldr r0, .L19
- 92 0054 0268 ldr r2, [r0]
- 93 0056 1A43 orrs r2, r2, r3
- 94 0058 0260 str r2, [r0]
- 95 .L9:
- 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** else
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->IMR &= ~maskline;
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Configure event mode : read current mode */
- 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Mask or set line */
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((pExtiConfig->Mode & EXTI_MODE_EVENT) != 0x00u)
- 96 .loc 1 220 0
- 97 005a 4A68 ldr r2, [r1, #4]
- 98 005c 12F0020F tst r2, #2
- 99 0060 2CD1 bne .L18
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->EMR |= maskline;
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** else
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->EMR &= ~maskline;
- 100 .loc 1 226 0
- 101 0062 1B49 ldr r1, .L19
- 102 .LVL4:
- 103 0064 4A68 ldr r2, [r1, #4]
- 104 0066 22EA0303 bic r3, r2, r3
- 105 .LVL5:
- 106 006a 4B60 str r3, [r1, #4]
- 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** return HAL_OK;
- 107 .loc 1 229 0
- 108 006c 0020 movs r0, #0
- 109 .L2:
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 110 .loc 1 230 0
- 111 006e 70BC pop {r4, r5, r6}
- 112 .LCFI1:
-ARM GAS /tmp/ccUUDue3.s page 7
-
-
- 113 .cfi_remember_state
- 114 .cfi_restore 6
- 115 .cfi_restore 5
- 116 .cfi_restore 4
- 117 .cfi_def_cfa_offset 0
- 118 0070 7047 bx lr
- 119 .LVL6:
- 120 .L4:
- 121 .LCFI2:
- 122 .cfi_restore_state
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 123 .loc 1 179 0
- 124 0072 174D ldr r5, .L19
- 125 0074 AC68 ldr r4, [r5, #8]
- 126 0076 24EA0304 bic r4, r4, r3
- 127 007a AC60 str r4, [r5, #8]
- 128 007c D7E7 b .L5
- 129 .L6:
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 130 .loc 1 190 0
- 131 007e 144D ldr r5, .L19
- 132 0080 EC68 ldr r4, [r5, #12]
- 133 0082 24EA0304 bic r4, r4, r3
- 134 0086 EC60 str r4, [r5, #12]
- 135 0088 D9E7 b .L7
- 136 .L17:
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval &= ~(AFIO_EXTICR1_EXTI0 << (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u)));
- 137 .loc 1 200 0
- 138 008a 8008 lsrs r0, r0, #2
- 139 .LVL7:
- 140 008c 114E ldr r6, .L19+4
- 141 008e 0230 adds r0, r0, #2
- 142 0090 56F82040 ldr r4, [r6, r0, lsl #2]
- 143 .LVL8:
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval |= (pExtiConfig->GPIOSel << (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u)));
- 144 .loc 1 201 0
- 145 0094 02F00302 and r2, r2, #3
- 146 .LVL9:
- 147 0098 9200 lsls r2, r2, #2
- 148 009a 0F25 movs r5, #15
- 149 009c 9540 lsls r5, r5, r2
- 150 009e 24EA0504 bic r4, r4, r5
- 151 .LVL10:
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** AFIO->EXTICR[linepos >> 2u] = regval;
- 152 .loc 1 202 0
- 153 00a2 CD68 ldr r5, [r1, #12]
- 154 00a4 05FA02F2 lsl r2, r5, r2
- 155 00a8 2243 orrs r2, r2, r4
- 156 .LVL11:
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 157 .loc 1 203 0
- 158 00aa 46F82020 str r2, [r6, r0, lsl #2]
- 159 00ae CCE7 b .L3
- 160 .LVL12:
- 161 .L8:
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 162 .loc 1 215 0
-ARM GAS /tmp/ccUUDue3.s page 8
-
-
- 163 00b0 0748 ldr r0, .L19
- 164 00b2 0268 ldr r2, [r0]
- 165 00b4 22EA0302 bic r2, r2, r3
- 166 00b8 0260 str r2, [r0]
- 167 00ba CEE7 b .L9
- 168 .L18:
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 169 .loc 1 222 0
- 170 00bc 0449 ldr r1, .L19
- 171 .LVL13:
- 172 00be 4A68 ldr r2, [r1, #4]
- 173 00c0 1343 orrs r3, r3, r2
- 174 .LVL14:
- 175 00c2 4B60 str r3, [r1, #4]
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 176 .loc 1 229 0
- 177 00c4 0020 movs r0, #0
- 178 00c6 D2E7 b .L2
- 179 .LVL15:
- 180 .L11:
- 181 .LCFI3:
- 182 .cfi_def_cfa_offset 0
- 183 .cfi_restore 4
- 184 .cfi_restore 5
- 185 .cfi_restore 6
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 186 .loc 1 152 0
- 187 00c8 0120 movs r0, #1
- 188 .LVL16:
- 189 00ca 7047 bx lr
- 190 .LVL17:
- 191 .L12:
- 192 00cc 0120 movs r0, #1
- 193 .LVL18:
- 194 00ce 7047 bx lr
- 195 .L20:
- 196 .align 2
- 197 .L19:
- 198 00d0 00040140 .word 1073808384
- 199 00d4 00000140 .word 1073807360
- 200 .cfi_endproc
- 201 .LFE65:
- 203 .section .text.HAL_EXTI_GetConfigLine,"ax",%progbits
- 204 .align 1
- 205 .global HAL_EXTI_GetConfigLine
- 206 .syntax unified
- 207 .thumb
- 208 .thumb_func
- 209 .fpu softvfp
- 211 HAL_EXTI_GetConfigLine:
- 212 .LFB66:
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /**
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @brief Get configuration of a dedicated Exti line.
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param hexti Exti handle.
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param pExtiConfig Pointer on structure to store Exti configuration.
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @retval HAL Status.
-ARM GAS /tmp/ccUUDue3.s page 9
-
-
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */
- 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** HAL_StatusTypeDef HAL_EXTI_GetConfigLine(EXTI_HandleTypeDef *hexti, EXTI_ConfigTypeDef *pExtiConfig
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 213 .loc 1 239 0
- 214 .cfi_startproc
- 215 @ args = 0, pretend = 0, frame = 0
- 216 @ frame_needed = 0, uses_anonymous_args = 0
- 217 @ link register save eliminated.
- 218 .LVL19:
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t regval;
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t linepos;
- 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t maskline;
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check null pointer */
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((hexti == NULL) || (pExtiConfig == NULL))
- 219 .loc 1 245 0
- 220 0000 0028 cmp r0, #0
- 221 0002 49D0 beq .L31
- 222 .loc 1 245 0 is_stmt 0 discriminator 1
- 223 0004 0029 cmp r1, #0
- 224 0006 49D0 beq .L32
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t regval;
- 225 .loc 1 239 0 is_stmt 1
- 226 0008 10B4 push {r4}
- 227 .LCFI4:
- 228 .cfi_def_cfa_offset 4
- 229 .cfi_offset 4, -4
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** return HAL_ERROR;
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check the parameter */
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_LINE(hexti->Line));
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Store handle line number to configuration structure */
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->Line = hexti->Line;
- 230 .loc 1 254 0
- 231 000a 0068 ldr r0, [r0]
- 232 .LVL20:
- 233 000c 0860 str r0, [r1]
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Compute line mask */
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** linepos = (pExtiConfig->Line & EXTI_PIN_MASK);
- 234 .loc 1 257 0
- 235 000e 00F01F04 and r4, r0, #31
- 236 .LVL21:
- 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** maskline = (1uL << linepos);
- 237 .loc 1 258 0
- 238 0012 0123 movs r3, #1
- 239 0014 A340 lsls r3, r3, r4
- 240 .LVL22:
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* 1] Get core mode : interrupt */
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check if selected line is enable */
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((EXTI->IMR & maskline) != 0x00u)
- 241 .loc 1 263 0
-ARM GAS /tmp/ccUUDue3.s page 10
-
-
- 242 0016 224A ldr r2, .L38
- 243 0018 1268 ldr r2, [r2]
- 244 001a 1342 tst r3, r2
- 245 001c 22D0 beq .L23
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->Mode = EXTI_MODE_INTERRUPT;
- 246 .loc 1 265 0
- 247 001e 0122 movs r2, #1
- 248 0020 4A60 str r2, [r1, #4]
- 249 .L24:
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** else
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->Mode = EXTI_MODE_NONE;
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Get event mode */
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check if selected line is enable */
- 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((EXTI->EMR & maskline) != 0x00u)
- 250 .loc 1 274 0
- 251 0022 1F4A ldr r2, .L38
- 252 0024 5268 ldr r2, [r2, #4]
- 253 0026 1342 tst r3, r2
- 254 0028 03D0 beq .L25
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->Mode |= EXTI_MODE_EVENT;
- 255 .loc 1 276 0
- 256 002a 4A68 ldr r2, [r1, #4]
- 257 002c 42F00202 orr r2, r2, #2
- 258 0030 4A60 str r2, [r1, #4]
- 259 .L25:
- 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* 2] Get trigger for configurable lines : rising */
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((pExtiConfig->Line & EXTI_CONFIG) != 0x00u)
- 260 .loc 1 280 0
- 261 0032 10F0007F tst r0, #33554432
- 262 0036 2AD0 beq .L26
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check if configuration of selected line is enable */
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((EXTI->RTSR & maskline) != 0x00u)
- 263 .loc 1 283 0
- 264 0038 194A ldr r2, .L38
- 265 003a 9268 ldr r2, [r2, #8]
- 266 003c 1342 tst r3, r2
- 267 003e 14D0 beq .L27
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->Trigger = EXTI_TRIGGER_RISING;
- 268 .loc 1 285 0
- 269 0040 0122 movs r2, #1
- 270 0042 8A60 str r2, [r1, #8]
- 271 .L28:
- 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** else
- 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->Trigger = EXTI_TRIGGER_NONE;
- 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
-ARM GAS /tmp/ccUUDue3.s page 11
-
-
- 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Get falling configuration */
- 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check if configuration of selected line is enable */
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((EXTI->FTSR & maskline) != 0x00u)
- 272 .loc 1 294 0
- 273 0044 164A ldr r2, .L38
- 274 0046 D268 ldr r2, [r2, #12]
- 275 0048 1342 tst r3, r2
- 276 004a 03D0 beq .L29
- 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->Trigger |= EXTI_TRIGGER_FALLING;
- 277 .loc 1 296 0
- 278 004c 8B68 ldr r3, [r1, #8]
- 279 .LVL23:
- 280 004e 43F00203 orr r3, r3, #2
- 281 0052 8B60 str r3, [r1, #8]
- 282 .L29:
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Get Gpio port selection for gpio lines */
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((pExtiConfig->Line & EXTI_GPIO) == EXTI_GPIO)
- 283 .loc 1 300 0
- 284 0054 00F0C063 and r3, r0, #100663296
- 285 0058 B3F1C06F cmp r3, #100663296
- 286 005c 08D0 beq .L37
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_GPIO_PIN(linepos));
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval = AFIO->EXTICR[linepos >> 2u];
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->GPIOSel = ((regval << (AFIO_EXTICR1_EXTI1_Pos * (3uL - (linepos & 0x03u)))) >> 2
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** else
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->GPIOSel = 0x00u;
- 287 .loc 1 309 0
- 288 005e 0020 movs r0, #0
- 289 0060 C860 str r0, [r1, #12]
- 290 0062 17E0 b .L22
- 291 .LVL24:
- 292 .L23:
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 293 .loc 1 269 0
- 294 0064 0022 movs r2, #0
- 295 0066 4A60 str r2, [r1, #4]
- 296 0068 DBE7 b .L24
- 297 .L27:
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 298 .loc 1 289 0
- 299 006a 0022 movs r2, #0
- 300 006c 8A60 str r2, [r1, #8]
- 301 006e E9E7 b .L28
- 302 .LVL25:
- 303 .L37:
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->GPIOSel = ((regval << (AFIO_EXTICR1_EXTI1_Pos * (3uL - (linepos & 0x03u)))) >> 2
- 304 .loc 1 304 0
- 305 0070 A308 lsrs r3, r4, #2
- 306 0072 0233 adds r3, r3, #2
-ARM GAS /tmp/ccUUDue3.s page 12
-
-
- 307 0074 0B4A ldr r2, .L38+4
- 308 0076 52F82320 ldr r2, [r2, r3, lsl #2]
- 309 .LVL26:
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 310 .loc 1 305 0
- 311 007a E343 mvns r3, r4
- 312 007c 03F00303 and r3, r3, #3
- 313 0080 9B00 lsls r3, r3, #2
- 314 0082 02FA03F3 lsl r3, r2, r3
- 315 0086 1B0E lsrs r3, r3, #24
- 316 0088 CB60 str r3, [r1, #12]
- 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** else
- 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* No Trigger selected */
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->Trigger = EXTI_TRIGGER_NONE;
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->GPIOSel = 0x00u;
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** return HAL_OK;
- 317 .loc 1 319 0
- 318 008a 0020 movs r0, #0
- 319 008c 02E0 b .L22
- 320 .LVL27:
- 321 .L26:
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** pExtiConfig->GPIOSel = 0x00u;
- 322 .loc 1 315 0
- 323 008e 0020 movs r0, #0
- 324 0090 8860 str r0, [r1, #8]
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 325 .loc 1 316 0
- 326 0092 C860 str r0, [r1, #12]
- 327 .LVL28:
- 328 .L22:
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 329 .loc 1 320 0
- 330 0094 10BC pop {r4}
- 331 .LCFI5:
- 332 .cfi_restore 4
- 333 .cfi_def_cfa_offset 0
- 334 .LVL29:
- 335 0096 7047 bx lr
- 336 .LVL30:
- 337 .L31:
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 338 .loc 1 247 0
- 339 0098 0120 movs r0, #1
- 340 .LVL31:
- 341 009a 7047 bx lr
- 342 .LVL32:
- 343 .L32:
- 344 009c 0120 movs r0, #1
- 345 .LVL33:
- 346 009e 7047 bx lr
- 347 .L39:
- 348 .align 2
-ARM GAS /tmp/ccUUDue3.s page 13
-
-
- 349 .L38:
- 350 00a0 00040140 .word 1073808384
- 351 00a4 00000140 .word 1073807360
- 352 .cfi_endproc
- 353 .LFE66:
- 355 .section .text.HAL_EXTI_ClearConfigLine,"ax",%progbits
- 356 .align 1
- 357 .global HAL_EXTI_ClearConfigLine
- 358 .syntax unified
- 359 .thumb
- 360 .thumb_func
- 361 .fpu softvfp
- 363 HAL_EXTI_ClearConfigLine:
- 364 .LFB67:
- 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /**
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @brief Clear whole configuration of a dedicated Exti line.
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param hexti Exti handle.
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @retval HAL Status.
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** HAL_StatusTypeDef HAL_EXTI_ClearConfigLine(EXTI_HandleTypeDef *hexti)
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 365 .loc 1 328 0
- 366 .cfi_startproc
- 367 @ args = 0, pretend = 0, frame = 0
- 368 @ frame_needed = 0, uses_anonymous_args = 0
- 369 @ link register save eliminated.
- 370 .LVL34:
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t regval;
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t linepos;
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t maskline;
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check null pointer */
- 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if (hexti == NULL)
- 371 .loc 1 334 0
- 372 0000 0028 cmp r0, #0
- 373 0002 32D0 beq .L42
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t regval;
- 374 .loc 1 328 0
- 375 0004 30B4 push {r4, r5}
- 376 .LCFI6:
- 377 .cfi_def_cfa_offset 8
- 378 .cfi_offset 4, -8
- 379 .cfi_offset 5, -4
- 380 0006 0446 mov r4, r0
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** return HAL_ERROR;
- 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check the parameter */
- 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_LINE(hexti->Line));
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* compute line mask */
- 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** linepos = (hexti->Line & EXTI_PIN_MASK);
- 381 .loc 1 343 0
- 382 0008 0568 ldr r5, [r0]
- 383 000a 05F01F00 and r0, r5, #31
-ARM GAS /tmp/ccUUDue3.s page 14
-
-
- 384 .LVL35:
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** maskline = (1uL << linepos);
- 385 .loc 1 344 0
- 386 000e 0123 movs r3, #1
- 387 0010 8340 lsls r3, r3, r0
- 388 .LVL36:
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* 1] Clear interrupt mode */
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->IMR = (EXTI->IMR & ~maskline);
- 389 .loc 1 347 0
- 390 0012 184A ldr r2, .L50
- 391 0014 1168 ldr r1, [r2]
- 392 0016 DB43 mvns r3, r3
- 393 .LVL37:
- 394 0018 1940 ands r1, r1, r3
- 395 001a 1160 str r1, [r2]
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* 2] Clear event mode */
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->EMR = (EXTI->EMR & ~maskline);
- 396 .loc 1 350 0
- 397 001c 5168 ldr r1, [r2, #4]
- 398 001e 1940 ands r1, r1, r3
- 399 0020 5160 str r1, [r2, #4]
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* 3] Clear triggers in case of configurable lines */
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((hexti->Line & EXTI_CONFIG) != 0x00u)
- 400 .loc 1 353 0
- 401 0022 2268 ldr r2, [r4]
- 402 0024 12F0007F tst r2, #33554432
- 403 0028 21D0 beq .L43
- 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->RTSR = (EXTI->RTSR & ~maskline);
- 404 .loc 1 355 0
- 405 002a 124A ldr r2, .L50
- 406 002c 9168 ldr r1, [r2, #8]
- 407 002e 1940 ands r1, r1, r3
- 408 0030 9160 str r1, [r2, #8]
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->FTSR = (EXTI->FTSR & ~maskline);
- 409 .loc 1 356 0
- 410 0032 D168 ldr r1, [r2, #12]
- 411 0034 0B40 ands r3, r3, r1
- 412 .LVL38:
- 413 0036 D360 str r3, [r2, #12]
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Get Gpio port selection for gpio lines */
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if ((hexti->Line & EXTI_GPIO) == EXTI_GPIO)
- 414 .loc 1 359 0
- 415 0038 2368 ldr r3, [r4]
- 416 003a 03F0C063 and r3, r3, #100663296
- 417 003e B3F1C06F cmp r3, #100663296
- 418 0042 01D0 beq .L49
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_GPIO_PIN(linepos));
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval = AFIO->EXTICR[linepos >> 2u];
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval &= ~(AFIO_EXTICR1_EXTI0 << (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u)));
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** AFIO->EXTICR[linepos >> 2u] = regval;
-ARM GAS /tmp/ccUUDue3.s page 15
-
-
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** return HAL_OK;
- 419 .loc 1 369 0
- 420 0044 0020 movs r0, #0
- 421 .LVL39:
- 422 0046 13E0 b .L41
- 423 .LVL40:
- 424 .L49:
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval &= ~(AFIO_EXTICR1_EXTI0 << (AFIO_EXTICR1_EXTI1_Pos * (linepos & 0x03u)));
- 425 .loc 1 363 0
- 426 0048 8008 lsrs r0, r0, #2
- 427 .LVL41:
- 428 004a 0B49 ldr r1, .L50+4
- 429 004c 0230 adds r0, r0, #2
- 430 004e 51F82030 ldr r3, [r1, r0, lsl #2]
- 431 .LVL42:
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** AFIO->EXTICR[linepos >> 2u] = regval;
- 432 .loc 1 364 0
- 433 0052 05F00305 and r5, r5, #3
- 434 .LVL43:
- 435 0056 AD00 lsls r5, r5, #2
- 436 0058 0F22 movs r2, #15
- 437 005a 02FA05F5 lsl r5, r2, r5
- 438 005e 23EA0505 bic r5, r3, r5
- 439 .LVL44:
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 440 .loc 1 365 0
- 441 0062 41F82050 str r5, [r1, r0, lsl #2]
- 442 .loc 1 369 0
- 443 0066 0020 movs r0, #0
- 444 0068 02E0 b .L41
- 445 .LVL45:
- 446 .L42:
- 447 .LCFI7:
- 448 .cfi_def_cfa_offset 0
- 449 .cfi_restore 4
- 450 .cfi_restore 5
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 451 .loc 1 336 0
- 452 006a 0120 movs r0, #1
- 453 .LVL46:
- 454 006c 7047 bx lr
- 455 .LVL47:
- 456 .L43:
- 457 .LCFI8:
- 458 .cfi_def_cfa_offset 8
- 459 .cfi_offset 4, -8
- 460 .cfi_offset 5, -4
- 461 .loc 1 369 0
- 462 006e 0020 movs r0, #0
- 463 .LVL48:
- 464 .L41:
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 465 .loc 1 370 0
- 466 0070 30BC pop {r4, r5}
-ARM GAS /tmp/ccUUDue3.s page 16
-
-
- 467 .LCFI9:
- 468 .cfi_restore 5
- 469 .cfi_restore 4
- 470 .cfi_def_cfa_offset 0
- 471 .LVL49:
- 472 0072 7047 bx lr
- 473 .L51:
- 474 .align 2
- 475 .L50:
- 476 0074 00040140 .word 1073808384
- 477 0078 00000140 .word 1073807360
- 478 .cfi_endproc
- 479 .LFE67:
- 481 .section .text.HAL_EXTI_RegisterCallback,"ax",%progbits
- 482 .align 1
- 483 .global HAL_EXTI_RegisterCallback
- 484 .syntax unified
- 485 .thumb
- 486 .thumb_func
- 487 .fpu softvfp
- 489 HAL_EXTI_RegisterCallback:
- 490 .LFB68:
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /**
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @brief Register callback for a dedicated Exti line.
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param hexti Exti handle.
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param CallbackID User callback identifier.
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * This parameter can be one of @arg @ref EXTI_CallbackIDTypeDef values.
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param pPendingCbfn function pointer to be stored as callback.
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @retval HAL Status.
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** HAL_StatusTypeDef HAL_EXTI_RegisterCallback(EXTI_HandleTypeDef *hexti, EXTI_CallbackIDTypeDef Callb
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 491 .loc 1 381 0
- 492 .cfi_startproc
- 493 @ args = 0, pretend = 0, frame = 0
- 494 @ frame_needed = 0, uses_anonymous_args = 0
- 495 @ link register save eliminated.
- 496 .LVL50:
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** HAL_StatusTypeDef status = HAL_OK;
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** switch (CallbackID)
- 497 .loc 1 384 0
- 498 0000 11B9 cbnz r1, .L56
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** case HAL_EXTI_COMMON_CB_ID:
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** hexti->PendingCallback = pPendingCbfn;
- 499 .loc 1 387 0
- 500 0002 4260 str r2, [r0, #4]
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** HAL_StatusTypeDef status = HAL_OK;
- 501 .loc 1 382 0
- 502 0004 0020 movs r0, #0
- 503 .LVL51:
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** break;
- 504 .loc 1 388 0
- 505 0006 7047 bx lr
- 506 .LVL52:
-ARM GAS /tmp/ccUUDue3.s page 17
-
-
- 507 .L56:
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** default:
- 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** status = HAL_ERROR;
- 508 .loc 1 391 0
- 509 0008 0120 movs r0, #1
- 510 .LVL53:
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** break;
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** return status;
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 511 .loc 1 396 0
- 512 000a 7047 bx lr
- 513 .cfi_endproc
- 514 .LFE68:
- 516 .section .text.HAL_EXTI_GetHandle,"ax",%progbits
- 517 .align 1
- 518 .global HAL_EXTI_GetHandle
- 519 .syntax unified
- 520 .thumb
- 521 .thumb_func
- 522 .fpu softvfp
- 524 HAL_EXTI_GetHandle:
- 525 .LFB69:
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /**
- 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @brief Store line number as handle private field.
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param hexti Exti handle.
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param ExtiLine Exti line number.
- 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * This parameter can be from 0 to @ref EXTI_LINE_NB.
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @retval HAL Status.
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** HAL_StatusTypeDef HAL_EXTI_GetHandle(EXTI_HandleTypeDef *hexti, uint32_t ExtiLine)
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 526 .loc 1 406 0
- 527 .cfi_startproc
- 528 @ args = 0, pretend = 0, frame = 0
- 529 @ frame_needed = 0, uses_anonymous_args = 0
- 530 @ link register save eliminated.
- 531 .LVL54:
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check the parameters */
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_LINE(ExtiLine));
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check null pointer */
- 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if (hexti == NULL)
- 532 .loc 1 411 0
- 533 0000 10B1 cbz r0, .L59
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** return HAL_ERROR;
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** else
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Store line number as handle private field */
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** hexti->Line = ExtiLine;
- 534 .loc 1 418 0
- 535 0002 0160 str r1, [r0]
-ARM GAS /tmp/ccUUDue3.s page 18
-
-
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** return HAL_OK;
- 536 .loc 1 420 0
- 537 0004 0020 movs r0, #0
- 538 .LVL55:
- 539 0006 7047 bx lr
- 540 .LVL56:
- 541 .L59:
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 542 .loc 1 413 0
- 543 0008 0120 movs r0, #1
- 544 .LVL57:
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 545 .loc 1 422 0
- 546 000a 7047 bx lr
- 547 .cfi_endproc
- 548 .LFE69:
- 550 .section .text.HAL_EXTI_IRQHandler,"ax",%progbits
- 551 .align 1
- 552 .global HAL_EXTI_IRQHandler
- 553 .syntax unified
- 554 .thumb
- 555 .thumb_func
- 556 .fpu softvfp
- 558 HAL_EXTI_IRQHandler:
- 559 .LFB70:
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /**
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @}
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /** @addtogroup EXTI_Exported_Functions_Group2
- 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @brief EXTI IO functions.
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** *
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** @verbatim
- 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** ===============================================================================
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** ##### IO operation functions #####
- 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** ===============================================================================
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** @endverbatim
- 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @{
- 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /**
- 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @brief Handle EXTI interrupt request.
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param hexti Exti handle.
- 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @retval none.
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** void HAL_EXTI_IRQHandler(EXTI_HandleTypeDef *hexti)
- 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 560 .loc 1 446 0
- 561 .cfi_startproc
- 562 @ args = 0, pretend = 0, frame = 0
- 563 @ frame_needed = 0, uses_anonymous_args = 0
- 564 .LVL58:
- 565 0000 08B5 push {r3, lr}
-ARM GAS /tmp/ccUUDue3.s page 19
-
-
- 566 .LCFI10:
- 567 .cfi_def_cfa_offset 8
- 568 .cfi_offset 3, -8
- 569 .cfi_offset 14, -4
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t regval;
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t maskline;
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Compute line mask */
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** maskline = (1uL << (hexti->Line & EXTI_PIN_MASK));
- 570 .loc 1 451 0
- 571 0002 0368 ldr r3, [r0]
- 572 0004 03F01F02 and r2, r3, #31
- 573 0008 0123 movs r3, #1
- 574 000a 9340 lsls r3, r3, r2
- 575 .LVL59:
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Get pending bit */
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval = (EXTI->PR & maskline);
- 576 .loc 1 454 0
- 577 000c 044A ldr r2, .L63
- 578 000e 5269 ldr r2, [r2, #20]
- 579 .LVL60:
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if (regval != 0x00u)
- 580 .loc 1 455 0
- 581 0010 1342 tst r3, r2
- 582 0012 04D0 beq .L60
- 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Clear pending bit */
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->PR = maskline;
- 583 .loc 1 458 0
- 584 0014 024A ldr r2, .L63
- 585 .LVL61:
- 586 0016 5361 str r3, [r2, #20]
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Call callback */
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** if (hexti->PendingCallback != NULL)
- 587 .loc 1 461 0
- 588 0018 4368 ldr r3, [r0, #4]
- 589 .LVL62:
- 590 001a 03B1 cbz r3, .L60
- 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** hexti->PendingCallback();
- 591 .loc 1 463 0
- 592 001c 9847 blx r3
- 593 .LVL63:
- 594 .L60:
- 595 001e 08BD pop {r3, pc}
- 596 .L64:
- 597 .align 2
- 598 .L63:
- 599 0020 00040140 .word 1073808384
- 600 .cfi_endproc
- 601 .LFE70:
- 603 .section .text.HAL_EXTI_GetPending,"ax",%progbits
- 604 .align 1
- 605 .global HAL_EXTI_GetPending
- 606 .syntax unified
-ARM GAS /tmp/ccUUDue3.s page 20
-
-
- 607 .thumb
- 608 .thumb_func
- 609 .fpu softvfp
- 611 HAL_EXTI_GetPending:
- 612 .LFB71:
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /**
- 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @brief Get interrupt pending bit of a dedicated line.
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param hexti Exti handle.
- 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param Edge Specify which pending edge as to be checked.
- 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * This parameter can be one of the following values:
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @arg @ref EXTI_TRIGGER_RISING_FALLING
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * This parameter is kept for compatibility with other series.
- 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @retval 1 if interrupt is pending else 0.
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t HAL_EXTI_GetPending(EXTI_HandleTypeDef *hexti, uint32_t Edge)
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 613 .loc 1 478 0
- 614 .cfi_startproc
- 615 @ args = 0, pretend = 0, frame = 0
- 616 @ frame_needed = 0, uses_anonymous_args = 0
- 617 @ link register save eliminated.
- 618 .LVL64:
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t regval;
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t maskline;
- 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t linepos;
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check parameters */
- 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_LINE(hexti->Line));
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_CONFIG_LINE(hexti->Line));
- 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_PENDING_EDGE(Edge));
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Compute line mask */
- 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** linepos = (hexti->Line & EXTI_PIN_MASK);
- 619 .loc 1 489 0
- 620 0000 0068 ldr r0, [r0]
- 621 .LVL65:
- 622 0002 00F01F00 and r0, r0, #31
- 623 .LVL66:
- 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** maskline = (1uL << linepos);
- 624 .loc 1 490 0
- 625 0006 0123 movs r3, #1
- 626 0008 8340 lsls r3, r3, r0
- 627 .LVL67:
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* return 1 if bit is set else 0 */
- 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** regval = ((EXTI->PR & maskline) >> linepos);
- 628 .loc 1 493 0
- 629 000a 034A ldr r2, .L66
- 630 000c 5269 ldr r2, [r2, #20]
- 631 000e 1340 ands r3, r3, r2
- 632 .LVL68:
- 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** return regval;
- 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
-ARM GAS /tmp/ccUUDue3.s page 21
-
-
- 633 .loc 1 495 0
- 634 0010 23FA00F0 lsr r0, r3, r0
- 635 .LVL69:
- 636 0014 7047 bx lr
- 637 .L67:
- 638 0016 00BF .align 2
- 639 .L66:
- 640 0018 00040140 .word 1073808384
- 641 .cfi_endproc
- 642 .LFE71:
- 644 .section .text.HAL_EXTI_ClearPending,"ax",%progbits
- 645 .align 1
- 646 .global HAL_EXTI_ClearPending
- 647 .syntax unified
- 648 .thumb
- 649 .thumb_func
- 650 .fpu softvfp
- 652 HAL_EXTI_ClearPending:
- 653 .LFB72:
- 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /**
- 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @brief Clear interrupt pending bit of a dedicated line.
- 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param hexti Exti handle.
- 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param Edge Specify which pending edge as to be clear.
- 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * This parameter can be one of the following values:
- 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @arg @ref EXTI_TRIGGER_RISING_FALLING
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * This parameter is kept for compatibility with other series.
- 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @retval None.
- 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** void HAL_EXTI_ClearPending(EXTI_HandleTypeDef *hexti, uint32_t Edge)
- 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 654 .loc 1 507 0
- 655 .cfi_startproc
- 656 @ args = 0, pretend = 0, frame = 0
- 657 @ frame_needed = 0, uses_anonymous_args = 0
- 658 @ link register save eliminated.
- 659 .LVL70:
- 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t maskline;
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check parameters */
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_LINE(hexti->Line));
- 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_CONFIG_LINE(hexti->Line));
- 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_PENDING_EDGE(Edge));
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Compute line mask */
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** maskline = (1uL << (hexti->Line & EXTI_PIN_MASK));
- 660 .loc 1 516 0
- 661 0000 0268 ldr r2, [r0]
- 662 0002 02F01F02 and r2, r2, #31
- 663 0006 0123 movs r3, #1
- 664 0008 9340 lsls r3, r3, r2
- 665 .LVL71:
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Clear Pending bit */
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->PR = maskline;
- 666 .loc 1 519 0
- 667 000a 014A ldr r2, .L69
-ARM GAS /tmp/ccUUDue3.s page 22
-
-
- 668 000c 5361 str r3, [r2, #20]
- 669 000e 7047 bx lr
- 670 .L70:
- 671 .align 2
- 672 .L69:
- 673 0010 00040140 .word 1073808384
- 674 .cfi_endproc
- 675 .LFE72:
- 677 .section .text.HAL_EXTI_GenerateSWI,"ax",%progbits
- 678 .align 1
- 679 .global HAL_EXTI_GenerateSWI
- 680 .syntax unified
- 681 .thumb
- 682 .thumb_func
- 683 .fpu softvfp
- 685 HAL_EXTI_GenerateSWI:
- 686 .LFB73:
- 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** }
- 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /**
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @brief Generate a software interrupt for a dedicated line.
- 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @param hexti Exti handle.
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** * @retval None.
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** */
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** void HAL_EXTI_GenerateSWI(EXTI_HandleTypeDef *hexti)
- 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** {
- 687 .loc 1 528 0
- 688 .cfi_startproc
- 689 @ args = 0, pretend = 0, frame = 0
- 690 @ frame_needed = 0, uses_anonymous_args = 0
- 691 @ link register save eliminated.
- 692 .LVL72:
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** uint32_t maskline;
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Check parameters */
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_LINE(hexti->Line));
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** assert_param(IS_EXTI_CONFIG_LINE(hexti->Line));
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Compute line mask */
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** maskline = (1uL << (hexti->Line & EXTI_PIN_MASK));
- 693 .loc 1 536 0
- 694 0000 0268 ldr r2, [r0]
- 695 0002 02F01F02 and r2, r2, #31
- 696 0006 0123 movs r3, #1
- 697 0008 9340 lsls r3, r3, r2
- 698 .LVL73:
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c ****
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** /* Generate Software interrupt */
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_exti.c **** EXTI->SWIER = maskline;
- 699 .loc 1 539 0
- 700 000a 014A ldr r2, .L72
- 701 000c 1361 str r3, [r2, #16]
- 702 000e 7047 bx lr
- 703 .L73:
- 704 .align 2
- 705 .L72:
- 706 0010 00040140 .word 1073808384
-ARM GAS /tmp/ccUUDue3.s page 23
-
-
- 707 .cfi_endproc
- 708 .LFE73:
- 710 .text
- 711 .Letext0:
- 712 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 713 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 714 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 715 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 716 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 717 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 718 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h"
- 719 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
-ARM GAS /tmp/ccUUDue3.s page 24
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_hal_exti.c
- /tmp/ccUUDue3.s:16 .text.HAL_EXTI_SetConfigLine:0000000000000000 $t
- /tmp/ccUUDue3.s:23 .text.HAL_EXTI_SetConfigLine:0000000000000000 HAL_EXTI_SetConfigLine
- /tmp/ccUUDue3.s:198 .text.HAL_EXTI_SetConfigLine:00000000000000d0 $d
- /tmp/ccUUDue3.s:204 .text.HAL_EXTI_GetConfigLine:0000000000000000 $t
- /tmp/ccUUDue3.s:211 .text.HAL_EXTI_GetConfigLine:0000000000000000 HAL_EXTI_GetConfigLine
- /tmp/ccUUDue3.s:350 .text.HAL_EXTI_GetConfigLine:00000000000000a0 $d
- /tmp/ccUUDue3.s:356 .text.HAL_EXTI_ClearConfigLine:0000000000000000 $t
- /tmp/ccUUDue3.s:363 .text.HAL_EXTI_ClearConfigLine:0000000000000000 HAL_EXTI_ClearConfigLine
- /tmp/ccUUDue3.s:476 .text.HAL_EXTI_ClearConfigLine:0000000000000074 $d
- /tmp/ccUUDue3.s:482 .text.HAL_EXTI_RegisterCallback:0000000000000000 $t
- /tmp/ccUUDue3.s:489 .text.HAL_EXTI_RegisterCallback:0000000000000000 HAL_EXTI_RegisterCallback
- /tmp/ccUUDue3.s:517 .text.HAL_EXTI_GetHandle:0000000000000000 $t
- /tmp/ccUUDue3.s:524 .text.HAL_EXTI_GetHandle:0000000000000000 HAL_EXTI_GetHandle
- /tmp/ccUUDue3.s:551 .text.HAL_EXTI_IRQHandler:0000000000000000 $t
- /tmp/ccUUDue3.s:558 .text.HAL_EXTI_IRQHandler:0000000000000000 HAL_EXTI_IRQHandler
- /tmp/ccUUDue3.s:599 .text.HAL_EXTI_IRQHandler:0000000000000020 $d
- /tmp/ccUUDue3.s:604 .text.HAL_EXTI_GetPending:0000000000000000 $t
- /tmp/ccUUDue3.s:611 .text.HAL_EXTI_GetPending:0000000000000000 HAL_EXTI_GetPending
- /tmp/ccUUDue3.s:640 .text.HAL_EXTI_GetPending:0000000000000018 $d
- /tmp/ccUUDue3.s:645 .text.HAL_EXTI_ClearPending:0000000000000000 $t
- /tmp/ccUUDue3.s:652 .text.HAL_EXTI_ClearPending:0000000000000000 HAL_EXTI_ClearPending
- /tmp/ccUUDue3.s:673 .text.HAL_EXTI_ClearPending:0000000000000010 $d
- /tmp/ccUUDue3.s:678 .text.HAL_EXTI_GenerateSWI:0000000000000000 $t
- /tmp/ccUUDue3.s:685 .text.HAL_EXTI_GenerateSWI:0000000000000000 HAL_EXTI_GenerateSWI
- /tmp/ccUUDue3.s:706 .text.HAL_EXTI_GenerateSWI:0000000000000010 $d
- .debug_frame:0000000000000010 $d
-
-NO UNDEFINED SYMBOLS
diff --git a/build/stm32f1xx_hal_exti.o b/build/stm32f1xx_hal_exti.o
deleted file mode 100644
index 4467089..0000000
Binary files a/build/stm32f1xx_hal_exti.o and /dev/null differ
diff --git a/build/stm32f1xx_hal_flash.d b/build/stm32f1xx_hal_flash.d
deleted file mode 100644
index 0f66d78..0000000
--- a/build/stm32f1xx_hal_flash.d
+++ /dev/null
@@ -1,93 +0,0 @@
-build/stm32f1xx_hal_flash.o: \
- Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/stm32f1xx_hal_flash.lst b/build/stm32f1xx_hal_flash.lst
deleted file mode 100644
index b703b9a..0000000
--- a/build/stm32f1xx_hal_flash.lst
+++ /dev/null
@@ -1,2196 +0,0 @@
-ARM GAS /tmp/cc7ko4Fc.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "stm32f1xx_hal_flash.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.FLASH_Program_HalfWord,"ax",%progbits
- 16 .align 1
- 17 .syntax unified
- 18 .thumb
- 19 .thumb_func
- 20 .fpu softvfp
- 22 FLASH_Program_HalfWord:
- 23 .LFB76:
- 24 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c"
- 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /**
- 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** ******************************************************************************
- 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @file stm32f1xx_hal_flash.c
- 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @author MCD Application Team
- 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @brief FLASH HAL module driver.
- 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * This file provides firmware functions to manage the following
- 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * functionalities of the internal FLASH memory:
- 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * + Program operations functions
- 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * + Memory Control functions
- 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * + Peripheral State functions
- 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** *
- 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** @verbatim
- 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** ==============================================================================
- 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** ##### FLASH peripheral features #####
- 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** ==============================================================================
- 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** [..] The Flash memory interface manages CPU AHB I-Code and D-Code accesses
- 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** to the Flash memory. It implements the erase and program Flash memory operations
- 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** and the read and write protection mechanisms.
- 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** [..] The Flash memory interface accelerates code execution with a system of instruction
- 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** prefetch.
- 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** [..] The FLASH main features are:
- 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (+) Flash memory read operations
- 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (+) Flash memory program/erase operations
- 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (+) Read / write protections
- 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (+) Prefetch on I-Code
- 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (+) Option Bytes programming
- 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** ##### How to use this driver #####
- 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** ==============================================================================
- 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** [..]
- 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** This driver provides functions and macros to configure and program the FLASH
-ARM GAS /tmp/cc7ko4Fc.s page 2
-
-
- 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** memory of all STM32F1xx devices.
- 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (#) FLASH Memory I/O Programming functions: this group includes all needed
- 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** functions to erase and program the main memory:
- 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (++) Lock and Unlock the FLASH interface
- 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (++) Erase function: Erase page, erase all pages
- 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (++) Program functions: half word, word and doubleword
- 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (#) FLASH Option Bytes Programming functions: this group includes all needed
- 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** functions to manage the Option Bytes:
- 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (++) Lock and Unlock the Option Bytes
- 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (++) Set/Reset the write protection
- 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (++) Set the Read protection Level
- 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (++) Program the user Option Bytes
- 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (++) Launch the Option Bytes loader
- 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (++) Erase Option Bytes
- 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (++) Program the data Option Bytes
- 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (++) Get the Write protection.
- 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (++) Get the user option bytes.
- 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (#) Interrupts and flags management functions : this group
- 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** includes all needed functions to:
- 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (++) Handle FLASH interrupts
- 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (++) Wait for last FLASH operation according to its status
- 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (++) Get error flag status
- 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** [..] In addition to these function, this driver includes a set of macros allowing
- 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** to handle the following operations:
- 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (+) Set/Get the latency
- 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (+) Enable/Disable the prefetch buffer
- 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (+) Enable/Disable the half cycle access
- 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (+) Enable/Disable the FLASH interrupts
- 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (+) Monitor the FLASH flags status
- 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** @endverbatim
- 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** ******************************************************************************
- 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @attention
- 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** *
- 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * © Copyright (c) 2016 STMicroelectronics.
- 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * All rights reserved.
- 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** *
- 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * the "License"; You may not use this file except in compliance with the
- 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * License. You may obtain a copy of the License at:
- 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * opensource.org/licenses/BSD-3-Clause
- 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** *
- 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** ******************************************************************************
- 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Includes ------------------------------------------------------------------*/
- 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #include "stm32f1xx_hal.h"
- 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /** @addtogroup STM32F1xx_HAL_Driver
- 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @{
- 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #ifdef HAL_FLASH_MODULE_ENABLED
-ARM GAS /tmp/cc7ko4Fc.s page 3
-
-
- 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /** @defgroup FLASH FLASH
- 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @brief FLASH HAL module driver
- 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @{
- 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Private typedef -----------------------------------------------------------*/
- 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Private define ------------------------------------------------------------*/
- 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /** @defgroup FLASH_Private_Constants FLASH Private Constants
- 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @{
- 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /**
- 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @}
- 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Private macro ---------------------------- ---------------------------------*/
- 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /** @defgroup FLASH_Private_Macros FLASH Private Macros
- 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @{
- 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /**
- 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @}
- 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Private variables ---------------------------------------------------------*/
- 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /** @defgroup FLASH_Private_Variables FLASH Private Variables
- 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @{
- 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Variables used for Erase pages under interruption*/
- 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** FLASH_ProcessTypeDef pFlash;
- 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /**
- 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @}
- 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Private function prototypes -----------------------------------------------*/
- 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /** @defgroup FLASH_Private_Functions FLASH Private Functions
- 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @{
- 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** static void FLASH_Program_HalfWord(uint32_t Address, uint16_t Data);
- 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** static void FLASH_SetErrorCode(void);
- 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** extern void FLASH_PageErase(uint32_t PageAddress);
- 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /**
- 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @}
- 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Exported functions ---------------------------------------------------------*/
- 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /** @defgroup FLASH_Exported_Functions FLASH Exported Functions
- 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @{
- 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /** @defgroup FLASH_Exported_Functions_Group1 Programming operation functions
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @brief Programming operation functions
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** *
- 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** @verbatim
- 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** @endverbatim
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @{
- 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
-ARM GAS /tmp/cc7ko4Fc.s page 4
-
-
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /**
- 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @brief Program halfword, word or double word at a specified address
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @note The function HAL_FLASH_Unlock() should be called before to unlock the FLASH interface
- 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * The function HAL_FLASH_Lock() should be called after to lock the FLASH interface
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** *
- 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @note If an erase and a program operations are requested simultaneously,
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * the erase operation is performed before the program one.
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** *
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @note FLASH should be previously erased before new programmation (only exception to this
- 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * is when 0x0000 is programmed)
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** *
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @param TypeProgram: Indicate the way to program at a specified address.
- 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * This parameter can be a value of @ref FLASH_Type_Program
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @param Address: Specifies the address to be programmed.
- 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @param Data: Specifies the data to be programmed
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** *
- 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @retval HAL_StatusTypeDef HAL Status
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_StatusTypeDef HAL_FLASH_Program(uint32_t TypeProgram, uint32_t Address, uint64_t Data)
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_StatusTypeDef status = HAL_ERROR;
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** uint8_t index = 0;
- 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** uint8_t nbiterations = 0;
- 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Process Locked */
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** __HAL_LOCK(&pFlash);
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Check the parameters */
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** assert_param(IS_FLASH_TYPEPROGRAM(TypeProgram));
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** assert_param(IS_FLASH_PROGRAM_ADDRESS(Address));
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #if defined(FLASH_BANK2_END)
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(Address <= FLASH_BANK1_END)
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif /* FLASH_BANK2_END */
- 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Wait for last operation to be completed */
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** status = FLASH_WaitForLastOperation(FLASH_TIMEOUT_VALUE);
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #if defined(FLASH_BANK2_END)
- 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** else
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Wait for last operation to be completed */
- 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** status = FLASH_WaitForLastOperationBank2(FLASH_TIMEOUT_VALUE);
- 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif /* FLASH_BANK2_END */
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(status == HAL_OK)
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(TypeProgram == FLASH_TYPEPROGRAM_HALFWORD)
- 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Program halfword (16-bit) at a specified address. */
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** nbiterations = 1U;
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** else if(TypeProgram == FLASH_TYPEPROGRAM_WORD)
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Program word (32-bit = 2*16-bit) at a specified address. */
-ARM GAS /tmp/cc7ko4Fc.s page 5
-
-
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** nbiterations = 2U;
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** else
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Program double word (64-bit = 4*16-bit) at a specified address. */
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** nbiterations = 4U;
- 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** for (index = 0U; index < nbiterations; index++)
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** FLASH_Program_HalfWord((Address + (2U*index)), (uint16_t)(Data >> (16U*index)));
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #if defined(FLASH_BANK2_END)
- 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(Address <= FLASH_BANK1_END)
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif /* FLASH_BANK2_END */
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Wait for last operation to be completed */
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** status = FLASH_WaitForLastOperation(FLASH_TIMEOUT_VALUE);
- 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* If the program operation is completed, disable the PG Bit */
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** CLEAR_BIT(FLASH->CR, FLASH_CR_PG);
- 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #if defined(FLASH_BANK2_END)
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** else
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Wait for last operation to be completed */
- 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** status = FLASH_WaitForLastOperationBank2(FLASH_TIMEOUT_VALUE);
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* If the program operation is completed, disable the PG Bit */
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** CLEAR_BIT(FLASH->CR2, FLASH_CR2_PG);
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif /* FLASH_BANK2_END */
- 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* In case of error, stop programation procedure */
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if (status != HAL_OK)
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** break;
- 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Process Unlocked */
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** __HAL_UNLOCK(&pFlash);
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** return status;
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /**
- 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @brief Program halfword, word or double word at a specified address with interrupt enabled.
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @note The function HAL_FLASH_Unlock() should be called before to unlock the FLASH interface
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * The function HAL_FLASH_Lock() should be called after to lock the FLASH interface
- 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** *
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @note If an erase and a program operations are requested simultaneously,
- 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * the erase operation is performed before the program one.
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** *
- 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @param TypeProgram: Indicate the way to program at a specified address.
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * This parameter can be a value of @ref FLASH_Type_Program
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @param Address: Specifies the address to be programmed.
-ARM GAS /tmp/cc7ko4Fc.s page 6
-
-
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @param Data: Specifies the data to be programmed
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** *
- 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @retval HAL_StatusTypeDef HAL Status
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_StatusTypeDef HAL_FLASH_Program_IT(uint32_t TypeProgram, uint32_t Address, uint64_t Data)
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_StatusTypeDef status = HAL_OK;
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Process Locked */
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** __HAL_LOCK(&pFlash);
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Check the parameters */
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** assert_param(IS_FLASH_TYPEPROGRAM(TypeProgram));
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** assert_param(IS_FLASH_PROGRAM_ADDRESS(Address));
- 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #if defined(FLASH_BANK2_END)
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* If procedure already ongoing, reject the next one */
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if (pFlash.ProcedureOnGoing != FLASH_PROC_NONE)
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** return HAL_ERROR;
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(Address <= FLASH_BANK1_END)
- 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Enable End of FLASH Operation and Error source interrupts */
- 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** __HAL_FLASH_ENABLE_IT(FLASH_IT_EOP_BANK1 | FLASH_IT_ERR_BANK1);
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }else
- 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Enable End of FLASH Operation and Error source interrupts */
- 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** __HAL_FLASH_ENABLE_IT(FLASH_IT_EOP_BANK2 | FLASH_IT_ERR_BANK2);
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #else
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Enable End of FLASH Operation and Error source interrupts */
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** __HAL_FLASH_ENABLE_IT(FLASH_IT_EOP | FLASH_IT_ERR);
- 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif /* FLASH_BANK2_END */
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.Address = Address;
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.Data = Data;
- 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(TypeProgram == FLASH_TYPEPROGRAM_HALFWORD)
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.ProcedureOnGoing = FLASH_PROC_PROGRAMHALFWORD;
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Program halfword (16-bit) at a specified address. */
- 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.DataRemaining = 1U;
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** else if(TypeProgram == FLASH_TYPEPROGRAM_WORD)
- 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.ProcedureOnGoing = FLASH_PROC_PROGRAMWORD;
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Program word (32-bit : 2*16-bit) at a specified address. */
- 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.DataRemaining = 2U;
- 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** else
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.ProcedureOnGoing = FLASH_PROC_PROGRAMDOUBLEWORD;
- 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Program double word (64-bit : 4*16-bit) at a specified address. */
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.DataRemaining = 4U;
-ARM GAS /tmp/cc7ko4Fc.s page 7
-
-
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Program halfword (16-bit) at a specified address. */
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** FLASH_Program_HalfWord(Address, (uint16_t)Data);
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** return status;
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /**
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @brief This function handles FLASH interrupt request.
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @retval None
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** void HAL_FLASH_IRQHandler(void)
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** uint32_t addresstmp = 0U;
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Check FLASH operation error flags */
- 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #if defined(FLASH_BANK2_END)
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(__HAL_FLASH_GET_FLAG(FLASH_FLAG_WRPERR_BANK1) || __HAL_FLASH_GET_FLAG(FLASH_FLAG_PGERR_BANK1)
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** (__HAL_FLASH_GET_FLAG(FLASH_FLAG_WRPERR_BANK2) || __HAL_FLASH_GET_FLAG(FLASH_FLAG_PGERR_BANK2))
- 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #else
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(__HAL_FLASH_GET_FLAG(FLASH_FLAG_WRPERR) ||__HAL_FLASH_GET_FLAG(FLASH_FLAG_PGERR))
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif /* FLASH_BANK2_END */
- 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Return the faulty address */
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** addresstmp = pFlash.Address;
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Reset address */
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.Address = 0xFFFFFFFFU;
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Save the Error code */
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** FLASH_SetErrorCode();
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* FLASH error interrupt user callback */
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_FLASH_OperationErrorCallback(addresstmp);
- 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Stop the procedure ongoing */
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.ProcedureOnGoing = FLASH_PROC_NONE;
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Check FLASH End of Operation flag */
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #if defined(FLASH_BANK2_END)
- 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(__HAL_FLASH_GET_FLAG(FLASH_FLAG_EOP_BANK1))
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Clear FLASH End of Operation pending bit */
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** __HAL_FLASH_CLEAR_FLAG(FLASH_FLAG_EOP_BANK1);
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #else
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(__HAL_FLASH_GET_FLAG(FLASH_FLAG_EOP))
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Clear FLASH End of Operation pending bit */
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** __HAL_FLASH_CLEAR_FLAG(FLASH_FLAG_EOP);
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif /* FLASH_BANK2_END */
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Process can continue only if no error detected */
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(pFlash.ProcedureOnGoing != FLASH_PROC_NONE)
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(pFlash.ProcedureOnGoing == FLASH_PROC_PAGEERASE)
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
-ARM GAS /tmp/cc7ko4Fc.s page 8
-
-
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Nb of pages to erased can be decreased */
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.DataRemaining--;
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Check if there are still pages to erase */
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(pFlash.DataRemaining != 0U)
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** addresstmp = pFlash.Address;
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /*Indicate user which sector has been erased */
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_FLASH_EndOfOperationCallback(addresstmp);
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /*Increment sector number*/
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** addresstmp = pFlash.Address + FLASH_PAGE_SIZE;
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.Address = addresstmp;
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* If the erase operation is completed, disable the PER Bit */
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** CLEAR_BIT(FLASH->CR, FLASH_CR_PER);
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** FLASH_PageErase(addresstmp);
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** else
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* No more pages to Erase, user callback can be called. */
- 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Reset Sector and stop Erase pages procedure */
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.Address = addresstmp = 0xFFFFFFFFU;
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.ProcedureOnGoing = FLASH_PROC_NONE;
- 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* FLASH EOP interrupt user callback */
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_FLASH_EndOfOperationCallback(addresstmp);
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** else if(pFlash.ProcedureOnGoing == FLASH_PROC_MASSERASE)
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Operation is completed, disable the MER Bit */
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** CLEAR_BIT(FLASH->CR, FLASH_CR_MER);
- 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #if defined(FLASH_BANK2_END)
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Stop Mass Erase procedure if no pending mass erase on other bank */
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if (HAL_IS_BIT_CLR(FLASH->CR2, FLASH_CR2_MER))
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif /* FLASH_BANK2_END */
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* MassErase ended. Return the selected bank */
- 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* FLASH EOP interrupt user callback */
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_FLASH_EndOfOperationCallback(0U);
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Stop Mass Erase procedure*/
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.ProcedureOnGoing = FLASH_PROC_NONE;
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #if defined(FLASH_BANK2_END)
- 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif /* FLASH_BANK2_END */
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** else
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Nb of 16-bit data to program can be decreased */
- 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.DataRemaining--;
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Check if there are still 16-bit data to program */
- 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(pFlash.DataRemaining != 0U)
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
-ARM GAS /tmp/cc7ko4Fc.s page 9
-
-
- 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Increment address to 16-bit */
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.Address += 2U;
- 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** addresstmp = pFlash.Address;
- 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Shift to have next 16-bit data */
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.Data = (pFlash.Data >> 16U);
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Operation is completed, disable the PG Bit */
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** CLEAR_BIT(FLASH->CR, FLASH_CR_PG);
- 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /*Program halfword (16-bit) at a specified address.*/
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** FLASH_Program_HalfWord(addresstmp, (uint16_t)pFlash.Data);
- 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** else
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Program ended. Return the selected address */
- 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* FLASH EOP interrupt user callback */
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if (pFlash.ProcedureOnGoing == FLASH_PROC_PROGRAMHALFWORD)
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_FLASH_EndOfOperationCallback(pFlash.Address);
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** else if (pFlash.ProcedureOnGoing == FLASH_PROC_PROGRAMWORD)
- 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_FLASH_EndOfOperationCallback(pFlash.Address - 2U);
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** else
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_FLASH_EndOfOperationCallback(pFlash.Address - 6U);
- 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Reset Address and stop Program procedure */
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.Address = 0xFFFFFFFFU;
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.ProcedureOnGoing = FLASH_PROC_NONE;
- 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #if defined(FLASH_BANK2_END)
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Check FLASH End of Operation flag */
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(__HAL_FLASH_GET_FLAG( FLASH_FLAG_EOP_BANK2))
- 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Clear FLASH End of Operation pending bit */
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** __HAL_FLASH_CLEAR_FLAG(FLASH_FLAG_EOP_BANK2);
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Process can continue only if no error detected */
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(pFlash.ProcedureOnGoing != FLASH_PROC_NONE)
- 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(pFlash.ProcedureOnGoing == FLASH_PROC_PAGEERASE)
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Nb of pages to erased can be decreased */
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.DataRemaining--;
- 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Check if there are still pages to erase*/
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(pFlash.DataRemaining != 0U)
- 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Indicate user which page address has been erased*/
-ARM GAS /tmp/cc7ko4Fc.s page 10
-
-
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_FLASH_EndOfOperationCallback(pFlash.Address);
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Increment page address to next page */
- 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.Address += FLASH_PAGE_SIZE;
- 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** addresstmp = pFlash.Address;
- 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Operation is completed, disable the PER Bit */
- 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** CLEAR_BIT(FLASH->CR2, FLASH_CR2_PER);
- 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** FLASH_PageErase(addresstmp);
- 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** else
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /*No more pages to Erase*/
- 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /*Reset Address and stop Erase pages procedure*/
- 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.Address = 0xFFFFFFFFU;
- 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.ProcedureOnGoing = FLASH_PROC_NONE;
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* FLASH EOP interrupt user callback */
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_FLASH_EndOfOperationCallback(pFlash.Address);
- 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** else if(pFlash.ProcedureOnGoing == FLASH_PROC_MASSERASE)
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Operation is completed, disable the MER Bit */
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** CLEAR_BIT(FLASH->CR2, FLASH_CR2_MER);
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if (HAL_IS_BIT_CLR(FLASH->CR, FLASH_CR_MER))
- 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* MassErase ended. Return the selected bank*/
- 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* FLASH EOP interrupt user callback */
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_FLASH_EndOfOperationCallback(0U);
- 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.ProcedureOnGoing = FLASH_PROC_NONE;
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** else
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Nb of 16-bit data to program can be decreased */
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.DataRemaining--;
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Check if there are still 16-bit data to program */
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(pFlash.DataRemaining != 0U)
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Increment address to 16-bit */
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.Address += 2U;
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** addresstmp = pFlash.Address;
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Shift to have next 16-bit data */
- 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.Data = (pFlash.Data >> 16U);
- 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Operation is completed, disable the PG Bit */
- 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** CLEAR_BIT(FLASH->CR2, FLASH_CR2_PG);
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /*Program halfword (16-bit) at a specified address.*/
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** FLASH_Program_HalfWord(addresstmp, (uint16_t)pFlash.Data);
-ARM GAS /tmp/cc7ko4Fc.s page 11
-
-
- 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** else
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /*Program ended. Return the selected address*/
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* FLASH EOP interrupt user callback */
- 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if (pFlash.ProcedureOnGoing == FLASH_PROC_PROGRAMHALFWORD)
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_FLASH_EndOfOperationCallback(pFlash.Address);
- 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** else if (pFlash.ProcedureOnGoing == FLASH_PROC_PROGRAMWORD)
- 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_FLASH_EndOfOperationCallback(pFlash.Address-2U);
- 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** else
- 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_FLASH_EndOfOperationCallback(pFlash.Address-6U);
- 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Reset Address and stop Program procedure*/
- 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.Address = 0xFFFFFFFFU;
- 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.ProcedureOnGoing = FLASH_PROC_NONE;
- 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif
- 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(pFlash.ProcedureOnGoing == FLASH_PROC_NONE)
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #if defined(FLASH_BANK2_END)
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Operation is completed, disable the PG, PER and MER Bits for both bank */
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** CLEAR_BIT(FLASH->CR, (FLASH_CR_PG | FLASH_CR_PER | FLASH_CR_MER));
- 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** CLEAR_BIT(FLASH->CR2, (FLASH_CR2_PG | FLASH_CR2_PER | FLASH_CR2_MER));
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Disable End of FLASH Operation and Error source interrupts for both banks */
- 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** __HAL_FLASH_DISABLE_IT(FLASH_IT_EOP_BANK1 | FLASH_IT_ERR_BANK1 | FLASH_IT_EOP_BANK2 | FLASH_IT_
- 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #else
- 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Operation is completed, disable the PG, PER and MER Bits */
- 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** CLEAR_BIT(FLASH->CR, (FLASH_CR_PG | FLASH_CR_PER | FLASH_CR_MER));
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Disable End of FLASH Operation and Error source interrupts */
- 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** __HAL_FLASH_DISABLE_IT(FLASH_IT_EOP | FLASH_IT_ERR);
- 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif /* FLASH_BANK2_END */
- 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Process Unlocked */
- 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** __HAL_UNLOCK(&pFlash);
- 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /**
- 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @brief FLASH end of operation interrupt callback
- 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @param ReturnValue: The value saved in this parameter depends on the ongoing procedure
- 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * - Mass Erase: No return value expected
- 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * - Pages Erase: Address of the page which has been erased
- 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * (if 0xFFFFFFFF, it means that all the selected pages have been erased)
- 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * - Program: Address which was selected for data program
- 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @retval none
-ARM GAS /tmp/cc7ko4Fc.s page 12
-
-
- 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** __weak void HAL_FLASH_EndOfOperationCallback(uint32_t ReturnValue)
- 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Prevent unused argument(s) compilation warning */
- 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** UNUSED(ReturnValue);
- 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* NOTE : This function Should not be modified, when the callback is needed,
- 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** the HAL_FLASH_EndOfOperationCallback could be implemented in the user file
- 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /**
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @brief FLASH operation error interrupt callback
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @param ReturnValue: The value saved in this parameter depends on the ongoing procedure
- 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * - Mass Erase: No return value expected
- 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * - Pages Erase: Address of the page which returned an error
- 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * - Program: Address which was selected for data program
- 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @retval none
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** __weak void HAL_FLASH_OperationErrorCallback(uint32_t ReturnValue)
- 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Prevent unused argument(s) compilation warning */
- 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** UNUSED(ReturnValue);
- 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* NOTE : This function Should not be modified, when the callback is needed,
- 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** the HAL_FLASH_OperationErrorCallback could be implemented in the user file
- 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /**
- 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @}
- 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /** @defgroup FLASH_Exported_Functions_Group2 Peripheral Control functions
- 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @brief management functions
- 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** *
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** @verbatim
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** ===============================================================================
- 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** ##### Peripheral Control functions #####
- 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** ===============================================================================
- 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** [..]
- 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** This subsection provides a set of functions allowing to control the FLASH
- 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** memory operations.
- 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** @endverbatim
- 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @{
- 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /**
- 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @brief Unlock the FLASH control register access
- 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @retval HAL Status
- 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_StatusTypeDef HAL_FLASH_Unlock(void)
- 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_StatusTypeDef status = HAL_OK;
- 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(READ_BIT(FLASH->CR, FLASH_CR_LOCK) != RESET)
-ARM GAS /tmp/cc7ko4Fc.s page 13
-
-
- 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Authorize the FLASH Registers access */
- 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** WRITE_REG(FLASH->KEYR, FLASH_KEY1);
- 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** WRITE_REG(FLASH->KEYR, FLASH_KEY2);
- 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Verify Flash is unlocked */
- 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(READ_BIT(FLASH->CR, FLASH_CR_LOCK) != RESET)
- 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** status = HAL_ERROR;
- 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #if defined(FLASH_BANK2_END)
- 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(READ_BIT(FLASH->CR2, FLASH_CR2_LOCK) != RESET)
- 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Authorize the FLASH BANK2 Registers access */
- 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** WRITE_REG(FLASH->KEYR2, FLASH_KEY1);
- 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** WRITE_REG(FLASH->KEYR2, FLASH_KEY2);
- 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Verify Flash BANK2 is unlocked */
- 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(READ_BIT(FLASH->CR2, FLASH_CR2_LOCK) != RESET)
- 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** status = HAL_ERROR;
- 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif /* FLASH_BANK2_END */
- 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** return status;
- 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /**
- 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @brief Locks the FLASH control register access
- 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @retval HAL Status
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_StatusTypeDef HAL_FLASH_Lock(void)
- 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Set the LOCK Bit to lock the FLASH Registers access */
- 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** SET_BIT(FLASH->CR, FLASH_CR_LOCK);
- 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #if defined(FLASH_BANK2_END)
- 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Set the LOCK Bit to lock the FLASH BANK2 Registers access */
- 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** SET_BIT(FLASH->CR2, FLASH_CR2_LOCK);
- 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif /* FLASH_BANK2_END */
- 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** return HAL_OK;
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /**
- 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @brief Unlock the FLASH Option Control Registers access.
- 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @retval HAL Status
- 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_StatusTypeDef HAL_FLASH_OB_Unlock(void)
- 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if (HAL_IS_BIT_CLR(FLASH->CR, FLASH_CR_OPTWRE))
- 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Authorizes the Option Byte register programming */
- 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** WRITE_REG(FLASH->OPTKEYR, FLASH_OPTKEY1);
- 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** WRITE_REG(FLASH->OPTKEYR, FLASH_OPTKEY2);
-ARM GAS /tmp/cc7ko4Fc.s page 14
-
-
- 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** else
- 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** return HAL_ERROR;
- 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** return HAL_OK;
- 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /**
- 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @brief Lock the FLASH Option Control Registers access.
- 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @retval HAL Status
- 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_StatusTypeDef HAL_FLASH_OB_Lock(void)
- 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Clear the OPTWRE Bit to lock the FLASH Option Byte Registers access */
- 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** CLEAR_BIT(FLASH->CR, FLASH_CR_OPTWRE);
- 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** return HAL_OK;
- 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /**
- 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @brief Launch the option byte loading.
- 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @note This function will reset automatically the MCU.
- 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @retval None
- 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** void HAL_FLASH_OB_Launch(void)
- 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Initiates a system reset request to launch the option byte loading */
- 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_NVIC_SystemReset();
- 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /**
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @}
- 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /** @defgroup FLASH_Exported_Functions_Group3 Peripheral errors functions
- 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @brief Peripheral errors functions
- 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** *
- 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** @verbatim
- 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** ===============================================================================
- 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** ##### Peripheral Errors functions #####
- 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** ===============================================================================
- 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** [..]
- 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** This subsection permit to get in run-time errors of the FLASH peripheral.
- 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** @endverbatim
- 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @{
- 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /**
- 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @brief Get the specific FLASH error flag.
- 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @retval FLASH_ErrorCode The returned value can be:
- 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @ref FLASH_Error_Codes
- 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** uint32_t HAL_FLASH_GetError(void)
- 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
-ARM GAS /tmp/cc7ko4Fc.s page 15
-
-
- 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** return pFlash.ErrorCode;
- 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /**
- 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @}
- 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /**
- 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @}
- 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /** @addtogroup FLASH_Private_Functions
- 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @{
- 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /**
- 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @brief Program a half-word (16-bit) at a specified address.
- 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @param Address specify the address to be programmed.
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @param Data specify the data to be programmed.
- 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @retval None
- 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** static void FLASH_Program_HalfWord(uint32_t Address, uint16_t Data)
- 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 25 .loc 1 798 0
- 26 .cfi_startproc
- 27 @ args = 0, pretend = 0, frame = 0
- 28 @ frame_needed = 0, uses_anonymous_args = 0
- 29 @ link register save eliminated.
- 30 .LVL0:
- 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Clean the error context */
- 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.ErrorCode = HAL_FLASH_ERROR_NONE;
- 31 .loc 1 800 0
- 32 0000 0022 movs r2, #0
- 33 0002 044B ldr r3, .L2
- 34 0004 DA61 str r2, [r3, #28]
- 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #if defined(FLASH_BANK2_END)
- 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(Address <= FLASH_BANK1_END)
- 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif /* FLASH_BANK2_END */
- 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Proceed to program the new data */
- 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** SET_BIT(FLASH->CR, FLASH_CR_PG);
- 35 .loc 1 807 0
- 36 0006 044A ldr r2, .L2+4
- 37 0008 1369 ldr r3, [r2, #16]
- 38 000a 43F00103 orr r3, r3, #1
- 39 000e 1361 str r3, [r2, #16]
- 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #if defined(FLASH_BANK2_END)
- 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** else
- 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Proceed to program the new data */
- 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** SET_BIT(FLASH->CR2, FLASH_CR2_PG);
- 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif /* FLASH_BANK2_END */
- 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Write data in the address */
-ARM GAS /tmp/cc7ko4Fc.s page 16
-
-
- 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** *(__IO uint16_t*)Address = Data;
- 40 .loc 1 818 0
- 41 0010 0180 strh r1, [r0] @ movhi
- 42 0012 7047 bx lr
- 43 .L3:
- 44 .align 2
- 45 .L2:
- 46 0014 00000000 .word pFlash
- 47 0018 00200240 .word 1073881088
- 48 .cfi_endproc
- 49 .LFE76:
- 51 .section .text.FLASH_SetErrorCode,"ax",%progbits
- 52 .align 1
- 53 .syntax unified
- 54 .thumb
- 55 .thumb_func
- 56 .fpu softvfp
- 58 FLASH_SetErrorCode:
- 59 .LFB78:
- 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /**
- 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @brief Wait for a FLASH operation to complete.
- 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @param Timeout maximum flash operation timeout
- 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @retval HAL Status
- 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_StatusTypeDef FLASH_WaitForLastOperation(uint32_t Timeout)
- 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Wait for the FLASH operation to complete by polling on BUSY flag to be reset.
- 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** Even if the FLASH operation fails, the BUSY flag will be reset and an error
- 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** flag will be set */
- 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** uint32_t tickstart = HAL_GetTick();
- 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** while(__HAL_FLASH_GET_FLAG(FLASH_FLAG_BSY))
- 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if (Timeout != HAL_MAX_DELAY)
- 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if((Timeout == 0U) || ((HAL_GetTick()-tickstart) > Timeout))
- 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** return HAL_TIMEOUT;
- 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Check FLASH End of Operation flag */
- 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if (__HAL_FLASH_GET_FLAG(FLASH_FLAG_EOP))
- 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Clear FLASH End of Operation pending bit */
- 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** __HAL_FLASH_CLEAR_FLAG(FLASH_FLAG_EOP);
- 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(__HAL_FLASH_GET_FLAG(FLASH_FLAG_WRPERR) ||
- 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** __HAL_FLASH_GET_FLAG(FLASH_FLAG_OPTVERR) ||
- 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** __HAL_FLASH_GET_FLAG(FLASH_FLAG_PGERR))
- 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /*Save the error code*/
-ARM GAS /tmp/cc7ko4Fc.s page 17
-
-
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** FLASH_SetErrorCode();
- 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** return HAL_ERROR;
- 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* There is no error flag set */
- 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** return HAL_OK;
- 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #if defined(FLASH_BANK2_END)
- 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /**
- 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @brief Wait for a FLASH BANK2 operation to complete.
- 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @param Timeout maximum flash operation timeout
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @retval HAL_StatusTypeDef HAL Status
- 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
- 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_StatusTypeDef FLASH_WaitForLastOperationBank2(uint32_t Timeout)
- 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Wait for the FLASH BANK2 operation to complete by polling on BUSY flag to be reset.
- 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** Even if the FLASH BANK2 operation fails, the BUSY flag will be reset and an error
- 875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** flag will be set */
- 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** uint32_t tickstart = HAL_GetTick();
- 878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** while(__HAL_FLASH_GET_FLAG(FLASH_FLAG_BSY_BANK2))
- 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if (Timeout != HAL_MAX_DELAY)
- 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if((Timeout == 0U) || ((HAL_GetTick()-tickstart) > Timeout))
- 884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** return HAL_TIMEOUT;
- 886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Check FLASH End of Operation flag */
- 891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if (__HAL_FLASH_GET_FLAG(FLASH_FLAG_EOP_BANK2))
- 892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Clear FLASH End of Operation pending bit */
- 894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** __HAL_FLASH_CLEAR_FLAG(FLASH_FLAG_EOP_BANK2);
- 895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(__HAL_FLASH_GET_FLAG(FLASH_FLAG_WRPERR_BANK2) || __HAL_FLASH_GET_FLAG(FLASH_FLAG_PGERR_BANK2))
- 898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /*Save the error code*/
- 900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** FLASH_SetErrorCode();
- 901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** return HAL_ERROR;
- 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* If there is an error flag set */
- 905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** return HAL_OK;
- 906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif /* FLASH_BANK2_END */
- 909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /**
- 911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @brief Set the specific FLASH error flag.
- 912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** * @retval None
- 913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** */
-ARM GAS /tmp/cc7ko4Fc.s page 18
-
-
- 914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** static void FLASH_SetErrorCode(void)
- 915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 60 .loc 1 915 0
- 61 .cfi_startproc
- 62 @ args = 0, pretend = 0, frame = 0
- 63 @ frame_needed = 0, uses_anonymous_args = 0
- 64 @ link register save eliminated.
- 65 .LVL1:
- 916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** uint32_t flags = 0U;
- 917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #if defined(FLASH_BANK2_END)
- 919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(__HAL_FLASH_GET_FLAG(FLASH_FLAG_WRPERR) || __HAL_FLASH_GET_FLAG(FLASH_FLAG_WRPERR_BANK2))
- 920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #else
- 921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(__HAL_FLASH_GET_FLAG(FLASH_FLAG_WRPERR))
- 66 .loc 1 921 0
- 67 0000 1A4B ldr r3, .L12
- 68 0002 DB68 ldr r3, [r3, #12]
- 69 0004 13F0100F tst r3, #16
- 70 0008 27D0 beq .L10
- 922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif /* FLASH_BANK2_END */
- 923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.ErrorCode |= HAL_FLASH_ERROR_WRP;
- 71 .loc 1 924 0
- 72 000a 194A ldr r2, .L12+4
- 73 000c D369 ldr r3, [r2, #28]
- 74 000e 43F00203 orr r3, r3, #2
- 75 0012 D361 str r3, [r2, #28]
- 76 .LVL2:
- 925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #if defined(FLASH_BANK2_END)
- 926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** flags |= FLASH_FLAG_WRPERR | FLASH_FLAG_WRPERR_BANK2;
- 927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #else
- 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** flags |= FLASH_FLAG_WRPERR;
- 77 .loc 1 928 0
- 78 0014 1023 movs r3, #16
- 79 .LVL3:
- 80 .L5:
- 929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif /* FLASH_BANK2_END */
- 930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #if defined(FLASH_BANK2_END)
- 932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(__HAL_FLASH_GET_FLAG(FLASH_FLAG_PGERR) || __HAL_FLASH_GET_FLAG(FLASH_FLAG_PGERR_BANK2))
- 933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #else
- 934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(__HAL_FLASH_GET_FLAG(FLASH_FLAG_PGERR))
- 81 .loc 1 934 0
- 82 0016 154A ldr r2, .L12
- 83 0018 D268 ldr r2, [r2, #12]
- 84 001a 12F0040F tst r2, #4
- 85 001e 06D0 beq .L6
- 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif /* FLASH_BANK2_END */
- 936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.ErrorCode |= HAL_FLASH_ERROR_PROG;
- 86 .loc 1 937 0
- 87 0020 1349 ldr r1, .L12+4
- 88 0022 CA69 ldr r2, [r1, #28]
- 89 0024 42F00102 orr r2, r2, #1
- 90 0028 CA61 str r2, [r1, #28]
- 938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #if defined(FLASH_BANK2_END)
- 939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** flags |= FLASH_FLAG_PGERR | FLASH_FLAG_PGERR_BANK2;
-ARM GAS /tmp/cc7ko4Fc.s page 19
-
-
- 940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #else
- 941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** flags |= FLASH_FLAG_PGERR;
- 91 .loc 1 941 0
- 92 002a 43F00403 orr r3, r3, #4
- 93 .LVL4:
- 94 .L6:
- 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif /* FLASH_BANK2_END */
- 943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if(__HAL_FLASH_GET_FLAG(FLASH_FLAG_OPTVERR))
- 95 .loc 1 944 0
- 96 002e 0F4A ldr r2, .L12
- 97 0030 D269 ldr r2, [r2, #28]
- 98 0032 12F0010F tst r2, #1
- 99 0036 09D0 beq .L7
- 945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.ErrorCode |= HAL_FLASH_ERROR_OPTV;
- 100 .loc 1 946 0
- 101 0038 0D49 ldr r1, .L12+4
- 102 003a CA69 ldr r2, [r1, #28]
- 103 003c 42F00402 orr r2, r2, #4
- 104 0040 CA61 str r2, [r1, #28]
- 947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** __HAL_FLASH_CLEAR_FLAG(FLASH_FLAG_OPTVERR);
- 105 .loc 1 947 0
- 106 0042 0A49 ldr r1, .L12
- 107 0044 CA69 ldr r2, [r1, #28]
- 108 0046 22F00102 bic r2, r2, #1
- 109 004a CA61 str r2, [r1, #28]
- 110 .L7:
- 948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Clear FLASH error pending bits */
- 951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** __HAL_FLASH_CLEAR_FLAG(flags);
- 111 .loc 1 951 0
- 112 004c 40F20112 movw r2, #257
- 113 0050 9342 cmp r3, r2
- 114 0052 04D0 beq .L11
- 115 .loc 1 951 0 is_stmt 0 discriminator 2
- 116 0054 054A ldr r2, .L12
- 117 0056 D360 str r3, [r2, #12]
- 118 0058 7047 bx lr
- 119 .LVL5:
- 120 .L10:
- 916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 121 .loc 1 916 0 is_stmt 1
- 122 005a 0023 movs r3, #0
- 123 005c DBE7 b .L5
- 124 .LVL6:
- 125 .L11:
- 126 .loc 1 951 0 discriminator 1
- 127 005e 034A ldr r2, .L12
- 128 0060 D369 ldr r3, [r2, #28]
- 129 .LVL7:
- 130 0062 23F00103 bic r3, r3, #1
- 131 0066 D361 str r3, [r2, #28]
- 132 0068 7047 bx lr
- 133 .L13:
- 134 006a 00BF .align 2
-ARM GAS /tmp/cc7ko4Fc.s page 20
-
-
- 135 .L12:
- 136 006c 00200240 .word 1073881088
- 137 0070 00000000 .word pFlash
- 138 .cfi_endproc
- 139 .LFE78:
- 141 .section .text.HAL_FLASH_Program_IT,"ax",%progbits
- 142 .align 1
- 143 .global HAL_FLASH_Program_IT
- 144 .syntax unified
- 145 .thumb
- 146 .thumb_func
- 147 .fpu softvfp
- 149 HAL_FLASH_Program_IT:
- 150 .LFB66:
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_StatusTypeDef status = HAL_OK;
- 151 .loc 1 268 0
- 152 .cfi_startproc
- 153 @ args = 0, pretend = 0, frame = 0
- 154 @ frame_needed = 0, uses_anonymous_args = 0
- 155 .LVL8:
- 156 0000 70B5 push {r4, r5, r6, lr}
- 157 .LCFI0:
- 158 .cfi_def_cfa_offset 16
- 159 .cfi_offset 4, -16
- 160 .cfi_offset 5, -12
- 161 .cfi_offset 6, -8
- 162 .cfi_offset 14, -4
- 163 .LVL9:
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 164 .loc 1 272 0
- 165 0002 164C ldr r4, .L23
- 166 0004 247E ldrb r4, [r4, #24] @ zero_extendqisi2
- 167 0006 012C cmp r4, #1
- 168 0008 25D0 beq .L19
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 169 .loc 1 272 0 is_stmt 0 discriminator 2
- 170 000a 144C ldr r4, .L23
- 171 000c 0125 movs r5, #1
- 172 000e 2576 strb r5, [r4, #24]
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif /* FLASH_BANK2_END */
- 173 .loc 1 297 0 is_stmt 1 discriminator 2
- 174 0010 134E ldr r6, .L23+4
- 175 0012 3569 ldr r5, [r6, #16]
- 176 0014 45F4A055 orr r5, r5, #5120
- 177 0018 3561 str r5, [r6, #16]
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.Data = Data;
- 178 .loc 1 300 0 discriminator 2
- 179 001a A160 str r1, [r4, #8]
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 180 .loc 1 301 0 discriminator 2
- 181 001c C4E90423 strd r2, [r4, #16]
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 182 .loc 1 303 0 discriminator 2
- 183 0020 0128 cmp r0, #1
- 184 0022 0CD0 beq .L21
- 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 185 .loc 1 309 0
-ARM GAS /tmp/cc7ko4Fc.s page 21
-
-
- 186 0024 0228 cmp r0, #2
- 187 0026 10D0 beq .L22
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Program double word (64-bit : 4*16-bit) at a specified address. */
- 188 .loc 1 317 0
- 189 0028 0C48 ldr r0, .L23
- 190 .LVL10:
- 191 002a 0524 movs r4, #5
- 192 002c 0470 strb r4, [r0]
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 193 .loc 1 319 0
- 194 002e 0424 movs r4, #4
- 195 0030 4460 str r4, [r0, #4]
- 196 .L17:
- 197 0032 0846 mov r0, r1
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 198 .loc 1 323 0
- 199 0034 91B2 uxth r1, r2
- 200 .LVL11:
- 201 0036 FFF7FEFF bl FLASH_Program_HalfWord
- 202 .LVL12:
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 203 .loc 1 325 0
- 204 003a 0020 movs r0, #0
- 205 003c 70BD pop {r4, r5, r6, pc}
- 206 .LVL13:
- 207 .L21:
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Program halfword (16-bit) at a specified address. */
- 208 .loc 1 305 0
- 209 003e 2046 mov r0, r4
- 210 .LVL14:
- 211 0040 0324 movs r4, #3
- 212 0042 0470 strb r4, [r0]
- 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 213 .loc 1 307 0
- 214 0044 0124 movs r4, #1
- 215 0046 4460 str r4, [r0, #4]
- 216 0048 F3E7 b .L17
- 217 .LVL15:
- 218 .L22:
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Program word (32-bit : 2*16-bit) at a specified address. */
- 219 .loc 1 311 0
- 220 004a 0448 ldr r0, .L23
- 221 .LVL16:
- 222 004c 0424 movs r4, #4
- 223 004e 0470 strb r4, [r0]
- 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 224 .loc 1 313 0
- 225 0050 0224 movs r4, #2
- 226 0052 4460 str r4, [r0, #4]
- 227 0054 EDE7 b .L17
- 228 .LVL17:
- 229 .L19:
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 230 .loc 1 272 0
- 231 0056 0220 movs r0, #2
- 232 .LVL18:
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
-ARM GAS /tmp/cc7ko4Fc.s page 22
-
-
- 233 .loc 1 326 0
- 234 0058 70BD pop {r4, r5, r6, pc}
- 235 .L24:
- 236 005a 00BF .align 2
- 237 .L23:
- 238 005c 00000000 .word pFlash
- 239 0060 00200240 .word 1073881088
- 240 .cfi_endproc
- 241 .LFE66:
- 243 .section .text.HAL_FLASH_EndOfOperationCallback,"ax",%progbits
- 244 .align 1
- 245 .weak HAL_FLASH_EndOfOperationCallback
- 246 .syntax unified
- 247 .thumb
- 248 .thumb_func
- 249 .fpu softvfp
- 251 HAL_FLASH_EndOfOperationCallback:
- 252 .LFB68:
- 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Prevent unused argument(s) compilation warning */
- 253 .loc 1 607 0
- 254 .cfi_startproc
- 255 @ args = 0, pretend = 0, frame = 0
- 256 @ frame_needed = 0, uses_anonymous_args = 0
- 257 @ link register save eliminated.
- 258 .LVL19:
- 259 0000 7047 bx lr
- 260 .cfi_endproc
- 261 .LFE68:
- 263 .section .text.HAL_FLASH_OperationErrorCallback,"ax",%progbits
- 264 .align 1
- 265 .weak HAL_FLASH_OperationErrorCallback
- 266 .syntax unified
- 267 .thumb
- 268 .thumb_func
- 269 .fpu softvfp
- 271 HAL_FLASH_OperationErrorCallback:
- 272 .LFB69:
- 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Prevent unused argument(s) compilation warning */
- 273 .loc 1 625 0
- 274 .cfi_startproc
- 275 @ args = 0, pretend = 0, frame = 0
- 276 @ frame_needed = 0, uses_anonymous_args = 0
- 277 @ link register save eliminated.
- 278 .LVL20:
- 279 0000 7047 bx lr
- 280 .cfi_endproc
- 281 .LFE69:
- 283 .section .text.HAL_FLASH_IRQHandler,"ax",%progbits
- 284 .align 1
- 285 .global HAL_FLASH_IRQHandler
- 286 .syntax unified
- 287 .thumb
- 288 .thumb_func
- 289 .fpu softvfp
- 291 HAL_FLASH_IRQHandler:
- 292 .LFB67:
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** uint32_t addresstmp = 0U;
-ARM GAS /tmp/cc7ko4Fc.s page 23
-
-
- 293 .loc 1 333 0
- 294 .cfi_startproc
- 295 @ args = 0, pretend = 0, frame = 0
- 296 @ frame_needed = 0, uses_anonymous_args = 0
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** uint32_t addresstmp = 0U;
- 297 .loc 1 333 0
- 298 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
- 299 .LCFI1:
- 300 .cfi_def_cfa_offset 24
- 301 .cfi_offset 3, -24
- 302 .cfi_offset 4, -20
- 303 .cfi_offset 5, -16
- 304 .cfi_offset 6, -12
- 305 .cfi_offset 7, -8
- 306 .cfi_offset 14, -4
- 307 .LVL21:
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif /* FLASH_BANK2_END */
- 308 .loc 1 341 0
- 309 0002 524B ldr r3, .L45
- 310 0004 DB68 ldr r3, [r3, #12]
- 311 0006 13F0100F tst r3, #16
- 312 000a 04D1 bne .L28
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif /* FLASH_BANK2_END */
- 313 .loc 1 341 0 is_stmt 0 discriminator 1
- 314 000c 4F4B ldr r3, .L45
- 315 000e DB68 ldr r3, [r3, #12]
- 316 0010 13F0040F tst r3, #4
- 317 0014 0BD0 beq .L29
- 318 .L28:
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Reset address */
- 319 .loc 1 345 0 is_stmt 1
- 320 0016 4E4C ldr r4, .L45+4
- 321 0018 A568 ldr r5, [r4, #8]
- 322 .LVL22:
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 323 .loc 1 347 0
- 324 001a 4FF0FF33 mov r3, #-1
- 325 001e A360 str r3, [r4, #8]
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 326 .loc 1 350 0
- 327 0020 FFF7FEFF bl FLASH_SetErrorCode
- 328 .LVL23:
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 329 .loc 1 353 0
- 330 0024 2846 mov r0, r5
- 331 0026 FFF7FEFF bl HAL_FLASH_OperationErrorCallback
- 332 .LVL24:
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 333 .loc 1 356 0
- 334 002a 0023 movs r3, #0
- 335 002c 2370 strb r3, [r4]
- 336 .LVL25:
- 337 .L29:
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 338 .loc 1 366 0
- 339 002e 474B ldr r3, .L45
- 340 0030 DB68 ldr r3, [r3, #12]
-ARM GAS /tmp/cc7ko4Fc.s page 24
-
-
- 341 0032 13F0200F tst r3, #32
- 342 0036 2BD0 beq .L30
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif /* FLASH_BANK2_END */
- 343 .loc 1 369 0 discriminator 2
- 344 0038 2022 movs r2, #32
- 345 003a 444B ldr r3, .L45
- 346 003c DA60 str r2, [r3, #12]
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 347 .loc 1 373 0 discriminator 2
- 348 003e 444B ldr r3, .L45+4
- 349 0040 1B78 ldrb r3, [r3] @ zero_extendqisi2
- 350 0042 2BB3 cbz r3, .L30
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 351 .loc 1 375 0
- 352 0044 424B ldr r3, .L45+4
- 353 0046 1B78 ldrb r3, [r3] @ zero_extendqisi2
- 354 0048 DBB2 uxtb r3, r3
- 355 004a 012B cmp r3, #1
- 356 004c 30D0 beq .L40
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 357 .loc 1 406 0
- 358 004e 404B ldr r3, .L45+4
- 359 0050 1B78 ldrb r3, [r3] @ zero_extendqisi2
- 360 0052 DBB2 uxtb r3, r3
- 361 0054 022B cmp r3, #2
- 362 0056 4AD0 beq .L41
- 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 363 .loc 1 429 0
- 364 0058 3D4B ldr r3, .L45+4
- 365 005a 5A68 ldr r2, [r3, #4]
- 366 005c 013A subs r2, r2, #1
- 367 005e 5A60 str r2, [r3, #4]
- 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 368 .loc 1 432 0
- 369 0060 5B68 ldr r3, [r3, #4]
- 370 0062 002B cmp r3, #0
- 371 0064 4FD1 bne .L42
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 372 .loc 1 451 0
- 373 0066 3A4B ldr r3, .L45+4
- 374 0068 1B78 ldrb r3, [r3] @ zero_extendqisi2
- 375 006a DBB2 uxtb r3, r3
- 376 006c 032B cmp r3, #3
- 377 006e 62D0 beq .L43
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 378 .loc 1 455 0
- 379 0070 374B ldr r3, .L45+4
- 380 0072 1B78 ldrb r3, [r3] @ zero_extendqisi2
- 381 0074 DBB2 uxtb r3, r3
- 382 0076 042B cmp r3, #4
- 383 0078 62D0 beq .L44
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 384 .loc 1 461 0
- 385 007a 354B ldr r3, .L45+4
- 386 007c 9868 ldr r0, [r3, #8]
- 387 007e 0638 subs r0, r0, #6
- 388 0080 FFF7FEFF bl HAL_FLASH_EndOfOperationCallback
-ARM GAS /tmp/cc7ko4Fc.s page 25
-
-
- 389 .LVL26:
- 390 .L36:
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.ProcedureOnGoing = FLASH_PROC_NONE;
- 391 .loc 1 465 0
- 392 0084 324B ldr r3, .L45+4
- 393 0086 4FF0FF32 mov r2, #-1
- 394 008a 9A60 str r2, [r3, #8]
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 395 .loc 1 466 0
- 396 008c 0022 movs r2, #0
- 397 008e 1A70 strb r2, [r3]
- 398 .L30:
- 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 399 .loc 1 575 0
- 400 0090 2F4B ldr r3, .L45+4
- 401 0092 1B78 ldrb r3, [r3] @ zero_extendqisi2
- 402 0094 5BB9 cbnz r3, .L27
- 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 403 .loc 1 586 0
- 404 0096 2D4B ldr r3, .L45
- 405 0098 1A69 ldr r2, [r3, #16]
- 406 009a 22F00702 bic r2, r2, #7
- 407 009e 1A61 str r2, [r3, #16]
- 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #endif /* FLASH_BANK2_END */
- 408 .loc 1 589 0
- 409 00a0 1A69 ldr r2, [r3, #16]
- 410 00a2 22F4A052 bic r2, r2, #5120
- 411 00a6 1A61 str r2, [r3, #16]
- 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 412 .loc 1 593 0
- 413 00a8 0022 movs r2, #0
- 414 00aa 294B ldr r3, .L45+4
- 415 00ac 1A76 strb r2, [r3, #24]
- 416 .L27:
- 417 00ae F8BD pop {r3, r4, r5, r6, r7, pc}
- 418 .L40:
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 419 .loc 1 378 0
- 420 00b0 274B ldr r3, .L45+4
- 421 00b2 5A68 ldr r2, [r3, #4]
- 422 00b4 013A subs r2, r2, #1
- 423 00b6 5A60 str r2, [r3, #4]
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 424 .loc 1 381 0
- 425 00b8 5B68 ldr r3, [r3, #4]
- 426 00ba 7BB1 cbz r3, .L32
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /*Indicate user which sector has been erased */
- 427 .loc 1 383 0
- 428 00bc 244C ldr r4, .L45+4
- 429 00be A068 ldr r0, [r4, #8]
- 430 .LVL27:
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 431 .loc 1 385 0
- 432 00c0 FFF7FEFF bl HAL_FLASH_EndOfOperationCallback
- 433 .LVL28:
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.Address = addresstmp;
- 434 .loc 1 388 0
-ARM GAS /tmp/cc7ko4Fc.s page 26
-
-
- 435 00c4 A068 ldr r0, [r4, #8]
- 436 00c6 00F50060 add r0, r0, #2048
- 437 .LVL29:
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 438 .loc 1 389 0
- 439 00ca A060 str r0, [r4, #8]
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 440 .loc 1 392 0
- 441 00cc 1F4A ldr r2, .L45
- 442 00ce 1369 ldr r3, [r2, #16]
- 443 00d0 23F00203 bic r3, r3, #2
- 444 00d4 1361 str r3, [r2, #16]
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 445 .loc 1 394 0
- 446 00d6 FFF7FEFF bl FLASH_PageErase
- 447 .LVL30:
- 448 00da D9E7 b .L30
- 449 .L32:
- 450 .LVL31:
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** pFlash.ProcedureOnGoing = FLASH_PROC_NONE;
- 451 .loc 1 400 0
- 452 00dc 1C4B ldr r3, .L45+4
- 453 00de 4FF0FF30 mov r0, #-1
- 454 00e2 9860 str r0, [r3, #8]
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* FLASH EOP interrupt user callback */
- 455 .loc 1 401 0
- 456 00e4 0022 movs r2, #0
- 457 00e6 1A70 strb r2, [r3]
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 458 .loc 1 403 0
- 459 00e8 FFF7FEFF bl HAL_FLASH_EndOfOperationCallback
- 460 .LVL32:
- 461 00ec D0E7 b .L30
- 462 .LVL33:
- 463 .L41:
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 464 .loc 1 409 0
- 465 00ee 174A ldr r2, .L45
- 466 00f0 1369 ldr r3, [r2, #16]
- 467 00f2 23F00403 bic r3, r3, #4
- 468 00f6 1361 str r3, [r2, #16]
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 469 .loc 1 418 0
- 470 00f8 0020 movs r0, #0
- 471 00fa FFF7FEFF bl HAL_FLASH_EndOfOperationCallback
- 472 .LVL34:
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 473 .loc 1 421 0
- 474 00fe 0022 movs r2, #0
- 475 0100 134B ldr r3, .L45+4
- 476 0102 1A70 strb r2, [r3]
- 477 0104 C4E7 b .L30
- 478 .L42:
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** addresstmp = pFlash.Address;
- 479 .loc 1 435 0
- 480 0106 124B ldr r3, .L45+4
- 481 0108 9A68 ldr r2, [r3, #8]
-ARM GAS /tmp/cc7ko4Fc.s page 27
-
-
- 482 010a 0232 adds r2, r2, #2
- 483 010c 9A60 str r2, [r3, #8]
- 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 484 .loc 1 436 0
- 485 010e 9868 ldr r0, [r3, #8]
- 486 .LVL35:
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 487 .loc 1 439 0
- 488 0110 D3E90467 ldrd r6, [r3, #16]
- 489 0114 340C lsrs r4, r6, #16
- 490 0116 44EA0744 orr r4, r4, r7, lsl #16
- 491 011a 3D0C lsrs r5, r7, #16
- 492 011c C3E90445 strd r4, [r3, #16]
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 493 .loc 1 442 0
- 494 0120 0A49 ldr r1, .L45
- 495 0122 0A69 ldr r2, [r1, #16]
- 496 0124 22F00102 bic r2, r2, #1
- 497 0128 0A61 str r2, [r1, #16]
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 498 .loc 1 445 0
- 499 012a D3E90423 ldrd r2, [r3, #16]
- 500 012e 91B2 uxth r1, r2
- 501 0130 FFF7FEFF bl FLASH_Program_HalfWord
- 502 .LVL36:
- 503 0134 ACE7 b .L30
- 504 .L43:
- 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 505 .loc 1 453 0
- 506 0136 064B ldr r3, .L45+4
- 507 0138 9868 ldr r0, [r3, #8]
- 508 013a FFF7FEFF bl HAL_FLASH_EndOfOperationCallback
- 509 .LVL37:
- 510 013e A1E7 b .L36
- 511 .L44:
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 512 .loc 1 457 0
- 513 0140 034B ldr r3, .L45+4
- 514 0142 9868 ldr r0, [r3, #8]
- 515 0144 0238 subs r0, r0, #2
- 516 0146 FFF7FEFF bl HAL_FLASH_EndOfOperationCallback
- 517 .LVL38:
- 518 014a 9BE7 b .L36
- 519 .L46:
- 520 .align 2
- 521 .L45:
- 522 014c 00200240 .word 1073881088
- 523 0150 00000000 .word pFlash
- 524 .cfi_endproc
- 525 .LFE67:
- 527 .section .text.HAL_FLASH_Unlock,"ax",%progbits
- 528 .align 1
- 529 .global HAL_FLASH_Unlock
- 530 .syntax unified
- 531 .thumb
- 532 .thumb_func
- 533 .fpu softvfp
-ARM GAS /tmp/cc7ko4Fc.s page 28
-
-
- 535 HAL_FLASH_Unlock:
- 536 .LFB70:
- 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_StatusTypeDef status = HAL_OK;
- 537 .loc 1 658 0
- 538 .cfi_startproc
- 539 @ args = 0, pretend = 0, frame = 0
- 540 @ frame_needed = 0, uses_anonymous_args = 0
- 541 @ link register save eliminated.
- 542 .LVL39:
- 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 543 .loc 1 661 0
- 544 0000 0A4B ldr r3, .L52
- 545 0002 1B69 ldr r3, [r3, #16]
- 546 0004 13F0800F tst r3, #128
- 547 0008 0DD0 beq .L49
- 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** WRITE_REG(FLASH->KEYR, FLASH_KEY2);
- 548 .loc 1 664 0
- 549 000a 084B ldr r3, .L52
- 550 000c 084A ldr r2, .L52+4
- 551 000e 5A60 str r2, [r3, #4]
- 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 552 .loc 1 665 0
- 553 0010 02F18832 add r2, r2, #-2004318072
- 554 0014 5A60 str r2, [r3, #4]
- 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 555 .loc 1 668 0
- 556 0016 1B69 ldr r3, [r3, #16]
- 557 0018 13F0800F tst r3, #128
- 558 001c 01D0 beq .L51
- 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 559 .loc 1 670 0
- 560 001e 0120 movs r0, #1
- 561 .LVL40:
- 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 562 .loc 1 689 0
- 563 0020 7047 bx lr
- 564 .LVL41:
- 565 .L51:
- 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 566 .loc 1 659 0
- 567 0022 0020 movs r0, #0
- 568 0024 7047 bx lr
- 569 .L49:
- 570 0026 0020 movs r0, #0
- 571 0028 7047 bx lr
- 572 .L53:
- 573 002a 00BF .align 2
- 574 .L52:
- 575 002c 00200240 .word 1073881088
- 576 0030 23016745 .word 1164378403
- 577 .cfi_endproc
- 578 .LFE70:
- 580 .section .text.HAL_FLASH_Lock,"ax",%progbits
- 581 .align 1
- 582 .global HAL_FLASH_Lock
- 583 .syntax unified
- 584 .thumb
-ARM GAS /tmp/cc7ko4Fc.s page 29
-
-
- 585 .thumb_func
- 586 .fpu softvfp
- 588 HAL_FLASH_Lock:
- 589 .LFB71:
- 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Set the LOCK Bit to lock the FLASH Registers access */
- 590 .loc 1 696 0
- 591 .cfi_startproc
- 592 @ args = 0, pretend = 0, frame = 0
- 593 @ frame_needed = 0, uses_anonymous_args = 0
- 594 @ link register save eliminated.
- 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 595 .loc 1 698 0
- 596 0000 034A ldr r2, .L55
- 597 0002 1369 ldr r3, [r2, #16]
- 598 0004 43F08003 orr r3, r3, #128
- 599 0008 1361 str r3, [r2, #16]
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 600 .loc 1 706 0
- 601 000a 0020 movs r0, #0
- 602 000c 7047 bx lr
- 603 .L56:
- 604 000e 00BF .align 2
- 605 .L55:
- 606 0010 00200240 .word 1073881088
- 607 .cfi_endproc
- 608 .LFE71:
- 610 .section .text.HAL_FLASH_OB_Unlock,"ax",%progbits
- 611 .align 1
- 612 .global HAL_FLASH_OB_Unlock
- 613 .syntax unified
- 614 .thumb
- 615 .thumb_func
- 616 .fpu softvfp
- 618 HAL_FLASH_OB_Unlock:
- 619 .LFB72:
- 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** if (HAL_IS_BIT_CLR(FLASH->CR, FLASH_CR_OPTWRE))
- 620 .loc 1 713 0
- 621 .cfi_startproc
- 622 @ args = 0, pretend = 0, frame = 0
- 623 @ frame_needed = 0, uses_anonymous_args = 0
- 624 @ link register save eliminated.
- 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 625 .loc 1 714 0
- 626 0000 074B ldr r3, .L60
- 627 0002 1B69 ldr r3, [r3, #16]
- 628 0004 13F4007F tst r3, #512
- 629 0008 07D1 bne .L59
- 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** WRITE_REG(FLASH->OPTKEYR, FLASH_OPTKEY2);
- 630 .loc 1 717 0
- 631 000a 054B ldr r3, .L60
- 632 000c 054A ldr r2, .L60+4
- 633 000e 9A60 str r2, [r3, #8]
- 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 634 .loc 1 718 0
- 635 0010 02F18832 add r2, r2, #-2004318072
- 636 0014 9A60 str r2, [r3, #8]
- 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
-ARM GAS /tmp/cc7ko4Fc.s page 30
-
-
- 637 .loc 1 725 0
- 638 0016 0020 movs r0, #0
- 639 0018 7047 bx lr
- 640 .L59:
- 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 641 .loc 1 722 0
- 642 001a 0120 movs r0, #1
- 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 643 .loc 1 726 0
- 644 001c 7047 bx lr
- 645 .L61:
- 646 001e 00BF .align 2
- 647 .L60:
- 648 0020 00200240 .word 1073881088
- 649 0024 23016745 .word 1164378403
- 650 .cfi_endproc
- 651 .LFE72:
- 653 .section .text.HAL_FLASH_OB_Lock,"ax",%progbits
- 654 .align 1
- 655 .global HAL_FLASH_OB_Lock
- 656 .syntax unified
- 657 .thumb
- 658 .thumb_func
- 659 .fpu softvfp
- 661 HAL_FLASH_OB_Lock:
- 662 .LFB73:
- 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Clear the OPTWRE Bit to lock the FLASH Option Byte Registers access */
- 663 .loc 1 733 0
- 664 .cfi_startproc
- 665 @ args = 0, pretend = 0, frame = 0
- 666 @ frame_needed = 0, uses_anonymous_args = 0
- 667 @ link register save eliminated.
- 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 668 .loc 1 735 0
- 669 0000 034A ldr r2, .L63
- 670 0002 1369 ldr r3, [r2, #16]
- 671 0004 23F40073 bic r3, r3, #512
- 672 0008 1361 str r3, [r2, #16]
- 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 673 .loc 1 738 0
- 674 000a 0020 movs r0, #0
- 675 000c 7047 bx lr
- 676 .L64:
- 677 000e 00BF .align 2
- 678 .L63:
- 679 0010 00200240 .word 1073881088
- 680 .cfi_endproc
- 681 .LFE73:
- 683 .section .text.HAL_FLASH_OB_Launch,"ax",%progbits
- 684 .align 1
- 685 .global HAL_FLASH_OB_Launch
- 686 .syntax unified
- 687 .thumb
- 688 .thumb_func
- 689 .fpu softvfp
- 691 HAL_FLASH_OB_Launch:
- 692 .LFB74:
-ARM GAS /tmp/cc7ko4Fc.s page 31
-
-
- 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Initiates a system reset request to launch the option byte loading */
- 693 .loc 1 746 0
- 694 .cfi_startproc
- 695 @ args = 0, pretend = 0, frame = 0
- 696 @ frame_needed = 0, uses_anonymous_args = 0
- 697 0000 08B5 push {r3, lr}
- 698 .LCFI2:
- 699 .cfi_def_cfa_offset 8
- 700 .cfi_offset 3, -8
- 701 .cfi_offset 14, -4
- 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 702 .loc 1 748 0
- 703 0002 FFF7FEFF bl HAL_NVIC_SystemReset
- 704 .LVL42:
- 705 0006 08BD pop {r3, pc}
- 706 .cfi_endproc
- 707 .LFE74:
- 709 .section .text.HAL_FLASH_GetError,"ax",%progbits
- 710 .align 1
- 711 .global HAL_FLASH_GetError
- 712 .syntax unified
- 713 .thumb
- 714 .thumb_func
- 715 .fpu softvfp
- 717 HAL_FLASH_GetError:
- 718 .LFB75:
- 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** return pFlash.ErrorCode;
- 719 .loc 1 775 0
- 720 .cfi_startproc
- 721 @ args = 0, pretend = 0, frame = 0
- 722 @ frame_needed = 0, uses_anonymous_args = 0
- 723 @ link register save eliminated.
- 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 724 .loc 1 776 0
- 725 0000 014B ldr r3, .L68
- 726 0002 D869 ldr r0, [r3, #28]
- 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 727 .loc 1 777 0
- 728 0004 7047 bx lr
- 729 .L69:
- 730 0006 00BF .align 2
- 731 .L68:
- 732 0008 00000000 .word pFlash
- 733 .cfi_endproc
- 734 .LFE75:
- 736 .section .text.FLASH_WaitForLastOperation,"ax",%progbits
- 737 .align 1
- 738 .global FLASH_WaitForLastOperation
- 739 .syntax unified
- 740 .thumb
- 741 .thumb_func
- 742 .fpu softvfp
- 744 FLASH_WaitForLastOperation:
- 745 .LFB77:
- 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** /* Wait for the FLASH operation to complete by polling on BUSY flag to be reset.
- 746 .loc 1 827 0
- 747 .cfi_startproc
-ARM GAS /tmp/cc7ko4Fc.s page 32
-
-
- 748 @ args = 0, pretend = 0, frame = 0
- 749 @ frame_needed = 0, uses_anonymous_args = 0
- 750 .LVL43:
- 751 0000 38B5 push {r3, r4, r5, lr}
- 752 .LCFI3:
- 753 .cfi_def_cfa_offset 16
- 754 .cfi_offset 3, -16
- 755 .cfi_offset 4, -12
- 756 .cfi_offset 5, -8
- 757 .cfi_offset 14, -4
- 758 0002 0446 mov r4, r0
- 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 759 .loc 1 832 0
- 760 0004 FFF7FEFF bl HAL_GetTick
- 761 .LVL44:
- 762 0008 0546 mov r5, r0
- 763 .LVL45:
- 764 .L72:
- 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 765 .loc 1 834 0
- 766 000a 174B ldr r3, .L82
- 767 000c DB68 ldr r3, [r3, #12]
- 768 000e 13F0010F tst r3, #1
- 769 0012 0AD0 beq .L81
- 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 770 .loc 1 836 0
- 771 0014 B4F1FF3F cmp r4, #-1
- 772 0018 F7D0 beq .L72
- 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 773 .loc 1 838 0
- 774 001a 0CB3 cbz r4, .L77
- 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 775 .loc 1 838 0 is_stmt 0 discriminator 1
- 776 001c FFF7FEFF bl HAL_GetTick
- 777 .LVL46:
- 778 0020 401B subs r0, r0, r5
- 779 0022 8442 cmp r4, r0
- 780 0024 F1D2 bcs .L72
- 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 781 .loc 1 840 0 is_stmt 1
- 782 0026 0320 movs r0, #3
- 783 0028 38BD pop {r3, r4, r5, pc}
- 784 .LVL47:
- 785 .L81:
- 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 786 .loc 1 846 0
- 787 002a 0F4B ldr r3, .L82
- 788 002c DB68 ldr r3, [r3, #12]
- 789 002e 13F0200F tst r3, #32
- 790 0032 02D0 beq .L75
- 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 791 .loc 1 849 0 discriminator 2
- 792 0034 2022 movs r2, #32
- 793 0036 0C4B ldr r3, .L82
- 794 0038 DA60 str r2, [r3, #12]
- 795 .L75:
- 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** __HAL_FLASH_GET_FLAG(FLASH_FLAG_OPTVERR) ||
-ARM GAS /tmp/cc7ko4Fc.s page 33
-
-
- 796 .loc 1 852 0
- 797 003a 0B4B ldr r3, .L82
- 798 003c DB68 ldr r3, [r3, #12]
- 799 003e 13F0100F tst r3, #16
- 800 0042 09D1 bne .L76
- 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** __HAL_FLASH_GET_FLAG(FLASH_FLAG_PGERR))
- 801 .loc 1 853 0 discriminator 1
- 802 0044 084B ldr r3, .L82
- 803 0046 DB69 ldr r3, [r3, #28]
- 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** __HAL_FLASH_GET_FLAG(FLASH_FLAG_OPTVERR) ||
- 804 .loc 1 852 0 discriminator 1
- 805 0048 13F0010F tst r3, #1
- 806 004c 04D1 bne .L76
- 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 807 .loc 1 854 0
- 808 004e 064B ldr r3, .L82
- 809 0050 DB68 ldr r3, [r3, #12]
- 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** __HAL_FLASH_GET_FLAG(FLASH_FLAG_PGERR))
- 810 .loc 1 853 0
- 811 0052 13F0040F tst r3, #4
- 812 0056 05D0 beq .L79
- 813 .L76:
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** return HAL_ERROR;
- 814 .loc 1 857 0
- 815 0058 FFF7FEFF bl FLASH_SetErrorCode
- 816 .LVL48:
- 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 817 .loc 1 858 0
- 818 005c 0120 movs r0, #1
- 819 005e 38BD pop {r3, r4, r5, pc}
- 820 .LVL49:
- 821 .L77:
- 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 822 .loc 1 840 0
- 823 0060 0320 movs r0, #3
- 824 0062 38BD pop {r3, r4, r5, pc}
- 825 .LVL50:
- 826 .L79:
- 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 827 .loc 1 862 0
- 828 0064 0020 movs r0, #0
- 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 829 .loc 1 863 0
- 830 0066 38BD pop {r3, r4, r5, pc}
- 831 .LVL51:
- 832 .L83:
- 833 .align 2
- 834 .L82:
- 835 0068 00200240 .word 1073881088
- 836 .cfi_endproc
- 837 .LFE77:
- 839 .section .text.HAL_FLASH_Program,"ax",%progbits
- 840 .align 1
- 841 .global HAL_FLASH_Program
- 842 .syntax unified
- 843 .thumb
- 844 .thumb_func
-ARM GAS /tmp/cc7ko4Fc.s page 34
-
-
- 845 .fpu softvfp
- 847 HAL_FLASH_Program:
- 848 .LFB65:
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** HAL_StatusTypeDef status = HAL_ERROR;
- 849 .loc 1 169 0
- 850 .cfi_startproc
- 851 @ args = 0, pretend = 0, frame = 0
- 852 @ frame_needed = 0, uses_anonymous_args = 0
- 853 .LVL52:
- 854 0000 2DE9F843 push {r3, r4, r5, r6, r7, r8, r9, lr}
- 855 .LCFI4:
- 856 .cfi_def_cfa_offset 32
- 857 .cfi_offset 3, -32
- 858 .cfi_offset 4, -28
- 859 .cfi_offset 5, -24
- 860 .cfi_offset 6, -20
- 861 .cfi_offset 7, -16
- 862 .cfi_offset 8, -12
- 863 .cfi_offset 9, -8
- 864 .cfi_offset 14, -4
- 865 .LVL53:
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 866 .loc 1 175 0
- 867 0004 234C ldr r4, .L96
- 868 0006 247E ldrb r4, [r4, #24] @ zero_extendqisi2
- 869 0008 012C cmp r4, #1
- 870 000a 03D1 bne .L94
- 871 000c 0223 movs r3, #2
- 872 .LVL54:
- 873 .L85:
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 874 .loc 1 250 0
- 875 000e 1846 mov r0, r3
- 876 0010 BDE8F883 pop {r3, r4, r5, r6, r7, r8, r9, pc}
- 877 .LVL55:
- 878 .L94:
- 879 0014 1E46 mov r6, r3
- 880 0016 9046 mov r8, r2
- 881 0018 0F46 mov r7, r1
- 882 001a 0446 mov r4, r0
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 883 .loc 1 175 0 discriminator 2
- 884 001c 0122 movs r2, #1
- 885 .LVL56:
- 886 001e 1D4B ldr r3, .L96
- 887 0020 1A76 strb r2, [r3, #24]
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #if defined(FLASH_BANK2_END)
- 888 .loc 1 186 0 discriminator 2
- 889 0022 4CF25030 movw r0, #50000
- 890 .LVL57:
- 891 0026 FFF7FEFF bl FLASH_WaitForLastOperation
- 892 .LVL58:
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 893 .loc 1 196 0 discriminator 2
- 894 002a 0346 mov r3, r0
- 895 002c 70BB cbnz r0, .L86
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
-ARM GAS /tmp/cc7ko4Fc.s page 35
-
-
- 896 .loc 1 198 0
- 897 002e 012C cmp r4, #1
- 898 0030 29D0 beq .L91
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 899 .loc 1 203 0
- 900 0032 022C cmp r4, #2
- 901 0034 24D0 beq .L95
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 902 .loc 1 211 0
- 903 0036 4FF00409 mov r9, #4
- 904 .L87:
- 905 .LVL59:
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 906 .loc 1 214 0
- 907 003a 0024 movs r4, #0
- 908 .LVL60:
- 909 .L88:
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 910 .loc 1 214 0 is_stmt 0 discriminator 1
- 911 003c 4C45 cmp r4, r9
- 912 003e 25D2 bcs .L86
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 913 .loc 1 216 0 is_stmt 1
- 914 0040 2101 lsls r1, r4, #4
- 915 0042 C1F12002 rsb r2, r1, #32
- 916 0046 A1F12003 sub r3, r1, #32
- 917 .LVL61:
- 918 004a 28FA01F1 lsr r1, r8, r1
- 919 004e 06FA02F2 lsl r2, r6, r2
- 920 0052 1143 orrs r1, r1, r2
- 921 0054 26FA03F3 lsr r3, r6, r3
- 922 0058 1943 orrs r1, r1, r3
- 923 005a 89B2 uxth r1, r1
- 924 005c 07EB4400 add r0, r7, r4, lsl #1
- 925 0060 FFF7FEFF bl FLASH_Program_HalfWord
- 926 .LVL62:
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 927 .loc 1 223 0
- 928 0064 4CF25030 movw r0, #50000
- 929 0068 FFF7FEFF bl FLASH_WaitForLastOperation
- 930 .LVL63:
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** #if defined(FLASH_BANK2_END)
- 931 .loc 1 226 0
- 932 006c 0A4B ldr r3, .L96+4
- 933 006e 1D69 ldr r5, [r3, #16]
- 934 0070 25F00105 bic r5, r5, #1
- 935 0074 1D61 str r5, [r3, #16]
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 936 .loc 1 239 0
- 937 0076 0346 mov r3, r0
- 938 0078 40B9 cbnz r0, .L86
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** {
- 939 .loc 1 214 0 discriminator 2
- 940 007a 0134 adds r4, r4, #1
- 941 .LVL64:
- 942 007c E4B2 uxtb r4, r4
- 943 .LVL65:
-ARM GAS /tmp/cc7ko4Fc.s page 36
-
-
- 944 007e DDE7 b .L88
- 945 .LVL66:
- 946 .L95:
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 947 .loc 1 206 0
- 948 0080 4FF00209 mov r9, #2
- 949 0084 D9E7 b .L87
- 950 .L91:
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 951 .loc 1 201 0
- 952 0086 4FF00109 mov r9, #1
- 953 008a D6E7 b .L87
- 954 .LVL67:
- 955 .L86:
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c ****
- 956 .loc 1 247 0
- 957 008c 0021 movs r1, #0
- 958 008e 014A ldr r2, .L96
- 959 0090 1176 strb r1, [r2, #24]
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash.c **** }
- 960 .loc 1 249 0
- 961 0092 BCE7 b .L85
- 962 .L97:
- 963 .align 2
- 964 .L96:
- 965 0094 00000000 .word pFlash
- 966 0098 00200240 .word 1073881088
- 967 .cfi_endproc
- 968 .LFE65:
- 970 .comm pFlash,32,8
- 971 .text
- 972 .Letext0:
- 973 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 974 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 975 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 976 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 977 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 978 .file 7 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h"
- 979 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 980 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h"
- 981 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
- 982 .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h"
-ARM GAS /tmp/cc7ko4Fc.s page 37
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_hal_flash.c
- /tmp/cc7ko4Fc.s:16 .text.FLASH_Program_HalfWord:0000000000000000 $t
- /tmp/cc7ko4Fc.s:22 .text.FLASH_Program_HalfWord:0000000000000000 FLASH_Program_HalfWord
- /tmp/cc7ko4Fc.s:46 .text.FLASH_Program_HalfWord:0000000000000014 $d
- *COM*:0000000000000020 pFlash
- /tmp/cc7ko4Fc.s:52 .text.FLASH_SetErrorCode:0000000000000000 $t
- /tmp/cc7ko4Fc.s:58 .text.FLASH_SetErrorCode:0000000000000000 FLASH_SetErrorCode
- /tmp/cc7ko4Fc.s:136 .text.FLASH_SetErrorCode:000000000000006c $d
- /tmp/cc7ko4Fc.s:142 .text.HAL_FLASH_Program_IT:0000000000000000 $t
- /tmp/cc7ko4Fc.s:149 .text.HAL_FLASH_Program_IT:0000000000000000 HAL_FLASH_Program_IT
- /tmp/cc7ko4Fc.s:238 .text.HAL_FLASH_Program_IT:000000000000005c $d
- /tmp/cc7ko4Fc.s:244 .text.HAL_FLASH_EndOfOperationCallback:0000000000000000 $t
- /tmp/cc7ko4Fc.s:251 .text.HAL_FLASH_EndOfOperationCallback:0000000000000000 HAL_FLASH_EndOfOperationCallback
- /tmp/cc7ko4Fc.s:264 .text.HAL_FLASH_OperationErrorCallback:0000000000000000 $t
- /tmp/cc7ko4Fc.s:271 .text.HAL_FLASH_OperationErrorCallback:0000000000000000 HAL_FLASH_OperationErrorCallback
- /tmp/cc7ko4Fc.s:284 .text.HAL_FLASH_IRQHandler:0000000000000000 $t
- /tmp/cc7ko4Fc.s:291 .text.HAL_FLASH_IRQHandler:0000000000000000 HAL_FLASH_IRQHandler
- /tmp/cc7ko4Fc.s:522 .text.HAL_FLASH_IRQHandler:000000000000014c $d
- /tmp/cc7ko4Fc.s:528 .text.HAL_FLASH_Unlock:0000000000000000 $t
- /tmp/cc7ko4Fc.s:535 .text.HAL_FLASH_Unlock:0000000000000000 HAL_FLASH_Unlock
- /tmp/cc7ko4Fc.s:575 .text.HAL_FLASH_Unlock:000000000000002c $d
- /tmp/cc7ko4Fc.s:581 .text.HAL_FLASH_Lock:0000000000000000 $t
- /tmp/cc7ko4Fc.s:588 .text.HAL_FLASH_Lock:0000000000000000 HAL_FLASH_Lock
- /tmp/cc7ko4Fc.s:606 .text.HAL_FLASH_Lock:0000000000000010 $d
- /tmp/cc7ko4Fc.s:611 .text.HAL_FLASH_OB_Unlock:0000000000000000 $t
- /tmp/cc7ko4Fc.s:618 .text.HAL_FLASH_OB_Unlock:0000000000000000 HAL_FLASH_OB_Unlock
- /tmp/cc7ko4Fc.s:648 .text.HAL_FLASH_OB_Unlock:0000000000000020 $d
- /tmp/cc7ko4Fc.s:654 .text.HAL_FLASH_OB_Lock:0000000000000000 $t
- /tmp/cc7ko4Fc.s:661 .text.HAL_FLASH_OB_Lock:0000000000000000 HAL_FLASH_OB_Lock
- /tmp/cc7ko4Fc.s:679 .text.HAL_FLASH_OB_Lock:0000000000000010 $d
- /tmp/cc7ko4Fc.s:684 .text.HAL_FLASH_OB_Launch:0000000000000000 $t
- /tmp/cc7ko4Fc.s:691 .text.HAL_FLASH_OB_Launch:0000000000000000 HAL_FLASH_OB_Launch
- /tmp/cc7ko4Fc.s:710 .text.HAL_FLASH_GetError:0000000000000000 $t
- /tmp/cc7ko4Fc.s:717 .text.HAL_FLASH_GetError:0000000000000000 HAL_FLASH_GetError
- /tmp/cc7ko4Fc.s:732 .text.HAL_FLASH_GetError:0000000000000008 $d
- /tmp/cc7ko4Fc.s:737 .text.FLASH_WaitForLastOperation:0000000000000000 $t
- /tmp/cc7ko4Fc.s:744 .text.FLASH_WaitForLastOperation:0000000000000000 FLASH_WaitForLastOperation
- /tmp/cc7ko4Fc.s:835 .text.FLASH_WaitForLastOperation:0000000000000068 $d
- /tmp/cc7ko4Fc.s:840 .text.HAL_FLASH_Program:0000000000000000 $t
- /tmp/cc7ko4Fc.s:847 .text.HAL_FLASH_Program:0000000000000000 HAL_FLASH_Program
- /tmp/cc7ko4Fc.s:965 .text.HAL_FLASH_Program:0000000000000094 $d
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-FLASH_PageErase
-HAL_NVIC_SystemReset
-HAL_GetTick
diff --git a/build/stm32f1xx_hal_flash.o b/build/stm32f1xx_hal_flash.o
deleted file mode 100644
index 6a90463..0000000
Binary files a/build/stm32f1xx_hal_flash.o and /dev/null differ
diff --git a/build/stm32f1xx_hal_flash_ex.d b/build/stm32f1xx_hal_flash_ex.d
deleted file mode 100644
index 9a91110..0000000
--- a/build/stm32f1xx_hal_flash_ex.d
+++ /dev/null
@@ -1,93 +0,0 @@
-build/stm32f1xx_hal_flash_ex.o: \
- Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/stm32f1xx_hal_flash_ex.lst b/build/stm32f1xx_hal_flash_ex.lst
deleted file mode 100644
index 1a2d17f..0000000
--- a/build/stm32f1xx_hal_flash_ex.lst
+++ /dev/null
@@ -1,2783 +0,0 @@
-ARM GAS /tmp/cc3KXoFF.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "stm32f1xx_hal_flash_ex.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.FLASH_MassErase,"ax",%progbits
- 16 .align 1
- 17 .syntax unified
- 18 .thumb
- 19 .thumb_func
- 20 .fpu softvfp
- 22 FLASH_MassErase:
- 23 .LFB71:
- 24 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c"
- 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
- 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** ******************************************************************************
- 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @file stm32f1xx_hal_flash_ex.c
- 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @author MCD Application Team
- 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @brief Extended FLASH HAL module driver.
- 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** *
- 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * This file provides firmware functions to manage the following
- 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * functionalities of the FLASH peripheral:
- 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * + Extended Initialization/de-initialization functions
- 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * + Extended I/O operation functions
- 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * + Extended Peripheral Control functions
- 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** *
- 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** @verbatim
- 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** ==============================================================================
- 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** ##### Flash peripheral extended features #####
- 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** ==============================================================================
- 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** ##### How to use this driver #####
- 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** ==============================================================================
- 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** [..] This driver provides functions to configure and program the FLASH memory
- 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** of all STM32F1xxx devices. It includes
- 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** (++) Set/Reset the write protection
- 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** (++) Program the user Option Bytes
- 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** (++) Get the Read protection Level
- 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** @endverbatim
- 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** ******************************************************************************
- 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @attention
- 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** *
- 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * © Copyright (c) 2016 STMicroelectronics.
- 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * All rights reserved.
- 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** *
- 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * This software component is licensed by ST under BSD 3-Clause license,
-ARM GAS /tmp/cc3KXoFF.s page 2
-
-
- 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * the "License"; You may not use this file except in compliance with the
- 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * License. You may obtain a copy of the License at:
- 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * opensource.org/licenses/BSD-3-Clause
- 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** *
- 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** ******************************************************************************
- 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Includes ------------------------------------------------------------------*/
- 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #include "stm32f1xx_hal.h"
- 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /** @addtogroup STM32F1xx_HAL_Driver
- 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @{
- 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #ifdef HAL_FLASH_MODULE_ENABLED
- 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /** @addtogroup FLASH
- 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @{
- 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /** @addtogroup FLASH_Private_Variables
- 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @{
- 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Variables used for Erase pages under interruption*/
- 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** extern FLASH_ProcessTypeDef pFlash;
- 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
- 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @}
- 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
- 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @}
- 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /** @defgroup FLASHEx FLASHEx
- 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @brief FLASH HAL Extension module driver
- 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @{
- 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Private typedef -----------------------------------------------------------*/
- 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Private define ------------------------------------------------------------*/
- 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /** @defgroup FLASHEx_Private_Constants FLASHEx Private Constants
- 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @{
- 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #define FLASH_POSITION_IWDGSW_BIT FLASH_OBR_IWDG_SW_Pos
- 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #define FLASH_POSITION_OB_USERDATA0_BIT FLASH_OBR_DATA0_Pos
- 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #define FLASH_POSITION_OB_USERDATA1_BIT FLASH_OBR_DATA1_Pos
- 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
- 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @}
- 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Private macro -------------------------------------------------------------*/
- 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /** @defgroup FLASHEx_Private_Macros FLASHEx Private Macros
- 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @{
- 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
- 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @}
- 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Private variables ---------------------------------------------------------*/
-ARM GAS /tmp/cc3KXoFF.s page 3
-
-
- 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Private function prototypes -----------------------------------------------*/
- 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /** @defgroup FLASHEx_Private_Functions FLASHEx Private Functions
- 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @{
- 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Erase operations */
- 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** static void FLASH_MassErase(uint32_t Banks);
- 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** void FLASH_PageErase(uint32_t PageAddress);
- 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Option bytes control */
- 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** static HAL_StatusTypeDef FLASH_OB_EnableWRP(uint32_t WriteProtectPage);
- 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** static HAL_StatusTypeDef FLASH_OB_DisableWRP(uint32_t WriteProtectPage);
- 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** static HAL_StatusTypeDef FLASH_OB_RDP_LevelConfig(uint8_t ReadProtectLevel);
- 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** static HAL_StatusTypeDef FLASH_OB_UserConfig(uint8_t UserConfig);
- 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** static HAL_StatusTypeDef FLASH_OB_ProgramData(uint32_t Address, uint8_t Data);
- 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** static uint32_t FLASH_OB_GetWRP(void);
- 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** static uint32_t FLASH_OB_GetRDP(void);
- 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** static uint8_t FLASH_OB_GetUser(void);
- 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
- 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @}
- 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Exported functions ---------------------------------------------------------*/
- 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /** @defgroup FLASHEx_Exported_Functions FLASHEx Exported Functions
- 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @{
- 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /** @defgroup FLASHEx_Exported_Functions_Group1 FLASHEx Memory Erasing functions
- 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @brief FLASH Memory Erasing functions
- 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** *
- 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** @verbatim
- 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** ==============================================================================
- 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** ##### FLASH Erasing Programming functions #####
- 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** ==============================================================================
- 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** [..] The FLASH Memory Erasing functions, includes the following functions:
- 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** (+) @ref HAL_FLASHEx_Erase: return only when erase has been done
- 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** (+) @ref HAL_FLASHEx_Erase_IT: end of erase is done when @ref HAL_FLASH_EndOfOperationCallback
- 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** is called with parameter 0xFFFFFFFF
- 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** [..] Any operation of erase should follow these steps:
- 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** (#) Call the @ref HAL_FLASH_Unlock() function to enable the flash control register and
- 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** program memory access.
- 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** (#) Call the desired function to erase page.
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** (#) Call the @ref HAL_FLASH_Lock() to disable the flash program memory access
- 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** (recommended to protect the FLASH memory against possible unwanted operation).
- 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** @endverbatim
- 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @{
- 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
- 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @brief Perform a mass erase or erase the specified FLASH memory pages
- 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @note To correctly run this function, the @ref HAL_FLASH_Unlock() function
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * must be called before.
- 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * Call the @ref HAL_FLASH_Lock() to disable the flash memory access
-ARM GAS /tmp/cc3KXoFF.s page 4
-
-
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * (recommended to protect the FLASH memory against possible unwanted operation)
- 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @param[in] pEraseInit pointer to an FLASH_EraseInitTypeDef structure that
- 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * contains the configuration information for the erasing.
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** *
- 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @param[out] PageError pointer to variable that
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * contains the configuration information on faulty page in case of error
- 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * (0xFFFFFFFF means that all the pages have been correctly erased)
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** *
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @retval HAL_StatusTypeDef HAL Status
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** HAL_StatusTypeDef HAL_FLASHEx_Erase(FLASH_EraseInitTypeDef *pEraseInit, uint32_t *PageError)
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** HAL_StatusTypeDef status = HAL_ERROR;
- 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** uint32_t address = 0U;
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Process Locked */
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** __HAL_LOCK(&pFlash);
- 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Check the parameters */
- 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** assert_param(IS_FLASH_TYPEERASE(pEraseInit->TypeErase));
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if (pEraseInit->TypeErase == FLASH_TYPEERASE_MASSERASE)
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(FLASH_BANK2_END)
- 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if (pEraseInit->Banks == FLASH_BANK_BOTH)
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Mass Erase requested for Bank1 and Bank2 */
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if ((FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE) == HAL_OK) && \
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** (FLASH_WaitForLastOperationBank2((uint32_t)FLASH_TIMEOUT_VALUE) == HAL_OK))
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /*Mass erase to be done*/
- 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** FLASH_MassErase(FLASH_BANK_BOTH);
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if ((FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE) == HAL_OK) && \
- 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** (FLASH_WaitForLastOperationBank2((uint32_t)FLASH_TIMEOUT_VALUE) == HAL_OK))
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = HAL_OK;
- 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* If the erase operation is completed, disable the MER Bit */
- 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** CLEAR_BIT(FLASH->CR, FLASH_CR_MER);
- 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** CLEAR_BIT(FLASH->CR2, FLASH_CR2_MER);
- 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** else if (pEraseInit->Banks == FLASH_BANK_2)
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Mass Erase requested for Bank2 */
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if (FLASH_WaitForLastOperationBank2((uint32_t)FLASH_TIMEOUT_VALUE) == HAL_OK)
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /*Mass erase to be done*/
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** FLASH_MassErase(FLASH_BANK_2);
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_WaitForLastOperationBank2((uint32_t)FLASH_TIMEOUT_VALUE);
-ARM GAS /tmp/cc3KXoFF.s page 5
-
-
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* If the erase operation is completed, disable the MER Bit */
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** CLEAR_BIT(FLASH->CR2, FLASH_CR2_MER);
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** else
- 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* FLASH_BANK2_END */
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Mass Erase requested for Bank1 */
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if (FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE) == HAL_OK)
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /*Mass erase to be done*/
- 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** FLASH_MassErase(FLASH_BANK_1);
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE);
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* If the erase operation is completed, disable the MER Bit */
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** CLEAR_BIT(FLASH->CR, FLASH_CR_MER);
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** else
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Page Erase is requested */
- 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Check the parameters */
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** assert_param(IS_FLASH_PROGRAM_ADDRESS(pEraseInit->PageAddress));
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** assert_param(IS_FLASH_NB_PAGES(pEraseInit->PageAddress, pEraseInit->NbPages));
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(FLASH_BANK2_END)
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Page Erase requested on address located on bank2 */
- 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if(pEraseInit->PageAddress > FLASH_BANK1_END)
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if (FLASH_WaitForLastOperationBank2((uint32_t)FLASH_TIMEOUT_VALUE) == HAL_OK)
- 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /*Initialization of PageError variable*/
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** *PageError = 0xFFFFFFFFU;
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Erase by page by page to be done*/
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** for(address = pEraseInit->PageAddress;
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** address < (pEraseInit->PageAddress + (pEraseInit->NbPages)*FLASH_PAGE_SIZE);
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** address += FLASH_PAGE_SIZE)
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** FLASH_PageErase(address);
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_WaitForLastOperationBank2((uint32_t)FLASH_TIMEOUT_VALUE);
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* If the erase operation is completed, disable the PER Bit */
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** CLEAR_BIT(FLASH->CR2, FLASH_CR2_PER);
- 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if (status != HAL_OK)
- 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* In case of error, stop erase procedure and return the faulty address */
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** *PageError = address;
-ARM GAS /tmp/cc3KXoFF.s page 6
-
-
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** break;
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** else
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* FLASH_BANK2_END */
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Page Erase requested on address located on bank1 */
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if (FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE) == HAL_OK)
- 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /*Initialization of PageError variable*/
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** *PageError = 0xFFFFFFFFU;
- 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Erase page by page to be done*/
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** for(address = pEraseInit->PageAddress;
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** address < ((pEraseInit->NbPages * FLASH_PAGE_SIZE) + pEraseInit->PageAddress);
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** address += FLASH_PAGE_SIZE)
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** FLASH_PageErase(address);
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE);
- 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* If the erase operation is completed, disable the PER Bit */
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** CLEAR_BIT(FLASH->CR, FLASH_CR_PER);
- 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if (status != HAL_OK)
- 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* In case of error, stop erase procedure and return the faulty address */
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** *PageError = address;
- 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** break;
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Process Unlocked */
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** __HAL_UNLOCK(&pFlash);
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** return status;
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
- 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @brief Perform a mass erase or erase the specified FLASH memory pages with interrupt enabled
- 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @note To correctly run this function, the @ref HAL_FLASH_Unlock() function
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * must be called before.
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * Call the @ref HAL_FLASH_Lock() to disable the flash memory access
- 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * (recommended to protect the FLASH memory against possible unwanted operation)
- 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @param pEraseInit pointer to an FLASH_EraseInitTypeDef structure that
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * contains the configuration information for the erasing.
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** *
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @retval HAL_StatusTypeDef HAL Status
- 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** HAL_StatusTypeDef HAL_FLASHEx_Erase_IT(FLASH_EraseInitTypeDef *pEraseInit)
-ARM GAS /tmp/cc3KXoFF.s page 7
-
-
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** HAL_StatusTypeDef status = HAL_OK;
- 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Process Locked */
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** __HAL_LOCK(&pFlash);
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* If procedure already ongoing, reject the next one */
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if (pFlash.ProcedureOnGoing != FLASH_PROC_NONE)
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** return HAL_ERROR;
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Check the parameters */
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** assert_param(IS_FLASH_TYPEERASE(pEraseInit->TypeErase));
- 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Enable End of FLASH Operation and Error source interrupts */
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** __HAL_FLASH_ENABLE_IT(FLASH_IT_EOP | FLASH_IT_ERR);
- 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(FLASH_BANK2_END)
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Enable End of FLASH Operation and Error source interrupts */
- 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** __HAL_FLASH_ENABLE_IT(FLASH_IT_EOP_BANK2 | FLASH_IT_ERR_BANK2);
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif
- 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if (pEraseInit->TypeErase == FLASH_TYPEERASE_MASSERASE)
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /*Mass erase to be done*/
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** pFlash.ProcedureOnGoing = FLASH_PROC_MASSERASE;
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** FLASH_MassErase(pEraseInit->Banks);
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** else
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Erase by page to be done*/
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Check the parameters */
- 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** assert_param(IS_FLASH_PROGRAM_ADDRESS(pEraseInit->PageAddress));
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** assert_param(IS_FLASH_NB_PAGES(pEraseInit->PageAddress, pEraseInit->NbPages));
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** pFlash.ProcedureOnGoing = FLASH_PROC_PAGEERASE;
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** pFlash.DataRemaining = pEraseInit->NbPages;
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** pFlash.Address = pEraseInit->PageAddress;
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /*Erase 1st page and wait for IT*/
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** FLASH_PageErase(pEraseInit->PageAddress);
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** return status;
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @}
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /** @defgroup FLASHEx_Exported_Functions_Group2 Option Bytes Programming functions
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @brief Option Bytes Programming functions
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** *
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** @verbatim
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** ==============================================================================
-ARM GAS /tmp/cc3KXoFF.s page 8
-
-
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** ##### Option Bytes Programming functions #####
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** ==============================================================================
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** [..]
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** This subsection provides a set of functions allowing to control the FLASH
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** option bytes operations.
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** @endverbatim
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @{
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @brief Erases the FLASH option bytes.
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @note This functions erases all option bytes except the Read protection (RDP).
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * The function @ref HAL_FLASH_Unlock() should be called before to unlock the FLASH interf
- 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * The function @ref HAL_FLASH_OB_Unlock() should be called before to unlock the options b
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * The function @ref HAL_FLASH_OB_Launch() should be called after to force the reload of t
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * (system reset will occur)
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @retval HAL status
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** HAL_StatusTypeDef HAL_FLASHEx_OBErase(void)
- 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** uint8_t rdptmp = OB_RDP_LEVEL_0;
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** HAL_StatusTypeDef status = HAL_ERROR;
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Get the actual read protection Option Byte value */
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** rdptmp = FLASH_OB_GetRDP();
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE);
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if(status == HAL_OK)
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Clean the error context */
- 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** pFlash.ErrorCode = HAL_FLASH_ERROR_NONE;
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* If the previous operation is completed, proceed to erase the option bytes */
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** SET_BIT(FLASH->CR, FLASH_CR_OPTER);
- 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** SET_BIT(FLASH->CR, FLASH_CR_STRT);
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE);
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* If the erase operation is completed, disable the OPTER Bit */
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** CLEAR_BIT(FLASH->CR, FLASH_CR_OPTER);
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if(status == HAL_OK)
- 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Restore the last read protection Option Byte value */
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_OB_RDP_LevelConfig(rdptmp);
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Return the erase status */
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** return status;
- 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
-ARM GAS /tmp/cc3KXoFF.s page 9
-
-
- 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @brief Program option bytes
- 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @note The function @ref HAL_FLASH_Unlock() should be called before to unlock the FLASH interf
- 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * The function @ref HAL_FLASH_OB_Unlock() should be called before to unlock the options b
- 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * The function @ref HAL_FLASH_OB_Launch() should be called after to force the reload of t
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * (system reset will occur)
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** *
- 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @param pOBInit pointer to an FLASH_OBInitStruct structure that
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * contains the configuration information for the programming.
- 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** *
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @retval HAL_StatusTypeDef HAL Status
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** HAL_StatusTypeDef HAL_FLASHEx_OBProgram(FLASH_OBProgramInitTypeDef *pOBInit)
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** HAL_StatusTypeDef status = HAL_ERROR;
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Process Locked */
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** __HAL_LOCK(&pFlash);
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Check the parameters */
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** assert_param(IS_OPTIONBYTE(pOBInit->OptionType));
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Write protection configuration */
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if((pOBInit->OptionType & OPTIONBYTE_WRP) == OPTIONBYTE_WRP)
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** assert_param(IS_WRPSTATE(pOBInit->WRPState));
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if (pOBInit->WRPState == OB_WRPSTATE_ENABLE)
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Enable of Write protection on the selected page */
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_OB_EnableWRP(pOBInit->WRPPage);
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** else
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Disable of Write protection on the selected page */
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_OB_DisableWRP(pOBInit->WRPPage);
- 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if (status != HAL_OK)
- 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Process Unlocked */
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** __HAL_UNLOCK(&pFlash);
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** return status;
- 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Read protection configuration */
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if((pOBInit->OptionType & OPTIONBYTE_RDP) == OPTIONBYTE_RDP)
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_OB_RDP_LevelConfig(pOBInit->RDPLevel);
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if (status != HAL_OK)
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Process Unlocked */
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** __HAL_UNLOCK(&pFlash);
- 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** return status;
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* USER configuration */
-ARM GAS /tmp/cc3KXoFF.s page 10
-
-
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if((pOBInit->OptionType & OPTIONBYTE_USER) == OPTIONBYTE_USER)
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_OB_UserConfig(pOBInit->USERConfig);
- 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if (status != HAL_OK)
- 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Process Unlocked */
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** __HAL_UNLOCK(&pFlash);
- 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** return status;
- 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* DATA configuration*/
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if((pOBInit->OptionType & OPTIONBYTE_DATA) == OPTIONBYTE_DATA)
- 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_OB_ProgramData(pOBInit->DATAAddress, pOBInit->DATAData);
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if (status != HAL_OK)
- 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Process Unlocked */
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** __HAL_UNLOCK(&pFlash);
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** return status;
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Process Unlocked */
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** __HAL_UNLOCK(&pFlash);
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** return status;
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
- 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @brief Get the Option byte configuration
- 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @param pOBInit pointer to an FLASH_OBInitStruct structure that
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * contains the configuration information for the programming.
- 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** *
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @retval None
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** void HAL_FLASHEx_OBGetConfig(FLASH_OBProgramInitTypeDef *pOBInit)
- 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** pOBInit->OptionType = OPTIONBYTE_WRP | OPTIONBYTE_RDP | OPTIONBYTE_USER;
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /*Get WRP*/
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** pOBInit->WRPPage = FLASH_OB_GetWRP();
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /*Get RDP Level*/
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** pOBInit->RDPLevel = FLASH_OB_GetRDP();
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /*Get USER*/
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** pOBInit->USERConfig = FLASH_OB_GetUser();
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
- 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @brief Get the Option byte user data
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @param DATAAdress Address of the option byte DATA
- 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * This parameter can be one of the following values:
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @arg @ref OB_DATA_ADDRESS_DATA0
- 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @arg @ref OB_DATA_ADDRESS_DATA1
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @retval Value programmed in USER data
-ARM GAS /tmp/cc3KXoFF.s page 11
-
-
- 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** uint32_t HAL_FLASHEx_OBGetUserData(uint32_t DATAAdress)
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** uint32_t value = 0;
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if (DATAAdress == OB_DATA_ADDRESS_DATA0)
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Get value programmed in OB USER Data0 */
- 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** value = READ_BIT(FLASH->OBR, FLASH_OBR_DATA0) >> FLASH_POSITION_OB_USERDATA0_BIT;
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** else
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Get value programmed in OB USER Data1 */
- 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** value = READ_BIT(FLASH->OBR, FLASH_OBR_DATA1) >> FLASH_POSITION_OB_USERDATA1_BIT;
- 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** return value;
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
- 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @}
- 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
- 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @}
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /** @addtogroup FLASHEx_Private_Functions
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @{
- 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
- 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @brief Full erase of FLASH memory Bank
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @param Banks Banks to be erased
- 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * This parameter can be one of the following values:
- 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @arg @ref FLASH_BANK_1 Bank1 to be erased
- 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** @if STM32F101xG
- 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @arg @ref FLASH_BANK_2 Bank2 to be erased
- 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @arg @ref FLASH_BANK_BOTH Bank1 and Bank2 to be erased
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** @endif
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** @if STM32F103xG
- 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @arg @ref FLASH_BANK_2 Bank2 to be erased
- 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @arg @ref FLASH_BANK_BOTH Bank1 and Bank2 to be erased
- 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** @endif
- 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** *
- 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @retval None
- 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** static void FLASH_MassErase(uint32_t Banks)
- 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 25 .loc 1 596 0
- 26 .cfi_startproc
- 27 @ args = 0, pretend = 0, frame = 0
- 28 @ frame_needed = 0, uses_anonymous_args = 0
- 29 @ link register save eliminated.
- 30 .LVL0:
- 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Check the parameters */
- 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** assert_param(IS_FLASH_BANK(Banks));
-ARM GAS /tmp/cc3KXoFF.s page 12
-
-
- 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Clean the error context */
- 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** pFlash.ErrorCode = HAL_FLASH_ERROR_NONE;
- 31 .loc 1 601 0
- 32 0000 0022 movs r2, #0
- 33 0002 064B ldr r3, .L2
- 34 0004 DA61 str r2, [r3, #28]
- 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(FLASH_BANK2_END)
- 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if(Banks == FLASH_BANK_BOTH)
- 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* bank1 & bank2 will be erased*/
- 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** SET_BIT(FLASH->CR, FLASH_CR_MER);
- 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** SET_BIT(FLASH->CR2, FLASH_CR2_MER);
- 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** SET_BIT(FLASH->CR, FLASH_CR_STRT);
- 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** SET_BIT(FLASH->CR2, FLASH_CR2_STRT);
- 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** else if(Banks == FLASH_BANK_2)
- 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /*Only bank2 will be erased*/
- 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** SET_BIT(FLASH->CR2, FLASH_CR2_MER);
- 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** SET_BIT(FLASH->CR2, FLASH_CR2_STRT);
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** else
- 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* FLASH_BANK2_END */
- 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if !defined(FLASH_BANK2_END)
- 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Prevent unused argument(s) compilation warning */
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** UNUSED(Banks);
- 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* FLASH_BANK2_END */
- 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Only bank1 will be erased*/
- 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** SET_BIT(FLASH->CR, FLASH_CR_MER);
- 35 .loc 1 626 0
- 36 0006 064B ldr r3, .L2+4
- 37 0008 1A69 ldr r2, [r3, #16]
- 38 000a 42F00402 orr r2, r2, #4
- 39 000e 1A61 str r2, [r3, #16]
- 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** SET_BIT(FLASH->CR, FLASH_CR_STRT);
- 40 .loc 1 627 0
- 41 0010 1A69 ldr r2, [r3, #16]
- 42 0012 42F04002 orr r2, r2, #64
- 43 0016 1A61 str r2, [r3, #16]
- 44 0018 7047 bx lr
- 45 .L3:
- 46 001a 00BF .align 2
- 47 .L2:
- 48 001c 00000000 .word pFlash
- 49 0020 00200240 .word 1073881088
- 50 .cfi_endproc
- 51 .LFE71:
- 53 .section .text.FLASH_OB_GetWRP,"ax",%progbits
- 54 .align 1
- 55 .syntax unified
- 56 .thumb
- 57 .thumb_func
- 58 .fpu softvfp
- 60 FLASH_OB_GetWRP:
-ARM GAS /tmp/cc3KXoFF.s page 13
-
-
- 61 .LFB77:
- 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(FLASH_BANK2_END)
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* FLASH_BANK2_END */
- 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
- 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @brief Enable the write protection of the desired pages
- 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @note An option byte erase is done automatically in this function.
- 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @note When the memory read protection level is selected (RDP level = 1),
- 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * it is not possible to program or erase the flash page i if
- 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * debug features are connected or boot code is executed in RAM, even if nWRPi = 1
- 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** *
- 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @param WriteProtectPage specifies the page(s) to be write protected.
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * The value of this parameter depend on device used within the same series
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @retval HAL status
- 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** static HAL_StatusTypeDef FLASH_OB_EnableWRP(uint32_t WriteProtectPage)
- 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** HAL_StatusTypeDef status = HAL_OK;
- 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** uint16_t WRP0_Data = 0xFFFF;
- 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(FLASH_WRP1_WRP1)
- 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** uint16_t WRP1_Data = 0xFFFF;
- 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* FLASH_WRP1_WRP1 */
- 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(FLASH_WRP2_WRP2)
- 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** uint16_t WRP2_Data = 0xFFFF;
- 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* FLASH_WRP2_WRP2 */
- 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(FLASH_WRP3_WRP3)
- 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** uint16_t WRP3_Data = 0xFFFF;
- 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* FLASH_WRP3_WRP3 */
- 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Check the parameters */
- 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** assert_param(IS_OB_WRP(WriteProtectPage));
- 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Get current write protected pages and the new pages to be protected ******/
- 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WriteProtectPage = (uint32_t)(~((~FLASH_OB_GetWRP()) | WriteProtectPage));
- 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(OB_WRP_PAGES0TO15MASK)
- 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WRP0_Data = (uint16_t)(WriteProtectPage & OB_WRP_PAGES0TO15MASK);
- 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #elif defined(OB_WRP_PAGES0TO31MASK)
- 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WRP0_Data = (uint16_t)(WriteProtectPage & OB_WRP_PAGES0TO31MASK);
- 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* OB_WRP_PAGES0TO31MASK */
- 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(OB_WRP_PAGES16TO31MASK)
- 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WRP1_Data = (uint16_t)((WriteProtectPage & OB_WRP_PAGES16TO31MASK) >> 8U);
- 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #elif defined(OB_WRP_PAGES32TO63MASK)
- 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WRP1_Data = (uint16_t)((WriteProtectPage & OB_WRP_PAGES32TO63MASK) >> 8U);
- 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* OB_WRP_PAGES32TO63MASK */
- 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(OB_WRP_PAGES64TO95MASK)
- 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WRP2_Data = (uint16_t)((WriteProtectPage & OB_WRP_PAGES64TO95MASK) >> 16U);
- 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* OB_WRP_PAGES64TO95MASK */
- 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(OB_WRP_PAGES32TO47MASK)
- 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WRP2_Data = (uint16_t)((WriteProtectPage & OB_WRP_PAGES32TO47MASK) >> 16U);
- 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* OB_WRP_PAGES32TO47MASK */
- 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(OB_WRP_PAGES96TO127MASK)
-ARM GAS /tmp/cc3KXoFF.s page 14
-
-
- 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WRP3_Data = (uint16_t)((WriteProtectPage & OB_WRP_PAGES96TO127MASK) >> 24U);
- 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #elif defined(OB_WRP_PAGES48TO255MASK)
- 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WRP3_Data = (uint16_t)((WriteProtectPage & OB_WRP_PAGES48TO255MASK) >> 24U);
- 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #elif defined(OB_WRP_PAGES48TO511MASK)
- 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WRP3_Data = (uint16_t)((WriteProtectPage & OB_WRP_PAGES48TO511MASK) >> 24U);
- 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #elif defined(OB_WRP_PAGES48TO127MASK)
- 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WRP3_Data = (uint16_t)((WriteProtectPage & OB_WRP_PAGES48TO127MASK) >> 24U);
- 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* OB_WRP_PAGES96TO127MASK */
- 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE);
- 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if(status == HAL_OK)
- 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Clean the error context */
- 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** pFlash.ErrorCode = HAL_FLASH_ERROR_NONE;
- 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* To be able to write again option byte, need to perform a option byte erase */
- 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = HAL_FLASHEx_OBErase();
- 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if (status == HAL_OK)
- 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Enable write protection */
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** SET_BIT(FLASH->CR, FLASH_CR_OPTPG);
- 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(FLASH_WRP0_WRP0)
- 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if(WRP0_Data != 0xFFU)
- 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** OB->WRP0 &= WRP0_Data;
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE);
- 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* FLASH_WRP0_WRP0 */
- 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(FLASH_WRP1_WRP1)
- 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if((status == HAL_OK) && (WRP1_Data != 0xFFU))
- 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** OB->WRP1 &= WRP1_Data;
- 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE);
- 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* FLASH_WRP1_WRP1 */
- 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(FLASH_WRP2_WRP2)
- 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if((status == HAL_OK) && (WRP2_Data != 0xFFU))
- 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** OB->WRP2 &= WRP2_Data;
- 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE);
- 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* FLASH_WRP2_WRP2 */
- 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(FLASH_WRP3_WRP3)
- 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if((status == HAL_OK) && (WRP3_Data != 0xFFU))
- 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
-ARM GAS /tmp/cc3KXoFF.s page 15
-
-
- 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** OB->WRP3 &= WRP3_Data;
- 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE);
- 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* FLASH_WRP3_WRP3 */
- 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* if the program operation is completed, disable the OPTPG Bit */
- 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** CLEAR_BIT(FLASH->CR, FLASH_CR_OPTPG);
- 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** return status;
- 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
- 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @brief Disable the write protection of the desired pages
- 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @note An option byte erase is done automatically in this function.
- 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @note When the memory read protection level is selected (RDP level = 1),
- 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * it is not possible to program or erase the flash page i if
- 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * debug features are connected or boot code is executed in RAM, even if nWRPi = 1
- 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** *
- 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @param WriteProtectPage specifies the page(s) to be write unprotected.
- 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * The value of this parameter depend on device used within the same series
- 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @retval HAL status
- 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** static HAL_StatusTypeDef FLASH_OB_DisableWRP(uint32_t WriteProtectPage)
- 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** HAL_StatusTypeDef status = HAL_OK;
- 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** uint16_t WRP0_Data = 0xFFFF;
- 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(FLASH_WRP1_WRP1)
- 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** uint16_t WRP1_Data = 0xFFFF;
- 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* FLASH_WRP1_WRP1 */
- 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(FLASH_WRP2_WRP2)
- 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** uint16_t WRP2_Data = 0xFFFF;
- 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* FLASH_WRP2_WRP2 */
- 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(FLASH_WRP3_WRP3)
- 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** uint16_t WRP3_Data = 0xFFFF;
- 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* FLASH_WRP3_WRP3 */
- 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Check the parameters */
- 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** assert_param(IS_OB_WRP(WriteProtectPage));
- 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Get current write protected pages and the new pages to be unprotected ******/
- 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WriteProtectPage = (FLASH_OB_GetWRP() | WriteProtectPage);
- 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(OB_WRP_PAGES0TO15MASK)
- 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WRP0_Data = (uint16_t)(WriteProtectPage & OB_WRP_PAGES0TO15MASK);
- 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #elif defined(OB_WRP_PAGES0TO31MASK)
- 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WRP0_Data = (uint16_t)(WriteProtectPage & OB_WRP_PAGES0TO31MASK);
- 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* OB_WRP_PAGES0TO31MASK */
- 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(OB_WRP_PAGES16TO31MASK)
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WRP1_Data = (uint16_t)((WriteProtectPage & OB_WRP_PAGES16TO31MASK) >> 8U);
- 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #elif defined(OB_WRP_PAGES32TO63MASK)
- 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WRP1_Data = (uint16_t)((WriteProtectPage & OB_WRP_PAGES32TO63MASK) >> 8U);
- 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* OB_WRP_PAGES32TO63MASK */
-ARM GAS /tmp/cc3KXoFF.s page 16
-
-
- 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(OB_WRP_PAGES64TO95MASK)
- 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WRP2_Data = (uint16_t)((WriteProtectPage & OB_WRP_PAGES64TO95MASK) >> 16U);
- 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* OB_WRP_PAGES64TO95MASK */
- 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(OB_WRP_PAGES32TO47MASK)
- 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WRP2_Data = (uint16_t)((WriteProtectPage & OB_WRP_PAGES32TO47MASK) >> 16U);
- 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* OB_WRP_PAGES32TO47MASK */
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(OB_WRP_PAGES96TO127MASK)
- 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WRP3_Data = (uint16_t)((WriteProtectPage & OB_WRP_PAGES96TO127MASK) >> 24U);
- 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #elif defined(OB_WRP_PAGES48TO255MASK)
- 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WRP3_Data = (uint16_t)((WriteProtectPage & OB_WRP_PAGES48TO255MASK) >> 24U);
- 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #elif defined(OB_WRP_PAGES48TO511MASK)
- 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WRP3_Data = (uint16_t)((WriteProtectPage & OB_WRP_PAGES48TO511MASK) >> 24U);
- 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #elif defined(OB_WRP_PAGES48TO127MASK)
- 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WRP3_Data = (uint16_t)((WriteProtectPage & OB_WRP_PAGES48TO127MASK) >> 24U);
- 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* OB_WRP_PAGES96TO127MASK */
- 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE);
- 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if(status == HAL_OK)
- 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Clean the error context */
- 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** pFlash.ErrorCode = HAL_FLASH_ERROR_NONE;
- 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* To be able to write again option byte, need to perform a option byte erase */
- 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = HAL_FLASHEx_OBErase();
- 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if (status == HAL_OK)
- 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** SET_BIT(FLASH->CR, FLASH_CR_OPTPG);
- 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(FLASH_WRP0_WRP0)
- 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if(WRP0_Data != 0xFFU)
- 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** OB->WRP0 |= WRP0_Data;
- 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE);
- 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* FLASH_WRP0_WRP0 */
- 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(FLASH_WRP1_WRP1)
- 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if((status == HAL_OK) && (WRP1_Data != 0xFFU))
- 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** OB->WRP1 |= WRP1_Data;
- 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE);
- 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* FLASH_WRP1_WRP1 */
- 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(FLASH_WRP2_WRP2)
- 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if((status == HAL_OK) && (WRP2_Data != 0xFFU))
- 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** OB->WRP2 |= WRP2_Data;
-ARM GAS /tmp/cc3KXoFF.s page 17
-
-
- 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE);
- 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* FLASH_WRP2_WRP2 */
- 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(FLASH_WRP3_WRP3)
- 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if((status == HAL_OK) && (WRP3_Data != 0xFFU))
- 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** OB->WRP3 |= WRP3_Data;
- 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE);
- 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* FLASH_WRP3_WRP3 */
- 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* if the program operation is completed, disable the OPTPG Bit */
- 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** CLEAR_BIT(FLASH->CR, FLASH_CR_OPTPG);
- 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** return status;
- 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
- 879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @brief Set the read protection level.
- 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @param ReadProtectLevel specifies the read protection level.
- 881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * This parameter can be one of the following values:
- 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @arg @ref OB_RDP_LEVEL_0 No protection
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @arg @ref OB_RDP_LEVEL_1 Read protection of the memory
- 884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @retval HAL status
- 885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** static HAL_StatusTypeDef FLASH_OB_RDP_LevelConfig(uint8_t ReadProtectLevel)
- 887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** HAL_StatusTypeDef status = HAL_OK;
- 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Check the parameters */
- 891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** assert_param(IS_OB_RDP_LEVEL(ReadProtectLevel));
- 892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE);
- 895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if(status == HAL_OK)
- 897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Clean the error context */
- 899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** pFlash.ErrorCode = HAL_FLASH_ERROR_NONE;
- 900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* If the previous operation is completed, proceed to erase the option bytes */
- 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** SET_BIT(FLASH->CR, FLASH_CR_OPTER);
- 903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** SET_BIT(FLASH->CR, FLASH_CR_STRT);
- 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE);
- 907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* If the erase operation is completed, disable the OPTER Bit */
- 909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** CLEAR_BIT(FLASH->CR, FLASH_CR_OPTER);
- 910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if(status == HAL_OK)
-ARM GAS /tmp/cc3KXoFF.s page 18
-
-
- 912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Enable the Option Bytes Programming operation */
- 914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** SET_BIT(FLASH->CR, FLASH_CR_OPTPG);
- 915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WRITE_REG(OB->RDP, ReadProtectLevel);
- 917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE);
- 920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* if the program operation is completed, disable the OPTPG Bit */
- 922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** CLEAR_BIT(FLASH->CR, FLASH_CR_OPTPG);
- 923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** return status;
- 927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
- 930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @brief Program the FLASH User Option Byte.
- 931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @note Programming of the OB should be performed only after an erase (otherwise PGERR occurs)
- 932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @param UserConfig The FLASH User Option Bytes values FLASH_OBR_IWDG_SW(Bit2),
- 933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * FLASH_OBR_nRST_STOP(Bit3),FLASH_OBR_nRST_STDBY(Bit4).
- 934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * And BFBF2(Bit5) for STM32F101xG and STM32F103xG .
- 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @retval HAL status
- 936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** static HAL_StatusTypeDef FLASH_OB_UserConfig(uint8_t UserConfig)
- 938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** HAL_StatusTypeDef status = HAL_OK;
- 940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Check the parameters */
- 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** assert_param(IS_OB_IWDG_SOURCE((UserConfig&OB_IWDG_SW)));
- 943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** assert_param(IS_OB_STOP_SOURCE((UserConfig&OB_STOP_NO_RST)));
- 944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** assert_param(IS_OB_STDBY_SOURCE((UserConfig&OB_STDBY_NO_RST)));
- 945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(FLASH_BANK2_END)
- 946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** assert_param(IS_OB_BOOT1((UserConfig&OB_BOOT1_SET)));
- 947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* FLASH_BANK2_END */
- 948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE);
- 951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if(status == HAL_OK)
- 953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Clean the error context */
- 955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** pFlash.ErrorCode = HAL_FLASH_ERROR_NONE;
- 956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Enable the Option Bytes Programming operation */
- 958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** SET_BIT(FLASH->CR, FLASH_CR_OPTPG);
- 959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(FLASH_BANK2_END)
- 961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** OB->USER = (UserConfig | 0xF0U);
- 962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #else
- 963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** OB->USER = (UserConfig | 0x88U);
- 964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* FLASH_BANK2_END */
- 965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE);
- 968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
-ARM GAS /tmp/cc3KXoFF.s page 19
-
-
- 969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* if the program operation is completed, disable the OPTPG Bit */
- 970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** CLEAR_BIT(FLASH->CR, FLASH_CR_OPTPG);
- 971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** return status;
- 974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
- 977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @brief Programs a half word at a specified Option Byte Data address.
- 978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @note The function @ref HAL_FLASH_Unlock() should be called before to unlock the FLASH interf
- 979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * The function @ref HAL_FLASH_OB_Unlock() should be called before to unlock the options b
- 980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * The function @ref HAL_FLASH_OB_Launch() should be called after to force the reload of t
- 981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * (system reset will occur)
- 982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * Programming of the OB should be performed only after an erase (otherwise PGERR occurs)
- 983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @param Address specifies the address to be programmed.
- 984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * This parameter can be 0x1FFFF804 or 0x1FFFF806.
- 985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @param Data specifies the data to be programmed.
- 986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @retval HAL status
- 987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
- 988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** static HAL_StatusTypeDef FLASH_OB_ProgramData(uint32_t Address, uint8_t Data)
- 989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** HAL_StatusTypeDef status = HAL_ERROR;
- 991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Check the parameters */
- 993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** assert_param(IS_OB_DATA_ADDRESS(Address));
- 994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
- 996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE);
- 997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if(status == HAL_OK)
- 999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
-1000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Clean the error context */
-1001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** pFlash.ErrorCode = HAL_FLASH_ERROR_NONE;
-1002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
-1003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Enables the Option Bytes Programming operation */
-1004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** SET_BIT(FLASH->CR, FLASH_CR_OPTPG);
-1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** *(__IO uint16_t*)Address = Data;
-1006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
-1007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Wait for last operation to be completed */
-1008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** status = FLASH_WaitForLastOperation((uint32_t)FLASH_TIMEOUT_VALUE);
-1009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
-1010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* If the program operation is completed, disable the OPTPG Bit */
-1011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** CLEAR_BIT(FLASH->CR, FLASH_CR_OPTPG);
-1012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
-1013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Return the Option Byte Data Program Status */
-1014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** return status;
-1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
-1016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
-1017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
-1018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @brief Return the FLASH Write Protection Option Bytes value.
-1019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @retval The FLASH Write Protection Option Bytes value
-1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
-1021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** static uint32_t FLASH_OB_GetWRP(void)
-1022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 62 .loc 1 1022 0
- 63 .cfi_startproc
- 64 @ args = 0, pretend = 0, frame = 0
-ARM GAS /tmp/cc3KXoFF.s page 20
-
-
- 65 @ frame_needed = 0, uses_anonymous_args = 0
- 66 @ link register save eliminated.
-1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Return the FLASH write protection Register value */
-1024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** return (uint32_t)(READ_REG(FLASH->WRPR));
- 67 .loc 1 1024 0
- 68 0000 014B ldr r3, .L5
- 69 0002 186A ldr r0, [r3, #32]
-1025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 70 .loc 1 1025 0
- 71 0004 7047 bx lr
- 72 .L6:
- 73 0006 00BF .align 2
- 74 .L5:
- 75 0008 00200240 .word 1073881088
- 76 .cfi_endproc
- 77 .LFE77:
- 79 .section .text.FLASH_OB_GetRDP,"ax",%progbits
- 80 .align 1
- 81 .syntax unified
- 82 .thumb
- 83 .thumb_func
- 84 .fpu softvfp
- 86 FLASH_OB_GetRDP:
- 87 .LFB78:
-1026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
-1027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
-1028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @brief Returns the FLASH Read Protection level.
-1029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @retval FLASH RDP level
-1030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * This parameter can be one of the following values:
-1031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @arg @ref OB_RDP_LEVEL_0 No protection
-1032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @arg @ref OB_RDP_LEVEL_1 Read protection of the memory
-1033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
-1034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** static uint32_t FLASH_OB_GetRDP(void)
-1035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 88 .loc 1 1035 0
- 89 .cfi_startproc
- 90 @ args = 0, pretend = 0, frame = 0
- 91 @ frame_needed = 0, uses_anonymous_args = 0
- 92 @ link register save eliminated.
- 93 .LVL1:
-1036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** uint32_t readstatus = OB_RDP_LEVEL_0;
-1037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** uint32_t tmp_reg = 0U;
-1038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
-1039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Read RDP level bits */
-1040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** tmp_reg = READ_BIT(FLASH->OBR, FLASH_OBR_RDPRT);
- 94 .loc 1 1040 0
- 95 0000 044B ldr r3, .L11
- 96 0002 DB69 ldr r3, [r3, #28]
- 97 .LVL2:
-1041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
-1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if (tmp_reg == FLASH_OBR_RDPRT)
- 98 .loc 1 1042 0
- 99 0004 13F0020F tst r3, #2
- 100 0008 01D1 bne .L10
-1043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
-1044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** readstatus = OB_RDP_LEVEL_1;
-1045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
-ARM GAS /tmp/cc3KXoFF.s page 21
-
-
-1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** else
-1047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
-1048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** readstatus = OB_RDP_LEVEL_0;
- 101 .loc 1 1048 0
- 102 000a A520 movs r0, #165
-1049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
-1050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
-1051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** return readstatus;
-1052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 103 .loc 1 1052 0
- 104 000c 7047 bx lr
- 105 .L10:
-1044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 106 .loc 1 1044 0
- 107 000e 0020 movs r0, #0
- 108 0010 7047 bx lr
- 109 .L12:
- 110 0012 00BF .align 2
- 111 .L11:
- 112 0014 00200240 .word 1073881088
- 113 .cfi_endproc
- 114 .LFE78:
- 116 .section .text.FLASH_OB_GetUser,"ax",%progbits
- 117 .align 1
- 118 .syntax unified
- 119 .thumb
- 120 .thumb_func
- 121 .fpu softvfp
- 123 FLASH_OB_GetUser:
- 124 .LFB79:
-1053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
-1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
-1055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @brief Return the FLASH User Option Byte value.
-1056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @retval The FLASH User Option Bytes values: FLASH_OBR_IWDG_SW(Bit2),
-1057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * FLASH_OBR_nRST_STOP(Bit3),FLASH_OBR_nRST_STDBY(Bit4).
-1058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * And FLASH_OBR_BFB2(Bit5) for STM32F101xG and STM32F103xG .
-1059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
-1060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** static uint8_t FLASH_OB_GetUser(void)
-1061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 125 .loc 1 1061 0
- 126 .cfi_startproc
- 127 @ args = 0, pretend = 0, frame = 0
- 128 @ frame_needed = 0, uses_anonymous_args = 0
- 129 @ link register save eliminated.
-1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Return the User Option Byte */
-1063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** return (uint8_t)((READ_REG(FLASH->OBR) & FLASH_OBR_USER) >> FLASH_POSITION_IWDGSW_BIT);
- 130 .loc 1 1063 0
- 131 0000 024B ldr r3, .L14
- 132 0002 D869 ldr r0, [r3, #28]
-1064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 133 .loc 1 1064 0
- 134 0004 C0F38200 ubfx r0, r0, #2, #3
- 135 0008 7047 bx lr
- 136 .L15:
- 137 000a 00BF .align 2
- 138 .L14:
- 139 000c 00200240 .word 1073881088
-ARM GAS /tmp/cc3KXoFF.s page 22
-
-
- 140 .cfi_endproc
- 141 .LFE79:
- 143 .section .text.FLASH_OB_RDP_LevelConfig,"ax",%progbits
- 144 .align 1
- 145 .syntax unified
- 146 .thumb
- 147 .thumb_func
- 148 .fpu softvfp
- 150 FLASH_OB_RDP_LevelConfig:
- 151 .LFB74:
- 887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** HAL_StatusTypeDef status = HAL_OK;
- 152 .loc 1 887 0
- 153 .cfi_startproc
- 154 @ args = 0, pretend = 0, frame = 0
- 155 @ frame_needed = 0, uses_anonymous_args = 0
- 156 .LVL3:
- 157 0000 38B5 push {r3, r4, r5, lr}
- 158 .LCFI0:
- 159 .cfi_def_cfa_offset 16
- 160 .cfi_offset 3, -16
- 161 .cfi_offset 4, -12
- 162 .cfi_offset 5, -8
- 163 .cfi_offset 14, -4
- 164 0002 0546 mov r5, r0
- 165 .LVL4:
- 894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 166 .loc 1 894 0
- 167 0004 4CF25030 movw r0, #50000
- 168 .LVL5:
- 169 0008 FFF7FEFF bl FLASH_WaitForLastOperation
- 170 .LVL6:
- 896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 171 .loc 1 896 0
- 172 000c 0346 mov r3, r0
- 173 000e 08B1 cbz r0, .L19
- 174 .LVL7:
- 175 .L17:
- 927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 176 .loc 1 927 0
- 177 0010 1846 mov r0, r3
- 178 0012 38BD pop {r3, r4, r5, pc}
- 179 .LVL8:
- 180 .L19:
- 899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 181 .loc 1 899 0
- 182 0014 0022 movs r2, #0
- 183 0016 134B ldr r3, .L20
- 184 0018 DA61 str r2, [r3, #28]
- 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** SET_BIT(FLASH->CR, FLASH_CR_STRT);
- 185 .loc 1 902 0
- 186 001a 134C ldr r4, .L20+4
- 187 001c 2369 ldr r3, [r4, #16]
- 188 001e 43F02003 orr r3, r3, #32
- 189 0022 2361 str r3, [r4, #16]
- 903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 190 .loc 1 903 0
- 191 0024 2369 ldr r3, [r4, #16]
-ARM GAS /tmp/cc3KXoFF.s page 23
-
-
- 192 0026 43F04003 orr r3, r3, #64
- 193 002a 2361 str r3, [r4, #16]
- 906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 194 .loc 1 906 0
- 195 002c 4CF25030 movw r0, #50000
- 196 .LVL9:
- 197 0030 FFF7FEFF bl FLASH_WaitForLastOperation
- 198 .LVL10:
- 909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 199 .loc 1 909 0
- 200 0034 2369 ldr r3, [r4, #16]
- 201 0036 23F02003 bic r3, r3, #32
- 202 003a 2361 str r3, [r4, #16]
- 911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 203 .loc 1 911 0
- 204 003c 0346 mov r3, r0
- 205 003e 0028 cmp r0, #0
- 206 0040 E6D1 bne .L17
- 914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 207 .loc 1 914 0
- 208 0042 2369 ldr r3, [r4, #16]
- 209 0044 43F01003 orr r3, r3, #16
- 210 0048 2361 str r3, [r4, #16]
- 916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 211 .loc 1 916 0
- 212 004a ADB2 uxth r5, r5
- 213 004c 074B ldr r3, .L20+8
- 214 004e 1D80 strh r5, [r3] @ movhi
- 919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 215 .loc 1 919 0
- 216 0050 4CF25030 movw r0, #50000
- 217 .LVL11:
- 218 0054 FFF7FEFF bl FLASH_WaitForLastOperation
- 219 .LVL12:
- 220 0058 0346 mov r3, r0
- 221 .LVL13:
- 922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 222 .loc 1 922 0
- 223 005a 2269 ldr r2, [r4, #16]
- 224 005c 22F01002 bic r2, r2, #16
- 225 0060 2261 str r2, [r4, #16]
- 226 0062 D5E7 b .L17
- 227 .L21:
- 228 .align 2
- 229 .L20:
- 230 0064 00000000 .word pFlash
- 231 0068 00200240 .word 1073881088
- 232 006c 00F8FF1F .word 536868864
- 233 .cfi_endproc
- 234 .LFE74:
- 236 .section .text.FLASH_OB_UserConfig,"ax",%progbits
- 237 .align 1
- 238 .syntax unified
- 239 .thumb
- 240 .thumb_func
- 241 .fpu softvfp
- 243 FLASH_OB_UserConfig:
-ARM GAS /tmp/cc3KXoFF.s page 24
-
-
- 244 .LFB75:
- 938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** HAL_StatusTypeDef status = HAL_OK;
- 245 .loc 1 938 0
- 246 .cfi_startproc
- 247 @ args = 0, pretend = 0, frame = 0
- 248 @ frame_needed = 0, uses_anonymous_args = 0
- 249 .LVL14:
- 250 0000 38B5 push {r3, r4, r5, lr}
- 251 .LCFI1:
- 252 .cfi_def_cfa_offset 16
- 253 .cfi_offset 3, -16
- 254 .cfi_offset 4, -12
- 255 .cfi_offset 5, -8
- 256 .cfi_offset 14, -4
- 257 0002 0446 mov r4, r0
- 258 .LVL15:
- 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 259 .loc 1 950 0
- 260 0004 4CF25030 movw r0, #50000
- 261 .LVL16:
- 262 0008 FFF7FEFF bl FLASH_WaitForLastOperation
- 263 .LVL17:
- 952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 264 .loc 1 952 0
- 265 000c 0346 mov r3, r0
- 266 000e 08B1 cbz r0, .L25
- 267 .LVL18:
- 268 .L23:
- 974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 269 .loc 1 974 0
- 270 0010 1846 mov r0, r3
- 271 0012 38BD pop {r3, r4, r5, pc}
- 272 .LVL19:
- 273 .L25:
- 955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 274 .loc 1 955 0
- 275 0014 0022 movs r2, #0
- 276 0016 0A4B ldr r3, .L26
- 277 0018 DA61 str r2, [r3, #28]
- 958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 278 .loc 1 958 0
- 279 001a 0A4D ldr r5, .L26+4
- 280 001c 2B69 ldr r3, [r5, #16]
- 281 001e 43F01003 orr r3, r3, #16
- 282 0022 2B61 str r3, [r5, #16]
- 963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* FLASH_BANK2_END */
- 283 .loc 1 963 0
- 284 0024 44F08804 orr r4, r4, #136
- 285 0028 074B ldr r3, .L26+8
- 286 002a 5C80 strh r4, [r3, #2] @ movhi
- 967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 287 .loc 1 967 0
- 288 002c 4CF25030 movw r0, #50000
- 289 .LVL20:
- 290 0030 FFF7FEFF bl FLASH_WaitForLastOperation
- 291 .LVL21:
- 292 0034 0346 mov r3, r0
-ARM GAS /tmp/cc3KXoFF.s page 25
-
-
- 293 .LVL22:
- 970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 294 .loc 1 970 0
- 295 0036 2A69 ldr r2, [r5, #16]
- 296 0038 22F01002 bic r2, r2, #16
- 297 003c 2A61 str r2, [r5, #16]
- 298 003e E7E7 b .L23
- 299 .L27:
- 300 .align 2
- 301 .L26:
- 302 0040 00000000 .word pFlash
- 303 0044 00200240 .word 1073881088
- 304 0048 00F8FF1F .word 536868864
- 305 .cfi_endproc
- 306 .LFE75:
- 308 .section .text.FLASH_OB_ProgramData,"ax",%progbits
- 309 .align 1
- 310 .syntax unified
- 311 .thumb
- 312 .thumb_func
- 313 .fpu softvfp
- 315 FLASH_OB_ProgramData:
- 316 .LFB76:
- 989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** HAL_StatusTypeDef status = HAL_ERROR;
- 317 .loc 1 989 0
- 318 .cfi_startproc
- 319 @ args = 0, pretend = 0, frame = 0
- 320 @ frame_needed = 0, uses_anonymous_args = 0
- 321 .LVL23:
- 322 0000 70B5 push {r4, r5, r6, lr}
- 323 .LCFI2:
- 324 .cfi_def_cfa_offset 16
- 325 .cfi_offset 4, -16
- 326 .cfi_offset 5, -12
- 327 .cfi_offset 6, -8
- 328 .cfi_offset 14, -4
- 329 0002 0646 mov r6, r0
- 330 0004 0C46 mov r4, r1
- 331 .LVL24:
- 996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 332 .loc 1 996 0
- 333 0006 4CF25030 movw r0, #50000
- 334 .LVL25:
- 335 000a FFF7FEFF bl FLASH_WaitForLastOperation
- 336 .LVL26:
- 998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 337 .loc 1 998 0
- 338 000e 0346 mov r3, r0
- 339 0010 08B1 cbz r0, .L31
- 340 .LVL27:
- 341 .L29:
-1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 342 .loc 1 1015 0
- 343 0012 1846 mov r0, r3
- 344 0014 70BD pop {r4, r5, r6, pc}
- 345 .LVL28:
- 346 .L31:
-ARM GAS /tmp/cc3KXoFF.s page 26
-
-
-1001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 347 .loc 1 1001 0
- 348 0016 0022 movs r2, #0
- 349 0018 094B ldr r3, .L32
- 350 001a DA61 str r2, [r3, #28]
-1004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** *(__IO uint16_t*)Address = Data;
- 351 .loc 1 1004 0
- 352 001c 094D ldr r5, .L32+4
- 353 001e 2B69 ldr r3, [r5, #16]
- 354 0020 43F01003 orr r3, r3, #16
- 355 0024 2B61 str r3, [r5, #16]
-1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 356 .loc 1 1005 0
- 357 0026 A4B2 uxth r4, r4
- 358 0028 3480 strh r4, [r6] @ movhi
-1008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 359 .loc 1 1008 0
- 360 002a 4CF25030 movw r0, #50000
- 361 .LVL29:
- 362 002e FFF7FEFF bl FLASH_WaitForLastOperation
- 363 .LVL30:
- 364 0032 0346 mov r3, r0
- 365 .LVL31:
-1011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 366 .loc 1 1011 0
- 367 0034 2A69 ldr r2, [r5, #16]
- 368 0036 22F01002 bic r2, r2, #16
- 369 003a 2A61 str r2, [r5, #16]
- 370 003c E9E7 b .L29
- 371 .L33:
- 372 003e 00BF .align 2
- 373 .L32:
- 374 0040 00000000 .word pFlash
- 375 0044 00200240 .word 1073881088
- 376 .cfi_endproc
- 377 .LFE76:
- 379 .section .text.HAL_FLASHEx_OBErase,"ax",%progbits
- 380 .align 1
- 381 .global HAL_FLASHEx_OBErase
- 382 .syntax unified
- 383 .thumb
- 384 .thumb_func
- 385 .fpu softvfp
- 387 HAL_FLASHEx_OBErase:
- 388 .LFB67:
- 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** uint8_t rdptmp = OB_RDP_LEVEL_0;
- 389 .loc 1 398 0
- 390 .cfi_startproc
- 391 @ args = 0, pretend = 0, frame = 0
- 392 @ frame_needed = 0, uses_anonymous_args = 0
- 393 0000 38B5 push {r3, r4, r5, lr}
- 394 .LCFI3:
- 395 .cfi_def_cfa_offset 16
- 396 .cfi_offset 3, -16
- 397 .cfi_offset 4, -12
- 398 .cfi_offset 5, -8
- 399 .cfi_offset 14, -4
-ARM GAS /tmp/cc3KXoFF.s page 27
-
-
- 400 .LVL32:
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 401 .loc 1 403 0
- 402 0002 FFF7FEFF bl FLASH_OB_GetRDP
- 403 .LVL33:
- 404 0006 C5B2 uxtb r5, r0
- 405 .LVL34:
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 406 .loc 1 406 0
- 407 0008 4CF25030 movw r0, #50000
- 408 000c FFF7FEFF bl FLASH_WaitForLastOperation
- 409 .LVL35:
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 410 .loc 1 408 0
- 411 0010 0346 mov r3, r0
- 412 0012 08B1 cbz r0, .L37
- 413 .LVL36:
- 414 .L35:
- 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 415 .loc 1 432 0
- 416 0014 1846 mov r0, r3
- 417 0016 38BD pop {r3, r4, r5, pc}
- 418 .LVL37:
- 419 .L37:
- 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 420 .loc 1 411 0
- 421 0018 0022 movs r2, #0
- 422 001a 0D4B ldr r3, .L38
- 423 001c DA61 str r2, [r3, #28]
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** SET_BIT(FLASH->CR, FLASH_CR_STRT);
- 424 .loc 1 414 0
- 425 001e 0D4C ldr r4, .L38+4
- 426 0020 2369 ldr r3, [r4, #16]
- 427 0022 43F02003 orr r3, r3, #32
- 428 0026 2361 str r3, [r4, #16]
- 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 429 .loc 1 415 0
- 430 0028 2369 ldr r3, [r4, #16]
- 431 002a 43F04003 orr r3, r3, #64
- 432 002e 2361 str r3, [r4, #16]
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 433 .loc 1 418 0
- 434 0030 4CF25030 movw r0, #50000
- 435 .LVL38:
- 436 0034 FFF7FEFF bl FLASH_WaitForLastOperation
- 437 .LVL39:
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 438 .loc 1 421 0
- 439 0038 2369 ldr r3, [r4, #16]
- 440 003a 23F02003 bic r3, r3, #32
- 441 003e 2361 str r3, [r4, #16]
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 442 .loc 1 423 0
- 443 0040 0346 mov r3, r0
- 444 0042 0028 cmp r0, #0
- 445 0044 E6D1 bne .L35
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
-ARM GAS /tmp/cc3KXoFF.s page 28
-
-
- 446 .loc 1 426 0
- 447 0046 2846 mov r0, r5
- 448 .LVL40:
- 449 0048 FFF7FEFF bl FLASH_OB_RDP_LevelConfig
- 450 .LVL41:
- 451 004c 0346 mov r3, r0
- 452 .LVL42:
- 453 004e E1E7 b .L35
- 454 .L39:
- 455 .align 2
- 456 .L38:
- 457 0050 00000000 .word pFlash
- 458 0054 00200240 .word 1073881088
- 459 .cfi_endproc
- 460 .LFE67:
- 462 .section .text.FLASH_OB_EnableWRP,"ax",%progbits
- 463 .align 1
- 464 .syntax unified
- 465 .thumb
- 466 .thumb_func
- 467 .fpu softvfp
- 469 FLASH_OB_EnableWRP:
- 470 .LFB72:
- 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** HAL_StatusTypeDef status = HAL_OK;
- 471 .loc 1 645 0
- 472 .cfi_startproc
- 473 @ args = 0, pretend = 0, frame = 0
- 474 @ frame_needed = 0, uses_anonymous_args = 0
- 475 .LVL43:
- 476 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
- 477 .LCFI4:
- 478 .cfi_def_cfa_offset 24
- 479 .cfi_offset 3, -24
- 480 .cfi_offset 4, -20
- 481 .cfi_offset 5, -16
- 482 .cfi_offset 6, -12
- 483 .cfi_offset 7, -8
- 484 .cfi_offset 14, -4
- 485 0002 0446 mov r4, r0
- 486 .LVL44:
- 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 487 .loc 1 662 0
- 488 0004 FFF7FEFF bl FLASH_OB_GetWRP
- 489 .LVL45:
- 490 0008 20EA0404 bic r4, r0, r4
- 491 .LVL46:
- 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #elif defined(OB_WRP_PAGES32TO63MASK)
- 492 .loc 1 671 0
- 493 000c C4F30727 ubfx r7, r4, #8, #8
- 494 .LVL47:
- 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* OB_WRP_PAGES32TO47MASK */
- 495 .loc 1 680 0
- 496 0010 C4F30746 ubfx r6, r4, #16, #8
- 497 .LVL48:
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 498 .loc 1 694 0
- 499 0014 4CF25030 movw r0, #50000
-ARM GAS /tmp/cc3KXoFF.s page 29
-
-
- 500 0018 FFF7FEFF bl FLASH_WaitForLastOperation
- 501 .LVL49:
- 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 502 .loc 1 696 0
- 503 001c 0346 mov r3, r0
- 504 001e 08B1 cbz r0, .L47
- 505 .LVL50:
- 506 .L41:
- 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 507 .loc 1 754 0
- 508 0020 1846 mov r0, r3
- 509 0022 F8BD pop {r3, r4, r5, r6, r7, pc}
- 510 .LVL51:
- 511 .L47:
- 512 0024 E5B2 uxtb r5, r4
- 513 0026 240E lsrs r4, r4, #24
- 514 .LVL52:
- 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 515 .loc 1 699 0
- 516 0028 0022 movs r2, #0
- 517 002a 204B ldr r3, .L48
- 518 002c DA61 str r2, [r3, #28]
- 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if (status == HAL_OK)
- 519 .loc 1 702 0
- 520 002e FFF7FEFF bl HAL_FLASHEx_OBErase
- 521 .LVL53:
- 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 522 .loc 1 703 0
- 523 0032 0346 mov r3, r0
- 524 0034 0028 cmp r0, #0
- 525 0036 F3D1 bne .L41
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 526 .loc 1 706 0
- 527 0038 1D49 ldr r1, .L48+4
- 528 003a 0A69 ldr r2, [r1, #16]
- 529 003c 42F01002 orr r2, r2, #16
- 530 0040 0A61 str r2, [r1, #16]
- 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 531 .loc 1 709 0
- 532 0042 FF2D cmp r5, #255
- 533 0044 08D0 beq .L42
- 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 534 .loc 1 711 0
- 535 0046 1B4B ldr r3, .L48+8
- 536 0048 1A89 ldrh r2, [r3, #8]
- 537 004a 1540 ands r5, r5, r2
- 538 .LVL54:
- 539 004c 1D81 strh r5, [r3, #8] @ movhi
- 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 540 .loc 1 714 0
- 541 004e 4CF25030 movw r0, #50000
- 542 .LVL55:
- 543 0052 FFF7FEFF bl FLASH_WaitForLastOperation
- 544 .LVL56:
- 545 0056 0346 mov r3, r0
- 546 .LVL57:
- 547 .L42:
-ARM GAS /tmp/cc3KXoFF.s page 30
-
-
- 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 548 .loc 1 719 0
- 549 0058 53B9 cbnz r3, .L43
- 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 550 .loc 1 719 0 is_stmt 0 discriminator 1
- 551 005a FF2F cmp r7, #255
- 552 005c 08D0 beq .L43
- 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 553 .loc 1 721 0 is_stmt 1
- 554 005e 154B ldr r3, .L48+8
- 555 .LVL58:
- 556 0060 5A89 ldrh r2, [r3, #10]
- 557 0062 1740 ands r7, r7, r2
- 558 .LVL59:
- 559 0064 5F81 strh r7, [r3, #10] @ movhi
- 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 560 .loc 1 724 0
- 561 0066 4CF25030 movw r0, #50000
- 562 006a FFF7FEFF bl FLASH_WaitForLastOperation
- 563 .LVL60:
- 564 006e 0346 mov r3, r0
- 565 .LVL61:
- 566 .L43:
- 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 567 .loc 1 729 0
- 568 0070 53B9 cbnz r3, .L44
- 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 569 .loc 1 729 0 is_stmt 0 discriminator 1
- 570 0072 FF2E cmp r6, #255
- 571 0074 08D0 beq .L44
- 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 572 .loc 1 731 0 is_stmt 1
- 573 0076 0F4B ldr r3, .L48+8
- 574 .LVL62:
- 575 0078 9A89 ldrh r2, [r3, #12]
- 576 007a 1640 ands r6, r6, r2
- 577 .LVL63:
- 578 007c 9E81 strh r6, [r3, #12] @ movhi
- 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 579 .loc 1 734 0
- 580 007e 4CF25030 movw r0, #50000
- 581 0082 FFF7FEFF bl FLASH_WaitForLastOperation
- 582 .LVL64:
- 583 0086 0346 mov r3, r0
- 584 .LVL65:
- 585 .L44:
- 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 586 .loc 1 739 0
- 587 0088 53B9 cbnz r3, .L45
- 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 588 .loc 1 739 0 is_stmt 0 discriminator 1
- 589 008a FF2C cmp r4, #255
- 590 008c 08D0 beq .L45
- 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 591 .loc 1 741 0 is_stmt 1
- 592 008e 094B ldr r3, .L48+8
- 593 .LVL66:
-ARM GAS /tmp/cc3KXoFF.s page 31
-
-
- 594 0090 D889 ldrh r0, [r3, #14]
- 595 0092 2040 ands r0, r0, r4
- 596 0094 D881 strh r0, [r3, #14] @ movhi
- 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 597 .loc 1 744 0
- 598 0096 4CF25030 movw r0, #50000
- 599 009a FFF7FEFF bl FLASH_WaitForLastOperation
- 600 .LVL67:
- 601 009e 0346 mov r3, r0
- 602 .LVL68:
- 603 .L45:
- 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 604 .loc 1 749 0
- 605 00a0 0349 ldr r1, .L48+4
- 606 00a2 0A69 ldr r2, [r1, #16]
- 607 00a4 22F01002 bic r2, r2, #16
- 608 00a8 0A61 str r2, [r1, #16]
- 609 00aa B9E7 b .L41
- 610 .L49:
- 611 .align 2
- 612 .L48:
- 613 00ac 00000000 .word pFlash
- 614 00b0 00200240 .word 1073881088
- 615 00b4 00F8FF1F .word 536868864
- 616 .cfi_endproc
- 617 .LFE72:
- 619 .section .text.FLASH_OB_DisableWRP,"ax",%progbits
- 620 .align 1
- 621 .syntax unified
- 622 .thumb
- 623 .thumb_func
- 624 .fpu softvfp
- 626 FLASH_OB_DisableWRP:
- 627 .LFB73:
- 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** HAL_StatusTypeDef status = HAL_OK;
- 628 .loc 1 768 0
- 629 .cfi_startproc
- 630 @ args = 0, pretend = 0, frame = 0
- 631 @ frame_needed = 0, uses_anonymous_args = 0
- 632 .LVL69:
- 633 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
- 634 .LCFI5:
- 635 .cfi_def_cfa_offset 24
- 636 .cfi_offset 3, -24
- 637 .cfi_offset 4, -20
- 638 .cfi_offset 5, -16
- 639 .cfi_offset 6, -12
- 640 .cfi_offset 7, -8
- 641 .cfi_offset 14, -4
- 642 0002 0446 mov r4, r0
- 643 .LVL70:
- 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 644 .loc 1 785 0
- 645 0004 FFF7FEFF bl FLASH_OB_GetWRP
- 646 .LVL71:
- 647 0008 0443 orrs r4, r4, r0
- 648 .LVL72:
-ARM GAS /tmp/cc3KXoFF.s page 32
-
-
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #elif defined(OB_WRP_PAGES32TO63MASK)
- 649 .loc 1 794 0
- 650 000a C4F30727 ubfx r7, r4, #8, #8
- 651 .LVL73:
- 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* OB_WRP_PAGES32TO47MASK */
- 652 .loc 1 803 0
- 653 000e C4F30746 ubfx r6, r4, #16, #8
- 654 .LVL74:
- 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 655 .loc 1 818 0
- 656 0012 4CF25030 movw r0, #50000
- 657 0016 FFF7FEFF bl FLASH_WaitForLastOperation
- 658 .LVL75:
- 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 659 .loc 1 820 0
- 660 001a 0346 mov r3, r0
- 661 001c 08B1 cbz r0, .L57
- 662 .LVL76:
- 663 .L51:
- 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 664 .loc 1 876 0
- 665 001e 1846 mov r0, r3
- 666 0020 F8BD pop {r3, r4, r5, r6, r7, pc}
- 667 .LVL77:
- 668 .L57:
- 669 0022 E5B2 uxtb r5, r4
- 670 0024 240E lsrs r4, r4, #24
- 671 .LVL78:
- 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 672 .loc 1 823 0
- 673 0026 0022 movs r2, #0
- 674 0028 224B ldr r3, .L58
- 675 002a DA61 str r2, [r3, #28]
- 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if (status == HAL_OK)
- 676 .loc 1 826 0
- 677 002c FFF7FEFF bl HAL_FLASHEx_OBErase
- 678 .LVL79:
- 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 679 .loc 1 827 0
- 680 0030 0346 mov r3, r0
- 681 0032 0028 cmp r0, #0
- 682 0034 F3D1 bne .L51
- 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 683 .loc 1 829 0
- 684 0036 2049 ldr r1, .L58+4
- 685 0038 0A69 ldr r2, [r1, #16]
- 686 003a 42F01002 orr r2, r2, #16
- 687 003e 0A61 str r2, [r1, #16]
- 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 688 .loc 1 832 0
- 689 0040 FF2D cmp r5, #255
- 690 0042 09D0 beq .L52
- 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 691 .loc 1 834 0
- 692 0044 1D4A ldr r2, .L58+8
- 693 0046 1389 ldrh r3, [r2, #8]
- 694 0048 9BB2 uxth r3, r3
-ARM GAS /tmp/cc3KXoFF.s page 33
-
-
- 695 004a 1D43 orrs r5, r5, r3
- 696 .LVL80:
- 697 004c 1581 strh r5, [r2, #8] @ movhi
- 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 698 .loc 1 837 0
- 699 004e 4CF25030 movw r0, #50000
- 700 .LVL81:
- 701 0052 FFF7FEFF bl FLASH_WaitForLastOperation
- 702 .LVL82:
- 703 0056 0346 mov r3, r0
- 704 .LVL83:
- 705 .L52:
- 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 706 .loc 1 842 0
- 707 0058 5BB9 cbnz r3, .L53
- 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 708 .loc 1 842 0 is_stmt 0 discriminator 1
- 709 005a FF2F cmp r7, #255
- 710 005c 09D0 beq .L53
- 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 711 .loc 1 844 0 is_stmt 1
- 712 005e 174A ldr r2, .L58+8
- 713 0060 5389 ldrh r3, [r2, #10]
- 714 .LVL84:
- 715 0062 9BB2 uxth r3, r3
- 716 0064 1F43 orrs r7, r7, r3
- 717 .LVL85:
- 718 0066 5781 strh r7, [r2, #10] @ movhi
- 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 719 .loc 1 847 0
- 720 0068 4CF25030 movw r0, #50000
- 721 006c FFF7FEFF bl FLASH_WaitForLastOperation
- 722 .LVL86:
- 723 0070 0346 mov r3, r0
- 724 .LVL87:
- 725 .L53:
- 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 726 .loc 1 852 0
- 727 0072 5BB9 cbnz r3, .L54
- 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 728 .loc 1 852 0 is_stmt 0 discriminator 1
- 729 0074 FF2E cmp r6, #255
- 730 0076 09D0 beq .L54
- 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 731 .loc 1 854 0 is_stmt 1
- 732 0078 104A ldr r2, .L58+8
- 733 007a 9389 ldrh r3, [r2, #12]
- 734 .LVL88:
- 735 007c 9BB2 uxth r3, r3
- 736 007e 1E43 orrs r6, r6, r3
- 737 .LVL89:
- 738 0080 9681 strh r6, [r2, #12] @ movhi
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 739 .loc 1 857 0
- 740 0082 4CF25030 movw r0, #50000
- 741 0086 FFF7FEFF bl FLASH_WaitForLastOperation
- 742 .LVL90:
-ARM GAS /tmp/cc3KXoFF.s page 34
-
-
- 743 008a 0346 mov r3, r0
- 744 .LVL91:
- 745 .L54:
- 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 746 .loc 1 862 0
- 747 008c 5BB9 cbnz r3, .L55
- 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 748 .loc 1 862 0 is_stmt 0 discriminator 1
- 749 008e FF2C cmp r4, #255
- 750 0090 09D0 beq .L55
- 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 751 .loc 1 864 0 is_stmt 1
- 752 0092 0A4B ldr r3, .L58+8
- 753 .LVL92:
- 754 0094 D889 ldrh r0, [r3, #14]
- 755 0096 80B2 uxth r0, r0
- 756 0098 2043 orrs r0, r0, r4
- 757 009a D881 strh r0, [r3, #14] @ movhi
- 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 758 .loc 1 867 0
- 759 009c 4CF25030 movw r0, #50000
- 760 00a0 FFF7FEFF bl FLASH_WaitForLastOperation
- 761 .LVL93:
- 762 00a4 0346 mov r3, r0
- 763 .LVL94:
- 764 .L55:
- 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 765 .loc 1 872 0
- 766 00a6 0449 ldr r1, .L58+4
- 767 00a8 0A69 ldr r2, [r1, #16]
- 768 00aa 22F01002 bic r2, r2, #16
- 769 00ae 0A61 str r2, [r1, #16]
- 770 00b0 B5E7 b .L51
- 771 .L59:
- 772 00b2 00BF .align 2
- 773 .L58:
- 774 00b4 00000000 .word pFlash
- 775 00b8 00200240 .word 1073881088
- 776 00bc 00F8FF1F .word 536868864
- 777 .cfi_endproc
- 778 .LFE73:
- 780 .section .text.HAL_FLASHEx_OBProgram,"ax",%progbits
- 781 .align 1
- 782 .global HAL_FLASHEx_OBProgram
- 783 .syntax unified
- 784 .thumb
- 785 .thumb_func
- 786 .fpu softvfp
- 788 HAL_FLASHEx_OBProgram:
- 789 .LFB68:
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** HAL_StatusTypeDef status = HAL_ERROR;
- 790 .loc 1 447 0
- 791 .cfi_startproc
- 792 @ args = 0, pretend = 0, frame = 0
- 793 @ frame_needed = 0, uses_anonymous_args = 0
- 794 .LVL95:
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
-ARM GAS /tmp/cc3KXoFF.s page 35
-
-
- 795 .loc 1 451 0
- 796 0000 284B ldr r3, .L78
- 797 0002 1B7E ldrb r3, [r3, #24] @ zero_extendqisi2
- 798 0004 012B cmp r3, #1
- 799 0006 4AD0 beq .L68
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** HAL_StatusTypeDef status = HAL_ERROR;
- 800 .loc 1 447 0 discriminator 2
- 801 0008 10B5 push {r4, lr}
- 802 .LCFI6:
- 803 .cfi_def_cfa_offset 8
- 804 .cfi_offset 4, -8
- 805 .cfi_offset 14, -4
- 806 000a 0446 mov r4, r0
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 807 .loc 1 451 0 discriminator 2
- 808 000c 0122 movs r2, #1
- 809 000e 254B ldr r3, .L78
- 810 0010 1A76 strb r2, [r3, #24]
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 811 .loc 1 457 0 discriminator 2
- 812 0012 0368 ldr r3, [r0]
- 813 0014 13F0010F tst r3, #1
- 814 0018 10D0 beq .L69
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 815 .loc 1 460 0
- 816 001a 4368 ldr r3, [r0, #4]
- 817 001c 9342 cmp r3, r2
- 818 001e 08D0 beq .L74
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 819 .loc 1 468 0
- 820 0020 8068 ldr r0, [r0, #8]
- 821 .LVL96:
- 822 0022 FFF7FEFF bl FLASH_OB_DisableWRP
- 823 .LVL97:
- 824 0026 0346 mov r3, r0
- 825 .LVL98:
- 826 .L64:
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 827 .loc 1 470 0
- 828 0028 4BB1 cbz r3, .L62
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** return status;
- 829 .loc 1 473 0
- 830 002a 0021 movs r1, #0
- 831 002c 1D4A ldr r2, .L78
- 832 002e 1176 strb r1, [r2, #24]
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 833 .loc 1 474 0
- 834 0030 14E0 b .L61
- 835 .LVL99:
- 836 .L74:
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 837 .loc 1 463 0
- 838 0032 8068 ldr r0, [r0, #8]
- 839 .LVL100:
- 840 0034 FFF7FEFF bl FLASH_OB_EnableWRP
- 841 .LVL101:
- 842 0038 0346 mov r3, r0
-ARM GAS /tmp/cc3KXoFF.s page 36
-
-
- 843 .LVL102:
- 844 003a F5E7 b .L64
- 845 .LVL103:
- 846 .L69:
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 847 .loc 1 448 0
- 848 003c 0123 movs r3, #1
- 849 .LVL104:
- 850 .L62:
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 851 .loc 1 479 0
- 852 003e 2268 ldr r2, [r4]
- 853 0040 12F0020F tst r2, #2
- 854 0044 0CD1 bne .L75
- 855 .LVL105:
- 856 .L65:
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 857 .loc 1 491 0
- 858 0046 2268 ldr r2, [r4]
- 859 0048 12F0040F tst r2, #4
- 860 004c 12D1 bne .L76
- 861 .LVL106:
- 862 .L66:
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 863 .loc 1 503 0
- 864 004e 2268 ldr r2, [r4]
- 865 0050 12F0080F tst r2, #8
- 866 0054 18D1 bne .L77
- 867 .LVL107:
- 868 .L67:
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 869 .loc 1 515 0
- 870 0056 0021 movs r1, #0
- 871 0058 124A ldr r2, .L78
- 872 005a 1176 strb r1, [r2, #24]
- 873 .LVL108:
- 874 .L61:
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 875 .loc 1 518 0
- 876 005c 1846 mov r0, r3
- 877 005e 10BD pop {r4, pc}
- 878 .LVL109:
- 879 .L75:
- 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if (status != HAL_OK)
- 880 .loc 1 481 0
- 881 0060 207C ldrb r0, [r4, #16] @ zero_extendqisi2
- 882 0062 FFF7FEFF bl FLASH_OB_RDP_LevelConfig
- 883 .LVL110:
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 884 .loc 1 482 0
- 885 0066 0346 mov r3, r0
- 886 0068 0028 cmp r0, #0
- 887 006a ECD0 beq .L65
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** return status;
- 888 .loc 1 485 0
- 889 006c 0021 movs r1, #0
- 890 006e 0D4A ldr r2, .L78
-ARM GAS /tmp/cc3KXoFF.s page 37
-
-
- 891 0070 1176 strb r1, [r2, #24]
- 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 892 .loc 1 486 0
- 893 0072 F3E7 b .L61
- 894 .LVL111:
- 895 .L76:
- 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if (status != HAL_OK)
- 896 .loc 1 493 0
- 897 0074 607C ldrb r0, [r4, #17] @ zero_extendqisi2
- 898 0076 FFF7FEFF bl FLASH_OB_UserConfig
- 899 .LVL112:
- 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 900 .loc 1 494 0
- 901 007a 0346 mov r3, r0
- 902 007c 0028 cmp r0, #0
- 903 007e E6D0 beq .L66
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** return status;
- 904 .loc 1 497 0
- 905 0080 0021 movs r1, #0
- 906 0082 084A ldr r2, .L78
- 907 0084 1176 strb r1, [r2, #24]
- 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 908 .loc 1 498 0
- 909 0086 E9E7 b .L61
- 910 .LVL113:
- 911 .L77:
- 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if (status != HAL_OK)
- 912 .loc 1 505 0
- 913 0088 217E ldrb r1, [r4, #24] @ zero_extendqisi2
- 914 008a 6069 ldr r0, [r4, #20]
- 915 008c FFF7FEFF bl FLASH_OB_ProgramData
- 916 .LVL114:
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 917 .loc 1 506 0
- 918 0090 0346 mov r3, r0
- 919 0092 0028 cmp r0, #0
- 920 0094 DFD0 beq .L67
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** return status;
- 921 .loc 1 509 0
- 922 0096 0021 movs r1, #0
- 923 0098 024A ldr r2, .L78
- 924 009a 1176 strb r1, [r2, #24]
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 925 .loc 1 510 0
- 926 009c DEE7 b .L61
- 927 .LVL115:
- 928 .L68:
- 929 .LCFI7:
- 930 .cfi_def_cfa_offset 0
- 931 .cfi_restore 4
- 932 .cfi_restore 14
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 933 .loc 1 451 0
- 934 009e 0223 movs r3, #2
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 935 .loc 1 518 0
- 936 00a0 1846 mov r0, r3
-ARM GAS /tmp/cc3KXoFF.s page 38
-
-
- 937 .LVL116:
- 938 00a2 7047 bx lr
- 939 .L79:
- 940 .align 2
- 941 .L78:
- 942 00a4 00000000 .word pFlash
- 943 .cfi_endproc
- 944 .LFE68:
- 946 .section .text.HAL_FLASHEx_OBGetConfig,"ax",%progbits
- 947 .align 1
- 948 .global HAL_FLASHEx_OBGetConfig
- 949 .syntax unified
- 950 .thumb
- 951 .thumb_func
- 952 .fpu softvfp
- 954 HAL_FLASHEx_OBGetConfig:
- 955 .LFB69:
- 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** pOBInit->OptionType = OPTIONBYTE_WRP | OPTIONBYTE_RDP | OPTIONBYTE_USER;
- 956 .loc 1 528 0
- 957 .cfi_startproc
- 958 @ args = 0, pretend = 0, frame = 0
- 959 @ frame_needed = 0, uses_anonymous_args = 0
- 960 .LVL117:
- 961 0000 10B5 push {r4, lr}
- 962 .LCFI8:
- 963 .cfi_def_cfa_offset 8
- 964 .cfi_offset 4, -8
- 965 .cfi_offset 14, -4
- 966 0002 0446 mov r4, r0
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 967 .loc 1 529 0
- 968 0004 0723 movs r3, #7
- 969 0006 0360 str r3, [r0]
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 970 .loc 1 532 0
- 971 0008 FFF7FEFF bl FLASH_OB_GetWRP
- 972 .LVL118:
- 973 000c A060 str r0, [r4, #8]
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 974 .loc 1 535 0
- 975 000e FFF7FEFF bl FLASH_OB_GetRDP
- 976 .LVL119:
- 977 0012 2074 strb r0, [r4, #16]
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 978 .loc 1 538 0
- 979 0014 FFF7FEFF bl FLASH_OB_GetUser
- 980 .LVL120:
- 981 0018 6074 strb r0, [r4, #17]
- 982 001a 10BD pop {r4, pc}
- 983 .cfi_endproc
- 984 .LFE69:
- 986 .section .text.HAL_FLASHEx_OBGetUserData,"ax",%progbits
- 987 .align 1
- 988 .global HAL_FLASHEx_OBGetUserData
- 989 .syntax unified
- 990 .thumb
- 991 .thumb_func
-ARM GAS /tmp/cc3KXoFF.s page 39
-
-
- 992 .fpu softvfp
- 994 HAL_FLASHEx_OBGetUserData:
- 995 .LFB70:
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** uint32_t value = 0;
- 996 .loc 1 550 0
- 997 .cfi_startproc
- 998 @ args = 0, pretend = 0, frame = 0
- 999 @ frame_needed = 0, uses_anonymous_args = 0
- 1000 @ link register save eliminated.
- 1001 .LVL121:
- 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 1002 .loc 1 553 0
- 1003 0000 064B ldr r3, .L86
- 1004 0002 9842 cmp r0, r3
- 1005 0004 04D0 beq .L85
- 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 1006 .loc 1 561 0
- 1007 0006 064B ldr r3, .L86+4
- 1008 0008 D869 ldr r0, [r3, #28]
- 1009 .LVL122:
- 1010 000a C0F38740 ubfx r0, r0, #18, #8
- 1011 .LVL123:
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 1012 .loc 1 565 0
- 1013 000e 7047 bx lr
- 1014 .LVL124:
- 1015 .L85:
- 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 1016 .loc 1 556 0
- 1017 0010 034B ldr r3, .L86+4
- 1018 0012 D869 ldr r0, [r3, #28]
- 1019 .LVL125:
- 1020 0014 C0F38720 ubfx r0, r0, #10, #8
- 1021 .LVL126:
- 1022 0018 7047 bx lr
- 1023 .L87:
- 1024 001a 00BF .align 2
- 1025 .L86:
- 1026 001c 04F8FF1F .word 536868868
- 1027 0020 00200240 .word 1073881088
- 1028 .cfi_endproc
- 1029 .LFE70:
- 1031 .section .text.FLASH_PageErase,"ax",%progbits
- 1032 .align 1
- 1033 .global FLASH_PageErase
- 1034 .syntax unified
- 1035 .thumb
- 1036 .thumb_func
- 1037 .fpu softvfp
- 1039 FLASH_PageErase:
- 1040 .LFB80:
-1065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
-1066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
-1067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @}
-1068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
-1069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
-1070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
-ARM GAS /tmp/cc3KXoFF.s page 40
-
-
-1071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @}
-1072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
-1073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
-1074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /** @addtogroup FLASH
-1075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @{
-1076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
-1077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
-1078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /** @addtogroup FLASH_Private_Functions
-1079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @{
-1080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
-1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
-1082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /**
-1083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @brief Erase the specified FLASH memory page
-1084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @param PageAddress FLASH page to erase
-1085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * The value of this parameter depend on device used within the same series
-1086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** *
-1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** * @retval None
-1088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** */
-1089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** void FLASH_PageErase(uint32_t PageAddress)
-1090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 1041 .loc 1 1090 0
- 1042 .cfi_startproc
- 1043 @ args = 0, pretend = 0, frame = 0
- 1044 @ frame_needed = 0, uses_anonymous_args = 0
- 1045 @ link register save eliminated.
- 1046 .LVL127:
-1091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Clean the error context */
-1092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** pFlash.ErrorCode = HAL_FLASH_ERROR_NONE;
- 1047 .loc 1 1092 0
- 1048 0000 0022 movs r2, #0
- 1049 0002 064B ldr r3, .L89
- 1050 0004 DA61 str r2, [r3, #28]
-1093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
-1094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #if defined(FLASH_BANK2_END)
-1095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** if(PageAddress > FLASH_BANK1_END)
-1096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
-1097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Proceed to erase the page */
-1098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** SET_BIT(FLASH->CR2, FLASH_CR2_PER);
-1099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WRITE_REG(FLASH->AR2, PageAddress);
-1100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** SET_BIT(FLASH->CR2, FLASH_CR2_STRT);
-1101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
-1102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** else
-1103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
-1104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** #endif /* FLASH_BANK2_END */
-1105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** /* Proceed to erase the page */
-1106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** SET_BIT(FLASH->CR, FLASH_CR_PER);
- 1051 .loc 1 1106 0
- 1052 0006 064B ldr r3, .L89+4
- 1053 0008 1A69 ldr r2, [r3, #16]
- 1054 000a 42F00202 orr r2, r2, #2
- 1055 000e 1A61 str r2, [r3, #16]
-1107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** WRITE_REG(FLASH->AR, PageAddress);
- 1056 .loc 1 1107 0
- 1057 0010 5861 str r0, [r3, #20]
-1108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** SET_BIT(FLASH->CR, FLASH_CR_STRT);
- 1058 .loc 1 1108 0
- 1059 0012 1A69 ldr r2, [r3, #16]
-ARM GAS /tmp/cc3KXoFF.s page 41
-
-
- 1060 0014 42F04002 orr r2, r2, #64
- 1061 0018 1A61 str r2, [r3, #16]
- 1062 001a 7047 bx lr
- 1063 .L90:
- 1064 .align 2
- 1065 .L89:
- 1066 001c 00000000 .word pFlash
- 1067 0020 00200240 .word 1073881088
- 1068 .cfi_endproc
- 1069 .LFE80:
- 1071 .section .text.HAL_FLASHEx_Erase,"ax",%progbits
- 1072 .align 1
- 1073 .global HAL_FLASHEx_Erase
- 1074 .syntax unified
- 1075 .thumb
- 1076 .thumb_func
- 1077 .fpu softvfp
- 1079 HAL_FLASHEx_Erase:
- 1080 .LFB65:
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** HAL_StatusTypeDef status = HAL_ERROR;
- 1081 .loc 1 160 0
- 1082 .cfi_startproc
- 1083 @ args = 0, pretend = 0, frame = 0
- 1084 @ frame_needed = 0, uses_anonymous_args = 0
- 1085 .LVL128:
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 1086 .loc 1 165 0
- 1087 0000 264B ldr r3, .L108
- 1088 0002 1B7E ldrb r3, [r3, #24] @ zero_extendqisi2
- 1089 0004 012B cmp r3, #1
- 1090 0006 46D0 beq .L98
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** HAL_StatusTypeDef status = HAL_ERROR;
- 1091 .loc 1 160 0 discriminator 2
- 1092 0008 70B5 push {r4, r5, r6, lr}
- 1093 .LCFI9:
- 1094 .cfi_def_cfa_offset 16
- 1095 .cfi_offset 4, -16
- 1096 .cfi_offset 5, -12
- 1097 .cfi_offset 6, -8
- 1098 .cfi_offset 14, -4
- 1099 000a 0E46 mov r6, r1
- 1100 000c 0546 mov r5, r0
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 1101 .loc 1 165 0 discriminator 2
- 1102 000e 0122 movs r2, #1
- 1103 0010 224B ldr r3, .L108
- 1104 0012 1A76 strb r2, [r3, #24]
- 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 1105 .loc 1 170 0 discriminator 2
- 1106 0014 0368 ldr r3, [r0]
- 1107 0016 022B cmp r3, #2
- 1108 0018 20D0 beq .L105
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 1109 .loc 1 273 0
- 1110 001a 4CF25030 movw r0, #50000
- 1111 .LVL129:
- 1112 001e FFF7FEFF bl FLASH_WaitForLastOperation
-ARM GAS /tmp/cc3KXoFF.s page 42
-
-
- 1113 .LVL130:
- 1114 0022 90BB cbnz r0, .L100
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 1115 .loc 1 276 0
- 1116 0024 4FF0FF33 mov r3, #-1
- 1117 0028 3360 str r3, [r6]
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** address < ((pEraseInit->NbPages * FLASH_PAGE_SIZE) + pEraseInit->PageAddress);
- 1118 .loc 1 279 0
- 1119 002a AC68 ldr r4, [r5, #8]
- 1120 .LVL131:
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** uint32_t address = 0U;
- 1121 .loc 1 161 0
- 1122 002c 0121 movs r1, #1
- 1123 .LVL132:
- 1124 .L95:
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** address += FLASH_PAGE_SIZE)
- 1125 .loc 1 280 0 discriminator 1
- 1126 002e EA68 ldr r2, [r5, #12]
- 1127 0030 AB68 ldr r3, [r5, #8]
- 1128 0032 03EBC223 add r3, r3, r2, lsl #11
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** address < ((pEraseInit->NbPages * FLASH_PAGE_SIZE) + pEraseInit->PageAddress);
- 1129 .loc 1 279 0 discriminator 1
- 1130 0036 9C42 cmp r4, r3
- 1131 0038 28D2 bcs .L94
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 1132 .loc 1 283 0
- 1133 003a 2046 mov r0, r4
- 1134 003c FFF7FEFF bl FLASH_PageErase
- 1135 .LVL133:
- 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 1136 .loc 1 286 0
- 1137 0040 4CF25030 movw r0, #50000
- 1138 0044 FFF7FEFF bl FLASH_WaitForLastOperation
- 1139 .LVL134:
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 1140 .loc 1 289 0
- 1141 0048 154A ldr r2, .L108+4
- 1142 004a 1369 ldr r3, [r2, #16]
- 1143 004c 23F00203 bic r3, r3, #2
- 1144 0050 1361 str r3, [r2, #16]
- 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 1145 .loc 1 291 0
- 1146 0052 0146 mov r1, r0
- 1147 0054 B8B9 cbnz r0, .L106
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 1148 .loc 1 281 0
- 1149 0056 04F50064 add r4, r4, #2048
- 1150 .LVL135:
- 1151 005a E8E7 b .L95
- 1152 .LVL136:
- 1153 .L105:
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 1154 .loc 1 216 0
- 1155 005c 4CF25030 movw r0, #50000
- 1156 .LVL137:
- 1157 0060 FFF7FEFF bl FLASH_WaitForLastOperation
- 1158 .LVL138:
-ARM GAS /tmp/cc3KXoFF.s page 43
-
-
- 1159 0064 08B1 cbz r0, .L107
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** uint32_t address = 0U;
- 1160 .loc 1 161 0
- 1161 0066 0121 movs r1, #1
- 1162 0068 10E0 b .L94
- 1163 .L107:
- 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 1164 .loc 1 219 0
- 1165 006a 0120 movs r0, #1
- 1166 006c FFF7FEFF bl FLASH_MassErase
- 1167 .LVL139:
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 1168 .loc 1 222 0
- 1169 0070 4CF25030 movw r0, #50000
- 1170 0074 FFF7FEFF bl FLASH_WaitForLastOperation
- 1171 .LVL140:
- 1172 0078 0146 mov r1, r0
- 1173 .LVL141:
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 1174 .loc 1 225 0
- 1175 007a 094A ldr r2, .L108+4
- 1176 007c 1369 ldr r3, [r2, #16]
- 1177 007e 23F00403 bic r3, r3, #4
- 1178 0082 1361 str r3, [r2, #16]
- 1179 0084 02E0 b .L94
- 1180 .LVL142:
- 1181 .L106:
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** break;
- 1182 .loc 1 294 0
- 1183 0086 3460 str r4, [r6]
- 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 1184 .loc 1 295 0
- 1185 0088 00E0 b .L94
- 1186 .LVL143:
- 1187 .L100:
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** uint32_t address = 0U;
- 1188 .loc 1 161 0
- 1189 008a 0121 movs r1, #1
- 1190 .LVL144:
- 1191 .L94:
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 1192 .loc 1 303 0
- 1193 008c 0022 movs r2, #0
- 1194 008e 034B ldr r3, .L108
- 1195 0090 1A76 strb r2, [r3, #24]
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 1196 .loc 1 306 0
- 1197 0092 0846 mov r0, r1
- 1198 0094 70BD pop {r4, r5, r6, pc}
- 1199 .LVL145:
- 1200 .L98:
- 1201 .LCFI10:
- 1202 .cfi_def_cfa_offset 0
- 1203 .cfi_restore 4
- 1204 .cfi_restore 5
- 1205 .cfi_restore 6
- 1206 .cfi_restore 14
-ARM GAS /tmp/cc3KXoFF.s page 44
-
-
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 1207 .loc 1 165 0
- 1208 0096 0221 movs r1, #2
- 1209 .LVL146:
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 1210 .loc 1 306 0
- 1211 0098 0846 mov r0, r1
- 1212 .LVL147:
- 1213 009a 7047 bx lr
- 1214 .L109:
- 1215 .align 2
- 1216 .L108:
- 1217 009c 00000000 .word pFlash
- 1218 00a0 00200240 .word 1073881088
- 1219 .cfi_endproc
- 1220 .LFE65:
- 1222 .section .text.HAL_FLASHEx_Erase_IT,"ax",%progbits
- 1223 .align 1
- 1224 .global HAL_FLASHEx_Erase_IT
- 1225 .syntax unified
- 1226 .thumb
- 1227 .thumb_func
- 1228 .fpu softvfp
- 1230 HAL_FLASHEx_Erase_IT:
- 1231 .LFB66:
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** HAL_StatusTypeDef status = HAL_OK;
- 1232 .loc 1 320 0
- 1233 .cfi_startproc
- 1234 @ args = 0, pretend = 0, frame = 0
- 1235 @ frame_needed = 0, uses_anonymous_args = 0
- 1236 .LVL148:
- 1237 0000 08B5 push {r3, lr}
- 1238 .LCFI11:
- 1239 .cfi_def_cfa_offset 8
- 1240 .cfi_offset 3, -8
- 1241 .cfi_offset 14, -4
- 1242 .LVL149:
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 1243 .loc 1 324 0
- 1244 0002 144B ldr r3, .L117
- 1245 0004 1B7E ldrb r3, [r3, #24] @ zero_extendqisi2
- 1246 0006 012B cmp r3, #1
- 1247 0008 20D0 beq .L113
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 1248 .loc 1 324 0 is_stmt 0 discriminator 2
- 1249 000a 124B ldr r3, .L117
- 1250 000c 0122 movs r2, #1
- 1251 000e 1A76 strb r2, [r3, #24]
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 1252 .loc 1 327 0 is_stmt 1 discriminator 2
- 1253 0010 1B78 ldrb r3, [r3] @ zero_extendqisi2
- 1254 0012 EBB9 cbnz r3, .L114
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 1255 .loc 1 336 0
- 1256 0014 104A ldr r2, .L117+4
- 1257 0016 1369 ldr r3, [r2, #16]
- 1258 0018 43F4A053 orr r3, r3, #5120
-ARM GAS /tmp/cc3KXoFF.s page 45
-
-
- 1259 001c 1361 str r3, [r2, #16]
- 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** {
- 1260 .loc 1 343 0
- 1261 001e 0368 ldr r3, [r0]
- 1262 0020 022B cmp r3, #2
- 1263 0022 0BD0 beq .L116
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** pFlash.DataRemaining = pEraseInit->NbPages;
- 1264 .loc 1 357 0
- 1265 0024 0B4B ldr r3, .L117
- 1266 0026 0122 movs r2, #1
- 1267 0028 1A70 strb r2, [r3]
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** pFlash.Address = pEraseInit->PageAddress;
- 1268 .loc 1 358 0
- 1269 002a C268 ldr r2, [r0, #12]
- 1270 002c 5A60 str r2, [r3, #4]
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 1271 .loc 1 359 0
- 1272 002e 8268 ldr r2, [r0, #8]
- 1273 0030 9A60 str r2, [r3, #8]
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 1274 .loc 1 362 0
- 1275 0032 8068 ldr r0, [r0, #8]
- 1276 .LVL150:
- 1277 0034 FFF7FEFF bl FLASH_PageErase
- 1278 .LVL151:
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 1279 .loc 1 365 0
- 1280 0038 0020 movs r0, #0
- 1281 003a 08BD pop {r3, pc}
- 1282 .LVL152:
- 1283 .L116:
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** FLASH_MassErase(pEraseInit->Banks);
- 1284 .loc 1 346 0
- 1285 003c 0222 movs r2, #2
- 1286 003e 054B ldr r3, .L117
- 1287 0040 1A70 strb r2, [r3]
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 1288 .loc 1 347 0
- 1289 0042 4068 ldr r0, [r0, #4]
- 1290 .LVL153:
- 1291 0044 FFF7FEFF bl FLASH_MassErase
- 1292 .LVL154:
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 1293 .loc 1 365 0
- 1294 0048 0020 movs r0, #0
- 1295 004a 08BD pop {r3, pc}
- 1296 .LVL155:
- 1297 .L113:
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 1298 .loc 1 324 0
- 1299 004c 0220 movs r0, #2
- 1300 .LVL156:
- 1301 004e 08BD pop {r3, pc}
- 1302 .LVL157:
- 1303 .L114:
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c **** }
- 1304 .loc 1 329 0
-ARM GAS /tmp/cc3KXoFF.s page 46
-
-
- 1305 0050 0120 movs r0, #1
- 1306 .LVL158:
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_flash_ex.c ****
- 1307 .loc 1 366 0
- 1308 0052 08BD pop {r3, pc}
- 1309 .L118:
- 1310 .align 2
- 1311 .L117:
- 1312 0054 00000000 .word pFlash
- 1313 0058 00200240 .word 1073881088
- 1314 .cfi_endproc
- 1315 .LFE66:
- 1317 .text
- 1318 .Letext0:
- 1319 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 1320 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 1321 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 1322 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 1323 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 1324 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 1325 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h"
- 1326 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h"
- 1327 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
-ARM GAS /tmp/cc3KXoFF.s page 47
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_hal_flash_ex.c
- /tmp/cc3KXoFF.s:16 .text.FLASH_MassErase:0000000000000000 $t
- /tmp/cc3KXoFF.s:22 .text.FLASH_MassErase:0000000000000000 FLASH_MassErase
- /tmp/cc3KXoFF.s:48 .text.FLASH_MassErase:000000000000001c $d
- /tmp/cc3KXoFF.s:54 .text.FLASH_OB_GetWRP:0000000000000000 $t
- /tmp/cc3KXoFF.s:60 .text.FLASH_OB_GetWRP:0000000000000000 FLASH_OB_GetWRP
- /tmp/cc3KXoFF.s:75 .text.FLASH_OB_GetWRP:0000000000000008 $d
- /tmp/cc3KXoFF.s:80 .text.FLASH_OB_GetRDP:0000000000000000 $t
- /tmp/cc3KXoFF.s:86 .text.FLASH_OB_GetRDP:0000000000000000 FLASH_OB_GetRDP
- /tmp/cc3KXoFF.s:112 .text.FLASH_OB_GetRDP:0000000000000014 $d
- /tmp/cc3KXoFF.s:117 .text.FLASH_OB_GetUser:0000000000000000 $t
- /tmp/cc3KXoFF.s:123 .text.FLASH_OB_GetUser:0000000000000000 FLASH_OB_GetUser
- /tmp/cc3KXoFF.s:139 .text.FLASH_OB_GetUser:000000000000000c $d
- /tmp/cc3KXoFF.s:144 .text.FLASH_OB_RDP_LevelConfig:0000000000000000 $t
- /tmp/cc3KXoFF.s:150 .text.FLASH_OB_RDP_LevelConfig:0000000000000000 FLASH_OB_RDP_LevelConfig
- /tmp/cc3KXoFF.s:230 .text.FLASH_OB_RDP_LevelConfig:0000000000000064 $d
- /tmp/cc3KXoFF.s:237 .text.FLASH_OB_UserConfig:0000000000000000 $t
- /tmp/cc3KXoFF.s:243 .text.FLASH_OB_UserConfig:0000000000000000 FLASH_OB_UserConfig
- /tmp/cc3KXoFF.s:302 .text.FLASH_OB_UserConfig:0000000000000040 $d
- /tmp/cc3KXoFF.s:309 .text.FLASH_OB_ProgramData:0000000000000000 $t
- /tmp/cc3KXoFF.s:315 .text.FLASH_OB_ProgramData:0000000000000000 FLASH_OB_ProgramData
- /tmp/cc3KXoFF.s:374 .text.FLASH_OB_ProgramData:0000000000000040 $d
- /tmp/cc3KXoFF.s:380 .text.HAL_FLASHEx_OBErase:0000000000000000 $t
- /tmp/cc3KXoFF.s:387 .text.HAL_FLASHEx_OBErase:0000000000000000 HAL_FLASHEx_OBErase
- /tmp/cc3KXoFF.s:457 .text.HAL_FLASHEx_OBErase:0000000000000050 $d
- /tmp/cc3KXoFF.s:463 .text.FLASH_OB_EnableWRP:0000000000000000 $t
- /tmp/cc3KXoFF.s:469 .text.FLASH_OB_EnableWRP:0000000000000000 FLASH_OB_EnableWRP
- /tmp/cc3KXoFF.s:613 .text.FLASH_OB_EnableWRP:00000000000000ac $d
- /tmp/cc3KXoFF.s:620 .text.FLASH_OB_DisableWRP:0000000000000000 $t
- /tmp/cc3KXoFF.s:626 .text.FLASH_OB_DisableWRP:0000000000000000 FLASH_OB_DisableWRP
- /tmp/cc3KXoFF.s:774 .text.FLASH_OB_DisableWRP:00000000000000b4 $d
- /tmp/cc3KXoFF.s:781 .text.HAL_FLASHEx_OBProgram:0000000000000000 $t
- /tmp/cc3KXoFF.s:788 .text.HAL_FLASHEx_OBProgram:0000000000000000 HAL_FLASHEx_OBProgram
- /tmp/cc3KXoFF.s:942 .text.HAL_FLASHEx_OBProgram:00000000000000a4 $d
- /tmp/cc3KXoFF.s:947 .text.HAL_FLASHEx_OBGetConfig:0000000000000000 $t
- /tmp/cc3KXoFF.s:954 .text.HAL_FLASHEx_OBGetConfig:0000000000000000 HAL_FLASHEx_OBGetConfig
- /tmp/cc3KXoFF.s:987 .text.HAL_FLASHEx_OBGetUserData:0000000000000000 $t
- /tmp/cc3KXoFF.s:994 .text.HAL_FLASHEx_OBGetUserData:0000000000000000 HAL_FLASHEx_OBGetUserData
- /tmp/cc3KXoFF.s:1026 .text.HAL_FLASHEx_OBGetUserData:000000000000001c $d
- /tmp/cc3KXoFF.s:1032 .text.FLASH_PageErase:0000000000000000 $t
- /tmp/cc3KXoFF.s:1039 .text.FLASH_PageErase:0000000000000000 FLASH_PageErase
- /tmp/cc3KXoFF.s:1066 .text.FLASH_PageErase:000000000000001c $d
- /tmp/cc3KXoFF.s:1072 .text.HAL_FLASHEx_Erase:0000000000000000 $t
- /tmp/cc3KXoFF.s:1079 .text.HAL_FLASHEx_Erase:0000000000000000 HAL_FLASHEx_Erase
- /tmp/cc3KXoFF.s:1217 .text.HAL_FLASHEx_Erase:000000000000009c $d
- /tmp/cc3KXoFF.s:1223 .text.HAL_FLASHEx_Erase_IT:0000000000000000 $t
- /tmp/cc3KXoFF.s:1230 .text.HAL_FLASHEx_Erase_IT:0000000000000000 HAL_FLASHEx_Erase_IT
- /tmp/cc3KXoFF.s:1312 .text.HAL_FLASHEx_Erase_IT:0000000000000054 $d
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-pFlash
-FLASH_WaitForLastOperation
diff --git a/build/stm32f1xx_hal_flash_ex.o b/build/stm32f1xx_hal_flash_ex.o
deleted file mode 100644
index a8625d7..0000000
Binary files a/build/stm32f1xx_hal_flash_ex.o and /dev/null differ
diff --git a/build/stm32f1xx_hal_gpio.d b/build/stm32f1xx_hal_gpio.d
deleted file mode 100644
index de8b04c..0000000
--- a/build/stm32f1xx_hal_gpio.d
+++ /dev/null
@@ -1,93 +0,0 @@
-build/stm32f1xx_hal_gpio.o: \
- Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/stm32f1xx_hal_gpio.lst b/build/stm32f1xx_hal_gpio.lst
deleted file mode 100644
index 84b605d..0000000
--- a/build/stm32f1xx_hal_gpio.lst
+++ /dev/null
@@ -1,1561 +0,0 @@
-ARM GAS /tmp/ccoYn8tw.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "stm32f1xx_hal_gpio.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.HAL_GPIO_Init,"ax",%progbits
- 16 .align 1
- 17 .global HAL_GPIO_Init
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 HAL_GPIO_Init:
- 24 .LFB65:
- 25 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c"
- 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /**
- 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** ******************************************************************************
- 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @file stm32f1xx_hal_gpio.c
- 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @author MCD Application Team
- 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @brief GPIO HAL module driver.
- 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * This file provides firmware functions to manage the following
- 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * functionalities of the General Purpose Input/Output (GPIO) peripheral:
- 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * + Initialization and de-initialization functions
- 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * + IO operation functions
- 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** *
- 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** @verbatim
- 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** ==============================================================================
- 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** ##### GPIO Peripheral features #####
- 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** ==============================================================================
- 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** [..]
- 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** Subject to the specific hardware characteristics of each I/O port listed in the datasheet, each
- 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** port bit of the General Purpose IO (GPIO) Ports, can be individually configured by software
- 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** in several modes:
- 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** (+) Input mode
- 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** (+) Analog mode
- 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** (+) Output mode
- 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** (+) Alternate function mode
- 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** (+) External interrupt/event lines
- 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** [..]
- 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** During and just after reset, the alternate functions and external interrupt
- 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** lines are not active and the I/O ports are configured in input floating mode.
- 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** [..]
- 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** All GPIO pins have weak internal pull-up and pull-down resistors, which can be
- 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** activated or not.
- 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** [..]
-ARM GAS /tmp/ccoYn8tw.s page 2
-
-
- 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** In Output or Alternate mode, each IO can be configured on open-drain or push-pull
- 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** type and the IO speed can be selected depending on the VDD value.
- 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** [..]
- 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** All ports have external interrupt/event capability. To use external interrupt
- 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** lines, the port must be configured in input mode. All available GPIO pins are
- 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** connected to the 16 external interrupt/event lines from EXTI0 to EXTI15.
- 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** [..]
- 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** The external interrupt/event controller consists of up to 20 edge detectors in connectivity
- 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** line devices, or 19 edge detectors in other devices for generating event/interrupt requests.
- 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** Each input line can be independently configured to select the type (event or interrupt) and
- 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** the corresponding trigger event (rising or falling or both). Each line can also masked
- 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** independently. A pending register maintains the status line of the interrupt requests
- 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** ##### How to use this driver #####
- 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** ==============================================================================
- 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** [..]
- 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** (#) Enable the GPIO APB2 clock using the following function : __HAL_RCC_GPIOx_CLK_ENABLE().
- 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** (#) Configure the GPIO pin(s) using HAL_GPIO_Init().
- 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** (++) Configure the IO mode using "Mode" member from GPIO_InitTypeDef structure
- 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** (++) Activate Pull-up, Pull-down resistor using "Pull" member from GPIO_InitTypeDef
- 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** structure.
- 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** (++) In case of Output or alternate function mode selection: the speed is
- 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** configured through "Speed" member from GPIO_InitTypeDef structure
- 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** (++) Analog mode is required when a pin is to be used as ADC channel
- 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** or DAC output.
- 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** (++) In case of external interrupt/event selection the "Mode" member from
- 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** GPIO_InitTypeDef structure select the type (interrupt or event) and
- 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** the corresponding trigger event (rising or falling or both).
- 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** (#) In case of external interrupt/event mode selection, configure NVIC IRQ priority
- 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** mapped to the EXTI line using HAL_NVIC_SetPriority() and enable it using
- 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** HAL_NVIC_EnableIRQ().
- 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** (#) To get the level of a pin configured in input mode use HAL_GPIO_ReadPin().
- 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** (#) To set/reset the level of a pin configured in output mode use
- 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** HAL_GPIO_WritePin()/HAL_GPIO_TogglePin().
- 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** (#) To lock pin configuration until next reset use HAL_GPIO_LockPin().
- 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** (#) During and just after reset, the alternate functions are not
- 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** active and the GPIO pins are configured in input floating mode (except JTAG
- 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** pins).
- 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** (#) The LSE oscillator pins OSC32_IN and OSC32_OUT can be used as general purpose
- 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** (PC14 and PC15, respectively) when the LSE oscillator is off. The LSE has
- 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** priority over the GPIO function.
- 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** (#) The HSE oscillator pins OSC_IN/OSC_OUT can be used as
- 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** general purpose PD0 and PD1, respectively, when the HSE oscillator is off.
- 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** The HSE has priority over the GPIO function.
- 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** @endverbatim
- 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** ******************************************************************************
-ARM GAS /tmp/ccoYn8tw.s page 3
-
-
- 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @attention
- 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** *
- 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * © Copyright (c) 2016 STMicroelectronics.
- 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * All rights reserved.
- 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** *
- 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * the "License"; You may not use this file except in compliance with the
- 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * License. You may obtain a copy of the License at:
- 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * opensource.org/licenses/BSD-3-Clause
- 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** *
- 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** ******************************************************************************
- 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** */
- 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Includes ------------------------------------------------------------------*/
- 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** #include "stm32f1xx_hal.h"
- 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /** @addtogroup STM32F1xx_HAL_Driver
- 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @{
- 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** */
- 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /** @defgroup GPIO GPIO
- 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @brief GPIO HAL module driver
- 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @{
- 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** */
- 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** #ifdef HAL_GPIO_MODULE_ENABLED
- 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Private typedef -----------------------------------------------------------*/
- 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Private define ------------------------------------------------------------*/
- 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /** @addtogroup GPIO_Private_Constants GPIO Private Constants
- 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @{
- 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** */
- 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** #define GPIO_MODE 0x00000003u
- 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** #define EXTI_MODE 0x10000000u
- 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** #define GPIO_MODE_IT 0x00010000u
- 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** #define GPIO_MODE_EVT 0x00020000u
- 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** #define RISING_EDGE 0x00100000u
- 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** #define FALLING_EDGE 0x00200000u
- 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** #define GPIO_OUTPUT_TYPE 0x00000010u
- 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** #define GPIO_NUMBER 16u
- 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Definitions for bit manipulation of CRL and CRH register */
- 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** #define GPIO_CR_MODE_INPUT 0x00000000u /*!< 00: Input mode (reset state) */
- 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** #define GPIO_CR_CNF_ANALOG 0x00000000u /*!< 00: Analog mode */
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** #define GPIO_CR_CNF_INPUT_FLOATING 0x00000004u /*!< 01: Floating input (reset state) */
- 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** #define GPIO_CR_CNF_INPUT_PU_PD 0x00000008u /*!< 10: Input with pull-up / pull-down */
- 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** #define GPIO_CR_CNF_GP_OUTPUT_PP 0x00000000u /*!< 00: General purpose output push-pull */
- 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** #define GPIO_CR_CNF_GP_OUTPUT_OD 0x00000004u /*!< 01: General purpose output Open-drain */
- 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** #define GPIO_CR_CNF_AF_OUTPUT_PP 0x00000008u /*!< 10: Alternate function output Push-pull */
- 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** #define GPIO_CR_CNF_AF_OUTPUT_OD 0x0000000Cu /*!< 11: Alternate function output Open-drain */
- 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /**
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @}
- 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** */
- 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Private macro -------------------------------------------------------------*/
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Private variables ---------------------------------------------------------*/
-ARM GAS /tmp/ccoYn8tw.s page 4
-
-
- 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Private function prototypes -----------------------------------------------*/
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Private functions ---------------------------------------------------------*/
- 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Exported functions --------------------------------------------------------*/
- 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /** @defgroup GPIO_Exported_Functions GPIO Exported Functions
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @{
- 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** */
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /** @defgroup GPIO_Exported_Functions_Group1 Initialization and de-initialization functions
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @brief Initialization and Configuration functions
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** *
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** @verbatim
- 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** ===============================================================================
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** ##### Initialization and de-initialization functions #####
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** ===============================================================================
- 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** [..]
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** This section provides functions allowing to initialize and de-initialize the GPIOs
- 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** to be ready for use.
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** @endverbatim
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @{
- 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** */
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /**
- 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @brief Initializes the GPIOx peripheral according to the specified parameters in the GPIO_Init
- 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @param GPIOx: where x can be (A..G depending on device used) to select the GPIO peripheral
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @param GPIO_Init: pointer to a GPIO_InitTypeDef structure that contains
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * the configuration information for the specified GPIO peripheral.
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @retval None
- 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** */
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** void HAL_GPIO_Init(GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init)
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 26 .loc 1 179 0
- 27 .cfi_startproc
- 28 @ args = 0, pretend = 0, frame = 8
- 29 @ frame_needed = 0, uses_anonymous_args = 0
- 30 .LVL0:
- 31 0000 F0B5 push {r4, r5, r6, r7, lr}
- 32 .LCFI0:
- 33 .cfi_def_cfa_offset 20
- 34 .cfi_offset 4, -20
- 35 .cfi_offset 5, -16
- 36 .cfi_offset 6, -12
- 37 .cfi_offset 7, -8
- 38 .cfi_offset 14, -4
- 39 0002 83B0 sub sp, sp, #12
- 40 .LCFI1:
- 41 .cfi_def_cfa_offset 32
- 42 .LVL1:
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** uint32_t position = 0x00u;
- 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** uint32_t ioposition;
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** uint32_t iocurrent;
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** uint32_t temp;
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** uint32_t config = 0x00u;
- 43 .loc 1 184 0
- 44 0004 0026 movs r6, #0
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** uint32_t position = 0x00u;
-ARM GAS /tmp/ccoYn8tw.s page 5
-
-
- 45 .loc 1 180 0
- 46 0006 3446 mov r4, r6
- 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** __IO uint32_t *configregister; /* Store the address of CRL or CRH register based on pin number */
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** uint32_t registeroffset; /* offset used during computation of CNF and MODE bits placement i
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Check the parameters */
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** assert_param(IS_GPIO_ALL_INSTANCE(GPIOx));
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** assert_param(IS_GPIO_PIN(GPIO_Init->Pin));
- 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** assert_param(IS_GPIO_MODE(GPIO_Init->Mode));
- 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Configure the port pins */
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** while (((GPIO_Init->Pin) >> position) != 0x00u)
- 47 .loc 1 194 0
- 48 0008 79E0 b .L2
- 49 .LVL2:
- 50 .L39:
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Get the IO position */
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** ioposition = (0x01uL << position);
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Get the current IO position */
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** iocurrent = (uint32_t)(GPIO_Init->Pin) & ioposition;
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** if (iocurrent == ioposition)
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Check the Alternate function parameters */
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** assert_param(IS_GPIO_AF_INSTANCE(GPIOx));
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Based on the required mode, filling config variable with MODEy[1:0] and CNFy[3:2] correspo
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** switch (GPIO_Init->Mode)
- 51 .loc 1 208 0
- 52 000a 002D cmp r5, #0
- 53 000c 00F0AA80 beq .L9
- 54 0010 012D cmp r5, #1
- 55 0012 00D1 bne .L11
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* If we are configuring the pin in OUTPUT push-pull mode */
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** case GPIO_MODE_OUTPUT_PP:
- 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Check the GPIO speed parameter */
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** assert_param(IS_GPIO_SPEED(GPIO_Init->Speed));
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** config = GPIO_Init->Speed + GPIO_CR_CNF_GP_OUTPUT_PP;
- 56 .loc 1 214 0
- 57 0014 CE68 ldr r6, [r1, #12]
- 58 .LVL3:
- 59 .L11:
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** break;
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* If we are configuring the pin in OUTPUT open-drain mode */
- 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** case GPIO_MODE_OUTPUT_OD:
- 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Check the GPIO speed parameter */
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** assert_param(IS_GPIO_SPEED(GPIO_Init->Speed));
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** config = GPIO_Init->Speed + GPIO_CR_CNF_GP_OUTPUT_OD;
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** break;
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* If we are configuring the pin in ALTERNATE FUNCTION push-pull mode */
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** case GPIO_MODE_AF_PP:
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Check the GPIO speed parameter */
-ARM GAS /tmp/ccoYn8tw.s page 6
-
-
- 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** assert_param(IS_GPIO_SPEED(GPIO_Init->Speed));
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** config = GPIO_Init->Speed + GPIO_CR_CNF_AF_OUTPUT_PP;
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** break;
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* If we are configuring the pin in ALTERNATE FUNCTION open-drain mode */
- 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** case GPIO_MODE_AF_OD:
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Check the GPIO speed parameter */
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** assert_param(IS_GPIO_SPEED(GPIO_Init->Speed));
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** config = GPIO_Init->Speed + GPIO_CR_CNF_AF_OUTPUT_OD;
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** break;
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* If we are configuring the pin in INPUT (also applicable to EVENT and IT mode) */
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** case GPIO_MODE_INPUT:
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** case GPIO_MODE_IT_RISING:
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** case GPIO_MODE_IT_FALLING:
- 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** case GPIO_MODE_IT_RISING_FALLING:
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** case GPIO_MODE_EVT_RISING:
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** case GPIO_MODE_EVT_FALLING:
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** case GPIO_MODE_EVT_RISING_FALLING:
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Check the GPIO pull parameter */
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** assert_param(IS_GPIO_PULL(GPIO_Init->Pull));
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** if (GPIO_Init->Pull == GPIO_NOPULL)
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** config = GPIO_CR_MODE_INPUT + GPIO_CR_CNF_INPUT_FLOATING;
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** else if (GPIO_Init->Pull == GPIO_PULLUP)
- 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** config = GPIO_CR_MODE_INPUT + GPIO_CR_CNF_INPUT_PU_PD;
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Set the corresponding ODR bit */
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** GPIOx->BSRR = ioposition;
- 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** else /* GPIO_PULLDOWN */
- 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** config = GPIO_CR_MODE_INPUT + GPIO_CR_CNF_INPUT_PU_PD;
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Reset the corresponding ODR bit */
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** GPIOx->BRR = ioposition;
- 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** break;
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* If we are configuring the pin in INPUT analog mode */
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** case GPIO_MODE_ANALOG:
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** config = GPIO_CR_MODE_INPUT + GPIO_CR_CNF_ANALOG;
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** break;
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Parameters are checked with assert_param */
- 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** default:
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** break;
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Check if the current bit belongs to first half or last half of the pin count number
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** in order to address CRH or CRL register*/
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** configregister = (iocurrent < GPIO_PIN_8) ? &GPIOx->CRL : &GPIOx->CRH;
- 60 .loc 1 280 0
- 61 0016 FF2B cmp r3, #255
- 62 0018 00F2B880 bhi .L15
-ARM GAS /tmp/ccoYn8tw.s page 7
-
-
- 63 .loc 1 280 0 is_stmt 0 discriminator 1
- 64 001c 8646 mov lr, r0
- 65 .L16:
- 66 .LVL4:
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** registeroffset = (iocurrent < GPIO_PIN_8) ? (position << 2u) : ((position - 8u) << 2u);
- 67 .loc 1 281 0 is_stmt 1 discriminator 4
- 68 001e FF2B cmp r3, #255
- 69 0020 00F2B780 bhi .L17
- 70 .loc 1 281 0 is_stmt 0 discriminator 1
- 71 0024 A500 lsls r5, r4, #2
- 72 .L18:
- 73 .LVL5:
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Apply the new configuration of the pin to the register */
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** MODIFY_REG((*configregister), ((GPIO_CRL_MODE0 | GPIO_CRL_CNF0) << registeroffset), (config <
- 74 .loc 1 284 0 is_stmt 1 discriminator 4
- 75 0026 DEF80020 ldr r2, [lr]
- 76 .LVL6:
- 77 002a 0F27 movs r7, #15
- 78 002c AF40 lsls r7, r7, r5
- 79 002e 22EA0702 bic r2, r2, r7
- 80 0032 06FA05F5 lsl r5, r6, r5
- 81 .LVL7:
- 82 0036 2A43 orrs r2, r2, r5
- 83 0038 CEF80020 str r2, [lr]
- 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /*--------------------- EXTI Mode Configuration ------------------------*/
- 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Configure the External Interrupt or event for the current IO */
- 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** if ((GPIO_Init->Mode & EXTI_MODE) == EXTI_MODE)
- 84 .loc 1 288 0 discriminator 4
- 85 003c 4A68 ldr r2, [r1, #4]
- 86 003e 12F0805F tst r2, #268435456
- 87 0042 5BD0 beq .L3
- 88 .LBB2:
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Enable AFIO Clock */
- 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** __HAL_RCC_AFIO_CLK_ENABLE();
- 89 .loc 1 291 0
- 90 0044 684A ldr r2, .L42
- 91 0046 9569 ldr r5, [r2, #24]
- 92 0048 45F00105 orr r5, r5, #1
- 93 004c 9561 str r5, [r2, #24]
- 94 004e 9269 ldr r2, [r2, #24]
- 95 0050 02F00102 and r2, r2, #1
- 96 0054 0192 str r2, [sp, #4]
- 97 0056 019A ldr r2, [sp, #4]
- 98 .LBE2:
- 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** temp = AFIO->EXTICR[position >> 2u];
- 99 .loc 1 292 0
- 100 0058 A208 lsrs r2, r4, #2
- 101 005a 971C adds r7, r2, #2
- 102 005c 634D ldr r5, .L42+4
- 103 005e 55F82750 ldr r5, [r5, r7, lsl #2]
- 104 .LVL8:
- 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** CLEAR_BIT(temp, (0x0Fu) << (4u * (position & 0x03u)));
- 105 .loc 1 293 0
- 106 0062 04F00307 and r7, r4, #3
-ARM GAS /tmp/ccoYn8tw.s page 8
-
-
- 107 0066 4FEA870E lsl lr, r7, #2
- 108 .LVL9:
- 109 006a 0F27 movs r7, #15
- 110 006c 07FA0EF7 lsl r7, r7, lr
- 111 0070 25EA0705 bic r5, r5, r7
- 112 .LVL10:
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** SET_BIT(temp, (GPIO_GET_INDEX(GPIOx)) << (4u * (position & 0x03u)));
- 113 .loc 1 294 0
- 114 0074 5E4F ldr r7, .L42+8
- 115 0076 B842 cmp r0, r7
- 116 0078 00F09180 beq .L30
- 117 .loc 1 294 0 is_stmt 0 discriminator 1
- 118 007c 07F58067 add r7, r7, #1024
- 119 0080 B842 cmp r0, r7
- 120 0082 00F08E80 beq .L31
- 121 .loc 1 294 0 discriminator 3
- 122 0086 07F58067 add r7, r7, #1024
- 123 008a B842 cmp r0, r7
- 124 008c 00F08B80 beq .L32
- 125 .loc 1 294 0 discriminator 5
- 126 0090 07F58067 add r7, r7, #1024
- 127 0094 B842 cmp r0, r7
- 128 0096 00F08880 beq .L33
- 129 .loc 1 294 0 discriminator 7
- 130 009a 07F58067 add r7, r7, #1024
- 131 009e B842 cmp r0, r7
- 132 00a0 00F08580 beq .L34
- 133 .loc 1 294 0 discriminator 9
- 134 00a4 07F58067 add r7, r7, #1024
- 135 00a8 B842 cmp r0, r7
- 136 00aa 76D0 beq .L37
- 137 .loc 1 294 0
- 138 00ac 0627 movs r7, #6
- 139 .L19:
- 140 .loc 1 294 0 discriminator 24
- 141 00ae 07FA0EF7 lsl r7, r7, lr
- 142 00b2 3D43 orrs r5, r5, r7
- 143 .LVL11:
- 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** AFIO->EXTICR[position >> 2u] = temp;
- 144 .loc 1 295 0 is_stmt 1 discriminator 24
- 145 00b4 0232 adds r2, r2, #2
- 146 00b6 4D4F ldr r7, .L42+4
- 147 00b8 47F82250 str r5, [r7, r2, lsl #2]
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Configure the interrupt mask */
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** if ((GPIO_Init->Mode & GPIO_MODE_IT) == GPIO_MODE_IT)
- 148 .loc 1 299 0 discriminator 24
- 149 00bc 4A68 ldr r2, [r1, #4]
- 150 00be 12F4803F tst r2, #65536
- 151 00c2 76D0 beq .L20
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** SET_BIT(EXTI->IMR, iocurrent);
- 152 .loc 1 301 0
- 153 00c4 4B4D ldr r5, .L42+12
- 154 .LVL12:
- 155 00c6 2A68 ldr r2, [r5]
-ARM GAS /tmp/ccoYn8tw.s page 9
-
-
- 156 00c8 1A43 orrs r2, r2, r3
- 157 00ca 2A60 str r2, [r5]
- 158 .LVL13:
- 159 .L21:
- 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** else
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** CLEAR_BIT(EXTI->IMR, iocurrent);
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Configure the event mask */
- 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** if ((GPIO_Init->Mode & GPIO_MODE_EVT) == GPIO_MODE_EVT)
- 160 .loc 1 309 0
- 161 00cc 4A68 ldr r2, [r1, #4]
- 162 00ce 12F4003F tst r2, #131072
- 163 00d2 74D0 beq .L22
- 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** SET_BIT(EXTI->EMR, iocurrent);
- 164 .loc 1 311 0
- 165 00d4 474D ldr r5, .L42+12
- 166 00d6 6A68 ldr r2, [r5, #4]
- 167 00d8 1A43 orrs r2, r2, r3
- 168 00da 6A60 str r2, [r5, #4]
- 169 .L23:
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** else
- 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** CLEAR_BIT(EXTI->EMR, iocurrent);
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Enable or disable the rising trigger */
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** if ((GPIO_Init->Mode & RISING_EDGE) == RISING_EDGE)
- 170 .loc 1 319 0
- 171 00dc 4A68 ldr r2, [r1, #4]
- 172 00de 12F4801F tst r2, #1048576
- 173 00e2 72D0 beq .L24
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** SET_BIT(EXTI->RTSR, iocurrent);
- 174 .loc 1 321 0
- 175 00e4 434D ldr r5, .L42+12
- 176 00e6 AA68 ldr r2, [r5, #8]
- 177 00e8 1A43 orrs r2, r2, r3
- 178 00ea AA60 str r2, [r5, #8]
- 179 .L25:
- 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** else
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** CLEAR_BIT(EXTI->RTSR, iocurrent);
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Enable or disable the falling trigger */
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** if ((GPIO_Init->Mode & FALLING_EDGE) == FALLING_EDGE)
- 180 .loc 1 329 0
- 181 00ec 4A68 ldr r2, [r1, #4]
- 182 00ee 12F4001F tst r2, #2097152
- 183 00f2 70D0 beq .L26
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
-ARM GAS /tmp/ccoYn8tw.s page 10
-
-
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** SET_BIT(EXTI->FTSR, iocurrent);
- 184 .loc 1 331 0
- 185 00f4 3F4D ldr r5, .L42+12
- 186 00f6 EA68 ldr r2, [r5, #12]
- 187 00f8 1343 orrs r3, r3, r2
- 188 .LVL14:
- 189 00fa EB60 str r3, [r5, #12]
- 190 .L3:
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** else
- 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** CLEAR_BIT(EXTI->FTSR, iocurrent);
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** position++;
- 191 .loc 1 340 0
- 192 00fc 0134 adds r4, r4, #1
- 193 .LVL15:
- 194 .L2:
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 195 .loc 1 194 0
- 196 00fe 0B68 ldr r3, [r1]
- 197 0100 33FA04F2 lsrs r2, r3, r4
- 198 0104 6DD0 beq .L38
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 199 .loc 1 197 0
- 200 0106 0122 movs r2, #1
- 201 0108 A240 lsls r2, r2, r4
- 202 .LVL16:
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 203 .loc 1 200 0
- 204 010a 1340 ands r3, r3, r2
- 205 .LVL17:
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 206 .loc 1 202 0
- 207 010c 9A42 cmp r2, r3
- 208 010e F5D1 bne .L3
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 209 .loc 1 208 0
- 210 0110 4D68 ldr r5, [r1, #4]
- 211 0112 122D cmp r5, #18
- 212 0114 30D0 beq .L5
- 213 0116 0BD8 bhi .L6
- 214 0118 022D cmp r5, #2
- 215 011a 2AD0 beq .L7
- 216 011c 7FF675AF bls .L39
- 217 0120 032D cmp r5, #3
- 218 0122 2FD0 beq .L28
- 219 0124 112D cmp r5, #17
- 220 0126 7FF476AF bne .L11
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** break;
- 221 .loc 1 221 0
- 222 012a CE68 ldr r6, [r1, #12]
- 223 .LVL18:
- 224 012c 0436 adds r6, r6, #4
-ARM GAS /tmp/ccoYn8tw.s page 11
-
-
- 225 .LVL19:
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 226 .loc 1 222 0
- 227 012e 72E7 b .L11
- 228 .L6:
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 229 .loc 1 208 0
- 230 0130 314F ldr r7, .L42+16
- 231 0132 BD42 cmp r5, r7
- 232 0134 16D0 beq .L9
- 233 0136 0CD9 bls .L40
- 234 0138 304F ldr r7, .L42+20
- 235 013a BD42 cmp r5, r7
- 236 013c 12D0 beq .L9
- 237 013e 07F58037 add r7, r7, #65536
- 238 0142 BD42 cmp r5, r7
- 239 0144 0ED0 beq .L9
- 240 0146 A7F58017 sub r7, r7, #1048576
- 241 014a BD42 cmp r5, r7
- 242 014c 7FF463AF bne .L11
- 243 0150 08E0 b .L9
- 244 .L40:
- 245 0152 A7F58017 sub r7, r7, #1048576
- 246 0156 BD42 cmp r5, r7
- 247 0158 04D0 beq .L9
- 248 015a 07F58037 add r7, r7, #65536
- 249 015e BD42 cmp r5, r7
- 250 0160 7FF459AF bne .L11
- 251 .L9:
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 252 .loc 1 248 0
- 253 0164 8D68 ldr r5, [r1, #8]
- 254 0166 7DB1 cbz r5, .L29
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 255 .loc 1 252 0
- 256 0168 012D cmp r5, #1
- 257 016a 08D0 beq .L41
- 258 .LVL20:
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 259 .loc 1 264 0
- 260 016c 4261 str r2, [r0, #20]
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 261 .loc 1 261 0
- 262 016e 0826 movs r6, #8
- 263 0170 51E7 b .L11
- 264 .LVL21:
- 265 .L7:
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** break;
- 266 .loc 1 228 0
- 267 0172 CE68 ldr r6, [r1, #12]
- 268 .LVL22:
- 269 0174 0836 adds r6, r6, #8
- 270 .LVL23:
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 271 .loc 1 229 0
- 272 0176 4EE7 b .L11
- 273 .L5:
-ARM GAS /tmp/ccoYn8tw.s page 12
-
-
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** break;
- 274 .loc 1 235 0
- 275 0178 CE68 ldr r6, [r1, #12]
- 276 .LVL24:
- 277 017a 0C36 adds r6, r6, #12
- 278 .LVL25:
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 279 .loc 1 236 0
- 280 017c 4BE7 b .L11
- 281 .L41:
- 282 .LVL26:
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 283 .loc 1 257 0
- 284 017e 0261 str r2, [r0, #16]
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 285 .loc 1 254 0
- 286 0180 0826 movs r6, #8
- 287 0182 48E7 b .L11
- 288 .LVL27:
- 289 .L28:
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** break;
- 290 .loc 1 270 0
- 291 0184 0026 movs r6, #0
- 292 .LVL28:
- 293 0186 46E7 b .L11
- 294 .LVL29:
- 295 .L29:
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 296 .loc 1 250 0
- 297 0188 0426 movs r6, #4
- 298 .LVL30:
- 299 018a 44E7 b .L11
- 300 .LVL31:
- 301 .L15:
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** registeroffset = (iocurrent < GPIO_PIN_8) ? (position << 2u) : ((position - 8u) << 2u);
- 302 .loc 1 280 0 discriminator 2
- 303 018c 00F1040E add lr, r0, #4
- 304 0190 45E7 b .L16
- 305 .LVL32:
- 306 .L17:
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 307 .loc 1 281 0 discriminator 2
- 308 0192 A4F10805 sub r5, r4, #8
- 309 0196 AD00 lsls r5, r5, #2
- 310 0198 45E7 b .L18
- 311 .LVL33:
- 312 .L37:
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** AFIO->EXTICR[position >> 2u] = temp;
- 313 .loc 1 294 0
- 314 019a 0527 movs r7, #5
- 315 019c 87E7 b .L19
- 316 .L30:
- 317 019e 0027 movs r7, #0
- 318 01a0 85E7 b .L19
- 319 .L31:
- 320 01a2 0127 movs r7, #1
- 321 .LVL34:
-ARM GAS /tmp/ccoYn8tw.s page 13
-
-
- 322 01a4 83E7 b .L19
- 323 .LVL35:
- 324 .L32:
- 325 01a6 0227 movs r7, #2
- 326 01a8 81E7 b .L19
- 327 .L33:
- 328 01aa 0327 movs r7, #3
- 329 01ac 7FE7 b .L19
- 330 .L34:
- 331 01ae 0427 movs r7, #4
- 332 01b0 7DE7 b .L19
- 333 .L20:
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 334 .loc 1 305 0
- 335 01b2 104D ldr r5, .L42+12
- 336 .LVL36:
- 337 01b4 2A68 ldr r2, [r5]
- 338 01b6 22EA0302 bic r2, r2, r3
- 339 01ba 2A60 str r2, [r5]
- 340 .LVL37:
- 341 01bc 86E7 b .L21
- 342 .L22:
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 343 .loc 1 315 0
- 344 01be 0D4D ldr r5, .L42+12
- 345 01c0 6A68 ldr r2, [r5, #4]
- 346 01c2 22EA0302 bic r2, r2, r3
- 347 01c6 6A60 str r2, [r5, #4]
- 348 01c8 88E7 b .L23
- 349 .L24:
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 350 .loc 1 325 0
- 351 01ca 0A4D ldr r5, .L42+12
- 352 01cc AA68 ldr r2, [r5, #8]
- 353 01ce 22EA0302 bic r2, r2, r3
- 354 01d2 AA60 str r2, [r5, #8]
- 355 01d4 8AE7 b .L25
- 356 .L26:
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 357 .loc 1 335 0
- 358 01d6 074D ldr r5, .L42+12
- 359 01d8 EA68 ldr r2, [r5, #12]
- 360 01da 22EA0303 bic r3, r2, r3
- 361 .LVL38:
- 362 01de EB60 str r3, [r5, #12]
- 363 01e0 8CE7 b .L3
- 364 .LVL39:
- 365 .L38:
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 366 .loc 1 342 0
- 367 01e2 03B0 add sp, sp, #12
- 368 .LCFI2:
- 369 .cfi_def_cfa_offset 20
- 370 @ sp needed
- 371 01e4 F0BD pop {r4, r5, r6, r7, pc}
- 372 .LVL40:
-ARM GAS /tmp/ccoYn8tw.s page 14
-
-
- 373 .L43:
- 374 01e6 00BF .align 2
- 375 .L42:
- 376 01e8 00100240 .word 1073876992
- 377 01ec 00000140 .word 1073807360
- 378 01f0 00080140 .word 1073809408
- 379 01f4 00040140 .word 1073808384
- 380 01f8 00002110 .word 270598144
- 381 01fc 00003110 .word 271646720
- 382 .cfi_endproc
- 383 .LFE65:
- 385 .section .text.HAL_GPIO_DeInit,"ax",%progbits
- 386 .align 1
- 387 .global HAL_GPIO_DeInit
- 388 .syntax unified
- 389 .thumb
- 390 .thumb_func
- 391 .fpu softvfp
- 393 HAL_GPIO_DeInit:
- 394 .LFB66:
- 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /**
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @brief De-initializes the GPIOx peripheral registers to their default reset values.
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @param GPIOx: where x can be (A..G depending on device used) to select the GPIO peripheral
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @param GPIO_Pin: specifies the port bit to be written.
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * This parameter can be one of GPIO_PIN_x where x can be (0..15).
- 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @retval None
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** */
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** void HAL_GPIO_DeInit(GPIO_TypeDef *GPIOx, uint32_t GPIO_Pin)
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 395 .loc 1 352 0
- 396 .cfi_startproc
- 397 @ args = 0, pretend = 0, frame = 0
- 398 @ frame_needed = 0, uses_anonymous_args = 0
- 399 .LVL41:
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** uint32_t position = 0x00u;
- 400 .loc 1 353 0
- 401 0000 0022 movs r2, #0
- 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** uint32_t iocurrent;
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** uint32_t tmp;
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** __IO uint32_t *configregister; /* Store the address of CRL or CRH register based on pin number */
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** uint32_t registeroffset;
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Check the parameters */
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** assert_param(IS_GPIO_ALL_INSTANCE(GPIOx));
- 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** assert_param(IS_GPIO_PIN(GPIO_Pin));
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Configure the port pins */
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** while ((GPIO_Pin >> position) != 0u)
- 402 .loc 1 364 0
- 403 0002 73E0 b .L61
- 404 .LVL42:
- 405 .L68:
- 406 .LCFI3:
- 407 .cfi_def_cfa_offset 20
- 408 .cfi_offset 4, -20
- 409 .cfi_offset 5, -16
-ARM GAS /tmp/ccoYn8tw.s page 15
-
-
- 410 .cfi_offset 6, -12
- 411 .cfi_offset 7, -8
- 412 .cfi_offset 14, -4
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Get current io position */
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** iocurrent = (GPIO_Pin) & (1uL << position);
- 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** if (iocurrent)
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /*------------------------- EXTI Mode Configuration --------------------*/
- 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Clear the External Interrupt or Event for the current IO */
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** tmp = AFIO->EXTICR[position >> 2u];
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** tmp &= 0x0FuL << (4u * (position & 0x03u));
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** if (tmp == (GPIO_GET_INDEX(GPIOx) << (4u * (position & 0x03u))))
- 413 .loc 1 376 0
- 414 0004 0526 movs r6, #5
- 415 0006 00E0 b .L47
- 416 .L54:
- 417 0008 0026 movs r6, #0
- 418 .L47:
- 419 .loc 1 376 0 is_stmt 0 discriminator 24
- 420 000a 06FA04F4 lsl r4, r6, r4
- 421 000e A542 cmp r5, r4
- 422 0010 4BD0 beq .L66
- 423 .LVL43:
- 424 .L48:
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** tmp = 0x0FuL << (4u * (position & 0x03u));
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** CLEAR_BIT(AFIO->EXTICR[position >> 2u], tmp);
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Clear EXTI line configuration */
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** CLEAR_BIT(EXTI->IMR, (uint32_t)iocurrent);
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** CLEAR_BIT(EXTI->EMR, (uint32_t)iocurrent);
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Clear Rising Falling edge configuration */
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** CLEAR_BIT(EXTI->RTSR, (uint32_t)iocurrent);
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** CLEAR_BIT(EXTI->FTSR, (uint32_t)iocurrent);
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /*------------------------- GPIO Mode Configuration --------------------*/
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Check if the current bit belongs to first half or last half of the pin count number
- 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** in order to address CRH or CRL register */
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** configregister = (iocurrent < GPIO_PIN_8) ? &GPIOx->CRL : &GPIOx->CRH;
- 425 .loc 1 392 0 is_stmt 1
- 426 0012 FF2B cmp r3, #255
- 427 0014 61D8 bhi .L49
- 428 .loc 1 392 0 is_stmt 0 discriminator 1
- 429 0016 8646 mov lr, r0
- 430 .L50:
- 431 .LVL44:
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** registeroffset = (iocurrent < GPIO_PIN_8) ? (position << 2u) : ((position - 8u) << 2u);
- 432 .loc 1 393 0 is_stmt 1 discriminator 4
- 433 0018 FF2B cmp r3, #255
- 434 001a 61D8 bhi .L51
- 435 .loc 1 393 0 is_stmt 0 discriminator 1
- 436 001c 9700 lsls r7, r2, #2
- 437 .L52:
-ARM GAS /tmp/ccoYn8tw.s page 16
-
-
- 438 .LVL45:
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* CRL/CRH default value is floating input(0x04) shifted to correct position */
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** MODIFY_REG(*configregister, ((GPIO_CRL_MODE0 | GPIO_CRL_CNF0) << registeroffset), GPIO_CRL_CN
- 439 .loc 1 396 0 is_stmt 1 discriminator 4
- 440 001e DEF80040 ldr r4, [lr]
- 441 0022 0F26 movs r6, #15
- 442 0024 BE40 lsls r6, r6, r7
- 443 0026 24EA0604 bic r4, r4, r6
- 444 002a 0425 movs r5, #4
- 445 002c BD40 lsls r5, r5, r7
- 446 002e 2C43 orrs r4, r4, r5
- 447 0030 CEF80040 str r4, [lr]
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* ODR default value is 0 */
- 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** CLEAR_BIT(GPIOx->ODR, iocurrent);
- 448 .loc 1 399 0 discriminator 4
- 449 0034 C468 ldr r4, [r0, #12]
- 450 0036 24EA0303 bic r3, r4, r3
- 451 .LVL46:
- 452 003a C360 str r3, [r0, #12]
- 453 .L46:
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** position++;
- 454 .loc 1 402 0
- 455 003c 0132 adds r2, r2, #1
- 456 .LVL47:
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 457 .loc 1 364 0
- 458 003e 31FA02F3 lsrs r3, r1, r2
- 459 0042 51D0 beq .L67
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 460 .loc 1 367 0
- 461 0044 0123 movs r3, #1
- 462 0046 9340 lsls r3, r3, r2
- 463 .LVL48:
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 464 .loc 1 369 0
- 465 0048 0B40 ands r3, r1, r3
- 466 .LVL49:
- 467 004a F7D0 beq .L46
- 468 .LVL50:
- 469 .L62:
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** tmp &= 0x0FuL << (4u * (position & 0x03u));
- 470 .loc 1 374 0
- 471 004c 4FEA920E lsr lr, r2, #2
- 472 0050 0EF10205 add r5, lr, #2
- 473 0054 2A4C ldr r4, .L70
- 474 0056 54F82550 ldr r5, [r4, r5, lsl #2]
- 475 .LVL51:
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** if (tmp == (GPIO_GET_INDEX(GPIOx) << (4u * (position & 0x03u))))
- 476 .loc 1 375 0
- 477 005a 02F00304 and r4, r2, #3
- 478 005e A400 lsls r4, r4, #2
- 479 0060 0F26 movs r6, #15
- 480 0062 06FA04F7 lsl r7, r6, r4
-ARM GAS /tmp/ccoYn8tw.s page 17
-
-
- 481 0066 3D40 ands r5, r5, r7
- 482 .LVL52:
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 483 .loc 1 376 0
- 484 0068 264E ldr r6, .L70+4
- 485 006a B042 cmp r0, r6
- 486 006c CCD0 beq .L54
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 487 .loc 1 376 0 is_stmt 0 discriminator 1
- 488 006e 06F58066 add r6, r6, #1024
- 489 0072 B042 cmp r0, r6
- 490 0074 11D0 beq .L55
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 491 .loc 1 376 0 discriminator 3
- 492 0076 06F58066 add r6, r6, #1024
- 493 007a B042 cmp r0, r6
- 494 007c 0FD0 beq .L56
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 495 .loc 1 376 0 discriminator 5
- 496 007e 06F58066 add r6, r6, #1024
- 497 0082 B042 cmp r0, r6
- 498 0084 0DD0 beq .L57
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 499 .loc 1 376 0 discriminator 7
- 500 0086 06F58066 add r6, r6, #1024
- 501 008a B042 cmp r0, r6
- 502 008c 0BD0 beq .L58
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 503 .loc 1 376 0 discriminator 9
- 504 008e 06F58066 add r6, r6, #1024
- 505 0092 B042 cmp r0, r6
- 506 0094 B6D0 beq .L68
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 507 .loc 1 376 0
- 508 0096 0626 movs r6, #6
- 509 0098 B7E7 b .L47
- 510 .L55:
- 511 009a 0126 movs r6, #1
- 512 009c B5E7 b .L47
- 513 .L56:
- 514 009e 0226 movs r6, #2
- 515 00a0 B3E7 b .L47
- 516 .L57:
- 517 00a2 0326 movs r6, #3
- 518 00a4 B1E7 b .L47
- 519 .L58:
- 520 00a6 0426 movs r6, #4
- 521 00a8 AFE7 b .L47
- 522 .L66:
- 523 .LVL53:
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 524 .loc 1 379 0 is_stmt 1
- 525 00aa 154D ldr r5, .L70
- 526 00ac 0EF10204 add r4, lr, #2
- 527 00b0 55F82460 ldr r6, [r5, r4, lsl #2]
- 528 00b4 26EA0706 bic r6, r6, r7
- 529 00b8 45F82460 str r6, [r5, r4, lsl #2]
-ARM GAS /tmp/ccoYn8tw.s page 18
-
-
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** CLEAR_BIT(EXTI->EMR, (uint32_t)iocurrent);
- 530 .loc 1 382 0
- 531 00bc 124C ldr r4, .L70+8
- 532 00be 2668 ldr r6, [r4]
- 533 00c0 DD43 mvns r5, r3
- 534 00c2 2E40 ands r6, r6, r5
- 535 00c4 2660 str r6, [r4]
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 536 .loc 1 383 0
- 537 00c6 6668 ldr r6, [r4, #4]
- 538 00c8 2E40 ands r6, r6, r5
- 539 00ca 6660 str r6, [r4, #4]
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** CLEAR_BIT(EXTI->FTSR, (uint32_t)iocurrent);
- 540 .loc 1 386 0
- 541 00cc A668 ldr r6, [r4, #8]
- 542 00ce 2E40 ands r6, r6, r5
- 543 00d0 A660 str r6, [r4, #8]
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 544 .loc 1 387 0
- 545 00d2 E668 ldr r6, [r4, #12]
- 546 00d4 3540 ands r5, r5, r6
- 547 00d6 E560 str r5, [r4, #12]
- 548 00d8 9BE7 b .L48
- 549 .LVL54:
- 550 .L49:
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** registeroffset = (iocurrent < GPIO_PIN_8) ? (position << 2u) : ((position - 8u) << 2u);
- 551 .loc 1 392 0 discriminator 2
- 552 00da 00F1040E add lr, r0, #4
- 553 00de 9BE7 b .L50
- 554 .LVL55:
- 555 .L51:
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 556 .loc 1 393 0 discriminator 2
- 557 00e0 A2F10805 sub r5, r2, #8
- 558 00e4 AF00 lsls r7, r5, #2
- 559 00e6 9AE7 b .L52
- 560 .LVL56:
- 561 .L67:
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 562 .loc 1 404 0
- 563 00e8 F0BD pop {r4, r5, r6, r7, pc}
- 564 .LVL57:
- 565 .L63:
- 566 .LCFI4:
- 567 .cfi_def_cfa_offset 0
- 568 .cfi_restore 4
- 569 .cfi_restore 5
- 570 .cfi_restore 6
- 571 .cfi_restore 7
- 572 .cfi_restore 14
- 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 573 .loc 1 402 0
- 574 00ea 0132 adds r2, r2, #1
- 575 .LVL58:
- 576 .L61:
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
-ARM GAS /tmp/ccoYn8tw.s page 19
-
-
- 577 .loc 1 364 0
- 578 00ec 31FA02F3 lsrs r3, r1, r2
- 579 00f0 05D0 beq .L69
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 580 .loc 1 367 0
- 581 00f2 0123 movs r3, #1
- 582 00f4 9340 lsls r3, r3, r2
- 583 .LVL59:
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 584 .loc 1 369 0
- 585 00f6 0B40 ands r3, r1, r3
- 586 .LVL60:
- 587 00f8 F7D0 beq .L63
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** uint32_t position = 0x00u;
- 588 .loc 1 352 0
- 589 00fa F0B5 push {r4, r5, r6, r7, lr}
- 590 .LCFI5:
- 591 .cfi_def_cfa_offset 20
- 592 .cfi_offset 4, -20
- 593 .cfi_offset 5, -16
- 594 .cfi_offset 6, -12
- 595 .cfi_offset 7, -8
- 596 .cfi_offset 14, -4
- 597 00fc A6E7 b .L62
- 598 .LVL61:
- 599 .L69:
- 600 .LCFI6:
- 601 .cfi_def_cfa_offset 0
- 602 .cfi_restore 4
- 603 .cfi_restore 5
- 604 .cfi_restore 6
- 605 .cfi_restore 7
- 606 .cfi_restore 14
- 607 00fe 7047 bx lr
- 608 .L71:
- 609 .align 2
- 610 .L70:
- 611 0100 00000140 .word 1073807360
- 612 0104 00080140 .word 1073809408
- 613 0108 00040140 .word 1073808384
- 614 .cfi_endproc
- 615 .LFE66:
- 617 .section .text.HAL_GPIO_ReadPin,"ax",%progbits
- 618 .align 1
- 619 .global HAL_GPIO_ReadPin
- 620 .syntax unified
- 621 .thumb
- 622 .thumb_func
- 623 .fpu softvfp
- 625 HAL_GPIO_ReadPin:
- 626 .LFB67:
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /**
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @}
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** */
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /** @defgroup GPIO_Exported_Functions_Group2 IO operation functions
-ARM GAS /tmp/ccoYn8tw.s page 20
-
-
- 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @brief GPIO Read and Write
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** *
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** @verbatim
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** ===============================================================================
- 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** ##### IO operation functions #####
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** ===============================================================================
- 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** [..]
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** This subsection provides a set of functions allowing to manage the GPIOs.
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** @endverbatim
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @{
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** */
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /**
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @brief Reads the specified input port pin.
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @param GPIOx: where x can be (A..G depending on device used) to select the GPIO peripheral
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @param GPIO_Pin: specifies the port bit to read.
- 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * This parameter can be GPIO_PIN_x where x can be (0..15).
- 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @retval The input port pin value.
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** */
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** GPIO_PinState HAL_GPIO_ReadPin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin)
- 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 627 .loc 1 432 0
- 628 .cfi_startproc
- 629 @ args = 0, pretend = 0, frame = 0
- 630 @ frame_needed = 0, uses_anonymous_args = 0
- 631 @ link register save eliminated.
- 632 .LVL62:
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** GPIO_PinState bitstatus;
- 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Check the parameters */
- 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** assert_param(IS_GPIO_PIN(GPIO_Pin));
- 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** if ((GPIOx->IDR & GPIO_Pin) != (uint32_t)GPIO_PIN_RESET)
- 633 .loc 1 438 0
- 634 0000 8368 ldr r3, [r0, #8]
- 635 0002 1942 tst r1, r3
- 636 0004 01D1 bne .L75
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** bitstatus = GPIO_PIN_SET;
- 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** else
- 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** bitstatus = GPIO_PIN_RESET;
- 637 .loc 1 444 0
- 638 0006 0020 movs r0, #0
- 639 .LVL63:
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** return bitstatus;
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 640 .loc 1 447 0
- 641 0008 7047 bx lr
- 642 .LVL64:
- 643 .L75:
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 644 .loc 1 440 0
- 645 000a 0120 movs r0, #1
-ARM GAS /tmp/ccoYn8tw.s page 21
-
-
- 646 .LVL65:
- 647 000c 7047 bx lr
- 648 .cfi_endproc
- 649 .LFE67:
- 651 .section .text.HAL_GPIO_WritePin,"ax",%progbits
- 652 .align 1
- 653 .global HAL_GPIO_WritePin
- 654 .syntax unified
- 655 .thumb
- 656 .thumb_func
- 657 .fpu softvfp
- 659 HAL_GPIO_WritePin:
- 660 .LFB68:
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /**
- 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @brief Sets or clears the selected data port bit.
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** *
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @note This function uses GPIOx_BSRR register to allow atomic read/modify
- 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * accesses. In this way, there is no risk of an IRQ occurring between
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * the read and the modify access.
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** *
- 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @param GPIOx: where x can be (A..G depending on device used) to select the GPIO peripheral
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @param GPIO_Pin: specifies the port bit to be written.
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * This parameter can be one of GPIO_PIN_x where x can be (0..15).
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @param PinState: specifies the value to be written to the selected bit.
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * This parameter can be one of the GPIO_PinState enum values:
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @arg GPIO_PIN_RESET: to clear the port pin
- 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @arg GPIO_PIN_SET: to set the port pin
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @retval None
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** */
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** void HAL_GPIO_WritePin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin, GPIO_PinState PinState)
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 661 .loc 1 466 0
- 662 .cfi_startproc
- 663 @ args = 0, pretend = 0, frame = 0
- 664 @ frame_needed = 0, uses_anonymous_args = 0
- 665 @ link register save eliminated.
- 666 .LVL66:
- 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Check the parameters */
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** assert_param(IS_GPIO_PIN(GPIO_Pin));
- 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** assert_param(IS_GPIO_PIN_ACTION(PinState));
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** if (PinState != GPIO_PIN_RESET)
- 667 .loc 1 471 0
- 668 0000 12B9 cbnz r2, .L79
- 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** GPIOx->BSRR = GPIO_Pin;
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** else
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** GPIOx->BSRR = (uint32_t)GPIO_Pin << 16u;
- 669 .loc 1 477 0
- 670 0002 0904 lsls r1, r1, #16
- 671 .LVL67:
- 672 0004 0161 str r1, [r0, #16]
- 673 0006 7047 bx lr
- 674 .LVL68:
-ARM GAS /tmp/ccoYn8tw.s page 22
-
-
- 675 .L79:
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 676 .loc 1 473 0
- 677 0008 0161 str r1, [r0, #16]
- 678 000a 7047 bx lr
- 679 .cfi_endproc
- 680 .LFE68:
- 682 .section .text.HAL_GPIO_TogglePin,"ax",%progbits
- 683 .align 1
- 684 .global HAL_GPIO_TogglePin
- 685 .syntax unified
- 686 .thumb
- 687 .thumb_func
- 688 .fpu softvfp
- 690 HAL_GPIO_TogglePin:
- 691 .LFB69:
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /**
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @brief Toggles the specified GPIO pin
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @param GPIOx: where x can be (A..G depending on device used) to select the GPIO peripheral
- 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @param GPIO_Pin: Specifies the pins to be toggled.
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @retval None
- 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** */
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** void HAL_GPIO_TogglePin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin)
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 692 .loc 1 488 0
- 693 .cfi_startproc
- 694 @ args = 0, pretend = 0, frame = 0
- 695 @ frame_needed = 0, uses_anonymous_args = 0
- 696 @ link register save eliminated.
- 697 .LVL69:
- 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** uint32_t odr;
- 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Check the parameters */
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** assert_param(IS_GPIO_PIN(GPIO_Pin));
- 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* get current Ouput Data Register value */
- 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** odr = GPIOx->ODR;
- 698 .loc 1 495 0
- 699 0000 C368 ldr r3, [r0, #12]
- 700 .LVL70:
- 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Set selected pins that were at low level, and reset ones that were high */
- 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** GPIOx->BSRR = ((odr & GPIO_Pin) << GPIO_NUMBER) | (~odr & GPIO_Pin);
- 701 .loc 1 498 0
- 702 0002 03EA0102 and r2, r3, r1
- 703 0006 21EA0301 bic r1, r1, r3
- 704 .LVL71:
- 705 000a 41EA0241 orr r1, r1, r2, lsl #16
- 706 000e 0161 str r1, [r0, #16]
- 707 0010 7047 bx lr
- 708 .cfi_endproc
- 709 .LFE69:
- 711 .section .text.HAL_GPIO_LockPin,"ax",%progbits
- 712 .align 1
-ARM GAS /tmp/ccoYn8tw.s page 23
-
-
- 713 .global HAL_GPIO_LockPin
- 714 .syntax unified
- 715 .thumb
- 716 .thumb_func
- 717 .fpu softvfp
- 719 HAL_GPIO_LockPin:
- 720 .LFB70:
- 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /**
- 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @brief Locks GPIO Pins configuration registers.
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @note The locking mechanism allows the IO configuration to be frozen. When the LOCK sequence
- 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * has been applied on a port bit, it is no longer possible to modify the value of the port
- 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * the next reset.
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @param GPIOx: where x can be (A..G depending on device used) to select the GPIO peripheral
- 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @param GPIO_Pin: specifies the port bit to be locked.
- 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * This parameter can be any combination of GPIO_Pin_x where x can be (0..15).
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @retval None
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** */
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** HAL_StatusTypeDef HAL_GPIO_LockPin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin)
- 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 721 .loc 1 512 0
- 722 .cfi_startproc
- 723 @ args = 0, pretend = 0, frame = 8
- 724 @ frame_needed = 0, uses_anonymous_args = 0
- 725 @ link register save eliminated.
- 726 .LVL72:
- 727 0000 82B0 sub sp, sp, #8
- 728 .LCFI7:
- 729 .cfi_def_cfa_offset 8
- 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** __IO uint32_t tmp = GPIO_LCKR_LCKK;
- 730 .loc 1 513 0
- 731 0002 4FF48033 mov r3, #65536
- 732 0006 0193 str r3, [sp, #4]
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Check the parameters */
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** assert_param(IS_GPIO_LOCK_INSTANCE(GPIOx));
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** assert_param(IS_GPIO_PIN(GPIO_Pin));
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Apply lock key write sequence */
- 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** SET_BIT(tmp, GPIO_Pin);
- 733 .loc 1 520 0
- 734 0008 019B ldr r3, [sp, #4]
- 735 000a 0B43 orrs r3, r3, r1
- 736 000c 0193 str r3, [sp, #4]
- 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Set LCKx bit(s): LCKK='1' + LCK[15-0] */
- 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** GPIOx->LCKR = tmp;
- 737 .loc 1 522 0
- 738 000e 019B ldr r3, [sp, #4]
- 739 0010 8361 str r3, [r0, #24]
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Reset LCKx bit(s): LCKK='0' + LCK[15-0] */
- 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** GPIOx->LCKR = GPIO_Pin;
- 740 .loc 1 524 0
- 741 0012 8161 str r1, [r0, #24]
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Set LCKx bit(s): LCKK='1' + LCK[15-0] */
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** GPIOx->LCKR = tmp;
- 742 .loc 1 526 0
-ARM GAS /tmp/ccoYn8tw.s page 24
-
-
- 743 0014 019B ldr r3, [sp, #4]
- 744 0016 8361 str r3, [r0, #24]
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* Read LCKK register. This read is mandatory to complete key lock sequence */
- 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** tmp = GPIOx->LCKR;
- 745 .loc 1 528 0
- 746 0018 8369 ldr r3, [r0, #24]
- 747 001a 0193 str r3, [sp, #4]
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* read again in order to confirm lock is active */
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** if ((uint32_t)(GPIOx->LCKR & GPIO_LCKR_LCKK))
- 748 .loc 1 531 0
- 749 001c 8369 ldr r3, [r0, #24]
- 750 001e 13F4803F tst r3, #65536
- 751 0022 02D1 bne .L85
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** return HAL_OK;
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** else
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** return HAL_ERROR;
- 752 .loc 1 537 0
- 753 0024 0120 movs r0, #1
- 754 .LVL73:
- 755 .L82:
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 756 .loc 1 539 0
- 757 0026 02B0 add sp, sp, #8
- 758 .LCFI8:
- 759 .cfi_remember_state
- 760 .cfi_def_cfa_offset 0
- 761 @ sp needed
- 762 0028 7047 bx lr
- 763 .LVL74:
- 764 .L85:
- 765 .LCFI9:
- 766 .cfi_restore_state
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 767 .loc 1 533 0
- 768 002a 0020 movs r0, #0
- 769 .LVL75:
- 770 002c FBE7 b .L82
- 771 .cfi_endproc
- 772 .LFE70:
- 774 .section .text.HAL_GPIO_EXTI_Callback,"ax",%progbits
- 775 .align 1
- 776 .weak HAL_GPIO_EXTI_Callback
- 777 .syntax unified
- 778 .thumb
- 779 .thumb_func
- 780 .fpu softvfp
- 782 HAL_GPIO_EXTI_Callback:
- 783 .LFB72:
- 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /**
- 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @brief This function handles EXTI interrupt request.
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @param GPIO_Pin: Specifies the pins connected EXTI line
-ARM GAS /tmp/ccoYn8tw.s page 25
-
-
- 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @retval None
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** */
- 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** void HAL_GPIO_EXTI_IRQHandler(uint16_t GPIO_Pin)
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* EXTI line interrupt detected */
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** if (__HAL_GPIO_EXTI_GET_IT(GPIO_Pin) != 0x00u)
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** __HAL_GPIO_EXTI_CLEAR_IT(GPIO_Pin);
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** HAL_GPIO_EXTI_Callback(GPIO_Pin);
- 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /**
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @brief EXTI line detection callbacks.
- 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @param GPIO_Pin: Specifies the pins connected EXTI line
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** * @retval None
- 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** */
- 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** __weak void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin)
- 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 784 .loc 1 562 0
- 785 .cfi_startproc
- 786 @ args = 0, pretend = 0, frame = 0
- 787 @ frame_needed = 0, uses_anonymous_args = 0
- 788 @ link register save eliminated.
- 789 .LVL76:
- 790 0000 7047 bx lr
- 791 .cfi_endproc
- 792 .LFE72:
- 794 .section .text.HAL_GPIO_EXTI_IRQHandler,"ax",%progbits
- 795 .align 1
- 796 .global HAL_GPIO_EXTI_IRQHandler
- 797 .syntax unified
- 798 .thumb
- 799 .thumb_func
- 800 .fpu softvfp
- 802 HAL_GPIO_EXTI_IRQHandler:
- 803 .LFB71:
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* EXTI line interrupt detected */
- 804 .loc 1 547 0
- 805 .cfi_startproc
- 806 @ args = 0, pretend = 0, frame = 0
- 807 @ frame_needed = 0, uses_anonymous_args = 0
- 808 .LVL77:
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** /* EXTI line interrupt detected */
- 809 .loc 1 547 0
- 810 0000 08B5 push {r3, lr}
- 811 .LCFI10:
- 812 .cfi_def_cfa_offset 8
- 813 .cfi_offset 3, -8
- 814 .cfi_offset 14, -4
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** {
- 815 .loc 1 549 0
- 816 0002 054B ldr r3, .L91
- 817 0004 5B69 ldr r3, [r3, #20]
- 818 0006 0342 tst r3, r0
- 819 0008 00D1 bne .L90
- 820 .LVL78:
-ARM GAS /tmp/ccoYn8tw.s page 26
-
-
- 821 .L87:
- 822 000a 08BD pop {r3, pc}
- 823 .LVL79:
- 824 .L90:
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** HAL_GPIO_EXTI_Callback(GPIO_Pin);
- 825 .loc 1 551 0
- 826 000c 024B ldr r3, .L91
- 827 000e 5861 str r0, [r3, #20]
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c **** }
- 828 .loc 1 552 0
- 829 0010 FFF7FEFF bl HAL_GPIO_EXTI_Callback
- 830 .LVL80:
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio.c ****
- 831 .loc 1 554 0
- 832 0014 F9E7 b .L87
- 833 .L92:
- 834 0016 00BF .align 2
- 835 .L91:
- 836 0018 00040140 .word 1073808384
- 837 .cfi_endproc
- 838 .LFE71:
- 840 .text
- 841 .Letext0:
- 842 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 843 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 844 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 845 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 846 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 847 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 848 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h"
- 849 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
-ARM GAS /tmp/ccoYn8tw.s page 27
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_hal_gpio.c
- /tmp/ccoYn8tw.s:16 .text.HAL_GPIO_Init:0000000000000000 $t
- /tmp/ccoYn8tw.s:23 .text.HAL_GPIO_Init:0000000000000000 HAL_GPIO_Init
- /tmp/ccoYn8tw.s:376 .text.HAL_GPIO_Init:00000000000001e8 $d
- /tmp/ccoYn8tw.s:386 .text.HAL_GPIO_DeInit:0000000000000000 $t
- /tmp/ccoYn8tw.s:393 .text.HAL_GPIO_DeInit:0000000000000000 HAL_GPIO_DeInit
- /tmp/ccoYn8tw.s:611 .text.HAL_GPIO_DeInit:0000000000000100 $d
- /tmp/ccoYn8tw.s:618 .text.HAL_GPIO_ReadPin:0000000000000000 $t
- /tmp/ccoYn8tw.s:625 .text.HAL_GPIO_ReadPin:0000000000000000 HAL_GPIO_ReadPin
- /tmp/ccoYn8tw.s:652 .text.HAL_GPIO_WritePin:0000000000000000 $t
- /tmp/ccoYn8tw.s:659 .text.HAL_GPIO_WritePin:0000000000000000 HAL_GPIO_WritePin
- /tmp/ccoYn8tw.s:683 .text.HAL_GPIO_TogglePin:0000000000000000 $t
- /tmp/ccoYn8tw.s:690 .text.HAL_GPIO_TogglePin:0000000000000000 HAL_GPIO_TogglePin
- /tmp/ccoYn8tw.s:712 .text.HAL_GPIO_LockPin:0000000000000000 $t
- /tmp/ccoYn8tw.s:719 .text.HAL_GPIO_LockPin:0000000000000000 HAL_GPIO_LockPin
- /tmp/ccoYn8tw.s:775 .text.HAL_GPIO_EXTI_Callback:0000000000000000 $t
- /tmp/ccoYn8tw.s:782 .text.HAL_GPIO_EXTI_Callback:0000000000000000 HAL_GPIO_EXTI_Callback
- /tmp/ccoYn8tw.s:795 .text.HAL_GPIO_EXTI_IRQHandler:0000000000000000 $t
- /tmp/ccoYn8tw.s:802 .text.HAL_GPIO_EXTI_IRQHandler:0000000000000000 HAL_GPIO_EXTI_IRQHandler
- /tmp/ccoYn8tw.s:836 .text.HAL_GPIO_EXTI_IRQHandler:0000000000000018 $d
- .debug_frame:0000000000000010 $d
-
-NO UNDEFINED SYMBOLS
diff --git a/build/stm32f1xx_hal_gpio.o b/build/stm32f1xx_hal_gpio.o
deleted file mode 100644
index 74316f3..0000000
Binary files a/build/stm32f1xx_hal_gpio.o and /dev/null differ
diff --git a/build/stm32f1xx_hal_gpio_ex.d b/build/stm32f1xx_hal_gpio_ex.d
deleted file mode 100644
index 53ec2fc..0000000
--- a/build/stm32f1xx_hal_gpio_ex.d
+++ /dev/null
@@ -1,93 +0,0 @@
-build/stm32f1xx_hal_gpio_ex.o: \
- Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/stm32f1xx_hal_gpio_ex.lst b/build/stm32f1xx_hal_gpio_ex.lst
deleted file mode 100644
index b1a3551..0000000
--- a/build/stm32f1xx_hal_gpio_ex.lst
+++ /dev/null
@@ -1,240 +0,0 @@
-ARM GAS /tmp/ccPZWbN4.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "stm32f1xx_hal_gpio_ex.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.HAL_GPIOEx_ConfigEventout,"ax",%progbits
- 16 .align 1
- 17 .global HAL_GPIOEx_ConfigEventout
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 HAL_GPIOEx_ConfigEventout:
- 24 .LFB65:
- 25 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c"
- 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** /**
- 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** ******************************************************************************
- 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @file stm32f1xx_hal_gpio_ex.c
- 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @author MCD Application Team
- 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @brief GPIO Extension HAL module driver.
- 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * This file provides firmware functions to manage the following
- 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * functionalities of the General Purpose Input/Output (GPIO) extension peripheral.
- 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * + Extended features functions
- 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** *
- 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** @verbatim
- 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** ==============================================================================
- 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** ##### GPIO Peripheral extension features #####
- 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** ==============================================================================
- 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** [..] GPIO module on STM32F1 family, manage also the AFIO register:
- 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** (+) Possibility to use the EVENTOUT Cortex feature
- 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c ****
- 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** ##### How to use this driver #####
- 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** ==============================================================================
- 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** [..] This driver provides functions to use EVENTOUT Cortex feature
- 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** (#) Configure EVENTOUT Cortex feature using the function HAL_GPIOEx_ConfigEventout()
- 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** (#) Activate EVENTOUT Cortex feature using the HAL_GPIOEx_EnableEventout()
- 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** (#) Deactivate EVENTOUT Cortex feature using the HAL_GPIOEx_DisableEventout()
- 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c ****
- 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** @endverbatim
- 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** ******************************************************************************
- 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @attention
- 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** *
- 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * © Copyright (c) 2016 STMicroelectronics.
- 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * All rights reserved.
- 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** *
- 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * the "License"; You may not use this file except in compliance with the
- 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * License. You may obtain a copy of the License at:
-ARM GAS /tmp/ccPZWbN4.s page 2
-
-
- 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * opensource.org/licenses/BSD-3-Clause
- 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** *
- 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** ******************************************************************************
- 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** */
- 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c ****
- 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** /* Includes ------------------------------------------------------------------*/
- 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** #include "stm32f1xx_hal.h"
- 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c ****
- 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** /** @addtogroup STM32F1xx_HAL_Driver
- 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @{
- 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** */
- 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c ****
- 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** /** @defgroup GPIOEx GPIOEx
- 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @brief GPIO HAL module driver
- 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @{
- 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** */
- 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c ****
- 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** #ifdef HAL_GPIO_MODULE_ENABLED
- 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c ****
- 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** /** @defgroup GPIOEx_Exported_Functions GPIOEx Exported Functions
- 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @{
- 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** */
- 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c ****
- 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** /** @defgroup GPIOEx_Exported_Functions_Group1 Extended features functions
- 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @brief Extended features functions
- 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** *
- 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** @verbatim
- 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** ==============================================================================
- 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** ##### Extended features functions #####
- 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** ==============================================================================
- 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** [..] This section provides functions allowing to:
- 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** (+) Configure EVENTOUT Cortex feature using the function HAL_GPIOEx_ConfigEventout()
- 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** (+) Activate EVENTOUT Cortex feature using the HAL_GPIOEx_EnableEventout()
- 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** (+) Deactivate EVENTOUT Cortex feature using the HAL_GPIOEx_DisableEventout()
- 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c ****
- 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** @endverbatim
- 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @{
- 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** */
- 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c ****
- 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** /**
- 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @brief Configures the port and pin on which the EVENTOUT Cortex signal will be connected.
- 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @param GPIO_PortSource Select the port used to output the Cortex EVENTOUT signal.
- 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * This parameter can be a value of @ref GPIOEx_EVENTOUT_PORT.
- 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @param GPIO_PinSource Select the pin used to output the Cortex EVENTOUT signal.
- 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * This parameter can be a value of @ref GPIOEx_EVENTOUT_PIN.
- 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @retval None
- 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** */
- 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** void HAL_GPIOEx_ConfigEventout(uint32_t GPIO_PortSource, uint32_t GPIO_PinSource)
- 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** {
- 26 .loc 1 82 0
- 27 .cfi_startproc
- 28 @ args = 0, pretend = 0, frame = 0
- 29 @ frame_needed = 0, uses_anonymous_args = 0
- 30 @ link register save eliminated.
- 31 .LVL0:
- 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** /* Verify the parameters */
- 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** assert_param(IS_AFIO_EVENTOUT_PORT(GPIO_PortSource));
-ARM GAS /tmp/ccPZWbN4.s page 3
-
-
- 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** assert_param(IS_AFIO_EVENTOUT_PIN(GPIO_PinSource));
- 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c ****
- 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** /* Apply the new configuration */
- 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** MODIFY_REG(AFIO->EVCR, (AFIO_EVCR_PORT) | (AFIO_EVCR_PIN), (GPIO_PortSource) | (GPIO_PinSource));
- 32 .loc 1 88 0
- 33 0000 034A ldr r2, .L2
- 34 0002 1368 ldr r3, [r2]
- 35 0004 23F07F03 bic r3, r3, #127
- 36 0008 0143 orrs r1, r1, r0
- 37 .LVL1:
- 38 000a 0B43 orrs r3, r3, r1
- 39 000c 1360 str r3, [r2]
- 40 000e 7047 bx lr
- 41 .L3:
- 42 .align 2
- 43 .L2:
- 44 0010 00000140 .word 1073807360
- 45 .cfi_endproc
- 46 .LFE65:
- 48 .section .text.HAL_GPIOEx_EnableEventout,"ax",%progbits
- 49 .align 1
- 50 .global HAL_GPIOEx_EnableEventout
- 51 .syntax unified
- 52 .thumb
- 53 .thumb_func
- 54 .fpu softvfp
- 56 HAL_GPIOEx_EnableEventout:
- 57 .LFB66:
- 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** }
- 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c ****
- 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** /**
- 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @brief Enables the Event Output.
- 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @retval None
- 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** */
- 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** void HAL_GPIOEx_EnableEventout(void)
- 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** {
- 58 .loc 1 96 0
- 59 .cfi_startproc
- 60 @ args = 0, pretend = 0, frame = 0
- 61 @ frame_needed = 0, uses_anonymous_args = 0
- 62 @ link register save eliminated.
- 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** SET_BIT(AFIO->EVCR, AFIO_EVCR_EVOE);
- 63 .loc 1 97 0
- 64 0000 024A ldr r2, .L5
- 65 0002 1368 ldr r3, [r2]
- 66 0004 43F08003 orr r3, r3, #128
- 67 0008 1360 str r3, [r2]
- 68 000a 7047 bx lr
- 69 .L6:
- 70 .align 2
- 71 .L5:
- 72 000c 00000140 .word 1073807360
- 73 .cfi_endproc
- 74 .LFE66:
- 76 .section .text.HAL_GPIOEx_DisableEventout,"ax",%progbits
- 77 .align 1
- 78 .global HAL_GPIOEx_DisableEventout
-ARM GAS /tmp/ccPZWbN4.s page 4
-
-
- 79 .syntax unified
- 80 .thumb
- 81 .thumb_func
- 82 .fpu softvfp
- 84 HAL_GPIOEx_DisableEventout:
- 85 .LFB67:
- 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** }
- 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c ****
- 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** /**
- 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @brief Disables the Event Output.
- 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** * @retval None
- 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** */
- 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** void HAL_GPIOEx_DisableEventout(void)
- 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** {
- 86 .loc 1 105 0
- 87 .cfi_startproc
- 88 @ args = 0, pretend = 0, frame = 0
- 89 @ frame_needed = 0, uses_anonymous_args = 0
- 90 @ link register save eliminated.
- 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_gpio_ex.c **** CLEAR_BIT(AFIO->EVCR, AFIO_EVCR_EVOE);
- 91 .loc 1 106 0
- 92 0000 024A ldr r2, .L8
- 93 0002 1368 ldr r3, [r2]
- 94 0004 23F08003 bic r3, r3, #128
- 95 0008 1360 str r3, [r2]
- 96 000a 7047 bx lr
- 97 .L9:
- 98 .align 2
- 99 .L8:
- 100 000c 00000140 .word 1073807360
- 101 .cfi_endproc
- 102 .LFE67:
- 104 .text
- 105 .Letext0:
- 106 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 107 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 108 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 109 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 110 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 111 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
-ARM GAS /tmp/ccPZWbN4.s page 5
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_hal_gpio_ex.c
- /tmp/ccPZWbN4.s:16 .text.HAL_GPIOEx_ConfigEventout:0000000000000000 $t
- /tmp/ccPZWbN4.s:23 .text.HAL_GPIOEx_ConfigEventout:0000000000000000 HAL_GPIOEx_ConfigEventout
- /tmp/ccPZWbN4.s:44 .text.HAL_GPIOEx_ConfigEventout:0000000000000010 $d
- /tmp/ccPZWbN4.s:49 .text.HAL_GPIOEx_EnableEventout:0000000000000000 $t
- /tmp/ccPZWbN4.s:56 .text.HAL_GPIOEx_EnableEventout:0000000000000000 HAL_GPIOEx_EnableEventout
- /tmp/ccPZWbN4.s:72 .text.HAL_GPIOEx_EnableEventout:000000000000000c $d
- /tmp/ccPZWbN4.s:77 .text.HAL_GPIOEx_DisableEventout:0000000000000000 $t
- /tmp/ccPZWbN4.s:84 .text.HAL_GPIOEx_DisableEventout:0000000000000000 HAL_GPIOEx_DisableEventout
- /tmp/ccPZWbN4.s:100 .text.HAL_GPIOEx_DisableEventout:000000000000000c $d
- .debug_frame:0000000000000010 $d
-
-NO UNDEFINED SYMBOLS
diff --git a/build/stm32f1xx_hal_gpio_ex.o b/build/stm32f1xx_hal_gpio_ex.o
deleted file mode 100644
index 0596543..0000000
Binary files a/build/stm32f1xx_hal_gpio_ex.o and /dev/null differ
diff --git a/build/stm32f1xx_hal_i2c.d b/build/stm32f1xx_hal_i2c.d
deleted file mode 100644
index 9010ee1..0000000
--- a/build/stm32f1xx_hal_i2c.d
+++ /dev/null
@@ -1,93 +0,0 @@
-build/stm32f1xx_hal_i2c.o: \
- Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/stm32f1xx_hal_i2c.lst b/build/stm32f1xx_hal_i2c.lst
deleted file mode 100644
index f71d9b6..0000000
--- a/build/stm32f1xx_hal_i2c.lst
+++ /dev/null
@@ -1,24124 +0,0 @@
-ARM GAS /tmp/cc8FAL5N.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "stm32f1xx_hal_i2c.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.I2C_Master_SB,"ax",%progbits
- 16 .align 1
- 17 .syntax unified
- 18 .thumb
- 19 .thumb_func
- 20 .fpu softvfp
- 22 I2C_Master_SB:
- 23 .LFB119:
- 24 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c"
- 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
- 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ******************************************************************************
- 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @file stm32f1xx_hal_i2c.c
- 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @author MCD Application Team
- 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief I2C HAL module driver.
- 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * This file provides firmware functions to manage the following
- 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * functionalities of the Inter Integrated Circuit (I2C) peripheral:
- 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * + Initialization and de-initialization functions
- 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * + IO operation functions
- 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * + Peripheral State, Mode and Error functions
- 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *
- 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** @verbatim
- 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ==============================================================================
- 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ##### How to use this driver #####
- 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ==============================================================================
- 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** [..]
- 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** The I2C HAL driver can be used as follows:
- 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (#) Declare a I2C_HandleTypeDef handle structure, for example:
- 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_HandleTypeDef hi2c;
- 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (#)Initialize the I2C low level resources by implementing the @ref HAL_I2C_MspInit() API:
- 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (##) Enable the I2Cx interface clock
- 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (##) I2C pins configuration
- 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+++) Enable the clock for the I2C GPIOs
- 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+++) Configure I2C pins as alternate function open-drain
- 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (##) NVIC configuration if you need to use interrupt process
- 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+++) Configure the I2Cx interrupt priority
- 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+++) Enable the NVIC I2C IRQ Channel
- 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (##) DMA Configuration if you need to use DMA process
- 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+++) Declare a DMA_HandleTypeDef handle structure for the transmit or receive channel
- 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+++) Enable the DMAx interface clock using
- 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+++) Configure the DMA handle parameters
- 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+++) Configure the DMA Tx or Rx channel
-ARM GAS /tmp/cc8FAL5N.s page 2
-
-
- 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+++) Associate the initialized DMA handle to the hi2c DMA Tx or Rx handle
- 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+++) Configure the priority and enable the NVIC for the transfer complete interrupt on
- 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** the DMA Tx or Rx channel
- 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (#) Configure the Communication Speed, Duty cycle, Addressing mode, Own Address1,
- 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** Dual Addressing mode, Own Address2, General call and Nostretch mode in the hi2c Init struct
- 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (#) Initialize the I2C registers by calling the @ref HAL_I2C_Init(), configures also the low le
- 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (GPIO, CLOCK, NVIC...etc) by calling the customized @ref HAL_I2C_MspInit() API.
- 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (#) To check if target device is ready for communication, use the function @ref HAL_I2C_IsDevic
- 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (#) For I2C IO and IO MEM operations, three operation modes are available within this driver :
- 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *** Polling mode IO operation ***
- 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** =================================
- 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** [..]
- 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Transmit in master mode an amount of data in blocking mode using @ref HAL_I2C_Master_Tran
- 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Receive in master mode an amount of data in blocking mode using @ref HAL_I2C_Master_Recei
- 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Transmit in slave mode an amount of data in blocking mode using @ref HAL_I2C_Slave_Transm
- 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Receive in slave mode an amount of data in blocking mode using @ref HAL_I2C_Slave_Receive
- 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *** Polling mode IO MEM operation ***
- 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** =====================================
- 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** [..]
- 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Write an amount of data in blocking mode to a specific memory address using @ref HAL_I2C_
- 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Read an amount of data in blocking mode from a specific memory address using @ref HAL_I2C
- 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *** Interrupt mode IO operation ***
- 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ===================================
- 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** [..]
- 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Transmit in master mode an amount of data in non-blocking mode using @ref HAL_I2C_Master_
- 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) At transmission end of transfer, @ref HAL_I2C_MasterTxCpltCallback() is executed and user
- 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_MasterTxCpltCallback(
- 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Receive in master mode an amount of data in non-blocking mode using @ref HAL_I2C_Master_R
- 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) At reception end of transfer, @ref HAL_I2C_MasterRxCpltCallback() is executed and user ca
- 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_MasterRxCpltCallback(
- 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Transmit in slave mode an amount of data in non-blocking mode using @ref HAL_I2C_Slave_Tr
- 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) At transmission end of transfer, @ref HAL_I2C_SlaveTxCpltCallback() is executed and user
- 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_SlaveTxCpltCallback()
- 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Receive in slave mode an amount of data in non-blocking mode using @ref HAL_I2C_Slave_Rec
- 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) At reception end of transfer, @ref HAL_I2C_SlaveRxCpltCallback() is executed and user can
- 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_SlaveRxCpltCallback()
- 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) In case of transfer Error, @ref HAL_I2C_ErrorCallback() function is executed and user can
- 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_ErrorCallback()
- 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Abort a master I2C process communication with Interrupt using @ref HAL_I2C_Master_Abort_I
- 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) End of abort process, @ref HAL_I2C_AbortCpltCallback() is executed and user can
- 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_AbortCpltCallback()
- 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *** Interrupt mode or DMA mode IO sequential operation ***
- 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ==========================================================
- 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** [..]
- 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (@) These interfaces allow to manage a sequential transfer with a repeated start condition
- 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** when a direction change during transfer
- 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** [..]
- 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) A specific option field manage the different steps of a sequential transfer
-ARM GAS /tmp/cc8FAL5N.s page 3
-
-
- 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Option field values are defined through @ref I2C_XferOptions_definition and are listed be
- 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) I2C_FIRST_AND_LAST_FRAME: No sequential usage, functionnal is same as associated interfa
- 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) I2C_FIRST_FRAME: Sequential usage, this option allow to manage a sequence with start con
- 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** and data to transfer without a final stop condition
- 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) I2C_FIRST_AND_NEXT_FRAME: Sequential usage (Master only), this option allow to manage a
- 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** and data to transfer without a final stop condition, an then permit a c
- 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** several times (like @ref HAL_I2C_Master_Seq_Transmit_IT() then @ref HAL
- 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** or @ref HAL_I2C_Master_Seq_Transmit_DMA() then @ref HAL_I2C_Master_Seq_
- 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) I2C_NEXT_FRAME: Sequential usage, this option allow to manage a sequence with a restart
- 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** and with new data to transfer if the direction change or manage only th
- 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if no direction change and without a final stop condition in both cases
- 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) I2C_LAST_FRAME: Sequential usage, this option allow to manage a sequance with a restart
- 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** and with new data to transfer if the direction change or manage only th
- 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if no direction change and with a final stop condition in both cases
- 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) I2C_LAST_FRAME_NO_STOP: Sequential usage (Master only), this option allow to manage a re
- 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** interface several times (link with option I2C_FIRST_AND_NEXT_FRAME).
- 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** Usage can, transfer several bytes one by one using HAL_I2C_Master_Seq_T
- 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** or HAL_I2C_Master_Seq_Receive_IT(option I2C_FIRST_AND_NEXT_FRAME then
- 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** or HAL_I2C_Master_Seq_Transmit_DMA(option I2C_FIRST_AND_NEXT_FRAME th
- 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** or HAL_I2C_Master_Seq_Receive_DMA(option I2C_FIRST_AND_NEXT_FRAME the
- 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** Then usage of this option I2C_LAST_FRAME_NO_STOP at the last Transmit o
- 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** without stopping the communication and so generate a restart conditio
- 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) I2C_OTHER_FRAME: Sequential usage (Master only), this option allow to manage a restart c
- 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** interface.
- 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** Usage can, transfer several bytes one by one with a restart with slave
- 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** or HAL_I2C_Master_Seq_Receive_IT(option I2C_FIRST_FRAME then I2C_OTHE
- 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** or HAL_I2C_Master_Seq_Transmit_DMA(option I2C_FIRST_FRAME then I2C_OT
- 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** or HAL_I2C_Master_Seq_Receive_DMA(option I2C_FIRST_FRAME then I2C_OTH
- 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** Then usage of this option I2C_OTHER_AND_LAST_FRAME at the last frame to
- 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Differents sequential I2C interfaces are listed below:
- 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) Sequential transmit in master I2C mode an amount of data in non-blocking mode using @ref
- 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** or using @ref HAL_I2C_Master_Seq_Transmit_DMA()
- 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+++) At transmission end of current frame transfer, @ref HAL_I2C_MasterTxCpltCallback() is e
- 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_MasterTxCpltCallback(
- 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) Sequential receive in master I2C mode an amount of data in non-blocking mode using @ref
- 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** or using @ref HAL_I2C_Master_Seq_Receive_DMA()
- 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+++) At reception end of current frame transfer, @ref HAL_I2C_MasterRxCpltCallback() is exec
- 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_MasterRxCpltCallback(
- 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) Abort a master IT or DMA I2C process communication with Interrupt using @ref HAL_I2C_Mas
- 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+++) End of abort process, @ref HAL_I2C_AbortCpltCallback() is executed and user can
- 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_AbortCpltCallback()
- 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) Enable/disable the Address listen mode in slave I2C mode using @ref HAL_I2C_EnableListen
- 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+++) When address slave I2C match, @ref HAL_I2C_AddrCallback() is executed and user can
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code to check the Address Match Code and the transmission direction request
- 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+++) At Listen mode end @ref HAL_I2C_ListenCpltCallback() is executed and user can
- 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_ListenCpltCallback()
- 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) Sequential transmit in slave I2C mode an amount of data in non-blocking mode using @ref
- 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** or using @ref HAL_I2C_Slave_Seq_Transmit_DMA()
- 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+++) At transmission end of current frame transfer, @ref HAL_I2C_SlaveTxCpltCallback() is ex
- 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_SlaveTxCpltCallback()
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) Sequential receive in slave I2C mode an amount of data in non-blocking mode using @ref H
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** or using @ref HAL_I2C_Slave_Seq_Receive_DMA()
- 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+++) At reception end of current frame transfer, @ref HAL_I2C_SlaveRxCpltCallback() is execu
- 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_SlaveRxCpltCallback()
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) In case of transfer Error, @ref HAL_I2C_ErrorCallback() function is executed and user ca
- 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_ErrorCallback()
-ARM GAS /tmp/cc8FAL5N.s page 4
-
-
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *** Interrupt mode IO MEM operation ***
- 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** =======================================
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** [..]
- 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Write an amount of data in non-blocking mode with Interrupt to a specific memory address
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** @ref HAL_I2C_Mem_Write_IT()
- 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) At Memory end of write transfer, @ref HAL_I2C_MemTxCpltCallback() is executed and user ca
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_MemTxCpltCallback()
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Read an amount of data in non-blocking mode with Interrupt from a specific memory address
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** @ref HAL_I2C_Mem_Read_IT()
- 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) At Memory end of read transfer, @ref HAL_I2C_MemRxCpltCallback() is executed and user can
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_MemRxCpltCallback()
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) In case of transfer Error, @ref HAL_I2C_ErrorCallback() function is executed and user can
- 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_ErrorCallback()
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *** DMA mode IO operation ***
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ==============================
- 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** [..]
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Transmit in master mode an amount of data in non-blocking mode (DMA) using
- 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** @ref HAL_I2C_Master_Transmit_DMA()
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) At transmission end of transfer, @ref HAL_I2C_MasterTxCpltCallback() is executed and user
- 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_MasterTxCpltCallback(
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Receive in master mode an amount of data in non-blocking mode (DMA) using
- 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** @ref HAL_I2C_Master_Receive_DMA()
- 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) At reception end of transfer, @ref HAL_I2C_MasterRxCpltCallback() is executed and user ca
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_MasterRxCpltCallback(
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Transmit in slave mode an amount of data in non-blocking mode (DMA) using
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** @ref HAL_I2C_Slave_Transmit_DMA()
- 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) At transmission end of transfer, @ref HAL_I2C_SlaveTxCpltCallback() is executed and user
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_SlaveTxCpltCallback()
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Receive in slave mode an amount of data in non-blocking mode (DMA) using
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** @ref HAL_I2C_Slave_Receive_DMA()
- 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) At reception end of transfer, @ref HAL_I2C_SlaveRxCpltCallback() is executed and user can
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_SlaveRxCpltCallback()
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) In case of transfer Error, @ref HAL_I2C_ErrorCallback() function is executed and user can
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_ErrorCallback()
- 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Abort a master I2C process communication with Interrupt using @ref HAL_I2C_Master_Abort_I
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) End of abort process, @ref HAL_I2C_AbortCpltCallback() is executed and user can
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_AbortCpltCallback()
- 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *** DMA mode IO MEM operation ***
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** =================================
- 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** [..]
- 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Write an amount of data in non-blocking mode with DMA to a specific memory address using
- 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** @ref HAL_I2C_Mem_Write_DMA()
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) At Memory end of write transfer, @ref HAL_I2C_MemTxCpltCallback() is executed and user ca
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_MemTxCpltCallback()
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Read an amount of data in non-blocking mode with DMA from a specific memory address using
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** @ref HAL_I2C_Mem_Read_DMA()
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) At Memory end of read transfer, @ref HAL_I2C_MemRxCpltCallback() is executed and user can
- 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_MemRxCpltCallback()
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) In case of transfer Error, @ref HAL_I2C_ErrorCallback() function is executed and user can
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** add his own code by customization of function pointer @ref HAL_I2C_ErrorCallback()
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *** I2C HAL driver macros list ***
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ==================================
-ARM GAS /tmp/cc8FAL5N.s page 5
-
-
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** [..]
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** Below the list of most used macros in I2C HAL driver.
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) @ref __HAL_I2C_ENABLE: Enable the I2C peripheral
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) @ref __HAL_I2C_DISABLE: Disable the I2C peripheral
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) @ref __HAL_I2C_GET_FLAG: Checks whether the specified I2C flag is set or not
- 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) @ref __HAL_I2C_CLEAR_FLAG: Clear the specified I2C pending flag
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) @ref __HAL_I2C_ENABLE_IT: Enable the specified I2C interrupt
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) @ref __HAL_I2C_DISABLE_IT: Disable the specified I2C interrupt
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *** Callback registration ***
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** =============================================
- 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** [..]
- 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** The compilation flag USE_HAL_I2C_REGISTER_CALLBACKS when set to 1
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** allows the user to configure dynamically the driver callbacks.
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** Use Functions @ref HAL_I2C_RegisterCallback() or @ref HAL_I2C_RegisterAddrCallback()
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to register an interrupt callback.
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** [..]
- 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** Function @ref HAL_I2C_RegisterCallback() allows to register following callbacks:
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) MasterTxCpltCallback : callback for Master transmission end of transfer.
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) MasterRxCpltCallback : callback for Master reception end of transfer.
- 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) SlaveTxCpltCallback : callback for Slave transmission end of transfer.
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) SlaveRxCpltCallback : callback for Slave reception end of transfer.
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) ListenCpltCallback : callback for end of listen mode.
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) MemTxCpltCallback : callback for Memory transmission end of transfer.
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) MemRxCpltCallback : callback for Memory reception end of transfer.
- 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) ErrorCallback : callback for error detection.
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) AbortCpltCallback : callback for abort completion process.
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) MspInitCallback : callback for Msp Init.
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) MspDeInitCallback : callback for Msp DeInit.
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** This function takes as parameters the HAL peripheral handle, the Callback ID
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** and a pointer to the user callback function.
- 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** [..]
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** For specific callback AddrCallback use dedicated register callbacks : @ref HAL_I2C_RegisterAdd
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** [..]
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** Use function @ref HAL_I2C_UnRegisterCallback to reset a callback to the default
- 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** weak function.
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** @ref HAL_I2C_UnRegisterCallback takes as parameters the HAL peripheral handle,
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** and the Callback ID.
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** This function allows to reset following callbacks:
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) MasterTxCpltCallback : callback for Master transmission end of transfer.
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) MasterRxCpltCallback : callback for Master reception end of transfer.
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) SlaveTxCpltCallback : callback for Slave transmission end of transfer.
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) SlaveRxCpltCallback : callback for Slave reception end of transfer.
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) ListenCpltCallback : callback for end of listen mode.
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) MemTxCpltCallback : callback for Memory transmission end of transfer.
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) MemRxCpltCallback : callback for Memory reception end of transfer.
- 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) ErrorCallback : callback for error detection.
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) AbortCpltCallback : callback for abort completion process.
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) MspInitCallback : callback for Msp Init.
- 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) MspDeInitCallback : callback for Msp DeInit.
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** [..]
- 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** For callback AddrCallback use dedicated register callbacks : @ref HAL_I2C_UnRegisterAddrCallba
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** [..]
- 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** By default, after the @ref HAL_I2C_Init() and when the state is @ref HAL_I2C_STATE_RESET
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** all callbacks are set to the corresponding weak functions:
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** examples @ref HAL_I2C_MasterTxCpltCallback(), @ref HAL_I2C_MasterRxCpltCallback().
-ARM GAS /tmp/cc8FAL5N.s page 6
-
-
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** Exception done for MspInit and MspDeInit functions that are
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** reset to the legacy weak functions in the @ref HAL_I2C_Init()/ @ref HAL_I2C_DeInit() only when
- 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** these callbacks are null (not registered beforehand).
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** If MspInit or MspDeInit are not null, the @ref HAL_I2C_Init()/ @ref HAL_I2C_DeInit()
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** keep and use the user MspInit/MspDeInit callbacks (registered beforehand) whatever the state.
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** [..]
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** Callbacks can be registered/unregistered in @ref HAL_I2C_STATE_READY state only.
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** Exception done MspInit/MspDeInit functions that can be registered/unregistered
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** in @ref HAL_I2C_STATE_READY or @ref HAL_I2C_STATE_RESET state,
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** thus registered (user) MspInit/DeInit callbacks can be used during the Init/DeInit.
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** Then, the user first registers the MspInit/MspDeInit user callbacks
- 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** using @ref HAL_I2C_RegisterCallback() before calling @ref HAL_I2C_DeInit()
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** or @ref HAL_I2C_Init() function.
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** [..]
- 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** When the compilation flag USE_HAL_I2C_REGISTER_CALLBACKS is set to 0 or
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** not defined, the callback registration feature is not available and all callbacks
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** are set to the corresponding weak functions.
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *** I2C Workarounds linked to Silicon Limitation ***
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ====================================================
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** [..]
- 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** Below the list of all silicon limitations implemented for HAL on STM32F1xx product.
- 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (@) See ErrataSheet to know full silicon limitation list of your product.
- 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Workarounds Implemented inside I2C HAL Driver
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) Wrong data read into data register (Polling and Interrupt mode)
- 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) Start cannot be generated after a misplaced Stop
- 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) Some software events must be managed before the current byte is being transferred:
- 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** Workaround: Use DMA in general, except when the Master is receiving a single byte.
- 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** For Interupt mode, I2C should have the highest priority in the application.
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) Mismatch on the "Setup time for a repeated Start condition" timing parameter:
- 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** Workaround: Reduce the frequency down to 88 kHz or use the I2C Fast-mode if
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** supported by the slave.
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) Data valid time (tVD;DAT) violated without the OVR flag being set:
- 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** Workaround: If the slave device allows it, use the clock stretching mechanism
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** by programming NoStretchMode = I2C_NOSTRETCH_DISABLE in @ref HAL_I2C_Init.
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** [..]
- 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (@) You can refer to the I2C HAL driver header file for more useful macros
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** @endverbatim
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ******************************************************************************
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @attention
- 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * © Copyright (c) 2016 STMicroelectronics.
- 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * All rights reserved.
- 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the "License"; You may not use this file except in compliance with the
- 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * License. You may obtain a copy of the License at:
- 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * opensource.org/licenses/BSD-3-Clause
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ******************************************************************************
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
- 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Includes ------------------------------------------------------------------*/
-ARM GAS /tmp/cc8FAL5N.s page 7
-
-
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #include "stm32f1xx_hal.h"
- 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /** @addtogroup STM32F1xx_HAL_Driver
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @{
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /** @defgroup I2C I2C
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief I2C HAL module driver
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @{
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #ifdef HAL_I2C_MODULE_ENABLED
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Private typedef -----------------------------------------------------------*/
- 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Private define ------------------------------------------------------------*/
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /** @addtogroup I2C_Private_Define
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @{
- 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #define I2C_TIMEOUT_FLAG 35U /*!< Timeout 35 ms */
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #define I2C_TIMEOUT_BUSY_FLAG 25U /*!< Timeout 25 ms */
- 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #define I2C_TIMEOUT_STOP_FLAG 5U /*!< Timeout 5 ms */
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #define I2C_NO_OPTION_FRAME 0xFFFF0000U /*!< XferOptions default value */
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Private define for @ref PreviousState usage */
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #define I2C_STATE_MSK ((uint32_t)((uint32_t)((uint32_t)HAL_I2C_STATE_BUSY_TX | (uint32_
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #define I2C_STATE_NONE ((uint32_t)(HAL_I2C_MODE_NONE))
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #define I2C_STATE_MASTER_BUSY_TX ((uint32_t)(((uint32_t)HAL_I2C_STATE_BUSY_TX & I2C_STATE_MSK) | (
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #define I2C_STATE_MASTER_BUSY_RX ((uint32_t)(((uint32_t)HAL_I2C_STATE_BUSY_RX & I2C_STATE_MSK) | (
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #define I2C_STATE_SLAVE_BUSY_TX ((uint32_t)(((uint32_t)HAL_I2C_STATE_BUSY_TX & I2C_STATE_MSK) | (
- 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #define I2C_STATE_SLAVE_BUSY_RX ((uint32_t)(((uint32_t)HAL_I2C_STATE_BUSY_RX & I2C_STATE_MSK) | (
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @}
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
- 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Private macro -------------------------------------------------------------*/
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Private variables ---------------------------------------------------------*/
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Private function prototypes -----------------------------------------------*/
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /** @defgroup I2C_Private_Functions I2C Private Functions
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @{
- 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Private functions to handle DMA transfer */
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_DMAXferCplt(DMA_HandleTypeDef *hdma);
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_DMAError(DMA_HandleTypeDef *hdma);
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_DMAAbort(DMA_HandleTypeDef *hdma);
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_ITError(I2C_HandleTypeDef *hi2c);
- 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static HAL_StatusTypeDef I2C_MasterRequestWrite(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint3
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static HAL_StatusTypeDef I2C_MasterRequestRead(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint32
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static HAL_StatusTypeDef I2C_RequestMemoryWrite(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint1
- 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static HAL_StatusTypeDef I2C_RequestMemoryRead(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Private functions to handle flags during polling transfer */
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static HAL_StatusTypeDef I2C_WaitOnFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t Flag, FlagSta
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static HAL_StatusTypeDef I2C_WaitOnMasterAddressFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t
-ARM GAS /tmp/cc8FAL5N.s page 8
-
-
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static HAL_StatusTypeDef I2C_WaitOnTXEFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t Timeout, u
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static HAL_StatusTypeDef I2C_WaitOnBTFFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t Timeout, u
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static HAL_StatusTypeDef I2C_WaitOnRXNEFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t Timeout,
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static HAL_StatusTypeDef I2C_WaitOnSTOPFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t Timeout,
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static HAL_StatusTypeDef I2C_WaitOnSTOPRequestThroughIT(I2C_HandleTypeDef *hi2c);
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static HAL_StatusTypeDef I2C_IsAcknowledgeFailed(I2C_HandleTypeDef *hi2c);
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Private functions for I2C transfer IRQ handler */
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_MasterTransmit_TXE(I2C_HandleTypeDef *hi2c);
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_MasterTransmit_BTF(I2C_HandleTypeDef *hi2c);
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_MasterReceive_RXNE(I2C_HandleTypeDef *hi2c);
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_MasterReceive_BTF(I2C_HandleTypeDef *hi2c);
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_Master_SB(I2C_HandleTypeDef *hi2c);
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_Master_ADD10(I2C_HandleTypeDef *hi2c);
- 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_Master_ADDR(I2C_HandleTypeDef *hi2c);
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_SlaveTransmit_TXE(I2C_HandleTypeDef *hi2c);
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_SlaveTransmit_BTF(I2C_HandleTypeDef *hi2c);
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_SlaveReceive_RXNE(I2C_HandleTypeDef *hi2c);
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_SlaveReceive_BTF(I2C_HandleTypeDef *hi2c);
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_Slave_ADDR(I2C_HandleTypeDef *hi2c, uint32_t IT2Flags);
- 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_Slave_STOPF(I2C_HandleTypeDef *hi2c);
- 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_Slave_AF(I2C_HandleTypeDef *hi2c);
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_MemoryTransmit_TXE_BTF(I2C_HandleTypeDef *hi2c);
- 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Private function to Convert Specific options */
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_ConvertOtherXferOptions(I2C_HandleTypeDef *hi2c);
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @}
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Exported functions --------------------------------------------------------*/
- 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /** @defgroup I2C_Exported_Functions I2C Exported Functions
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @{
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /** @defgroup I2C_Exported_Functions_Group1 Initialization and de-initialization functions
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Initialization and Configuration functions
- 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** @verbatim
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ===============================================================================
- 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ##### Initialization and de-initialization functions #####
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ===============================================================================
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** [..] This subsection provides a set of functions allowing to initialize and
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** deinitialize the I2Cx peripheral:
- 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) User must Implement HAL_I2C_MspInit() function in which he configures
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** all related peripherals resources (CLOCK, GPIO, DMA, IT and NVIC).
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Call the function HAL_I2C_Init() to configure the selected device with
- 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** the selected configuration:
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) Communication Speed
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) Duty cycle
- 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) Addressing mode
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) Own Address 1
-ARM GAS /tmp/cc8FAL5N.s page 9
-
-
- 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) Dual Addressing mode
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) Own Address 2
- 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) General call mode
- 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) Nostretch mode
- 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (+) Call the function HAL_I2C_DeInit() to restore the default configuration
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** of the selected I2Cx peripheral.
- 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** @endverbatim
- 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @{
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Initializes the I2C according to the specified parameters
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * in the I2C_InitTypeDef and initialize the associated handle.
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
- 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
- 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Init(I2C_HandleTypeDef *hi2c)
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t freqrange;
- 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t pclk1;
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check the I2C handle allocation */
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c == NULL)
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
- 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check the parameters */
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** assert_param(IS_I2C_ALL_INSTANCE(hi2c->Instance));
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** assert_param(IS_I2C_CLOCK_SPEED(hi2c->Init.ClockSpeed));
- 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** assert_param(IS_I2C_DUTY_CYCLE(hi2c->Init.DutyCycle));
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** assert_param(IS_I2C_OWN_ADDRESS1(hi2c->Init.OwnAddress1));
- 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** assert_param(IS_I2C_ADDRESSING_MODE(hi2c->Init.AddressingMode));
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** assert_param(IS_I2C_DUAL_ADDRESS(hi2c->Init.DualAddressMode));
- 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** assert_param(IS_I2C_OWN_ADDRESS2(hi2c->Init.OwnAddress2));
- 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** assert_param(IS_I2C_GENERAL_CALL(hi2c->Init.GeneralCallMode));
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** assert_param(IS_I2C_NO_STRETCH(hi2c->Init.NoStretchMode));
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_RESET)
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Allocate lock resource and initialize it */
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Lock = HAL_UNLOCKED;
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
- 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Init the I2C Callback settings */
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MasterTxCpltCallback = HAL_I2C_MasterTxCpltCallback; /* Legacy weak MasterTxCpltCallback
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MasterRxCpltCallback = HAL_I2C_MasterRxCpltCallback; /* Legacy weak MasterRxCpltCallback
- 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->SlaveTxCpltCallback = HAL_I2C_SlaveTxCpltCallback; /* Legacy weak SlaveTxCpltCallback
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->SlaveRxCpltCallback = HAL_I2C_SlaveRxCpltCallback; /* Legacy weak SlaveRxCpltCallback
- 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ListenCpltCallback = HAL_I2C_ListenCpltCallback; /* Legacy weak ListenCpltCallback
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MemTxCpltCallback = HAL_I2C_MemTxCpltCallback; /* Legacy weak MemTxCpltCallback
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MemRxCpltCallback = HAL_I2C_MemRxCpltCallback; /* Legacy weak MemRxCpltCallback
- 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCallback = HAL_I2C_ErrorCallback; /* Legacy weak ErrorCallback
- 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->AbortCpltCallback = HAL_I2C_AbortCpltCallback; /* Legacy weak AbortCpltCallback
-ARM GAS /tmp/cc8FAL5N.s page 10
-
-
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->AddrCallback = HAL_I2C_AddrCallback; /* Legacy weak AddrCallback
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->MspInitCallback == NULL)
- 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MspInitCallback = HAL_I2C_MspInit; /* Legacy weak MspInit */
- 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */
- 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MspInitCallback(hi2c);
- 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
- 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */
- 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_MspInit(hi2c);
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY;
- 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable the selected I2C peripheral */
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE(hi2c);
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /*Reset I2C*/
- 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->CR1 |= I2C_CR1_SWRST;
- 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->CR1 &= ~I2C_CR1_SWRST;
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Get PCLK1 frequency */
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** pclk1 = HAL_RCC_GetPCLK1Freq();
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check the minimum allowed PCLK1 frequency */
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_MIN_PCLK_FREQ(pclk1, hi2c->Init.ClockSpeed) == 1U)
- 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
- 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Calculate frequency range */
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** freqrange = I2C_FREQRANGE(pclk1);
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /*---------------------------- I2Cx CR2 Configuration ----------------------*/
- 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Configure I2Cx: Frequency range */
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** MODIFY_REG(hi2c->Instance->CR2, I2C_CR2_FREQ, freqrange);
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /*---------------------------- I2Cx TRISE Configuration --------------------*/
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Configure I2Cx: Rise Time */
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** MODIFY_REG(hi2c->Instance->TRISE, I2C_TRISE_TRISE, I2C_RISE_TIME(freqrange, hi2c->Init.ClockSpeed
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /*---------------------------- I2Cx CCR Configuration ----------------------*/
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Configure I2Cx: Speed */
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** MODIFY_REG(hi2c->Instance->CCR, (I2C_CCR_FS | I2C_CCR_DUTY | I2C_CCR_CCR), I2C_SPEED(pclk1, hi2c-
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /*---------------------------- I2Cx CR1 Configuration ----------------------*/
- 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Configure I2Cx: Generalcall and NoStretch mode */
- 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** MODIFY_REG(hi2c->Instance->CR1, (I2C_CR1_ENGC | I2C_CR1_NOSTRETCH), (hi2c->Init.GeneralCallMode |
- 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /*---------------------------- I2Cx OAR1 Configuration ---------------------*/
- 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Configure I2Cx: Own Address1 and addressing mode */
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** MODIFY_REG(hi2c->Instance->OAR1, (I2C_OAR1_ADDMODE | I2C_OAR1_ADD8_9 | I2C_OAR1_ADD1_7 | I2C_OAR1
- 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /*---------------------------- I2Cx OAR2 Configuration ---------------------*/
-ARM GAS /tmp/cc8FAL5N.s page 11
-
-
- 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Configure I2Cx: Dual mode and Own Address2 */
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** MODIFY_REG(hi2c->Instance->OAR2, (I2C_OAR2_ENDUAL | I2C_OAR2_ADD2), (hi2c->Init.DualAddressMode |
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable the selected I2C peripheral */
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
- 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
- 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
- 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief DeInitialize the I2C peripheral.
- 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
- 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
- 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
- 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_DeInit(I2C_HandleTypeDef *hi2c)
- 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check the I2C handle allocation */
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c == NULL)
- 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
- 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check the parameters */
- 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** assert_param(IS_I2C_ALL_INSTANCE(hi2c->Instance));
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY;
- 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable the I2C Peripheral Clock */
- 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE(hi2c);
- 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
- 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->MspDeInitCallback == NULL)
- 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MspDeInitCallback = HAL_I2C_MspDeInit; /* Legacy weak MspDeInit */
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC */
- 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MspDeInitCallback(hi2c);
- 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
- 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC */
- 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_MspDeInit(hi2c);
- 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_RESET;
- 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
- 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Release Lock */
- 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
- 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 12
-
-
- 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
- 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
- 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Initialize the I2C MSP.
- 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
- 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
- 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
- 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
- 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __weak void HAL_I2C_MspInit(I2C_HandleTypeDef *hi2c)
- 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** UNUSED(hi2c);
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* NOTE : This function should not be modified, when the callback is needed,
- 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** the HAL_I2C_MspInit could be implemented in the user file
- 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
- 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
- 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief DeInitialize the I2C MSP.
- 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
- 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
- 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
- 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __weak void HAL_I2C_MspDeInit(I2C_HandleTypeDef *hi2c)
- 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
- 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** UNUSED(hi2c);
- 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* NOTE : This function should not be modified, when the callback is needed,
- 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** the HAL_I2C_MspDeInit could be implemented in the user file
- 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
- 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Register a User I2C Callback
- 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * To be used instead of the weak predefined callback
- 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
- 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
- 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param CallbackID ID of the callback to be registered
- 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * This parameter can be one of the following values:
- 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @arg @ref HAL_I2C_MASTER_TX_COMPLETE_CB_ID Master Tx Transfer completed callback ID
- 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @arg @ref HAL_I2C_MASTER_RX_COMPLETE_CB_ID Master Rx Transfer completed callback ID
- 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @arg @ref HAL_I2C_SLAVE_TX_COMPLETE_CB_ID Slave Tx Transfer completed callback ID
- 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @arg @ref HAL_I2C_SLAVE_RX_COMPLETE_CB_ID Slave Rx Transfer completed callback ID
- 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @arg @ref HAL_I2C_LISTEN_COMPLETE_CB_ID Listen Complete callback ID
- 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @arg @ref HAL_I2C_MEM_TX_COMPLETE_CB_ID Memory Tx Transfer callback ID
- 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @arg @ref HAL_I2C_MEM_RX_COMPLETE_CB_ID Memory Rx Transfer completed callback ID
- 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @arg @ref HAL_I2C_ERROR_CB_ID Error callback ID
- 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @arg @ref HAL_I2C_ABORT_CB_ID Abort callback ID
- 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @arg @ref HAL_I2C_MSPINIT_CB_ID MspInit callback ID
- 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @arg @ref HAL_I2C_MSPDEINIT_CB_ID MspDeInit callback ID
- 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pCallback pointer to the Callback function
- 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
- 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-ARM GAS /tmp/cc8FAL5N.s page 13
-
-
- 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_RegisterCallback(I2C_HandleTypeDef *hi2c, HAL_I2C_CallbackIDTypeDef Callb
- 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef status = HAL_OK;
- 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (pCallback == NULL)
- 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update the error code */
- 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_INVALID_CALLBACK;
- 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
- 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process locked */
- 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
- 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (HAL_I2C_STATE_READY == hi2c->State)
- 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** switch (CallbackID)
- 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_MASTER_TX_COMPLETE_CB_ID :
- 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MasterTxCpltCallback = pCallback;
- 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_MASTER_RX_COMPLETE_CB_ID :
- 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MasterRxCpltCallback = pCallback;
- 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_SLAVE_TX_COMPLETE_CB_ID :
- 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->SlaveTxCpltCallback = pCallback;
- 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_SLAVE_RX_COMPLETE_CB_ID :
- 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->SlaveRxCpltCallback = pCallback;
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_LISTEN_COMPLETE_CB_ID :
- 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ListenCpltCallback = pCallback;
- 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_MEM_TX_COMPLETE_CB_ID :
- 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MemTxCpltCallback = pCallback;
- 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_MEM_RX_COMPLETE_CB_ID :
- 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MemRxCpltCallback = pCallback;
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_ERROR_CB_ID :
- 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCallback = pCallback;
- 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_ABORT_CB_ID :
- 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->AbortCpltCallback = pCallback;
- 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_MSPINIT_CB_ID :
- 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MspInitCallback = pCallback;
- 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
-ARM GAS /tmp/cc8FAL5N.s page 14
-
-
- 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_MSPDEINIT_CB_ID :
- 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MspDeInitCallback = pCallback;
- 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** default :
- 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update the error code */
- 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_INVALID_CALLBACK;
- 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Return error status */
- 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** status = HAL_ERROR;
- 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (HAL_I2C_STATE_RESET == hi2c->State)
- 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** switch (CallbackID)
- 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_MSPINIT_CB_ID :
- 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MspInitCallback = pCallback;
- 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_MSPDEINIT_CB_ID :
- 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MspDeInitCallback = pCallback;
- 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** default :
- 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update the error code */
- 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_INVALID_CALLBACK;
- 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Return error status */
- 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** status = HAL_ERROR;
- 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
- 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update the error code */
- 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_INVALID_CALLBACK;
- 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Return error status */
- 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** status = HAL_ERROR;
- 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Release Lock */
- 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
- 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return status;
- 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
- 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Unregister an I2C Callback
- 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * I2C callback is redirected to the weak predefined callback
- 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
- 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
- 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param CallbackID ID of the callback to be unregistered
- 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * This parameter can be one of the following values:
- 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * This parameter can be one of the following values:
-ARM GAS /tmp/cc8FAL5N.s page 15
-
-
- 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @arg @ref HAL_I2C_MASTER_TX_COMPLETE_CB_ID Master Tx Transfer completed callback ID
- 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @arg @ref HAL_I2C_MASTER_RX_COMPLETE_CB_ID Master Rx Transfer completed callback ID
- 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @arg @ref HAL_I2C_SLAVE_TX_COMPLETE_CB_ID Slave Tx Transfer completed callback ID
- 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @arg @ref HAL_I2C_SLAVE_RX_COMPLETE_CB_ID Slave Rx Transfer completed callback ID
- 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @arg @ref HAL_I2C_LISTEN_COMPLETE_CB_ID Listen Complete callback ID
- 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @arg @ref HAL_I2C_MEM_TX_COMPLETE_CB_ID Memory Tx Transfer callback ID
- 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @arg @ref HAL_I2C_MEM_RX_COMPLETE_CB_ID Memory Rx Transfer completed callback ID
- 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @arg @ref HAL_I2C_ERROR_CB_ID Error callback ID
- 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @arg @ref HAL_I2C_ABORT_CB_ID Abort callback ID
- 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @arg @ref HAL_I2C_MSPINIT_CB_ID MspInit callback ID
- 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @arg @ref HAL_I2C_MSPDEINIT_CB_ID MspDeInit callback ID
- 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
- 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
- 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_UnRegisterCallback(I2C_HandleTypeDef *hi2c, HAL_I2C_CallbackIDTypeDef Cal
- 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef status = HAL_OK;
- 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process locked */
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
- 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (HAL_I2C_STATE_READY == hi2c->State)
- 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** switch (CallbackID)
- 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_MASTER_TX_COMPLETE_CB_ID :
- 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MasterTxCpltCallback = HAL_I2C_MasterTxCpltCallback; /* Legacy weak MasterTxCpltCallb
- 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_MASTER_RX_COMPLETE_CB_ID :
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MasterRxCpltCallback = HAL_I2C_MasterRxCpltCallback; /* Legacy weak MasterRxCpltCallb
- 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_SLAVE_TX_COMPLETE_CB_ID :
- 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->SlaveTxCpltCallback = HAL_I2C_SlaveTxCpltCallback; /* Legacy weak SlaveTxCpltCallba
- 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_SLAVE_RX_COMPLETE_CB_ID :
- 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->SlaveRxCpltCallback = HAL_I2C_SlaveRxCpltCallback; /* Legacy weak SlaveRxCpltCallba
- 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_LISTEN_COMPLETE_CB_ID :
- 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ListenCpltCallback = HAL_I2C_ListenCpltCallback; /* Legacy weak ListenCpltCallbac
- 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_MEM_TX_COMPLETE_CB_ID :
- 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MemTxCpltCallback = HAL_I2C_MemTxCpltCallback; /* Legacy weak MemTxCpltCallback
- 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_MEM_RX_COMPLETE_CB_ID :
- 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MemRxCpltCallback = HAL_I2C_MemRxCpltCallback; /* Legacy weak MemRxCpltCallback
- 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_ERROR_CB_ID :
- 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCallback = HAL_I2C_ErrorCallback; /* Legacy weak ErrorCallback
- 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_ABORT_CB_ID :
-ARM GAS /tmp/cc8FAL5N.s page 16
-
-
- 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->AbortCpltCallback = HAL_I2C_AbortCpltCallback; /* Legacy weak AbortCpltCallback
- 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_MSPINIT_CB_ID :
- 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MspInitCallback = HAL_I2C_MspInit; /* Legacy weak MspInit
- 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_MSPDEINIT_CB_ID :
- 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MspDeInitCallback = HAL_I2C_MspDeInit; /* Legacy weak MspDeInit
- 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** default :
- 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update the error code */
- 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_INVALID_CALLBACK;
- 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Return error status */
- 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** status = HAL_ERROR;
- 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (HAL_I2C_STATE_RESET == hi2c->State)
- 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** switch (CallbackID)
- 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_MSPINIT_CB_ID :
- 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MspInitCallback = HAL_I2C_MspInit; /* Legacy weak MspInit
- 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** case HAL_I2C_MSPDEINIT_CB_ID :
- 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MspDeInitCallback = HAL_I2C_MspDeInit; /* Legacy weak MspDeInit
- 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** default :
- 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update the error code */
- 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_INVALID_CALLBACK;
- 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Return error status */
- 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** status = HAL_ERROR;
- 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
- 875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update the error code */
- 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_INVALID_CALLBACK;
- 878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Return error status */
- 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** status = HAL_ERROR;
- 881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Release Lock */
- 884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
- 885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return status;
- 886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
- 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Register the Slave Address Match I2C Callback
-ARM GAS /tmp/cc8FAL5N.s page 17
-
-
- 890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * To be used instead of the weak HAL_I2C_AddrCallback() predefined callback
- 891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
- 892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
- 893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pCallback pointer to the Address Match Callback function
- 894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
- 895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
- 896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_RegisterAddrCallback(I2C_HandleTypeDef *hi2c, pI2C_AddrCallbackTypeDef pC
- 897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef status = HAL_OK;
- 899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (pCallback == NULL)
- 901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update the error code */
- 903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_INVALID_CALLBACK;
- 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
- 906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process locked */
- 908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
- 909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (HAL_I2C_STATE_READY == hi2c->State)
- 911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->AddrCallback = pCallback;
- 913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
- 915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update the error code */
- 917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_INVALID_CALLBACK;
- 918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Return error status */
- 920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** status = HAL_ERROR;
- 921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Release Lock */
- 924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
- 925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return status;
- 926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
- 929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief UnRegister the Slave Address Match I2C Callback
- 930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * Info Ready I2C Callback is redirected to the weak HAL_I2C_AddrCallback() predefined cal
- 931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
- 932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
- 933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
- 934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
- 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_UnRegisterAddrCallback(I2C_HandleTypeDef *hi2c)
- 936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef status = HAL_OK;
- 938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process locked */
- 940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
- 941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (HAL_I2C_STATE_READY == hi2c->State)
- 943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->AddrCallback = HAL_I2C_AddrCallback; /* Legacy weak AddrCallback */
- 945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-ARM GAS /tmp/cc8FAL5N.s page 18
-
-
- 947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update the error code */
- 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_INVALID_CALLBACK;
- 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Return error status */
- 952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** status = HAL_ERROR;
- 953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Release Lock */
- 956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
- 957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return status;
- 958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
- 963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @}
- 964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
- 965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /** @defgroup I2C_Exported_Functions_Group2 Input and Output operation functions
- 967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Data transfers functions
- 968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *
- 969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** @verbatim
- 970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ===============================================================================
- 971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ##### IO operation functions #####
- 972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ===============================================================================
- 973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** [..]
- 974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** This subsection provides a set of functions allowing to manage the I2C data
- 975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** transfers.
- 976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (#) There are two modes of transfer:
- 978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) Blocking mode : The communication is performed in the polling mode.
- 979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** The status of all data processing is returned by the same function
- 980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** after finishing transfer.
- 981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) No-Blocking mode : The communication is performed using Interrupts
- 982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** or DMA. These functions return the status of the transfer startup.
- 983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** The end of the data processing will be indicated through the
- 984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** dedicated I2C IRQ when using Interrupt mode or the DMA IRQ when
- 985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** using DMA mode.
- 986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (#) Blocking mode functions are :
- 988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Master_Transmit()
- 989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Master_Receive()
- 990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Slave_Transmit()
- 991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Slave_Receive()
- 992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Mem_Write()
- 993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Mem_Read()
- 994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_IsDeviceReady()
- 995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (#) No-Blocking mode functions with Interrupt are :
- 997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Master_Transmit_IT()
- 998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Master_Receive_IT()
- 999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Slave_Transmit_IT()
-1000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Slave_Receive_IT()
-1001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Mem_Write_IT()
-1002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Mem_Read_IT()
-1003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Master_Seq_Transmit_IT()
-ARM GAS /tmp/cc8FAL5N.s page 19
-
-
-1004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Master_Seq_Receive_IT()
-1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Slave_Seq_Transmit_IT()
-1006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Slave_Seq_Receive_IT()
-1007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_EnableListen_IT()
-1008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_DisableListen_IT()
-1009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Master_Abort_IT()
-1010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (#) No-Blocking mode functions with DMA are :
-1012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Master_Transmit_DMA()
-1013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Master_Receive_DMA()
-1014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Slave_Transmit_DMA()
-1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Slave_Receive_DMA()
-1016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Mem_Write_DMA()
-1017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Mem_Read_DMA()
-1018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Master_Seq_Transmit_DMA()
-1019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Master_Seq_Receive_DMA()
-1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Slave_Seq_Transmit_DMA()
-1021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_Slave_Seq_Receive_DMA()
-1022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (#) A set of Transfer Complete Callbacks are provided in non Blocking mode:
-1024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_MasterTxCpltCallback()
-1025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_MasterRxCpltCallback()
-1026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_SlaveTxCpltCallback()
-1027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_SlaveRxCpltCallback()
-1028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_MemTxCpltCallback()
-1029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_MemRxCpltCallback()
-1030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_AddrCallback()
-1031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_ListenCpltCallback()
-1032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_ErrorCallback()
-1033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (++) HAL_I2C_AbortCpltCallback()
-1034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** @endverbatim
-1036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @{
-1037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-1038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-1040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Transmits in master mode an amount of data in blocking mode.
-1041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-1043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param DevAddress Target device address: The device 7 bits address value
-1044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * in datasheet must be shifted to the left before calling the interface
-1045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-1047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Timeout Timeout duration
-1048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-1049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-1050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Master_Transmit(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pD
-1051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Init tickstart for timeout management*/
-1053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t tickstart = HAL_GetTick();
-1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
-1056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BUSY flag is reset */
-1058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BUSY, SET, I2C_TIMEOUT_BUSY_FLAG, tickstart) != H
-1059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-ARM GAS /tmp/cc8FAL5N.s page 20
-
-
-1061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-1064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-1065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-1067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-1068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-1070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-1071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-1074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-1075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_TX;
-1077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MASTER;
-1078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-1079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-1082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-1083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-1084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
-1085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send Slave Address */
-1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_MasterRequestWrite(hi2c, DevAddress, Timeout, tickstart) != HAL_OK)
-1088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-1090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-1093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-1094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (hi2c->XferSize > 0U)
-1096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until TXE flag is set */
-1098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnTXEFlagUntilTimeout(hi2c, Timeout, tickstart) != HAL_OK)
-1099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->ErrorCode == HAL_I2C_ERROR_AF)
-1101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-1103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-1104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-1106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Write data to DR */
-1109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = *hi2c->pBuffPtr;
-1110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-1112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-1113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-1115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-1116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
-1117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 21
-
-
-1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BTF) == SET) && (hi2c->XferSize != 0U))
-1119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Write data to DR */
-1121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = *hi2c->pBuffPtr;
-1122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-1124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-1125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-1127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-1128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
-1129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BTF flag is set */
-1132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnBTFFlagUntilTimeout(hi2c, Timeout, tickstart) != HAL_OK)
-1133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->ErrorCode == HAL_I2C_ERROR_AF)
-1135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-1137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-1140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-1144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-1145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-1147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-1148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-1151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-1153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-1155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-1157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-1161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Receives in master mode an amount of data in blocking mode.
-1162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-1164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param DevAddress Target device address: The device 7 bits address value
-1165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * in datasheet must be shifted to the left before calling the interface
-1166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-1167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-1168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Timeout Timeout duration
-1169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-1170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-1171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Master_Receive(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pDa
-1172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
-1174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 22
-
-
-1175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Init tickstart for timeout management*/
-1176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t tickstart = HAL_GetTick();
-1177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
-1179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BUSY flag is reset */
-1181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BUSY, SET, I2C_TIMEOUT_BUSY_FLAG, tickstart) != H
-1182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-1184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-1187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-1188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-1190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-1191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-1193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-1194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-1197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-1198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_RX;
-1200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MASTER;
-1201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-1202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-1204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-1205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-1206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-1207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
-1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send Slave Address */
-1210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_MasterRequestRead(hi2c, DevAddress, Timeout, tickstart) != HAL_OK)
-1211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-1213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferSize == 0U)
-1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-1218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-1219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-1221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-1222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (hi2c->XferSize == 1U)
-1224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-1226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-1227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable all active IRQs around ADDR clearing and STOP programming because the EV6_3
-1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** software sequence must complete before the current byte end of transfer */
-1230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __disable_irq();
-1231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 23
-
-
-1232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-1233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-1234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-1236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Re-enable IRQs */
-1239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __enable_irq();
-1240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (hi2c->XferSize == 2U)
-1242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Pos */
-1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-1245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable all active IRQs around ADDR clearing and STOP programming because the EV6_3
-1247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** software sequence must complete before the current byte end of transfer */
-1248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __disable_irq();
-1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-1251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-1252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-1254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Re-enable IRQs */
-1257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __enable_irq();
-1258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-1260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Acknowledge */
-1262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-1263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-1265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-1266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (hi2c->XferSize > 0U)
-1269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferSize <= 3U)
-1271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* One byte */
-1273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferSize == 1U)
-1274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until RXNE flag is set */
-1276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnRXNEFlagUntilTimeout(hi2c, Timeout, tickstart) != HAL_OK)
-1277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-1279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-1282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-1283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-1285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-1288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
-ARM GAS /tmp/cc8FAL5N.s page 24
-
-
-1289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-1290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Two bytes */
-1292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (hi2c->XferSize == 2U)
-1293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BTF flag is set */
-1295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BTF, RESET, Timeout, tickstart) != HAL_OK)
-1296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-1298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable all active IRQs around ADDR clearing and STOP programming because the EV6_3
-1301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** software sequence must complete before the current byte end of transfer */
-1302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __disable_irq();
-1303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-1305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-1306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-1308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-1309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-1311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-1312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
-1315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-1316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Re-enable IRQs */
-1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __enable_irq();
-1319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-1321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-1322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-1324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-1325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-1327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
-1328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-1329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* 3 Last bytes */
-1331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-1332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BTF flag is set */
-1334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BTF, RESET, Timeout, tickstart) != HAL_OK)
-1335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-1337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-1340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-1341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable all active IRQs around ADDR clearing and STOP programming because the EV6_3
-1343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** software sequence must complete before the current byte end of transfer */
-1344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __disable_irq();
-1345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 25
-
-
-1346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-1347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-1348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-1350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-1351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-1353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
-1354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-1355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BTF flag is set */
-1357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count = I2C_TIMEOUT_FLAG * (SystemCoreClock / 25U / 1000U);
-1358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
-1359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count--;
-1361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
-1362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-1364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-1365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-1366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
-1367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Re-enable IRQs */
-1369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __enable_irq();
-1370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-1372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-1373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-1375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BTF) == RESET);
-1378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-1380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-1381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-1383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-1384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-1386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-1387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-1389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
-1390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-1391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Re-enable IRQs */
-1393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __enable_irq();
-1394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-1396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-1397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-1399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-1400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-1402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
-ARM GAS /tmp/cc8FAL5N.s page 26
-
-
-1403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-1404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-1407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until RXNE flag is set */
-1409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnRXNEFlagUntilTimeout(hi2c, Timeout, tickstart) != HAL_OK)
-1410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-1412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-1415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-1416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-1418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-1419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-1421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
-1422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-1423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BTF) == SET)
-1425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-1427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-1428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-1430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-1431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-1433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
-1434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-1435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-1440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-1441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-1443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-1444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-1446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-1448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-1450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-1454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Transmits in slave mode an amount of data in blocking mode.
-1455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-1456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-1457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-1458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-1459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Timeout Timeout duration
-ARM GAS /tmp/cc8FAL5N.s page 27
-
-
-1460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-1461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-1462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Slave_Transmit(I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size, ui
-1463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Init tickstart for timeout management*/
-1465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t tickstart = HAL_GetTick();
-1466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
-1468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((pData == NULL) || (Size == 0U))
-1470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-1472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-1475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-1476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-1478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-1479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-1481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-1482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-1485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-1486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_TX;
-1488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_SLAVE;
-1489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-1490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-1492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-1493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-1494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-1495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
-1496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Address Acknowledge */
-1498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-1499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until ADDR flag is set */
-1501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_ADDR, RESET, Timeout, tickstart) != HAL_OK)
-1502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-1504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-1507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-1508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* If 10bit addressing mode is selected */
-1510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->Init.AddressingMode == I2C_ADDRESSINGMODE_10BIT)
-1511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until ADDR flag is set */
-1513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_ADDR, RESET, Timeout, tickstart) != HAL_OK)
-1514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-1516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-ARM GAS /tmp/cc8FAL5N.s page 28
-
-
-1517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-1519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-1520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (hi2c->XferSize > 0U)
-1523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until TXE flag is set */
-1525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnTXEFlagUntilTimeout(hi2c, Timeout, tickstart) != HAL_OK)
-1526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Address Acknowledge */
-1528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-1529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-1531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Write data to DR */
-1534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = *hi2c->pBuffPtr;
-1535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-1537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-1538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-1540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-1541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
-1542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BTF) == SET) && (hi2c->XferSize != 0U))
-1544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Write data to DR */
-1546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = *hi2c->pBuffPtr;
-1547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-1549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-1550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-1552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-1553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
-1554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until AF flag is set */
-1558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_AF, RESET, Timeout, tickstart) != HAL_OK)
-1559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-1561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear AF flag */
-1564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_FLAG(hi2c, I2C_FLAG_AF);
-1565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Address Acknowledge */
-1567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-1568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-1570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-1571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-1573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-ARM GAS /tmp/cc8FAL5N.s page 29
-
-
-1574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-1576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-1578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-1580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-1584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Receive in slave mode an amount of data in blocking mode
-1585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-1586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-1587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-1588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-1589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Timeout Timeout duration
-1590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-1591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-1592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Slave_Receive(I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size, uin
-1593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Init tickstart for timeout management*/
-1595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t tickstart = HAL_GetTick();
-1596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
-1598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((pData == NULL) || (Size == (uint16_t)0))
-1600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-1602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-1605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-1606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-1608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-1609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-1611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-1612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-1615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-1616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_RX;
-1618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_SLAVE;
-1619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-1620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-1622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-1623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-1624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-1625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
-1626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Address Acknowledge */
-1628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-1629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until ADDR flag is set */
-ARM GAS /tmp/cc8FAL5N.s page 30
-
-
-1631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_ADDR, RESET, Timeout, tickstart) != HAL_OK)
-1632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-1634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-1637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-1638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (hi2c->XferSize > 0U)
-1640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until RXNE flag is set */
-1642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnRXNEFlagUntilTimeout(hi2c, Timeout, tickstart) != HAL_OK)
-1643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Address Acknowledge */
-1645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-1646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-1648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-1651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-1652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-1654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-1655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-1657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
-1658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-1659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BTF) == SET) && (hi2c->XferSize != 0U))
-1661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-1663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-1664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-1666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-1667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-1669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
-1670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-1671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until STOP flag is set */
-1675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnSTOPFlagUntilTimeout(hi2c, Timeout, tickstart) != HAL_OK)
-1676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Address Acknowledge */
-1678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-1679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-1681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear STOP flag */
-1684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_STOPFLAG(hi2c);
-1685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Address Acknowledge */
-1687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-ARM GAS /tmp/cc8FAL5N.s page 31
-
-
-1688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-1690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-1691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-1693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-1694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-1696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-1698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-1700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-1704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Transmit in master mode an amount of data in non-blocking mode with Interrupt
-1705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-1706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-1707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param DevAddress Target device address: The device 7 bits address value
-1708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * in datasheet must be shifted to the left before calling the interface
-1709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-1710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-1711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-1712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-1713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Master_Transmit_IT(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t
-1714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
-1716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
-1718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BUSY flag is reset */
-1720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count = I2C_TIMEOUT_BUSY_FLAG * (SystemCoreClock / 25U / 1000U);
-1721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
-1722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count--;
-1724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
-1725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-1727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-1728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-1729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
-1730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-1732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-1733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-1735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET);
-1738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-1740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-1741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-1743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-1744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-ARM GAS /tmp/cc8FAL5N.s page 32
-
-
-1745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-1746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-1747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-1750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-1751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_TX;
-1753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MASTER;
-1754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-1755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-1757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-1758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-1759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-1760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
-1761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Devaddress = DevAddress;
-1762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Start */
-1764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
-1765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-1767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-1768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Note : The I2C interrupts must be enabled after unlocking current process
-1770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to avoid the risk of I2C interrupt handle execution before current
-1771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** process unlock */
-1772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable EVT, BUF and ERR interrupt */
-1773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-1774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-1776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-1778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-1780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-1784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Receive in master mode an amount of data in non-blocking mode with Interrupt
-1785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-1786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-1787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param DevAddress Target device address: The device 7 bits address value
-1788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * in datasheet must be shifted to the left before calling the interface
-1789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-1790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-1791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-1792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-1793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Master_Receive_IT(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *
-1794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
-1796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
-1798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BUSY flag is reset */
-1800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count = I2C_TIMEOUT_BUSY_FLAG * (SystemCoreClock / 25U / 1000U);
-1801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
-ARM GAS /tmp/cc8FAL5N.s page 33
-
-
-1802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count--;
-1804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
-1805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-1807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-1808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-1809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
-1810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-1812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-1813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-1815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET);
-1818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-1820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-1821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-1823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-1824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-1826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-1827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-1830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-1831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_RX;
-1833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MASTER;
-1834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-1835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-1837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-1838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-1839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-1840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
-1841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Devaddress = DevAddress;
-1842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Acknowledge */
-1844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-1845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Start */
-1847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
-1848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-1850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-1851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Note : The I2C interrupts must be enabled after unlocking current process
-1853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to avoid the risk of I2C interrupt handle execution before current
-1854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** process unlock */
-1855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable EVT, BUF and ERR interrupt */
-1857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-1858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 34
-
-
-1859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-1860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-1862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-1864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-1868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Transmit in slave mode an amount of data in non-blocking mode with Interrupt
-1869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-1870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-1871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-1872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-1873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-1874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-1875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Slave_Transmit_IT(I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size)
-1876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
-1879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((pData == NULL) || (Size == 0U))
-1881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-1883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-1886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-1887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-1889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-1890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-1892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-1893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-1896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-1897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_TX;
-1899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_SLAVE;
-1900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-1901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-1903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-1904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-1905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-1906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
-1907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Address Acknowledge */
-1909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-1910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-1912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-1913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Note : The I2C interrupts must be enabled after unlocking current process
-1915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to avoid the risk of I2C interrupt handle execution before current
-ARM GAS /tmp/cc8FAL5N.s page 35
-
-
-1916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** process unlock */
-1917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable EVT, BUF and ERR interrupt */
-1919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-1920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-1922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-1924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-1926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-1930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Receive in slave mode an amount of data in non-blocking mode with Interrupt
-1931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-1932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-1933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-1934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-1935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-1936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-1937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Slave_Receive_IT(I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size)
-1938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
-1941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((pData == NULL) || (Size == 0U))
-1943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-1945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-1948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-1949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-1951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-1952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-1954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-1955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-1958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-1959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_RX;
-1961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_SLAVE;
-1962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-1963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-1965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-1966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-1967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-1968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
-1969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Address Acknowledge */
-1971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-1972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 36
-
-
-1973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-1974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-1975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Note : The I2C interrupts must be enabled after unlocking current process
-1977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to avoid the risk of I2C interrupt handle execution before current
-1978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** process unlock */
-1979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable EVT, BUF and ERR interrupt */
-1981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-1982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-1984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-1986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-1987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-1988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-1990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-1991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-1992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Transmit in master mode an amount of data in non-blocking mode with DMA
-1993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-1994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-1995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param DevAddress Target device address: The device 7 bits address value
-1996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * in datasheet must be shifted to the left before calling the interface
-1997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-1998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-1999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-2000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-2001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Master_Transmit_DMA(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t
-2002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
-2004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef dmaxferstatus;
-2005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
-2007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BUSY flag is reset */
-2009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count = I2C_TIMEOUT_BUSY_FLAG * (SystemCoreClock / 25U / 1000U);
-2010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
-2011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count--;
-2013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
-2014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-2016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-2017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-2018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
-2019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-2021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-2022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-2024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET);
-2027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-2029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-ARM GAS /tmp/cc8FAL5N.s page 37
-
-
-2030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-2032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-2033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-2035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-2036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-2039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-2040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_TX;
-2042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MASTER;
-2043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-2044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-2046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-2047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-2048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-2049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
-2050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Devaddress = DevAddress;
-2051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferSize > 0U)
-2053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the I2C DMA transfer complete callback */
-2055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferCpltCallback = I2C_DMAXferCplt;
-2056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the DMA error callback */
-2058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferErrorCallback = I2C_DMAError;
-2059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the unused DMA callbacks to NULL */
-2061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferHalfCpltCallback = NULL;
-2062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferAbortCallback = NULL;
-2063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable the DMA channel */
-2065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** dmaxferstatus = HAL_DMA_Start_IT(hi2c->hdmatx, (uint32_t)hi2c->pBuffPtr, (uint32_t)&hi2c->Ins
-2066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (dmaxferstatus == HAL_OK)
-2068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Acknowledge */
-2070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-2071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Start */
-2073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
-2074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-2076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-2077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Note : The I2C interrupts must be enabled after unlocking current process
-2079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to avoid the risk of I2C interrupt handle execution before current
-2080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** process unlock */
-2081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable EVT and ERR interrupt */
-2083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_ERR);
-2084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable DMA Request */
-2086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR2, I2C_CR2_DMAEN);
-ARM GAS /tmp/cc8FAL5N.s page 38
-
-
-2087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-2089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update I2C state */
-2091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update I2C error code */
-2095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_DMA;
-2096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-2098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-2099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-2101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-2104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Acknowledge */
-2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-2107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Start */
-2109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
-2110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-2112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-2113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Note : The I2C interrupts must be enabled after unlocking current process
-2115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to avoid the risk of I2C interrupt handle execution before current
-2116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** process unlock */
-2117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable EVT, BUF and ERR interrupt */
-2119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-2120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-2123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-2125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-2127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-2131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Receive in master mode an amount of data in non-blocking mode with DMA
-2132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-2133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-2134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param DevAddress Target device address: The device 7 bits address value
-2135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * in datasheet must be shifted to the left before calling the interface
-2136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-2137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-2138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-2139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-2140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Master_Receive_DMA(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t
-2141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
-2143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef dmaxferstatus;
-ARM GAS /tmp/cc8FAL5N.s page 39
-
-
-2144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
-2146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BUSY flag is reset */
-2148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count = I2C_TIMEOUT_BUSY_FLAG * (SystemCoreClock / 25U / 1000U);
-2149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
-2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count--;
-2152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
-2153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-2155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-2156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-2157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
-2158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-2160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-2161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-2163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET);
-2166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-2168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-2169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-2171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-2172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-2174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-2175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-2178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-2179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_RX;
-2181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MASTER;
-2182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-2183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-2185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-2186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-2187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-2188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
-2189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Devaddress = DevAddress;
-2190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferSize > 0U)
-2192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the I2C DMA transfer complete callback */
-2194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferCpltCallback = I2C_DMAXferCplt;
-2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the DMA error callback */
-2197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferErrorCallback = I2C_DMAError;
-2198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the unused DMA callbacks to NULL */
-2200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferHalfCpltCallback = NULL;
-ARM GAS /tmp/cc8FAL5N.s page 40
-
-
-2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferAbortCallback = NULL;
-2202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable the DMA channel */
-2204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** dmaxferstatus = HAL_DMA_Start_IT(hi2c->hdmarx, (uint32_t)&hi2c->Instance->DR, (uint32_t)hi2c-
-2205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (dmaxferstatus == HAL_OK)
-2207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Acknowledge */
-2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-2210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Start */
-2212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
-2213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-2215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-2216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Note : The I2C interrupts must be enabled after unlocking current process
-2218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to avoid the risk of I2C interrupt handle execution before current
-2219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** process unlock */
-2220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable EVT and ERR interrupt */
-2222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_ERR);
-2223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable DMA Request */
-2225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR2, I2C_CR2_DMAEN);
-2226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-2228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update I2C state */
-2230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-2231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-2232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update I2C error code */
-2234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_DMA;
-2235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-2238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-2243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Acknowledge */
-2245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-2246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Start */
-2248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
-2249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-2252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Note : The I2C interrupts must be enabled after unlocking current process
-2254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to avoid the risk of I2C interrupt handle execution before current
-2255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** process unlock */
-2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable EVT, BUF and ERR interrupt */
-ARM GAS /tmp/cc8FAL5N.s page 41
-
-
-2258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-2259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-2264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-2266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-2270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Transmit in slave mode an amount of data in non-blocking mode with DMA
-2271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-2272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-2273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-2274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-2275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-2276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-2277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Slave_Transmit_DMA(I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size
-2278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef dmaxferstatus;
-2280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
-2282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((pData == NULL) || (Size == 0U))
-2284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-2286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-2289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-2290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-2292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-2293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-2295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-2296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-2299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-2300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_TX;
-2302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_SLAVE;
-2303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-2304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-2306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-2307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-2308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-2309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
-2310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the I2C DMA transfer complete callback */
-2312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferCpltCallback = I2C_DMAXferCplt;
-2313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the DMA error callback */
-ARM GAS /tmp/cc8FAL5N.s page 42
-
-
-2315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferErrorCallback = I2C_DMAError;
-2316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the unused DMA callbacks to NULL */
-2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferHalfCpltCallback = NULL;
-2319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferAbortCallback = NULL;
-2320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable the DMA channel */
-2322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** dmaxferstatus = HAL_DMA_Start_IT(hi2c->hdmatx, (uint32_t)hi2c->pBuffPtr, (uint32_t)&hi2c->Insta
-2323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (dmaxferstatus == HAL_OK)
-2325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Address Acknowledge */
-2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-2328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-2330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-2331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Note : The I2C interrupts must be enabled after unlocking current process
-2333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to avoid the risk of I2C interrupt handle execution before current
-2334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** process unlock */
-2335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable EVT and ERR interrupt */
-2336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_ERR);
-2337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable DMA Request */
-2339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->CR2 |= I2C_CR2_DMAEN;
-2340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-2342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-2344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update I2C state */
-2346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-2347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-2348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update I2C error code */
-2350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_DMA;
-2351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-2353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-2356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-2359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-2361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-2365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Receive in slave mode an amount of data in non-blocking mode with DMA
-2366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-2367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-2368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-2369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-2370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-2371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-ARM GAS /tmp/cc8FAL5N.s page 43
-
-
-2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Slave_Receive_DMA(I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Size)
-2373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef dmaxferstatus;
-2375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
-2377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((pData == NULL) || (Size == 0U))
-2379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-2381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-2384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-2385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-2387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-2388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-2390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-2391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-2394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-2395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_RX;
-2397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_SLAVE;
-2398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-2399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-2401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-2402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-2403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
-2405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the I2C DMA transfer complete callback */
-2407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferCpltCallback = I2C_DMAXferCplt;
-2408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the DMA error callback */
-2410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferErrorCallback = I2C_DMAError;
-2411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the unused DMA callbacks to NULL */
-2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferHalfCpltCallback = NULL;
-2414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferAbortCallback = NULL;
-2415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable the DMA channel */
-2417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** dmaxferstatus = HAL_DMA_Start_IT(hi2c->hdmarx, (uint32_t)&hi2c->Instance->DR, (uint32_t)hi2c->p
-2418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (dmaxferstatus == HAL_OK)
-2420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Address Acknowledge */
-2422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-2425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-2426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Note : The I2C interrupts must be enabled after unlocking current process
-2428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to avoid the risk of I2C interrupt handle execution before current
-ARM GAS /tmp/cc8FAL5N.s page 44
-
-
-2429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** process unlock */
-2430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable EVT and ERR interrupt */
-2431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_ERR);
-2432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable DMA Request */
-2434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR2, I2C_CR2_DMAEN);
-2435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-2437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-2439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update I2C state */
-2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-2442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-2443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update I2C error code */
-2445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_DMA;
-2446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-2448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-2449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-2451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-2454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-2456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-2460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Write an amount of data in blocking mode to a specific memory address
-2461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-2462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-2463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param DevAddress Target device address: The device 7 bits address value
-2464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * in datasheet must be shifted to the left before calling the interface
-2465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param MemAddress Internal memory address
-2466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param MemAddSize Size of internal memory address
-2467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-2468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-2469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Timeout Timeout duration
-2470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-2471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-2472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Mem_Write(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddre
-2473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Init tickstart for timeout management*/
-2475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t tickstart = HAL_GetTick();
-2476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check the parameters */
-2478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** assert_param(IS_I2C_MEMADD_SIZE(MemAddSize));
-2479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
-2481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BUSY flag is reset */
-2483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BUSY, SET, I2C_TIMEOUT_BUSY_FLAG, tickstart) != H
-2484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-ARM GAS /tmp/cc8FAL5N.s page 45
-
-
-2486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-2490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-2492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-2493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-2495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-2496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-2499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-2500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_TX;
-2502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MEM;
-2503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-2504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-2506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-2507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-2508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-2509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
-2510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send Slave Address and Memory Address */
-2512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_RequestMemoryWrite(hi2c, DevAddress, MemAddress, MemAddSize, Timeout, tickstart) != HAL
-2513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-2515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (hi2c->XferSize > 0U)
-2518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until TXE flag is set */
-2520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnTXEFlagUntilTimeout(hi2c, Timeout, tickstart) != HAL_OK)
-2521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->ErrorCode == HAL_I2C_ERROR_AF)
-2523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-2525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-2526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-2528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Write data to DR */
-2531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = *hi2c->pBuffPtr;
-2532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-2534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-2535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-2537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
-2538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-2539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BTF) == SET) && (hi2c->XferSize != 0U))
-2541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Write data to DR */
-ARM GAS /tmp/cc8FAL5N.s page 46
-
-
-2543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = *hi2c->pBuffPtr;
-2544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-2546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-2547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-2549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
-2550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-2551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BTF flag is set */
-2555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnBTFFlagUntilTimeout(hi2c, Timeout, tickstart) != HAL_OK)
-2556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->ErrorCode == HAL_I2C_ERROR_AF)
-2558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-2560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-2561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-2563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-2566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-2567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-2570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-2572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-2573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-2575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-2577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-2579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-2583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Read an amount of data in blocking mode from a specific memory address
-2584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-2585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-2586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param DevAddress Target device address: The device 7 bits address value
-2587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * in datasheet must be shifted to the left before calling the interface
-2588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param MemAddress Internal memory address
-2589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param MemAddSize Size of internal memory address
-2590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-2591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-2592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Timeout Timeout duration
-2593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-2594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-2595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Mem_Read(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddres
-2596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
-2598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Init tickstart for timeout management*/
-ARM GAS /tmp/cc8FAL5N.s page 47
-
-
-2600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t tickstart = HAL_GetTick();
-2601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check the parameters */
-2603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** assert_param(IS_I2C_MEMADD_SIZE(MemAddSize));
-2604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
-2606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BUSY flag is reset */
-2608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BUSY, SET, I2C_TIMEOUT_BUSY_FLAG, tickstart) != H
-2609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-2611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-2614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-2615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-2617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-2618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-2620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-2621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-2624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-2625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_RX;
-2627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MEM;
-2628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-2629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-2631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-2632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-2633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-2634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
-2635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send Slave Address and Memory Address */
-2637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_RequestMemoryRead(hi2c, DevAddress, MemAddress, MemAddSize, Timeout, tickstart) != HAL_
-2638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-2640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferSize == 0U)
-2643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-2645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-2646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-2648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-2649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (hi2c->XferSize == 1U)
-2651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-2653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-2654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable all active IRQs around ADDR clearing and STOP programming because the EV6_3
-2656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** software sequence must complete before the current byte end of transfer */
-ARM GAS /tmp/cc8FAL5N.s page 48
-
-
-2657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __disable_irq();
-2658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-2660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-2661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-2663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-2664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Re-enable IRQs */
-2666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __enable_irq();
-2667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (hi2c->XferSize == 2U)
-2669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Pos */
-2671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-2672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable all active IRQs around ADDR clearing and STOP programming because the EV6_3
-2674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** software sequence must complete before the current byte end of transfer */
-2675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __disable_irq();
-2676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-2678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-2679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-2681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-2682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Re-enable IRQs */
-2684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __enable_irq();
-2685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-2687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Acknowledge */
-2689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-2690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-2691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-2692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (hi2c->XferSize > 0U)
-2695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferSize <= 3U)
-2697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* One byte */
-2699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferSize == 1U)
-2700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until RXNE flag is set */
-2702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnRXNEFlagUntilTimeout(hi2c, Timeout, tickstart) != HAL_OK)
-2703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-2705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-2708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-2709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-2711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-2712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-ARM GAS /tmp/cc8FAL5N.s page 49
-
-
-2714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
-2715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-2716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Two bytes */
-2718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (hi2c->XferSize == 2U)
-2719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BTF flag is set */
-2721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BTF, RESET, Timeout, tickstart) != HAL_OK)
-2722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-2724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable all active IRQs around ADDR clearing and STOP programming because the EV6_3
-2727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** software sequence must complete before the current byte end of transfer */
-2728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __disable_irq();
-2729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-2731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-2732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-2734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-2735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-2737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-2738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-2740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
-2741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-2742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Re-enable IRQs */
-2744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __enable_irq();
-2745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-2747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-2748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-2750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-2751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-2753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
-2754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-2755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* 3 Last bytes */
-2757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-2758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BTF flag is set */
-2760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BTF, RESET, Timeout, tickstart) != HAL_OK)
-2761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-2763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-2766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-2767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable all active IRQs around ADDR clearing and STOP programming because the EV6_3
-2769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** software sequence must complete before the current byte end of transfer */
-2770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __disable_irq();
-ARM GAS /tmp/cc8FAL5N.s page 50
-
-
-2771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-2773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-2774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-2776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-2777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-2779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
-2780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-2781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BTF flag is set */
-2783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count = I2C_TIMEOUT_FLAG * (SystemCoreClock / 25U / 1000U);
-2784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
-2785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count--;
-2787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
-2788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-2790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-2791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-2792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
-2793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Re-enable IRQs */
-2795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __enable_irq();
-2796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-2798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-2799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-2801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BTF) == RESET);
-2804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-2806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-2807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-2809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-2810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-2812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-2813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-2815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
-2816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-2817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Re-enable IRQs */
-2819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __enable_irq();
-2820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-2822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-2823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-2825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-2826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-ARM GAS /tmp/cc8FAL5N.s page 51
-
-
-2828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
-2829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-2830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-2833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until RXNE flag is set */
-2835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnRXNEFlagUntilTimeout(hi2c, Timeout, tickstart) != HAL_OK)
-2836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-2838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-2841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-2842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-2844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-2845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-2847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
-2848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-2849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BTF) == SET)
-2851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-2853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-2854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-2856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-2857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-2859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
-2860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-2861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-2866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-2867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-2869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-2870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-2872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-2874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-2876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-2880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Write an amount of data in non-blocking mode with Interrupt to a specific memory addres
-2881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-2882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-2883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param DevAddress Target device address: The device 7 bits address value
-2884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * in datasheet must be shifted to the left before calling the interface
-ARM GAS /tmp/cc8FAL5N.s page 52
-
-
-2885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param MemAddress Internal memory address
-2886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param MemAddSize Size of internal memory address
-2887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-2888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-2889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-2890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-2891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Mem_Write_IT(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAd
-2892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
-2894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check the parameters */
-2896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** assert_param(IS_I2C_MEMADD_SIZE(MemAddSize));
-2897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
-2899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BUSY flag is reset */
-2901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count = I2C_TIMEOUT_BUSY_FLAG * (SystemCoreClock / 25U / 1000U);
-2902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
-2903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count--;
-2905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
-2906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-2908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-2909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-2910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
-2911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-2913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-2914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-2916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET);
-2919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-2921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-2922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-2924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-2925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-2927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-2928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-2931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-2932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_TX;
-2934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MEM;
-2935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-2936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-2938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-2939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-2940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-2941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
-ARM GAS /tmp/cc8FAL5N.s page 53
-
-
-2942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Devaddress = DevAddress;
-2943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Memaddress = MemAddress;
-2944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MemaddSize = MemAddSize;
-2945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->EventCount = 0U;
-2946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Start */
-2948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
-2949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-2951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-2952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Note : The I2C interrupts must be enabled after unlocking current process
-2954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to avoid the risk of I2C interrupt handle execution before current
-2955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** process unlock */
-2956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable EVT, BUF and ERR interrupt */
-2958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-2959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-2961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-2963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-2965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-2967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-2969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Read an amount of data in non-blocking mode with Interrupt from a specific memory addre
-2970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-2971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-2972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param DevAddress Target device address
-2973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param MemAddress Internal memory address
-2974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param MemAddSize Size of internal memory address
-2975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-2976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-2977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-2978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-2979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Mem_Read_IT(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAdd
-2980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
-2982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check the parameters */
-2984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** assert_param(IS_I2C_MEMADD_SIZE(MemAddSize));
-2985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-2986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
-2987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BUSY flag is reset */
-2989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count = I2C_TIMEOUT_BUSY_FLAG * (SystemCoreClock / 25U / 1000U);
-2990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
-2991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count--;
-2993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
-2994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-2995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-2996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-2997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-2998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
-ARM GAS /tmp/cc8FAL5N.s page 54
-
-
-2999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-3001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-3002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-3004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET);
-3007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-3009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-3010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-3012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-3013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-3015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-3016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-3019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-3020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_RX;
-3022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MEM;
-3023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-3024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-3026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-3027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-3028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-3029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
-3030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Devaddress = DevAddress;
-3031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Memaddress = MemAddress;
-3032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MemaddSize = MemAddSize;
-3033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->EventCount = 0U;
-3034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Acknowledge */
-3036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-3037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Start */
-3039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
-3040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-3042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-3043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferSize > 0U)
-3045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Note : The I2C interrupts must be enabled after unlocking current process
-3047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to avoid the risk of I2C interrupt handle execution before current
-3048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** process unlock */
-3049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable EVT, BUF and ERR interrupt */
-3051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-3052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-3054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-ARM GAS /tmp/cc8FAL5N.s page 55
-
-
-3056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-3058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-3062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Write an amount of data in non-blocking mode with DMA to a specific memory address
-3063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-3064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-3065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param DevAddress Target device address: The device 7 bits address value
-3066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * in datasheet must be shifted to the left before calling the interface
-3067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param MemAddress Internal memory address
-3068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param MemAddSize Size of internal memory address
-3069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-3070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-3071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-3072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-3073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Mem_Write_DMA(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemA
-3074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
-3076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef dmaxferstatus;
-3077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Init tickstart for timeout management*/
-3079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t tickstart = HAL_GetTick();
-3080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check the parameters */
-3082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** assert_param(IS_I2C_MEMADD_SIZE(MemAddSize));
-3083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
-3085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BUSY flag is reset */
-3087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count = I2C_TIMEOUT_BUSY_FLAG * (SystemCoreClock / 25U / 1000U);
-3088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
-3089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count--;
-3091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
-3092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-3094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-3095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-3096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
-3097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-3099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-3100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-3102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET);
-3105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-3107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-3108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-3110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-3111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-ARM GAS /tmp/cc8FAL5N.s page 56
-
-
-3113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-3114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-3117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-3118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_TX;
-3120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MEM;
-3121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-3122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-3124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-3125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-3126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-3127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
-3128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferSize > 0U)
-3130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the I2C DMA transfer complete callback */
-3132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferCpltCallback = I2C_DMAXferCplt;
-3133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the DMA error callback */
-3135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferErrorCallback = I2C_DMAError;
-3136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the unused DMA callbacks to NULL */
-3138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferHalfCpltCallback = NULL;
-3139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferAbortCallback = NULL;
-3140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable the DMA channel */
-3142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** dmaxferstatus = HAL_DMA_Start_IT(hi2c->hdmatx, (uint32_t)hi2c->pBuffPtr, (uint32_t)&hi2c->Ins
-3143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (dmaxferstatus == HAL_OK)
-3145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send Slave Address and Memory Address */
-3147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_RequestMemoryWrite(hi2c, DevAddress, MemAddress, MemAddSize, I2C_TIMEOUT_FLAG, tick
-3148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Abort the ongoing DMA */
-3150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** dmaxferstatus = HAL_DMA_Abort_IT(hi2c->hdmatx);
-3151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation and MISRA warning */
-3153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** UNUSED(dmaxferstatus);
-3154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear directly Complete callback as no XferAbortCallback is used to finalize Abort tre
-3156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->hdmatx != NULL)
-3157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferCpltCallback = NULL;
-3159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-3162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-3163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = 0U;
-3165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = 0U;
-3166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable I2C peripheral to prevent dummy data in buffer */
-3168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE(hi2c);
-3169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 57
-
-
-3170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-3171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-3174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-3175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-3177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-3178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Note : The I2C interrupts must be enabled after unlocking current process
-3180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to avoid the risk of I2C interrupt handle execution before current
-3181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** process unlock */
-3182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable ERR interrupt */
-3183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, I2C_IT_ERR);
-3184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable DMA Request */
-3186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR2, I2C_CR2_DMAEN);
-3187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-3189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-3191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update I2C state */
-3193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-3194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-3195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update I2C error code */
-3197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_DMA;
-3198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-3200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-3201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-3203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-3206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update I2C state */
-3208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-3209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-3210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update I2C error code */
-3212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_SIZE;
-3213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-3215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-3216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-3218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-3221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-3223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-ARM GAS /tmp/cc8FAL5N.s page 58
-
-
-3227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Reads an amount of data in non-blocking mode with DMA from a specific memory address.
-3228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-3229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-3230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param DevAddress Target device address: The device 7 bits address value
-3231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * in datasheet must be shifted to the left before calling the interface
-3232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param MemAddress Internal memory address
-3233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param MemAddSize Size of internal memory address
-3234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-3235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be read
-3236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-3237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-3238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Mem_Read_DMA(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAd
-3239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Init tickstart for timeout management*/
-3241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t tickstart = HAL_GetTick();
-3242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
-3243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef dmaxferstatus;
-3244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check the parameters */
-3246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** assert_param(IS_I2C_MEMADD_SIZE(MemAddSize));
-3247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
-3249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BUSY flag is reset */
-3251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count = I2C_TIMEOUT_BUSY_FLAG * (SystemCoreClock / 25U / 1000U);
-3252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
-3253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count--;
-3255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
-3256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-3258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-3259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-3260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
-3261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-3263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-3264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-3266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET);
-3269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-3271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-3272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-3274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-3275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-3277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-3278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-3281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-3282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_RX;
-ARM GAS /tmp/cc8FAL5N.s page 59
-
-
-3284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MEM;
-3285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-3286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-3288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-3289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-3290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-3291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
-3292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferSize > 0U)
-3294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the I2C DMA transfer complete callback */
-3296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferCpltCallback = I2C_DMAXferCplt;
-3297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the DMA error callback */
-3299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferErrorCallback = I2C_DMAError;
-3300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the unused DMA callbacks to NULL */
-3302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferHalfCpltCallback = NULL;
-3303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferAbortCallback = NULL;
-3304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable the DMA channel */
-3306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** dmaxferstatus = HAL_DMA_Start_IT(hi2c->hdmarx, (uint32_t)&hi2c->Instance->DR, (uint32_t)hi2c-
-3307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (dmaxferstatus == HAL_OK)
-3309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send Slave Address and Memory Address */
-3311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_RequestMemoryRead(hi2c, DevAddress, MemAddress, MemAddSize, I2C_TIMEOUT_FLAG, ticks
-3312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Abort the ongoing DMA */
-3314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** dmaxferstatus = HAL_DMA_Abort_IT(hi2c->hdmarx);
-3315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation and MISRA warning */
-3317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** UNUSED(dmaxferstatus);
-3318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear directly Complete callback as no XferAbortCallback is used to finalize Abort tre
-3320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->hdmarx != NULL)
-3321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferCpltCallback = NULL;
-3323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-3326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-3327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = 0U;
-3329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = 0U;
-3330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable I2C peripheral to prevent dummy data in buffer */
-3332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE(hi2c);
-3333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-3335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferSize == 1U)
-3338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-3340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-ARM GAS /tmp/cc8FAL5N.s page 60
-
-
-3341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-3343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Last DMA bit */
-3345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR2, I2C_CR2_LAST);
-3346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-3349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-3350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-3352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-3353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Note : The I2C interrupts must be enabled after unlocking current process
-3355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to avoid the risk of I2C interrupt handle execution before current
-3356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** process unlock */
-3357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable ERR interrupt */
-3358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, I2C_IT_ERR);
-3359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable DMA Request */
-3361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->CR2 |= I2C_CR2_DMAEN;
-3362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-3364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update I2C state */
-3366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-3367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-3368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update I2C error code */
-3370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_DMA;
-3371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-3373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-3374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-3376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-3379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send Slave Address and Memory Address */
-3381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_RequestMemoryRead(hi2c, DevAddress, MemAddress, MemAddSize, I2C_TIMEOUT_FLAG, ticksta
-3382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-3384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-3387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-3388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-3390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-3391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-3393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-3395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-3396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 61
-
-
-3398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-3399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-3401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-3403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-3407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Checks if target device is ready for communication.
-3408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @note This function is used with Memory devices
-3409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-3410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-3411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param DevAddress Target device address: The device 7 bits address value
-3412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * in datasheet must be shifted to the left before calling the interface
-3413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Trials Number of trials
-3414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Timeout Timeout duration
-3415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-3416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-3417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_IsDeviceReady(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint32_t Tria
-3418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Get tick */
-3420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t tickstart = HAL_GetTick();
-3421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t I2C_Trials = 1U;
-3422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** FlagStatus tmp1;
-3423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** FlagStatus tmp2;
-3424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
-3426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BUSY flag is reset */
-3428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BUSY, SET, I2C_TIMEOUT_BUSY_FLAG, tickstart) != H
-3429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-3431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-3434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-3435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-3437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-3438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-3440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-3441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-3444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-3445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY;
-3447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-3448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
-3449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
-3451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Start */
-3453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
-3454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 62
-
-
-3455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until SB flag is set */
-3456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_SB, RESET, Timeout, tickstart) != HAL_OK)
-3457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (READ_BIT(hi2c->Instance->CR1, I2C_CR1_START) == I2C_CR1_START)
-3459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_WRONG_START;
-3461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_TIMEOUT;
-3463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send slave address */
-3466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_7BIT_ADD_WRITE(DevAddress);
-3467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until ADDR or AF flag are set */
-3469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Get tick */
-3470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** tickstart = HAL_GetTick();
-3471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** tmp1 = __HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_ADDR);
-3473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** tmp2 = __HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_AF);
-3474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while ((hi2c->State != HAL_I2C_STATE_TIMEOUT) && (tmp1 == RESET) && (tmp2 == RESET))
-3475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0U))
-3477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_TIMEOUT;
-3479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** tmp1 = __HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_ADDR);
-3481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** tmp2 = __HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_AF);
-3482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-3485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the ADDR flag has been set */
-3487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_ADDR) == SET)
-3488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-3490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-3491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR Flag */
-3493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-3494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BUSY flag is reset */
-3496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BUSY, SET, I2C_TIMEOUT_BUSY_FLAG, tickstart)
-3497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-3499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-3502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-3504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-3505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-3507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-3509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-3511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-ARM GAS /tmp/cc8FAL5N.s page 63
-
-
-3512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear AF Flag */
-3514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_FLAG(hi2c, I2C_FLAG_AF);
-3515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BUSY flag is reset */
-3517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_BUSY, SET, I2C_TIMEOUT_BUSY_FLAG, tickstart)
-3518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-3520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Trials */
-3524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_Trials++;
-3525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (I2C_Trials < Trials);
-3527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-3529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-3531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-3532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-3534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-3536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-3538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-3542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Sequential transmit in master I2C mode an amount of data in non-blocking mode with Inte
-3543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @note This interface allow to manage repeated start condition when a direction change during
-3544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-3545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-3546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param DevAddress Target device address: The device 7 bits address value
-3547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * in datasheet must be shifted to the left before calling the interface
-3548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-3549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-3550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param XferOptions Options of Transfer, value of @ref I2C_XferOptions_definition
-3551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-3552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-3553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Master_Seq_Transmit_IT(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint
-3554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t Prev_State = 0x00U;
-3556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0x00U;
-3557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check the parameters */
-3559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** assert_param(IS_I2C_TRANSFER_OPTIONS_REQUEST(XferOptions));
-3560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
-3562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check Busy Flag only if FIRST call of Master interface */
-3564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((READ_BIT(hi2c->Instance->CR1, I2C_CR1_STOP) == I2C_CR1_STOP) || (XferOptions == I2C_FIRST_
-3565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BUSY flag is reset */
-3567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count = I2C_TIMEOUT_BUSY_FLAG * (SystemCoreClock / 25U / 1000U);
-3568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
-ARM GAS /tmp/cc8FAL5N.s page 64
-
-
-3569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count--;
-3571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
-3572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-3574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-3575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-3576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
-3577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-3579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-3580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-3582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET);
-3585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-3588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-3589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-3591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-3592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-3594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-3595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-3598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-3599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_TX;
-3601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MASTER;
-3602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-3603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-3605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-3606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-3607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-3608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = XferOptions;
-3609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Devaddress = DevAddress;
-3610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** Prev_State = hi2c->PreviousState;
-3612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* If transfer direction not change and there is no request to start another frame, do not gene
-3614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Mean Previous state is same as current state */
-3615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((Prev_State != I2C_STATE_MASTER_BUSY_TX) || (IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST(XferOpti
-3616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Start */
-3618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
-3619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-3622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-3623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Note : The I2C interrupts must be enabled after unlocking current process
-3625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to avoid the risk of I2C interrupt handle execution before current
-ARM GAS /tmp/cc8FAL5N.s page 65
-
-
-3626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** process unlock */
-3627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable EVT, BUF and ERR interrupt */
-3629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-3630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-3632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-3634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-3636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-3640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Sequential transmit in master I2C mode an amount of data in non-blocking mode with DMA.
-3641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @note This interface allow to manage repeated start condition when a direction change during
-3642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-3643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-3644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param DevAddress Target device address: The device 7 bits address value
-3645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * in datasheet must be shifted to the left before calling the interface
-3646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-3647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-3648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param XferOptions Options of Transfer, value of @ref I2C_XferOptions_definition
-3649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-3650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-3651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Master_Seq_Transmit_DMA(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uin
-3652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t Prev_State = 0x00U;
-3654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0x00U;
-3655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef dmaxferstatus;
-3656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check the parameters */
-3658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** assert_param(IS_I2C_TRANSFER_OPTIONS_REQUEST(XferOptions));
-3659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
-3661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check Busy Flag only if FIRST call of Master interface */
-3663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((READ_BIT(hi2c->Instance->CR1, I2C_CR1_STOP) == I2C_CR1_STOP) || (XferOptions == I2C_FIRST_
-3664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BUSY flag is reset */
-3666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count = I2C_TIMEOUT_BUSY_FLAG * (SystemCoreClock / 25U / 1000U);
-3667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
-3668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count--;
-3670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
-3671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-3673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-3674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-3675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
-3676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-3678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-3679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-3681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-ARM GAS /tmp/cc8FAL5N.s page 66
-
-
-3683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET);
-3684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-3687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-3688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-3690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-3691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-3693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-3694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-3697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-3698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_TX;
-3700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MASTER;
-3701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-3702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-3704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-3705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-3706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-3707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = XferOptions;
-3708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Devaddress = DevAddress;
-3709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** Prev_State = hi2c->PreviousState;
-3711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferSize > 0U)
-3713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the I2C DMA transfer complete callback */
-3715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferCpltCallback = I2C_DMAXferCplt;
-3716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the DMA error callback */
-3718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferErrorCallback = I2C_DMAError;
-3719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the unused DMA callbacks to NULL */
-3721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferHalfCpltCallback = NULL;
-3722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferAbortCallback = NULL;
-3723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable the DMA channel */
-3725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** dmaxferstatus = HAL_DMA_Start_IT(hi2c->hdmatx, (uint32_t)hi2c->pBuffPtr, (uint32_t)&hi2c->Ins
-3726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (dmaxferstatus == HAL_OK)
-3728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Acknowledge */
-3730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-3731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* If transfer direction not change and there is no request to start another frame, do not
-3733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Mean Previous state is same as current state */
-3734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((Prev_State != I2C_STATE_MASTER_BUSY_TX) || (IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST(Xfer
-3735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Start */
-3737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
-3738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 67
-
-
-3740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-3741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-3742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Note : The I2C interrupts must be enabled after unlocking current process
-3744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to avoid the risk of I2C interrupt handle execution before current
-3745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** process unlock */
-3746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* If XferOptions is not associated to a new frame, mean no start bit is request, enable di
-3748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* In other cases, DMA request is enabled after Slave address treatment in IRQHandler */
-3749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((XferOptions == I2C_NEXT_FRAME) || (XferOptions == I2C_LAST_FRAME) || (XferOptions == I
-3750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable DMA Request */
-3752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR2, I2C_CR2_DMAEN);
-3753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable EVT and ERR interrupt */
-3756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_ERR);
-3757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-3759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update I2C state */
-3761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-3762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-3763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update I2C error code */
-3765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_DMA;
-3766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-3768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-3769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-3771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-3774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Acknowledge */
-3776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-3777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* If transfer direction not change and there is no request to start another frame, do not ge
-3779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Mean Previous state is same as current state */
-3780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((Prev_State != I2C_STATE_MASTER_BUSY_TX) || (IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST(XferOp
-3781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Start */
-3783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
-3784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-3787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-3788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Note : The I2C interrupts must be enabled after unlocking current process
-3790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to avoid the risk of I2C interrupt handle execution before current
-3791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** process unlock */
-3792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable EVT, BUF and ERR interrupt */
-3794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-3795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 68
-
-
-3797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-3798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-3800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-3802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-3806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Sequential receive in master I2C mode an amount of data in non-blocking mode with Inter
-3807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @note This interface allow to manage repeated start condition when a direction change during
-3808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-3809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-3810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param DevAddress Target device address: The device 7 bits address value
-3811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * in datasheet must be shifted to the left before calling the interface
-3812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-3813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-3814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param XferOptions Options of Transfer, value of @ref I2C_XferOptions_definition
-3815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-3816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-3817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Master_Seq_Receive_IT(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8
-3818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t Prev_State = 0x00U;
-3820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
-3821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t enableIT = (I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-3822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check the parameters */
-3824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** assert_param(IS_I2C_TRANSFER_OPTIONS_REQUEST(XferOptions));
-3825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
-3827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check Busy Flag only if FIRST call of Master interface */
-3829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((READ_BIT(hi2c->Instance->CR1, I2C_CR1_STOP) == I2C_CR1_STOP) || (XferOptions == I2C_FIRST_
-3830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BUSY flag is reset */
-3832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count = I2C_TIMEOUT_BUSY_FLAG * (SystemCoreClock / 25U / 1000U);
-3833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
-3834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count--;
-3836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
-3837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-3839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-3840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-3841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
-3842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-3844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-3845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-3847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET);
-3850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-3853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-ARM GAS /tmp/cc8FAL5N.s page 69
-
-
-3854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-3856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-3857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-3859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-3860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-3863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-3864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_RX;
-3866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MASTER;
-3867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-3868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-3870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-3871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-3872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-3873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = XferOptions;
-3874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Devaddress = DevAddress;
-3875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** Prev_State = hi2c->PreviousState;
-3877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->XferCount == 2U) && ((XferOptions == I2C_LAST_FRAME) || (XferOptions == I2C_LAST_FRA
-3879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (Prev_State == I2C_STATE_MASTER_BUSY_RX)
-3881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-3883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-3884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Pos */
-3886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-3887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Remove Enabling of IT_BUF, mean RXNE treatment, treat the 2 bytes through BTF */
-3889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** enableIT &= ~I2C_IT_BUF;
-3890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-3892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Acknowledge */
-3894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-3895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-3898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Acknowledge */
-3900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-3901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* If transfer direction not change and there is no request to start another frame, do not gene
-3904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Mean Previous state is same as current state */
-3905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((Prev_State != I2C_STATE_MASTER_BUSY_RX) || (IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST(XferOpti
-3906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Start */
-3908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
-3909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 70
-
-
-3911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-3912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-3913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Note : The I2C interrupts must be enabled after unlocking current process
-3915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to avoid the risk of I2C interrupt handle execution before current
-3916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** process unlock */
-3917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable interrupts */
-3919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, enableIT);
-3920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-3922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-3924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-3926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-3930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Sequential receive in master mode an amount of data in non-blocking mode with DMA
-3931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @note This interface allow to manage repeated start condition when a direction change during
-3932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-3933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-3934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param DevAddress Target device address: The device 7 bits address value
-3935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * in datasheet must be shifted to the left before calling the interface
-3936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-3937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-3938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param XferOptions Options of Transfer, value of @ref I2C_XferOptions_definition
-3939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-3940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-3941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Master_Seq_Receive_DMA(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint
-3942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t Prev_State = 0x00U;
-3944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
-3945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t enableIT = (I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-3946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef dmaxferstatus;
-3947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check the parameters */
-3949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** assert_param(IS_I2C_TRANSFER_OPTIONS_REQUEST(XferOptions));
-3950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
-3952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check Busy Flag only if FIRST call of Master interface */
-3954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((READ_BIT(hi2c->Instance->CR1, I2C_CR1_STOP) == I2C_CR1_STOP) || (XferOptions == I2C_FIRST_
-3955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until BUSY flag is reset */
-3957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count = I2C_TIMEOUT_BUSY_FLAG * (SystemCoreClock / 25U / 1000U);
-3958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
-3959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count--;
-3961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
-3962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-3964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-3965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-3966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
-3967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 71
-
-
-3968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-3969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-3970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-3972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET);
-3975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-3978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-3979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-3981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-3982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-3983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-3984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-3985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-3986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-3988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-3989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear Last DMA bit */
-3991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR2, I2C_CR2_LAST);
-3992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_RX;
-3994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MASTER;
-3995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-3996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-3997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-3998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-3999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-4000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-4001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = XferOptions;
-4002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Devaddress = DevAddress;
-4003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** Prev_State = hi2c->PreviousState;
-4005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferSize > 0U)
-4007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->XferCount == 2U) && ((XferOptions == I2C_LAST_FRAME) || (XferOptions == I2C_LAST_F
-4009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (Prev_State == I2C_STATE_MASTER_BUSY_RX)
-4011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-4013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-4014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Pos */
-4016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-4017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Last DMA bit */
-4019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR2, I2C_CR2_LAST);
-4020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Acknowledge */
-4024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-ARM GAS /tmp/cc8FAL5N.s page 72
-
-
-4025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Acknowledge */
-4030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-4031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((XferOptions == I2C_LAST_FRAME) || (XferOptions == I2C_OTHER_AND_LAST_FRAME) || (XferOp
-4033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Last DMA bit */
-4035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR2, I2C_CR2_LAST);
-4036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the I2C DMA transfer complete callback */
-4040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferCpltCallback = I2C_DMAXferCplt;
-4041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the DMA error callback */
-4043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferErrorCallback = I2C_DMAError;
-4044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the unused DMA callbacks to NULL */
-4046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferHalfCpltCallback = NULL;
-4047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferAbortCallback = NULL;
-4048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable the DMA channel */
-4050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** dmaxferstatus = HAL_DMA_Start_IT(hi2c->hdmarx, (uint32_t)&hi2c->Instance->DR, (uint32_t)hi2c-
-4051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (dmaxferstatus == HAL_OK)
-4053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* If transfer direction not change and there is no request to start another frame, do not
-4055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Mean Previous state is same as current state */
-4056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((Prev_State != I2C_STATE_MASTER_BUSY_RX) || (IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST(Xfer
-4057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Start */
-4059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
-4060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update interrupt for only EVT and ERR */
-4062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** enableIT = (I2C_IT_EVT | I2C_IT_ERR);
-4063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update interrupt for only ERR */
-4067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** enableIT = I2C_IT_ERR;
-4068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-4071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-4072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Note : The I2C interrupts must be enabled after unlocking current process
-4074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to avoid the risk of I2C interrupt handle execution before current
-4075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** process unlock */
-4076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* If XferOptions is not associated to a new frame, mean no start bit is request, enable di
-4078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* In other cases, DMA request is enabled after Slave address treatment in IRQHandler */
-4079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((XferOptions == I2C_NEXT_FRAME) || (XferOptions == I2C_LAST_FRAME) || (XferOptions == I
-4080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable DMA Request */
-ARM GAS /tmp/cc8FAL5N.s page 73
-
-
-4082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR2, I2C_CR2_DMAEN);
-4083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable EVT and ERR interrupt */
-4086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, enableIT);
-4087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update I2C state */
-4091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-4092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-4093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update I2C error code */
-4095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_DMA;
-4096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-4098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-4099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-4101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Acknowledge */
-4106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-4107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* If transfer direction not change and there is no request to start another frame, do not ge
-4109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Mean Previous state is same as current state */
-4110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((Prev_State != I2C_STATE_MASTER_BUSY_RX) || (IS_I2C_TRANSFER_OTHER_OPTIONS_REQUEST(XferOp
-4111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Start */
-4113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
-4114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-4117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-4118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Note : The I2C interrupts must be enabled after unlocking current process
-4120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to avoid the risk of I2C interrupt handle execution before current
-4121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** process unlock */
-4122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable interrupts */
-4124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, enableIT);
-4125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-4127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-4131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-4135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Sequential transmit in slave mode an amount of data in non-blocking mode with Interrupt
-4136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @note This interface allow to manage repeated start condition when a direction change during
-4137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-4138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-ARM GAS /tmp/cc8FAL5N.s page 74
-
-
-4139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-4140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-4141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param XferOptions Options of Transfer, value of @ref I2C_XferOptions_definition
-4142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-4143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-4144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Slave_Seq_Transmit_IT(I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t S
-4145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check the parameters */
-4147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** assert_param(IS_I2C_TRANSFER_OPTIONS_REQUEST(XferOptions));
-4148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (((uint32_t)hi2c->State & (uint32_t)HAL_I2C_STATE_LISTEN) == (uint32_t)HAL_I2C_STATE_LISTEN)
-4150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((pData == NULL) || (Size == 0U))
-4152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-4154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-4157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-4158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-4160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-4161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-4163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-4164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-4167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-4168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_TX_LISTEN;
-4170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_SLAVE;
-4171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-4172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-4174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-4175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-4176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-4177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = XferOptions;
-4178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-4180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-4181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-4183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-4184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Note : The I2C interrupts must be enabled after unlocking current process
-4186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to avoid the risk of I2C interrupt handle execution before current
-4187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** process unlock */
-4188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable EVT, BUF and ERR interrupt */
-4190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-4191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-4193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-ARM GAS /tmp/cc8FAL5N.s page 75
-
-
-4196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-4197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-4201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Sequential transmit in slave mode an amount of data in non-blocking mode with DMA
-4202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @note This interface allow to manage repeated start condition when a direction change during
-4203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-4204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-4205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-4206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-4207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param XferOptions Options of Transfer, value of @ref I2C_XferOptions_definition
-4208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-4209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-4210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Slave_Seq_Transmit_DMA(I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t
-4211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef dmaxferstatus;
-4213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check the parameters */
-4215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** assert_param(IS_I2C_TRANSFER_OPTIONS_REQUEST(XferOptions));
-4216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (((uint32_t)hi2c->State & (uint32_t)HAL_I2C_STATE_LISTEN) == (uint32_t)HAL_I2C_STATE_LISTEN)
-4218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((pData == NULL) || (Size == 0U))
-4220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-4222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-4225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-4226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Interrupts, to prevent preemption during treatment in case of multicall */
-4228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_ERR);
-4229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* I2C cannot manage full duplex exchange so disable previous IT enabled if any */
-4231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* and then toggle the HAL slave RX state to TX state */
-4232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_BUSY_RX_LISTEN)
-4233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR2 & I2C_CR2_DMAEN) == I2C_CR2_DMAEN)
-4235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Abort DMA Xfer if any */
-4237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->hdmarx != NULL)
-4238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR2, I2C_CR2_DMAEN);
-4240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the I2C DMA Abort callback :
-4242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** will lead to call HAL_I2C_ErrorCallback() at end of DMA abort procedure */
-4243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferAbortCallback = I2C_DMAAbort;
-4244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Abort DMA RX */
-4246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (HAL_DMA_Abort_IT(hi2c->hdmarx) != HAL_OK)
-4247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call Directly XferAbortCallback function in case of error */
-4249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferAbortCallback(hi2c->hdmarx);
-4250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-ARM GAS /tmp/cc8FAL5N.s page 76
-
-
-4253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (hi2c->State == HAL_I2C_STATE_BUSY_TX_LISTEN)
-4255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR2 & I2C_CR2_DMAEN) == I2C_CR2_DMAEN)
-4257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR2, I2C_CR2_DMAEN);
-4259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Abort DMA Xfer if any */
-4261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->hdmatx != NULL)
-4262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the I2C DMA Abort callback :
-4264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** will lead to call HAL_I2C_ErrorCallback() at end of DMA abort procedure */
-4265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferAbortCallback = I2C_DMAAbort;
-4266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Abort DMA TX */
-4268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (HAL_DMA_Abort_IT(hi2c->hdmatx) != HAL_OK)
-4269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call Directly XferAbortCallback function in case of error */
-4271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferAbortCallback(hi2c->hdmatx);
-4272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Nothing to do */
-4279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-4282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-4283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-4285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-4286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-4289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-4290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_TX_LISTEN;
-4292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_SLAVE;
-4293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-4294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-4296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-4297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-4298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-4299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = XferOptions;
-4300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the I2C DMA transfer complete callback */
-4302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferCpltCallback = I2C_DMAXferCplt;
-4303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the DMA error callback */
-4305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferErrorCallback = I2C_DMAError;
-4306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the unused DMA callbacks to NULL */
-4308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferHalfCpltCallback = NULL;
-4309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferAbortCallback = NULL;
-ARM GAS /tmp/cc8FAL5N.s page 77
-
-
-4310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable the DMA channel */
-4312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** dmaxferstatus = HAL_DMA_Start_IT(hi2c->hdmatx, (uint32_t)hi2c->pBuffPtr, (uint32_t)&hi2c->Insta
-4313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (dmaxferstatus == HAL_OK)
-4315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Address Acknowledge */
-4317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-4318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-4320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-4321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-4323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-4324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Note : The I2C interrupts must be enabled after unlocking current process
-4326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to avoid the risk of I2C interrupt handle execution before current
-4327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** process unlock */
-4328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable EVT and ERR interrupt */
-4329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_ERR);
-4330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable DMA Request */
-4332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->CR2 |= I2C_CR2_DMAEN;
-4333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-4335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update I2C state */
-4339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-4340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-4341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update I2C error code */
-4343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_DMA;
-4344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-4346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-4347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-4349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-4354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-4358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Sequential receive in slave mode an amount of data in non-blocking mode with Interrupt
-4359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @note This interface allow to manage repeated start condition when a direction change during
-4360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-4361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-4362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-4363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-4364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param XferOptions Options of Transfer, value of @ref I2C_XferOptions_definition
-4365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-4366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-ARM GAS /tmp/cc8FAL5N.s page 78
-
-
-4367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Slave_Seq_Receive_IT(I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t Si
-4368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check the parameters */
-4370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** assert_param(IS_I2C_TRANSFER_OPTIONS_REQUEST(XferOptions));
-4371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (((uint32_t)hi2c->State & (uint32_t)HAL_I2C_STATE_LISTEN) == (uint32_t)HAL_I2C_STATE_LISTEN)
-4373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((pData == NULL) || (Size == 0U))
-4375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-4377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-4380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-4381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-4383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-4384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-4386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-4387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-4390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-4391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_RX_LISTEN;
-4393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_SLAVE;
-4394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-4395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-4397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-4398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-4399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-4400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = XferOptions;
-4401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-4403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-4404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-4406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-4407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Note : The I2C interrupts must be enabled after unlocking current process
-4409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to avoid the risk of I2C interrupt handle execution before current
-4410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** process unlock */
-4411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable EVT, BUF and ERR interrupt */
-4413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-4414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-4416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-4420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-ARM GAS /tmp/cc8FAL5N.s page 79
-
-
-4424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Sequential receive in slave mode an amount of data in non-blocking mode with DMA
-4425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @note This interface allow to manage repeated start condition when a direction change during
-4426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-4427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-4428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param pData Pointer to data buffer
-4429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Size Amount of data to be sent
-4430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param XferOptions Options of Transfer, value of @ref I2C_XferOptions_definition
-4431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-4432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-4433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Slave_Seq_Receive_DMA(I2C_HandleTypeDef *hi2c, uint8_t *pData, uint16_t S
-4434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef dmaxferstatus;
-4436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check the parameters */
-4438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** assert_param(IS_I2C_TRANSFER_OPTIONS_REQUEST(XferOptions));
-4439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (((uint32_t)hi2c->State & (uint32_t)HAL_I2C_STATE_LISTEN) == (uint32_t)HAL_I2C_STATE_LISTEN)
-4441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((pData == NULL) || (Size == 0U))
-4443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-4445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-4448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-4449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Interrupts, to prevent preemption during treatment in case of multicall */
-4451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_ERR);
-4452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* I2C cannot manage full duplex exchange so disable previous IT enabled if any */
-4454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* and then toggle the HAL slave RX state to TX state */
-4455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_BUSY_RX_LISTEN)
-4456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR2 & I2C_CR2_DMAEN) == I2C_CR2_DMAEN)
-4458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Abort DMA Xfer if any */
-4460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->hdmarx != NULL)
-4461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR2, I2C_CR2_DMAEN);
-4463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the I2C DMA Abort callback :
-4465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** will lead to call HAL_I2C_ErrorCallback() at end of DMA abort procedure */
-4466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferAbortCallback = I2C_DMAAbort;
-4467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Abort DMA RX */
-4469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (HAL_DMA_Abort_IT(hi2c->hdmarx) != HAL_OK)
-4470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call Directly XferAbortCallback function in case of error */
-4472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferAbortCallback(hi2c->hdmarx);
-4473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (hi2c->State == HAL_I2C_STATE_BUSY_TX_LISTEN)
-4478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR2 & I2C_CR2_DMAEN) == I2C_CR2_DMAEN)
-4480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-ARM GAS /tmp/cc8FAL5N.s page 80
-
-
-4481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR2, I2C_CR2_DMAEN);
-4482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Abort DMA Xfer if any */
-4484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->hdmatx != NULL)
-4485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the I2C DMA Abort callback :
-4487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** will lead to call HAL_I2C_ErrorCallback() at end of DMA abort procedure */
-4488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferAbortCallback = I2C_DMAAbort;
-4489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Abort DMA TX */
-4491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (HAL_DMA_Abort_IT(hi2c->hdmatx) != HAL_OK)
-4492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call Directly XferAbortCallback function in case of error */
-4494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferAbortCallback(hi2c->hdmatx);
-4495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Nothing to do */
-4502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-4505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-4506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-4508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-4509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos */
-4512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-4513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_BUSY_RX_LISTEN;
-4515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_SLAVE;
-4516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-4517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare transfer parameters */
-4519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr = pData;
-4520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
-4521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-4522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = XferOptions;
-4523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the I2C DMA transfer complete callback */
-4525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferCpltCallback = I2C_DMAXferCplt;
-4526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the DMA error callback */
-4528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferErrorCallback = I2C_DMAError;
-4529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the unused DMA callbacks to NULL */
-4531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferHalfCpltCallback = NULL;
-4532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferAbortCallback = NULL;
-4533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable the DMA channel */
-4535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** dmaxferstatus = HAL_DMA_Start_IT(hi2c->hdmarx, (uint32_t)&hi2c->Instance->DR, (uint32_t)hi2c->p
-4536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (dmaxferstatus == HAL_OK)
-ARM GAS /tmp/cc8FAL5N.s page 81
-
-
-4538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Address Acknowledge */
-4540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-4541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-4543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-4544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-4546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-4547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable DMA Request */
-4549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR2, I2C_CR2_DMAEN);
-4550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Note : The I2C interrupts must be enabled after unlocking current process
-4552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** to avoid the risk of I2C interrupt handle execution before current
-4553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** process unlock */
-4554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable EVT and ERR interrupt */
-4555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_ERR);
-4556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-4558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update I2C state */
-4562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-4563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-4564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update I2C error code */
-4566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_DMA;
-4567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-4569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-4570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-4572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-4577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-4581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Enable the Address listen mode with Interrupt.
-4582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-4583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-4584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-4585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-4586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_EnableListen_IT(I2C_HandleTypeDef *hi2c)
-4587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
-4589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_LISTEN;
-4591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if the I2C is already enabled */
-4593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR1 & I2C_CR1_PE) != I2C_CR1_PE)
-4594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-ARM GAS /tmp/cc8FAL5N.s page 82
-
-
-4595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable I2C peripheral */
-4596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-4597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Address Acknowledge */
-4600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-4601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable EVT and ERR interrupt */
-4603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_ERR);
-4604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-4606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-4610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-4614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Disable the Address listen mode with Interrupt.
-4615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-4616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-4617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-4618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-4619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_DisableListen_IT(I2C_HandleTypeDef *hi2c)
-4620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of tmp to prevent undefined behavior of volatile usage */
-4622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t tmp;
-4623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Address listen mode only if a transfer is not ongoing */
-4625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_LISTEN)
-4626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** tmp = (uint32_t)(hi2c->State) & I2C_STATE_MSK;
-4628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = tmp | (uint32_t)(hi2c->Mode);
-4629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-4630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-4631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Address Acknowledge */
-4633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-4634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable EVT and ERR interrupt */
-4636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_ERR);
-4637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-4639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_BUSY;
-4643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-4647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Abort a master I2C IT or DMA process communication with Interrupt.
-4648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-4649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-4650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param DevAddress Target device address: The device 7 bits address value
-4651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * in datasheet must be shifted to the left before calling the interface
-ARM GAS /tmp/cc8FAL5N.s page 83
-
-
-4652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-4653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-4654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef HAL_I2C_Master_Abort_IT(I2C_HandleTypeDef *hi2c, uint16_t DevAddress)
-4655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variables to prevent undefined behavior of volatile usage */
-4657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_ModeTypeDef CurrentMode = hi2c->Mode;
-4658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
-4660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** UNUSED(DevAddress);
-4661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Abort Master transfer during Receive or Transmit process */
-4663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BUSY) != RESET) && (CurrentMode == HAL_I2C_MODE_MASTER))
-4664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Locked */
-4666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_LOCK(hi2c);
-4667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-4669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_ABORT;
-4670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-4672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-4673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-4675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-4676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = 0U;
-4678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable EVT, BUF and ERR interrupt */
-4680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-4681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-4683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-4684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call the corresponding callback to inform upper layer of End of Transfer */
-4686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_ITError(hi2c);
-4687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-4689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wrong usage of abort function */
-4693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* This function should be used only in case of abort monitored by master device */
-4694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Or periphal is not in busy state, mean there is no active sequence to be abort */
-4695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-4696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-4700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @}
-4701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-4702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /** @defgroup I2C_IRQ_Handler_and_Callbacks IRQ Handler and Callbacks
-4704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @{
-4705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-4706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-4708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief This function handles I2C event interrupt request.
-ARM GAS /tmp/cc8FAL5N.s page 84
-
-
-4709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-4710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-4711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-4712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-4713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** void HAL_I2C_EV_IRQHandler(I2C_HandleTypeDef *hi2c)
-4714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t sr1itflags;
-4716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t sr2itflags = 0U;
-4717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t itsources = READ_REG(hi2c->Instance->CR2);
-4718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t CurrentXferOptions = hi2c->XferOptions;
-4719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_ModeTypeDef CurrentMode = hi2c->Mode;
-4720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_StateTypeDef CurrentState = hi2c->State;
-4721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Master or Memory mode selected */
-4723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((CurrentMode == HAL_I2C_MODE_MASTER) || (CurrentMode == HAL_I2C_MODE_MEM))
-4724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** sr2itflags = READ_REG(hi2c->Instance->SR2);
-4726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** sr1itflags = READ_REG(hi2c->Instance->SR1);
-4727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Exit IRQ event until Start Bit detected in case of Other frame requested */
-4729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((I2C_CHECK_FLAG(sr1itflags, I2C_FLAG_SB) == RESET) && (IS_I2C_TRANSFER_OTHER_OPTIONS_REQUES
-4730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return;
-4732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* SB Set ----------------------------------------------------------------*/
-4735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((I2C_CHECK_FLAG(sr1itflags, I2C_FLAG_SB) != RESET) && (I2C_CHECK_IT_SOURCE(itsources, I2C_I
-4736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Convert OTHER_xxx XferOptions if any */
-4738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_ConvertOtherXferOptions(hi2c);
-4739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_Master_SB(hi2c);
-4741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* ADD10 Set -------------------------------------------------------------*/
-4743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if ((I2C_CHECK_FLAG(sr1itflags, I2C_FLAG_ADD10) != RESET) && (I2C_CHECK_IT_SOURCE(itsource
-4744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_Master_ADD10(hi2c);
-4746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* ADDR Set --------------------------------------------------------------*/
-4748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if ((I2C_CHECK_FLAG(sr1itflags, I2C_FLAG_ADDR) != RESET) && (I2C_CHECK_IT_SOURCE(itsources
-4749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_Master_ADDR(hi2c);
-4751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* I2C in mode Transmitter -----------------------------------------------*/
-4753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (I2C_CHECK_FLAG(sr2itflags, I2C_FLAG_TRA) != RESET)
-4754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Do not check buffer and BTF flag if a Xfer DMA is on going */
-4756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (READ_BIT(hi2c->Instance->CR2, I2C_CR2_DMAEN) != I2C_CR2_DMAEN)
-4757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* TXE set and BTF reset -----------------------------------------------*/
-4759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((I2C_CHECK_FLAG(sr1itflags, I2C_FLAG_TXE) != RESET) && (I2C_CHECK_IT_SOURCE(itsources,
-4760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_MasterTransmit_TXE(hi2c);
-4762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* BTF set -------------------------------------------------------------*/
-4764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if ((I2C_CHECK_FLAG(sr1itflags, I2C_FLAG_BTF) != RESET) && (I2C_CHECK_IT_SOURCE(itsour
-4765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-ARM GAS /tmp/cc8FAL5N.s page 85
-
-
-4766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (CurrentMode == HAL_I2C_MODE_MASTER)
-4767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_MasterTransmit_BTF(hi2c);
-4769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else /* HAL_I2C_MODE_MEM */
-4771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_MemoryTransmit_TXE_BTF(hi2c);
-4773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Do nothing */
-4778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* I2C in mode Receiver --------------------------------------------------*/
-4782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Do not check buffer and BTF flag if a Xfer DMA is on going */
-4785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (READ_BIT(hi2c->Instance->CR2, I2C_CR2_DMAEN) != I2C_CR2_DMAEN)
-4786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* RXNE set and BTF reset -----------------------------------------------*/
-4788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((I2C_CHECK_FLAG(sr1itflags, I2C_FLAG_RXNE) != RESET) && (I2C_CHECK_IT_SOURCE(itsources,
-4789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_MasterReceive_RXNE(hi2c);
-4791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* BTF set -------------------------------------------------------------*/
-4793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if ((I2C_CHECK_FLAG(sr1itflags, I2C_FLAG_BTF) != RESET) && (I2C_CHECK_IT_SOURCE(itsour
-4794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_MasterReceive_BTF(hi2c);
-4796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Do nothing */
-4800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Slave mode selected */
-4805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* If an error is detected, read only SR1 register to prevent */
-4808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* a clear of ADDR flags by reading SR2 after reading SR1 in Error treatment */
-4809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->ErrorCode != HAL_I2C_ERROR_NONE)
-4810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** sr1itflags = READ_REG(hi2c->Instance->SR1);
-4812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** sr2itflags = READ_REG(hi2c->Instance->SR2);
-4816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** sr1itflags = READ_REG(hi2c->Instance->SR1);
-4817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* ADDR set --------------------------------------------------------------*/
-4820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((I2C_CHECK_FLAG(sr1itflags, I2C_FLAG_ADDR) != RESET) && (I2C_CHECK_IT_SOURCE(itsources, I2C
-4821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Now time to read SR2, this will clear ADDR flag automatically */
-ARM GAS /tmp/cc8FAL5N.s page 86
-
-
-4823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->ErrorCode != HAL_I2C_ERROR_NONE)
-4824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** sr2itflags = READ_REG(hi2c->Instance->SR2);
-4826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_Slave_ADDR(hi2c, sr2itflags);
-4828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* STOPF set --------------------------------------------------------------*/
-4830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if ((I2C_CHECK_FLAG(sr1itflags, I2C_FLAG_STOPF) != RESET) && (I2C_CHECK_IT_SOURCE(itsource
-4831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_Slave_STOPF(hi2c);
-4833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* I2C in mode Transmitter -----------------------------------------------*/
-4835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if ((CurrentState == HAL_I2C_STATE_BUSY_TX) || (CurrentState == HAL_I2C_STATE_BUSY_TX_LIST
-4836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* TXE set and BTF reset -----------------------------------------------*/
-4838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((I2C_CHECK_FLAG(sr1itflags, I2C_FLAG_TXE) != RESET) && (I2C_CHECK_IT_SOURCE(itsources, I2
-4839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_SlaveTransmit_TXE(hi2c);
-4841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* BTF set -------------------------------------------------------------*/
-4843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if ((I2C_CHECK_FLAG(sr1itflags, I2C_FLAG_BTF) != RESET) && (I2C_CHECK_IT_SOURCE(itsource
-4844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_SlaveTransmit_BTF(hi2c);
-4846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Do nothing */
-4850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* I2C in mode Receiver --------------------------------------------------*/
-4853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* RXNE set and BTF reset ----------------------------------------------*/
-4856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((I2C_CHECK_FLAG(sr1itflags, I2C_FLAG_RXNE) != RESET) && (I2C_CHECK_IT_SOURCE(itsources, I
-4857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_SlaveReceive_RXNE(hi2c);
-4859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* BTF set -------------------------------------------------------------*/
-4861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if ((I2C_CHECK_FLAG(sr1itflags, I2C_FLAG_BTF) != RESET) && (I2C_CHECK_IT_SOURCE(itsource
-4862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_SlaveReceive_BTF(hi2c);
-4864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Do nothing */
-4868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-4874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief This function handles I2C error interrupt request.
-4875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-4876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-4877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-4878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-4879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** void HAL_I2C_ER_IRQHandler(I2C_HandleTypeDef *hi2c)
-ARM GAS /tmp/cc8FAL5N.s page 87
-
-
-4880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_ModeTypeDef tmp1;
-4882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t tmp2;
-4883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_StateTypeDef tmp3;
-4884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t tmp4;
-4885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t sr1itflags = READ_REG(hi2c->Instance->SR1);
-4886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t itsources = READ_REG(hi2c->Instance->CR2);
-4887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t error = HAL_I2C_ERROR_NONE;
-4888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_ModeTypeDef CurrentMode = hi2c->Mode;
-4889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* I2C Bus error interrupt occurred ----------------------------------------*/
-4891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((I2C_CHECK_FLAG(sr1itflags, I2C_FLAG_BERR) != RESET) && (I2C_CHECK_IT_SOURCE(itsources, I2C_I
-4892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** error |= HAL_I2C_ERROR_BERR;
-4894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear BERR flag */
-4896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_FLAG(hi2c, I2C_FLAG_BERR);
-4897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Workaround: Start cannot be generated after a misplaced Stop */
-4899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_SWRST);
-4900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* I2C Arbitration Lost error interrupt occurred ---------------------------*/
-4903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((I2C_CHECK_FLAG(sr1itflags, I2C_FLAG_ARLO) != RESET) && (I2C_CHECK_IT_SOURCE(itsources, I2C_I
-4904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** error |= HAL_I2C_ERROR_ARLO;
-4906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ARLO flag */
-4908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_FLAG(hi2c, I2C_FLAG_ARLO);
-4909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* I2C Acknowledge failure error interrupt occurred ------------------------*/
-4912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((I2C_CHECK_FLAG(sr1itflags, I2C_FLAG_AF) != RESET) && (I2C_CHECK_IT_SOURCE(itsources, I2C_IT_
-4913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** tmp1 = CurrentMode;
-4915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** tmp2 = hi2c->XferCount;
-4916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** tmp3 = hi2c->State;
-4917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** tmp4 = hi2c->PreviousState;
-4918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((tmp1 == HAL_I2C_MODE_SLAVE) && (tmp2 == 0U) && \
-4919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ((tmp3 == HAL_I2C_STATE_BUSY_TX) || (tmp3 == HAL_I2C_STATE_BUSY_TX_LISTEN) || \
-4920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ((tmp3 == HAL_I2C_STATE_LISTEN) && (tmp4 == I2C_STATE_SLAVE_BUSY_TX))))
-4921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_Slave_AF(hi2c);
-4923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-4925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear AF flag */
-4927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_FLAG(hi2c, I2C_FLAG_AF);
-4928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** error |= HAL_I2C_ERROR_AF;
-4930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Do not generate a STOP in case of Slave receive non acknowledge during transfer (mean not
-4932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((CurrentMode == HAL_I2C_MODE_MASTER) || (CurrentMode == HAL_I2C_MODE_MEM))
-4933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-4935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-4936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-ARM GAS /tmp/cc8FAL5N.s page 88
-
-
-4937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* I2C Over-Run/Under-Run interrupt occurred -------------------------------*/
-4941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((I2C_CHECK_FLAG(sr1itflags, I2C_FLAG_OVR) != RESET) && (I2C_CHECK_IT_SOURCE(itsources, I2C_IT
-4942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** error |= HAL_I2C_ERROR_OVR;
-4944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear OVR flag */
-4945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_FLAG(hi2c, I2C_FLAG_OVR);
-4946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call the Error Callback in case of Error detected -----------------------*/
-4949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (error != HAL_I2C_ERROR_NONE)
-4950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= error;
-4952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_ITError(hi2c);
-4953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-4957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Master Tx Transfer completed callback.
-4958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-4959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-4960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-4961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-4962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __weak void HAL_I2C_MasterTxCpltCallback(I2C_HandleTypeDef *hi2c)
-4963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
-4965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** UNUSED(hi2c);
-4966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* NOTE : This function should not be modified, when the callback is needed,
-4968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** the HAL_I2C_MasterTxCpltCallback could be implemented in the user file
-4969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-4970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-4973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Master Rx Transfer completed callback.
-4974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-4975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-4976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-4977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-4978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __weak void HAL_I2C_MasterRxCpltCallback(I2C_HandleTypeDef *hi2c)
-4979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
-4981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** UNUSED(hi2c);
-4982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* NOTE : This function should not be modified, when the callback is needed,
-4984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** the HAL_I2C_MasterRxCpltCallback could be implemented in the user file
-4985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-4986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-4987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /** @brief Slave Tx Transfer completed callback.
-4989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-4990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-4991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-4992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-4993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __weak void HAL_I2C_SlaveTxCpltCallback(I2C_HandleTypeDef *hi2c)
-ARM GAS /tmp/cc8FAL5N.s page 89
-
-
-4994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-4995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
-4996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** UNUSED(hi2c);
-4997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-4998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* NOTE : This function should not be modified, when the callback is needed,
-4999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** the HAL_I2C_SlaveTxCpltCallback could be implemented in the user file
-5000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-5004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Slave Rx Transfer completed callback.
-5005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-5006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-5007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-5008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __weak void HAL_I2C_SlaveRxCpltCallback(I2C_HandleTypeDef *hi2c)
-5010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
-5012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** UNUSED(hi2c);
-5013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* NOTE : This function should not be modified, when the callback is needed,
-5015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** the HAL_I2C_SlaveRxCpltCallback could be implemented in the user file
-5016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-5020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Slave Address Match callback.
-5021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-5022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-5023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param TransferDirection Master request Transfer Direction (Write/Read), value of @ref I2C_Xfe
-5024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param AddrMatchCode Address Match Code
-5025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-5026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __weak void HAL_I2C_AddrCallback(I2C_HandleTypeDef *hi2c, uint8_t TransferDirection, uint16_t AddrM
-5028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
-5030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** UNUSED(hi2c);
-5031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** UNUSED(TransferDirection);
-5032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** UNUSED(AddrMatchCode);
-5033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* NOTE : This function should not be modified, when the callback is needed,
-5035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** the HAL_I2C_AddrCallback() could be implemented in the user file
-5036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-5040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Listen Complete callback.
-5041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-5042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-5043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-5044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __weak void HAL_I2C_ListenCpltCallback(I2C_HandleTypeDef *hi2c)
-5046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
-5048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** UNUSED(hi2c);
-5049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* NOTE : This function should not be modified, when the callback is needed,
-ARM GAS /tmp/cc8FAL5N.s page 90
-
-
-5051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** the HAL_I2C_ListenCpltCallback() could be implemented in the user file
-5052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-5056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Memory Tx Transfer completed callback.
-5057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-5058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-5059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-5060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __weak void HAL_I2C_MemTxCpltCallback(I2C_HandleTypeDef *hi2c)
-5062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
-5064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** UNUSED(hi2c);
-5065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* NOTE : This function should not be modified, when the callback is needed,
-5067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** the HAL_I2C_MemTxCpltCallback could be implemented in the user file
-5068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-5072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Memory Rx Transfer completed callback.
-5073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-5074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-5075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-5076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __weak void HAL_I2C_MemRxCpltCallback(I2C_HandleTypeDef *hi2c)
-5078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
-5080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** UNUSED(hi2c);
-5081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* NOTE : This function should not be modified, when the callback is needed,
-5083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** the HAL_I2C_MemRxCpltCallback could be implemented in the user file
-5084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-5088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief I2C error callback.
-5089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-5090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-5091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-5092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __weak void HAL_I2C_ErrorCallback(I2C_HandleTypeDef *hi2c)
-5094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
-5096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** UNUSED(hi2c);
-5097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* NOTE : This function should not be modified, when the callback is needed,
-5099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** the HAL_I2C_ErrorCallback could be implemented in the user file
-5100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-5104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief I2C abort callback.
-5105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-5106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-5107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-ARM GAS /tmp/cc8FAL5N.s page 91
-
-
-5108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __weak void HAL_I2C_AbortCpltCallback(I2C_HandleTypeDef *hi2c)
-5110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
-5112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** UNUSED(hi2c);
-5113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* NOTE : This function should not be modified, when the callback is needed,
-5115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** the HAL_I2C_AbortCpltCallback could be implemented in the user file
-5116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-5120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @}
-5121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /** @defgroup I2C_Exported_Functions_Group3 Peripheral State, Mode and Error functions
-5124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Peripheral State, Mode and Error functions
-5125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *
-5126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** @verbatim
-5127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ===============================================================================
-5128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ##### Peripheral State, Mode and Error functions #####
-5129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ===============================================================================
-5130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** [..]
-5131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** This subsection permit to get in run-time the status of the peripheral
-5132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** and the data flow.
-5133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** @endverbatim
-5135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @{
-5136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-5139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Return the I2C handle state.
-5140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-5141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-5142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL state
-5143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_StateTypeDef HAL_I2C_GetState(I2C_HandleTypeDef *hi2c)
-5145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Return I2C handle state */
-5147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return hi2c->State;
-5148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-5151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Returns the I2C Master, Slave, Memory or no mode.
-5152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-5153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for I2C module
-5154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL mode
-5155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_ModeTypeDef HAL_I2C_GetMode(I2C_HandleTypeDef *hi2c)
-5157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return hi2c->Mode;
-5159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-5162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Return the I2C error code.
-5163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-5164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-ARM GAS /tmp/cc8FAL5N.s page 92
-
-
-5165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval I2C Error Code
-5166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t HAL_I2C_GetError(I2C_HandleTypeDef *hi2c)
-5168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return hi2c->ErrorCode;
-5170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-5173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @}
-5174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-5177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @}
-5178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /** @addtogroup I2C_Private_Functions
-5181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @{
-5182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-5185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Handle TXE flag for Master
-5186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-5187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for I2C module
-5188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-5189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_MasterTransmit_TXE(I2C_HandleTypeDef *hi2c)
-5191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variables to prevent undefined behavior of volatile usage */
-5193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_StateTypeDef CurrentState = hi2c->State;
-5194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_ModeTypeDef CurrentMode = hi2c->Mode;
-5195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t CurrentXferOptions = hi2c->XferOptions;
-5196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->XferSize == 0U) && (CurrentState == HAL_I2C_STATE_BUSY_TX))
-5198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call TxCpltCallback() directly if no stop mode is set */
-5200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((CurrentXferOptions != I2C_FIRST_AND_LAST_FRAME) && (CurrentXferOptions != I2C_LAST_FRAME)
-5201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-5203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_MASTER_BUSY_TX;
-5205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-5206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-5207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-5209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MasterTxCpltCallback(hi2c);
-5210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-5211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_MasterTxCpltCallback(hi2c);
-5212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-5213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else /* Generate Stop condition then Call TxCpltCallback() */
-5215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable EVT, BUF and ERR interrupt */
-5217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-5218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-5220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-5221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 93
-
-
-5222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-5223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-5224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->Mode == HAL_I2C_MODE_MEM)
-5226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-5228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-5229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MemTxCpltCallback(hi2c);
-5230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-5231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_MemTxCpltCallback(hi2c);
-5232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-5233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-5237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-5238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MasterTxCpltCallback(hi2c);
-5239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-5240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_MasterTxCpltCallback(hi2c);
-5241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-5242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if ((CurrentState == HAL_I2C_STATE_BUSY_TX) || \
-5246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ((CurrentMode == HAL_I2C_MODE_MEM) && (CurrentState == HAL_I2C_STATE_BUSY_RX)))
-5247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferCount == 0U)
-5249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable BUF interrupt */
-5251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_BUF);
-5252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->Mode == HAL_I2C_MODE_MEM)
-5256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_MemoryTransmit_TXE_BTF(hi2c);
-5258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Write data to DR */
-5262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = *hi2c->pBuffPtr;
-5263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-5265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-5266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-5268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-5269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Do nothing */
-5275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-ARM GAS /tmp/cc8FAL5N.s page 94
-
-
-5279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Handle BTF flag for Master transmitter
-5280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-5281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for I2C module
-5282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-5283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_MasterTransmit_BTF(I2C_HandleTypeDef *hi2c)
-5285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variables to prevent undefined behavior of volatile usage */
-5287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t CurrentXferOptions = hi2c->XferOptions;
-5288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_BUSY_TX)
-5290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferCount != 0U)
-5292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Write data to DR */
-5294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = *hi2c->pBuffPtr;
-5295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-5297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-5298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-5300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-5301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call TxCpltCallback() directly if no stop mode is set */
-5305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((CurrentXferOptions != I2C_FIRST_AND_LAST_FRAME) && (CurrentXferOptions != I2C_LAST_FRAME
-5306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-5308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_MASTER_BUSY_TX;
-5310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-5311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-5312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-5314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MasterTxCpltCallback(hi2c);
-5315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-5316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_MasterTxCpltCallback(hi2c);
-5317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-5318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else /* Generate Stop condition then Call TxCpltCallback() */
-5320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable EVT, BUF and ERR interrupt */
-5322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-5323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-5325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-5326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-5328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-5329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-5330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-5332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MasterTxCpltCallback(hi2c);
-5333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-5334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_MasterTxCpltCallback(hi2c);
-5335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-ARM GAS /tmp/cc8FAL5N.s page 95
-
-
-5336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Do nothing */
-5342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-5346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Handle TXE and BTF flag for Memory transmitter
-5347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-5348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for I2C module
-5349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-5350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_MemoryTransmit_TXE_BTF(I2C_HandleTypeDef *hi2c)
-5352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variables to prevent undefined behavior of volatile usage */
-5354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_StateTypeDef CurrentState = hi2c->State;
-5355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->EventCount == 0U)
-5357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* If Memory address size is 8Bit */
-5359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->MemaddSize == I2C_MEMADD_SIZE_8BIT)
-5360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send Memory Address */
-5362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_MEM_ADD_LSB(hi2c->Memaddress);
-5363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->EventCount += 2U;
-5365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* If Memory address size is 16Bit */
-5367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send MSB of Memory Address */
-5370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_MEM_ADD_MSB(hi2c->Memaddress);
-5371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->EventCount++;
-5373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (hi2c->EventCount == 1U)
-5376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send LSB of Memory Address */
-5378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_MEM_ADD_LSB(hi2c->Memaddress);
-5379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->EventCount++;
-5381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (hi2c->EventCount == 2U)
-5383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (CurrentState == HAL_I2C_STATE_BUSY_RX)
-5385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Restart */
-5387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->CR1 |= I2C_CR1_START;
-5388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if ((hi2c->XferCount > 0U) && (CurrentState == HAL_I2C_STATE_BUSY_TX))
-5390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Write data to DR */
-5392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = *hi2c->pBuffPtr;
-ARM GAS /tmp/cc8FAL5N.s page 96
-
-
-5393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-5395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-5396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-5398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-5399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if ((hi2c->XferCount == 0U) && (CurrentState == HAL_I2C_STATE_BUSY_TX))
-5401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop condition then Call TxCpltCallback() */
-5403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable EVT, BUF and ERR interrupt */
-5404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-5405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-5407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-5408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-5410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-5411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-5412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-5413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MemTxCpltCallback(hi2c);
-5414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-5415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_MemTxCpltCallback(hi2c);
-5416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-5417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Do nothing */
-5421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Do nothing */
-5426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-5430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Handle RXNE flag for Master
-5431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-5432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for I2C module
-5433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-5434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_MasterReceive_RXNE(I2C_HandleTypeDef *hi2c)
-5436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_BUSY_RX)
-5438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t tmp;
-5440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** tmp = hi2c->XferCount;
-5442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (tmp > 3U)
-5443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-5445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-5446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-5448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-5449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 97
-
-
-5450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-5451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-5452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferCount == (uint16_t)3)
-5454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable BUF interrupt, this help to treat correctly the last 4 bytes
-5456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** on BTF subroutine */
-5457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable BUF interrupt */
-5458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_BUF);
-5459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if ((hi2c->XferOptions != I2C_FIRST_AND_NEXT_FRAME) && ((tmp == 1U) || (tmp == 0U)))
-5462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnSTOPRequestThroughIT(hi2c) == HAL_OK)
-5464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-5466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-5467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable EVT, BUF and ERR interrupt */
-5469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-5470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-5472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-5473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-5475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-5476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-5478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-5479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-5481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->Mode == HAL_I2C_MODE_MEM)
-5483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-5485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-5486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-5488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MemRxCpltCallback(hi2c);
-5489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-5490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_MemRxCpltCallback(hi2c);
-5491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-5492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-5496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_MASTER_BUSY_RX;
-5497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-5499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MasterRxCpltCallback(hi2c);
-5500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-5501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_MasterRxCpltCallback(hi2c);
-5502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-5503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-ARM GAS /tmp/cc8FAL5N.s page 98
-
-
-5507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable EVT, BUF and ERR interrupt */
-5508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-5509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-5511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-5512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-5514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-5515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-5517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-5518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-5520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-5521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call user error callback */
-5523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-5524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCallback(hi2c);
-5525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-5526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_ErrorCallback(hi2c);
-5527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-5528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Do nothing */
-5533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-5538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Handle BTF flag for Master receiver
-5539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-5540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for I2C module
-5541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-5542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_MasterReceive_BTF(I2C_HandleTypeDef *hi2c)
-5544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variables to prevent undefined behavior of volatile usage */
-5546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t CurrentXferOptions = hi2c->XferOptions;
-5547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferCount == 4U)
-5549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable BUF interrupt, this help to treat correctly the last 2 bytes
-5551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** on BTF subroutine if there is a reception delay between N-1 and N byte */
-5552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_BUF);
-5553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-5555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-5556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-5558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-5559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-5561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-5562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (hi2c->XferCount == 3U)
-ARM GAS /tmp/cc8FAL5N.s page 99
-
-
-5564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable BUF interrupt, this help to treat correctly the last 2 bytes
-5566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** on BTF subroutine if there is a reception delay between N-1 and N byte */
-5567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_BUF);
-5568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((CurrentXferOptions != I2C_NEXT_FRAME) && (CurrentXferOptions != I2C_FIRST_AND_NEXT_FRAME))
-5570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-5572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-5573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-5576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-5577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-5579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-5580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-5582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-5583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (hi2c->XferCount == 2U)
-5585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare next transfer or stop current transfer */
-5587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((CurrentXferOptions == I2C_FIRST_FRAME) || (CurrentXferOptions == I2C_LAST_FRAME_NO_STOP))
-5588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-5590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-5591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if ((CurrentXferOptions == I2C_NEXT_FRAME) || (CurrentXferOptions == I2C_FIRST_AND_NEXT_FR
-5593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Acknowledge */
-5595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-5596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (CurrentXferOptions != I2C_LAST_FRAME_NO_STOP)
-5598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-5600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-5601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Do nothing */
-5605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-5608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-5609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-5611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-5612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-5614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-5615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-5617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-5618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-5620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-ARM GAS /tmp/cc8FAL5N.s page 100
-
-
-5621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-5623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-5624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable EVT and ERR interrupt */
-5626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_ERR);
-5627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-5629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->Mode == HAL_I2C_MODE_MEM)
-5630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-5632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-5633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-5634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MemRxCpltCallback(hi2c);
-5635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-5636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_MemRxCpltCallback(hi2c);
-5637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-5638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-5642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_MASTER_BUSY_RX;
-5643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-5644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MasterRxCpltCallback(hi2c);
-5645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-5646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_MasterRxCpltCallback(hi2c);
-5647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-5648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-5653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-5654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-5656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-5657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-5659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-5660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-5664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Handle SB flag for Master
-5665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-5666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for I2C module
-5667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-5668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_Master_SB(I2C_HandleTypeDef *hi2c)
-5670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 25 .loc 1 5670 0
- 26 .cfi_startproc
- 27 @ args = 0, pretend = 0, frame = 0
- 28 @ frame_needed = 0, uses_anonymous_args = 0
- 29 @ link register save eliminated.
- 30 .LVL0:
-5671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->Mode == HAL_I2C_MODE_MEM)
-ARM GAS /tmp/cc8FAL5N.s page 101
-
-
- 31 .loc 1 5671 0
- 32 0000 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2
- 33 0004 DBB2 uxtb r3, r3
- 34 0006 402B cmp r3, #64
- 35 0008 0AD0 beq .L11
-5672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->EventCount == 0U)
-5674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send slave address */
-5676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_7BIT_ADD_WRITE(hi2c->Devaddress);
-5677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_7BIT_ADD_READ(hi2c->Devaddress);
-5681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->Init.AddressingMode == I2C_ADDRESSINGMODE_7BIT)
- 36 .loc 1 5685 0
- 37 000a 0369 ldr r3, [r0, #16]
- 38 000c B3F5804F cmp r3, #16384
- 39 0010 15D0 beq .L12
-5686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send slave 7 Bits address */
-5688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_BUSY_TX)
-5689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_7BIT_ADD_WRITE(hi2c->Devaddress);
-5691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_7BIT_ADD_READ(hi2c->Devaddress);
-5695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (((hi2c->hdmatx != NULL) && (hi2c->hdmatx->XferCpltCallback != NULL))
-5698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** || ((hi2c->hdmarx != NULL) && (hi2c->hdmarx->XferCpltCallback != NULL)))
-5699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable DMA Request */
-5701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR2, I2C_CR2_DMAEN);
-5702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->EventCount == 0U)
- 40 .loc 1 5706 0
- 41 0012 036D ldr r3, [r0, #80]
- 42 0014 002B cmp r3, #0
- 43 0016 34D0 beq .L13
-5707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send header of slave address */
-5709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_10BIT_HEADER_WRITE(hi2c->Devaddress);
-5710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (hi2c->EventCount == 1U)
- 44 .loc 1 5711 0
- 45 0018 036D ldr r3, [r0, #80]
- 46 001a 012B cmp r3, #1
- 47 001c 3BD0 beq .L14
-ARM GAS /tmp/cc8FAL5N.s page 102
-
-
- 48 .L1:
- 49 001e 7047 bx lr
- 50 .L11:
-5673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 51 .loc 1 5673 0
- 52 0020 036D ldr r3, [r0, #80]
- 53 0022 2BB9 cbnz r3, .L3
-5676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 54 .loc 1 5676 0
- 55 0024 0268 ldr r2, [r0]
- 56 0026 436C ldr r3, [r0, #68]
- 57 0028 03F0FE03 and r3, r3, #254
- 58 002c 1361 str r3, [r2, #16]
- 59 002e 7047 bx lr
- 60 .L3:
-5680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 61 .loc 1 5680 0
- 62 0030 0268 ldr r2, [r0]
- 63 0032 436C ldr r3, [r0, #68]
- 64 0034 43F00103 orr r3, r3, #1
- 65 0038 DBB2 uxtb r3, r3
- 66 003a 1361 str r3, [r2, #16]
- 67 003c 7047 bx lr
- 68 .L12:
-5688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 69 .loc 1 5688 0
- 70 003e 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 71 0042 DBB2 uxtb r3, r3
- 72 0044 212B cmp r3, #33
- 73 0046 0FD0 beq .L15
-5694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 74 .loc 1 5694 0
- 75 0048 0268 ldr r2, [r0]
- 76 004a 436C ldr r3, [r0, #68]
- 77 004c 43F00103 orr r3, r3, #1
- 78 0050 DBB2 uxtb r3, r3
- 79 0052 1361 str r3, [r2, #16]
- 80 .L7:
-5697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** || ((hi2c->hdmarx != NULL) && (hi2c->hdmarx->XferCpltCallback != NULL)))
- 81 .loc 1 5697 0
- 82 0054 436B ldr r3, [r0, #52]
- 83 0056 6BB1 cbz r3, .L8
-5697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** || ((hi2c->hdmarx != NULL) && (hi2c->hdmarx->XferCpltCallback != NULL)))
- 84 .loc 1 5697 0 is_stmt 0 discriminator 1
- 85 0058 9B6A ldr r3, [r3, #40]
- 86 005a 5BB1 cbz r3, .L8
- 87 .L9:
-5701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 88 .loc 1 5701 0 is_stmt 1
- 89 005c 0268 ldr r2, [r0]
- 90 005e 5368 ldr r3, [r2, #4]
- 91 0060 43F40063 orr r3, r3, #2048
- 92 0064 5360 str r3, [r2, #4]
- 93 0066 7047 bx lr
- 94 .L15:
-5690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 95 .loc 1 5690 0
-ARM GAS /tmp/cc8FAL5N.s page 103
-
-
- 96 0068 0268 ldr r2, [r0]
- 97 006a 436C ldr r3, [r0, #68]
- 98 006c 03F0FE03 and r3, r3, #254
- 99 0070 1361 str r3, [r2, #16]
- 100 0072 EFE7 b .L7
- 101 .L8:
-5698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 102 .loc 1 5698 0
- 103 0074 836B ldr r3, [r0, #56]
- 104 0076 002B cmp r3, #0
- 105 0078 D1D0 beq .L1
-5698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 106 .loc 1 5698 0 is_stmt 0 discriminator 1
- 107 007a 9B6A ldr r3, [r3, #40]
- 108 007c 002B cmp r3, #0
- 109 007e EDD1 bne .L9
- 110 0080 CDE7 b .L1
- 111 .L13:
-5709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 112 .loc 1 5709 0 is_stmt 1
- 113 0082 0268 ldr r2, [r0]
- 114 0084 436C ldr r3, [r0, #68]
- 115 0086 C3F3C813 ubfx r3, r3, #7, #9
- 116 008a 03F00603 and r3, r3, #6
- 117 008e 43F0F003 orr r3, r3, #240
- 118 0092 1361 str r3, [r2, #16]
- 119 0094 7047 bx lr
- 120 .L14:
-5712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send header of slave address */
-5714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_10BIT_HEADER_READ(hi2c->Devaddress);
- 121 .loc 1 5714 0
- 122 0096 0268 ldr r2, [r0]
- 123 0098 436C ldr r3, [r0, #68]
- 124 009a C3F3C813 ubfx r3, r3, #7, #9
- 125 009e 03F00603 and r3, r3, #6
- 126 00a2 43F0F103 orr r3, r3, #241
- 127 00a6 1361 str r3, [r2, #16]
-5715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Do nothing */
-5719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 128 .loc 1 5722 0
- 129 00a8 B9E7 b .L1
- 130 .cfi_endproc
- 131 .LFE119:
- 133 .section .text.I2C_Master_ADD10,"ax",%progbits
- 134 .align 1
- 135 .syntax unified
- 136 .thumb
- 137 .thumb_func
- 138 .fpu softvfp
- 140 I2C_Master_ADD10:
-ARM GAS /tmp/cc8FAL5N.s page 104
-
-
- 141 .LFB120:
-5723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-5725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Handle ADD10 flag for Master
-5726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-5727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for I2C module
-5728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-5729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_Master_ADD10(I2C_HandleTypeDef *hi2c)
-5731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 142 .loc 1 5731 0
- 143 .cfi_startproc
- 144 @ args = 0, pretend = 0, frame = 0
- 145 @ frame_needed = 0, uses_anonymous_args = 0
- 146 @ link register save eliminated.
- 147 .LVL1:
-5732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send slave address */
-5733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_10BIT_ADDRESS(hi2c->Devaddress);
- 148 .loc 1 5733 0
- 149 0000 0268 ldr r2, [r0]
- 150 0002 436C ldr r3, [r0, #68]
- 151 0004 DBB2 uxtb r3, r3
- 152 0006 1361 str r3, [r2, #16]
-5734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->hdmatx != NULL) || (hi2c->hdmarx != NULL))
- 153 .loc 1 5735 0
- 154 0008 436B ldr r3, [r0, #52]
- 155 000a 3BB1 cbz r3, .L20
- 156 .L17:
-5736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->hdmatx->XferCpltCallback != NULL) || (hi2c->hdmarx->XferCpltCallback != NULL))
- 157 .loc 1 5737 0
- 158 000c 9B6A ldr r3, [r3, #40]
- 159 000e 4BB1 cbz r3, .L21
- 160 .L19:
-5738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable DMA Request */
-5740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR2, I2C_CR2_DMAEN);
- 161 .loc 1 5740 0
- 162 0010 0268 ldr r2, [r0]
- 163 0012 5368 ldr r3, [r2, #4]
- 164 0014 43F40063 orr r3, r3, #2048
- 165 0018 5360 str r3, [r2, #4]
- 166 .L16:
- 167 001a 7047 bx lr
- 168 .L20:
-5735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 169 .loc 1 5735 0 discriminator 1
- 170 001c 826B ldr r2, [r0, #56]
- 171 001e 002A cmp r2, #0
- 172 0020 F4D1 bne .L17
- 173 0022 FAE7 b .L16
- 174 .L21:
-5737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 175 .loc 1 5737 0 discriminator 1
- 176 0024 836B ldr r3, [r0, #56]
- 177 0026 9B6A ldr r3, [r3, #40]
-ARM GAS /tmp/cc8FAL5N.s page 105
-
-
- 178 0028 002B cmp r3, #0
- 179 002a F1D1 bne .L19
- 180 002c F5E7 b .L16
- 181 .cfi_endproc
- 182 .LFE120:
- 184 .section .text.I2C_Master_ADDR,"ax",%progbits
- 185 .align 1
- 186 .syntax unified
- 187 .thumb
- 188 .thumb_func
- 189 .fpu softvfp
- 191 I2C_Master_ADDR:
- 192 .LFB121:
-5741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-5746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Handle ADDR flag for Master
-5747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-5748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for I2C module
-5749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-5750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_Master_ADDR(I2C_HandleTypeDef *hi2c)
-5752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 193 .loc 1 5752 0
- 194 .cfi_startproc
- 195 @ args = 0, pretend = 0, frame = 48
- 196 @ frame_needed = 0, uses_anonymous_args = 0
- 197 @ link register save eliminated.
- 198 .LVL2:
- 199 0000 10B4 push {r4}
- 200 .LCFI0:
- 201 .cfi_def_cfa_offset 4
- 202 .cfi_offset 4, -4
- 203 0002 8DB0 sub sp, sp, #52
- 204 .LCFI1:
- 205 .cfi_def_cfa_offset 56
-5753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variable to prevent undefined behavior of volatile usage */
-5754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_ModeTypeDef CurrentMode = hi2c->Mode;
- 206 .loc 1 5754 0
- 207 0004 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2
- 208 0008 DAB2 uxtb r2, r3
- 209 .LVL3:
-5755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t CurrentXferOptions = hi2c->XferOptions;
- 210 .loc 1 5755 0
- 211 000a C16A ldr r1, [r0, #44]
- 212 .LVL4:
-5756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t Prev_State = hi2c->PreviousState;
- 213 .loc 1 5756 0
- 214 000c 046B ldr r4, [r0, #48]
- 215 .LVL5:
-5757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_BUSY_RX)
- 216 .loc 1 5758 0
- 217 000e 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 218 0012 DBB2 uxtb r3, r3
-ARM GAS /tmp/cc8FAL5N.s page 106
-
-
- 219 0014 222B cmp r3, #34
- 220 0016 0AD0 beq .L43
- 221 .LBB46:
-5759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->EventCount == 0U) && (CurrentMode == HAL_I2C_MODE_MEM))
-5761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-5763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-5764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if ((hi2c->EventCount == 0U) && (hi2c->Init.AddressingMode == I2C_ADDRESSINGMODE_10BIT))
-5766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-5768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-5769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Restart */
-5771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
-5772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->EventCount++;
-5774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferCount == 0U)
-5778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-5780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-5781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-5783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-5784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (hi2c->XferCount == 1U)
-5786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (CurrentXferOptions == I2C_NO_OPTION_FRAME)
-5788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-5790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-5791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR2 & I2C_CR2_DMAEN) == I2C_CR2_DMAEN)
-5793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-5795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-5796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-5798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-5799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-5803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-5804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-5806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-5807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare next transfer or stop current transfer */
-5810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if ((CurrentXferOptions != I2C_FIRST_AND_LAST_FRAME) && (CurrentXferOptions != I2C_LAS
-5811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** && ((Prev_State != I2C_STATE_MASTER_BUSY_RX) || (CurrentXferOptions == I2C_FIRST_F
-5812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-ARM GAS /tmp/cc8FAL5N.s page 107
-
-
-5813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((CurrentXferOptions != I2C_NEXT_FRAME) && (CurrentXferOptions != I2C_FIRST_AND_NEXT_F
-5814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-5816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-5817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Acknowledge */
-5821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-5822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-5825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-5826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-5830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-5831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-5833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-5834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-5836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-5837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (hi2c->XferCount == 2U)
-5840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((CurrentXferOptions != I2C_NEXT_FRAME) && (CurrentXferOptions != I2C_FIRST_AND_NEXT_FRA
-5842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Pos */
-5844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_POS);
-5845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-5847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-5848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-5850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-5851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Acknowledge */
-5855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-5856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-5858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-5859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (((hi2c->Instance->CR2 & I2C_CR2_DMAEN) == I2C_CR2_DMAEN) && ((CurrentXferOptions == I2C
-5862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Last DMA bit */
-5864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR2, I2C_CR2_LAST);
-5865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Acknowledge */
-ARM GAS /tmp/cc8FAL5N.s page 108
-
-
-5870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-5871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (((hi2c->Instance->CR2 & I2C_CR2_DMAEN) == I2C_CR2_DMAEN) && ((CurrentXferOptions == I2C
-5873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Last DMA bit */
-5875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR2, I2C_CR2_LAST);
-5876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-5879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-5880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Reset Event counter */
-5883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->EventCount = 0U;
-5884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-5887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-5889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
- 222 .loc 1 5889 0
- 223 0018 0023 movs r3, #0
- 224 001a 0B93 str r3, [sp, #44]
- 225 001c 0368 ldr r3, [r0]
- 226 001e 5A69 ldr r2, [r3, #20]
- 227 .LVL6:
- 228 0020 0B92 str r2, [sp, #44]
- 229 0022 9B69 ldr r3, [r3, #24]
- 230 0024 0B93 str r3, [sp, #44]
- 231 0026 0B9B ldr r3, [sp, #44]
- 232 .L22:
- 233 .LBE46:
-5890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 234 .loc 1 5891 0
- 235 0028 0DB0 add sp, sp, #52
- 236 .LCFI2:
- 237 .cfi_remember_state
- 238 .cfi_def_cfa_offset 4
- 239 @ sp needed
- 240 002a 10BC pop {r4}
- 241 .LCFI3:
- 242 .cfi_restore 4
- 243 .cfi_def_cfa_offset 0
- 244 .LVL7:
- 245 002c 7047 bx lr
- 246 .LVL8:
- 247 .L43:
- 248 .LCFI4:
- 249 .cfi_restore_state
-5760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 250 .loc 1 5760 0
- 251 002e 036D ldr r3, [r0, #80]
- 252 0030 0BB9 cbnz r3, .L24
-5760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 253 .loc 1 5760 0 is_stmt 0 discriminator 1
- 254 0032 402A cmp r2, #64
-ARM GAS /tmp/cc8FAL5N.s page 109
-
-
- 255 0034 17D0 beq .L44
- 256 .L24:
-5765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 257 .loc 1 5765 0 is_stmt 1
- 258 0036 036D ldr r3, [r0, #80]
- 259 0038 1BB9 cbnz r3, .L26
-5765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 260 .loc 1 5765 0 is_stmt 0 discriminator 1
- 261 003a 0369 ldr r3, [r0, #16]
- 262 003c B3F5404F cmp r3, #49152
- 263 0040 19D0 beq .L45
- 264 .L26:
-5777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 265 .loc 1 5777 0 is_stmt 1
- 266 0042 438D ldrh r3, [r0, #42]
- 267 0044 9BB2 uxth r3, r3
- 268 0046 002B cmp r3, #0
- 269 0048 25D1 bne .L27
- 270 .LBB47:
-5780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 271 .loc 1 5780 0
- 272 004a 0393 str r3, [sp, #12]
- 273 004c 0368 ldr r3, [r0]
- 274 004e 5A69 ldr r2, [r3, #20]
- 275 .LVL9:
- 276 0050 0392 str r2, [sp, #12]
- 277 0052 9A69 ldr r2, [r3, #24]
- 278 0054 0392 str r2, [sp, #12]
- 279 0056 039A ldr r2, [sp, #12]
- 280 .LBE47:
-5783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 281 .loc 1 5783 0
- 282 0058 1A68 ldr r2, [r3]
- 283 005a 42F40072 orr r2, r2, #512
- 284 005e 1A60 str r2, [r3]
- 285 .L28:
-5883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 286 .loc 1 5883 0
- 287 0060 0023 movs r3, #0
- 288 0062 0365 str r3, [r0, #80]
- 289 0064 E0E7 b .L22
- 290 .LVL10:
- 291 .L44:
- 292 .LBB48:
-5763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 293 .loc 1 5763 0
- 294 0066 0193 str r3, [sp, #4]
- 295 0068 0368 ldr r3, [r0]
- 296 006a 5A69 ldr r2, [r3, #20]
- 297 .LVL11:
- 298 006c 0192 str r2, [sp, #4]
- 299 006e 9B69 ldr r3, [r3, #24]
- 300 0070 0193 str r3, [sp, #4]
- 301 0072 019B ldr r3, [sp, #4]
- 302 .LBE48:
- 303 0074 D8E7 b .L22
- 304 .LVL12:
-ARM GAS /tmp/cc8FAL5N.s page 110
-
-
- 305 .L45:
- 306 .LBB49:
-5768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 307 .loc 1 5768 0
- 308 0076 0023 movs r3, #0
- 309 0078 0293 str r3, [sp, #8]
- 310 007a 0368 ldr r3, [r0]
- 311 007c 5A69 ldr r2, [r3, #20]
- 312 .LVL13:
- 313 007e 0292 str r2, [sp, #8]
- 314 0080 9A69 ldr r2, [r3, #24]
- 315 0082 0292 str r2, [sp, #8]
- 316 0084 029A ldr r2, [sp, #8]
- 317 .LBE49:
-5771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 318 .loc 1 5771 0
- 319 0086 1A68 ldr r2, [r3]
- 320 0088 42F48072 orr r2, r2, #256
- 321 008c 1A60 str r2, [r3]
-5773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 322 .loc 1 5773 0
- 323 008e 036D ldr r3, [r0, #80]
- 324 0090 0133 adds r3, r3, #1
- 325 0092 0365 str r3, [r0, #80]
- 326 0094 C8E7 b .L22
- 327 .LVL14:
- 328 .L27:
-5785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 329 .loc 1 5785 0
- 330 0096 438D ldrh r3, [r0, #42]
- 331 0098 9BB2 uxth r3, r3
- 332 009a 012B cmp r3, #1
- 333 009c 25D0 beq .L46
-5839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 334 .loc 1 5839 0
- 335 009e 438D ldrh r3, [r0, #42]
- 336 00a0 9BB2 uxth r3, r3
- 337 00a2 022B cmp r3, #2
- 338 00a4 7BD0 beq .L47
-5870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 339 .loc 1 5870 0
- 340 00a6 0268 ldr r2, [r0]
- 341 .LVL15:
- 342 00a8 1368 ldr r3, [r2]
- 343 00aa 43F48063 orr r3, r3, #1024
- 344 00ae 1360 str r3, [r2]
-5872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 345 .loc 1 5872 0
- 346 00b0 0368 ldr r3, [r0]
- 347 00b2 5A68 ldr r2, [r3, #4]
- 348 00b4 12F4006F tst r2, #2048
- 349 00b8 0ED0 beq .L40
-5872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 350 .loc 1 5872 0 is_stmt 0 discriminator 1
- 351 00ba 11F5803F cmn r1, #65536
- 352 00be 07D0 beq .L41
-5872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-ARM GAS /tmp/cc8FAL5N.s page 111
-
-
- 353 .loc 1 5872 0 discriminator 2
- 354 00c0 0129 cmp r1, #1
- 355 00c2 05D0 beq .L41
-5872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 356 .loc 1 5872 0 discriminator 3
- 357 00c4 0829 cmp r1, #8
- 358 00c6 03D0 beq .L41
-5872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 359 .loc 1 5872 0 discriminator 4
- 360 00c8 1029 cmp r1, #16
- 361 00ca 01D0 beq .L41
-5872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 362 .loc 1 5872 0 discriminator 5
- 363 00cc 2029 cmp r1, #32
- 364 00ce 03D1 bne .L40
- 365 .L41:
-5875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 366 .loc 1 5875 0 is_stmt 1
- 367 00d0 5A68 ldr r2, [r3, #4]
- 368 00d2 42F48052 orr r2, r2, #4096
- 369 00d6 5A60 str r2, [r3, #4]
- 370 .L40:
- 371 .LBB50:
-5879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 372 .loc 1 5879 0
- 373 00d8 0023 movs r3, #0
- 374 00da 0A93 str r3, [sp, #40]
- 375 00dc 0368 ldr r3, [r0]
- 376 00de 5A69 ldr r2, [r3, #20]
- 377 00e0 0A92 str r2, [sp, #40]
- 378 00e2 9B69 ldr r3, [r3, #24]
- 379 00e4 0A93 str r3, [sp, #40]
- 380 00e6 0A9B ldr r3, [sp, #40]
- 381 00e8 BAE7 b .L28
- 382 .LVL16:
- 383 .L46:
- 384 .LBE50:
-5787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 385 .loc 1 5787 0
- 386 00ea 11F5803F cmn r1, #65536
- 387 00ee 11D0 beq .L48
-5810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** && ((Prev_State != I2C_STATE_MASTER_BUSY_RX) || (CurrentXferOptions == I2C_FIRST_F
- 388 .loc 1 5810 0
- 389 00f0 0829 cmp r1, #8
- 390 00f2 34D0 beq .L32
-5810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** && ((Prev_State != I2C_STATE_MASTER_BUSY_RX) || (CurrentXferOptions == I2C_FIRST_F
- 391 .loc 1 5810 0 is_stmt 0 discriminator 1
- 392 00f4 2029 cmp r1, #32
- 393 00f6 32D0 beq .L32
-5811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 394 .loc 1 5811 0 is_stmt 1
- 395 00f8 122C cmp r4, #18
- 396 00fa 2ED0 beq .L49
- 397 .L33:
-5813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 398 .loc 1 5813 0
- 399 00fc 0429 cmp r1, #4
-ARM GAS /tmp/cc8FAL5N.s page 112
-
-
- 400 00fe 40D0 beq .L34
-5813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 401 .loc 1 5813 0 is_stmt 0 discriminator 1
- 402 0100 0229 cmp r1, #2
- 403 0102 3ED0 beq .L34
-5813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 404 .loc 1 5813 0 discriminator 2
- 405 0104 1029 cmp r1, #16
- 406 0106 3CD0 beq .L34
-5816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 407 .loc 1 5816 0 is_stmt 1
- 408 0108 0268 ldr r2, [r0]
- 409 .LVL17:
- 410 010a 1368 ldr r3, [r2]
- 411 010c 23F48063 bic r3, r3, #1024
- 412 0110 1360 str r3, [r2]
- 413 0112 3BE0 b .L35
- 414 .LVL18:
- 415 .L48:
-5790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 416 .loc 1 5790 0
- 417 0114 0268 ldr r2, [r0]
- 418 .LVL19:
- 419 0116 1368 ldr r3, [r2]
- 420 0118 23F48063 bic r3, r3, #1024
- 421 011c 1360 str r3, [r2]
-5792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 422 .loc 1 5792 0
- 423 011e 0368 ldr r3, [r0]
- 424 0120 5A68 ldr r2, [r3, #4]
- 425 0122 12F4006F tst r2, #2048
- 426 0126 0CD0 beq .L31
-5795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 427 .loc 1 5795 0
- 428 0128 1A68 ldr r2, [r3]
- 429 012a 22F48062 bic r2, r2, #1024
- 430 012e 1A60 str r2, [r3]
- 431 .LBB51:
-5798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 432 .loc 1 5798 0
- 433 0130 0023 movs r3, #0
- 434 0132 0493 str r3, [sp, #16]
- 435 0134 0368 ldr r3, [r0]
- 436 0136 5A69 ldr r2, [r3, #20]
- 437 0138 0492 str r2, [sp, #16]
- 438 013a 9B69 ldr r3, [r3, #24]
- 439 013c 0493 str r3, [sp, #16]
- 440 013e 049B ldr r3, [sp, #16]
- 441 .LBE51:
- 442 0140 8EE7 b .L28
- 443 .L31:
- 444 .LBB52:
-5803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 445 .loc 1 5803 0
- 446 0142 0022 movs r2, #0
- 447 0144 0592 str r2, [sp, #20]
- 448 0146 5A69 ldr r2, [r3, #20]
-ARM GAS /tmp/cc8FAL5N.s page 113
-
-
- 449 0148 0592 str r2, [sp, #20]
- 450 014a 9A69 ldr r2, [r3, #24]
- 451 014c 0592 str r2, [sp, #20]
- 452 014e 059A ldr r2, [sp, #20]
- 453 .LBE52:
-5806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 454 .loc 1 5806 0
- 455 0150 1A68 ldr r2, [r3]
- 456 0152 42F40072 orr r2, r2, #512
- 457 0156 1A60 str r2, [r3]
- 458 0158 82E7 b .L28
- 459 .LVL20:
- 460 .L49:
-5811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 461 .loc 1 5811 0 discriminator 1
- 462 015a 0129 cmp r1, #1
- 463 015c CED0 beq .L33
- 464 .L32:
-5830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 465 .loc 1 5830 0
- 466 015e 0268 ldr r2, [r0]
- 467 .LVL21:
- 468 0160 1368 ldr r3, [r2]
- 469 0162 23F48063 bic r3, r3, #1024
- 470 0166 1360 str r3, [r2]
- 471 .LBB53:
-5833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 472 .loc 1 5833 0
- 473 0168 0023 movs r3, #0
- 474 016a 0793 str r3, [sp, #28]
- 475 016c 0368 ldr r3, [r0]
- 476 016e 5A69 ldr r2, [r3, #20]
- 477 0170 0792 str r2, [sp, #28]
- 478 0172 9A69 ldr r2, [r3, #24]
- 479 0174 0792 str r2, [sp, #28]
- 480 0176 079A ldr r2, [sp, #28]
- 481 .LBE53:
-5836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 482 .loc 1 5836 0
- 483 0178 1A68 ldr r2, [r3]
- 484 017a 42F40072 orr r2, r2, #512
- 485 017e 1A60 str r2, [r3]
- 486 0180 6EE7 b .L28
- 487 .LVL22:
- 488 .L34:
-5821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 489 .loc 1 5821 0
- 490 0182 0268 ldr r2, [r0]
- 491 .LVL23:
- 492 0184 1368 ldr r3, [r2]
- 493 0186 43F48063 orr r3, r3, #1024
- 494 018a 1360 str r3, [r2]
- 495 .L35:
- 496 .LBB54:
-5825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 497 .loc 1 5825 0
- 498 018c 0023 movs r3, #0
-ARM GAS /tmp/cc8FAL5N.s page 114
-
-
- 499 018e 0693 str r3, [sp, #24]
- 500 0190 0368 ldr r3, [r0]
- 501 0192 5A69 ldr r2, [r3, #20]
- 502 0194 0692 str r2, [sp, #24]
- 503 0196 9B69 ldr r3, [r3, #24]
- 504 0198 0693 str r3, [sp, #24]
- 505 019a 069B ldr r3, [sp, #24]
- 506 .LBE54:
- 507 019c 60E7 b .L28
- 508 .LVL24:
- 509 .L47:
-5841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 510 .loc 1 5841 0
- 511 019e 0429 cmp r1, #4
- 512 01a0 15D0 beq .L37
-5841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 513 .loc 1 5841 0 is_stmt 0 discriminator 1
- 514 01a2 0229 cmp r1, #2
- 515 01a4 13D0 beq .L37
-5841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 516 .loc 1 5841 0 discriminator 2
- 517 01a6 1029 cmp r1, #16
- 518 01a8 11D0 beq .L37
-5844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 519 .loc 1 5844 0 is_stmt 1
- 520 01aa 0268 ldr r2, [r0]
- 521 .LVL25:
- 522 01ac 1368 ldr r3, [r2]
- 523 01ae 43F40063 orr r3, r3, #2048
- 524 01b2 1360 str r3, [r2]
- 525 .LBB55:
-5847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 526 .loc 1 5847 0
- 527 01b4 0023 movs r3, #0
- 528 01b6 0893 str r3, [sp, #32]
- 529 01b8 0368 ldr r3, [r0]
- 530 01ba 5A69 ldr r2, [r3, #20]
- 531 01bc 0892 str r2, [sp, #32]
- 532 01be 9A69 ldr r2, [r3, #24]
- 533 01c0 0892 str r2, [sp, #32]
- 534 01c2 089A ldr r2, [sp, #32]
- 535 .LBE55:
-5850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 536 .loc 1 5850 0
- 537 01c4 1A68 ldr r2, [r3]
- 538 01c6 22F48062 bic r2, r2, #1024
- 539 01ca 1A60 str r2, [r3]
- 540 01cc 0CE0 b .L38
- 541 .LVL26:
- 542 .L37:
-5855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 543 .loc 1 5855 0
- 544 01ce 0268 ldr r2, [r0]
- 545 .LVL27:
- 546 01d0 1368 ldr r3, [r2]
- 547 01d2 43F48063 orr r3, r3, #1024
- 548 01d6 1360 str r3, [r2]
-ARM GAS /tmp/cc8FAL5N.s page 115
-
-
- 549 .LBB56:
-5858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 550 .loc 1 5858 0
- 551 01d8 0023 movs r3, #0
- 552 01da 0993 str r3, [sp, #36]
- 553 01dc 0368 ldr r3, [r0]
- 554 01de 5A69 ldr r2, [r3, #20]
- 555 01e0 0992 str r2, [sp, #36]
- 556 01e2 9B69 ldr r3, [r3, #24]
- 557 01e4 0993 str r3, [sp, #36]
- 558 01e6 099B ldr r3, [sp, #36]
- 559 .L38:
- 560 .LBE56:
-5861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 561 .loc 1 5861 0
- 562 01e8 0368 ldr r3, [r0]
- 563 01ea 5A68 ldr r2, [r3, #4]
- 564 01ec 12F4006F tst r2, #2048
- 565 01f0 3FF436AF beq .L28
-5861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 566 .loc 1 5861 0 is_stmt 0 discriminator 1
- 567 01f4 11F5803F cmn r1, #65536
- 568 01f8 08D0 beq .L39
-5861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 569 .loc 1 5861 0 discriminator 2
- 570 01fa 0129 cmp r1, #1
- 571 01fc 06D0 beq .L39
-5861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 572 .loc 1 5861 0 discriminator 3
- 573 01fe 0829 cmp r1, #8
- 574 0200 04D0 beq .L39
-5861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 575 .loc 1 5861 0 discriminator 4
- 576 0202 1029 cmp r1, #16
- 577 0204 02D0 beq .L39
-5861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 578 .loc 1 5861 0 discriminator 5
- 579 0206 2029 cmp r1, #32
- 580 0208 7FF42AAF bne .L28
- 581 .L39:
-5864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 582 .loc 1 5864 0 is_stmt 1
- 583 020c 5A68 ldr r2, [r3, #4]
- 584 020e 42F48052 orr r2, r2, #4096
- 585 0212 5A60 str r2, [r3, #4]
- 586 0214 24E7 b .L28
- 587 .cfi_endproc
- 588 .LFE121:
- 590 .section .text.I2C_SlaveTransmit_BTF,"ax",%progbits
- 591 .align 1
- 592 .syntax unified
- 593 .thumb
- 594 .thumb_func
- 595 .fpu softvfp
- 597 I2C_SlaveTransmit_BTF:
- 598 .LFB123:
-5892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 116
-
-
-5893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-5894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Handle TXE flag for Slave
-5895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-5896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for I2C module
-5897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-5898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_SlaveTransmit_TXE(I2C_HandleTypeDef *hi2c)
-5900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variables to prevent undefined behavior of volatile usage */
-5902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_StateTypeDef CurrentState = hi2c->State;
-5903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferCount != 0U)
-5905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Write data to DR */
-5907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = *hi2c->pBuffPtr;
-5908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-5910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-5911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-5913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-5914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->XferCount == 0U) && (CurrentState == HAL_I2C_STATE_BUSY_TX_LISTEN))
-5916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Last Byte is received, disable Interrupt */
-5918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_BUF);
-5919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set state at HAL_I2C_STATE_LISTEN */
-5921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_SLAVE_BUSY_TX;
-5922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_LISTEN;
-5923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call the corresponding callback to inform upper layer of End of Transfer */
-5925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-5926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->SlaveTxCpltCallback(hi2c);
-5927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-5928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_SlaveTxCpltCallback(hi2c);
-5929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-5930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-5935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Handle BTF flag for Slave transmitter
-5936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-5937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for I2C module
-5938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-5939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_SlaveTransmit_BTF(I2C_HandleTypeDef *hi2c)
-5941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 599 .loc 1 5941 0
- 600 .cfi_startproc
- 601 @ args = 0, pretend = 0, frame = 0
- 602 @ frame_needed = 0, uses_anonymous_args = 0
- 603 @ link register save eliminated.
- 604 .LVL28:
-5942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferCount != 0U)
- 605 .loc 1 5942 0
-ARM GAS /tmp/cc8FAL5N.s page 117
-
-
- 606 0000 438D ldrh r3, [r0, #42]
- 607 0002 9BB2 uxth r3, r3
- 608 0004 5BB1 cbz r3, .L50
-5943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Write data to DR */
-5945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = *hi2c->pBuffPtr;
- 609 .loc 1 5945 0
- 610 0006 0368 ldr r3, [r0]
- 611 0008 426A ldr r2, [r0, #36]
- 612 000a 1278 ldrb r2, [r2] @ zero_extendqisi2
- 613 000c 1A61 str r2, [r3, #16]
-5946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-5948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
- 614 .loc 1 5948 0
- 615 000e 436A ldr r3, [r0, #36]
- 616 0010 0133 adds r3, r3, #1
- 617 0012 4362 str r3, [r0, #36]
-5949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-5951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
- 618 .loc 1 5951 0
- 619 0014 438D ldrh r3, [r0, #42]
- 620 0016 9BB2 uxth r3, r3
- 621 0018 013B subs r3, r3, #1
- 622 001a 9BB2 uxth r3, r3
- 623 001c 4385 strh r3, [r0, #42] @ movhi
- 624 .L50:
- 625 001e 7047 bx lr
- 626 .cfi_endproc
- 627 .LFE123:
- 629 .section .text.I2C_SlaveReceive_BTF,"ax",%progbits
- 630 .align 1
- 631 .syntax unified
- 632 .thumb
- 633 .thumb_func
- 634 .fpu softvfp
- 636 I2C_SlaveReceive_BTF:
- 637 .LFB125:
-5952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-5956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Handle RXNE flag for Slave
-5957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-5958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for I2C module
-5959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-5960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-5961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_SlaveReceive_RXNE(I2C_HandleTypeDef *hi2c)
-5962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variables to prevent undefined behavior of volatile usage */
-5964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_StateTypeDef CurrentState = hi2c->State;
-5965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferCount != 0U)
-5967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-5969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-ARM GAS /tmp/cc8FAL5N.s page 118
-
-
-5970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-5972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-5973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-5975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-5976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->XferCount == 0U) && (CurrentState == HAL_I2C_STATE_BUSY_RX_LISTEN))
-5978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-5979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Last Byte is received, disable Interrupt */
-5980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_BUF);
-5981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set state at HAL_I2C_STATE_LISTEN */
-5983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_SLAVE_BUSY_RX;
-5984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_LISTEN;
-5985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call the corresponding callback to inform upper layer of End of Transfer */
-5987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-5988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->SlaveRxCpltCallback(hi2c);
-5989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-5990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_SlaveRxCpltCallback(hi2c);
-5991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-5992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-5995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-5996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-5997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Handle BTF flag for Slave receiver
-5998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-5999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for I2C module
-6000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-6001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-6002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_SlaveReceive_BTF(I2C_HandleTypeDef *hi2c)
-6003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 638 .loc 1 6003 0
- 639 .cfi_startproc
- 640 @ args = 0, pretend = 0, frame = 0
- 641 @ frame_needed = 0, uses_anonymous_args = 0
- 642 @ link register save eliminated.
- 643 .LVL29:
-6004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferCount != 0U)
- 644 .loc 1 6004 0
- 645 0000 438D ldrh r3, [r0, #42]
- 646 0002 9BB2 uxth r3, r3
- 647 0004 5BB1 cbz r3, .L52
-6005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-6007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
- 648 .loc 1 6007 0
- 649 0006 436A ldr r3, [r0, #36]
- 650 0008 0268 ldr r2, [r0]
- 651 000a 1269 ldr r2, [r2, #16]
- 652 000c 1A70 strb r2, [r3]
-6008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-6010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
- 653 .loc 1 6010 0
-ARM GAS /tmp/cc8FAL5N.s page 119
-
-
- 654 000e 436A ldr r3, [r0, #36]
- 655 0010 0133 adds r3, r3, #1
- 656 0012 4362 str r3, [r0, #36]
-6011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-6013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
- 657 .loc 1 6013 0
- 658 0014 438D ldrh r3, [r0, #42]
- 659 0016 9BB2 uxth r3, r3
- 660 0018 013B subs r3, r3, #1
- 661 001a 9BB2 uxth r3, r3
- 662 001c 4385 strh r3, [r0, #42] @ movhi
- 663 .L52:
- 664 001e 7047 bx lr
- 665 .cfi_endproc
- 666 .LFE125:
- 668 .section .text.I2C_WaitOnSTOPRequestThroughIT,"ax",%progbits
- 669 .align 1
- 670 .syntax unified
- 671 .thumb
- 672 .thumb_func
- 673 .fpu softvfp
- 675 I2C_WaitOnSTOPRequestThroughIT:
- 676 .LFB142:
-6014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-6018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Handle ADD flag for Slave
-6019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-6020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for I2C module
-6021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param IT2Flags Interrupt2 flags to handle.
-6022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-6023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-6024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_Slave_ADDR(I2C_HandleTypeDef *hi2c, uint32_t IT2Flags)
-6025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint8_t TransferDirection = I2C_DIRECTION_RECEIVE;
-6027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint16_t SlaveAddrCode;
-6028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (((uint32_t)hi2c->State & (uint32_t)HAL_I2C_STATE_LISTEN) == (uint32_t)HAL_I2C_STATE_LISTEN)
-6030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable BUF interrupt, BUF enabling is manage through slave specific interface */
-6032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, (I2C_IT_BUF));
-6033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Transfer Direction requested by Master */
-6035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_CHECK_FLAG(IT2Flags, I2C_FLAG_TRA) == RESET)
-6036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** TransferDirection = I2C_DIRECTION_TRANSMIT;
-6038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_CHECK_FLAG(IT2Flags, I2C_FLAG_DUALF) == RESET)
-6041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SlaveAddrCode = (uint16_t)hi2c->Init.OwnAddress1;
-6043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-6045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SlaveAddrCode = (uint16_t)hi2c->Init.OwnAddress2;
-ARM GAS /tmp/cc8FAL5N.s page 120
-
-
-6047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-6050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-6051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call Slave Addr callback */
-6053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-6054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->AddrCallback(hi2c, TransferDirection, SlaveAddrCode);
-6055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-6056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_AddrCallback(hi2c, TransferDirection, SlaveAddrCode);
-6057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-6058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-6060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-6062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_FLAG(hi2c, I2C_FLAG_ADDR);
-6063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-6065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-6066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-6070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Handle STOPF flag for Slave
-6071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-6072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for I2C module
-6073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-6074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-6075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_Slave_STOPF(I2C_HandleTypeDef *hi2c)
-6076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variable to prevent undefined behavior of volatile usage */
-6078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_StateTypeDef CurrentState = hi2c->State;
-6079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable EVT, BUF and ERR interrupt */
-6081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-6082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear STOPF flag */
-6084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_STOPFLAG(hi2c);
-6085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-6087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-6088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* If a DMA is ongoing, Update handle size context */
-6090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->Instance->CR2 & I2C_CR2_DMAEN) == I2C_CR2_DMAEN)
-6091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((CurrentState == HAL_I2C_STATE_BUSY_RX) || (CurrentState == HAL_I2C_STATE_BUSY_RX_LISTEN))
-6093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = (uint16_t)(__HAL_DMA_GET_COUNTER(hi2c->hdmarx));
-6095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferCount != 0U)
-6097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set ErrorCode corresponding to a Non-Acknowledge */
-6099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_AF;
-6100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable, stop the current DMA */
-6103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR2, I2C_CR2_DMAEN);
-ARM GAS /tmp/cc8FAL5N.s page 121
-
-
-6104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Abort DMA Xfer if any */
-6106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (HAL_DMA_GetState(hi2c->hdmarx) != HAL_DMA_STATE_READY)
-6107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the I2C DMA Abort callback :
-6109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** will lead to call HAL_I2C_ErrorCallback() at end of DMA abort procedure */
-6110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferAbortCallback = I2C_DMAAbort;
-6111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Abort DMA RX */
-6113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (HAL_DMA_Abort_IT(hi2c->hdmarx) != HAL_OK)
-6114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call Directly XferAbortCallback function in case of error */
-6116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferAbortCallback(hi2c->hdmarx);
-6117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-6121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = (uint16_t)(__HAL_DMA_GET_COUNTER(hi2c->hdmatx));
-6123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferCount != 0U)
-6125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set ErrorCode corresponding to a Non-Acknowledge */
-6127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_AF;
-6128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable, stop the current DMA */
-6131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR2, I2C_CR2_DMAEN);
-6132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Abort DMA Xfer if any */
-6134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (HAL_DMA_GetState(hi2c->hdmatx) != HAL_DMA_STATE_READY)
-6135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the I2C DMA Abort callback :
-6137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** will lead to call HAL_I2C_ErrorCallback() at end of DMA abort procedure */
-6138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferAbortCallback = I2C_DMAAbort;
-6139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Abort DMA TX */
-6141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (HAL_DMA_Abort_IT(hi2c->hdmatx) != HAL_OK)
-6142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call Directly XferAbortCallback function in case of error */
-6144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferAbortCallback(hi2c->hdmatx);
-6145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* All data are not transferred, so set error code accordingly */
-6151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferCount != 0U)
-6152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Store Last receive data if any */
-6154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BTF) == SET)
-6155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-6157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-6158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-6160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-ARM GAS /tmp/cc8FAL5N.s page 122
-
-
-6161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-6163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-6164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Store Last receive data if any */
-6167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_RXNE) == SET)
-6168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-6170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-6171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-6173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-6174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Update counter */
-6176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
-6177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferCount != 0U)
-6180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set ErrorCode corresponding to a Non-Acknowledge */
-6182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_AF;
-6183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->ErrorCode != HAL_I2C_ERROR_NONE)
-6187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call the corresponding callback to inform upper layer of End of Transfer */
-6189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_ITError(hi2c);
-6190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-6192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (CurrentState == HAL_I2C_STATE_BUSY_RX_LISTEN)
-6194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set state at HAL_I2C_STATE_LISTEN */
-6196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-6197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_LISTEN;
-6198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call the corresponding callback to inform upper layer of End of Transfer */
-6200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-6201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->SlaveRxCpltCallback(hi2c);
-6202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-6203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_SlaveRxCpltCallback(hi2c);
-6204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-6205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_LISTEN)
-6208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
-6210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-6211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-6212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-6213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call the Listen Complete callback, to inform upper layer of the end of Listen usecase */
-6215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-6216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ListenCpltCallback(hi2c);
-6217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-ARM GAS /tmp/cc8FAL5N.s page 123
-
-
-6218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_ListenCpltCallback(hi2c);
-6219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-6220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-6222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((hi2c->PreviousState == I2C_STATE_SLAVE_BUSY_RX) || (CurrentState == HAL_I2C_STATE_BUSY_
-6224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-6226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-6227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-6228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-6230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->SlaveRxCpltCallback(hi2c);
-6231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-6232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_SlaveRxCpltCallback(hi2c);
-6233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-6234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-6240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-6241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for I2C module
-6242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-6243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-6244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_Slave_AF(I2C_HandleTypeDef *hi2c)
-6245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variables to prevent undefined behavior of volatile usage */
-6247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_StateTypeDef CurrentState = hi2c->State;
-6248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t CurrentXferOptions = hi2c->XferOptions;
-6249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (((CurrentXferOptions == I2C_FIRST_AND_LAST_FRAME) || (CurrentXferOptions == I2C_LAST_FRAME))
-6251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (CurrentState == HAL_I2C_STATE_LISTEN))
-6252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
-6254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable EVT, BUF and ERR interrupt */
-6256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-6257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear AF flag */
-6259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_FLAG(hi2c, I2C_FLAG_AF);
-6260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-6262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-6263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-6265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-6266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-6267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call the Listen Complete callback, to inform upper layer of the end of Listen usecase */
-6269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-6270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ListenCpltCallback(hi2c);
-6271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-6272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_ListenCpltCallback(hi2c);
-6273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-6274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-ARM GAS /tmp/cc8FAL5N.s page 124
-
-
-6275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (CurrentState == HAL_I2C_STATE_BUSY_TX)
-6276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
-6278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_SLAVE_BUSY_TX;
-6279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-6280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-6281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable EVT, BUF and ERR interrupt */
-6283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-6284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear AF flag */
-6286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_FLAG(hi2c, I2C_FLAG_AF);
-6287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-6289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-6290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-6292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->SlaveTxCpltCallback(hi2c);
-6293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-6294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_SlaveTxCpltCallback(hi2c);
-6295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-6296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-6298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear AF flag only */
-6300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* State Listen, but XferOptions == FIRST or NEXT */
-6301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_FLAG(hi2c, I2C_FLAG_AF);
-6302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-6306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief I2C interrupts error process
-6307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c I2C handle.
-6308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-6309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-6310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_ITError(I2C_HandleTypeDef *hi2c)
-6311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variable to prevent undefined behavior of volatile usage */
-6313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_StateTypeDef CurrentState = hi2c->State;
-6314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_ModeTypeDef CurrentMode = hi2c->Mode;
-6315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t CurrentError;
-6316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (((CurrentMode == HAL_I2C_MODE_MASTER) || (CurrentMode == HAL_I2C_MODE_MEM)) && (CurrentState
-6318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Pos bit in I2C CR1 when error occurred in Master/Mem Receive IT Process */
-6320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->CR1 &= ~I2C_CR1_POS;
-6321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (((uint32_t)CurrentState & (uint32_t)HAL_I2C_STATE_LISTEN) == (uint32_t)HAL_I2C_STATE_LISTEN)
-6324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* keep HAL_I2C_STATE_LISTEN */
-6326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-6327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_LISTEN;
-6328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-6330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* If state is an abort treatment on going, don't change state */
-ARM GAS /tmp/cc8FAL5N.s page 125
-
-
-6332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* This change will be do later */
-6333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((READ_BIT(hi2c->Instance->CR2, I2C_CR2_DMAEN) != I2C_CR2_DMAEN) && (CurrentState != HAL_I2C
-6334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-6336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-6337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-6339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Abort DMA transfer */
-6342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (READ_BIT(hi2c->Instance->CR2, I2C_CR2_DMAEN) == I2C_CR2_DMAEN)
-6343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->CR2 &= ~I2C_CR2_DMAEN;
-6345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->hdmatx->State != HAL_DMA_STATE_READY)
-6347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the DMA Abort callback :
-6349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** will lead to call HAL_I2C_ErrorCallback() at end of DMA abort procedure */
-6350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferAbortCallback = I2C_DMAAbort;
-6351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (HAL_DMA_Abort_IT(hi2c->hdmatx) != HAL_OK)
-6353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable I2C peripheral to prevent dummy data in buffer */
-6355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE(hi2c);
-6356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-6358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call Directly XferAbortCallback function in case of error */
-6360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferAbortCallback(hi2c->hdmatx);
-6361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-6364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set the DMA Abort callback :
-6366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** will lead to call HAL_I2C_ErrorCallback() at end of DMA abort procedure */
-6367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferAbortCallback = I2C_DMAAbort;
-6368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (HAL_DMA_Abort_IT(hi2c->hdmarx) != HAL_OK)
-6370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Store Last receive data if any */
-6372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_RXNE) == SET)
-6373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-6375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-6376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-6378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-6379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable I2C peripheral to prevent dummy data in buffer */
-6382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE(hi2c);
-6383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-6385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call Directly hi2c->hdmarx->XferAbortCallback function in case of error */
-6387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferAbortCallback(hi2c->hdmarx);
-6388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-ARM GAS /tmp/cc8FAL5N.s page 126
-
-
-6389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (hi2c->State == HAL_I2C_STATE_ABORT)
-6392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-6394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-6395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Store Last receive data if any */
-6397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_RXNE) == SET)
-6398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-6400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-6401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-6403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-6404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable I2C peripheral to prevent dummy data in buffer */
-6407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE(hi2c);
-6408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call the corresponding callback to inform upper layer of End of Transfer */
-6410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-6411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->AbortCpltCallback(hi2c);
-6412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-6413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_AbortCpltCallback(hi2c);
-6414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-6415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-6417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Store Last receive data if any */
-6419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_RXNE) == SET)
-6420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Read data from DR */
-6422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** *hi2c->pBuffPtr = (uint8_t)hi2c->Instance->DR;
-6423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Increment Buffer pointer */
-6425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->pBuffPtr++;
-6426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call user error callback */
-6429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-6430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCallback(hi2c);
-6431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-6432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_ErrorCallback(hi2c);
-6433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-6434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* STOP Flag is not set after a NACK reception, BusError, ArbitrationLost, OverRun */
-6437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CurrentError = hi2c->ErrorCode;
-6438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (((CurrentError & HAL_I2C_ERROR_BERR) == HAL_I2C_ERROR_BERR) || \
-6440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ((CurrentError & HAL_I2C_ERROR_ARLO) == HAL_I2C_ERROR_ARLO) || \
-6441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ((CurrentError & HAL_I2C_ERROR_AF) == HAL_I2C_ERROR_AF) || \
-6442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ((CurrentError & HAL_I2C_ERROR_OVR) == HAL_I2C_ERROR_OVR))
-6443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable EVT, BUF and ERR interrupt */
-6445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-ARM GAS /tmp/cc8FAL5N.s page 127
-
-
-6446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* So may inform upper layer that listen phase is stopped */
-6449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* during NACK error treatment */
-6450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CurrentState = hi2c->State;
-6451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (((hi2c->ErrorCode & HAL_I2C_ERROR_AF) == HAL_I2C_ERROR_AF) && (CurrentState == HAL_I2C_STATE_
-6452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
-6454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-6455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-6456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-6457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call the Listen Complete callback, to inform upper layer of the end of Listen usecase */
-6459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-6460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ListenCpltCallback(hi2c);
-6461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-6462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_ListenCpltCallback(hi2c);
-6463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-6464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-6468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-6469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for I2C module
-6470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param DevAddress Target device address: The device 7 bits address value
-6471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * in datasheet must be shifted to the left before calling the interface
-6472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Timeout Timeout duration
-6473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Tickstart Tick start value
-6474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-6475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-6476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static HAL_StatusTypeDef I2C_MasterRequestWrite(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint3
-6477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variable to prevent undefined behavior of volatile usage */
-6479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t CurrentXferOptions = hi2c->XferOptions;
-6480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Start condition if first transfer */
-6482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((CurrentXferOptions == I2C_FIRST_AND_LAST_FRAME) || (CurrentXferOptions == I2C_FIRST_FRAME) |
-6483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Start */
-6485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
-6486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (hi2c->PreviousState == I2C_STATE_MASTER_BUSY_RX)
-6488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate ReStart */
-6490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
-6491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-6493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Do nothing */
-6495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until SB flag is set */
-6498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_SB, RESET, Timeout, Tickstart) != HAL_OK)
-6499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (READ_BIT(hi2c->Instance->CR1, I2C_CR1_START) == I2C_CR1_START)
-6501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_WRONG_START;
-ARM GAS /tmp/cc8FAL5N.s page 128
-
-
-6503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_TIMEOUT;
-6505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->Init.AddressingMode == I2C_ADDRESSINGMODE_7BIT)
-6508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send slave address */
-6510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_7BIT_ADD_WRITE(DevAddress);
-6511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-6513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send header of slave address */
-6515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_10BIT_HEADER_WRITE(DevAddress);
-6516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until ADD10 flag is set */
-6518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnMasterAddressFlagUntilTimeout(hi2c, I2C_FLAG_ADD10, Timeout, Tickstart) != HAL_OK
-6519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-6521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send slave address */
-6524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_10BIT_ADDRESS(DevAddress);
-6525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until ADDR flag is set */
-6528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnMasterAddressFlagUntilTimeout(hi2c, I2C_FLAG_ADDR, Timeout, Tickstart) != HAL_OK)
-6529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-6531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-6534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-6537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Master sends target device address for read request.
-6538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-6539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for I2C module
-6540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param DevAddress Target device address: The device 7 bits address value
-6541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * in datasheet must be shifted to the left before calling the interface
-6542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Timeout Timeout duration
-6543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Tickstart Tick start value
-6544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-6545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-6546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static HAL_StatusTypeDef I2C_MasterRequestRead(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint32
-6547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variable to prevent undefined behavior of volatile usage */
-6549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t CurrentXferOptions = hi2c->XferOptions;
-6550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Acknowledge */
-6552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-6553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Start condition if first transfer */
-6555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((CurrentXferOptions == I2C_FIRST_AND_LAST_FRAME) || (CurrentXferOptions == I2C_FIRST_FRAME)
-6556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Start */
-6558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
-6559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-ARM GAS /tmp/cc8FAL5N.s page 129
-
-
-6560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (hi2c->PreviousState == I2C_STATE_MASTER_BUSY_TX)
-6561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate ReStart */
-6563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
-6564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-6566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Do nothing */
-6568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until SB flag is set */
-6571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_SB, RESET, Timeout, Tickstart) != HAL_OK)
-6572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (READ_BIT(hi2c->Instance->CR1, I2C_CR1_START) == I2C_CR1_START)
-6574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_WRONG_START;
-6576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_TIMEOUT;
-6578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->Init.AddressingMode == I2C_ADDRESSINGMODE_7BIT)
-6581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send slave address */
-6583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_7BIT_ADD_READ(DevAddress);
-6584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-6586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send header of slave address */
-6588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_10BIT_HEADER_WRITE(DevAddress);
-6589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until ADD10 flag is set */
-6591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnMasterAddressFlagUntilTimeout(hi2c, I2C_FLAG_ADD10, Timeout, Tickstart) != HAL_OK
-6592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-6594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send slave address */
-6597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_10BIT_ADDRESS(DevAddress);
-6598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until ADDR flag is set */
-6600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnMasterAddressFlagUntilTimeout(hi2c, I2C_FLAG_ADDR, Timeout, Tickstart) != HAL_OK)
-6601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-6603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-6606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-6607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Restart */
-6609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
-6610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until SB flag is set */
-6612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_SB, RESET, Timeout, Tickstart) != HAL_OK)
-6613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (READ_BIT(hi2c->Instance->CR1, I2C_CR1_START) == I2C_CR1_START)
-6615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_WRONG_START;
-ARM GAS /tmp/cc8FAL5N.s page 130
-
-
-6617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_TIMEOUT;
-6619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send header of slave address */
-6622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_10BIT_HEADER_READ(DevAddress);
-6623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until ADDR flag is set */
-6626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnMasterAddressFlagUntilTimeout(hi2c, I2C_FLAG_ADDR, Timeout, Tickstart) != HAL_OK)
-6627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-6629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-6632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-6635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Master sends target device address followed by internal memory address for write reques
-6636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-6637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for I2C module
-6638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param DevAddress Target device address: The device 7 bits address value
-6639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * in datasheet must be shifted to the left before calling the interface
-6640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param MemAddress Internal memory address
-6641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param MemAddSize Size of internal memory address
-6642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Timeout Timeout duration
-6643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Tickstart Tick start value
-6644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-6645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-6646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static HAL_StatusTypeDef I2C_RequestMemoryWrite(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint1
-6647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Start */
-6649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
-6650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until SB flag is set */
-6652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_SB, RESET, Timeout, Tickstart) != HAL_OK)
-6653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (READ_BIT(hi2c->Instance->CR1, I2C_CR1_START) == I2C_CR1_START)
-6655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_WRONG_START;
-6657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_TIMEOUT;
-6659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send slave address */
-6662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_7BIT_ADD_WRITE(DevAddress);
-6663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until ADDR flag is set */
-6665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnMasterAddressFlagUntilTimeout(hi2c, I2C_FLAG_ADDR, Timeout, Tickstart) != HAL_OK)
-6666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-6668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-6671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-6672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until TXE flag is set */
-ARM GAS /tmp/cc8FAL5N.s page 131
-
-
-6674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnTXEFlagUntilTimeout(hi2c, Timeout, Tickstart) != HAL_OK)
-6675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->ErrorCode == HAL_I2C_ERROR_AF)
-6677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-6679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-6680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-6682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* If Memory address size is 8Bit */
-6685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (MemAddSize == I2C_MEMADD_SIZE_8BIT)
-6686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send Memory Address */
-6688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_MEM_ADD_LSB(MemAddress);
-6689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* If Memory address size is 16Bit */
-6691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-6692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send MSB of Memory Address */
-6694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_MEM_ADD_MSB(MemAddress);
-6695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until TXE flag is set */
-6697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnTXEFlagUntilTimeout(hi2c, Timeout, Tickstart) != HAL_OK)
-6698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->ErrorCode == HAL_I2C_ERROR_AF)
-6700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-6702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-6703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-6705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send LSB of Memory Address */
-6708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_MEM_ADD_LSB(MemAddress);
-6709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-6712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-6715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Master sends target device address followed by internal memory address for read request
-6716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-6717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for I2C module
-6718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param DevAddress Target device address: The device 7 bits address value
-6719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * in datasheet must be shifted to the left before calling the interface
-6720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param MemAddress Internal memory address
-6721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param MemAddSize Size of internal memory address
-6722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Timeout Timeout duration
-6723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Tickstart Tick start value
-6724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-6725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-6726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static HAL_StatusTypeDef I2C_RequestMemoryRead(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16
-6727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Acknowledge */
-6729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-6730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 132
-
-
-6731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Start */
-6732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
-6733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until SB flag is set */
-6735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_SB, RESET, Timeout, Tickstart) != HAL_OK)
-6736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (READ_BIT(hi2c->Instance->CR1, I2C_CR1_START) == I2C_CR1_START)
-6738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_WRONG_START;
-6740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_TIMEOUT;
-6742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send slave address */
-6745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_7BIT_ADD_WRITE(DevAddress);
-6746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until ADDR flag is set */
-6748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnMasterAddressFlagUntilTimeout(hi2c, I2C_FLAG_ADDR, Timeout, Tickstart) != HAL_OK)
-6749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-6751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
-6754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_ADDRFLAG(hi2c);
-6755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until TXE flag is set */
-6757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnTXEFlagUntilTimeout(hi2c, Timeout, Tickstart) != HAL_OK)
-6758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->ErrorCode == HAL_I2C_ERROR_AF)
-6760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-6762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-6763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-6765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* If Memory address size is 8Bit */
-6768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (MemAddSize == I2C_MEMADD_SIZE_8BIT)
-6769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send Memory Address */
-6771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_MEM_ADD_LSB(MemAddress);
-6772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* If Memory address size is 16Bit */
-6774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-6775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send MSB of Memory Address */
-6777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_MEM_ADD_MSB(MemAddress);
-6778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until TXE flag is set */
-6780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnTXEFlagUntilTimeout(hi2c, Timeout, Tickstart) != HAL_OK)
-6781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->ErrorCode == HAL_I2C_ERROR_AF)
-6783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-6785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-6786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-ARM GAS /tmp/cc8FAL5N.s page 133
-
-
-6788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send LSB of Memory Address */
-6791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_MEM_ADD_LSB(MemAddress);
-6792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until TXE flag is set */
-6795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnTXEFlagUntilTimeout(hi2c, Timeout, Tickstart) != HAL_OK)
-6796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->ErrorCode == HAL_I2C_ERROR_AF)
-6798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-6800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-6801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-6803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Restart */
-6806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_START);
-6807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until SB flag is set */
-6809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnFlagUntilTimeout(hi2c, I2C_FLAG_SB, RESET, Timeout, Tickstart) != HAL_OK)
-6810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (READ_BIT(hi2c->Instance->CR1, I2C_CR1_START) == I2C_CR1_START)
-6812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_WRONG_START;
-6814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_TIMEOUT;
-6816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Send slave address */
-6819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->DR = I2C_7BIT_ADD_READ(DevAddress);
-6820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until ADDR flag is set */
-6822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_WaitOnMasterAddressFlagUntilTimeout(hi2c, I2C_FLAG_ADDR, Timeout, Tickstart) != HAL_OK)
-6823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-6825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-6828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-6831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief DMA I2C process complete callback.
-6832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hdma DMA handle
-6833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-6834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-6835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_DMAXferCplt(DMA_HandleTypeDef *hdma)
-6836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_HandleTypeDef *hi2c = (I2C_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; /* Derogation
-6838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variable to prevent undefined behavior of volatile usage */
-6840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_StateTypeDef CurrentState = hi2c->State;
-6841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_ModeTypeDef CurrentMode = hi2c->Mode;
-6842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t CurrentXferOptions = hi2c->XferOptions;
-6843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable EVT and ERR interrupt */
-ARM GAS /tmp/cc8FAL5N.s page 134
-
-
-6845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_ERR);
-6846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear Complete callback */
-6848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->hdmatx != NULL)
-6849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferCpltCallback = NULL;
-6851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->hdmarx != NULL)
-6853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferCpltCallback = NULL;
-6855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((((uint32_t)CurrentState & (uint32_t)HAL_I2C_STATE_BUSY_TX) == (uint32_t)HAL_I2C_STATE_BUSY_T
-6858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable DMA Request */
-6860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR2, I2C_CR2_DMAEN);
-6861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = 0U;
-6863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (CurrentState == HAL_I2C_STATE_BUSY_TX_LISTEN)
-6865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set state at HAL_I2C_STATE_LISTEN */
-6867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_SLAVE_BUSY_TX;
-6868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_LISTEN;
-6869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call the corresponding callback to inform upper layer of End of Transfer */
-6871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-6872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->SlaveTxCpltCallback(hi2c);
-6873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-6874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_SlaveTxCpltCallback(hi2c);
-6875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-6876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (CurrentState == HAL_I2C_STATE_BUSY_RX_LISTEN)
-6878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Set state at HAL_I2C_STATE_LISTEN */
-6880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_SLAVE_BUSY_RX;
-6881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_LISTEN;
-6882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call the corresponding callback to inform upper layer of End of Transfer */
-6884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-6885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->SlaveRxCpltCallback(hi2c);
-6886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-6887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_SlaveRxCpltCallback(hi2c);
-6888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-6889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-6891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Do nothing */
-6893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable EVT and ERR interrupt to treat end of transfer in IRQ handler */
-6896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_ERR);
-6897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check current Mode, in case of treatment DMA handler have been preempted by a prior interrupt
-6899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (hi2c->Mode != HAL_I2C_MODE_NONE)
-6900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferCount == (uint16_t)1)
-ARM GAS /tmp/cc8FAL5N.s page 135
-
-
-6902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-6904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-6905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable EVT and ERR interrupt */
-6908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE_IT(hi2c, I2C_IT_EVT | I2C_IT_ERR);
-6909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prepare next transfer or stop current transfer */
-6911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((CurrentXferOptions == I2C_NO_OPTION_FRAME) || (CurrentXferOptions == I2C_FIRST_AND_LAST_FR
-6912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-6914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-6915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Last DMA */
-6918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR2, I2C_CR2_LAST);
-6919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable DMA Request */
-6921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR2, I2C_CR2_DMAEN);
-6922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = 0U;
-6924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if Errors has been detected during transfer */
-6926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->ErrorCode != HAL_I2C_ERROR_NONE)
-6927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-6929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCallback(hi2c);
-6930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-6931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_ErrorCallback(hi2c);
-6932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-6933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-6935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-6937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->Mode == HAL_I2C_MODE_MEM)
-6939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-6941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-6942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-6944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MemRxCpltCallback(hi2c);
-6945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-6946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_MemRxCpltCallback(hi2c);
-6947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-6948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-6950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-6952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_MASTER_BUSY_RX;
-6953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-6955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MasterRxCpltCallback(hi2c);
-6956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-6957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_MasterRxCpltCallback(hi2c);
-6958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-ARM GAS /tmp/cc8FAL5N.s page 136
-
-
-6959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-6963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Do nothing */
-6965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-6969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief DMA I2C communication error callback.
-6970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hdma DMA handle
-6971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-6972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-6973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_DMAError(DMA_HandleTypeDef *hdma)
-6974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_HandleTypeDef *hi2c = (I2C_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; /* Derogation
-6976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear Complete callback */
-6978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->hdmatx != NULL)
-6979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferCpltCallback = NULL;
-6981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->hdmarx != NULL)
-6983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-6984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferCpltCallback = NULL;
-6985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-6986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-6988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-6989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = 0U;
-6991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-6992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-6993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_DMA;
-6994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-6995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-6996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCallback(hi2c);
-6997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-6998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_ErrorCallback(hi2c);
-6999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-7000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-7003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief DMA I2C communication abort callback
-7004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * (To be called at end of DMA Abort procedure).
-7005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hdma DMA handle.
-7006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-7007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-7008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_DMAAbort(DMA_HandleTypeDef *hdma)
-7009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
-7011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_HandleTypeDef *hi2c = (I2C_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; /* Derogation
-7012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variable to prevent undefined behavior of volatile usage */
-7014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_StateTypeDef CurrentState = hi2c->State;
-7015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 137
-
-
-7016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* During abort treatment, check that there is no pending STOP request */
-7017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until STOP flag is reset */
-7018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count = I2C_TIMEOUT_FLAG * (SystemCoreClock / 25U / 1000U);
-7019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
-7020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
-7022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
-7024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
-7025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count--;
-7027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (READ_BIT(hi2c->Instance->CR1, I2C_CR1_STOP) == I2C_CR1_STOP);
-7029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear Complete callback */
-7031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->hdmatx != NULL)
-7032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferCpltCallback = NULL;
-7034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->hdmarx != NULL)
-7036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferCpltCallback = NULL;
-7038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable Acknowledge */
-7041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** CLEAR_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-7042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = 0U;
-7044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Reset XferAbortCallback */
-7046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->hdmatx != NULL)
-7047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferAbortCallback = NULL;
-7049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->hdmarx != NULL)
-7051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferAbortCallback = NULL;
-7053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Disable I2C peripheral to prevent dummy data in buffer */
-7056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_DISABLE(hi2c);
-7057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if come from abort from user */
-7059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_ABORT)
-7060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-7062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-7063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-7064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call the corresponding callback to inform upper layer of End of Transfer */
-7066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-7067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->AbortCpltCallback(hi2c);
-7068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-7069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_AbortCpltCallback(hi2c);
-7070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-7071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-ARM GAS /tmp/cc8FAL5N.s page 138
-
-
-7073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (((uint32_t)CurrentState & (uint32_t)HAL_I2C_STATE_LISTEN) == (uint32_t)HAL_I2C_STATE_LISTEN
-7075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Renable I2C peripheral */
-7077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_ENABLE(hi2c);
-7078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Acknowledge */
-7080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_ACK);
-7081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* keep HAL_I2C_STATE_LISTEN */
-7083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-7084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_LISTEN;
-7085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-7087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-7089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-7090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Call the corresponding callback to inform upper layer of End of Transfer */
-7093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-7094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCallback(hi2c);
-7095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #else
-7096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_ErrorCallback(hi2c);
-7097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-7098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-7102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief This function handles I2C Communication Timeout.
-7103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-7104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for I2C module
-7105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Flag specifies the I2C flag to check.
-7106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Status The new Flag status (SET or RESET).
-7107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Timeout Timeout duration
-7108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Tickstart Tick start value
-7109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-7110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-7111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static HAL_StatusTypeDef I2C_WaitOnFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t Flag, FlagSta
-7112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until flag is set */
-7114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (__HAL_I2C_GET_FLAG(hi2c, Flag) == Status)
-7115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check for the Timeout */
-7117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (Timeout != HAL_MAX_DELAY)
-7118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (((HAL_GetTick() - Tickstart) > Timeout) || (Timeout == 0U))
-7120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-7122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-7123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-7124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
-7125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-7127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-7128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-ARM GAS /tmp/cc8FAL5N.s page 139
-
-
-7130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-7134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-7137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief This function handles I2C Communication Timeout for Master addressing phase.
-7138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-7139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for I2C module
-7140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Flag specifies the I2C flag to check.
-7141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Timeout Timeout duration
-7142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Tickstart Tick start value
-7143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-7144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-7145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static HAL_StatusTypeDef I2C_WaitOnMasterAddressFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t
-7146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (__HAL_I2C_GET_FLAG(hi2c, Flag) == RESET)
-7148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_AF) == SET)
-7150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Stop */
-7152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** SET_BIT(hi2c->Instance->CR1, I2C_CR1_STOP);
-7153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear AF Flag */
-7155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_FLAG(hi2c, I2C_FLAG_AF);
-7156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-7158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-7159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-7160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_AF;
-7161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-7163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-7164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-7166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check for the Timeout */
-7169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (Timeout != HAL_MAX_DELAY)
-7170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (((HAL_GetTick() - Tickstart) > Timeout) || (Timeout == 0U))
-7172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-7174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-7175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-7176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
-7177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-7179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-7180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-7182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-7186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-ARM GAS /tmp/cc8FAL5N.s page 140
-
-
-7187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-7189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief This function handles I2C Communication Timeout for specific usage of TXE flag.
-7190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-7191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-7192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Timeout Timeout duration
-7193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Tickstart Tick start value
-7194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-7195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-7196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static HAL_StatusTypeDef I2C_WaitOnTXEFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t Timeout, u
-7197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_TXE) == RESET)
-7199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if a NACK is detected */
-7201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_IsAcknowledgeFailed(hi2c) != HAL_OK)
-7202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-7204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check for the Timeout */
-7207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (Timeout != HAL_MAX_DELAY)
-7208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (((HAL_GetTick() - Tickstart) > Timeout) || (Timeout == 0U))
-7210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-7212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-7213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-7214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
-7215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-7217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-7218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-7220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-7224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-7227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief This function handles I2C Communication Timeout for specific usage of BTF flag.
-7228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-7229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-7230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Timeout Timeout duration
-7231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Tickstart Tick start value
-7232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-7233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-7234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static HAL_StatusTypeDef I2C_WaitOnBTFFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t Timeout, u
-7235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BTF) == RESET)
-7237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if a NACK is detected */
-7239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_IsAcknowledgeFailed(hi2c) != HAL_OK)
-7240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-7242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 141
-
-
-7244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check for the Timeout */
-7245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (Timeout != HAL_MAX_DELAY)
-7246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (((HAL_GetTick() - Tickstart) > Timeout) || (Timeout == 0U))
-7248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-7250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-7251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-7252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
-7253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-7255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-7256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-7258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-7262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-7265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief This function handles I2C Communication Timeout for specific usage of STOP flag.
-7266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-7267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-7268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Timeout Timeout duration
-7269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Tickstart Tick start value
-7270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-7271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-7272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static HAL_StatusTypeDef I2C_WaitOnSTOPFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t Timeout,
-7273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_STOPF) == RESET)
-7275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if a NACK is detected */
-7277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (I2C_IsAcknowledgeFailed(hi2c) != HAL_OK)
-7278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-7280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check for the Timeout */
-7283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (((HAL_GetTick() - Tickstart) > Timeout) || (Timeout == 0U))
-7284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-7286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-7287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-7288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
-7289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-7291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-7292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-7294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-7297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-7300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief This function handles I2C Communication Timeout for specific usage of STOP request thro
-ARM GAS /tmp/cc8FAL5N.s page 142
-
-
-7301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-7302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-7303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-7304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-7305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static HAL_StatusTypeDef I2C_WaitOnSTOPRequestThroughIT(I2C_HandleTypeDef *hi2c)
-7306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 677 .loc 1 7306 0
- 678 .cfi_startproc
- 679 @ args = 0, pretend = 0, frame = 8
- 680 @ frame_needed = 0, uses_anonymous_args = 0
- 681 @ link register save eliminated.
- 682 .LVL30:
- 683 0000 82B0 sub sp, sp, #8
- 684 .LCFI5:
- 685 .cfi_def_cfa_offset 8
-7307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
- 686 .loc 1 7307 0
- 687 0002 0023 movs r3, #0
- 688 0004 0193 str r3, [sp, #4]
-7308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until STOP flag is reset */
-7310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count = I2C_TIMEOUT_STOP_FLAG * (SystemCoreClock / 25U / 1000U);
- 689 .loc 1 7310 0
- 690 0006 0E4B ldr r3, .L60
- 691 0008 1B68 ldr r3, [r3]
- 692 000a DB08 lsrs r3, r3, #3
- 693 000c 0D4A ldr r2, .L60+4
- 694 000e A2FB0323 umull r2, r3, r2, r3
- 695 0012 1B0A lsrs r3, r3, #8
- 696 0014 03EB8303 add r3, r3, r3, lsl #2
- 697 0018 0193 str r3, [sp, #4]
- 698 .L57:
-7311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
-7312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** count--;
- 699 .loc 1 7313 0
- 700 001a 019B ldr r3, [sp, #4]
- 701 001c 013B subs r3, r3, #1
- 702 001e 0193 str r3, [sp, #4]
-7314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
- 703 .loc 1 7314 0
- 704 0020 019B ldr r3, [sp, #4]
- 705 0022 33B1 cbz r3, .L59
-7315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
-7317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-7319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (READ_BIT(hi2c->Instance->CR1, I2C_CR1_STOP) == I2C_CR1_STOP);
- 706 .loc 1 7321 0
- 707 0024 0368 ldr r3, [r0]
- 708 0026 1B68 ldr r3, [r3]
- 709 0028 13F4007F tst r3, #512
- 710 002c F5D1 bne .L57
-7322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-ARM GAS /tmp/cc8FAL5N.s page 143
-
-
- 711 .loc 1 7323 0
- 712 002e 0020 movs r0, #0
- 713 .LVL31:
- 714 0030 04E0 b .L56
- 715 .LVL32:
- 716 .L59:
-7316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 717 .loc 1 7316 0
- 718 0032 036C ldr r3, [r0, #64]
- 719 0034 43F02003 orr r3, r3, #32
- 720 0038 0364 str r3, [r0, #64]
-7318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 721 .loc 1 7318 0
- 722 003a 0120 movs r0, #1
- 723 .LVL33:
- 724 .L56:
-7324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 725 .loc 1 7324 0
- 726 003c 02B0 add sp, sp, #8
- 727 .LCFI6:
- 728 .cfi_def_cfa_offset 0
- 729 @ sp needed
- 730 003e 7047 bx lr
- 731 .L61:
- 732 .align 2
- 733 .L60:
- 734 0040 00000000 .word SystemCoreClock
- 735 0044 89B5F814 .word 351843721
- 736 .cfi_endproc
- 737 .LFE142:
- 739 .section .text.I2C_IsAcknowledgeFailed,"ax",%progbits
- 740 .align 1
- 741 .syntax unified
- 742 .thumb
- 743 .thumb_func
- 744 .fpu softvfp
- 746 I2C_IsAcknowledgeFailed:
- 747 .LFB144:
-7325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-7327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief This function handles I2C Communication Timeout for specific usage of RXNE flag.
-7328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-7329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-7330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Timeout Timeout duration
-7331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param Tickstart Tick start value
-7332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-7333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-7334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static HAL_StatusTypeDef I2C_WaitOnRXNEFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t Timeout,
-7335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_RXNE) == RESET)
-7338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check if a STOPF is detected */
-7340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_STOPF) == SET)
-7341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear STOP Flag */
-7343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_FLAG(hi2c, I2C_FLAG_STOPF);
-ARM GAS /tmp/cc8FAL5N.s page 144
-
-
-7344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-7346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-7347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-7348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_NONE;
-7349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-7351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-7352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-7354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check for the Timeout */
-7357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (((HAL_GetTick() - Tickstart) > Timeout) || (Timeout == 0U))
-7358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-7360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-7361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
-7362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
-7363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-7365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
-7366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
-7368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
-7371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-7374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief This function handles Acknowledge failed detection during an I2C Communication.
-7375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
-7376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * the configuration information for the specified I2C.
-7377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval HAL status
-7378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-7379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static HAL_StatusTypeDef I2C_IsAcknowledgeFailed(I2C_HandleTypeDef *hi2c)
-7380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 748 .loc 1 7380 0
- 749 .cfi_startproc
- 750 @ args = 0, pretend = 0, frame = 0
- 751 @ frame_needed = 0, uses_anonymous_args = 0
- 752 @ link register save eliminated.
- 753 .LVL34:
-7381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_AF) == SET)
- 754 .loc 1 7381 0
- 755 0000 0368 ldr r3, [r0]
- 756 0002 5A69 ldr r2, [r3, #20]
- 757 0004 12F4806F tst r2, #1024
- 758 0008 11D0 beq .L64
-7382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear NACKF Flag */
-7384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_I2C_CLEAR_FLAG(hi2c, I2C_FLAG_AF);
- 759 .loc 1 7384 0
- 760 000a 6FF48062 mvn r2, #1024
- 761 000e 5A61 str r2, [r3, #20]
-7385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
-ARM GAS /tmp/cc8FAL5N.s page 145
-
-
- 762 .loc 1 7386 0
- 763 0010 0023 movs r3, #0
- 764 0012 0363 str r3, [r0, #48]
-7387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 765 .loc 1 7387 0
- 766 0014 2022 movs r2, #32
- 767 0016 80F83D20 strb r2, [r0, #61]
-7388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 768 .loc 1 7388 0
- 769 001a 80F83E30 strb r3, [r0, #62]
-7389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_AF;
- 770 .loc 1 7389 0
- 771 001e 026C ldr r2, [r0, #64]
- 772 0020 42F00402 orr r2, r2, #4
- 773 0024 0264 str r2, [r0, #64]
-7390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Process Unlocked */
-7392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __HAL_UNLOCK(hi2c);
- 774 .loc 1 7392 0
- 775 0026 80F83C30 strb r3, [r0, #60]
-7393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_ERROR;
- 776 .loc 1 7394 0
- 777 002a 0120 movs r0, #1
- 778 .LVL35:
- 779 002c 7047 bx lr
- 780 .LVL36:
- 781 .L64:
-7395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return HAL_OK;
- 782 .loc 1 7396 0
- 783 002e 0020 movs r0, #0
- 784 .LVL37:
-7397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 785 .loc 1 7397 0
- 786 0030 7047 bx lr
- 787 .cfi_endproc
- 788 .LFE144:
- 790 .section .text.I2C_ConvertOtherXferOptions,"ax",%progbits
- 791 .align 1
- 792 .syntax unified
- 793 .thumb
- 794 .thumb_func
- 795 .fpu softvfp
- 797 I2C_ConvertOtherXferOptions:
- 798 .LFB145:
-7398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-7399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /**
-7400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @brief Convert I2Cx OTHER_xxx XferOptions to functionnal XferOptions.
-7401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @param hi2c I2C handle.
-7402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** * @retval None
-7403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** */
-7404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** static void I2C_ConvertOtherXferOptions(I2C_HandleTypeDef *hi2c)
-7405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 799 .loc 1 7405 0
- 800 .cfi_startproc
- 801 @ args = 0, pretend = 0, frame = 0
-ARM GAS /tmp/cc8FAL5N.s page 146
-
-
- 802 @ frame_needed = 0, uses_anonymous_args = 0
- 803 @ link register save eliminated.
- 804 .LVL38:
-7406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* if user set XferOptions to I2C_OTHER_FRAME */
-7407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* it request implicitly to generate a restart condition */
-7408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* set XferOptions to I2C_FIRST_FRAME */
-7409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->XferOptions == I2C_OTHER_FRAME)
- 805 .loc 1 7409 0
- 806 0000 C36A ldr r3, [r0, #44]
- 807 0002 B3F52A0F cmp r3, #11141120
- 808 0006 04D0 beq .L68
-7410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_FIRST_FRAME;
-7412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* else if user set XferOptions to I2C_OTHER_AND_LAST_FRAME */
-7414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* it request implicitly to generate a restart condition */
-7415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* then generate a stop condition at the end of transfer */
-7416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* set XferOptions to I2C_FIRST_AND_LAST_FRAME */
-7417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else if (hi2c->XferOptions == I2C_OTHER_AND_LAST_FRAME)
- 809 .loc 1 7417 0
- 810 0008 C36A ldr r3, [r0, #44]
- 811 000a B3F12A4F cmp r3, #-1442840576
- 812 000e 03D0 beq .L69
- 813 .L65:
- 814 0010 7047 bx lr
- 815 .L68:
-7411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 816 .loc 1 7411 0
- 817 0012 0123 movs r3, #1
- 818 0014 C362 str r3, [r0, #44]
- 819 0016 7047 bx lr
- 820 .L69:
-7418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_FIRST_AND_LAST_FRAME;
- 821 .loc 1 7419 0
- 822 0018 0823 movs r3, #8
- 823 001a C362 str r3, [r0, #44]
-7420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** else
-7422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-7423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Nothing to do */
-7424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-7425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 824 .loc 1 7425 0
- 825 001c F8E7 b .L65
- 826 .cfi_endproc
- 827 .LFE145:
- 829 .section .text.I2C_WaitOnFlagUntilTimeout,"ax",%progbits
- 830 .align 1
- 831 .syntax unified
- 832 .thumb
- 833 .thumb_func
- 834 .fpu softvfp
- 836 I2C_WaitOnFlagUntilTimeout:
- 837 .LFB137:
-7112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Wait until flag is set */
- 838 .loc 1 7112 0
-ARM GAS /tmp/cc8FAL5N.s page 147
-
-
- 839 .cfi_startproc
- 840 @ args = 4, pretend = 0, frame = 0
- 841 @ frame_needed = 0, uses_anonymous_args = 0
- 842 .LVL39:
- 843 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
- 844 .LCFI7:
- 845 .cfi_def_cfa_offset 24
- 846 .cfi_offset 3, -24
- 847 .cfi_offset 4, -20
- 848 .cfi_offset 5, -16
- 849 .cfi_offset 6, -12
- 850 .cfi_offset 7, -8
- 851 .cfi_offset 14, -4
- 852 0002 0646 mov r6, r0
- 853 0004 0C46 mov r4, r1
- 854 0006 1746 mov r7, r2
- 855 0008 1D46 mov r5, r3
-7114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 856 .loc 1 7114 0
- 857 000a 22E0 b .L72
- 858 .LVL40:
- 859 .L80:
-7119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 860 .loc 1 7119 0
- 861 000c FFF7FEFF bl HAL_GetTick
- 862 .LVL41:
- 863 0010 069B ldr r3, [sp, #24]
- 864 0012 C01A subs r0, r0, r3
- 865 0014 8542 cmp r5, r0
- 866 0016 00D3 bcc .L73
-7119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 867 .loc 1 7119 0 is_stmt 0 discriminator 1
- 868 0018 DDB9 cbnz r5, .L72
- 869 .L73:
-7121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 870 .loc 1 7121 0 is_stmt 1
- 871 001a 0023 movs r3, #0
- 872 001c 3363 str r3, [r6, #48]
-7122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 873 .loc 1 7122 0
- 874 001e 2022 movs r2, #32
- 875 0020 86F83D20 strb r2, [r6, #61]
-7123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
- 876 .loc 1 7123 0
- 877 0024 86F83E30 strb r3, [r6, #62]
-7124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 878 .loc 1 7124 0
- 879 0028 326C ldr r2, [r6, #64]
- 880 002a 42F02002 orr r2, r2, #32
- 881 002e 3264 str r2, [r6, #64]
-7127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 882 .loc 1 7127 0
- 883 0030 86F83C30 strb r3, [r6, #60]
-7129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 884 .loc 1 7129 0
- 885 0034 0120 movs r0, #1
- 886 0036 F8BD pop {r3, r4, r5, r6, r7, pc}
-ARM GAS /tmp/cc8FAL5N.s page 148
-
-
- 887 .LVL42:
- 888 .L81:
-7114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 889 .loc 1 7114 0 discriminator 1
- 890 0038 3368 ldr r3, [r6]
- 891 003a 5B69 ldr r3, [r3, #20]
- 892 003c 24EA0303 bic r3, r4, r3
- 893 0040 9BB2 uxth r3, r3
- 894 0042 B3FA83F3 clz r3, r3
- 895 0046 5B09 lsrs r3, r3, #5
- 896 .L76:
-7114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 897 .loc 1 7114 0 is_stmt 0 discriminator 4
- 898 0048 BB42 cmp r3, r7
- 899 004a 0FD1 bne .L79
-7117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 900 .loc 1 7117 0 is_stmt 1
- 901 004c B5F1FF3F cmp r5, #-1
- 902 0050 DCD1 bne .L80
- 903 .L72:
-7114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 904 .loc 1 7114 0
- 905 0052 C4F30743 ubfx r3, r4, #16, #8
- 906 0056 012B cmp r3, #1
- 907 0058 EED0 beq .L81
-7114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 908 .loc 1 7114 0 is_stmt 0 discriminator 2
- 909 005a 3368 ldr r3, [r6]
- 910 005c 9B69 ldr r3, [r3, #24]
- 911 005e 24EA0303 bic r3, r4, r3
- 912 0062 9BB2 uxth r3, r3
- 913 0064 B3FA83F3 clz r3, r3
- 914 0068 5B09 lsrs r3, r3, #5
- 915 006a EDE7 b .L76
- 916 .L79:
-7133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 917 .loc 1 7133 0 is_stmt 1
- 918 006c 0020 movs r0, #0
-7134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 919 .loc 1 7134 0
- 920 006e F8BD pop {r3, r4, r5, r6, r7, pc}
- 921 .cfi_endproc
- 922 .LFE137:
- 924 .section .text.I2C_WaitOnMasterAddressFlagUntilTimeout,"ax",%progbits
- 925 .align 1
- 926 .syntax unified
- 927 .thumb
- 928 .thumb_func
- 929 .fpu softvfp
- 931 I2C_WaitOnMasterAddressFlagUntilTimeout:
- 932 .LFB138:
-7146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (__HAL_I2C_GET_FLAG(hi2c, Flag) == RESET)
- 933 .loc 1 7146 0
- 934 .cfi_startproc
- 935 @ args = 0, pretend = 0, frame = 0
- 936 @ frame_needed = 0, uses_anonymous_args = 0
- 937 .LVL43:
-ARM GAS /tmp/cc8FAL5N.s page 149
-
-
- 938 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
- 939 .LCFI8:
- 940 .cfi_def_cfa_offset 24
- 941 .cfi_offset 3, -24
- 942 .cfi_offset 4, -20
- 943 .cfi_offset 5, -16
- 944 .cfi_offset 6, -12
- 945 .cfi_offset 7, -8
- 946 .cfi_offset 14, -4
- 947 0002 0446 mov r4, r0
- 948 0004 0D46 mov r5, r1
- 949 0006 1646 mov r6, r2
- 950 0008 1F46 mov r7, r3
-7147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 951 .loc 1 7147 0
- 952 000a 3CE0 b .L86
- 953 .LVL44:
- 954 .L93:
-7152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 955 .loc 1 7152 0
- 956 000c 1A68 ldr r2, [r3]
- 957 000e 42F40072 orr r2, r2, #512
- 958 0012 1A60 str r2, [r3]
-7155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 959 .loc 1 7155 0
- 960 0014 2368 ldr r3, [r4]
- 961 0016 6FF48062 mvn r2, #1024
- 962 001a 5A61 str r2, [r3, #20]
-7157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 963 .loc 1 7157 0
- 964 001c 0023 movs r3, #0
- 965 001e 2363 str r3, [r4, #48]
-7158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 966 .loc 1 7158 0
- 967 0020 2022 movs r2, #32
- 968 0022 84F83D20 strb r2, [r4, #61]
-7159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_AF;
- 969 .loc 1 7159 0
- 970 0026 84F83E30 strb r3, [r4, #62]
-7160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 971 .loc 1 7160 0
- 972 002a 226C ldr r2, [r4, #64]
- 973 002c 42F00402 orr r2, r2, #4
- 974 0030 2264 str r2, [r4, #64]
-7163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 975 .loc 1 7163 0
- 976 0032 84F83C30 strb r3, [r4, #60]
-7165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 977 .loc 1 7165 0
- 978 0036 0120 movs r0, #1
- 979 0038 F8BD pop {r3, r4, r5, r6, r7, pc}
- 980 .LVL45:
- 981 .L94:
-7171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 982 .loc 1 7171 0
- 983 003a FFF7FEFF bl HAL_GetTick
- 984 .LVL46:
-ARM GAS /tmp/cc8FAL5N.s page 150
-
-
- 985 003e C01B subs r0, r0, r7
- 986 0040 8642 cmp r6, r0
- 987 0042 00D3 bcc .L87
-7171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 988 .loc 1 7171 0 is_stmt 0 discriminator 1
- 989 0044 FEB9 cbnz r6, .L86
- 990 .L87:
-7173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 991 .loc 1 7173 0 is_stmt 1
- 992 0046 0023 movs r3, #0
- 993 0048 2363 str r3, [r4, #48]
-7174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 994 .loc 1 7174 0
- 995 004a 2022 movs r2, #32
- 996 004c 84F83D20 strb r2, [r4, #61]
-7175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
- 997 .loc 1 7175 0
- 998 0050 84F83E30 strb r3, [r4, #62]
-7176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 999 .loc 1 7176 0
- 1000 0054 226C ldr r2, [r4, #64]
- 1001 0056 42F02002 orr r2, r2, #32
- 1002 005a 2264 str r2, [r4, #64]
-7179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1003 .loc 1 7179 0
- 1004 005c 84F83C30 strb r3, [r4, #60]
-7181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1005 .loc 1 7181 0
- 1006 0060 0120 movs r0, #1
- 1007 0062 F8BD pop {r3, r4, r5, r6, r7, pc}
- 1008 .LVL47:
- 1009 .L95:
-7147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1010 .loc 1 7147 0 discriminator 1
- 1011 0064 2368 ldr r3, [r4]
- 1012 0066 5B69 ldr r3, [r3, #20]
- 1013 0068 25EA0303 bic r3, r5, r3
- 1014 006c 9BB2 uxth r3, r3
- 1015 006e 0033 adds r3, r3, #0
- 1016 0070 18BF it ne
- 1017 0072 0123 movne r3, #1
- 1018 .L89:
-7147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1019 .loc 1 7147 0 is_stmt 0 discriminator 4
- 1020 0074 A3B1 cbz r3, .L92
-7149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1021 .loc 1 7149 0 is_stmt 1
- 1022 0076 2368 ldr r3, [r4]
- 1023 0078 5A69 ldr r2, [r3, #20]
- 1024 007a 12F4806F tst r2, #1024
- 1025 007e C5D1 bne .L93
-7169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1026 .loc 1 7169 0
- 1027 0080 B6F1FF3F cmp r6, #-1
- 1028 0084 D9D1 bne .L94
- 1029 .L86:
-7147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-ARM GAS /tmp/cc8FAL5N.s page 151
-
-
- 1030 .loc 1 7147 0
- 1031 0086 C5F30743 ubfx r3, r5, #16, #8
- 1032 008a 012B cmp r3, #1
- 1033 008c EAD0 beq .L95
-7147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1034 .loc 1 7147 0 is_stmt 0 discriminator 2
- 1035 008e 2368 ldr r3, [r4]
- 1036 0090 9B69 ldr r3, [r3, #24]
- 1037 0092 25EA0303 bic r3, r5, r3
- 1038 0096 9BB2 uxth r3, r3
- 1039 0098 0033 adds r3, r3, #0
- 1040 009a 18BF it ne
- 1041 009c 0123 movne r3, #1
- 1042 009e E9E7 b .L89
- 1043 .L92:
-7185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1044 .loc 1 7185 0 is_stmt 1
- 1045 00a0 0020 movs r0, #0
-7186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1046 .loc 1 7186 0
- 1047 00a2 F8BD pop {r3, r4, r5, r6, r7, pc}
- 1048 .cfi_endproc
- 1049 .LFE138:
- 1051 .section .text.I2C_MasterRequestWrite,"ax",%progbits
- 1052 .align 1
- 1053 .syntax unified
- 1054 .thumb
- 1055 .thumb_func
- 1056 .fpu softvfp
- 1058 I2C_MasterRequestWrite:
- 1059 .LFB130:
-6477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variable to prevent undefined behavior of volatile usage */
- 1060 .loc 1 6477 0
- 1061 .cfi_startproc
- 1062 @ args = 0, pretend = 0, frame = 0
- 1063 @ frame_needed = 0, uses_anonymous_args = 0
- 1064 .LVL48:
- 1065 0000 F0B5 push {r4, r5, r6, r7, lr}
- 1066 .LCFI9:
- 1067 .cfi_def_cfa_offset 20
- 1068 .cfi_offset 4, -20
- 1069 .cfi_offset 5, -16
- 1070 .cfi_offset 6, -12
- 1071 .cfi_offset 7, -8
- 1072 .cfi_offset 14, -4
- 1073 0002 83B0 sub sp, sp, #12
- 1074 .LCFI10:
- 1075 .cfi_def_cfa_offset 32
- 1076 0004 0446 mov r4, r0
- 1077 0006 0F46 mov r7, r1
- 1078 0008 1546 mov r5, r2
- 1079 000a 1E46 mov r6, r3
-6479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1080 .loc 1 6479 0
- 1081 000c C36A ldr r3, [r0, #44]
- 1082 .LVL49:
-6482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-ARM GAS /tmp/cc8FAL5N.s page 152
-
-
- 1083 .loc 1 6482 0
- 1084 000e 082B cmp r3, #8
- 1085 0010 0DD0 beq .L97
-6482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1086 .loc 1 6482 0 is_stmt 0 discriminator 1
- 1087 0012 012B cmp r3, #1
- 1088 0014 0BD0 beq .L97
-6482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1089 .loc 1 6482 0 discriminator 2
- 1090 0016 13F5803F cmn r3, #65536
- 1091 001a 08D0 beq .L97
-6487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1092 .loc 1 6487 0 is_stmt 1
- 1093 001c 036B ldr r3, [r0, #48]
- 1094 .LVL50:
- 1095 001e 122B cmp r3, #18
- 1096 0020 0AD1 bne .L99
-6490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1097 .loc 1 6490 0
- 1098 0022 0268 ldr r2, [r0]
- 1099 .LVL51:
- 1100 0024 1368 ldr r3, [r2]
- 1101 0026 43F48073 orr r3, r3, #256
- 1102 002a 1360 str r3, [r2]
- 1103 002c 04E0 b .L99
- 1104 .LVL52:
- 1105 .L97:
-6485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1106 .loc 1 6485 0
- 1107 002e 2268 ldr r2, [r4]
- 1108 .LVL53:
- 1109 0030 1368 ldr r3, [r2]
- 1110 .LVL54:
- 1111 0032 43F48073 orr r3, r3, #256
- 1112 0036 1360 str r3, [r2]
- 1113 .L99:
-6498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1114 .loc 1 6498 0
- 1115 0038 0096 str r6, [sp]
- 1116 003a 2B46 mov r3, r5
- 1117 003c 0022 movs r2, #0
- 1118 003e 4FF00111 mov r1, #65537
- 1119 .LVL55:
- 1120 0042 2046 mov r0, r4
- 1121 .LVL56:
- 1122 0044 FFF7FEFF bl I2C_WaitOnFlagUntilTimeout
- 1123 .LVL57:
- 1124 0048 58B1 cbz r0, .L100
-6500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1125 .loc 1 6500 0
- 1126 004a 2368 ldr r3, [r4]
- 1127 004c 1B68 ldr r3, [r3]
- 1128 004e 13F4807F tst r3, #256
- 1129 0052 2BD0 beq .L104
-6502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1130 .loc 1 6502 0
- 1131 0054 4FF40073 mov r3, #512
-ARM GAS /tmp/cc8FAL5N.s page 153
-
-
- 1132 0058 2364 str r3, [r4, #64]
-6504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1133 .loc 1 6504 0
- 1134 005a 0323 movs r3, #3
- 1135 .L101:
-6534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1136 .loc 1 6534 0
- 1137 005c 1846 mov r0, r3
- 1138 005e 03B0 add sp, sp, #12
- 1139 .LCFI11:
- 1140 .cfi_remember_state
- 1141 .cfi_def_cfa_offset 20
- 1142 @ sp needed
- 1143 0060 F0BD pop {r4, r5, r6, r7, pc}
- 1144 .LVL58:
- 1145 .L100:
- 1146 .LCFI12:
- 1147 .cfi_restore_state
-6507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1148 .loc 1 6507 0
- 1149 0062 2369 ldr r3, [r4, #16]
- 1150 0064 B3F5804F cmp r3, #16384
- 1151 0068 11D0 beq .L107
-6515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1152 .loc 1 6515 0
- 1153 006a 2268 ldr r2, [r4]
- 1154 006c FB11 asrs r3, r7, #7
- 1155 006e 03F00603 and r3, r3, #6
- 1156 0072 43F0F003 orr r3, r3, #240
- 1157 0076 1361 str r3, [r2, #16]
-6518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1158 .loc 1 6518 0
- 1159 0078 3346 mov r3, r6
- 1160 007a 2A46 mov r2, r5
- 1161 007c 0D49 ldr r1, .L108
- 1162 007e 2046 mov r0, r4
- 1163 0080 FFF7FEFF bl I2C_WaitOnMasterAddressFlagUntilTimeout
- 1164 .LVL59:
- 1165 0084 A0B9 cbnz r0, .L105
-6524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1166 .loc 1 6524 0
- 1167 0086 2368 ldr r3, [r4]
- 1168 0088 FFB2 uxtb r7, r7
- 1169 008a 1F61 str r7, [r3, #16]
- 1170 008c 03E0 b .L103
- 1171 .L107:
-6510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1172 .loc 1 6510 0
- 1173 008e 2368 ldr r3, [r4]
- 1174 0090 07F0FE07 and r7, r7, #254
- 1175 0094 1F61 str r7, [r3, #16]
- 1176 .L103:
-6528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1177 .loc 1 6528 0
- 1178 0096 3346 mov r3, r6
- 1179 0098 2A46 mov r2, r5
- 1180 009a 0749 ldr r1, .L108+4
-ARM GAS /tmp/cc8FAL5N.s page 154
-
-
- 1181 009c 2046 mov r0, r4
- 1182 009e FFF7FEFF bl I2C_WaitOnMasterAddressFlagUntilTimeout
- 1183 .LVL60:
- 1184 00a2 0346 mov r3, r0
- 1185 00a4 0028 cmp r0, #0
- 1186 00a6 D9D0 beq .L101
-6530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1187 .loc 1 6530 0
- 1188 00a8 0123 movs r3, #1
- 1189 00aa D7E7 b .L101
- 1190 .L104:
-6504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1191 .loc 1 6504 0
- 1192 00ac 0323 movs r3, #3
- 1193 00ae D5E7 b .L101
- 1194 .L105:
-6520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1195 .loc 1 6520 0
- 1196 00b0 0123 movs r3, #1
- 1197 00b2 D3E7 b .L101
- 1198 .L109:
- 1199 .align 2
- 1200 .L108:
- 1201 00b4 08000100 .word 65544
- 1202 00b8 02000100 .word 65538
- 1203 .cfi_endproc
- 1204 .LFE130:
- 1206 .section .text.I2C_MasterRequestRead,"ax",%progbits
- 1207 .align 1
- 1208 .syntax unified
- 1209 .thumb
- 1210 .thumb_func
- 1211 .fpu softvfp
- 1213 I2C_MasterRequestRead:
- 1214 .LFB131:
-6547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variable to prevent undefined behavior of volatile usage */
- 1215 .loc 1 6547 0
- 1216 .cfi_startproc
- 1217 @ args = 0, pretend = 0, frame = 8
- 1218 @ frame_needed = 0, uses_anonymous_args = 0
- 1219 .LVL61:
- 1220 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr}
- 1221 .LCFI13:
- 1222 .cfi_def_cfa_offset 24
- 1223 .cfi_offset 4, -24
- 1224 .cfi_offset 5, -20
- 1225 .cfi_offset 6, -16
- 1226 .cfi_offset 7, -12
- 1227 .cfi_offset 8, -8
- 1228 .cfi_offset 14, -4
- 1229 0004 84B0 sub sp, sp, #16
- 1230 .LCFI14:
- 1231 .cfi_def_cfa_offset 40
- 1232 0006 0446 mov r4, r0
- 1233 0008 0D46 mov r5, r1
- 1234 000a 1646 mov r6, r2
- 1235 000c 1F46 mov r7, r3
-ARM GAS /tmp/cc8FAL5N.s page 155
-
-
-6549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1236 .loc 1 6549 0
- 1237 000e C26A ldr r2, [r0, #44]
- 1238 .LVL62:
-6552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1239 .loc 1 6552 0
- 1240 0010 0168 ldr r1, [r0]
- 1241 .LVL63:
- 1242 0012 0B68 ldr r3, [r1]
- 1243 .LVL64:
- 1244 0014 43F48063 orr r3, r3, #1024
- 1245 0018 0B60 str r3, [r1]
-6555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1246 .loc 1 6555 0
- 1247 001a 082A cmp r2, #8
- 1248 001c 0DD0 beq .L111
-6555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1249 .loc 1 6555 0 is_stmt 0 discriminator 1
- 1250 001e 012A cmp r2, #1
- 1251 0020 0BD0 beq .L111
-6555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1252 .loc 1 6555 0 discriminator 2
- 1253 0022 12F5803F cmn r2, #65536
- 1254 0026 08D0 beq .L111
-6560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1255 .loc 1 6560 0 is_stmt 1
- 1256 0028 036B ldr r3, [r0, #48]
- 1257 002a 112B cmp r3, #17
- 1258 002c 0AD1 bne .L113
-6563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1259 .loc 1 6563 0
- 1260 002e 0268 ldr r2, [r0]
- 1261 .LVL65:
- 1262 0030 1368 ldr r3, [r2]
- 1263 0032 43F48073 orr r3, r3, #256
- 1264 0036 1360 str r3, [r2]
- 1265 0038 04E0 b .L113
- 1266 .LVL66:
- 1267 .L111:
-6558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1268 .loc 1 6558 0
- 1269 003a 2268 ldr r2, [r4]
- 1270 .LVL67:
- 1271 003c 1368 ldr r3, [r2]
- 1272 003e 43F48073 orr r3, r3, #256
- 1273 0042 1360 str r3, [r2]
- 1274 .L113:
-6571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1275 .loc 1 6571 0
- 1276 0044 0097 str r7, [sp]
- 1277 0046 3346 mov r3, r6
- 1278 0048 0022 movs r2, #0
- 1279 004a 4FF00111 mov r1, #65537
- 1280 004e 2046 mov r0, r4
- 1281 .LVL68:
- 1282 0050 FFF7FEFF bl I2C_WaitOnFlagUntilTimeout
- 1283 .LVL69:
-ARM GAS /tmp/cc8FAL5N.s page 156
-
-
- 1284 0054 60B1 cbz r0, .L114
-6573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1285 .loc 1 6573 0
- 1286 0056 2368 ldr r3, [r4]
- 1287 0058 1B68 ldr r3, [r3]
- 1288 005a 13F4807F tst r3, #256
- 1289 005e 5BD0 beq .L119
-6575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1290 .loc 1 6575 0
- 1291 0060 4FF40073 mov r3, #512
- 1292 0064 2364 str r3, [r4, #64]
-6577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1293 .loc 1 6577 0
- 1294 0066 0323 movs r3, #3
- 1295 .L115:
-6632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1296 .loc 1 6632 0
- 1297 0068 1846 mov r0, r3
- 1298 006a 04B0 add sp, sp, #16
- 1299 .LCFI15:
- 1300 .cfi_remember_state
- 1301 .cfi_def_cfa_offset 24
- 1302 @ sp needed
- 1303 006c BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 1304 .LVL70:
- 1305 .L114:
- 1306 .LCFI16:
- 1307 .cfi_restore_state
-6580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1308 .loc 1 6580 0
- 1309 0070 2369 ldr r3, [r4, #16]
- 1310 0072 B3F5804F cmp r3, #16384
- 1311 0076 10D0 beq .L124
-6588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1312 .loc 1 6588 0
- 1313 0078 2368 ldr r3, [r4]
- 1314 007a 4FEAE518 asr r8, r5, #7
- 1315 007e 08F00608 and r8, r8, #6
- 1316 0082 48F0F002 orr r2, r8, #240
- 1317 0086 1A61 str r2, [r3, #16]
-6591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1318 .loc 1 6591 0
- 1319 0088 3B46 mov r3, r7
- 1320 008a 3246 mov r2, r6
- 1321 008c 2449 ldr r1, .L127
- 1322 008e 2046 mov r0, r4
- 1323 0090 FFF7FEFF bl I2C_WaitOnMasterAddressFlagUntilTimeout
- 1324 .LVL71:
- 1325 0094 88B1 cbz r0, .L125
-6593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1326 .loc 1 6593 0
- 1327 0096 0123 movs r3, #1
- 1328 0098 E6E7 b .L115
- 1329 .L124:
-6583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1330 .loc 1 6583 0
- 1331 009a 2368 ldr r3, [r4]
-ARM GAS /tmp/cc8FAL5N.s page 157
-
-
- 1332 009c 45F00105 orr r5, r5, #1
- 1333 00a0 EDB2 uxtb r5, r5
- 1334 00a2 1D61 str r5, [r3, #16]
- 1335 .L117:
-6626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1336 .loc 1 6626 0
- 1337 00a4 3B46 mov r3, r7
- 1338 00a6 3246 mov r2, r6
- 1339 00a8 1E49 ldr r1, .L127+4
- 1340 00aa 2046 mov r0, r4
- 1341 00ac FFF7FEFF bl I2C_WaitOnMasterAddressFlagUntilTimeout
- 1342 .LVL72:
- 1343 00b0 0346 mov r3, r0
- 1344 00b2 0028 cmp r0, #0
- 1345 00b4 D8D0 beq .L115
-6628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1346 .loc 1 6628 0
- 1347 00b6 0123 movs r3, #1
- 1348 00b8 D6E7 b .L115
- 1349 .L125:
-6597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1350 .loc 1 6597 0
- 1351 00ba 2368 ldr r3, [r4]
- 1352 00bc EDB2 uxtb r5, r5
- 1353 00be 1D61 str r5, [r3, #16]
-6600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1354 .loc 1 6600 0
- 1355 00c0 3B46 mov r3, r7
- 1356 00c2 3246 mov r2, r6
- 1357 00c4 1749 ldr r1, .L127+4
- 1358 00c6 2046 mov r0, r4
- 1359 00c8 FFF7FEFF bl I2C_WaitOnMasterAddressFlagUntilTimeout
- 1360 .LVL73:
- 1361 00cc 08B1 cbz r0, .L126
-6602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1362 .loc 1 6602 0
- 1363 00ce 0123 movs r3, #1
- 1364 00d0 CAE7 b .L115
- 1365 .L126:
- 1366 .LBB57:
-6606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1367 .loc 1 6606 0
- 1368 00d2 0022 movs r2, #0
- 1369 00d4 0392 str r2, [sp, #12]
- 1370 00d6 2368 ldr r3, [r4]
- 1371 00d8 5969 ldr r1, [r3, #20]
- 1372 00da 0391 str r1, [sp, #12]
- 1373 00dc 9969 ldr r1, [r3, #24]
- 1374 00de 0391 str r1, [sp, #12]
- 1375 00e0 0399 ldr r1, [sp, #12]
- 1376 .LBE57:
-6609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1377 .loc 1 6609 0
- 1378 00e2 1968 ldr r1, [r3]
- 1379 00e4 41F48071 orr r1, r1, #256
- 1380 00e8 1960 str r1, [r3]
-6612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-ARM GAS /tmp/cc8FAL5N.s page 158
-
-
- 1381 .loc 1 6612 0
- 1382 00ea 0097 str r7, [sp]
- 1383 00ec 3346 mov r3, r6
- 1384 00ee 4FF00111 mov r1, #65537
- 1385 00f2 2046 mov r0, r4
- 1386 00f4 FFF7FEFF bl I2C_WaitOnFlagUntilTimeout
- 1387 .LVL74:
- 1388 00f8 48B1 cbz r0, .L118
-6614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1389 .loc 1 6614 0
- 1390 00fa 2368 ldr r3, [r4]
- 1391 00fc 1B68 ldr r3, [r3]
- 1392 00fe 13F4807F tst r3, #256
- 1393 0102 0BD0 beq .L122
-6616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1394 .loc 1 6616 0
- 1395 0104 4FF40073 mov r3, #512
- 1396 0108 2364 str r3, [r4, #64]
-6618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1397 .loc 1 6618 0
- 1398 010a 0323 movs r3, #3
- 1399 010c ACE7 b .L115
- 1400 .L118:
-6622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1401 .loc 1 6622 0
- 1402 010e 2268 ldr r2, [r4]
- 1403 0110 48F0F103 orr r3, r8, #241
- 1404 0114 1361 str r3, [r2, #16]
- 1405 0116 C5E7 b .L117
- 1406 .L119:
-6577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1407 .loc 1 6577 0
- 1408 0118 0323 movs r3, #3
- 1409 011a A5E7 b .L115
- 1410 .L122:
-6618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1411 .loc 1 6618 0
- 1412 011c 0323 movs r3, #3
- 1413 011e A3E7 b .L115
- 1414 .L128:
- 1415 .align 2
- 1416 .L127:
- 1417 0120 08000100 .word 65544
- 1418 0124 02000100 .word 65538
- 1419 .cfi_endproc
- 1420 .LFE131:
- 1422 .section .text.I2C_WaitOnTXEFlagUntilTimeout,"ax",%progbits
- 1423 .align 1
- 1424 .syntax unified
- 1425 .thumb
- 1426 .thumb_func
- 1427 .fpu softvfp
- 1429 I2C_WaitOnTXEFlagUntilTimeout:
- 1430 .LFB139:
-7197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_TXE) == RESET)
- 1431 .loc 1 7197 0
- 1432 .cfi_startproc
-ARM GAS /tmp/cc8FAL5N.s page 159
-
-
- 1433 @ args = 0, pretend = 0, frame = 0
- 1434 @ frame_needed = 0, uses_anonymous_args = 0
- 1435 .LVL75:
- 1436 0000 70B5 push {r4, r5, r6, lr}
- 1437 .LCFI17:
- 1438 .cfi_def_cfa_offset 16
- 1439 .cfi_offset 4, -16
- 1440 .cfi_offset 5, -12
- 1441 .cfi_offset 6, -8
- 1442 .cfi_offset 14, -4
- 1443 0002 0446 mov r4, r0
- 1444 0004 0D46 mov r5, r1
- 1445 0006 1646 mov r6, r2
- 1446 .LVL76:
- 1447 .L132:
-7198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1448 .loc 1 7198 0
- 1449 0008 2368 ldr r3, [r4]
- 1450 000a 5B69 ldr r3, [r3, #20]
- 1451 000c 13F0800F tst r3, #128
- 1452 0010 1CD1 bne .L137
-7201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1453 .loc 1 7201 0
- 1454 0012 2046 mov r0, r4
- 1455 0014 FFF7FEFF bl I2C_IsAcknowledgeFailed
- 1456 .LVL77:
- 1457 0018 D0B9 cbnz r0, .L135
-7207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1458 .loc 1 7207 0
- 1459 001a B5F1FF3F cmp r5, #-1
- 1460 001e F3D0 beq .L132
-7209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1461 .loc 1 7209 0
- 1462 0020 FFF7FEFF bl HAL_GetTick
- 1463 .LVL78:
- 1464 0024 801B subs r0, r0, r6
- 1465 0026 8542 cmp r5, r0
- 1466 0028 01D3 bcc .L133
-7209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1467 .loc 1 7209 0 is_stmt 0 discriminator 1
- 1468 002a 002D cmp r5, #0
- 1469 002c ECD1 bne .L132
- 1470 .L133:
-7211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 1471 .loc 1 7211 0 is_stmt 1
- 1472 002e 0023 movs r3, #0
- 1473 0030 2363 str r3, [r4, #48]
-7212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 1474 .loc 1 7212 0
- 1475 0032 2022 movs r2, #32
- 1476 0034 84F83D20 strb r2, [r4, #61]
-7213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
- 1477 .loc 1 7213 0
- 1478 0038 84F83E30 strb r3, [r4, #62]
-7214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1479 .loc 1 7214 0
- 1480 003c 226C ldr r2, [r4, #64]
-ARM GAS /tmp/cc8FAL5N.s page 160
-
-
- 1481 003e 42F02002 orr r2, r2, #32
- 1482 0042 2264 str r2, [r4, #64]
-7217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1483 .loc 1 7217 0
- 1484 0044 84F83C30 strb r3, [r4, #60]
-7219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1485 .loc 1 7219 0
- 1486 0048 0120 movs r0, #1
- 1487 004a 70BD pop {r4, r5, r6, pc}
- 1488 .LVL79:
- 1489 .L137:
-7223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1490 .loc 1 7223 0
- 1491 004c 0020 movs r0, #0
- 1492 004e 70BD pop {r4, r5, r6, pc}
- 1493 .LVL80:
- 1494 .L135:
-7203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1495 .loc 1 7203 0
- 1496 0050 0120 movs r0, #1
-7224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1497 .loc 1 7224 0
- 1498 0052 70BD pop {r4, r5, r6, pc}
- 1499 .cfi_endproc
- 1500 .LFE139:
- 1502 .section .text.I2C_RequestMemoryWrite,"ax",%progbits
- 1503 .align 1
- 1504 .syntax unified
- 1505 .thumb
- 1506 .thumb_func
- 1507 .fpu softvfp
- 1509 I2C_RequestMemoryWrite:
- 1510 .LFB132:
-6647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Generate Start */
- 1511 .loc 1 6647 0
- 1512 .cfi_startproc
- 1513 @ args = 8, pretend = 0, frame = 8
- 1514 @ frame_needed = 0, uses_anonymous_args = 0
- 1515 .LVL81:
- 1516 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr}
- 1517 .LCFI18:
- 1518 .cfi_def_cfa_offset 24
- 1519 .cfi_offset 4, -24
- 1520 .cfi_offset 5, -20
- 1521 .cfi_offset 6, -16
- 1522 .cfi_offset 7, -12
- 1523 .cfi_offset 8, -8
- 1524 .cfi_offset 14, -4
- 1525 0004 84B0 sub sp, sp, #16
- 1526 .LCFI19:
- 1527 .cfi_def_cfa_offset 40
- 1528 0006 0446 mov r4, r0
- 1529 0008 8846 mov r8, r1
- 1530 000a 1646 mov r6, r2
- 1531 000c 1F46 mov r7, r3
- 1532 000e 0B9D ldr r5, [sp, #44]
-6649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 161
-
-
- 1533 .loc 1 6649 0
- 1534 0010 0268 ldr r2, [r0]
- 1535 .LVL82:
- 1536 0012 1368 ldr r3, [r2]
- 1537 .LVL83:
- 1538 0014 43F48073 orr r3, r3, #256
- 1539 0018 1360 str r3, [r2]
-6652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1540 .loc 1 6652 0
- 1541 001a 0095 str r5, [sp]
- 1542 001c 0A9B ldr r3, [sp, #40]
- 1543 001e 0022 movs r2, #0
- 1544 0020 4FF00111 mov r1, #65537
- 1545 .LVL84:
- 1546 0024 FFF7FEFF bl I2C_WaitOnFlagUntilTimeout
- 1547 .LVL85:
- 1548 0028 60B1 cbz r0, .L139
-6654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1549 .loc 1 6654 0
- 1550 002a 2368 ldr r3, [r4]
- 1551 002c 1B68 ldr r3, [r3]
- 1552 002e 13F4807F tst r3, #256
- 1553 0032 4FD0 beq .L144
-6656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1554 .loc 1 6656 0
- 1555 0034 4FF40073 mov r3, #512
- 1556 0038 2364 str r3, [r4, #64]
-6658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1557 .loc 1 6658 0
- 1558 003a 0323 movs r3, #3
- 1559 .L140:
-6712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1560 .loc 1 6712 0
- 1561 003c 1846 mov r0, r3
- 1562 003e 04B0 add sp, sp, #16
- 1563 .LCFI20:
- 1564 .cfi_remember_state
- 1565 .cfi_def_cfa_offset 24
- 1566 @ sp needed
- 1567 0040 BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 1568 .LVL86:
- 1569 .L139:
- 1570 .LCFI21:
- 1571 .cfi_restore_state
-6662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1572 .loc 1 6662 0
- 1573 0044 2268 ldr r2, [r4]
- 1574 0046 08F0FE03 and r3, r8, #254
- 1575 004a 1361 str r3, [r2, #16]
-6665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1576 .loc 1 6665 0
- 1577 004c 2B46 mov r3, r5
- 1578 004e 0A9A ldr r2, [sp, #40]
- 1579 0050 2149 ldr r1, .L153
- 1580 0052 2046 mov r0, r4
- 1581 0054 FFF7FEFF bl I2C_WaitOnMasterAddressFlagUntilTimeout
- 1582 .LVL87:
-ARM GAS /tmp/cc8FAL5N.s page 162
-
-
- 1583 0058 08B1 cbz r0, .L149
-6667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1584 .loc 1 6667 0
- 1585 005a 0123 movs r3, #1
- 1586 005c EEE7 b .L140
- 1587 .L149:
- 1588 .LBB58:
-6671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1589 .loc 1 6671 0
- 1590 005e 0023 movs r3, #0
- 1591 0060 0393 str r3, [sp, #12]
- 1592 0062 2368 ldr r3, [r4]
- 1593 0064 5A69 ldr r2, [r3, #20]
- 1594 0066 0392 str r2, [sp, #12]
- 1595 0068 9B69 ldr r3, [r3, #24]
- 1596 006a 0393 str r3, [sp, #12]
- 1597 006c 039B ldr r3, [sp, #12]
- 1598 .LBE58:
-6674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1599 .loc 1 6674 0
- 1600 006e 2A46 mov r2, r5
- 1601 0070 0A99 ldr r1, [sp, #40]
- 1602 0072 2046 mov r0, r4
- 1603 0074 FFF7FEFF bl I2C_WaitOnTXEFlagUntilTimeout
- 1604 .LVL88:
- 1605 0078 0346 mov r3, r0
- 1606 007a 58B1 cbz r0, .L141
-6676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1607 .loc 1 6676 0
- 1608 007c 236C ldr r3, [r4, #64]
- 1609 007e 042B cmp r3, #4
- 1610 0080 01D0 beq .L150
-6681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1611 .loc 1 6681 0
- 1612 0082 0123 movs r3, #1
- 1613 0084 DAE7 b .L140
- 1614 .L150:
-6679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1615 .loc 1 6679 0
- 1616 0086 2268 ldr r2, [r4]
- 1617 0088 1368 ldr r3, [r2]
- 1618 008a 43F40073 orr r3, r3, #512
- 1619 008e 1360 str r3, [r2]
-6681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1620 .loc 1 6681 0
- 1621 0090 0123 movs r3, #1
- 1622 0092 D3E7 b .L140
- 1623 .L141:
-6685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1624 .loc 1 6685 0
- 1625 0094 012F cmp r7, #1
- 1626 0096 0ED0 beq .L151
-6694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1627 .loc 1 6694 0
- 1628 0098 2368 ldr r3, [r4]
- 1629 009a 320A lsrs r2, r6, #8
- 1630 009c 1A61 str r2, [r3, #16]
-ARM GAS /tmp/cc8FAL5N.s page 163
-
-
-6697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1631 .loc 1 6697 0
- 1632 009e 2A46 mov r2, r5
- 1633 00a0 0A99 ldr r1, [sp, #40]
- 1634 00a2 2046 mov r0, r4
- 1635 00a4 FFF7FEFF bl I2C_WaitOnTXEFlagUntilTimeout
- 1636 .LVL89:
- 1637 00a8 0346 mov r3, r0
- 1638 00aa 78B1 cbz r0, .L143
-6699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1639 .loc 1 6699 0
- 1640 00ac 236C ldr r3, [r4, #64]
- 1641 00ae 042B cmp r3, #4
- 1642 00b0 05D0 beq .L152
-6704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1643 .loc 1 6704 0
- 1644 00b2 0123 movs r3, #1
- 1645 00b4 C2E7 b .L140
- 1646 .L151:
-6688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1647 .loc 1 6688 0
- 1648 00b6 2268 ldr r2, [r4]
- 1649 00b8 F6B2 uxtb r6, r6
- 1650 00ba 1661 str r6, [r2, #16]
- 1651 00bc BEE7 b .L140
- 1652 .L152:
-6702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1653 .loc 1 6702 0
- 1654 00be 2268 ldr r2, [r4]
- 1655 00c0 1368 ldr r3, [r2]
- 1656 00c2 43F40073 orr r3, r3, #512
- 1657 00c6 1360 str r3, [r2]
-6704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1658 .loc 1 6704 0
- 1659 00c8 0123 movs r3, #1
- 1660 00ca B7E7 b .L140
- 1661 .L143:
-6708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1662 .loc 1 6708 0
- 1663 00cc 2268 ldr r2, [r4]
- 1664 00ce F6B2 uxtb r6, r6
- 1665 00d0 1661 str r6, [r2, #16]
- 1666 00d2 B3E7 b .L140
- 1667 .L144:
-6658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1668 .loc 1 6658 0
- 1669 00d4 0323 movs r3, #3
- 1670 00d6 B1E7 b .L140
- 1671 .L154:
- 1672 .align 2
- 1673 .L153:
- 1674 00d8 02000100 .word 65538
- 1675 .cfi_endproc
- 1676 .LFE132:
- 1678 .section .text.I2C_RequestMemoryRead,"ax",%progbits
- 1679 .align 1
- 1680 .syntax unified
-ARM GAS /tmp/cc8FAL5N.s page 164
-
-
- 1681 .thumb
- 1682 .thumb_func
- 1683 .fpu softvfp
- 1685 I2C_RequestMemoryRead:
- 1686 .LFB133:
-6727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Enable Acknowledge */
- 1687 .loc 1 6727 0
- 1688 .cfi_startproc
- 1689 @ args = 8, pretend = 0, frame = 8
- 1690 @ frame_needed = 0, uses_anonymous_args = 0
- 1691 .LVL90:
- 1692 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr}
- 1693 .LCFI22:
- 1694 .cfi_def_cfa_offset 24
- 1695 .cfi_offset 4, -24
- 1696 .cfi_offset 5, -20
- 1697 .cfi_offset 6, -16
- 1698 .cfi_offset 7, -12
- 1699 .cfi_offset 8, -8
- 1700 .cfi_offset 14, -4
- 1701 0004 84B0 sub sp, sp, #16
- 1702 .LCFI23:
- 1703 .cfi_def_cfa_offset 40
- 1704 0006 0446 mov r4, r0
- 1705 0008 0E46 mov r6, r1
- 1706 000a 1746 mov r7, r2
- 1707 000c 9846 mov r8, r3
- 1708 000e 0B9D ldr r5, [sp, #44]
-6729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1709 .loc 1 6729 0
- 1710 0010 0268 ldr r2, [r0]
- 1711 .LVL91:
- 1712 0012 1368 ldr r3, [r2]
- 1713 .LVL92:
- 1714 0014 43F48063 orr r3, r3, #1024
- 1715 0018 1360 str r3, [r2]
-6732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1716 .loc 1 6732 0
- 1717 001a 0268 ldr r2, [r0]
- 1718 001c 1368 ldr r3, [r2]
- 1719 001e 43F48073 orr r3, r3, #256
- 1720 0022 1360 str r3, [r2]
-6735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1721 .loc 1 6735 0
- 1722 0024 0095 str r5, [sp]
- 1723 0026 0A9B ldr r3, [sp, #40]
- 1724 0028 0022 movs r2, #0
- 1725 002a 4FF00111 mov r1, #65537
- 1726 .LVL93:
- 1727 002e FFF7FEFF bl I2C_WaitOnFlagUntilTimeout
- 1728 .LVL94:
- 1729 0032 68B1 cbz r0, .L156
-6737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1730 .loc 1 6737 0
- 1731 0034 2368 ldr r3, [r4]
- 1732 0036 1B68 ldr r3, [r3]
- 1733 0038 13F4807F tst r3, #256
-ARM GAS /tmp/cc8FAL5N.s page 165
-
-
- 1734 003c 00F08980 beq .L164
-6739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1735 .loc 1 6739 0
- 1736 0040 4FF40073 mov r3, #512
- 1737 0044 2364 str r3, [r4, #64]
-6741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1738 .loc 1 6741 0
- 1739 0046 0323 movs r3, #3
- 1740 .L157:
-6828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1741 .loc 1 6828 0
- 1742 0048 1846 mov r0, r3
- 1743 004a 04B0 add sp, sp, #16
- 1744 .LCFI24:
- 1745 .cfi_remember_state
- 1746 .cfi_def_cfa_offset 24
- 1747 @ sp needed
- 1748 004c BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 1749 .LVL95:
- 1750 .L156:
- 1751 .LCFI25:
- 1752 .cfi_restore_state
-6745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1753 .loc 1 6745 0
- 1754 0050 2368 ldr r3, [r4]
- 1755 0052 F6B2 uxtb r6, r6
- 1756 0054 06F0FE02 and r2, r6, #254
- 1757 0058 1A61 str r2, [r3, #16]
-6748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1758 .loc 1 6748 0
- 1759 005a 2B46 mov r3, r5
- 1760 005c 0A9A ldr r2, [sp, #40]
- 1761 005e 3F49 ldr r1, .L176
- 1762 0060 2046 mov r0, r4
- 1763 0062 FFF7FEFF bl I2C_WaitOnMasterAddressFlagUntilTimeout
- 1764 .LVL96:
- 1765 0066 08B1 cbz r0, .L171
-6750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1766 .loc 1 6750 0
- 1767 0068 0123 movs r3, #1
- 1768 006a EDE7 b .L157
- 1769 .L171:
- 1770 .LBB59:
-6754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1771 .loc 1 6754 0
- 1772 006c 0023 movs r3, #0
- 1773 006e 0393 str r3, [sp, #12]
- 1774 0070 2368 ldr r3, [r4]
- 1775 0072 5A69 ldr r2, [r3, #20]
- 1776 0074 0392 str r2, [sp, #12]
- 1777 0076 9B69 ldr r3, [r3, #24]
- 1778 0078 0393 str r3, [sp, #12]
- 1779 007a 039B ldr r3, [sp, #12]
- 1780 .LBE59:
-6757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1781 .loc 1 6757 0
- 1782 007c 2A46 mov r2, r5
-ARM GAS /tmp/cc8FAL5N.s page 166
-
-
- 1783 007e 0A99 ldr r1, [sp, #40]
- 1784 0080 2046 mov r0, r4
- 1785 0082 FFF7FEFF bl I2C_WaitOnTXEFlagUntilTimeout
- 1786 .LVL97:
- 1787 0086 58B1 cbz r0, .L158
-6759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1788 .loc 1 6759 0
- 1789 0088 236C ldr r3, [r4, #64]
- 1790 008a 042B cmp r3, #4
- 1791 008c 01D0 beq .L172
-6764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1792 .loc 1 6764 0
- 1793 008e 0123 movs r3, #1
- 1794 0090 DAE7 b .L157
- 1795 .L172:
-6762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1796 .loc 1 6762 0
- 1797 0092 2268 ldr r2, [r4]
- 1798 0094 1368 ldr r3, [r2]
- 1799 0096 43F40073 orr r3, r3, #512
- 1800 009a 1360 str r3, [r2]
-6764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1801 .loc 1 6764 0
- 1802 009c 0123 movs r3, #1
- 1803 009e D3E7 b .L157
- 1804 .L158:
-6768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1805 .loc 1 6768 0
- 1806 00a0 B8F1010F cmp r8, #1
- 1807 00a4 0DD0 beq .L173
-6777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1808 .loc 1 6777 0
- 1809 00a6 2368 ldr r3, [r4]
- 1810 00a8 3A0A lsrs r2, r7, #8
- 1811 00aa 1A61 str r2, [r3, #16]
-6780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1812 .loc 1 6780 0
- 1813 00ac 2A46 mov r2, r5
- 1814 00ae 0A99 ldr r1, [sp, #40]
- 1815 00b0 2046 mov r0, r4
- 1816 00b2 FFF7FEFF bl I2C_WaitOnTXEFlagUntilTimeout
- 1817 .LVL98:
- 1818 00b6 C8B1 cbz r0, .L161
-6782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1819 .loc 1 6782 0
- 1820 00b8 236C ldr r3, [r4, #64]
- 1821 00ba 042B cmp r3, #4
- 1822 00bc 0FD0 beq .L174
-6787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1823 .loc 1 6787 0
- 1824 00be 0123 movs r3, #1
- 1825 00c0 C2E7 b .L157
- 1826 .L173:
-6771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1827 .loc 1 6771 0
- 1828 00c2 2368 ldr r3, [r4]
- 1829 00c4 FFB2 uxtb r7, r7
-ARM GAS /tmp/cc8FAL5N.s page 167
-
-
- 1830 00c6 1F61 str r7, [r3, #16]
- 1831 .L160:
-6795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1832 .loc 1 6795 0
- 1833 00c8 2A46 mov r2, r5
- 1834 00ca 0A99 ldr r1, [sp, #40]
- 1835 00cc 2046 mov r0, r4
- 1836 00ce FFF7FEFF bl I2C_WaitOnTXEFlagUntilTimeout
- 1837 .LVL99:
- 1838 00d2 B0B1 cbz r0, .L162
-6797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1839 .loc 1 6797 0
- 1840 00d4 236C ldr r3, [r4, #64]
- 1841 00d6 042B cmp r3, #4
- 1842 00d8 0CD0 beq .L175
-6802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1843 .loc 1 6802 0
- 1844 00da 0123 movs r3, #1
- 1845 00dc B4E7 b .L157
- 1846 .L174:
-6785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1847 .loc 1 6785 0
- 1848 00de 2268 ldr r2, [r4]
- 1849 00e0 1368 ldr r3, [r2]
- 1850 00e2 43F40073 orr r3, r3, #512
- 1851 00e6 1360 str r3, [r2]
-6787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1852 .loc 1 6787 0
- 1853 00e8 0123 movs r3, #1
- 1854 00ea ADE7 b .L157
- 1855 .L161:
-6791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1856 .loc 1 6791 0
- 1857 00ec 2368 ldr r3, [r4]
- 1858 00ee FFB2 uxtb r7, r7
- 1859 00f0 1F61 str r7, [r3, #16]
- 1860 00f2 E9E7 b .L160
- 1861 .L175:
-6800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1862 .loc 1 6800 0
- 1863 00f4 2268 ldr r2, [r4]
- 1864 00f6 1368 ldr r3, [r2]
- 1865 00f8 43F40073 orr r3, r3, #512
- 1866 00fc 1360 str r3, [r2]
-6802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1867 .loc 1 6802 0
- 1868 00fe 0123 movs r3, #1
- 1869 0100 A2E7 b .L157
- 1870 .L162:
-6806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1871 .loc 1 6806 0
- 1872 0102 2268 ldr r2, [r4]
- 1873 0104 1368 ldr r3, [r2]
- 1874 0106 43F48073 orr r3, r3, #256
- 1875 010a 1360 str r3, [r2]
-6809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1876 .loc 1 6809 0
-ARM GAS /tmp/cc8FAL5N.s page 168
-
-
- 1877 010c 0095 str r5, [sp]
- 1878 010e 0A9B ldr r3, [sp, #40]
- 1879 0110 0022 movs r2, #0
- 1880 0112 4FF00111 mov r1, #65537
- 1881 0116 2046 mov r0, r4
- 1882 0118 FFF7FEFF bl I2C_WaitOnFlagUntilTimeout
- 1883 .LVL100:
- 1884 011c 48B1 cbz r0, .L163
-6811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1885 .loc 1 6811 0
- 1886 011e 2368 ldr r3, [r4]
- 1887 0120 1B68 ldr r3, [r3]
- 1888 0122 13F4807F tst r3, #256
- 1889 0126 16D0 beq .L169
-6813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1890 .loc 1 6813 0
- 1891 0128 4FF40073 mov r3, #512
- 1892 012c 2364 str r3, [r4, #64]
-6815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1893 .loc 1 6815 0
- 1894 012e 0323 movs r3, #3
- 1895 0130 8AE7 b .L157
- 1896 .L163:
-6819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1897 .loc 1 6819 0
- 1898 0132 2368 ldr r3, [r4]
- 1899 0134 46F00106 orr r6, r6, #1
- 1900 0138 1E61 str r6, [r3, #16]
-6822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1901 .loc 1 6822 0
- 1902 013a 2B46 mov r3, r5
- 1903 013c 0A9A ldr r2, [sp, #40]
- 1904 013e 0749 ldr r1, .L176
- 1905 0140 2046 mov r0, r4
- 1906 0142 FFF7FEFF bl I2C_WaitOnMasterAddressFlagUntilTimeout
- 1907 .LVL101:
- 1908 0146 0346 mov r3, r0
- 1909 0148 0028 cmp r0, #0
- 1910 014a 3FF47DAF beq .L157
-6824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1911 .loc 1 6824 0
- 1912 014e 0123 movs r3, #1
- 1913 0150 7AE7 b .L157
- 1914 .L164:
-6741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1915 .loc 1 6741 0
- 1916 0152 0323 movs r3, #3
- 1917 0154 78E7 b .L157
- 1918 .L169:
-6815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1919 .loc 1 6815 0
- 1920 0156 0323 movs r3, #3
- 1921 0158 76E7 b .L157
- 1922 .L177:
- 1923 015a 00BF .align 2
- 1924 .L176:
- 1925 015c 02000100 .word 65538
-ARM GAS /tmp/cc8FAL5N.s page 169
-
-
- 1926 .cfi_endproc
- 1927 .LFE133:
- 1929 .section .text.I2C_WaitOnBTFFlagUntilTimeout,"ax",%progbits
- 1930 .align 1
- 1931 .syntax unified
- 1932 .thumb
- 1933 .thumb_func
- 1934 .fpu softvfp
- 1936 I2C_WaitOnBTFFlagUntilTimeout:
- 1937 .LFB140:
-7235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_BTF) == RESET)
- 1938 .loc 1 7235 0
- 1939 .cfi_startproc
- 1940 @ args = 0, pretend = 0, frame = 0
- 1941 @ frame_needed = 0, uses_anonymous_args = 0
- 1942 .LVL102:
- 1943 0000 70B5 push {r4, r5, r6, lr}
- 1944 .LCFI26:
- 1945 .cfi_def_cfa_offset 16
- 1946 .cfi_offset 4, -16
- 1947 .cfi_offset 5, -12
- 1948 .cfi_offset 6, -8
- 1949 .cfi_offset 14, -4
- 1950 0002 0446 mov r4, r0
- 1951 0004 0D46 mov r5, r1
- 1952 0006 1646 mov r6, r2
- 1953 .LVL103:
- 1954 .L181:
-7236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1955 .loc 1 7236 0
- 1956 0008 2368 ldr r3, [r4]
- 1957 000a 5B69 ldr r3, [r3, #20]
- 1958 000c 13F0040F tst r3, #4
- 1959 0010 1CD1 bne .L186
-7239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1960 .loc 1 7239 0
- 1961 0012 2046 mov r0, r4
- 1962 0014 FFF7FEFF bl I2C_IsAcknowledgeFailed
- 1963 .LVL104:
- 1964 0018 D0B9 cbnz r0, .L184
-7245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1965 .loc 1 7245 0
- 1966 001a B5F1FF3F cmp r5, #-1
- 1967 001e F3D0 beq .L181
-7247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1968 .loc 1 7247 0
- 1969 0020 FFF7FEFF bl HAL_GetTick
- 1970 .LVL105:
- 1971 0024 801B subs r0, r0, r6
- 1972 0026 8542 cmp r5, r0
- 1973 0028 01D3 bcc .L182
-7247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 1974 .loc 1 7247 0 is_stmt 0 discriminator 1
- 1975 002a 002D cmp r5, #0
- 1976 002c ECD1 bne .L181
- 1977 .L182:
-7249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
-ARM GAS /tmp/cc8FAL5N.s page 170
-
-
- 1978 .loc 1 7249 0 is_stmt 1
- 1979 002e 0023 movs r3, #0
- 1980 0030 2363 str r3, [r4, #48]
-7250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 1981 .loc 1 7250 0
- 1982 0032 2022 movs r2, #32
- 1983 0034 84F83D20 strb r2, [r4, #61]
-7251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
- 1984 .loc 1 7251 0
- 1985 0038 84F83E30 strb r3, [r4, #62]
-7252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1986 .loc 1 7252 0
- 1987 003c 226C ldr r2, [r4, #64]
- 1988 003e 42F02002 orr r2, r2, #32
- 1989 0042 2264 str r2, [r4, #64]
-7255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 1990 .loc 1 7255 0
- 1991 0044 84F83C30 strb r3, [r4, #60]
-7257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1992 .loc 1 7257 0
- 1993 0048 0120 movs r0, #1
- 1994 004a 70BD pop {r4, r5, r6, pc}
- 1995 .LVL106:
- 1996 .L186:
-7261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 1997 .loc 1 7261 0
- 1998 004c 0020 movs r0, #0
- 1999 004e 70BD pop {r4, r5, r6, pc}
- 2000 .LVL107:
- 2001 .L184:
-7241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2002 .loc 1 7241 0
- 2003 0050 0120 movs r0, #1
-7262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2004 .loc 1 7262 0
- 2005 0052 70BD pop {r4, r5, r6, pc}
- 2006 .cfi_endproc
- 2007 .LFE140:
- 2009 .section .text.I2C_WaitOnRXNEFlagUntilTimeout,"ax",%progbits
- 2010 .align 1
- 2011 .syntax unified
- 2012 .thumb
- 2013 .thumb_func
- 2014 .fpu softvfp
- 2016 I2C_WaitOnRXNEFlagUntilTimeout:
- 2017 .LFB143:
-7335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2018 .loc 1 7335 0
- 2019 .cfi_startproc
- 2020 @ args = 0, pretend = 0, frame = 0
- 2021 @ frame_needed = 0, uses_anonymous_args = 0
- 2022 .LVL108:
- 2023 0000 70B5 push {r4, r5, r6, lr}
- 2024 .LCFI27:
- 2025 .cfi_def_cfa_offset 16
- 2026 .cfi_offset 4, -16
- 2027 .cfi_offset 5, -12
-ARM GAS /tmp/cc8FAL5N.s page 171
-
-
- 2028 .cfi_offset 6, -8
- 2029 .cfi_offset 14, -4
- 2030 0002 0546 mov r5, r0
- 2031 0004 0C46 mov r4, r1
- 2032 0006 1646 mov r6, r2
- 2033 .LVL109:
- 2034 .L188:
-7337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2035 .loc 1 7337 0
- 2036 0008 2B68 ldr r3, [r5]
- 2037 000a 5A69 ldr r2, [r3, #20]
- 2038 000c 12F0400F tst r2, #64
- 2039 0010 29D1 bne .L194
-7340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2040 .loc 1 7340 0
- 2041 0012 5A69 ldr r2, [r3, #20]
- 2042 0014 12F0100F tst r2, #16
- 2043 0018 15D1 bne .L195
-7357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2044 .loc 1 7357 0
- 2045 001a FFF7FEFF bl HAL_GetTick
- 2046 .LVL110:
- 2047 001e 801B subs r0, r0, r6
- 2048 0020 A042 cmp r0, r4
- 2049 0022 01D8 bhi .L191
-7357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2050 .loc 1 7357 0 is_stmt 0 discriminator 1
- 2051 0024 002C cmp r4, #0
- 2052 0026 EFD1 bne .L188
- 2053 .L191:
-7359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 2054 .loc 1 7359 0 is_stmt 1
- 2055 0028 0023 movs r3, #0
- 2056 002a 2B63 str r3, [r5, #48]
-7360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 2057 .loc 1 7360 0
- 2058 002c 2022 movs r2, #32
- 2059 002e 85F83D20 strb r2, [r5, #61]
-7361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
- 2060 .loc 1 7361 0
- 2061 0032 85F83E30 strb r3, [r5, #62]
-7362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2062 .loc 1 7362 0
- 2063 0036 2A6C ldr r2, [r5, #64]
- 2064 0038 42F02002 orr r2, r2, #32
- 2065 003c 2A64 str r2, [r5, #64]
-7365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2066 .loc 1 7365 0
- 2067 003e 85F83C30 strb r3, [r5, #60]
-7367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2068 .loc 1 7367 0
- 2069 0042 0120 movs r0, #1
- 2070 0044 70BD pop {r4, r5, r6, pc}
- 2071 .LVL111:
- 2072 .L195:
-7343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2073 .loc 1 7343 0
-ARM GAS /tmp/cc8FAL5N.s page 172
-
-
- 2074 0046 6FF01002 mvn r2, #16
- 2075 004a 5A61 str r2, [r3, #20]
-7345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 2076 .loc 1 7345 0
- 2077 004c 0023 movs r3, #0
- 2078 004e 2B63 str r3, [r5, #48]
-7346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 2079 .loc 1 7346 0
- 2080 0050 2022 movs r2, #32
- 2081 0052 85F83D20 strb r2, [r5, #61]
-7347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_NONE;
- 2082 .loc 1 7347 0
- 2083 0056 85F83E30 strb r3, [r5, #62]
-7348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2084 .loc 1 7348 0
- 2085 005a 2A6C ldr r2, [r5, #64]
- 2086 005c 2A64 str r2, [r5, #64]
-7351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2087 .loc 1 7351 0
- 2088 005e 85F83C30 strb r3, [r5, #60]
-7353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2089 .loc 1 7353 0
- 2090 0062 0120 movs r0, #1
- 2091 0064 70BD pop {r4, r5, r6, pc}
- 2092 .LVL112:
- 2093 .L194:
-7370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2094 .loc 1 7370 0
- 2095 0066 0020 movs r0, #0
-7371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2096 .loc 1 7371 0
- 2097 0068 70BD pop {r4, r5, r6, pc}
- 2098 .cfi_endproc
- 2099 .LFE143:
- 2101 .section .text.I2C_WaitOnSTOPFlagUntilTimeout,"ax",%progbits
- 2102 .align 1
- 2103 .syntax unified
- 2104 .thumb
- 2105 .thumb_func
- 2106 .fpu softvfp
- 2108 I2C_WaitOnSTOPFlagUntilTimeout:
- 2109 .LFB141:
-7273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while (__HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_STOPF) == RESET)
- 2110 .loc 1 7273 0
- 2111 .cfi_startproc
- 2112 @ args = 0, pretend = 0, frame = 0
- 2113 @ frame_needed = 0, uses_anonymous_args = 0
- 2114 .LVL113:
- 2115 0000 70B5 push {r4, r5, r6, lr}
- 2116 .LCFI28:
- 2117 .cfi_def_cfa_offset 16
- 2118 .cfi_offset 4, -16
- 2119 .cfi_offset 5, -12
- 2120 .cfi_offset 6, -8
- 2121 .cfi_offset 14, -4
- 2122 0002 0446 mov r4, r0
- 2123 0004 0D46 mov r5, r1
-ARM GAS /tmp/cc8FAL5N.s page 173
-
-
- 2124 0006 1646 mov r6, r2
- 2125 .LVL114:
- 2126 .L197:
-7274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2127 .loc 1 7274 0
- 2128 0008 2368 ldr r3, [r4]
- 2129 000a 5B69 ldr r3, [r3, #20]
- 2130 000c 13F0100F tst r3, #16
- 2131 0010 19D1 bne .L203
-7277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2132 .loc 1 7277 0
- 2133 0012 2046 mov r0, r4
- 2134 0014 FFF7FEFF bl I2C_IsAcknowledgeFailed
- 2135 .LVL115:
- 2136 0018 B8B9 cbnz r0, .L201
-7283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2137 .loc 1 7283 0
- 2138 001a FFF7FEFF bl HAL_GetTick
- 2139 .LVL116:
- 2140 001e 801B subs r0, r0, r6
- 2141 0020 A842 cmp r0, r5
- 2142 0022 01D8 bhi .L199
-7283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2143 .loc 1 7283 0 is_stmt 0 discriminator 1
- 2144 0024 002D cmp r5, #0
- 2145 0026 EFD1 bne .L197
- 2146 .L199:
-7285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 2147 .loc 1 7285 0 is_stmt 1
- 2148 0028 0023 movs r3, #0
- 2149 002a 2363 str r3, [r4, #48]
-7286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 2150 .loc 1 7286 0
- 2151 002c 2022 movs r2, #32
- 2152 002e 84F83D20 strb r2, [r4, #61]
-7287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
- 2153 .loc 1 7287 0
- 2154 0032 84F83E30 strb r3, [r4, #62]
-7288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2155 .loc 1 7288 0
- 2156 0036 226C ldr r2, [r4, #64]
- 2157 0038 42F02002 orr r2, r2, #32
- 2158 003c 2264 str r2, [r4, #64]
-7291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2159 .loc 1 7291 0
- 2160 003e 84F83C30 strb r3, [r4, #60]
-7293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2161 .loc 1 7293 0
- 2162 0042 0120 movs r0, #1
- 2163 0044 70BD pop {r4, r5, r6, pc}
- 2164 .LVL117:
- 2165 .L203:
-7296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2166 .loc 1 7296 0
- 2167 0046 0020 movs r0, #0
- 2168 0048 70BD pop {r4, r5, r6, pc}
- 2169 .LVL118:
-ARM GAS /tmp/cc8FAL5N.s page 174
-
-
- 2170 .L201:
-7279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2171 .loc 1 7279 0
- 2172 004a 0120 movs r0, #1
-7297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2173 .loc 1 7297 0
- 2174 004c 70BD pop {r4, r5, r6, pc}
- 2175 .cfi_endproc
- 2176 .LFE141:
- 2178 .section .text.HAL_I2C_MspInit,"ax",%progbits
- 2179 .align 1
- 2180 .weak HAL_I2C_MspInit
- 2181 .syntax unified
- 2182 .thumb
- 2183 .thumb_func
- 2184 .fpu softvfp
- 2186 HAL_I2C_MspInit:
- 2187 .LFB67:
- 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
- 2188 .loc 1 615 0
- 2189 .cfi_startproc
- 2190 @ args = 0, pretend = 0, frame = 0
- 2191 @ frame_needed = 0, uses_anonymous_args = 0
- 2192 @ link register save eliminated.
- 2193 .LVL119:
- 2194 0000 7047 bx lr
- 2195 .cfi_endproc
- 2196 .LFE67:
- 2198 .section .text.HAL_I2C_Init,"ax",%progbits
- 2199 .align 1
- 2200 .global HAL_I2C_Init
- 2201 .syntax unified
- 2202 .thumb
- 2203 .thumb_func
- 2204 .fpu softvfp
- 2206 HAL_I2C_Init:
- 2207 .LFB65:
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t freqrange;
- 2208 .loc 1 454 0
- 2209 .cfi_startproc
- 2210 @ args = 0, pretend = 0, frame = 0
- 2211 @ frame_needed = 0, uses_anonymous_args = 0
- 2212 .LVL120:
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2213 .loc 1 459 0
- 2214 0000 0028 cmp r0, #0
- 2215 0002 00F0C880 beq .L217
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t freqrange;
- 2216 .loc 1 454 0
- 2217 0006 F8B5 push {r3, r4, r5, r6, r7, lr}
- 2218 .LCFI29:
- 2219 .cfi_def_cfa_offset 24
- 2220 .cfi_offset 3, -24
- 2221 .cfi_offset 4, -20
- 2222 .cfi_offset 5, -16
- 2223 .cfi_offset 6, -12
- 2224 .cfi_offset 7, -8
-ARM GAS /tmp/cc8FAL5N.s page 175
-
-
- 2225 .cfi_offset 14, -4
- 2226 0008 0446 mov r4, r0
- 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2227 .loc 1 475 0
- 2228 000a 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 2229 000e 002B cmp r3, #0
- 2230 0010 75D0 beq .L224
- 2231 .LVL121:
- 2232 .L207:
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2233 .loc 1 506 0
- 2234 0012 2423 movs r3, #36
- 2235 0014 84F83D30 strb r3, [r4, #61]
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2236 .loc 1 509 0
- 2237 0018 2268 ldr r2, [r4]
- 2238 001a 1368 ldr r3, [r2]
- 2239 001c 23F00103 bic r3, r3, #1
- 2240 0020 1360 str r3, [r2]
- 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Instance->CR1 &= ~I2C_CR1_SWRST;
- 2241 .loc 1 512 0
- 2242 0022 2268 ldr r2, [r4]
- 2243 0024 1368 ldr r3, [r2]
- 2244 0026 43F40043 orr r3, r3, #32768
- 2245 002a 1360 str r3, [r2]
- 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2246 .loc 1 513 0
- 2247 002c 2268 ldr r2, [r4]
- 2248 002e 1368 ldr r3, [r2]
- 2249 0030 23F40043 bic r3, r3, #32768
- 2250 0034 1360 str r3, [r2]
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2251 .loc 1 516 0
- 2252 0036 FFF7FEFF bl HAL_RCC_GetPCLK1Freq
- 2253 .LVL122:
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2254 .loc 1 519 0
- 2255 003a 6268 ldr r2, [r4, #4]
- 2256 003c 584B ldr r3, .L225
- 2257 003e 9A42 cmp r2, r3
- 2258 0040 62D8 bhi .L208
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2259 .loc 1 519 0 is_stmt 0 discriminator 1
- 2260 0042 584B ldr r3, .L225+4
- 2261 0044 9842 cmp r0, r3
- 2262 0046 8CBF ite hi
- 2263 0048 0023 movhi r3, #0
- 2264 004a 0123 movls r3, #1
- 2265 .L209:
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2266 .loc 1 519 0 discriminator 4
- 2267 004c 002B cmp r3, #0
- 2268 004e 40F0A480 bne .L218
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2269 .loc 1 525 0 is_stmt 1
- 2270 0052 554B ldr r3, .L225+8
- 2271 0054 A3FB0023 umull r2, r3, r3, r0
-ARM GAS /tmp/cc8FAL5N.s page 176
-
-
- 2272 0058 9A0C lsrs r2, r3, #18
- 2273 .LVL123:
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2274 .loc 1 529 0
- 2275 005a 2168 ldr r1, [r4]
- 2276 005c 4B68 ldr r3, [r1, #4]
- 2277 005e 23F03F03 bic r3, r3, #63
- 2278 0062 1343 orrs r3, r3, r2
- 2279 0064 4B60 str r3, [r1, #4]
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2280 .loc 1 533 0
- 2281 0066 2568 ldr r5, [r4]
- 2282 0068 296A ldr r1, [r5, #32]
- 2283 006a 21F03F01 bic r1, r1, #63
- 2284 006e 6668 ldr r6, [r4, #4]
- 2285 0070 4B4B ldr r3, .L225
- 2286 0072 9E42 cmp r6, r3
- 2287 0074 4ED8 bhi .L210
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2288 .loc 1 533 0 is_stmt 0 discriminator 1
- 2289 0076 531C adds r3, r2, #1
- 2290 .LVL124:
- 2291 .L211:
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2292 .loc 1 533 0 discriminator 4
- 2293 0078 0B43 orrs r3, r3, r1
- 2294 007a 2B62 str r3, [r5, #32]
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2295 .loc 1 537 0 is_stmt 1 discriminator 4
- 2296 007c 2268 ldr r2, [r4]
- 2297 007e D169 ldr r1, [r2, #28]
- 2298 0080 21F44F41 bic r1, r1, #52992
- 2299 0084 21F0FF01 bic r1, r1, #255
- 2300 0088 6368 ldr r3, [r4, #4]
- 2301 008a 454D ldr r5, .L225
- 2302 008c AB42 cmp r3, r5
- 2303 008e 4BD8 bhi .L212
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2304 .loc 1 537 0 is_stmt 0 discriminator 1
- 2305 0090 0138 subs r0, r0, #1
- 2306 .LVL125:
- 2307 0092 5B00 lsls r3, r3, #1
- 2308 0094 B0FBF3F3 udiv r3, r0, r3
- 2309 0098 0133 adds r3, r3, #1
- 2310 009a C3F30B03 ubfx r3, r3, #0, #12
- 2311 009e 042B cmp r3, #4
- 2312 00a0 38BF it cc
- 2313 00a2 0423 movcc r3, #4
- 2314 .LVL126:
- 2315 .L213:
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2316 .loc 1 537 0 discriminator 16
- 2317 00a4 0B43 orrs r3, r3, r1
- 2318 00a6 D361 str r3, [r2, #28]
- 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2319 .loc 1 541 0 is_stmt 1 discriminator 16
- 2320 00a8 2168 ldr r1, [r4]
-ARM GAS /tmp/cc8FAL5N.s page 177
-
-
- 2321 00aa 0B68 ldr r3, [r1]
- 2322 00ac 23F0C003 bic r3, r3, #192
- 2323 00b0 E269 ldr r2, [r4, #28]
- 2324 00b2 206A ldr r0, [r4, #32]
- 2325 00b4 0243 orrs r2, r2, r0
- 2326 00b6 1343 orrs r3, r3, r2
- 2327 00b8 0B60 str r3, [r1]
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2328 .loc 1 545 0 discriminator 16
- 2329 00ba 2168 ldr r1, [r4]
- 2330 00bc 8B68 ldr r3, [r1, #8]
- 2331 00be 23F40343 bic r3, r3, #33536
- 2332 00c2 23F0FF03 bic r3, r3, #255
- 2333 00c6 2269 ldr r2, [r4, #16]
- 2334 00c8 E068 ldr r0, [r4, #12]
- 2335 00ca 0243 orrs r2, r2, r0
- 2336 00cc 1343 orrs r3, r3, r2
- 2337 00ce 8B60 str r3, [r1, #8]
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2338 .loc 1 549 0 discriminator 16
- 2339 00d0 2168 ldr r1, [r4]
- 2340 00d2 CB68 ldr r3, [r1, #12]
- 2341 00d4 23F0FF03 bic r3, r3, #255
- 2342 00d8 6269 ldr r2, [r4, #20]
- 2343 00da A069 ldr r0, [r4, #24]
- 2344 00dc 0243 orrs r2, r2, r0
- 2345 00de 1343 orrs r3, r3, r2
- 2346 00e0 CB60 str r3, [r1, #12]
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2347 .loc 1 552 0 discriminator 16
- 2348 00e2 2268 ldr r2, [r4]
- 2349 00e4 1368 ldr r3, [r2]
- 2350 00e6 43F00103 orr r3, r3, #1
- 2351 00ea 1360 str r3, [r2]
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 2352 .loc 1 554 0 discriminator 16
- 2353 00ec 0020 movs r0, #0
- 2354 00ee 2064 str r0, [r4, #64]
- 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
- 2355 .loc 1 555 0 discriminator 16
- 2356 00f0 2023 movs r3, #32
- 2357 00f2 84F83D30 strb r3, [r4, #61]
- 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 2358 .loc 1 556 0 discriminator 16
- 2359 00f6 2063 str r0, [r4, #48]
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2360 .loc 1 557 0 discriminator 16
- 2361 00f8 84F83E00 strb r0, [r4, #62]
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2362 .loc 1 559 0 discriminator 16
- 2363 00fc F8BD pop {r3, r4, r5, r6, r7, pc}
- 2364 .LVL127:
- 2365 .L224:
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2366 .loc 1 478 0
- 2367 00fe 80F83C30 strb r3, [r0, #60]
- 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
-ARM GAS /tmp/cc8FAL5N.s page 178
-
-
- 2368 .loc 1 502 0
- 2369 0102 FFF7FEFF bl HAL_I2C_MspInit
- 2370 .LVL128:
- 2371 0106 84E7 b .L207
- 2372 .LVL129:
- 2373 .L208:
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2374 .loc 1 519 0 discriminator 2
- 2375 0108 284B ldr r3, .L225+12
- 2376 010a 9842 cmp r0, r3
- 2377 010c 8CBF ite hi
- 2378 010e 0023 movhi r3, #0
- 2379 0110 0123 movls r3, #1
- 2380 0112 9BE7 b .L209
- 2381 .LVL130:
- 2382 .L210:
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2383 .loc 1 533 0 discriminator 2
- 2384 0114 4FF49673 mov r3, #300
- 2385 0118 03FB02F3 mul r3, r3, r2
- 2386 011c 244A ldr r2, .L225+16
- 2387 .LVL131:
- 2388 011e A2FB0323 umull r2, r3, r2, r3
- 2389 0122 9B09 lsrs r3, r3, #6
- 2390 0124 0133 adds r3, r3, #1
- 2391 0126 A7E7 b .L211
- 2392 .L212:
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2393 .loc 1 537 0 discriminator 2
- 2394 0128 A668 ldr r6, [r4, #8]
- 2395 012a BEB9 cbnz r6, .L214
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2396 .loc 1 537 0 is_stmt 0 discriminator 4
- 2397 012c 451E subs r5, r0, #1
- 2398 012e 03EB4307 add r7, r3, r3, lsl #1
- 2399 0132 B5FBF7F5 udiv r5, r5, r7
- 2400 0136 0135 adds r5, r5, #1
- 2401 0138 C5F30B05 ubfx r5, r5, #0, #12
- 2402 013c B5FA85F5 clz r5, r5
- 2403 0140 6D09 lsrs r5, r5, #5
- 2404 .L215:
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2405 .loc 1 537 0 discriminator 7
- 2406 0142 35BB cbnz r5, .L219
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2407 .loc 1 537 0 discriminator 9
- 2408 0144 C6B9 cbnz r6, .L216
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2409 .loc 1 537 0 discriminator 11
- 2410 0146 0138 subs r0, r0, #1
- 2411 .LVL132:
- 2412 0148 03EB4303 add r3, r3, r3, lsl #1
- 2413 014c B0FBF3F3 udiv r3, r0, r3
- 2414 0150 0133 adds r3, r3, #1
- 2415 0152 C3F30B03 ubfx r3, r3, #0, #12
- 2416 0156 43F40043 orr r3, r3, #32768
- 2417 015a A3E7 b .L213
-ARM GAS /tmp/cc8FAL5N.s page 179
-
-
- 2418 .LVL133:
- 2419 .L214:
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2420 .loc 1 537 0 discriminator 5
- 2421 015c 451E subs r5, r0, #1
- 2422 015e 03EB8307 add r7, r3, r3, lsl #2
- 2423 0162 07EB8707 add r7, r7, r7, lsl #2
- 2424 0166 B5FBF7F5 udiv r5, r5, r7
- 2425 016a 0135 adds r5, r5, #1
- 2426 016c C5F30B05 ubfx r5, r5, #0, #12
- 2427 0170 B5FA85F5 clz r5, r5
- 2428 0174 6D09 lsrs r5, r5, #5
- 2429 0176 E4E7 b .L215
- 2430 .L216:
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2431 .loc 1 537 0 discriminator 12
- 2432 0178 0138 subs r0, r0, #1
- 2433 .LVL134:
- 2434 017a 03EB8303 add r3, r3, r3, lsl #2
- 2435 017e 03EB8303 add r3, r3, r3, lsl #2
- 2436 0182 B0FBF3F3 udiv r3, r0, r3
- 2437 0186 0133 adds r3, r3, #1
- 2438 0188 C3F30B03 ubfx r3, r3, #0, #12
- 2439 018c 43F44043 orr r3, r3, #49152
- 2440 0190 88E7 b .L213
- 2441 .LVL135:
- 2442 .L219:
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2443 .loc 1 537 0
- 2444 0192 0123 movs r3, #1
- 2445 0194 86E7 b .L213
- 2446 .LVL136:
- 2447 .L217:
- 2448 .LCFI30:
- 2449 .cfi_def_cfa_offset 0
- 2450 .cfi_restore 3
- 2451 .cfi_restore 4
- 2452 .cfi_restore 5
- 2453 .cfi_restore 6
- 2454 .cfi_restore 7
- 2455 .cfi_restore 14
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2456 .loc 1 461 0 is_stmt 1
- 2457 0196 0120 movs r0, #1
- 2458 .LVL137:
- 2459 0198 7047 bx lr
- 2460 .LVL138:
- 2461 .L218:
- 2462 .LCFI31:
- 2463 .cfi_def_cfa_offset 24
- 2464 .cfi_offset 3, -24
- 2465 .cfi_offset 4, -20
- 2466 .cfi_offset 5, -16
- 2467 .cfi_offset 6, -12
- 2468 .cfi_offset 7, -8
- 2469 .cfi_offset 14, -4
- 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-ARM GAS /tmp/cc8FAL5N.s page 180
-
-
- 2470 .loc 1 521 0
- 2471 019a 0120 movs r0, #1
- 2472 .LVL139:
- 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2473 .loc 1 560 0
- 2474 019c F8BD pop {r3, r4, r5, r6, r7, pc}
- 2475 .LVL140:
- 2476 .L226:
- 2477 019e 00BF .align 2
- 2478 .L225:
- 2479 01a0 A0860100 .word 100000
- 2480 01a4 7F841E00 .word 1999999
- 2481 01a8 83DE1B43 .word 1125899907
- 2482 01ac FF083D00 .word 3999999
- 2483 01b0 D34D6210 .word 274877907
- 2484 .cfi_endproc
- 2485 .LFE65:
- 2487 .section .text.HAL_I2C_MspDeInit,"ax",%progbits
- 2488 .align 1
- 2489 .weak HAL_I2C_MspDeInit
- 2490 .syntax unified
- 2491 .thumb
- 2492 .thumb_func
- 2493 .fpu softvfp
- 2495 HAL_I2C_MspDeInit:
- 2496 .LFB68:
- 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
- 2497 .loc 1 631 0
- 2498 .cfi_startproc
- 2499 @ args = 0, pretend = 0, frame = 0
- 2500 @ frame_needed = 0, uses_anonymous_args = 0
- 2501 @ link register save eliminated.
- 2502 .LVL141:
- 2503 0000 7047 bx lr
- 2504 .cfi_endproc
- 2505 .LFE68:
- 2507 .section .text.HAL_I2C_DeInit,"ax",%progbits
- 2508 .align 1
- 2509 .global HAL_I2C_DeInit
- 2510 .syntax unified
- 2511 .thumb
- 2512 .thumb_func
- 2513 .fpu softvfp
- 2515 HAL_I2C_DeInit:
- 2516 .LFB66:
- 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check the I2C handle allocation */
- 2517 .loc 1 569 0
- 2518 .cfi_startproc
- 2519 @ args = 0, pretend = 0, frame = 0
- 2520 @ frame_needed = 0, uses_anonymous_args = 0
- 2521 .LVL142:
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2522 .loc 1 571 0
- 2523 0000 A8B1 cbz r0, .L230
- 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check the I2C handle allocation */
- 2524 .loc 1 569 0
- 2525 0002 10B5 push {r4, lr}
-ARM GAS /tmp/cc8FAL5N.s page 181
-
-
- 2526 .LCFI32:
- 2527 .cfi_def_cfa_offset 8
- 2528 .cfi_offset 4, -8
- 2529 .cfi_offset 14, -4
- 2530 0004 0446 mov r4, r0
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2531 .loc 1 579 0
- 2532 0006 2423 movs r3, #36
- 2533 0008 80F83D30 strb r3, [r0, #61]
- 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2534 .loc 1 582 0
- 2535 000c 0268 ldr r2, [r0]
- 2536 000e 1368 ldr r3, [r2]
- 2537 0010 23F00103 bic r3, r3, #1
- 2538 0014 1360 str r3, [r2]
- 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 2539 .loc 1 594 0
- 2540 0016 FFF7FEFF bl HAL_I2C_MspDeInit
- 2541 .LVL143:
- 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_RESET;
- 2542 .loc 1 597 0
- 2543 001a 0020 movs r0, #0
- 2544 001c 2064 str r0, [r4, #64]
- 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
- 2545 .loc 1 598 0
- 2546 001e 84F83D00 strb r0, [r4, #61]
- 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 2547 .loc 1 599 0
- 2548 0022 2063 str r0, [r4, #48]
- 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2549 .loc 1 600 0
- 2550 0024 84F83E00 strb r0, [r4, #62]
- 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2551 .loc 1 603 0
- 2552 0028 84F83C00 strb r0, [r4, #60]
- 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2553 .loc 1 605 0
- 2554 002c 10BD pop {r4, pc}
- 2555 .LVL144:
- 2556 .L230:
- 2557 .LCFI33:
- 2558 .cfi_def_cfa_offset 0
- 2559 .cfi_restore 4
- 2560 .cfi_restore 14
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2561 .loc 1 573 0
- 2562 002e 0120 movs r0, #1
- 2563 .LVL145:
- 2564 0030 7047 bx lr
- 2565 .cfi_endproc
- 2566 .LFE66:
- 2568 .section .text.HAL_I2C_Master_Transmit,"ax",%progbits
- 2569 .align 1
- 2570 .global HAL_I2C_Master_Transmit
- 2571 .syntax unified
- 2572 .thumb
- 2573 .thumb_func
-ARM GAS /tmp/cc8FAL5N.s page 182
-
-
- 2574 .fpu softvfp
- 2576 HAL_I2C_Master_Transmit:
- 2577 .LFB69:
-1051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Init tickstart for timeout management*/
- 2578 .loc 1 1051 0
- 2579 .cfi_startproc
- 2580 @ args = 4, pretend = 0, frame = 8
- 2581 @ frame_needed = 0, uses_anonymous_args = 0
- 2582 .LVL146:
- 2583 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr}
- 2584 .LCFI34:
- 2585 .cfi_def_cfa_offset 24
- 2586 .cfi_offset 4, -24
- 2587 .cfi_offset 5, -20
- 2588 .cfi_offset 6, -16
- 2589 .cfi_offset 7, -12
- 2590 .cfi_offset 8, -8
- 2591 .cfi_offset 14, -4
- 2592 0004 84B0 sub sp, sp, #16
- 2593 .LCFI35:
- 2594 .cfi_def_cfa_offset 40
- 2595 0006 0446 mov r4, r0
- 2596 0008 0D46 mov r5, r1
- 2597 000a 9046 mov r8, r2
- 2598 000c 1F46 mov r7, r3
-1053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2599 .loc 1 1053 0
- 2600 000e FFF7FEFF bl HAL_GetTick
- 2601 .LVL147:
-1055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2602 .loc 1 1055 0
- 2603 0012 94F83D30 ldrb r3, [r4, #61] @ zero_extendqisi2
- 2604 0016 DBB2 uxtb r3, r3
- 2605 0018 202B cmp r3, #32
- 2606 001a 04D0 beq .L249
-1156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2607 .loc 1 1156 0
- 2608 001c 0225 movs r5, #2
- 2609 .LVL148:
- 2610 .L236:
-1158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2611 .loc 1 1158 0
- 2612 001e 2846 mov r0, r5
- 2613 0020 04B0 add sp, sp, #16
- 2614 .LCFI36:
- 2615 .cfi_remember_state
- 2616 .cfi_def_cfa_offset 24
- 2617 @ sp needed
- 2618 0022 BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 2619 .LVL149:
- 2620 .L249:
- 2621 .LCFI37:
- 2622 .cfi_restore_state
- 2623 0026 0646 mov r6, r0
-1058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2624 .loc 1 1058 0
- 2625 0028 0090 str r0, [sp]
-ARM GAS /tmp/cc8FAL5N.s page 183
-
-
- 2626 002a 1923 movs r3, #25
- 2627 002c 0122 movs r2, #1
- 2628 002e 4F49 ldr r1, .L256
- 2629 0030 2046 mov r0, r4
- 2630 .LVL150:
- 2631 0032 FFF7FEFF bl I2C_WaitOnFlagUntilTimeout
- 2632 .LVL151:
- 2633 0036 08B1 cbz r0, .L250
-1060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2634 .loc 1 1060 0
- 2635 0038 0225 movs r5, #2
- 2636 003a F0E7 b .L236
- 2637 .L250:
-1064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2638 .loc 1 1064 0
- 2639 003c 94F83C30 ldrb r3, [r4, #60] @ zero_extendqisi2
- 2640 0040 012B cmp r3, #1
- 2641 0042 00F08E80 beq .L244
-1064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2642 .loc 1 1064 0 is_stmt 0 discriminator 2
- 2643 0046 0123 movs r3, #1
- 2644 0048 84F83C30 strb r3, [r4, #60]
-1067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2645 .loc 1 1067 0 is_stmt 1 discriminator 2
- 2646 004c 2368 ldr r3, [r4]
- 2647 004e 1A68 ldr r2, [r3]
- 2648 0050 12F0010F tst r2, #1
- 2649 0054 03D1 bne .L237
-1070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2650 .loc 1 1070 0
- 2651 0056 1A68 ldr r2, [r3]
- 2652 0058 42F00102 orr r2, r2, #1
- 2653 005c 1A60 str r2, [r3]
- 2654 .L237:
-1074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2655 .loc 1 1074 0
- 2656 005e 2268 ldr r2, [r4]
- 2657 0060 1368 ldr r3, [r2]
- 2658 0062 23F40063 bic r3, r3, #2048
- 2659 0066 1360 str r3, [r2]
-1076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MASTER;
- 2660 .loc 1 1076 0
- 2661 0068 2123 movs r3, #33
- 2662 006a 84F83D30 strb r3, [r4, #61]
-1077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 2663 .loc 1 1077 0
- 2664 006e 1023 movs r3, #16
- 2665 0070 84F83E30 strb r3, [r4, #62]
-1078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2666 .loc 1 1078 0
- 2667 0074 0023 movs r3, #0
- 2668 0076 2364 str r3, [r4, #64]
-1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 2669 .loc 1 1081 0
- 2670 0078 C4F82480 str r8, [r4, #36]
-1082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
- 2671 .loc 1 1082 0
-ARM GAS /tmp/cc8FAL5N.s page 184
-
-
- 2672 007c 6785 strh r7, [r4, #42] @ movhi
-1083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
- 2673 .loc 1 1083 0
- 2674 007e 638D ldrh r3, [r4, #42]
- 2675 0080 2385 strh r3, [r4, #40] @ movhi
-1084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2676 .loc 1 1084 0
- 2677 0082 3B4B ldr r3, .L256+4
- 2678 0084 E362 str r3, [r4, #44]
-1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2679 .loc 1 1087 0
- 2680 0086 3346 mov r3, r6
- 2681 0088 0A9A ldr r2, [sp, #40]
- 2682 008a 2946 mov r1, r5
- 2683 008c 2046 mov r0, r4
- 2684 008e FFF7FEFF bl I2C_MasterRequestWrite
- 2685 .LVL152:
- 2686 0092 0546 mov r5, r0
- 2687 0094 0028 cmp r0, #0
- 2688 0096 66D1 bne .L245
- 2689 .LBB60:
-1093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2690 .loc 1 1093 0
- 2691 0098 0023 movs r3, #0
- 2692 009a 0393 str r3, [sp, #12]
- 2693 009c 2368 ldr r3, [r4]
- 2694 009e 5A69 ldr r2, [r3, #20]
- 2695 00a0 0392 str r2, [sp, #12]
- 2696 00a2 9B69 ldr r3, [r3, #24]
- 2697 00a4 0393 str r3, [sp, #12]
- 2698 00a6 039B ldr r3, [sp, #12]
- 2699 .LBE60:
-1095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2700 .loc 1 1095 0
- 2701 00a8 12E0 b .L238
- 2702 .L254:
-1100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2703 .loc 1 1100 0
- 2704 00aa 236C ldr r3, [r4, #64]
- 2705 00ac 042B cmp r3, #4
- 2706 00ae 01D0 beq .L251
-1105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2707 .loc 1 1105 0
- 2708 00b0 0125 movs r5, #1
- 2709 00b2 B4E7 b .L236
- 2710 .L251:
-1103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2711 .loc 1 1103 0
- 2712 00b4 2268 ldr r2, [r4]
- 2713 00b6 1368 ldr r3, [r2]
- 2714 00b8 43F40073 orr r3, r3, #512
- 2715 00bc 1360 str r3, [r2]
-1105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2716 .loc 1 1105 0
- 2717 00be 0125 movs r5, #1
- 2718 00c0 ADE7 b .L236
- 2719 .L240:
-ARM GAS /tmp/cc8FAL5N.s page 185
-
-
-1132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2720 .loc 1 1132 0
- 2721 00c2 3246 mov r2, r6
- 2722 00c4 0A99 ldr r1, [sp, #40]
- 2723 00c6 2046 mov r0, r4
- 2724 00c8 FFF7FEFF bl I2C_WaitOnBTFFlagUntilTimeout
- 2725 .LVL153:
- 2726 00cc 0028 cmp r0, #0
- 2727 00ce 2ED1 bne .L252
- 2728 .L238:
-1095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2729 .loc 1 1095 0
- 2730 00d0 238D ldrh r3, [r4, #40]
- 2731 00d2 002B cmp r3, #0
- 2732 00d4 37D0 beq .L253
-1098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2733 .loc 1 1098 0
- 2734 00d6 3246 mov r2, r6
- 2735 00d8 0A99 ldr r1, [sp, #40]
- 2736 00da 2046 mov r0, r4
- 2737 00dc FFF7FEFF bl I2C_WaitOnTXEFlagUntilTimeout
- 2738 .LVL154:
- 2739 00e0 0028 cmp r0, #0
- 2740 00e2 E2D1 bne .L254
-1109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2741 .loc 1 1109 0
- 2742 00e4 2368 ldr r3, [r4]
- 2743 00e6 626A ldr r2, [r4, #36]
- 2744 00e8 1278 ldrb r2, [r2] @ zero_extendqisi2
- 2745 00ea 1A61 str r2, [r3, #16]
-1112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2746 .loc 1 1112 0
- 2747 00ec 616A ldr r1, [r4, #36]
- 2748 00ee 4B1C adds r3, r1, #1
- 2749 00f0 6362 str r3, [r4, #36]
-1115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
- 2750 .loc 1 1115 0
- 2751 00f2 638D ldrh r3, [r4, #42]
- 2752 00f4 9BB2 uxth r3, r3
- 2753 00f6 013B subs r3, r3, #1
- 2754 00f8 9BB2 uxth r3, r3
- 2755 00fa 6385 strh r3, [r4, #42] @ movhi
-1116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2756 .loc 1 1116 0
- 2757 00fc 238D ldrh r3, [r4, #40]
- 2758 00fe 013B subs r3, r3, #1
- 2759 0100 9BB2 uxth r3, r3
- 2760 0102 2385 strh r3, [r4, #40] @ movhi
-1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2761 .loc 1 1118 0
- 2762 0104 2268 ldr r2, [r4]
- 2763 0106 5069 ldr r0, [r2, #20]
- 2764 0108 10F0040F tst r0, #4
- 2765 010c D9D0 beq .L240
-1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2766 .loc 1 1118 0 is_stmt 0 discriminator 1
- 2767 010e 002B cmp r3, #0
-ARM GAS /tmp/cc8FAL5N.s page 186
-
-
- 2768 0110 D7D0 beq .L240
-1121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2769 .loc 1 1121 0 is_stmt 1
- 2770 0112 4B78 ldrb r3, [r1, #1] @ zero_extendqisi2
- 2771 0114 1361 str r3, [r2, #16]
-1124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2772 .loc 1 1124 0
- 2773 0116 636A ldr r3, [r4, #36]
- 2774 0118 0133 adds r3, r3, #1
- 2775 011a 6362 str r3, [r4, #36]
-1127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
- 2776 .loc 1 1127 0
- 2777 011c 638D ldrh r3, [r4, #42]
- 2778 011e 9BB2 uxth r3, r3
- 2779 0120 013B subs r3, r3, #1
- 2780 0122 9BB2 uxth r3, r3
- 2781 0124 6385 strh r3, [r4, #42] @ movhi
-1128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2782 .loc 1 1128 0
- 2783 0126 238D ldrh r3, [r4, #40]
- 2784 0128 013B subs r3, r3, #1
- 2785 012a 2385 strh r3, [r4, #40] @ movhi
- 2786 012c C9E7 b .L240
- 2787 .L252:
-1134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2788 .loc 1 1134 0
- 2789 012e 236C ldr r3, [r4, #64]
- 2790 0130 042B cmp r3, #4
- 2791 0132 01D0 beq .L255
-1139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2792 .loc 1 1139 0
- 2793 0134 0125 movs r5, #1
- 2794 0136 72E7 b .L236
- 2795 .L255:
-1137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2796 .loc 1 1137 0
- 2797 0138 2268 ldr r2, [r4]
- 2798 013a 1368 ldr r3, [r2]
- 2799 013c 43F40073 orr r3, r3, #512
- 2800 0140 1360 str r3, [r2]
-1139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2801 .loc 1 1139 0
- 2802 0142 0125 movs r5, #1
- 2803 0144 6BE7 b .L236
- 2804 .L253:
-1144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2805 .loc 1 1144 0
- 2806 0146 2268 ldr r2, [r4]
- 2807 0148 1368 ldr r3, [r2]
- 2808 014a 43F40073 orr r3, r3, #512
- 2809 014e 1360 str r3, [r2]
-1146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 2810 .loc 1 1146 0
- 2811 0150 2023 movs r3, #32
- 2812 0152 84F83D30 strb r3, [r4, #61]
-1147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2813 .loc 1 1147 0
-ARM GAS /tmp/cc8FAL5N.s page 187
-
-
- 2814 0156 0023 movs r3, #0
- 2815 0158 84F83E30 strb r3, [r4, #62]
-1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2816 .loc 1 1150 0
- 2817 015c 84F83C30 strb r3, [r4, #60]
-1152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2818 .loc 1 1152 0
- 2819 0160 5DE7 b .L236
- 2820 .L244:
-1064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2821 .loc 1 1064 0
- 2822 0162 0225 movs r5, #2
- 2823 0164 5BE7 b .L236
- 2824 .L245:
-1089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2825 .loc 1 1089 0
- 2826 0166 0125 movs r5, #1
- 2827 0168 59E7 b .L236
- 2828 .L257:
- 2829 016a 00BF .align 2
- 2830 .L256:
- 2831 016c 02001000 .word 1048578
- 2832 0170 0000FFFF .word -65536
- 2833 .cfi_endproc
- 2834 .LFE69:
- 2836 .section .text.HAL_I2C_Master_Receive,"ax",%progbits
- 2837 .align 1
- 2838 .global HAL_I2C_Master_Receive
- 2839 .syntax unified
- 2840 .thumb
- 2841 .thumb_func
- 2842 .fpu softvfp
- 2844 HAL_I2C_Master_Receive:
- 2845 .LFB70:
-1172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
- 2846 .loc 1 1172 0
- 2847 .cfi_startproc
- 2848 @ args = 4, pretend = 0, frame = 24
- 2849 @ frame_needed = 0, uses_anonymous_args = 0
- 2850 .LVL155:
- 2851 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr}
- 2852 .LCFI38:
- 2853 .cfi_def_cfa_offset 24
- 2854 .cfi_offset 4, -24
- 2855 .cfi_offset 5, -20
- 2856 .cfi_offset 6, -16
- 2857 .cfi_offset 7, -12
- 2858 .cfi_offset 8, -8
- 2859 .cfi_offset 14, -4
- 2860 0004 88B0 sub sp, sp, #32
- 2861 .LCFI39:
- 2862 .cfi_def_cfa_offset 56
- 2863 0006 0446 mov r4, r0
- 2864 0008 0D46 mov r5, r1
- 2865 000a 9046 mov r8, r2
- 2866 000c 1F46 mov r7, r3
-1173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 188
-
-
- 2867 .loc 1 1173 0
- 2868 000e 0023 movs r3, #0
- 2869 .LVL156:
- 2870 0010 0793 str r3, [sp, #28]
-1176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2871 .loc 1 1176 0
- 2872 0012 FFF7FEFF bl HAL_GetTick
- 2873 .LVL157:
-1178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2874 .loc 1 1178 0
- 2875 0016 94F83D30 ldrb r3, [r4, #61] @ zero_extendqisi2
- 2876 001a DBB2 uxtb r3, r3
- 2877 001c 202B cmp r3, #32
- 2878 001e 04D0 beq .L282
-1449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2879 .loc 1 1449 0
- 2880 0020 0225 movs r5, #2
- 2881 .LVL158:
- 2882 .L259:
-1451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2883 .loc 1 1451 0
- 2884 0022 2846 mov r0, r5
- 2885 0024 08B0 add sp, sp, #32
- 2886 .LCFI40:
- 2887 .cfi_remember_state
- 2888 .cfi_def_cfa_offset 24
- 2889 @ sp needed
- 2890 0026 BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 2891 .LVL159:
- 2892 .L282:
- 2893 .LCFI41:
- 2894 .cfi_restore_state
- 2895 002a 0646 mov r6, r0
-1181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2896 .loc 1 1181 0
- 2897 002c 0090 str r0, [sp]
- 2898 002e 1923 movs r3, #25
- 2899 0030 0122 movs r2, #1
- 2900 0032 9C49 ldr r1, .L290
- 2901 0034 2046 mov r0, r4
- 2902 .LVL160:
- 2903 0036 FFF7FEFF bl I2C_WaitOnFlagUntilTimeout
- 2904 .LVL161:
- 2905 003a 08B1 cbz r0, .L283
-1183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2906 .loc 1 1183 0
- 2907 003c 0225 movs r5, #2
- 2908 003e F0E7 b .L259
- 2909 .L283:
-1187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2910 .loc 1 1187 0
- 2911 0040 94F83C30 ldrb r3, [r4, #60] @ zero_extendqisi2
- 2912 0044 012B cmp r3, #1
- 2913 0046 00F06A81 beq .L275
-1187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2914 .loc 1 1187 0 is_stmt 0 discriminator 2
- 2915 004a 0123 movs r3, #1
-ARM GAS /tmp/cc8FAL5N.s page 189
-
-
- 2916 004c 84F83C30 strb r3, [r4, #60]
-1190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2917 .loc 1 1190 0 is_stmt 1 discriminator 2
- 2918 0050 2368 ldr r3, [r4]
- 2919 0052 1A68 ldr r2, [r3]
- 2920 0054 12F0010F tst r2, #1
- 2921 0058 03D1 bne .L260
-1193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2922 .loc 1 1193 0
- 2923 005a 1A68 ldr r2, [r3]
- 2924 005c 42F00102 orr r2, r2, #1
- 2925 0060 1A60 str r2, [r3]
- 2926 .L260:
-1197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2927 .loc 1 1197 0
- 2928 0062 2268 ldr r2, [r4]
- 2929 0064 1368 ldr r3, [r2]
- 2930 0066 23F40063 bic r3, r3, #2048
- 2931 006a 1360 str r3, [r2]
-1199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MASTER;
- 2932 .loc 1 1199 0
- 2933 006c 2223 movs r3, #34
- 2934 006e 84F83D30 strb r3, [r4, #61]
-1200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 2935 .loc 1 1200 0
- 2936 0072 1023 movs r3, #16
- 2937 0074 84F83E30 strb r3, [r4, #62]
-1201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2938 .loc 1 1201 0
- 2939 0078 0023 movs r3, #0
- 2940 007a 2364 str r3, [r4, #64]
-1204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 2941 .loc 1 1204 0
- 2942 007c C4F82480 str r8, [r4, #36]
-1205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
- 2943 .loc 1 1205 0
- 2944 0080 6785 strh r7, [r4, #42] @ movhi
-1206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
- 2945 .loc 1 1206 0
- 2946 0082 638D ldrh r3, [r4, #42]
- 2947 0084 2385 strh r3, [r4, #40] @ movhi
-1207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2948 .loc 1 1207 0
- 2949 0086 884B ldr r3, .L290+4
- 2950 0088 E362 str r3, [r4, #44]
-1210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2951 .loc 1 1210 0
- 2952 008a 3346 mov r3, r6
- 2953 008c 0E9A ldr r2, [sp, #56]
- 2954 008e 2946 mov r1, r5
- 2955 0090 2046 mov r0, r4
- 2956 0092 FFF7FEFF bl I2C_MasterRequestRead
- 2957 .LVL162:
- 2958 0096 0546 mov r5, r0
- 2959 0098 0028 cmp r0, #0
- 2960 009a 40F04281 bne .L276
-1215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-ARM GAS /tmp/cc8FAL5N.s page 190
-
-
- 2961 .loc 1 1215 0
- 2962 009e 238D ldrh r3, [r4, #40]
- 2963 00a0 5BB9 cbnz r3, .L261
- 2964 .LBB61:
-1218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2965 .loc 1 1218 0
- 2966 00a2 0393 str r3, [sp, #12]
- 2967 00a4 2368 ldr r3, [r4]
- 2968 00a6 5A69 ldr r2, [r3, #20]
- 2969 00a8 0392 str r2, [sp, #12]
- 2970 00aa 9A69 ldr r2, [r3, #24]
- 2971 00ac 0392 str r2, [sp, #12]
- 2972 00ae 039A ldr r2, [sp, #12]
- 2973 .LBE61:
-1221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2974 .loc 1 1221 0
- 2975 00b0 1A68 ldr r2, [r3]
- 2976 00b2 42F40072 orr r2, r2, #512
- 2977 00b6 1A60 str r2, [r3]
- 2978 00b8 80E0 b .L265
- 2979 .L261:
-1223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2980 .loc 1 1223 0
- 2981 00ba 012B cmp r3, #1
- 2982 00bc 0FD0 beq .L284
-1241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 2983 .loc 1 1241 0
- 2984 00be 022B cmp r3, #2
- 2985 00c0 21D0 beq .L285
-1262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 2986 .loc 1 1262 0
- 2987 00c2 2268 ldr r2, [r4]
- 2988 00c4 1368 ldr r3, [r2]
- 2989 00c6 43F48063 orr r3, r3, #1024
- 2990 00ca 1360 str r3, [r2]
- 2991 .LBB62:
-1265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 2992 .loc 1 1265 0
- 2993 00cc 0023 movs r3, #0
- 2994 00ce 0693 str r3, [sp, #24]
- 2995 00d0 2368 ldr r3, [r4]
- 2996 00d2 5A69 ldr r2, [r3, #20]
- 2997 00d4 0692 str r2, [sp, #24]
- 2998 00d6 9B69 ldr r3, [r3, #24]
- 2999 00d8 0693 str r3, [sp, #24]
- 3000 00da 069B ldr r3, [sp, #24]
- 3001 00dc 6EE0 b .L265
- 3002 .L284:
- 3003 .LBE62:
-1226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3004 .loc 1 1226 0
- 3005 00de 2268 ldr r2, [r4]
- 3006 00e0 1368 ldr r3, [r2]
- 3007 00e2 23F48063 bic r3, r3, #1024
- 3008 00e6 1360 str r3, [r2]
- 3009 .LBB63:
- 3010 .LBB64:
-ARM GAS /tmp/cc8FAL5N.s page 191
-
-
- 3011 .file 2 "Drivers/CMSIS/Include/cmsis_gcc.h"
- 1:Drivers/CMSIS/Include/cmsis_gcc.h **** /**************************************************************************//**
- 2:Drivers/CMSIS/Include/cmsis_gcc.h **** * @file cmsis_gcc.h
- 3:Drivers/CMSIS/Include/cmsis_gcc.h **** * @brief CMSIS compiler GCC header file
- 4:Drivers/CMSIS/Include/cmsis_gcc.h **** * @version V5.0.4
- 5:Drivers/CMSIS/Include/cmsis_gcc.h **** * @date 09. April 2018
- 6:Drivers/CMSIS/Include/cmsis_gcc.h **** ******************************************************************************/
- 7:Drivers/CMSIS/Include/cmsis_gcc.h **** /*
- 8:Drivers/CMSIS/Include/cmsis_gcc.h **** * Copyright (c) 2009-2018 Arm Limited. All rights reserved.
- 9:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 10:Drivers/CMSIS/Include/cmsis_gcc.h **** * SPDX-License-Identifier: Apache-2.0
- 11:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 12:Drivers/CMSIS/Include/cmsis_gcc.h **** * Licensed under the Apache License, Version 2.0 (the License); you may
- 13:Drivers/CMSIS/Include/cmsis_gcc.h **** * not use this file except in compliance with the License.
- 14:Drivers/CMSIS/Include/cmsis_gcc.h **** * You may obtain a copy of the License at
- 15:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 16:Drivers/CMSIS/Include/cmsis_gcc.h **** * www.apache.org/licenses/LICENSE-2.0
- 17:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 18:Drivers/CMSIS/Include/cmsis_gcc.h **** * Unless required by applicable law or agreed to in writing, software
- 19:Drivers/CMSIS/Include/cmsis_gcc.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT
- 20:Drivers/CMSIS/Include/cmsis_gcc.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- 21:Drivers/CMSIS/Include/cmsis_gcc.h **** * See the License for the specific language governing permissions and
- 22:Drivers/CMSIS/Include/cmsis_gcc.h **** * limitations under the License.
- 23:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 24:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 25:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __CMSIS_GCC_H
- 26:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_H
- 27:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 28:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ignore some GCC warnings */
- 29:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 30:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wsign-conversion"
- 31:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wconversion"
- 32:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wunused-parameter"
- 33:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 34:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Fallback for __has_builtin */
- 35:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __has_builtin
- 36:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __has_builtin(x) (0)
- 37:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 38:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 39:Drivers/CMSIS/Include/cmsis_gcc.h **** /* CMSIS compiler specific defines */
- 40:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ASM
- 41:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ASM __asm
- 42:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 43:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __INLINE
- 44:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __INLINE inline
- 45:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 46:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_INLINE
- 47:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_INLINE static inline
- 48:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 49:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_FORCEINLINE
- 50:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_FORCEINLINE __attribute__((always_inline)) static inline
- 51:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 52:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __NO_RETURN
- 53:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NO_RETURN __attribute__((__noreturn__))
- 54:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 55:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __USED
- 56:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __USED __attribute__((used))
-ARM GAS /tmp/cc8FAL5N.s page 192
-
-
- 57:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 58:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __WEAK
- 59:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WEAK __attribute__((weak))
- 60:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 61:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED
- 62:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED __attribute__((packed, aligned(1)))
- 63:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 64:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_STRUCT
- 65:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_STRUCT struct __attribute__((packed, aligned(1)))
- 66:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 67:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_UNION
- 68:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_UNION union __attribute__((packed, aligned(1)))
- 69:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 70:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32 /* deprecated */
- 71:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 72:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 73:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 74:Drivers/CMSIS/Include/cmsis_gcc.h **** struct __attribute__((packed)) T_UINT32 { uint32_t v; };
- 75:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 76:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
- 77:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 78:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_WRITE
- 79:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 80:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 81:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 82:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; };
- 83:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 84:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))-
- 85:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 86:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_READ
- 87:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 88:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 89:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 90:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_READ { uint16_t v; };
- 91:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 92:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(add
- 93:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 94:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_WRITE
- 95:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 96:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 97:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 98:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; };
- 99:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 100:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))-
- 101:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 102:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_READ
- 103:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 104:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 105:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 106:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_READ { uint32_t v; };
- 107:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 108:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(add
- 109:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 110:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ALIGNED
- 111:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ALIGNED(x) __attribute__((aligned(x)))
- 112:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 113:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __RESTRICT
-ARM GAS /tmp/cc8FAL5N.s page 193
-
-
- 114:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __RESTRICT __restrict
- 115:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 116:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 117:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 118:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################### Core Function Access ########################### */
- 119:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \ingroup CMSIS_Core_FunctionInterface
- 120:Drivers/CMSIS/Include/cmsis_gcc.h **** \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions
- 121:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
- 122:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 123:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 124:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 125:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable IRQ Interrupts
- 126:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables IRQ interrupts by clearing the I-bit in the CPSR.
- 127:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
- 128:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 129:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_irq(void)
- 130:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 131:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie i" : : : "memory");
- 132:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 133:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 134:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 135:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 136:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable IRQ Interrupts
- 137:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables IRQ interrupts by setting the I-bit in the CPSR.
- 138:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
- 139:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 140:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_irq(void)
- 141:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 142:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid i" : : : "memory");
- 3012 .loc 2 142 0
- 3013 .syntax unified
- 3014 @ 142 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 3015 00e8 72B6 cpsid i
- 3016 @ 0 "" 2
- 3017 .thumb
- 3018 .syntax unified
- 3019 .LBE64:
- 3020 .LBE63:
- 3021 .LBB65:
-1233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3022 .loc 1 1233 0
- 3023 00ea 0023 movs r3, #0
- 3024 00ec 0493 str r3, [sp, #16]
- 3025 00ee 2368 ldr r3, [r4]
- 3026 00f0 5A69 ldr r2, [r3, #20]
- 3027 00f2 0492 str r2, [sp, #16]
- 3028 00f4 9A69 ldr r2, [r3, #24]
- 3029 00f6 0492 str r2, [sp, #16]
- 3030 00f8 049A ldr r2, [sp, #16]
- 3031 .LBE65:
-1236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3032 .loc 1 1236 0
- 3033 00fa 1A68 ldr r2, [r3]
- 3034 00fc 42F40072 orr r2, r2, #512
- 3035 0100 1A60 str r2, [r3]
- 3036 .LBB66:
- 3037 .LBB67:
-ARM GAS /tmp/cc8FAL5N.s page 194
-
-
- 131:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 3038 .loc 2 131 0
- 3039 .syntax unified
- 3040 @ 131 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 3041 0102 62B6 cpsie i
- 3042 @ 0 "" 2
- 3043 .thumb
- 3044 .syntax unified
- 3045 0104 5AE0 b .L265
- 3046 .L285:
- 3047 .LBE67:
- 3048 .LBE66:
-1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3049 .loc 1 1244 0
- 3050 0106 2268 ldr r2, [r4]
- 3051 0108 1368 ldr r3, [r2]
- 3052 010a 43F40063 orr r3, r3, #2048
- 3053 010e 1360 str r3, [r2]
- 3054 .LBB68:
- 3055 .LBB69:
- 3056 .loc 2 142 0
- 3057 .syntax unified
- 3058 @ 142 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 3059 0110 72B6 cpsid i
- 3060 @ 0 "" 2
- 3061 .thumb
- 3062 .syntax unified
- 3063 .LBE69:
- 3064 .LBE68:
- 3065 .LBB70:
-1251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3066 .loc 1 1251 0
- 3067 0112 0023 movs r3, #0
- 3068 0114 0593 str r3, [sp, #20]
- 3069 0116 2368 ldr r3, [r4]
- 3070 0118 5A69 ldr r2, [r3, #20]
- 3071 011a 0592 str r2, [sp, #20]
- 3072 011c 9A69 ldr r2, [r3, #24]
- 3073 011e 0592 str r2, [sp, #20]
- 3074 0120 059A ldr r2, [sp, #20]
- 3075 .LBE70:
-1254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3076 .loc 1 1254 0
- 3077 0122 1A68 ldr r2, [r3]
- 3078 0124 22F48062 bic r2, r2, #1024
- 3079 0128 1A60 str r2, [r3]
- 3080 .LBB71:
- 3081 .LBB72:
- 131:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 3082 .loc 2 131 0
- 3083 .syntax unified
- 3084 @ 131 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 3085 012a 62B6 cpsie i
- 3086 @ 0 "" 2
- 3087 .thumb
- 3088 .syntax unified
- 3089 012c 46E0 b .L265
-ARM GAS /tmp/cc8FAL5N.s page 195
-
-
- 3090 .L287:
- 3091 .LBE72:
- 3092 .LBE71:
-1276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3093 .loc 1 1276 0
- 3094 012e 3246 mov r2, r6
- 3095 0130 0E99 ldr r1, [sp, #56]
- 3096 0132 2046 mov r0, r4
- 3097 0134 FFF7FEFF bl I2C_WaitOnRXNEFlagUntilTimeout
- 3098 .LVL163:
- 3099 0138 0028 cmp r0, #0
- 3100 013a 40F0F480 bne .L277
-1282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3101 .loc 1 1282 0
- 3102 013e 636A ldr r3, [r4, #36]
- 3103 0140 2268 ldr r2, [r4]
- 3104 0142 1269 ldr r2, [r2, #16]
- 3105 0144 1A70 strb r2, [r3]
-1285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3106 .loc 1 1285 0
- 3107 0146 636A ldr r3, [r4, #36]
- 3108 0148 0133 adds r3, r3, #1
- 3109 014a 6362 str r3, [r4, #36]
-1288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
- 3110 .loc 1 1288 0
- 3111 014c 238D ldrh r3, [r4, #40]
- 3112 014e 013B subs r3, r3, #1
- 3113 0150 2385 strh r3, [r4, #40] @ movhi
-1289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3114 .loc 1 1289 0
- 3115 0152 638D ldrh r3, [r4, #42]
- 3116 0154 9BB2 uxth r3, r3
- 3117 0156 013B subs r3, r3, #1
- 3118 0158 9BB2 uxth r3, r3
- 3119 015a 6385 strh r3, [r4, #42] @ movhi
- 3120 015c 2EE0 b .L265
- 3121 .L288:
-1295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3122 .loc 1 1295 0
- 3123 015e 0096 str r6, [sp]
- 3124 0160 0E9B ldr r3, [sp, #56]
- 3125 0162 0022 movs r2, #0
- 3126 0164 5149 ldr r1, .L290+8
- 3127 0166 2046 mov r0, r4
- 3128 0168 FFF7FEFF bl I2C_WaitOnFlagUntilTimeout
- 3129 .LVL164:
- 3130 016c 0028 cmp r0, #0
- 3131 016e 40F0DC80 bne .L278
- 3132 .LBB73:
- 3133 .LBB74:
- 3134 .loc 2 142 0
- 3135 .syntax unified
- 3136 @ 142 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 3137 0172 72B6 cpsid i
- 3138 @ 0 "" 2
- 3139 .thumb
- 3140 .syntax unified
-ARM GAS /tmp/cc8FAL5N.s page 196
-
-
- 3141 .LBE74:
- 3142 .LBE73:
-1305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3143 .loc 1 1305 0
- 3144 0174 2268 ldr r2, [r4]
- 3145 0176 1368 ldr r3, [r2]
- 3146 0178 43F40073 orr r3, r3, #512
- 3147 017c 1360 str r3, [r2]
-1308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3148 .loc 1 1308 0
- 3149 017e 636A ldr r3, [r4, #36]
- 3150 0180 2268 ldr r2, [r4]
- 3151 0182 1269 ldr r2, [r2, #16]
- 3152 0184 1A70 strb r2, [r3]
-1311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3153 .loc 1 1311 0
- 3154 0186 636A ldr r3, [r4, #36]
- 3155 0188 0133 adds r3, r3, #1
- 3156 018a 6362 str r3, [r4, #36]
-1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
- 3157 .loc 1 1314 0
- 3158 018c 238D ldrh r3, [r4, #40]
- 3159 018e 013B subs r3, r3, #1
- 3160 0190 2385 strh r3, [r4, #40] @ movhi
-1315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3161 .loc 1 1315 0
- 3162 0192 638D ldrh r3, [r4, #42]
- 3163 0194 9BB2 uxth r3, r3
- 3164 0196 013B subs r3, r3, #1
- 3165 0198 9BB2 uxth r3, r3
- 3166 019a 6385 strh r3, [r4, #42] @ movhi
- 3167 .LBB75:
- 3168 .LBB76:
- 131:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 3169 .loc 2 131 0
- 3170 .syntax unified
- 3171 @ 131 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 3172 019c 62B6 cpsie i
- 3173 @ 0 "" 2
- 3174 .thumb
- 3175 .syntax unified
- 3176 .LBE76:
- 3177 .LBE75:
-1321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3178 .loc 1 1321 0
- 3179 019e 636A ldr r3, [r4, #36]
- 3180 01a0 2268 ldr r2, [r4]
- 3181 01a2 1269 ldr r2, [r2, #16]
- 3182 01a4 1A70 strb r2, [r3]
-1324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3183 .loc 1 1324 0
- 3184 01a6 636A ldr r3, [r4, #36]
- 3185 01a8 0133 adds r3, r3, #1
- 3186 01aa 6362 str r3, [r4, #36]
-1327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
- 3187 .loc 1 1327 0
- 3188 01ac 238D ldrh r3, [r4, #40]
-ARM GAS /tmp/cc8FAL5N.s page 197
-
-
- 3189 01ae 013B subs r3, r3, #1
- 3190 01b0 2385 strh r3, [r4, #40] @ movhi
-1328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3191 .loc 1 1328 0
- 3192 01b2 638D ldrh r3, [r4, #42]
- 3193 01b4 9BB2 uxth r3, r3
- 3194 01b6 013B subs r3, r3, #1
- 3195 01b8 9BB2 uxth r3, r3
- 3196 01ba 6385 strh r3, [r4, #42] @ movhi
- 3197 .L265:
-1268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3198 .loc 1 1268 0
- 3199 01bc 238D ldrh r3, [r4, #40]
- 3200 01be 002B cmp r3, #0
- 3201 01c0 00F0A480 beq .L286
-1270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3202 .loc 1 1270 0
- 3203 01c4 032B cmp r3, #3
- 3204 01c6 77D8 bhi .L266
-1273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3205 .loc 1 1273 0
- 3206 01c8 012B cmp r3, #1
- 3207 01ca B0D0 beq .L287
-1292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3208 .loc 1 1292 0
- 3209 01cc 022B cmp r3, #2
- 3210 01ce C6D0 beq .L288
-1334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3211 .loc 1 1334 0
- 3212 01d0 0096 str r6, [sp]
- 3213 01d2 0E9B ldr r3, [sp, #56]
- 3214 01d4 0022 movs r2, #0
- 3215 01d6 3549 ldr r1, .L290+8
- 3216 01d8 2046 mov r0, r4
- 3217 01da FFF7FEFF bl I2C_WaitOnFlagUntilTimeout
- 3218 .LVL165:
- 3219 01de 0028 cmp r0, #0
- 3220 01e0 40F0A580 bne .L279
-1340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3221 .loc 1 1340 0
- 3222 01e4 2268 ldr r2, [r4]
- 3223 01e6 1368 ldr r3, [r2]
- 3224 01e8 23F48063 bic r3, r3, #1024
- 3225 01ec 1360 str r3, [r2]
- 3226 .LBB77:
- 3227 .LBB78:
- 3228 .loc 2 142 0
- 3229 .syntax unified
- 3230 @ 142 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 3231 01ee 72B6 cpsid i
- 3232 @ 0 "" 2
- 3233 .thumb
- 3234 .syntax unified
- 3235 .LBE78:
- 3236 .LBE77:
-1347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3237 .loc 1 1347 0
-ARM GAS /tmp/cc8FAL5N.s page 198
-
-
- 3238 01f0 636A ldr r3, [r4, #36]
- 3239 01f2 2268 ldr r2, [r4]
- 3240 01f4 1269 ldr r2, [r2, #16]
- 3241 01f6 1A70 strb r2, [r3]
-1350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3242 .loc 1 1350 0
- 3243 01f8 636A ldr r3, [r4, #36]
- 3244 01fa 0133 adds r3, r3, #1
- 3245 01fc 6362 str r3, [r4, #36]
-1353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
- 3246 .loc 1 1353 0
- 3247 01fe 238D ldrh r3, [r4, #40]
- 3248 0200 013B subs r3, r3, #1
- 3249 0202 2385 strh r3, [r4, #40] @ movhi
-1354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3250 .loc 1 1354 0
- 3251 0204 638D ldrh r3, [r4, #42]
- 3252 0206 9BB2 uxth r3, r3
- 3253 0208 013B subs r3, r3, #1
- 3254 020a 9BB2 uxth r3, r3
- 3255 020c 6385 strh r3, [r4, #42] @ movhi
-1357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
- 3256 .loc 1 1357 0
- 3257 020e 284B ldr r3, .L290+12
- 3258 0210 1B68 ldr r3, [r3]
- 3259 0212 DB08 lsrs r3, r3, #3
- 3260 0214 274A ldr r2, .L290+16
- 3261 0216 A2FB0323 umull r2, r3, r2, r3
- 3262 021a 1B0A lsrs r3, r3, #8
- 3263 021c 03EB8303 add r3, r3, r3, lsl #2
- 3264 0220 C3EBC303 rsb r3, r3, r3, lsl #3
- 3265 0224 0793 str r3, [sp, #28]
- 3266 .L271:
-1360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
- 3267 .loc 1 1360 0
- 3268 0226 079B ldr r3, [sp, #28]
- 3269 0228 013B subs r3, r3, #1
- 3270 022a 0793 str r3, [sp, #28]
-1361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3271 .loc 1 1361 0
- 3272 022c 079B ldr r3, [sp, #28]
- 3273 022e 002B cmp r3, #0
- 3274 0230 28D0 beq .L289
-1377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3275 .loc 1 1377 0
- 3276 0232 2368 ldr r3, [r4]
- 3277 0234 5A69 ldr r2, [r3, #20]
- 3278 0236 12F0040F tst r2, #4
- 3279 023a F4D0 beq .L271
-1380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3280 .loc 1 1380 0
- 3281 023c 1A68 ldr r2, [r3]
- 3282 023e 42F40072 orr r2, r2, #512
- 3283 0242 1A60 str r2, [r3]
-1383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3284 .loc 1 1383 0
- 3285 0244 636A ldr r3, [r4, #36]
-ARM GAS /tmp/cc8FAL5N.s page 199
-
-
- 3286 0246 2268 ldr r2, [r4]
- 3287 0248 1269 ldr r2, [r2, #16]
- 3288 024a 1A70 strb r2, [r3]
-1386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3289 .loc 1 1386 0
- 3290 024c 636A ldr r3, [r4, #36]
- 3291 024e 0133 adds r3, r3, #1
- 3292 0250 6362 str r3, [r4, #36]
-1389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
- 3293 .loc 1 1389 0
- 3294 0252 238D ldrh r3, [r4, #40]
- 3295 0254 013B subs r3, r3, #1
- 3296 0256 2385 strh r3, [r4, #40] @ movhi
-1390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3297 .loc 1 1390 0
- 3298 0258 638D ldrh r3, [r4, #42]
- 3299 025a 9BB2 uxth r3, r3
- 3300 025c 013B subs r3, r3, #1
- 3301 025e 9BB2 uxth r3, r3
- 3302 0260 6385 strh r3, [r4, #42] @ movhi
- 3303 .LBB79:
- 3304 .LBB80:
- 131:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 3305 .loc 2 131 0
- 3306 .syntax unified
- 3307 @ 131 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 3308 0262 62B6 cpsie i
- 3309 @ 0 "" 2
- 3310 .thumb
- 3311 .syntax unified
- 3312 .LBE80:
- 3313 .LBE79:
-1396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3314 .loc 1 1396 0
- 3315 0264 636A ldr r3, [r4, #36]
- 3316 0266 2268 ldr r2, [r4]
- 3317 0268 1269 ldr r2, [r2, #16]
- 3318 026a 1A70 strb r2, [r3]
-1399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3319 .loc 1 1399 0
- 3320 026c 636A ldr r3, [r4, #36]
- 3321 026e 0133 adds r3, r3, #1
- 3322 0270 6362 str r3, [r4, #36]
-1402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
- 3323 .loc 1 1402 0
- 3324 0272 238D ldrh r3, [r4, #40]
- 3325 0274 013B subs r3, r3, #1
- 3326 0276 2385 strh r3, [r4, #40] @ movhi
-1403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3327 .loc 1 1403 0
- 3328 0278 638D ldrh r3, [r4, #42]
- 3329 027a 9BB2 uxth r3, r3
- 3330 027c 013B subs r3, r3, #1
- 3331 027e 9BB2 uxth r3, r3
- 3332 0280 6385 strh r3, [r4, #42] @ movhi
- 3333 0282 9BE7 b .L265
- 3334 .L289:
-ARM GAS /tmp/cc8FAL5N.s page 200
-
-
-1363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 3335 .loc 1 1363 0
- 3336 0284 2363 str r3, [r4, #48]
-1364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 3337 .loc 1 1364 0
- 3338 0286 2022 movs r2, #32
- 3339 0288 84F83D20 strb r2, [r4, #61]
-1365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
- 3340 .loc 1 1365 0
- 3341 028c 84F83E30 strb r3, [r4, #62]
-1366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3342 .loc 1 1366 0
- 3343 0290 226C ldr r2, [r4, #64]
- 3344 0292 42F02002 orr r2, r2, #32
- 3345 0296 2264 str r2, [r4, #64]
- 3346 .LBB81:
- 3347 .LBB82:
- 131:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 3348 .loc 2 131 0
- 3349 .syntax unified
- 3350 @ 131 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 3351 0298 62B6 cpsie i
- 3352 @ 0 "" 2
- 3353 .thumb
- 3354 .syntax unified
- 3355 .LBE82:
- 3356 .LBE81:
-1372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3357 .loc 1 1372 0
- 3358 029a 84F83C30 strb r3, [r4, #60]
-1374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3359 .loc 1 1374 0
- 3360 029e 0125 movs r5, #1
- 3361 02a0 BFE6 b .L259
- 3362 .L291:
- 3363 02a2 00BF .align 2
- 3364 .L290:
- 3365 02a4 02001000 .word 1048578
- 3366 02a8 0000FFFF .word -65536
- 3367 02ac 04000100 .word 65540
- 3368 02b0 00000000 .word SystemCoreClock
- 3369 02b4 89B5F814 .word 351843721
- 3370 .L266:
-1409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3371 .loc 1 1409 0
- 3372 02b8 3246 mov r2, r6
- 3373 02ba 0E99 ldr r1, [sp, #56]
- 3374 02bc 2046 mov r0, r4
- 3375 02be FFF7FEFF bl I2C_WaitOnRXNEFlagUntilTimeout
- 3376 .LVL166:
- 3377 02c2 0028 cmp r0, #0
- 3378 02c4 35D1 bne .L280
-1415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3379 .loc 1 1415 0
- 3380 02c6 636A ldr r3, [r4, #36]
- 3381 02c8 2268 ldr r2, [r4]
- 3382 02ca 1269 ldr r2, [r2, #16]
-ARM GAS /tmp/cc8FAL5N.s page 201
-
-
- 3383 02cc 1A70 strb r2, [r3]
-1418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3384 .loc 1 1418 0
- 3385 02ce 626A ldr r2, [r4, #36]
- 3386 02d0 531C adds r3, r2, #1
- 3387 02d2 6362 str r3, [r4, #36]
-1421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
- 3388 .loc 1 1421 0
- 3389 02d4 238D ldrh r3, [r4, #40]
- 3390 02d6 013B subs r3, r3, #1
- 3391 02d8 2385 strh r3, [r4, #40] @ movhi
-1422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3392 .loc 1 1422 0
- 3393 02da 638D ldrh r3, [r4, #42]
- 3394 02dc 9BB2 uxth r3, r3
- 3395 02de 013B subs r3, r3, #1
- 3396 02e0 9BB2 uxth r3, r3
- 3397 02e2 6385 strh r3, [r4, #42] @ movhi
-1424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3398 .loc 1 1424 0
- 3399 02e4 2368 ldr r3, [r4]
- 3400 02e6 5969 ldr r1, [r3, #20]
- 3401 02e8 11F0040F tst r1, #4
- 3402 02ec 3FF466AF beq .L265
-1427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3403 .loc 1 1427 0
- 3404 02f0 1B69 ldr r3, [r3, #16]
- 3405 02f2 5370 strb r3, [r2, #1]
-1430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3406 .loc 1 1430 0
- 3407 02f4 636A ldr r3, [r4, #36]
- 3408 02f6 0133 adds r3, r3, #1
- 3409 02f8 6362 str r3, [r4, #36]
-1433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
- 3410 .loc 1 1433 0
- 3411 02fa 238D ldrh r3, [r4, #40]
- 3412 02fc 013B subs r3, r3, #1
- 3413 02fe 2385 strh r3, [r4, #40] @ movhi
-1434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3414 .loc 1 1434 0
- 3415 0300 638D ldrh r3, [r4, #42]
- 3416 0302 9BB2 uxth r3, r3
- 3417 0304 013B subs r3, r3, #1
- 3418 0306 9BB2 uxth r3, r3
- 3419 0308 6385 strh r3, [r4, #42] @ movhi
- 3420 030a 57E7 b .L265
- 3421 .L286:
-1439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 3422 .loc 1 1439 0
- 3423 030c 2023 movs r3, #32
- 3424 030e 84F83D30 strb r3, [r4, #61]
-1440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3425 .loc 1 1440 0
- 3426 0312 0023 movs r3, #0
- 3427 0314 84F83E30 strb r3, [r4, #62]
-1443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3428 .loc 1 1443 0
-ARM GAS /tmp/cc8FAL5N.s page 202
-
-
- 3429 0318 84F83C30 strb r3, [r4, #60]
-1445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3430 .loc 1 1445 0
- 3431 031c 81E6 b .L259
- 3432 .L275:
-1187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3433 .loc 1 1187 0
- 3434 031e 0225 movs r5, #2
- 3435 0320 7FE6 b .L259
- 3436 .L276:
-1212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3437 .loc 1 1212 0
- 3438 0322 0125 movs r5, #1
- 3439 0324 7DE6 b .L259
- 3440 .L277:
-1278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3441 .loc 1 1278 0
- 3442 0326 0125 movs r5, #1
- 3443 0328 7BE6 b .L259
- 3444 .L278:
-1297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3445 .loc 1 1297 0
- 3446 032a 0125 movs r5, #1
- 3447 032c 79E6 b .L259
- 3448 .L279:
-1336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3449 .loc 1 1336 0
- 3450 032e 0125 movs r5, #1
- 3451 0330 77E6 b .L259
- 3452 .L280:
-1411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3453 .loc 1 1411 0
- 3454 0332 0125 movs r5, #1
- 3455 0334 75E6 b .L259
- 3456 .cfi_endproc
- 3457 .LFE70:
- 3459 0336 00BF .section .text.HAL_I2C_Slave_Transmit,"ax",%progbits
- 3460 .align 1
- 3461 .global HAL_I2C_Slave_Transmit
- 3462 .syntax unified
- 3463 .thumb
- 3464 .thumb_func
- 3465 .fpu softvfp
- 3467 HAL_I2C_Slave_Transmit:
- 3468 .LFB71:
-1463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Init tickstart for timeout management*/
- 3469 .loc 1 1463 0
- 3470 .cfi_startproc
- 3471 @ args = 0, pretend = 0, frame = 8
- 3472 @ frame_needed = 0, uses_anonymous_args = 0
- 3473 .LVL167:
- 3474 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr}
- 3475 .LCFI42:
- 3476 .cfi_def_cfa_offset 24
- 3477 .cfi_offset 4, -24
- 3478 .cfi_offset 5, -20
- 3479 .cfi_offset 6, -16
-ARM GAS /tmp/cc8FAL5N.s page 203
-
-
- 3480 .cfi_offset 7, -12
- 3481 .cfi_offset 8, -8
- 3482 .cfi_offset 14, -4
- 3483 0004 84B0 sub sp, sp, #16
- 3484 .LCFI43:
- 3485 .cfi_def_cfa_offset 40
- 3486 0006 0446 mov r4, r0
- 3487 0008 0F46 mov r7, r1
- 3488 000a 9046 mov r8, r2
- 3489 000c 1D46 mov r5, r3
-1465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3490 .loc 1 1465 0
- 3491 000e FFF7FEFF bl HAL_GetTick
- 3492 .LVL168:
-1467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3493 .loc 1 1467 0
- 3494 0012 94F83D30 ldrb r3, [r4, #61] @ zero_extendqisi2
- 3495 0016 DBB2 uxtb r3, r3
- 3496 0018 202B cmp r3, #32
- 3497 001a 04D0 beq .L308
-1579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3498 .loc 1 1579 0
- 3499 001c 0223 movs r3, #2
- 3500 .LVL169:
- 3501 .L293:
-1581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3502 .loc 1 1581 0
- 3503 001e 1846 mov r0, r3
- 3504 0020 04B0 add sp, sp, #16
- 3505 .LCFI44:
- 3506 .cfi_remember_state
- 3507 .cfi_def_cfa_offset 24
- 3508 @ sp needed
- 3509 0022 BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 3510 .LVL170:
- 3511 .L308:
- 3512 .LCFI45:
- 3513 .cfi_restore_state
- 3514 0026 0646 mov r6, r0
-1469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3515 .loc 1 1469 0
- 3516 0028 002F cmp r7, #0
- 3517 002a 00F0A680 beq .L301
-1469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3518 .loc 1 1469 0 is_stmt 0 discriminator 1
- 3519 002e B8F1000F cmp r8, #0
- 3520 0032 00F0A480 beq .L302
-1475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3521 .loc 1 1475 0 is_stmt 1
- 3522 0036 94F83C30 ldrb r3, [r4, #60] @ zero_extendqisi2
- 3523 003a 012B cmp r3, #1
- 3524 003c 00F0A180 beq .L303
-1475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3525 .loc 1 1475 0 is_stmt 0 discriminator 2
- 3526 0040 0123 movs r3, #1
- 3527 0042 84F83C30 strb r3, [r4, #60]
-1478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-ARM GAS /tmp/cc8FAL5N.s page 204
-
-
- 3528 .loc 1 1478 0 is_stmt 1 discriminator 2
- 3529 0046 2368 ldr r3, [r4]
- 3530 0048 1A68 ldr r2, [r3]
- 3531 004a 12F0010F tst r2, #1
- 3532 004e 03D1 bne .L294
-1481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3533 .loc 1 1481 0
- 3534 0050 1A68 ldr r2, [r3]
- 3535 0052 42F00102 orr r2, r2, #1
- 3536 0056 1A60 str r2, [r3]
- 3537 .L294:
-1485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3538 .loc 1 1485 0
- 3539 0058 2268 ldr r2, [r4]
- 3540 005a 1368 ldr r3, [r2]
- 3541 005c 23F40063 bic r3, r3, #2048
- 3542 0060 1360 str r3, [r2]
-1487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_SLAVE;
- 3543 .loc 1 1487 0
- 3544 0062 2123 movs r3, #33
- 3545 0064 84F83D30 strb r3, [r4, #61]
-1488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 3546 .loc 1 1488 0
- 3547 0068 2023 movs r3, #32
- 3548 006a 84F83E30 strb r3, [r4, #62]
-1489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3549 .loc 1 1489 0
- 3550 006e 0022 movs r2, #0
- 3551 0070 2264 str r2, [r4, #64]
-1492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 3552 .loc 1 1492 0
- 3553 0072 6762 str r7, [r4, #36]
-1493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
- 3554 .loc 1 1493 0
- 3555 0074 A4F82A80 strh r8, [r4, #42] @ movhi
-1494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
- 3556 .loc 1 1494 0
- 3557 0078 638D ldrh r3, [r4, #42]
- 3558 007a 2385 strh r3, [r4, #40] @ movhi
-1495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3559 .loc 1 1495 0
- 3560 007c 454B ldr r3, .L312
- 3561 007e E362 str r3, [r4, #44]
-1498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3562 .loc 1 1498 0
- 3563 0080 2168 ldr r1, [r4]
- 3564 0082 0B68 ldr r3, [r1]
- 3565 0084 43F48063 orr r3, r3, #1024
- 3566 0088 0B60 str r3, [r1]
-1501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3567 .loc 1 1501 0
- 3568 008a 0096 str r6, [sp]
- 3569 008c 2B46 mov r3, r5
- 3570 008e 4249 ldr r1, .L312+4
- 3571 0090 2046 mov r0, r4
- 3572 .LVL171:
- 3573 0092 FFF7FEFF bl I2C_WaitOnFlagUntilTimeout
-ARM GAS /tmp/cc8FAL5N.s page 205
-
-
- 3574 .LVL172:
- 3575 0096 0028 cmp r0, #0
- 3576 0098 75D1 bne .L304
- 3577 .LBB83:
-1507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3578 .loc 1 1507 0
- 3579 009a 0023 movs r3, #0
- 3580 009c 0293 str r3, [sp, #8]
- 3581 009e 2368 ldr r3, [r4]
- 3582 00a0 5A69 ldr r2, [r3, #20]
- 3583 00a2 0292 str r2, [sp, #8]
- 3584 00a4 9B69 ldr r3, [r3, #24]
- 3585 00a6 0293 str r3, [sp, #8]
- 3586 00a8 029B ldr r3, [sp, #8]
- 3587 .LBE83:
-1510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3588 .loc 1 1510 0
- 3589 00aa 2369 ldr r3, [r4, #16]
- 3590 00ac B3F5404F cmp r3, #49152
- 3591 00b0 2ED0 beq .L309
- 3592 .L296:
-1522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3593 .loc 1 1522 0
- 3594 00b2 238D ldrh r3, [r4, #40]
- 3595 00b4 002B cmp r3, #0
- 3596 00b6 44D0 beq .L310
-1525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3597 .loc 1 1525 0
- 3598 00b8 3246 mov r2, r6
- 3599 00ba 2946 mov r1, r5
- 3600 00bc 2046 mov r0, r4
- 3601 00be FFF7FEFF bl I2C_WaitOnTXEFlagUntilTimeout
- 3602 .LVL173:
- 3603 00c2 0028 cmp r0, #0
- 3604 00c4 36D1 bne .L311
-1534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3605 .loc 1 1534 0
- 3606 00c6 2368 ldr r3, [r4]
- 3607 00c8 626A ldr r2, [r4, #36]
- 3608 00ca 1278 ldrb r2, [r2] @ zero_extendqisi2
- 3609 00cc 1A61 str r2, [r3, #16]
-1537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3610 .loc 1 1537 0
- 3611 00ce 616A ldr r1, [r4, #36]
- 3612 00d0 4B1C adds r3, r1, #1
- 3613 00d2 6362 str r3, [r4, #36]
-1540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
- 3614 .loc 1 1540 0
- 3615 00d4 638D ldrh r3, [r4, #42]
- 3616 00d6 9BB2 uxth r3, r3
- 3617 00d8 013B subs r3, r3, #1
- 3618 00da 9BB2 uxth r3, r3
- 3619 00dc 6385 strh r3, [r4, #42] @ movhi
-1541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3620 .loc 1 1541 0
- 3621 00de 238D ldrh r3, [r4, #40]
- 3622 00e0 013B subs r3, r3, #1
-ARM GAS /tmp/cc8FAL5N.s page 206
-
-
- 3623 00e2 9BB2 uxth r3, r3
- 3624 00e4 2385 strh r3, [r4, #40] @ movhi
-1543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3625 .loc 1 1543 0
- 3626 00e6 2268 ldr r2, [r4]
- 3627 00e8 5069 ldr r0, [r2, #20]
- 3628 00ea 10F0040F tst r0, #4
- 3629 00ee E0D0 beq .L296
-1543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3630 .loc 1 1543 0 is_stmt 0 discriminator 1
- 3631 00f0 002B cmp r3, #0
- 3632 00f2 DED0 beq .L296
-1546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3633 .loc 1 1546 0 is_stmt 1
- 3634 00f4 4B78 ldrb r3, [r1, #1] @ zero_extendqisi2
- 3635 00f6 1361 str r3, [r2, #16]
-1549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3636 .loc 1 1549 0
- 3637 00f8 636A ldr r3, [r4, #36]
- 3638 00fa 0133 adds r3, r3, #1
- 3639 00fc 6362 str r3, [r4, #36]
-1552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize--;
- 3640 .loc 1 1552 0
- 3641 00fe 638D ldrh r3, [r4, #42]
- 3642 0100 9BB2 uxth r3, r3
- 3643 0102 013B subs r3, r3, #1
- 3644 0104 9BB2 uxth r3, r3
- 3645 0106 6385 strh r3, [r4, #42] @ movhi
-1553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3646 .loc 1 1553 0
- 3647 0108 238D ldrh r3, [r4, #40]
- 3648 010a 013B subs r3, r3, #1
- 3649 010c 2385 strh r3, [r4, #40] @ movhi
- 3650 010e D0E7 b .L296
- 3651 .L309:
-1513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3652 .loc 1 1513 0
- 3653 0110 0096 str r6, [sp]
- 3654 0112 2B46 mov r3, r5
- 3655 0114 0022 movs r2, #0
- 3656 0116 2049 ldr r1, .L312+4
- 3657 0118 2046 mov r0, r4
- 3658 011a FFF7FEFF bl I2C_WaitOnFlagUntilTimeout
- 3659 .LVL174:
- 3660 011e 0028 cmp r0, #0
- 3661 0120 33D1 bne .L305
- 3662 .LBB84:
-1519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3663 .loc 1 1519 0
- 3664 0122 0023 movs r3, #0
- 3665 0124 0393 str r3, [sp, #12]
- 3666 0126 2368 ldr r3, [r4]
- 3667 0128 5A69 ldr r2, [r3, #20]
- 3668 012a 0392 str r2, [sp, #12]
- 3669 012c 9B69 ldr r3, [r3, #24]
- 3670 012e 0393 str r3, [sp, #12]
- 3671 0130 039B ldr r3, [sp, #12]
-ARM GAS /tmp/cc8FAL5N.s page 207
-
-
- 3672 0132 BEE7 b .L296
- 3673 .L311:
- 3674 .LBE84:
-1528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3675 .loc 1 1528 0
- 3676 0134 2268 ldr r2, [r4]
- 3677 0136 1368 ldr r3, [r2]
- 3678 0138 23F48063 bic r3, r3, #1024
- 3679 013c 1360 str r3, [r2]
-1530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3680 .loc 1 1530 0
- 3681 013e 0123 movs r3, #1
- 3682 0140 6DE7 b .L293
- 3683 .L310:
-1558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3684 .loc 1 1558 0
- 3685 0142 0096 str r6, [sp]
- 3686 0144 2B46 mov r3, r5
- 3687 0146 0022 movs r2, #0
- 3688 0148 4FF48231 mov r1, #66560
- 3689 014c 2046 mov r0, r4
- 3690 014e FFF7FEFF bl I2C_WaitOnFlagUntilTimeout
- 3691 .LVL175:
- 3692 0152 0346 mov r3, r0
- 3693 0154 D8B9 cbnz r0, .L306
-1564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3694 .loc 1 1564 0
- 3695 0156 2268 ldr r2, [r4]
- 3696 0158 6FF48061 mvn r1, #1024
- 3697 015c 5161 str r1, [r2, #20]
-1567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3698 .loc 1 1567 0
- 3699 015e 2168 ldr r1, [r4]
- 3700 0160 0A68 ldr r2, [r1]
- 3701 0162 22F48062 bic r2, r2, #1024
- 3702 0166 0A60 str r2, [r1]
-1569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 3703 .loc 1 1569 0
- 3704 0168 2022 movs r2, #32
- 3705 016a 84F83D20 strb r2, [r4, #61]
-1570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3706 .loc 1 1570 0
- 3707 016e 0022 movs r2, #0
- 3708 0170 84F83E20 strb r2, [r4, #62]
-1573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3709 .loc 1 1573 0
- 3710 0174 84F83C20 strb r2, [r4, #60]
-1575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3711 .loc 1 1575 0
- 3712 0178 51E7 b .L293
- 3713 .LVL176:
- 3714 .L301:
-1471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3715 .loc 1 1471 0
- 3716 017a 0123 movs r3, #1
- 3717 017c 4FE7 b .L293
- 3718 .L302:
-ARM GAS /tmp/cc8FAL5N.s page 208
-
-
- 3719 017e 0123 movs r3, #1
- 3720 0180 4DE7 b .L293
- 3721 .L303:
-1475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3722 .loc 1 1475 0
- 3723 0182 0223 movs r3, #2
- 3724 0184 4BE7 b .L293
- 3725 .LVL177:
- 3726 .L304:
-1503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3727 .loc 1 1503 0
- 3728 0186 0123 movs r3, #1
- 3729 0188 49E7 b .L293
- 3730 .L305:
-1515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3731 .loc 1 1515 0
- 3732 018a 0123 movs r3, #1
- 3733 018c 47E7 b .L293
- 3734 .L306:
-1560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3735 .loc 1 1560 0
- 3736 018e 0123 movs r3, #1
- 3737 0190 45E7 b .L293
- 3738 .L313:
- 3739 0192 00BF .align 2
- 3740 .L312:
- 3741 0194 0000FFFF .word -65536
- 3742 0198 02000100 .word 65538
- 3743 .cfi_endproc
- 3744 .LFE71:
- 3746 .section .text.HAL_I2C_Slave_Receive,"ax",%progbits
- 3747 .align 1
- 3748 .global HAL_I2C_Slave_Receive
- 3749 .syntax unified
- 3750 .thumb
- 3751 .thumb_func
- 3752 .fpu softvfp
- 3754 HAL_I2C_Slave_Receive:
- 3755 .LFB72:
-1593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Init tickstart for timeout management*/
- 3756 .loc 1 1593 0
- 3757 .cfi_startproc
- 3758 @ args = 0, pretend = 0, frame = 8
- 3759 @ frame_needed = 0, uses_anonymous_args = 0
- 3760 .LVL178:
- 3761 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr}
- 3762 .LCFI46:
- 3763 .cfi_def_cfa_offset 24
- 3764 .cfi_offset 4, -24
- 3765 .cfi_offset 5, -20
- 3766 .cfi_offset 6, -16
- 3767 .cfi_offset 7, -12
- 3768 .cfi_offset 8, -8
- 3769 .cfi_offset 14, -4
- 3770 0004 84B0 sub sp, sp, #16
- 3771 .LCFI47:
- 3772 .cfi_def_cfa_offset 40
-ARM GAS /tmp/cc8FAL5N.s page 209
-
-
- 3773 0006 0446 mov r4, r0
- 3774 0008 0F46 mov r7, r1
- 3775 000a 9046 mov r8, r2
- 3776 000c 1D46 mov r5, r3
-1595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3777 .loc 1 1595 0
- 3778 000e FFF7FEFF bl HAL_GetTick
- 3779 .LVL179:
-1597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3780 .loc 1 1597 0
- 3781 0012 94F83D30 ldrb r3, [r4, #61] @ zero_extendqisi2
- 3782 0016 DBB2 uxtb r3, r3
- 3783 0018 202B cmp r3, #32
- 3784 001a 04D0 beq .L328
-1699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3785 .loc 1 1699 0
- 3786 001c 0223 movs r3, #2
- 3787 .LVL180:
- 3788 .L315:
-1701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3789 .loc 1 1701 0
- 3790 001e 1846 mov r0, r3
- 3791 0020 04B0 add sp, sp, #16
- 3792 .LCFI48:
- 3793 .cfi_remember_state
- 3794 .cfi_def_cfa_offset 24
- 3795 @ sp needed
- 3796 0022 BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 3797 .LVL181:
- 3798 .L328:
- 3799 .LCFI49:
- 3800 .cfi_restore_state
- 3801 0026 0646 mov r6, r0
-1599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3802 .loc 1 1599 0
- 3803 0028 002F cmp r7, #0
- 3804 002a 00F09880 beq .L323
-1599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3805 .loc 1 1599 0 is_stmt 0 discriminator 1
- 3806 002e B8F1000F cmp r8, #0
- 3807 0032 00F09680 beq .L324
-1605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3808 .loc 1 1605 0 is_stmt 1
- 3809 0036 94F83C30 ldrb r3, [r4, #60] @ zero_extendqisi2
- 3810 003a 012B cmp r3, #1
- 3811 003c 00F09380 beq .L325
-1605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3812 .loc 1 1605 0 is_stmt 0 discriminator 2
- 3813 0040 0123 movs r3, #1
- 3814 0042 84F83C30 strb r3, [r4, #60]
-1608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3815 .loc 1 1608 0 is_stmt 1 discriminator 2
- 3816 0046 2368 ldr r3, [r4]
- 3817 0048 1A68 ldr r2, [r3]
- 3818 004a 12F0010F tst r2, #1
- 3819 004e 03D1 bne .L316
-1611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-ARM GAS /tmp/cc8FAL5N.s page 210
-
-
- 3820 .loc 1 1611 0
- 3821 0050 1A68 ldr r2, [r3]
- 3822 0052 42F00102 orr r2, r2, #1
- 3823 0056 1A60 str r2, [r3]
- 3824 .L316:
-1615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3825 .loc 1 1615 0
- 3826 0058 2268 ldr r2, [r4]
- 3827 005a 1368 ldr r3, [r2]
- 3828 005c 23F40063 bic r3, r3, #2048
- 3829 0060 1360 str r3, [r2]
-1617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_SLAVE;
- 3830 .loc 1 1617 0
- 3831 0062 2223 movs r3, #34
- 3832 0064 84F83D30 strb r3, [r4, #61]
-1618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 3833 .loc 1 1618 0
- 3834 0068 2023 movs r3, #32
- 3835 006a 84F83E30 strb r3, [r4, #62]
-1619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3836 .loc 1 1619 0
- 3837 006e 0022 movs r2, #0
- 3838 0070 2264 str r2, [r4, #64]
-1622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 3839 .loc 1 1622 0
- 3840 0072 6762 str r7, [r4, #36]
-1623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
- 3841 .loc 1 1623 0
- 3842 0074 A4F82A80 strh r8, [r4, #42] @ movhi
-1624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
- 3843 .loc 1 1624 0
- 3844 0078 638D ldrh r3, [r4, #42]
- 3845 007a 2385 strh r3, [r4, #40] @ movhi
-1625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3846 .loc 1 1625 0
- 3847 007c 3C4B ldr r3, .L332
- 3848 007e E362 str r3, [r4, #44]
-1628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3849 .loc 1 1628 0
- 3850 0080 2168 ldr r1, [r4]
- 3851 0082 0B68 ldr r3, [r1]
- 3852 0084 43F48063 orr r3, r3, #1024
- 3853 0088 0B60 str r3, [r1]
-1631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3854 .loc 1 1631 0
- 3855 008a 0096 str r6, [sp]
- 3856 008c 2B46 mov r3, r5
- 3857 008e 3949 ldr r1, .L332+4
- 3858 0090 2046 mov r0, r4
- 3859 .LVL182:
- 3860 0092 FFF7FEFF bl I2C_WaitOnFlagUntilTimeout
- 3861 .LVL183:
- 3862 0096 0028 cmp r0, #0
- 3863 0098 67D1 bne .L326
- 3864 .LBB85:
-1637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3865 .loc 1 1637 0
-ARM GAS /tmp/cc8FAL5N.s page 211
-
-
- 3866 009a 0023 movs r3, #0
- 3867 009c 0293 str r3, [sp, #8]
- 3868 009e 2368 ldr r3, [r4]
- 3869 00a0 5A69 ldr r2, [r3, #20]
- 3870 00a2 0292 str r2, [sp, #8]
- 3871 00a4 9B69 ldr r3, [r3, #24]
- 3872 00a6 0293 str r3, [sp, #8]
- 3873 00a8 029B ldr r3, [sp, #8]
- 3874 .L317:
- 3875 .LBE85:
-1639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3876 .loc 1 1639 0
- 3877 00aa 238D ldrh r3, [r4, #40]
- 3878 00ac 002B cmp r3, #0
- 3879 00ae 31D0 beq .L329
-1642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3880 .loc 1 1642 0
- 3881 00b0 3246 mov r2, r6
- 3882 00b2 2946 mov r1, r5
- 3883 00b4 2046 mov r0, r4
- 3884 00b6 FFF7FEFF bl I2C_WaitOnRXNEFlagUntilTimeout
- 3885 .LVL184:
- 3886 00ba 20BB cbnz r0, .L330
-1651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3887 .loc 1 1651 0
- 3888 00bc 636A ldr r3, [r4, #36]
- 3889 00be 2268 ldr r2, [r4]
- 3890 00c0 1269 ldr r2, [r2, #16]
- 3891 00c2 1A70 strb r2, [r3]
-1654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3892 .loc 1 1654 0
- 3893 00c4 616A ldr r1, [r4, #36]
- 3894 00c6 4B1C adds r3, r1, #1
- 3895 00c8 6362 str r3, [r4, #36]
-1657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
- 3896 .loc 1 1657 0
- 3897 00ca 228D ldrh r2, [r4, #40]
- 3898 00cc 013A subs r2, r2, #1
- 3899 00ce 92B2 uxth r2, r2
- 3900 00d0 2285 strh r2, [r4, #40] @ movhi
-1658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3901 .loc 1 1658 0
- 3902 00d2 638D ldrh r3, [r4, #42]
- 3903 00d4 9BB2 uxth r3, r3
- 3904 00d6 013B subs r3, r3, #1
- 3905 00d8 9BB2 uxth r3, r3
- 3906 00da 6385 strh r3, [r4, #42] @ movhi
-1660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3907 .loc 1 1660 0
- 3908 00dc 2368 ldr r3, [r4]
- 3909 00de 5869 ldr r0, [r3, #20]
- 3910 00e0 10F0040F tst r0, #4
- 3911 00e4 E1D0 beq .L317
-1660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3912 .loc 1 1660 0 is_stmt 0 discriminator 1
- 3913 00e6 002A cmp r2, #0
- 3914 00e8 DFD0 beq .L317
-ARM GAS /tmp/cc8FAL5N.s page 212
-
-
-1663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3915 .loc 1 1663 0 is_stmt 1
- 3916 00ea 1B69 ldr r3, [r3, #16]
- 3917 00ec 4B70 strb r3, [r1, #1]
-1666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3918 .loc 1 1666 0
- 3919 00ee 636A ldr r3, [r4, #36]
- 3920 00f0 0133 adds r3, r3, #1
- 3921 00f2 6362 str r3, [r4, #36]
-1669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
- 3922 .loc 1 1669 0
- 3923 00f4 238D ldrh r3, [r4, #40]
- 3924 00f6 013B subs r3, r3, #1
- 3925 00f8 2385 strh r3, [r4, #40] @ movhi
-1670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3926 .loc 1 1670 0
- 3927 00fa 638D ldrh r3, [r4, #42]
- 3928 00fc 9BB2 uxth r3, r3
- 3929 00fe 013B subs r3, r3, #1
- 3930 0100 9BB2 uxth r3, r3
- 3931 0102 6385 strh r3, [r4, #42] @ movhi
- 3932 0104 D1E7 b .L317
- 3933 .L330:
-1645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3934 .loc 1 1645 0
- 3935 0106 2268 ldr r2, [r4]
- 3936 0108 1368 ldr r3, [r2]
- 3937 010a 23F48063 bic r3, r3, #1024
- 3938 010e 1360 str r3, [r2]
-1647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3939 .loc 1 1647 0
- 3940 0110 0123 movs r3, #1
- 3941 0112 84E7 b .L315
- 3942 .L329:
-1675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 3943 .loc 1 1675 0
- 3944 0114 3246 mov r2, r6
- 3945 0116 2946 mov r1, r5
- 3946 0118 2046 mov r0, r4
- 3947 011a FFF7FEFF bl I2C_WaitOnSTOPFlagUntilTimeout
- 3948 .LVL185:
- 3949 011e 0346 mov r3, r0
- 3950 0120 B0B9 cbnz r0, .L331
- 3951 .LBB86:
-1684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3952 .loc 1 1684 0
- 3953 0122 0022 movs r2, #0
- 3954 0124 0392 str r2, [sp, #12]
- 3955 0126 2168 ldr r1, [r4]
- 3956 0128 4869 ldr r0, [r1, #20]
- 3957 012a 0390 str r0, [sp, #12]
- 3958 012c 0868 ldr r0, [r1]
- 3959 012e 40F00100 orr r0, r0, #1
- 3960 0132 0860 str r0, [r1]
- 3961 0134 0399 ldr r1, [sp, #12]
- 3962 .LBE86:
-1687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 213
-
-
- 3963 .loc 1 1687 0
- 3964 0136 2068 ldr r0, [r4]
- 3965 0138 0168 ldr r1, [r0]
- 3966 013a 21F48061 bic r1, r1, #1024
- 3967 013e 0160 str r1, [r0]
-1689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 3968 .loc 1 1689 0
- 3969 0140 2021 movs r1, #32
- 3970 0142 84F83D10 strb r1, [r4, #61]
-1690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3971 .loc 1 1690 0
- 3972 0146 84F83E20 strb r2, [r4, #62]
-1693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3973 .loc 1 1693 0
- 3974 014a 84F83C20 strb r2, [r4, #60]
-1695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3975 .loc 1 1695 0
- 3976 014e 66E7 b .L315
- 3977 .L331:
-1678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3978 .loc 1 1678 0
- 3979 0150 2268 ldr r2, [r4]
- 3980 0152 1368 ldr r3, [r2]
- 3981 0154 23F48063 bic r3, r3, #1024
- 3982 0158 1360 str r3, [r2]
-1680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3983 .loc 1 1680 0
- 3984 015a 0123 movs r3, #1
- 3985 015c 5FE7 b .L315
- 3986 .LVL186:
- 3987 .L323:
-1601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 3988 .loc 1 1601 0
- 3989 015e 0123 movs r3, #1
- 3990 0160 5DE7 b .L315
- 3991 .L324:
- 3992 0162 0123 movs r3, #1
- 3993 0164 5BE7 b .L315
- 3994 .L325:
-1605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 3995 .loc 1 1605 0
- 3996 0166 0223 movs r3, #2
- 3997 0168 59E7 b .L315
- 3998 .LVL187:
- 3999 .L326:
-1633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 4000 .loc 1 1633 0
- 4001 016a 0123 movs r3, #1
- 4002 016c 57E7 b .L315
- 4003 .L333:
- 4004 016e 00BF .align 2
- 4005 .L332:
- 4006 0170 0000FFFF .word -65536
- 4007 0174 02000100 .word 65538
- 4008 .cfi_endproc
- 4009 .LFE72:
- 4011 .section .text.HAL_I2C_Master_Transmit_IT,"ax",%progbits
-ARM GAS /tmp/cc8FAL5N.s page 214
-
-
- 4012 .align 1
- 4013 .global HAL_I2C_Master_Transmit_IT
- 4014 .syntax unified
- 4015 .thumb
- 4016 .thumb_func
- 4017 .fpu softvfp
- 4019 HAL_I2C_Master_Transmit_IT:
- 4020 .LFB73:
-1714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
- 4021 .loc 1 1714 0
- 4022 .cfi_startproc
- 4023 @ args = 0, pretend = 0, frame = 8
- 4024 @ frame_needed = 0, uses_anonymous_args = 0
- 4025 @ link register save eliminated.
- 4026 .LVL188:
- 4027 0000 30B4 push {r4, r5}
- 4028 .LCFI50:
- 4029 .cfi_def_cfa_offset 8
- 4030 .cfi_offset 4, -8
- 4031 .cfi_offset 5, -4
- 4032 0002 82B0 sub sp, sp, #8
- 4033 .LCFI51:
- 4034 .cfi_def_cfa_offset 16
-1715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4035 .loc 1 1715 0
- 4036 0004 0024 movs r4, #0
- 4037 0006 0194 str r4, [sp, #4]
-1717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 4038 .loc 1 1717 0
- 4039 0008 90F83D40 ldrb r4, [r0, #61] @ zero_extendqisi2
- 4040 000c E4B2 uxtb r4, r4
- 4041 000e 202C cmp r4, #32
- 4042 0010 03D0 beq .L342
-1779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 4043 .loc 1 1779 0
- 4044 0012 0220 movs r0, #2
- 4045 .LVL189:
- 4046 .L335:
-1781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4047 .loc 1 1781 0
- 4048 0014 02B0 add sp, sp, #8
- 4049 .LCFI52:
- 4050 .cfi_remember_state
- 4051 .cfi_def_cfa_offset 8
- 4052 @ sp needed
- 4053 0016 30BC pop {r4, r5}
- 4054 .LCFI53:
- 4055 .cfi_restore 5
- 4056 .cfi_restore 4
- 4057 .cfi_def_cfa_offset 0
- 4058 0018 7047 bx lr
- 4059 .LVL190:
- 4060 .L342:
- 4061 .LCFI54:
- 4062 .cfi_restore_state
-1720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
- 4063 .loc 1 1720 0
-ARM GAS /tmp/cc8FAL5N.s page 215
-
-
- 4064 001a 2C4C ldr r4, .L344
- 4065 001c 2468 ldr r4, [r4]
- 4066 001e E408 lsrs r4, r4, #3
- 4067 0020 2B4D ldr r5, .L344+4
- 4068 0022 A5FB0454 umull r5, r4, r5, r4
- 4069 0026 240A lsrs r4, r4, #8
- 4070 0028 04EB8404 add r4, r4, r4, lsl #2
- 4071 002c 04EB8404 add r4, r4, r4, lsl #2
- 4072 0030 0194 str r4, [sp, #4]
- 4073 .L337:
-1723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
- 4074 .loc 1 1723 0
- 4075 0032 019C ldr r4, [sp, #4]
- 4076 0034 013C subs r4, r4, #1
- 4077 0036 0194 str r4, [sp, #4]
-1724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 4078 .loc 1 1724 0
- 4079 0038 019C ldr r4, [sp, #4]
- 4080 003a 002C cmp r4, #0
- 4081 003c 35D0 beq .L343
-1737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4082 .loc 1 1737 0
- 4083 003e 0468 ldr r4, [r0]
- 4084 0040 A569 ldr r5, [r4, #24]
- 4085 0042 15F0020F tst r5, #2
- 4086 0046 F4D1 bne .L337
-1740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4087 .loc 1 1740 0
- 4088 0048 90F83C50 ldrb r5, [r0, #60] @ zero_extendqisi2
- 4089 004c 012D cmp r5, #1
- 4090 004e 3BD0 beq .L340
-1740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4091 .loc 1 1740 0 is_stmt 0 discriminator 2
- 4092 0050 0125 movs r5, #1
- 4093 0052 80F83C50 strb r5, [r0, #60]
-1743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 4094 .loc 1 1743 0 is_stmt 1 discriminator 2
- 4095 0056 2568 ldr r5, [r4]
- 4096 0058 15F0010F tst r5, #1
- 4097 005c 03D1 bne .L338
-1746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 4098 .loc 1 1746 0
- 4099 005e 2568 ldr r5, [r4]
- 4100 0060 45F00105 orr r5, r5, #1
- 4101 0064 2560 str r5, [r4]
- 4102 .L338:
-1750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4103 .loc 1 1750 0
- 4104 0066 0568 ldr r5, [r0]
- 4105 0068 2C68 ldr r4, [r5]
- 4106 006a 24F40064 bic r4, r4, #2048
- 4107 006e 2C60 str r4, [r5]
-1752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MASTER;
- 4108 .loc 1 1752 0
- 4109 0070 2124 movs r4, #33
- 4110 0072 80F83D40 strb r4, [r0, #61]
-1753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
-ARM GAS /tmp/cc8FAL5N.s page 216
-
-
- 4111 .loc 1 1753 0
- 4112 0076 1024 movs r4, #16
- 4113 0078 80F83E40 strb r4, [r0, #62]
-1754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4114 .loc 1 1754 0
- 4115 007c 0024 movs r4, #0
- 4116 007e 0464 str r4, [r0, #64]
-1757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 4117 .loc 1 1757 0
- 4118 0080 4262 str r2, [r0, #36]
-1758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
- 4119 .loc 1 1758 0
- 4120 0082 4385 strh r3, [r0, #42] @ movhi
-1759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
- 4121 .loc 1 1759 0
- 4122 0084 438D ldrh r3, [r0, #42]
- 4123 .LVL191:
- 4124 0086 0385 strh r3, [r0, #40] @ movhi
-1760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Devaddress = DevAddress;
- 4125 .loc 1 1760 0
- 4126 0088 124B ldr r3, .L344+8
- 4127 008a C362 str r3, [r0, #44]
- 4128 .LVL192:
-1761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4129 .loc 1 1761 0
- 4130 008c 4164 str r1, [r0, #68]
-1764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4131 .loc 1 1764 0
- 4132 008e 0268 ldr r2, [r0]
- 4133 .LVL193:
- 4134 0090 1368 ldr r3, [r2]
- 4135 0092 43F48073 orr r3, r3, #256
- 4136 0096 1360 str r3, [r2]
- 4137 .LVL194:
-1767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4138 .loc 1 1767 0
- 4139 0098 80F83C40 strb r4, [r0, #60]
-1773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4140 .loc 1 1773 0
- 4141 009c 0268 ldr r2, [r0]
- 4142 009e 5368 ldr r3, [r2, #4]
- 4143 00a0 43F4E063 orr r3, r3, #1792
- 4144 00a4 5360 str r3, [r2, #4]
-1775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 4145 .loc 1 1775 0
- 4146 00a6 2046 mov r0, r4
- 4147 .LVL195:
- 4148 00a8 B4E7 b .L335
- 4149 .LVL196:
- 4150 .L343:
-1726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 4151 .loc 1 1726 0
- 4152 00aa 0023 movs r3, #0
- 4153 .LVL197:
- 4154 00ac 0363 str r3, [r0, #48]
-1727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 4155 .loc 1 1727 0
-ARM GAS /tmp/cc8FAL5N.s page 217
-
-
- 4156 00ae 2022 movs r2, #32
- 4157 .LVL198:
- 4158 00b0 80F83D20 strb r2, [r0, #61]
-1728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
- 4159 .loc 1 1728 0
- 4160 00b4 80F83E30 strb r3, [r0, #62]
-1729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4161 .loc 1 1729 0
- 4162 00b8 026C ldr r2, [r0, #64]
- 4163 00ba 42F02002 orr r2, r2, #32
- 4164 00be 0264 str r2, [r0, #64]
-1732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4165 .loc 1 1732 0
- 4166 00c0 80F83C30 strb r3, [r0, #60]
-1734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 4167 .loc 1 1734 0
- 4168 00c4 0120 movs r0, #1
- 4169 .LVL199:
- 4170 00c6 A5E7 b .L335
- 4171 .LVL200:
- 4172 .L340:
-1740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4173 .loc 1 1740 0
- 4174 00c8 0220 movs r0, #2
- 4175 .LVL201:
- 4176 00ca A3E7 b .L335
- 4177 .L345:
- 4178 .align 2
- 4179 .L344:
- 4180 00cc 00000000 .word SystemCoreClock
- 4181 00d0 89B5F814 .word 351843721
- 4182 00d4 0000FFFF .word -65536
- 4183 .cfi_endproc
- 4184 .LFE73:
- 4186 .section .text.HAL_I2C_Master_Receive_IT,"ax",%progbits
- 4187 .align 1
- 4188 .global HAL_I2C_Master_Receive_IT
- 4189 .syntax unified
- 4190 .thumb
- 4191 .thumb_func
- 4192 .fpu softvfp
- 4194 HAL_I2C_Master_Receive_IT:
- 4195 .LFB74:
-1794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
- 4196 .loc 1 1794 0
- 4197 .cfi_startproc
- 4198 @ args = 0, pretend = 0, frame = 8
- 4199 @ frame_needed = 0, uses_anonymous_args = 0
- 4200 @ link register save eliminated.
- 4201 .LVL202:
- 4202 0000 30B4 push {r4, r5}
- 4203 .LCFI55:
- 4204 .cfi_def_cfa_offset 8
- 4205 .cfi_offset 4, -8
- 4206 .cfi_offset 5, -4
- 4207 0002 82B0 sub sp, sp, #8
- 4208 .LCFI56:
-ARM GAS /tmp/cc8FAL5N.s page 218
-
-
- 4209 .cfi_def_cfa_offset 16
-1795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4210 .loc 1 1795 0
- 4211 0004 0024 movs r4, #0
- 4212 0006 0194 str r4, [sp, #4]
-1797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 4213 .loc 1 1797 0
- 4214 0008 90F83D40 ldrb r4, [r0, #61] @ zero_extendqisi2
- 4215 000c E4B2 uxtb r4, r4
- 4216 000e 202C cmp r4, #32
- 4217 0010 03D0 beq .L354
-1863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 4218 .loc 1 1863 0
- 4219 0012 0220 movs r0, #2
- 4220 .LVL203:
- 4221 .L347:
-1865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4222 .loc 1 1865 0
- 4223 0014 02B0 add sp, sp, #8
- 4224 .LCFI57:
- 4225 .cfi_remember_state
- 4226 .cfi_def_cfa_offset 8
- 4227 @ sp needed
- 4228 0016 30BC pop {r4, r5}
- 4229 .LCFI58:
- 4230 .cfi_restore 5
- 4231 .cfi_restore 4
- 4232 .cfi_def_cfa_offset 0
- 4233 0018 7047 bx lr
- 4234 .LVL204:
- 4235 .L354:
- 4236 .LCFI59:
- 4237 .cfi_restore_state
-1800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
- 4238 .loc 1 1800 0
- 4239 001a 2F4C ldr r4, .L356
- 4240 001c 2468 ldr r4, [r4]
- 4241 001e E408 lsrs r4, r4, #3
- 4242 0020 2E4D ldr r5, .L356+4
- 4243 0022 A5FB0454 umull r5, r4, r5, r4
- 4244 0026 240A lsrs r4, r4, #8
- 4245 0028 04EB8404 add r4, r4, r4, lsl #2
- 4246 002c 04EB8404 add r4, r4, r4, lsl #2
- 4247 0030 0194 str r4, [sp, #4]
- 4248 .L349:
-1803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
- 4249 .loc 1 1803 0
- 4250 0032 019C ldr r4, [sp, #4]
- 4251 0034 013C subs r4, r4, #1
- 4252 0036 0194 str r4, [sp, #4]
-1804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 4253 .loc 1 1804 0
- 4254 0038 019C ldr r4, [sp, #4]
- 4255 003a 002C cmp r4, #0
- 4256 003c 3AD0 beq .L355
-1817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4257 .loc 1 1817 0
-ARM GAS /tmp/cc8FAL5N.s page 219
-
-
- 4258 003e 0468 ldr r4, [r0]
- 4259 0040 A569 ldr r5, [r4, #24]
- 4260 0042 15F0020F tst r5, #2
- 4261 0046 F4D1 bne .L349
-1820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4262 .loc 1 1820 0
- 4263 0048 90F83C50 ldrb r5, [r0, #60] @ zero_extendqisi2
- 4264 004c 012D cmp r5, #1
- 4265 004e 40D0 beq .L352
-1820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4266 .loc 1 1820 0 is_stmt 0 discriminator 2
- 4267 0050 0125 movs r5, #1
- 4268 0052 80F83C50 strb r5, [r0, #60]
-1823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 4269 .loc 1 1823 0 is_stmt 1 discriminator 2
- 4270 0056 2568 ldr r5, [r4]
- 4271 0058 15F0010F tst r5, #1
- 4272 005c 03D1 bne .L350
-1826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 4273 .loc 1 1826 0
- 4274 005e 2568 ldr r5, [r4]
- 4275 0060 45F00105 orr r5, r5, #1
- 4276 0064 2560 str r5, [r4]
- 4277 .L350:
-1830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4278 .loc 1 1830 0
- 4279 0066 0568 ldr r5, [r0]
- 4280 0068 2C68 ldr r4, [r5]
- 4281 006a 24F40064 bic r4, r4, #2048
- 4282 006e 2C60 str r4, [r5]
-1832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MASTER;
- 4283 .loc 1 1832 0
- 4284 0070 2224 movs r4, #34
- 4285 0072 80F83D40 strb r4, [r0, #61]
-1833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 4286 .loc 1 1833 0
- 4287 0076 1024 movs r4, #16
- 4288 0078 80F83E40 strb r4, [r0, #62]
-1834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4289 .loc 1 1834 0
- 4290 007c 0024 movs r4, #0
- 4291 007e 0464 str r4, [r0, #64]
-1837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 4292 .loc 1 1837 0
- 4293 0080 4262 str r2, [r0, #36]
-1838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
- 4294 .loc 1 1838 0
- 4295 0082 4385 strh r3, [r0, #42] @ movhi
-1839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
- 4296 .loc 1 1839 0
- 4297 0084 438D ldrh r3, [r0, #42]
- 4298 .LVL205:
- 4299 0086 0385 strh r3, [r0, #40] @ movhi
-1840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Devaddress = DevAddress;
- 4300 .loc 1 1840 0
- 4301 0088 154B ldr r3, .L356+8
- 4302 008a C362 str r3, [r0, #44]
-ARM GAS /tmp/cc8FAL5N.s page 220
-
-
- 4303 .LVL206:
-1841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4304 .loc 1 1841 0
- 4305 008c 4164 str r1, [r0, #68]
-1844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4306 .loc 1 1844 0
- 4307 008e 0268 ldr r2, [r0]
- 4308 .LVL207:
- 4309 0090 1368 ldr r3, [r2]
- 4310 0092 43F48063 orr r3, r3, #1024
- 4311 0096 1360 str r3, [r2]
- 4312 .LVL208:
-1847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4313 .loc 1 1847 0
- 4314 0098 0268 ldr r2, [r0]
- 4315 009a 1368 ldr r3, [r2]
- 4316 009c 43F48073 orr r3, r3, #256
- 4317 00a0 1360 str r3, [r2]
-1850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4318 .loc 1 1850 0
- 4319 00a2 80F83C40 strb r4, [r0, #60]
-1857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4320 .loc 1 1857 0
- 4321 00a6 0268 ldr r2, [r0]
- 4322 00a8 5368 ldr r3, [r2, #4]
- 4323 00aa 43F4E063 orr r3, r3, #1792
- 4324 00ae 5360 str r3, [r2, #4]
-1859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 4325 .loc 1 1859 0
- 4326 00b0 2046 mov r0, r4
- 4327 .LVL209:
- 4328 00b2 AFE7 b .L347
- 4329 .LVL210:
- 4330 .L355:
-1806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 4331 .loc 1 1806 0
- 4332 00b4 0023 movs r3, #0
- 4333 .LVL211:
- 4334 00b6 0363 str r3, [r0, #48]
-1807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 4335 .loc 1 1807 0
- 4336 00b8 2022 movs r2, #32
- 4337 .LVL212:
- 4338 00ba 80F83D20 strb r2, [r0, #61]
-1808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
- 4339 .loc 1 1808 0
- 4340 00be 80F83E30 strb r3, [r0, #62]
-1809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4341 .loc 1 1809 0
- 4342 00c2 026C ldr r2, [r0, #64]
- 4343 00c4 42F02002 orr r2, r2, #32
- 4344 00c8 0264 str r2, [r0, #64]
-1812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4345 .loc 1 1812 0
- 4346 00ca 80F83C30 strb r3, [r0, #60]
-1814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 4347 .loc 1 1814 0
-ARM GAS /tmp/cc8FAL5N.s page 221
-
-
- 4348 00ce 0120 movs r0, #1
- 4349 .LVL213:
- 4350 00d0 A0E7 b .L347
- 4351 .LVL214:
- 4352 .L352:
-1820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4353 .loc 1 1820 0
- 4354 00d2 0220 movs r0, #2
- 4355 .LVL215:
- 4356 00d4 9EE7 b .L347
- 4357 .L357:
- 4358 00d6 00BF .align 2
- 4359 .L356:
- 4360 00d8 00000000 .word SystemCoreClock
- 4361 00dc 89B5F814 .word 351843721
- 4362 00e0 0000FFFF .word -65536
- 4363 .cfi_endproc
- 4364 .LFE74:
- 4366 .section .text.HAL_I2C_Slave_Transmit_IT,"ax",%progbits
- 4367 .align 1
- 4368 .global HAL_I2C_Slave_Transmit_IT
- 4369 .syntax unified
- 4370 .thumb
- 4371 .thumb_func
- 4372 .fpu softvfp
- 4374 HAL_I2C_Slave_Transmit_IT:
- 4375 .LFB75:
-1876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4376 .loc 1 1876 0
- 4377 .cfi_startproc
- 4378 @ args = 0, pretend = 0, frame = 0
- 4379 @ frame_needed = 0, uses_anonymous_args = 0
- 4380 @ link register save eliminated.
- 4381 .LVL216:
-1878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 4382 .loc 1 1878 0
- 4383 0000 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 4384 0004 DBB2 uxtb r3, r3
- 4385 0006 202B cmp r3, #32
- 4386 0008 01D0 beq .L369
-1925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 4387 .loc 1 1925 0
- 4388 000a 0220 movs r0, #2
- 4389 .LVL217:
- 4390 000c 7047 bx lr
- 4391 .LVL218:
- 4392 .L369:
-1880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 4393 .loc 1 1880 0
- 4394 000e 0029 cmp r1, #0
- 4395 0010 34D0 beq .L362
-1880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 4396 .loc 1 1880 0 is_stmt 0 discriminator 1
- 4397 0012 002A cmp r2, #0
- 4398 0014 34D0 beq .L363
-1886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4399 .loc 1 1886 0 is_stmt 1
-ARM GAS /tmp/cc8FAL5N.s page 222
-
-
- 4400 0016 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
- 4401 001a 012B cmp r3, #1
- 4402 001c 32D0 beq .L364
-1876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4403 .loc 1 1876 0 discriminator 2
- 4404 001e 10B4 push {r4}
- 4405 .LCFI60:
- 4406 .cfi_def_cfa_offset 4
- 4407 .cfi_offset 4, -4
-1886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4408 .loc 1 1886 0 discriminator 2
- 4409 0020 0123 movs r3, #1
- 4410 0022 80F83C30 strb r3, [r0, #60]
-1889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 4411 .loc 1 1889 0 discriminator 2
- 4412 0026 0368 ldr r3, [r0]
- 4413 0028 1C68 ldr r4, [r3]
- 4414 002a 14F0010F tst r4, #1
- 4415 002e 03D1 bne .L360
-1892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 4416 .loc 1 1892 0
- 4417 0030 1C68 ldr r4, [r3]
- 4418 0032 44F00104 orr r4, r4, #1
- 4419 0036 1C60 str r4, [r3]
- 4420 .L360:
-1896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4421 .loc 1 1896 0
- 4422 0038 0468 ldr r4, [r0]
- 4423 003a 2368 ldr r3, [r4]
- 4424 003c 23F40063 bic r3, r3, #2048
- 4425 0040 2360 str r3, [r4]
-1898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_SLAVE;
- 4426 .loc 1 1898 0
- 4427 0042 2123 movs r3, #33
- 4428 0044 80F83D30 strb r3, [r0, #61]
-1899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 4429 .loc 1 1899 0
- 4430 0048 2023 movs r3, #32
- 4431 004a 80F83E30 strb r3, [r0, #62]
-1900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4432 .loc 1 1900 0
- 4433 004e 0023 movs r3, #0
- 4434 0050 0364 str r3, [r0, #64]
-1903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 4435 .loc 1 1903 0
- 4436 0052 4162 str r1, [r0, #36]
-1904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
- 4437 .loc 1 1904 0
- 4438 0054 4285 strh r2, [r0, #42] @ movhi
-1905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
- 4439 .loc 1 1905 0
- 4440 0056 428D ldrh r2, [r0, #42]
- 4441 .LVL219:
- 4442 0058 0285 strh r2, [r0, #40] @ movhi
-1906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4443 .loc 1 1906 0
- 4444 005a 0B4A ldr r2, .L370
-ARM GAS /tmp/cc8FAL5N.s page 223
-
-
- 4445 005c C262 str r2, [r0, #44]
- 4446 .LVL220:
-1909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4447 .loc 1 1909 0
- 4448 005e 0168 ldr r1, [r0]
- 4449 .LVL221:
- 4450 0060 0A68 ldr r2, [r1]
- 4451 0062 42F48062 orr r2, r2, #1024
- 4452 0066 0A60 str r2, [r1]
- 4453 .LVL222:
-1912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4454 .loc 1 1912 0
- 4455 0068 80F83C30 strb r3, [r0, #60]
-1919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4456 .loc 1 1919 0
- 4457 006c 0168 ldr r1, [r0]
- 4458 006e 4A68 ldr r2, [r1, #4]
- 4459 0070 42F4E062 orr r2, r2, #1792
- 4460 0074 4A60 str r2, [r1, #4]
-1921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 4461 .loc 1 1921 0
- 4462 0076 1846 mov r0, r3
- 4463 .LVL223:
-1927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4464 .loc 1 1927 0
- 4465 0078 10BC pop {r4}
- 4466 .LCFI61:
- 4467 .cfi_restore 4
- 4468 .cfi_def_cfa_offset 0
- 4469 007a 7047 bx lr
- 4470 .LVL224:
- 4471 .L362:
-1882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 4472 .loc 1 1882 0
- 4473 007c 0120 movs r0, #1
- 4474 .LVL225:
- 4475 007e 7047 bx lr
- 4476 .LVL226:
- 4477 .L363:
- 4478 0080 0120 movs r0, #1
- 4479 .LVL227:
- 4480 0082 7047 bx lr
- 4481 .LVL228:
- 4482 .L364:
-1886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4483 .loc 1 1886 0
- 4484 0084 0220 movs r0, #2
- 4485 .LVL229:
- 4486 0086 7047 bx lr
- 4487 .L371:
- 4488 .align 2
- 4489 .L370:
- 4490 0088 0000FFFF .word -65536
- 4491 .cfi_endproc
- 4492 .LFE75:
- 4494 .section .text.HAL_I2C_Slave_Receive_IT,"ax",%progbits
- 4495 .align 1
-ARM GAS /tmp/cc8FAL5N.s page 224
-
-
- 4496 .global HAL_I2C_Slave_Receive_IT
- 4497 .syntax unified
- 4498 .thumb
- 4499 .thumb_func
- 4500 .fpu softvfp
- 4502 HAL_I2C_Slave_Receive_IT:
- 4503 .LFB76:
-1938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4504 .loc 1 1938 0
- 4505 .cfi_startproc
- 4506 @ args = 0, pretend = 0, frame = 0
- 4507 @ frame_needed = 0, uses_anonymous_args = 0
- 4508 @ link register save eliminated.
- 4509 .LVL230:
-1940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 4510 .loc 1 1940 0
- 4511 0000 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 4512 0004 DBB2 uxtb r3, r3
- 4513 0006 202B cmp r3, #32
- 4514 0008 01D0 beq .L383
-1987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 4515 .loc 1 1987 0
- 4516 000a 0220 movs r0, #2
- 4517 .LVL231:
- 4518 000c 7047 bx lr
- 4519 .LVL232:
- 4520 .L383:
-1942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 4521 .loc 1 1942 0
- 4522 000e 0029 cmp r1, #0
- 4523 0010 34D0 beq .L376
-1942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 4524 .loc 1 1942 0 is_stmt 0 discriminator 1
- 4525 0012 002A cmp r2, #0
- 4526 0014 34D0 beq .L377
-1948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4527 .loc 1 1948 0 is_stmt 1
- 4528 0016 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
- 4529 001a 012B cmp r3, #1
- 4530 001c 32D0 beq .L378
-1938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4531 .loc 1 1938 0 discriminator 2
- 4532 001e 10B4 push {r4}
- 4533 .LCFI62:
- 4534 .cfi_def_cfa_offset 4
- 4535 .cfi_offset 4, -4
-1948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4536 .loc 1 1948 0 discriminator 2
- 4537 0020 0123 movs r3, #1
- 4538 0022 80F83C30 strb r3, [r0, #60]
-1951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 4539 .loc 1 1951 0 discriminator 2
- 4540 0026 0368 ldr r3, [r0]
- 4541 0028 1C68 ldr r4, [r3]
- 4542 002a 14F0010F tst r4, #1
- 4543 002e 03D1 bne .L374
-1954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-ARM GAS /tmp/cc8FAL5N.s page 225
-
-
- 4544 .loc 1 1954 0
- 4545 0030 1C68 ldr r4, [r3]
- 4546 0032 44F00104 orr r4, r4, #1
- 4547 0036 1C60 str r4, [r3]
- 4548 .L374:
-1958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4549 .loc 1 1958 0
- 4550 0038 0468 ldr r4, [r0]
- 4551 003a 2368 ldr r3, [r4]
- 4552 003c 23F40063 bic r3, r3, #2048
- 4553 0040 2360 str r3, [r4]
-1960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_SLAVE;
- 4554 .loc 1 1960 0
- 4555 0042 2223 movs r3, #34
- 4556 0044 80F83D30 strb r3, [r0, #61]
-1961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 4557 .loc 1 1961 0
- 4558 0048 2023 movs r3, #32
- 4559 004a 80F83E30 strb r3, [r0, #62]
-1962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4560 .loc 1 1962 0
- 4561 004e 0023 movs r3, #0
- 4562 0050 0364 str r3, [r0, #64]
-1965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 4563 .loc 1 1965 0
- 4564 0052 4162 str r1, [r0, #36]
-1966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
- 4565 .loc 1 1966 0
- 4566 0054 4285 strh r2, [r0, #42] @ movhi
-1967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
- 4567 .loc 1 1967 0
- 4568 0056 428D ldrh r2, [r0, #42]
- 4569 .LVL233:
- 4570 0058 0285 strh r2, [r0, #40] @ movhi
-1968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4571 .loc 1 1968 0
- 4572 005a 0B4A ldr r2, .L384
- 4573 005c C262 str r2, [r0, #44]
- 4574 .LVL234:
-1971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4575 .loc 1 1971 0
- 4576 005e 0168 ldr r1, [r0]
- 4577 .LVL235:
- 4578 0060 0A68 ldr r2, [r1]
- 4579 0062 42F48062 orr r2, r2, #1024
- 4580 0066 0A60 str r2, [r1]
- 4581 .LVL236:
-1974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4582 .loc 1 1974 0
- 4583 0068 80F83C30 strb r3, [r0, #60]
-1981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4584 .loc 1 1981 0
- 4585 006c 0168 ldr r1, [r0]
- 4586 006e 4A68 ldr r2, [r1, #4]
- 4587 0070 42F4E062 orr r2, r2, #1792
- 4588 0074 4A60 str r2, [r1, #4]
-1983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-ARM GAS /tmp/cc8FAL5N.s page 226
-
-
- 4589 .loc 1 1983 0
- 4590 0076 1846 mov r0, r3
- 4591 .LVL237:
-1989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4592 .loc 1 1989 0
- 4593 0078 10BC pop {r4}
- 4594 .LCFI63:
- 4595 .cfi_restore 4
- 4596 .cfi_def_cfa_offset 0
- 4597 007a 7047 bx lr
- 4598 .LVL238:
- 4599 .L376:
-1944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 4600 .loc 1 1944 0
- 4601 007c 0120 movs r0, #1
- 4602 .LVL239:
- 4603 007e 7047 bx lr
- 4604 .LVL240:
- 4605 .L377:
- 4606 0080 0120 movs r0, #1
- 4607 .LVL241:
- 4608 0082 7047 bx lr
- 4609 .LVL242:
- 4610 .L378:
-1948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4611 .loc 1 1948 0
- 4612 0084 0220 movs r0, #2
- 4613 .LVL243:
- 4614 0086 7047 bx lr
- 4615 .L385:
- 4616 .align 2
- 4617 .L384:
- 4618 0088 0000FFFF .word -65536
- 4619 .cfi_endproc
- 4620 .LFE76:
- 4622 .section .text.HAL_I2C_Master_Transmit_DMA,"ax",%progbits
- 4623 .align 1
- 4624 .global HAL_I2C_Master_Transmit_DMA
- 4625 .syntax unified
- 4626 .thumb
- 4627 .thumb_func
- 4628 .fpu softvfp
- 4630 HAL_I2C_Master_Transmit_DMA:
- 4631 .LFB77:
-2002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
- 4632 .loc 1 2002 0
- 4633 .cfi_startproc
- 4634 @ args = 0, pretend = 0, frame = 8
- 4635 @ frame_needed = 0, uses_anonymous_args = 0
- 4636 .LVL244:
- 4637 0000 30B5 push {r4, r5, lr}
- 4638 .LCFI64:
- 4639 .cfi_def_cfa_offset 12
- 4640 .cfi_offset 4, -12
- 4641 .cfi_offset 5, -8
- 4642 .cfi_offset 14, -4
- 4643 0002 83B0 sub sp, sp, #12
-ARM GAS /tmp/cc8FAL5N.s page 227
-
-
- 4644 .LCFI65:
- 4645 .cfi_def_cfa_offset 24
-2003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef dmaxferstatus;
- 4646 .loc 1 2003 0
- 4647 0004 0024 movs r4, #0
- 4648 0006 0194 str r4, [sp, #4]
-2006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 4649 .loc 1 2006 0
- 4650 0008 90F83D40 ldrb r4, [r0, #61] @ zero_extendqisi2
- 4651 000c E4B2 uxtb r4, r4
- 4652 000e 202C cmp r4, #32
- 4653 0010 03D0 beq .L396
-2126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 4654 .loc 1 2126 0
- 4655 0012 0223 movs r3, #2
- 4656 .LVL245:
- 4657 .L387:
-2128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4658 .loc 1 2128 0
- 4659 0014 1846 mov r0, r3
- 4660 0016 03B0 add sp, sp, #12
- 4661 .LCFI66:
- 4662 .cfi_remember_state
- 4663 .cfi_def_cfa_offset 12
- 4664 @ sp needed
- 4665 0018 30BD pop {r4, r5, pc}
- 4666 .LVL246:
- 4667 .L396:
- 4668 .LCFI67:
- 4669 .cfi_restore_state
-2009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
- 4670 .loc 1 2009 0
- 4671 001a 4D4C ldr r4, .L399
- 4672 001c 2468 ldr r4, [r4]
- 4673 001e E408 lsrs r4, r4, #3
- 4674 0020 4C4D ldr r5, .L399+4
- 4675 0022 A5FB0454 umull r5, r4, r5, r4
- 4676 0026 240A lsrs r4, r4, #8
- 4677 0028 04EB8404 add r4, r4, r4, lsl #2
- 4678 002c 04EB8404 add r4, r4, r4, lsl #2
- 4679 0030 0194 str r4, [sp, #4]
- 4680 .L389:
-2012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
- 4681 .loc 1 2012 0
- 4682 0032 019C ldr r4, [sp, #4]
- 4683 0034 013C subs r4, r4, #1
- 4684 0036 0194 str r4, [sp, #4]
-2013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 4685 .loc 1 2013 0
- 4686 0038 019C ldr r4, [sp, #4]
- 4687 003a 002C cmp r4, #0
- 4688 003c 3CD0 beq .L397
-2026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4689 .loc 1 2026 0
- 4690 003e 0468 ldr r4, [r0]
- 4691 0040 A569 ldr r5, [r4, #24]
- 4692 0042 15F0020F tst r5, #2
-ARM GAS /tmp/cc8FAL5N.s page 228
-
-
- 4693 0046 F4D1 bne .L389
-2029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4694 .loc 1 2029 0
- 4695 0048 90F83C50 ldrb r5, [r0, #60] @ zero_extendqisi2
- 4696 004c 012D cmp r5, #1
- 4697 004e 7DD0 beq .L394
-2029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4698 .loc 1 2029 0 is_stmt 0 discriminator 2
- 4699 0050 0125 movs r5, #1
- 4700 0052 80F83C50 strb r5, [r0, #60]
-2032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 4701 .loc 1 2032 0 is_stmt 1 discriminator 2
- 4702 0056 2568 ldr r5, [r4]
- 4703 0058 15F0010F tst r5, #1
- 4704 005c 03D1 bne .L390
-2035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 4705 .loc 1 2035 0
- 4706 005e 2568 ldr r5, [r4]
- 4707 0060 45F00105 orr r5, r5, #1
- 4708 0064 2560 str r5, [r4]
- 4709 .L390:
-2039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4710 .loc 1 2039 0
- 4711 0066 0568 ldr r5, [r0]
- 4712 0068 2C68 ldr r4, [r5]
- 4713 006a 24F40064 bic r4, r4, #2048
- 4714 006e 2C60 str r4, [r5]
-2041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MASTER;
- 4715 .loc 1 2041 0
- 4716 0070 2124 movs r4, #33
- 4717 0072 80F83D40 strb r4, [r0, #61]
-2042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 4718 .loc 1 2042 0
- 4719 0076 1024 movs r4, #16
- 4720 0078 80F83E40 strb r4, [r0, #62]
-2043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4721 .loc 1 2043 0
- 4722 007c 0024 movs r4, #0
- 4723 007e 0464 str r4, [r0, #64]
-2046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 4724 .loc 1 2046 0
- 4725 0080 4262 str r2, [r0, #36]
-2047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
- 4726 .loc 1 2047 0
- 4727 0082 4385 strh r3, [r0, #42] @ movhi
-2048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
- 4728 .loc 1 2048 0
- 4729 0084 438D ldrh r3, [r0, #42]
- 4730 .LVL247:
- 4731 0086 9BB2 uxth r3, r3
- 4732 0088 0385 strh r3, [r0, #40] @ movhi
-2049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Devaddress = DevAddress;
- 4733 .loc 1 2049 0
- 4734 008a 334A ldr r2, .L399+8
- 4735 .LVL248:
- 4736 008c C262 str r2, [r0, #44]
- 4737 .LVL249:
-ARM GAS /tmp/cc8FAL5N.s page 229
-
-
-2050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4738 .loc 1 2050 0
- 4739 008e 4164 str r1, [r0, #68]
-2052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 4740 .loc 1 2052 0
- 4741 0090 0BBB cbnz r3, .L398
-2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4742 .loc 1 2106 0
- 4743 0092 0268 ldr r2, [r0]
- 4744 0094 1368 ldr r3, [r2]
- 4745 0096 43F48063 orr r3, r3, #1024
- 4746 009a 1360 str r3, [r2]
- 4747 .LVL250:
-2109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4748 .loc 1 2109 0
- 4749 009c 0268 ldr r2, [r0]
- 4750 009e 1368 ldr r3, [r2]
- 4751 00a0 43F48073 orr r3, r3, #256
- 4752 00a4 1360 str r3, [r2]
-2112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4753 .loc 1 2112 0
- 4754 00a6 0023 movs r3, #0
- 4755 00a8 80F83C30 strb r3, [r0, #60]
-2119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 4756 .loc 1 2119 0
- 4757 00ac 0168 ldr r1, [r0]
- 4758 .LVL251:
- 4759 00ae 4A68 ldr r2, [r1, #4]
- 4760 00b0 42F4E062 orr r2, r2, #1792
- 4761 00b4 4A60 str r2, [r1, #4]
- 4762 00b6 ADE7 b .L387
- 4763 .LVL252:
- 4764 .L397:
-2015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 4765 .loc 1 2015 0
- 4766 00b8 0023 movs r3, #0
- 4767 .LVL253:
- 4768 00ba 0363 str r3, [r0, #48]
-2016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 4769 .loc 1 2016 0
- 4770 00bc 2022 movs r2, #32
- 4771 .LVL254:
- 4772 00be 80F83D20 strb r2, [r0, #61]
-2017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
- 4773 .loc 1 2017 0
- 4774 00c2 80F83E30 strb r3, [r0, #62]
-2018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4775 .loc 1 2018 0
- 4776 00c6 026C ldr r2, [r0, #64]
- 4777 00c8 42F02002 orr r2, r2, #32
- 4778 00cc 0264 str r2, [r0, #64]
-2021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4779 .loc 1 2021 0
- 4780 00ce 80F83C30 strb r3, [r0, #60]
-2023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 4781 .loc 1 2023 0
- 4782 00d2 0123 movs r3, #1
-ARM GAS /tmp/cc8FAL5N.s page 230
-
-
- 4783 00d4 9EE7 b .L387
- 4784 .LVL255:
- 4785 .L398:
- 4786 00d6 0446 mov r4, r0
-2055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4787 .loc 1 2055 0
- 4788 00d8 436B ldr r3, [r0, #52]
- 4789 00da 204A ldr r2, .L399+12
- 4790 00dc 9A62 str r2, [r3, #40]
- 4791 .LVL256:
-2058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4792 .loc 1 2058 0
- 4793 00de 436B ldr r3, [r0, #52]
- 4794 00e0 1F4A ldr r2, .L399+16
- 4795 00e2 1A63 str r2, [r3, #48]
-2061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferAbortCallback = NULL;
- 4796 .loc 1 2061 0
- 4797 00e4 426B ldr r2, [r0, #52]
- 4798 00e6 0023 movs r3, #0
- 4799 00e8 D362 str r3, [r2, #44]
-2062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4800 .loc 1 2062 0
- 4801 00ea 426B ldr r2, [r0, #52]
- 4802 00ec 5363 str r3, [r2, #52]
-2065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4803 .loc 1 2065 0
- 4804 00ee 0268 ldr r2, [r0]
- 4805 00f0 038D ldrh r3, [r0, #40]
- 4806 00f2 1032 adds r2, r2, #16
- 4807 00f4 416A ldr r1, [r0, #36]
- 4808 .LVL257:
- 4809 00f6 406B ldr r0, [r0, #52]
- 4810 .LVL258:
- 4811 00f8 FFF7FEFF bl HAL_DMA_Start_IT
- 4812 .LVL259:
-2067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 4813 .loc 1 2067 0
- 4814 00fc 0346 mov r3, r0
- 4815 00fe B8B9 cbnz r0, .L392
-2070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4816 .loc 1 2070 0
- 4817 0100 2168 ldr r1, [r4]
- 4818 0102 0A68 ldr r2, [r1]
- 4819 0104 42F48062 orr r2, r2, #1024
- 4820 0108 0A60 str r2, [r1]
-2073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4821 .loc 1 2073 0
- 4822 010a 2168 ldr r1, [r4]
- 4823 010c 0A68 ldr r2, [r1]
- 4824 010e 42F48072 orr r2, r2, #256
- 4825 0112 0A60 str r2, [r1]
-2076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4826 .loc 1 2076 0
- 4827 0114 0022 movs r2, #0
- 4828 0116 84F83C20 strb r2, [r4, #60]
-2083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4829 .loc 1 2083 0
-ARM GAS /tmp/cc8FAL5N.s page 231
-
-
- 4830 011a 2168 ldr r1, [r4]
- 4831 011c 4A68 ldr r2, [r1, #4]
- 4832 011e 42F44072 orr r2, r2, #768
- 4833 0122 4A60 str r2, [r1, #4]
-2086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 4834 .loc 1 2086 0
- 4835 0124 2168 ldr r1, [r4]
- 4836 0126 4A68 ldr r2, [r1, #4]
- 4837 0128 42F40062 orr r2, r2, #2048
- 4838 012c 4A60 str r2, [r1, #4]
- 4839 012e 71E7 b .L387
- 4840 .L392:
-2091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 4841 .loc 1 2091 0
- 4842 0130 2023 movs r3, #32
- 4843 0132 84F83D30 strb r3, [r4, #61]
-2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4844 .loc 1 2092 0
- 4845 0136 0022 movs r2, #0
- 4846 0138 84F83E20 strb r2, [r4, #62]
-2095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4847 .loc 1 2095 0
- 4848 013c 236C ldr r3, [r4, #64]
- 4849 013e 43F01003 orr r3, r3, #16
- 4850 0142 2364 str r3, [r4, #64]
-2098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4851 .loc 1 2098 0
- 4852 0144 84F83C20 strb r2, [r4, #60]
-2100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 4853 .loc 1 2100 0
- 4854 0148 0123 movs r3, #1
- 4855 014a 63E7 b .L387
- 4856 .LVL260:
- 4857 .L394:
-2029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4858 .loc 1 2029 0
- 4859 014c 0223 movs r3, #2
- 4860 .LVL261:
- 4861 014e 61E7 b .L387
- 4862 .L400:
- 4863 .align 2
- 4864 .L399:
- 4865 0150 00000000 .word SystemCoreClock
- 4866 0154 89B5F814 .word 351843721
- 4867 0158 0000FFFF .word -65536
- 4868 015c 00000000 .word I2C_DMAXferCplt
- 4869 0160 00000000 .word I2C_DMAError
- 4870 .cfi_endproc
- 4871 .LFE77:
- 4873 .section .text.HAL_I2C_Master_Receive_DMA,"ax",%progbits
- 4874 .align 1
- 4875 .global HAL_I2C_Master_Receive_DMA
- 4876 .syntax unified
- 4877 .thumb
- 4878 .thumb_func
- 4879 .fpu softvfp
- 4881 HAL_I2C_Master_Receive_DMA:
-ARM GAS /tmp/cc8FAL5N.s page 232
-
-
- 4882 .LFB78:
-2141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
- 4883 .loc 1 2141 0
- 4884 .cfi_startproc
- 4885 @ args = 0, pretend = 0, frame = 8
- 4886 @ frame_needed = 0, uses_anonymous_args = 0
- 4887 .LVL262:
- 4888 0000 30B5 push {r4, r5, lr}
- 4889 .LCFI68:
- 4890 .cfi_def_cfa_offset 12
- 4891 .cfi_offset 4, -12
- 4892 .cfi_offset 5, -8
- 4893 .cfi_offset 14, -4
- 4894 0002 83B0 sub sp, sp, #12
- 4895 .LCFI69:
- 4896 .cfi_def_cfa_offset 24
-2142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef dmaxferstatus;
- 4897 .loc 1 2142 0
- 4898 0004 0024 movs r4, #0
- 4899 0006 0194 str r4, [sp, #4]
-2145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 4900 .loc 1 2145 0
- 4901 0008 90F83D40 ldrb r4, [r0, #61] @ zero_extendqisi2
- 4902 000c E4B2 uxtb r4, r4
- 4903 000e 202C cmp r4, #32
- 4904 0010 03D0 beq .L411
-2265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 4905 .loc 1 2265 0
- 4906 0012 0223 movs r3, #2
- 4907 .LVL263:
- 4908 .L402:
-2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4909 .loc 1 2267 0
- 4910 0014 1846 mov r0, r3
- 4911 0016 03B0 add sp, sp, #12
- 4912 .LCFI70:
- 4913 .cfi_remember_state
- 4914 .cfi_def_cfa_offset 12
- 4915 @ sp needed
- 4916 0018 30BD pop {r4, r5, pc}
- 4917 .LVL264:
- 4918 .L411:
- 4919 .LCFI71:
- 4920 .cfi_restore_state
-2148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
- 4921 .loc 1 2148 0
- 4922 001a 4D4C ldr r4, .L414
- 4923 001c 2468 ldr r4, [r4]
- 4924 001e E408 lsrs r4, r4, #3
- 4925 0020 4C4D ldr r5, .L414+4
- 4926 0022 A5FB0454 umull r5, r4, r5, r4
- 4927 0026 240A lsrs r4, r4, #8
- 4928 0028 04EB8404 add r4, r4, r4, lsl #2
- 4929 002c 04EB8404 add r4, r4, r4, lsl #2
- 4930 0030 0194 str r4, [sp, #4]
- 4931 .L404:
-2151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
-ARM GAS /tmp/cc8FAL5N.s page 233
-
-
- 4932 .loc 1 2151 0
- 4933 0032 019C ldr r4, [sp, #4]
- 4934 0034 013C subs r4, r4, #1
- 4935 0036 0194 str r4, [sp, #4]
-2152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 4936 .loc 1 2152 0
- 4937 0038 019C ldr r4, [sp, #4]
- 4938 003a 002C cmp r4, #0
- 4939 003c 3CD0 beq .L412
-2165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4940 .loc 1 2165 0
- 4941 003e 0468 ldr r4, [r0]
- 4942 0040 A569 ldr r5, [r4, #24]
- 4943 0042 15F0020F tst r5, #2
- 4944 0046 F4D1 bne .L404
-2168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4945 .loc 1 2168 0
- 4946 0048 90F83C50 ldrb r5, [r0, #60] @ zero_extendqisi2
- 4947 004c 012D cmp r5, #1
- 4948 004e 7DD0 beq .L409
-2168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4949 .loc 1 2168 0 is_stmt 0 discriminator 2
- 4950 0050 0125 movs r5, #1
- 4951 0052 80F83C50 strb r5, [r0, #60]
-2171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 4952 .loc 1 2171 0 is_stmt 1 discriminator 2
- 4953 0056 2568 ldr r5, [r4]
- 4954 0058 15F0010F tst r5, #1
- 4955 005c 03D1 bne .L405
-2174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 4956 .loc 1 2174 0
- 4957 005e 2568 ldr r5, [r4]
- 4958 0060 45F00105 orr r5, r5, #1
- 4959 0064 2560 str r5, [r4]
- 4960 .L405:
-2178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4961 .loc 1 2178 0
- 4962 0066 0568 ldr r5, [r0]
- 4963 0068 2C68 ldr r4, [r5]
- 4964 006a 24F40064 bic r4, r4, #2048
- 4965 006e 2C60 str r4, [r5]
-2180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MASTER;
- 4966 .loc 1 2180 0
- 4967 0070 2224 movs r4, #34
- 4968 0072 80F83D40 strb r4, [r0, #61]
-2181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 4969 .loc 1 2181 0
- 4970 0076 1024 movs r4, #16
- 4971 0078 80F83E40 strb r4, [r0, #62]
-2182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4972 .loc 1 2182 0
- 4973 007c 0024 movs r4, #0
- 4974 007e 0464 str r4, [r0, #64]
-2185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 4975 .loc 1 2185 0
- 4976 0080 4262 str r2, [r0, #36]
-2186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-ARM GAS /tmp/cc8FAL5N.s page 234
-
-
- 4977 .loc 1 2186 0
- 4978 0082 4385 strh r3, [r0, #42] @ movhi
-2187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
- 4979 .loc 1 2187 0
- 4980 0084 438D ldrh r3, [r0, #42]
- 4981 .LVL265:
- 4982 0086 9BB2 uxth r3, r3
- 4983 0088 0385 strh r3, [r0, #40] @ movhi
-2188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Devaddress = DevAddress;
- 4984 .loc 1 2188 0
- 4985 008a 334A ldr r2, .L414+8
- 4986 .LVL266:
- 4987 008c C262 str r2, [r0, #44]
- 4988 .LVL267:
-2189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4989 .loc 1 2189 0
- 4990 008e 4164 str r1, [r0, #68]
-2191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 4991 .loc 1 2191 0
- 4992 0090 0BBB cbnz r3, .L413
-2245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4993 .loc 1 2245 0
- 4994 0092 0268 ldr r2, [r0]
- 4995 0094 1368 ldr r3, [r2]
- 4996 0096 43F48063 orr r3, r3, #1024
- 4997 009a 1360 str r3, [r2]
- 4998 .LVL268:
-2248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 4999 .loc 1 2248 0
- 5000 009c 0268 ldr r2, [r0]
- 5001 009e 1368 ldr r3, [r2]
- 5002 00a0 43F48073 orr r3, r3, #256
- 5003 00a4 1360 str r3, [r2]
-2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5004 .loc 1 2251 0
- 5005 00a6 0023 movs r3, #0
- 5006 00a8 80F83C30 strb r3, [r0, #60]
-2258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5007 .loc 1 2258 0
- 5008 00ac 0168 ldr r1, [r0]
- 5009 .LVL269:
- 5010 00ae 4A68 ldr r2, [r1, #4]
- 5011 00b0 42F4E062 orr r2, r2, #1792
- 5012 00b4 4A60 str r2, [r1, #4]
- 5013 00b6 ADE7 b .L402
- 5014 .LVL270:
- 5015 .L412:
-2154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 5016 .loc 1 2154 0
- 5017 00b8 0023 movs r3, #0
- 5018 .LVL271:
- 5019 00ba 0363 str r3, [r0, #48]
-2155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 5020 .loc 1 2155 0
- 5021 00bc 2022 movs r2, #32
- 5022 .LVL272:
- 5023 00be 80F83D20 strb r2, [r0, #61]
-ARM GAS /tmp/cc8FAL5N.s page 235
-
-
-2156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
- 5024 .loc 1 2156 0
- 5025 00c2 80F83E30 strb r3, [r0, #62]
-2157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5026 .loc 1 2157 0
- 5027 00c6 026C ldr r2, [r0, #64]
- 5028 00c8 42F02002 orr r2, r2, #32
- 5029 00cc 0264 str r2, [r0, #64]
-2160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5030 .loc 1 2160 0
- 5031 00ce 80F83C30 strb r3, [r0, #60]
-2162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5032 .loc 1 2162 0
- 5033 00d2 0123 movs r3, #1
- 5034 00d4 9EE7 b .L402
- 5035 .LVL273:
- 5036 .L413:
- 5037 00d6 0446 mov r4, r0
-2194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5038 .loc 1 2194 0
- 5039 00d8 836B ldr r3, [r0, #56]
- 5040 00da 204A ldr r2, .L414+12
- 5041 00dc 9A62 str r2, [r3, #40]
- 5042 .LVL274:
-2197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5043 .loc 1 2197 0
- 5044 00de 836B ldr r3, [r0, #56]
- 5045 00e0 1F4A ldr r2, .L414+16
- 5046 00e2 1A63 str r2, [r3, #48]
-2200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferAbortCallback = NULL;
- 5047 .loc 1 2200 0
- 5048 00e4 826B ldr r2, [r0, #56]
- 5049 00e6 0023 movs r3, #0
- 5050 00e8 D362 str r3, [r2, #44]
-2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5051 .loc 1 2201 0
- 5052 00ea 826B ldr r2, [r0, #56]
- 5053 00ec 5363 str r3, [r2, #52]
-2204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5054 .loc 1 2204 0
- 5055 00ee 0168 ldr r1, [r0]
- 5056 .LVL275:
- 5057 00f0 038D ldrh r3, [r0, #40]
- 5058 00f2 426A ldr r2, [r0, #36]
- 5059 00f4 1031 adds r1, r1, #16
- 5060 00f6 806B ldr r0, [r0, #56]
- 5061 .LVL276:
- 5062 00f8 FFF7FEFF bl HAL_DMA_Start_IT
- 5063 .LVL277:
-2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5064 .loc 1 2206 0
- 5065 00fc 0346 mov r3, r0
- 5066 00fe B8B9 cbnz r0, .L407
-2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5067 .loc 1 2209 0
- 5068 0100 2168 ldr r1, [r4]
- 5069 0102 0A68 ldr r2, [r1]
-ARM GAS /tmp/cc8FAL5N.s page 236
-
-
- 5070 0104 42F48062 orr r2, r2, #1024
- 5071 0108 0A60 str r2, [r1]
-2212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5072 .loc 1 2212 0
- 5073 010a 2168 ldr r1, [r4]
- 5074 010c 0A68 ldr r2, [r1]
- 5075 010e 42F48072 orr r2, r2, #256
- 5076 0112 0A60 str r2, [r1]
-2215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5077 .loc 1 2215 0
- 5078 0114 0022 movs r2, #0
- 5079 0116 84F83C20 strb r2, [r4, #60]
-2222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5080 .loc 1 2222 0
- 5081 011a 2168 ldr r1, [r4]
- 5082 011c 4A68 ldr r2, [r1, #4]
- 5083 011e 42F44072 orr r2, r2, #768
- 5084 0122 4A60 str r2, [r1, #4]
-2225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5085 .loc 1 2225 0
- 5086 0124 2168 ldr r1, [r4]
- 5087 0126 4A68 ldr r2, [r1, #4]
- 5088 0128 42F40062 orr r2, r2, #2048
- 5089 012c 4A60 str r2, [r1, #4]
- 5090 012e 71E7 b .L402
- 5091 .L407:
-2230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 5092 .loc 1 2230 0
- 5093 0130 2023 movs r3, #32
- 5094 0132 84F83D30 strb r3, [r4, #61]
-2231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5095 .loc 1 2231 0
- 5096 0136 0022 movs r2, #0
- 5097 0138 84F83E20 strb r2, [r4, #62]
-2234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5098 .loc 1 2234 0
- 5099 013c 236C ldr r3, [r4, #64]
- 5100 013e 43F01003 orr r3, r3, #16
- 5101 0142 2364 str r3, [r4, #64]
-2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5102 .loc 1 2237 0
- 5103 0144 84F83C20 strb r2, [r4, #60]
-2239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5104 .loc 1 2239 0
- 5105 0148 0123 movs r3, #1
- 5106 014a 63E7 b .L402
- 5107 .LVL278:
- 5108 .L409:
-2168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5109 .loc 1 2168 0
- 5110 014c 0223 movs r3, #2
- 5111 .LVL279:
- 5112 014e 61E7 b .L402
- 5113 .L415:
- 5114 .align 2
- 5115 .L414:
- 5116 0150 00000000 .word SystemCoreClock
-ARM GAS /tmp/cc8FAL5N.s page 237
-
-
- 5117 0154 89B5F814 .word 351843721
- 5118 0158 0000FFFF .word -65536
- 5119 015c 00000000 .word I2C_DMAXferCplt
- 5120 0160 00000000 .word I2C_DMAError
- 5121 .cfi_endproc
- 5122 .LFE78:
- 5124 .section .text.HAL_I2C_Slave_Transmit_DMA,"ax",%progbits
- 5125 .align 1
- 5126 .global HAL_I2C_Slave_Transmit_DMA
- 5127 .syntax unified
- 5128 .thumb
- 5129 .thumb_func
- 5130 .fpu softvfp
- 5132 HAL_I2C_Slave_Transmit_DMA:
- 5133 .LFB79:
-2278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef dmaxferstatus;
- 5134 .loc 1 2278 0
- 5135 .cfi_startproc
- 5136 @ args = 0, pretend = 0, frame = 0
- 5137 @ frame_needed = 0, uses_anonymous_args = 0
- 5138 .LVL280:
-2281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5139 .loc 1 2281 0
- 5140 0000 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 5141 0004 DBB2 uxtb r3, r3
- 5142 0006 202B cmp r3, #32
- 5143 0008 02D0 beq .L428
-2360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5144 .loc 1 2360 0
- 5145 000a 0223 movs r3, #2
- 5146 .L425:
-2362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5147 .loc 1 2362 0
- 5148 000c 1846 mov r0, r3
- 5149 .LVL281:
- 5150 000e 7047 bx lr
- 5151 .LVL282:
- 5152 .L428:
-2283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5153 .loc 1 2283 0
- 5154 0010 0029 cmp r1, #0
- 5155 0012 5BD0 beq .L421
-2283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5156 .loc 1 2283 0 is_stmt 0 discriminator 1
- 5157 0014 002A cmp r2, #0
- 5158 0016 5BD0 beq .L422
-2289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5159 .loc 1 2289 0 is_stmt 1
- 5160 0018 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
- 5161 001c 012B cmp r3, #1
- 5162 001e 59D0 beq .L423
-2278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef dmaxferstatus;
- 5163 .loc 1 2278 0 discriminator 2
- 5164 0020 10B5 push {r4, lr}
- 5165 .LCFI72:
- 5166 .cfi_def_cfa_offset 8
- 5167 .cfi_offset 4, -8
-ARM GAS /tmp/cc8FAL5N.s page 238
-
-
- 5168 .cfi_offset 14, -4
-2289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5169 .loc 1 2289 0 discriminator 2
- 5170 0022 0123 movs r3, #1
- 5171 0024 80F83C30 strb r3, [r0, #60]
-2292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5172 .loc 1 2292 0 discriminator 2
- 5173 0028 0368 ldr r3, [r0]
- 5174 002a 1C68 ldr r4, [r3]
- 5175 002c 14F0010F tst r4, #1
- 5176 0030 03D1 bne .L418
-2295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5177 .loc 1 2295 0
- 5178 0032 1C68 ldr r4, [r3]
- 5179 0034 44F00104 orr r4, r4, #1
- 5180 0038 1C60 str r4, [r3]
- 5181 .L418:
- 5182 003a 0446 mov r4, r0
-2299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5183 .loc 1 2299 0
- 5184 003c 0068 ldr r0, [r0]
- 5185 .LVL283:
- 5186 003e 0368 ldr r3, [r0]
- 5187 0040 23F40063 bic r3, r3, #2048
- 5188 0044 0360 str r3, [r0]
-2301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_SLAVE;
- 5189 .loc 1 2301 0
- 5190 0046 2123 movs r3, #33
- 5191 0048 84F83D30 strb r3, [r4, #61]
-2302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 5192 .loc 1 2302 0
- 5193 004c 2023 movs r3, #32
- 5194 004e 84F83E30 strb r3, [r4, #62]
-2303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5195 .loc 1 2303 0
- 5196 0052 0023 movs r3, #0
- 5197 0054 2364 str r3, [r4, #64]
-2306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 5198 .loc 1 2306 0
- 5199 0056 6162 str r1, [r4, #36]
-2307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
- 5200 .loc 1 2307 0
- 5201 0058 6285 strh r2, [r4, #42] @ movhi
-2308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
- 5202 .loc 1 2308 0
- 5203 005a 628D ldrh r2, [r4, #42]
- 5204 .LVL284:
- 5205 005c 2285 strh r2, [r4, #40] @ movhi
-2309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5206 .loc 1 2309 0
- 5207 005e 1E4A ldr r2, .L430
- 5208 0060 E262 str r2, [r4, #44]
- 5209 .LVL285:
-2312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5210 .loc 1 2312 0
- 5211 0062 626B ldr r2, [r4, #52]
- 5212 0064 1D49 ldr r1, .L430+4
-ARM GAS /tmp/cc8FAL5N.s page 239
-
-
- 5213 .LVL286:
- 5214 0066 9162 str r1, [r2, #40]
- 5215 .LVL287:
-2315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5216 .loc 1 2315 0
- 5217 0068 626B ldr r2, [r4, #52]
- 5218 006a 1D49 ldr r1, .L430+8
- 5219 006c 1163 str r1, [r2, #48]
-2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferAbortCallback = NULL;
- 5220 .loc 1 2318 0
- 5221 006e 626B ldr r2, [r4, #52]
- 5222 0070 D362 str r3, [r2, #44]
-2319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5223 .loc 1 2319 0
- 5224 0072 626B ldr r2, [r4, #52]
- 5225 0074 5363 str r3, [r2, #52]
-2322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5226 .loc 1 2322 0
- 5227 0076 2268 ldr r2, [r4]
- 5228 0078 238D ldrh r3, [r4, #40]
- 5229 007a 1032 adds r2, r2, #16
- 5230 007c 616A ldr r1, [r4, #36]
- 5231 007e 606B ldr r0, [r4, #52]
- 5232 0080 FFF7FEFF bl HAL_DMA_Start_IT
- 5233 .LVL288:
-2324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5234 .loc 1 2324 0
- 5235 0084 0346 mov r3, r0
- 5236 0086 70B1 cbz r0, .L429
-2346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 5237 .loc 1 2346 0
- 5238 0088 2023 movs r3, #32
- 5239 008a 84F83D30 strb r3, [r4, #61]
-2347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5240 .loc 1 2347 0
- 5241 008e 0022 movs r2, #0
- 5242 0090 84F83E20 strb r2, [r4, #62]
-2350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5243 .loc 1 2350 0
- 5244 0094 236C ldr r3, [r4, #64]
- 5245 0096 43F01003 orr r3, r3, #16
- 5246 009a 2364 str r3, [r4, #64]
-2353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5247 .loc 1 2353 0
- 5248 009c 84F83C20 strb r2, [r4, #60]
-2355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5249 .loc 1 2355 0
- 5250 00a0 0123 movs r3, #1
- 5251 .L417:
-2362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5252 .loc 1 2362 0
- 5253 00a2 1846 mov r0, r3
- 5254 .LVL289:
- 5255 00a4 10BD pop {r4, pc}
- 5256 .LVL290:
- 5257 .L429:
-2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 240
-
-
- 5258 .loc 1 2327 0
- 5259 00a6 2168 ldr r1, [r4]
- 5260 00a8 0A68 ldr r2, [r1]
- 5261 00aa 42F48062 orr r2, r2, #1024
- 5262 00ae 0A60 str r2, [r1]
-2330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5263 .loc 1 2330 0
- 5264 00b0 0022 movs r2, #0
- 5265 00b2 84F83C20 strb r2, [r4, #60]
-2336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5266 .loc 1 2336 0
- 5267 00b6 2168 ldr r1, [r4]
- 5268 00b8 4A68 ldr r2, [r1, #4]
- 5269 00ba 42F44072 orr r2, r2, #768
- 5270 00be 4A60 str r2, [r1, #4]
-2339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5271 .loc 1 2339 0
- 5272 00c0 2168 ldr r1, [r4]
- 5273 00c2 4A68 ldr r2, [r1, #4]
- 5274 00c4 42F40062 orr r2, r2, #2048
- 5275 00c8 4A60 str r2, [r1, #4]
-2341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5276 .loc 1 2341 0
- 5277 00ca EAE7 b .L417
- 5278 .LVL291:
- 5279 .L421:
- 5280 .LCFI73:
- 5281 .cfi_def_cfa_offset 0
- 5282 .cfi_restore 4
- 5283 .cfi_restore 14
-2285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5284 .loc 1 2285 0
- 5285 00cc 0123 movs r3, #1
- 5286 00ce 9DE7 b .L425
- 5287 .L422:
- 5288 00d0 0123 movs r3, #1
- 5289 00d2 9BE7 b .L425
- 5290 .L423:
-2289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5291 .loc 1 2289 0
- 5292 00d4 0223 movs r3, #2
- 5293 00d6 99E7 b .L425
- 5294 .L431:
- 5295 .align 2
- 5296 .L430:
- 5297 00d8 0000FFFF .word -65536
- 5298 00dc 00000000 .word I2C_DMAXferCplt
- 5299 00e0 00000000 .word I2C_DMAError
- 5300 .cfi_endproc
- 5301 .LFE79:
- 5303 .section .text.HAL_I2C_Slave_Receive_DMA,"ax",%progbits
- 5304 .align 1
- 5305 .global HAL_I2C_Slave_Receive_DMA
- 5306 .syntax unified
- 5307 .thumb
- 5308 .thumb_func
- 5309 .fpu softvfp
-ARM GAS /tmp/cc8FAL5N.s page 241
-
-
- 5311 HAL_I2C_Slave_Receive_DMA:
- 5312 .LFB80:
-2373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef dmaxferstatus;
- 5313 .loc 1 2373 0
- 5314 .cfi_startproc
- 5315 @ args = 0, pretend = 0, frame = 0
- 5316 @ frame_needed = 0, uses_anonymous_args = 0
- 5317 .LVL292:
-2376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5318 .loc 1 2376 0
- 5319 0000 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 5320 0004 DBB2 uxtb r3, r3
- 5321 0006 202B cmp r3, #32
- 5322 0008 02D0 beq .L444
-2455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5323 .loc 1 2455 0
- 5324 000a 0223 movs r3, #2
- 5325 .L441:
-2457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5326 .loc 1 2457 0
- 5327 000c 1846 mov r0, r3
- 5328 .LVL293:
- 5329 000e 7047 bx lr
- 5330 .LVL294:
- 5331 .L444:
-2378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5332 .loc 1 2378 0
- 5333 0010 0029 cmp r1, #0
- 5334 0012 5BD0 beq .L437
-2378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5335 .loc 1 2378 0 is_stmt 0 discriminator 1
- 5336 0014 002A cmp r2, #0
- 5337 0016 5BD0 beq .L438
-2384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5338 .loc 1 2384 0 is_stmt 1
- 5339 0018 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
- 5340 001c 012B cmp r3, #1
- 5341 001e 59D0 beq .L439
-2373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef dmaxferstatus;
- 5342 .loc 1 2373 0 discriminator 2
- 5343 0020 10B5 push {r4, lr}
- 5344 .LCFI74:
- 5345 .cfi_def_cfa_offset 8
- 5346 .cfi_offset 4, -8
- 5347 .cfi_offset 14, -4
-2384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5348 .loc 1 2384 0 discriminator 2
- 5349 0022 0123 movs r3, #1
- 5350 0024 80F83C30 strb r3, [r0, #60]
-2387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5351 .loc 1 2387 0 discriminator 2
- 5352 0028 0368 ldr r3, [r0]
- 5353 002a 1C68 ldr r4, [r3]
- 5354 002c 14F0010F tst r4, #1
- 5355 0030 03D1 bne .L434
-2390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5356 .loc 1 2390 0
-ARM GAS /tmp/cc8FAL5N.s page 242
-
-
- 5357 0032 1C68 ldr r4, [r3]
- 5358 0034 44F00104 orr r4, r4, #1
- 5359 0038 1C60 str r4, [r3]
- 5360 .L434:
- 5361 003a 0446 mov r4, r0
-2394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5362 .loc 1 2394 0
- 5363 003c 0068 ldr r0, [r0]
- 5364 .LVL295:
- 5365 003e 0368 ldr r3, [r0]
- 5366 0040 23F40063 bic r3, r3, #2048
- 5367 0044 0360 str r3, [r0]
-2396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_SLAVE;
- 5368 .loc 1 2396 0
- 5369 0046 2223 movs r3, #34
- 5370 0048 84F83D30 strb r3, [r4, #61]
-2397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 5371 .loc 1 2397 0
- 5372 004c 2023 movs r3, #32
- 5373 004e 84F83E30 strb r3, [r4, #62]
-2398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5374 .loc 1 2398 0
- 5375 0052 0023 movs r3, #0
- 5376 0054 2364 str r3, [r4, #64]
-2401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 5377 .loc 1 2401 0
- 5378 0056 6162 str r1, [r4, #36]
-2402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
- 5379 .loc 1 2402 0
- 5380 0058 6285 strh r2, [r4, #42] @ movhi
-2403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
- 5381 .loc 1 2403 0
- 5382 005a 628D ldrh r2, [r4, #42]
- 5383 .LVL296:
- 5384 005c 2285 strh r2, [r4, #40] @ movhi
-2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5385 .loc 1 2404 0
- 5386 005e 1E4A ldr r2, .L446
- 5387 0060 E262 str r2, [r4, #44]
- 5388 .LVL297:
-2407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5389 .loc 1 2407 0
- 5390 0062 A26B ldr r2, [r4, #56]
- 5391 0064 1D49 ldr r1, .L446+4
- 5392 .LVL298:
- 5393 0066 9162 str r1, [r2, #40]
- 5394 .LVL299:
-2410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5395 .loc 1 2410 0
- 5396 0068 A26B ldr r2, [r4, #56]
- 5397 006a 1D49 ldr r1, .L446+8
- 5398 006c 1163 str r1, [r2, #48]
-2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferAbortCallback = NULL;
- 5399 .loc 1 2413 0
- 5400 006e A26B ldr r2, [r4, #56]
- 5401 0070 D362 str r3, [r2, #44]
-2414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 243
-
-
- 5402 .loc 1 2414 0
- 5403 0072 A26B ldr r2, [r4, #56]
- 5404 0074 5363 str r3, [r2, #52]
-2417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5405 .loc 1 2417 0
- 5406 0076 2168 ldr r1, [r4]
- 5407 0078 238D ldrh r3, [r4, #40]
- 5408 007a 626A ldr r2, [r4, #36]
- 5409 007c 1031 adds r1, r1, #16
- 5410 007e A06B ldr r0, [r4, #56]
- 5411 0080 FFF7FEFF bl HAL_DMA_Start_IT
- 5412 .LVL300:
-2419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5413 .loc 1 2419 0
- 5414 0084 0346 mov r3, r0
- 5415 0086 70B1 cbz r0, .L445
-2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 5416 .loc 1 2441 0
- 5417 0088 2023 movs r3, #32
- 5418 008a 84F83D30 strb r3, [r4, #61]
-2442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5419 .loc 1 2442 0
- 5420 008e 0022 movs r2, #0
- 5421 0090 84F83E20 strb r2, [r4, #62]
-2445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5422 .loc 1 2445 0
- 5423 0094 236C ldr r3, [r4, #64]
- 5424 0096 43F01003 orr r3, r3, #16
- 5425 009a 2364 str r3, [r4, #64]
-2448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5426 .loc 1 2448 0
- 5427 009c 84F83C20 strb r2, [r4, #60]
-2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5428 .loc 1 2450 0
- 5429 00a0 0123 movs r3, #1
- 5430 .L433:
-2457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5431 .loc 1 2457 0
- 5432 00a2 1846 mov r0, r3
- 5433 .LVL301:
- 5434 00a4 10BD pop {r4, pc}
- 5435 .LVL302:
- 5436 .L445:
-2422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5437 .loc 1 2422 0
- 5438 00a6 2168 ldr r1, [r4]
- 5439 00a8 0A68 ldr r2, [r1]
- 5440 00aa 42F48062 orr r2, r2, #1024
- 5441 00ae 0A60 str r2, [r1]
-2425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5442 .loc 1 2425 0
- 5443 00b0 0022 movs r2, #0
- 5444 00b2 84F83C20 strb r2, [r4, #60]
-2431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5445 .loc 1 2431 0
- 5446 00b6 2168 ldr r1, [r4]
- 5447 00b8 4A68 ldr r2, [r1, #4]
-ARM GAS /tmp/cc8FAL5N.s page 244
-
-
- 5448 00ba 42F44072 orr r2, r2, #768
- 5449 00be 4A60 str r2, [r1, #4]
-2434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5450 .loc 1 2434 0
- 5451 00c0 2168 ldr r1, [r4]
- 5452 00c2 4A68 ldr r2, [r1, #4]
- 5453 00c4 42F40062 orr r2, r2, #2048
- 5454 00c8 4A60 str r2, [r1, #4]
-2436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5455 .loc 1 2436 0
- 5456 00ca EAE7 b .L433
- 5457 .LVL303:
- 5458 .L437:
- 5459 .LCFI75:
- 5460 .cfi_def_cfa_offset 0
- 5461 .cfi_restore 4
- 5462 .cfi_restore 14
-2380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5463 .loc 1 2380 0
- 5464 00cc 0123 movs r3, #1
- 5465 00ce 9DE7 b .L441
- 5466 .L438:
- 5467 00d0 0123 movs r3, #1
- 5468 00d2 9BE7 b .L441
- 5469 .L439:
-2384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5470 .loc 1 2384 0
- 5471 00d4 0223 movs r3, #2
- 5472 00d6 99E7 b .L441
- 5473 .L447:
- 5474 .align 2
- 5475 .L446:
- 5476 00d8 0000FFFF .word -65536
- 5477 00dc 00000000 .word I2C_DMAXferCplt
- 5478 00e0 00000000 .word I2C_DMAError
- 5479 .cfi_endproc
- 5480 .LFE80:
- 5482 .section .text.HAL_I2C_Mem_Write,"ax",%progbits
- 5483 .align 1
- 5484 .global HAL_I2C_Mem_Write
- 5485 .syntax unified
- 5486 .thumb
- 5487 .thumb_func
- 5488 .fpu softvfp
- 5490 HAL_I2C_Mem_Write:
- 5491 .LFB81:
-2473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Init tickstart for timeout management*/
- 5492 .loc 1 2473 0
- 5493 .cfi_startproc
- 5494 @ args = 12, pretend = 0, frame = 0
- 5495 @ frame_needed = 0, uses_anonymous_args = 0
- 5496 .LVL304:
- 5497 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr}
- 5498 .LCFI76:
- 5499 .cfi_def_cfa_offset 24
- 5500 .cfi_offset 4, -24
- 5501 .cfi_offset 5, -20
-ARM GAS /tmp/cc8FAL5N.s page 245
-
-
- 5502 .cfi_offset 6, -16
- 5503 .cfi_offset 7, -12
- 5504 .cfi_offset 8, -8
- 5505 .cfi_offset 14, -4
- 5506 0004 82B0 sub sp, sp, #8
- 5507 .LCFI77:
- 5508 .cfi_def_cfa_offset 32
- 5509 0006 0446 mov r4, r0
- 5510 0008 0E46 mov r6, r1
- 5511 000a 1746 mov r7, r2
- 5512 000c 9846 mov r8, r3
-2475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5513 .loc 1 2475 0
- 5514 000e FFF7FEFF bl HAL_GetTick
- 5515 .LVL305:
-2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5516 .loc 1 2480 0
- 5517 0012 94F83D30 ldrb r3, [r4, #61] @ zero_extendqisi2
- 5518 0016 DBB2 uxtb r3, r3
- 5519 0018 202B cmp r3, #32
- 5520 001a 04D0 beq .L463
-2578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5521 .loc 1 2578 0
- 5522 001c 0223 movs r3, #2
- 5523 .LVL306:
- 5524 .L449:
-2580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5525 .loc 1 2580 0
- 5526 001e 1846 mov r0, r3
- 5527 0020 02B0 add sp, sp, #8
- 5528 .LCFI78:
- 5529 .cfi_remember_state
- 5530 .cfi_def_cfa_offset 24
- 5531 @ sp needed
- 5532 0022 BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 5533 .LVL307:
- 5534 .L463:
- 5535 .LCFI79:
- 5536 .cfi_restore_state
- 5537 0026 0546 mov r5, r0
-2483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5538 .loc 1 2483 0
- 5539 0028 0090 str r0, [sp]
- 5540 002a 1923 movs r3, #25
- 5541 002c 0122 movs r2, #1
- 5542 002e 4C49 ldr r1, .L470
- 5543 0030 2046 mov r0, r4
- 5544 .LVL308:
- 5545 0032 FFF7FEFF bl I2C_WaitOnFlagUntilTimeout
- 5546 .LVL309:
- 5547 0036 08B1 cbz r0, .L464
-2485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5548 .loc 1 2485 0
- 5549 0038 0223 movs r3, #2
- 5550 003a F0E7 b .L449
- 5551 .L464:
-2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 246
-
-
- 5552 .loc 1 2489 0
- 5553 003c 94F83C30 ldrb r3, [r4, #60] @ zero_extendqisi2
- 5554 0040 012B cmp r3, #1
- 5555 0042 00F08880 beq .L458
-2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5556 .loc 1 2489 0 is_stmt 0 discriminator 2
- 5557 0046 0123 movs r3, #1
- 5558 0048 84F83C30 strb r3, [r4, #60]
-2492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5559 .loc 1 2492 0 is_stmt 1 discriminator 2
- 5560 004c 2368 ldr r3, [r4]
- 5561 004e 1A68 ldr r2, [r3]
- 5562 0050 12F0010F tst r2, #1
- 5563 0054 03D1 bne .L450
-2495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5564 .loc 1 2495 0
- 5565 0056 1A68 ldr r2, [r3]
- 5566 0058 42F00102 orr r2, r2, #1
- 5567 005c 1A60 str r2, [r3]
- 5568 .L450:
-2499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5569 .loc 1 2499 0
- 5570 005e 2268 ldr r2, [r4]
- 5571 0060 1368 ldr r3, [r2]
- 5572 0062 23F40063 bic r3, r3, #2048
- 5573 0066 1360 str r3, [r2]
-2501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MEM;
- 5574 .loc 1 2501 0
- 5575 0068 2123 movs r3, #33
- 5576 006a 84F83D30 strb r3, [r4, #61]
-2502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 5577 .loc 1 2502 0
- 5578 006e 4023 movs r3, #64
- 5579 0070 84F83E30 strb r3, [r4, #62]
-2503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5580 .loc 1 2503 0
- 5581 0074 0023 movs r3, #0
- 5582 0076 2364 str r3, [r4, #64]
-2506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 5583 .loc 1 2506 0
- 5584 0078 089B ldr r3, [sp, #32]
- 5585 007a 6362 str r3, [r4, #36]
-2507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
- 5586 .loc 1 2507 0
- 5587 007c BDF82430 ldrh r3, [sp, #36]
- 5588 0080 6385 strh r3, [r4, #42] @ movhi
-2508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
- 5589 .loc 1 2508 0
- 5590 0082 638D ldrh r3, [r4, #42]
- 5591 0084 2385 strh r3, [r4, #40] @ movhi
-2509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5592 .loc 1 2509 0
- 5593 0086 374B ldr r3, .L470+4
- 5594 0088 E362 str r3, [r4, #44]
-2512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5595 .loc 1 2512 0
- 5596 008a 0195 str r5, [sp, #4]
-ARM GAS /tmp/cc8FAL5N.s page 247
-
-
- 5597 008c 0A9B ldr r3, [sp, #40]
- 5598 008e 0093 str r3, [sp]
- 5599 0090 4346 mov r3, r8
- 5600 0092 3A46 mov r2, r7
- 5601 0094 3146 mov r1, r6
- 5602 0096 2046 mov r0, r4
- 5603 0098 FFF7FEFF bl I2C_RequestMemoryWrite
- 5604 .LVL310:
- 5605 009c 0028 cmp r0, #0
- 5606 009e 5CD1 bne .L465
- 5607 .L451:
-2517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5608 .loc 1 2517 0
- 5609 00a0 238D ldrh r3, [r4, #40]
- 5610 00a2 002B cmp r3, #0
- 5611 00a4 36D0 beq .L466
-2520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5612 .loc 1 2520 0
- 5613 00a6 2A46 mov r2, r5
- 5614 00a8 0A99 ldr r1, [sp, #40]
- 5615 00aa 2046 mov r0, r4
- 5616 00ac FFF7FEFF bl I2C_WaitOnTXEFlagUntilTimeout
- 5617 .LVL311:
- 5618 00b0 20BB cbnz r0, .L467
-2531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5619 .loc 1 2531 0
- 5620 00b2 2368 ldr r3, [r4]
- 5621 00b4 626A ldr r2, [r4, #36]
- 5622 00b6 1278 ldrb r2, [r2] @ zero_extendqisi2
- 5623 00b8 1A61 str r2, [r3, #16]
-2534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5624 .loc 1 2534 0
- 5625 00ba 616A ldr r1, [r4, #36]
- 5626 00bc 4B1C adds r3, r1, #1
- 5627 00be 6362 str r3, [r4, #36]
-2537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
- 5628 .loc 1 2537 0
- 5629 00c0 228D ldrh r2, [r4, #40]
- 5630 00c2 013A subs r2, r2, #1
- 5631 00c4 92B2 uxth r2, r2
- 5632 00c6 2285 strh r2, [r4, #40] @ movhi
-2538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5633 .loc 1 2538 0
- 5634 00c8 638D ldrh r3, [r4, #42]
- 5635 00ca 9BB2 uxth r3, r3
- 5636 00cc 013B subs r3, r3, #1
- 5637 00ce 9BB2 uxth r3, r3
- 5638 00d0 6385 strh r3, [r4, #42] @ movhi
-2540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5639 .loc 1 2540 0
- 5640 00d2 2368 ldr r3, [r4]
- 5641 00d4 5869 ldr r0, [r3, #20]
- 5642 00d6 10F0040F tst r0, #4
- 5643 00da E1D0 beq .L451
-2540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5644 .loc 1 2540 0 is_stmt 0 discriminator 1
- 5645 00dc 002A cmp r2, #0
-ARM GAS /tmp/cc8FAL5N.s page 248
-
-
- 5646 00de DFD0 beq .L451
-2543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5647 .loc 1 2543 0 is_stmt 1
- 5648 00e0 4A78 ldrb r2, [r1, #1] @ zero_extendqisi2
- 5649 00e2 1A61 str r2, [r3, #16]
-2546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5650 .loc 1 2546 0
- 5651 00e4 636A ldr r3, [r4, #36]
- 5652 00e6 0133 adds r3, r3, #1
- 5653 00e8 6362 str r3, [r4, #36]
-2549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
- 5654 .loc 1 2549 0
- 5655 00ea 238D ldrh r3, [r4, #40]
- 5656 00ec 013B subs r3, r3, #1
- 5657 00ee 2385 strh r3, [r4, #40] @ movhi
-2550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5658 .loc 1 2550 0
- 5659 00f0 638D ldrh r3, [r4, #42]
- 5660 00f2 9BB2 uxth r3, r3
- 5661 00f4 013B subs r3, r3, #1
- 5662 00f6 9BB2 uxth r3, r3
- 5663 00f8 6385 strh r3, [r4, #42] @ movhi
- 5664 00fa D1E7 b .L451
- 5665 .L467:
-2522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5666 .loc 1 2522 0
- 5667 00fc 236C ldr r3, [r4, #64]
- 5668 00fe 042B cmp r3, #4
- 5669 0100 01D0 beq .L468
-2527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5670 .loc 1 2527 0
- 5671 0102 0123 movs r3, #1
- 5672 0104 8BE7 b .L449
- 5673 .L468:
-2525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5674 .loc 1 2525 0
- 5675 0106 2268 ldr r2, [r4]
- 5676 0108 1368 ldr r3, [r2]
- 5677 010a 43F40073 orr r3, r3, #512
- 5678 010e 1360 str r3, [r2]
-2527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5679 .loc 1 2527 0
- 5680 0110 0123 movs r3, #1
- 5681 0112 84E7 b .L449
- 5682 .L466:
-2555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5683 .loc 1 2555 0
- 5684 0114 2A46 mov r2, r5
- 5685 0116 0A99 ldr r1, [sp, #40]
- 5686 0118 2046 mov r0, r4
- 5687 011a FFF7FEFF bl I2C_WaitOnBTFFlagUntilTimeout
- 5688 .LVL312:
- 5689 011e 0346 mov r3, r0
- 5690 0120 58B1 cbz r0, .L455
-2557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5691 .loc 1 2557 0
- 5692 0122 236C ldr r3, [r4, #64]
-ARM GAS /tmp/cc8FAL5N.s page 249
-
-
- 5693 0124 042B cmp r3, #4
- 5694 0126 01D0 beq .L469
-2562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5695 .loc 1 2562 0
- 5696 0128 0123 movs r3, #1
- 5697 012a 78E7 b .L449
- 5698 .L469:
-2560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5699 .loc 1 2560 0
- 5700 012c 2268 ldr r2, [r4]
- 5701 012e 1368 ldr r3, [r2]
- 5702 0130 43F40073 orr r3, r3, #512
- 5703 0134 1360 str r3, [r2]
-2562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5704 .loc 1 2562 0
- 5705 0136 0123 movs r3, #1
- 5706 0138 71E7 b .L449
- 5707 .L455:
-2566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5708 .loc 1 2566 0
- 5709 013a 2168 ldr r1, [r4]
- 5710 013c 0A68 ldr r2, [r1]
- 5711 013e 42F40072 orr r2, r2, #512
- 5712 0142 0A60 str r2, [r1]
-2568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 5713 .loc 1 2568 0
- 5714 0144 2022 movs r2, #32
- 5715 0146 84F83D20 strb r2, [r4, #61]
-2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5716 .loc 1 2569 0
- 5717 014a 0022 movs r2, #0
- 5718 014c 84F83E20 strb r2, [r4, #62]
-2572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5719 .loc 1 2572 0
- 5720 0150 84F83C20 strb r2, [r4, #60]
-2574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5721 .loc 1 2574 0
- 5722 0154 63E7 b .L449
- 5723 .L458:
-2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5724 .loc 1 2489 0
- 5725 0156 0223 movs r3, #2
- 5726 0158 61E7 b .L449
- 5727 .L465:
-2514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5728 .loc 1 2514 0
- 5729 015a 0123 movs r3, #1
- 5730 015c 5FE7 b .L449
- 5731 .L471:
- 5732 015e 00BF .align 2
- 5733 .L470:
- 5734 0160 02001000 .word 1048578
- 5735 0164 0000FFFF .word -65536
- 5736 .cfi_endproc
- 5737 .LFE81:
- 5739 .section .text.HAL_I2C_Mem_Read,"ax",%progbits
- 5740 .align 1
-ARM GAS /tmp/cc8FAL5N.s page 250
-
-
- 5741 .global HAL_I2C_Mem_Read
- 5742 .syntax unified
- 5743 .thumb
- 5744 .thumb_func
- 5745 .fpu softvfp
- 5747 HAL_I2C_Mem_Read:
- 5748 .LFB82:
-2596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
- 5749 .loc 1 2596 0
- 5750 .cfi_startproc
- 5751 @ args = 12, pretend = 0, frame = 24
- 5752 @ frame_needed = 0, uses_anonymous_args = 0
- 5753 .LVL313:
- 5754 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr}
- 5755 .LCFI80:
- 5756 .cfi_def_cfa_offset 24
- 5757 .cfi_offset 4, -24
- 5758 .cfi_offset 5, -20
- 5759 .cfi_offset 6, -16
- 5760 .cfi_offset 7, -12
- 5761 .cfi_offset 8, -8
- 5762 .cfi_offset 14, -4
- 5763 0004 88B0 sub sp, sp, #32
- 5764 .LCFI81:
- 5765 .cfi_def_cfa_offset 56
- 5766 0006 0446 mov r4, r0
- 5767 0008 0D46 mov r5, r1
- 5768 000a 1746 mov r7, r2
- 5769 000c 9846 mov r8, r3
-2597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5770 .loc 1 2597 0
- 5771 000e 0023 movs r3, #0
- 5772 .LVL314:
- 5773 0010 0793 str r3, [sp, #28]
-2600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5774 .loc 1 2600 0
- 5775 0012 FFF7FEFF bl HAL_GetTick
- 5776 .LVL315:
-2605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5777 .loc 1 2605 0
- 5778 0016 94F83D30 ldrb r3, [r4, #61] @ zero_extendqisi2
- 5779 001a DBB2 uxtb r3, r3
- 5780 001c 202B cmp r3, #32
- 5781 001e 04D0 beq .L496
-2875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5782 .loc 1 2875 0
- 5783 0020 0225 movs r5, #2
- 5784 .LVL316:
- 5785 .L473:
-2877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5786 .loc 1 2877 0
- 5787 0022 2846 mov r0, r5
- 5788 0024 08B0 add sp, sp, #32
- 5789 .LCFI82:
- 5790 .cfi_remember_state
- 5791 .cfi_def_cfa_offset 24
- 5792 @ sp needed
-ARM GAS /tmp/cc8FAL5N.s page 251
-
-
- 5793 0026 BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 5794 .LVL317:
- 5795 .L496:
- 5796 .LCFI83:
- 5797 .cfi_restore_state
- 5798 002a 0646 mov r6, r0
-2608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5799 .loc 1 2608 0
- 5800 002c 0090 str r0, [sp]
- 5801 002e 1923 movs r3, #25
- 5802 0030 0122 movs r2, #1
- 5803 0032 9749 ldr r1, .L504
- 5804 0034 2046 mov r0, r4
- 5805 .LVL318:
- 5806 0036 FFF7FEFF bl I2C_WaitOnFlagUntilTimeout
- 5807 .LVL319:
- 5808 003a 08B1 cbz r0, .L497
-2610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5809 .loc 1 2610 0
- 5810 003c 0225 movs r5, #2
- 5811 003e F0E7 b .L473
- 5812 .L497:
-2614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5813 .loc 1 2614 0
- 5814 0040 94F83C30 ldrb r3, [r4, #60] @ zero_extendqisi2
- 5815 0044 012B cmp r3, #1
- 5816 0046 00F06F81 beq .L489
-2614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5817 .loc 1 2614 0 is_stmt 0 discriminator 2
- 5818 004a 0123 movs r3, #1
- 5819 004c 84F83C30 strb r3, [r4, #60]
-2617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5820 .loc 1 2617 0 is_stmt 1 discriminator 2
- 5821 0050 2368 ldr r3, [r4]
- 5822 0052 1A68 ldr r2, [r3]
- 5823 0054 12F0010F tst r2, #1
- 5824 0058 03D1 bne .L474
-2620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5825 .loc 1 2620 0
- 5826 005a 1A68 ldr r2, [r3]
- 5827 005c 42F00102 orr r2, r2, #1
- 5828 0060 1A60 str r2, [r3]
- 5829 .L474:
-2624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5830 .loc 1 2624 0
- 5831 0062 2268 ldr r2, [r4]
- 5832 0064 1368 ldr r3, [r2]
- 5833 0066 23F40063 bic r3, r3, #2048
- 5834 006a 1360 str r3, [r2]
-2626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MEM;
- 5835 .loc 1 2626 0
- 5836 006c 2223 movs r3, #34
- 5837 006e 84F83D30 strb r3, [r4, #61]
-2627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 5838 .loc 1 2627 0
- 5839 0072 4023 movs r3, #64
- 5840 0074 84F83E30 strb r3, [r4, #62]
-ARM GAS /tmp/cc8FAL5N.s page 252
-
-
-2628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5841 .loc 1 2628 0
- 5842 0078 0023 movs r3, #0
- 5843 007a 2364 str r3, [r4, #64]
-2631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 5844 .loc 1 2631 0
- 5845 007c 0E9B ldr r3, [sp, #56]
- 5846 007e 6362 str r3, [r4, #36]
-2632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
- 5847 .loc 1 2632 0
- 5848 0080 BDF83C30 ldrh r3, [sp, #60]
- 5849 0084 6385 strh r3, [r4, #42] @ movhi
-2633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
- 5850 .loc 1 2633 0
- 5851 0086 638D ldrh r3, [r4, #42]
- 5852 0088 2385 strh r3, [r4, #40] @ movhi
-2634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5853 .loc 1 2634 0
- 5854 008a 824B ldr r3, .L504+4
- 5855 008c E362 str r3, [r4, #44]
-2637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5856 .loc 1 2637 0
- 5857 008e 0196 str r6, [sp, #4]
- 5858 0090 109B ldr r3, [sp, #64]
- 5859 0092 0093 str r3, [sp]
- 5860 0094 4346 mov r3, r8
- 5861 0096 3A46 mov r2, r7
- 5862 0098 2946 mov r1, r5
- 5863 009a 2046 mov r0, r4
- 5864 009c FFF7FEFF bl I2C_RequestMemoryRead
- 5865 .LVL320:
- 5866 00a0 0546 mov r5, r0
- 5867 00a2 0028 cmp r0, #0
- 5868 00a4 40F04281 bne .L490
-2642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5869 .loc 1 2642 0
- 5870 00a8 238D ldrh r3, [r4, #40]
- 5871 00aa 5BB9 cbnz r3, .L475
- 5872 .LBB87:
-2645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5873 .loc 1 2645 0
- 5874 00ac 0393 str r3, [sp, #12]
- 5875 00ae 2368 ldr r3, [r4]
- 5876 00b0 5A69 ldr r2, [r3, #20]
- 5877 00b2 0392 str r2, [sp, #12]
- 5878 00b4 9A69 ldr r2, [r3, #24]
- 5879 00b6 0392 str r2, [sp, #12]
- 5880 00b8 039A ldr r2, [sp, #12]
- 5881 .LBE87:
-2648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5882 .loc 1 2648 0
- 5883 00ba 1A68 ldr r2, [r3]
- 5884 00bc 42F40072 orr r2, r2, #512
- 5885 00c0 1A60 str r2, [r3]
- 5886 00c2 80E0 b .L479
- 5887 .L475:
-2650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-ARM GAS /tmp/cc8FAL5N.s page 253
-
-
- 5888 .loc 1 2650 0
- 5889 00c4 012B cmp r3, #1
- 5890 00c6 0FD0 beq .L498
-2668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 5891 .loc 1 2668 0
- 5892 00c8 022B cmp r3, #2
- 5893 00ca 21D0 beq .L499
-2689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear ADDR flag */
- 5894 .loc 1 2689 0
- 5895 00cc 2268 ldr r2, [r4]
- 5896 00ce 1368 ldr r3, [r2]
- 5897 00d0 43F48063 orr r3, r3, #1024
- 5898 00d4 1360 str r3, [r2]
- 5899 .LBB88:
-2691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 5900 .loc 1 2691 0
- 5901 00d6 0023 movs r3, #0
- 5902 00d8 0693 str r3, [sp, #24]
- 5903 00da 2368 ldr r3, [r4]
- 5904 00dc 5A69 ldr r2, [r3, #20]
- 5905 00de 0692 str r2, [sp, #24]
- 5906 00e0 9B69 ldr r3, [r3, #24]
- 5907 00e2 0693 str r3, [sp, #24]
- 5908 00e4 069B ldr r3, [sp, #24]
- 5909 00e6 6EE0 b .L479
- 5910 .L498:
- 5911 .LBE88:
-2653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5912 .loc 1 2653 0
- 5913 00e8 2268 ldr r2, [r4]
- 5914 00ea 1368 ldr r3, [r2]
- 5915 00ec 23F48063 bic r3, r3, #1024
- 5916 00f0 1360 str r3, [r2]
- 5917 .LBB89:
- 5918 .LBB90:
- 5919 .loc 2 142 0
- 5920 .syntax unified
- 5921 @ 142 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 5922 00f2 72B6 cpsid i
- 5923 @ 0 "" 2
- 5924 .thumb
- 5925 .syntax unified
- 5926 .LBE90:
- 5927 .LBE89:
- 5928 .LBB91:
-2660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5929 .loc 1 2660 0
- 5930 00f4 0023 movs r3, #0
- 5931 00f6 0493 str r3, [sp, #16]
- 5932 00f8 2368 ldr r3, [r4]
- 5933 00fa 5A69 ldr r2, [r3, #20]
- 5934 00fc 0492 str r2, [sp, #16]
- 5935 00fe 9A69 ldr r2, [r3, #24]
- 5936 0100 0492 str r2, [sp, #16]
- 5937 0102 049A ldr r2, [sp, #16]
- 5938 .LBE91:
-2663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 254
-
-
- 5939 .loc 1 2663 0
- 5940 0104 1A68 ldr r2, [r3]
- 5941 0106 42F40072 orr r2, r2, #512
- 5942 010a 1A60 str r2, [r3]
- 5943 .LBB92:
- 5944 .LBB93:
- 131:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 5945 .loc 2 131 0
- 5946 .syntax unified
- 5947 @ 131 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 5948 010c 62B6 cpsie i
- 5949 @ 0 "" 2
- 5950 .thumb
- 5951 .syntax unified
- 5952 010e 5AE0 b .L479
- 5953 .L499:
- 5954 .LBE93:
- 5955 .LBE92:
-2671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5956 .loc 1 2671 0
- 5957 0110 2268 ldr r2, [r4]
- 5958 0112 1368 ldr r3, [r2]
- 5959 0114 43F40063 orr r3, r3, #2048
- 5960 0118 1360 str r3, [r2]
- 5961 .LBB94:
- 5962 .LBB95:
- 5963 .loc 2 142 0
- 5964 .syntax unified
- 5965 @ 142 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 5966 011a 72B6 cpsid i
- 5967 @ 0 "" 2
- 5968 .thumb
- 5969 .syntax unified
- 5970 .LBE95:
- 5971 .LBE94:
- 5972 .LBB96:
-2678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5973 .loc 1 2678 0
- 5974 011c 0023 movs r3, #0
- 5975 011e 0593 str r3, [sp, #20]
- 5976 0120 2368 ldr r3, [r4]
- 5977 0122 5A69 ldr r2, [r3, #20]
- 5978 0124 0592 str r2, [sp, #20]
- 5979 0126 9A69 ldr r2, [r3, #24]
- 5980 0128 0592 str r2, [sp, #20]
- 5981 012a 059A ldr r2, [sp, #20]
- 5982 .LBE96:
-2681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 5983 .loc 1 2681 0
- 5984 012c 1A68 ldr r2, [r3]
- 5985 012e 22F48062 bic r2, r2, #1024
- 5986 0132 1A60 str r2, [r3]
- 5987 .LBB97:
- 5988 .LBB98:
- 131:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 5989 .loc 2 131 0
- 5990 .syntax unified
-ARM GAS /tmp/cc8FAL5N.s page 255
-
-
- 5991 @ 131 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 5992 0134 62B6 cpsie i
- 5993 @ 0 "" 2
- 5994 .thumb
- 5995 .syntax unified
- 5996 0136 46E0 b .L479
- 5997 .L501:
- 5998 .LBE98:
- 5999 .LBE97:
-2702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 6000 .loc 1 2702 0
- 6001 0138 3246 mov r2, r6
- 6002 013a 1099 ldr r1, [sp, #64]
- 6003 013c 2046 mov r0, r4
- 6004 013e FFF7FEFF bl I2C_WaitOnRXNEFlagUntilTimeout
- 6005 .LVL321:
- 6006 0142 0028 cmp r0, #0
- 6007 0144 40F0F480 bne .L491
-2708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6008 .loc 1 2708 0
- 6009 0148 636A ldr r3, [r4, #36]
- 6010 014a 2268 ldr r2, [r4]
- 6011 014c 1269 ldr r2, [r2, #16]
- 6012 014e 1A70 strb r2, [r3]
-2711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6013 .loc 1 2711 0
- 6014 0150 636A ldr r3, [r4, #36]
- 6015 0152 0133 adds r3, r3, #1
- 6016 0154 6362 str r3, [r4, #36]
-2714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
- 6017 .loc 1 2714 0
- 6018 0156 238D ldrh r3, [r4, #40]
- 6019 0158 013B subs r3, r3, #1
- 6020 015a 2385 strh r3, [r4, #40] @ movhi
-2715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6021 .loc 1 2715 0
- 6022 015c 638D ldrh r3, [r4, #42]
- 6023 015e 9BB2 uxth r3, r3
- 6024 0160 013B subs r3, r3, #1
- 6025 0162 9BB2 uxth r3, r3
- 6026 0164 6385 strh r3, [r4, #42] @ movhi
- 6027 0166 2EE0 b .L479
- 6028 .L502:
-2721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 6029 .loc 1 2721 0
- 6030 0168 0096 str r6, [sp]
- 6031 016a 109B ldr r3, [sp, #64]
- 6032 016c 0022 movs r2, #0
- 6033 016e 4A49 ldr r1, .L504+8
- 6034 0170 2046 mov r0, r4
- 6035 0172 FFF7FEFF bl I2C_WaitOnFlagUntilTimeout
- 6036 .LVL322:
- 6037 0176 0028 cmp r0, #0
- 6038 0178 40F0DC80 bne .L492
- 6039 .LBB99:
- 6040 .LBB100:
- 6041 .loc 2 142 0
-ARM GAS /tmp/cc8FAL5N.s page 256
-
-
- 6042 .syntax unified
- 6043 @ 142 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 6044 017c 72B6 cpsid i
- 6045 @ 0 "" 2
- 6046 .thumb
- 6047 .syntax unified
- 6048 .LBE100:
- 6049 .LBE99:
-2731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6050 .loc 1 2731 0
- 6051 017e 2268 ldr r2, [r4]
- 6052 0180 1368 ldr r3, [r2]
- 6053 0182 43F40073 orr r3, r3, #512
- 6054 0186 1360 str r3, [r2]
-2734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6055 .loc 1 2734 0
- 6056 0188 636A ldr r3, [r4, #36]
- 6057 018a 2268 ldr r2, [r4]
- 6058 018c 1269 ldr r2, [r2, #16]
- 6059 018e 1A70 strb r2, [r3]
-2737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6060 .loc 1 2737 0
- 6061 0190 636A ldr r3, [r4, #36]
- 6062 0192 0133 adds r3, r3, #1
- 6063 0194 6362 str r3, [r4, #36]
-2740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
- 6064 .loc 1 2740 0
- 6065 0196 238D ldrh r3, [r4, #40]
- 6066 0198 013B subs r3, r3, #1
- 6067 019a 2385 strh r3, [r4, #40] @ movhi
-2741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6068 .loc 1 2741 0
- 6069 019c 638D ldrh r3, [r4, #42]
- 6070 019e 9BB2 uxth r3, r3
- 6071 01a0 013B subs r3, r3, #1
- 6072 01a2 9BB2 uxth r3, r3
- 6073 01a4 6385 strh r3, [r4, #42] @ movhi
- 6074 .LBB101:
- 6075 .LBB102:
- 131:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 6076 .loc 2 131 0
- 6077 .syntax unified
- 6078 @ 131 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 6079 01a6 62B6 cpsie i
- 6080 @ 0 "" 2
- 6081 .thumb
- 6082 .syntax unified
- 6083 .LBE102:
- 6084 .LBE101:
-2747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6085 .loc 1 2747 0
- 6086 01a8 636A ldr r3, [r4, #36]
- 6087 01aa 2268 ldr r2, [r4]
- 6088 01ac 1269 ldr r2, [r2, #16]
- 6089 01ae 1A70 strb r2, [r3]
-2750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6090 .loc 1 2750 0
-ARM GAS /tmp/cc8FAL5N.s page 257
-
-
- 6091 01b0 636A ldr r3, [r4, #36]
- 6092 01b2 0133 adds r3, r3, #1
- 6093 01b4 6362 str r3, [r4, #36]
-2753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
- 6094 .loc 1 2753 0
- 6095 01b6 238D ldrh r3, [r4, #40]
- 6096 01b8 013B subs r3, r3, #1
- 6097 01ba 2385 strh r3, [r4, #40] @ movhi
-2754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6098 .loc 1 2754 0
- 6099 01bc 638D ldrh r3, [r4, #42]
- 6100 01be 9BB2 uxth r3, r3
- 6101 01c0 013B subs r3, r3, #1
- 6102 01c2 9BB2 uxth r3, r3
- 6103 01c4 6385 strh r3, [r4, #42] @ movhi
- 6104 .L479:
-2694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 6105 .loc 1 2694 0
- 6106 01c6 238D ldrh r3, [r4, #40]
- 6107 01c8 002B cmp r3, #0
- 6108 01ca 00F0A480 beq .L500
-2696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 6109 .loc 1 2696 0
- 6110 01ce 032B cmp r3, #3
- 6111 01d0 77D8 bhi .L480
-2699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 6112 .loc 1 2699 0
- 6113 01d2 012B cmp r3, #1
- 6114 01d4 B0D0 beq .L501
-2718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 6115 .loc 1 2718 0
- 6116 01d6 022B cmp r3, #2
- 6117 01d8 C6D0 beq .L502
-2760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 6118 .loc 1 2760 0
- 6119 01da 0096 str r6, [sp]
- 6120 01dc 109B ldr r3, [sp, #64]
- 6121 01de 0022 movs r2, #0
- 6122 01e0 2D49 ldr r1, .L504+8
- 6123 01e2 2046 mov r0, r4
- 6124 01e4 FFF7FEFF bl I2C_WaitOnFlagUntilTimeout
- 6125 .LVL323:
- 6126 01e8 0028 cmp r0, #0
- 6127 01ea 40F0A580 bne .L493
-2766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6128 .loc 1 2766 0
- 6129 01ee 2268 ldr r2, [r4]
- 6130 01f0 1368 ldr r3, [r2]
- 6131 01f2 23F48063 bic r3, r3, #1024
- 6132 01f6 1360 str r3, [r2]
- 6133 .LBB103:
- 6134 .LBB104:
- 6135 .loc 2 142 0
- 6136 .syntax unified
- 6137 @ 142 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 6138 01f8 72B6 cpsid i
- 6139 @ 0 "" 2
-ARM GAS /tmp/cc8FAL5N.s page 258
-
-
- 6140 .thumb
- 6141 .syntax unified
- 6142 .LBE104:
- 6143 .LBE103:
-2773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6144 .loc 1 2773 0
- 6145 01fa 636A ldr r3, [r4, #36]
- 6146 01fc 2268 ldr r2, [r4]
- 6147 01fe 1269 ldr r2, [r2, #16]
- 6148 0200 1A70 strb r2, [r3]
-2776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6149 .loc 1 2776 0
- 6150 0202 636A ldr r3, [r4, #36]
- 6151 0204 0133 adds r3, r3, #1
- 6152 0206 6362 str r3, [r4, #36]
-2779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
- 6153 .loc 1 2779 0
- 6154 0208 238D ldrh r3, [r4, #40]
- 6155 020a 013B subs r3, r3, #1
- 6156 020c 2385 strh r3, [r4, #40] @ movhi
-2780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6157 .loc 1 2780 0
- 6158 020e 638D ldrh r3, [r4, #42]
- 6159 0210 9BB2 uxth r3, r3
- 6160 0212 013B subs r3, r3, #1
- 6161 0214 9BB2 uxth r3, r3
- 6162 0216 6385 strh r3, [r4, #42] @ movhi
-2783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
- 6163 .loc 1 2783 0
- 6164 0218 204B ldr r3, .L504+12
- 6165 021a 1B68 ldr r3, [r3]
- 6166 021c DB08 lsrs r3, r3, #3
- 6167 021e 204A ldr r2, .L504+16
- 6168 0220 A2FB0323 umull r2, r3, r2, r3
- 6169 0224 1B0A lsrs r3, r3, #8
- 6170 0226 03EB8303 add r3, r3, r3, lsl #2
- 6171 022a C3EBC303 rsb r3, r3, r3, lsl #3
- 6172 022e 0793 str r3, [sp, #28]
- 6173 .L485:
-2786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
- 6174 .loc 1 2786 0
- 6175 0230 079B ldr r3, [sp, #28]
- 6176 0232 013B subs r3, r3, #1
- 6177 0234 0793 str r3, [sp, #28]
-2787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 6178 .loc 1 2787 0
- 6179 0236 079B ldr r3, [sp, #28]
- 6180 0238 002B cmp r3, #0
- 6181 023a 33D0 beq .L503
-2803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6182 .loc 1 2803 0
- 6183 023c 2368 ldr r3, [r4]
- 6184 023e 5A69 ldr r2, [r3, #20]
- 6185 0240 12F0040F tst r2, #4
- 6186 0244 F4D0 beq .L485
-2806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6187 .loc 1 2806 0
-ARM GAS /tmp/cc8FAL5N.s page 259
-
-
- 6188 0246 1A68 ldr r2, [r3]
- 6189 0248 42F40072 orr r2, r2, #512
- 6190 024c 1A60 str r2, [r3]
-2809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6191 .loc 1 2809 0
- 6192 024e 636A ldr r3, [r4, #36]
- 6193 0250 2268 ldr r2, [r4]
- 6194 0252 1269 ldr r2, [r2, #16]
- 6195 0254 1A70 strb r2, [r3]
-2812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6196 .loc 1 2812 0
- 6197 0256 636A ldr r3, [r4, #36]
- 6198 0258 0133 adds r3, r3, #1
- 6199 025a 6362 str r3, [r4, #36]
-2815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
- 6200 .loc 1 2815 0
- 6201 025c 238D ldrh r3, [r4, #40]
- 6202 025e 013B subs r3, r3, #1
- 6203 0260 2385 strh r3, [r4, #40] @ movhi
-2816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6204 .loc 1 2816 0
- 6205 0262 638D ldrh r3, [r4, #42]
- 6206 0264 9BB2 uxth r3, r3
- 6207 0266 013B subs r3, r3, #1
- 6208 0268 9BB2 uxth r3, r3
- 6209 026a 6385 strh r3, [r4, #42] @ movhi
- 6210 .LBB105:
- 6211 .LBB106:
- 131:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 6212 .loc 2 131 0
- 6213 .syntax unified
- 6214 @ 131 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 6215 026c 62B6 cpsie i
- 6216 @ 0 "" 2
- 6217 .thumb
- 6218 .syntax unified
- 6219 .LBE106:
- 6220 .LBE105:
-2822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6221 .loc 1 2822 0
- 6222 026e 636A ldr r3, [r4, #36]
- 6223 0270 2268 ldr r2, [r4]
- 6224 0272 1269 ldr r2, [r2, #16]
- 6225 0274 1A70 strb r2, [r3]
-2825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6226 .loc 1 2825 0
- 6227 0276 636A ldr r3, [r4, #36]
- 6228 0278 0133 adds r3, r3, #1
- 6229 027a 6362 str r3, [r4, #36]
-2828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
- 6230 .loc 1 2828 0
- 6231 027c 238D ldrh r3, [r4, #40]
- 6232 027e 013B subs r3, r3, #1
- 6233 0280 2385 strh r3, [r4, #40] @ movhi
-2829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6234 .loc 1 2829 0
- 6235 0282 638D ldrh r3, [r4, #42]
-ARM GAS /tmp/cc8FAL5N.s page 260
-
-
- 6236 0284 9BB2 uxth r3, r3
- 6237 0286 013B subs r3, r3, #1
- 6238 0288 9BB2 uxth r3, r3
- 6239 028a 6385 strh r3, [r4, #42] @ movhi
- 6240 028c 9BE7 b .L479
- 6241 .L505:
- 6242 028e 00BF .align 2
- 6243 .L504:
- 6244 0290 02001000 .word 1048578
- 6245 0294 0000FFFF .word -65536
- 6246 0298 04000100 .word 65540
- 6247 029c 00000000 .word SystemCoreClock
- 6248 02a0 89B5F814 .word 351843721
- 6249 .L503:
-2789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 6250 .loc 1 2789 0
- 6251 02a4 2363 str r3, [r4, #48]
-2790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 6252 .loc 1 2790 0
- 6253 02a6 2022 movs r2, #32
- 6254 02a8 84F83D20 strb r2, [r4, #61]
-2791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
- 6255 .loc 1 2791 0
- 6256 02ac 84F83E30 strb r3, [r4, #62]
-2792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6257 .loc 1 2792 0
- 6258 02b0 226C ldr r2, [r4, #64]
- 6259 02b2 42F02002 orr r2, r2, #32
- 6260 02b6 2264 str r2, [r4, #64]
- 6261 .LBB107:
- 6262 .LBB108:
- 131:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 6263 .loc 2 131 0
- 6264 .syntax unified
- 6265 @ 131 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 6266 02b8 62B6 cpsie i
- 6267 @ 0 "" 2
- 6268 .thumb
- 6269 .syntax unified
- 6270 .LBE108:
- 6271 .LBE107:
-2798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6272 .loc 1 2798 0
- 6273 02ba 84F83C30 strb r3, [r4, #60]
-2800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6274 .loc 1 2800 0
- 6275 02be 0125 movs r5, #1
- 6276 02c0 AFE6 b .L473
- 6277 .L480:
-2835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 6278 .loc 1 2835 0
- 6279 02c2 3246 mov r2, r6
- 6280 02c4 1099 ldr r1, [sp, #64]
- 6281 02c6 2046 mov r0, r4
- 6282 02c8 FFF7FEFF bl I2C_WaitOnRXNEFlagUntilTimeout
- 6283 .LVL324:
- 6284 02cc 0028 cmp r0, #0
-ARM GAS /tmp/cc8FAL5N.s page 261
-
-
- 6285 02ce 35D1 bne .L494
-2841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6286 .loc 1 2841 0
- 6287 02d0 636A ldr r3, [r4, #36]
- 6288 02d2 2268 ldr r2, [r4]
- 6289 02d4 1269 ldr r2, [r2, #16]
- 6290 02d6 1A70 strb r2, [r3]
-2844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6291 .loc 1 2844 0
- 6292 02d8 626A ldr r2, [r4, #36]
- 6293 02da 531C adds r3, r2, #1
- 6294 02dc 6362 str r3, [r4, #36]
-2847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
- 6295 .loc 1 2847 0
- 6296 02de 238D ldrh r3, [r4, #40]
- 6297 02e0 013B subs r3, r3, #1
- 6298 02e2 2385 strh r3, [r4, #40] @ movhi
-2848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6299 .loc 1 2848 0
- 6300 02e4 638D ldrh r3, [r4, #42]
- 6301 02e6 9BB2 uxth r3, r3
- 6302 02e8 013B subs r3, r3, #1
- 6303 02ea 9BB2 uxth r3, r3
- 6304 02ec 6385 strh r3, [r4, #42] @ movhi
-2850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 6305 .loc 1 2850 0
- 6306 02ee 2368 ldr r3, [r4]
- 6307 02f0 5969 ldr r1, [r3, #20]
- 6308 02f2 11F0040F tst r1, #4
- 6309 02f6 3FF466AF beq .L479
-2853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6310 .loc 1 2853 0
- 6311 02fa 1B69 ldr r3, [r3, #16]
- 6312 02fc 5370 strb r3, [r2, #1]
-2856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6313 .loc 1 2856 0
- 6314 02fe 636A ldr r3, [r4, #36]
- 6315 0300 0133 adds r3, r3, #1
- 6316 0302 6362 str r3, [r4, #36]
-2859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount--;
- 6317 .loc 1 2859 0
- 6318 0304 238D ldrh r3, [r4, #40]
- 6319 0306 013B subs r3, r3, #1
- 6320 0308 2385 strh r3, [r4, #40] @ movhi
-2860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6321 .loc 1 2860 0
- 6322 030a 638D ldrh r3, [r4, #42]
- 6323 030c 9BB2 uxth r3, r3
- 6324 030e 013B subs r3, r3, #1
- 6325 0310 9BB2 uxth r3, r3
- 6326 0312 6385 strh r3, [r4, #42] @ movhi
- 6327 0314 57E7 b .L479
- 6328 .L500:
-2865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 6329 .loc 1 2865 0
- 6330 0316 2023 movs r3, #32
- 6331 0318 84F83D30 strb r3, [r4, #61]
-ARM GAS /tmp/cc8FAL5N.s page 262
-
-
-2866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6332 .loc 1 2866 0
- 6333 031c 0023 movs r3, #0
- 6334 031e 84F83E30 strb r3, [r4, #62]
-2869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6335 .loc 1 2869 0
- 6336 0322 84F83C30 strb r3, [r4, #60]
-2871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6337 .loc 1 2871 0
- 6338 0326 7CE6 b .L473
- 6339 .L489:
-2614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6340 .loc 1 2614 0
- 6341 0328 0225 movs r5, #2
- 6342 032a 7AE6 b .L473
- 6343 .L490:
-2639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6344 .loc 1 2639 0
- 6345 032c 0125 movs r5, #1
- 6346 032e 78E6 b .L473
- 6347 .L491:
-2704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6348 .loc 1 2704 0
- 6349 0330 0125 movs r5, #1
- 6350 0332 76E6 b .L473
- 6351 .L492:
-2723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6352 .loc 1 2723 0
- 6353 0334 0125 movs r5, #1
- 6354 0336 74E6 b .L473
- 6355 .L493:
-2762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6356 .loc 1 2762 0
- 6357 0338 0125 movs r5, #1
- 6358 033a 72E6 b .L473
- 6359 .L494:
-2837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6360 .loc 1 2837 0
- 6361 033c 0125 movs r5, #1
- 6362 033e 70E6 b .L473
- 6363 .cfi_endproc
- 6364 .LFE82:
- 6366 .section .text.HAL_I2C_Mem_Write_IT,"ax",%progbits
- 6367 .align 1
- 6368 .global HAL_I2C_Mem_Write_IT
- 6369 .syntax unified
- 6370 .thumb
- 6371 .thumb_func
- 6372 .fpu softvfp
- 6374 HAL_I2C_Mem_Write_IT:
- 6375 .LFB83:
-2892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
- 6376 .loc 1 2892 0
- 6377 .cfi_startproc
- 6378 @ args = 8, pretend = 0, frame = 8
- 6379 @ frame_needed = 0, uses_anonymous_args = 0
- 6380 @ link register save eliminated.
-ARM GAS /tmp/cc8FAL5N.s page 263
-
-
- 6381 .LVL325:
- 6382 0000 30B4 push {r4, r5}
- 6383 .LCFI84:
- 6384 .cfi_def_cfa_offset 8
- 6385 .cfi_offset 4, -8
- 6386 .cfi_offset 5, -4
- 6387 0002 82B0 sub sp, sp, #8
- 6388 .LCFI85:
- 6389 .cfi_def_cfa_offset 16
-2893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6390 .loc 1 2893 0
- 6391 0004 0024 movs r4, #0
- 6392 0006 0194 str r4, [sp, #4]
-2898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 6393 .loc 1 2898 0
- 6394 0008 90F83D40 ldrb r4, [r0, #61] @ zero_extendqisi2
- 6395 000c E4B2 uxtb r4, r4
- 6396 000e 202C cmp r4, #32
- 6397 0010 03D0 beq .L514
-2964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6398 .loc 1 2964 0
- 6399 0012 0220 movs r0, #2
- 6400 .LVL326:
- 6401 .L507:
-2966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6402 .loc 1 2966 0
- 6403 0014 02B0 add sp, sp, #8
- 6404 .LCFI86:
- 6405 .cfi_remember_state
- 6406 .cfi_def_cfa_offset 8
- 6407 @ sp needed
- 6408 0016 30BC pop {r4, r5}
- 6409 .LCFI87:
- 6410 .cfi_restore 5
- 6411 .cfi_restore 4
- 6412 .cfi_def_cfa_offset 0
- 6413 .LVL327:
- 6414 0018 7047 bx lr
- 6415 .LVL328:
- 6416 .L514:
- 6417 .LCFI88:
- 6418 .cfi_restore_state
-2901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
- 6419 .loc 1 2901 0
- 6420 001a 2F4C ldr r4, .L516
- 6421 001c 2468 ldr r4, [r4]
- 6422 001e E408 lsrs r4, r4, #3
- 6423 0020 2E4D ldr r5, .L516+4
- 6424 0022 A5FB0454 umull r5, r4, r5, r4
- 6425 0026 240A lsrs r4, r4, #8
- 6426 0028 04EB8404 add r4, r4, r4, lsl #2
- 6427 002c 04EB8404 add r4, r4, r4, lsl #2
- 6428 0030 0194 str r4, [sp, #4]
- 6429 .L509:
-2904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
- 6430 .loc 1 2904 0
- 6431 0032 019C ldr r4, [sp, #4]
-ARM GAS /tmp/cc8FAL5N.s page 264
-
-
- 6432 0034 013C subs r4, r4, #1
- 6433 0036 0194 str r4, [sp, #4]
-2905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 6434 .loc 1 2905 0
- 6435 0038 019C ldr r4, [sp, #4]
- 6436 003a 002C cmp r4, #0
- 6437 003c 3BD0 beq .L515
-2918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6438 .loc 1 2918 0
- 6439 003e 0468 ldr r4, [r0]
- 6440 0040 A569 ldr r5, [r4, #24]
- 6441 0042 15F0020F tst r5, #2
- 6442 0046 F4D1 bne .L509
-2921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6443 .loc 1 2921 0
- 6444 0048 90F83C50 ldrb r5, [r0, #60] @ zero_extendqisi2
- 6445 004c 012D cmp r5, #1
- 6446 004e 41D0 beq .L512
-2921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6447 .loc 1 2921 0 is_stmt 0 discriminator 2
- 6448 0050 0125 movs r5, #1
- 6449 0052 80F83C50 strb r5, [r0, #60]
-2924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 6450 .loc 1 2924 0 is_stmt 1 discriminator 2
- 6451 0056 2568 ldr r5, [r4]
- 6452 0058 15F0010F tst r5, #1
- 6453 005c 03D1 bne .L510
-2927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6454 .loc 1 2927 0
- 6455 005e 2568 ldr r5, [r4]
- 6456 0060 45F00105 orr r5, r5, #1
- 6457 0064 2560 str r5, [r4]
- 6458 .L510:
-2931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6459 .loc 1 2931 0
- 6460 0066 0568 ldr r5, [r0]
- 6461 0068 2C68 ldr r4, [r5]
- 6462 006a 24F40064 bic r4, r4, #2048
- 6463 006e 2C60 str r4, [r5]
-2933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MEM;
- 6464 .loc 1 2933 0
- 6465 0070 2124 movs r4, #33
- 6466 0072 80F83D40 strb r4, [r0, #61]
-2934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 6467 .loc 1 2934 0
- 6468 0076 4024 movs r4, #64
- 6469 0078 80F83E40 strb r4, [r0, #62]
-2935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6470 .loc 1 2935 0
- 6471 007c 0024 movs r4, #0
- 6472 007e 0464 str r4, [r0, #64]
-2938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 6473 .loc 1 2938 0
- 6474 0080 049D ldr r5, [sp, #16]
- 6475 0082 4562 str r5, [r0, #36]
-2939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
- 6476 .loc 1 2939 0
-ARM GAS /tmp/cc8FAL5N.s page 265
-
-
- 6477 0084 BDF81450 ldrh r5, [sp, #20]
- 6478 0088 4585 strh r5, [r0, #42] @ movhi
-2940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
- 6479 .loc 1 2940 0
- 6480 008a 458D ldrh r5, [r0, #42]
- 6481 008c 0585 strh r5, [r0, #40] @ movhi
-2941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Devaddress = DevAddress;
- 6482 .loc 1 2941 0
- 6483 008e 144D ldr r5, .L516+8
- 6484 0090 C562 str r5, [r0, #44]
-2942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Memaddress = MemAddress;
- 6485 .loc 1 2942 0
- 6486 0092 4164 str r1, [r0, #68]
-2943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MemaddSize = MemAddSize;
- 6487 .loc 1 2943 0
- 6488 0094 8264 str r2, [r0, #72]
-2944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->EventCount = 0U;
- 6489 .loc 1 2944 0
- 6490 0096 C364 str r3, [r0, #76]
-2945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6491 .loc 1 2945 0
- 6492 0098 0465 str r4, [r0, #80]
-2948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6493 .loc 1 2948 0
- 6494 009a 0268 ldr r2, [r0]
- 6495 .LVL329:
- 6496 009c 1368 ldr r3, [r2]
- 6497 .LVL330:
- 6498 009e 43F48073 orr r3, r3, #256
- 6499 00a2 1360 str r3, [r2]
-2951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6500 .loc 1 2951 0
- 6501 00a4 80F83C40 strb r4, [r0, #60]
-2958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6502 .loc 1 2958 0
- 6503 00a8 0268 ldr r2, [r0]
- 6504 00aa 5368 ldr r3, [r2, #4]
- 6505 00ac 43F4E063 orr r3, r3, #1792
- 6506 00b0 5360 str r3, [r2, #4]
-2960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6507 .loc 1 2960 0
- 6508 00b2 2046 mov r0, r4
- 6509 .LVL331:
- 6510 00b4 AEE7 b .L507
- 6511 .LVL332:
- 6512 .L515:
-2907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 6513 .loc 1 2907 0
- 6514 00b6 0023 movs r3, #0
- 6515 .LVL333:
- 6516 00b8 0363 str r3, [r0, #48]
-2908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 6517 .loc 1 2908 0
- 6518 00ba 2022 movs r2, #32
- 6519 .LVL334:
- 6520 00bc 80F83D20 strb r2, [r0, #61]
-2909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
-ARM GAS /tmp/cc8FAL5N.s page 266
-
-
- 6521 .loc 1 2909 0
- 6522 00c0 80F83E30 strb r3, [r0, #62]
-2910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6523 .loc 1 2910 0
- 6524 00c4 026C ldr r2, [r0, #64]
- 6525 00c6 42F02002 orr r2, r2, #32
- 6526 00ca 0264 str r2, [r0, #64]
-2913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6527 .loc 1 2913 0
- 6528 00cc 80F83C30 strb r3, [r0, #60]
-2915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6529 .loc 1 2915 0
- 6530 00d0 0120 movs r0, #1
- 6531 .LVL335:
- 6532 00d2 9FE7 b .L507
- 6533 .LVL336:
- 6534 .L512:
-2921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6535 .loc 1 2921 0
- 6536 00d4 0220 movs r0, #2
- 6537 .LVL337:
- 6538 00d6 9DE7 b .L507
- 6539 .L517:
- 6540 .align 2
- 6541 .L516:
- 6542 00d8 00000000 .word SystemCoreClock
- 6543 00dc 89B5F814 .word 351843721
- 6544 00e0 0000FFFF .word -65536
- 6545 .cfi_endproc
- 6546 .LFE83:
- 6548 .section .text.HAL_I2C_Mem_Read_IT,"ax",%progbits
- 6549 .align 1
- 6550 .global HAL_I2C_Mem_Read_IT
- 6551 .syntax unified
- 6552 .thumb
- 6553 .thumb_func
- 6554 .fpu softvfp
- 6556 HAL_I2C_Mem_Read_IT:
- 6557 .LFB84:
-2980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
- 6558 .loc 1 2980 0
- 6559 .cfi_startproc
- 6560 @ args = 8, pretend = 0, frame = 8
- 6561 @ frame_needed = 0, uses_anonymous_args = 0
- 6562 @ link register save eliminated.
- 6563 .LVL338:
- 6564 0000 30B4 push {r4, r5}
- 6565 .LCFI89:
- 6566 .cfi_def_cfa_offset 8
- 6567 .cfi_offset 4, -8
- 6568 .cfi_offset 5, -4
- 6569 0002 82B0 sub sp, sp, #8
- 6570 .LCFI90:
- 6571 .cfi_def_cfa_offset 16
-2981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6572 .loc 1 2981 0
- 6573 0004 0024 movs r4, #0
-ARM GAS /tmp/cc8FAL5N.s page 267
-
-
- 6574 0006 0194 str r4, [sp, #4]
-2986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 6575 .loc 1 2986 0
- 6576 0008 90F83D40 ldrb r4, [r0, #61] @ zero_extendqisi2
- 6577 000c E4B2 uxtb r4, r4
- 6578 000e 202C cmp r4, #32
- 6579 0010 03D0 beq .L527
-3057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6580 .loc 1 3057 0
- 6581 0012 0220 movs r0, #2
- 6582 .LVL339:
- 6583 .L519:
-3059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6584 .loc 1 3059 0
- 6585 0014 02B0 add sp, sp, #8
- 6586 .LCFI91:
- 6587 .cfi_remember_state
- 6588 .cfi_def_cfa_offset 8
- 6589 @ sp needed
- 6590 0016 30BC pop {r4, r5}
- 6591 .LCFI92:
- 6592 .cfi_restore 5
- 6593 .cfi_restore 4
- 6594 .cfi_def_cfa_offset 0
- 6595 .LVL340:
- 6596 0018 7047 bx lr
- 6597 .LVL341:
- 6598 .L527:
- 6599 .LCFI93:
- 6600 .cfi_restore_state
-2989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
- 6601 .loc 1 2989 0
- 6602 001a 344C ldr r4, .L529
- 6603 001c 2468 ldr r4, [r4]
- 6604 001e E408 lsrs r4, r4, #3
- 6605 0020 334D ldr r5, .L529+4
- 6606 0022 A5FB0454 umull r5, r4, r5, r4
- 6607 0026 240A lsrs r4, r4, #8
- 6608 0028 04EB8404 add r4, r4, r4, lsl #2
- 6609 002c 04EB8404 add r4, r4, r4, lsl #2
- 6610 0030 0194 str r4, [sp, #4]
- 6611 .L521:
-2992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
- 6612 .loc 1 2992 0
- 6613 0032 019C ldr r4, [sp, #4]
- 6614 0034 013C subs r4, r4, #1
- 6615 0036 0194 str r4, [sp, #4]
-2993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 6616 .loc 1 2993 0
- 6617 0038 019C ldr r4, [sp, #4]
- 6618 003a 002C cmp r4, #0
- 6619 003c 42D0 beq .L528
-3006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6620 .loc 1 3006 0
- 6621 003e 0468 ldr r4, [r0]
- 6622 0040 A569 ldr r5, [r4, #24]
- 6623 0042 15F0020F tst r5, #2
-ARM GAS /tmp/cc8FAL5N.s page 268
-
-
- 6624 0046 F4D1 bne .L521
-3009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6625 .loc 1 3009 0
- 6626 0048 90F83C50 ldrb r5, [r0, #60] @ zero_extendqisi2
- 6627 004c 012D cmp r5, #1
- 6628 004e 48D0 beq .L524
-3009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6629 .loc 1 3009 0 is_stmt 0 discriminator 2
- 6630 0050 0125 movs r5, #1
- 6631 0052 80F83C50 strb r5, [r0, #60]
-3012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 6632 .loc 1 3012 0 is_stmt 1 discriminator 2
- 6633 0056 2568 ldr r5, [r4]
- 6634 0058 15F0010F tst r5, #1
- 6635 005c 03D1 bne .L522
-3015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6636 .loc 1 3015 0
- 6637 005e 2568 ldr r5, [r4]
- 6638 0060 45F00105 orr r5, r5, #1
- 6639 0064 2560 str r5, [r4]
- 6640 .L522:
-3019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6641 .loc 1 3019 0
- 6642 0066 0568 ldr r5, [r0]
- 6643 0068 2C68 ldr r4, [r5]
- 6644 006a 24F40064 bic r4, r4, #2048
- 6645 006e 2C60 str r4, [r5]
-3021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MEM;
- 6646 .loc 1 3021 0
- 6647 0070 2224 movs r4, #34
- 6648 0072 80F83D40 strb r4, [r0, #61]
-3022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 6649 .loc 1 3022 0
- 6650 0076 4024 movs r4, #64
- 6651 0078 80F83E40 strb r4, [r0, #62]
-3023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6652 .loc 1 3023 0
- 6653 007c 0024 movs r4, #0
- 6654 007e 0464 str r4, [r0, #64]
-3026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 6655 .loc 1 3026 0
- 6656 0080 049D ldr r5, [sp, #16]
- 6657 0082 4562 str r5, [r0, #36]
-3027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
- 6658 .loc 1 3027 0
- 6659 0084 BDF81450 ldrh r5, [sp, #20]
- 6660 0088 4585 strh r5, [r0, #42] @ movhi
-3028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
- 6661 .loc 1 3028 0
- 6662 008a 458D ldrh r5, [r0, #42]
- 6663 008c 0585 strh r5, [r0, #40] @ movhi
-3029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Devaddress = DevAddress;
- 6664 .loc 1 3029 0
- 6665 008e 194D ldr r5, .L529+8
- 6666 0090 C562 str r5, [r0, #44]
-3030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Memaddress = MemAddress;
- 6667 .loc 1 3030 0
-ARM GAS /tmp/cc8FAL5N.s page 269
-
-
- 6668 0092 4164 str r1, [r0, #68]
-3031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->MemaddSize = MemAddSize;
- 6669 .loc 1 3031 0
- 6670 0094 8264 str r2, [r0, #72]
-3032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->EventCount = 0U;
- 6671 .loc 1 3032 0
- 6672 0096 C364 str r3, [r0, #76]
-3033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6673 .loc 1 3033 0
- 6674 0098 0465 str r4, [r0, #80]
-3036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6675 .loc 1 3036 0
- 6676 009a 0268 ldr r2, [r0]
- 6677 .LVL342:
- 6678 009c 1368 ldr r3, [r2]
- 6679 .LVL343:
- 6680 009e 43F48063 orr r3, r3, #1024
- 6681 00a2 1360 str r3, [r2]
-3039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6682 .loc 1 3039 0
- 6683 00a4 0268 ldr r2, [r0]
- 6684 00a6 1368 ldr r3, [r2]
- 6685 00a8 43F48073 orr r3, r3, #256
- 6686 00ac 1360 str r3, [r2]
-3042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6687 .loc 1 3042 0
- 6688 00ae 80F83C40 strb r4, [r0, #60]
-3044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 6689 .loc 1 3044 0
- 6690 00b2 038D ldrh r3, [r0, #40]
- 6691 00b4 BBB1 cbz r3, .L525
-3051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6692 .loc 1 3051 0
- 6693 00b6 0268 ldr r2, [r0]
- 6694 00b8 5368 ldr r3, [r2, #4]
- 6695 00ba 43F4E063 orr r3, r3, #1792
- 6696 00be 5360 str r3, [r2, #4]
-3053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6697 .loc 1 3053 0
- 6698 00c0 2046 mov r0, r4
- 6699 .LVL344:
- 6700 00c2 A7E7 b .L519
- 6701 .LVL345:
- 6702 .L528:
-2995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 6703 .loc 1 2995 0
- 6704 00c4 0023 movs r3, #0
- 6705 .LVL346:
- 6706 00c6 0363 str r3, [r0, #48]
-2996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 6707 .loc 1 2996 0
- 6708 00c8 2022 movs r2, #32
- 6709 .LVL347:
- 6710 00ca 80F83D20 strb r2, [r0, #61]
-2997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
- 6711 .loc 1 2997 0
- 6712 00ce 80F83E30 strb r3, [r0, #62]
-ARM GAS /tmp/cc8FAL5N.s page 270
-
-
-2998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6713 .loc 1 2998 0
- 6714 00d2 026C ldr r2, [r0, #64]
- 6715 00d4 42F02002 orr r2, r2, #32
- 6716 00d8 0264 str r2, [r0, #64]
-3001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6717 .loc 1 3001 0
- 6718 00da 80F83C30 strb r3, [r0, #60]
-3003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6719 .loc 1 3003 0
- 6720 00de 0120 movs r0, #1
- 6721 .LVL348:
- 6722 00e0 98E7 b .L519
- 6723 .LVL349:
- 6724 .L524:
-3009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6725 .loc 1 3009 0
- 6726 00e2 0220 movs r0, #2
- 6727 .LVL350:
- 6728 00e4 96E7 b .L519
- 6729 .LVL351:
- 6730 .L525:
-3053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6731 .loc 1 3053 0
- 6732 00e6 0020 movs r0, #0
- 6733 .LVL352:
- 6734 00e8 94E7 b .L519
- 6735 .L530:
- 6736 00ea 00BF .align 2
- 6737 .L529:
- 6738 00ec 00000000 .word SystemCoreClock
- 6739 00f0 89B5F814 .word 351843721
- 6740 00f4 0000FFFF .word -65536
- 6741 .cfi_endproc
- 6742 .LFE84:
- 6744 .section .text.HAL_I2C_Mem_Write_DMA,"ax",%progbits
- 6745 .align 1
- 6746 .global HAL_I2C_Mem_Write_DMA
- 6747 .syntax unified
- 6748 .thumb
- 6749 .thumb_func
- 6750 .fpu softvfp
- 6752 HAL_I2C_Mem_Write_DMA:
- 6753 .LFB85:
-3074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
- 6754 .loc 1 3074 0
- 6755 .cfi_startproc
- 6756 @ args = 8, pretend = 0, frame = 8
- 6757 @ frame_needed = 0, uses_anonymous_args = 0
- 6758 .LVL353:
- 6759 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr}
- 6760 .LCFI94:
- 6761 .cfi_def_cfa_offset 24
- 6762 .cfi_offset 4, -24
- 6763 .cfi_offset 5, -20
- 6764 .cfi_offset 6, -16
- 6765 .cfi_offset 7, -12
-ARM GAS /tmp/cc8FAL5N.s page 271
-
-
- 6766 .cfi_offset 8, -8
- 6767 .cfi_offset 14, -4
- 6768 0004 84B0 sub sp, sp, #16
- 6769 .LCFI95:
- 6770 .cfi_def_cfa_offset 40
- 6771 0006 0446 mov r4, r0
- 6772 0008 0D46 mov r5, r1
- 6773 000a 1646 mov r6, r2
- 6774 000c 1F46 mov r7, r3
-3075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef dmaxferstatus;
- 6775 .loc 1 3075 0
- 6776 000e 0023 movs r3, #0
- 6777 .LVL354:
- 6778 0010 0393 str r3, [sp, #12]
-3079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6779 .loc 1 3079 0
- 6780 0012 FFF7FEFF bl HAL_GetTick
- 6781 .LVL355:
-3084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 6782 .loc 1 3084 0
- 6783 0016 94F83D30 ldrb r3, [r4, #61] @ zero_extendqisi2
- 6784 001a DBB2 uxtb r3, r3
- 6785 001c 202B cmp r3, #32
- 6786 001e 04D0 beq .L543
-3222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6787 .loc 1 3222 0
- 6788 0020 0223 movs r3, #2
- 6789 .LVL356:
- 6790 .L532:
-3224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6791 .loc 1 3224 0
- 6792 0022 1846 mov r0, r3
- 6793 0024 04B0 add sp, sp, #16
- 6794 .LCFI96:
- 6795 .cfi_remember_state
- 6796 .cfi_def_cfa_offset 24
- 6797 @ sp needed
- 6798 0026 BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 6799 .LVL357:
- 6800 .L543:
- 6801 .LCFI97:
- 6802 .cfi_restore_state
- 6803 002a 8046 mov r8, r0
-3087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
- 6804 .loc 1 3087 0
- 6805 002c 594B ldr r3, .L548
- 6806 002e 1B68 ldr r3, [r3]
- 6807 0030 DB08 lsrs r3, r3, #3
- 6808 0032 594A ldr r2, .L548+4
- 6809 0034 A2FB0323 umull r2, r3, r2, r3
- 6810 0038 1B0A lsrs r3, r3, #8
- 6811 003a 03EB8303 add r3, r3, r3, lsl #2
- 6812 003e 03EB8303 add r3, r3, r3, lsl #2
- 6813 0042 0393 str r3, [sp, #12]
- 6814 .L534:
-3090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
- 6815 .loc 1 3090 0
-ARM GAS /tmp/cc8FAL5N.s page 272
-
-
- 6816 0044 039B ldr r3, [sp, #12]
- 6817 0046 013B subs r3, r3, #1
- 6818 0048 0393 str r3, [sp, #12]
-3091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 6819 .loc 1 3091 0
- 6820 004a 039B ldr r3, [sp, #12]
- 6821 004c 002B cmp r3, #0
- 6822 004e 3AD0 beq .L544
-3104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6823 .loc 1 3104 0
- 6824 0050 2368 ldr r3, [r4]
- 6825 0052 9A69 ldr r2, [r3, #24]
- 6826 0054 12F0020F tst r2, #2
- 6827 0058 F4D1 bne .L534
-3107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6828 .loc 1 3107 0
- 6829 005a 94F83C20 ldrb r2, [r4, #60] @ zero_extendqisi2
- 6830 005e 012A cmp r2, #1
- 6831 0060 00F09680 beq .L541
-3107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6832 .loc 1 3107 0 is_stmt 0 discriminator 2
- 6833 0064 0122 movs r2, #1
- 6834 0066 84F83C20 strb r2, [r4, #60]
-3110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 6835 .loc 1 3110 0 is_stmt 1 discriminator 2
- 6836 006a 1A68 ldr r2, [r3]
- 6837 006c 12F0010F tst r2, #1
- 6838 0070 03D1 bne .L535
-3113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6839 .loc 1 3113 0
- 6840 0072 1A68 ldr r2, [r3]
- 6841 0074 42F00102 orr r2, r2, #1
- 6842 0078 1A60 str r2, [r3]
- 6843 .L535:
-3117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6844 .loc 1 3117 0
- 6845 007a 2268 ldr r2, [r4]
- 6846 007c 1368 ldr r3, [r2]
- 6847 007e 23F40063 bic r3, r3, #2048
- 6848 0082 1360 str r3, [r2]
-3119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MEM;
- 6849 .loc 1 3119 0
- 6850 0084 2123 movs r3, #33
- 6851 0086 84F83D30 strb r3, [r4, #61]
-3120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 6852 .loc 1 3120 0
- 6853 008a 4023 movs r3, #64
- 6854 008c 84F83E30 strb r3, [r4, #62]
-3121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6855 .loc 1 3121 0
- 6856 0090 0023 movs r3, #0
- 6857 0092 2364 str r3, [r4, #64]
-3124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 6858 .loc 1 3124 0
- 6859 0094 0A9B ldr r3, [sp, #40]
- 6860 0096 6362 str r3, [r4, #36]
-3125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-ARM GAS /tmp/cc8FAL5N.s page 273
-
-
- 6861 .loc 1 3125 0
- 6862 0098 BDF82C30 ldrh r3, [sp, #44]
- 6863 009c 6385 strh r3, [r4, #42] @ movhi
-3126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
- 6864 .loc 1 3126 0
- 6865 009e 638D ldrh r3, [r4, #42]
- 6866 00a0 9BB2 uxth r3, r3
- 6867 00a2 2385 strh r3, [r4, #40] @ movhi
-3127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6868 .loc 1 3127 0
- 6869 00a4 3D4A ldr r2, .L548+8
- 6870 00a6 E262 str r2, [r4, #44]
-3129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 6871 .loc 1 3129 0
- 6872 00a8 DBB9 cbnz r3, .L545
-3208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 6873 .loc 1 3208 0
- 6874 00aa 2023 movs r3, #32
- 6875 00ac 84F83D30 strb r3, [r4, #61]
-3209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6876 .loc 1 3209 0
- 6877 00b0 0022 movs r2, #0
- 6878 00b2 84F83E20 strb r2, [r4, #62]
-3212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6879 .loc 1 3212 0
- 6880 00b6 236C ldr r3, [r4, #64]
- 6881 00b8 43F04003 orr r3, r3, #64
- 6882 00bc 2364 str r3, [r4, #64]
-3215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6883 .loc 1 3215 0
- 6884 00be 84F83C20 strb r2, [r4, #60]
-3217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6885 .loc 1 3217 0
- 6886 00c2 0123 movs r3, #1
- 6887 00c4 ADE7 b .L532
- 6888 .L544:
-3093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 6889 .loc 1 3093 0
- 6890 00c6 2363 str r3, [r4, #48]
-3094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 6891 .loc 1 3094 0
- 6892 00c8 2022 movs r2, #32
- 6893 00ca 84F83D20 strb r2, [r4, #61]
-3095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
- 6894 .loc 1 3095 0
- 6895 00ce 84F83E30 strb r3, [r4, #62]
-3096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6896 .loc 1 3096 0
- 6897 00d2 226C ldr r2, [r4, #64]
- 6898 00d4 42F02002 orr r2, r2, #32
- 6899 00d8 2264 str r2, [r4, #64]
-3099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6900 .loc 1 3099 0
- 6901 00da 84F83C30 strb r3, [r4, #60]
-3101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6902 .loc 1 3101 0
- 6903 00de 0123 movs r3, #1
-ARM GAS /tmp/cc8FAL5N.s page 274
-
-
- 6904 00e0 9FE7 b .L532
- 6905 .L545:
-3132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6906 .loc 1 3132 0
- 6907 00e2 636B ldr r3, [r4, #52]
- 6908 00e4 2E4A ldr r2, .L548+12
- 6909 00e6 9A62 str r2, [r3, #40]
-3135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6910 .loc 1 3135 0
- 6911 00e8 636B ldr r3, [r4, #52]
- 6912 00ea 2E4A ldr r2, .L548+16
- 6913 00ec 1A63 str r2, [r3, #48]
-3138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferAbortCallback = NULL;
- 6914 .loc 1 3138 0
- 6915 00ee 626B ldr r2, [r4, #52]
- 6916 00f0 0023 movs r3, #0
- 6917 00f2 D362 str r3, [r2, #44]
-3139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6918 .loc 1 3139 0
- 6919 00f4 626B ldr r2, [r4, #52]
- 6920 00f6 5363 str r3, [r2, #52]
-3142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6921 .loc 1 3142 0
- 6922 00f8 2268 ldr r2, [r4]
- 6923 00fa 238D ldrh r3, [r4, #40]
- 6924 00fc 1032 adds r2, r2, #16
- 6925 00fe 616A ldr r1, [r4, #36]
- 6926 0100 606B ldr r0, [r4, #52]
- 6927 .LVL358:
- 6928 0102 FFF7FEFF bl HAL_DMA_Start_IT
- 6929 .LVL359:
-3144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 6930 .loc 1 3144 0
- 6931 0106 68B1 cbz r0, .L546
-3193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 6932 .loc 1 3193 0
- 6933 0108 2023 movs r3, #32
- 6934 010a 84F83D30 strb r3, [r4, #61]
-3194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6935 .loc 1 3194 0
- 6936 010e 0022 movs r2, #0
- 6937 0110 84F83E20 strb r2, [r4, #62]
-3197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6938 .loc 1 3197 0
- 6939 0114 236C ldr r3, [r4, #64]
- 6940 0116 43F01003 orr r3, r3, #16
- 6941 011a 2364 str r3, [r4, #64]
-3200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6942 .loc 1 3200 0
- 6943 011c 84F83C20 strb r2, [r4, #60]
-3202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6944 .loc 1 3202 0
- 6945 0120 0123 movs r3, #1
- 6946 0122 7EE7 b .L532
- 6947 .L546:
-3147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 6948 .loc 1 3147 0
-ARM GAS /tmp/cc8FAL5N.s page 275
-
-
- 6949 0124 CDF80480 str r8, [sp, #4]
- 6950 0128 2323 movs r3, #35
- 6951 012a 0093 str r3, [sp]
- 6952 012c 3B46 mov r3, r7
- 6953 012e 3246 mov r2, r6
- 6954 0130 2946 mov r1, r5
- 6955 0132 2046 mov r0, r4
- 6956 .LVL360:
- 6957 0134 FFF7FEFF bl I2C_RequestMemoryWrite
- 6958 .LVL361:
- 6959 0138 0346 mov r3, r0
- 6960 013a 98B9 cbnz r0, .L547
- 6961 .LBB109:
-3174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6962 .loc 1 3174 0
- 6963 013c 0021 movs r1, #0
- 6964 013e 0291 str r1, [sp, #8]
- 6965 0140 2268 ldr r2, [r4]
- 6966 0142 5069 ldr r0, [r2, #20]
- 6967 0144 0290 str r0, [sp, #8]
- 6968 0146 9069 ldr r0, [r2, #24]
- 6969 0148 0290 str r0, [sp, #8]
- 6970 014a 0298 ldr r0, [sp, #8]
- 6971 .LBE109:
-3177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6972 .loc 1 3177 0
- 6973 014c 84F83C10 strb r1, [r4, #60]
-3183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6974 .loc 1 3183 0
- 6975 0150 5168 ldr r1, [r2, #4]
- 6976 0152 41F48071 orr r1, r1, #256
- 6977 0156 5160 str r1, [r2, #4]
-3186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6978 .loc 1 3186 0
- 6979 0158 2168 ldr r1, [r4]
- 6980 015a 4A68 ldr r2, [r1, #4]
- 6981 015c 42F40062 orr r2, r2, #2048
- 6982 0160 4A60 str r2, [r1, #4]
-3188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6983 .loc 1 3188 0
- 6984 0162 5EE7 b .L532
- 6985 .L547:
-3150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 6986 .loc 1 3150 0
- 6987 0164 606B ldr r0, [r4, #52]
- 6988 0166 FFF7FEFF bl HAL_DMA_Abort_IT
- 6989 .LVL362:
-3156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 6990 .loc 1 3156 0
- 6991 016a 636B ldr r3, [r4, #52]
- 6992 016c 0BB1 cbz r3, .L539
-3158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 6993 .loc 1 3158 0
- 6994 016e 0022 movs r2, #0
- 6995 0170 9A62 str r2, [r3, #40]
- 6996 .L539:
-3162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 276
-
-
- 6997 .loc 1 3162 0
- 6998 0172 2268 ldr r2, [r4]
- 6999 0174 1368 ldr r3, [r2]
- 7000 0176 23F48063 bic r3, r3, #1024
- 7001 017a 1360 str r3, [r2]
-3164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = 0U;
- 7002 .loc 1 3164 0
- 7003 017c 0023 movs r3, #0
- 7004 017e 2385 strh r3, [r4, #40] @ movhi
-3165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7005 .loc 1 3165 0
- 7006 0180 6385 strh r3, [r4, #42] @ movhi
-3168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7007 .loc 1 3168 0
- 7008 0182 2268 ldr r2, [r4]
- 7009 0184 1368 ldr r3, [r2]
- 7010 0186 23F00103 bic r3, r3, #1
- 7011 018a 1360 str r3, [r2]
-3170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7012 .loc 1 3170 0
- 7013 018c 0123 movs r3, #1
- 7014 018e 48E7 b .L532
- 7015 .LVL363:
- 7016 .L541:
-3107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7017 .loc 1 3107 0
- 7018 0190 0223 movs r3, #2
- 7019 0192 46E7 b .L532
- 7020 .L549:
- 7021 .align 2
- 7022 .L548:
- 7023 0194 00000000 .word SystemCoreClock
- 7024 0198 89B5F814 .word 351843721
- 7025 019c 0000FFFF .word -65536
- 7026 01a0 00000000 .word I2C_DMAXferCplt
- 7027 01a4 00000000 .word I2C_DMAError
- 7028 .cfi_endproc
- 7029 .LFE85:
- 7031 .section .text.HAL_I2C_Mem_Read_DMA,"ax",%progbits
- 7032 .align 1
- 7033 .global HAL_I2C_Mem_Read_DMA
- 7034 .syntax unified
- 7035 .thumb
- 7036 .thumb_func
- 7037 .fpu softvfp
- 7039 HAL_I2C_Mem_Read_DMA:
- 7040 .LFB86:
-3239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Init tickstart for timeout management*/
- 7041 .loc 1 3239 0
- 7042 .cfi_startproc
- 7043 @ args = 8, pretend = 0, frame = 16
- 7044 @ frame_needed = 0, uses_anonymous_args = 0
- 7045 .LVL364:
- 7046 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr}
- 7047 .LCFI98:
- 7048 .cfi_def_cfa_offset 24
- 7049 .cfi_offset 4, -24
-ARM GAS /tmp/cc8FAL5N.s page 277
-
-
- 7050 .cfi_offset 5, -20
- 7051 .cfi_offset 6, -16
- 7052 .cfi_offset 7, -12
- 7053 .cfi_offset 8, -8
- 7054 .cfi_offset 14, -4
- 7055 0004 86B0 sub sp, sp, #24
- 7056 .LCFI99:
- 7057 .cfi_def_cfa_offset 48
- 7058 0006 0446 mov r4, r0
- 7059 0008 0D46 mov r5, r1
- 7060 000a 1646 mov r6, r2
- 7061 000c 1F46 mov r7, r3
-3241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
- 7062 .loc 1 3241 0
- 7063 000e FFF7FEFF bl HAL_GetTick
- 7064 .LVL365:
-3242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef dmaxferstatus;
- 7065 .loc 1 3242 0
- 7066 0012 0023 movs r3, #0
- 7067 0014 0593 str r3, [sp, #20]
-3248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7068 .loc 1 3248 0
- 7069 0016 94F83D30 ldrb r3, [r4, #61] @ zero_extendqisi2
- 7070 001a DBB2 uxtb r3, r3
- 7071 001c 202B cmp r3, #32
- 7072 001e 04D0 beq .L565
-3402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7073 .loc 1 3402 0
- 7074 0020 0223 movs r3, #2
- 7075 .LVL366:
- 7076 .L551:
-3404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7077 .loc 1 3404 0
- 7078 0022 1846 mov r0, r3
- 7079 0024 06B0 add sp, sp, #24
- 7080 .LCFI100:
- 7081 .cfi_remember_state
- 7082 .cfi_def_cfa_offset 24
- 7083 @ sp needed
- 7084 0026 BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 7085 .LVL367:
- 7086 .L565:
- 7087 .LCFI101:
- 7088 .cfi_restore_state
- 7089 002a 8046 mov r8, r0
-3251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
- 7090 .loc 1 3251 0
- 7091 002c 694B ldr r3, .L570
- 7092 002e 1B68 ldr r3, [r3]
- 7093 0030 DB08 lsrs r3, r3, #3
- 7094 0032 694A ldr r2, .L570+4
- 7095 0034 A2FB0323 umull r2, r3, r2, r3
- 7096 0038 1B0A lsrs r3, r3, #8
- 7097 003a 03EB8303 add r3, r3, r3, lsl #2
- 7098 003e 03EB8303 add r3, r3, r3, lsl #2
- 7099 0042 0593 str r3, [sp, #20]
- 7100 .L553:
-ARM GAS /tmp/cc8FAL5N.s page 278
-
-
-3254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
- 7101 .loc 1 3254 0
- 7102 0044 059B ldr r3, [sp, #20]
- 7103 0046 013B subs r3, r3, #1
- 7104 0048 0593 str r3, [sp, #20]
-3255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7105 .loc 1 3255 0
- 7106 004a 059B ldr r3, [sp, #20]
- 7107 004c 002B cmp r3, #0
- 7108 004e 4ED0 beq .L566
-3268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7109 .loc 1 3268 0
- 7110 0050 2368 ldr r3, [r4]
- 7111 0052 9A69 ldr r2, [r3, #24]
- 7112 0054 12F0020F tst r2, #2
- 7113 0058 F4D1 bne .L553
-3271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7114 .loc 1 3271 0
- 7115 005a 94F83C20 ldrb r2, [r4, #60] @ zero_extendqisi2
- 7116 005e 012A cmp r2, #1
- 7117 0060 00F0B480 beq .L562
-3271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7118 .loc 1 3271 0 is_stmt 0 discriminator 2
- 7119 0064 0122 movs r2, #1
- 7120 0066 84F83C20 strb r2, [r4, #60]
-3274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7121 .loc 1 3274 0 is_stmt 1 discriminator 2
- 7122 006a 1A68 ldr r2, [r3]
- 7123 006c 12F0010F tst r2, #1
- 7124 0070 03D1 bne .L554
-3277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7125 .loc 1 3277 0
- 7126 0072 1A68 ldr r2, [r3]
- 7127 0074 42F00102 orr r2, r2, #1
- 7128 0078 1A60 str r2, [r3]
- 7129 .L554:
-3281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7130 .loc 1 3281 0
- 7131 007a 2268 ldr r2, [r4]
- 7132 007c 1368 ldr r3, [r2]
- 7133 007e 23F40063 bic r3, r3, #2048
- 7134 0082 1360 str r3, [r2]
-3283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MEM;
- 7135 .loc 1 3283 0
- 7136 0084 2223 movs r3, #34
- 7137 0086 84F83D30 strb r3, [r4, #61]
-3284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 7138 .loc 1 3284 0
- 7139 008a 4023 movs r3, #64
- 7140 008c 84F83E30 strb r3, [r4, #62]
-3285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7141 .loc 1 3285 0
- 7142 0090 0023 movs r3, #0
- 7143 0092 2364 str r3, [r4, #64]
-3288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 7144 .loc 1 3288 0
- 7145 0094 0C9B ldr r3, [sp, #48]
-ARM GAS /tmp/cc8FAL5N.s page 279
-
-
- 7146 0096 6362 str r3, [r4, #36]
-3289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
- 7147 .loc 1 3289 0
- 7148 0098 BDF83430 ldrh r3, [sp, #52]
- 7149 009c 6385 strh r3, [r4, #42] @ movhi
-3290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
- 7150 .loc 1 3290 0
- 7151 009e 638D ldrh r3, [r4, #42]
- 7152 00a0 9BB2 uxth r3, r3
- 7153 00a2 2385 strh r3, [r4, #40] @ movhi
-3291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7154 .loc 1 3291 0
- 7155 00a4 4D4A ldr r2, .L570+8
- 7156 00a6 E262 str r2, [r4, #44]
-3293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7157 .loc 1 3293 0
- 7158 00a8 002B cmp r3, #0
- 7159 00aa 72D0 beq .L555
-3296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7160 .loc 1 3296 0
- 7161 00ac A36B ldr r3, [r4, #56]
- 7162 00ae 4C4A ldr r2, .L570+12
- 7163 00b0 9A62 str r2, [r3, #40]
-3299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7164 .loc 1 3299 0
- 7165 00b2 A36B ldr r3, [r4, #56]
- 7166 00b4 4B4A ldr r2, .L570+16
- 7167 00b6 1A63 str r2, [r3, #48]
-3302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferAbortCallback = NULL;
- 7168 .loc 1 3302 0
- 7169 00b8 A26B ldr r2, [r4, #56]
- 7170 00ba 0023 movs r3, #0
- 7171 00bc D362 str r3, [r2, #44]
-3303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7172 .loc 1 3303 0
- 7173 00be A26B ldr r2, [r4, #56]
- 7174 00c0 5363 str r3, [r2, #52]
-3306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7175 .loc 1 3306 0
- 7176 00c2 2168 ldr r1, [r4]
- 7177 00c4 238D ldrh r3, [r4, #40]
- 7178 00c6 626A ldr r2, [r4, #36]
- 7179 00c8 1031 adds r1, r1, #16
- 7180 00ca A06B ldr r0, [r4, #56]
- 7181 .LVL368:
- 7182 00cc FFF7FEFF bl HAL_DMA_Start_IT
- 7183 .LVL369:
-3308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7184 .loc 1 3308 0
- 7185 00d0 D8B1 cbz r0, .L567
-3366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 7186 .loc 1 3366 0
- 7187 00d2 2023 movs r3, #32
- 7188 00d4 84F83D30 strb r3, [r4, #61]
-3367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7189 .loc 1 3367 0
- 7190 00d8 0022 movs r2, #0
-ARM GAS /tmp/cc8FAL5N.s page 280
-
-
- 7191 00da 84F83E20 strb r2, [r4, #62]
-3370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7192 .loc 1 3370 0
- 7193 00de 236C ldr r3, [r4, #64]
- 7194 00e0 43F01003 orr r3, r3, #16
- 7195 00e4 2364 str r3, [r4, #64]
-3373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7196 .loc 1 3373 0
- 7197 00e6 84F83C20 strb r2, [r4, #60]
-3375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7198 .loc 1 3375 0
- 7199 00ea 0123 movs r3, #1
- 7200 00ec 99E7 b .L551
- 7201 .LVL370:
- 7202 .L566:
-3257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 7203 .loc 1 3257 0
- 7204 00ee 2363 str r3, [r4, #48]
-3258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 7205 .loc 1 3258 0
- 7206 00f0 2022 movs r2, #32
- 7207 00f2 84F83D20 strb r2, [r4, #61]
-3259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
- 7208 .loc 1 3259 0
- 7209 00f6 84F83E30 strb r3, [r4, #62]
-3260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7210 .loc 1 3260 0
- 7211 00fa 226C ldr r2, [r4, #64]
- 7212 00fc 42F02002 orr r2, r2, #32
- 7213 0100 2264 str r2, [r4, #64]
-3263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7214 .loc 1 3263 0
- 7215 0102 84F83C30 strb r3, [r4, #60]
-3265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7216 .loc 1 3265 0
- 7217 0106 0123 movs r3, #1
- 7218 0108 8BE7 b .L551
- 7219 .LVL371:
- 7220 .L567:
-3311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7221 .loc 1 3311 0
- 7222 010a CDF80480 str r8, [sp, #4]
- 7223 010e 2323 movs r3, #35
- 7224 0110 0093 str r3, [sp]
- 7225 0112 3B46 mov r3, r7
- 7226 0114 3246 mov r2, r6
- 7227 0116 2946 mov r1, r5
- 7228 0118 2046 mov r0, r4
- 7229 .LVL372:
- 7230 011a FFF7FEFF bl I2C_RequestMemoryRead
- 7231 .LVL373:
- 7232 011e 0346 mov r3, r0
- 7233 0120 D8B9 cbnz r0, .L568
-3337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7234 .loc 1 3337 0
- 7235 0122 228D ldrh r2, [r4, #40]
- 7236 0124 012A cmp r2, #1
-ARM GAS /tmp/cc8FAL5N.s page 281
-
-
- 7237 0126 2ED0 beq .L569
-3345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7238 .loc 1 3345 0
- 7239 0128 2168 ldr r1, [r4]
- 7240 012a 4A68 ldr r2, [r1, #4]
- 7241 012c 42F48052 orr r2, r2, #4096
- 7242 0130 4A60 str r2, [r1, #4]
- 7243 .L560:
- 7244 .LBB110:
-3349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7245 .loc 1 3349 0
- 7246 0132 0021 movs r1, #0
- 7247 0134 0391 str r1, [sp, #12]
- 7248 0136 2268 ldr r2, [r4]
- 7249 0138 5069 ldr r0, [r2, #20]
- 7250 013a 0390 str r0, [sp, #12]
- 7251 013c 9069 ldr r0, [r2, #24]
- 7252 013e 0390 str r0, [sp, #12]
- 7253 0140 0398 ldr r0, [sp, #12]
- 7254 .LBE110:
-3352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7255 .loc 1 3352 0
- 7256 0142 84F83C10 strb r1, [r4, #60]
-3358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7257 .loc 1 3358 0
- 7258 0146 5168 ldr r1, [r2, #4]
- 7259 0148 41F48071 orr r1, r1, #256
- 7260 014c 5160 str r1, [r2, #4]
-3361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7261 .loc 1 3361 0
- 7262 014e 2168 ldr r1, [r4]
- 7263 0150 4A68 ldr r2, [r1, #4]
- 7264 0152 42F40062 orr r2, r2, #2048
- 7265 0156 4A60 str r2, [r1, #4]
- 7266 0158 63E7 b .L551
- 7267 .L568:
-3314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7268 .loc 1 3314 0
- 7269 015a A06B ldr r0, [r4, #56]
- 7270 015c FFF7FEFF bl HAL_DMA_Abort_IT
- 7271 .LVL374:
-3320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7272 .loc 1 3320 0
- 7273 0160 A36B ldr r3, [r4, #56]
- 7274 0162 0BB1 cbz r3, .L558
-3322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7275 .loc 1 3322 0
- 7276 0164 0022 movs r2, #0
- 7277 0166 9A62 str r2, [r3, #40]
- 7278 .L558:
-3326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7279 .loc 1 3326 0
- 7280 0168 2268 ldr r2, [r4]
- 7281 016a 1368 ldr r3, [r2]
- 7282 016c 23F48063 bic r3, r3, #1024
- 7283 0170 1360 str r3, [r2]
-3328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = 0U;
-ARM GAS /tmp/cc8FAL5N.s page 282
-
-
- 7284 .loc 1 3328 0
- 7285 0172 0023 movs r3, #0
- 7286 0174 2385 strh r3, [r4, #40] @ movhi
-3329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7287 .loc 1 3329 0
- 7288 0176 6385 strh r3, [r4, #42] @ movhi
-3332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7289 .loc 1 3332 0
- 7290 0178 2268 ldr r2, [r4]
- 7291 017a 1368 ldr r3, [r2]
- 7292 017c 23F00103 bic r3, r3, #1
- 7293 0180 1360 str r3, [r2]
-3334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7294 .loc 1 3334 0
- 7295 0182 0123 movs r3, #1
- 7296 0184 4DE7 b .L551
- 7297 .L569:
-3340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7298 .loc 1 3340 0
- 7299 0186 2168 ldr r1, [r4]
- 7300 0188 0A68 ldr r2, [r1]
- 7301 018a 22F48062 bic r2, r2, #1024
- 7302 018e 0A60 str r2, [r1]
- 7303 0190 CFE7 b .L560
- 7304 .LVL375:
- 7305 .L555:
-3381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7306 .loc 1 3381 0
- 7307 0192 CDF80480 str r8, [sp, #4]
- 7308 0196 2323 movs r3, #35
- 7309 0198 0093 str r3, [sp]
- 7310 019a 3B46 mov r3, r7
- 7311 019c 3246 mov r2, r6
- 7312 019e 2946 mov r1, r5
- 7313 01a0 2046 mov r0, r4
- 7314 .LVL376:
- 7315 01a2 FFF7FEFF bl I2C_RequestMemoryRead
- 7316 .LVL377:
- 7317 01a6 0346 mov r3, r0
- 7318 01a8 90B9 cbnz r0, .L563
- 7319 .LBB111:
-3387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7320 .loc 1 3387 0
- 7321 01aa 0490 str r0, [sp, #16]
- 7322 01ac 2268 ldr r2, [r4]
- 7323 01ae 5169 ldr r1, [r2, #20]
- 7324 01b0 0491 str r1, [sp, #16]
- 7325 01b2 9169 ldr r1, [r2, #24]
- 7326 01b4 0491 str r1, [sp, #16]
- 7327 01b6 0499 ldr r1, [sp, #16]
- 7328 .LBE111:
-3390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7329 .loc 1 3390 0
- 7330 01b8 1168 ldr r1, [r2]
- 7331 01ba 41F40071 orr r1, r1, #512
- 7332 01be 1160 str r1, [r2]
-3392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 283
-
-
- 7333 .loc 1 3392 0
- 7334 01c0 2022 movs r2, #32
- 7335 01c2 84F83D20 strb r2, [r4, #61]
-3395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7336 .loc 1 3395 0
- 7337 01c6 84F83C00 strb r0, [r4, #60]
- 7338 01ca 2AE7 b .L551
- 7339 .LVL378:
- 7340 .L562:
-3271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7341 .loc 1 3271 0
- 7342 01cc 0223 movs r3, #2
- 7343 01ce 28E7 b .L551
- 7344 .LVL379:
- 7345 .L563:
-3383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7346 .loc 1 3383 0
- 7347 01d0 0123 movs r3, #1
- 7348 01d2 26E7 b .L551
- 7349 .L571:
- 7350 .align 2
- 7351 .L570:
- 7352 01d4 00000000 .word SystemCoreClock
- 7353 01d8 89B5F814 .word 351843721
- 7354 01dc 0000FFFF .word -65536
- 7355 01e0 00000000 .word I2C_DMAXferCplt
- 7356 01e4 00000000 .word I2C_DMAError
- 7357 .cfi_endproc
- 7358 .LFE86:
- 7360 .section .text.HAL_I2C_IsDeviceReady,"ax",%progbits
- 7361 .align 1
- 7362 .global HAL_I2C_IsDeviceReady
- 7363 .syntax unified
- 7364 .thumb
- 7365 .thumb_func
- 7366 .fpu softvfp
- 7368 HAL_I2C_IsDeviceReady:
- 7369 .LFB87:
-3418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Get tick */
- 7370 .loc 1 3418 0
- 7371 .cfi_startproc
- 7372 @ args = 0, pretend = 0, frame = 8
- 7373 @ frame_needed = 0, uses_anonymous_args = 0
- 7374 .LVL380:
- 7375 0000 2DE9F043 push {r4, r5, r6, r7, r8, r9, lr}
- 7376 .LCFI102:
- 7377 .cfi_def_cfa_offset 28
- 7378 .cfi_offset 4, -28
- 7379 .cfi_offset 5, -24
- 7380 .cfi_offset 6, -20
- 7381 .cfi_offset 7, -16
- 7382 .cfi_offset 8, -12
- 7383 .cfi_offset 9, -8
- 7384 .cfi_offset 14, -4
- 7385 0004 85B0 sub sp, sp, #20
- 7386 .LCFI103:
- 7387 .cfi_def_cfa_offset 48
-ARM GAS /tmp/cc8FAL5N.s page 284
-
-
- 7388 0006 0446 mov r4, r0
- 7389 0008 0F46 mov r7, r1
- 7390 000a 9046 mov r8, r2
- 7391 000c 1D46 mov r5, r3
-3420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t I2C_Trials = 1U;
- 7392 .loc 1 3420 0
- 7393 000e FFF7FEFF bl HAL_GetTick
- 7394 .LVL381:
-3425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7395 .loc 1 3425 0
- 7396 0012 94F83D30 ldrb r3, [r4, #61] @ zero_extendqisi2
- 7397 0016 DBB2 uxtb r3, r3
- 7398 0018 202B cmp r3, #32
- 7399 001a 04D0 beq .L590
-3537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7400 .loc 1 3537 0
- 7401 001c 0223 movs r3, #2
- 7402 .LVL382:
- 7403 .L573:
-3539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7404 .loc 1 3539 0
- 7405 001e 1846 mov r0, r3
- 7406 0020 05B0 add sp, sp, #20
- 7407 .LCFI104:
- 7408 .cfi_remember_state
- 7409 .cfi_def_cfa_offset 28
- 7410 @ sp needed
- 7411 0022 BDE8F083 pop {r4, r5, r6, r7, r8, r9, pc}
- 7412 .LVL383:
- 7413 .L590:
- 7414 .LCFI105:
- 7415 .cfi_restore_state
- 7416 0026 0646 mov r6, r0
-3428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7417 .loc 1 3428 0
- 7418 0028 0090 str r0, [sp]
- 7419 002a 1923 movs r3, #25
- 7420 002c 0122 movs r2, #1
- 7421 002e 5949 ldr r1, .L595
- 7422 0030 2046 mov r0, r4
- 7423 .LVL384:
- 7424 0032 FFF7FEFF bl I2C_WaitOnFlagUntilTimeout
- 7425 .LVL385:
- 7426 0036 08B1 cbz r0, .L591
-3430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7427 .loc 1 3430 0
- 7428 0038 0223 movs r3, #2
- 7429 003a F0E7 b .L573
- 7430 .L591:
-3434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7431 .loc 1 3434 0
- 7432 003c 94F83C30 ldrb r3, [r4, #60] @ zero_extendqisi2
- 7433 0040 012B cmp r3, #1
- 7434 0042 00F09E80 beq .L585
-3434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7435 .loc 1 3434 0 is_stmt 0 discriminator 2
- 7436 0046 0123 movs r3, #1
-ARM GAS /tmp/cc8FAL5N.s page 285
-
-
- 7437 0048 84F83C30 strb r3, [r4, #60]
-3437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7438 .loc 1 3437 0 is_stmt 1 discriminator 2
- 7439 004c 2368 ldr r3, [r4]
- 7440 004e 1A68 ldr r2, [r3]
- 7441 0050 12F0010F tst r2, #1
- 7442 0054 03D1 bne .L574
-3440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7443 .loc 1 3440 0
- 7444 0056 1A68 ldr r2, [r3]
- 7445 0058 42F00102 orr r2, r2, #1
- 7446 005c 1A60 str r2, [r3]
- 7447 .L574:
-3444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7448 .loc 1 3444 0
- 7449 005e 2268 ldr r2, [r4]
- 7450 0060 1368 ldr r3, [r2]
- 7451 0062 23F40063 bic r3, r3, #2048
- 7452 0066 1360 str r3, [r2]
-3446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 7453 .loc 1 3446 0
- 7454 0068 2423 movs r3, #36
- 7455 006a 84F83D30 strb r3, [r4, #61]
-3447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = I2C_NO_OPTION_FRAME;
- 7456 .loc 1 3447 0
- 7457 006e 0023 movs r3, #0
- 7458 0070 2364 str r3, [r4, #64]
-3448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7459 .loc 1 3448 0
- 7460 0072 A3F58033 sub r3, r3, #65536
- 7461 0076 E362 str r3, [r4, #44]
-3421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** FlagStatus tmp1;
- 7462 .loc 1 3421 0
- 7463 0078 4FF00109 mov r9, #1
- 7464 007c 3FE0 b .L582
- 7465 .LVL386:
- 7466 .L594:
-3458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7467 .loc 1 3458 0
- 7468 007e 2368 ldr r3, [r4]
- 7469 0080 1B68 ldr r3, [r3]
- 7470 0082 13F4807F tst r3, #256
- 7471 0086 7ED0 beq .L586
-3460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7472 .loc 1 3460 0
- 7473 0088 4FF40073 mov r3, #512
- 7474 008c 2364 str r3, [r4, #64]
-3462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7475 .loc 1 3462 0
- 7476 008e 0323 movs r3, #3
- 7477 0090 C5E7 b .L573
- 7478 .LVL387:
- 7479 .L577:
-3478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7480 .loc 1 3478 0
- 7481 0092 A023 movs r3, #160
- 7482 0094 84F83D30 strb r3, [r4, #61]
-ARM GAS /tmp/cc8FAL5N.s page 286
-
-
- 7483 .L578:
-3480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** tmp2 = __HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_AF);
- 7484 .loc 1 3480 0
- 7485 0098 2368 ldr r3, [r4]
- 7486 009a 5A69 ldr r2, [r3, #20]
- 7487 009c C2F34002 ubfx r2, r2, #1, #1
- 7488 .LVL388:
-3481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7489 .loc 1 3481 0
- 7490 00a0 5969 ldr r1, [r3, #20]
- 7491 00a2 C1F38021 ubfx r1, r1, #10, #1
- 7492 .LVL389:
- 7493 .L576:
-3474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7494 .loc 1 3474 0
- 7495 00a6 94F83D30 ldrb r3, [r4, #61] @ zero_extendqisi2
- 7496 00aa DBB2 uxtb r3, r3
- 7497 00ac A02B cmp r3, #160
- 7498 00ae 09D0 beq .L579
-3474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7499 .loc 1 3474 0 is_stmt 0 discriminator 1
- 7500 00b0 42B9 cbnz r2, .L579
-3474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7501 .loc 1 3474 0 discriminator 2
- 7502 00b2 39B9 cbnz r1, .L579
-3476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7503 .loc 1 3476 0 is_stmt 1
- 7504 00b4 FFF7FEFF bl HAL_GetTick
- 7505 .LVL390:
- 7506 00b8 801B subs r0, r0, r6
- 7507 00ba 8542 cmp r5, r0
- 7508 00bc E9D3 bcc .L577
-3476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7509 .loc 1 3476 0 is_stmt 0 discriminator 1
- 7510 00be 002D cmp r5, #0
- 7511 00c0 EAD1 bne .L578
- 7512 00c2 E6E7 b .L577
- 7513 .LVL391:
- 7514 .L579:
-3484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7515 .loc 1 3484 0 is_stmt 1
- 7516 00c4 2023 movs r3, #32
- 7517 00c6 84F83D30 strb r3, [r4, #61]
-3487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7518 .loc 1 3487 0
- 7519 00ca 2368 ldr r3, [r4]
- 7520 00cc 5A69 ldr r2, [r3, #20]
- 7521 .LVL392:
- 7522 00ce 12F0020F tst r2, #2
- 7523 00d2 32D1 bne .L592
-3511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7524 .loc 1 3511 0
- 7525 00d4 1A68 ldr r2, [r3]
- 7526 00d6 42F40072 orr r2, r2, #512
- 7527 00da 1A60 str r2, [r3]
-3514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7528 .loc 1 3514 0
-ARM GAS /tmp/cc8FAL5N.s page 287
-
-
- 7529 00dc 2368 ldr r3, [r4]
- 7530 00de 6FF48062 mvn r2, #1024
- 7531 00e2 5A61 str r2, [r3, #20]
-3517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7532 .loc 1 3517 0
- 7533 00e4 0096 str r6, [sp]
- 7534 00e6 1923 movs r3, #25
- 7535 00e8 0122 movs r2, #1
- 7536 00ea 2A49 ldr r1, .L595
- 7537 .LVL393:
- 7538 00ec 2046 mov r0, r4
- 7539 00ee FFF7FEFF bl I2C_WaitOnFlagUntilTimeout
- 7540 .LVL394:
- 7541 00f2 0028 cmp r0, #0
- 7542 00f4 4BD1 bne .L588
-3524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7543 .loc 1 3524 0
- 7544 00f6 09F10109 add r9, r9, #1
- 7545 .LVL395:
-3526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7546 .loc 1 3526 0
- 7547 00fa C145 cmp r9, r8
- 7548 00fc 39D2 bcs .L593
- 7549 .LVL396:
- 7550 .L582:
-3453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7551 .loc 1 3453 0
- 7552 00fe 2268 ldr r2, [r4]
- 7553 0100 1368 ldr r3, [r2]
- 7554 0102 43F48073 orr r3, r3, #256
- 7555 0106 1360 str r3, [r2]
-3456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7556 .loc 1 3456 0
- 7557 0108 0096 str r6, [sp]
- 7558 010a 2B46 mov r3, r5
- 7559 010c 0022 movs r2, #0
- 7560 010e 4FF00111 mov r1, #65537
- 7561 0112 2046 mov r0, r4
- 7562 0114 FFF7FEFF bl I2C_WaitOnFlagUntilTimeout
- 7563 .LVL397:
- 7564 0118 0028 cmp r0, #0
- 7565 011a B0D1 bne .L594
-3466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7566 .loc 1 3466 0
- 7567 011c 2368 ldr r3, [r4]
- 7568 011e 07F0FE02 and r2, r7, #254
- 7569 0122 1A61 str r2, [r3, #16]
-3470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7570 .loc 1 3470 0
- 7571 0124 FFF7FEFF bl HAL_GetTick
- 7572 .LVL398:
- 7573 0128 0646 mov r6, r0
- 7574 .LVL399:
-3472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** tmp2 = __HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_AF);
- 7575 .loc 1 3472 0
- 7576 012a 2368 ldr r3, [r4]
- 7577 012c 5A69 ldr r2, [r3, #20]
-ARM GAS /tmp/cc8FAL5N.s page 288
-
-
- 7578 012e C2F34002 ubfx r2, r2, #1, #1
- 7579 .LVL400:
-3473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** while ((hi2c->State != HAL_I2C_STATE_TIMEOUT) && (tmp1 == RESET) && (tmp2 == RESET))
- 7580 .loc 1 3473 0
- 7581 0132 5969 ldr r1, [r3, #20]
- 7582 0134 C1F38021 ubfx r1, r1, #10, #1
- 7583 .LVL401:
-3474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7584 .loc 1 3474 0
- 7585 0138 B5E7 b .L576
- 7586 .LVL402:
- 7587 .L592:
-3490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7588 .loc 1 3490 0
- 7589 013a 1A68 ldr r2, [r3]
- 7590 013c 42F40072 orr r2, r2, #512
- 7591 0140 1A60 str r2, [r3]
- 7592 .LBB112:
-3493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7593 .loc 1 3493 0
- 7594 0142 0023 movs r3, #0
- 7595 0144 0393 str r3, [sp, #12]
- 7596 0146 2368 ldr r3, [r4]
- 7597 0148 5A69 ldr r2, [r3, #20]
- 7598 014a 0392 str r2, [sp, #12]
- 7599 014c 9B69 ldr r3, [r3, #24]
- 7600 014e 0393 str r3, [sp, #12]
- 7601 0150 039B ldr r3, [sp, #12]
- 7602 .LBE112:
-3496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7603 .loc 1 3496 0
- 7604 0152 0096 str r6, [sp]
- 7605 0154 1923 movs r3, #25
- 7606 0156 0122 movs r2, #1
- 7607 0158 0E49 ldr r1, .L595
- 7608 .LVL403:
- 7609 015a 2046 mov r0, r4
- 7610 015c FFF7FEFF bl I2C_WaitOnFlagUntilTimeout
- 7611 .LVL404:
- 7612 0160 0346 mov r3, r0
- 7613 0162 90B9 cbnz r0, .L587
-3501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7614 .loc 1 3501 0
- 7615 0164 2022 movs r2, #32
- 7616 0166 84F83D20 strb r2, [r4, #61]
-3504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7617 .loc 1 3504 0
- 7618 016a 0022 movs r2, #0
- 7619 016c 84F83C20 strb r2, [r4, #60]
-3506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7620 .loc 1 3506 0
- 7621 0170 55E7 b .L573
- 7622 .L593:
-3528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7623 .loc 1 3528 0
- 7624 0172 2023 movs r3, #32
- 7625 0174 84F83D30 strb r3, [r4, #61]
-ARM GAS /tmp/cc8FAL5N.s page 289
-
-
-3531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7626 .loc 1 3531 0
- 7627 0178 0023 movs r3, #0
- 7628 017a 84F83C30 strb r3, [r4, #60]
-3533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7629 .loc 1 3533 0
- 7630 017e 0123 movs r3, #1
- 7631 0180 4DE7 b .L573
- 7632 .LVL405:
- 7633 .L585:
-3434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7634 .loc 1 3434 0
- 7635 0182 0223 movs r3, #2
- 7636 0184 4BE7 b .L573
- 7637 .LVL406:
- 7638 .L586:
-3462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7639 .loc 1 3462 0
- 7640 0186 0323 movs r3, #3
- 7641 0188 49E7 b .L573
- 7642 .L587:
-3498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7643 .loc 1 3498 0
- 7644 018a 0123 movs r3, #1
- 7645 018c 47E7 b .L573
- 7646 .L588:
-3519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7647 .loc 1 3519 0
- 7648 018e 0123 movs r3, #1
- 7649 0190 45E7 b .L573
- 7650 .L596:
- 7651 0192 00BF .align 2
- 7652 .L595:
- 7653 0194 02001000 .word 1048578
- 7654 .cfi_endproc
- 7655 .LFE87:
- 7657 .section .text.HAL_I2C_Master_Seq_Transmit_IT,"ax",%progbits
- 7658 .align 1
- 7659 .global HAL_I2C_Master_Seq_Transmit_IT
- 7660 .syntax unified
- 7661 .thumb
- 7662 .thumb_func
- 7663 .fpu softvfp
- 7665 HAL_I2C_Master_Seq_Transmit_IT:
- 7666 .LFB88:
-3554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t Prev_State = 0x00U;
- 7667 .loc 1 3554 0
- 7668 .cfi_startproc
- 7669 @ args = 4, pretend = 0, frame = 8
- 7670 @ frame_needed = 0, uses_anonymous_args = 0
- 7671 @ link register save eliminated.
- 7672 .LVL407:
- 7673 0000 70B4 push {r4, r5, r6}
- 7674 .LCFI106:
- 7675 .cfi_def_cfa_offset 12
- 7676 .cfi_offset 4, -12
- 7677 .cfi_offset 5, -8
-ARM GAS /tmp/cc8FAL5N.s page 290
-
-
- 7678 .cfi_offset 6, -4
- 7679 0002 83B0 sub sp, sp, #12
- 7680 .LCFI107:
- 7681 .cfi_def_cfa_offset 24
-3555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0x00U;
- 7682 .loc 1 3555 0
- 7683 0004 0024 movs r4, #0
- 7684 0006 0194 str r4, [sp, #4]
-3556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7685 .loc 1 3556 0
- 7686 0008 0094 str r4, [sp]
-3561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7687 .loc 1 3561 0
- 7688 000a 90F83D40 ldrb r4, [r0, #61] @ zero_extendqisi2
- 7689 000e E4B2 uxtb r4, r4
- 7690 0010 202C cmp r4, #32
- 7691 0012 03D0 beq .L612
-3635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7692 .loc 1 3635 0
- 7693 0014 0220 movs r0, #2
- 7694 .LVL408:
- 7695 .L598:
-3637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7696 .loc 1 3637 0
- 7697 0016 03B0 add sp, sp, #12
- 7698 .LCFI108:
- 7699 .cfi_remember_state
- 7700 .cfi_def_cfa_offset 12
- 7701 @ sp needed
- 7702 0018 70BC pop {r4, r5, r6}
- 7703 .LCFI109:
- 7704 .cfi_restore 6
- 7705 .cfi_restore 5
- 7706 .cfi_restore 4
- 7707 .cfi_def_cfa_offset 0
- 7708 .LVL409:
- 7709 001a 7047 bx lr
- 7710 .LVL410:
- 7711 .L612:
- 7712 .LCFI110:
- 7713 .cfi_restore_state
-3564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7714 .loc 1 3564 0
- 7715 001c 0568 ldr r5, [r0]
- 7716 001e 2C68 ldr r4, [r5]
- 7717 0020 14F4007F tst r4, #512
- 7718 0024 04D1 bne .L599
-3564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7719 .loc 1 3564 0 is_stmt 0 discriminator 1
- 7720 0026 069C ldr r4, [sp, #24]
- 7721 0028 082C cmp r4, #8
- 7722 002a 01D0 beq .L599
-3564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7723 .loc 1 3564 0 discriminator 2
- 7724 002c 012C cmp r4, #1
- 7725 002e 15D1 bne .L600
- 7726 .L599:
-ARM GAS /tmp/cc8FAL5N.s page 291
-
-
-3567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
- 7727 .loc 1 3567 0 is_stmt 1
- 7728 0030 364C ldr r4, .L616
- 7729 0032 2468 ldr r4, [r4]
- 7730 0034 E408 lsrs r4, r4, #3
- 7731 0036 364E ldr r6, .L616+4
- 7732 0038 A6FB0464 umull r6, r4, r6, r4
- 7733 003c 240A lsrs r4, r4, #8
- 7734 003e 04EB8404 add r4, r4, r4, lsl #2
- 7735 0042 04EB8404 add r4, r4, r4, lsl #2
- 7736 0046 0094 str r4, [sp]
- 7737 .L602:
-3570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
- 7738 .loc 1 3570 0
- 7739 0048 009C ldr r4, [sp]
- 7740 004a 013C subs r4, r4, #1
- 7741 004c 0094 str r4, [sp]
-3571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7742 .loc 1 3571 0
- 7743 004e 009C ldr r4, [sp]
- 7744 0050 002C cmp r4, #0
- 7745 0052 3AD0 beq .L613
-3584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7746 .loc 1 3584 0
- 7747 0054 AC69 ldr r4, [r5, #24]
- 7748 0056 14F0020F tst r4, #2
- 7749 005a F5D1 bne .L602
- 7750 .L600:
-3588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7751 .loc 1 3588 0
- 7752 005c 90F83C40 ldrb r4, [r0, #60] @ zero_extendqisi2
- 7753 0060 012C cmp r4, #1
- 7754 0062 50D0 beq .L608
-3588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7755 .loc 1 3588 0 is_stmt 0 discriminator 2
- 7756 0064 0124 movs r4, #1
- 7757 0066 80F83C40 strb r4, [r0, #60]
-3591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7758 .loc 1 3591 0 is_stmt 1 discriminator 2
- 7759 006a 2C68 ldr r4, [r5]
- 7760 006c 14F0010F tst r4, #1
- 7761 0070 03D1 bne .L603
-3594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7762 .loc 1 3594 0
- 7763 0072 2C68 ldr r4, [r5]
- 7764 0074 44F00104 orr r4, r4, #1
- 7765 0078 2C60 str r4, [r5]
- 7766 .L603:
-3598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7767 .loc 1 3598 0
- 7768 007a 0568 ldr r5, [r0]
- 7769 007c 2C68 ldr r4, [r5]
- 7770 007e 24F40064 bic r4, r4, #2048
- 7771 0082 2C60 str r4, [r5]
-3600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MASTER;
- 7772 .loc 1 3600 0
- 7773 0084 2124 movs r4, #33
-ARM GAS /tmp/cc8FAL5N.s page 292
-
-
- 7774 0086 80F83D40 strb r4, [r0, #61]
-3601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 7775 .loc 1 3601 0
- 7776 008a 1024 movs r4, #16
- 7777 008c 80F83E40 strb r4, [r0, #62]
-3602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7778 .loc 1 3602 0
- 7779 0090 0024 movs r4, #0
- 7780 0092 0464 str r4, [r0, #64]
-3605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 7781 .loc 1 3605 0
- 7782 0094 4262 str r2, [r0, #36]
-3606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
- 7783 .loc 1 3606 0
- 7784 0096 4385 strh r3, [r0, #42] @ movhi
-3607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = XferOptions;
- 7785 .loc 1 3607 0
- 7786 0098 438D ldrh r3, [r0, #42]
- 7787 .LVL411:
- 7788 009a 0385 strh r3, [r0, #40] @ movhi
-3608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Devaddress = DevAddress;
- 7789 .loc 1 3608 0
- 7790 009c 069B ldr r3, [sp, #24]
- 7791 009e C362 str r3, [r0, #44]
- 7792 .LVL412:
-3609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7793 .loc 1 3609 0
- 7794 00a0 4164 str r1, [r0, #68]
-3611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7795 .loc 1 3611 0
- 7796 00a2 036B ldr r3, [r0, #48]
- 7797 00a4 0193 str r3, [sp, #4]
-3615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7798 .loc 1 3615 0
- 7799 00a6 019B ldr r3, [sp, #4]
- 7800 00a8 112B cmp r3, #17
- 7801 00aa 1DD0 beq .L614
- 7802 .L604:
-3618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7803 .loc 1 3618 0
- 7804 00ac 0268 ldr r2, [r0]
- 7805 .LVL413:
- 7806 00ae 1368 ldr r3, [r2]
- 7807 00b0 43F48073 orr r3, r3, #256
- 7808 00b4 1360 str r3, [r2]
- 7809 .LVL414:
- 7810 .L606:
-3622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7811 .loc 1 3622 0
- 7812 00b6 0023 movs r3, #0
- 7813 00b8 80F83C30 strb r3, [r0, #60]
-3629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7814 .loc 1 3629 0
- 7815 00bc 0168 ldr r1, [r0]
- 7816 .LVL415:
- 7817 00be 4A68 ldr r2, [r1, #4]
- 7818 00c0 42F4E062 orr r2, r2, #1792
-ARM GAS /tmp/cc8FAL5N.s page 293
-
-
- 7819 00c4 4A60 str r2, [r1, #4]
-3631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7820 .loc 1 3631 0
- 7821 00c6 1846 mov r0, r3
- 7822 .LVL416:
- 7823 00c8 A5E7 b .L598
- 7824 .LVL417:
- 7825 .L613:
-3573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 7826 .loc 1 3573 0
- 7827 00ca 0023 movs r3, #0
- 7828 .LVL418:
- 7829 00cc 0363 str r3, [r0, #48]
-3574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 7830 .loc 1 3574 0
- 7831 00ce 2022 movs r2, #32
- 7832 .LVL419:
- 7833 00d0 80F83D20 strb r2, [r0, #61]
-3575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
- 7834 .loc 1 3575 0
- 7835 00d4 80F83E30 strb r3, [r0, #62]
-3576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7836 .loc 1 3576 0
- 7837 00d8 026C ldr r2, [r0, #64]
- 7838 00da 42F02002 orr r2, r2, #32
- 7839 00de 0264 str r2, [r0, #64]
-3579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7840 .loc 1 3579 0
- 7841 00e0 80F83C30 strb r3, [r0, #60]
-3581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7842 .loc 1 3581 0
- 7843 00e4 0120 movs r0, #1
- 7844 .LVL420:
- 7845 00e6 96E7 b .L598
- 7846 .LVL421:
- 7847 .L614:
-3615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7848 .loc 1 3615 0 discriminator 1
- 7849 00e8 069B ldr r3, [sp, #24]
- 7850 00ea B3F52A0F cmp r3, #11141120
- 7851 00ee 08D0 beq .L609
-3615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7852 .loc 1 3615 0 is_stmt 0 discriminator 3
- 7853 00f0 B3F12A4F cmp r3, #-1442840576
- 7854 00f4 03D0 beq .L615
-3615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7855 .loc 1 3615 0
- 7856 00f6 0023 movs r3, #0
- 7857 .L605:
-3615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7858 .loc 1 3615 0 discriminator 7
- 7859 00f8 002B cmp r3, #0
- 7860 00fa DCD0 beq .L606
- 7861 00fc D6E7 b .L604
- 7862 .L615:
-3615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7863 .loc 1 3615 0
-ARM GAS /tmp/cc8FAL5N.s page 294
-
-
- 7864 00fe 0123 movs r3, #1
- 7865 0100 FAE7 b .L605
- 7866 .L609:
- 7867 0102 0123 movs r3, #1
- 7868 0104 F8E7 b .L605
- 7869 .LVL422:
- 7870 .L608:
-3588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7871 .loc 1 3588 0 is_stmt 1
- 7872 0106 0220 movs r0, #2
- 7873 .LVL423:
- 7874 0108 85E7 b .L598
- 7875 .L617:
- 7876 010a 00BF .align 2
- 7877 .L616:
- 7878 010c 00000000 .word SystemCoreClock
- 7879 0110 89B5F814 .word 351843721
- 7880 .cfi_endproc
- 7881 .LFE88:
- 7883 .section .text.HAL_I2C_Master_Seq_Transmit_DMA,"ax",%progbits
- 7884 .align 1
- 7885 .global HAL_I2C_Master_Seq_Transmit_DMA
- 7886 .syntax unified
- 7887 .thumb
- 7888 .thumb_func
- 7889 .fpu softvfp
- 7891 HAL_I2C_Master_Seq_Transmit_DMA:
- 7892 .LFB89:
-3652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t Prev_State = 0x00U;
- 7893 .loc 1 3652 0
- 7894 .cfi_startproc
- 7895 @ args = 4, pretend = 0, frame = 8
- 7896 @ frame_needed = 0, uses_anonymous_args = 0
- 7897 .LVL424:
- 7898 0000 70B5 push {r4, r5, r6, lr}
- 7899 .LCFI111:
- 7900 .cfi_def_cfa_offset 16
- 7901 .cfi_offset 4, -16
- 7902 .cfi_offset 5, -12
- 7903 .cfi_offset 6, -8
- 7904 .cfi_offset 14, -4
- 7905 0002 82B0 sub sp, sp, #8
- 7906 .LCFI112:
- 7907 .cfi_def_cfa_offset 24
-3653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0x00U;
- 7908 .loc 1 3653 0
- 7909 0004 0024 movs r4, #0
- 7910 0006 0194 str r4, [sp, #4]
-3654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef dmaxferstatus;
- 7911 .loc 1 3654 0
- 7912 0008 0094 str r4, [sp]
-3660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7913 .loc 1 3660 0
- 7914 000a 90F83D40 ldrb r4, [r0, #61] @ zero_extendqisi2
- 7915 000e E4B2 uxtb r4, r4
- 7916 0010 202C cmp r4, #32
- 7917 0012 03D0 beq .L642
-ARM GAS /tmp/cc8FAL5N.s page 295
-
-
-3801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7918 .loc 1 3801 0
- 7919 0014 0223 movs r3, #2
- 7920 .LVL425:
- 7921 .L619:
-3803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7922 .loc 1 3803 0
- 7923 0016 1846 mov r0, r3
- 7924 0018 02B0 add sp, sp, #8
- 7925 .LCFI113:
- 7926 .cfi_remember_state
- 7927 .cfi_def_cfa_offset 16
- 7928 @ sp needed
- 7929 001a 70BD pop {r4, r5, r6, pc}
- 7930 .LVL426:
- 7931 .L642:
- 7932 .LCFI114:
- 7933 .cfi_restore_state
-3663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7934 .loc 1 3663 0
- 7935 001c 0568 ldr r5, [r0]
- 7936 001e 2C68 ldr r4, [r5]
- 7937 0020 14F4007F tst r4, #512
- 7938 0024 04D1 bne .L620
-3663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7939 .loc 1 3663 0 is_stmt 0 discriminator 1
- 7940 0026 069C ldr r4, [sp, #24]
- 7941 0028 082C cmp r4, #8
- 7942 002a 01D0 beq .L620
-3663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7943 .loc 1 3663 0 discriminator 2
- 7944 002c 012C cmp r4, #1
- 7945 002e 15D1 bne .L621
- 7946 .L620:
-3666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
- 7947 .loc 1 3666 0 is_stmt 1
- 7948 0030 644C ldr r4, .L649
- 7949 0032 2468 ldr r4, [r4]
- 7950 0034 E408 lsrs r4, r4, #3
- 7951 0036 644E ldr r6, .L649+4
- 7952 0038 A6FB0464 umull r6, r4, r6, r4
- 7953 003c 240A lsrs r4, r4, #8
- 7954 003e 04EB8404 add r4, r4, r4, lsl #2
- 7955 0042 04EB8404 add r4, r4, r4, lsl #2
- 7956 0046 0094 str r4, [sp]
- 7957 .L623:
-3669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
- 7958 .loc 1 3669 0
- 7959 0048 009C ldr r4, [sp]
- 7960 004a 013C subs r4, r4, #1
- 7961 004c 0094 str r4, [sp]
-3670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7962 .loc 1 3670 0
- 7963 004e 009C ldr r4, [sp]
- 7964 0050 002C cmp r4, #0
- 7965 0052 41D0 beq .L643
-3683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-ARM GAS /tmp/cc8FAL5N.s page 296
-
-
- 7966 .loc 1 3683 0
- 7967 0054 AC69 ldr r4, [r5, #24]
- 7968 0056 14F0020F tst r4, #2
- 7969 005a F5D1 bne .L623
- 7970 .L621:
-3687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7971 .loc 1 3687 0
- 7972 005c 90F83C40 ldrb r4, [r0, #60] @ zero_extendqisi2
- 7973 0060 012C cmp r4, #1
- 7974 0062 00F0AC80 beq .L636
-3687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7975 .loc 1 3687 0 is_stmt 0 discriminator 2
- 7976 0066 0124 movs r4, #1
- 7977 0068 80F83C40 strb r4, [r0, #60]
-3690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 7978 .loc 1 3690 0 is_stmt 1 discriminator 2
- 7979 006c 2C68 ldr r4, [r5]
- 7980 006e 14F0010F tst r4, #1
- 7981 0072 03D1 bne .L624
-3693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 7982 .loc 1 3693 0
- 7983 0074 2C68 ldr r4, [r5]
- 7984 0076 44F00104 orr r4, r4, #1
- 7985 007a 2C60 str r4, [r5]
- 7986 .L624:
-3697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7987 .loc 1 3697 0
- 7988 007c 0568 ldr r5, [r0]
- 7989 007e 2C68 ldr r4, [r5]
- 7990 0080 24F40064 bic r4, r4, #2048
- 7991 0084 2C60 str r4, [r5]
-3699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MASTER;
- 7992 .loc 1 3699 0
- 7993 0086 2124 movs r4, #33
- 7994 0088 80F83D40 strb r4, [r0, #61]
-3700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 7995 .loc 1 3700 0
- 7996 008c 1024 movs r4, #16
- 7997 008e 80F83E40 strb r4, [r0, #62]
-3701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 7998 .loc 1 3701 0
- 7999 0092 0024 movs r4, #0
- 8000 0094 0464 str r4, [r0, #64]
-3704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 8001 .loc 1 3704 0
- 8002 0096 4262 str r2, [r0, #36]
-3705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
- 8003 .loc 1 3705 0
- 8004 0098 4385 strh r3, [r0, #42] @ movhi
-3706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = XferOptions;
- 8005 .loc 1 3706 0
- 8006 009a 438D ldrh r3, [r0, #42]
- 8007 .LVL427:
- 8008 009c 9BB2 uxth r3, r3
- 8009 009e 0385 strh r3, [r0, #40] @ movhi
-3707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Devaddress = DevAddress;
- 8010 .loc 1 3707 0
-ARM GAS /tmp/cc8FAL5N.s page 297
-
-
- 8011 00a0 069A ldr r2, [sp, #24]
- 8012 .LVL428:
- 8013 00a2 C262 str r2, [r0, #44]
- 8014 .LVL429:
-3708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8015 .loc 1 3708 0
- 8016 00a4 4164 str r1, [r0, #68]
-3710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8017 .loc 1 3710 0
- 8018 00a6 026B ldr r2, [r0, #48]
- 8019 00a8 0192 str r2, [sp, #4]
-3712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8020 .loc 1 3712 0
- 8021 00aa 23BB cbnz r3, .L644
-3776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8022 .loc 1 3776 0
- 8023 00ac 0268 ldr r2, [r0]
- 8024 00ae 1368 ldr r3, [r2]
- 8025 00b0 43F48063 orr r3, r3, #1024
- 8026 00b4 1360 str r3, [r2]
- 8027 .LVL430:
-3780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8028 .loc 1 3780 0
- 8029 00b6 019B ldr r3, [sp, #4]
- 8030 00b8 112B cmp r3, #17
- 8031 00ba 71D0 beq .L645
- 8032 .L632:
-3783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8033 .loc 1 3783 0
- 8034 00bc 0268 ldr r2, [r0]
- 8035 00be 1368 ldr r3, [r2]
- 8036 00c0 43F48073 orr r3, r3, #256
- 8037 00c4 1360 str r3, [r2]
- 8038 .L634:
-3787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8039 .loc 1 3787 0
- 8040 00c6 0023 movs r3, #0
- 8041 00c8 80F83C30 strb r3, [r0, #60]
-3794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8042 .loc 1 3794 0
- 8043 00cc 0168 ldr r1, [r0]
- 8044 .LVL431:
- 8045 00ce 4A68 ldr r2, [r1, #4]
- 8046 00d0 42F4E062 orr r2, r2, #1792
- 8047 00d4 4A60 str r2, [r1, #4]
- 8048 00d6 9EE7 b .L619
- 8049 .LVL432:
- 8050 .L643:
-3672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 8051 .loc 1 3672 0
- 8052 00d8 0023 movs r3, #0
- 8053 .LVL433:
- 8054 00da 0363 str r3, [r0, #48]
-3673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 8055 .loc 1 3673 0
- 8056 00dc 2022 movs r2, #32
- 8057 .LVL434:
-ARM GAS /tmp/cc8FAL5N.s page 298
-
-
- 8058 00de 80F83D20 strb r2, [r0, #61]
-3674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
- 8059 .loc 1 3674 0
- 8060 00e2 80F83E30 strb r3, [r0, #62]
-3675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8061 .loc 1 3675 0
- 8062 00e6 026C ldr r2, [r0, #64]
- 8063 00e8 42F02002 orr r2, r2, #32
- 8064 00ec 0264 str r2, [r0, #64]
-3678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8065 .loc 1 3678 0
- 8066 00ee 80F83C30 strb r3, [r0, #60]
-3680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8067 .loc 1 3680 0
- 8068 00f2 0123 movs r3, #1
- 8069 00f4 8FE7 b .L619
- 8070 .LVL435:
- 8071 .L644:
- 8072 00f6 0446 mov r4, r0
-3715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8073 .loc 1 3715 0
- 8074 00f8 436B ldr r3, [r0, #52]
- 8075 00fa 344A ldr r2, .L649+8
- 8076 00fc 9A62 str r2, [r3, #40]
- 8077 .LVL436:
-3718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8078 .loc 1 3718 0
- 8079 00fe 436B ldr r3, [r0, #52]
- 8080 0100 334A ldr r2, .L649+12
- 8081 0102 1A63 str r2, [r3, #48]
-3721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferAbortCallback = NULL;
- 8082 .loc 1 3721 0
- 8083 0104 426B ldr r2, [r0, #52]
- 8084 0106 0023 movs r3, #0
- 8085 0108 D362 str r3, [r2, #44]
-3722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8086 .loc 1 3722 0
- 8087 010a 426B ldr r2, [r0, #52]
- 8088 010c 5363 str r3, [r2, #52]
-3725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8089 .loc 1 3725 0
- 8090 010e 0268 ldr r2, [r0]
- 8091 0110 038D ldrh r3, [r0, #40]
- 8092 0112 1032 adds r2, r2, #16
- 8093 0114 416A ldr r1, [r0, #36]
- 8094 .LVL437:
- 8095 0116 406B ldr r0, [r0, #52]
- 8096 .LVL438:
- 8097 0118 FFF7FEFF bl HAL_DMA_Start_IT
- 8098 .LVL439:
-3727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8099 .loc 1 3727 0
- 8100 011c 0346 mov r3, r0
- 8101 011e 0028 cmp r0, #0
- 8102 0120 30D1 bne .L626
-3730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8103 .loc 1 3730 0
-ARM GAS /tmp/cc8FAL5N.s page 299
-
-
- 8104 0122 2168 ldr r1, [r4]
- 8105 0124 0A68 ldr r2, [r1]
- 8106 0126 42F48062 orr r2, r2, #1024
- 8107 012a 0A60 str r2, [r1]
-3734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8108 .loc 1 3734 0
- 8109 012c 019A ldr r2, [sp, #4]
- 8110 012e 112A cmp r2, #17
- 8111 0130 19D0 beq .L646
- 8112 .L627:
-3737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8113 .loc 1 3737 0
- 8114 0132 2168 ldr r1, [r4]
- 8115 0134 0A68 ldr r2, [r1]
- 8116 0136 42F48072 orr r2, r2, #256
- 8117 013a 0A60 str r2, [r1]
- 8118 .L629:
-3741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8119 .loc 1 3741 0
- 8120 013c 0022 movs r2, #0
- 8121 013e 84F83C20 strb r2, [r4, #60]
-3749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8122 .loc 1 3749 0
- 8123 0142 069A ldr r2, [sp, #24]
- 8124 0144 042A cmp r2, #4
- 8125 0146 03D0 beq .L630
-3749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8126 .loc 1 3749 0 is_stmt 0 discriminator 1
- 8127 0148 202A cmp r2, #32
- 8128 014a 01D0 beq .L630
-3749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8129 .loc 1 3749 0 discriminator 2
- 8130 014c 102A cmp r2, #16
- 8131 014e 04D1 bne .L631
- 8132 .L630:
-3752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8133 .loc 1 3752 0 is_stmt 1
- 8134 0150 2168 ldr r1, [r4]
- 8135 0152 4A68 ldr r2, [r1, #4]
- 8136 0154 42F40062 orr r2, r2, #2048
- 8137 0158 4A60 str r2, [r1, #4]
- 8138 .L631:
-3756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8139 .loc 1 3756 0
- 8140 015a 2168 ldr r1, [r4]
- 8141 015c 4A68 ldr r2, [r1, #4]
- 8142 015e 42F44072 orr r2, r2, #768
- 8143 0162 4A60 str r2, [r1, #4]
- 8144 0164 57E7 b .L619
- 8145 .L646:
-3734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8146 .loc 1 3734 0 discriminator 1
- 8147 0166 069A ldr r2, [sp, #24]
- 8148 0168 B2F52A0F cmp r2, #11141120
- 8149 016c 08D0 beq .L637
-3734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8150 .loc 1 3734 0 is_stmt 0 discriminator 3
-ARM GAS /tmp/cc8FAL5N.s page 300
-
-
- 8151 016e B2F12A4F cmp r2, #-1442840576
- 8152 0172 03D0 beq .L647
-3734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8153 .loc 1 3734 0
- 8154 0174 0022 movs r2, #0
- 8155 .L628:
-3734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8156 .loc 1 3734 0 discriminator 7
- 8157 0176 002A cmp r2, #0
- 8158 0178 E0D0 beq .L629
- 8159 017a DAE7 b .L627
- 8160 .L647:
-3734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8161 .loc 1 3734 0
- 8162 017c 0122 movs r2, #1
- 8163 017e FAE7 b .L628
- 8164 .L637:
- 8165 0180 0122 movs r2, #1
- 8166 0182 F8E7 b .L628
- 8167 .L626:
-3761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 8168 .loc 1 3761 0 is_stmt 1
- 8169 0184 2023 movs r3, #32
- 8170 0186 84F83D30 strb r3, [r4, #61]
-3762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8171 .loc 1 3762 0
- 8172 018a 0022 movs r2, #0
- 8173 018c 84F83E20 strb r2, [r4, #62]
-3765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8174 .loc 1 3765 0
- 8175 0190 236C ldr r3, [r4, #64]
- 8176 0192 43F01003 orr r3, r3, #16
- 8177 0196 2364 str r3, [r4, #64]
-3768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8178 .loc 1 3768 0
- 8179 0198 84F83C20 strb r2, [r4, #60]
-3770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8180 .loc 1 3770 0
- 8181 019c 0123 movs r3, #1
- 8182 019e 3AE7 b .L619
- 8183 .LVL440:
- 8184 .L645:
-3780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8185 .loc 1 3780 0 discriminator 1
- 8186 01a0 069B ldr r3, [sp, #24]
- 8187 01a2 B3F52A0F cmp r3, #11141120
- 8188 01a6 08D0 beq .L639
-3780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8189 .loc 1 3780 0 is_stmt 0 discriminator 3
- 8190 01a8 B3F12A4F cmp r3, #-1442840576
- 8191 01ac 03D0 beq .L648
-3780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8192 .loc 1 3780 0
- 8193 01ae 0023 movs r3, #0
- 8194 .L633:
-3780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8195 .loc 1 3780 0 discriminator 7
-ARM GAS /tmp/cc8FAL5N.s page 301
-
-
- 8196 01b0 002B cmp r3, #0
- 8197 01b2 88D0 beq .L634
- 8198 01b4 82E7 b .L632
- 8199 .L648:
-3780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8200 .loc 1 3780 0
- 8201 01b6 0123 movs r3, #1
- 8202 01b8 FAE7 b .L633
- 8203 .L639:
- 8204 01ba 0123 movs r3, #1
- 8205 01bc F8E7 b .L633
- 8206 .LVL441:
- 8207 .L636:
-3687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8208 .loc 1 3687 0 is_stmt 1
- 8209 01be 0223 movs r3, #2
- 8210 .LVL442:
- 8211 01c0 29E7 b .L619
- 8212 .L650:
- 8213 01c2 00BF .align 2
- 8214 .L649:
- 8215 01c4 00000000 .word SystemCoreClock
- 8216 01c8 89B5F814 .word 351843721
- 8217 01cc 00000000 .word I2C_DMAXferCplt
- 8218 01d0 00000000 .word I2C_DMAError
- 8219 .cfi_endproc
- 8220 .LFE89:
- 8222 .section .text.HAL_I2C_Master_Seq_Receive_IT,"ax",%progbits
- 8223 .align 1
- 8224 .global HAL_I2C_Master_Seq_Receive_IT
- 8225 .syntax unified
- 8226 .thumb
- 8227 .thumb_func
- 8228 .fpu softvfp
- 8230 HAL_I2C_Master_Seq_Receive_IT:
- 8231 .LFB90:
-3818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t Prev_State = 0x00U;
- 8232 .loc 1 3818 0
- 8233 .cfi_startproc
- 8234 @ args = 4, pretend = 0, frame = 8
- 8235 @ frame_needed = 0, uses_anonymous_args = 0
- 8236 @ link register save eliminated.
- 8237 .LVL443:
- 8238 0000 70B4 push {r4, r5, r6}
- 8239 .LCFI115:
- 8240 .cfi_def_cfa_offset 12
- 8241 .cfi_offset 4, -12
- 8242 .cfi_offset 5, -8
- 8243 .cfi_offset 6, -4
- 8244 0002 83B0 sub sp, sp, #12
- 8245 .LCFI116:
- 8246 .cfi_def_cfa_offset 24
-3819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
- 8247 .loc 1 3819 0
- 8248 0004 0024 movs r4, #0
- 8249 0006 0194 str r4, [sp, #4]
-3820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t enableIT = (I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
-ARM GAS /tmp/cc8FAL5N.s page 302
-
-
- 8250 .loc 1 3820 0
- 8251 0008 0094 str r4, [sp]
- 8252 .LVL444:
-3826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8253 .loc 1 3826 0
- 8254 000a 90F83D40 ldrb r4, [r0, #61] @ zero_extendqisi2
- 8255 000e E4B2 uxtb r4, r4
- 8256 0010 202C cmp r4, #32
- 8257 0012 03D0 beq .L670
-3925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8258 .loc 1 3925 0
- 8259 0014 0220 movs r0, #2
- 8260 .LVL445:
- 8261 .L652:
-3927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8262 .loc 1 3927 0
- 8263 0016 03B0 add sp, sp, #12
- 8264 .LCFI117:
- 8265 .cfi_remember_state
- 8266 .cfi_def_cfa_offset 12
- 8267 @ sp needed
- 8268 0018 70BC pop {r4, r5, r6}
- 8269 .LCFI118:
- 8270 .cfi_restore 6
- 8271 .cfi_restore 5
- 8272 .cfi_restore 4
- 8273 .cfi_def_cfa_offset 0
- 8274 .LVL446:
- 8275 001a 7047 bx lr
- 8276 .LVL447:
- 8277 .L670:
- 8278 .LCFI119:
- 8279 .cfi_restore_state
-3829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8280 .loc 1 3829 0
- 8281 001c 0568 ldr r5, [r0]
- 8282 001e 2C68 ldr r4, [r5]
- 8283 0020 14F4007F tst r4, #512
- 8284 0024 04D1 bne .L653
-3829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8285 .loc 1 3829 0 is_stmt 0 discriminator 1
- 8286 0026 069C ldr r4, [sp, #24]
- 8287 0028 082C cmp r4, #8
- 8288 002a 01D0 beq .L653
-3829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8289 .loc 1 3829 0 discriminator 2
- 8290 002c 012C cmp r4, #1
- 8291 002e 15D1 bne .L654
- 8292 .L653:
-3832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
- 8293 .loc 1 3832 0 is_stmt 1
- 8294 0030 494C ldr r4, .L676
- 8295 0032 2468 ldr r4, [r4]
- 8296 0034 E408 lsrs r4, r4, #3
- 8297 0036 494E ldr r6, .L676+4
- 8298 0038 A6FB0464 umull r6, r4, r6, r4
- 8299 003c 240A lsrs r4, r4, #8
-ARM GAS /tmp/cc8FAL5N.s page 303
-
-
- 8300 003e 04EB8404 add r4, r4, r4, lsl #2
- 8301 0042 04EB8404 add r4, r4, r4, lsl #2
- 8302 0046 0094 str r4, [sp]
- 8303 .L656:
-3835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
- 8304 .loc 1 3835 0
- 8305 0048 009C ldr r4, [sp]
- 8306 004a 013C subs r4, r4, #1
- 8307 004c 0094 str r4, [sp]
-3836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8308 .loc 1 3836 0
- 8309 004e 009C ldr r4, [sp]
- 8310 0050 002C cmp r4, #0
- 8311 0052 44D0 beq .L671
-3849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8312 .loc 1 3849 0
- 8313 0054 AC69 ldr r4, [r5, #24]
- 8314 0056 14F0020F tst r4, #2
- 8315 005a F5D1 bne .L656
- 8316 .L654:
-3853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8317 .loc 1 3853 0
- 8318 005c 90F83C40 ldrb r4, [r0, #60] @ zero_extendqisi2
- 8319 0060 012C cmp r4, #1
- 8320 0062 77D0 beq .L666
-3853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8321 .loc 1 3853 0 is_stmt 0 discriminator 2
- 8322 0064 0124 movs r4, #1
- 8323 0066 80F83C40 strb r4, [r0, #60]
-3856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8324 .loc 1 3856 0 is_stmt 1 discriminator 2
- 8325 006a 2C68 ldr r4, [r5]
- 8326 006c 14F0010F tst r4, #1
- 8327 0070 03D1 bne .L657
-3859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8328 .loc 1 3859 0
- 8329 0072 2C68 ldr r4, [r5]
- 8330 0074 44F00104 orr r4, r4, #1
- 8331 0078 2C60 str r4, [r5]
- 8332 .L657:
-3863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8333 .loc 1 3863 0
- 8334 007a 0568 ldr r5, [r0]
- 8335 007c 2C68 ldr r4, [r5]
- 8336 007e 24F40064 bic r4, r4, #2048
- 8337 0082 2C60 str r4, [r5]
-3865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MASTER;
- 8338 .loc 1 3865 0
- 8339 0084 2224 movs r4, #34
- 8340 0086 80F83D40 strb r4, [r0, #61]
-3866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 8341 .loc 1 3866 0
- 8342 008a 1024 movs r4, #16
- 8343 008c 80F83E40 strb r4, [r0, #62]
-3867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8344 .loc 1 3867 0
- 8345 0090 0024 movs r4, #0
-ARM GAS /tmp/cc8FAL5N.s page 304
-
-
- 8346 0092 0464 str r4, [r0, #64]
-3870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 8347 .loc 1 3870 0
- 8348 0094 4262 str r2, [r0, #36]
-3871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
- 8349 .loc 1 3871 0
- 8350 0096 4385 strh r3, [r0, #42] @ movhi
-3872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = XferOptions;
- 8351 .loc 1 3872 0
- 8352 0098 438D ldrh r3, [r0, #42]
- 8353 .LVL448:
- 8354 009a 0385 strh r3, [r0, #40] @ movhi
-3873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Devaddress = DevAddress;
- 8355 .loc 1 3873 0
- 8356 009c 069B ldr r3, [sp, #24]
- 8357 009e C362 str r3, [r0, #44]
- 8358 .LVL449:
-3874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8359 .loc 1 3874 0
- 8360 00a0 4164 str r1, [r0, #68]
-3876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8361 .loc 1 3876 0
- 8362 00a2 036B ldr r3, [r0, #48]
- 8363 00a4 0193 str r3, [sp, #4]
-3878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8364 .loc 1 3878 0
- 8365 00a6 438D ldrh r3, [r0, #42]
- 8366 00a8 9BB2 uxth r3, r3
- 8367 00aa 022B cmp r3, #2
- 8368 00ac 26D0 beq .L672
- 8369 .L658:
-3900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8370 .loc 1 3900 0
- 8371 00ae 0268 ldr r2, [r0]
- 8372 .LVL450:
- 8373 00b0 1368 ldr r3, [r2]
- 8374 00b2 43F48063 orr r3, r3, #1024
- 8375 00b6 1360 str r3, [r2]
- 8376 .LVL451:
-3821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8377 .loc 1 3821 0
- 8378 00b8 4FF4E062 mov r2, #1792
- 8379 .LVL452:
- 8380 .L661:
-3905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8381 .loc 1 3905 0
- 8382 00bc 019B ldr r3, [sp, #4]
- 8383 00be 122B cmp r3, #18
- 8384 00c0 39D0 beq .L673
- 8385 .L662:
-3908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8386 .loc 1 3908 0
- 8387 00c2 0168 ldr r1, [r0]
- 8388 .LVL453:
- 8389 00c4 0B68 ldr r3, [r1]
- 8390 00c6 43F48073 orr r3, r3, #256
- 8391 00ca 0B60 str r3, [r1]
-ARM GAS /tmp/cc8FAL5N.s page 305
-
-
- 8392 .L664:
-3912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8393 .loc 1 3912 0
- 8394 00cc 0023 movs r3, #0
- 8395 00ce 80F83C30 strb r3, [r0, #60]
-3919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8396 .loc 1 3919 0
- 8397 00d2 0168 ldr r1, [r0]
- 8398 00d4 4868 ldr r0, [r1, #4]
- 8399 .LVL454:
- 8400 00d6 0243 orrs r2, r2, r0
- 8401 .LVL455:
- 8402 00d8 4A60 str r2, [r1, #4]
-3921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8403 .loc 1 3921 0
- 8404 00da 1846 mov r0, r3
- 8405 00dc 9BE7 b .L652
- 8406 .LVL456:
- 8407 .L671:
-3838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 8408 .loc 1 3838 0
- 8409 00de 0023 movs r3, #0
- 8410 .LVL457:
- 8411 00e0 0363 str r3, [r0, #48]
-3839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 8412 .loc 1 3839 0
- 8413 00e2 2022 movs r2, #32
- 8414 .LVL458:
- 8415 00e4 80F83D20 strb r2, [r0, #61]
-3840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
- 8416 .loc 1 3840 0
- 8417 00e8 80F83E30 strb r3, [r0, #62]
-3841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8418 .loc 1 3841 0
- 8419 00ec 026C ldr r2, [r0, #64]
- 8420 00ee 42F02002 orr r2, r2, #32
- 8421 00f2 0264 str r2, [r0, #64]
-3844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8422 .loc 1 3844 0
- 8423 00f4 80F83C30 strb r3, [r0, #60]
-3846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8424 .loc 1 3846 0
- 8425 00f8 0120 movs r0, #1
- 8426 .LVL459:
- 8427 00fa 8CE7 b .L652
- 8428 .LVL460:
- 8429 .L672:
-3878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8430 .loc 1 3878 0 discriminator 1
- 8431 00fc 069B ldr r3, [sp, #24]
- 8432 00fe 202B cmp r3, #32
- 8433 0100 01D0 beq .L659
-3878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8434 .loc 1 3878 0 is_stmt 0 discriminator 2
- 8435 0102 102B cmp r3, #16
- 8436 0104 D3D1 bne .L658
- 8437 .L659:
-ARM GAS /tmp/cc8FAL5N.s page 306
-
-
-3880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8438 .loc 1 3880 0 is_stmt 1
- 8439 0106 019B ldr r3, [sp, #4]
- 8440 0108 122B cmp r3, #18
- 8441 010a 07D0 beq .L674
-3894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8442 .loc 1 3894 0
- 8443 010c 0268 ldr r2, [r0]
- 8444 .LVL461:
- 8445 010e 1368 ldr r3, [r2]
- 8446 0110 43F48063 orr r3, r3, #1024
- 8447 0114 1360 str r3, [r2]
- 8448 .LVL462:
-3821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8449 .loc 1 3821 0
- 8450 0116 4FF4E062 mov r2, #1792
- 8451 011a CFE7 b .L661
- 8452 .LVL463:
- 8453 .L674:
-3883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8454 .loc 1 3883 0
- 8455 011c 0268 ldr r2, [r0]
- 8456 .LVL464:
- 8457 011e 1368 ldr r3, [r2]
- 8458 0120 23F48063 bic r3, r3, #1024
- 8459 0124 1360 str r3, [r2]
- 8460 .LVL465:
-3886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8461 .loc 1 3886 0
- 8462 0126 0268 ldr r2, [r0]
- 8463 0128 1368 ldr r3, [r2]
- 8464 012a 43F40063 orr r3, r3, #2048
- 8465 012e 1360 str r3, [r2]
- 8466 .LVL466:
-3889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8467 .loc 1 3889 0
- 8468 0130 4FF44072 mov r2, #768
- 8469 0134 C2E7 b .L661
- 8470 .LVL467:
- 8471 .L673:
-3905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8472 .loc 1 3905 0 discriminator 1
- 8473 0136 069B ldr r3, [sp, #24]
- 8474 0138 B3F52A0F cmp r3, #11141120
- 8475 013c 08D0 beq .L667
-3905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8476 .loc 1 3905 0 is_stmt 0 discriminator 3
- 8477 013e B3F12A4F cmp r3, #-1442840576
- 8478 0142 03D0 beq .L675
-3905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8479 .loc 1 3905 0
- 8480 0144 0023 movs r3, #0
- 8481 .L663:
-3905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8482 .loc 1 3905 0 discriminator 7
- 8483 0146 002B cmp r3, #0
- 8484 0148 C0D0 beq .L664
-ARM GAS /tmp/cc8FAL5N.s page 307
-
-
- 8485 014a BAE7 b .L662
- 8486 .L675:
-3905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8487 .loc 1 3905 0
- 8488 014c 0123 movs r3, #1
- 8489 014e FAE7 b .L663
- 8490 .L667:
- 8491 0150 0123 movs r3, #1
- 8492 0152 F8E7 b .L663
- 8493 .LVL468:
- 8494 .L666:
-3853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8495 .loc 1 3853 0 is_stmt 1
- 8496 0154 0220 movs r0, #2
- 8497 .LVL469:
- 8498 0156 5EE7 b .L652
- 8499 .L677:
- 8500 .align 2
- 8501 .L676:
- 8502 0158 00000000 .word SystemCoreClock
- 8503 015c 89B5F814 .word 351843721
- 8504 .cfi_endproc
- 8505 .LFE90:
- 8507 .section .text.HAL_I2C_Master_Seq_Receive_DMA,"ax",%progbits
- 8508 .align 1
- 8509 .global HAL_I2C_Master_Seq_Receive_DMA
- 8510 .syntax unified
- 8511 .thumb
- 8512 .thumb_func
- 8513 .fpu softvfp
- 8515 HAL_I2C_Master_Seq_Receive_DMA:
- 8516 .LFB91:
-3942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t Prev_State = 0x00U;
- 8517 .loc 1 3942 0
- 8518 .cfi_startproc
- 8519 @ args = 4, pretend = 0, frame = 8
- 8520 @ frame_needed = 0, uses_anonymous_args = 0
- 8521 .LVL470:
- 8522 0000 70B5 push {r4, r5, r6, lr}
- 8523 .LCFI120:
- 8524 .cfi_def_cfa_offset 16
- 8525 .cfi_offset 4, -16
- 8526 .cfi_offset 5, -12
- 8527 .cfi_offset 6, -8
- 8528 .cfi_offset 14, -4
- 8529 0002 82B0 sub sp, sp, #8
- 8530 .LCFI121:
- 8531 .cfi_def_cfa_offset 24
-3943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
- 8532 .loc 1 3943 0
- 8533 0004 0024 movs r4, #0
- 8534 0006 0194 str r4, [sp, #4]
-3944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t enableIT = (I2C_IT_EVT | I2C_IT_BUF | I2C_IT_ERR);
- 8535 .loc 1 3944 0
- 8536 0008 0094 str r4, [sp]
- 8537 .LVL471:
-3951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-ARM GAS /tmp/cc8FAL5N.s page 308
-
-
- 8538 .loc 1 3951 0
- 8539 000a 90F83D40 ldrb r4, [r0, #61] @ zero_extendqisi2
- 8540 000e E4B2 uxtb r4, r4
- 8541 0010 202C cmp r4, #32
- 8542 0012 03D0 beq .L708
-4130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8543 .loc 1 4130 0
- 8544 0014 0223 movs r3, #2
- 8545 .LVL472:
- 8546 .L679:
-4132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8547 .loc 1 4132 0
- 8548 0016 1846 mov r0, r3
- 8549 0018 02B0 add sp, sp, #8
- 8550 .LCFI122:
- 8551 .cfi_remember_state
- 8552 .cfi_def_cfa_offset 16
- 8553 @ sp needed
- 8554 001a 70BD pop {r4, r5, r6, pc}
- 8555 .LVL473:
- 8556 .L708:
- 8557 .LCFI123:
- 8558 .cfi_restore_state
-3954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8559 .loc 1 3954 0
- 8560 001c 0568 ldr r5, [r0]
- 8561 001e 2C68 ldr r4, [r5]
- 8562 0020 14F4007F tst r4, #512
- 8563 0024 04D1 bne .L680
-3954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8564 .loc 1 3954 0 is_stmt 0 discriminator 1
- 8565 0026 069C ldr r4, [sp, #24]
- 8566 0028 082C cmp r4, #8
- 8567 002a 01D0 beq .L680
-3954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8568 .loc 1 3954 0 discriminator 2
- 8569 002c 012C cmp r4, #1
- 8570 002e 15D1 bne .L681
- 8571 .L680:
-3957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
- 8572 .loc 1 3957 0 is_stmt 1
- 8573 0030 804C ldr r4, .L716
- 8574 0032 2468 ldr r4, [r4]
- 8575 0034 E408 lsrs r4, r4, #3
- 8576 0036 804E ldr r6, .L716+4
- 8577 0038 A6FB0464 umull r6, r4, r6, r4
- 8578 003c 240A lsrs r4, r4, #8
- 8579 003e 04EB8404 add r4, r4, r4, lsl #2
- 8580 0042 04EB8404 add r4, r4, r4, lsl #2
- 8581 0046 0094 str r4, [sp]
- 8582 .L683:
-3960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (count == 0U)
- 8583 .loc 1 3960 0
- 8584 0048 009C ldr r4, [sp]
- 8585 004a 013C subs r4, r4, #1
- 8586 004c 0094 str r4, [sp]
-3961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-ARM GAS /tmp/cc8FAL5N.s page 309
-
-
- 8587 .loc 1 3961 0
- 8588 004e 009C ldr r4, [sp]
- 8589 0050 002C cmp r4, #0
- 8590 0052 7CD0 beq .L709
-3974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8591 .loc 1 3974 0
- 8592 0054 AC69 ldr r4, [r5, #24]
- 8593 0056 14F0020F tst r4, #2
- 8594 005a F5D1 bne .L683
- 8595 .L681:
-3978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8596 .loc 1 3978 0
- 8597 005c 90F83C40 ldrb r4, [r0, #60] @ zero_extendqisi2
- 8598 0060 012C cmp r4, #1
- 8599 0062 00F0E580 beq .L701
-3978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8600 .loc 1 3978 0 is_stmt 0 discriminator 2
- 8601 0066 0124 movs r4, #1
- 8602 0068 80F83C40 strb r4, [r0, #60]
-3981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8603 .loc 1 3981 0 is_stmt 1 discriminator 2
- 8604 006c 2C68 ldr r4, [r5]
- 8605 006e 14F0010F tst r4, #1
- 8606 0072 03D1 bne .L684
-3984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8607 .loc 1 3984 0
- 8608 0074 2C68 ldr r4, [r5]
- 8609 0076 44F00104 orr r4, r4, #1
- 8610 007a 2C60 str r4, [r5]
- 8611 .L684:
-3988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8612 .loc 1 3988 0
- 8613 007c 0568 ldr r5, [r0]
- 8614 007e 2C68 ldr r4, [r5]
- 8615 0080 24F40064 bic r4, r4, #2048
- 8616 0084 2C60 str r4, [r5]
-3991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8617 .loc 1 3991 0
- 8618 0086 0568 ldr r5, [r0]
- 8619 0088 6C68 ldr r4, [r5, #4]
- 8620 008a 24F48054 bic r4, r4, #4096
- 8621 008e 6C60 str r4, [r5, #4]
-3993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_MASTER;
- 8622 .loc 1 3993 0
- 8623 0090 2224 movs r4, #34
- 8624 0092 80F83D40 strb r4, [r0, #61]
-3994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 8625 .loc 1 3994 0
- 8626 0096 1024 movs r4, #16
- 8627 0098 80F83E40 strb r4, [r0, #62]
-3995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8628 .loc 1 3995 0
- 8629 009c 0024 movs r4, #0
- 8630 009e 0464 str r4, [r0, #64]
-3998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 8631 .loc 1 3998 0
- 8632 00a0 4262 str r2, [r0, #36]
-ARM GAS /tmp/cc8FAL5N.s page 310
-
-
-3999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
- 8633 .loc 1 3999 0
- 8634 00a2 4385 strh r3, [r0, #42] @ movhi
-4000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = XferOptions;
- 8635 .loc 1 4000 0
- 8636 00a4 438D ldrh r3, [r0, #42]
- 8637 .LVL474:
- 8638 00a6 9BB2 uxth r3, r3
- 8639 00a8 0385 strh r3, [r0, #40] @ movhi
-4001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Devaddress = DevAddress;
- 8640 .loc 1 4001 0
- 8641 00aa 069A ldr r2, [sp, #24]
- 8642 .LVL475:
- 8643 00ac C262 str r2, [r0, #44]
- 8644 .LVL476:
-4002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8645 .loc 1 4002 0
- 8646 00ae 4164 str r1, [r0, #68]
-4004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8647 .loc 1 4004 0
- 8648 00b0 026B ldr r2, [r0, #48]
- 8649 00b2 0192 str r2, [sp, #4]
-4006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8650 .loc 1 4006 0
- 8651 00b4 002B cmp r3, #0
- 8652 00b6 00F09680 beq .L685
-4008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8653 .loc 1 4008 0
- 8654 00ba 438D ldrh r3, [r0, #42]
- 8655 00bc 9BB2 uxth r3, r3
- 8656 00be 022B cmp r3, #2
- 8657 00c0 54D0 beq .L710
- 8658 .L686:
-4030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8659 .loc 1 4030 0
- 8660 00c2 0268 ldr r2, [r0]
- 8661 00c4 1368 ldr r3, [r2]
- 8662 00c6 43F48063 orr r3, r3, #1024
- 8663 00ca 1360 str r3, [r2]
- 8664 .LVL477:
-4032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8665 .loc 1 4032 0
- 8666 00cc 069B ldr r3, [sp, #24]
- 8667 00ce 202B cmp r3, #32
- 8668 00d0 04D0 beq .L690
-4032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8669 .loc 1 4032 0 is_stmt 0 discriminator 1
- 8670 00d2 B3F12A4F cmp r3, #-1442840576
- 8671 00d6 01D0 beq .L690
-4032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8672 .loc 1 4032 0 discriminator 2
- 8673 00d8 102B cmp r3, #16
- 8674 00da 04D1 bne .L689
- 8675 .L690:
-4035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8676 .loc 1 4035 0 is_stmt 1
- 8677 00dc 0268 ldr r2, [r0]
-ARM GAS /tmp/cc8FAL5N.s page 311
-
-
- 8678 00de 5368 ldr r3, [r2, #4]
- 8679 00e0 43F48053 orr r3, r3, #4096
- 8680 00e4 5360 str r3, [r2, #4]
- 8681 .L689:
- 8682 00e6 0446 mov r4, r0
-4040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8683 .loc 1 4040 0
- 8684 00e8 836B ldr r3, [r0, #56]
- 8685 00ea 544A ldr r2, .L716+8
- 8686 00ec 9A62 str r2, [r3, #40]
-4043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8687 .loc 1 4043 0
- 8688 00ee 836B ldr r3, [r0, #56]
- 8689 00f0 534A ldr r2, .L716+12
- 8690 00f2 1A63 str r2, [r3, #48]
-4046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferAbortCallback = NULL;
- 8691 .loc 1 4046 0
- 8692 00f4 826B ldr r2, [r0, #56]
- 8693 00f6 0023 movs r3, #0
- 8694 00f8 D362 str r3, [r2, #44]
-4047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8695 .loc 1 4047 0
- 8696 00fa 826B ldr r2, [r0, #56]
- 8697 00fc 5363 str r3, [r2, #52]
-4050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8698 .loc 1 4050 0
- 8699 00fe 0168 ldr r1, [r0]
- 8700 .LVL478:
- 8701 0100 038D ldrh r3, [r0, #40]
- 8702 0102 426A ldr r2, [r0, #36]
- 8703 0104 1031 adds r1, r1, #16
- 8704 0106 806B ldr r0, [r0, #56]
- 8705 .LVL479:
- 8706 0108 FFF7FEFF bl HAL_DMA_Start_IT
- 8707 .LVL480:
-4052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8708 .loc 1 4052 0
- 8709 010c 0346 mov r3, r0
- 8710 010e 0028 cmp r0, #0
- 8711 0110 5BD1 bne .L691
-4056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8712 .loc 1 4056 0
- 8713 0112 019A ldr r2, [sp, #4]
- 8714 0114 122A cmp r2, #18
- 8715 0116 47D0 beq .L711
- 8716 .L692:
-4059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8717 .loc 1 4059 0
- 8718 0118 2168 ldr r1, [r4]
- 8719 011a 0A68 ldr r2, [r1]
- 8720 011c 42F48072 orr r2, r2, #256
- 8721 0120 0A60 str r2, [r1]
- 8722 .LVL481:
-4062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8723 .loc 1 4062 0
- 8724 0122 4FF44072 mov r2, #768
- 8725 .LVL482:
-ARM GAS /tmp/cc8FAL5N.s page 312
-
-
- 8726 .L694:
-4071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8727 .loc 1 4071 0
- 8728 0126 0021 movs r1, #0
- 8729 0128 84F83C10 strb r1, [r4, #60]
-4079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8730 .loc 1 4079 0
- 8731 012c 0699 ldr r1, [sp, #24]
- 8732 012e 0429 cmp r1, #4
- 8733 0130 03D0 beq .L695
-4079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8734 .loc 1 4079 0 is_stmt 0 discriminator 1
- 8735 0132 2029 cmp r1, #32
- 8736 0134 01D0 beq .L695
-4079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8737 .loc 1 4079 0 discriminator 2
- 8738 0136 1029 cmp r1, #16
- 8739 0138 04D1 bne .L696
- 8740 .L695:
-4082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8741 .loc 1 4082 0 is_stmt 1
- 8742 013a 2068 ldr r0, [r4]
- 8743 .LVL483:
- 8744 013c 4168 ldr r1, [r0, #4]
- 8745 013e 41F40061 orr r1, r1, #2048
- 8746 0142 4160 str r1, [r0, #4]
- 8747 .L696:
-4086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8748 .loc 1 4086 0
- 8749 0144 2168 ldr r1, [r4]
- 8750 0146 4868 ldr r0, [r1, #4]
- 8751 0148 0243 orrs r2, r2, r0
- 8752 .LVL484:
- 8753 014a 4A60 str r2, [r1, #4]
- 8754 014c 63E7 b .L679
- 8755 .LVL485:
- 8756 .L709:
-3963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 8757 .loc 1 3963 0
- 8758 014e 0023 movs r3, #0
- 8759 .LVL486:
- 8760 0150 0363 str r3, [r0, #48]
-3964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 8761 .loc 1 3964 0
- 8762 0152 2022 movs r2, #32
- 8763 .LVL487:
- 8764 0154 80F83D20 strb r2, [r0, #61]
-3965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_TIMEOUT;
- 8765 .loc 1 3965 0
- 8766 0158 80F83E30 strb r3, [r0, #62]
-3966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8767 .loc 1 3966 0
- 8768 015c 026C ldr r2, [r0, #64]
- 8769 015e 42F02002 orr r2, r2, #32
- 8770 0162 0264 str r2, [r0, #64]
-3969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8771 .loc 1 3969 0
-ARM GAS /tmp/cc8FAL5N.s page 313
-
-
- 8772 0164 80F83C30 strb r3, [r0, #60]
-3971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8773 .loc 1 3971 0
- 8774 0168 0123 movs r3, #1
- 8775 016a 54E7 b .L679
- 8776 .LVL488:
- 8777 .L710:
-4008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8778 .loc 1 4008 0 discriminator 1
- 8779 016c 069B ldr r3, [sp, #24]
- 8780 016e 202B cmp r3, #32
- 8781 0170 01D0 beq .L687
-4008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8782 .loc 1 4008 0 is_stmt 0 discriminator 2
- 8783 0172 102B cmp r3, #16
- 8784 0174 A5D1 bne .L686
- 8785 .L687:
-4010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8786 .loc 1 4010 0 is_stmt 1
- 8787 0176 019B ldr r3, [sp, #4]
- 8788 0178 122B cmp r3, #18
- 8789 017a 05D0 beq .L712
-4024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8790 .loc 1 4024 0
- 8791 017c 0268 ldr r2, [r0]
- 8792 017e 1368 ldr r3, [r2]
- 8793 0180 43F48063 orr r3, r3, #1024
- 8794 0184 1360 str r3, [r2]
- 8795 .LVL489:
- 8796 0186 AEE7 b .L689
- 8797 .LVL490:
- 8798 .L712:
-4013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8799 .loc 1 4013 0
- 8800 0188 0268 ldr r2, [r0]
- 8801 018a 1368 ldr r3, [r2]
- 8802 018c 23F48063 bic r3, r3, #1024
- 8803 0190 1360 str r3, [r2]
- 8804 .LVL491:
-4016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8805 .loc 1 4016 0
- 8806 0192 0268 ldr r2, [r0]
- 8807 0194 1368 ldr r3, [r2]
- 8808 0196 43F40063 orr r3, r3, #2048
- 8809 019a 1360 str r3, [r2]
-4019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8810 .loc 1 4019 0
- 8811 019c 0268 ldr r2, [r0]
- 8812 019e 5368 ldr r3, [r2, #4]
- 8813 01a0 43F48053 orr r3, r3, #4096
- 8814 01a4 5360 str r3, [r2, #4]
- 8815 01a6 9EE7 b .L689
- 8816 .LVL492:
- 8817 .L711:
-4056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8818 .loc 1 4056 0 discriminator 1
- 8819 01a8 069A ldr r2, [sp, #24]
-ARM GAS /tmp/cc8FAL5N.s page 314
-
-
- 8820 01aa B2F52A0F cmp r2, #11141120
- 8821 01ae 0AD0 beq .L702
-4056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8822 .loc 1 4056 0 is_stmt 0 discriminator 3
- 8823 01b0 B2F12A4F cmp r2, #-1442840576
- 8824 01b4 05D0 beq .L713
-4056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8825 .loc 1 4056 0
- 8826 01b6 0022 movs r2, #0
- 8827 .L693:
-4056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8828 .loc 1 4056 0 discriminator 7
- 8829 01b8 002A cmp r2, #0
- 8830 01ba ADD1 bne .L692
-4067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8831 .loc 1 4067 0 is_stmt 1
- 8832 01bc 4FF48072 mov r2, #256
- 8833 01c0 B1E7 b .L694
- 8834 .L713:
-4056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8835 .loc 1 4056 0
- 8836 01c2 0122 movs r2, #1
- 8837 01c4 F8E7 b .L693
- 8838 .L702:
- 8839 01c6 0122 movs r2, #1
- 8840 01c8 F6E7 b .L693
- 8841 .L691:
-4091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 8842 .loc 1 4091 0
- 8843 01ca 2023 movs r3, #32
- 8844 01cc 84F83D30 strb r3, [r4, #61]
-4092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8845 .loc 1 4092 0
- 8846 01d0 0022 movs r2, #0
- 8847 01d2 84F83E20 strb r2, [r4, #62]
-4095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8848 .loc 1 4095 0
- 8849 01d6 236C ldr r3, [r4, #64]
- 8850 01d8 43F01003 orr r3, r3, #16
- 8851 01dc 2364 str r3, [r4, #64]
-4098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8852 .loc 1 4098 0
- 8853 01de 84F83C20 strb r2, [r4, #60]
-4100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8854 .loc 1 4100 0
- 8855 01e2 0123 movs r3, #1
- 8856 01e4 17E7 b .L679
- 8857 .LVL493:
- 8858 .L685:
-4106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8859 .loc 1 4106 0
- 8860 01e6 0268 ldr r2, [r0]
- 8861 01e8 1368 ldr r3, [r2]
- 8862 01ea 43F48063 orr r3, r3, #1024
- 8863 01ee 1360 str r3, [r2]
- 8864 .LVL494:
-4110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-ARM GAS /tmp/cc8FAL5N.s page 315
-
-
- 8865 .loc 1 4110 0
- 8866 01f0 019B ldr r3, [sp, #4]
- 8867 01f2 122B cmp r3, #18
- 8868 01f4 0DD0 beq .L714
- 8869 .L697:
-4113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8870 .loc 1 4113 0
- 8871 01f6 0268 ldr r2, [r0]
- 8872 01f8 1368 ldr r3, [r2]
- 8873 01fa 43F48073 orr r3, r3, #256
- 8874 01fe 1360 str r3, [r2]
- 8875 .L699:
-4117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8876 .loc 1 4117 0
- 8877 0200 0023 movs r3, #0
- 8878 0202 80F83C30 strb r3, [r0, #60]
-4124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8879 .loc 1 4124 0
- 8880 0206 0168 ldr r1, [r0]
- 8881 .LVL495:
- 8882 0208 4A68 ldr r2, [r1, #4]
- 8883 020a 42F4E062 orr r2, r2, #1792
- 8884 020e 4A60 str r2, [r1, #4]
- 8885 0210 01E7 b .L679
- 8886 .LVL496:
- 8887 .L714:
-4110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8888 .loc 1 4110 0 discriminator 1
- 8889 0212 069B ldr r3, [sp, #24]
- 8890 0214 B3F52A0F cmp r3, #11141120
- 8891 0218 08D0 beq .L705
-4110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8892 .loc 1 4110 0 is_stmt 0 discriminator 3
- 8893 021a B3F12A4F cmp r3, #-1442840576
- 8894 021e 03D0 beq .L715
-4110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8895 .loc 1 4110 0
- 8896 0220 0023 movs r3, #0
- 8897 .L698:
-4110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8898 .loc 1 4110 0 discriminator 7
- 8899 0222 002B cmp r3, #0
- 8900 0224 ECD0 beq .L699
- 8901 0226 E6E7 b .L697
- 8902 .L715:
-4110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8903 .loc 1 4110 0
- 8904 0228 0123 movs r3, #1
- 8905 022a FAE7 b .L698
- 8906 .L705:
- 8907 022c 0123 movs r3, #1
- 8908 022e F8E7 b .L698
- 8909 .LVL497:
- 8910 .L701:
-3978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8911 .loc 1 3978 0 is_stmt 1
- 8912 0230 0223 movs r3, #2
-ARM GAS /tmp/cc8FAL5N.s page 316
-
-
- 8913 .LVL498:
- 8914 0232 F0E6 b .L679
- 8915 .L717:
- 8916 .align 2
- 8917 .L716:
- 8918 0234 00000000 .word SystemCoreClock
- 8919 0238 89B5F814 .word 351843721
- 8920 023c 00000000 .word I2C_DMAXferCplt
- 8921 0240 00000000 .word I2C_DMAError
- 8922 .cfi_endproc
- 8923 .LFE91:
- 8925 .section .text.HAL_I2C_Slave_Seq_Transmit_IT,"ax",%progbits
- 8926 .align 1
- 8927 .global HAL_I2C_Slave_Seq_Transmit_IT
- 8928 .syntax unified
- 8929 .thumb
- 8930 .thumb_func
- 8931 .fpu softvfp
- 8933 HAL_I2C_Slave_Seq_Transmit_IT:
- 8934 .LFB92:
-4145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check the parameters */
- 8935 .loc 1 4145 0
- 8936 .cfi_startproc
- 8937 @ args = 0, pretend = 0, frame = 8
- 8938 @ frame_needed = 0, uses_anonymous_args = 0
- 8939 @ link register save eliminated.
- 8940 .LVL499:
- 8941 0000 30B4 push {r4, r5}
- 8942 .LCFI124:
- 8943 .cfi_def_cfa_offset 8
- 8944 .cfi_offset 4, -8
- 8945 .cfi_offset 5, -4
- 8946 0002 82B0 sub sp, sp, #8
- 8947 .LCFI125:
- 8948 .cfi_def_cfa_offset 16
-4149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8949 .loc 1 4149 0
- 8950 0004 90F83D40 ldrb r4, [r0, #61] @ zero_extendqisi2
- 8951 0008 04F02804 and r4, r4, #40
- 8952 000c 282C cmp r4, #40
- 8953 000e 03D0 beq .L726
-4196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8954 .loc 1 4196 0
- 8955 0010 0220 movs r0, #2
- 8956 .LVL500:
- 8957 .L719:
-4198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8958 .loc 1 4198 0
- 8959 0012 02B0 add sp, sp, #8
- 8960 .LCFI126:
- 8961 .cfi_remember_state
- 8962 .cfi_def_cfa_offset 8
- 8963 @ sp needed
- 8964 0014 30BC pop {r4, r5}
- 8965 .LCFI127:
- 8966 .cfi_restore 5
- 8967 .cfi_restore 4
-ARM GAS /tmp/cc8FAL5N.s page 317
-
-
- 8968 .cfi_def_cfa_offset 0
- 8969 0016 7047 bx lr
- 8970 .LVL501:
- 8971 .L726:
- 8972 .LCFI128:
- 8973 .cfi_restore_state
-4151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8974 .loc 1 4151 0
- 8975 0018 0029 cmp r1, #0
- 8976 001a 32D0 beq .L722
-4151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8977 .loc 1 4151 0 is_stmt 0 discriminator 1
- 8978 001c 002A cmp r2, #0
- 8979 001e 32D0 beq .L723
-4157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8980 .loc 1 4157 0 is_stmt 1
- 8981 0020 90F83C40 ldrb r4, [r0, #60] @ zero_extendqisi2
- 8982 0024 012C cmp r4, #1
- 8983 0026 30D0 beq .L724
-4157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8984 .loc 1 4157 0 is_stmt 0 discriminator 2
- 8985 0028 0124 movs r4, #1
- 8986 002a 80F83C40 strb r4, [r0, #60]
-4160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 8987 .loc 1 4160 0 is_stmt 1 discriminator 2
- 8988 002e 0468 ldr r4, [r0]
- 8989 0030 2568 ldr r5, [r4]
- 8990 0032 15F0010F tst r5, #1
- 8991 0036 03D1 bne .L720
-4163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 8992 .loc 1 4163 0
- 8993 0038 2568 ldr r5, [r4]
- 8994 003a 45F00105 orr r5, r5, #1
- 8995 003e 2560 str r5, [r4]
- 8996 .L720:
-4167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 8997 .loc 1 4167 0
- 8998 0040 0568 ldr r5, [r0]
- 8999 0042 2C68 ldr r4, [r5]
- 9000 0044 24F40064 bic r4, r4, #2048
- 9001 0048 2C60 str r4, [r5]
-4169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_SLAVE;
- 9002 .loc 1 4169 0
- 9003 004a 2924 movs r4, #41
- 9004 004c 80F83D40 strb r4, [r0, #61]
-4170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 9005 .loc 1 4170 0
- 9006 0050 2024 movs r4, #32
- 9007 0052 80F83E40 strb r4, [r0, #62]
-4171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9008 .loc 1 4171 0
- 9009 0056 0024 movs r4, #0
- 9010 0058 0464 str r4, [r0, #64]
-4174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 9011 .loc 1 4174 0
- 9012 005a 4162 str r1, [r0, #36]
-4175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
-ARM GAS /tmp/cc8FAL5N.s page 318
-
-
- 9013 .loc 1 4175 0
- 9014 005c 4285 strh r2, [r0, #42] @ movhi
-4176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = XferOptions;
- 9015 .loc 1 4176 0
- 9016 005e 428D ldrh r2, [r0, #42]
- 9017 .LVL502:
- 9018 0060 0285 strh r2, [r0, #40] @ movhi
-4177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9019 .loc 1 4177 0
- 9020 0062 C362 str r3, [r0, #44]
- 9021 .LVL503:
- 9022 .LBB113:
-4180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9023 .loc 1 4180 0
- 9024 0064 0194 str r4, [sp, #4]
- 9025 0066 0368 ldr r3, [r0]
- 9026 .LVL504:
- 9027 0068 5A69 ldr r2, [r3, #20]
- 9028 006a 0192 str r2, [sp, #4]
- 9029 006c 9A69 ldr r2, [r3, #24]
- 9030 006e 0192 str r2, [sp, #4]
- 9031 0070 019A ldr r2, [sp, #4]
- 9032 .LBE113:
-4183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9033 .loc 1 4183 0
- 9034 0072 80F83C40 strb r4, [r0, #60]
-4190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9035 .loc 1 4190 0
- 9036 0076 5A68 ldr r2, [r3, #4]
- 9037 0078 42F4E062 orr r2, r2, #1792
- 9038 007c 5A60 str r2, [r3, #4]
-4192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9039 .loc 1 4192 0
- 9040 007e 2046 mov r0, r4
- 9041 .LVL505:
- 9042 0080 C7E7 b .L719
- 9043 .LVL506:
- 9044 .L722:
-4153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9045 .loc 1 4153 0
- 9046 0082 0120 movs r0, #1
- 9047 .LVL507:
- 9048 0084 C5E7 b .L719
- 9049 .LVL508:
- 9050 .L723:
- 9051 0086 0120 movs r0, #1
- 9052 .LVL509:
- 9053 0088 C3E7 b .L719
- 9054 .LVL510:
- 9055 .L724:
-4157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9056 .loc 1 4157 0
- 9057 008a 0220 movs r0, #2
- 9058 .LVL511:
- 9059 008c C1E7 b .L719
- 9060 .cfi_endproc
- 9061 .LFE92:
-ARM GAS /tmp/cc8FAL5N.s page 319
-
-
- 9063 .section .text.HAL_I2C_Slave_Seq_Transmit_DMA,"ax",%progbits
- 9064 .align 1
- 9065 .global HAL_I2C_Slave_Seq_Transmit_DMA
- 9066 .syntax unified
- 9067 .thumb
- 9068 .thumb_func
- 9069 .fpu softvfp
- 9071 HAL_I2C_Slave_Seq_Transmit_DMA:
- 9072 .LFB93:
-4211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef dmaxferstatus;
- 9073 .loc 1 4211 0
- 9074 .cfi_startproc
- 9075 @ args = 0, pretend = 0, frame = 8
- 9076 @ frame_needed = 0, uses_anonymous_args = 0
- 9077 .LVL512:
- 9078 0000 F0B5 push {r4, r5, r6, r7, lr}
- 9079 .LCFI129:
- 9080 .cfi_def_cfa_offset 20
- 9081 .cfi_offset 4, -20
- 9082 .cfi_offset 5, -16
- 9083 .cfi_offset 6, -12
- 9084 .cfi_offset 7, -8
- 9085 .cfi_offset 14, -4
- 9086 0002 83B0 sub sp, sp, #12
- 9087 .LCFI130:
- 9088 .cfi_def_cfa_offset 32
-4217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9089 .loc 1 4217 0
- 9090 0004 90F83D40 ldrb r4, [r0, #61] @ zero_extendqisi2
- 9091 0008 04F02804 and r4, r4, #40
- 9092 000c 282C cmp r4, #40
- 9093 000e 03D0 beq .L738
-4353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9094 .loc 1 4353 0
- 9095 0010 0223 movs r3, #2
- 9096 .LVL513:
- 9097 .L728:
-4355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9098 .loc 1 4355 0
- 9099 0012 1846 mov r0, r3
- 9100 0014 03B0 add sp, sp, #12
- 9101 .LCFI131:
- 9102 .cfi_remember_state
- 9103 .cfi_def_cfa_offset 20
- 9104 @ sp needed
- 9105 0016 F0BD pop {r4, r5, r6, r7, pc}
- 9106 .LVL514:
- 9107 .L738:
- 9108 .LCFI132:
- 9109 .cfi_restore_state
-4219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9110 .loc 1 4219 0
- 9111 0018 0029 cmp r1, #0
- 9112 001a 00F0A380 beq .L734
-4219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9113 .loc 1 4219 0 is_stmt 0 discriminator 1
- 9114 001e 002A cmp r2, #0
-ARM GAS /tmp/cc8FAL5N.s page 320
-
-
- 9115 0020 00F0A280 beq .L735
-4225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9116 .loc 1 4225 0 is_stmt 1
- 9117 0024 90F83C40 ldrb r4, [r0, #60] @ zero_extendqisi2
- 9118 0028 012C cmp r4, #1
- 9119 002a 00F09F80 beq .L736
- 9120 002e 1F46 mov r7, r3
- 9121 0030 1646 mov r6, r2
- 9122 0032 0D46 mov r5, r1
- 9123 0034 0446 mov r4, r0
-4225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9124 .loc 1 4225 0 is_stmt 0 discriminator 2
- 9125 0036 0123 movs r3, #1
- 9126 .LVL515:
- 9127 0038 80F83C30 strb r3, [r0, #60]
-4228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9128 .loc 1 4228 0 is_stmt 1 discriminator 2
- 9129 003c 0268 ldr r2, [r0]
- 9130 .LVL516:
- 9131 003e 5368 ldr r3, [r2, #4]
- 9132 0040 23F44073 bic r3, r3, #768
- 9133 0044 5360 str r3, [r2, #4]
-4232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9134 .loc 1 4232 0 discriminator 2
- 9135 0046 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 9136 004a DBB2 uxtb r3, r3
- 9137 004c 2A2B cmp r3, #42
- 9138 004e 41D0 beq .L739
-4254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9139 .loc 1 4254 0
- 9140 0050 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 9141 0054 DBB2 uxtb r3, r3
- 9142 0056 292B cmp r3, #41
- 9143 0058 54D0 beq .L740
- 9144 .LVL517:
- 9145 .L730:
-4282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9146 .loc 1 4282 0
- 9147 005a 2368 ldr r3, [r4]
- 9148 005c 1A68 ldr r2, [r3]
- 9149 005e 12F0010F tst r2, #1
- 9150 0062 03D1 bne .L731
-4285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9151 .loc 1 4285 0
- 9152 0064 1A68 ldr r2, [r3]
- 9153 0066 42F00102 orr r2, r2, #1
- 9154 006a 1A60 str r2, [r3]
- 9155 .L731:
-4289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9156 .loc 1 4289 0
- 9157 006c 2268 ldr r2, [r4]
- 9158 006e 1368 ldr r3, [r2]
- 9159 0070 23F40063 bic r3, r3, #2048
- 9160 0074 1360 str r3, [r2]
-4291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_SLAVE;
- 9161 .loc 1 4291 0
- 9162 0076 2923 movs r3, #41
-ARM GAS /tmp/cc8FAL5N.s page 321
-
-
- 9163 0078 84F83D30 strb r3, [r4, #61]
-4292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 9164 .loc 1 4292 0
- 9165 007c 2023 movs r3, #32
- 9166 007e 84F83E30 strb r3, [r4, #62]
-4293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9167 .loc 1 4293 0
- 9168 0082 0023 movs r3, #0
- 9169 0084 2364 str r3, [r4, #64]
-4296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 9170 .loc 1 4296 0
- 9171 0086 6562 str r5, [r4, #36]
-4297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
- 9172 .loc 1 4297 0
- 9173 0088 6685 strh r6, [r4, #42] @ movhi
-4298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = XferOptions;
- 9174 .loc 1 4298 0
- 9175 008a 628D ldrh r2, [r4, #42]
- 9176 008c 2285 strh r2, [r4, #40] @ movhi
-4299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9177 .loc 1 4299 0
- 9178 008e E762 str r7, [r4, #44]
-4302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9179 .loc 1 4302 0
- 9180 0090 626B ldr r2, [r4, #52]
- 9181 0092 3749 ldr r1, .L742
- 9182 0094 9162 str r1, [r2, #40]
-4305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9183 .loc 1 4305 0
- 9184 0096 626B ldr r2, [r4, #52]
- 9185 0098 3649 ldr r1, .L742+4
- 9186 009a 1163 str r1, [r2, #48]
-4308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmatx->XferAbortCallback = NULL;
- 9187 .loc 1 4308 0
- 9188 009c 626B ldr r2, [r4, #52]
- 9189 009e D362 str r3, [r2, #44]
-4309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9190 .loc 1 4309 0
- 9191 00a0 626B ldr r2, [r4, #52]
- 9192 00a2 5363 str r3, [r2, #52]
-4312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9193 .loc 1 4312 0
- 9194 00a4 2268 ldr r2, [r4]
- 9195 00a6 238D ldrh r3, [r4, #40]
- 9196 00a8 1032 adds r2, r2, #16
- 9197 00aa 616A ldr r1, [r4, #36]
- 9198 00ac 606B ldr r0, [r4, #52]
- 9199 00ae FFF7FEFF bl HAL_DMA_Start_IT
- 9200 .LVL518:
-4314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9201 .loc 1 4314 0
- 9202 00b2 0346 mov r3, r0
- 9203 00b4 0028 cmp r0, #0
- 9204 00b6 3CD0 beq .L741
-4339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 9205 .loc 1 4339 0
- 9206 00b8 2023 movs r3, #32
-ARM GAS /tmp/cc8FAL5N.s page 322
-
-
- 9207 00ba 84F83D30 strb r3, [r4, #61]
-4340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9208 .loc 1 4340 0
- 9209 00be 0022 movs r2, #0
- 9210 00c0 84F83E20 strb r2, [r4, #62]
-4343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9211 .loc 1 4343 0
- 9212 00c4 236C ldr r3, [r4, #64]
- 9213 00c6 43F01003 orr r3, r3, #16
- 9214 00ca 2364 str r3, [r4, #64]
-4346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9215 .loc 1 4346 0
- 9216 00cc 84F83C20 strb r2, [r4, #60]
-4348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9217 .loc 1 4348 0
- 9218 00d0 0123 movs r3, #1
- 9219 00d2 9EE7 b .L728
- 9220 .LVL519:
- 9221 .L739:
-4234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9222 .loc 1 4234 0
- 9223 00d4 0368 ldr r3, [r0]
- 9224 00d6 5A68 ldr r2, [r3, #4]
- 9225 00d8 12F4006F tst r2, #2048
- 9226 00dc BDD0 beq .L730
-4237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9227 .loc 1 4237 0
- 9228 00de 826B ldr r2, [r0, #56]
- 9229 00e0 002A cmp r2, #0
- 9230 00e2 BAD0 beq .L730
-4239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9231 .loc 1 4239 0
- 9232 00e4 5A68 ldr r2, [r3, #4]
- 9233 00e6 22F40062 bic r2, r2, #2048
- 9234 00ea 5A60 str r2, [r3, #4]
-4243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9235 .loc 1 4243 0
- 9236 00ec 836B ldr r3, [r0, #56]
- 9237 00ee 224A ldr r2, .L742+8
- 9238 00f0 5A63 str r2, [r3, #52]
-4246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9239 .loc 1 4246 0
- 9240 00f2 806B ldr r0, [r0, #56]
- 9241 .LVL520:
- 9242 00f4 FFF7FEFF bl HAL_DMA_Abort_IT
- 9243 .LVL521:
- 9244 00f8 0028 cmp r0, #0
- 9245 00fa AED0 beq .L730
-4249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9246 .loc 1 4249 0
- 9247 00fc A06B ldr r0, [r4, #56]
- 9248 00fe 436B ldr r3, [r0, #52]
- 9249 0100 9847 blx r3
- 9250 .LVL522:
- 9251 0102 AAE7 b .L730
- 9252 .LVL523:
- 9253 .L740:
-ARM GAS /tmp/cc8FAL5N.s page 323
-
-
-4256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9254 .loc 1 4256 0
- 9255 0104 0368 ldr r3, [r0]
- 9256 0106 5A68 ldr r2, [r3, #4]
- 9257 0108 12F4006F tst r2, #2048
- 9258 010c A5D0 beq .L730
-4258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9259 .loc 1 4258 0
- 9260 010e 5A68 ldr r2, [r3, #4]
- 9261 0110 22F40062 bic r2, r2, #2048
- 9262 0114 5A60 str r2, [r3, #4]
-4261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9263 .loc 1 4261 0
- 9264 0116 436B ldr r3, [r0, #52]
- 9265 0118 002B cmp r3, #0
- 9266 011a 9ED0 beq .L730
-4265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9267 .loc 1 4265 0
- 9268 011c 164A ldr r2, .L742+8
- 9269 011e 5A63 str r2, [r3, #52]
-4268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9270 .loc 1 4268 0
- 9271 0120 406B ldr r0, [r0, #52]
- 9272 .LVL524:
- 9273 0122 FFF7FEFF bl HAL_DMA_Abort_IT
- 9274 .LVL525:
- 9275 0126 0028 cmp r0, #0
- 9276 0128 97D0 beq .L730
-4271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9277 .loc 1 4271 0
- 9278 012a 606B ldr r0, [r4, #52]
- 9279 012c 436B ldr r3, [r0, #52]
- 9280 012e 9847 blx r3
- 9281 .LVL526:
- 9282 0130 93E7 b .L730
- 9283 .LVL527:
- 9284 .L741:
-4317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9285 .loc 1 4317 0
- 9286 0132 2168 ldr r1, [r4]
- 9287 0134 0A68 ldr r2, [r1]
- 9288 0136 42F48062 orr r2, r2, #1024
- 9289 013a 0A60 str r2, [r1]
- 9290 .LBB114:
-4320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9291 .loc 1 4320 0
- 9292 013c 0021 movs r1, #0
- 9293 013e 0191 str r1, [sp, #4]
- 9294 0140 2268 ldr r2, [r4]
- 9295 0142 5069 ldr r0, [r2, #20]
- 9296 .LVL528:
- 9297 0144 0190 str r0, [sp, #4]
- 9298 0146 9069 ldr r0, [r2, #24]
- 9299 0148 0190 str r0, [sp, #4]
- 9300 014a 0198 ldr r0, [sp, #4]
- 9301 .LBE114:
-4323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 324
-
-
- 9302 .loc 1 4323 0
- 9303 014c 84F83C10 strb r1, [r4, #60]
-4329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9304 .loc 1 4329 0
- 9305 0150 5168 ldr r1, [r2, #4]
- 9306 0152 41F44071 orr r1, r1, #768
- 9307 0156 5160 str r1, [r2, #4]
-4332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9308 .loc 1 4332 0
- 9309 0158 2168 ldr r1, [r4]
- 9310 015a 4A68 ldr r2, [r1, #4]
- 9311 015c 42F40062 orr r2, r2, #2048
- 9312 0160 4A60 str r2, [r1, #4]
-4334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9313 .loc 1 4334 0
- 9314 0162 56E7 b .L728
- 9315 .LVL529:
- 9316 .L734:
-4221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9317 .loc 1 4221 0
- 9318 0164 0123 movs r3, #1
- 9319 .LVL530:
- 9320 0166 54E7 b .L728
- 9321 .LVL531:
- 9322 .L735:
- 9323 0168 0123 movs r3, #1
- 9324 .LVL532:
- 9325 016a 52E7 b .L728
- 9326 .LVL533:
- 9327 .L736:
-4225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9328 .loc 1 4225 0
- 9329 016c 0223 movs r3, #2
- 9330 .LVL534:
- 9331 016e 50E7 b .L728
- 9332 .L743:
- 9333 .align 2
- 9334 .L742:
- 9335 0170 00000000 .word I2C_DMAXferCplt
- 9336 0174 00000000 .word I2C_DMAError
- 9337 0178 00000000 .word I2C_DMAAbort
- 9338 .cfi_endproc
- 9339 .LFE93:
- 9341 .section .text.HAL_I2C_Slave_Seq_Receive_IT,"ax",%progbits
- 9342 .align 1
- 9343 .global HAL_I2C_Slave_Seq_Receive_IT
- 9344 .syntax unified
- 9345 .thumb
- 9346 .thumb_func
- 9347 .fpu softvfp
- 9349 HAL_I2C_Slave_Seq_Receive_IT:
- 9350 .LFB94:
-4368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Check the parameters */
- 9351 .loc 1 4368 0
- 9352 .cfi_startproc
- 9353 @ args = 0, pretend = 0, frame = 8
- 9354 @ frame_needed = 0, uses_anonymous_args = 0
-ARM GAS /tmp/cc8FAL5N.s page 325
-
-
- 9355 @ link register save eliminated.
- 9356 .LVL535:
- 9357 0000 30B4 push {r4, r5}
- 9358 .LCFI133:
- 9359 .cfi_def_cfa_offset 8
- 9360 .cfi_offset 4, -8
- 9361 .cfi_offset 5, -4
- 9362 0002 82B0 sub sp, sp, #8
- 9363 .LCFI134:
- 9364 .cfi_def_cfa_offset 16
-4372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9365 .loc 1 4372 0
- 9366 0004 90F83D40 ldrb r4, [r0, #61] @ zero_extendqisi2
- 9367 0008 04F02804 and r4, r4, #40
- 9368 000c 282C cmp r4, #40
- 9369 000e 03D0 beq .L752
-4419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9370 .loc 1 4419 0
- 9371 0010 0220 movs r0, #2
- 9372 .LVL536:
- 9373 .L745:
-4421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9374 .loc 1 4421 0
- 9375 0012 02B0 add sp, sp, #8
- 9376 .LCFI135:
- 9377 .cfi_remember_state
- 9378 .cfi_def_cfa_offset 8
- 9379 @ sp needed
- 9380 0014 30BC pop {r4, r5}
- 9381 .LCFI136:
- 9382 .cfi_restore 5
- 9383 .cfi_restore 4
- 9384 .cfi_def_cfa_offset 0
- 9385 0016 7047 bx lr
- 9386 .LVL537:
- 9387 .L752:
- 9388 .LCFI137:
- 9389 .cfi_restore_state
-4374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9390 .loc 1 4374 0
- 9391 0018 0029 cmp r1, #0
- 9392 001a 32D0 beq .L748
-4374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9393 .loc 1 4374 0 is_stmt 0 discriminator 1
- 9394 001c 002A cmp r2, #0
- 9395 001e 32D0 beq .L749
-4380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9396 .loc 1 4380 0 is_stmt 1
- 9397 0020 90F83C40 ldrb r4, [r0, #60] @ zero_extendqisi2
- 9398 0024 012C cmp r4, #1
- 9399 0026 30D0 beq .L750
-4380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9400 .loc 1 4380 0 is_stmt 0 discriminator 2
- 9401 0028 0124 movs r4, #1
- 9402 002a 80F83C40 strb r4, [r0, #60]
-4383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9403 .loc 1 4383 0 is_stmt 1 discriminator 2
-ARM GAS /tmp/cc8FAL5N.s page 326
-
-
- 9404 002e 0468 ldr r4, [r0]
- 9405 0030 2568 ldr r5, [r4]
- 9406 0032 15F0010F tst r5, #1
- 9407 0036 03D1 bne .L746
-4386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9408 .loc 1 4386 0
- 9409 0038 2568 ldr r5, [r4]
- 9410 003a 45F00105 orr r5, r5, #1
- 9411 003e 2560 str r5, [r4]
- 9412 .L746:
-4390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9413 .loc 1 4390 0
- 9414 0040 0568 ldr r5, [r0]
- 9415 0042 2C68 ldr r4, [r5]
- 9416 0044 24F40064 bic r4, r4, #2048
- 9417 0048 2C60 str r4, [r5]
-4392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_SLAVE;
- 9418 .loc 1 4392 0
- 9419 004a 2A24 movs r4, #42
- 9420 004c 80F83D40 strb r4, [r0, #61]
-4393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 9421 .loc 1 4393 0
- 9422 0050 2024 movs r4, #32
- 9423 0052 80F83E40 strb r4, [r0, #62]
-4394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9424 .loc 1 4394 0
- 9425 0056 0024 movs r4, #0
- 9426 0058 0464 str r4, [r0, #64]
-4397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 9427 .loc 1 4397 0
- 9428 005a 4162 str r1, [r0, #36]
-4398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
- 9429 .loc 1 4398 0
- 9430 005c 4285 strh r2, [r0, #42] @ movhi
-4399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = XferOptions;
- 9431 .loc 1 4399 0
- 9432 005e 428D ldrh r2, [r0, #42]
- 9433 .LVL538:
- 9434 0060 0285 strh r2, [r0, #40] @ movhi
-4400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9435 .loc 1 4400 0
- 9436 0062 C362 str r3, [r0, #44]
- 9437 .LVL539:
- 9438 .LBB115:
-4403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9439 .loc 1 4403 0
- 9440 0064 0194 str r4, [sp, #4]
- 9441 0066 0368 ldr r3, [r0]
- 9442 .LVL540:
- 9443 0068 5A69 ldr r2, [r3, #20]
- 9444 006a 0192 str r2, [sp, #4]
- 9445 006c 9A69 ldr r2, [r3, #24]
- 9446 006e 0192 str r2, [sp, #4]
- 9447 0070 019A ldr r2, [sp, #4]
- 9448 .LBE115:
-4406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9449 .loc 1 4406 0
-ARM GAS /tmp/cc8FAL5N.s page 327
-
-
- 9450 0072 80F83C40 strb r4, [r0, #60]
-4413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9451 .loc 1 4413 0
- 9452 0076 5A68 ldr r2, [r3, #4]
- 9453 0078 42F4E062 orr r2, r2, #1792
- 9454 007c 5A60 str r2, [r3, #4]
-4415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9455 .loc 1 4415 0
- 9456 007e 2046 mov r0, r4
- 9457 .LVL541:
- 9458 0080 C7E7 b .L745
- 9459 .LVL542:
- 9460 .L748:
-4376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9461 .loc 1 4376 0
- 9462 0082 0120 movs r0, #1
- 9463 .LVL543:
- 9464 0084 C5E7 b .L745
- 9465 .LVL544:
- 9466 .L749:
- 9467 0086 0120 movs r0, #1
- 9468 .LVL545:
- 9469 0088 C3E7 b .L745
- 9470 .LVL546:
- 9471 .L750:
-4380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9472 .loc 1 4380 0
- 9473 008a 0220 movs r0, #2
- 9474 .LVL547:
- 9475 008c C1E7 b .L745
- 9476 .cfi_endproc
- 9477 .LFE94:
- 9479 .section .text.HAL_I2C_Slave_Seq_Receive_DMA,"ax",%progbits
- 9480 .align 1
- 9481 .global HAL_I2C_Slave_Seq_Receive_DMA
- 9482 .syntax unified
- 9483 .thumb
- 9484 .thumb_func
- 9485 .fpu softvfp
- 9487 HAL_I2C_Slave_Seq_Receive_DMA:
- 9488 .LFB95:
-4434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_StatusTypeDef dmaxferstatus;
- 9489 .loc 1 4434 0
- 9490 .cfi_startproc
- 9491 @ args = 0, pretend = 0, frame = 8
- 9492 @ frame_needed = 0, uses_anonymous_args = 0
- 9493 .LVL548:
- 9494 0000 F0B5 push {r4, r5, r6, r7, lr}
- 9495 .LCFI138:
- 9496 .cfi_def_cfa_offset 20
- 9497 .cfi_offset 4, -20
- 9498 .cfi_offset 5, -16
- 9499 .cfi_offset 6, -12
- 9500 .cfi_offset 7, -8
- 9501 .cfi_offset 14, -4
- 9502 0002 83B0 sub sp, sp, #12
- 9503 .LCFI139:
-ARM GAS /tmp/cc8FAL5N.s page 328
-
-
- 9504 .cfi_def_cfa_offset 32
-4440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9505 .loc 1 4440 0
- 9506 0004 90F83D40 ldrb r4, [r0, #61] @ zero_extendqisi2
- 9507 0008 04F02804 and r4, r4, #40
- 9508 000c 282C cmp r4, #40
- 9509 000e 03D0 beq .L764
-4576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9510 .loc 1 4576 0
- 9511 0010 0223 movs r3, #2
- 9512 .LVL549:
- 9513 .L754:
-4578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9514 .loc 1 4578 0
- 9515 0012 1846 mov r0, r3
- 9516 0014 03B0 add sp, sp, #12
- 9517 .LCFI140:
- 9518 .cfi_remember_state
- 9519 .cfi_def_cfa_offset 20
- 9520 @ sp needed
- 9521 0016 F0BD pop {r4, r5, r6, r7, pc}
- 9522 .LVL550:
- 9523 .L764:
- 9524 .LCFI141:
- 9525 .cfi_restore_state
-4442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9526 .loc 1 4442 0
- 9527 0018 0029 cmp r1, #0
- 9528 001a 00F0A380 beq .L760
-4442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9529 .loc 1 4442 0 is_stmt 0 discriminator 1
- 9530 001e 002A cmp r2, #0
- 9531 0020 00F0A280 beq .L761
-4448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9532 .loc 1 4448 0 is_stmt 1
- 9533 0024 90F83C40 ldrb r4, [r0, #60] @ zero_extendqisi2
- 9534 0028 012C cmp r4, #1
- 9535 002a 00F09F80 beq .L762
- 9536 002e 1F46 mov r7, r3
- 9537 0030 1646 mov r6, r2
- 9538 0032 0D46 mov r5, r1
- 9539 0034 0446 mov r4, r0
-4448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9540 .loc 1 4448 0 is_stmt 0 discriminator 2
- 9541 0036 0123 movs r3, #1
- 9542 .LVL551:
- 9543 0038 80F83C30 strb r3, [r0, #60]
-4451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9544 .loc 1 4451 0 is_stmt 1 discriminator 2
- 9545 003c 0268 ldr r2, [r0]
- 9546 .LVL552:
- 9547 003e 5368 ldr r3, [r2, #4]
- 9548 0040 23F44073 bic r3, r3, #768
- 9549 0044 5360 str r3, [r2, #4]
-4455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9550 .loc 1 4455 0 discriminator 2
- 9551 0046 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
-ARM GAS /tmp/cc8FAL5N.s page 329
-
-
- 9552 004a DBB2 uxtb r3, r3
- 9553 004c 2A2B cmp r3, #42
- 9554 004e 41D0 beq .L765
-4477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9555 .loc 1 4477 0
- 9556 0050 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 9557 0054 DBB2 uxtb r3, r3
- 9558 0056 292B cmp r3, #41
- 9559 0058 54D0 beq .L766
- 9560 .LVL553:
- 9561 .L756:
-4505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9562 .loc 1 4505 0
- 9563 005a 2368 ldr r3, [r4]
- 9564 005c 1A68 ldr r2, [r3]
- 9565 005e 12F0010F tst r2, #1
- 9566 0062 03D1 bne .L757
-4508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9567 .loc 1 4508 0
- 9568 0064 1A68 ldr r2, [r3]
- 9569 0066 42F00102 orr r2, r2, #1
- 9570 006a 1A60 str r2, [r3]
- 9571 .L757:
-4512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9572 .loc 1 4512 0
- 9573 006c 2268 ldr r2, [r4]
- 9574 006e 1368 ldr r3, [r2]
- 9575 0070 23F40063 bic r3, r3, #2048
- 9576 0074 1360 str r3, [r2]
-4514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_SLAVE;
- 9577 .loc 1 4514 0
- 9578 0076 2A23 movs r3, #42
- 9579 0078 84F83D30 strb r3, [r4, #61]
-4515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 9580 .loc 1 4515 0
- 9581 007c 2023 movs r3, #32
- 9582 007e 84F83E30 strb r3, [r4, #62]
-4516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9583 .loc 1 4516 0
- 9584 0082 0023 movs r3, #0
- 9585 0084 2364 str r3, [r4, #64]
-4519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferCount = Size;
- 9586 .loc 1 4519 0
- 9587 0086 6562 str r5, [r4, #36]
-4520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferSize = hi2c->XferCount;
- 9588 .loc 1 4520 0
- 9589 0088 6685 strh r6, [r4, #42] @ movhi
-4521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->XferOptions = XferOptions;
- 9590 .loc 1 4521 0
- 9591 008a 628D ldrh r2, [r4, #42]
- 9592 008c 2285 strh r2, [r4, #40] @ movhi
-4522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9593 .loc 1 4522 0
- 9594 008e E762 str r7, [r4, #44]
-4525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9595 .loc 1 4525 0
- 9596 0090 A26B ldr r2, [r4, #56]
-ARM GAS /tmp/cc8FAL5N.s page 330
-
-
- 9597 0092 3749 ldr r1, .L768
- 9598 0094 9162 str r1, [r2, #40]
-4528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9599 .loc 1 4528 0
- 9600 0096 A26B ldr r2, [r4, #56]
- 9601 0098 3649 ldr r1, .L768+4
- 9602 009a 1163 str r1, [r2, #48]
-4531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->hdmarx->XferAbortCallback = NULL;
- 9603 .loc 1 4531 0
- 9604 009c A26B ldr r2, [r4, #56]
- 9605 009e D362 str r3, [r2, #44]
-4532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9606 .loc 1 4532 0
- 9607 00a0 A26B ldr r2, [r4, #56]
- 9608 00a2 5363 str r3, [r2, #52]
-4535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9609 .loc 1 4535 0
- 9610 00a4 2168 ldr r1, [r4]
- 9611 00a6 238D ldrh r3, [r4, #40]
- 9612 00a8 626A ldr r2, [r4, #36]
- 9613 00aa 1031 adds r1, r1, #16
- 9614 00ac A06B ldr r0, [r4, #56]
- 9615 00ae FFF7FEFF bl HAL_DMA_Start_IT
- 9616 .LVL554:
-4537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9617 .loc 1 4537 0
- 9618 00b2 0346 mov r3, r0
- 9619 00b4 0028 cmp r0, #0
- 9620 00b6 3CD0 beq .L767
-4562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 9621 .loc 1 4562 0
- 9622 00b8 2023 movs r3, #32
- 9623 00ba 84F83D30 strb r3, [r4, #61]
-4563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9624 .loc 1 4563 0
- 9625 00be 0022 movs r2, #0
- 9626 00c0 84F83E20 strb r2, [r4, #62]
-4566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9627 .loc 1 4566 0
- 9628 00c4 236C ldr r3, [r4, #64]
- 9629 00c6 43F01003 orr r3, r3, #16
- 9630 00ca 2364 str r3, [r4, #64]
-4569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9631 .loc 1 4569 0
- 9632 00cc 84F83C20 strb r2, [r4, #60]
-4571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9633 .loc 1 4571 0
- 9634 00d0 0123 movs r3, #1
- 9635 00d2 9EE7 b .L754
- 9636 .LVL555:
- 9637 .L765:
-4457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9638 .loc 1 4457 0
- 9639 00d4 0368 ldr r3, [r0]
- 9640 00d6 5A68 ldr r2, [r3, #4]
- 9641 00d8 12F4006F tst r2, #2048
- 9642 00dc BDD0 beq .L756
-ARM GAS /tmp/cc8FAL5N.s page 331
-
-
-4460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9643 .loc 1 4460 0
- 9644 00de 826B ldr r2, [r0, #56]
- 9645 00e0 002A cmp r2, #0
- 9646 00e2 BAD0 beq .L756
-4462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9647 .loc 1 4462 0
- 9648 00e4 5A68 ldr r2, [r3, #4]
- 9649 00e6 22F40062 bic r2, r2, #2048
- 9650 00ea 5A60 str r2, [r3, #4]
-4466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9651 .loc 1 4466 0
- 9652 00ec 836B ldr r3, [r0, #56]
- 9653 00ee 224A ldr r2, .L768+8
- 9654 00f0 5A63 str r2, [r3, #52]
-4469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9655 .loc 1 4469 0
- 9656 00f2 806B ldr r0, [r0, #56]
- 9657 .LVL556:
- 9658 00f4 FFF7FEFF bl HAL_DMA_Abort_IT
- 9659 .LVL557:
- 9660 00f8 0028 cmp r0, #0
- 9661 00fa AED0 beq .L756
-4472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9662 .loc 1 4472 0
- 9663 00fc A06B ldr r0, [r4, #56]
- 9664 00fe 436B ldr r3, [r0, #52]
- 9665 0100 9847 blx r3
- 9666 .LVL558:
- 9667 0102 AAE7 b .L756
- 9668 .LVL559:
- 9669 .L766:
-4479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9670 .loc 1 4479 0
- 9671 0104 0368 ldr r3, [r0]
- 9672 0106 5A68 ldr r2, [r3, #4]
- 9673 0108 12F4006F tst r2, #2048
- 9674 010c A5D0 beq .L756
-4481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9675 .loc 1 4481 0
- 9676 010e 5A68 ldr r2, [r3, #4]
- 9677 0110 22F40062 bic r2, r2, #2048
- 9678 0114 5A60 str r2, [r3, #4]
-4484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9679 .loc 1 4484 0
- 9680 0116 436B ldr r3, [r0, #52]
- 9681 0118 002B cmp r3, #0
- 9682 011a 9ED0 beq .L756
-4488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9683 .loc 1 4488 0
- 9684 011c 164A ldr r2, .L768+8
- 9685 011e 5A63 str r2, [r3, #52]
-4491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9686 .loc 1 4491 0
- 9687 0120 406B ldr r0, [r0, #52]
- 9688 .LVL560:
- 9689 0122 FFF7FEFF bl HAL_DMA_Abort_IT
-ARM GAS /tmp/cc8FAL5N.s page 332
-
-
- 9690 .LVL561:
- 9691 0126 0028 cmp r0, #0
- 9692 0128 97D0 beq .L756
-4494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9693 .loc 1 4494 0
- 9694 012a 606B ldr r0, [r4, #52]
- 9695 012c 436B ldr r3, [r0, #52]
- 9696 012e 9847 blx r3
- 9697 .LVL562:
- 9698 0130 93E7 b .L756
- 9699 .LVL563:
- 9700 .L767:
-4540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9701 .loc 1 4540 0
- 9702 0132 2168 ldr r1, [r4]
- 9703 0134 0A68 ldr r2, [r1]
- 9704 0136 42F48062 orr r2, r2, #1024
- 9705 013a 0A60 str r2, [r1]
- 9706 .LBB116:
-4543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9707 .loc 1 4543 0
- 9708 013c 0021 movs r1, #0
- 9709 013e 0191 str r1, [sp, #4]
- 9710 0140 2268 ldr r2, [r4]
- 9711 0142 5069 ldr r0, [r2, #20]
- 9712 .LVL564:
- 9713 0144 0190 str r0, [sp, #4]
- 9714 0146 9069 ldr r0, [r2, #24]
- 9715 0148 0190 str r0, [sp, #4]
- 9716 014a 0198 ldr r0, [sp, #4]
- 9717 .LBE116:
-4546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9718 .loc 1 4546 0
- 9719 014c 84F83C10 strb r1, [r4, #60]
-4549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9720 .loc 1 4549 0
- 9721 0150 5168 ldr r1, [r2, #4]
- 9722 0152 41F40061 orr r1, r1, #2048
- 9723 0156 5160 str r1, [r2, #4]
-4555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9724 .loc 1 4555 0
- 9725 0158 2168 ldr r1, [r4]
- 9726 015a 4A68 ldr r2, [r1, #4]
- 9727 015c 42F44072 orr r2, r2, #768
- 9728 0160 4A60 str r2, [r1, #4]
-4557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9729 .loc 1 4557 0
- 9730 0162 56E7 b .L754
- 9731 .LVL565:
- 9732 .L760:
-4444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9733 .loc 1 4444 0
- 9734 0164 0123 movs r3, #1
- 9735 .LVL566:
- 9736 0166 54E7 b .L754
- 9737 .LVL567:
- 9738 .L761:
-ARM GAS /tmp/cc8FAL5N.s page 333
-
-
- 9739 0168 0123 movs r3, #1
- 9740 .LVL568:
- 9741 016a 52E7 b .L754
- 9742 .LVL569:
- 9743 .L762:
-4448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9744 .loc 1 4448 0
- 9745 016c 0223 movs r3, #2
- 9746 .LVL570:
- 9747 016e 50E7 b .L754
- 9748 .L769:
- 9749 .align 2
- 9750 .L768:
- 9751 0170 00000000 .word I2C_DMAXferCplt
- 9752 0174 00000000 .word I2C_DMAError
- 9753 0178 00000000 .word I2C_DMAAbort
- 9754 .cfi_endproc
- 9755 .LFE95:
- 9757 .section .text.HAL_I2C_EnableListen_IT,"ax",%progbits
- 9758 .align 1
- 9759 .global HAL_I2C_EnableListen_IT
- 9760 .syntax unified
- 9761 .thumb
- 9762 .thumb_func
- 9763 .fpu softvfp
- 9765 HAL_I2C_EnableListen_IT:
- 9766 .LFB96:
-4587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_READY)
- 9767 .loc 1 4587 0
- 9768 .cfi_startproc
- 9769 @ args = 0, pretend = 0, frame = 0
- 9770 @ frame_needed = 0, uses_anonymous_args = 0
- 9771 @ link register save eliminated.
- 9772 .LVL571:
-4588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9773 .loc 1 4588 0
- 9774 0000 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 9775 0004 DBB2 uxtb r3, r3
- 9776 0006 202B cmp r3, #32
- 9777 0008 01D0 beq .L774
-4609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9778 .loc 1 4609 0
- 9779 000a 0220 movs r0, #2
- 9780 .LVL572:
-4611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9781 .loc 1 4611 0
- 9782 000c 7047 bx lr
- 9783 .LVL573:
- 9784 .L774:
-4590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9785 .loc 1 4590 0
- 9786 000e 2823 movs r3, #40
- 9787 0010 80F83D30 strb r3, [r0, #61]
-4593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9788 .loc 1 4593 0
- 9789 0014 0368 ldr r3, [r0]
- 9790 0016 1A68 ldr r2, [r3]
-ARM GAS /tmp/cc8FAL5N.s page 334
-
-
- 9791 0018 12F0010F tst r2, #1
- 9792 001c 03D1 bne .L772
-4596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9793 .loc 1 4596 0
- 9794 001e 1A68 ldr r2, [r3]
- 9795 0020 42F00102 orr r2, r2, #1
- 9796 0024 1A60 str r2, [r3]
- 9797 .L772:
-4600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9798 .loc 1 4600 0
- 9799 0026 0268 ldr r2, [r0]
- 9800 0028 1368 ldr r3, [r2]
- 9801 002a 43F48063 orr r3, r3, #1024
- 9802 002e 1360 str r3, [r2]
-4603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9803 .loc 1 4603 0
- 9804 0030 0268 ldr r2, [r0]
- 9805 0032 5368 ldr r3, [r2, #4]
- 9806 0034 43F44073 orr r3, r3, #768
- 9807 0038 5360 str r3, [r2, #4]
-4605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9808 .loc 1 4605 0
- 9809 003a 0020 movs r0, #0
- 9810 .LVL574:
- 9811 003c 7047 bx lr
- 9812 .cfi_endproc
- 9813 .LFE96:
- 9815 .section .text.HAL_I2C_DisableListen_IT,"ax",%progbits
- 9816 .align 1
- 9817 .global HAL_I2C_DisableListen_IT
- 9818 .syntax unified
- 9819 .thumb
- 9820 .thumb_func
- 9821 .fpu softvfp
- 9823 HAL_I2C_DisableListen_IT:
- 9824 .LFB97:
-4620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of tmp to prevent undefined behavior of volatile usage */
- 9825 .loc 1 4620 0
- 9826 .cfi_startproc
- 9827 @ args = 0, pretend = 0, frame = 0
- 9828 @ frame_needed = 0, uses_anonymous_args = 0
- 9829 @ link register save eliminated.
- 9830 .LVL575:
-4625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9831 .loc 1 4625 0
- 9832 0000 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 9833 0004 DBB2 uxtb r3, r3
- 9834 0006 282B cmp r3, #40
- 9835 0008 01D0 beq .L778
-4642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9836 .loc 1 4642 0
- 9837 000a 0220 movs r0, #2
- 9838 .LVL576:
-4644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9839 .loc 1 4644 0
- 9840 000c 7047 bx lr
- 9841 .LVL577:
-ARM GAS /tmp/cc8FAL5N.s page 335
-
-
- 9842 .L778:
-4627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = tmp | (uint32_t)(hi2c->Mode);
- 9843 .loc 1 4627 0
- 9844 000e 90F83D20 ldrb r2, [r0, #61] @ zero_extendqisi2
- 9845 .LVL578:
-4628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 9846 .loc 1 4628 0
- 9847 0012 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2
- 9848 0016 02F00302 and r2, r2, #3
- 9849 .LVL579:
- 9850 001a 1343 orrs r3, r3, r2
- 9851 001c 0363 str r3, [r0, #48]
-4629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 9852 .loc 1 4629 0
- 9853 001e 2023 movs r3, #32
- 9854 0020 80F83D30 strb r3, [r0, #61]
-4630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9855 .loc 1 4630 0
- 9856 0024 0023 movs r3, #0
- 9857 0026 80F83E30 strb r3, [r0, #62]
-4633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9858 .loc 1 4633 0
- 9859 002a 0168 ldr r1, [r0]
- 9860 002c 0A68 ldr r2, [r1]
- 9861 002e 22F48062 bic r2, r2, #1024
- 9862 0032 0A60 str r2, [r1]
-4636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9863 .loc 1 4636 0
- 9864 0034 0168 ldr r1, [r0]
- 9865 0036 4A68 ldr r2, [r1, #4]
- 9866 0038 22F44072 bic r2, r2, #768
- 9867 003c 4A60 str r2, [r1, #4]
-4638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9868 .loc 1 4638 0
- 9869 003e 1846 mov r0, r3
- 9870 .LVL580:
- 9871 0040 7047 bx lr
- 9872 .cfi_endproc
- 9873 .LFE97:
- 9875 .section .text.HAL_I2C_MasterTxCpltCallback,"ax",%progbits
- 9876 .align 1
- 9877 .weak HAL_I2C_MasterTxCpltCallback
- 9878 .syntax unified
- 9879 .thumb
- 9880 .thumb_func
- 9881 .fpu softvfp
- 9883 HAL_I2C_MasterTxCpltCallback:
- 9884 .LFB101:
-4963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
- 9885 .loc 1 4963 0
- 9886 .cfi_startproc
- 9887 @ args = 0, pretend = 0, frame = 0
- 9888 @ frame_needed = 0, uses_anonymous_args = 0
- 9889 @ link register save eliminated.
- 9890 .LVL581:
- 9891 0000 7047 bx lr
- 9892 .cfi_endproc
-ARM GAS /tmp/cc8FAL5N.s page 336
-
-
- 9893 .LFE101:
- 9895 .section .text.I2C_MasterTransmit_BTF,"ax",%progbits
- 9896 .align 1
- 9897 .syntax unified
- 9898 .thumb
- 9899 .thumb_func
- 9900 .fpu softvfp
- 9902 I2C_MasterTransmit_BTF:
- 9903 .LFB115:
-5285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variables to prevent undefined behavior of volatile usage */
- 9904 .loc 1 5285 0
- 9905 .cfi_startproc
- 9906 @ args = 0, pretend = 0, frame = 0
- 9907 @ frame_needed = 0, uses_anonymous_args = 0
- 9908 .LVL582:
-5285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variables to prevent undefined behavior of volatile usage */
- 9909 .loc 1 5285 0
- 9910 0000 08B5 push {r3, lr}
- 9911 .LCFI142:
- 9912 .cfi_def_cfa_offset 8
- 9913 .cfi_offset 3, -8
- 9914 .cfi_offset 14, -4
-5287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9915 .loc 1 5287 0
- 9916 0002 C26A ldr r2, [r0, #44]
- 9917 .LVL583:
-5289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9918 .loc 1 5289 0
- 9919 0004 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 9920 0008 DBB2 uxtb r3, r3
- 9921 000a 212B cmp r3, #33
- 9922 000c 00D0 beq .L785
- 9923 .LVL584:
- 9924 .L780:
- 9925 000e 08BD pop {r3, pc}
- 9926 .LVL585:
- 9927 .L785:
-5291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9928 .loc 1 5291 0
- 9929 0010 438D ldrh r3, [r0, #42]
- 9930 0012 9BB2 uxth r3, r3
- 9931 0014 D3B9 cbnz r3, .L786
-5305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9932 .loc 1 5305 0
- 9933 0016 082A cmp r2, #8
- 9934 0018 04D0 beq .L783
-5305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9935 .loc 1 5305 0 is_stmt 0 discriminator 1
- 9936 001a 202A cmp r2, #32
- 9937 001c 02D0 beq .L783
-5305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 9938 .loc 1 5305 0 discriminator 2
- 9939 001e 12F5803F cmn r2, #65536
- 9940 0022 20D1 bne .L787
- 9941 .L783:
-5322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9942 .loc 1 5322 0 is_stmt 1
-ARM GAS /tmp/cc8FAL5N.s page 337
-
-
- 9943 0024 0268 ldr r2, [r0]
- 9944 .LVL586:
- 9945 0026 5368 ldr r3, [r2, #4]
- 9946 0028 23F4E063 bic r3, r3, #1792
- 9947 002c 5360 str r3, [r2, #4]
-5325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9948 .loc 1 5325 0
- 9949 002e 0268 ldr r2, [r0]
- 9950 0030 1368 ldr r3, [r2]
- 9951 0032 43F40073 orr r3, r3, #512
- 9952 0036 1360 str r3, [r2]
-5327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 9953 .loc 1 5327 0
- 9954 0038 0023 movs r3, #0
- 9955 003a 0363 str r3, [r0, #48]
-5328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 9956 .loc 1 5328 0
- 9957 003c 2022 movs r2, #32
- 9958 003e 80F83D20 strb r2, [r0, #61]
-5329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9959 .loc 1 5329 0
- 9960 0042 80F83E30 strb r3, [r0, #62]
-5334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 9961 .loc 1 5334 0
- 9962 0046 FFF7FEFF bl HAL_I2C_MasterTxCpltCallback
- 9963 .LVL587:
-5343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9964 .loc 1 5343 0
- 9965 004a E0E7 b .L780
- 9966 .LVL588:
- 9967 .L786:
-5294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9968 .loc 1 5294 0
- 9969 004c 0368 ldr r3, [r0]
- 9970 004e 426A ldr r2, [r0, #36]
- 9971 .LVL589:
- 9972 0050 1278 ldrb r2, [r2] @ zero_extendqisi2
- 9973 0052 1A61 str r2, [r3, #16]
-5297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9974 .loc 1 5297 0
- 9975 0054 436A ldr r3, [r0, #36]
- 9976 0056 0133 adds r3, r3, #1
- 9977 0058 4362 str r3, [r0, #36]
-5300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 9978 .loc 1 5300 0
- 9979 005a 438D ldrh r3, [r0, #42]
- 9980 005c 9BB2 uxth r3, r3
- 9981 005e 013B subs r3, r3, #1
- 9982 0060 9BB2 uxth r3, r3
- 9983 0062 4385 strh r3, [r0, #42] @ movhi
- 9984 0064 08BD pop {r3, pc}
- 9985 .LVL590:
- 9986 .L787:
-5307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9987 .loc 1 5307 0
- 9988 0066 0268 ldr r2, [r0]
- 9989 .LVL591:
-ARM GAS /tmp/cc8FAL5N.s page 338
-
-
- 9990 0068 5368 ldr r3, [r2, #4]
- 9991 006a 23F4E063 bic r3, r3, #1792
- 9992 006e 5360 str r3, [r2, #4]
-5309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 9993 .loc 1 5309 0
- 9994 0070 1123 movs r3, #17
- 9995 0072 0363 str r3, [r0, #48]
-5310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 9996 .loc 1 5310 0
- 9997 0074 0023 movs r3, #0
- 9998 0076 80F83E30 strb r3, [r0, #62]
-5311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 9999 .loc 1 5311 0
- 10000 007a 2023 movs r3, #32
- 10001 007c 80F83D30 strb r3, [r0, #61]
-5316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 10002 .loc 1 5316 0
- 10003 0080 FFF7FEFF bl HAL_I2C_MasterTxCpltCallback
- 10004 .LVL592:
- 10005 0084 08BD pop {r3, pc}
- 10006 .cfi_endproc
- 10007 .LFE115:
- 10009 .section .text.HAL_I2C_MasterRxCpltCallback,"ax",%progbits
- 10010 .align 1
- 10011 .weak HAL_I2C_MasterRxCpltCallback
- 10012 .syntax unified
- 10013 .thumb
- 10014 .thumb_func
- 10015 .fpu softvfp
- 10017 HAL_I2C_MasterRxCpltCallback:
- 10018 .LFB102:
-4979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
- 10019 .loc 1 4979 0
- 10020 .cfi_startproc
- 10021 @ args = 0, pretend = 0, frame = 0
- 10022 @ frame_needed = 0, uses_anonymous_args = 0
- 10023 @ link register save eliminated.
- 10024 .LVL593:
- 10025 0000 7047 bx lr
- 10026 .cfi_endproc
- 10027 .LFE102:
- 10029 .section .text.HAL_I2C_SlaveTxCpltCallback,"ax",%progbits
- 10030 .align 1
- 10031 .weak HAL_I2C_SlaveTxCpltCallback
- 10032 .syntax unified
- 10033 .thumb
- 10034 .thumb_func
- 10035 .fpu softvfp
- 10037 HAL_I2C_SlaveTxCpltCallback:
- 10038 .LFB103:
-4994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
- 10039 .loc 1 4994 0
- 10040 .cfi_startproc
- 10041 @ args = 0, pretend = 0, frame = 0
- 10042 @ frame_needed = 0, uses_anonymous_args = 0
- 10043 @ link register save eliminated.
- 10044 .LVL594:
-ARM GAS /tmp/cc8FAL5N.s page 339
-
-
- 10045 0000 7047 bx lr
- 10046 .cfi_endproc
- 10047 .LFE103:
- 10049 .section .text.I2C_SlaveTransmit_TXE,"ax",%progbits
- 10050 .align 1
- 10051 .syntax unified
- 10052 .thumb
- 10053 .thumb_func
- 10054 .fpu softvfp
- 10056 I2C_SlaveTransmit_TXE:
- 10057 .LFB122:
-5900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variables to prevent undefined behavior of volatile usage */
- 10058 .loc 1 5900 0
- 10059 .cfi_startproc
- 10060 @ args = 0, pretend = 0, frame = 0
- 10061 @ frame_needed = 0, uses_anonymous_args = 0
- 10062 .LVL595:
-5900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variables to prevent undefined behavior of volatile usage */
- 10063 .loc 1 5900 0
- 10064 0000 08B5 push {r3, lr}
- 10065 .LCFI143:
- 10066 .cfi_def_cfa_offset 8
- 10067 .cfi_offset 3, -8
- 10068 .cfi_offset 14, -4
-5902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10069 .loc 1 5902 0
- 10070 0002 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 10071 0006 DAB2 uxtb r2, r3
- 10072 .LVL596:
-5904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10073 .loc 1 5904 0
- 10074 0008 438D ldrh r3, [r0, #42]
- 10075 000a 9BB2 uxth r3, r3
- 10076 000c 83B1 cbz r3, .L790
-5907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10077 .loc 1 5907 0
- 10078 000e 0368 ldr r3, [r0]
- 10079 0010 416A ldr r1, [r0, #36]
- 10080 0012 0978 ldrb r1, [r1] @ zero_extendqisi2
- 10081 0014 1961 str r1, [r3, #16]
-5910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10082 .loc 1 5910 0
- 10083 0016 436A ldr r3, [r0, #36]
- 10084 0018 0133 adds r3, r3, #1
- 10085 001a 4362 str r3, [r0, #36]
-5913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10086 .loc 1 5913 0
- 10087 001c 438D ldrh r3, [r0, #42]
- 10088 001e 9BB2 uxth r3, r3
- 10089 0020 013B subs r3, r3, #1
- 10090 0022 9BB2 uxth r3, r3
- 10091 0024 4385 strh r3, [r0, #42] @ movhi
-5915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10092 .loc 1 5915 0
- 10093 0026 438D ldrh r3, [r0, #42]
- 10094 0028 9BB2 uxth r3, r3
- 10095 002a 0BB9 cbnz r3, .L790
-ARM GAS /tmp/cc8FAL5N.s page 340
-
-
-5915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10096 .loc 1 5915 0 is_stmt 0 discriminator 1
- 10097 002c 292A cmp r2, #41
- 10098 002e 00D0 beq .L793
- 10099 .LVL597:
- 10100 .L790:
- 10101 0030 08BD pop {r3, pc}
- 10102 .LVL598:
- 10103 .L793:
-5918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10104 .loc 1 5918 0 is_stmt 1
- 10105 0032 0268 ldr r2, [r0]
- 10106 .LVL599:
- 10107 0034 5368 ldr r3, [r2, #4]
- 10108 0036 23F48063 bic r3, r3, #1024
- 10109 003a 5360 str r3, [r2, #4]
-5921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_LISTEN;
- 10110 .loc 1 5921 0
- 10111 003c 2123 movs r3, #33
- 10112 003e 0363 str r3, [r0, #48]
-5922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10113 .loc 1 5922 0
- 10114 0040 2823 movs r3, #40
- 10115 0042 80F83D30 strb r3, [r0, #61]
-5928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 10116 .loc 1 5928 0
- 10117 0046 FFF7FEFF bl HAL_I2C_SlaveTxCpltCallback
- 10118 .LVL600:
-5932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10119 .loc 1 5932 0
- 10120 004a F1E7 b .L790
- 10121 .cfi_endproc
- 10122 .LFE122:
- 10124 .section .text.HAL_I2C_SlaveRxCpltCallback,"ax",%progbits
- 10125 .align 1
- 10126 .weak HAL_I2C_SlaveRxCpltCallback
- 10127 .syntax unified
- 10128 .thumb
- 10129 .thumb_func
- 10130 .fpu softvfp
- 10132 HAL_I2C_SlaveRxCpltCallback:
- 10133 .LFB104:
-5010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
- 10134 .loc 1 5010 0
- 10135 .cfi_startproc
- 10136 @ args = 0, pretend = 0, frame = 0
- 10137 @ frame_needed = 0, uses_anonymous_args = 0
- 10138 @ link register save eliminated.
- 10139 .LVL601:
- 10140 0000 7047 bx lr
- 10141 .cfi_endproc
- 10142 .LFE104:
- 10144 .section .text.I2C_SlaveReceive_RXNE,"ax",%progbits
- 10145 .align 1
- 10146 .syntax unified
- 10147 .thumb
- 10148 .thumb_func
-ARM GAS /tmp/cc8FAL5N.s page 341
-
-
- 10149 .fpu softvfp
- 10151 I2C_SlaveReceive_RXNE:
- 10152 .LFB124:
-5962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variables to prevent undefined behavior of volatile usage */
- 10153 .loc 1 5962 0
- 10154 .cfi_startproc
- 10155 @ args = 0, pretend = 0, frame = 0
- 10156 @ frame_needed = 0, uses_anonymous_args = 0
- 10157 .LVL602:
-5962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variables to prevent undefined behavior of volatile usage */
- 10158 .loc 1 5962 0
- 10159 0000 08B5 push {r3, lr}
- 10160 .LCFI144:
- 10161 .cfi_def_cfa_offset 8
- 10162 .cfi_offset 3, -8
- 10163 .cfi_offset 14, -4
-5964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10164 .loc 1 5964 0
- 10165 0002 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 10166 0006 DAB2 uxtb r2, r3
- 10167 .LVL603:
-5966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10168 .loc 1 5966 0
- 10169 0008 438D ldrh r3, [r0, #42]
- 10170 000a 9BB2 uxth r3, r3
- 10171 000c 83B1 cbz r3, .L795
-5969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10172 .loc 1 5969 0
- 10173 000e 436A ldr r3, [r0, #36]
- 10174 0010 0168 ldr r1, [r0]
- 10175 0012 0969 ldr r1, [r1, #16]
- 10176 0014 1970 strb r1, [r3]
-5972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10177 .loc 1 5972 0
- 10178 0016 436A ldr r3, [r0, #36]
- 10179 0018 0133 adds r3, r3, #1
- 10180 001a 4362 str r3, [r0, #36]
-5975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10181 .loc 1 5975 0
- 10182 001c 438D ldrh r3, [r0, #42]
- 10183 001e 9BB2 uxth r3, r3
- 10184 0020 013B subs r3, r3, #1
- 10185 0022 9BB2 uxth r3, r3
- 10186 0024 4385 strh r3, [r0, #42] @ movhi
-5977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10187 .loc 1 5977 0
- 10188 0026 438D ldrh r3, [r0, #42]
- 10189 0028 9BB2 uxth r3, r3
- 10190 002a 0BB9 cbnz r3, .L795
-5977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10191 .loc 1 5977 0 is_stmt 0 discriminator 1
- 10192 002c 2A2A cmp r2, #42
- 10193 002e 00D0 beq .L798
- 10194 .LVL604:
- 10195 .L795:
- 10196 0030 08BD pop {r3, pc}
- 10197 .LVL605:
-ARM GAS /tmp/cc8FAL5N.s page 342
-
-
- 10198 .L798:
-5980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10199 .loc 1 5980 0 is_stmt 1
- 10200 0032 0268 ldr r2, [r0]
- 10201 .LVL606:
- 10202 0034 5368 ldr r3, [r2, #4]
- 10203 0036 23F48063 bic r3, r3, #1024
- 10204 003a 5360 str r3, [r2, #4]
-5983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_LISTEN;
- 10205 .loc 1 5983 0
- 10206 003c 2223 movs r3, #34
- 10207 003e 0363 str r3, [r0, #48]
-5984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10208 .loc 1 5984 0
- 10209 0040 2823 movs r3, #40
- 10210 0042 80F83D30 strb r3, [r0, #61]
-5990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 10211 .loc 1 5990 0
- 10212 0046 FFF7FEFF bl HAL_I2C_SlaveRxCpltCallback
- 10213 .LVL607:
-5994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10214 .loc 1 5994 0
- 10215 004a F1E7 b .L795
- 10216 .cfi_endproc
- 10217 .LFE124:
- 10219 .section .text.HAL_I2C_AddrCallback,"ax",%progbits
- 10220 .align 1
- 10221 .weak HAL_I2C_AddrCallback
- 10222 .syntax unified
- 10223 .thumb
- 10224 .thumb_func
- 10225 .fpu softvfp
- 10227 HAL_I2C_AddrCallback:
- 10228 .LFB105:
-5028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
- 10229 .loc 1 5028 0
- 10230 .cfi_startproc
- 10231 @ args = 0, pretend = 0, frame = 0
- 10232 @ frame_needed = 0, uses_anonymous_args = 0
- 10233 @ link register save eliminated.
- 10234 .LVL608:
- 10235 0000 7047 bx lr
- 10236 .cfi_endproc
- 10237 .LFE105:
- 10239 .section .text.I2C_Slave_ADDR,"ax",%progbits
- 10240 .align 1
- 10241 .syntax unified
- 10242 .thumb
- 10243 .thumb_func
- 10244 .fpu softvfp
- 10246 I2C_Slave_ADDR:
- 10247 .LFB126:
-6025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint8_t TransferDirection = I2C_DIRECTION_RECEIVE;
- 10248 .loc 1 6025 0
- 10249 .cfi_startproc
- 10250 @ args = 0, pretend = 0, frame = 0
- 10251 @ frame_needed = 0, uses_anonymous_args = 0
-ARM GAS /tmp/cc8FAL5N.s page 343
-
-
- 10252 .LVL609:
-6025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint8_t TransferDirection = I2C_DIRECTION_RECEIVE;
- 10253 .loc 1 6025 0
- 10254 0000 08B5 push {r3, lr}
- 10255 .LCFI145:
- 10256 .cfi_def_cfa_offset 8
- 10257 .cfi_offset 3, -8
- 10258 .cfi_offset 14, -4
- 10259 .LVL610:
-6029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10260 .loc 1 6029 0
- 10261 0002 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 10262 0006 03F02803 and r3, r3, #40
- 10263 000a 282B cmp r3, #40
- 10264 000c 07D0 beq .L808
-6062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10265 .loc 1 6062 0
- 10266 000e 0368 ldr r3, [r0]
- 10267 0010 6FF00202 mvn r2, #2
- 10268 0014 5A61 str r2, [r3, #20]
-6065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 10269 .loc 1 6065 0
- 10270 0016 0023 movs r3, #0
- 10271 0018 80F83C30 strb r3, [r0, #60]
- 10272 001c 08BD pop {r3, pc}
- 10273 .L808:
-6032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10274 .loc 1 6032 0
- 10275 001e 0268 ldr r2, [r0]
- 10276 0020 5368 ldr r3, [r2, #4]
- 10277 0022 23F48063 bic r3, r3, #1024
- 10278 0026 5360 str r3, [r2, #4]
-6035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10279 .loc 1 6035 0
- 10280 0028 11F0040F tst r1, #4
- 10281 002c 0BD0 beq .L806
-6026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint16_t SlaveAddrCode;
- 10282 .loc 1 6026 0
- 10283 002e 0023 movs r3, #0
- 10284 .L802:
- 10285 .LVL611:
-6040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10286 .loc 1 6040 0
- 10287 0030 11F0800F tst r1, #128
- 10288 0034 09D1 bne .L803
-6042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 10289 .loc 1 6042 0
- 10290 0036 8289 ldrh r2, [r0, #12]
- 10291 .LVL612:
- 10292 .L804:
-6050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10293 .loc 1 6050 0
- 10294 0038 0021 movs r1, #0
- 10295 .LVL613:
- 10296 003a 80F83C10 strb r1, [r0, #60]
-6056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 10297 .loc 1 6056 0
-ARM GAS /tmp/cc8FAL5N.s page 344
-
-
- 10298 003e 1946 mov r1, r3
- 10299 0040 FFF7FEFF bl HAL_I2C_AddrCallback
- 10300 .LVL614:
- 10301 0044 08BD pop {r3, pc}
- 10302 .LVL615:
- 10303 .L806:
-6037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 10304 .loc 1 6037 0
- 10305 0046 0123 movs r3, #1
- 10306 0048 F2E7 b .L802
- 10307 .LVL616:
- 10308 .L803:
-6046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 10309 .loc 1 6046 0
- 10310 004a 028B ldrh r2, [r0, #24]
- 10311 .LVL617:
- 10312 004c F4E7 b .L804
- 10313 .cfi_endproc
- 10314 .LFE126:
- 10316 .section .text.HAL_I2C_ListenCpltCallback,"ax",%progbits
- 10317 .align 1
- 10318 .weak HAL_I2C_ListenCpltCallback
- 10319 .syntax unified
- 10320 .thumb
- 10321 .thumb_func
- 10322 .fpu softvfp
- 10324 HAL_I2C_ListenCpltCallback:
- 10325 .LFB106:
-5046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
- 10326 .loc 1 5046 0
- 10327 .cfi_startproc
- 10328 @ args = 0, pretend = 0, frame = 0
- 10329 @ frame_needed = 0, uses_anonymous_args = 0
- 10330 @ link register save eliminated.
- 10331 .LVL618:
- 10332 0000 7047 bx lr
- 10333 .cfi_endproc
- 10334 .LFE106:
- 10336 .section .text.I2C_Slave_AF,"ax",%progbits
- 10337 .align 1
- 10338 .syntax unified
- 10339 .thumb
- 10340 .thumb_func
- 10341 .fpu softvfp
- 10343 I2C_Slave_AF:
- 10344 .LFB128:
-6245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variables to prevent undefined behavior of volatile usage */
- 10345 .loc 1 6245 0
- 10346 .cfi_startproc
- 10347 @ args = 0, pretend = 0, frame = 0
- 10348 @ frame_needed = 0, uses_anonymous_args = 0
- 10349 .LVL619:
-6245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variables to prevent undefined behavior of volatile usage */
- 10350 .loc 1 6245 0
- 10351 0000 08B5 push {r3, lr}
- 10352 .LCFI146:
- 10353 .cfi_def_cfa_offset 8
-ARM GAS /tmp/cc8FAL5N.s page 345
-
-
- 10354 .cfi_offset 3, -8
- 10355 .cfi_offset 14, -4
-6247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t CurrentXferOptions = hi2c->XferOptions;
- 10356 .loc 1 6247 0
- 10357 0002 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 10358 0006 DBB2 uxtb r3, r3
- 10359 .LVL620:
-6248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10360 .loc 1 6248 0
- 10361 0008 C26A ldr r2, [r0, #44]
- 10362 .LVL621:
-6250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (CurrentState == HAL_I2C_STATE_LISTEN))
- 10363 .loc 1 6250 0
- 10364 000a 082A cmp r2, #8
- 10365 000c 08D0 beq .L811
-6250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (CurrentState == HAL_I2C_STATE_LISTEN))
- 10366 .loc 1 6250 0 is_stmt 0 discriminator 2
- 10367 000e 202A cmp r2, #32
- 10368 0010 06D0 beq .L811
- 10369 .L812:
-6275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10370 .loc 1 6275 0 is_stmt 1
- 10371 0012 212B cmp r3, #33
- 10372 0014 20D0 beq .L816
-6301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 10373 .loc 1 6301 0
- 10374 0016 0368 ldr r3, [r0]
- 10375 .LVL622:
- 10376 0018 6FF48062 mvn r2, #1024
- 10377 .LVL623:
- 10378 001c 5A61 str r2, [r3, #20]
- 10379 001e 08BD pop {r3, pc}
- 10380 .LVL624:
- 10381 .L811:
-6250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** (CurrentState == HAL_I2C_STATE_LISTEN))
- 10382 .loc 1 6250 0 discriminator 3
- 10383 0020 282B cmp r3, #40
- 10384 0022 F6D1 bne .L812
-6253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10385 .loc 1 6253 0
- 10386 0024 1A4B ldr r3, .L817
- 10387 .LVL625:
- 10388 0026 C362 str r3, [r0, #44]
-6256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10389 .loc 1 6256 0
- 10390 0028 0268 ldr r2, [r0]
- 10391 .LVL626:
- 10392 002a 5368 ldr r3, [r2, #4]
- 10393 002c 23F4E063 bic r3, r3, #1792
- 10394 0030 5360 str r3, [r2, #4]
-6259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10395 .loc 1 6259 0
- 10396 0032 0368 ldr r3, [r0]
- 10397 0034 6FF48062 mvn r2, #1024
- 10398 0038 5A61 str r2, [r3, #20]
-6262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10399 .loc 1 6262 0
-ARM GAS /tmp/cc8FAL5N.s page 346
-
-
- 10400 003a 0268 ldr r2, [r0]
- 10401 003c 1368 ldr r3, [r2]
- 10402 003e 23F48063 bic r3, r3, #1024
- 10403 0042 1360 str r3, [r2]
-6264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 10404 .loc 1 6264 0
- 10405 0044 0023 movs r3, #0
- 10406 0046 0363 str r3, [r0, #48]
-6265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 10407 .loc 1 6265 0
- 10408 0048 2022 movs r2, #32
- 10409 004a 80F83D20 strb r2, [r0, #61]
-6266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10410 .loc 1 6266 0
- 10411 004e 80F83E30 strb r3, [r0, #62]
-6272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 10412 .loc 1 6272 0
- 10413 0052 FFF7FEFF bl HAL_I2C_ListenCpltCallback
- 10414 .LVL627:
- 10415 0056 08BD pop {r3, pc}
- 10416 .LVL628:
- 10417 .L816:
-6277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_SLAVE_BUSY_TX;
- 10418 .loc 1 6277 0
- 10419 0058 0D4B ldr r3, .L817
- 10420 .LVL629:
- 10421 005a C362 str r3, [r0, #44]
-6278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 10422 .loc 1 6278 0
- 10423 005c 2123 movs r3, #33
- 10424 005e 0363 str r3, [r0, #48]
-6279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 10425 .loc 1 6279 0
- 10426 0060 2023 movs r3, #32
- 10427 0062 80F83D30 strb r3, [r0, #61]
-6280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10428 .loc 1 6280 0
- 10429 0066 0023 movs r3, #0
- 10430 0068 80F83E30 strb r3, [r0, #62]
-6283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10431 .loc 1 6283 0
- 10432 006c 0268 ldr r2, [r0]
- 10433 .LVL630:
- 10434 006e 5368 ldr r3, [r2, #4]
- 10435 0070 23F4E063 bic r3, r3, #1792
- 10436 0074 5360 str r3, [r2, #4]
-6286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10437 .loc 1 6286 0
- 10438 0076 0368 ldr r3, [r0]
- 10439 0078 6FF48062 mvn r2, #1024
- 10440 007c 5A61 str r2, [r3, #20]
-6289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10441 .loc 1 6289 0
- 10442 007e 0268 ldr r2, [r0]
- 10443 0080 1368 ldr r3, [r2]
- 10444 0082 23F48063 bic r3, r3, #1024
- 10445 0086 1360 str r3, [r2]
-ARM GAS /tmp/cc8FAL5N.s page 347
-
-
-6294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 10446 .loc 1 6294 0
- 10447 0088 FFF7FEFF bl HAL_I2C_SlaveTxCpltCallback
- 10448 .LVL631:
- 10449 008c 08BD pop {r3, pc}
- 10450 .L818:
- 10451 008e 00BF .align 2
- 10452 .L817:
- 10453 0090 0000FFFF .word -65536
- 10454 .cfi_endproc
- 10455 .LFE128:
- 10457 .section .text.HAL_I2C_MemTxCpltCallback,"ax",%progbits
- 10458 .align 1
- 10459 .weak HAL_I2C_MemTxCpltCallback
- 10460 .syntax unified
- 10461 .thumb
- 10462 .thumb_func
- 10463 .fpu softvfp
- 10465 HAL_I2C_MemTxCpltCallback:
- 10466 .LFB107:
-5062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
- 10467 .loc 1 5062 0
- 10468 .cfi_startproc
- 10469 @ args = 0, pretend = 0, frame = 0
- 10470 @ frame_needed = 0, uses_anonymous_args = 0
- 10471 @ link register save eliminated.
- 10472 .LVL632:
- 10473 0000 7047 bx lr
- 10474 .cfi_endproc
- 10475 .LFE107:
- 10477 .section .text.I2C_MemoryTransmit_TXE_BTF,"ax",%progbits
- 10478 .align 1
- 10479 .syntax unified
- 10480 .thumb
- 10481 .thumb_func
- 10482 .fpu softvfp
- 10484 I2C_MemoryTransmit_TXE_BTF:
- 10485 .LFB116:
-5352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variables to prevent undefined behavior of volatile usage */
- 10486 .loc 1 5352 0
- 10487 .cfi_startproc
- 10488 @ args = 0, pretend = 0, frame = 0
- 10489 @ frame_needed = 0, uses_anonymous_args = 0
- 10490 .LVL633:
-5352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variables to prevent undefined behavior of volatile usage */
- 10491 .loc 1 5352 0
- 10492 0000 08B5 push {r3, lr}
- 10493 .LCFI147:
- 10494 .cfi_def_cfa_offset 8
- 10495 .cfi_offset 3, -8
- 10496 .cfi_offset 14, -4
-5354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10497 .loc 1 5354 0
- 10498 0002 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 10499 .LVL634:
-5356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10500 .loc 1 5356 0
-ARM GAS /tmp/cc8FAL5N.s page 348
-
-
- 10501 0006 026D ldr r2, [r0, #80]
- 10502 0008 9AB9 cbnz r2, .L821
-5359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10503 .loc 1 5359 0
- 10504 000a C36C ldr r3, [r0, #76]
- 10505 .LVL635:
- 10506 000c 012B cmp r3, #1
- 10507 000e 08D0 beq .L828
-5370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10508 .loc 1 5370 0
- 10509 0010 0268 ldr r2, [r0]
- 10510 0012 836C ldr r3, [r0, #72]
- 10511 0014 C3F30723 ubfx r3, r3, #8, #8
- 10512 0018 1361 str r3, [r2, #16]
-5372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 10513 .loc 1 5372 0
- 10514 001a 036D ldr r3, [r0, #80]
- 10515 001c 0133 adds r3, r3, #1
- 10516 001e 0365 str r3, [r0, #80]
- 10517 0020 08BD pop {r3, pc}
- 10518 .L828:
-5362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10519 .loc 1 5362 0
- 10520 0022 0268 ldr r2, [r0]
- 10521 0024 836C ldr r3, [r0, #72]
- 10522 0026 DBB2 uxtb r3, r3
- 10523 0028 1361 str r3, [r2, #16]
-5364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 10524 .loc 1 5364 0
- 10525 002a 036D ldr r3, [r0, #80]
- 10526 002c 0233 adds r3, r3, #2
- 10527 002e 0365 str r3, [r0, #80]
- 10528 0030 08BD pop {r3, pc}
- 10529 .LVL636:
- 10530 .L821:
- 10531 0032 DBB2 uxtb r3, r3
-5375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10532 .loc 1 5375 0
- 10533 0034 026D ldr r2, [r0, #80]
- 10534 0036 012A cmp r2, #1
- 10535 0038 03D0 beq .L829
-5382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10536 .loc 1 5382 0
- 10537 003a 026D ldr r2, [r0, #80]
- 10538 003c 022A cmp r2, #2
- 10539 003e 08D0 beq .L830
- 10540 .LVL637:
- 10541 .L820:
- 10542 0040 08BD pop {r3, pc}
- 10543 .LVL638:
- 10544 .L829:
-5378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10545 .loc 1 5378 0
- 10546 0042 0268 ldr r2, [r0]
- 10547 0044 836C ldr r3, [r0, #72]
- 10548 .LVL639:
- 10549 0046 DBB2 uxtb r3, r3
-ARM GAS /tmp/cc8FAL5N.s page 349
-
-
- 10550 0048 1361 str r3, [r2, #16]
-5380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 10551 .loc 1 5380 0
- 10552 004a 036D ldr r3, [r0, #80]
- 10553 004c 0133 adds r3, r3, #1
- 10554 004e 0365 str r3, [r0, #80]
- 10555 0050 08BD pop {r3, pc}
- 10556 .LVL640:
- 10557 .L830:
-5384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10558 .loc 1 5384 0
- 10559 0052 222B cmp r3, #34
- 10560 0054 1ED0 beq .L831
-5389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10561 .loc 1 5389 0
- 10562 0056 428D ldrh r2, [r0, #42]
- 10563 0058 92B2 uxth r2, r2
- 10564 005a 0AB1 cbz r2, .L826
-5389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10565 .loc 1 5389 0 is_stmt 0 discriminator 1
- 10566 005c 212B cmp r3, #33
- 10567 005e 1FD0 beq .L832
- 10568 .L826:
-5400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10569 .loc 1 5400 0 is_stmt 1
- 10570 0060 428D ldrh r2, [r0, #42]
- 10571 0062 92B2 uxth r2, r2
- 10572 0064 002A cmp r2, #0
- 10573 0066 EBD1 bne .L820
-5400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10574 .loc 1 5400 0 is_stmt 0 discriminator 1
- 10575 0068 212B cmp r3, #33
- 10576 006a E9D1 bne .L820
-5404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10577 .loc 1 5404 0 is_stmt 1
- 10578 006c 0268 ldr r2, [r0]
- 10579 006e 5368 ldr r3, [r2, #4]
- 10580 .LVL641:
- 10581 0070 23F4E063 bic r3, r3, #1792
- 10582 0074 5360 str r3, [r2, #4]
-5407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10583 .loc 1 5407 0
- 10584 0076 0268 ldr r2, [r0]
- 10585 0078 1368 ldr r3, [r2]
- 10586 007a 43F40073 orr r3, r3, #512
- 10587 007e 1360 str r3, [r2]
-5409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 10588 .loc 1 5409 0
- 10589 0080 0023 movs r3, #0
- 10590 0082 0363 str r3, [r0, #48]
-5410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 10591 .loc 1 5410 0
- 10592 0084 2022 movs r2, #32
- 10593 0086 80F83D20 strb r2, [r0, #61]
-5411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
- 10594 .loc 1 5411 0
- 10595 008a 80F83E30 strb r3, [r0, #62]
-ARM GAS /tmp/cc8FAL5N.s page 350
-
-
-5415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 10596 .loc 1 5415 0
- 10597 008e FFF7FEFF bl HAL_I2C_MemTxCpltCallback
- 10598 .LVL642:
-5427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10599 .loc 1 5427 0
- 10600 0092 D5E7 b .L820
- 10601 .LVL643:
- 10602 .L831:
-5387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 10603 .loc 1 5387 0
- 10604 0094 0268 ldr r2, [r0]
- 10605 0096 1368 ldr r3, [r2]
- 10606 .LVL644:
- 10607 0098 43F48073 orr r3, r3, #256
- 10608 009c 1360 str r3, [r2]
- 10609 009e 08BD pop {r3, pc}
- 10610 .LVL645:
- 10611 .L832:
-5392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10612 .loc 1 5392 0
- 10613 00a0 0368 ldr r3, [r0]
- 10614 .LVL646:
- 10615 00a2 426A ldr r2, [r0, #36]
- 10616 00a4 1278 ldrb r2, [r2] @ zero_extendqisi2
- 10617 00a6 1A61 str r2, [r3, #16]
-5395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10618 .loc 1 5395 0
- 10619 00a8 436A ldr r3, [r0, #36]
- 10620 00aa 0133 adds r3, r3, #1
- 10621 00ac 4362 str r3, [r0, #36]
-5398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 10622 .loc 1 5398 0
- 10623 00ae 438D ldrh r3, [r0, #42]
- 10624 00b0 9BB2 uxth r3, r3
- 10625 00b2 013B subs r3, r3, #1
- 10626 00b4 9BB2 uxth r3, r3
- 10627 00b6 4385 strh r3, [r0, #42] @ movhi
- 10628 00b8 08BD pop {r3, pc}
- 10629 .cfi_endproc
- 10630 .LFE116:
- 10632 .section .text.I2C_MasterTransmit_TXE,"ax",%progbits
- 10633 .align 1
- 10634 .syntax unified
- 10635 .thumb
- 10636 .thumb_func
- 10637 .fpu softvfp
- 10639 I2C_MasterTransmit_TXE:
- 10640 .LFB114:
-5191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variables to prevent undefined behavior of volatile usage */
- 10641 .loc 1 5191 0
- 10642 .cfi_startproc
- 10643 @ args = 0, pretend = 0, frame = 0
- 10644 @ frame_needed = 0, uses_anonymous_args = 0
- 10645 .LVL647:
- 10646 0000 10B5 push {r4, lr}
- 10647 .LCFI148:
-ARM GAS /tmp/cc8FAL5N.s page 351
-
-
- 10648 .cfi_def_cfa_offset 8
- 10649 .cfi_offset 4, -8
- 10650 .cfi_offset 14, -4
-5193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_ModeTypeDef CurrentMode = hi2c->Mode;
- 10651 .loc 1 5193 0
- 10652 0002 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 10653 0006 DBB2 uxtb r3, r3
- 10654 .LVL648:
-5194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t CurrentXferOptions = hi2c->XferOptions;
- 10655 .loc 1 5194 0
- 10656 0008 90F83E20 ldrb r2, [r0, #62] @ zero_extendqisi2
- 10657 000c D2B2 uxtb r2, r2
- 10658 .LVL649:
-5195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10659 .loc 1 5195 0
- 10660 000e C46A ldr r4, [r0, #44]
- 10661 .LVL650:
-5197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10662 .loc 1 5197 0
- 10663 0010 018D ldrh r1, [r0, #40]
- 10664 0012 09B9 cbnz r1, .L834
-5197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10665 .loc 1 5197 0 is_stmt 0 discriminator 1
- 10666 0014 212B cmp r3, #33
- 10667 0016 04D0 beq .L842
- 10668 .L834:
-5245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ((CurrentMode == HAL_I2C_MODE_MEM) && (CurrentState == HAL_I2C_STATE_BUSY_RX)))
- 10669 .loc 1 5245 0 is_stmt 1
- 10670 0018 212B cmp r3, #33
- 10671 001a 3BD0 beq .L838
-5245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ((CurrentMode == HAL_I2C_MODE_MEM) && (CurrentState == HAL_I2C_STATE_BUSY_RX)))
- 10672 .loc 1 5245 0 is_stmt 0 discriminator 1
- 10673 001c 402A cmp r2, #64
- 10674 001e 37D0 beq .L843
- 10675 .LVL651:
- 10676 .L833:
- 10677 0020 10BD pop {r4, pc}
- 10678 .LVL652:
- 10679 .L842:
-5200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10680 .loc 1 5200 0 is_stmt 1
- 10681 0022 082C cmp r4, #8
- 10682 0024 04D0 beq .L835
-5200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10683 .loc 1 5200 0 is_stmt 0 discriminator 1
- 10684 0026 202C cmp r4, #32
- 10685 0028 02D0 beq .L835
-5200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10686 .loc 1 5200 0 discriminator 2
- 10687 002a 14F5803F cmn r4, #65536
- 10688 002e 19D1 bne .L844
- 10689 .L835:
-5217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10690 .loc 1 5217 0 is_stmt 1
- 10691 0030 0268 ldr r2, [r0]
- 10692 .LVL653:
- 10693 0032 5368 ldr r3, [r2, #4]
-ARM GAS /tmp/cc8FAL5N.s page 352
-
-
- 10694 .LVL654:
- 10695 0034 23F4E063 bic r3, r3, #1792
- 10696 0038 5360 str r3, [r2, #4]
-5220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10697 .loc 1 5220 0
- 10698 003a 0268 ldr r2, [r0]
- 10699 003c 1368 ldr r3, [r2]
- 10700 003e 43F40073 orr r3, r3, #512
- 10701 0042 1360 str r3, [r2]
-5222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 10702 .loc 1 5222 0
- 10703 0044 0023 movs r3, #0
- 10704 0046 0363 str r3, [r0, #48]
-5223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10705 .loc 1 5223 0
- 10706 0048 2023 movs r3, #32
- 10707 004a 80F83D30 strb r3, [r0, #61]
-5225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10708 .loc 1 5225 0
- 10709 004e 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2
- 10710 0052 DBB2 uxtb r3, r3
- 10711 0054 402B cmp r3, #64
- 10712 0056 15D0 beq .L845
-5236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
- 10713 .loc 1 5236 0
- 10714 0058 0023 movs r3, #0
- 10715 005a 80F83E30 strb r3, [r0, #62]
-5240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 10716 .loc 1 5240 0
- 10717 005e FFF7FEFF bl HAL_I2C_MasterTxCpltCallback
- 10718 .LVL655:
- 10719 0062 10BD pop {r4, pc}
- 10720 .LVL656:
- 10721 .L844:
-5202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10722 .loc 1 5202 0
- 10723 0064 0268 ldr r2, [r0]
- 10724 .LVL657:
- 10725 0066 5368 ldr r3, [r2, #4]
- 10726 .LVL658:
- 10727 0068 23F4E063 bic r3, r3, #1792
- 10728 006c 5360 str r3, [r2, #4]
-5204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 10729 .loc 1 5204 0
- 10730 006e 1123 movs r3, #17
- 10731 0070 0363 str r3, [r0, #48]
-5205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 10732 .loc 1 5205 0
- 10733 0072 0023 movs r3, #0
- 10734 0074 80F83E30 strb r3, [r0, #62]
-5206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10735 .loc 1 5206 0
- 10736 0078 2023 movs r3, #32
- 10737 007a 80F83D30 strb r3, [r0, #61]
-5211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 10738 .loc 1 5211 0
- 10739 007e FFF7FEFF bl HAL_I2C_MasterTxCpltCallback
-ARM GAS /tmp/cc8FAL5N.s page 353
-
-
- 10740 .LVL659:
- 10741 0082 10BD pop {r4, pc}
- 10742 .LVL660:
- 10743 .L845:
-5227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
- 10744 .loc 1 5227 0
- 10745 0084 0023 movs r3, #0
- 10746 0086 80F83E30 strb r3, [r0, #62]
-5231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 10747 .loc 1 5231 0
- 10748 008a FFF7FEFF bl HAL_I2C_MemTxCpltCallback
- 10749 .LVL661:
- 10750 008e 10BD pop {r4, pc}
- 10751 .LVL662:
- 10752 .L843:
-5246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10753 .loc 1 5246 0
- 10754 0090 222B cmp r3, #34
- 10755 0092 C5D1 bne .L833
- 10756 .L838:
-5248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10757 .loc 1 5248 0
- 10758 0094 438D ldrh r3, [r0, #42]
- 10759 .LVL663:
- 10760 0096 9BB2 uxth r3, r3
- 10761 0098 8BB1 cbz r3, .L846
-5255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10762 .loc 1 5255 0
- 10763 009a 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2
- 10764 009e DBB2 uxtb r3, r3
- 10765 00a0 402B cmp r3, #64
- 10766 00a2 12D0 beq .L847
-5262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10767 .loc 1 5262 0
- 10768 00a4 0368 ldr r3, [r0]
- 10769 00a6 426A ldr r2, [r0, #36]
- 10770 .LVL664:
- 10771 00a8 1278 ldrb r2, [r2] @ zero_extendqisi2
- 10772 00aa 1A61 str r2, [r3, #16]
-5265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10773 .loc 1 5265 0
- 10774 00ac 436A ldr r3, [r0, #36]
- 10775 00ae 0133 adds r3, r3, #1
- 10776 00b0 4362 str r3, [r0, #36]
-5268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 10777 .loc 1 5268 0
- 10778 00b2 438D ldrh r3, [r0, #42]
- 10779 00b4 9BB2 uxth r3, r3
- 10780 00b6 013B subs r3, r3, #1
- 10781 00b8 9BB2 uxth r3, r3
- 10782 00ba 4385 strh r3, [r0, #42] @ movhi
-5276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10783 .loc 1 5276 0
- 10784 00bc B0E7 b .L833
- 10785 .LVL665:
- 10786 .L846:
-5251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
-ARM GAS /tmp/cc8FAL5N.s page 354
-
-
- 10787 .loc 1 5251 0
- 10788 00be 0268 ldr r2, [r0]
- 10789 .LVL666:
- 10790 00c0 5368 ldr r3, [r2, #4]
- 10791 00c2 23F48063 bic r3, r3, #1024
- 10792 00c6 5360 str r3, [r2, #4]
- 10793 00c8 10BD pop {r4, pc}
- 10794 .LVL667:
- 10795 .L847:
-5257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 10796 .loc 1 5257 0
- 10797 00ca FFF7FEFF bl I2C_MemoryTransmit_TXE_BTF
- 10798 .LVL668:
- 10799 00ce 10BD pop {r4, pc}
- 10800 .cfi_endproc
- 10801 .LFE114:
- 10803 .section .text.HAL_I2C_MemRxCpltCallback,"ax",%progbits
- 10804 .align 1
- 10805 .weak HAL_I2C_MemRxCpltCallback
- 10806 .syntax unified
- 10807 .thumb
- 10808 .thumb_func
- 10809 .fpu softvfp
- 10811 HAL_I2C_MemRxCpltCallback:
- 10812 .LFB108:
-5078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
- 10813 .loc 1 5078 0
- 10814 .cfi_startproc
- 10815 @ args = 0, pretend = 0, frame = 0
- 10816 @ frame_needed = 0, uses_anonymous_args = 0
- 10817 @ link register save eliminated.
- 10818 .LVL669:
- 10819 0000 7047 bx lr
- 10820 .cfi_endproc
- 10821 .LFE108:
- 10823 .section .text.I2C_MasterReceive_BTF,"ax",%progbits
- 10824 .align 1
- 10825 .syntax unified
- 10826 .thumb
- 10827 .thumb_func
- 10828 .fpu softvfp
- 10830 I2C_MasterReceive_BTF:
- 10831 .LFB118:
-5544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variables to prevent undefined behavior of volatile usage */
- 10832 .loc 1 5544 0
- 10833 .cfi_startproc
- 10834 @ args = 0, pretend = 0, frame = 0
- 10835 @ frame_needed = 0, uses_anonymous_args = 0
- 10836 .LVL670:
-5544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variables to prevent undefined behavior of volatile usage */
- 10837 .loc 1 5544 0
- 10838 0000 08B5 push {r3, lr}
- 10839 .LCFI149:
- 10840 .cfi_def_cfa_offset 8
- 10841 .cfi_offset 3, -8
- 10842 .cfi_offset 14, -4
-5546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 355
-
-
- 10843 .loc 1 5546 0
- 10844 0002 C26A ldr r2, [r0, #44]
- 10845 .LVL671:
-5548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10846 .loc 1 5548 0
- 10847 0004 438D ldrh r3, [r0, #42]
- 10848 0006 9BB2 uxth r3, r3
- 10849 0008 042B cmp r3, #4
- 10850 000a 14D0 beq .L862
-5563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10851 .loc 1 5563 0
- 10852 000c 438D ldrh r3, [r0, #42]
- 10853 000e 9BB2 uxth r3, r3
- 10854 0010 032B cmp r3, #3
- 10855 0012 22D0 beq .L863
-5584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10856 .loc 1 5584 0
- 10857 0014 438D ldrh r3, [r0, #42]
- 10858 0016 9BB2 uxth r3, r3
- 10859 0018 022B cmp r3, #2
- 10860 001a 39D0 beq .L864
-5653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10861 .loc 1 5653 0
- 10862 001c 436A ldr r3, [r0, #36]
- 10863 001e 0268 ldr r2, [r0]
- 10864 .LVL672:
- 10865 0020 1269 ldr r2, [r2, #16]
- 10866 0022 1A70 strb r2, [r3]
-5656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10867 .loc 1 5656 0
- 10868 0024 436A ldr r3, [r0, #36]
- 10869 0026 0133 adds r3, r3, #1
- 10870 0028 4362 str r3, [r0, #36]
-5659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 10871 .loc 1 5659 0
- 10872 002a 438D ldrh r3, [r0, #42]
- 10873 002c 9BB2 uxth r3, r3
- 10874 002e 013B subs r3, r3, #1
- 10875 0030 9BB2 uxth r3, r3
- 10876 0032 4385 strh r3, [r0, #42] @ movhi
- 10877 0034 08BD pop {r3, pc}
- 10878 .LVL673:
- 10879 .L862:
-5552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10880 .loc 1 5552 0
- 10881 0036 0268 ldr r2, [r0]
- 10882 .LVL674:
- 10883 0038 5368 ldr r3, [r2, #4]
- 10884 003a 23F48063 bic r3, r3, #1024
- 10885 003e 5360 str r3, [r2, #4]
-5555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10886 .loc 1 5555 0
- 10887 0040 436A ldr r3, [r0, #36]
- 10888 0042 0268 ldr r2, [r0]
- 10889 0044 1269 ldr r2, [r2, #16]
- 10890 0046 1A70 strb r2, [r3]
-5558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
-ARM GAS /tmp/cc8FAL5N.s page 356
-
-
- 10891 .loc 1 5558 0
- 10892 0048 436A ldr r3, [r0, #36]
- 10893 004a 0133 adds r3, r3, #1
- 10894 004c 4362 str r3, [r0, #36]
-5561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 10895 .loc 1 5561 0
- 10896 004e 438D ldrh r3, [r0, #42]
- 10897 0050 9BB2 uxth r3, r3
- 10898 0052 013B subs r3, r3, #1
- 10899 0054 9BB2 uxth r3, r3
- 10900 0056 4385 strh r3, [r0, #42] @ movhi
- 10901 0058 08BD pop {r3, pc}
- 10902 .LVL675:
- 10903 .L863:
-5567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10904 .loc 1 5567 0
- 10905 005a 0168 ldr r1, [r0]
- 10906 005c 4B68 ldr r3, [r1, #4]
- 10907 005e 23F48063 bic r3, r3, #1024
- 10908 0062 4B60 str r3, [r1, #4]
-5569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10909 .loc 1 5569 0
- 10910 0064 042A cmp r2, #4
- 10911 0066 06D0 beq .L853
-5569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10912 .loc 1 5569 0 is_stmt 0 discriminator 1
- 10913 0068 022A cmp r2, #2
- 10914 006a 04D0 beq .L853
-5572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 10915 .loc 1 5572 0 is_stmt 1
- 10916 006c 0268 ldr r2, [r0]
- 10917 .LVL676:
- 10918 006e 1368 ldr r3, [r2]
- 10919 0070 23F48063 bic r3, r3, #1024
- 10920 0074 1360 str r3, [r2]
- 10921 .L853:
-5576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10922 .loc 1 5576 0
- 10923 0076 436A ldr r3, [r0, #36]
- 10924 0078 0268 ldr r2, [r0]
- 10925 007a 1269 ldr r2, [r2, #16]
- 10926 007c 1A70 strb r2, [r3]
-5579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10927 .loc 1 5579 0
- 10928 007e 436A ldr r3, [r0, #36]
- 10929 0080 0133 adds r3, r3, #1
- 10930 0082 4362 str r3, [r0, #36]
-5582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 10931 .loc 1 5582 0
- 10932 0084 438D ldrh r3, [r0, #42]
- 10933 0086 9BB2 uxth r3, r3
- 10934 0088 013B subs r3, r3, #1
- 10935 008a 9BB2 uxth r3, r3
- 10936 008c 4385 strh r3, [r0, #42] @ movhi
- 10937 008e 08BD pop {r3, pc}
- 10938 .LVL677:
- 10939 .L864:
-ARM GAS /tmp/cc8FAL5N.s page 357
-
-
-5587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10940 .loc 1 5587 0
- 10941 0090 012A cmp r2, #1
- 10942 0092 0BD0 beq .L855
-5587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10943 .loc 1 5587 0 is_stmt 0 discriminator 1
- 10944 0094 102A cmp r2, #16
- 10945 0096 09D0 beq .L855
-5592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10946 .loc 1 5592 0 is_stmt 1
- 10947 0098 042A cmp r2, #4
- 10948 009a 38D0 beq .L858
-5592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 10949 .loc 1 5592 0 is_stmt 0 discriminator 1
- 10950 009c 022A cmp r2, #2
- 10951 009e 36D0 beq .L858
-5600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 10952 .loc 1 5600 0 is_stmt 1
- 10953 00a0 0268 ldr r2, [r0]
- 10954 .LVL678:
- 10955 00a2 1368 ldr r3, [r2]
- 10956 00a4 43F40073 orr r3, r3, #512
- 10957 00a8 1360 str r3, [r2]
- 10958 00aa 04E0 b .L857
- 10959 .LVL679:
- 10960 .L855:
-5590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 10961 .loc 1 5590 0
- 10962 00ac 0268 ldr r2, [r0]
- 10963 .LVL680:
- 10964 00ae 1368 ldr r3, [r2]
- 10965 00b0 23F48063 bic r3, r3, #1024
- 10966 00b4 1360 str r3, [r2]
- 10967 .L857:
-5608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10968 .loc 1 5608 0
- 10969 00b6 436A ldr r3, [r0, #36]
- 10970 00b8 0268 ldr r2, [r0]
- 10971 00ba 1269 ldr r2, [r2, #16]
- 10972 00bc 1A70 strb r2, [r3]
-5611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10973 .loc 1 5611 0
- 10974 00be 426A ldr r2, [r0, #36]
- 10975 00c0 531C adds r3, r2, #1
- 10976 00c2 4362 str r3, [r0, #36]
-5614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10977 .loc 1 5614 0
- 10978 00c4 438D ldrh r3, [r0, #42]
- 10979 00c6 9BB2 uxth r3, r3
- 10980 00c8 013B subs r3, r3, #1
- 10981 00ca 9BB2 uxth r3, r3
- 10982 00cc 4385 strh r3, [r0, #42] @ movhi
-5617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10983 .loc 1 5617 0
- 10984 00ce 0368 ldr r3, [r0]
- 10985 00d0 1B69 ldr r3, [r3, #16]
- 10986 00d2 5370 strb r3, [r2, #1]
-ARM GAS /tmp/cc8FAL5N.s page 358
-
-
-5620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10987 .loc 1 5620 0
- 10988 00d4 436A ldr r3, [r0, #36]
- 10989 00d6 0133 adds r3, r3, #1
- 10990 00d8 4362 str r3, [r0, #36]
-5623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10991 .loc 1 5623 0
- 10992 00da 438D ldrh r3, [r0, #42]
- 10993 00dc 9BB2 uxth r3, r3
- 10994 00de 013B subs r3, r3, #1
- 10995 00e0 9BB2 uxth r3, r3
- 10996 00e2 4385 strh r3, [r0, #42] @ movhi
-5626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 10997 .loc 1 5626 0
- 10998 00e4 0268 ldr r2, [r0]
- 10999 00e6 5368 ldr r3, [r2, #4]
- 11000 00e8 23F44073 bic r3, r3, #768
- 11001 00ec 5360 str r3, [r2, #4]
-5628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->Mode == HAL_I2C_MODE_MEM)
- 11002 .loc 1 5628 0
- 11003 00ee 2023 movs r3, #32
- 11004 00f0 80F83D30 strb r3, [r0, #61]
-5629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11005 .loc 1 5629 0
- 11006 00f4 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2
- 11007 00f8 DBB2 uxtb r3, r3
- 11008 00fa 402B cmp r3, #64
- 11009 00fc 0DD0 beq .L865
-5641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_MASTER_BUSY_RX;
- 11010 .loc 1 5641 0
- 11011 00fe 0023 movs r3, #0
- 11012 0100 80F83E30 strb r3, [r0, #62]
-5642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
- 11013 .loc 1 5642 0
- 11014 0104 1223 movs r3, #18
- 11015 0106 0363 str r3, [r0, #48]
-5646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 11016 .loc 1 5646 0
- 11017 0108 FFF7FEFF bl HAL_I2C_MasterRxCpltCallback
- 11018 .LVL681:
- 11019 010c 08BD pop {r3, pc}
- 11020 .LVL682:
- 11021 .L858:
-5595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11022 .loc 1 5595 0
- 11023 010e 0268 ldr r2, [r0]
- 11024 .LVL683:
- 11025 0110 1368 ldr r3, [r2]
- 11026 0112 43F48063 orr r3, r3, #1024
- 11027 0116 1360 str r3, [r2]
- 11028 0118 CDE7 b .L857
- 11029 .L865:
-5631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
- 11030 .loc 1 5631 0
- 11031 011a 0023 movs r3, #0
- 11032 011c 80F83E30 strb r3, [r0, #62]
-5632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #if (USE_HAL_I2C_REGISTER_CALLBACKS == 1)
-ARM GAS /tmp/cc8FAL5N.s page 359
-
-
- 11033 .loc 1 5632 0
- 11034 0120 0363 str r3, [r0, #48]
-5636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 11035 .loc 1 5636 0
- 11036 0122 FFF7FEFF bl HAL_I2C_MemRxCpltCallback
- 11037 .LVL684:
- 11038 0126 08BD pop {r3, pc}
- 11039 .cfi_endproc
- 11040 .LFE118:
- 11042 .section .text.HAL_I2C_ErrorCallback,"ax",%progbits
- 11043 .align 1
- 11044 .weak HAL_I2C_ErrorCallback
- 11045 .syntax unified
- 11046 .thumb
- 11047 .thumb_func
- 11048 .fpu softvfp
- 11050 HAL_I2C_ErrorCallback:
- 11051 .LFB109:
-5094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
- 11052 .loc 1 5094 0
- 11053 .cfi_startproc
- 11054 @ args = 0, pretend = 0, frame = 0
- 11055 @ frame_needed = 0, uses_anonymous_args = 0
- 11056 @ link register save eliminated.
- 11057 .LVL685:
- 11058 0000 7047 bx lr
- 11059 .cfi_endproc
- 11060 .LFE109:
- 11062 .section .text.I2C_DMAError,"ax",%progbits
- 11063 .align 1
- 11064 .syntax unified
- 11065 .thumb
- 11066 .thumb_func
- 11067 .fpu softvfp
- 11069 I2C_DMAError:
- 11070 .LFB135:
-6974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_HandleTypeDef *hi2c = (I2C_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; /* Derogation
- 11071 .loc 1 6974 0
- 11072 .cfi_startproc
- 11073 @ args = 0, pretend = 0, frame = 0
- 11074 @ frame_needed = 0, uses_anonymous_args = 0
- 11075 .LVL686:
-6974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_HandleTypeDef *hi2c = (I2C_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; /* Derogation
- 11076 .loc 1 6974 0
- 11077 0000 08B5 push {r3, lr}
- 11078 .LCFI150:
- 11079 .cfi_def_cfa_offset 8
- 11080 .cfi_offset 3, -8
- 11081 .cfi_offset 14, -4
-6975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11082 .loc 1 6975 0
- 11083 0002 406A ldr r0, [r0, #36]
- 11084 .LVL687:
-6978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11085 .loc 1 6978 0
- 11086 0004 436B ldr r3, [r0, #52]
- 11087 0006 0BB1 cbz r3, .L868
-ARM GAS /tmp/cc8FAL5N.s page 360
-
-
-6980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11088 .loc 1 6980 0
- 11089 0008 0022 movs r2, #0
- 11090 000a 9A62 str r2, [r3, #40]
- 11091 .L868:
-6982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11092 .loc 1 6982 0
- 11093 000c 836B ldr r3, [r0, #56]
- 11094 000e 0BB1 cbz r3, .L869
-6984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11095 .loc 1 6984 0
- 11096 0010 0022 movs r2, #0
- 11097 0012 9A62 str r2, [r3, #40]
- 11098 .L869:
-6988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11099 .loc 1 6988 0
- 11100 0014 0268 ldr r2, [r0]
- 11101 0016 1368 ldr r3, [r2]
- 11102 0018 23F48063 bic r3, r3, #1024
- 11103 001c 1360 str r3, [r2]
-6990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 11104 .loc 1 6990 0
- 11105 001e 0023 movs r3, #0
- 11106 0020 4385 strh r3, [r0, #42] @ movhi
-6991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 11107 .loc 1 6991 0
- 11108 0022 2022 movs r2, #32
- 11109 0024 80F83D20 strb r2, [r0, #61]
-6992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode |= HAL_I2C_ERROR_DMA;
- 11110 .loc 1 6992 0
- 11111 0028 80F83E30 strb r3, [r0, #62]
-6993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11112 .loc 1 6993 0
- 11113 002c 036C ldr r3, [r0, #64]
- 11114 002e 43F01003 orr r3, r3, #16
- 11115 0032 0364 str r3, [r0, #64]
-6998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 11116 .loc 1 6998 0
- 11117 0034 FFF7FEFF bl HAL_I2C_ErrorCallback
- 11118 .LVL688:
- 11119 0038 08BD pop {r3, pc}
- 11120 .cfi_endproc
- 11121 .LFE135:
- 11123 .section .text.I2C_DMAXferCplt,"ax",%progbits
- 11124 .align 1
- 11125 .syntax unified
- 11126 .thumb
- 11127 .thumb_func
- 11128 .fpu softvfp
- 11130 I2C_DMAXferCplt:
- 11131 .LFB134:
-6836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_HandleTypeDef *hi2c = (I2C_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; /* Derogation
- 11132 .loc 1 6836 0
- 11133 .cfi_startproc
- 11134 @ args = 0, pretend = 0, frame = 0
- 11135 @ frame_needed = 0, uses_anonymous_args = 0
- 11136 .LVL689:
-ARM GAS /tmp/cc8FAL5N.s page 361
-
-
- 11137 0000 38B5 push {r3, r4, r5, lr}
- 11138 .LCFI151:
- 11139 .cfi_def_cfa_offset 16
- 11140 .cfi_offset 3, -16
- 11141 .cfi_offset 4, -12
- 11142 .cfi_offset 5, -8
- 11143 .cfi_offset 14, -4
-6837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11144 .loc 1 6837 0
- 11145 0002 446A ldr r4, [r0, #36]
- 11146 .LVL690:
-6840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_ModeTypeDef CurrentMode = hi2c->Mode;
- 11147 .loc 1 6840 0
- 11148 0004 94F83D30 ldrb r3, [r4, #61] @ zero_extendqisi2
- 11149 0008 DBB2 uxtb r3, r3
- 11150 .LVL691:
-6841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t CurrentXferOptions = hi2c->XferOptions;
- 11151 .loc 1 6841 0
- 11152 000a 94F83E20 ldrb r2, [r4, #62] @ zero_extendqisi2
- 11153 000e D1B2 uxtb r1, r2
- 11154 .LVL692:
-6842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11155 .loc 1 6842 0
- 11156 0010 E56A ldr r5, [r4, #44]
- 11157 .LVL693:
-6845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11158 .loc 1 6845 0
- 11159 0012 2068 ldr r0, [r4]
- 11160 .LVL694:
- 11161 0014 4268 ldr r2, [r0, #4]
- 11162 0016 22F44072 bic r2, r2, #768
- 11163 001a 4260 str r2, [r0, #4]
-6848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11164 .loc 1 6848 0
- 11165 001c 626B ldr r2, [r4, #52]
- 11166 001e 0AB1 cbz r2, .L872
-6850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11167 .loc 1 6850 0
- 11168 0020 0020 movs r0, #0
- 11169 0022 9062 str r0, [r2, #40]
- 11170 .L872:
-6852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11171 .loc 1 6852 0
- 11172 0024 A26B ldr r2, [r4, #56]
- 11173 0026 0AB1 cbz r2, .L873
-6854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11174 .loc 1 6854 0
- 11175 0028 0020 movs r0, #0
- 11176 002a 9062 str r0, [r2, #40]
- 11177 .L873:
-6857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11178 .loc 1 6857 0
- 11179 002c 03F02102 and r2, r3, #33
- 11180 0030 212A cmp r2, #33
- 11181 0032 41D0 beq .L874
-6857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11182 .loc 1 6857 0 is_stmt 0 discriminator 1
-ARM GAS /tmp/cc8FAL5N.s page 362
-
-
- 11183 0034 03F02202 and r2, r3, #34
- 11184 0038 222A cmp r2, #34
- 11185 003a 3BD0 beq .L885
- 11186 .L875:
-6899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11187 .loc 1 6899 0 is_stmt 1
- 11188 003c 94F83E30 ldrb r3, [r4, #62] @ zero_extendqisi2
- 11189 .LVL695:
- 11190 0040 002B cmp r3, #0
- 11191 0042 36D0 beq .L871
-6901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11192 .loc 1 6901 0
- 11193 0044 638D ldrh r3, [r4, #42]
- 11194 0046 9BB2 uxth r3, r3
- 11195 0048 012B cmp r3, #1
- 11196 004a 58D0 beq .L886
- 11197 .L879:
-6908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11198 .loc 1 6908 0
- 11199 004c 2268 ldr r2, [r4]
- 11200 004e 5368 ldr r3, [r2, #4]
- 11201 0050 23F44073 bic r3, r3, #768
- 11202 0054 5360 str r3, [r2, #4]
-6911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11203 .loc 1 6911 0
- 11204 0056 15F5803F cmn r5, #65536
- 11205 005a 06D0 beq .L880
-6911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11206 .loc 1 6911 0 is_stmt 0 discriminator 1
- 11207 005c 082D cmp r5, #8
- 11208 005e 04D0 beq .L880
-6911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11209 .loc 1 6911 0 discriminator 2
- 11210 0060 B5F12A4F cmp r5, #-1442840576
- 11211 0064 01D0 beq .L880
-6911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11212 .loc 1 6911 0 discriminator 3
- 11213 0066 202D cmp r5, #32
- 11214 0068 04D1 bne .L881
- 11215 .L880:
-6914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11216 .loc 1 6914 0 is_stmt 1
- 11217 006a 2268 ldr r2, [r4]
- 11218 006c 1368 ldr r3, [r2]
- 11219 006e 43F40073 orr r3, r3, #512
- 11220 0072 1360 str r3, [r2]
- 11221 .L881:
-6918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11222 .loc 1 6918 0
- 11223 0074 2268 ldr r2, [r4]
- 11224 0076 5368 ldr r3, [r2, #4]
- 11225 0078 23F48053 bic r3, r3, #4096
- 11226 007c 5360 str r3, [r2, #4]
-6921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11227 .loc 1 6921 0
- 11228 007e 2268 ldr r2, [r4]
- 11229 0080 5368 ldr r3, [r2, #4]
-ARM GAS /tmp/cc8FAL5N.s page 363
-
-
- 11230 0082 23F40063 bic r3, r3, #2048
- 11231 0086 5360 str r3, [r2, #4]
-6923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11232 .loc 1 6923 0
- 11233 0088 0023 movs r3, #0
- 11234 008a 6385 strh r3, [r4, #42] @ movhi
-6926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11235 .loc 1 6926 0
- 11236 008c 236C ldr r3, [r4, #64]
- 11237 008e 002B cmp r3, #0
- 11238 0090 3BD1 bne .L887
-6936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11239 .loc 1 6936 0
- 11240 0092 2023 movs r3, #32
- 11241 0094 84F83D30 strb r3, [r4, #61]
-6938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11242 .loc 1 6938 0
- 11243 0098 94F83E30 ldrb r3, [r4, #62] @ zero_extendqisi2
- 11244 009c DBB2 uxtb r3, r3
- 11245 009e 402B cmp r3, #64
- 11246 00a0 37D0 beq .L888
-6951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_MASTER_BUSY_RX;
- 11247 .loc 1 6951 0
- 11248 00a2 0023 movs r3, #0
- 11249 00a4 84F83E30 strb r3, [r4, #62]
-6952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11250 .loc 1 6952 0
- 11251 00a8 1223 movs r3, #18
- 11252 00aa 2363 str r3, [r4, #48]
-6957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 11253 .loc 1 6957 0
- 11254 00ac 2046 mov r0, r4
- 11255 00ae FFF7FEFF bl HAL_I2C_MasterRxCpltCallback
- 11256 .LVL696:
- 11257 .L871:
- 11258 00b2 38BD pop {r3, r4, r5, pc}
- 11259 .LVL697:
- 11260 .L885:
-6857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11261 .loc 1 6857 0 discriminator 2
- 11262 00b4 2029 cmp r1, #32
- 11263 00b6 C1D1 bne .L875
- 11264 .L874:
-6860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11265 .loc 1 6860 0
- 11266 00b8 2168 ldr r1, [r4]
- 11267 .LVL698:
- 11268 00ba 4A68 ldr r2, [r1, #4]
- 11269 00bc 22F40062 bic r2, r2, #2048
- 11270 00c0 4A60 str r2, [r1, #4]
-6862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11271 .loc 1 6862 0
- 11272 00c2 0022 movs r2, #0
- 11273 00c4 6285 strh r2, [r4, #42] @ movhi
-6864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11274 .loc 1 6864 0
- 11275 00c6 292B cmp r3, #41
-ARM GAS /tmp/cc8FAL5N.s page 364
-
-
- 11276 00c8 07D0 beq .L889
-6877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11277 .loc 1 6877 0
- 11278 00ca 2A2B cmp r3, #42
- 11279 00cc 0ED0 beq .L890
- 11280 .LVL699:
- 11281 .L877:
-6896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11282 .loc 1 6896 0
- 11283 00ce 2268 ldr r2, [r4]
- 11284 00d0 5368 ldr r3, [r2, #4]
- 11285 00d2 43F44073 orr r3, r3, #768
- 11286 00d6 5360 str r3, [r2, #4]
- 11287 00d8 38BD pop {r3, r4, r5, pc}
- 11288 .LVL700:
- 11289 .L889:
-6867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_LISTEN;
- 11290 .loc 1 6867 0
- 11291 00da 2123 movs r3, #33
- 11292 .LVL701:
- 11293 00dc 2363 str r3, [r4, #48]
-6868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11294 .loc 1 6868 0
- 11295 00de 2823 movs r3, #40
- 11296 00e0 84F83D30 strb r3, [r4, #61]
-6874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 11297 .loc 1 6874 0
- 11298 00e4 2046 mov r0, r4
- 11299 00e6 FFF7FEFF bl HAL_I2C_SlaveTxCpltCallback
- 11300 .LVL702:
- 11301 00ea F0E7 b .L877
- 11302 .LVL703:
- 11303 .L890:
-6880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_LISTEN;
- 11304 .loc 1 6880 0
- 11305 00ec 2223 movs r3, #34
- 11306 .LVL704:
- 11307 00ee 2363 str r3, [r4, #48]
-6881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11308 .loc 1 6881 0
- 11309 00f0 2823 movs r3, #40
- 11310 00f2 84F83D30 strb r3, [r4, #61]
-6887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 11311 .loc 1 6887 0
- 11312 00f6 2046 mov r0, r4
- 11313 00f8 FFF7FEFF bl HAL_I2C_SlaveRxCpltCallback
- 11314 .LVL705:
- 11315 00fc E7E7 b .L877
- 11316 .LVL706:
- 11317 .L886:
-6904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11318 .loc 1 6904 0
- 11319 00fe 2268 ldr r2, [r4]
- 11320 0100 1368 ldr r3, [r2]
- 11321 0102 23F48063 bic r3, r3, #1024
- 11322 0106 1360 str r3, [r2]
- 11323 0108 A0E7 b .L879
-ARM GAS /tmp/cc8FAL5N.s page 365
-
-
- 11324 .L887:
-6931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 11325 .loc 1 6931 0
- 11326 010a 2046 mov r0, r4
- 11327 010c FFF7FEFF bl HAL_I2C_ErrorCallback
- 11328 .LVL707:
- 11329 0110 38BD pop {r3, r4, r5, pc}
- 11330 .LVL708:
- 11331 .L888:
-6940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
- 11332 .loc 1 6940 0
- 11333 0112 0023 movs r3, #0
- 11334 0114 84F83E30 strb r3, [r4, #62]
-6941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11335 .loc 1 6941 0
- 11336 0118 2363 str r3, [r4, #48]
-6946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 11337 .loc 1 6946 0
- 11338 011a 2046 mov r0, r4
- 11339 011c FFF7FEFF bl HAL_I2C_MemRxCpltCallback
- 11340 .LVL709:
- 11341 0120 38BD pop {r3, r4, r5, pc}
- 11342 .cfi_endproc
- 11343 .LFE134:
- 11345 .section .text.I2C_MasterReceive_RXNE,"ax",%progbits
- 11346 .align 1
- 11347 .syntax unified
- 11348 .thumb
- 11349 .thumb_func
- 11350 .fpu softvfp
- 11352 I2C_MasterReceive_RXNE:
- 11353 .LFB117:
-5436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_BUSY_RX)
- 11354 .loc 1 5436 0
- 11355 .cfi_startproc
- 11356 @ args = 0, pretend = 0, frame = 0
- 11357 @ frame_needed = 0, uses_anonymous_args = 0
- 11358 .LVL710:
-5437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11359 .loc 1 5437 0
- 11360 0000 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 11361 0004 DBB2 uxtb r3, r3
- 11362 0006 222B cmp r3, #34
- 11363 0008 00D0 beq .L900
- 11364 .L897:
- 11365 000a 7047 bx lr
- 11366 .L900:
- 11367 .LBB117:
-5441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (tmp > 3U)
- 11368 .loc 1 5441 0
- 11369 000c 438D ldrh r3, [r0, #42]
- 11370 000e 9BB2 uxth r3, r3
- 11371 .LVL711:
-5442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11372 .loc 1 5442 0
- 11373 0010 032B cmp r3, #3
- 11374 0012 15D9 bls .L893
-ARM GAS /tmp/cc8FAL5N.s page 366
-
-
-5445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11375 .loc 1 5445 0
- 11376 0014 436A ldr r3, [r0, #36]
- 11377 .LVL712:
- 11378 0016 0268 ldr r2, [r0]
- 11379 0018 1269 ldr r2, [r2, #16]
- 11380 001a 1A70 strb r2, [r3]
-5448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11381 .loc 1 5448 0
- 11382 001c 436A ldr r3, [r0, #36]
- 11383 001e 0133 adds r3, r3, #1
- 11384 0020 4362 str r3, [r0, #36]
-5451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11385 .loc 1 5451 0
- 11386 0022 438D ldrh r3, [r0, #42]
- 11387 0024 9BB2 uxth r3, r3
- 11388 0026 013B subs r3, r3, #1
- 11389 0028 9BB2 uxth r3, r3
- 11390 002a 4385 strh r3, [r0, #42] @ movhi
-5453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11391 .loc 1 5453 0
- 11392 002c 438D ldrh r3, [r0, #42]
- 11393 002e 9BB2 uxth r3, r3
- 11394 0030 032B cmp r3, #3
- 11395 0032 EAD1 bne .L897
-5458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11396 .loc 1 5458 0
- 11397 0034 0268 ldr r2, [r0]
- 11398 0036 5368 ldr r3, [r2, #4]
- 11399 0038 23F48063 bic r3, r3, #1024
- 11400 003c 5360 str r3, [r2, #4]
- 11401 003e 7047 bx lr
- 11402 .LVL713:
- 11403 .L893:
-5461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11404 .loc 1 5461 0
- 11405 0040 C26A ldr r2, [r0, #44]
- 11406 0042 022A cmp r2, #2
- 11407 0044 E1D0 beq .L897
-5461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11408 .loc 1 5461 0 is_stmt 0 discriminator 1
- 11409 0046 012B cmp r3, #1
- 11410 0048 DFD8 bhi .L897
- 11411 .LBE117:
-5436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (hi2c->State == HAL_I2C_STATE_BUSY_RX)
- 11412 .loc 1 5436 0 is_stmt 1
- 11413 004a 10B5 push {r4, lr}
- 11414 .LCFI152:
- 11415 .cfi_def_cfa_offset 8
- 11416 .cfi_offset 4, -8
- 11417 .cfi_offset 14, -4
- 11418 004c 0446 mov r4, r0
- 11419 .LBB118:
-5463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11420 .loc 1 5463 0
- 11421 004e FFF7FEFF bl I2C_WaitOnSTOPRequestThroughIT
- 11422 .LVL714:
-ARM GAS /tmp/cc8FAL5N.s page 367
-
-
- 11423 0052 0028 cmp r0, #0
- 11424 0054 2ED1 bne .L894
-5466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11425 .loc 1 5466 0
- 11426 0056 2268 ldr r2, [r4]
- 11427 0058 1368 ldr r3, [r2]
- 11428 005a 23F48063 bic r3, r3, #1024
- 11429 005e 1360 str r3, [r2]
-5469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11430 .loc 1 5469 0
- 11431 0060 2268 ldr r2, [r4]
- 11432 0062 5368 ldr r3, [r2, #4]
- 11433 0064 23F4E063 bic r3, r3, #1792
- 11434 0068 5360 str r3, [r2, #4]
-5472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11435 .loc 1 5472 0
- 11436 006a 636A ldr r3, [r4, #36]
- 11437 006c 2268 ldr r2, [r4]
- 11438 006e 1269 ldr r2, [r2, #16]
- 11439 0070 1A70 strb r2, [r3]
-5475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11440 .loc 1 5475 0
- 11441 0072 636A ldr r3, [r4, #36]
- 11442 0074 0133 adds r3, r3, #1
- 11443 0076 6362 str r3, [r4, #36]
-5478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11444 .loc 1 5478 0
- 11445 0078 638D ldrh r3, [r4, #42]
- 11446 007a 9BB2 uxth r3, r3
- 11447 007c 013B subs r3, r3, #1
- 11448 007e 9BB2 uxth r3, r3
- 11449 0080 6385 strh r3, [r4, #42] @ movhi
-5480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11450 .loc 1 5480 0
- 11451 0082 2023 movs r3, #32
- 11452 0084 84F83D30 strb r3, [r4, #61]
-5482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11453 .loc 1 5482 0
- 11454 0088 94F83E30 ldrb r3, [r4, #62] @ zero_extendqisi2
- 11455 008c DBB2 uxtb r3, r3
- 11456 008e 402B cmp r3, #64
- 11457 0090 08D0 beq .L901
-5495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_MASTER_BUSY_RX;
- 11458 .loc 1 5495 0
- 11459 0092 0023 movs r3, #0
- 11460 0094 84F83E30 strb r3, [r4, #62]
-5496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11461 .loc 1 5496 0
- 11462 0098 1223 movs r3, #18
- 11463 009a 2363 str r3, [r4, #48]
-5501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 11464 .loc 1 5501 0
- 11465 009c 2046 mov r0, r4
- 11466 009e FFF7FEFF bl HAL_I2C_MasterRxCpltCallback
- 11467 .LVL715:
- 11468 00a2 10BD pop {r4, pc}
- 11469 .LVL716:
-ARM GAS /tmp/cc8FAL5N.s page 368
-
-
- 11470 .L901:
-5484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
- 11471 .loc 1 5484 0
- 11472 00a4 0023 movs r3, #0
- 11473 00a6 84F83E30 strb r3, [r4, #62]
-5485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11474 .loc 1 5485 0
- 11475 00aa 2363 str r3, [r4, #48]
-5490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 11476 .loc 1 5490 0
- 11477 00ac 2046 mov r0, r4
- 11478 00ae FFF7FEFF bl HAL_I2C_MemRxCpltCallback
- 11479 .LVL717:
- 11480 00b2 10BD pop {r4, pc}
- 11481 .LVL718:
- 11482 .L894:
-5508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11483 .loc 1 5508 0
- 11484 00b4 2268 ldr r2, [r4]
- 11485 00b6 5368 ldr r3, [r2, #4]
- 11486 00b8 23F4E063 bic r3, r3, #1792
- 11487 00bc 5360 str r3, [r2, #4]
-5511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11488 .loc 1 5511 0
- 11489 00be 636A ldr r3, [r4, #36]
- 11490 00c0 2268 ldr r2, [r4]
- 11491 00c2 1269 ldr r2, [r2, #16]
- 11492 00c4 1A70 strb r2, [r3]
-5514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11493 .loc 1 5514 0
- 11494 00c6 636A ldr r3, [r4, #36]
- 11495 00c8 0133 adds r3, r3, #1
- 11496 00ca 6362 str r3, [r4, #36]
-5517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11497 .loc 1 5517 0
- 11498 00cc 638D ldrh r3, [r4, #42]
- 11499 00ce 9BB2 uxth r3, r3
- 11500 00d0 013B subs r3, r3, #1
- 11501 00d2 9BB2 uxth r3, r3
- 11502 00d4 6385 strh r3, [r4, #42] @ movhi
-5519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 11503 .loc 1 5519 0
- 11504 00d6 2023 movs r3, #32
- 11505 00d8 84F83D30 strb r3, [r4, #61]
-5520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11506 .loc 1 5520 0
- 11507 00dc 0023 movs r3, #0
- 11508 00de 84F83E30 strb r3, [r4, #62]
-5526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 11509 .loc 1 5526 0
- 11510 00e2 2046 mov r0, r4
- 11511 00e4 FFF7FEFF bl HAL_I2C_ErrorCallback
- 11512 .LVL719:
- 11513 00e8 10BD pop {r4, pc}
- 11514 .LBE118:
- 11515 .cfi_endproc
- 11516 .LFE117:
-ARM GAS /tmp/cc8FAL5N.s page 369
-
-
- 11518 .section .text.HAL_I2C_AbortCpltCallback,"ax",%progbits
- 11519 .align 1
- 11520 .weak HAL_I2C_AbortCpltCallback
- 11521 .syntax unified
- 11522 .thumb
- 11523 .thumb_func
- 11524 .fpu softvfp
- 11526 HAL_I2C_AbortCpltCallback:
- 11527 .LFB110:
-5110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Prevent unused argument(s) compilation warning */
- 11528 .loc 1 5110 0
- 11529 .cfi_startproc
- 11530 @ args = 0, pretend = 0, frame = 0
- 11531 @ frame_needed = 0, uses_anonymous_args = 0
- 11532 @ link register save eliminated.
- 11533 .LVL720:
- 11534 0000 7047 bx lr
- 11535 .cfi_endproc
- 11536 .LFE110:
- 11538 .section .text.I2C_DMAAbort,"ax",%progbits
- 11539 .align 1
- 11540 .syntax unified
- 11541 .thumb
- 11542 .thumb_func
- 11543 .fpu softvfp
- 11545 I2C_DMAAbort:
- 11546 .LFB136:
-7009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
- 11547 .loc 1 7009 0
- 11548 .cfi_startproc
- 11549 @ args = 0, pretend = 0, frame = 8
- 11550 @ frame_needed = 0, uses_anonymous_args = 0
- 11551 .LVL721:
-7009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** __IO uint32_t count = 0U;
- 11552 .loc 1 7009 0
- 11553 0000 00B5 push {lr}
- 11554 .LCFI153:
- 11555 .cfi_def_cfa_offset 4
- 11556 .cfi_offset 14, -4
- 11557 0002 83B0 sub sp, sp, #12
- 11558 .LCFI154:
- 11559 .cfi_def_cfa_offset 16
-7010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_HandleTypeDef *hi2c = (I2C_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; /* Derogation
- 11560 .loc 1 7010 0
- 11561 0004 0023 movs r3, #0
- 11562 0006 0193 str r3, [sp, #4]
-7011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11563 .loc 1 7011 0
- 11564 0008 406A ldr r0, [r0, #36]
- 11565 .LVL722:
-7014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11566 .loc 1 7014 0
- 11567 000a 90F83D20 ldrb r2, [r0, #61] @ zero_extendqisi2
- 11568 000e D2B2 uxtb r2, r2
- 11569 .LVL723:
-7018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** do
- 11570 .loc 1 7018 0
-ARM GAS /tmp/cc8FAL5N.s page 370
-
-
- 11571 0010 324B ldr r3, .L919
- 11572 0012 1B68 ldr r3, [r3]
- 11573 0014 DB08 lsrs r3, r3, #3
- 11574 0016 3249 ldr r1, .L919+4
- 11575 0018 A1FB0313 umull r1, r3, r1, r3
- 11576 001c 1B0A lsrs r3, r3, #8
- 11577 001e 03EB8303 add r3, r3, r3, lsl #2
- 11578 0022 C3EBC303 rsb r3, r3, r3, lsl #3
- 11579 0026 0193 str r3, [sp, #4]
- 11580 .L906:
-7021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11581 .loc 1 7021 0
- 11582 0028 019B ldr r3, [sp, #4]
- 11583 002a 43B1 cbz r3, .L916
-7026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11584 .loc 1 7026 0
- 11585 002c 019B ldr r3, [sp, #4]
- 11586 002e 013B subs r3, r3, #1
- 11587 0030 0193 str r3, [sp, #4]
-7028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11588 .loc 1 7028 0
- 11589 0032 0368 ldr r3, [r0]
- 11590 0034 1B68 ldr r3, [r3]
- 11591 0036 13F4007F tst r3, #512
- 11592 003a F5D1 bne .L906
- 11593 003c 03E0 b .L905
- 11594 .L916:
-7023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** break;
- 11595 .loc 1 7023 0
- 11596 003e 036C ldr r3, [r0, #64]
- 11597 0040 43F02003 orr r3, r3, #32
- 11598 0044 0364 str r3, [r0, #64]
- 11599 .L905:
-7031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11600 .loc 1 7031 0
- 11601 0046 436B ldr r3, [r0, #52]
- 11602 0048 0BB1 cbz r3, .L907
-7033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11603 .loc 1 7033 0
- 11604 004a 0021 movs r1, #0
- 11605 004c 9962 str r1, [r3, #40]
- 11606 .L907:
-7035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11607 .loc 1 7035 0
- 11608 004e 836B ldr r3, [r0, #56]
- 11609 0050 0BB1 cbz r3, .L908
-7037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11610 .loc 1 7037 0
- 11611 0052 0021 movs r1, #0
- 11612 0054 9962 str r1, [r3, #40]
- 11613 .L908:
-7041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11614 .loc 1 7041 0
- 11615 0056 0168 ldr r1, [r0]
- 11616 0058 0B68 ldr r3, [r1]
- 11617 005a 23F48063 bic r3, r3, #1024
- 11618 005e 0B60 str r3, [r1]
-ARM GAS /tmp/cc8FAL5N.s page 371
-
-
-7043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11619 .loc 1 7043 0
- 11620 0060 0023 movs r3, #0
- 11621 0062 4385 strh r3, [r0, #42] @ movhi
-7046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11622 .loc 1 7046 0
- 11623 0064 436B ldr r3, [r0, #52]
- 11624 0066 0BB1 cbz r3, .L909
-7048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11625 .loc 1 7048 0
- 11626 0068 0021 movs r1, #0
- 11627 006a 5963 str r1, [r3, #52]
- 11628 .L909:
-7050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11629 .loc 1 7050 0
- 11630 006c 836B ldr r3, [r0, #56]
- 11631 006e 0BB1 cbz r3, .L910
-7052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11632 .loc 1 7052 0
- 11633 0070 0021 movs r1, #0
- 11634 0072 5963 str r1, [r3, #52]
- 11635 .L910:
-7056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11636 .loc 1 7056 0
- 11637 0074 0168 ldr r1, [r0]
- 11638 0076 0B68 ldr r3, [r1]
- 11639 0078 23F00103 bic r3, r3, #1
- 11640 007c 0B60 str r3, [r1]
-7059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11641 .loc 1 7059 0
- 11642 007e 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 11643 0082 DBB2 uxtb r3, r3
- 11644 0084 602B cmp r3, #96
- 11645 0086 0ED0 beq .L917
-7074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11646 .loc 1 7074 0
- 11647 0088 02F02802 and r2, r2, #40
- 11648 .LVL724:
- 11649 008c 282A cmp r2, #40
- 11650 008e 14D0 beq .L918
-7088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 11651 .loc 1 7088 0
- 11652 0090 2023 movs r3, #32
- 11653 0092 80F83D30 strb r3, [r0, #61]
-7089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11654 .loc 1 7089 0
- 11655 0096 0023 movs r3, #0
- 11656 0098 80F83E30 strb r3, [r0, #62]
- 11657 .L914:
-7096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 11658 .loc 1 7096 0
- 11659 009c FFF7FEFF bl HAL_I2C_ErrorCallback
- 11660 .LVL725:
- 11661 .L903:
-7099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11662 .loc 1 7099 0
- 11663 00a0 03B0 add sp, sp, #12
-ARM GAS /tmp/cc8FAL5N.s page 372
-
-
- 11664 .LCFI155:
- 11665 .cfi_remember_state
- 11666 .cfi_def_cfa_offset 4
- 11667 @ sp needed
- 11668 00a2 5DF804FB ldr pc, [sp], #4
- 11669 .LVL726:
- 11670 .L917:
- 11671 .LCFI156:
- 11672 .cfi_restore_state
-7061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 11673 .loc 1 7061 0
- 11674 00a6 2023 movs r3, #32
- 11675 00a8 80F83D30 strb r3, [r0, #61]
-7062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 11676 .loc 1 7062 0
- 11677 00ac 0023 movs r3, #0
- 11678 00ae 80F83E30 strb r3, [r0, #62]
-7063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11679 .loc 1 7063 0
- 11680 00b2 0364 str r3, [r0, #64]
-7069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 11681 .loc 1 7069 0
- 11682 00b4 FFF7FEFF bl HAL_I2C_AbortCpltCallback
- 11683 .LVL727:
- 11684 00b8 F2E7 b .L903
- 11685 .LVL728:
- 11686 .L918:
-7077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11687 .loc 1 7077 0
- 11688 00ba 0268 ldr r2, [r0]
- 11689 00bc 1368 ldr r3, [r2]
- 11690 00be 43F00103 orr r3, r3, #1
- 11691 00c2 1360 str r3, [r2]
-7080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11692 .loc 1 7080 0
- 11693 00c4 0268 ldr r2, [r0]
- 11694 00c6 1368 ldr r3, [r2]
- 11695 00c8 43F48063 orr r3, r3, #1024
- 11696 00cc 1360 str r3, [r2]
-7083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_LISTEN;
- 11697 .loc 1 7083 0
- 11698 00ce 0023 movs r3, #0
- 11699 00d0 0363 str r3, [r0, #48]
-7084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11700 .loc 1 7084 0
- 11701 00d2 2823 movs r3, #40
- 11702 00d4 80F83D30 strb r3, [r0, #61]
- 11703 00d8 E0E7 b .L914
- 11704 .L920:
- 11705 00da 00BF .align 2
- 11706 .L919:
- 11707 00dc 00000000 .word SystemCoreClock
- 11708 00e0 89B5F814 .word 351843721
- 11709 .cfi_endproc
- 11710 .LFE136:
- 11712 .section .text.I2C_ITError,"ax",%progbits
- 11713 .align 1
-ARM GAS /tmp/cc8FAL5N.s page 373
-
-
- 11714 .syntax unified
- 11715 .thumb
- 11716 .thumb_func
- 11717 .fpu softvfp
- 11719 I2C_ITError:
- 11720 .LFB129:
-6311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variable to prevent undefined behavior of volatile usage */
- 11721 .loc 1 6311 0
- 11722 .cfi_startproc
- 11723 @ args = 0, pretend = 0, frame = 0
- 11724 @ frame_needed = 0, uses_anonymous_args = 0
- 11725 .LVL729:
- 11726 0000 10B5 push {r4, lr}
- 11727 .LCFI157:
- 11728 .cfi_def_cfa_offset 8
- 11729 .cfi_offset 4, -8
- 11730 .cfi_offset 14, -4
- 11731 0002 0446 mov r4, r0
-6313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_ModeTypeDef CurrentMode = hi2c->Mode;
- 11732 .loc 1 6313 0
- 11733 0004 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 11734 0008 DBB2 uxtb r3, r3
- 11735 .LVL730:
-6314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t CurrentError;
- 11736 .loc 1 6314 0
- 11737 000a 90F83E20 ldrb r2, [r0, #62] @ zero_extendqisi2
- 11738 000e D2B2 uxtb r2, r2
- 11739 .LVL731:
-6317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11740 .loc 1 6317 0
- 11741 0010 102A cmp r2, #16
- 11742 0012 35D0 beq .L922
-6317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11743 .loc 1 6317 0 is_stmt 0 discriminator 2
- 11744 0014 402A cmp r2, #64
- 11745 0016 33D0 beq .L922
- 11746 .LVL732:
- 11747 .L923:
-6323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11748 .loc 1 6323 0 is_stmt 1
- 11749 0018 03F02802 and r2, r3, #40
- 11750 001c 282A cmp r2, #40
- 11751 001e 37D0 beq .L937
-6333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11752 .loc 1 6333 0
- 11753 0020 2268 ldr r2, [r4]
- 11754 0022 5268 ldr r2, [r2, #4]
- 11755 0024 12F4006F tst r2, #2048
- 11756 0028 07D1 bne .L926
-6333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11757 .loc 1 6333 0 is_stmt 0 discriminator 1
- 11758 002a 602B cmp r3, #96
- 11759 002c 05D0 beq .L926
-6335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 11760 .loc 1 6335 0 is_stmt 1
- 11761 002e 2023 movs r3, #32
- 11762 .LVL733:
-ARM GAS /tmp/cc8FAL5N.s page 374
-
-
- 11763 0030 84F83D30 strb r3, [r4, #61]
-6336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11764 .loc 1 6336 0
- 11765 0034 0023 movs r3, #0
- 11766 0036 84F83E30 strb r3, [r4, #62]
- 11767 .L926:
-6338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11768 .loc 1 6338 0
- 11769 003a 0023 movs r3, #0
- 11770 003c 2363 str r3, [r4, #48]
- 11771 .L925:
-6342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11772 .loc 1 6342 0
- 11773 003e 2368 ldr r3, [r4]
- 11774 0040 5A68 ldr r2, [r3, #4]
- 11775 0042 12F4006F tst r2, #2048
- 11776 0046 47D0 beq .L927
-6344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11777 .loc 1 6344 0
- 11778 0048 5A68 ldr r2, [r3, #4]
- 11779 004a 22F40062 bic r2, r2, #2048
- 11780 004e 5A60 str r2, [r3, #4]
-6346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11781 .loc 1 6346 0
- 11782 0050 636B ldr r3, [r4, #52]
- 11783 0052 93F82120 ldrb r2, [r3, #33] @ zero_extendqisi2
- 11784 0056 012A cmp r2, #1
- 11785 0058 20D0 beq .L928
-6350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11786 .loc 1 6350 0
- 11787 005a 444A ldr r2, .L940
- 11788 005c 5A63 str r2, [r3, #52]
-6352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11789 .loc 1 6352 0
- 11790 005e 606B ldr r0, [r4, #52]
- 11791 .LVL734:
- 11792 0060 FFF7FEFF bl HAL_DMA_Abort_IT
- 11793 .LVL735:
- 11794 0064 0028 cmp r0, #0
- 11795 0066 49D0 beq .L929
-6355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11796 .loc 1 6355 0
- 11797 0068 2268 ldr r2, [r4]
- 11798 006a 1368 ldr r3, [r2]
- 11799 006c 23F00103 bic r3, r3, #1
- 11800 0070 1360 str r3, [r2]
-6357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11801 .loc 1 6357 0
- 11802 0072 2023 movs r3, #32
- 11803 0074 84F83D30 strb r3, [r4, #61]
-6360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11804 .loc 1 6360 0
- 11805 0078 606B ldr r0, [r4, #52]
- 11806 007a 436B ldr r3, [r0, #52]
- 11807 007c 9847 blx r3
- 11808 .LVL736:
- 11809 007e 3DE0 b .L929
-ARM GAS /tmp/cc8FAL5N.s page 375
-
-
- 11810 .LVL737:
- 11811 .L922:
-6317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11812 .loc 1 6317 0 discriminator 3
- 11813 0080 222B cmp r3, #34
- 11814 0082 C9D1 bne .L923
-6320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11815 .loc 1 6320 0
- 11816 0084 2168 ldr r1, [r4]
- 11817 0086 0A68 ldr r2, [r1]
- 11818 .LVL738:
- 11819 0088 22F40062 bic r2, r2, #2048
- 11820 008c 0A60 str r2, [r1]
- 11821 008e C3E7 b .L923
- 11822 .L937:
-6326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_LISTEN;
- 11823 .loc 1 6326 0
- 11824 0090 0023 movs r3, #0
- 11825 .LVL739:
- 11826 0092 2363 str r3, [r4, #48]
-6327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11827 .loc 1 6327 0
- 11828 0094 2823 movs r3, #40
- 11829 0096 84F83D30 strb r3, [r4, #61]
- 11830 009a D0E7 b .L925
- 11831 .L928:
-6367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11832 .loc 1 6367 0
- 11833 009c A36B ldr r3, [r4, #56]
- 11834 009e 334A ldr r2, .L940
- 11835 00a0 5A63 str r2, [r3, #52]
-6369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11836 .loc 1 6369 0
- 11837 00a2 A06B ldr r0, [r4, #56]
- 11838 .LVL740:
- 11839 00a4 FFF7FEFF bl HAL_DMA_Abort_IT
- 11840 .LVL741:
- 11841 00a8 40B3 cbz r0, .L929
-6372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11842 .loc 1 6372 0
- 11843 00aa 2368 ldr r3, [r4]
- 11844 00ac 5A69 ldr r2, [r3, #20]
- 11845 00ae 12F0400F tst r2, #64
- 11846 00b2 05D0 beq .L930
-6375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11847 .loc 1 6375 0
- 11848 00b4 626A ldr r2, [r4, #36]
- 11849 00b6 1B69 ldr r3, [r3, #16]
- 11850 00b8 1370 strb r3, [r2]
-6378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11851 .loc 1 6378 0
- 11852 00ba 636A ldr r3, [r4, #36]
- 11853 00bc 0133 adds r3, r3, #1
- 11854 00be 6362 str r3, [r4, #36]
- 11855 .L930:
-6382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11856 .loc 1 6382 0
-ARM GAS /tmp/cc8FAL5N.s page 376
-
-
- 11857 00c0 2268 ldr r2, [r4]
- 11858 00c2 1368 ldr r3, [r2]
- 11859 00c4 23F00103 bic r3, r3, #1
- 11860 00c8 1360 str r3, [r2]
-6384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11861 .loc 1 6384 0
- 11862 00ca 2023 movs r3, #32
- 11863 00cc 84F83D30 strb r3, [r4, #61]
-6387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11864 .loc 1 6387 0
- 11865 00d0 A06B ldr r0, [r4, #56]
- 11866 00d2 436B ldr r3, [r0, #52]
- 11867 00d4 9847 blx r3
- 11868 .LVL742:
- 11869 00d6 11E0 b .L929
- 11870 .LVL743:
- 11871 .L927:
-6391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11872 .loc 1 6391 0
- 11873 00d8 94F83D20 ldrb r2, [r4, #61] @ zero_extendqisi2
- 11874 00dc D2B2 uxtb r2, r2
- 11875 00de 602A cmp r2, #96
- 11876 00e0 1FD0 beq .L938
-6419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11877 .loc 1 6419 0
- 11878 00e2 5A69 ldr r2, [r3, #20]
- 11879 00e4 12F0400F tst r2, #64
- 11880 00e8 05D0 beq .L933
-6422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11881 .loc 1 6422 0
- 11882 00ea 626A ldr r2, [r4, #36]
- 11883 00ec 1B69 ldr r3, [r3, #16]
- 11884 00ee 1370 strb r3, [r2]
-6425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11885 .loc 1 6425 0
- 11886 00f0 636A ldr r3, [r4, #36]
- 11887 00f2 0133 adds r3, r3, #1
- 11888 00f4 6362 str r3, [r4, #36]
- 11889 .L933:
-6432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 11890 .loc 1 6432 0
- 11891 00f6 2046 mov r0, r4
- 11892 .LVL744:
- 11893 00f8 FFF7FEFF bl HAL_I2C_ErrorCallback
- 11894 .LVL745:
- 11895 .L929:
-6437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11896 .loc 1 6437 0
- 11897 00fc 236C ldr r3, [r4, #64]
- 11898 .LVL746:
-6439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ((CurrentError & HAL_I2C_ERROR_ARLO) == HAL_I2C_ERROR_ARLO) || \
- 11899 .loc 1 6439 0
- 11900 00fe 13F00F0F tst r3, #15
- 11901 0102 04D0 beq .L934
-6445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11902 .loc 1 6445 0
- 11903 0104 2268 ldr r2, [r4]
-ARM GAS /tmp/cc8FAL5N.s page 377
-
-
- 11904 0106 5368 ldr r3, [r2, #4]
- 11905 .LVL747:
- 11906 0108 23F4E063 bic r3, r3, #1792
- 11907 010c 5360 str r3, [r2, #4]
- 11908 .L934:
-6450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if (((hi2c->ErrorCode & HAL_I2C_ERROR_AF) == HAL_I2C_ERROR_AF) && (CurrentState == HAL_I2C_STATE_
- 11909 .loc 1 6450 0
- 11910 010e 94F83D30 ldrb r3, [r4, #61] @ zero_extendqisi2
- 11911 0112 DBB2 uxtb r3, r3
- 11912 .LVL748:
-6451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11913 .loc 1 6451 0
- 11914 0114 226C ldr r2, [r4, #64]
- 11915 0116 12F0040F tst r2, #4
- 11916 011a 01D0 beq .L921
-6451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11917 .loc 1 6451 0 is_stmt 0 discriminator 1
- 11918 011c 282B cmp r3, #40
- 11919 011e 18D0 beq .L939
- 11920 .LVL749:
- 11921 .L921:
- 11922 0120 10BD pop {r4, pc}
- 11923 .LVL750:
- 11924 .L938:
-6393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
- 11925 .loc 1 6393 0 is_stmt 1
- 11926 0122 2022 movs r2, #32
- 11927 0124 84F83D20 strb r2, [r4, #61]
-6394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11928 .loc 1 6394 0
- 11929 0128 0022 movs r2, #0
- 11930 012a 2264 str r2, [r4, #64]
-6397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 11931 .loc 1 6397 0
- 11932 012c 5A69 ldr r2, [r3, #20]
- 11933 012e 12F0400F tst r2, #64
- 11934 0132 05D0 beq .L932
-6400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11935 .loc 1 6400 0
- 11936 0134 626A ldr r2, [r4, #36]
- 11937 0136 1B69 ldr r3, [r3, #16]
- 11938 0138 1370 strb r3, [r2]
-6403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 11939 .loc 1 6403 0
- 11940 013a 636A ldr r3, [r4, #36]
- 11941 013c 0133 adds r3, r3, #1
- 11942 013e 6362 str r3, [r4, #36]
- 11943 .L932:
-6407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11944 .loc 1 6407 0
- 11945 0140 2268 ldr r2, [r4]
- 11946 0142 1368 ldr r3, [r2]
- 11947 0144 23F00103 bic r3, r3, #1
- 11948 0148 1360 str r3, [r2]
-6413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 11949 .loc 1 6413 0
- 11950 014a 2046 mov r0, r4
-ARM GAS /tmp/cc8FAL5N.s page 378
-
-
- 11951 .LVL751:
- 11952 014c FFF7FEFF bl HAL_I2C_AbortCpltCallback
- 11953 .LVL752:
- 11954 0150 D4E7 b .L929
- 11955 .LVL753:
- 11956 .L939:
-6453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
- 11957 .loc 1 6453 0
- 11958 0152 074B ldr r3, .L940+4
- 11959 .LVL754:
- 11960 0154 E362 str r3, [r4, #44]
-6454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 11961 .loc 1 6454 0
- 11962 0156 0023 movs r3, #0
- 11963 0158 2363 str r3, [r4, #48]
-6455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 11964 .loc 1 6455 0
- 11965 015a 2022 movs r2, #32
- 11966 015c 84F83D20 strb r2, [r4, #61]
-6456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11967 .loc 1 6456 0
- 11968 0160 84F83E30 strb r3, [r4, #62]
-6462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 11969 .loc 1 6462 0
- 11970 0164 2046 mov r0, r4
- 11971 0166 FFF7FEFF bl HAL_I2C_ListenCpltCallback
- 11972 .LVL755:
-6465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11973 .loc 1 6465 0
- 11974 016a D9E7 b .L921
- 11975 .L941:
- 11976 .align 2
- 11977 .L940:
- 11978 016c 00000000 .word I2C_DMAAbort
- 11979 0170 0000FFFF .word -65536
- 11980 .cfi_endproc
- 11981 .LFE129:
- 11983 .section .text.HAL_I2C_Master_Abort_IT,"ax",%progbits
- 11984 .align 1
- 11985 .global HAL_I2C_Master_Abort_IT
- 11986 .syntax unified
- 11987 .thumb
- 11988 .thumb_func
- 11989 .fpu softvfp
- 11991 HAL_I2C_Master_Abort_IT:
- 11992 .LFB98:
-4655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variables to prevent undefined behavior of volatile usage */
- 11993 .loc 1 4655 0
- 11994 .cfi_startproc
- 11995 @ args = 0, pretend = 0, frame = 0
- 11996 @ frame_needed = 0, uses_anonymous_args = 0
- 11997 .LVL756:
-4657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 11998 .loc 1 4657 0
- 11999 0000 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2
- 12000 .LVL757:
-4663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-ARM GAS /tmp/cc8FAL5N.s page 379
-
-
- 12001 .loc 1 4663 0
- 12002 0004 0268 ldr r2, [r0]
- 12003 0006 9169 ldr r1, [r2, #24]
- 12004 .LVL758:
- 12005 0008 11F0020F tst r1, #2
- 12006 000c 28D0 beq .L944
- 12007 000e DBB2 uxtb r3, r3
-4663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12008 .loc 1 4663 0 is_stmt 0 discriminator 1
- 12009 0010 102B cmp r3, #16
- 12010 0012 01D0 beq .L951
-4695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12011 .loc 1 4695 0 is_stmt 1
- 12012 0014 0120 movs r0, #1
- 12013 .LVL759:
- 12014 0016 7047 bx lr
- 12015 .LVL760:
- 12016 .L951:
-4666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12017 .loc 1 4666 0
- 12018 0018 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
- 12019 .LVL761:
- 12020 001c 012B cmp r3, #1
- 12021 001e 01D1 bne .L952
- 12022 0020 0220 movs r0, #2
- 12023 .LVL762:
- 12024 0022 7047 bx lr
- 12025 .LVL763:
- 12026 .L952:
-4655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variables to prevent undefined behavior of volatile usage */
- 12027 .loc 1 4655 0 discriminator 2
- 12028 0024 10B5 push {r4, lr}
- 12029 .LCFI158:
- 12030 .cfi_def_cfa_offset 8
- 12031 .cfi_offset 4, -8
- 12032 .cfi_offset 14, -4
-4666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12033 .loc 1 4666 0 discriminator 2
- 12034 0026 0123 movs r3, #1
- 12035 0028 80F83C30 strb r3, [r0, #60]
-4668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_ABORT;
- 12036 .loc 1 4668 0 discriminator 2
- 12037 002c 0024 movs r4, #0
- 12038 002e 0463 str r4, [r0, #48]
-4669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12039 .loc 1 4669 0 discriminator 2
- 12040 0030 6023 movs r3, #96
- 12041 0032 80F83D30 strb r3, [r0, #61]
-4672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12042 .loc 1 4672 0 discriminator 2
- 12043 0036 1368 ldr r3, [r2]
- 12044 0038 23F48063 bic r3, r3, #1024
- 12045 003c 1360 str r3, [r2]
-4675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12046 .loc 1 4675 0 discriminator 2
- 12047 003e 0268 ldr r2, [r0]
- 12048 0040 1368 ldr r3, [r2]
-ARM GAS /tmp/cc8FAL5N.s page 380
-
-
- 12049 0042 43F40073 orr r3, r3, #512
- 12050 0046 1360 str r3, [r2]
-4677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12051 .loc 1 4677 0 discriminator 2
- 12052 0048 4485 strh r4, [r0, #42] @ movhi
-4680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12053 .loc 1 4680 0 discriminator 2
- 12054 004a 0268 ldr r2, [r0]
- 12055 004c 5368 ldr r3, [r2, #4]
- 12056 004e 23F4E063 bic r3, r3, #1792
- 12057 0052 5360 str r3, [r2, #4]
-4683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12058 .loc 1 4683 0 discriminator 2
- 12059 0054 80F83C40 strb r4, [r0, #60]
-4686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12060 .loc 1 4686 0 discriminator 2
- 12061 0058 FFF7FEFF bl I2C_ITError
- 12062 .LVL764:
-4688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12063 .loc 1 4688 0 discriminator 2
- 12064 005c 2046 mov r0, r4
- 12065 005e 10BD pop {r4, pc}
- 12066 .LVL765:
- 12067 .L944:
- 12068 .LCFI159:
- 12069 .cfi_def_cfa_offset 0
- 12070 .cfi_restore 4
- 12071 .cfi_restore 14
-4695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12072 .loc 1 4695 0
- 12073 0060 0120 movs r0, #1
- 12074 .LVL766:
- 12075 0062 7047 bx lr
- 12076 .cfi_endproc
- 12077 .LFE98:
- 12079 .section .text.I2C_Slave_STOPF,"ax",%progbits
- 12080 .align 1
- 12081 .syntax unified
- 12082 .thumb
- 12083 .thumb_func
- 12084 .fpu softvfp
- 12086 I2C_Slave_STOPF:
- 12087 .LFB127:
-6076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Declaration of temporary variable to prevent undefined behavior of volatile usage */
- 12088 .loc 1 6076 0
- 12089 .cfi_startproc
- 12090 @ args = 0, pretend = 0, frame = 8
- 12091 @ frame_needed = 0, uses_anonymous_args = 0
- 12092 .LVL767:
- 12093 0000 30B5 push {r4, r5, lr}
- 12094 .LCFI160:
- 12095 .cfi_def_cfa_offset 12
- 12096 .cfi_offset 4, -12
- 12097 .cfi_offset 5, -8
- 12098 .cfi_offset 14, -4
- 12099 0002 83B0 sub sp, sp, #12
- 12100 .LCFI161:
-ARM GAS /tmp/cc8FAL5N.s page 381
-
-
- 12101 .cfi_def_cfa_offset 24
- 12102 0004 0446 mov r4, r0
-6078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12103 .loc 1 6078 0
- 12104 0006 90F83D50 ldrb r5, [r0, #61] @ zero_extendqisi2
- 12105 000a EDB2 uxtb r5, r5
- 12106 .LVL768:
-6081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12107 .loc 1 6081 0
- 12108 000c 0268 ldr r2, [r0]
- 12109 000e 5368 ldr r3, [r2, #4]
- 12110 0010 23F4E063 bic r3, r3, #1792
- 12111 0014 5360 str r3, [r2, #4]
- 12112 .LBB119:
-6084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12113 .loc 1 6084 0
- 12114 0016 0023 movs r3, #0
- 12115 0018 0193 str r3, [sp, #4]
- 12116 001a 0368 ldr r3, [r0]
- 12117 001c 5A69 ldr r2, [r3, #20]
- 12118 001e 0192 str r2, [sp, #4]
- 12119 0020 1A68 ldr r2, [r3]
- 12120 0022 42F00102 orr r2, r2, #1
- 12121 0026 1A60 str r2, [r3]
- 12122 0028 019B ldr r3, [sp, #4]
- 12123 .LBE119:
-6087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12124 .loc 1 6087 0
- 12125 002a 0268 ldr r2, [r0]
- 12126 002c 1368 ldr r3, [r2]
- 12127 002e 23F48063 bic r3, r3, #1024
- 12128 0032 1360 str r3, [r2]
-6090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12129 .loc 1 6090 0
- 12130 0034 0368 ldr r3, [r0]
- 12131 0036 5A68 ldr r2, [r3, #4]
- 12132 0038 12F4006F tst r2, #2048
- 12133 003c 20D0 beq .L954
-6092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12134 .loc 1 6092 0
- 12135 003e 222D cmp r5, #34
- 12136 0040 59D0 beq .L955
-6092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12137 .loc 1 6092 0 is_stmt 0 discriminator 1
- 12138 0042 2A2D cmp r5, #42
- 12139 0044 57D0 beq .L955
-6122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12140 .loc 1 6122 0 is_stmt 1
- 12141 0046 426B ldr r2, [r0, #52]
- 12142 0048 1268 ldr r2, [r2]
- 12143 004a 5268 ldr r2, [r2, #4]
- 12144 004c 92B2 uxth r2, r2
- 12145 004e 4285 strh r2, [r0, #42] @ movhi
-6124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12146 .loc 1 6124 0
- 12147 0050 428D ldrh r2, [r0, #42]
- 12148 0052 92B2 uxth r2, r2
-ARM GAS /tmp/cc8FAL5N.s page 382
-
-
- 12149 0054 1AB1 cbz r2, .L958
-6127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12150 .loc 1 6127 0
- 12151 0056 026C ldr r2, [r0, #64]
- 12152 0058 42F00402 orr r2, r2, #4
- 12153 005c 0264 str r2, [r0, #64]
- 12154 .L958:
-6131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12155 .loc 1 6131 0
- 12156 005e 5A68 ldr r2, [r3, #4]
- 12157 0060 22F40062 bic r2, r2, #2048
- 12158 0064 5A60 str r2, [r3, #4]
-6134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12159 .loc 1 6134 0
- 12160 0066 606B ldr r0, [r4, #52]
- 12161 .LVL769:
- 12162 0068 FFF7FEFF bl HAL_DMA_GetState
- 12163 .LVL770:
- 12164 006c 0128 cmp r0, #1
- 12165 006e 07D0 beq .L954
-6138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12166 .loc 1 6138 0
- 12167 0070 636B ldr r3, [r4, #52]
- 12168 0072 464A ldr r2, .L972
- 12169 0074 5A63 str r2, [r3, #52]
-6141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12170 .loc 1 6141 0
- 12171 0076 606B ldr r0, [r4, #52]
- 12172 0078 FFF7FEFF bl HAL_DMA_Abort_IT
- 12173 .LVL771:
- 12174 007c 0028 cmp r0, #0
- 12175 007e 5BD1 bne .L968
- 12176 .L954:
-6151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12177 .loc 1 6151 0
- 12178 0080 638D ldrh r3, [r4, #42]
- 12179 0082 9BB2 uxth r3, r3
- 12180 0084 33B3 cbz r3, .L959
-6154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12181 .loc 1 6154 0
- 12182 0086 2368 ldr r3, [r4]
- 12183 0088 5A69 ldr r2, [r3, #20]
- 12184 008a 12F0040F tst r2, #4
- 12185 008e 0AD0 beq .L960
-6157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12186 .loc 1 6157 0
- 12187 0090 626A ldr r2, [r4, #36]
- 12188 0092 1B69 ldr r3, [r3, #16]
- 12189 0094 1370 strb r3, [r2]
-6160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12190 .loc 1 6160 0
- 12191 0096 636A ldr r3, [r4, #36]
- 12192 0098 0133 adds r3, r3, #1
- 12193 009a 6362 str r3, [r4, #36]
-6163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12194 .loc 1 6163 0
- 12195 009c 638D ldrh r3, [r4, #42]
-ARM GAS /tmp/cc8FAL5N.s page 383
-
-
- 12196 009e 9BB2 uxth r3, r3
- 12197 00a0 013B subs r3, r3, #1
- 12198 00a2 9BB2 uxth r3, r3
- 12199 00a4 6385 strh r3, [r4, #42] @ movhi
- 12200 .L960:
-6167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12201 .loc 1 6167 0
- 12202 00a6 2368 ldr r3, [r4]
- 12203 00a8 5A69 ldr r2, [r3, #20]
- 12204 00aa 12F0400F tst r2, #64
- 12205 00ae 0AD0 beq .L961
-6170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12206 .loc 1 6170 0
- 12207 00b0 626A ldr r2, [r4, #36]
- 12208 00b2 1B69 ldr r3, [r3, #16]
- 12209 00b4 1370 strb r3, [r2]
-6173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12210 .loc 1 6173 0
- 12211 00b6 636A ldr r3, [r4, #36]
- 12212 00b8 0133 adds r3, r3, #1
- 12213 00ba 6362 str r3, [r4, #36]
-6176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12214 .loc 1 6176 0
- 12215 00bc 638D ldrh r3, [r4, #42]
- 12216 00be 9BB2 uxth r3, r3
- 12217 00c0 013B subs r3, r3, #1
- 12218 00c2 9BB2 uxth r3, r3
- 12219 00c4 6385 strh r3, [r4, #42] @ movhi
- 12220 .L961:
-6179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12221 .loc 1 6179 0
- 12222 00c6 638D ldrh r3, [r4, #42]
- 12223 00c8 9BB2 uxth r3, r3
- 12224 00ca 1BB1 cbz r3, .L959
-6182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12225 .loc 1 6182 0
- 12226 00cc 236C ldr r3, [r4, #64]
- 12227 00ce 43F00403 orr r3, r3, #4
- 12228 00d2 2364 str r3, [r4, #64]
- 12229 .L959:
-6186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12230 .loc 1 6186 0
- 12231 00d4 236C ldr r3, [r4, #64]
- 12232 00d6 002B cmp r3, #0
- 12233 00d8 32D1 bne .L969
-6193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12234 .loc 1 6193 0
- 12235 00da 2A2D cmp r5, #42
- 12236 00dc 34D0 beq .L970
- 12237 .L964:
-6207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12238 .loc 1 6207 0
- 12239 00de 94F83D30 ldrb r3, [r4, #61] @ zero_extendqisi2
- 12240 00e2 DBB2 uxtb r3, r3
- 12241 00e4 282B cmp r3, #40
- 12242 00e6 38D0 beq .L971
-6223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-ARM GAS /tmp/cc8FAL5N.s page 384
-
-
- 12243 .loc 1 6223 0
- 12244 00e8 236B ldr r3, [r4, #48]
- 12245 00ea 222B cmp r3, #34
- 12246 00ec 42D0 beq .L966
-6223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12247 .loc 1 6223 0 is_stmt 0 discriminator 1
- 12248 00ee 222D cmp r5, #34
- 12249 00f0 40D0 beq .L966
- 12250 .L953:
-6237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12251 .loc 1 6237 0 is_stmt 1
- 12252 00f2 03B0 add sp, sp, #12
- 12253 .LCFI162:
- 12254 .cfi_remember_state
- 12255 .cfi_def_cfa_offset 12
- 12256 @ sp needed
- 12257 00f4 30BD pop {r4, r5, pc}
- 12258 .LVL772:
- 12259 .L955:
- 12260 .LCFI163:
- 12261 .cfi_restore_state
-6094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12262 .loc 1 6094 0
- 12263 00f6 A26B ldr r2, [r4, #56]
- 12264 00f8 1268 ldr r2, [r2]
- 12265 00fa 5268 ldr r2, [r2, #4]
- 12266 00fc 92B2 uxth r2, r2
- 12267 00fe 6285 strh r2, [r4, #42] @ movhi
-6096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12268 .loc 1 6096 0
- 12269 0100 628D ldrh r2, [r4, #42]
- 12270 0102 92B2 uxth r2, r2
- 12271 0104 1AB1 cbz r2, .L957
-6099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12272 .loc 1 6099 0
- 12273 0106 226C ldr r2, [r4, #64]
- 12274 0108 42F00402 orr r2, r2, #4
- 12275 010c 2264 str r2, [r4, #64]
- 12276 .L957:
-6103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12277 .loc 1 6103 0
- 12278 010e 5A68 ldr r2, [r3, #4]
- 12279 0110 22F40062 bic r2, r2, #2048
- 12280 0114 5A60 str r2, [r3, #4]
-6106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12281 .loc 1 6106 0
- 12282 0116 A06B ldr r0, [r4, #56]
- 12283 .LVL773:
- 12284 0118 FFF7FEFF bl HAL_DMA_GetState
- 12285 .LVL774:
- 12286 011c 0128 cmp r0, #1
- 12287 011e AFD0 beq .L954
-6110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12288 .loc 1 6110 0
- 12289 0120 A36B ldr r3, [r4, #56]
- 12290 0122 1A4A ldr r2, .L972
- 12291 0124 5A63 str r2, [r3, #52]
-ARM GAS /tmp/cc8FAL5N.s page 385
-
-
-6113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12292 .loc 1 6113 0
- 12293 0126 A06B ldr r0, [r4, #56]
- 12294 0128 FFF7FEFF bl HAL_DMA_Abort_IT
- 12295 .LVL775:
- 12296 012c 0028 cmp r0, #0
- 12297 012e A7D0 beq .L954
-6116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12298 .loc 1 6116 0
- 12299 0130 A06B ldr r0, [r4, #56]
- 12300 0132 436B ldr r3, [r0, #52]
- 12301 0134 9847 blx r3
- 12302 .LVL776:
- 12303 0136 A3E7 b .L954
- 12304 .L968:
-6144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12305 .loc 1 6144 0
- 12306 0138 606B ldr r0, [r4, #52]
- 12307 013a 436B ldr r3, [r0, #52]
- 12308 013c 9847 blx r3
- 12309 .LVL777:
- 12310 013e 9FE7 b .L954
- 12311 .L969:
-6189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12312 .loc 1 6189 0
- 12313 0140 2046 mov r0, r4
- 12314 0142 FFF7FEFF bl I2C_ITError
- 12315 .LVL778:
- 12316 0146 D4E7 b .L953
- 12317 .L970:
-6196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_LISTEN;
- 12318 .loc 1 6196 0
- 12319 0148 0023 movs r3, #0
- 12320 014a 2363 str r3, [r4, #48]
-6197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12321 .loc 1 6197 0
- 12322 014c 2823 movs r3, #40
- 12323 014e 84F83D30 strb r3, [r4, #61]
-6203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 12324 .loc 1 6203 0
- 12325 0152 2046 mov r0, r4
- 12326 0154 FFF7FEFF bl HAL_I2C_SlaveRxCpltCallback
- 12327 .LVL779:
- 12328 0158 C1E7 b .L964
- 12329 .L971:
-6209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->PreviousState = I2C_STATE_NONE;
- 12330 .loc 1 6209 0
- 12331 015a 0D4B ldr r3, .L972+4
- 12332 015c E362 str r3, [r4, #44]
-6210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 12333 .loc 1 6210 0
- 12334 015e 0023 movs r3, #0
- 12335 0160 2363 str r3, [r4, #48]
-6211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 12336 .loc 1 6211 0
- 12337 0162 2022 movs r2, #32
- 12338 0164 84F83D20 strb r2, [r4, #61]
-ARM GAS /tmp/cc8FAL5N.s page 386
-
-
-6212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12339 .loc 1 6212 0
- 12340 0168 84F83E30 strb r3, [r4, #62]
-6218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 12341 .loc 1 6218 0
- 12342 016c 2046 mov r0, r4
- 12343 016e FFF7FEFF bl HAL_I2C_ListenCpltCallback
- 12344 .LVL780:
- 12345 0172 BEE7 b .L953
- 12346 .L966:
-6225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->State = HAL_I2C_STATE_READY;
- 12347 .loc 1 6225 0
- 12348 0174 0023 movs r3, #0
- 12349 0176 2363 str r3, [r4, #48]
-6226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** hi2c->Mode = HAL_I2C_MODE_NONE;
- 12350 .loc 1 6226 0
- 12351 0178 2022 movs r2, #32
- 12352 017a 84F83D20 strb r2, [r4, #61]
-6227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12353 .loc 1 6227 0
- 12354 017e 84F83E30 strb r3, [r4, #62]
-6232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
- 12355 .loc 1 6232 0
- 12356 0182 2046 mov r0, r4
- 12357 0184 FFF7FEFF bl HAL_I2C_SlaveRxCpltCallback
- 12358 .LVL781:
-6237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12359 .loc 1 6237 0
- 12360 0188 B3E7 b .L953
- 12361 .L973:
- 12362 018a 00BF .align 2
- 12363 .L972:
- 12364 018c 00000000 .word I2C_DMAAbort
- 12365 0190 0000FFFF .word -65536
- 12366 .cfi_endproc
- 12367 .LFE127:
- 12369 .section .text.HAL_I2C_EV_IRQHandler,"ax",%progbits
- 12370 .align 1
- 12371 .global HAL_I2C_EV_IRQHandler
- 12372 .syntax unified
- 12373 .thumb
- 12374 .thumb_func
- 12375 .fpu softvfp
- 12377 HAL_I2C_EV_IRQHandler:
- 12378 .LFB99:
-4714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t sr1itflags;
- 12379 .loc 1 4714 0
- 12380 .cfi_startproc
- 12381 @ args = 0, pretend = 0, frame = 0
- 12382 @ frame_needed = 0, uses_anonymous_args = 0
- 12383 .LVL782:
- 12384 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
- 12385 .LCFI164:
- 12386 .cfi_def_cfa_offset 24
- 12387 .cfi_offset 3, -24
- 12388 .cfi_offset 4, -20
- 12389 .cfi_offset 5, -16
-ARM GAS /tmp/cc8FAL5N.s page 387
-
-
- 12390 .cfi_offset 6, -12
- 12391 .cfi_offset 7, -8
- 12392 .cfi_offset 14, -4
- 12393 0002 0446 mov r4, r0
- 12394 .LVL783:
-4717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t CurrentXferOptions = hi2c->XferOptions;
- 12395 .loc 1 4717 0
- 12396 0004 0268 ldr r2, [r0]
- 12397 0006 5568 ldr r5, [r2, #4]
- 12398 .LVL784:
-4718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_ModeTypeDef CurrentMode = hi2c->Mode;
- 12399 .loc 1 4718 0
- 12400 0008 C66A ldr r6, [r0, #44]
- 12401 .LVL785:
-4719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_StateTypeDef CurrentState = hi2c->State;
- 12402 .loc 1 4719 0
- 12403 000a 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2
- 12404 000e DBB2 uxtb r3, r3
- 12405 .LVL786:
-4720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12406 .loc 1 4720 0
- 12407 0010 90F83D10 ldrb r1, [r0, #61] @ zero_extendqisi2
- 12408 .LVL787:
-4723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12409 .loc 1 4723 0
- 12410 0014 102B cmp r3, #16
- 12411 0016 14D0 beq .L975
- 12412 0018 C8B2 uxtb r0, r1
- 12413 .LVL788:
-4723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12414 .loc 1 4723 0 is_stmt 0 discriminator 1
- 12415 001a 402B cmp r3, #64
- 12416 001c 11D0 beq .L975
-4809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12417 .loc 1 4809 0 is_stmt 1
- 12418 001e 236C ldr r3, [r4, #64]
- 12419 .LVL789:
- 12420 0020 002B cmp r3, #0
- 12421 0022 7FD0 beq .L987
-4811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12422 .loc 1 4811 0
- 12423 0024 5369 ldr r3, [r2, #20]
- 12424 .LVL790:
-4716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t itsources = READ_REG(hi2c->Instance->CR2);
- 12425 .loc 1 4716 0
- 12426 0026 0021 movs r1, #0
- 12427 .LVL791:
- 12428 .L988:
-4820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12429 .loc 1 4820 0
- 12430 0028 13F0020F tst r3, #2
- 12431 002c 7DD0 beq .L989
-4820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12432 .loc 1 4820 0 is_stmt 0 discriminator 1
- 12433 002e 15F4007F tst r5, #512
- 12434 0032 7AD0 beq .L989
-4823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-ARM GAS /tmp/cc8FAL5N.s page 388
-
-
- 12435 .loc 1 4823 0 is_stmt 1
- 12436 0034 236C ldr r3, [r4, #64]
- 12437 .LVL792:
- 12438 0036 03B1 cbz r3, .L990
-4825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12439 .loc 1 4825 0
- 12440 0038 9169 ldr r1, [r2, #24]
- 12441 .LVL793:
- 12442 .L990:
-4827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12443 .loc 1 4827 0
- 12444 003a 2046 mov r0, r4
- 12445 .LVL794:
- 12446 003c FFF7FEFF bl I2C_Slave_ADDR
- 12447 .LVL795:
- 12448 0040 F8BD pop {r3, r4, r5, r6, r7, pc}
- 12449 .LVL796:
- 12450 .L975:
-4725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** sr1itflags = READ_REG(hi2c->Instance->SR1);
- 12451 .loc 1 4725 0
- 12452 0042 9769 ldr r7, [r2, #24]
- 12453 .LVL797:
-4726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12454 .loc 1 4726 0
- 12455 0044 5169 ldr r1, [r2, #20]
- 12456 .LVL798:
-4729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12457 .loc 1 4729 0
- 12458 0046 11F00100 ands r0, r1, #1
- 12459 004a 09D1 bne .L977
-4729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12460 .loc 1 4729 0 is_stmt 0 discriminator 1
- 12461 004c B6F52A0F cmp r6, #11141120
- 12462 0050 34D0 beq .L996
-4729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12463 .loc 1 4729 0 discriminator 3
- 12464 0052 B6F12A4F cmp r6, #-1442840576
- 12465 0056 2FD0 beq .L999
-4729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12466 .loc 1 4729 0
- 12467 0058 0026 movs r6, #0
- 12468 .LVL799:
- 12469 .L978:
-4729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12470 .loc 1 4729 0 discriminator 7
- 12471 005a 002E cmp r6, #0
- 12472 005c 40F09580 bne .L974
- 12473 .L977:
-4735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12474 .loc 1 4735 0 is_stmt 1
- 12475 0060 10B1 cbz r0, .L980
-4735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12476 .loc 1 4735 0 is_stmt 0 discriminator 1
- 12477 0062 15F4007F tst r5, #512
- 12478 0066 2BD1 bne .L1000
- 12479 .L980:
-4743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
-ARM GAS /tmp/cc8FAL5N.s page 389
-
-
- 12480 .loc 1 4743 0 is_stmt 1
- 12481 0068 11F0080F tst r1, #8
- 12482 006c 02D0 beq .L981
-4743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12483 .loc 1 4743 0 is_stmt 0 discriminator 1
- 12484 006e 15F4007F tst r5, #512
- 12485 0072 2CD1 bne .L1001
- 12486 .L981:
-4748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12487 .loc 1 4748 0 is_stmt 1
- 12488 0074 11F0020F tst r1, #2
- 12489 0078 02D0 beq .L982
-4748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12490 .loc 1 4748 0 is_stmt 0 discriminator 1
- 12491 007a 15F4007F tst r5, #512
- 12492 007e 2AD1 bne .L1002
- 12493 .L982:
-4753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12494 .loc 1 4753 0 is_stmt 1
- 12495 0080 17F0040F tst r7, #4
- 12496 0084 33D0 beq .L983
-4756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12497 .loc 1 4756 0
- 12498 0086 5268 ldr r2, [r2, #4]
- 12499 0088 12F4006F tst r2, #2048
- 12500 008c 7DD1 bne .L974
-4759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12501 .loc 1 4759 0
- 12502 008e 11F0800F tst r1, #128
- 12503 0092 05D0 beq .L984
-4759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12504 .loc 1 4759 0 is_stmt 0 discriminator 1
- 12505 0094 15F4806F tst r5, #1024
- 12506 0098 02D0 beq .L984
-4759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12507 .loc 1 4759 0 discriminator 2
- 12508 009a 11F0040F tst r1, #4
- 12509 009e 1ED0 beq .L1003
- 12510 .L984:
-4764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12511 .loc 1 4764 0 is_stmt 1
- 12512 00a0 11F0040F tst r1, #4
- 12513 00a4 71D0 beq .L974
-4764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12514 .loc 1 4764 0 is_stmt 0 discriminator 1
- 12515 00a6 15F4007F tst r5, #512
- 12516 00aa 6ED0 beq .L974
-4766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12517 .loc 1 4766 0 is_stmt 1
- 12518 00ac 102B cmp r3, #16
- 12519 00ae 1AD0 beq .L1004
-4772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12520 .loc 1 4772 0
- 12521 00b0 2046 mov r0, r4
- 12522 00b2 FFF7FEFF bl I2C_MemoryTransmit_TXE_BTF
- 12523 .LVL800:
- 12524 00b6 F8BD pop {r3, r4, r5, r6, r7, pc}
-ARM GAS /tmp/cc8FAL5N.s page 390
-
-
- 12525 .LVL801:
- 12526 .L999:
-4729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12527 .loc 1 4729 0
- 12528 00b8 0126 movs r6, #1
- 12529 .LVL802:
- 12530 00ba CEE7 b .L978
- 12531 .LVL803:
- 12532 .L996:
- 12533 00bc 0126 movs r6, #1
- 12534 .LVL804:
- 12535 00be CCE7 b .L978
- 12536 .L1000:
-4738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12537 .loc 1 4738 0
- 12538 00c0 2046 mov r0, r4
- 12539 00c2 FFF7FEFF bl I2C_ConvertOtherXferOptions
- 12540 .LVL805:
-4740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12541 .loc 1 4740 0
- 12542 00c6 2046 mov r0, r4
- 12543 00c8 FFF7FEFF bl I2C_Master_SB
- 12544 .LVL806:
- 12545 00cc F8BD pop {r3, r4, r5, r6, r7, pc}
- 12546 .LVL807:
- 12547 .L1001:
-4745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12548 .loc 1 4745 0
- 12549 00ce 2046 mov r0, r4
- 12550 00d0 FFF7FEFF bl I2C_Master_ADD10
- 12551 .LVL808:
- 12552 00d4 F8BD pop {r3, r4, r5, r6, r7, pc}
- 12553 .LVL809:
- 12554 .L1002:
-4750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12555 .loc 1 4750 0
- 12556 00d6 2046 mov r0, r4
- 12557 00d8 FFF7FEFF bl I2C_Master_ADDR
- 12558 .LVL810:
- 12559 00dc F8BD pop {r3, r4, r5, r6, r7, pc}
- 12560 .LVL811:
- 12561 .L1003:
-4761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12562 .loc 1 4761 0
- 12563 00de 2046 mov r0, r4
- 12564 00e0 FFF7FEFF bl I2C_MasterTransmit_TXE
- 12565 .LVL812:
- 12566 00e4 F8BD pop {r3, r4, r5, r6, r7, pc}
- 12567 .LVL813:
- 12568 .L1004:
-4768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12569 .loc 1 4768 0
- 12570 00e6 2046 mov r0, r4
- 12571 00e8 FFF7FEFF bl I2C_MasterTransmit_BTF
- 12572 .LVL814:
- 12573 00ec F8BD pop {r3, r4, r5, r6, r7, pc}
- 12574 .LVL815:
-ARM GAS /tmp/cc8FAL5N.s page 391
-
-
- 12575 .L983:
-4785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12576 .loc 1 4785 0
- 12577 00ee 5368 ldr r3, [r2, #4]
- 12578 .LVL816:
- 12579 00f0 13F4006F tst r3, #2048
- 12580 00f4 49D1 bne .L974
-4788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12581 .loc 1 4788 0
- 12582 00f6 11F0400F tst r1, #64
- 12583 00fa 05D0 beq .L986
-4788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12584 .loc 1 4788 0 is_stmt 0 discriminator 1
- 12585 00fc 15F4806F tst r5, #1024
- 12586 0100 02D0 beq .L986
-4788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12587 .loc 1 4788 0 discriminator 2
- 12588 0102 11F0040F tst r1, #4
- 12589 0106 09D0 beq .L1005
- 12590 .L986:
-4793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12591 .loc 1 4793 0 is_stmt 1
- 12592 0108 11F0040F tst r1, #4
- 12593 010c 3DD0 beq .L974
-4793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12594 .loc 1 4793 0 is_stmt 0 discriminator 1
- 12595 010e 15F4007F tst r5, #512
- 12596 0112 3AD0 beq .L974
-4795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12597 .loc 1 4795 0 is_stmt 1
- 12598 0114 2046 mov r0, r4
- 12599 0116 FFF7FEFF bl I2C_MasterReceive_BTF
- 12600 .LVL817:
- 12601 011a F8BD pop {r3, r4, r5, r6, r7, pc}
- 12602 .LVL818:
- 12603 .L1005:
-4790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12604 .loc 1 4790 0
- 12605 011c 2046 mov r0, r4
- 12606 011e FFF7FEFF bl I2C_MasterReceive_RXNE
- 12607 .LVL819:
- 12608 0122 F8BD pop {r3, r4, r5, r6, r7, pc}
- 12609 .LVL820:
- 12610 .L987:
-4815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** sr1itflags = READ_REG(hi2c->Instance->SR1);
- 12611 .loc 1 4815 0
- 12612 0124 9169 ldr r1, [r2, #24]
- 12613 .LVL821:
-4816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12614 .loc 1 4816 0
- 12615 0126 5369 ldr r3, [r2, #20]
- 12616 .LVL822:
- 12617 0128 7EE7 b .L988
- 12618 .L989:
-4830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12619 .loc 1 4830 0
- 12620 012a 13F0100F tst r3, #16
-ARM GAS /tmp/cc8FAL5N.s page 392
-
-
- 12621 012e 02D0 beq .L991
-4830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12622 .loc 1 4830 0 is_stmt 0 discriminator 1
- 12623 0130 15F4007F tst r5, #512
- 12624 0134 16D1 bne .L1006
- 12625 .L991:
-4835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12626 .loc 1 4835 0 is_stmt 1
- 12627 0136 2128 cmp r0, #33
- 12628 0138 18D0 beq .L992
-4835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12629 .loc 1 4835 0 is_stmt 0 discriminator 1
- 12630 013a 2928 cmp r0, #41
- 12631 013c 16D0 beq .L992
-4856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12632 .loc 1 4856 0 is_stmt 1
- 12633 013e 13F0400F tst r3, #64
- 12634 0142 05D0 beq .L995
-4856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12635 .loc 1 4856 0 is_stmt 0 discriminator 1
- 12636 0144 15F4806F tst r5, #1024
- 12637 0148 02D0 beq .L995
-4856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12638 .loc 1 4856 0 discriminator 2
- 12639 014a 13F0040F tst r3, #4
- 12640 014e 25D0 beq .L1007
- 12641 .L995:
-4861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12642 .loc 1 4861 0 is_stmt 1
- 12643 0150 13F0040F tst r3, #4
- 12644 0154 19D0 beq .L974
-4861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12645 .loc 1 4861 0 is_stmt 0 discriminator 1
- 12646 0156 15F4007F tst r5, #512
- 12647 015a 16D0 beq .L974
-4863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12648 .loc 1 4863 0 is_stmt 1
- 12649 015c 2046 mov r0, r4
- 12650 .LVL823:
- 12651 015e FFF7FEFF bl I2C_SlaveReceive_BTF
- 12652 .LVL824:
- 12653 0162 12E0 b .L974
- 12654 .LVL825:
- 12655 .L1006:
-4832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12656 .loc 1 4832 0
- 12657 0164 2046 mov r0, r4
- 12658 .LVL826:
- 12659 0166 FFF7FEFF bl I2C_Slave_STOPF
- 12660 .LVL827:
- 12661 016a F8BD pop {r3, r4, r5, r6, r7, pc}
- 12662 .LVL828:
- 12663 .L992:
-4838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12664 .loc 1 4838 0
- 12665 016c 13F0800F tst r3, #128
- 12666 0170 05D0 beq .L994
-ARM GAS /tmp/cc8FAL5N.s page 393
-
-
-4838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12667 .loc 1 4838 0 is_stmt 0 discriminator 1
- 12668 0172 15F4806F tst r5, #1024
- 12669 0176 02D0 beq .L994
-4838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12670 .loc 1 4838 0 discriminator 2
- 12671 0178 13F0040F tst r3, #4
- 12672 017c 06D0 beq .L1008
- 12673 .L994:
-4843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12674 .loc 1 4843 0 is_stmt 1
- 12675 017e 13F0040F tst r3, #4
- 12676 0182 02D0 beq .L974
-4843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12677 .loc 1 4843 0 is_stmt 0 discriminator 1
- 12678 0184 15F4007F tst r5, #512
- 12679 0188 04D1 bne .L1009
- 12680 .LVL829:
- 12681 .L974:
- 12682 018a F8BD pop {r3, r4, r5, r6, r7, pc}
- 12683 .LVL830:
- 12684 .L1008:
-4840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12685 .loc 1 4840 0 is_stmt 1
- 12686 018c 2046 mov r0, r4
- 12687 .LVL831:
- 12688 018e FFF7FEFF bl I2C_SlaveTransmit_TXE
- 12689 .LVL832:
- 12690 0192 F8BD pop {r3, r4, r5, r6, r7, pc}
- 12691 .LVL833:
- 12692 .L1009:
-4845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12693 .loc 1 4845 0
- 12694 0194 2046 mov r0, r4
- 12695 .LVL834:
- 12696 0196 FFF7FEFF bl I2C_SlaveTransmit_BTF
- 12697 .LVL835:
- 12698 019a F8BD pop {r3, r4, r5, r6, r7, pc}
- 12699 .LVL836:
- 12700 .L1007:
-4858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12701 .loc 1 4858 0
- 12702 019c 2046 mov r0, r4
- 12703 .LVL837:
- 12704 019e FFF7FEFF bl I2C_SlaveReceive_RXNE
- 12705 .LVL838:
- 12706 01a2 F8BD pop {r3, r4, r5, r6, r7, pc}
- 12707 .cfi_endproc
- 12708 .LFE99:
- 12710 .section .text.HAL_I2C_ER_IRQHandler,"ax",%progbits
- 12711 .align 1
- 12712 .global HAL_I2C_ER_IRQHandler
- 12713 .syntax unified
- 12714 .thumb
- 12715 .thumb_func
- 12716 .fpu softvfp
- 12718 HAL_I2C_ER_IRQHandler:
-ARM GAS /tmp/cc8FAL5N.s page 394
-
-
- 12719 .LFB100:
-4880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_ModeTypeDef tmp1;
- 12720 .loc 1 4880 0
- 12721 .cfi_startproc
- 12722 @ args = 0, pretend = 0, frame = 0
- 12723 @ frame_needed = 0, uses_anonymous_args = 0
- 12724 .LVL839:
- 12725 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
- 12726 .LCFI165:
- 12727 .cfi_def_cfa_offset 24
- 12728 .cfi_offset 3, -24
- 12729 .cfi_offset 4, -20
- 12730 .cfi_offset 5, -16
- 12731 .cfi_offset 6, -12
- 12732 .cfi_offset 7, -8
- 12733 .cfi_offset 14, -4
- 12734 0002 0446 mov r4, r0
-4885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t itsources = READ_REG(hi2c->Instance->CR2);
- 12735 .loc 1 4885 0
- 12736 0004 0368 ldr r3, [r0]
- 12737 0006 5D69 ldr r5, [r3, #20]
- 12738 .LVL840:
-4886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** uint32_t error = HAL_I2C_ERROR_NONE;
- 12739 .loc 1 4886 0
- 12740 0008 5F68 ldr r7, [r3, #4]
- 12741 .LVL841:
-4888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12742 .loc 1 4888 0
- 12743 000a 90F83E20 ldrb r2, [r0, #62] @ zero_extendqisi2
- 12744 000e D2B2 uxtb r2, r2
- 12745 .LVL842:
-4891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12746 .loc 1 4891 0
- 12747 0010 15F4807F tst r5, #256
- 12748 0014 0CD0 beq .L1019
-4891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12749 .loc 1 4891 0 is_stmt 0 discriminator 1
- 12750 0016 17F4807F tst r7, #256
- 12751 001a 3CD0 beq .L1020
- 12752 .LVL843:
-4896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12753 .loc 1 4896 0 is_stmt 1
- 12754 001c 6FF48071 mvn r1, #256
- 12755 0020 5961 str r1, [r3, #20]
-4899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12756 .loc 1 4899 0
- 12757 0022 0168 ldr r1, [r0]
- 12758 0024 0B68 ldr r3, [r1]
- 12759 0026 43F40043 orr r3, r3, #32768
- 12760 002a 0B60 str r3, [r1]
-4893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12761 .loc 1 4893 0
- 12762 002c 0126 movs r6, #1
- 12763 002e 00E0 b .L1011
- 12764 .LVL844:
- 12765 .L1019:
-4887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_ModeTypeDef CurrentMode = hi2c->Mode;
-ARM GAS /tmp/cc8FAL5N.s page 395
-
-
- 12766 .loc 1 4887 0
- 12767 0030 0026 movs r6, #0
- 12768 .LVL845:
- 12769 .L1011:
-4903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12770 .loc 1 4903 0
- 12771 0032 15F4007F tst r5, #512
- 12772 0036 08D0 beq .L1012
-4903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12773 .loc 1 4903 0 is_stmt 0 discriminator 1
- 12774 0038 17F4807F tst r7, #256
- 12775 003c 05D0 beq .L1012
-4905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12776 .loc 1 4905 0 is_stmt 1
- 12777 003e 46F00206 orr r6, r6, #2
- 12778 .LVL846:
-4908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12779 .loc 1 4908 0
- 12780 0042 2368 ldr r3, [r4]
- 12781 0044 6FF40071 mvn r1, #512
- 12782 0048 5961 str r1, [r3, #20]
- 12783 .L1012:
-4912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12784 .loc 1 4912 0
- 12785 004a 15F4806F tst r5, #1024
- 12786 004e 14D0 beq .L1013
-4912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12787 .loc 1 4912 0 is_stmt 0 discriminator 1
- 12788 0050 17F4807F tst r7, #256
- 12789 0054 11D0 beq .L1013
- 12790 .LVL847:
-4915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** tmp3 = hi2c->State;
- 12791 .loc 1 4915 0 is_stmt 1
- 12792 0056 638D ldrh r3, [r4, #42]
- 12793 0058 99B2 uxth r1, r3
- 12794 .LVL848:
-4916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** tmp4 = hi2c->PreviousState;
- 12795 .loc 1 4916 0
- 12796 005a 94F83D30 ldrb r3, [r4, #61] @ zero_extendqisi2
- 12797 005e DBB2 uxtb r3, r3
- 12798 .LVL849:
-4917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** if ((tmp1 == HAL_I2C_MODE_SLAVE) && (tmp2 == 0U) && \
- 12799 .loc 1 4917 0
- 12800 0060 206B ldr r0, [r4, #48]
- 12801 .LVL850:
-4918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ((tmp3 == HAL_I2C_STATE_BUSY_TX) || (tmp3 == HAL_I2C_STATE_BUSY_TX_LISTEN) || \
- 12802 .loc 1 4918 0
- 12803 0062 202A cmp r2, #32
- 12804 0064 19D0 beq .L1022
- 12805 .L1014:
-4927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12806 .loc 1 4927 0
- 12807 0066 2368 ldr r3, [r4]
- 12808 .LVL851:
- 12809 0068 6FF48061 mvn r1, #1024
- 12810 .LVL852:
- 12811 006c 5961 str r1, [r3, #20]
-ARM GAS /tmp/cc8FAL5N.s page 396
-
-
-4929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12812 .loc 1 4929 0
- 12813 006e 46F00406 orr r6, r6, #4
- 12814 .LVL853:
-4932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12815 .loc 1 4932 0
- 12816 0072 102A cmp r2, #16
- 12817 0074 1FD0 beq .L1016
-4932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12818 .loc 1 4932 0 is_stmt 0 discriminator 1
- 12819 0076 402A cmp r2, #64
- 12820 0078 1DD0 beq .L1016
- 12821 .LVL854:
- 12822 .L1013:
-4941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12823 .loc 1 4941 0 is_stmt 1
- 12824 007a 15F4006F tst r5, #2048
- 12825 007e 08D0 beq .L1017
-4941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12826 .loc 1 4941 0 is_stmt 0 discriminator 1
- 12827 0080 17F4807F tst r7, #256
- 12828 0084 05D0 beq .L1017
-4943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Clear OVR flag */
- 12829 .loc 1 4943 0 is_stmt 1
- 12830 0086 46F00806 orr r6, r6, #8
- 12831 .LVL855:
-4945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12832 .loc 1 4945 0
- 12833 008a 2368 ldr r3, [r4]
- 12834 008c 6FF40062 mvn r2, #2048
- 12835 0090 5A61 str r2, [r3, #20]
- 12836 .L1017:
-4949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12837 .loc 1 4949 0
- 12838 0092 B6B9 cbnz r6, .L1023
- 12839 .LVL856:
- 12840 .L1010:
- 12841 0094 F8BD pop {r3, r4, r5, r6, r7, pc}
- 12842 .LVL857:
- 12843 .L1020:
-4887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** HAL_I2C_ModeTypeDef CurrentMode = hi2c->Mode;
- 12844 .loc 1 4887 0
- 12845 0096 0026 movs r6, #0
- 12846 0098 CBE7 b .L1011
- 12847 .LVL858:
- 12848 .L1022:
-4918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ((tmp3 == HAL_I2C_STATE_BUSY_TX) || (tmp3 == HAL_I2C_STATE_BUSY_TX_LISTEN) || \
- 12849 .loc 1 4918 0 discriminator 1
- 12850 009a 0029 cmp r1, #0
- 12851 009c E3D1 bne .L1014
-4918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ((tmp3 == HAL_I2C_STATE_BUSY_TX) || (tmp3 == HAL_I2C_STATE_BUSY_TX_LISTEN) || \
- 12852 .loc 1 4918 0 is_stmt 0 discriminator 2
- 12853 009e 212B cmp r3, #33
- 12854 00a0 05D0 beq .L1015
-4919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ((tmp3 == HAL_I2C_STATE_LISTEN) && (tmp4 == I2C_STATE_SLAVE_BUSY_TX))))
- 12855 .loc 1 4919 0 is_stmt 1
- 12856 00a2 292B cmp r3, #41
-ARM GAS /tmp/cc8FAL5N.s page 397
-
-
- 12857 00a4 03D0 beq .L1015
-4919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** ((tmp3 == HAL_I2C_STATE_LISTEN) && (tmp4 == I2C_STATE_SLAVE_BUSY_TX))))
- 12858 .loc 1 4919 0 is_stmt 0 discriminator 1
- 12859 00a6 282B cmp r3, #40
- 12860 00a8 DDD1 bne .L1014
-4920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** {
- 12861 .loc 1 4920 0 is_stmt 1
- 12862 00aa 2128 cmp r0, #33
- 12863 00ac DBD1 bne .L1014
- 12864 .L1015:
-4922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12865 .loc 1 4922 0
- 12866 00ae 2046 mov r0, r4
- 12867 .LVL859:
- 12868 00b0 FFF7FEFF bl I2C_Slave_AF
- 12869 .LVL860:
- 12870 00b4 E1E7 b .L1013
- 12871 .LVL861:
- 12872 .L1016:
-4935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12873 .loc 1 4935 0
- 12874 00b6 2268 ldr r2, [r4]
- 12875 .LVL862:
- 12876 00b8 1368 ldr r3, [r2]
- 12877 00ba 43F40073 orr r3, r3, #512
- 12878 00be 1360 str r3, [r2]
- 12879 00c0 DBE7 b .L1013
- 12880 .LVL863:
- 12881 .L1023:
-4951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** I2C_ITError(hi2c);
- 12882 .loc 1 4951 0
- 12883 00c2 236C ldr r3, [r4, #64]
- 12884 00c4 1E43 orrs r6, r6, r3
- 12885 .LVL864:
- 12886 00c6 2664 str r6, [r4, #64]
-4952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12887 .loc 1 4952 0
- 12888 00c8 2046 mov r0, r4
- 12889 00ca FFF7FEFF bl I2C_ITError
- 12890 .LVL865:
-4954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12891 .loc 1 4954 0
- 12892 00ce E1E7 b .L1010
- 12893 .cfi_endproc
- 12894 .LFE100:
- 12896 .section .text.HAL_I2C_GetState,"ax",%progbits
- 12897 .align 1
- 12898 .global HAL_I2C_GetState
- 12899 .syntax unified
- 12900 .thumb
- 12901 .thumb_func
- 12902 .fpu softvfp
- 12904 HAL_I2C_GetState:
- 12905 .LFB111:
-5145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** /* Return I2C handle state */
- 12906 .loc 1 5145 0
- 12907 .cfi_startproc
-ARM GAS /tmp/cc8FAL5N.s page 398
-
-
- 12908 @ args = 0, pretend = 0, frame = 0
- 12909 @ frame_needed = 0, uses_anonymous_args = 0
- 12910 @ link register save eliminated.
- 12911 .LVL866:
-5147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12912 .loc 1 5147 0
- 12913 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2
- 12914 .LVL867:
-5148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12915 .loc 1 5148 0
- 12916 0004 7047 bx lr
- 12917 .cfi_endproc
- 12918 .LFE111:
- 12920 .section .text.HAL_I2C_GetMode,"ax",%progbits
- 12921 .align 1
- 12922 .global HAL_I2C_GetMode
- 12923 .syntax unified
- 12924 .thumb
- 12925 .thumb_func
- 12926 .fpu softvfp
- 12928 HAL_I2C_GetMode:
- 12929 .LFB112:
-5157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return hi2c->Mode;
- 12930 .loc 1 5157 0
- 12931 .cfi_startproc
- 12932 @ args = 0, pretend = 0, frame = 0
- 12933 @ frame_needed = 0, uses_anonymous_args = 0
- 12934 @ link register save eliminated.
- 12935 .LVL868:
-5158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12936 .loc 1 5158 0
- 12937 0000 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2
- 12938 .LVL869:
-5159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12939 .loc 1 5159 0
- 12940 0004 7047 bx lr
- 12941 .cfi_endproc
- 12942 .LFE112:
- 12944 .section .text.HAL_I2C_GetError,"ax",%progbits
- 12945 .align 1
- 12946 .global HAL_I2C_GetError
- 12947 .syntax unified
- 12948 .thumb
- 12949 .thumb_func
- 12950 .fpu softvfp
- 12952 HAL_I2C_GetError:
- 12953 .LFB113:
-5168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** return hi2c->ErrorCode;
- 12954 .loc 1 5168 0
- 12955 .cfi_startproc
- 12956 @ args = 0, pretend = 0, frame = 0
- 12957 @ frame_needed = 0, uses_anonymous_args = 0
- 12958 @ link register save eliminated.
- 12959 .LVL870:
-5169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c **** }
- 12960 .loc 1 5169 0
- 12961 0000 006C ldr r0, [r0, #64]
-ARM GAS /tmp/cc8FAL5N.s page 399
-
-
- 12962 .LVL871:
-5170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_i2c.c ****
- 12963 .loc 1 5170 0
- 12964 0002 7047 bx lr
- 12965 .cfi_endproc
- 12966 .LFE113:
- 12968 .text
- 12969 .Letext0:
- 12970 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 12971 .file 4 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 12972 .file 5 "Drivers/CMSIS/Include/core_cm3.h"
- 12973 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 12974 .file 7 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 12975 .file 8 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h"
- 12976 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 12977 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
- 12978 .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h"
- 12979 .file 12 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
- 12980 .file 13 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h"
-ARM GAS /tmp/cc8FAL5N.s page 400
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_hal_i2c.c
- /tmp/cc8FAL5N.s:16 .text.I2C_Master_SB:0000000000000000 $t
- /tmp/cc8FAL5N.s:22 .text.I2C_Master_SB:0000000000000000 I2C_Master_SB
- /tmp/cc8FAL5N.s:134 .text.I2C_Master_ADD10:0000000000000000 $t
- /tmp/cc8FAL5N.s:140 .text.I2C_Master_ADD10:0000000000000000 I2C_Master_ADD10
- /tmp/cc8FAL5N.s:185 .text.I2C_Master_ADDR:0000000000000000 $t
- /tmp/cc8FAL5N.s:191 .text.I2C_Master_ADDR:0000000000000000 I2C_Master_ADDR
- /tmp/cc8FAL5N.s:591 .text.I2C_SlaveTransmit_BTF:0000000000000000 $t
- /tmp/cc8FAL5N.s:597 .text.I2C_SlaveTransmit_BTF:0000000000000000 I2C_SlaveTransmit_BTF
- /tmp/cc8FAL5N.s:630 .text.I2C_SlaveReceive_BTF:0000000000000000 $t
- /tmp/cc8FAL5N.s:636 .text.I2C_SlaveReceive_BTF:0000000000000000 I2C_SlaveReceive_BTF
- /tmp/cc8FAL5N.s:669 .text.I2C_WaitOnSTOPRequestThroughIT:0000000000000000 $t
- /tmp/cc8FAL5N.s:675 .text.I2C_WaitOnSTOPRequestThroughIT:0000000000000000 I2C_WaitOnSTOPRequestThroughIT
- /tmp/cc8FAL5N.s:734 .text.I2C_WaitOnSTOPRequestThroughIT:0000000000000040 $d
- /tmp/cc8FAL5N.s:740 .text.I2C_IsAcknowledgeFailed:0000000000000000 $t
- /tmp/cc8FAL5N.s:746 .text.I2C_IsAcknowledgeFailed:0000000000000000 I2C_IsAcknowledgeFailed
- /tmp/cc8FAL5N.s:791 .text.I2C_ConvertOtherXferOptions:0000000000000000 $t
- /tmp/cc8FAL5N.s:797 .text.I2C_ConvertOtherXferOptions:0000000000000000 I2C_ConvertOtherXferOptions
- /tmp/cc8FAL5N.s:830 .text.I2C_WaitOnFlagUntilTimeout:0000000000000000 $t
- /tmp/cc8FAL5N.s:836 .text.I2C_WaitOnFlagUntilTimeout:0000000000000000 I2C_WaitOnFlagUntilTimeout
- /tmp/cc8FAL5N.s:925 .text.I2C_WaitOnMasterAddressFlagUntilTimeout:0000000000000000 $t
- /tmp/cc8FAL5N.s:931 .text.I2C_WaitOnMasterAddressFlagUntilTimeout:0000000000000000 I2C_WaitOnMasterAddressFlagUntilTimeout
- /tmp/cc8FAL5N.s:1052 .text.I2C_MasterRequestWrite:0000000000000000 $t
- /tmp/cc8FAL5N.s:1058 .text.I2C_MasterRequestWrite:0000000000000000 I2C_MasterRequestWrite
- /tmp/cc8FAL5N.s:1201 .text.I2C_MasterRequestWrite:00000000000000b4 $d
- /tmp/cc8FAL5N.s:1207 .text.I2C_MasterRequestRead:0000000000000000 $t
- /tmp/cc8FAL5N.s:1213 .text.I2C_MasterRequestRead:0000000000000000 I2C_MasterRequestRead
- /tmp/cc8FAL5N.s:1417 .text.I2C_MasterRequestRead:0000000000000120 $d
- /tmp/cc8FAL5N.s:1423 .text.I2C_WaitOnTXEFlagUntilTimeout:0000000000000000 $t
- /tmp/cc8FAL5N.s:1429 .text.I2C_WaitOnTXEFlagUntilTimeout:0000000000000000 I2C_WaitOnTXEFlagUntilTimeout
- /tmp/cc8FAL5N.s:1503 .text.I2C_RequestMemoryWrite:0000000000000000 $t
- /tmp/cc8FAL5N.s:1509 .text.I2C_RequestMemoryWrite:0000000000000000 I2C_RequestMemoryWrite
- /tmp/cc8FAL5N.s:1674 .text.I2C_RequestMemoryWrite:00000000000000d8 $d
- /tmp/cc8FAL5N.s:1679 .text.I2C_RequestMemoryRead:0000000000000000 $t
- /tmp/cc8FAL5N.s:1685 .text.I2C_RequestMemoryRead:0000000000000000 I2C_RequestMemoryRead
- /tmp/cc8FAL5N.s:1925 .text.I2C_RequestMemoryRead:000000000000015c $d
- /tmp/cc8FAL5N.s:1930 .text.I2C_WaitOnBTFFlagUntilTimeout:0000000000000000 $t
- /tmp/cc8FAL5N.s:1936 .text.I2C_WaitOnBTFFlagUntilTimeout:0000000000000000 I2C_WaitOnBTFFlagUntilTimeout
- /tmp/cc8FAL5N.s:2010 .text.I2C_WaitOnRXNEFlagUntilTimeout:0000000000000000 $t
- /tmp/cc8FAL5N.s:2016 .text.I2C_WaitOnRXNEFlagUntilTimeout:0000000000000000 I2C_WaitOnRXNEFlagUntilTimeout
- /tmp/cc8FAL5N.s:2102 .text.I2C_WaitOnSTOPFlagUntilTimeout:0000000000000000 $t
- /tmp/cc8FAL5N.s:2108 .text.I2C_WaitOnSTOPFlagUntilTimeout:0000000000000000 I2C_WaitOnSTOPFlagUntilTimeout
- /tmp/cc8FAL5N.s:2179 .text.HAL_I2C_MspInit:0000000000000000 $t
- /tmp/cc8FAL5N.s:2186 .text.HAL_I2C_MspInit:0000000000000000 HAL_I2C_MspInit
- /tmp/cc8FAL5N.s:2199 .text.HAL_I2C_Init:0000000000000000 $t
- /tmp/cc8FAL5N.s:2206 .text.HAL_I2C_Init:0000000000000000 HAL_I2C_Init
- /tmp/cc8FAL5N.s:2479 .text.HAL_I2C_Init:00000000000001a0 $d
- /tmp/cc8FAL5N.s:2488 .text.HAL_I2C_MspDeInit:0000000000000000 $t
- /tmp/cc8FAL5N.s:2495 .text.HAL_I2C_MspDeInit:0000000000000000 HAL_I2C_MspDeInit
- /tmp/cc8FAL5N.s:2508 .text.HAL_I2C_DeInit:0000000000000000 $t
- /tmp/cc8FAL5N.s:2515 .text.HAL_I2C_DeInit:0000000000000000 HAL_I2C_DeInit
- /tmp/cc8FAL5N.s:2569 .text.HAL_I2C_Master_Transmit:0000000000000000 $t
- /tmp/cc8FAL5N.s:2576 .text.HAL_I2C_Master_Transmit:0000000000000000 HAL_I2C_Master_Transmit
- /tmp/cc8FAL5N.s:2831 .text.HAL_I2C_Master_Transmit:000000000000016c $d
- /tmp/cc8FAL5N.s:2837 .text.HAL_I2C_Master_Receive:0000000000000000 $t
- /tmp/cc8FAL5N.s:2844 .text.HAL_I2C_Master_Receive:0000000000000000 HAL_I2C_Master_Receive
-ARM GAS /tmp/cc8FAL5N.s page 401
-
-
- /tmp/cc8FAL5N.s:3365 .text.HAL_I2C_Master_Receive:00000000000002a4 $d
- /tmp/cc8FAL5N.s:3372 .text.HAL_I2C_Master_Receive:00000000000002b8 $t
- /tmp/cc8FAL5N.s:3460 .text.HAL_I2C_Slave_Transmit:0000000000000000 $t
- /tmp/cc8FAL5N.s:3467 .text.HAL_I2C_Slave_Transmit:0000000000000000 HAL_I2C_Slave_Transmit
- /tmp/cc8FAL5N.s:3741 .text.HAL_I2C_Slave_Transmit:0000000000000194 $d
- /tmp/cc8FAL5N.s:3747 .text.HAL_I2C_Slave_Receive:0000000000000000 $t
- /tmp/cc8FAL5N.s:3754 .text.HAL_I2C_Slave_Receive:0000000000000000 HAL_I2C_Slave_Receive
- /tmp/cc8FAL5N.s:4006 .text.HAL_I2C_Slave_Receive:0000000000000170 $d
- /tmp/cc8FAL5N.s:4012 .text.HAL_I2C_Master_Transmit_IT:0000000000000000 $t
- /tmp/cc8FAL5N.s:4019 .text.HAL_I2C_Master_Transmit_IT:0000000000000000 HAL_I2C_Master_Transmit_IT
- /tmp/cc8FAL5N.s:4180 .text.HAL_I2C_Master_Transmit_IT:00000000000000cc $d
- /tmp/cc8FAL5N.s:4187 .text.HAL_I2C_Master_Receive_IT:0000000000000000 $t
- /tmp/cc8FAL5N.s:4194 .text.HAL_I2C_Master_Receive_IT:0000000000000000 HAL_I2C_Master_Receive_IT
- /tmp/cc8FAL5N.s:4360 .text.HAL_I2C_Master_Receive_IT:00000000000000d8 $d
- /tmp/cc8FAL5N.s:4367 .text.HAL_I2C_Slave_Transmit_IT:0000000000000000 $t
- /tmp/cc8FAL5N.s:4374 .text.HAL_I2C_Slave_Transmit_IT:0000000000000000 HAL_I2C_Slave_Transmit_IT
- /tmp/cc8FAL5N.s:4490 .text.HAL_I2C_Slave_Transmit_IT:0000000000000088 $d
- /tmp/cc8FAL5N.s:4495 .text.HAL_I2C_Slave_Receive_IT:0000000000000000 $t
- /tmp/cc8FAL5N.s:4502 .text.HAL_I2C_Slave_Receive_IT:0000000000000000 HAL_I2C_Slave_Receive_IT
- /tmp/cc8FAL5N.s:4618 .text.HAL_I2C_Slave_Receive_IT:0000000000000088 $d
- /tmp/cc8FAL5N.s:4623 .text.HAL_I2C_Master_Transmit_DMA:0000000000000000 $t
- /tmp/cc8FAL5N.s:4630 .text.HAL_I2C_Master_Transmit_DMA:0000000000000000 HAL_I2C_Master_Transmit_DMA
- /tmp/cc8FAL5N.s:4865 .text.HAL_I2C_Master_Transmit_DMA:0000000000000150 $d
- /tmp/cc8FAL5N.s:11130 .text.I2C_DMAXferCplt:0000000000000000 I2C_DMAXferCplt
- /tmp/cc8FAL5N.s:11069 .text.I2C_DMAError:0000000000000000 I2C_DMAError
- /tmp/cc8FAL5N.s:4874 .text.HAL_I2C_Master_Receive_DMA:0000000000000000 $t
- /tmp/cc8FAL5N.s:4881 .text.HAL_I2C_Master_Receive_DMA:0000000000000000 HAL_I2C_Master_Receive_DMA
- /tmp/cc8FAL5N.s:5116 .text.HAL_I2C_Master_Receive_DMA:0000000000000150 $d
- /tmp/cc8FAL5N.s:5125 .text.HAL_I2C_Slave_Transmit_DMA:0000000000000000 $t
- /tmp/cc8FAL5N.s:5132 .text.HAL_I2C_Slave_Transmit_DMA:0000000000000000 HAL_I2C_Slave_Transmit_DMA
- /tmp/cc8FAL5N.s:5297 .text.HAL_I2C_Slave_Transmit_DMA:00000000000000d8 $d
- /tmp/cc8FAL5N.s:5304 .text.HAL_I2C_Slave_Receive_DMA:0000000000000000 $t
- /tmp/cc8FAL5N.s:5311 .text.HAL_I2C_Slave_Receive_DMA:0000000000000000 HAL_I2C_Slave_Receive_DMA
- /tmp/cc8FAL5N.s:5476 .text.HAL_I2C_Slave_Receive_DMA:00000000000000d8 $d
- /tmp/cc8FAL5N.s:5483 .text.HAL_I2C_Mem_Write:0000000000000000 $t
- /tmp/cc8FAL5N.s:5490 .text.HAL_I2C_Mem_Write:0000000000000000 HAL_I2C_Mem_Write
- /tmp/cc8FAL5N.s:5734 .text.HAL_I2C_Mem_Write:0000000000000160 $d
- /tmp/cc8FAL5N.s:5740 .text.HAL_I2C_Mem_Read:0000000000000000 $t
- /tmp/cc8FAL5N.s:5747 .text.HAL_I2C_Mem_Read:0000000000000000 HAL_I2C_Mem_Read
- /tmp/cc8FAL5N.s:6244 .text.HAL_I2C_Mem_Read:0000000000000290 $d
- /tmp/cc8FAL5N.s:6251 .text.HAL_I2C_Mem_Read:00000000000002a4 $t
- /tmp/cc8FAL5N.s:6367 .text.HAL_I2C_Mem_Write_IT:0000000000000000 $t
- /tmp/cc8FAL5N.s:6374 .text.HAL_I2C_Mem_Write_IT:0000000000000000 HAL_I2C_Mem_Write_IT
- /tmp/cc8FAL5N.s:6542 .text.HAL_I2C_Mem_Write_IT:00000000000000d8 $d
- /tmp/cc8FAL5N.s:6549 .text.HAL_I2C_Mem_Read_IT:0000000000000000 $t
- /tmp/cc8FAL5N.s:6556 .text.HAL_I2C_Mem_Read_IT:0000000000000000 HAL_I2C_Mem_Read_IT
- /tmp/cc8FAL5N.s:6738 .text.HAL_I2C_Mem_Read_IT:00000000000000ec $d
- /tmp/cc8FAL5N.s:6745 .text.HAL_I2C_Mem_Write_DMA:0000000000000000 $t
- /tmp/cc8FAL5N.s:6752 .text.HAL_I2C_Mem_Write_DMA:0000000000000000 HAL_I2C_Mem_Write_DMA
- /tmp/cc8FAL5N.s:7023 .text.HAL_I2C_Mem_Write_DMA:0000000000000194 $d
- /tmp/cc8FAL5N.s:7032 .text.HAL_I2C_Mem_Read_DMA:0000000000000000 $t
- /tmp/cc8FAL5N.s:7039 .text.HAL_I2C_Mem_Read_DMA:0000000000000000 HAL_I2C_Mem_Read_DMA
- /tmp/cc8FAL5N.s:7352 .text.HAL_I2C_Mem_Read_DMA:00000000000001d4 $d
- /tmp/cc8FAL5N.s:7361 .text.HAL_I2C_IsDeviceReady:0000000000000000 $t
- /tmp/cc8FAL5N.s:7368 .text.HAL_I2C_IsDeviceReady:0000000000000000 HAL_I2C_IsDeviceReady
- /tmp/cc8FAL5N.s:7653 .text.HAL_I2C_IsDeviceReady:0000000000000194 $d
- /tmp/cc8FAL5N.s:7658 .text.HAL_I2C_Master_Seq_Transmit_IT:0000000000000000 $t
-ARM GAS /tmp/cc8FAL5N.s page 402
-
-
- /tmp/cc8FAL5N.s:7665 .text.HAL_I2C_Master_Seq_Transmit_IT:0000000000000000 HAL_I2C_Master_Seq_Transmit_IT
- /tmp/cc8FAL5N.s:7878 .text.HAL_I2C_Master_Seq_Transmit_IT:000000000000010c $d
- /tmp/cc8FAL5N.s:7884 .text.HAL_I2C_Master_Seq_Transmit_DMA:0000000000000000 $t
- /tmp/cc8FAL5N.s:7891 .text.HAL_I2C_Master_Seq_Transmit_DMA:0000000000000000 HAL_I2C_Master_Seq_Transmit_DMA
- /tmp/cc8FAL5N.s:8215 .text.HAL_I2C_Master_Seq_Transmit_DMA:00000000000001c4 $d
- /tmp/cc8FAL5N.s:8223 .text.HAL_I2C_Master_Seq_Receive_IT:0000000000000000 $t
- /tmp/cc8FAL5N.s:8230 .text.HAL_I2C_Master_Seq_Receive_IT:0000000000000000 HAL_I2C_Master_Seq_Receive_IT
- /tmp/cc8FAL5N.s:8502 .text.HAL_I2C_Master_Seq_Receive_IT:0000000000000158 $d
- /tmp/cc8FAL5N.s:8508 .text.HAL_I2C_Master_Seq_Receive_DMA:0000000000000000 $t
- /tmp/cc8FAL5N.s:8515 .text.HAL_I2C_Master_Seq_Receive_DMA:0000000000000000 HAL_I2C_Master_Seq_Receive_DMA
- /tmp/cc8FAL5N.s:8918 .text.HAL_I2C_Master_Seq_Receive_DMA:0000000000000234 $d
- /tmp/cc8FAL5N.s:8926 .text.HAL_I2C_Slave_Seq_Transmit_IT:0000000000000000 $t
- /tmp/cc8FAL5N.s:8933 .text.HAL_I2C_Slave_Seq_Transmit_IT:0000000000000000 HAL_I2C_Slave_Seq_Transmit_IT
- /tmp/cc8FAL5N.s:9064 .text.HAL_I2C_Slave_Seq_Transmit_DMA:0000000000000000 $t
- /tmp/cc8FAL5N.s:9071 .text.HAL_I2C_Slave_Seq_Transmit_DMA:0000000000000000 HAL_I2C_Slave_Seq_Transmit_DMA
- /tmp/cc8FAL5N.s:9335 .text.HAL_I2C_Slave_Seq_Transmit_DMA:0000000000000170 $d
- /tmp/cc8FAL5N.s:11545 .text.I2C_DMAAbort:0000000000000000 I2C_DMAAbort
- /tmp/cc8FAL5N.s:9342 .text.HAL_I2C_Slave_Seq_Receive_IT:0000000000000000 $t
- /tmp/cc8FAL5N.s:9349 .text.HAL_I2C_Slave_Seq_Receive_IT:0000000000000000 HAL_I2C_Slave_Seq_Receive_IT
- /tmp/cc8FAL5N.s:9480 .text.HAL_I2C_Slave_Seq_Receive_DMA:0000000000000000 $t
- /tmp/cc8FAL5N.s:9487 .text.HAL_I2C_Slave_Seq_Receive_DMA:0000000000000000 HAL_I2C_Slave_Seq_Receive_DMA
- /tmp/cc8FAL5N.s:9751 .text.HAL_I2C_Slave_Seq_Receive_DMA:0000000000000170 $d
- /tmp/cc8FAL5N.s:9758 .text.HAL_I2C_EnableListen_IT:0000000000000000 $t
- /tmp/cc8FAL5N.s:9765 .text.HAL_I2C_EnableListen_IT:0000000000000000 HAL_I2C_EnableListen_IT
- /tmp/cc8FAL5N.s:9816 .text.HAL_I2C_DisableListen_IT:0000000000000000 $t
- /tmp/cc8FAL5N.s:9823 .text.HAL_I2C_DisableListen_IT:0000000000000000 HAL_I2C_DisableListen_IT
- /tmp/cc8FAL5N.s:9876 .text.HAL_I2C_MasterTxCpltCallback:0000000000000000 $t
- /tmp/cc8FAL5N.s:9883 .text.HAL_I2C_MasterTxCpltCallback:0000000000000000 HAL_I2C_MasterTxCpltCallback
- /tmp/cc8FAL5N.s:9896 .text.I2C_MasterTransmit_BTF:0000000000000000 $t
- /tmp/cc8FAL5N.s:9902 .text.I2C_MasterTransmit_BTF:0000000000000000 I2C_MasterTransmit_BTF
- /tmp/cc8FAL5N.s:10010 .text.HAL_I2C_MasterRxCpltCallback:0000000000000000 $t
- /tmp/cc8FAL5N.s:10017 .text.HAL_I2C_MasterRxCpltCallback:0000000000000000 HAL_I2C_MasterRxCpltCallback
- /tmp/cc8FAL5N.s:10030 .text.HAL_I2C_SlaveTxCpltCallback:0000000000000000 $t
- /tmp/cc8FAL5N.s:10037 .text.HAL_I2C_SlaveTxCpltCallback:0000000000000000 HAL_I2C_SlaveTxCpltCallback
- /tmp/cc8FAL5N.s:10050 .text.I2C_SlaveTransmit_TXE:0000000000000000 $t
- /tmp/cc8FAL5N.s:10056 .text.I2C_SlaveTransmit_TXE:0000000000000000 I2C_SlaveTransmit_TXE
- /tmp/cc8FAL5N.s:10125 .text.HAL_I2C_SlaveRxCpltCallback:0000000000000000 $t
- /tmp/cc8FAL5N.s:10132 .text.HAL_I2C_SlaveRxCpltCallback:0000000000000000 HAL_I2C_SlaveRxCpltCallback
- /tmp/cc8FAL5N.s:10145 .text.I2C_SlaveReceive_RXNE:0000000000000000 $t
- /tmp/cc8FAL5N.s:10151 .text.I2C_SlaveReceive_RXNE:0000000000000000 I2C_SlaveReceive_RXNE
- /tmp/cc8FAL5N.s:10220 .text.HAL_I2C_AddrCallback:0000000000000000 $t
- /tmp/cc8FAL5N.s:10227 .text.HAL_I2C_AddrCallback:0000000000000000 HAL_I2C_AddrCallback
- /tmp/cc8FAL5N.s:10240 .text.I2C_Slave_ADDR:0000000000000000 $t
- /tmp/cc8FAL5N.s:10246 .text.I2C_Slave_ADDR:0000000000000000 I2C_Slave_ADDR
- /tmp/cc8FAL5N.s:10317 .text.HAL_I2C_ListenCpltCallback:0000000000000000 $t
- /tmp/cc8FAL5N.s:10324 .text.HAL_I2C_ListenCpltCallback:0000000000000000 HAL_I2C_ListenCpltCallback
- /tmp/cc8FAL5N.s:10337 .text.I2C_Slave_AF:0000000000000000 $t
- /tmp/cc8FAL5N.s:10343 .text.I2C_Slave_AF:0000000000000000 I2C_Slave_AF
- /tmp/cc8FAL5N.s:10453 .text.I2C_Slave_AF:0000000000000090 $d
- /tmp/cc8FAL5N.s:10458 .text.HAL_I2C_MemTxCpltCallback:0000000000000000 $t
- /tmp/cc8FAL5N.s:10465 .text.HAL_I2C_MemTxCpltCallback:0000000000000000 HAL_I2C_MemTxCpltCallback
- /tmp/cc8FAL5N.s:10478 .text.I2C_MemoryTransmit_TXE_BTF:0000000000000000 $t
- /tmp/cc8FAL5N.s:10484 .text.I2C_MemoryTransmit_TXE_BTF:0000000000000000 I2C_MemoryTransmit_TXE_BTF
- /tmp/cc8FAL5N.s:10633 .text.I2C_MasterTransmit_TXE:0000000000000000 $t
- /tmp/cc8FAL5N.s:10639 .text.I2C_MasterTransmit_TXE:0000000000000000 I2C_MasterTransmit_TXE
- /tmp/cc8FAL5N.s:10804 .text.HAL_I2C_MemRxCpltCallback:0000000000000000 $t
- /tmp/cc8FAL5N.s:10811 .text.HAL_I2C_MemRxCpltCallback:0000000000000000 HAL_I2C_MemRxCpltCallback
-ARM GAS /tmp/cc8FAL5N.s page 403
-
-
- /tmp/cc8FAL5N.s:10824 .text.I2C_MasterReceive_BTF:0000000000000000 $t
- /tmp/cc8FAL5N.s:10830 .text.I2C_MasterReceive_BTF:0000000000000000 I2C_MasterReceive_BTF
- /tmp/cc8FAL5N.s:11043 .text.HAL_I2C_ErrorCallback:0000000000000000 $t
- /tmp/cc8FAL5N.s:11050 .text.HAL_I2C_ErrorCallback:0000000000000000 HAL_I2C_ErrorCallback
- /tmp/cc8FAL5N.s:11063 .text.I2C_DMAError:0000000000000000 $t
- /tmp/cc8FAL5N.s:11124 .text.I2C_DMAXferCplt:0000000000000000 $t
- /tmp/cc8FAL5N.s:11346 .text.I2C_MasterReceive_RXNE:0000000000000000 $t
- /tmp/cc8FAL5N.s:11352 .text.I2C_MasterReceive_RXNE:0000000000000000 I2C_MasterReceive_RXNE
- /tmp/cc8FAL5N.s:11519 .text.HAL_I2C_AbortCpltCallback:0000000000000000 $t
- /tmp/cc8FAL5N.s:11526 .text.HAL_I2C_AbortCpltCallback:0000000000000000 HAL_I2C_AbortCpltCallback
- /tmp/cc8FAL5N.s:11539 .text.I2C_DMAAbort:0000000000000000 $t
- /tmp/cc8FAL5N.s:11707 .text.I2C_DMAAbort:00000000000000dc $d
- /tmp/cc8FAL5N.s:11713 .text.I2C_ITError:0000000000000000 $t
- /tmp/cc8FAL5N.s:11719 .text.I2C_ITError:0000000000000000 I2C_ITError
- /tmp/cc8FAL5N.s:11978 .text.I2C_ITError:000000000000016c $d
- /tmp/cc8FAL5N.s:11984 .text.HAL_I2C_Master_Abort_IT:0000000000000000 $t
- /tmp/cc8FAL5N.s:11991 .text.HAL_I2C_Master_Abort_IT:0000000000000000 HAL_I2C_Master_Abort_IT
- /tmp/cc8FAL5N.s:12080 .text.I2C_Slave_STOPF:0000000000000000 $t
- /tmp/cc8FAL5N.s:12086 .text.I2C_Slave_STOPF:0000000000000000 I2C_Slave_STOPF
- /tmp/cc8FAL5N.s:12364 .text.I2C_Slave_STOPF:000000000000018c $d
- /tmp/cc8FAL5N.s:12370 .text.HAL_I2C_EV_IRQHandler:0000000000000000 $t
- /tmp/cc8FAL5N.s:12377 .text.HAL_I2C_EV_IRQHandler:0000000000000000 HAL_I2C_EV_IRQHandler
- /tmp/cc8FAL5N.s:12711 .text.HAL_I2C_ER_IRQHandler:0000000000000000 $t
- /tmp/cc8FAL5N.s:12718 .text.HAL_I2C_ER_IRQHandler:0000000000000000 HAL_I2C_ER_IRQHandler
- /tmp/cc8FAL5N.s:12897 .text.HAL_I2C_GetState:0000000000000000 $t
- /tmp/cc8FAL5N.s:12904 .text.HAL_I2C_GetState:0000000000000000 HAL_I2C_GetState
- /tmp/cc8FAL5N.s:12921 .text.HAL_I2C_GetMode:0000000000000000 $t
- /tmp/cc8FAL5N.s:12928 .text.HAL_I2C_GetMode:0000000000000000 HAL_I2C_GetMode
- /tmp/cc8FAL5N.s:12945 .text.HAL_I2C_GetError:0000000000000000 $t
- /tmp/cc8FAL5N.s:12952 .text.HAL_I2C_GetError:0000000000000000 HAL_I2C_GetError
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-SystemCoreClock
-HAL_GetTick
-HAL_RCC_GetPCLK1Freq
-HAL_DMA_Start_IT
-HAL_DMA_Abort_IT
-HAL_DMA_GetState
diff --git a/build/stm32f1xx_hal_i2c.o b/build/stm32f1xx_hal_i2c.o
deleted file mode 100644
index ebe8626..0000000
Binary files a/build/stm32f1xx_hal_i2c.o and /dev/null differ
diff --git a/build/stm32f1xx_hal_msp.d b/build/stm32f1xx_hal_msp.d
deleted file mode 100644
index f529500..0000000
--- a/build/stm32f1xx_hal_msp.d
+++ /dev/null
@@ -1,94 +0,0 @@
-build/stm32f1xx_hal_msp.o: Core/Src/stm32f1xx_hal_msp.c Core/Inc/main.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Core/Inc/main.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/stm32f1xx_hal_msp.lst b/build/stm32f1xx_hal_msp.lst
deleted file mode 100644
index 07f8dde..0000000
--- a/build/stm32f1xx_hal_msp.lst
+++ /dev/null
@@ -1,187 +0,0 @@
-ARM GAS /tmp/ccvcMfVV.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "stm32f1xx_hal_msp.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.HAL_MspInit,"ax",%progbits
- 16 .align 1
- 17 .global HAL_MspInit
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 HAL_MspInit:
- 24 .LFB65:
- 25 .file 1 "Core/Src/stm32f1xx_hal_msp.c"
- 1:Core/Src/stm32f1xx_hal_msp.c **** /* USER CODE BEGIN Header */
- 2:Core/Src/stm32f1xx_hal_msp.c **** /**
- 3:Core/Src/stm32f1xx_hal_msp.c **** ******************************************************************************
- 4:Core/Src/stm32f1xx_hal_msp.c **** * @file stm32f1xx_hal_msp.c
- 5:Core/Src/stm32f1xx_hal_msp.c **** * @brief This file provides code for the MSP Initialization
- 6:Core/Src/stm32f1xx_hal_msp.c **** * and de-Initialization codes.
- 7:Core/Src/stm32f1xx_hal_msp.c **** ******************************************************************************
- 8:Core/Src/stm32f1xx_hal_msp.c **** * @attention
- 9:Core/Src/stm32f1xx_hal_msp.c **** *
- 10:Core/Src/stm32f1xx_hal_msp.c **** * © Copyright (c) 2021 STMicroelectronics.
- 11:Core/Src/stm32f1xx_hal_msp.c **** * All rights reserved.
- 12:Core/Src/stm32f1xx_hal_msp.c **** *
- 13:Core/Src/stm32f1xx_hal_msp.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 14:Core/Src/stm32f1xx_hal_msp.c **** * the "License"; You may not use this file except in compliance with the
- 15:Core/Src/stm32f1xx_hal_msp.c **** * License. You may obtain a copy of the License at:
- 16:Core/Src/stm32f1xx_hal_msp.c **** * opensource.org/licenses/BSD-3-Clause
- 17:Core/Src/stm32f1xx_hal_msp.c **** *
- 18:Core/Src/stm32f1xx_hal_msp.c **** ******************************************************************************
- 19:Core/Src/stm32f1xx_hal_msp.c **** */
- 20:Core/Src/stm32f1xx_hal_msp.c **** /* USER CODE END Header */
- 21:Core/Src/stm32f1xx_hal_msp.c ****
- 22:Core/Src/stm32f1xx_hal_msp.c **** /* Includes ------------------------------------------------------------------*/
- 23:Core/Src/stm32f1xx_hal_msp.c **** #include "main.h"
- 24:Core/Src/stm32f1xx_hal_msp.c **** /* USER CODE BEGIN Includes */
- 25:Core/Src/stm32f1xx_hal_msp.c ****
- 26:Core/Src/stm32f1xx_hal_msp.c **** /* USER CODE END Includes */
- 27:Core/Src/stm32f1xx_hal_msp.c ****
- 28:Core/Src/stm32f1xx_hal_msp.c **** /* Private typedef -----------------------------------------------------------*/
- 29:Core/Src/stm32f1xx_hal_msp.c **** /* USER CODE BEGIN TD */
- 30:Core/Src/stm32f1xx_hal_msp.c ****
- 31:Core/Src/stm32f1xx_hal_msp.c **** /* USER CODE END TD */
- 32:Core/Src/stm32f1xx_hal_msp.c ****
- 33:Core/Src/stm32f1xx_hal_msp.c **** /* Private define ------------------------------------------------------------*/
-ARM GAS /tmp/ccvcMfVV.s page 2
-
-
- 34:Core/Src/stm32f1xx_hal_msp.c **** /* USER CODE BEGIN Define */
- 35:Core/Src/stm32f1xx_hal_msp.c ****
- 36:Core/Src/stm32f1xx_hal_msp.c **** /* USER CODE END Define */
- 37:Core/Src/stm32f1xx_hal_msp.c ****
- 38:Core/Src/stm32f1xx_hal_msp.c **** /* Private macro -------------------------------------------------------------*/
- 39:Core/Src/stm32f1xx_hal_msp.c **** /* USER CODE BEGIN Macro */
- 40:Core/Src/stm32f1xx_hal_msp.c ****
- 41:Core/Src/stm32f1xx_hal_msp.c **** /* USER CODE END Macro */
- 42:Core/Src/stm32f1xx_hal_msp.c ****
- 43:Core/Src/stm32f1xx_hal_msp.c **** /* Private variables ---------------------------------------------------------*/
- 44:Core/Src/stm32f1xx_hal_msp.c **** /* USER CODE BEGIN PV */
- 45:Core/Src/stm32f1xx_hal_msp.c ****
- 46:Core/Src/stm32f1xx_hal_msp.c **** /* USER CODE END PV */
- 47:Core/Src/stm32f1xx_hal_msp.c ****
- 48:Core/Src/stm32f1xx_hal_msp.c **** /* Private function prototypes -----------------------------------------------*/
- 49:Core/Src/stm32f1xx_hal_msp.c **** /* USER CODE BEGIN PFP */
- 50:Core/Src/stm32f1xx_hal_msp.c ****
- 51:Core/Src/stm32f1xx_hal_msp.c **** /* USER CODE END PFP */
- 52:Core/Src/stm32f1xx_hal_msp.c ****
- 53:Core/Src/stm32f1xx_hal_msp.c **** /* External functions --------------------------------------------------------*/
- 54:Core/Src/stm32f1xx_hal_msp.c **** /* USER CODE BEGIN ExternalFunctions */
- 55:Core/Src/stm32f1xx_hal_msp.c ****
- 56:Core/Src/stm32f1xx_hal_msp.c **** /* USER CODE END ExternalFunctions */
- 57:Core/Src/stm32f1xx_hal_msp.c ****
- 58:Core/Src/stm32f1xx_hal_msp.c **** /* USER CODE BEGIN 0 */
- 59:Core/Src/stm32f1xx_hal_msp.c ****
- 60:Core/Src/stm32f1xx_hal_msp.c **** /* USER CODE END 0 */
- 61:Core/Src/stm32f1xx_hal_msp.c **** /**
- 62:Core/Src/stm32f1xx_hal_msp.c **** * Initializes the Global MSP.
- 63:Core/Src/stm32f1xx_hal_msp.c **** */
- 64:Core/Src/stm32f1xx_hal_msp.c **** void HAL_MspInit(void)
- 65:Core/Src/stm32f1xx_hal_msp.c **** {
- 26 .loc 1 65 0
- 27 .cfi_startproc
- 28 @ args = 0, pretend = 0, frame = 8
- 29 @ frame_needed = 0, uses_anonymous_args = 0
- 30 @ link register save eliminated.
- 31 0000 82B0 sub sp, sp, #8
- 32 .LCFI0:
- 33 .cfi_def_cfa_offset 8
- 34 .LBB2:
- 66:Core/Src/stm32f1xx_hal_msp.c **** /* USER CODE BEGIN MspInit 0 */
- 67:Core/Src/stm32f1xx_hal_msp.c ****
- 68:Core/Src/stm32f1xx_hal_msp.c **** /* USER CODE END MspInit 0 */
- 69:Core/Src/stm32f1xx_hal_msp.c ****
- 70:Core/Src/stm32f1xx_hal_msp.c **** __HAL_RCC_AFIO_CLK_ENABLE();
- 35 .loc 1 70 0
- 36 0002 0E4B ldr r3, .L3
- 37 0004 9A69 ldr r2, [r3, #24]
- 38 0006 42F00102 orr r2, r2, #1
- 39 000a 9A61 str r2, [r3, #24]
- 40 000c 9A69 ldr r2, [r3, #24]
- 41 000e 02F00102 and r2, r2, #1
- 42 0012 0092 str r2, [sp]
- 43 0014 009A ldr r2, [sp]
- 44 .LBE2:
- 45 .LBB3:
-ARM GAS /tmp/ccvcMfVV.s page 3
-
-
- 71:Core/Src/stm32f1xx_hal_msp.c **** __HAL_RCC_PWR_CLK_ENABLE();
- 46 .loc 1 71 0
- 47 0016 DA69 ldr r2, [r3, #28]
- 48 0018 42F08052 orr r2, r2, #268435456
- 49 001c DA61 str r2, [r3, #28]
- 50 001e DB69 ldr r3, [r3, #28]
- 51 0020 03F08053 and r3, r3, #268435456
- 52 0024 0193 str r3, [sp, #4]
- 53 0026 019B ldr r3, [sp, #4]
- 54 .LBE3:
- 55 .LBB4:
- 72:Core/Src/stm32f1xx_hal_msp.c ****
- 73:Core/Src/stm32f1xx_hal_msp.c **** /* System interrupt init*/
- 74:Core/Src/stm32f1xx_hal_msp.c ****
- 75:Core/Src/stm32f1xx_hal_msp.c **** /** NOJTAG: JTAG-DP Disabled and SW-DP Enabled
- 76:Core/Src/stm32f1xx_hal_msp.c **** */
- 77:Core/Src/stm32f1xx_hal_msp.c **** __HAL_AFIO_REMAP_SWJ_NOJTAG();
- 56 .loc 1 77 0
- 57 0028 054A ldr r2, .L3+4
- 58 002a 5368 ldr r3, [r2, #4]
- 59 .LVL0:
- 60 002c 23F0E063 bic r3, r3, #117440512
- 61 .LVL1:
- 62 0030 43F00073 orr r3, r3, #33554432
- 63 .LVL2:
- 64 0034 5360 str r3, [r2, #4]
- 65 .LBE4:
- 78:Core/Src/stm32f1xx_hal_msp.c ****
- 79:Core/Src/stm32f1xx_hal_msp.c **** /* USER CODE BEGIN MspInit 1 */
- 80:Core/Src/stm32f1xx_hal_msp.c ****
- 81:Core/Src/stm32f1xx_hal_msp.c **** /* USER CODE END MspInit 1 */
- 82:Core/Src/stm32f1xx_hal_msp.c **** }
- 66 .loc 1 82 0
- 67 0036 02B0 add sp, sp, #8
- 68 .LCFI1:
- 69 .cfi_def_cfa_offset 0
- 70 @ sp needed
- 71 0038 7047 bx lr
- 72 .L4:
- 73 003a 00BF .align 2
- 74 .L3:
- 75 003c 00100240 .word 1073876992
- 76 0040 00000140 .word 1073807360
- 77 .cfi_endproc
- 78 .LFE65:
- 80 .text
- 81 .Letext0:
- 82 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 83 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 84 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 85 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 86 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 87 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
-ARM GAS /tmp/ccvcMfVV.s page 4
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_hal_msp.c
- /tmp/ccvcMfVV.s:16 .text.HAL_MspInit:0000000000000000 $t
- /tmp/ccvcMfVV.s:23 .text.HAL_MspInit:0000000000000000 HAL_MspInit
- /tmp/ccvcMfVV.s:75 .text.HAL_MspInit:000000000000003c $d
- .debug_frame:0000000000000010 $d
-
-NO UNDEFINED SYMBOLS
diff --git a/build/stm32f1xx_hal_msp.o b/build/stm32f1xx_hal_msp.o
deleted file mode 100644
index ced1789..0000000
Binary files a/build/stm32f1xx_hal_msp.o and /dev/null differ
diff --git a/build/stm32f1xx_hal_pwr.d b/build/stm32f1xx_hal_pwr.d
deleted file mode 100644
index 30914a9..0000000
--- a/build/stm32f1xx_hal_pwr.d
+++ /dev/null
@@ -1,93 +0,0 @@
-build/stm32f1xx_hal_pwr.o: \
- Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/stm32f1xx_hal_pwr.lst b/build/stm32f1xx_hal_pwr.lst
deleted file mode 100644
index cd2922b..0000000
--- a/build/stm32f1xx_hal_pwr.lst
+++ /dev/null
@@ -1,2460 +0,0 @@
-ARM GAS /tmp/ccSwWQUY.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "stm32f1xx_hal_pwr.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.PWR_OverloadWfe,"ax",%progbits
- 16 .align 1
- 17 .syntax unified
- 18 .thumb
- 19 .thumb_func
- 20 .fpu softvfp
- 22 PWR_OverloadWfe:
- 23 .LFB65:
- 24 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c"
- 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
- 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** ******************************************************************************
- 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @file stm32f1xx_hal_pwr.c
- 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @author MCD Application Team
- 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @brief PWR HAL module driver.
- 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** *
- 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * This file provides firmware functions to manage the following
- 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * functionalities of the Power Controller (PWR) peripheral:
- 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * + Initialization/de-initialization functions
- 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * + Peripheral Control functions
- 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** *
- 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** ******************************************************************************
- 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @attention
- 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** *
- 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * © Copyright (c) 2016 STMicroelectronics.
- 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * All rights reserved.
- 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** *
- 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * the "License"; You may not use this file except in compliance with the
- 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * License. You may obtain a copy of the License at:
- 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * opensource.org/licenses/BSD-3-Clause
- 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** *
- 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** ******************************************************************************
- 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Includes ------------------------------------------------------------------*/
- 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** #include "stm32f1xx_hal.h"
- 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /** @addtogroup STM32F1xx_HAL_Driver
- 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @{
- 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /** @defgroup PWR PWR
- 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @brief PWR HAL module driver
-ARM GAS /tmp/ccSwWQUY.s page 2
-
-
- 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @{
- 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** #ifdef HAL_PWR_MODULE_ENABLED
- 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Private typedef -----------------------------------------------------------*/
- 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Private define ------------------------------------------------------------*/
- 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /** @defgroup PWR_Private_Constants PWR Private Constants
- 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @{
- 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /** @defgroup PWR_PVD_Mode_Mask PWR PVD Mode Mask
- 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @{
- 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** #define PVD_MODE_IT 0x00010000U
- 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** #define PVD_MODE_EVT 0x00020000U
- 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** #define PVD_RISING_EDGE 0x00000001U
- 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** #define PVD_FALLING_EDGE 0x00000002U
- 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
- 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @}
- 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /** @defgroup PWR_register_alias_address PWR Register alias address
- 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @{
- 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* ------------- PWR registers bit address in the alias region ---------------*/
- 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** #define PWR_OFFSET (PWR_BASE - PERIPH_BASE)
- 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** #define PWR_CR_OFFSET 0x00U
- 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** #define PWR_CSR_OFFSET 0x04U
- 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** #define PWR_CR_OFFSET_BB (PWR_OFFSET + PWR_CR_OFFSET)
- 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** #define PWR_CSR_OFFSET_BB (PWR_OFFSET + PWR_CSR_OFFSET)
- 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
- 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @}
- 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /** @defgroup PWR_CR_register_alias PWR CR Register alias address
- 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @{
- 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* --- CR Register ---*/
- 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Alias word address of LPSDSR bit */
- 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** #define LPSDSR_BIT_NUMBER PWR_CR_LPDS_Pos
- 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** #define CR_LPSDSR_BB ((uint32_t)(PERIPH_BB_BASE + (PWR_CR_OFFSET_BB * 32U) + (LPSDSR_BI
- 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Alias word address of DBP bit */
- 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** #define DBP_BIT_NUMBER PWR_CR_DBP_Pos
- 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** #define CR_DBP_BB ((uint32_t)(PERIPH_BB_BASE + (PWR_CR_OFFSET_BB * 32U) + (DBP_BIT_N
- 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Alias word address of PVDE bit */
- 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** #define PVDE_BIT_NUMBER PWR_CR_PVDE_Pos
- 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** #define CR_PVDE_BB ((uint32_t)(PERIPH_BB_BASE + (PWR_CR_OFFSET_BB * 32U) + (PVDE_BIT_
- 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
- 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @}
- 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
-ARM GAS /tmp/ccSwWQUY.s page 3
-
-
- 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /** @defgroup PWR_CSR_register_alias PWR CSR Register alias address
- 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @{
- 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* --- CSR Register ---*/
- 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Alias word address of EWUP1 bit */
- 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** #define CSR_EWUP_BB(VAL) ((uint32_t)(PERIPH_BB_BASE + (PWR_CSR_OFFSET_BB * 32U) + (POSITION
- 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
- 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @}
- 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
- 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @}
- 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Private variables ---------------------------------------------------------*/
- 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Private function prototypes -----------------------------------------------*/
- 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /** @defgroup PWR_Private_Functions PWR Private Functions
- 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * brief WFE cortex command overloaded for HAL_PWR_EnterSTOPMode usage only (see Workaround secti
- 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @{
- 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** static void PWR_OverloadWfe(void);
- 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Private functions ---------------------------------------------------------*/
- 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __NOINLINE
- 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** static void PWR_OverloadWfe(void)
- 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 25 .loc 1 118 0
- 26 .cfi_startproc
- 27 @ args = 0, pretend = 0, frame = 0
- 28 @ frame_needed = 0, uses_anonymous_args = 0
- 29 @ link register save eliminated.
- 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __asm volatile( "wfe" );
- 30 .loc 1 119 0
- 31 .syntax unified
- 32 @ 119 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c" 1
- 33 0000 20BF wfe
- 34 @ 0 "" 2
- 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __asm volatile( "nop" );
- 35 .loc 1 120 0
- 36 @ 120 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c" 1
- 37 0002 00BF nop
- 38 @ 0 "" 2
- 39 .thumb
- 40 .syntax unified
- 41 0004 7047 bx lr
- 42 .cfi_endproc
- 43 .LFE65:
- 45 .section .text.HAL_PWR_DeInit,"ax",%progbits
- 46 .align 1
- 47 .global HAL_PWR_DeInit
- 48 .syntax unified
- 49 .thumb
- 50 .thumb_func
- 51 .fpu softvfp
- 53 HAL_PWR_DeInit:
- 54 .LFB66:
-ARM GAS /tmp/ccSwWQUY.s page 4
-
-
- 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
- 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @}
- 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /** @defgroup PWR_Exported_Functions PWR Exported Functions
- 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @{
- 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /** @defgroup PWR_Exported_Functions_Group1 Initialization and de-initialization functions
- 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @brief Initialization and de-initialization functions
- 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** *
- 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** @verbatim
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** ===============================================================================
- 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** ##### Initialization and de-initialization functions #####
- 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** ===============================================================================
- 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** [..]
- 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** After reset, the backup domain (RTC registers, RTC backup data
- 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** registers) is protected against possible unwanted
- 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** write accesses.
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** To enable access to the RTC Domain and RTC registers, proceed as follows:
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (+) Enable the Power Controller (PWR) APB1 interface clock using the
- 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __HAL_RCC_PWR_CLK_ENABLE() macro.
- 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (+) Enable access to RTC domain using the HAL_PWR_EnableBkUpAccess() function.
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** @endverbatim
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @{
- 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
- 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @brief Deinitializes the PWR peripheral registers to their default reset values.
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @retval None
- 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** void HAL_PWR_DeInit(void)
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 55 .loc 1 157 0
- 56 .cfi_startproc
- 57 @ args = 0, pretend = 0, frame = 0
- 58 @ frame_needed = 0, uses_anonymous_args = 0
- 59 @ link register save eliminated.
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __HAL_RCC_PWR_FORCE_RESET();
- 60 .loc 1 158 0
- 61 0000 044B ldr r3, .L3
- 62 0002 1A69 ldr r2, [r3, #16]
- 63 0004 42F08052 orr r2, r2, #268435456
- 64 0008 1A61 str r2, [r3, #16]
- 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __HAL_RCC_PWR_RELEASE_RESET();
- 65 .loc 1 159 0
- 66 000a 1A69 ldr r2, [r3, #16]
- 67 000c 22F08052 bic r2, r2, #268435456
- 68 0010 1A61 str r2, [r3, #16]
- 69 0012 7047 bx lr
- 70 .L4:
- 71 .align 2
- 72 .L3:
-ARM GAS /tmp/ccSwWQUY.s page 5
-
-
- 73 0014 00100240 .word 1073876992
- 74 .cfi_endproc
- 75 .LFE66:
- 77 .section .text.HAL_PWR_EnableBkUpAccess,"ax",%progbits
- 78 .align 1
- 79 .global HAL_PWR_EnableBkUpAccess
- 80 .syntax unified
- 81 .thumb
- 82 .thumb_func
- 83 .fpu softvfp
- 85 HAL_PWR_EnableBkUpAccess:
- 86 .LFB67:
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @brief Enables access to the backup domain (RTC registers, RTC
- 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * backup data registers ).
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @note If the HSE divided by 128 is used as the RTC clock, the
- 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * Backup Domain Access should be kept enabled.
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @retval None
- 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** void HAL_PWR_EnableBkUpAccess(void)
- 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 87 .loc 1 170 0
- 88 .cfi_startproc
- 89 @ args = 0, pretend = 0, frame = 0
- 90 @ frame_needed = 0, uses_anonymous_args = 0
- 91 @ link register save eliminated.
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Enable access to RTC and backup registers */
- 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** *(__IO uint32_t *) CR_DBP_BB = (uint32_t)ENABLE;
- 92 .loc 1 172 0
- 93 0000 0122 movs r2, #1
- 94 0002 014B ldr r3, .L6
- 95 0004 1A60 str r2, [r3]
- 96 0006 7047 bx lr
- 97 .L7:
- 98 .align 2
- 99 .L6:
- 100 0008 20000E42 .word 1108213792
- 101 .cfi_endproc
- 102 .LFE67:
- 104 .section .text.HAL_PWR_DisableBkUpAccess,"ax",%progbits
- 105 .align 1
- 106 .global HAL_PWR_DisableBkUpAccess
- 107 .syntax unified
- 108 .thumb
- 109 .thumb_func
- 110 .fpu softvfp
- 112 HAL_PWR_DisableBkUpAccess:
- 113 .LFB68:
- 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @brief Disables access to the backup domain (RTC registers, RTC
- 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * backup data registers).
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @note If the HSE divided by 128 is used as the RTC clock, the
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * Backup Domain Access should be kept enabled.
-ARM GAS /tmp/ccSwWQUY.s page 6
-
-
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @retval None
- 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** void HAL_PWR_DisableBkUpAccess(void)
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 114 .loc 1 183 0
- 115 .cfi_startproc
- 116 @ args = 0, pretend = 0, frame = 0
- 117 @ frame_needed = 0, uses_anonymous_args = 0
- 118 @ link register save eliminated.
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Disable access to RTC and backup registers */
- 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** *(__IO uint32_t *) CR_DBP_BB = (uint32_t)DISABLE;
- 119 .loc 1 185 0
- 120 0000 0022 movs r2, #0
- 121 0002 014B ldr r3, .L9
- 122 0004 1A60 str r2, [r3]
- 123 0006 7047 bx lr
- 124 .L10:
- 125 .align 2
- 126 .L9:
- 127 0008 20000E42 .word 1108213792
- 128 .cfi_endproc
- 129 .LFE68:
- 131 .section .text.HAL_PWR_ConfigPVD,"ax",%progbits
- 132 .align 1
- 133 .global HAL_PWR_ConfigPVD
- 134 .syntax unified
- 135 .thumb
- 136 .thumb_func
- 137 .fpu softvfp
- 139 HAL_PWR_ConfigPVD:
- 140 .LFB69:
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @}
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /** @defgroup PWR_Exported_Functions_Group2 Peripheral Control functions
- 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @brief Low Power modes configuration functions
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** *
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** @verbatim
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** ===============================================================================
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** ##### Peripheral Control functions #####
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** ===============================================================================
- 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** *** PVD configuration ***
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** =========================
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** [..]
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (+) The PVD is used to monitor the VDD power supply by comparing it to a
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** threshold selected by the PVD Level (PLS[2:0] bits in the PWR_CR).
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (+) A PVDO flag is available to indicate if VDD/VDDA is higher or lower
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** than the PVD threshold. This event is internally connected to the EXTI
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** line16 and can generate an interrupt if enabled. This is done through
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __HAL_PVD_EXTI_ENABLE_IT() macro.
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (+) The PVD is stopped in Standby mode.
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
-ARM GAS /tmp/ccSwWQUY.s page 7
-
-
- 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** *** WakeUp pin configuration ***
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** ================================
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** [..]
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (+) WakeUp pin is used to wake up the system from Standby mode. This pin is
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** forced in input pull-down configuration and is active on rising edges.
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (+) There is one WakeUp pin:
- 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** WakeUp Pin 1 on PA.00.
- 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** [..]
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** *** Low Power modes configuration ***
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** =====================================
- 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** [..]
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** The device features 3 low-power modes:
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (+) Sleep mode: CPU clock off, all peripherals including Cortex-M3 core peripherals like
- 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** NVIC, SysTick, etc. are kept running
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (+) Stop mode: All clocks are stopped
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (+) Standby mode: 1.8V domain powered off
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** *** Sleep mode ***
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** ==================
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** [..]
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (+) Entry:
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** The Sleep mode is entered by using the HAL_PWR_EnterSLEEPMode(PWR_MAINREGULATOR_ON, PWR_S
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** functions with
- 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (++) PWR_SLEEPENTRY_WFI: enter SLEEP mode with WFI instruction
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (++) PWR_SLEEPENTRY_WFE: enter SLEEP mode with WFE instruction
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (+) Exit:
- 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (++) WFI entry mode, Any peripheral interrupt acknowledged by the nested vectored interrupt
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** controller (NVIC) can wake up the device from Sleep mode.
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (++) WFE entry mode, Any wakeup event can wake up the device from Sleep mode.
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (+++) Any peripheral interrupt w/o NVIC configuration & SEVONPEND bit set in the Cortex
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (+++) Any EXTI Line (Internal or External) configured in Event mode
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** *** Stop mode ***
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** =================
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** [..]
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** The Stop mode is based on the Cortex-M3 deepsleep mode combined with peripheral
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** clock gating. The voltage regulator can be configured either in normal or low-power mode.
- 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** In Stop mode, all clocks in the 1.8 V domain are stopped, the PLL, the HSI and the HSE RC
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** oscillators are disabled. SRAM and register contents are preserved.
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** In Stop mode, all I/O pins keep the same state as in Run mode.
- 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (+) Entry:
- 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** The Stop mode is entered using the HAL_PWR_EnterSTOPMode(PWR_REGULATOR_VALUE, PWR_SLEEPE
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** function with:
- 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (++) PWR_REGULATOR_VALUE= PWR_MAINREGULATOR_ON: Main regulator ON.
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (++) PWR_REGULATOR_VALUE= PWR_LOWPOWERREGULATOR_ON: Low Power regulator ON.
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (++) PWR_SLEEPENTRY_WFx= PWR_SLEEPENTRY_WFI: enter STOP mode with WFI instruction
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (++) PWR_SLEEPENTRY_WFx= PWR_SLEEPENTRY_WFE: enter STOP mode with WFE instruction
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (+) Exit:
- 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (++) WFI entry mode, Any EXTI Line (Internal or External) configured in Interrupt mode wi
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (++) WFE entry mode, Any EXTI Line (Internal or External) configured in Event mode.
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** *** Standby mode ***
-ARM GAS /tmp/ccSwWQUY.s page 8
-
-
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** ====================
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** [..]
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** The Standby mode allows to achieve the lowest power consumption. It is based on the
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** Cortex-M3 deepsleep mode, with the voltage regulator disabled. The 1.8 V domain is
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** consequently powered off. The PLL, the HSI oscillator and the HSE oscillator are also
- 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** switched off. SRAM and register contents are lost except for registers in the Backup domain
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** and Standby circuitry
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (+) Entry:
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (++) The Standby mode is entered using the HAL_PWR_EnterSTANDBYMode() function.
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (+) Exit:
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (++) WKUP pin rising edge, RTC alarm event rising edge, external Reset in
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** NRSTpin, IWDG Reset
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** *** Auto-wakeup (AWU) from low-power mode ***
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** =============================================
- 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** [..]
- 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (+) The MCU can be woken up from low-power mode by an RTC Alarm event,
- 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** without depending on an external interrupt (Auto-wakeup mode).
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (+) RTC auto-wakeup (AWU) from the Stop and Standby modes
- 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (++) To wake up from the Stop mode with an RTC alarm event, it is necessary to
- 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** configure the RTC to generate the RTC alarm using the HAL_RTC_SetAlarm_IT() functio
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** *** PWR Workarounds linked to Silicon Limitation ***
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** ====================================================
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** [..]
- 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** Below the list of all silicon limitations known on STM32F1xx prouct.
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (#)Workarounds Implemented inside PWR HAL Driver
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** (##)Debugging Stop mode with WFE entry - overloaded the WFE by an internal function
- 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** @endverbatim
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @{
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @brief Configures the voltage threshold detected by the Power Voltage Detector(PVD).
- 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @param sConfigPVD: pointer to an PWR_PVDTypeDef structure that contains the configuration
- 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * information for the PVD.
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @note Refer to the electrical characteristics of your device datasheet for
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * more details about the voltage threshold corresponding to each
- 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * detection level.
- 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @retval None
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** void HAL_PWR_ConfigPVD(PWR_PVDTypeDef *sConfigPVD)
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 141 .loc 1 317 0
- 142 .cfi_startproc
- 143 @ args = 0, pretend = 0, frame = 0
- 144 @ frame_needed = 0, uses_anonymous_args = 0
- 145 @ link register save eliminated.
- 146 .LVL0:
- 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Check the parameters */
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** assert_param(IS_PWR_PVD_LEVEL(sConfigPVD->PVDLevel));
-ARM GAS /tmp/ccSwWQUY.s page 9
-
-
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** assert_param(IS_PWR_PVD_MODE(sConfigPVD->Mode));
- 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Set PLS[7:5] bits according to PVDLevel value */
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** MODIFY_REG(PWR->CR, PWR_CR_PLS, sConfigPVD->PVDLevel);
- 147 .loc 1 323 0
- 148 0000 1E4A ldr r2, .L16
- 149 0002 1368 ldr r3, [r2]
- 150 0004 23F0E003 bic r3, r3, #224
- 151 0008 0168 ldr r1, [r0]
- 152 000a 0B43 orrs r3, r3, r1
- 153 000c 1360 str r3, [r2]
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Clear any previous config. Keep it clear if no event or IT mode is selected */
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __HAL_PWR_PVD_EXTI_DISABLE_EVENT();
- 154 .loc 1 326 0
- 155 000e 1C4B ldr r3, .L16+4
- 156 0010 5A68 ldr r2, [r3, #4]
- 157 0012 22F48032 bic r2, r2, #65536
- 158 0016 5A60 str r2, [r3, #4]
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __HAL_PWR_PVD_EXTI_DISABLE_IT();
- 159 .loc 1 327 0
- 160 0018 1A68 ldr r2, [r3]
- 161 001a 22F48032 bic r2, r2, #65536
- 162 001e 1A60 str r2, [r3]
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE();
- 163 .loc 1 328 0
- 164 0020 DA68 ldr r2, [r3, #12]
- 165 0022 22F48032 bic r2, r2, #65536
- 166 0026 DA60 str r2, [r3, #12]
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE();
- 167 .loc 1 329 0
- 168 0028 9A68 ldr r2, [r3, #8]
- 169 002a 22F48032 bic r2, r2, #65536
- 170 002e 9A60 str r2, [r3, #8]
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Configure interrupt mode */
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** if((sConfigPVD->Mode & PVD_MODE_IT) == PVD_MODE_IT)
- 171 .loc 1 332 0
- 172 0030 4368 ldr r3, [r0, #4]
- 173 0032 13F4803F tst r3, #65536
- 174 0036 04D0 beq .L12
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __HAL_PWR_PVD_EXTI_ENABLE_IT();
- 175 .loc 1 334 0
- 176 0038 114A ldr r2, .L16+4
- 177 003a 1368 ldr r3, [r2]
- 178 003c 43F48033 orr r3, r3, #65536
- 179 0040 1360 str r3, [r2]
- 180 .L12:
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Configure event mode */
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** if((sConfigPVD->Mode & PVD_MODE_EVT) == PVD_MODE_EVT)
- 181 .loc 1 338 0
- 182 0042 4368 ldr r3, [r0, #4]
- 183 0044 13F4003F tst r3, #131072
- 184 0048 04D0 beq .L13
-ARM GAS /tmp/ccSwWQUY.s page 10
-
-
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __HAL_PWR_PVD_EXTI_ENABLE_EVENT();
- 185 .loc 1 340 0
- 186 004a 0D4A ldr r2, .L16+4
- 187 004c 5368 ldr r3, [r2, #4]
- 188 004e 43F48033 orr r3, r3, #65536
- 189 0052 5360 str r3, [r2, #4]
- 190 .L13:
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Configure the edge */
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** if((sConfigPVD->Mode & PVD_RISING_EDGE) == PVD_RISING_EDGE)
- 191 .loc 1 344 0
- 192 0054 4368 ldr r3, [r0, #4]
- 193 0056 13F0010F tst r3, #1
- 194 005a 04D0 beq .L14
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE();
- 195 .loc 1 346 0
- 196 005c 084A ldr r2, .L16+4
- 197 005e 9368 ldr r3, [r2, #8]
- 198 0060 43F48033 orr r3, r3, #65536
- 199 0064 9360 str r3, [r2, #8]
- 200 .L14:
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** if((sConfigPVD->Mode & PVD_FALLING_EDGE) == PVD_FALLING_EDGE)
- 201 .loc 1 349 0
- 202 0066 4368 ldr r3, [r0, #4]
- 203 0068 13F0020F tst r3, #2
- 204 006c 04D0 beq .L11
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE();
- 205 .loc 1 351 0
- 206 006e 044A ldr r2, .L16+4
- 207 0070 D368 ldr r3, [r2, #12]
- 208 0072 43F48033 orr r3, r3, #65536
- 209 0076 D360 str r3, [r2, #12]
- 210 .L11:
- 211 0078 7047 bx lr
- 212 .L17:
- 213 007a 00BF .align 2
- 214 .L16:
- 215 007c 00700040 .word 1073770496
- 216 0080 00040140 .word 1073808384
- 217 .cfi_endproc
- 218 .LFE69:
- 220 .section .text.HAL_PWR_EnablePVD,"ax",%progbits
- 221 .align 1
- 222 .global HAL_PWR_EnablePVD
- 223 .syntax unified
- 224 .thumb
- 225 .thumb_func
- 226 .fpu softvfp
- 228 HAL_PWR_EnablePVD:
- 229 .LFB70:
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
-ARM GAS /tmp/ccSwWQUY.s page 11
-
-
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @brief Enables the Power Voltage Detector(PVD).
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @retval None
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** void HAL_PWR_EnablePVD(void)
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 230 .loc 1 360 0
- 231 .cfi_startproc
- 232 @ args = 0, pretend = 0, frame = 0
- 233 @ frame_needed = 0, uses_anonymous_args = 0
- 234 @ link register save eliminated.
- 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Enable the power voltage detector */
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** *(__IO uint32_t *) CR_PVDE_BB = (uint32_t)ENABLE;
- 235 .loc 1 362 0
- 236 0000 0122 movs r2, #1
- 237 0002 014B ldr r3, .L19
- 238 0004 1A60 str r2, [r3]
- 239 0006 7047 bx lr
- 240 .L20:
- 241 .align 2
- 242 .L19:
- 243 0008 10000E42 .word 1108213776
- 244 .cfi_endproc
- 245 .LFE70:
- 247 .section .text.HAL_PWR_DisablePVD,"ax",%progbits
- 248 .align 1
- 249 .global HAL_PWR_DisablePVD
- 250 .syntax unified
- 251 .thumb
- 252 .thumb_func
- 253 .fpu softvfp
- 255 HAL_PWR_DisablePVD:
- 256 .LFB71:
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @brief Disables the Power Voltage Detector(PVD).
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @retval None
- 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** void HAL_PWR_DisablePVD(void)
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 257 .loc 1 370 0
- 258 .cfi_startproc
- 259 @ args = 0, pretend = 0, frame = 0
- 260 @ frame_needed = 0, uses_anonymous_args = 0
- 261 @ link register save eliminated.
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Disable the power voltage detector */
- 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** *(__IO uint32_t *) CR_PVDE_BB = (uint32_t)DISABLE;
- 262 .loc 1 372 0
- 263 0000 0022 movs r2, #0
- 264 0002 014B ldr r3, .L22
- 265 0004 1A60 str r2, [r3]
- 266 0006 7047 bx lr
- 267 .L23:
- 268 .align 2
-ARM GAS /tmp/ccSwWQUY.s page 12
-
-
- 269 .L22:
- 270 0008 10000E42 .word 1108213776
- 271 .cfi_endproc
- 272 .LFE71:
- 274 .section .text.HAL_PWR_EnableWakeUpPin,"ax",%progbits
- 275 .align 1
- 276 .global HAL_PWR_EnableWakeUpPin
- 277 .syntax unified
- 278 .thumb
- 279 .thumb_func
- 280 .fpu softvfp
- 282 HAL_PWR_EnableWakeUpPin:
- 283 .LFB72:
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @brief Enables the WakeUp PINx functionality.
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @param WakeUpPinx: Specifies the Power Wake-Up pin to enable.
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * This parameter can be one of the following values:
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @arg PWR_WAKEUP_PIN1
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @retval None
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** void HAL_PWR_EnableWakeUpPin(uint32_t WakeUpPinx)
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 284 .loc 1 383 0
- 285 .cfi_startproc
- 286 @ args = 0, pretend = 0, frame = 0
- 287 @ frame_needed = 0, uses_anonymous_args = 0
- 288 @ link register save eliminated.
- 289 .LVL1:
- 290 .LBB6:
- 291 .LBB7:
- 292 .file 2 "Drivers/CMSIS/Include/cmsis_gcc.h"
- 1:Drivers/CMSIS/Include/cmsis_gcc.h **** /**************************************************************************//**
- 2:Drivers/CMSIS/Include/cmsis_gcc.h **** * @file cmsis_gcc.h
- 3:Drivers/CMSIS/Include/cmsis_gcc.h **** * @brief CMSIS compiler GCC header file
- 4:Drivers/CMSIS/Include/cmsis_gcc.h **** * @version V5.0.4
- 5:Drivers/CMSIS/Include/cmsis_gcc.h **** * @date 09. April 2018
- 6:Drivers/CMSIS/Include/cmsis_gcc.h **** ******************************************************************************/
- 7:Drivers/CMSIS/Include/cmsis_gcc.h **** /*
- 8:Drivers/CMSIS/Include/cmsis_gcc.h **** * Copyright (c) 2009-2018 Arm Limited. All rights reserved.
- 9:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 10:Drivers/CMSIS/Include/cmsis_gcc.h **** * SPDX-License-Identifier: Apache-2.0
- 11:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 12:Drivers/CMSIS/Include/cmsis_gcc.h **** * Licensed under the Apache License, Version 2.0 (the License); you may
- 13:Drivers/CMSIS/Include/cmsis_gcc.h **** * not use this file except in compliance with the License.
- 14:Drivers/CMSIS/Include/cmsis_gcc.h **** * You may obtain a copy of the License at
- 15:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 16:Drivers/CMSIS/Include/cmsis_gcc.h **** * www.apache.org/licenses/LICENSE-2.0
- 17:Drivers/CMSIS/Include/cmsis_gcc.h **** *
- 18:Drivers/CMSIS/Include/cmsis_gcc.h **** * Unless required by applicable law or agreed to in writing, software
- 19:Drivers/CMSIS/Include/cmsis_gcc.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT
- 20:Drivers/CMSIS/Include/cmsis_gcc.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- 21:Drivers/CMSIS/Include/cmsis_gcc.h **** * See the License for the specific language governing permissions and
- 22:Drivers/CMSIS/Include/cmsis_gcc.h **** * limitations under the License.
- 23:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 24:Drivers/CMSIS/Include/cmsis_gcc.h ****
-ARM GAS /tmp/ccSwWQUY.s page 13
-
-
- 25:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __CMSIS_GCC_H
- 26:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_H
- 27:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 28:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ignore some GCC warnings */
- 29:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 30:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wsign-conversion"
- 31:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wconversion"
- 32:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wunused-parameter"
- 33:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 34:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Fallback for __has_builtin */
- 35:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __has_builtin
- 36:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __has_builtin(x) (0)
- 37:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 38:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 39:Drivers/CMSIS/Include/cmsis_gcc.h **** /* CMSIS compiler specific defines */
- 40:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ASM
- 41:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ASM __asm
- 42:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 43:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __INLINE
- 44:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __INLINE inline
- 45:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 46:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_INLINE
- 47:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_INLINE static inline
- 48:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 49:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_FORCEINLINE
- 50:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_FORCEINLINE __attribute__((always_inline)) static inline
- 51:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 52:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __NO_RETURN
- 53:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NO_RETURN __attribute__((__noreturn__))
- 54:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 55:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __USED
- 56:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __USED __attribute__((used))
- 57:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 58:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __WEAK
- 59:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WEAK __attribute__((weak))
- 60:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 61:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED
- 62:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED __attribute__((packed, aligned(1)))
- 63:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 64:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_STRUCT
- 65:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_STRUCT struct __attribute__((packed, aligned(1)))
- 66:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 67:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_UNION
- 68:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_UNION union __attribute__((packed, aligned(1)))
- 69:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 70:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32 /* deprecated */
- 71:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 72:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 73:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 74:Drivers/CMSIS/Include/cmsis_gcc.h **** struct __attribute__((packed)) T_UINT32 { uint32_t v; };
- 75:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 76:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v)
- 77:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 78:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_WRITE
- 79:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 80:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 81:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
-ARM GAS /tmp/ccSwWQUY.s page 14
-
-
- 82:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; };
- 83:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 84:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))-
- 85:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 86:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_READ
- 87:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 88:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 89:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 90:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_READ { uint16_t v; };
- 91:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 92:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(add
- 93:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 94:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_WRITE
- 95:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 96:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 97:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 98:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; };
- 99:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 100:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))-
- 101:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 102:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_READ
- 103:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push
- 104:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked"
- 105:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes"
- 106:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_READ { uint32_t v; };
- 107:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop
- 108:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(add
- 109:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 110:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ALIGNED
- 111:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ALIGNED(x) __attribute__((aligned(x)))
- 112:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 113:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __RESTRICT
- 114:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __RESTRICT __restrict
- 115:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 116:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 117:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 118:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################### Core Function Access ########################### */
- 119:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \ingroup CMSIS_Core_FunctionInterface
- 120:Drivers/CMSIS/Include/cmsis_gcc.h **** \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions
- 121:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
- 122:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 123:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 124:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 125:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable IRQ Interrupts
- 126:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables IRQ interrupts by clearing the I-bit in the CPSR.
- 127:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
- 128:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 129:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_irq(void)
- 130:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 131:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie i" : : : "memory");
- 132:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 133:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 134:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 135:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 136:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable IRQ Interrupts
- 137:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables IRQ interrupts by setting the I-bit in the CPSR.
- 138:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
-ARM GAS /tmp/ccSwWQUY.s page 15
-
-
- 139:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 140:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_irq(void)
- 141:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 142:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid i" : : : "memory");
- 143:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 144:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 145:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 146:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 147:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register
- 148:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the Control Register.
- 149:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Control Register value
- 150:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 151:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_CONTROL(void)
- 152:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 153:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 154:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 155:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control" : "=r" (result) );
- 156:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 157:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 158:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 159:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 160:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 161:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 162:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register (non-secure)
- 163:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the non-secure Control Register when in secure mode.
- 164:Drivers/CMSIS/Include/cmsis_gcc.h **** \return non-secure Control Register value
- 165:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 166:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_CONTROL_NS(void)
- 167:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 168:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 169:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 170:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control_ns" : "=r" (result) );
- 171:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 172:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 173:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 174:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 175:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 176:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 177:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register
- 178:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the Control Register.
- 179:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
- 180:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 181:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_CONTROL(uint32_t control)
- 182:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 183:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control, %0" : : "r" (control) : "memory");
- 184:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 185:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 186:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 187:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 188:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 189:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register (non-secure)
- 190:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the non-secure Control Register when in secure state.
- 191:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set
- 192:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 193:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_CONTROL_NS(uint32_t control)
- 194:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 195:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control_ns, %0" : : "r" (control) : "memory");
-ARM GAS /tmp/ccSwWQUY.s page 16
-
-
- 196:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 197:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 198:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 199:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 200:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 201:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get IPSR Register
- 202:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the IPSR Register.
- 203:Drivers/CMSIS/Include/cmsis_gcc.h **** \return IPSR Register value
- 204:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 205:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_IPSR(void)
- 206:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 207:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 208:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 209:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, ipsr" : "=r" (result) );
- 210:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 211:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 212:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 213:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 214:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 215:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get APSR Register
- 216:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the APSR Register.
- 217:Drivers/CMSIS/Include/cmsis_gcc.h **** \return APSR Register value
- 218:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 219:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_APSR(void)
- 220:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 221:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 222:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 223:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, apsr" : "=r" (result) );
- 224:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 225:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 226:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 227:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 228:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 229:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get xPSR Register
- 230:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the xPSR Register.
- 231:Drivers/CMSIS/Include/cmsis_gcc.h **** \return xPSR Register value
- 232:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 233:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_xPSR(void)
- 234:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 235:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 236:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 237:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, xpsr" : "=r" (result) );
- 238:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 239:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 240:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 241:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 242:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 243:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer
- 244:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer (PSP).
- 245:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
- 246:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 247:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSP(void)
- 248:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 249:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 250:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 251:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp" : "=r" (result) );
- 252:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
-ARM GAS /tmp/ccSwWQUY.s page 17
-
-
- 253:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 254:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 255:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 256:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 257:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 258:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer (non-secure)
- 259:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer (PSP) when in secure s
- 260:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value
- 261:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 262:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSP_NS(void)
- 263:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 264:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 265:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 266:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp_ns" : "=r" (result) );
- 267:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 268:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 269:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 270:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 271:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 272:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 273:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer
- 274:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer (PSP).
- 275:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
- 276:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 277:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSP(uint32_t topOfProcStack)
- 278:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 279:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp, %0" : : "r" (topOfProcStack) : );
- 280:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 281:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 282:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 283:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 284:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 285:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
- 286:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer (PSP) when in secure sta
- 287:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set
- 288:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 289:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSP_NS(uint32_t topOfProcStack)
- 290:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 291:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp_ns, %0" : : "r" (topOfProcStack) : );
- 292:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 293:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 294:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 295:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 296:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 297:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer
- 298:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer (MSP).
- 299:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
- 300:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 301:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSP(void)
- 302:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 303:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 304:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 305:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp" : "=r" (result) );
- 306:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 307:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 308:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 309:Drivers/CMSIS/Include/cmsis_gcc.h ****
-ARM GAS /tmp/ccSwWQUY.s page 18
-
-
- 310:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 311:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 312:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer (non-secure)
- 313:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer (MSP) when in secure stat
- 314:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value
- 315:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 316:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSP_NS(void)
- 317:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 318:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 319:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 320:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp_ns" : "=r" (result) );
- 321:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 322:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 323:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 324:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 325:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 326:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 327:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer
- 328:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer (MSP).
- 329:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
- 330:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 331:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSP(uint32_t topOfMainStack)
- 332:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 333:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp, %0" : : "r" (topOfMainStack) : );
- 334:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 335:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 336:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 337:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 338:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 339:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer (non-secure)
- 340:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer (MSP) when in secure state.
- 341:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set
- 342:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 343:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSP_NS(uint32_t topOfMainStack)
- 344:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 345:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp_ns, %0" : : "r" (topOfMainStack) : );
- 346:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 347:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 348:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 349:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 350:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 351:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 352:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Stack Pointer (non-secure)
- 353:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Stack Pointer (SP) when in secure state.
- 354:Drivers/CMSIS/Include/cmsis_gcc.h **** \return SP Register value
- 355:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 356:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_SP_NS(void)
- 357:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 358:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 359:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 360:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, sp_ns" : "=r" (result) );
- 361:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 362:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 363:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 364:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 365:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 366:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Stack Pointer (non-secure)
-ARM GAS /tmp/ccSwWQUY.s page 19
-
-
- 367:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Stack Pointer (SP) when in secure state.
- 368:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfStack Stack Pointer value to set
- 369:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 370:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_SP_NS(uint32_t topOfStack)
- 371:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 372:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR sp_ns, %0" : : "r" (topOfStack) : );
- 373:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 374:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 375:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 376:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 377:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 378:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask
- 379:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the priority mask bit from the Priority Mask Register.
- 380:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
- 381:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 382:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PRIMASK(void)
- 383:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 384:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 385:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 386:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask" : "=r" (result) :: "memory");
- 387:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 388:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 389:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 390:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 391:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 392:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 393:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask (non-secure)
- 394:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the non-secure priority mask bit from the Priority Mask Reg
- 395:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value
- 396:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 397:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PRIMASK_NS(void)
- 398:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 399:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 400:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 401:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask_ns" : "=r" (result) :: "memory");
- 402:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 403:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 404:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 405:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 406:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 407:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 408:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask
- 409:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Priority Mask Register.
- 410:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
- 411:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 412:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PRIMASK(uint32_t priMask)
- 413:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 414:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask, %0" : : "r" (priMask) : "memory");
- 415:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 416:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 417:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 418:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 419:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 420:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask (non-secure)
- 421:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Priority Mask Register when in secure state.
- 422:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask
- 423:Drivers/CMSIS/Include/cmsis_gcc.h **** */
-ARM GAS /tmp/ccSwWQUY.s page 20
-
-
- 424:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PRIMASK_NS(uint32_t priMask)
- 425:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 426:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask_ns, %0" : : "r" (priMask) : "memory");
- 427:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 428:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 429:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 430:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 431:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
- 432:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
- 433:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) )
- 434:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 435:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable FIQ
- 436:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables FIQ interrupts by clearing the F-bit in the CPSR.
- 437:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
- 438:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 439:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_fault_irq(void)
- 440:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 441:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie f" : : : "memory");
- 442:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 443:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 444:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 445:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 446:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable FIQ
- 447:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables FIQ interrupts by setting the F-bit in the CPSR.
- 448:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes.
- 449:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 450:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_fault_irq(void)
- 451:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 452:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid f" : : : "memory");
- 453:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 454:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 455:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 456:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 457:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority
- 458:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Base Priority register.
- 459:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value
- 460:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 461:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_BASEPRI(void)
- 462:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 463:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 464:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 465:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri" : "=r" (result) );
- 466:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 467:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 468:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 469:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 470:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 471:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 472:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority (non-secure)
- 473:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Base Priority register when in secure state.
- 474:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value
- 475:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 476:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_BASEPRI_NS(void)
- 477:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 478:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 479:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 480:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri_ns" : "=r" (result) );
-ARM GAS /tmp/ccSwWQUY.s page 21
-
-
- 481:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 482:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 483:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 484:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 485:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 486:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 487:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority
- 488:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register.
- 489:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
- 490:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 491:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI(uint32_t basePri)
- 492:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 493:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri, %0" : : "r" (basePri) : "memory");
- 494:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 495:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 496:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 497:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 498:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 499:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority (non-secure)
- 500:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Base Priority register when in secure state.
- 501:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
- 502:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 503:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_BASEPRI_NS(uint32_t basePri)
- 504:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 505:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_ns, %0" : : "r" (basePri) : "memory");
- 506:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 507:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 508:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 509:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 510:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 511:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority with condition
- 512:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register only if BASEPRI masking is disable
- 513:Drivers/CMSIS/Include/cmsis_gcc.h **** or the new value increases the BASEPRI priority level.
- 514:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set
- 515:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 516:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI_MAX(uint32_t basePri)
- 517:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 518:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_max, %0" : : "r" (basePri) : "memory");
- 519:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 520:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 521:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 522:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 523:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask
- 524:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Fault Mask register.
- 525:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value
- 526:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 527:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FAULTMASK(void)
- 528:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 529:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 530:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 531:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask" : "=r" (result) );
- 532:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 533:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 534:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 535:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 536:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 537:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
-ARM GAS /tmp/ccSwWQUY.s page 22
-
-
- 538:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask (non-secure)
- 539:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Fault Mask register when in secure state.
- 540:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value
- 541:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 542:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_FAULTMASK_NS(void)
- 543:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 544:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 545:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 546:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask_ns" : "=r" (result) );
- 547:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 548:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 549:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 550:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 551:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 552:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 553:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask
- 554:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Fault Mask register.
- 555:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set
- 556:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 557:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FAULTMASK(uint32_t faultMask)
- 558:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 559:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask, %0" : : "r" (faultMask) : "memory");
- 560:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 561:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 562:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 563:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 564:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 565:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask (non-secure)
- 566:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Fault Mask register when in secure state.
- 567:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set
- 568:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 569:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_FAULTMASK_NS(uint32_t faultMask)
- 570:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 571:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask_ns, %0" : : "r" (faultMask) : "memory");
- 572:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 573:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 574:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 575:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
- 576:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
- 577:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) ) */
- 578:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 579:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 580:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \
- 581:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) )
- 582:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 583:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 584:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit
- 585:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
- 586:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure
- 587:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
- 588:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 589:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer Limit (PSPLIM).
- 590:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value
- 591:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 592:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSPLIM(void)
- 593:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 594:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
-ARM GAS /tmp/ccSwWQUY.s page 23
-
-
- 595:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
- 596:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
- 597:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
- 598:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 599:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 600:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim" : "=r" (result) );
- 601:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
- 602:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 603:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 604:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 605:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3))
- 606:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 607:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit (non-secure)
- 608:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
- 609:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always.
- 610:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 611:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer Limit (PSPLIM) when in
- 612:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value
- 613:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 614:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSPLIM_NS(void)
- 615:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 616:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
- 617:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
- 618:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
- 619:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 620:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 621:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim_ns" : "=r" (result) );
- 622:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
- 623:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 624:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 625:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 626:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 627:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 628:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 629:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer Limit
- 630:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
- 631:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure
- 632:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
- 633:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 634:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer Limit (PSPLIM).
- 635:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set
- 636:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 637:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSPLIM(uint32_t ProcStackPtrLimit)
- 638:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 639:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
- 640:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
- 641:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
- 642:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit;
- 643:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 644:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim, %0" : : "r" (ProcStackPtrLimit));
- 645:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 646:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 647:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 648:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 649:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 650:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 651:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure)
-ARM GAS /tmp/ccSwWQUY.s page 24
-
-
- 652:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
- 653:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored.
- 654:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 655:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer Limit (PSPLIM) when in s
- 656:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set
- 657:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 658:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSPLIM_NS(uint32_t ProcStackPtrLimit)
- 659:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 660:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
- 661:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI
- 662:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit;
- 663:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 664:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim_ns, %0\n" : : "r" (ProcStackPtrLimit));
- 665:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 666:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 667:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 668:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 669:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 670:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 671:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit
- 672:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
- 673:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure
- 674:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
- 675:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 676:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer Limit (MSPLIM).
- 677:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value
- 678:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 679:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSPLIM(void)
- 680:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 681:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
- 682:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
- 683:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
- 684:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
- 685:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 686:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 687:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim" : "=r" (result) );
- 688:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
- 689:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 690:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 691:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 692:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 693:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 694:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 695:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit (non-secure)
- 696:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
- 697:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always.
- 698:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 699:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer Limit(MSPLIM) when in sec
- 700:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value
- 701:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 702:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSPLIM_NS(void)
- 703:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 704:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
- 705:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
- 706:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U;
- 707:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 708:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
-ARM GAS /tmp/ccSwWQUY.s page 25
-
-
- 709:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim_ns" : "=r" (result) );
- 710:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
- 711:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 712:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 713:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 714:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 715:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 716:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 717:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit
- 718:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
- 719:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure
- 720:Drivers/CMSIS/Include/cmsis_gcc.h **** mode.
- 721:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 722:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer Limit (MSPLIM).
- 723:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer Limit value to set
- 724:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 725:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSPLIM(uint32_t MainStackPtrLimit)
- 726:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 727:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \
- 728:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3)))
- 729:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
- 730:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit;
- 731:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 732:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim, %0" : : "r" (MainStackPtrLimit));
- 733:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 734:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 735:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 736:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 737:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3))
- 738:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 739:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit (non-secure)
- 740:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure
- 741:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored.
- 742:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 743:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer Limit (MSPLIM) when in secu
- 744:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer value to set
- 745:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 746:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSPLIM_NS(uint32_t MainStackPtrLimit)
- 747:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 748:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)))
- 749:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI
- 750:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit;
- 751:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 752:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim_ns, %0" : : "r" (MainStackPtrLimit));
- 753:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 754:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 755:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 756:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 757:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \
- 758:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) ) */
- 759:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 760:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 761:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 762:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get FPSCR
- 763:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Floating Point Status/Control register.
- 764:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Floating Point Status/Control register value
- 765:Drivers/CMSIS/Include/cmsis_gcc.h **** */
-ARM GAS /tmp/ccSwWQUY.s page 26
-
-
- 766:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FPSCR(void)
- 767:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 768:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
- 769:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) )
- 770:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_get_fpscr)
- 771:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed
- 772:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2)
- 773:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */
- 774:Drivers/CMSIS/Include/cmsis_gcc.h **** return __builtin_arm_get_fpscr();
- 775:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 776:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 777:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 778:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMRS %0, fpscr" : "=r" (result) );
- 779:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result);
- 780:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 781:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 782:Drivers/CMSIS/Include/cmsis_gcc.h **** return(0U);
- 783:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 784:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 785:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 786:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 787:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 788:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set FPSCR
- 789:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Floating Point Status/Control register.
- 790:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] fpscr Floating Point Status/Control value to set
- 791:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 792:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FPSCR(uint32_t fpscr)
- 793:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 794:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \
- 795:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) )
- 796:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_set_fpscr)
- 797:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed
- 798:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2)
- 799:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */
- 800:Drivers/CMSIS/Include/cmsis_gcc.h **** __builtin_arm_set_fpscr(fpscr);
- 801:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 802:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMSR fpscr, %0" : : "r" (fpscr) : "vfpcc", "memory");
- 803:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 804:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 805:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)fpscr;
- 806:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 807:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 808:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 809:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 810:Drivers/CMSIS/Include/cmsis_gcc.h **** /*@} end of CMSIS_Core_RegAccFunctions */
- 811:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 812:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 813:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################## Core Instruction Access ######################### */
- 814:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \defgroup CMSIS_Core_InstructionInterface CMSIS Core Instruction Interface
- 815:Drivers/CMSIS/Include/cmsis_gcc.h **** Access to dedicated instructions
- 816:Drivers/CMSIS/Include/cmsis_gcc.h **** @{
- 817:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 818:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 819:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Define macros for porting to both thumb1 and thumb2.
- 820:Drivers/CMSIS/Include/cmsis_gcc.h **** * For thumb1, use low register (r0-r7), specified by constraint "l"
- 821:Drivers/CMSIS/Include/cmsis_gcc.h **** * Otherwise, use general registers, specified by constraint "r" */
- 822:Drivers/CMSIS/Include/cmsis_gcc.h **** #if defined (__thumb__) && !defined (__thumb2__)
-ARM GAS /tmp/ccSwWQUY.s page 27
-
-
- 823:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=l" (r)
- 824:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+l" (r)
- 825:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "l" (r)
- 826:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 827:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=r" (r)
- 828:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+r" (r)
- 829:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "r" (r)
- 830:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 831:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 832:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 833:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief No Operation
- 834:Drivers/CMSIS/Include/cmsis_gcc.h **** \details No Operation does nothing. This instruction can be used for code alignment purposes.
- 835:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 836:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NOP() __ASM volatile ("nop")
- 837:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 838:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 839:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Interrupt
- 840:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Interrupt is a hint instruction that suspends execution until one of a number o
- 841:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 842:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFI() __ASM volatile ("wfi")
- 843:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 844:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 845:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 846:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Event
- 847:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Event is a hint instruction that permits the processor to enter
- 848:Drivers/CMSIS/Include/cmsis_gcc.h **** a low-power state until one of a number of events occurs.
- 849:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 850:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFE() __ASM volatile ("wfe")
- 851:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 852:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 853:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 854:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Send Event
- 855:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Send Event is a hint instruction. It causes an event to be signaled to the CPU.
- 856:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 857:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __SEV() __ASM volatile ("sev")
- 858:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 859:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 860:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 861:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Instruction Synchronization Barrier
- 862:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Instruction Synchronization Barrier flushes the pipeline in the processor,
- 863:Drivers/CMSIS/Include/cmsis_gcc.h **** so that all instructions following the ISB are fetched from cache or memory,
- 864:Drivers/CMSIS/Include/cmsis_gcc.h **** after the instruction has been completed.
- 865:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 866:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __ISB(void)
- 867:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 868:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("isb 0xF":::"memory");
- 869:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 870:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 871:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 872:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 873:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Data Synchronization Barrier
- 874:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Acts as a special kind of Data Memory Barrier.
- 875:Drivers/CMSIS/Include/cmsis_gcc.h **** It completes when all explicit memory accesses before this instruction complete.
- 876:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 877:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __DSB(void)
- 878:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 879:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("dsb 0xF":::"memory");
-ARM GAS /tmp/ccSwWQUY.s page 28
-
-
- 880:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 881:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 882:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 883:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 884:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Data Memory Barrier
- 885:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Ensures the apparent order of the explicit memory operations before
- 886:Drivers/CMSIS/Include/cmsis_gcc.h **** and after the instruction, without ensuring their completion.
- 887:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 888:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __DMB(void)
- 889:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 890:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("dmb 0xF":::"memory");
- 891:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 892:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 893:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 894:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 895:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse byte order (32 bit)
- 896:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the byte order in unsigned integer value. For example, 0x12345678 becomes 0x785
- 897:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse
- 898:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value
- 899:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 900:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __REV(uint32_t value)
- 901:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 902:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
- 903:Drivers/CMSIS/Include/cmsis_gcc.h **** return __builtin_bswap32(value);
- 904:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 905:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 906:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 907:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("rev %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) );
- 908:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
- 909:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 910:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 911:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 912:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 913:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 914:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse byte order (16 bit)
- 915:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the byte order within each halfword of a word. For example, 0x12345678 becomes
- 916:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse
- 917:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value
- 918:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 919:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __REV16(uint32_t value)
- 920:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 921:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 922:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 923:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("rev16 %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) );
- 924:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
- 925:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 926:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 927:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 928:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 929:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse byte order (16 bit)
- 930:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the byte order in a 16-bit value and returns the signed 16-bit result. For exam
- 931:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse
- 932:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value
- 933:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 934:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE int16_t __REVSH(int16_t value)
- 935:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 936:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)
-ARM GAS /tmp/ccSwWQUY.s page 29
-
-
- 937:Drivers/CMSIS/Include/cmsis_gcc.h **** return (int16_t)__builtin_bswap16(value);
- 938:Drivers/CMSIS/Include/cmsis_gcc.h **** #else
- 939:Drivers/CMSIS/Include/cmsis_gcc.h **** int16_t result;
- 940:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 941:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("revsh %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) );
- 942:Drivers/CMSIS/Include/cmsis_gcc.h **** return result;
- 943:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif
- 944:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 945:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 946:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 947:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 948:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Rotate Right in unsigned value (32 bit)
- 949:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Rotate Right (immediate) provides the value of the contents of a register rotated by a v
- 950:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] op1 Value to rotate
- 951:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] op2 Number of Bits to rotate
- 952:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Rotated value
- 953:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 954:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __ROR(uint32_t op1, uint32_t op2)
- 955:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 956:Drivers/CMSIS/Include/cmsis_gcc.h **** op2 %= 32U;
- 957:Drivers/CMSIS/Include/cmsis_gcc.h **** if (op2 == 0U)
- 958:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 959:Drivers/CMSIS/Include/cmsis_gcc.h **** return op1;
- 960:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 961:Drivers/CMSIS/Include/cmsis_gcc.h **** return (op1 >> op2) | (op1 << (32U - op2));
- 962:Drivers/CMSIS/Include/cmsis_gcc.h **** }
- 963:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 964:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 965:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 966:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Breakpoint
- 967:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Causes the processor to enter Debug state.
- 968:Drivers/CMSIS/Include/cmsis_gcc.h **** Debug tools can use this to investigate system state when the instruction at a particula
- 969:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value is ignored by the processor.
- 970:Drivers/CMSIS/Include/cmsis_gcc.h **** If required, a debugger can use it to store additional information about the break
- 971:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 972:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __BKPT(value) __ASM volatile ("bkpt "#value)
- 973:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 974:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 975:Drivers/CMSIS/Include/cmsis_gcc.h **** /**
- 976:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse bit order of value
- 977:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the bit order of the given value.
- 978:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse
- 979:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value
- 980:Drivers/CMSIS/Include/cmsis_gcc.h **** */
- 981:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __RBIT(uint32_t value)
- 982:Drivers/CMSIS/Include/cmsis_gcc.h **** {
- 983:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result;
- 984:Drivers/CMSIS/Include/cmsis_gcc.h ****
- 985:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \
- 986:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \
- 987:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) )
- 988:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("rbit %0, %1" : "=r" (result) : "r" (value) );
- 293 .loc 2 988 0
- 294 .syntax unified
- 295 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 296 0000 90FAA0F0 rbit r0, r0
- 297 @ 0 "" 2
-ARM GAS /tmp/ccSwWQUY.s page 30
-
-
- 298 .LVL2:
- 299 .thumb
- 300 .syntax unified
- 301 .LBE7:
- 302 .LBE6:
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Check the parameter */
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** assert_param(IS_PWR_WAKEUP_PIN(WakeUpPinx));
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Enable the EWUPx pin */
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** *(__IO uint32_t *) CSR_EWUP_BB(WakeUpPinx) = (uint32_t)ENABLE;
- 303 .loc 1 387 0
- 304 0004 B0FA80F0 clz r0, r0
- 305 0008 024B ldr r3, .L25
- 306 000a 0344 add r3, r3, r0
- 307 000c 9B00 lsls r3, r3, #2
- 308 000e 0122 movs r2, #1
- 309 0010 1A60 str r2, [r3]
- 310 0012 7047 bx lr
- 311 .L26:
- 312 .align 2
- 313 .L25:
- 314 0014 20808310 .word 277053472
- 315 .cfi_endproc
- 316 .LFE72:
- 318 .section .text.HAL_PWR_DisableWakeUpPin,"ax",%progbits
- 319 .align 1
- 320 .global HAL_PWR_DisableWakeUpPin
- 321 .syntax unified
- 322 .thumb
- 323 .thumb_func
- 324 .fpu softvfp
- 326 HAL_PWR_DisableWakeUpPin:
- 327 .LFB73:
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
- 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @brief Disables the WakeUp PINx functionality.
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @param WakeUpPinx: Specifies the Power Wake-Up pin to disable.
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * This parameter can be one of the following values:
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @arg PWR_WAKEUP_PIN1
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @retval None
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** void HAL_PWR_DisableWakeUpPin(uint32_t WakeUpPinx)
- 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 328 .loc 1 398 0
- 329 .cfi_startproc
- 330 @ args = 0, pretend = 0, frame = 0
- 331 @ frame_needed = 0, uses_anonymous_args = 0
- 332 @ link register save eliminated.
- 333 .LVL3:
- 334 .LBB8:
- 335 .LBB9:
- 336 .loc 2 988 0
- 337 .syntax unified
- 338 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1
- 339 0000 90FAA0F0 rbit r0, r0
- 340 @ 0 "" 2
- 341 .LVL4:
-ARM GAS /tmp/ccSwWQUY.s page 31
-
-
- 342 .thumb
- 343 .syntax unified
- 344 .LBE9:
- 345 .LBE8:
- 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Check the parameter */
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** assert_param(IS_PWR_WAKEUP_PIN(WakeUpPinx));
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Disable the EWUPx pin */
- 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** *(__IO uint32_t *) CSR_EWUP_BB(WakeUpPinx) = (uint32_t)DISABLE;
- 346 .loc 1 402 0
- 347 0004 B0FA80F0 clz r0, r0
- 348 0008 024B ldr r3, .L28
- 349 000a 0344 add r3, r3, r0
- 350 000c 9B00 lsls r3, r3, #2
- 351 000e 0022 movs r2, #0
- 352 0010 1A60 str r2, [r3]
- 353 0012 7047 bx lr
- 354 .L29:
- 355 .align 2
- 356 .L28:
- 357 0014 20808310 .word 277053472
- 358 .cfi_endproc
- 359 .LFE73:
- 361 .section .text.HAL_PWR_EnterSLEEPMode,"ax",%progbits
- 362 .align 1
- 363 .global HAL_PWR_EnterSLEEPMode
- 364 .syntax unified
- 365 .thumb
- 366 .thumb_func
- 367 .fpu softvfp
- 369 HAL_PWR_EnterSLEEPMode:
- 370 .LFB74:
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @brief Enters Sleep mode.
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @note In Sleep mode, all I/O pins keep the same state as in Run mode.
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @param Regulator: Regulator state as no effect in SLEEP mode - allows to support portability f
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @param SLEEPEntry: Specifies if SLEEP mode is entered with WFI or WFE instruction.
- 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * When WFI entry is used, tick interrupt have to be disabled if not desired as
- 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * the interrupt wake up source.
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * This parameter can be one of the following values:
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @arg PWR_SLEEPENTRY_WFI: enter SLEEP mode with WFI instruction
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @arg PWR_SLEEPENTRY_WFE: enter SLEEP mode with WFE instruction
- 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @retval None
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** void HAL_PWR_EnterSLEEPMode(uint32_t Regulator, uint8_t SLEEPEntry)
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 371 .loc 1 418 0
- 372 .cfi_startproc
- 373 @ args = 0, pretend = 0, frame = 0
- 374 @ frame_needed = 0, uses_anonymous_args = 0
- 375 @ link register save eliminated.
- 376 .LVL5:
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Check the parameters */
- 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* No check on Regulator because parameter not used in SLEEP mode */
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Prevent unused argument(s) compilation warning */
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** UNUSED(Regulator);
-ARM GAS /tmp/ccSwWQUY.s page 32
-
-
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** assert_param(IS_PWR_SLEEP_ENTRY(SLEEPEntry));
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Clear SLEEPDEEP bit of Cortex System Control Register */
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** CLEAR_BIT(SCB->SCR, ((uint32_t)SCB_SCR_SLEEPDEEP_Msk));
- 377 .loc 1 427 0
- 378 0000 064A ldr r2, .L34
- 379 0002 1369 ldr r3, [r2, #16]
- 380 0004 23F00403 bic r3, r3, #4
- 381 0008 1361 str r3, [r2, #16]
- 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Select SLEEP mode entry -------------------------------------------------*/
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** if(SLEEPEntry == PWR_SLEEPENTRY_WFI)
- 382 .loc 1 430 0
- 383 000a 0129 cmp r1, #1
- 384 000c 03D0 beq .L33
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Request Wait For Interrupt */
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __WFI();
- 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** else
- 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Request Wait For Event */
- 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __SEV();
- 385 .loc 1 438 0
- 386 .syntax unified
- 387 @ 438 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c" 1
- 388 000e 40BF sev
- 389 @ 0 "" 2
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __WFE();
- 390 .loc 1 439 0
- 391 @ 439 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c" 1
- 392 0010 20BF wfe
- 393 @ 0 "" 2
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __WFE();
- 394 .loc 1 440 0
- 395 @ 440 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c" 1
- 396 0012 20BF wfe
- 397 @ 0 "" 2
- 398 .thumb
- 399 .syntax unified
- 400 0014 7047 bx lr
- 401 .L33:
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 402 .loc 1 433 0
- 403 .syntax unified
- 404 @ 433 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c" 1
- 405 0016 30BF wfi
- 406 @ 0 "" 2
- 407 .thumb
- 408 .syntax unified
- 409 0018 7047 bx lr
- 410 .L35:
- 411 001a 00BF .align 2
- 412 .L34:
- 413 001c 00ED00E0 .word -536810240
- 414 .cfi_endproc
-ARM GAS /tmp/ccSwWQUY.s page 33
-
-
- 415 .LFE74:
- 417 .section .text.HAL_PWR_EnterSTOPMode,"ax",%progbits
- 418 .align 1
- 419 .global HAL_PWR_EnterSTOPMode
- 420 .syntax unified
- 421 .thumb
- 422 .thumb_func
- 423 .fpu softvfp
- 425 HAL_PWR_EnterSTOPMode:
- 426 .LFB75:
- 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @brief Enters Stop mode.
- 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @note In Stop mode, all I/O pins keep the same state as in Run mode.
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @note When exiting Stop mode by using an interrupt or a wakeup event,
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * HSI RC oscillator is selected as system clock.
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @note When the voltage regulator operates in low power mode, an additional
- 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * startup delay is incurred when waking up from Stop mode.
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * By keeping the internal regulator ON during Stop mode, the consumption
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * is higher although the startup time is reduced.
- 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @param Regulator: Specifies the regulator state in Stop mode.
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * This parameter can be one of the following values:
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @arg PWR_MAINREGULATOR_ON: Stop mode with regulator ON
- 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @arg PWR_LOWPOWERREGULATOR_ON: Stop mode with low power regulator ON
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @param STOPEntry: Specifies if Stop mode in entered with WFI or WFE instruction.
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * This parameter can be one of the following values:
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @arg PWR_STOPENTRY_WFI: Enter Stop mode with WFI instruction
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @arg PWR_STOPENTRY_WFE: Enter Stop mode with WFE instruction
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @retval None
- 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** void HAL_PWR_EnterSTOPMode(uint32_t Regulator, uint8_t STOPEntry)
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 427 .loc 1 464 0
- 428 .cfi_startproc
- 429 @ args = 0, pretend = 0, frame = 0
- 430 @ frame_needed = 0, uses_anonymous_args = 0
- 431 .LVL6:
- 432 0000 08B5 push {r3, lr}
- 433 .LCFI0:
- 434 .cfi_def_cfa_offset 8
- 435 .cfi_offset 3, -8
- 436 .cfi_offset 14, -4
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Check the parameters */
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** assert_param(IS_PWR_REGULATOR(Regulator));
- 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** assert_param(IS_PWR_STOP_ENTRY(STOPEntry));
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Clear PDDS bit in PWR register to specify entering in STOP mode when CPU enter in Deepsleep */
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** CLEAR_BIT(PWR->CR, PWR_CR_PDDS);
- 437 .loc 1 470 0
- 438 0002 0F4A ldr r2, .L41
- 439 0004 1368 ldr r3, [r2]
- 440 0006 23F00203 bic r3, r3, #2
- 441 000a 1360 str r3, [r2]
- 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Select the voltage regulator mode by setting LPDS bit in PWR register according to Regulator p
-ARM GAS /tmp/ccSwWQUY.s page 34
-
-
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** MODIFY_REG(PWR->CR, PWR_CR_LPDS, Regulator);
- 442 .loc 1 473 0
- 443 000c 1368 ldr r3, [r2]
- 444 000e 23F00103 bic r3, r3, #1
- 445 0012 1843 orrs r0, r0, r3
- 446 .LVL7:
- 447 0014 1060 str r0, [r2]
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Set SLEEPDEEP bit of Cortex System Control Register */
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** SET_BIT(SCB->SCR, ((uint32_t)SCB_SCR_SLEEPDEEP_Msk));
- 448 .loc 1 476 0
- 449 0016 0B4A ldr r2, .L41+4
- 450 0018 1369 ldr r3, [r2, #16]
- 451 001a 43F00403 orr r3, r3, #4
- 452 001e 1361 str r3, [r2, #16]
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Select Stop mode entry --------------------------------------------------*/
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** if(STOPEntry == PWR_STOPENTRY_WFI)
- 453 .loc 1 479 0
- 454 0020 0129 cmp r1, #1
- 455 0022 0AD0 beq .L40
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Request Wait For Interrupt */
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __WFI();
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** else
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Request Wait For Event */
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __SEV();
- 456 .loc 1 487 0
- 457 .syntax unified
- 458 @ 487 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c" 1
- 459 0024 40BF sev
- 460 @ 0 "" 2
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** PWR_OverloadWfe(); /* WFE redefine locally */
- 461 .loc 1 488 0
- 462 .thumb
- 463 .syntax unified
- 464 0026 FFF7FEFF bl PWR_OverloadWfe
- 465 .LVL8:
- 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** PWR_OverloadWfe(); /* WFE redefine locally */
- 466 .loc 1 489 0
- 467 002a FFF7FEFF bl PWR_OverloadWfe
- 468 .LVL9:
- 469 .L38:
- 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Reset SLEEPDEEP bit of Cortex System Control Register */
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** CLEAR_BIT(SCB->SCR, ((uint32_t)SCB_SCR_SLEEPDEEP_Msk));
- 470 .loc 1 492 0
- 471 002e 054A ldr r2, .L41+4
- 472 0030 1369 ldr r3, [r2, #16]
- 473 0032 23F00403 bic r3, r3, #4
- 474 0036 1361 str r3, [r2, #16]
- 475 0038 08BD pop {r3, pc}
- 476 .LVL10:
- 477 .L40:
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
-ARM GAS /tmp/ccSwWQUY.s page 35
-
-
- 478 .loc 1 482 0
- 479 .syntax unified
- 480 @ 482 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c" 1
- 481 003a 30BF wfi
- 482 @ 0 "" 2
- 483 .thumb
- 484 .syntax unified
- 485 003c F7E7 b .L38
- 486 .L42:
- 487 003e 00BF .align 2
- 488 .L41:
- 489 0040 00700040 .word 1073770496
- 490 0044 00ED00E0 .word -536810240
- 491 .cfi_endproc
- 492 .LFE75:
- 494 .section .text.HAL_PWR_EnterSTANDBYMode,"ax",%progbits
- 495 .align 1
- 496 .global HAL_PWR_EnterSTANDBYMode
- 497 .syntax unified
- 498 .thumb
- 499 .thumb_func
- 500 .fpu softvfp
- 502 HAL_PWR_EnterSTANDBYMode:
- 503 .LFB76:
- 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
- 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @brief Enters Standby mode.
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @note In Standby mode, all I/O pins are high impedance except for:
- 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * - Reset pad (still available)
- 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * - TAMPER pin if configured for tamper or calibration out.
- 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * - WKUP pin (PA0) if enabled.
- 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @retval None
- 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** void HAL_PWR_EnterSTANDBYMode(void)
- 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 504 .loc 1 504 0
- 505 .cfi_startproc
- 506 @ args = 0, pretend = 0, frame = 0
- 507 @ frame_needed = 0, uses_anonymous_args = 0
- 508 @ link register save eliminated.
- 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Select Standby mode */
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** SET_BIT(PWR->CR, PWR_CR_PDDS);
- 509 .loc 1 506 0
- 510 0000 054A ldr r2, .L44
- 511 0002 1368 ldr r3, [r2]
- 512 0004 43F00203 orr r3, r3, #2
- 513 0008 1360 str r3, [r2]
- 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Set SLEEPDEEP bit of Cortex System Control Register */
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** SET_BIT(SCB->SCR, ((uint32_t)SCB_SCR_SLEEPDEEP_Msk));
- 514 .loc 1 509 0
- 515 000a 044A ldr r2, .L44+4
- 516 000c 1369 ldr r3, [r2, #16]
- 517 000e 43F00403 orr r3, r3, #4
- 518 0012 1361 str r3, [r2, #16]
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
-ARM GAS /tmp/ccSwWQUY.s page 36
-
-
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* This option is used to ensure that store operations are completed */
- 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** #if defined ( __CC_ARM)
- 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __force_stores();
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** #endif
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Request Wait For Interrupt */
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __WFI();
- 519 .loc 1 516 0
- 520 .syntax unified
- 521 @ 516 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c" 1
- 522 0014 30BF wfi
- 523 @ 0 "" 2
- 524 .thumb
- 525 .syntax unified
- 526 0016 7047 bx lr
- 527 .L45:
- 528 .align 2
- 529 .L44:
- 530 0018 00700040 .word 1073770496
- 531 001c 00ED00E0 .word -536810240
- 532 .cfi_endproc
- 533 .LFE76:
- 535 .section .text.HAL_PWR_EnableSleepOnExit,"ax",%progbits
- 536 .align 1
- 537 .global HAL_PWR_EnableSleepOnExit
- 538 .syntax unified
- 539 .thumb
- 540 .thumb_func
- 541 .fpu softvfp
- 543 HAL_PWR_EnableSleepOnExit:
- 544 .LFB77:
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
- 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @brief Indicates Sleep-On-Exit when returning from Handler mode to Thread mode.
- 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @note Set SLEEPONEXIT bit of SCR register. When this bit is set, the processor
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * re-enters SLEEP mode when an interruption handling is over.
- 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * Setting this bit is useful when the processor is expected to run only on
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * interruptions handling.
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @retval None
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** void HAL_PWR_EnableSleepOnExit(void)
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 545 .loc 1 529 0
- 546 .cfi_startproc
- 547 @ args = 0, pretend = 0, frame = 0
- 548 @ frame_needed = 0, uses_anonymous_args = 0
- 549 @ link register save eliminated.
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Set SLEEPONEXIT bit of Cortex System Control Register */
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** SET_BIT(SCB->SCR, ((uint32_t)SCB_SCR_SLEEPONEXIT_Msk));
- 550 .loc 1 531 0
- 551 0000 024A ldr r2, .L47
- 552 0002 1369 ldr r3, [r2, #16]
- 553 0004 43F00203 orr r3, r3, #2
- 554 0008 1361 str r3, [r2, #16]
- 555 000a 7047 bx lr
- 556 .L48:
-ARM GAS /tmp/ccSwWQUY.s page 37
-
-
- 557 .align 2
- 558 .L47:
- 559 000c 00ED00E0 .word -536810240
- 560 .cfi_endproc
- 561 .LFE77:
- 563 .section .text.HAL_PWR_DisableSleepOnExit,"ax",%progbits
- 564 .align 1
- 565 .global HAL_PWR_DisableSleepOnExit
- 566 .syntax unified
- 567 .thumb
- 568 .thumb_func
- 569 .fpu softvfp
- 571 HAL_PWR_DisableSleepOnExit:
- 572 .LFB78:
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @brief Disables Sleep-On-Exit feature when returning from Handler mode to Thread mode.
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @note Clears SLEEPONEXIT bit of SCR register. When this bit is set, the processor
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * re-enters SLEEP mode when an interruption handling is over.
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @retval None
- 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** void HAL_PWR_DisableSleepOnExit(void)
- 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 573 .loc 1 542 0
- 574 .cfi_startproc
- 575 @ args = 0, pretend = 0, frame = 0
- 576 @ frame_needed = 0, uses_anonymous_args = 0
- 577 @ link register save eliminated.
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Clear SLEEPONEXIT bit of Cortex System Control Register */
- 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** CLEAR_BIT(SCB->SCR, ((uint32_t)SCB_SCR_SLEEPONEXIT_Msk));
- 578 .loc 1 544 0
- 579 0000 024A ldr r2, .L50
- 580 0002 1369 ldr r3, [r2, #16]
- 581 0004 23F00203 bic r3, r3, #2
- 582 0008 1361 str r3, [r2, #16]
- 583 000a 7047 bx lr
- 584 .L51:
- 585 .align 2
- 586 .L50:
- 587 000c 00ED00E0 .word -536810240
- 588 .cfi_endproc
- 589 .LFE78:
- 591 .section .text.HAL_PWR_EnableSEVOnPend,"ax",%progbits
- 592 .align 1
- 593 .global HAL_PWR_EnableSEVOnPend
- 594 .syntax unified
- 595 .thumb
- 596 .thumb_func
- 597 .fpu softvfp
- 599 HAL_PWR_EnableSEVOnPend:
- 600 .LFB79:
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
-ARM GAS /tmp/ccSwWQUY.s page 38
-
-
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @brief Enables CORTEX M3 SEVONPEND bit.
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @note Sets SEVONPEND bit of SCR register. When this bit is set, this causes
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * WFE to wake up when an interrupt moves from inactive to pended.
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @retval None
- 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** void HAL_PWR_EnableSEVOnPend(void)
- 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 601 .loc 1 555 0
- 602 .cfi_startproc
- 603 @ args = 0, pretend = 0, frame = 0
- 604 @ frame_needed = 0, uses_anonymous_args = 0
- 605 @ link register save eliminated.
- 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Set SEVONPEND bit of Cortex System Control Register */
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** SET_BIT(SCB->SCR, ((uint32_t)SCB_SCR_SEVONPEND_Msk));
- 606 .loc 1 557 0
- 607 0000 024A ldr r2, .L53
- 608 0002 1369 ldr r3, [r2, #16]
- 609 0004 43F01003 orr r3, r3, #16
- 610 0008 1361 str r3, [r2, #16]
- 611 000a 7047 bx lr
- 612 .L54:
- 613 .align 2
- 614 .L53:
- 615 000c 00ED00E0 .word -536810240
- 616 .cfi_endproc
- 617 .LFE79:
- 619 .section .text.HAL_PWR_DisableSEVOnPend,"ax",%progbits
- 620 .align 1
- 621 .global HAL_PWR_DisableSEVOnPend
- 622 .syntax unified
- 623 .thumb
- 624 .thumb_func
- 625 .fpu softvfp
- 627 HAL_PWR_DisableSEVOnPend:
- 628 .LFB80:
- 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
- 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @brief Disables CORTEX M3 SEVONPEND bit.
- 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @note Clears SEVONPEND bit of SCR register. When this bit is set, this causes
- 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * WFE to wake up when an interrupt moves from inactive to pended.
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @retval None
- 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** void HAL_PWR_DisableSEVOnPend(void)
- 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 629 .loc 1 568 0
- 630 .cfi_startproc
- 631 @ args = 0, pretend = 0, frame = 0
- 632 @ frame_needed = 0, uses_anonymous_args = 0
- 633 @ link register save eliminated.
- 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Clear SEVONPEND bit of Cortex System Control Register */
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** CLEAR_BIT(SCB->SCR, ((uint32_t)SCB_SCR_SEVONPEND_Msk));
- 634 .loc 1 570 0
- 635 0000 024A ldr r2, .L56
- 636 0002 1369 ldr r3, [r2, #16]
- 637 0004 23F01003 bic r3, r3, #16
-ARM GAS /tmp/ccSwWQUY.s page 39
-
-
- 638 0008 1361 str r3, [r2, #16]
- 639 000a 7047 bx lr
- 640 .L57:
- 641 .align 2
- 642 .L56:
- 643 000c 00ED00E0 .word -536810240
- 644 .cfi_endproc
- 645 .LFE80:
- 647 .section .text.HAL_PWR_PVDCallback,"ax",%progbits
- 648 .align 1
- 649 .weak HAL_PWR_PVDCallback
- 650 .syntax unified
- 651 .thumb
- 652 .thumb_func
- 653 .fpu softvfp
- 655 HAL_PWR_PVDCallback:
- 656 .LFB82:
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @brief This function handles the PWR PVD interrupt request.
- 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @note This API should be called under the PVD_IRQHandler().
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @retval None
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** void HAL_PWR_PVD_IRQHandler(void)
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Check PWR exti flag */
- 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** if(__HAL_PWR_PVD_EXTI_GET_FLAG() != RESET)
- 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* PWR PVD interrupt user callback */
- 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** HAL_PWR_PVDCallback();
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Clear PWR Exti pending bit */
- 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __HAL_PWR_PVD_EXTI_CLEAR_FLAG();
- 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /**
- 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @brief PWR PVD interrupt callback
- 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** * @retval None
- 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** */
- 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** __weak void HAL_PWR_PVDCallback(void)
- 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 657 .loc 1 598 0
- 658 .cfi_startproc
- 659 @ args = 0, pretend = 0, frame = 0
- 660 @ frame_needed = 0, uses_anonymous_args = 0
- 661 @ link register save eliminated.
- 662 0000 7047 bx lr
- 663 .cfi_endproc
- 664 .LFE82:
- 666 .section .text.HAL_PWR_PVD_IRQHandler,"ax",%progbits
- 667 .align 1
- 668 .global HAL_PWR_PVD_IRQHandler
- 669 .syntax unified
-ARM GAS /tmp/ccSwWQUY.s page 40
-
-
- 670 .thumb
- 671 .thumb_func
- 672 .fpu softvfp
- 674 HAL_PWR_PVD_IRQHandler:
- 675 .LFB81:
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Check PWR exti flag */
- 676 .loc 1 581 0
- 677 .cfi_startproc
- 678 @ args = 0, pretend = 0, frame = 0
- 679 @ frame_needed = 0, uses_anonymous_args = 0
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** /* Check PWR exti flag */
- 680 .loc 1 581 0
- 681 0000 08B5 push {r3, lr}
- 682 .LCFI1:
- 683 .cfi_def_cfa_offset 8
- 684 .cfi_offset 3, -8
- 685 .cfi_offset 14, -4
- 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** {
- 686 .loc 1 583 0
- 687 0002 064B ldr r3, .L63
- 688 0004 5B69 ldr r3, [r3, #20]
- 689 0006 13F4803F tst r3, #65536
- 690 000a 00D1 bne .L62
- 691 .L59:
- 692 000c 08BD pop {r3, pc}
- 693 .L62:
- 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 694 .loc 1 586 0
- 695 000e FFF7FEFF bl HAL_PWR_PVDCallback
- 696 .LVL11:
- 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c **** }
- 697 .loc 1 589 0
- 698 0012 4FF48032 mov r2, #65536
- 699 0016 014B ldr r3, .L63
- 700 0018 5A61 str r2, [r3, #20]
- 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_pwr.c ****
- 701 .loc 1 591 0
- 702 001a F7E7 b .L59
- 703 .L64:
- 704 .align 2
- 705 .L63:
- 706 001c 00040140 .word 1073808384
- 707 .cfi_endproc
- 708 .LFE81:
- 710 .text
- 711 .Letext0:
- 712 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 713 .file 4 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 714 .file 5 "Drivers/CMSIS/Include/core_cm3.h"
- 715 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 716 .file 7 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 717 .file 8 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h"
- 718 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h"
- 719 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
-ARM GAS /tmp/ccSwWQUY.s page 41
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_hal_pwr.c
- /tmp/ccSwWQUY.s:16 .text.PWR_OverloadWfe:0000000000000000 $t
- /tmp/ccSwWQUY.s:22 .text.PWR_OverloadWfe:0000000000000000 PWR_OverloadWfe
- /tmp/ccSwWQUY.s:46 .text.HAL_PWR_DeInit:0000000000000000 $t
- /tmp/ccSwWQUY.s:53 .text.HAL_PWR_DeInit:0000000000000000 HAL_PWR_DeInit
- /tmp/ccSwWQUY.s:73 .text.HAL_PWR_DeInit:0000000000000014 $d
- /tmp/ccSwWQUY.s:78 .text.HAL_PWR_EnableBkUpAccess:0000000000000000 $t
- /tmp/ccSwWQUY.s:85 .text.HAL_PWR_EnableBkUpAccess:0000000000000000 HAL_PWR_EnableBkUpAccess
- /tmp/ccSwWQUY.s:100 .text.HAL_PWR_EnableBkUpAccess:0000000000000008 $d
- /tmp/ccSwWQUY.s:105 .text.HAL_PWR_DisableBkUpAccess:0000000000000000 $t
- /tmp/ccSwWQUY.s:112 .text.HAL_PWR_DisableBkUpAccess:0000000000000000 HAL_PWR_DisableBkUpAccess
- /tmp/ccSwWQUY.s:127 .text.HAL_PWR_DisableBkUpAccess:0000000000000008 $d
- /tmp/ccSwWQUY.s:132 .text.HAL_PWR_ConfigPVD:0000000000000000 $t
- /tmp/ccSwWQUY.s:139 .text.HAL_PWR_ConfigPVD:0000000000000000 HAL_PWR_ConfigPVD
- /tmp/ccSwWQUY.s:215 .text.HAL_PWR_ConfigPVD:000000000000007c $d
- /tmp/ccSwWQUY.s:221 .text.HAL_PWR_EnablePVD:0000000000000000 $t
- /tmp/ccSwWQUY.s:228 .text.HAL_PWR_EnablePVD:0000000000000000 HAL_PWR_EnablePVD
- /tmp/ccSwWQUY.s:243 .text.HAL_PWR_EnablePVD:0000000000000008 $d
- /tmp/ccSwWQUY.s:248 .text.HAL_PWR_DisablePVD:0000000000000000 $t
- /tmp/ccSwWQUY.s:255 .text.HAL_PWR_DisablePVD:0000000000000000 HAL_PWR_DisablePVD
- /tmp/ccSwWQUY.s:270 .text.HAL_PWR_DisablePVD:0000000000000008 $d
- /tmp/ccSwWQUY.s:275 .text.HAL_PWR_EnableWakeUpPin:0000000000000000 $t
- /tmp/ccSwWQUY.s:282 .text.HAL_PWR_EnableWakeUpPin:0000000000000000 HAL_PWR_EnableWakeUpPin
- /tmp/ccSwWQUY.s:314 .text.HAL_PWR_EnableWakeUpPin:0000000000000014 $d
- /tmp/ccSwWQUY.s:319 .text.HAL_PWR_DisableWakeUpPin:0000000000000000 $t
- /tmp/ccSwWQUY.s:326 .text.HAL_PWR_DisableWakeUpPin:0000000000000000 HAL_PWR_DisableWakeUpPin
- /tmp/ccSwWQUY.s:357 .text.HAL_PWR_DisableWakeUpPin:0000000000000014 $d
- /tmp/ccSwWQUY.s:362 .text.HAL_PWR_EnterSLEEPMode:0000000000000000 $t
- /tmp/ccSwWQUY.s:369 .text.HAL_PWR_EnterSLEEPMode:0000000000000000 HAL_PWR_EnterSLEEPMode
- /tmp/ccSwWQUY.s:413 .text.HAL_PWR_EnterSLEEPMode:000000000000001c $d
- /tmp/ccSwWQUY.s:418 .text.HAL_PWR_EnterSTOPMode:0000000000000000 $t
- /tmp/ccSwWQUY.s:425 .text.HAL_PWR_EnterSTOPMode:0000000000000000 HAL_PWR_EnterSTOPMode
- /tmp/ccSwWQUY.s:489 .text.HAL_PWR_EnterSTOPMode:0000000000000040 $d
- /tmp/ccSwWQUY.s:495 .text.HAL_PWR_EnterSTANDBYMode:0000000000000000 $t
- /tmp/ccSwWQUY.s:502 .text.HAL_PWR_EnterSTANDBYMode:0000000000000000 HAL_PWR_EnterSTANDBYMode
- /tmp/ccSwWQUY.s:530 .text.HAL_PWR_EnterSTANDBYMode:0000000000000018 $d
- /tmp/ccSwWQUY.s:536 .text.HAL_PWR_EnableSleepOnExit:0000000000000000 $t
- /tmp/ccSwWQUY.s:543 .text.HAL_PWR_EnableSleepOnExit:0000000000000000 HAL_PWR_EnableSleepOnExit
- /tmp/ccSwWQUY.s:559 .text.HAL_PWR_EnableSleepOnExit:000000000000000c $d
- /tmp/ccSwWQUY.s:564 .text.HAL_PWR_DisableSleepOnExit:0000000000000000 $t
- /tmp/ccSwWQUY.s:571 .text.HAL_PWR_DisableSleepOnExit:0000000000000000 HAL_PWR_DisableSleepOnExit
- /tmp/ccSwWQUY.s:587 .text.HAL_PWR_DisableSleepOnExit:000000000000000c $d
- /tmp/ccSwWQUY.s:592 .text.HAL_PWR_EnableSEVOnPend:0000000000000000 $t
- /tmp/ccSwWQUY.s:599 .text.HAL_PWR_EnableSEVOnPend:0000000000000000 HAL_PWR_EnableSEVOnPend
- /tmp/ccSwWQUY.s:615 .text.HAL_PWR_EnableSEVOnPend:000000000000000c $d
- /tmp/ccSwWQUY.s:620 .text.HAL_PWR_DisableSEVOnPend:0000000000000000 $t
- /tmp/ccSwWQUY.s:627 .text.HAL_PWR_DisableSEVOnPend:0000000000000000 HAL_PWR_DisableSEVOnPend
- /tmp/ccSwWQUY.s:643 .text.HAL_PWR_DisableSEVOnPend:000000000000000c $d
- /tmp/ccSwWQUY.s:648 .text.HAL_PWR_PVDCallback:0000000000000000 $t
- /tmp/ccSwWQUY.s:655 .text.HAL_PWR_PVDCallback:0000000000000000 HAL_PWR_PVDCallback
- /tmp/ccSwWQUY.s:667 .text.HAL_PWR_PVD_IRQHandler:0000000000000000 $t
- /tmp/ccSwWQUY.s:674 .text.HAL_PWR_PVD_IRQHandler:0000000000000000 HAL_PWR_PVD_IRQHandler
- /tmp/ccSwWQUY.s:706 .text.HAL_PWR_PVD_IRQHandler:000000000000001c $d
- .debug_frame:0000000000000010 $d
-
-NO UNDEFINED SYMBOLS
-ARM GAS /tmp/ccSwWQUY.s page 42
-
-
diff --git a/build/stm32f1xx_hal_pwr.o b/build/stm32f1xx_hal_pwr.o
deleted file mode 100644
index fbe4c96..0000000
Binary files a/build/stm32f1xx_hal_pwr.o and /dev/null differ
diff --git a/build/stm32f1xx_hal_rcc.d b/build/stm32f1xx_hal_rcc.d
deleted file mode 100644
index 96de29e..0000000
--- a/build/stm32f1xx_hal_rcc.d
+++ /dev/null
@@ -1,93 +0,0 @@
-build/stm32f1xx_hal_rcc.o: \
- Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/stm32f1xx_hal_rcc.lst b/build/stm32f1xx_hal_rcc.lst
deleted file mode 100644
index d16daca..0000000
--- a/build/stm32f1xx_hal_rcc.lst
+++ /dev/null
@@ -1,3695 +0,0 @@
-ARM GAS /tmp/cc39eJzW.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "stm32f1xx_hal_rcc.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.RCC_Delay,"ax",%progbits
- 16 .align 1
- 17 .syntax unified
- 18 .thumb
- 19 .thumb_func
- 20 .fpu softvfp
- 22 RCC_Delay:
- 23 .LFB78:
- 24 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c"
- 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
- 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ******************************************************************************
- 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @file stm32f1xx_hal_rcc.c
- 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @author MCD Application Team
- 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief RCC HAL module driver.
- 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * This file provides firmware functions to manage the following
- 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * functionalities of the Reset and Clock Control (RCC) peripheral:
- 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * + Initialization and de-initialization functions
- 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * + Peripheral Control functions
- 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
- 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** @verbatim
- 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ==============================================================================
- 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ##### RCC specific features #####
- 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ==============================================================================
- 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** [..]
- 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** After reset the device is running from Internal High Speed oscillator
- 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (HSI 8MHz) with Flash 0 wait state, Flash prefetch buffer is enabled,
- 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** and all peripherals are off except internal SRAM, Flash and JTAG.
- 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+) There is no prescaler on High speed (AHB) and Low speed (APB) buses;
- 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** all peripherals mapped on these buses are running at HSI speed.
- 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+) The clock for all peripherals is switched off, except the SRAM and FLASH.
- 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+) All GPIOs are in input floating state, except the JTAG pins which
- 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** are assigned to be used for debug purpose.
- 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** [..] Once the device started from reset, the user application has to:
- 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+) Configure the clock source to be used to drive the System clock
- 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (if the application needs higher frequency/performance)
- 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+) Configure the System clock frequency and Flash settings
- 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+) Configure the AHB and APB buses prescalers
- 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+) Enable the clock for the peripheral(s) to be used
- 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+) Configure the clock source(s) for peripherals whose clocks are not
- 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** derived from the System clock (I2S, RTC, ADC, USB OTG FS)
- 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ##### RCC Limitations #####
- 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ==============================================================================
-ARM GAS /tmp/cc39eJzW.s page 2
-
-
- 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** [..]
- 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** A delay between an RCC peripheral clock enable and the effective peripheral
- 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** enabling should be taken into account in order to manage the peripheral read/write
- 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** from/to registers.
- 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+) This delay depends on the peripheral mapping.
- 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (++) AHB & APB peripherals, 1 dummy read is necessary
- 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** [..]
- 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** Workarounds:
- 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (#) For AHB & APB peripherals, a dummy read to the peripheral register has been
- 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** inserted in each __HAL_RCC_PPP_CLK_ENABLE() macro.
- 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** @endverbatim
- 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ******************************************************************************
- 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @attention
- 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
- 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * © Copyright (c) 2016 STMicroelectronics.
- 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * All rights reserved.
- 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
- 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * the "License"; You may not use this file except in compliance with the
- 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * License. You may obtain a copy of the License at:
- 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * opensource.org/licenses/BSD-3-Clause
- 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
- 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ******************************************************************************
- 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
- 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Includes ------------------------------------------------------------------*/
- 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #include "stm32f1xx_hal.h"
- 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /** @addtogroup STM32F1xx_HAL_Driver
- 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @{
- 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
- 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /** @defgroup RCC RCC
- 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief RCC HAL module driver
- 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @{
- 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
- 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #ifdef HAL_RCC_MODULE_ENABLED
- 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Private typedef -----------------------------------------------------------*/
- 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Private define ------------------------------------------------------------*/
- 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /** @defgroup RCC_Private_Constants RCC Private Constants
- 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @{
- 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
- 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
- 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @}
- 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
- 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Private macro -------------------------------------------------------------*/
- 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /** @defgroup RCC_Private_Macros RCC Private Macros
- 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @{
- 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
- 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #define MCO1_CLK_ENABLE() __HAL_RCC_GPIOA_CLK_ENABLE()
- 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #define MCO1_GPIO_PORT GPIOA
- 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #define MCO1_PIN GPIO_PIN_8
-ARM GAS /tmp/cc39eJzW.s page 3
-
-
- 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
- 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @}
- 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
- 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Private variables ---------------------------------------------------------*/
- 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /** @defgroup RCC_Private_Variables RCC Private Variables
- 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @{
- 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
- 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
- 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @}
- 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
- 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Private function prototypes -----------------------------------------------*/
- 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** static void RCC_Delay(uint32_t mdelay);
- 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Exported functions --------------------------------------------------------*/
- 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /** @defgroup RCC_Exported_Functions RCC Exported Functions
- 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @{
- 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
- 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /** @defgroup RCC_Exported_Functions_Group1 Initialization and de-initialization functions
- 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Initialization and Configuration functions
- 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
- 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** @verbatim
- 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ===============================================================================
- 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ##### Initialization and de-initialization functions #####
- 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ===============================================================================
- 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** [..]
- 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** This section provides functions allowing to configure the internal/external oscillators
- 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (HSE, HSI, LSE, LSI, PLL, CSS and MCO) and the System buses clocks (SYSCLK, AHB, APB1
- 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** and APB2).
- 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** [..] Internal/external clock and PLL configuration
- 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (#) HSI (high-speed internal), 8 MHz factory-trimmed RC used directly or through
- 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** the PLL as System clock source.
- 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (#) LSI (low-speed internal), ~40 KHz low consumption RC used as IWDG and/or RTC
- 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** clock source.
- 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (#) HSE (high-speed external), 4 to 24 MHz (STM32F100xx) or 4 to 16 MHz (STM32F101x/STM32F102
- 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** through the PLL as System clock source. Can be used also as RTC clock source.
- 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (#) LSE (low-speed external), 32 KHz oscillator used as RTC clock source.
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (#) PLL (clocked by HSI or HSE), featuring different output clocks:
- 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (++) The first output is used to generate the high speed system clock (up to 72 MHz for STM
- 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (++) The second output is used to generate the clock for the USB OTG FS (48 MHz)
- 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (#) CSS (Clock security system), once enable using the macro __HAL_RCC_CSS_ENABLE()
- 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** and if a HSE clock failure occurs(HSE used directly or through PLL as System
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** clock source), the System clocks automatically switched to HSI and an interrupt
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** is generated if enabled. The interrupt is linked to the Cortex-M3 NMI
- 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (Non-Maskable Interrupt) exception vector.
- 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (#) MCO1 (microcontroller clock output), used to output SYSCLK, HSI,
- 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** HSE or PLL clock (divided by 2) on PA8 pin + PLL2CLK, PLL3CLK/2, PLL3CLK and XTI for STM3
-ARM GAS /tmp/cc39eJzW.s page 4
-
-
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** [..] System, AHB and APB buses clocks configuration
- 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (#) Several clock sources can be used to drive the System clock (SYSCLK): HSI,
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** HSE and PLL.
- 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** The AHB clock (HCLK) is derived from System clock through configurable
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** prescaler and used to clock the CPU, memory and peripherals mapped
- 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** on AHB bus (DMA, GPIO...). APB1 (PCLK1) and APB2 (PCLK2) clocks are derived
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** from AHB clock through configurable prescalers and used to clock
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** the peripherals mapped on these buses. You can use
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** "@ref HAL_RCC_GetSysClockFreq()" function to retrieve the frequencies of these clocks.
- 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** -@- All the peripheral clocks are derived from the System clock (SYSCLK) except:
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+@) RTC: RTC clock can be derived either from the LSI, LSE or HSE clock
- 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** divided by 128.
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+@) USB OTG FS and RTC: USB OTG FS require a frequency equal to 48 MHz
- 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** to work correctly. This clock is derived of the main PLL through PLL Multiplier.
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+@) I2S interface on STM32F105x/STM32F107x can be derived from PLL3CLK
- 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (+@) IWDG clock which is always the LSI clock.
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (#) For STM32F10xxx, the maximum frequency of the SYSCLK and HCLK/PCLK2 is 72 MHz, PCLK1 36 M
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** For STM32F100xx, the maximum frequency of the SYSCLK and HCLK/PCLK1/PCLK2 is 24 MHz.
- 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** Depending on the SYSCLK frequency, the flash latency should be adapted accordingly.
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** @endverbatim
- 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @{
- 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /*
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** Additional consideration on the SYSCLK based on Latency settings:
- 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** +-----------------------------------------------+
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** | Latency | SYSCLK clock frequency (MHz) |
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** |---------------|-------------------------------|
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** |0WS(1CPU cycle)| 0 < SYSCLK <= 24 |
- 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** |---------------|-------------------------------|
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** |1WS(2CPU cycle)| 24 < SYSCLK <= 48 |
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** |---------------|-------------------------------|
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** |2WS(3CPU cycle)| 48 < SYSCLK <= 72 |
- 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** +-----------------------------------------------+
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Resets the RCC clock configuration to the default reset state.
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note The default reset state of the clock configuration is given below:
- 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * - HSI ON and used as system clock source
- 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * - HSE, PLL, PLL2 and PLL3 are OFF
- 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * - AHB, APB1 and APB2 prescaler set to 1.
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * - CSS and MCO1 OFF
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * - All interrupts disabled
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * - All flags are cleared
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note This function does not modify the configuration of the
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * - Peripheral clocks
- 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * - LSI, LSE and RTC clocks
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval HAL_StatusTypeDef
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** HAL_StatusTypeDef HAL_RCC_DeInit(void)
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t tickstart;
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-ARM GAS /tmp/cc39eJzW.s page 5
-
-
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Set HSION bit */
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** SET_BIT(RCC->CR, RCC_CR_HSION);
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till HSI is ready */
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (READ_BIT(RCC->CR, RCC_CR_HSIRDY) == RESET)
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > HSI_TIMEOUT_VALUE)
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
- 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Set HSITRIM bits to the reset value */
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** MODIFY_REG(RCC->CR, RCC_CR_HSITRIM, (0x10U << RCC_CR_HSITRIM_Pos));
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Reset CFGR register */
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** CLEAR_REG(RCC->CFGR);
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till clock switch is ready */
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (READ_BIT(RCC->CFGR, RCC_CFGR_SWS) != RESET)
- 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > CLOCKSWITCH_TIMEOUT_VALUE)
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Update the SystemCoreClock global variable */
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** SystemCoreClock = HSI_VALUE;
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Adapt Systick interrupt period */
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (HAL_InitTick(uwTickPrio) != HAL_OK)
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Second step is to clear PLLON bit */
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** CLEAR_BIT(RCC->CR, RCC_CR_PLLON);
- 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till PLL is disabled */
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (READ_BIT(RCC->CR, RCC_CR_PLLRDY) != RESET)
- 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > PLL_TIMEOUT_VALUE)
- 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
- 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-ARM GAS /tmp/cc39eJzW.s page 6
-
-
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Ensure to reset PLLSRC and PLLMUL bits */
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** CLEAR_REG(RCC->CFGR);
- 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Reset HSEON & CSSON bits */
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** CLEAR_BIT(RCC->CR, RCC_CR_HSEON | RCC_CR_CSSON);
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till HSE is disabled */
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (READ_BIT(RCC->CR, RCC_CR_HSERDY) != RESET)
- 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > HSE_TIMEOUT_VALUE)
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Reset HSEBYP bit */
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** CLEAR_BIT(RCC->CR, RCC_CR_HSEBYP);
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_PLL2_SUPPORT)
- 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
- 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
- 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Clear PLL2ON bit */
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** CLEAR_BIT(RCC->CR, RCC_CR_PLL2ON);
- 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till PLL2 is disabled */
- 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (READ_BIT(RCC->CR, RCC_CR_PLL2RDY) != RESET)
- 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > PLL2_TIMEOUT_VALUE)
- 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /* RCC_PLL2_SUPPORT */
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_PLLI2S_SUPPORT)
- 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Clear PLL3ON bit */
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** CLEAR_BIT(RCC->CR, RCC_CR_PLL3ON);
- 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till PLL3 is disabled */
- 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (READ_BIT(RCC->CR, RCC_CR_PLL3RDY) != RESET)
- 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > PLLI2S_TIMEOUT_VALUE)
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
- 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /* RCC_PLLI2S_SUPPORT */
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CFGR2_PREDIV1)
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Reset CFGR2 register */
-ARM GAS /tmp/cc39eJzW.s page 7
-
-
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** CLEAR_REG(RCC->CFGR2);
- 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /* RCC_CFGR2_PREDIV1 */
- 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Reset all CSR flags */
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** SET_BIT(RCC->CSR, RCC_CSR_RMVF);
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Disable all interrupts */
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** CLEAR_REG(RCC->CIR);
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_OK;
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Initializes the RCC Oscillators according to the specified parameters in the
- 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * RCC_OscInitTypeDef.
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @param RCC_OscInitStruct pointer to an RCC_OscInitTypeDef structure that
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * contains the configuration information for the RCC Oscillators.
- 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note The PLL is not disabled when used as system clock.
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note The PLL is not disabled when USB OTG FS clock is enabled (specific to devices with USB
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note Transitions LSE Bypass to LSE On and LSE On to LSE Bypass are not
- 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * supported by this macro. User should request a transition to LSE Off
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * first and then LSE On or LSE Bypass.
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note Transition HSE Bypass to HSE On and HSE On to HSE Bypass are not
- 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * supported by this macro. User should request a transition to HSE Off
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * first and then HSE On or HSE Bypass.
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval HAL status
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct)
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t tickstart;
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t pll_config;
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check Null pointer */
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (RCC_OscInitStruct == NULL)
- 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_OSCILLATORTYPE(RCC_OscInitStruct->OscillatorType));
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /*------------------------------- HSE Configuration ------------------------*/
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSE) == RCC_OSCILLATORTYPE_HSE)
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_HSE(RCC_OscInitStruct->HSEState));
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* When the HSE is used as system clock or clock source for PLL in these cases it is not allowe
- 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_HSE)
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** || ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_PLLCLK) && (__HAL_RCC_GET_PLL
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) && (RCC_OscInitStruct->HSEState == RCC_HSE
- 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
-ARM GAS /tmp/cc39eJzW.s page 8
-
-
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Set the new HSE configuration ---------------------------------------*/
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_HSE_CONFIG(RCC_OscInitStruct->HSEState);
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the HSE State */
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (RCC_OscInitStruct->HSEState != RCC_HSE_OFF)
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till HSE is ready */
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET)
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > HSE_TIMEOUT_VALUE)
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
- 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till HSE is disabled */
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET)
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > HSE_TIMEOUT_VALUE)
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /*----------------------------- HSI Configuration --------------------------*/
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSI) == RCC_OSCILLATORTYPE_HSI)
- 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
- 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_HSI(RCC_OscInitStruct->HSIState));
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_CALIBRATION_VALUE(RCC_OscInitStruct->HSICalibrationValue));
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check if HSI is used as system clock or as PLL source when PLL is selected as system clock *
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_HSI)
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** || ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_PLLCLK) && (__HAL_RCC_GET_PLL
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* When HSI is used as system clock it will not disabled */
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) && (RCC_OscInitStruct->HSIState != RCC_HSI
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
- 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Otherwise, just the calibration is allowed */
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Adjusts the Internal High Speed oscillator (HSI) calibration value.*/
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST(RCC_OscInitStruct->HSICalibrationValue);
-ARM GAS /tmp/cc39eJzW.s page 9
-
-
- 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
- 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the HSI State */
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (RCC_OscInitStruct->HSIState != RCC_HSI_OFF)
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Enable the Internal High Speed oscillator (HSI). */
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_HSI_ENABLE();
- 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
- 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till HSI is ready */
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET)
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > HSI_TIMEOUT_VALUE)
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
- 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Adjusts the Internal High Speed oscillator (HSI) calibration value.*/
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST(RCC_OscInitStruct->HSICalibrationValue);
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Disable the Internal High Speed oscillator (HSI). */
- 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_HSI_DISABLE();
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till HSI is disabled */
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET)
- 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > HSI_TIMEOUT_VALUE)
- 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /*------------------------------ LSI Configuration -------------------------*/
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_LSI) == RCC_OSCILLATORTYPE_LSI)
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_LSI(RCC_OscInitStruct->LSIState));
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the LSI State */
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (RCC_OscInitStruct->LSIState != RCC_LSI_OFF)
- 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Enable the Internal Low Speed oscillator (LSI). */
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_LSI_ENABLE();
- 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
-ARM GAS /tmp/cc39eJzW.s page 10
-
-
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till LSI is ready */
- 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) == RESET)
- 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > LSI_TIMEOUT_VALUE)
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
- 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* To have a fully stabilized clock in the specified range, a software delay of 1ms
- 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** should be added.*/
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_Delay(1);
- 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Disable the Internal Low Speed oscillator (LSI). */
- 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_LSI_DISABLE();
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
- 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till LSI is disabled */
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) != RESET)
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > LSI_TIMEOUT_VALUE)
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /*------------------------------ LSE Configuration -------------------------*/
- 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_LSE) == RCC_OSCILLATORTYPE_LSE)
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** FlagStatus pwrclkchanged = RESET;
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_LSE(RCC_OscInitStruct->LSEState));
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Update LSE configuration in Backup Domain control register */
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Requires to enable write access to Backup Domain of necessary */
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (__HAL_RCC_PWR_IS_CLK_DISABLED())
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_PWR_CLK_ENABLE();
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pwrclkchanged = SET;
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP))
- 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Enable write access to Backup domain */
- 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** SET_BIT(PWR->CR, PWR_CR_DBP);
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait for Backup domain Write protection disable */
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
- 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP))
-ARM GAS /tmp/cc39eJzW.s page 11
-
-
- 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > RCC_DBP_TIMEOUT_VALUE)
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Set the new LSE configuration -----------------------------------------*/
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_LSE_CONFIG(RCC_OscInitStruct->LSEState);
- 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the LSE State */
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (RCC_OscInitStruct->LSEState != RCC_LSE_OFF)
- 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
- 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
- 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till LSE is ready */
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET)
- 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > RCC_LSE_TIMEOUT_VALUE)
- 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
- 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
- 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till LSE is disabled */
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) != RESET)
- 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > RCC_LSE_TIMEOUT_VALUE)
- 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
- 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Require to disable power clock if necessary */
- 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (pwrclkchanged == SET)
- 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_PWR_CLK_DISABLE();
- 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CR_PLL2ON)
- 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /*-------------------------------- PLL2 Configuration -----------------------*/
- 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
- 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_PLL2(RCC_OscInitStruct->PLL2.PLL2State));
- 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((RCC_OscInitStruct->PLL2.PLL2State) != RCC_PLL2_NONE)
- 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* This bit can not be cleared if the PLL2 clock is used indirectly as system
- 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** clock (i.e. it is used as PLL clock entry that is used as system clock). */
- 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((__HAL_RCC_GET_PLL_OSCSOURCE() == RCC_PLLSOURCE_HSE) && \
- 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_PLLCLK) && \
-ARM GAS /tmp/cc39eJzW.s page 12
-
-
- 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ((READ_BIT(RCC->CFGR2, RCC_CFGR2_PREDIV1SRC)) == RCC_CFGR2_PREDIV1SRC_PLL2))
- 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
- 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
- 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((RCC_OscInitStruct->PLL2.PLL2State) == RCC_PLL2_ON)
- 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
- 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_PLL2_MUL(RCC_OscInitStruct->PLL2.PLL2MUL));
- 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_HSE_PREDIV2(RCC_OscInitStruct->PLL2.HSEPrediv2Value));
- 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Prediv2 can be written only when the PLLI2S is disabled. */
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Return an error only if new value is different from the programmed value */
- 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (HAL_IS_BIT_SET(RCC->CR, RCC_CR_PLL3ON) && \
- 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (__HAL_RCC_HSE_GET_PREDIV2() != RCC_OscInitStruct->PLL2.HSEPrediv2Value))
- 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Disable the main PLL2. */
- 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_PLL2_DISABLE();
- 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
- 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till PLL2 is disabled */
- 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLL2RDY) != RESET)
- 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > PLL2_TIMEOUT_VALUE)
- 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
- 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Configure the HSE prediv2 factor --------------------------------*/
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_HSE_PREDIV2_CONFIG(RCC_OscInitStruct->PLL2.HSEPrediv2Value);
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Configure the main PLL2 multiplication factors. */
- 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_PLL2_CONFIG(RCC_OscInitStruct->PLL2.PLL2MUL);
- 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Enable the main PLL2. */
- 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_PLL2_ENABLE();
- 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
- 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
- 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till PLL2 is ready */
- 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLL2RDY) == RESET)
- 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > PLL2_TIMEOUT_VALUE)
- 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
- 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
-ARM GAS /tmp/cc39eJzW.s page 13
-
-
- 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Set PREDIV1 source to HSE */
- 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** CLEAR_BIT(RCC->CFGR2, RCC_CFGR2_PREDIV1SRC);
- 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Disable the main PLL2. */
- 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_PLL2_DISABLE();
- 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
- 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
- 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till PLL2 is disabled */
- 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLL2RDY) != RESET)
- 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > PLL2_TIMEOUT_VALUE)
- 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
- 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /* RCC_CR_PLL2ON */
- 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /*-------------------------------- PLL Configuration -----------------------*/
- 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
- 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_PLL(RCC_OscInitStruct->PLL.PLLState));
- 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((RCC_OscInitStruct->PLL.PLLState) != RCC_PLL_NONE)
- 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check if the PLL is used as system clock or not */
- 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (__HAL_RCC_GET_SYSCLK_SOURCE() != RCC_SYSCLKSOURCE_STATUS_PLLCLK)
- 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_ON)
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
- 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_PLLSOURCE(RCC_OscInitStruct->PLL.PLLSource));
- 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_PLL_MUL(RCC_OscInitStruct->PLL.PLLMUL));
- 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Disable the main PLL. */
- 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_PLL_DISABLE();
- 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
- 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
- 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till PLL is disabled */
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET)
- 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > PLL_TIMEOUT_VALUE)
- 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
- 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Configure the HSE prediv factor --------------------------------*/
- 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* It can be written only when the PLL is disabled. Not used in PLL source is different tha
- 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (RCC_OscInitStruct->PLL.PLLSource == RCC_PLLSOURCE_HSE)
- 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameter */
-ARM GAS /tmp/cc39eJzW.s page 14
-
-
- 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_HSE_PREDIV(RCC_OscInitStruct->HSEPredivValue));
- 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CFGR2_PREDIV1SRC)
- 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_PREDIV1_SOURCE(RCC_OscInitStruct->Prediv1Source));
- 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Set PREDIV1 source */
- 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** SET_BIT(RCC->CFGR2, RCC_OscInitStruct->Prediv1Source);
- 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /* RCC_CFGR2_PREDIV1SRC */
- 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Set PREDIV1 Value */
- 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_HSE_PREDIV_CONFIG(RCC_OscInitStruct->HSEPredivValue);
- 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Configure the main PLL clock source and multiplication factors. */
- 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_PLL_CONFIG(RCC_OscInitStruct->PLL.PLLSource,
- 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLMUL);
- 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Enable the main PLL. */
- 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_PLL_ENABLE();
- 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
- 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
- 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till PLL is ready */
- 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET)
- 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > PLL_TIMEOUT_VALUE)
- 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
- 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
- 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Disable the main PLL. */
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_PLL_DISABLE();
- 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
- 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
- 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Wait till PLL is disabled */
- 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET)
- 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > PLL_TIMEOUT_VALUE)
- 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
- 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
- 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check if there is a request to disable the PLL used as System clock source */
- 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_OFF)
- 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
- 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
- 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-ARM GAS /tmp/cc39eJzW.s page 15
-
-
- 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Do not return HAL_ERROR if request repeats the current configuration */
- 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pll_config = RCC->CFGR;
- 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((READ_BIT(pll_config, RCC_CFGR_PLLSRC) != RCC_OscInitStruct->PLL.PLLSource) ||
- 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (READ_BIT(pll_config, RCC_CFGR_PLLMULL) != RCC_OscInitStruct->PLL.PLLMUL))
- 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
- 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_OK;
- 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
- 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Initializes the CPU, AHB and APB buses clocks according to the specified
- 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * parameters in the RCC_ClkInitStruct.
- 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @param RCC_ClkInitStruct pointer to an RCC_OscInitTypeDef structure that
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * contains the configuration information for the RCC peripheral.
- 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @param FLatency FLASH Latency
- 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * The value of this parameter depend on device used within the same series
- 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note The SystemCoreClock CMSIS variable is used to store System Clock Frequency
- 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * and updated by @ref HAL_RCC_GetHCLKFreq() function called within this function
- 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
- 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note The HSI is used (enabled by hardware) as system clock source after
- 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * start-up from Reset, wake-up from STOP and STANDBY mode, or in case
- 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * of failure of the HSE used directly or indirectly as system clock
- 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * (if the Clock Security System CSS is enabled).
- 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note A switch from one clock source to another occurs only if the target
- 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * clock source is ready (clock stable after start-up delay or PLL locked).
- 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * If a clock source which is not yet ready is selected, the switch will
- 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * occur when the clock source will be ready.
- 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * You can use @ref HAL_RCC_GetClockConfig() function to know which clock is
- 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * currently used as system clock source.
- 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval HAL status
- 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
- 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency)
- 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t tickstart;
- 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check Null pointer */
- 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (RCC_ClkInitStruct == NULL)
- 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
- 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
- 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_CLOCKTYPE(RCC_ClkInitStruct->ClockType));
- 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_FLASH_LATENCY(FLatency));
- 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* To correctly read data from FLASH memory, the number of wait states (LATENCY)
- 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** must be correctly programmed according to the frequency of the CPU clock
- 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (HCLK) of the device. */
- 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(FLASH_ACR_LATENCY)
- 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Increasing the number of wait states because of higher CPU frequency */
-ARM GAS /tmp/cc39eJzW.s page 16
-
-
- 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (FLatency > __HAL_FLASH_GET_LATENCY())
- 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Program the new number of wait states to the LATENCY bits in the FLASH_ACR register */
- 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_FLASH_SET_LATENCY(FLatency);
- 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check that the new number of wait states is taken into account to access the Flash
- 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** memory by reading the FLASH_ACR register */
- 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (__HAL_FLASH_GET_LATENCY() != FLatency)
- 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
- 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /* FLASH_ACR_LATENCY */
- 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /*-------------------------- HCLK Configuration --------------------------*/
- 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_HCLK) == RCC_CLOCKTYPE_HCLK)
- 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Set the highest APBx dividers in order to ensure that we do not go through
- 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** a non-spec phase whatever we decrease or increase HCLK. */
- 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK1) == RCC_CLOCKTYPE_PCLK1)
- 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, RCC_HCLK_DIV16);
- 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK2) == RCC_CLOCKTYPE_PCLK2)
- 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, (RCC_HCLK_DIV16 << 3));
- 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Set the new HCLK clock divider */
- 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_HCLK(RCC_ClkInitStruct->AHBCLKDivider));
- 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_HPRE, RCC_ClkInitStruct->AHBCLKDivider);
- 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /*------------------------- SYSCLK Configuration ---------------------------*/
- 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_SYSCLK) == RCC_CLOCKTYPE_SYSCLK)
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_SYSCLKSOURCE(RCC_ClkInitStruct->SYSCLKSource));
- 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* HSE is selected as System Clock Source */
- 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_HSE)
- 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the HSE ready flag */
- 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET)
- 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
- 879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* PLL is selected as System Clock Source */
- 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else if (RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_PLLCLK)
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the PLL ready flag */
- 885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET)
- 886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
- 888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-ARM GAS /tmp/cc39eJzW.s page 17
-
-
- 890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* HSI is selected as System Clock Source */
- 891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
- 892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the HSI ready flag */
- 894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET)
- 895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
- 897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_SYSCLK_CONFIG(RCC_ClkInitStruct->SYSCLKSource);
- 900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get Start Tick */
- 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tickstart = HAL_GetTick();
- 903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (__HAL_RCC_GET_SYSCLK_SOURCE() != (RCC_ClkInitStruct->SYSCLKSource << RCC_CFGR_SWS_Pos))
- 905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((HAL_GetTick() - tickstart) > CLOCKSWITCH_TIMEOUT_VALUE)
- 907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_TIMEOUT;
- 909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(FLASH_ACR_LATENCY)
- 914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Decreasing the number of wait states because of lower CPU frequency */
- 915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (FLatency < __HAL_FLASH_GET_LATENCY())
- 916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Program the new number of wait states to the LATENCY bits in the FLASH_ACR register */
- 918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_FLASH_SET_LATENCY(FLatency);
- 919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check that the new number of wait states is taken into account to access the Flash
- 921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** memory by reading the FLASH_ACR register */
- 922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (__HAL_FLASH_GET_LATENCY() != FLatency)
- 923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_ERROR;
- 925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /* FLASH_ACR_LATENCY */
- 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /*-------------------------- PCLK1 Configuration ---------------------------*/
- 930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK1) == RCC_CLOCKTYPE_PCLK1)
- 931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_PCLK(RCC_ClkInitStruct->APB1CLKDivider));
- 933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, RCC_ClkInitStruct->APB1CLKDivider);
- 934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /*-------------------------- PCLK2 Configuration ---------------------------*/
- 937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK2) == RCC_CLOCKTYPE_PCLK2)
- 938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_PCLK(RCC_ClkInitStruct->APB2CLKDivider));
- 940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, ((RCC_ClkInitStruct->APB2CLKDivider) << 3));
- 941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Update the SystemCoreClock global variable */
- 944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** SystemCoreClock = HAL_RCC_GetSysClockFreq() >> AHBPrescTable[(RCC->CFGR & RCC_CFGR_HPRE) >> RCC_C
- 945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Configure the source of time base considering new system clocks settings*/
-ARM GAS /tmp/cc39eJzW.s page 18
-
-
- 947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** HAL_InitTick(uwTickPrio);
- 948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return HAL_OK;
- 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
- 953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @}
- 954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
- 955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /** @defgroup RCC_Exported_Functions_Group2 Peripheral Control functions
- 957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief RCC clocks control functions
- 958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
- 959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** @verbatim
- 960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ===============================================================================
- 961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ##### Peripheral Control functions #####
- 962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** ===============================================================================
- 963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** [..]
- 964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** This subsection provides a set of functions allowing to control the RCC Clocks
- 965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** frequencies.
- 966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** @endverbatim
- 968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @{
- 969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
- 970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
- 972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Selects the clock source to output on MCO pin.
- 973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note MCO pin should be configured in alternate function mode.
- 974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @param RCC_MCOx specifies the output direction for the clock source.
- 975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * This parameter can be one of the following values:
- 976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1 Clock source to output on MCO1 pin(PA8).
- 977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @param RCC_MCOSource specifies the clock source to output.
- 978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * This parameter can be one of the following values:
- 979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_NOCLOCK No clock selected as MCO clock
- 980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_SYSCLK System clock selected as MCO clock
- 981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_HSI HSI selected as MCO clock
- 982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_HSE HSE selected as MCO clock
- 983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** @if STM32F105xC
- 984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_PLLCLK PLL clock divided by 2 selected as MCO source
- 985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_PLL2CLK PLL2 clock selected as MCO source
- 986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_PLL3CLK_DIV2 PLL3 clock divided by 2 selected as MCO source
- 987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_EXT_HSE XT1 external 3-25 MHz oscillator clock selecte
- 988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_PLL3CLK PLL3 clock selected as MCO source
- 989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** @endif
- 990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** @if STM32F107xC
- 991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_PLLCLK PLL clock divided by 2 selected as MCO source
- 992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_PLL2CLK PLL2 clock selected as MCO source
- 993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_PLL3CLK_DIV2 PLL3 clock divided by 2 selected as MCO source
- 994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_EXT_HSE XT1 external 3-25 MHz oscillator clock selected as
- 995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCO1SOURCE_PLL3CLK PLL3 clock selected as MCO source
- 996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** @endif
- 997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @param RCC_MCODiv specifies the MCO DIV.
- 998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * This parameter can be one of the following values:
- 999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @arg @ref RCC_MCODIV_1 no division applied to MCO clock
-1000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval None
-1001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
-1002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** void HAL_RCC_MCOConfig(uint32_t RCC_MCOx, uint32_t RCC_MCOSource, uint32_t RCC_MCODiv)
-1003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-ARM GAS /tmp/cc39eJzW.s page 19
-
-
-1004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** GPIO_InitTypeDef gpio = {0U};
-1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
-1007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_MCO(RCC_MCOx));
-1008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_MCODIV(RCC_MCODiv));
-1009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(IS_RCC_MCO1SOURCE(RCC_MCOSource));
-1010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Prevent unused argument(s) compilation warning */
-1012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** UNUSED(RCC_MCOx);
-1013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** UNUSED(RCC_MCODiv);
-1014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Configure the MCO1 pin in alternate function mode */
-1016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** gpio.Mode = GPIO_MODE_AF_PP;
-1017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** gpio.Speed = GPIO_SPEED_FREQ_HIGH;
-1018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** gpio.Pull = GPIO_NOPULL;
-1019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** gpio.Pin = MCO1_PIN;
-1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* MCO1 Clock Enable */
-1022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** MCO1_CLK_ENABLE();
-1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** HAL_GPIO_Init(MCO1_GPIO_PORT, &gpio);
-1025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Configure the MCO clock source */
-1027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_MCO1_CONFIG(RCC_MCOSource, RCC_MCODiv);
-1028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
-1031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Enables the Clock Security System.
-1032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note If a failure is detected on the HSE oscillator clock, this oscillator
-1033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * is automatically disabled and an interrupt is generated to inform the
-1034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * software about the failure (Clock Security System Interrupt, CSSI),
-1035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * allowing the MCU to perform rescue operations. The CSSI is linked to
-1036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * the Cortex-M3 NMI (Non-Maskable Interrupt) exception vector.
-1037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval None
-1038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
-1039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** void HAL_RCC_EnableCSS(void)
-1040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *(__IO uint32_t *) RCC_CR_CSSON_BB = (uint32_t)ENABLE;
-1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
-1045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Disables the Clock Security System.
-1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval None
-1047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
-1048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** void HAL_RCC_DisableCSS(void)
-1049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *(__IO uint32_t *) RCC_CR_CSSON_BB = (uint32_t)DISABLE;
-1051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
-1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Returns the SYSCLK frequency
-1055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note The system frequency computed by this function is not the real
-1056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * frequency in the chip. It is calculated based on the predefined
-1057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * constant and the selected clock source:
-1058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note If SYSCLK source is HSI, function returns values based on HSI_VALUE(*)
-1059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note If SYSCLK source is HSE, function returns a value based on HSE_VALUE
-1060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * divided by PREDIV factor(**)
-ARM GAS /tmp/cc39eJzW.s page 20
-
-
-1061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note If SYSCLK source is PLL, function returns a value based on HSE_VALUE
-1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * divided by PREDIV factor(**) or HSI_VALUE(*) multiplied by the PLL factor.
-1063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note (*) HSI_VALUE is a constant defined in stm32f1xx_hal_conf.h file (default value
-1064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * 8 MHz) but the real value may vary depending on the variations
-1065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * in voltage and temperature.
-1066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note (**) HSE_VALUE is a constant defined in stm32f1xx_hal_conf.h file (default value
-1067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * 8 MHz), user has to ensure that HSE_VALUE is same as the real
-1068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * frequency of the crystal used. Otherwise, this function may
-1069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * have wrong result.
-1070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
-1071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note The result of this function could be not correct when using fractional
-1072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * value for HSE crystal.
-1073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
-1074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note This function can be used by the user application to compute the
-1075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * baud-rate for the communication peripherals or configure other parameters.
-1076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
-1077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note Each time SYSCLK changes, this function must be called to update the
-1078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * right SYSCLK value. Otherwise, any configuration based on this function will be incorre
-1079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
-1080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval SYSCLK frequency
-1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
-1082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t HAL_RCC_GetSysClockFreq(void)
-1083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CFGR2_PREDIV1SRC)
-1085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** const uint8_t aPLLMULFactorTable[14] = {0, 0, 4, 5, 6, 7, 8, 9, 0, 0, 0, 0, 0, 13};
-1086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** const uint8_t aPredivFactorTable[16] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16};
-1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #else
-1088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** const uint8_t aPLLMULFactorTable[16] = {2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 16};
-1089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CFGR2_PREDIV1)
-1090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** const uint8_t aPredivFactorTable[16] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16};
-1091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #else
-1092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** const uint8_t aPredivFactorTable[2] = {1, 2};
-1093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /*RCC_CFGR2_PREDIV1*/
-1094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif
-1096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t tmpreg = 0U, prediv = 0U, pllclk = 0U, pllmul = 0U;
-1097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t sysclockfreq = 0U;
-1098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CFGR2_PREDIV1SRC)
-1099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t prediv2 = 0U, pll2mul = 0U;
-1100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /*RCC_CFGR2_PREDIV1SRC*/
-1101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** tmpreg = RCC->CFGR;
-1103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get SYSCLK source -------------------------------------------------------*/
-1105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** switch (tmpreg & RCC_CFGR_SWS)
-1106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** case RCC_SYSCLKSOURCE_STATUS_HSE: /* HSE used as system clock */
-1108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** sysclockfreq = HSE_VALUE;
-1110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** break;
-1111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** case RCC_SYSCLKSOURCE_STATUS_PLLCLK: /* PLL used as system clock */
-1113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pllmul = aPLLMULFactorTable[(uint32_t)(tmpreg & RCC_CFGR_PLLMULL) >> RCC_CFGR_PLLMULL_Pos];
-1115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((tmpreg & RCC_CFGR_PLLSRC) != RCC_PLLSOURCE_HSI_DIV2)
-1116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CFGR2_PREDIV1)
-ARM GAS /tmp/cc39eJzW.s page 21
-
-
-1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** prediv = aPredivFactorTable[(uint32_t)(RCC->CFGR2 & RCC_CFGR2_PREDIV1) >> RCC_CFGR2_PREDIV1
-1119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #else
-1120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** prediv = aPredivFactorTable[(uint32_t)(RCC->CFGR & RCC_CFGR_PLLXTPRE) >> RCC_CFGR_PLLXTPRE_
-1121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /*RCC_CFGR2_PREDIV1*/
-1122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CFGR2_PREDIV1SRC)
-1123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (HAL_IS_BIT_SET(RCC->CFGR2, RCC_CFGR2_PREDIV1SRC))
-1125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* PLL2 selected as Prediv1 source */
-1127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* PLLCLK = PLL2CLK / PREDIV1 * PLLMUL with PLL2CLK = HSE/PREDIV2 * PLL2MUL */
-1128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** prediv2 = ((RCC->CFGR2 & RCC_CFGR2_PREDIV2) >> RCC_CFGR2_PREDIV2_Pos) + 1;
-1129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pll2mul = ((RCC->CFGR2 & RCC_CFGR2_PLL2MUL) >> RCC_CFGR2_PLL2MUL_Pos) + 2;
-1130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pllclk = (uint32_t)(((uint64_t)HSE_VALUE * (uint64_t)pll2mul * (uint64_t)pllmul) / ((uint
-1131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
-1133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* HSE used as PLL clock source : PLLCLK = HSE/PREDIV1 * PLLMUL */
-1135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pllclk = (uint32_t)((HSE_VALUE * pllmul) / prediv);
-1136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* If PLLMUL was set to 13 means that it was to cover the case PLLMUL 6.5 (avoid using floa
-1139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* In this case need to divide pllclk by 2 */
-1140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (pllmul == aPLLMULFactorTable[(uint32_t)(RCC_CFGR_PLLMULL6_5) >> RCC_CFGR_PLLMULL_Pos])
-1141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pllclk = pllclk / 2;
-1143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #else
-1145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* HSE used as PLL clock source : PLLCLK = HSE/PREDIV1 * PLLMUL */
-1146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pllclk = (uint32_t)((HSE_VALUE * pllmul) / prediv);
-1147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /*RCC_CFGR2_PREDIV1SRC*/
-1148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
-1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* HSI used as PLL clock source : PLLCLK = HSI/2 * PLLMUL */
-1152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pllclk = (uint32_t)((HSI_VALUE >> 1) * pllmul);
-1153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** sysclockfreq = pllclk;
-1155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** break;
-1156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** case RCC_SYSCLKSOURCE_STATUS_HSI: /* HSI used as system clock source */
-1158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** default: /* HSI used as system clock */
-1159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** sysclockfreq = HSI_VALUE;
-1161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** break;
-1162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return sysclockfreq;
-1165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
-1168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Returns the HCLK frequency
-1169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note Each time HCLK changes, this function must be called to update the
-1170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * right HCLK value. Otherwise, any configuration based on this function will be incorrect
-1171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *
-1172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note The SystemCoreClock CMSIS variable is used to store System Clock Frequency
-1173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * and updated within this function
-1174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval HCLK frequency
-ARM GAS /tmp/cc39eJzW.s page 22
-
-
-1175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
-1176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t HAL_RCC_GetHCLKFreq(void)
-1177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return SystemCoreClock;
-1179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
-1182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Returns the PCLK1 frequency
-1183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note Each time PCLK1 changes, this function must be called to update the
-1184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * right PCLK1 value. Otherwise, any configuration based on this function will be incorrec
-1185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval PCLK1 frequency
-1186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
-1187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t HAL_RCC_GetPCLK1Freq(void)
-1188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get HCLK source and Compute PCLK1 frequency ---------------------------*/
-1190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return (HAL_RCC_GetHCLKFreq() >> APBPrescTable[(RCC->CFGR & RCC_CFGR_PPRE1) >> RCC_CFGR_PPRE1_Pos
-1191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
-1194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Returns the PCLK2 frequency
-1195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note Each time PCLK2 changes, this function must be called to update the
-1196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * right PCLK2 value. Otherwise, any configuration based on this function will be incorrec
-1197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval PCLK2 frequency
-1198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
-1199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t HAL_RCC_GetPCLK2Freq(void)
-1200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get HCLK source and Compute PCLK2 frequency ---------------------------*/
-1202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return (HAL_RCC_GetHCLKFreq() >> APBPrescTable[(RCC->CFGR & RCC_CFGR_PPRE2) >> RCC_CFGR_PPRE2_Pos
-1203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
-1206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Configures the RCC_OscInitStruct according to the internal
-1207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * RCC configuration registers.
-1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @param RCC_OscInitStruct pointer to an RCC_OscInitTypeDef structure that
-1209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * will be configured.
-1210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval None
-1211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
-1212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** void HAL_RCC_GetOscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct)
-1213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
-1215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(RCC_OscInitStruct != NULL);
-1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Set all possible values for the Oscillator type parameter ---------------*/
-1218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->OscillatorType = RCC_OSCILLATORTYPE_HSE | RCC_OSCILLATORTYPE_HSI \
-1219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** | RCC_OSCILLATORTYPE_LSE | RCC_OSCILLATORTYPE_LSI;
-1220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CFGR2_PREDIV1SRC)
-1222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get the Prediv1 source --------------------------------------------------*/
-1223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->Prediv1Source = READ_BIT(RCC->CFGR2, RCC_CFGR2_PREDIV1SRC);
-1224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /* RCC_CFGR2_PREDIV1SRC */
-1225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get the HSE configuration -----------------------------------------------*/
-1227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((RCC->CR & RCC_CR_HSEBYP) == RCC_CR_HSEBYP)
-1228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->HSEState = RCC_HSE_BYPASS;
-1230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else if ((RCC->CR & RCC_CR_HSEON) == RCC_CR_HSEON)
-ARM GAS /tmp/cc39eJzW.s page 23
-
-
-1232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->HSEState = RCC_HSE_ON;
-1234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
-1236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->HSEState = RCC_HSE_OFF;
-1238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->HSEPredivValue = __HAL_RCC_HSE_GET_PREDIV();
-1240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get the HSI configuration -----------------------------------------------*/
-1242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((RCC->CR & RCC_CR_HSION) == RCC_CR_HSION)
-1243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->HSIState = RCC_HSI_ON;
-1245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
-1247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->HSIState = RCC_HSI_OFF;
-1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->HSICalibrationValue = (uint32_t)((RCC->CR & RCC_CR_HSITRIM) >> RCC_CR_HSITRIM_
-1252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get the LSE configuration -----------------------------------------------*/
-1254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((RCC->BDCR & RCC_BDCR_LSEBYP) == RCC_BDCR_LSEBYP)
-1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->LSEState = RCC_LSE_BYPASS;
-1257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else if ((RCC->BDCR & RCC_BDCR_LSEON) == RCC_BDCR_LSEON)
-1259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->LSEState = RCC_LSE_ON;
-1261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
-1263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->LSEState = RCC_LSE_OFF;
-1265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get the LSI configuration -----------------------------------------------*/
-1268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((RCC->CSR & RCC_CSR_LSION) == RCC_CSR_LSION)
-1269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->LSIState = RCC_LSI_ON;
-1271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
-1273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->LSIState = RCC_LSI_OFF;
-1275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get the PLL configuration -----------------------------------------------*/
-1279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((RCC->CR & RCC_CR_PLLON) == RCC_CR_PLLON)
-1280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLState = RCC_PLL_ON;
-1282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
-1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLState = RCC_PLL_OFF;
-1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLSource = (uint32_t)(RCC->CFGR & RCC_CFGR_PLLSRC);
-1288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLMUL = (uint32_t)(RCC->CFGR & RCC_CFGR_PLLMULL);
-ARM GAS /tmp/cc39eJzW.s page 24
-
-
-1289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CR_PLL2ON)
-1290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get the PLL2 configuration -----------------------------------------------*/
-1291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((RCC->CR & RCC_CR_PLL2ON) == RCC_CR_PLL2ON)
-1292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL2.PLL2State = RCC_PLL2_ON;
-1294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** else
-1296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL2.PLL2State = RCC_PLL2_OFF;
-1298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL2.HSEPrediv2Value = __HAL_RCC_HSE_GET_PREDIV2();
-1300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL2.PLL2MUL = (uint32_t)(RCC->CFGR2 & RCC_CFGR2_PLL2MUL);
-1301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /* RCC_CR_PLL2ON */
-1302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
-1305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief Get the RCC_ClkInitStruct according to the internal
-1306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * RCC configuration registers.
-1307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @param RCC_ClkInitStruct pointer to an RCC_ClkInitTypeDef structure that
-1308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * contains the current clock configuration.
-1309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @param pFLatency Pointer on the Flash Latency.
-1310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval None
-1311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
-1312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** void HAL_RCC_GetClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t *pFLatency)
-1313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
-1315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(RCC_ClkInitStruct != NULL);
-1316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** assert_param(pFLatency != NULL);
-1317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Set all possible values for the Clock type parameter --------------------*/
-1319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_ClkInitStruct->ClockType = RCC_CLOCKTYPE_SYSCLK | RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_PCLK1 |
-1320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get the SYSCLK configuration --------------------------------------------*/
-1322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_ClkInitStruct->SYSCLKSource = (uint32_t)(RCC->CFGR & RCC_CFGR_SW);
-1323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get the HCLK configuration ----------------------------------------------*/
-1325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_ClkInitStruct->AHBCLKDivider = (uint32_t)(RCC->CFGR & RCC_CFGR_HPRE);
-1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get the APB1 configuration ----------------------------------------------*/
-1328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_ClkInitStruct->APB1CLKDivider = (uint32_t)(RCC->CFGR & RCC_CFGR_PPRE1);
-1329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get the APB2 configuration ----------------------------------------------*/
-1331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_ClkInitStruct->APB2CLKDivider = (uint32_t)((RCC->CFGR & RCC_CFGR_PPRE2) >> 3);
-1332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(FLASH_ACR_LATENCY)
-1334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get the Flash Wait State (Latency) configuration ------------------------*/
-1335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *pFLatency = (uint32_t)(FLASH->ACR & FLASH_ACR_LATENCY);
-1336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #else
-1337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* For VALUE lines devices, only LATENCY_0 can be set*/
-1338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *pFLatency = (uint32_t)FLASH_LATENCY_0;
-1339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif
-1340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
-1343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief This function handles the RCC CSS interrupt request.
-1344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @note This API should be called under the NMI_Handler().
-1345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval None
-ARM GAS /tmp/cc39eJzW.s page 25
-
-
-1346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
-1347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** void HAL_RCC_NMI_IRQHandler(void)
-1348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check RCC CSSF flag */
-1350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if (__HAL_RCC_GET_IT(RCC_IT_CSS))
-1351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* RCC Clock Security System interrupt user callback */
-1353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** HAL_RCC_CSSCallback();
-1354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Clear RCC CSS pending bit */
-1356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __HAL_RCC_CLEAR_IT(RCC_IT_CSS);
-1357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
-1361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief This function provides delay (in milliseconds) based on CPU cycles method.
-1362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @param mdelay: specifies the delay time length, in milliseconds.
-1363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval None
-1364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
-1365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** static void RCC_Delay(uint32_t mdelay)
-1366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 25 .loc 1 1366 0
- 26 .cfi_startproc
- 27 @ args = 0, pretend = 0, frame = 8
- 28 @ frame_needed = 0, uses_anonymous_args = 0
- 29 @ link register save eliminated.
- 30 .LVL0:
- 31 0000 82B0 sub sp, sp, #8
- 32 .LCFI0:
- 33 .cfi_def_cfa_offset 8
-1367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __IO uint32_t Delay = mdelay * (SystemCoreClock / 8U / 1000U);
- 34 .loc 1 1367 0
- 35 0002 084B ldr r3, .L4
- 36 0004 1B68 ldr r3, [r3]
- 37 0006 084A ldr r2, .L4+4
- 38 0008 A2FB0323 umull r2, r3, r2, r3
- 39 000c 5B0A lsrs r3, r3, #9
- 40 000e 00FB03F0 mul r0, r0, r3
- 41 .LVL1:
- 42 0012 0190 str r0, [sp, #4]
- 43 .L2:
-1368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** do
-1369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-1370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __NOP();
- 44 .loc 1 1370 0 discriminator 1
- 45 .syntax unified
- 46 @ 1370 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c" 1
- 47 0014 00BF nop
- 48 @ 0 "" 2
-1371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
-1372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** while (Delay --);
- 49 .loc 1 1372 0 discriminator 1
- 50 .thumb
- 51 .syntax unified
- 52 0016 019B ldr r3, [sp, #4]
- 53 0018 5A1E subs r2, r3, #1
- 54 001a 0192 str r2, [sp, #4]
-ARM GAS /tmp/cc39eJzW.s page 26
-
-
- 55 001c 002B cmp r3, #0
- 56 001e F9D1 bne .L2
-1373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 57 .loc 1 1373 0
- 58 0020 02B0 add sp, sp, #8
- 59 .LCFI1:
- 60 .cfi_def_cfa_offset 0
- 61 @ sp needed
- 62 0022 7047 bx lr
- 63 .L5:
- 64 .align 2
- 65 .L4:
- 66 0024 00000000 .word SystemCoreClock
- 67 0028 D34D6210 .word 274877907
- 68 .cfi_endproc
- 69 .LFE78:
- 71 .section .text.HAL_RCC_DeInit,"ax",%progbits
- 72 .align 1
- 73 .global HAL_RCC_DeInit
- 74 .syntax unified
- 75 .thumb
- 76 .thumb_func
- 77 .fpu softvfp
- 79 HAL_RCC_DeInit:
- 80 .LFB65:
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t tickstart;
- 81 .loc 1 203 0
- 82 .cfi_startproc
- 83 @ args = 0, pretend = 0, frame = 0
- 84 @ frame_needed = 0, uses_anonymous_args = 0
- 85 0000 70B5 push {r4, r5, r6, lr}
- 86 .LCFI2:
- 87 .cfi_def_cfa_offset 16
- 88 .cfi_offset 4, -16
- 89 .cfi_offset 5, -12
- 90 .cfi_offset 6, -8
- 91 .cfi_offset 14, -4
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 92 .loc 1 207 0
- 93 0002 FFF7FEFF bl HAL_GetTick
- 94 .LVL2:
- 95 0006 0446 mov r4, r0
- 96 .LVL3:
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 97 .loc 1 210 0
- 98 0008 364A ldr r2, .L27
- 99 000a 1368 ldr r3, [r2]
- 100 000c 43F00103 orr r3, r3, #1
- 101 0010 1360 str r3, [r2]
- 102 .LVL4:
- 103 .L7:
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 104 .loc 1 213 0
- 105 0012 344B ldr r3, .L27
- 106 0014 1B68 ldr r3, [r3]
- 107 0016 13F0020F tst r3, #2
- 108 001a 07D1 bne .L22
-ARM GAS /tmp/cc39eJzW.s page 27
-
-
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 109 .loc 1 215 0
- 110 001c FFF7FEFF bl HAL_GetTick
- 111 .LVL5:
- 112 0020 001B subs r0, r0, r4
- 113 0022 0228 cmp r0, #2
- 114 0024 F5D9 bls .L7
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 115 .loc 1 217 0
- 116 0026 0324 movs r4, #3
- 117 .LVL6:
- 118 .L8:
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 119 .loc 1 330 0
- 120 0028 2046 mov r0, r4
- 121 002a 70BD pop {r4, r5, r6, pc}
- 122 .LVL7:
- 123 .L22:
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 124 .loc 1 222 0
- 125 002c 2D4D ldr r5, .L27
- 126 002e 2B68 ldr r3, [r5]
- 127 0030 23F0F803 bic r3, r3, #248
- 128 0034 43F08003 orr r3, r3, #128
- 129 0038 2B60 str r3, [r5]
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 130 .loc 1 225 0
- 131 003a FFF7FEFF bl HAL_GetTick
- 132 .LVL8:
- 133 003e 0446 mov r4, r0
- 134 .LVL9:
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 135 .loc 1 228 0
- 136 0040 0023 movs r3, #0
- 137 0042 6B60 str r3, [r5, #4]
- 138 .LVL10:
- 139 .L10:
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 140 .loc 1 231 0
- 141 0044 274B ldr r3, .L27
- 142 0046 5B68 ldr r3, [r3, #4]
- 143 0048 13F00C0F tst r3, #12
- 144 004c 08D0 beq .L23
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 145 .loc 1 233 0
- 146 004e FFF7FEFF bl HAL_GetTick
- 147 .LVL11:
- 148 0052 001B subs r0, r0, r4
- 149 0054 41F28833 movw r3, #5000
- 150 0058 9842 cmp r0, r3
- 151 005a F3D9 bls .L10
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 152 .loc 1 235 0
- 153 005c 0324 movs r4, #3
- 154 .LVL12:
- 155 005e E3E7 b .L8
- 156 .LVL13:
-ARM GAS /tmp/cc39eJzW.s page 28
-
-
- 157 .L23:
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 158 .loc 1 240 0
- 159 0060 214A ldr r2, .L27+4
- 160 0062 224B ldr r3, .L27+8
- 161 0064 1A60 str r2, [r3]
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 162 .loc 1 243 0
- 163 0066 224B ldr r3, .L27+12
- 164 0068 1868 ldr r0, [r3]
- 165 006a FFF7FEFF bl HAL_InitTick
- 166 .LVL14:
- 167 006e 0446 mov r4, r0
- 168 .LVL15:
- 169 0070 08B1 cbz r0, .L24
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 170 .loc 1 245 0
- 171 0072 0124 movs r4, #1
- 172 0074 D8E7 b .L8
- 173 .L24:
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 174 .loc 1 249 0
- 175 0076 FFF7FEFF bl HAL_GetTick
- 176 .LVL16:
- 177 007a 0546 mov r5, r0
- 178 .LVL17:
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 179 .loc 1 252 0
- 180 007c 194A ldr r2, .L27
- 181 007e 1368 ldr r3, [r2]
- 182 0080 23F08073 bic r3, r3, #16777216
- 183 0084 1360 str r3, [r2]
- 184 .LVL18:
- 185 .L12:
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 186 .loc 1 255 0
- 187 0086 174B ldr r3, .L27
- 188 0088 1B68 ldr r3, [r3]
- 189 008a 13F0007F tst r3, #33554432
- 190 008e 06D0 beq .L25
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 191 .loc 1 257 0
- 192 0090 FFF7FEFF bl HAL_GetTick
- 193 .LVL19:
- 194 0094 401B subs r0, r0, r5
- 195 0096 0228 cmp r0, #2
- 196 0098 F5D9 bls .L12
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 197 .loc 1 259 0
- 198 009a 0324 movs r4, #3
- 199 009c C4E7 b .L8
- 200 .L25:
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 201 .loc 1 264 0
- 202 009e 114E ldr r6, .L27
- 203 00a0 0023 movs r3, #0
- 204 00a2 7360 str r3, [r6, #4]
-ARM GAS /tmp/cc39eJzW.s page 29
-
-
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 205 .loc 1 267 0
- 206 00a4 FFF7FEFF bl HAL_GetTick
- 207 .LVL20:
- 208 00a8 0546 mov r5, r0
- 209 .LVL21:
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 210 .loc 1 270 0
- 211 00aa 3368 ldr r3, [r6]
- 212 00ac 23F41023 bic r3, r3, #589824
- 213 00b0 3360 str r3, [r6]
- 214 .LVL22:
- 215 .L14:
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 216 .loc 1 273 0
- 217 00b2 0C4B ldr r3, .L27
- 218 00b4 1B68 ldr r3, [r3]
- 219 00b6 13F4003F tst r3, #131072
- 220 00ba 06D0 beq .L26
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 221 .loc 1 275 0
- 222 00bc FFF7FEFF bl HAL_GetTick
- 223 .LVL23:
- 224 00c0 401B subs r0, r0, r5
- 225 00c2 6428 cmp r0, #100
- 226 00c4 F5D9 bls .L14
- 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 227 .loc 1 277 0
- 228 00c6 0324 movs r4, #3
- 229 00c8 AEE7 b .L8
- 230 .L26:
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 231 .loc 1 282 0
- 232 00ca 064B ldr r3, .L27
- 233 00cc 1A68 ldr r2, [r3]
- 234 00ce 22F48022 bic r2, r2, #262144
- 235 00d2 1A60 str r2, [r3]
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 236 .loc 1 324 0
- 237 00d4 5A6A ldr r2, [r3, #36]
- 238 00d6 42F08072 orr r2, r2, #16777216
- 239 00da 5A62 str r2, [r3, #36]
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 240 .loc 1 327 0
- 241 00dc 0022 movs r2, #0
- 242 00de 9A60 str r2, [r3, #8]
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 243 .loc 1 329 0
- 244 00e0 A2E7 b .L8
- 245 .L28:
- 246 00e2 00BF .align 2
- 247 .L27:
- 248 00e4 00100240 .word 1073876992
- 249 00e8 00127A00 .word 8000000
- 250 00ec 00000000 .word SystemCoreClock
- 251 00f0 00000000 .word uwTickPrio
- 252 .cfi_endproc
-ARM GAS /tmp/cc39eJzW.s page 30
-
-
- 253 .LFE65:
- 255 .section .text.HAL_RCC_OscConfig,"ax",%progbits
- 256 .align 1
- 257 .global HAL_RCC_OscConfig
- 258 .syntax unified
- 259 .thumb
- 260 .thumb_func
- 261 .fpu softvfp
- 263 HAL_RCC_OscConfig:
- 264 .LFB66:
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t tickstart;
- 265 .loc 1 348 0
- 266 .cfi_startproc
- 267 @ args = 0, pretend = 0, frame = 8
- 268 @ frame_needed = 0, uses_anonymous_args = 0
- 269 .LVL24:
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 270 .loc 1 353 0
- 271 0000 0028 cmp r0, #0
- 272 0002 00F0F581 beq .L82
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t tickstart;
- 273 .loc 1 348 0
- 274 0006 70B5 push {r4, r5, r6, lr}
- 275 .LCFI3:
- 276 .cfi_def_cfa_offset 16
- 277 .cfi_offset 4, -16
- 278 .cfi_offset 5, -12
- 279 .cfi_offset 6, -8
- 280 .cfi_offset 14, -4
- 281 0008 82B0 sub sp, sp, #8
- 282 .LCFI4:
- 283 .cfi_def_cfa_offset 24
- 284 000a 0446 mov r4, r0
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 285 .loc 1 362 0
- 286 000c 0368 ldr r3, [r0]
- 287 000e 13F0010F tst r3, #1
- 288 0012 3DD0 beq .L31
- 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** || ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_PLLCLK) && (__HAL_RCC_GET_PLL
- 289 .loc 1 368 0
- 290 0014 AB4B ldr r3, .L123
- 291 0016 5B68 ldr r3, [r3, #4]
- 292 0018 03F00C03 and r3, r3, #12
- 293 001c 042B cmp r3, #4
- 294 001e 2ED0 beq .L32
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 295 .loc 1 369 0
- 296 0020 A84B ldr r3, .L123
- 297 0022 5B68 ldr r3, [r3, #4]
- 298 0024 03F00C03 and r3, r3, #12
- 299 0028 082B cmp r3, #8
- 300 002a 23D0 beq .L106
- 301 .L33:
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 302 .loc 1 379 0
- 303 002c 6368 ldr r3, [r4, #4]
- 304 002e B3F5803F cmp r3, #65536
-ARM GAS /tmp/cc39eJzW.s page 31
-
-
- 305 0032 51D0 beq .L107
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 306 .loc 1 379 0 is_stmt 0 discriminator 2
- 307 0034 002B cmp r3, #0
- 308 0036 55D1 bne .L36
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 309 .loc 1 379 0 discriminator 3
- 310 0038 03F18043 add r3, r3, #1073741824
- 311 003c 03F50433 add r3, r3, #135168
- 312 0040 1A68 ldr r2, [r3]
- 313 0042 22F48032 bic r2, r2, #65536
- 314 0046 1A60 str r2, [r3]
- 315 0048 1A68 ldr r2, [r3]
- 316 004a 22F48022 bic r2, r2, #262144
- 317 004e 1A60 str r2, [r3]
- 318 .L35:
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 319 .loc 1 383 0 is_stmt 1
- 320 0050 6368 ldr r3, [r4, #4]
- 321 0052 002B cmp r3, #0
- 322 0054 60D0 beq .L38
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 323 .loc 1 386 0
- 324 0056 FFF7FEFF bl HAL_GetTick
- 325 .LVL25:
- 326 005a 0546 mov r5, r0
- 327 .LVL26:
- 328 .L39:
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 329 .loc 1 389 0
- 330 005c 994B ldr r3, .L123
- 331 005e 1B68 ldr r3, [r3]
- 332 0060 13F4003F tst r3, #131072
- 333 0064 14D1 bne .L31
- 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 334 .loc 1 391 0
- 335 0066 FFF7FEFF bl HAL_GetTick
- 336 .LVL27:
- 337 006a 401B subs r0, r0, r5
- 338 006c 6428 cmp r0, #100
- 339 006e F5D9 bls .L39
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 340 .loc 1 393 0
- 341 0070 0320 movs r0, #3
- 342 0072 C2E1 b .L30
- 343 .LVL28:
- 344 .L106:
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 345 .loc 1 369 0 discriminator 1
- 346 0074 934B ldr r3, .L123
- 347 0076 5B68 ldr r3, [r3, #4]
- 348 0078 13F4803F tst r3, #65536
- 349 007c D6D0 beq .L33
- 350 .L32:
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 351 .loc 1 371 0
- 352 007e 914B ldr r3, .L123
-ARM GAS /tmp/cc39eJzW.s page 32
-
-
- 353 0080 1B68 ldr r3, [r3]
- 354 0082 13F4003F tst r3, #131072
- 355 0086 03D0 beq .L31
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 356 .loc 1 371 0 is_stmt 0 discriminator 1
- 357 0088 6368 ldr r3, [r4, #4]
- 358 008a 002B cmp r3, #0
- 359 008c 00F0B281 beq .L108
- 360 .LVL29:
- 361 .L31:
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 362 .loc 1 414 0 is_stmt 1
- 363 0090 2368 ldr r3, [r4]
- 364 0092 13F0020F tst r3, #2
- 365 0096 65D0 beq .L43
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** || ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_PLLCLK) && (__HAL_RCC_GET_PLL
- 366 .loc 1 421 0
- 367 0098 8A4B ldr r3, .L123
- 368 009a 5B68 ldr r3, [r3, #4]
- 369 009c 13F00C0F tst r3, #12
- 370 00a0 4ED0 beq .L44
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 371 .loc 1 422 0
- 372 00a2 884B ldr r3, .L123
- 373 00a4 5B68 ldr r3, [r3, #4]
- 374 00a6 03F00C03 and r3, r3, #12
- 375 00aa 082B cmp r3, #8
- 376 00ac 43D0 beq .L109
- 377 .L45:
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 378 .loc 1 439 0
- 379 00ae 2369 ldr r3, [r4, #16]
- 380 00b0 002B cmp r3, #0
- 381 00b2 79D0 beq .L47
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 382 .loc 1 442 0
- 383 00b4 0122 movs r2, #1
- 384 00b6 844B ldr r3, .L123+4
- 385 00b8 1A60 str r2, [r3]
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 386 .loc 1 445 0
- 387 00ba FFF7FEFF bl HAL_GetTick
- 388 .LVL30:
- 389 00be 0546 mov r5, r0
- 390 .LVL31:
- 391 .L48:
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 392 .loc 1 448 0
- 393 00c0 804B ldr r3, .L123
- 394 00c2 1B68 ldr r3, [r3]
- 395 00c4 13F0020F tst r3, #2
- 396 00c8 65D1 bne .L110
- 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 397 .loc 1 450 0
- 398 00ca FFF7FEFF bl HAL_GetTick
- 399 .LVL32:
- 400 00ce 401B subs r0, r0, r5
-ARM GAS /tmp/cc39eJzW.s page 33
-
-
- 401 00d0 0228 cmp r0, #2
- 402 00d2 F5D9 bls .L48
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 403 .loc 1 452 0
- 404 00d4 0320 movs r0, #3
- 405 00d6 90E1 b .L30
- 406 .LVL33:
- 407 .L107:
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 408 .loc 1 379 0 discriminator 1
- 409 00d8 7A4A ldr r2, .L123
- 410 00da 1368 ldr r3, [r2]
- 411 00dc 43F48033 orr r3, r3, #65536
- 412 00e0 1360 str r3, [r2]
- 413 00e2 B5E7 b .L35
- 414 .L36:
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 415 .loc 1 379 0 is_stmt 0 discriminator 4
- 416 00e4 B3F5A02F cmp r3, #327680
- 417 00e8 09D0 beq .L111
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 418 .loc 1 379 0 discriminator 6
- 419 00ea 764B ldr r3, .L123
- 420 00ec 1A68 ldr r2, [r3]
- 421 00ee 22F48032 bic r2, r2, #65536
- 422 00f2 1A60 str r2, [r3]
- 423 00f4 1A68 ldr r2, [r3]
- 424 00f6 22F48022 bic r2, r2, #262144
- 425 00fa 1A60 str r2, [r3]
- 426 00fc A8E7 b .L35
- 427 .L111:
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 428 .loc 1 379 0 discriminator 5
- 429 00fe 03F18043 add r3, r3, #1073741824
- 430 0102 A3F53C33 sub r3, r3, #192512
- 431 0106 1A68 ldr r2, [r3]
- 432 0108 42F48022 orr r2, r2, #262144
- 433 010c 1A60 str r2, [r3]
- 434 010e 1A68 ldr r2, [r3]
- 435 0110 42F48032 orr r2, r2, #65536
- 436 0114 1A60 str r2, [r3]
- 437 0116 9BE7 b .L35
- 438 .L38:
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 439 .loc 1 400 0 is_stmt 1
- 440 0118 FFF7FEFF bl HAL_GetTick
- 441 .LVL34:
- 442 011c 0546 mov r5, r0
- 443 .LVL35:
- 444 .L41:
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 445 .loc 1 403 0
- 446 011e 694B ldr r3, .L123
- 447 0120 1B68 ldr r3, [r3]
- 448 0122 13F4003F tst r3, #131072
- 449 0126 B3D0 beq .L31
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-ARM GAS /tmp/cc39eJzW.s page 34
-
-
- 450 .loc 1 405 0
- 451 0128 FFF7FEFF bl HAL_GetTick
- 452 .LVL36:
- 453 012c 401B subs r0, r0, r5
- 454 012e 6428 cmp r0, #100
- 455 0130 F5D9 bls .L41
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 456 .loc 1 407 0
- 457 0132 0320 movs r0, #3
- 458 0134 61E1 b .L30
- 459 .LVL37:
- 460 .L109:
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 461 .loc 1 422 0 discriminator 1
- 462 0136 634B ldr r3, .L123
- 463 0138 5B68 ldr r3, [r3, #4]
- 464 013a 13F4803F tst r3, #65536
- 465 013e B6D1 bne .L45
- 466 .L44:
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 467 .loc 1 425 0
- 468 0140 604B ldr r3, .L123
- 469 0142 1B68 ldr r3, [r3]
- 470 0144 13F0020F tst r3, #2
- 471 0148 04D0 beq .L46
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 472 .loc 1 425 0 is_stmt 0 discriminator 1
- 473 014a 2369 ldr r3, [r4, #16]
- 474 014c 012B cmp r3, #1
- 475 014e 01D0 beq .L46
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 476 .loc 1 427 0 is_stmt 1
- 477 0150 0120 movs r0, #1
- 478 0152 52E1 b .L30
- 479 .L46:
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 480 .loc 1 433 0
- 481 0154 5B4A ldr r2, .L123
- 482 0156 1368 ldr r3, [r2]
- 483 0158 23F0F803 bic r3, r3, #248
- 484 015c 6169 ldr r1, [r4, #20]
- 485 015e 43EAC103 orr r3, r3, r1, lsl #3
- 486 0162 1360 str r3, [r2]
- 487 .L43:
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 488 .loc 1 479 0
- 489 0164 2368 ldr r3, [r4]
- 490 0166 13F0080F tst r3, #8
- 491 016a 32D0 beq .L52
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 492 .loc 1 485 0
- 493 016c A369 ldr r3, [r4, #24]
- 494 016e 002B cmp r3, #0
- 495 0170 6ED0 beq .L53
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 496 .loc 1 488 0
- 497 0172 0122 movs r2, #1
-ARM GAS /tmp/cc39eJzW.s page 35
-
-
- 498 0174 554B ldr r3, .L123+8
- 499 0176 1A60 str r2, [r3]
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 500 .loc 1 491 0
- 501 0178 FFF7FEFF bl HAL_GetTick
- 502 .LVL38:
- 503 017c 0546 mov r5, r0
- 504 .LVL39:
- 505 .L54:
- 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 506 .loc 1 494 0
- 507 017e 514B ldr r3, .L123
- 508 0180 5B6A ldr r3, [r3, #36]
- 509 0182 13F0020F tst r3, #2
- 510 0186 21D1 bne .L112
- 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 511 .loc 1 496 0
- 512 0188 FFF7FEFF bl HAL_GetTick
- 513 .LVL40:
- 514 018c 401B subs r0, r0, r5
- 515 018e 0228 cmp r0, #2
- 516 0190 F5D9 bls .L54
- 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 517 .loc 1 498 0
- 518 0192 0320 movs r0, #3
- 519 0194 31E1 b .L30
- 520 .L110:
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 521 .loc 1 457 0
- 522 0196 4B4A ldr r2, .L123
- 523 0198 1368 ldr r3, [r2]
- 524 019a 23F0F803 bic r3, r3, #248
- 525 019e 6169 ldr r1, [r4, #20]
- 526 01a0 43EAC103 orr r3, r3, r1, lsl #3
- 527 01a4 1360 str r3, [r2]
- 528 01a6 DDE7 b .L43
- 529 .LVL41:
- 530 .L47:
- 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 531 .loc 1 462 0
- 532 01a8 0022 movs r2, #0
- 533 01aa 474B ldr r3, .L123+4
- 534 01ac 1A60 str r2, [r3]
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 535 .loc 1 465 0
- 536 01ae FFF7FEFF bl HAL_GetTick
- 537 .LVL42:
- 538 01b2 0546 mov r5, r0
- 539 .LVL43:
- 540 .L50:
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 541 .loc 1 468 0
- 542 01b4 434B ldr r3, .L123
- 543 01b6 1B68 ldr r3, [r3]
- 544 01b8 13F0020F tst r3, #2
- 545 01bc D2D0 beq .L43
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
-ARM GAS /tmp/cc39eJzW.s page 36
-
-
- 546 .loc 1 470 0
- 547 01be FFF7FEFF bl HAL_GetTick
- 548 .LVL44:
- 549 01c2 401B subs r0, r0, r5
- 550 01c4 0228 cmp r0, #2
- 551 01c6 F5D9 bls .L50
- 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 552 .loc 1 472 0
- 553 01c8 0320 movs r0, #3
- 554 01ca 16E1 b .L30
- 555 .L112:
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 556 .loc 1 503 0
- 557 01cc 0120 movs r0, #1
- 558 01ce FFF7FEFF bl RCC_Delay
- 559 .LVL45:
- 560 .L52:
- 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 561 .loc 1 524 0
- 562 01d2 2368 ldr r3, [r4]
- 563 01d4 13F0040F tst r3, #4
- 564 01d8 00F09880 beq .L58
- 565 .LVL46:
- 566 .LBB2:
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 567 .loc 1 533 0
- 568 01dc 394B ldr r3, .L123
- 569 01de DB69 ldr r3, [r3, #28]
- 570 01e0 13F0805F tst r3, #268435456
- 571 01e4 46D1 bne .L91
- 572 .LBB3:
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** pwrclkchanged = SET;
- 573 .loc 1 535 0
- 574 01e6 374B ldr r3, .L123
- 575 01e8 DA69 ldr r2, [r3, #28]
- 576 01ea 42F08052 orr r2, r2, #268435456
- 577 01ee DA61 str r2, [r3, #28]
- 578 01f0 DB69 ldr r3, [r3, #28]
- 579 01f2 03F08053 and r3, r3, #268435456
- 580 01f6 0193 str r3, [sp, #4]
- 581 01f8 019B ldr r3, [sp, #4]
- 582 .LVL47:
- 583 .LBE3:
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 584 .loc 1 536 0
- 585 01fa 0125 movs r5, #1
- 586 .LVL48:
- 587 .L59:
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 588 .loc 1 539 0
- 589 01fc 344B ldr r3, .L123+12
- 590 01fe 1B68 ldr r3, [r3]
- 591 0200 13F4807F tst r3, #256
- 592 0204 38D0 beq .L113
- 593 .L60:
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the LSE State */
- 594 .loc 1 557 0
-ARM GAS /tmp/cc39eJzW.s page 37
-
-
- 595 0206 E368 ldr r3, [r4, #12]
- 596 0208 012B cmp r3, #1
- 597 020a 49D0 beq .L114
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the LSE State */
- 598 .loc 1 557 0 is_stmt 0 discriminator 2
- 599 020c 002B cmp r3, #0
- 600 020e 4DD1 bne .L65
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the LSE State */
- 601 .loc 1 557 0 discriminator 3
- 602 0210 03F18043 add r3, r3, #1073741824
- 603 0214 03F50433 add r3, r3, #135168
- 604 0218 1A6A ldr r2, [r3, #32]
- 605 021a 22F00102 bic r2, r2, #1
- 606 021e 1A62 str r2, [r3, #32]
- 607 0220 1A6A ldr r2, [r3, #32]
- 608 0222 22F00402 bic r2, r2, #4
- 609 0226 1A62 str r2, [r3, #32]
- 610 .L64:
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 611 .loc 1 559 0 is_stmt 1
- 612 0228 E368 ldr r3, [r4, #12]
- 613 022a 002B cmp r3, #0
- 614 022c 5CD0 beq .L67
- 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 615 .loc 1 562 0
- 616 022e FFF7FEFF bl HAL_GetTick
- 617 .LVL49:
- 618 0232 0646 mov r6, r0
- 619 .LVL50:
- 620 .L68:
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 621 .loc 1 565 0
- 622 0234 234B ldr r3, .L123
- 623 0236 1B6A ldr r3, [r3, #32]
- 624 0238 13F0020F tst r3, #2
- 625 023c 65D1 bne .L70
- 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 626 .loc 1 567 0
- 627 023e FFF7FEFF bl HAL_GetTick
- 628 .LVL51:
- 629 0242 801B subs r0, r0, r6
- 630 0244 41F28833 movw r3, #5000
- 631 0248 9842 cmp r0, r3
- 632 024a F3D9 bls .L68
- 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 633 .loc 1 569 0
- 634 024c 0320 movs r0, #3
- 635 024e D4E0 b .L30
- 636 .LVL52:
- 637 .L53:
- 638 .LBE2:
- 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 639 .loc 1 508 0
- 640 0250 0022 movs r2, #0
- 641 0252 1E4B ldr r3, .L123+8
- 642 0254 1A60 str r2, [r3]
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-ARM GAS /tmp/cc39eJzW.s page 38
-
-
- 643 .loc 1 511 0
- 644 0256 FFF7FEFF bl HAL_GetTick
- 645 .LVL53:
- 646 025a 0546 mov r5, r0
- 647 .LVL54:
- 648 .L56:
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 649 .loc 1 514 0
- 650 025c 194B ldr r3, .L123
- 651 025e 5B6A ldr r3, [r3, #36]
- 652 0260 13F0020F tst r3, #2
- 653 0264 B5D0 beq .L52
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 654 .loc 1 516 0
- 655 0266 FFF7FEFF bl HAL_GetTick
- 656 .LVL55:
- 657 026a 401B subs r0, r0, r5
- 658 026c 0228 cmp r0, #2
- 659 026e F5D9 bls .L56
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 660 .loc 1 518 0
- 661 0270 0320 movs r0, #3
- 662 0272 C2E0 b .L30
- 663 .LVL56:
- 664 .L91:
- 665 .LBB4:
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 666 .loc 1 526 0
- 667 0274 0025 movs r5, #0
- 668 0276 C1E7 b .L59
- 669 .LVL57:
- 670 .L113:
- 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 671 .loc 1 542 0
- 672 0278 154A ldr r2, .L123+12
- 673 027a 1368 ldr r3, [r2]
- 674 027c 43F48073 orr r3, r3, #256
- 675 0280 1360 str r3, [r2]
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 676 .loc 1 545 0
- 677 0282 FFF7FEFF bl HAL_GetTick
- 678 .LVL58:
- 679 0286 0646 mov r6, r0
- 680 .LVL59:
- 681 .L61:
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 682 .loc 1 547 0
- 683 0288 114B ldr r3, .L123+12
- 684 028a 1B68 ldr r3, [r3]
- 685 028c 13F4807F tst r3, #256
- 686 0290 B9D1 bne .L60
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 687 .loc 1 549 0
- 688 0292 FFF7FEFF bl HAL_GetTick
- 689 .LVL60:
- 690 0296 801B subs r0, r0, r6
- 691 0298 6428 cmp r0, #100
-ARM GAS /tmp/cc39eJzW.s page 39
-
-
- 692 029a F5D9 bls .L61
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 693 .loc 1 551 0
- 694 029c 0320 movs r0, #3
- 695 029e ACE0 b .L30
- 696 .LVL61:
- 697 .L114:
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the LSE State */
- 698 .loc 1 557 0 discriminator 1
- 699 02a0 084A ldr r2, .L123
- 700 02a2 136A ldr r3, [r2, #32]
- 701 02a4 43F00103 orr r3, r3, #1
- 702 02a8 1362 str r3, [r2, #32]
- 703 02aa BDE7 b .L64
- 704 .L65:
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the LSE State */
- 705 .loc 1 557 0 is_stmt 0 discriminator 4
- 706 02ac 052B cmp r3, #5
- 707 02ae 11D0 beq .L115
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the LSE State */
- 708 .loc 1 557 0 discriminator 6
- 709 02b0 044B ldr r3, .L123
- 710 02b2 1A6A ldr r2, [r3, #32]
- 711 02b4 22F00102 bic r2, r2, #1
- 712 02b8 1A62 str r2, [r3, #32]
- 713 02ba 1A6A ldr r2, [r3, #32]
- 714 02bc 22F00402 bic r2, r2, #4
- 715 02c0 1A62 str r2, [r3, #32]
- 716 02c2 B1E7 b .L64
- 717 .L124:
- 718 .align 2
- 719 .L123:
- 720 02c4 00100240 .word 1073876992
- 721 02c8 00004242 .word 1111621632
- 722 02cc 80044242 .word 1111622784
- 723 02d0 00700040 .word 1073770496
- 724 .L115:
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the LSE State */
- 725 .loc 1 557 0 discriminator 5
- 726 02d4 4C4B ldr r3, .L125
- 727 02d6 1A6A ldr r2, [r3, #32]
- 728 02d8 42F00402 orr r2, r2, #4
- 729 02dc 1A62 str r2, [r3, #32]
- 730 02de 1A6A ldr r2, [r3, #32]
- 731 02e0 42F00102 orr r2, r2, #1
- 732 02e4 1A62 str r2, [r3, #32]
- 733 02e6 9FE7 b .L64
- 734 .L67:
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 735 .loc 1 576 0 is_stmt 1
- 736 02e8 FFF7FEFF bl HAL_GetTick
- 737 .LVL62:
- 738 02ec 0646 mov r6, r0
- 739 .LVL63:
- 740 .L71:
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 741 .loc 1 579 0
-ARM GAS /tmp/cc39eJzW.s page 40
-
-
- 742 02ee 464B ldr r3, .L125
- 743 02f0 1B6A ldr r3, [r3, #32]
- 744 02f2 13F0020F tst r3, #2
- 745 02f6 08D0 beq .L70
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 746 .loc 1 581 0
- 747 02f8 FFF7FEFF bl HAL_GetTick
- 748 .LVL64:
- 749 02fc 801B subs r0, r0, r6
- 750 02fe 41F28833 movw r3, #5000
- 751 0302 9842 cmp r0, r3
- 752 0304 F3D9 bls .L71
- 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 753 .loc 1 583 0
- 754 0306 0320 movs r0, #3
- 755 0308 77E0 b .L30
- 756 .L70:
- 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 757 .loc 1 589 0
- 758 030a E5B9 cbnz r5, .L116
- 759 .LVL65:
- 760 .L58:
- 761 .LBE4:
- 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 762 .loc 1 688 0
- 763 030c E369 ldr r3, [r4, #28]
- 764 030e 002B cmp r3, #0
- 765 0310 72D0 beq .L95
- 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 766 .loc 1 691 0
- 767 0312 3D4A ldr r2, .L125
- 768 0314 5268 ldr r2, [r2, #4]
- 769 0316 02F00C02 and r2, r2, #12
- 770 031a 082A cmp r2, #8
- 771 031c 56D0 beq .L73
- 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 772 .loc 1 693 0
- 773 031e 022B cmp r3, #2
- 774 0320 17D0 beq .L117
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 775 .loc 1 752 0
- 776 0322 0022 movs r2, #0
- 777 0324 394B ldr r3, .L125+4
- 778 0326 1A60 str r2, [r3]
- 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 779 .loc 1 755 0
- 780 0328 FFF7FEFF bl HAL_GetTick
- 781 .LVL66:
- 782 032c 0446 mov r4, r0
- 783 .LVL67:
- 784 .L80:
- 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 785 .loc 1 758 0
- 786 032e 364B ldr r3, .L125
- 787 0330 1B68 ldr r3, [r3]
- 788 0332 13F0007F tst r3, #33554432
- 789 0336 47D0 beq .L118
-ARM GAS /tmp/cc39eJzW.s page 41
-
-
- 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 790 .loc 1 760 0
- 791 0338 FFF7FEFF bl HAL_GetTick
- 792 .LVL68:
- 793 033c 001B subs r0, r0, r4
- 794 033e 0228 cmp r0, #2
- 795 0340 F5D9 bls .L80
- 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 796 .loc 1 762 0
- 797 0342 0320 movs r0, #3
- 798 0344 59E0 b .L30
- 799 .LVL69:
- 800 .L116:
- 801 .LBB5:
- 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 802 .loc 1 591 0
- 803 0346 304A ldr r2, .L125
- 804 0348 D369 ldr r3, [r2, #28]
- 805 034a 23F08053 bic r3, r3, #268435456
- 806 034e D361 str r3, [r2, #28]
- 807 0350 DCE7 b .L58
- 808 .LVL70:
- 809 .L117:
- 810 .LBE5:
- 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 811 .loc 1 700 0
- 812 0352 0022 movs r2, #0
- 813 0354 2D4B ldr r3, .L125+4
- 814 0356 1A60 str r2, [r3]
- 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 815 .loc 1 703 0
- 816 0358 FFF7FEFF bl HAL_GetTick
- 817 .LVL71:
- 818 035c 0546 mov r5, r0
- 819 .LVL72:
- 820 .L75:
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 821 .loc 1 706 0
- 822 035e 2A4B ldr r3, .L125
- 823 0360 1B68 ldr r3, [r3]
- 824 0362 13F0007F tst r3, #33554432
- 825 0366 06D0 beq .L119
- 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 826 .loc 1 708 0
- 827 0368 FFF7FEFF bl HAL_GetTick
- 828 .LVL73:
- 829 036c 401B subs r0, r0, r5
- 830 036e 0228 cmp r0, #2
- 831 0370 F5D9 bls .L75
- 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 832 .loc 1 710 0
- 833 0372 0320 movs r0, #3
- 834 0374 41E0 b .L30
- 835 .L119:
- 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 836 .loc 1 716 0
- 837 0376 236A ldr r3, [r4, #32]
-ARM GAS /tmp/cc39eJzW.s page 42
-
-
- 838 0378 B3F5803F cmp r3, #65536
- 839 037c 1AD0 beq .L120
- 840 .L77:
- 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLMUL);
- 841 .loc 1 732 0
- 842 037e 2249 ldr r1, .L125
- 843 0380 4B68 ldr r3, [r1, #4]
- 844 0382 23F47413 bic r3, r3, #3997696
- 845 0386 226A ldr r2, [r4, #32]
- 846 0388 606A ldr r0, [r4, #36]
- 847 038a 0243 orrs r2, r2, r0
- 848 038c 1343 orrs r3, r3, r2
- 849 038e 4B60 str r3, [r1, #4]
- 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 850 .loc 1 735 0
- 851 0390 0122 movs r2, #1
- 852 0392 1E4B ldr r3, .L125+4
- 853 0394 1A60 str r2, [r3]
- 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 854 .loc 1 738 0
- 855 0396 FFF7FEFF bl HAL_GetTick
- 856 .LVL74:
- 857 039a 0446 mov r4, r0
- 858 .LVL75:
- 859 .L78:
- 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 860 .loc 1 741 0
- 861 039c 1A4B ldr r3, .L125
- 862 039e 1B68 ldr r3, [r3]
- 863 03a0 13F0007F tst r3, #33554432
- 864 03a4 0ED1 bne .L121
- 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 865 .loc 1 743 0
- 866 03a6 FFF7FEFF bl HAL_GetTick
- 867 .LVL76:
- 868 03aa 001B subs r0, r0, r4
- 869 03ac 0228 cmp r0, #2
- 870 03ae F5D9 bls .L78
- 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 871 .loc 1 745 0
- 872 03b0 0320 movs r0, #3
- 873 03b2 22E0 b .L30
- 874 .LVL77:
- 875 .L120:
- 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 876 .loc 1 728 0
- 877 03b4 144A ldr r2, .L125
- 878 03b6 5368 ldr r3, [r2, #4]
- 879 03b8 23F40033 bic r3, r3, #131072
- 880 03bc A168 ldr r1, [r4, #8]
- 881 03be 0B43 orrs r3, r3, r1
- 882 03c0 5360 str r3, [r2, #4]
- 883 03c2 DCE7 b .L77
- 884 .LVL78:
- 885 .L121:
- 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 886 .loc 1 787 0
-ARM GAS /tmp/cc39eJzW.s page 43
-
-
- 887 03c4 0020 movs r0, #0
- 888 03c6 18E0 b .L30
- 889 .L118:
- 890 03c8 0020 movs r0, #0
- 891 03ca 16E0 b .L30
- 892 .LVL79:
- 893 .L73:
- 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 894 .loc 1 770 0
- 895 03cc 012B cmp r3, #1
- 896 03ce 16D0 beq .L99
- 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((READ_BIT(pll_config, RCC_CFGR_PLLSRC) != RCC_OscInitStruct->PLL.PLLSource) ||
- 897 .loc 1 777 0
- 898 03d0 0D4B ldr r3, .L125
- 899 03d2 5B68 ldr r3, [r3, #4]
- 900 .LVL80:
- 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (READ_BIT(pll_config, RCC_CFGR_PLLMULL) != RCC_OscInitStruct->PLL.PLLMUL))
- 901 .loc 1 778 0
- 902 03d4 03F48031 and r1, r3, #65536
- 903 03d8 226A ldr r2, [r4, #32]
- 904 03da 9142 cmp r1, r2
- 905 03dc 01D0 beq .L122
- 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 906 .loc 1 781 0
- 907 03de 0120 movs r0, #1
- 908 03e0 0BE0 b .L30
- 909 .L122:
- 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 910 .loc 1 779 0 discriminator 1
- 911 03e2 03F47013 and r3, r3, #3932160
- 912 .LVL81:
- 913 03e6 626A ldr r2, [r4, #36]
- 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** (READ_BIT(pll_config, RCC_CFGR_PLLMULL) != RCC_OscInitStruct->PLL.PLLMUL))
- 914 .loc 1 778 0 discriminator 1
- 915 03e8 9342 cmp r3, r2
- 916 03ea 0AD0 beq .L101
- 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 917 .loc 1 781 0
- 918 03ec 0120 movs r0, #1
- 919 03ee 04E0 b .L30
- 920 .LVL82:
- 921 .L82:
- 922 .LCFI5:
- 923 .cfi_def_cfa_offset 0
- 924 .cfi_restore 4
- 925 .cfi_restore 5
- 926 .cfi_restore 6
- 927 .cfi_restore 14
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 928 .loc 1 355 0
- 929 03f0 0120 movs r0, #1
- 930 .LVL83:
- 931 03f2 7047 bx lr
- 932 .LVL84:
- 933 .L108:
- 934 .LCFI6:
- 935 .cfi_def_cfa_offset 24
-ARM GAS /tmp/cc39eJzW.s page 44
-
-
- 936 .cfi_offset 4, -16
- 937 .cfi_offset 5, -12
- 938 .cfi_offset 6, -8
- 939 .cfi_offset 14, -4
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 940 .loc 1 373 0
- 941 03f4 0120 movs r0, #1
- 942 .LVL85:
- 943 03f6 00E0 b .L30
- 944 .L95:
- 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 945 .loc 1 787 0
- 946 03f8 0020 movs r0, #0
- 947 .LVL86:
- 948 .L30:
- 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 949 .loc 1 788 0
- 950 03fa 02B0 add sp, sp, #8
- 951 .LCFI7:
- 952 .cfi_remember_state
- 953 .cfi_def_cfa_offset 16
- 954 @ sp needed
- 955 03fc 70BD pop {r4, r5, r6, pc}
- 956 .LVL87:
- 957 .L99:
- 958 .LCFI8:
- 959 .cfi_restore_state
- 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 960 .loc 1 772 0
- 961 03fe 0120 movs r0, #1
- 962 0400 FBE7 b .L30
- 963 .L101:
- 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 964 .loc 1 787 0
- 965 0402 0020 movs r0, #0
- 966 0404 F9E7 b .L30
- 967 .L126:
- 968 0406 00BF .align 2
- 969 .L125:
- 970 0408 00100240 .word 1073876992
- 971 040c 60004242 .word 1111621728
- 972 .cfi_endproc
- 973 .LFE66:
- 975 .section .text.HAL_RCC_MCOConfig,"ax",%progbits
- 976 .align 1
- 977 .global HAL_RCC_MCOConfig
- 978 .syntax unified
- 979 .thumb
- 980 .thumb_func
- 981 .fpu softvfp
- 983 HAL_RCC_MCOConfig:
- 984 .LFB68:
-1003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** GPIO_InitTypeDef gpio = {0U};
- 985 .loc 1 1003 0
- 986 .cfi_startproc
- 987 @ args = 0, pretend = 0, frame = 24
- 988 @ frame_needed = 0, uses_anonymous_args = 0
-ARM GAS /tmp/cc39eJzW.s page 45
-
-
- 989 .LVL88:
- 990 0000 30B5 push {r4, r5, lr}
- 991 .LCFI9:
- 992 .cfi_def_cfa_offset 12
- 993 .cfi_offset 4, -12
- 994 .cfi_offset 5, -8
- 995 .cfi_offset 14, -4
- 996 0002 87B0 sub sp, sp, #28
- 997 .LCFI10:
- 998 .cfi_def_cfa_offset 40
- 999 0004 0D46 mov r5, r1
-1004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1000 .loc 1 1004 0
- 1001 0006 0023 movs r3, #0
- 1002 0008 0493 str r3, [sp, #16]
-1016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** gpio.Speed = GPIO_SPEED_FREQ_HIGH;
- 1003 .loc 1 1016 0
- 1004 000a 0223 movs r3, #2
- 1005 000c 0393 str r3, [sp, #12]
-1017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** gpio.Pull = GPIO_NOPULL;
- 1006 .loc 1 1017 0
- 1007 000e 0323 movs r3, #3
- 1008 0010 0593 str r3, [sp, #20]
-1019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1009 .loc 1 1019 0
- 1010 0012 4FF48073 mov r3, #256
- 1011 0016 0293 str r3, [sp, #8]
- 1012 .LBB6:
-1022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1013 .loc 1 1022 0
- 1014 0018 0A4C ldr r4, .L129
- 1015 001a A369 ldr r3, [r4, #24]
- 1016 001c 43F00403 orr r3, r3, #4
- 1017 0020 A361 str r3, [r4, #24]
- 1018 0022 A369 ldr r3, [r4, #24]
- 1019 0024 03F00403 and r3, r3, #4
- 1020 0028 0193 str r3, [sp, #4]
- 1021 002a 019B ldr r3, [sp, #4]
- 1022 .LBE6:
-1024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1023 .loc 1 1024 0
- 1024 002c 02A9 add r1, sp, #8
- 1025 .LVL89:
- 1026 002e 0648 ldr r0, .L129+4
- 1027 .LVL90:
- 1028 0030 FFF7FEFF bl HAL_GPIO_Init
- 1029 .LVL91:
-1027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1030 .loc 1 1027 0
- 1031 0034 6168 ldr r1, [r4, #4]
- 1032 0036 21F0E061 bic r1, r1, #117440512
- 1033 003a 2943 orrs r1, r1, r5
- 1034 003c 6160 str r1, [r4, #4]
-1028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1035 .loc 1 1028 0
- 1036 003e 07B0 add sp, sp, #28
- 1037 .LCFI11:
-ARM GAS /tmp/cc39eJzW.s page 46
-
-
- 1038 .cfi_def_cfa_offset 12
- 1039 @ sp needed
- 1040 0040 30BD pop {r4, r5, pc}
- 1041 .LVL92:
- 1042 .L130:
- 1043 0042 00BF .align 2
- 1044 .L129:
- 1045 0044 00100240 .word 1073876992
- 1046 0048 00080140 .word 1073809408
- 1047 .cfi_endproc
- 1048 .LFE68:
- 1050 .section .text.HAL_RCC_EnableCSS,"ax",%progbits
- 1051 .align 1
- 1052 .global HAL_RCC_EnableCSS
- 1053 .syntax unified
- 1054 .thumb
- 1055 .thumb_func
- 1056 .fpu softvfp
- 1058 HAL_RCC_EnableCSS:
- 1059 .LFB69:
-1040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *(__IO uint32_t *) RCC_CR_CSSON_BB = (uint32_t)ENABLE;
- 1060 .loc 1 1040 0
- 1061 .cfi_startproc
- 1062 @ args = 0, pretend = 0, frame = 0
- 1063 @ frame_needed = 0, uses_anonymous_args = 0
- 1064 @ link register save eliminated.
-1041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1065 .loc 1 1041 0
- 1066 0000 0122 movs r2, #1
- 1067 0002 014B ldr r3, .L132
- 1068 0004 1A60 str r2, [r3]
- 1069 0006 7047 bx lr
- 1070 .L133:
- 1071 .align 2
- 1072 .L132:
- 1073 0008 4C004242 .word 1111621708
- 1074 .cfi_endproc
- 1075 .LFE69:
- 1077 .section .text.HAL_RCC_DisableCSS,"ax",%progbits
- 1078 .align 1
- 1079 .global HAL_RCC_DisableCSS
- 1080 .syntax unified
- 1081 .thumb
- 1082 .thumb_func
- 1083 .fpu softvfp
- 1085 HAL_RCC_DisableCSS:
- 1086 .LFB70:
-1049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** *(__IO uint32_t *) RCC_CR_CSSON_BB = (uint32_t)DISABLE;
- 1087 .loc 1 1049 0
- 1088 .cfi_startproc
- 1089 @ args = 0, pretend = 0, frame = 0
- 1090 @ frame_needed = 0, uses_anonymous_args = 0
- 1091 @ link register save eliminated.
-1050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1092 .loc 1 1050 0
- 1093 0000 0022 movs r2, #0
- 1094 0002 014B ldr r3, .L135
-ARM GAS /tmp/cc39eJzW.s page 47
-
-
- 1095 0004 1A60 str r2, [r3]
- 1096 0006 7047 bx lr
- 1097 .L136:
- 1098 .align 2
- 1099 .L135:
- 1100 0008 4C004242 .word 1111621708
- 1101 .cfi_endproc
- 1102 .LFE70:
- 1104 .section .text.HAL_RCC_GetSysClockFreq,"ax",%progbits
- 1105 .align 1
- 1106 .global HAL_RCC_GetSysClockFreq
- 1107 .syntax unified
- 1108 .thumb
- 1109 .thumb_func
- 1110 .fpu softvfp
- 1112 HAL_RCC_GetSysClockFreq:
- 1113 .LFB71:
-1083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CFGR2_PREDIV1SRC)
- 1114 .loc 1 1083 0
- 1115 .cfi_startproc
- 1116 @ args = 0, pretend = 0, frame = 24
- 1117 @ frame_needed = 0, uses_anonymous_args = 0
- 1118 0000 10B5 push {r4, lr}
- 1119 .LCFI12:
- 1120 .cfi_def_cfa_offset 8
- 1121 .cfi_offset 4, -8
- 1122 .cfi_offset 14, -4
- 1123 0002 86B0 sub sp, sp, #24
- 1124 .LCFI13:
- 1125 .cfi_def_cfa_offset 32
-1088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CFGR2_PREDIV1)
- 1126 .loc 1 1088 0
- 1127 0004 154C ldr r4, .L145
- 1128 0006 94E80F00 ldm r4, {r0, r1, r2, r3}
- 1129 000a 0DF1180E add lr, sp, #24
- 1130 000e 0EE90F00 stmdb lr, {r0, r1, r2, r3}
-1092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /*RCC_CFGR2_PREDIV1*/
- 1131 .loc 1 1092 0
- 1132 0012 238A ldrh r3, [r4, #16]
- 1133 0014 ADF80430 strh r3, [sp, #4] @ movhi
- 1134 .LVL93:
-1102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1135 .loc 1 1102 0
- 1136 0018 114B ldr r3, .L145+4
- 1137 001a 5B68 ldr r3, [r3, #4]
- 1138 .LVL94:
-1105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1139 .loc 1 1105 0
- 1140 001c 03F00C02 and r2, r3, #12
- 1141 0020 082A cmp r2, #8
- 1142 0022 18D1 bne .L142
-1114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** if ((tmpreg & RCC_CFGR_PLLSRC) != RCC_PLLSOURCE_HSI_DIV2)
- 1143 .loc 1 1114 0
- 1144 0024 C3F38342 ubfx r2, r3, #18, #4
- 1145 0028 7244 add r2, r2, lr
- 1146 002a 12F8102C ldrb r2, [r2, #-16] @ zero_extendqisi2
- 1147 .LVL95:
-ARM GAS /tmp/cc39eJzW.s page 48
-
-
-1115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1148 .loc 1 1115 0
- 1149 002e 13F4803F tst r3, #65536
- 1150 0032 03D1 bne .L144
-1152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1151 .loc 1 1152 0
- 1152 0034 0B48 ldr r0, .L145+8
- 1153 0036 00FB02F0 mul r0, r0, r2
- 1154 .LVL96:
- 1155 003a 0DE0 b .L137
- 1156 .LVL97:
- 1157 .L144:
-1120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /*RCC_CFGR2_PREDIV1*/
- 1158 .loc 1 1120 0
- 1159 003c 084B ldr r3, .L145+4
- 1160 .LVL98:
- 1161 003e 5B68 ldr r3, [r3, #4]
- 1162 0040 C3F34043 ubfx r3, r3, #17, #1
- 1163 0044 7344 add r3, r3, lr
- 1164 0046 13F8143C ldrb r3, [r3, #-20] @ zero_extendqisi2
- 1165 .LVL99:
-1146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #endif /*RCC_CFGR2_PREDIV1SRC*/
- 1166 .loc 1 1146 0
- 1167 004a 0748 ldr r0, .L145+12
- 1168 004c 00FB02F0 mul r0, r0, r2
- 1169 0050 B0FBF3F0 udiv r0, r0, r3
- 1170 .LVL100:
- 1171 0054 00E0 b .L137
- 1172 .LVL101:
- 1173 .L142:
-1109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** break;
- 1174 .loc 1 1109 0
- 1175 0056 0448 ldr r0, .L145+12
- 1176 .LVL102:
- 1177 .L137:
-1165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1178 .loc 1 1165 0
- 1179 0058 06B0 add sp, sp, #24
- 1180 .LCFI14:
- 1181 .cfi_def_cfa_offset 8
- 1182 @ sp needed
- 1183 005a 10BD pop {r4, pc}
- 1184 .L146:
- 1185 .align 2
- 1186 .L145:
- 1187 005c 00000000 .word .LANCHOR0
- 1188 0060 00100240 .word 1073876992
- 1189 0064 00093D00 .word 4000000
- 1190 0068 00127A00 .word 8000000
- 1191 .cfi_endproc
- 1192 .LFE71:
- 1194 .section .text.HAL_RCC_ClockConfig,"ax",%progbits
- 1195 .align 1
- 1196 .global HAL_RCC_ClockConfig
- 1197 .syntax unified
- 1198 .thumb
- 1199 .thumb_func
-ARM GAS /tmp/cc39eJzW.s page 49
-
-
- 1200 .fpu softvfp
- 1202 HAL_RCC_ClockConfig:
- 1203 .LFB67:
- 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t tickstart;
- 1204 .loc 1 814 0
- 1205 .cfi_startproc
- 1206 @ args = 0, pretend = 0, frame = 0
- 1207 @ frame_needed = 0, uses_anonymous_args = 0
- 1208 .LVL103:
- 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1209 .loc 1 818 0
- 1210 0000 0028 cmp r0, #0
- 1211 0002 00F0A380 beq .L162
- 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** uint32_t tickstart;
- 1212 .loc 1 814 0
- 1213 0006 70B5 push {r4, r5, r6, lr}
- 1214 .LCFI15:
- 1215 .cfi_def_cfa_offset 16
- 1216 .cfi_offset 4, -16
- 1217 .cfi_offset 5, -12
- 1218 .cfi_offset 6, -8
- 1219 .cfi_offset 14, -4
- 1220 0008 0446 mov r4, r0
- 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1221 .loc 1 833 0
- 1222 000a 524B ldr r3, .L175
- 1223 000c 1B68 ldr r3, [r3]
- 1224 000e 03F00703 and r3, r3, #7
- 1225 0012 8B42 cmp r3, r1
- 1226 0014 0CD2 bcs .L149
- 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1227 .loc 1 836 0
- 1228 0016 4F4A ldr r2, .L175
- 1229 0018 1368 ldr r3, [r2]
- 1230 001a 23F00703 bic r3, r3, #7
- 1231 001e 0B43 orrs r3, r3, r1
- 1232 0020 1360 str r3, [r2]
- 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1233 .loc 1 840 0
- 1234 0022 1368 ldr r3, [r2]
- 1235 0024 03F00703 and r3, r3, #7
- 1236 0028 9942 cmp r1, r3
- 1237 002a 01D0 beq .L149
- 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1238 .loc 1 842 0
- 1239 002c 0120 movs r0, #1
- 1240 .LVL104:
- 1241 002e 70BD pop {r4, r5, r6, pc}
- 1242 .LVL105:
- 1243 .L149:
- 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1244 .loc 1 848 0
- 1245 0030 2368 ldr r3, [r4]
- 1246 0032 13F0020F tst r3, #2
- 1247 0036 17D0 beq .L150
- 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1248 .loc 1 852 0
-ARM GAS /tmp/cc39eJzW.s page 50
-
-
- 1249 0038 13F0040F tst r3, #4
- 1250 003c 04D0 beq .L151
- 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1251 .loc 1 854 0
- 1252 003e 464A ldr r2, .L175+4
- 1253 0040 5368 ldr r3, [r2, #4]
- 1254 0042 43F4E063 orr r3, r3, #1792
- 1255 0046 5360 str r3, [r2, #4]
- 1256 .L151:
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1257 .loc 1 857 0
- 1258 0048 2368 ldr r3, [r4]
- 1259 004a 13F0080F tst r3, #8
- 1260 004e 04D0 beq .L152
- 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1261 .loc 1 859 0
- 1262 0050 414A ldr r2, .L175+4
- 1263 0052 5368 ldr r3, [r2, #4]
- 1264 0054 43F46053 orr r3, r3, #14336
- 1265 0058 5360 str r3, [r2, #4]
- 1266 .L152:
- 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1267 .loc 1 864 0
- 1268 005a 3F4A ldr r2, .L175+4
- 1269 005c 5368 ldr r3, [r2, #4]
- 1270 005e 23F0F003 bic r3, r3, #240
- 1271 0062 A068 ldr r0, [r4, #8]
- 1272 .LVL106:
- 1273 0064 0343 orrs r3, r3, r0
- 1274 0066 5360 str r3, [r2, #4]
- 1275 .L150:
- 1276 0068 0D46 mov r5, r1
- 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1277 .loc 1 868 0
- 1278 006a 2368 ldr r3, [r4]
- 1279 006c 13F0010F tst r3, #1
- 1280 0070 31D0 beq .L153
- 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1281 .loc 1 873 0
- 1282 0072 6368 ldr r3, [r4, #4]
- 1283 0074 012B cmp r3, #1
- 1284 0076 20D0 beq .L173
- 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1285 .loc 1 882 0
- 1286 0078 022B cmp r3, #2
- 1287 007a 25D0 beq .L174
- 894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1288 .loc 1 894 0
- 1289 007c 364A ldr r2, .L175+4
- 1290 007e 1268 ldr r2, [r2]
- 1291 0080 12F0020F tst r2, #2
- 1292 0084 64D0 beq .L166
- 1293 .L155:
- 899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1294 .loc 1 899 0
- 1295 0086 3449 ldr r1, .L175+4
- 1296 .LVL107:
-ARM GAS /tmp/cc39eJzW.s page 51
-
-
- 1297 0088 4A68 ldr r2, [r1, #4]
- 1298 008a 22F00302 bic r2, r2, #3
- 1299 008e 1343 orrs r3, r3, r2
- 1300 0090 4B60 str r3, [r1, #4]
- 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1301 .loc 1 902 0
- 1302 0092 FFF7FEFF bl HAL_GetTick
- 1303 .LVL108:
- 1304 0096 0646 mov r6, r0
- 1305 .LVL109:
- 1306 .L157:
- 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1307 .loc 1 904 0
- 1308 0098 2F4B ldr r3, .L175+4
- 1309 009a 5B68 ldr r3, [r3, #4]
- 1310 009c 03F00C03 and r3, r3, #12
- 1311 00a0 6268 ldr r2, [r4, #4]
- 1312 00a2 B3EB820F cmp r3, r2, lsl #2
- 1313 00a6 16D0 beq .L153
- 906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1314 .loc 1 906 0
- 1315 00a8 FFF7FEFF bl HAL_GetTick
- 1316 .LVL110:
- 1317 00ac 801B subs r0, r0, r6
- 1318 00ae 41F28833 movw r3, #5000
- 1319 00b2 9842 cmp r0, r3
- 1320 00b4 F0D9 bls .L157
- 908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1321 .loc 1 908 0
- 1322 00b6 0320 movs r0, #3
- 1323 00b8 70BD pop {r4, r5, r6, pc}
- 1324 .LVL111:
- 1325 .L173:
- 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1326 .loc 1 876 0
- 1327 00ba 274A ldr r2, .L175+4
- 1328 00bc 1268 ldr r2, [r2]
- 1329 00be 12F4003F tst r2, #131072
- 1330 00c2 E0D1 bne .L155
- 878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1331 .loc 1 878 0
- 1332 00c4 0120 movs r0, #1
- 1333 00c6 70BD pop {r4, r5, r6, pc}
- 1334 .LVL112:
- 1335 .L174:
- 885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1336 .loc 1 885 0
- 1337 00c8 234A ldr r2, .L175+4
- 1338 00ca 1268 ldr r2, [r2]
- 1339 00cc 12F0007F tst r2, #33554432
- 1340 00d0 D9D1 bne .L155
- 887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1341 .loc 1 887 0
- 1342 00d2 0120 movs r0, #1
- 1343 00d4 70BD pop {r4, r5, r6, pc}
- 1344 .LVL113:
- 1345 .L153:
-ARM GAS /tmp/cc39eJzW.s page 52
-
-
- 915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1346 .loc 1 915 0
- 1347 00d6 1F4B ldr r3, .L175
- 1348 00d8 1B68 ldr r3, [r3]
- 1349 00da 03F00703 and r3, r3, #7
- 1350 00de 9D42 cmp r5, r3
- 1351 00e0 0CD2 bcs .L159
- 918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1352 .loc 1 918 0
- 1353 00e2 1C4A ldr r2, .L175
- 1354 00e4 1368 ldr r3, [r2]
- 1355 00e6 23F00703 bic r3, r3, #7
- 1356 00ea 2B43 orrs r3, r3, r5
- 1357 00ec 1360 str r3, [r2]
- 922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1358 .loc 1 922 0
- 1359 00ee 1368 ldr r3, [r2]
- 1360 00f0 03F00703 and r3, r3, #7
- 1361 00f4 9D42 cmp r5, r3
- 1362 00f6 01D0 beq .L159
- 924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1363 .loc 1 924 0
- 1364 00f8 0120 movs r0, #1
- 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1365 .loc 1 950 0
- 1366 00fa 70BD pop {r4, r5, r6, pc}
- 1367 .LVL114:
- 1368 .L159:
- 930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1369 .loc 1 930 0
- 1370 00fc 2368 ldr r3, [r4]
- 1371 00fe 13F0040F tst r3, #4
- 1372 0102 06D0 beq .L160
- 933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1373 .loc 1 933 0
- 1374 0104 144A ldr r2, .L175+4
- 1375 0106 5368 ldr r3, [r2, #4]
- 1376 0108 23F4E063 bic r3, r3, #1792
- 1377 010c E168 ldr r1, [r4, #12]
- 1378 010e 0B43 orrs r3, r3, r1
- 1379 0110 5360 str r3, [r2, #4]
- 1380 .L160:
- 937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1381 .loc 1 937 0
- 1382 0112 2368 ldr r3, [r4]
- 1383 0114 13F0080F tst r3, #8
- 1384 0118 07D0 beq .L161
- 940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1385 .loc 1 940 0
- 1386 011a 0F4A ldr r2, .L175+4
- 1387 011c 5368 ldr r3, [r2, #4]
- 1388 011e 23F46053 bic r3, r3, #14336
- 1389 0122 2169 ldr r1, [r4, #16]
- 1390 0124 43EAC103 orr r3, r3, r1, lsl #3
- 1391 0128 5360 str r3, [r2, #4]
- 1392 .L161:
- 944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-ARM GAS /tmp/cc39eJzW.s page 53
-
-
- 1393 .loc 1 944 0
- 1394 012a FFF7FEFF bl HAL_RCC_GetSysClockFreq
- 1395 .LVL115:
- 1396 012e 0A4B ldr r3, .L175+4
- 1397 0130 5B68 ldr r3, [r3, #4]
- 1398 0132 C3F30313 ubfx r3, r3, #4, #4
- 1399 0136 094A ldr r2, .L175+8
- 1400 0138 D35C ldrb r3, [r2, r3] @ zero_extendqisi2
- 1401 013a D840 lsrs r0, r0, r3
- 1402 013c 084B ldr r3, .L175+12
- 1403 013e 1860 str r0, [r3]
- 947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1404 .loc 1 947 0
- 1405 0140 084B ldr r3, .L175+16
- 1406 0142 1868 ldr r0, [r3]
- 1407 0144 FFF7FEFF bl HAL_InitTick
- 1408 .LVL116:
- 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1409 .loc 1 949 0
- 1410 0148 0020 movs r0, #0
- 1411 014a 70BD pop {r4, r5, r6, pc}
- 1412 .LVL117:
- 1413 .L162:
- 1414 .LCFI16:
- 1415 .cfi_def_cfa_offset 0
- 1416 .cfi_restore 4
- 1417 .cfi_restore 5
- 1418 .cfi_restore 6
- 1419 .cfi_restore 14
- 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1420 .loc 1 820 0
- 1421 014c 0120 movs r0, #1
- 1422 .LVL118:
- 1423 014e 7047 bx lr
- 1424 .LVL119:
- 1425 .L166:
- 1426 .LCFI17:
- 1427 .cfi_def_cfa_offset 16
- 1428 .cfi_offset 4, -16
- 1429 .cfi_offset 5, -12
- 1430 .cfi_offset 6, -8
- 1431 .cfi_offset 14, -4
- 896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1432 .loc 1 896 0
- 1433 0150 0120 movs r0, #1
- 1434 0152 70BD pop {r4, r5, r6, pc}
- 1435 .LVL120:
- 1436 .L176:
- 1437 .align 2
- 1438 .L175:
- 1439 0154 00200240 .word 1073881088
- 1440 0158 00100240 .word 1073876992
- 1441 015c 00000000 .word AHBPrescTable
- 1442 0160 00000000 .word SystemCoreClock
- 1443 0164 00000000 .word uwTickPrio
- 1444 .cfi_endproc
- 1445 .LFE67:
-ARM GAS /tmp/cc39eJzW.s page 54
-
-
- 1447 .section .text.HAL_RCC_GetHCLKFreq,"ax",%progbits
- 1448 .align 1
- 1449 .global HAL_RCC_GetHCLKFreq
- 1450 .syntax unified
- 1451 .thumb
- 1452 .thumb_func
- 1453 .fpu softvfp
- 1455 HAL_RCC_GetHCLKFreq:
- 1456 .LFB72:
-1177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** return SystemCoreClock;
- 1457 .loc 1 1177 0
- 1458 .cfi_startproc
- 1459 @ args = 0, pretend = 0, frame = 0
- 1460 @ frame_needed = 0, uses_anonymous_args = 0
- 1461 @ link register save eliminated.
-1179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1462 .loc 1 1179 0
- 1463 0000 014B ldr r3, .L178
- 1464 0002 1868 ldr r0, [r3]
- 1465 0004 7047 bx lr
- 1466 .L179:
- 1467 0006 00BF .align 2
- 1468 .L178:
- 1469 0008 00000000 .word SystemCoreClock
- 1470 .cfi_endproc
- 1471 .LFE72:
- 1473 .section .text.HAL_RCC_GetPCLK1Freq,"ax",%progbits
- 1474 .align 1
- 1475 .global HAL_RCC_GetPCLK1Freq
- 1476 .syntax unified
- 1477 .thumb
- 1478 .thumb_func
- 1479 .fpu softvfp
- 1481 HAL_RCC_GetPCLK1Freq:
- 1482 .LFB73:
-1188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get HCLK source and Compute PCLK1 frequency ---------------------------*/
- 1483 .loc 1 1188 0
- 1484 .cfi_startproc
- 1485 @ args = 0, pretend = 0, frame = 0
- 1486 @ frame_needed = 0, uses_anonymous_args = 0
- 1487 0000 08B5 push {r3, lr}
- 1488 .LCFI18:
- 1489 .cfi_def_cfa_offset 8
- 1490 .cfi_offset 3, -8
- 1491 .cfi_offset 14, -4
-1190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1492 .loc 1 1190 0
- 1493 0002 FFF7FEFF bl HAL_RCC_GetHCLKFreq
- 1494 .LVL121:
- 1495 0006 044B ldr r3, .L182
- 1496 0008 5B68 ldr r3, [r3, #4]
- 1497 000a C3F30223 ubfx r3, r3, #8, #3
- 1498 000e 034A ldr r2, .L182+4
- 1499 0010 D35C ldrb r3, [r2, r3] @ zero_extendqisi2
-1191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1500 .loc 1 1191 0
- 1501 0012 D840 lsrs r0, r0, r3
-ARM GAS /tmp/cc39eJzW.s page 55
-
-
- 1502 0014 08BD pop {r3, pc}
- 1503 .L183:
- 1504 0016 00BF .align 2
- 1505 .L182:
- 1506 0018 00100240 .word 1073876992
- 1507 001c 00000000 .word APBPrescTable
- 1508 .cfi_endproc
- 1509 .LFE73:
- 1511 .section .text.HAL_RCC_GetPCLK2Freq,"ax",%progbits
- 1512 .align 1
- 1513 .global HAL_RCC_GetPCLK2Freq
- 1514 .syntax unified
- 1515 .thumb
- 1516 .thumb_func
- 1517 .fpu softvfp
- 1519 HAL_RCC_GetPCLK2Freq:
- 1520 .LFB74:
-1200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Get HCLK source and Compute PCLK2 frequency ---------------------------*/
- 1521 .loc 1 1200 0
- 1522 .cfi_startproc
- 1523 @ args = 0, pretend = 0, frame = 0
- 1524 @ frame_needed = 0, uses_anonymous_args = 0
- 1525 0000 08B5 push {r3, lr}
- 1526 .LCFI19:
- 1527 .cfi_def_cfa_offset 8
- 1528 .cfi_offset 3, -8
- 1529 .cfi_offset 14, -4
-1202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1530 .loc 1 1202 0
- 1531 0002 FFF7FEFF bl HAL_RCC_GetHCLKFreq
- 1532 .LVL122:
- 1533 0006 044B ldr r3, .L186
- 1534 0008 5B68 ldr r3, [r3, #4]
- 1535 000a C3F3C223 ubfx r3, r3, #11, #3
- 1536 000e 034A ldr r2, .L186+4
- 1537 0010 D35C ldrb r3, [r2, r3] @ zero_extendqisi2
-1203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1538 .loc 1 1203 0
- 1539 0012 D840 lsrs r0, r0, r3
- 1540 0014 08BD pop {r3, pc}
- 1541 .L187:
- 1542 0016 00BF .align 2
- 1543 .L186:
- 1544 0018 00100240 .word 1073876992
- 1545 001c 00000000 .word APBPrescTable
- 1546 .cfi_endproc
- 1547 .LFE74:
- 1549 .section .text.HAL_RCC_GetOscConfig,"ax",%progbits
- 1550 .align 1
- 1551 .global HAL_RCC_GetOscConfig
- 1552 .syntax unified
- 1553 .thumb
- 1554 .thumb_func
- 1555 .fpu softvfp
- 1557 HAL_RCC_GetOscConfig:
- 1558 .LFB75:
-1213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
-ARM GAS /tmp/cc39eJzW.s page 56
-
-
- 1559 .loc 1 1213 0
- 1560 .cfi_startproc
- 1561 @ args = 0, pretend = 0, frame = 0
- 1562 @ frame_needed = 0, uses_anonymous_args = 0
- 1563 @ link register save eliminated.
- 1564 .LVL123:
-1218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** | RCC_OSCILLATORTYPE_LSE | RCC_OSCILLATORTYPE_LSI;
- 1565 .loc 1 1218 0
- 1566 0000 0F23 movs r3, #15
- 1567 0002 0360 str r3, [r0]
-1227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1568 .loc 1 1227 0
- 1569 0004 2A4B ldr r3, .L202
- 1570 0006 1B68 ldr r3, [r3]
- 1571 0008 13F4802F tst r3, #262144
- 1572 000c 30D0 beq .L189
-1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1573 .loc 1 1229 0
- 1574 000e 4FF4A023 mov r3, #327680
- 1575 0012 4360 str r3, [r0, #4]
- 1576 .L190:
-1239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1577 .loc 1 1239 0
- 1578 0014 264A ldr r2, .L202
- 1579 0016 5368 ldr r3, [r2, #4]
- 1580 0018 03F40033 and r3, r3, #131072
- 1581 001c 8360 str r3, [r0, #8]
-1242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1582 .loc 1 1242 0
- 1583 001e 1368 ldr r3, [r2]
- 1584 0020 13F0010F tst r3, #1
- 1585 0024 30D0 beq .L192
-1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1586 .loc 1 1244 0
- 1587 0026 0123 movs r3, #1
- 1588 0028 0361 str r3, [r0, #16]
- 1589 .L193:
-1251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1590 .loc 1 1251 0
- 1591 002a 214A ldr r2, .L202
- 1592 002c 1368 ldr r3, [r2]
- 1593 002e C3F3C403 ubfx r3, r3, #3, #5
- 1594 0032 4361 str r3, [r0, #20]
-1254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1595 .loc 1 1254 0
- 1596 0034 136A ldr r3, [r2, #32]
- 1597 0036 13F0040F tst r3, #4
- 1598 003a 28D0 beq .L194
-1256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1599 .loc 1 1256 0
- 1600 003c 0523 movs r3, #5
- 1601 003e C360 str r3, [r0, #12]
- 1602 .L195:
-1268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1603 .loc 1 1268 0
- 1604 0040 1B4B ldr r3, .L202
- 1605 0042 5B6A ldr r3, [r3, #36]
-ARM GAS /tmp/cc39eJzW.s page 57
-
-
- 1606 0044 13F0010F tst r3, #1
- 1607 0048 2CD0 beq .L197
-1270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1608 .loc 1 1270 0
- 1609 004a 0123 movs r3, #1
- 1610 004c 8361 str r3, [r0, #24]
- 1611 .L198:
-1279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1612 .loc 1 1279 0
- 1613 004e 184B ldr r3, .L202
- 1614 0050 1B68 ldr r3, [r3]
- 1615 0052 13F0807F tst r3, #16777216
- 1616 0056 28D1 bne .L201
-1285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1617 .loc 1 1285 0
- 1618 0058 0123 movs r3, #1
- 1619 005a C361 str r3, [r0, #28]
- 1620 .L200:
-1287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** RCC_OscInitStruct->PLL.PLLMUL = (uint32_t)(RCC->CFGR & RCC_CFGR_PLLMULL);
- 1621 .loc 1 1287 0
- 1622 005c 144A ldr r2, .L202
- 1623 005e 5368 ldr r3, [r2, #4]
- 1624 0060 03F48033 and r3, r3, #65536
- 1625 0064 0362 str r3, [r0, #32]
-1288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #if defined(RCC_CR_PLL2ON)
- 1626 .loc 1 1288 0
- 1627 0066 5368 ldr r3, [r2, #4]
- 1628 0068 03F47013 and r3, r3, #3932160
- 1629 006c 4362 str r3, [r0, #36]
- 1630 006e 7047 bx lr
- 1631 .L189:
-1231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1632 .loc 1 1231 0
- 1633 0070 0F4B ldr r3, .L202
- 1634 0072 1B68 ldr r3, [r3]
- 1635 0074 13F4803F tst r3, #65536
- 1636 0078 03D0 beq .L191
-1233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1637 .loc 1 1233 0
- 1638 007a 4FF48033 mov r3, #65536
- 1639 007e 4360 str r3, [r0, #4]
- 1640 0080 C8E7 b .L190
- 1641 .L191:
-1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1642 .loc 1 1237 0
- 1643 0082 0023 movs r3, #0
- 1644 0084 4360 str r3, [r0, #4]
- 1645 0086 C5E7 b .L190
- 1646 .L192:
-1248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1647 .loc 1 1248 0
- 1648 0088 0023 movs r3, #0
- 1649 008a 0361 str r3, [r0, #16]
- 1650 008c CDE7 b .L193
- 1651 .L194:
-1258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1652 .loc 1 1258 0
-ARM GAS /tmp/cc39eJzW.s page 58
-
-
- 1653 008e 084B ldr r3, .L202
- 1654 0090 1B6A ldr r3, [r3, #32]
- 1655 0092 13F0010F tst r3, #1
- 1656 0096 02D0 beq .L196
-1260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1657 .loc 1 1260 0
- 1658 0098 0123 movs r3, #1
- 1659 009a C360 str r3, [r0, #12]
- 1660 009c D0E7 b .L195
- 1661 .L196:
-1264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1662 .loc 1 1264 0
- 1663 009e 0023 movs r3, #0
- 1664 00a0 C360 str r3, [r0, #12]
- 1665 00a2 CDE7 b .L195
- 1666 .L197:
-1274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1667 .loc 1 1274 0
- 1668 00a4 0023 movs r3, #0
- 1669 00a6 8361 str r3, [r0, #24]
- 1670 00a8 D1E7 b .L198
- 1671 .L201:
-1281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1672 .loc 1 1281 0
- 1673 00aa 0223 movs r3, #2
- 1674 00ac C361 str r3, [r0, #28]
- 1675 00ae D5E7 b .L200
- 1676 .L203:
- 1677 .align 2
- 1678 .L202:
- 1679 00b0 00100240 .word 1073876992
- 1680 .cfi_endproc
- 1681 .LFE75:
- 1683 .section .text.HAL_RCC_GetClockConfig,"ax",%progbits
- 1684 .align 1
- 1685 .global HAL_RCC_GetClockConfig
- 1686 .syntax unified
- 1687 .thumb
- 1688 .thumb_func
- 1689 .fpu softvfp
- 1691 HAL_RCC_GetClockConfig:
- 1692 .LFB76:
-1313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check the parameters */
- 1693 .loc 1 1313 0
- 1694 .cfi_startproc
- 1695 @ args = 0, pretend = 0, frame = 0
- 1696 @ frame_needed = 0, uses_anonymous_args = 0
- 1697 @ link register save eliminated.
- 1698 .LVL124:
-1319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1699 .loc 1 1319 0
- 1700 0000 0F23 movs r3, #15
- 1701 0002 0360 str r3, [r0]
-1322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1702 .loc 1 1322 0
- 1703 0004 0B4B ldr r3, .L205
- 1704 0006 5A68 ldr r2, [r3, #4]
-ARM GAS /tmp/cc39eJzW.s page 59
-
-
- 1705 0008 02F00302 and r2, r2, #3
- 1706 000c 4260 str r2, [r0, #4]
-1325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1707 .loc 1 1325 0
- 1708 000e 5A68 ldr r2, [r3, #4]
- 1709 0010 02F0F002 and r2, r2, #240
- 1710 0014 8260 str r2, [r0, #8]
-1328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1711 .loc 1 1328 0
- 1712 0016 5A68 ldr r2, [r3, #4]
- 1713 0018 02F4E062 and r2, r2, #1792
- 1714 001c C260 str r2, [r0, #12]
-1331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1715 .loc 1 1331 0
- 1716 001e 5B68 ldr r3, [r3, #4]
- 1717 0020 DB08 lsrs r3, r3, #3
- 1718 0022 03F4E063 and r3, r3, #1792
- 1719 0026 0361 str r3, [r0, #16]
-1335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** #else
- 1720 .loc 1 1335 0
- 1721 0028 034B ldr r3, .L205+4
- 1722 002a 1B68 ldr r3, [r3]
- 1723 002c 03F00703 and r3, r3, #7
- 1724 0030 0B60 str r3, [r1]
- 1725 0032 7047 bx lr
- 1726 .L206:
- 1727 .align 2
- 1728 .L205:
- 1729 0034 00100240 .word 1073876992
- 1730 0038 00200240 .word 1073881088
- 1731 .cfi_endproc
- 1732 .LFE76:
- 1734 .section .text.HAL_RCC_CSSCallback,"ax",%progbits
- 1735 .align 1
- 1736 .weak HAL_RCC_CSSCallback
- 1737 .syntax unified
- 1738 .thumb
- 1739 .thumb_func
- 1740 .fpu softvfp
- 1742 HAL_RCC_CSSCallback:
- 1743 .LFB79:
-1374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
-1375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /**
-1376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @brief RCC Clock Security System interrupt callback
-1377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** * @retval none
-1378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** */
-1379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** __weak void HAL_RCC_CSSCallback(void)
-1380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1744 .loc 1 1380 0
- 1745 .cfi_startproc
- 1746 @ args = 0, pretend = 0, frame = 0
- 1747 @ frame_needed = 0, uses_anonymous_args = 0
- 1748 @ link register save eliminated.
- 1749 0000 7047 bx lr
- 1750 .cfi_endproc
- 1751 .LFE79:
- 1753 .section .text.HAL_RCC_NMI_IRQHandler,"ax",%progbits
-ARM GAS /tmp/cc39eJzW.s page 60
-
-
- 1754 .align 1
- 1755 .global HAL_RCC_NMI_IRQHandler
- 1756 .syntax unified
- 1757 .thumb
- 1758 .thumb_func
- 1759 .fpu softvfp
- 1761 HAL_RCC_NMI_IRQHandler:
- 1762 .LFB77:
-1348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check RCC CSSF flag */
- 1763 .loc 1 1348 0
- 1764 .cfi_startproc
- 1765 @ args = 0, pretend = 0, frame = 0
- 1766 @ frame_needed = 0, uses_anonymous_args = 0
-1348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** /* Check RCC CSSF flag */
- 1767 .loc 1 1348 0
- 1768 0000 08B5 push {r3, lr}
- 1769 .LCFI20:
- 1770 .cfi_def_cfa_offset 8
- 1771 .cfi_offset 3, -8
- 1772 .cfi_offset 14, -4
-1350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** {
- 1773 .loc 1 1350 0
- 1774 0002 064B ldr r3, .L212
- 1775 0004 9B68 ldr r3, [r3, #8]
- 1776 0006 13F0800F tst r3, #128
- 1777 000a 00D1 bne .L211
- 1778 .L208:
- 1779 000c 08BD pop {r3, pc}
- 1780 .L211:
-1353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1781 .loc 1 1353 0
- 1782 000e FFF7FEFF bl HAL_RCC_CSSCallback
- 1783 .LVL125:
-1356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c **** }
- 1784 .loc 1 1356 0
- 1785 0012 8022 movs r2, #128
- 1786 0014 024B ldr r3, .L212+4
- 1787 0016 1A70 strb r2, [r3]
-1358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc.c ****
- 1788 .loc 1 1358 0
- 1789 0018 F8E7 b .L208
- 1790 .L213:
- 1791 001a 00BF .align 2
- 1792 .L212:
- 1793 001c 00100240 .word 1073876992
- 1794 0020 0A100240 .word 1073877002
- 1795 .cfi_endproc
- 1796 .LFE77:
- 1798 .section .rodata
- 1799 .align 2
- 1800 .set .LANCHOR0,. + 0
- 1801 .LC0:
- 1802 0000 02 .byte 2
- 1803 0001 03 .byte 3
- 1804 0002 04 .byte 4
- 1805 0003 05 .byte 5
- 1806 0004 06 .byte 6
-ARM GAS /tmp/cc39eJzW.s page 61
-
-
- 1807 0005 07 .byte 7
- 1808 0006 08 .byte 8
- 1809 0007 09 .byte 9
- 1810 0008 0A .byte 10
- 1811 0009 0B .byte 11
- 1812 000a 0C .byte 12
- 1813 000b 0D .byte 13
- 1814 000c 0E .byte 14
- 1815 000d 0F .byte 15
- 1816 000e 10 .byte 16
- 1817 000f 10 .byte 16
- 1818 .LC1:
- 1819 0010 01 .byte 1
- 1820 0011 02 .byte 2
- 1821 .text
- 1822 .Letext0:
- 1823 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 1824 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 1825 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 1826 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 1827 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 1828 .file 7 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h"
- 1829 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 1830 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h"
- 1831 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h"
- 1832 .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h"
- 1833 .file 12 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
-ARM GAS /tmp/cc39eJzW.s page 62
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_hal_rcc.c
- /tmp/cc39eJzW.s:16 .text.RCC_Delay:0000000000000000 $t
- /tmp/cc39eJzW.s:22 .text.RCC_Delay:0000000000000000 RCC_Delay
- /tmp/cc39eJzW.s:66 .text.RCC_Delay:0000000000000024 $d
- /tmp/cc39eJzW.s:72 .text.HAL_RCC_DeInit:0000000000000000 $t
- /tmp/cc39eJzW.s:79 .text.HAL_RCC_DeInit:0000000000000000 HAL_RCC_DeInit
- /tmp/cc39eJzW.s:248 .text.HAL_RCC_DeInit:00000000000000e4 $d
- /tmp/cc39eJzW.s:256 .text.HAL_RCC_OscConfig:0000000000000000 $t
- /tmp/cc39eJzW.s:263 .text.HAL_RCC_OscConfig:0000000000000000 HAL_RCC_OscConfig
- /tmp/cc39eJzW.s:720 .text.HAL_RCC_OscConfig:00000000000002c4 $d
- /tmp/cc39eJzW.s:726 .text.HAL_RCC_OscConfig:00000000000002d4 $t
- /tmp/cc39eJzW.s:970 .text.HAL_RCC_OscConfig:0000000000000408 $d
- /tmp/cc39eJzW.s:976 .text.HAL_RCC_MCOConfig:0000000000000000 $t
- /tmp/cc39eJzW.s:983 .text.HAL_RCC_MCOConfig:0000000000000000 HAL_RCC_MCOConfig
- /tmp/cc39eJzW.s:1045 .text.HAL_RCC_MCOConfig:0000000000000044 $d
- /tmp/cc39eJzW.s:1051 .text.HAL_RCC_EnableCSS:0000000000000000 $t
- /tmp/cc39eJzW.s:1058 .text.HAL_RCC_EnableCSS:0000000000000000 HAL_RCC_EnableCSS
- /tmp/cc39eJzW.s:1073 .text.HAL_RCC_EnableCSS:0000000000000008 $d
- /tmp/cc39eJzW.s:1078 .text.HAL_RCC_DisableCSS:0000000000000000 $t
- /tmp/cc39eJzW.s:1085 .text.HAL_RCC_DisableCSS:0000000000000000 HAL_RCC_DisableCSS
- /tmp/cc39eJzW.s:1100 .text.HAL_RCC_DisableCSS:0000000000000008 $d
- /tmp/cc39eJzW.s:1105 .text.HAL_RCC_GetSysClockFreq:0000000000000000 $t
- /tmp/cc39eJzW.s:1112 .text.HAL_RCC_GetSysClockFreq:0000000000000000 HAL_RCC_GetSysClockFreq
- /tmp/cc39eJzW.s:1187 .text.HAL_RCC_GetSysClockFreq:000000000000005c $d
- /tmp/cc39eJzW.s:1195 .text.HAL_RCC_ClockConfig:0000000000000000 $t
- /tmp/cc39eJzW.s:1202 .text.HAL_RCC_ClockConfig:0000000000000000 HAL_RCC_ClockConfig
- /tmp/cc39eJzW.s:1439 .text.HAL_RCC_ClockConfig:0000000000000154 $d
- /tmp/cc39eJzW.s:1448 .text.HAL_RCC_GetHCLKFreq:0000000000000000 $t
- /tmp/cc39eJzW.s:1455 .text.HAL_RCC_GetHCLKFreq:0000000000000000 HAL_RCC_GetHCLKFreq
- /tmp/cc39eJzW.s:1469 .text.HAL_RCC_GetHCLKFreq:0000000000000008 $d
- /tmp/cc39eJzW.s:1474 .text.HAL_RCC_GetPCLK1Freq:0000000000000000 $t
- /tmp/cc39eJzW.s:1481 .text.HAL_RCC_GetPCLK1Freq:0000000000000000 HAL_RCC_GetPCLK1Freq
- /tmp/cc39eJzW.s:1506 .text.HAL_RCC_GetPCLK1Freq:0000000000000018 $d
- /tmp/cc39eJzW.s:1512 .text.HAL_RCC_GetPCLK2Freq:0000000000000000 $t
- /tmp/cc39eJzW.s:1519 .text.HAL_RCC_GetPCLK2Freq:0000000000000000 HAL_RCC_GetPCLK2Freq
- /tmp/cc39eJzW.s:1544 .text.HAL_RCC_GetPCLK2Freq:0000000000000018 $d
- /tmp/cc39eJzW.s:1550 .text.HAL_RCC_GetOscConfig:0000000000000000 $t
- /tmp/cc39eJzW.s:1557 .text.HAL_RCC_GetOscConfig:0000000000000000 HAL_RCC_GetOscConfig
- /tmp/cc39eJzW.s:1679 .text.HAL_RCC_GetOscConfig:00000000000000b0 $d
- /tmp/cc39eJzW.s:1684 .text.HAL_RCC_GetClockConfig:0000000000000000 $t
- /tmp/cc39eJzW.s:1691 .text.HAL_RCC_GetClockConfig:0000000000000000 HAL_RCC_GetClockConfig
- /tmp/cc39eJzW.s:1729 .text.HAL_RCC_GetClockConfig:0000000000000034 $d
- /tmp/cc39eJzW.s:1735 .text.HAL_RCC_CSSCallback:0000000000000000 $t
- /tmp/cc39eJzW.s:1742 .text.HAL_RCC_CSSCallback:0000000000000000 HAL_RCC_CSSCallback
- /tmp/cc39eJzW.s:1754 .text.HAL_RCC_NMI_IRQHandler:0000000000000000 $t
- /tmp/cc39eJzW.s:1761 .text.HAL_RCC_NMI_IRQHandler:0000000000000000 HAL_RCC_NMI_IRQHandler
- /tmp/cc39eJzW.s:1793 .text.HAL_RCC_NMI_IRQHandler:000000000000001c $d
- /tmp/cc39eJzW.s:1799 .rodata:0000000000000000 $d
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-SystemCoreClock
-HAL_GetTick
-HAL_InitTick
-uwTickPrio
-HAL_GPIO_Init
-ARM GAS /tmp/cc39eJzW.s page 63
-
-
-AHBPrescTable
-APBPrescTable
diff --git a/build/stm32f1xx_hal_rcc.o b/build/stm32f1xx_hal_rcc.o
deleted file mode 100644
index 6ae3e03..0000000
Binary files a/build/stm32f1xx_hal_rcc.o and /dev/null differ
diff --git a/build/stm32f1xx_hal_rcc_ex.d b/build/stm32f1xx_hal_rcc_ex.d
deleted file mode 100644
index 1dda386..0000000
--- a/build/stm32f1xx_hal_rcc_ex.d
+++ /dev/null
@@ -1,93 +0,0 @@
-build/stm32f1xx_hal_rcc_ex.o: \
- Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/stm32f1xx_hal_rcc_ex.lst b/build/stm32f1xx_hal_rcc_ex.lst
deleted file mode 100644
index 1da619a..0000000
--- a/build/stm32f1xx_hal_rcc_ex.lst
+++ /dev/null
@@ -1,1237 +0,0 @@
-ARM GAS /tmp/cci1QTXd.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "stm32f1xx_hal_rcc_ex.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.HAL_RCCEx_PeriphCLKConfig,"ax",%progbits
- 16 .align 1
- 17 .global HAL_RCCEx_PeriphCLKConfig
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 HAL_RCCEx_PeriphCLKConfig:
- 24 .LFB65:
- 25 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c"
- 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /**
- 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** ******************************************************************************
- 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @file stm32f1xx_hal_rcc_ex.c
- 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @author MCD Application Team
- 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @brief Extended RCC HAL module driver.
- 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * This file provides firmware functions to manage the following
- 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * functionalities RCC extension peripheral:
- 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * + Extended Peripheral Control functions
- 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** *
- 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** ******************************************************************************
- 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @attention
- 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** *
- 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * © Copyright (c) 2016 STMicroelectronics.
- 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * All rights reserved.
- 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** *
- 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * the "License"; You may not use this file except in compliance with the
- 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * License. You may obtain a copy of the License at:
- 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * opensource.org/licenses/BSD-3-Clause
- 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** *
- 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** ******************************************************************************
- 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** */
- 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Includes ------------------------------------------------------------------*/
- 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #include "stm32f1xx_hal.h"
- 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /** @addtogroup STM32F1xx_HAL_Driver
- 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @{
- 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** */
- 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #ifdef HAL_RCC_MODULE_ENABLED
- 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /** @defgroup RCCEx RCCEx
-ARM GAS /tmp/cci1QTXd.s page 2
-
-
- 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @brief RCC Extension HAL module driver.
- 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @{
- 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** */
- 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Private typedef -----------------------------------------------------------*/
- 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Private define ------------------------------------------------------------*/
- 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /** @defgroup RCCEx_Private_Constants RCCEx Private Constants
- 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @{
- 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** */
- 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /**
- 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @}
- 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** */
- 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Private macro -------------------------------------------------------------*/
- 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /** @defgroup RCCEx_Private_Macros RCCEx Private Macros
- 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @{
- 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** */
- 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /**
- 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @}
- 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** */
- 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Private variables ---------------------------------------------------------*/
- 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Private function prototypes -----------------------------------------------*/
- 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Private functions ---------------------------------------------------------*/
- 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /** @defgroup RCCEx_Exported_Functions RCCEx Exported Functions
- 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @{
- 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** */
- 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /** @defgroup RCCEx_Exported_Functions_Group1 Peripheral Control functions
- 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @brief Extended Peripheral Control functions
- 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** *
- 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @verbatim
- 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** ===============================================================================
- 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** ##### Extended Peripheral Control functions #####
- 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** ===============================================================================
- 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** [..]
- 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** This subsection provides a set of functions allowing to control the RCC Clocks
- 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequencies.
- 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** [..]
- 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** (@) Important note: Care must be taken when HAL_RCCEx_PeriphCLKConfig() is used to
- 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** select the RTC clock source; in this case the Backup domain will be reset in
- 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** order to modify the RTC Clock source, as consequence RTC registers (including
- 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** the backup registers) are set to their reset values.
- 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @endverbatim
- 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @{
- 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** */
- 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /**
- 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @brief Initializes the RCC extended peripherals clocks according to the specified parameters i
- 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * RCC_PeriphCLKInitTypeDef.
- 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @param PeriphClkInit pointer to an RCC_PeriphCLKInitTypeDef structure that
- 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * contains the configuration information for the Extended Peripherals clocks(RTC clock).
- 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** *
- 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @note Care must be taken when HAL_RCCEx_PeriphCLKConfig() is used to select
- 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * the RTC clock source; in this case the Backup domain will be reset in
-ARM GAS /tmp/cci1QTXd.s page 3
-
-
- 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * order to modify the RTC Clock source, as consequence RTC registers (including
- 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * the backup registers) are set to their reset values.
- 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** *
- 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @note In case of STM32F105xC or STM32F107xC devices, PLLI2S will be enabled if requested on
- 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * one of 2 I2S interfaces. When PLLI2S is enabled, you need to call HAL_RCCEx_DisablePLLI
- 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * manually disable it.
- 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** *
- 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @retval HAL status
- 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** */
- 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** HAL_StatusTypeDef HAL_RCCEx_PeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit)
- 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 26 .loc 1 101 0
- 27 .cfi_startproc
- 28 @ args = 0, pretend = 0, frame = 8
- 29 @ frame_needed = 0, uses_anonymous_args = 0
- 30 .LVL0:
- 31 0000 70B5 push {r4, r5, r6, lr}
- 32 .LCFI0:
- 33 .cfi_def_cfa_offset 16
- 34 .cfi_offset 4, -16
- 35 .cfi_offset 5, -12
- 36 .cfi_offset 6, -8
- 37 .cfi_offset 14, -4
- 38 0002 82B0 sub sp, sp, #8
- 39 .LCFI1:
- 40 .cfi_def_cfa_offset 24
- 41 0004 0446 mov r4, r0
- 42 .LVL1:
- 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** uint32_t tickstart = 0U, temp_reg = 0U;
- 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F105xC) || defined(STM32F107xC)
- 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** uint32_t pllactive = 0U;
- 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F105xC || STM32F107xC */
- 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check the parameters */
- 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** assert_param(IS_RCC_PERIPHCLOCK(PeriphClkInit->PeriphClockSelection));
- 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /*------------------------------- RTC/LCD Configuration ------------------------*/
- 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if ((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_RTC) == RCC_PERIPHCLK_RTC))
- 43 .loc 1 111 0
- 44 0006 0368 ldr r3, [r0]
- 45 0008 13F0010F tst r3, #1
- 46 000c 34D0 beq .L2
- 47 .LVL2:
- 48 .LBB2:
- 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* check for RTC Parameters used to output RTCCLK */
- 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** assert_param(IS_RCC_RTCCLKSOURCE(PeriphClkInit->RTCClockSelection));
- 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** FlagStatus pwrclkchanged = RESET;
- 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* As soon as function is called to change RTC clock source, activation of the
- 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** power domain is done. */
- 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Requires to enable write access to Backup Domain of necessary */
- 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (__HAL_RCC_PWR_IS_CLK_DISABLED())
- 49 .loc 1 121 0
- 50 000e 3E4B ldr r3, .L20
- 51 0010 DB69 ldr r3, [r3, #28]
-ARM GAS /tmp/cci1QTXd.s page 4
-
-
- 52 0012 13F0805F tst r3, #268435456
- 53 0016 48D1 bne .L12
- 54 .LBB3:
- 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** __HAL_RCC_PWR_CLK_ENABLE();
- 55 .loc 1 123 0
- 56 0018 3B4B ldr r3, .L20
- 57 001a DA69 ldr r2, [r3, #28]
- 58 001c 42F08052 orr r2, r2, #268435456
- 59 0020 DA61 str r2, [r3, #28]
- 60 0022 DB69 ldr r3, [r3, #28]
- 61 0024 03F08053 and r3, r3, #268435456
- 62 0028 0193 str r3, [sp, #4]
- 63 002a 019B ldr r3, [sp, #4]
- 64 .LVL3:
- 65 .LBE3:
- 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** pwrclkchanged = SET;
- 66 .loc 1 124 0
- 67 002c 0125 movs r5, #1
- 68 .LVL4:
- 69 .L3:
- 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP))
- 70 .loc 1 127 0
- 71 002e 374B ldr r3, .L20+4
- 72 0030 1B68 ldr r3, [r3]
- 73 0032 13F4807F tst r3, #256
- 74 0036 3AD0 beq .L17
- 75 .LVL5:
- 76 .L4:
- 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Enable write access to Backup domain */
- 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** SET_BIT(PWR->CR, PWR_CR_DBP);
- 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Wait for Backup domain Write protection disable */
- 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** tickstart = HAL_GetTick();
- 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** while (HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP))
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if ((HAL_GetTick() - tickstart) > RCC_DBP_TIMEOUT_VALUE)
- 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** return HAL_TIMEOUT;
- 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Reset the Backup domain only if the RTC Clock source selection is modified from reset value
- 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** temp_reg = (RCC->BDCR & RCC_BDCR_RTCSEL);
- 77 .loc 1 145 0
- 78 0038 334B ldr r3, .L20
- 79 003a 1B6A ldr r3, [r3, #32]
- 80 .LVL6:
- 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if ((temp_reg != 0x00000000U) && (temp_reg != (PeriphClkInit->RTCClockSelection & RCC_BDCR_RTCS
- 81 .loc 1 146 0
- 82 003c 13F44073 ands r3, r3, #768
- 83 .LVL7:
-ARM GAS /tmp/cci1QTXd.s page 5
-
-
- 84 0040 11D0 beq .L8
- 85 .loc 1 146 0 is_stmt 0 discriminator 1
- 86 0042 6268 ldr r2, [r4, #4]
- 87 0044 02F44072 and r2, r2, #768
- 88 0048 9342 cmp r3, r2
- 89 004a 0CD0 beq .L8
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Store the content of BDCR register before the reset of Backup Domain */
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** temp_reg = (RCC->BDCR & ~(RCC_BDCR_RTCSEL));
- 90 .loc 1 149 0 is_stmt 1
- 91 004c 2E4A ldr r2, .L20
- 92 004e 136A ldr r3, [r2, #32]
- 93 .LVL8:
- 94 0050 23F44070 bic r0, r3, #768
- 95 .LVL9:
- 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* RTC Clock selection can be changed only if the Backup Domain is reset */
- 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** __HAL_RCC_BACKUPRESET_FORCE();
- 96 .loc 1 151 0
- 97 0054 2E49 ldr r1, .L20+8
- 98 0056 0126 movs r6, #1
- 99 0058 0E60 str r6, [r1]
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** __HAL_RCC_BACKUPRESET_RELEASE();
- 100 .loc 1 152 0
- 101 005a 0026 movs r6, #0
- 102 005c 0E60 str r6, [r1]
- 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Restore the Content of BDCR register */
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** RCC->BDCR = temp_reg;
- 103 .loc 1 154 0
- 104 005e 1062 str r0, [r2, #32]
- 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Wait for LSERDY if LSE was enabled */
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (HAL_IS_BIT_SET(temp_reg, RCC_BDCR_LSEON))
- 105 .loc 1 157 0
- 106 0060 13F0010F tst r3, #1
- 107 0064 37D1 bne .L18
- 108 .LVL10:
- 109 .L8:
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Get Start Tick */
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** tickstart = HAL_GetTick();
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Wait till LSE is ready */
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET)
- 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if ((HAL_GetTick() - tickstart) > RCC_LSE_TIMEOUT_VALUE)
- 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** return HAL_TIMEOUT;
- 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** __HAL_RCC_RTC_CONFIG(PeriphClkInit->RTCClockSelection);
- 110 .loc 1 172 0
- 111 0066 284A ldr r2, .L20
- 112 0068 136A ldr r3, [r2, #32]
- 113 006a 23F44073 bic r3, r3, #768
- 114 006e 6168 ldr r1, [r4, #4]
-ARM GAS /tmp/cci1QTXd.s page 6
-
-
- 115 0070 0B43 orrs r3, r3, r1
- 116 0072 1362 str r3, [r2, #32]
- 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Require to disable power clock if necessary */
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (pwrclkchanged == SET)
- 117 .loc 1 175 0
- 118 0074 002D cmp r5, #0
- 119 0076 3FD1 bne .L19
- 120 .LVL11:
- 121 .L2:
- 122 .LBE2:
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** __HAL_RCC_PWR_CLK_DISABLE();
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /*------------------------------ ADC clock Configuration ------------------*/
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_ADC) == RCC_PERIPHCLK_ADC)
- 123 .loc 1 182 0
- 124 0078 2368 ldr r3, [r4]
- 125 007a 13F0020F tst r3, #2
- 126 007e 06D0 beq .L11
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check the parameters */
- 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** assert_param(IS_RCC_ADCPLLCLK_DIV(PeriphClkInit->AdcClockSelection));
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Configure the ADC clock source */
- 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** __HAL_RCC_ADC_CONFIG(PeriphClkInit->AdcClockSelection);
- 127 .loc 1 188 0
- 128 0080 214A ldr r2, .L20
- 129 0082 5368 ldr r3, [r2, #4]
- 130 0084 23F44043 bic r3, r3, #49152
- 131 0088 A168 ldr r1, [r4, #8]
- 132 008a 0B43 orrs r3, r3, r1
- 133 008c 5360 str r3, [r2, #4]
- 134 .L11:
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F105xC) || defined(STM32F107xC)
- 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /*------------------------------ I2S2 Configuration ------------------------*/
- 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_I2S2) == RCC_PERIPHCLK_I2S2)
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check the parameters */
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** assert_param(IS_RCC_I2S2CLKSOURCE(PeriphClkInit->I2s2ClockSelection));
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Configure the I2S2 clock source */
- 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** __HAL_RCC_I2S2_CONFIG(PeriphClkInit->I2s2ClockSelection);
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /*------------------------------ I2S3 Configuration ------------------------*/
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_I2S3) == RCC_PERIPHCLK_I2S3)
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check the parameters */
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** assert_param(IS_RCC_I2S3CLKSOURCE(PeriphClkInit->I2s3ClockSelection));
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Configure the I2S3 clock source */
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** __HAL_RCC_I2S3_CONFIG(PeriphClkInit->I2s3ClockSelection);
-ARM GAS /tmp/cci1QTXd.s page 7
-
-
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /*------------------------------ PLL I2S Configuration ----------------------*/
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check that PLLI2S need to be enabled */
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (HAL_IS_BIT_SET(RCC->CFGR2, RCC_CFGR2_I2S2SRC) || HAL_IS_BIT_SET(RCC->CFGR2, RCC_CFGR2_I2S3SRC
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Update flag to indicate that PLL I2S should be active */
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** pllactive = 1;
- 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check if PLL I2S need to be enabled */
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (pllactive == 1)
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Enable PLL I2S only if not active */
- 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (HAL_IS_BIT_CLR(RCC->CR, RCC_CR_PLL3ON))
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check the parameters */
- 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** assert_param(IS_RCC_PLLI2S_MUL(PeriphClkInit->PLLI2S.PLLI2SMUL));
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** assert_param(IS_RCC_HSE_PREDIV2(PeriphClkInit->PLLI2S.HSEPrediv2Value));
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Prediv2 can be written only when the PLL2 is disabled. */
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Return an error only if new value is different from the programmed value */
- 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (HAL_IS_BIT_SET(RCC->CR, RCC_CR_PLL2ON) && \
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** (__HAL_RCC_HSE_GET_PREDIV2() != PeriphClkInit->PLLI2S.HSEPrediv2Value))
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** return HAL_ERROR;
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Configure the HSE prediv2 factor --------------------------------*/
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** __HAL_RCC_HSE_PREDIV2_CONFIG(PeriphClkInit->PLLI2S.HSEPrediv2Value);
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Configure the main PLLI2S multiplication factors. */
- 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** __HAL_RCC_PLLI2S_CONFIG(PeriphClkInit->PLLI2S.PLLI2SMUL);
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Enable the main PLLI2S. */
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** __HAL_RCC_PLLI2S_ENABLE();
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Get Start Tick*/
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** tickstart = HAL_GetTick();
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Wait till PLLI2S is ready */
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLI2SRDY) == RESET)
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if ((HAL_GetTick() - tickstart) > PLLI2S_TIMEOUT_VALUE)
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** return HAL_TIMEOUT;
- 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** else
- 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Return an error only if user wants to change the PLLI2SMUL whereas PLLI2S is active */
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (READ_BIT(RCC->CFGR2, RCC_CFGR2_PLL3MUL) != PeriphClkInit->PLLI2S.PLLI2SMUL)
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** return HAL_ERROR;
- 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
-ARM GAS /tmp/cci1QTXd.s page 8
-
-
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F105xC || STM32F107xC */
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F102x6) || defined(STM32F102xB) || defined(STM32F103x6)\
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** || defined(STM32F103xB) || defined(STM32F103xE) || defined(STM32F103xG)\
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** || defined(STM32F105xC) || defined(STM32F107xC)
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /*------------------------------ USB clock Configuration ------------------*/
- 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_USB) == RCC_PERIPHCLK_USB)
- 135 .loc 1 274 0
- 136 008e 2368 ldr r3, [r4]
- 137 0090 13F0100F tst r3, #16
- 138 0094 35D0 beq .L15
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check the parameters */
- 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** assert_param(IS_RCC_USBPLLCLK_DIV(PeriphClkInit->UsbClockSelection));
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Configure the USB clock source */
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** __HAL_RCC_USB_CONFIG(PeriphClkInit->UsbClockSelection);
- 139 .loc 1 280 0
- 140 0096 1C4A ldr r2, .L20
- 141 0098 5368 ldr r3, [r2, #4]
- 142 009a 23F48003 bic r3, r3, #4194304
- 143 009e 6169 ldr r1, [r4, #20]
- 144 00a0 0B43 orrs r3, r3, r1
- 145 00a2 5360 str r3, [r2, #4]
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F102x6 || STM32F102xB || STM32F103x6 || STM32F103xB || STM32F103xE || STM32F103xG ||
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** return HAL_OK;
- 146 .loc 1 284 0
- 147 00a4 0020 movs r0, #0
- 148 .L6:
- 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 149 .loc 1 285 0
- 150 00a6 02B0 add sp, sp, #8
- 151 .LCFI2:
- 152 .cfi_remember_state
- 153 .cfi_def_cfa_offset 16
- 154 @ sp needed
- 155 00a8 70BD pop {r4, r5, r6, pc}
- 156 .LVL12:
- 157 .L12:
- 158 .LCFI3:
- 159 .cfi_restore_state
- 160 .LBB4:
- 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 161 .loc 1 116 0
- 162 00aa 0025 movs r5, #0
- 163 00ac BFE7 b .L3
- 164 .LVL13:
- 165 .L17:
- 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 166 .loc 1 130 0
- 167 00ae 174A ldr r2, .L20+4
- 168 00b0 1368 ldr r3, [r2]
- 169 00b2 43F48073 orr r3, r3, #256
- 170 00b6 1360 str r3, [r2]
-ARM GAS /tmp/cci1QTXd.s page 9
-
-
- 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 171 .loc 1 133 0
- 172 00b8 FFF7FEFF bl HAL_GetTick
- 173 .LVL14:
- 174 00bc 0646 mov r6, r0
- 175 .LVL15:
- 176 .L5:
- 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 177 .loc 1 135 0
- 178 00be 134B ldr r3, .L20+4
- 179 00c0 1B68 ldr r3, [r3]
- 180 00c2 13F4807F tst r3, #256
- 181 00c6 B7D1 bne .L4
- 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 182 .loc 1 137 0
- 183 00c8 FFF7FEFF bl HAL_GetTick
- 184 .LVL16:
- 185 00cc 801B subs r0, r0, r6
- 186 00ce 6428 cmp r0, #100
- 187 00d0 F5D9 bls .L5
- 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 188 .loc 1 139 0
- 189 00d2 0320 movs r0, #3
- 190 00d4 E7E7 b .L6
- 191 .LVL17:
- 192 .L18:
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 193 .loc 1 160 0
- 194 00d6 FFF7FEFF bl HAL_GetTick
- 195 .LVL18:
- 196 00da 0646 mov r6, r0
- 197 .LVL19:
- 198 .L9:
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 199 .loc 1 163 0
- 200 00dc 0A4B ldr r3, .L20
- 201 00de 1B6A ldr r3, [r3, #32]
- 202 00e0 13F0020F tst r3, #2
- 203 00e4 BFD1 bne .L8
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 204 .loc 1 165 0
- 205 00e6 FFF7FEFF bl HAL_GetTick
- 206 .LVL20:
- 207 00ea 801B subs r0, r0, r6
- 208 00ec 41F28833 movw r3, #5000
- 209 00f0 9842 cmp r0, r3
- 210 00f2 F3D9 bls .L9
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 211 .loc 1 167 0
- 212 00f4 0320 movs r0, #3
- 213 00f6 D6E7 b .L6
- 214 .LVL21:
- 215 .L19:
- 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 216 .loc 1 177 0
- 217 00f8 D369 ldr r3, [r2, #28]
- 218 00fa 23F08053 bic r3, r3, #268435456
-ARM GAS /tmp/cci1QTXd.s page 10
-
-
- 219 00fe D361 str r3, [r2, #28]
- 220 0100 BAE7 b .L2
- 221 .LVL22:
- 222 .L15:
- 223 .LBE4:
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 224 .loc 1 284 0
- 225 0102 0020 movs r0, #0
- 226 0104 CFE7 b .L6
- 227 .L21:
- 228 0106 00BF .align 2
- 229 .L20:
- 230 0108 00100240 .word 1073876992
- 231 010c 00700040 .word 1073770496
- 232 0110 40044242 .word 1111622720
- 233 .cfi_endproc
- 234 .LFE65:
- 236 .section .text.HAL_RCCEx_GetPeriphCLKConfig,"ax",%progbits
- 237 .align 1
- 238 .global HAL_RCCEx_GetPeriphCLKConfig
- 239 .syntax unified
- 240 .thumb
- 241 .thumb_func
- 242 .fpu softvfp
- 244 HAL_RCCEx_GetPeriphCLKConfig:
- 245 .LFB66:
- 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /**
- 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @brief Get the PeriphClkInit according to the internal
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * RCC configuration registers.
- 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @param PeriphClkInit pointer to an RCC_PeriphCLKInitTypeDef structure that
- 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * returns the configuration information for the Extended Peripherals clocks(RTC, I2S, ADC
- 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @retval None
- 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** */
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** void HAL_RCCEx_GetPeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit)
- 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 246 .loc 1 295 0
- 247 .cfi_startproc
- 248 @ args = 0, pretend = 0, frame = 0
- 249 @ frame_needed = 0, uses_anonymous_args = 0
- 250 @ link register save eliminated.
- 251 .LVL23:
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** uint32_t srcclk = 0U;
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Set all possible values for the extended clock type parameter------------*/
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->PeriphClockSelection = RCC_PERIPHCLK_RTC;
- 252 .loc 1 299 0
- 253 0000 0123 movs r3, #1
- 254 0002 0360 str r3, [r0]
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Get the RTC configuration -----------------------------------------------*/
- 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** srcclk = __HAL_RCC_GET_RTC_SOURCE();
- 255 .loc 1 302 0
- 256 0004 0A4B ldr r3, .L23
- 257 0006 1A6A ldr r2, [r3, #32]
- 258 0008 02F44072 and r2, r2, #768
- 259 .LVL24:
-ARM GAS /tmp/cci1QTXd.s page 11
-
-
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Source clock is LSE or LSI*/
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->RTCClockSelection = srcclk;
- 260 .loc 1 304 0
- 261 000c 4260 str r2, [r0, #4]
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Get the ADC clock configuration -----------------------------------------*/
- 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->PeriphClockSelection |= RCC_PERIPHCLK_ADC;
- 262 .loc 1 307 0
- 263 000e 0322 movs r2, #3
- 264 .LVL25:
- 265 0010 0260 str r2, [r0]
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->AdcClockSelection = __HAL_RCC_GET_ADC_SOURCE();
- 266 .loc 1 308 0
- 267 0012 5A68 ldr r2, [r3, #4]
- 268 0014 02F44042 and r2, r2, #49152
- 269 0018 8260 str r2, [r0, #8]
- 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F105xC) || defined(STM32F107xC)
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Get the I2S2 clock configuration -----------------------------------------*/
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->PeriphClockSelection |= RCC_PERIPHCLK_I2S2;
- 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->I2s2ClockSelection = __HAL_RCC_GET_I2S2_SOURCE();
- 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Get the I2S3 clock configuration -----------------------------------------*/
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->PeriphClockSelection |= RCC_PERIPHCLK_I2S3;
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->I2s3ClockSelection = __HAL_RCC_GET_I2S3_SOURCE();
- 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F105xC || STM32F107xC */
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F103xE) || defined(STM32F103xG)
- 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Get the I2S2 clock configuration -----------------------------------------*/
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->PeriphClockSelection |= RCC_PERIPHCLK_I2S2;
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->I2s2ClockSelection = RCC_I2S2CLKSOURCE_SYSCLK;
- 270 .loc 1 324 0
- 271 001a 0022 movs r2, #0
- 272 001c C260 str r2, [r0, #12]
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Get the I2S3 clock configuration -----------------------------------------*/
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->PeriphClockSelection |= RCC_PERIPHCLK_I2S3;
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->I2s3ClockSelection = RCC_I2S3CLKSOURCE_SYSCLK;
- 273 .loc 1 328 0
- 274 001e 0261 str r2, [r0, #16]
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F103xE || STM32F103xG */
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F102x6) || defined(STM32F102xB) || defined(STM32F103x6)\
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** || defined(STM32F103xB) || defined(STM32F103xE) || defined(STM32F103xG)\
- 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** || defined(STM32F105xC) || defined(STM32F107xC)
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Get the USB clock configuration -----------------------------------------*/
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->PeriphClockSelection |= RCC_PERIPHCLK_USB;
- 275 .loc 1 336 0
- 276 0020 1F22 movs r2, #31
- 277 0022 0260 str r2, [r0]
- 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** PeriphClkInit->UsbClockSelection = __HAL_RCC_GET_USB_SOURCE();
- 278 .loc 1 337 0
- 279 0024 5B68 ldr r3, [r3, #4]
- 280 0026 03F48003 and r3, r3, #4194304
- 281 002a 4361 str r3, [r0, #20]
-ARM GAS /tmp/cci1QTXd.s page 12
-
-
- 282 002c 7047 bx lr
- 283 .L24:
- 284 002e 00BF .align 2
- 285 .L23:
- 286 0030 00100240 .word 1073876992
- 287 .cfi_endproc
- 288 .LFE66:
- 290 .section .text.HAL_RCCEx_GetPeriphCLKFreq,"ax",%progbits
- 291 .align 1
- 292 .global HAL_RCCEx_GetPeriphCLKFreq
- 293 .syntax unified
- 294 .thumb
- 295 .thumb_func
- 296 .fpu softvfp
- 298 HAL_RCCEx_GetPeriphCLKFreq:
- 299 .LFB67:
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F102x6 || STM32F102xB || STM32F103x6 || STM32F103xB || STM32F103xE || STM32F103xG ||
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /**
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @brief Returns the peripheral clock frequency
- 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @note Returns 0 if peripheral clock is unknown
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @param PeriphClk Peripheral clock identifier
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * This parameter can be one of the following values:
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_RTC RTC peripheral clock
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_ADC ADC peripheral clock
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @if STM32F103xE
- 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S2 I2S2 peripheral clock
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S3 I2S3 peripheral clock
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S3 I2S3 peripheral clock
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @endif
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @if STM32F103xG
- 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S2 I2S2 peripheral clock
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S3 I2S3 peripheral clock
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S3 I2S3 peripheral clock
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S2 I2S2 peripheral clock
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @endif
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @if STM32F105xC
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S2 I2S2 peripheral clock
- 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S3 I2S3 peripheral clock
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S3 I2S3 peripheral clock
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S2 I2S2 peripheral clock
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S3 I2S3 peripheral clock
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S3 I2S3 peripheral clock
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S2 I2S2 peripheral clock
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_USB USB peripheral clock
- 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @endif
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @if STM32F107xC
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S2 I2S2 peripheral clock
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S3 I2S3 peripheral clock
- 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S3 I2S3 peripheral clock
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S2 I2S2 peripheral clock
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S3 I2S3 peripheral clock
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S3 I2S3 peripheral clock
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_I2S2 I2S2 peripheral clock
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_USB USB peripheral clock
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @endif
-ARM GAS /tmp/cci1QTXd.s page 13
-
-
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @if STM32F102xx
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_USB USB peripheral clock
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @endif
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @if STM32F103xx
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @arg @ref RCC_PERIPHCLK_USB USB peripheral clock
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** @endif
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** * @retval Frequency in Hz (0: means that no available frequency for the peripheral)
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** */
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** uint32_t HAL_RCCEx_GetPeriphCLKFreq(uint32_t PeriphClk)
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 300 .loc 1 388 0
- 301 .cfi_startproc
- 302 @ args = 0, pretend = 0, frame = 24
- 303 @ frame_needed = 0, uses_anonymous_args = 0
- 304 .LVL26:
- 305 0000 30B5 push {r4, r5, lr}
- 306 .LCFI4:
- 307 .cfi_def_cfa_offset 12
- 308 .cfi_offset 4, -12
- 309 .cfi_offset 5, -8
- 310 .cfi_offset 14, -4
- 311 0002 87B0 sub sp, sp, #28
- 312 .LCFI5:
- 313 .cfi_def_cfa_offset 40
- 314 0004 0546 mov r5, r0
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F105xC) || defined(STM32F107xC)
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** const uint8_t aPLLMULFactorTable[14] = {0, 0, 4, 5, 6, 7, 8, 9, 0, 0, 0, 0, 0, 13};
- 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** const uint8_t aPredivFactorTable[16] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16};
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** uint32_t prediv1 = 0U, pllclk = 0U, pllmul = 0U;
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** uint32_t pll2mul = 0U, pll3mul = 0U, prediv2 = 0U;
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F105xC || STM32F107xC */
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F102x6) || defined(STM32F102xB) || defined(STM32F103x6) || \
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** defined(STM32F103xB) || defined(STM32F103xE) || defined(STM32F103xG)
- 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** const uint8_t aPLLMULFactorTable[16] = {2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 16};
- 315 .loc 1 398 0
- 316 0006 3F4C ldr r4, .L46
- 317 0008 94E80F00 ldm r4, {r0, r1, r2, r3}
- 318 .LVL27:
- 319 000c 0DF1180E add lr, sp, #24
- 320 0010 0EE90F00 stmdb lr, {r0, r1, r2, r3}
- 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** const uint8_t aPredivFactorTable[2] = {1, 2};
- 321 .loc 1 399 0
- 322 0014 238A ldrh r3, [r4, #16]
- 323 0016 ADF80430 strh r3, [sp, #4] @ movhi
- 324 .LVL28:
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** uint32_t prediv1 = 0U, pllclk = 0U, pllmul = 0U;
- 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F102x6 || STM32F102xB || STM32F103x6 || STM32F103xB || STM32F103xE || STM32F103xG */
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** uint32_t temp_reg = 0U, frequency = 0U;
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check the parameters */
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** assert_param(IS_RCC_PERIPHCLOCK(PeriphClk));
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** switch (PeriphClk)
- 325 .loc 1 408 0
- 326 001a 681E subs r0, r5, #1
-ARM GAS /tmp/cci1QTXd.s page 14
-
-
- 327 001c 0F28 cmp r0, #15
- 328 001e 69D8 bhi .L36
- 329 0020 DFE800F0 tbb [pc, r0]
- 330 .L28:
- 331 0024 39 .byte (.L27-.L28)/2
- 332 0025 5D .byte (.L29-.L28)/2
- 333 0026 68 .byte (.L36-.L28)/2
- 334 0027 32 .byte (.L30-.L28)/2
- 335 0028 68 .byte (.L36-.L28)/2
- 336 0029 68 .byte (.L36-.L28)/2
- 337 002a 68 .byte (.L36-.L28)/2
- 338 002b 36 .byte (.L31-.L28)/2
- 339 002c 68 .byte (.L36-.L28)/2
- 340 002d 68 .byte (.L36-.L28)/2
- 341 002e 68 .byte (.L36-.L28)/2
- 342 002f 68 .byte (.L36-.L28)/2
- 343 0030 68 .byte (.L36-.L28)/2
- 344 0031 68 .byte (.L36-.L28)/2
- 345 0032 68 .byte (.L36-.L28)/2
- 346 0033 08 .byte (.L32-.L28)/2
- 347 .p2align 1
- 348 .L32:
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F102x6) || defined(STM32F102xB) || defined(STM32F103x6)\
- 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** || defined(STM32F103xB) || defined(STM32F103xE) || defined(STM32F103xG)\
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** || defined(STM32F105xC) || defined(STM32F107xC)
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** case RCC_PERIPHCLK_USB:
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Get RCC configuration ------------------------------------------------------*/
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** temp_reg = RCC->CFGR;
- 349 .loc 1 416 0
- 350 0034 344B ldr r3, .L46+4
- 351 0036 5A68 ldr r2, [r3, #4]
- 352 .LVL29:
- 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check if PLL is enabled */
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (HAL_IS_BIT_SET(RCC->CR, RCC_CR_PLLON))
- 353 .loc 1 419 0
- 354 0038 1B68 ldr r3, [r3]
- 355 003a 13F0807F tst r3, #16777216
- 356 003e 5BD0 beq .L37
- 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** pllmul = aPLLMULFactorTable[(uint32_t)(temp_reg & RCC_CFGR_PLLMULL) >> RCC_CFGR_PLLMULL_Pos
- 357 .loc 1 421 0
- 358 0040 C2F38343 ubfx r3, r2, #18, #4
- 359 0044 06A9 add r1, sp, #24
- 360 0046 0B44 add r3, r3, r1
- 361 0048 13F8100C ldrb r0, [r3, #-16] @ zero_extendqisi2
- 362 .LVL30:
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if ((temp_reg & RCC_CFGR_PLLSRC) != RCC_PLLSOURCE_HSI_DIV2)
- 363 .loc 1 422 0
- 364 004c 12F4803F tst r2, #65536
- 365 0050 16D0 beq .L33
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F105xC) || defined(STM32F107xC) || defined(STM32F100xB)\
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** || defined(STM32F100xE)
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** prediv1 = aPredivFactorTable[(uint32_t)(RCC->CFGR2 & RCC_CFGR2_PREDIV1) >> RCC_CFGR2_PRED
-ARM GAS /tmp/cci1QTXd.s page 15
-
-
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #else
- 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** prediv1 = aPredivFactorTable[(uint32_t)(RCC->CFGR & RCC_CFGR_PLLXTPRE) >> RCC_CFGR_PLLXTP
- 366 .loc 1 428 0
- 367 0052 2D4B ldr r3, .L46+4
- 368 0054 5B68 ldr r3, [r3, #4]
- 369 0056 C3F34043 ubfx r3, r3, #17, #1
- 370 005a 0B44 add r3, r3, r1
- 371 005c 13F8142C ldrb r2, [r3, #-20] @ zero_extendqisi2
- 372 .LVL31:
- 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F105xC || STM32F107xC || STM32F100xB || STM32F100xE */
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F105xC) || defined(STM32F107xC)
- 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (HAL_IS_BIT_SET(RCC->CFGR2, RCC_CFGR2_PREDIV1SRC))
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* PLL2 selected as Prediv1 source */
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* PLLCLK = PLL2CLK / PREDIV1 * PLLMUL with PLL2CLK = HSE/PREDIV2 * PLL2MUL */
- 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** prediv2 = ((RCC->CFGR2 & RCC_CFGR2_PREDIV2) >> RCC_CFGR2_PREDIV2_Pos) + 1;
- 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** pll2mul = ((RCC->CFGR2 & RCC_CFGR2_PLL2MUL) >> RCC_CFGR2_PLL2MUL_Pos) + 2;
- 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** pllclk = (uint32_t)((((HSE_VALUE / prediv2) * pll2mul) / prediv1) * pllmul);
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** else
- 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* HSE used as PLL clock source : PLLCLK = HSE/PREDIV1 * PLLMUL */
- 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** pllclk = (uint32_t)((HSE_VALUE / prediv1) * pllmul);
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* If PLLMUL was set to 13 means that it was to cover the case PLLMUL 6.5 (avoid using fl
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* In this case need to divide pllclk by 2 */
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (pllmul == aPLLMULFactorTable[(uint32_t)(RCC_CFGR_PLLMULL6_5) >> RCC_CFGR_PLLMULL_Pos]
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** pllclk = pllclk / 2;
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #else
- 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if ((temp_reg & RCC_CFGR_PLLSRC) != RCC_PLLSOURCE_HSI_DIV2)
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* HSE used as PLL clock source : PLLCLK = HSE/PREDIV1 * PLLMUL */
- 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** pllclk = (uint32_t)((HSE_VALUE / prediv1) * pllmul);
- 373 .loc 1 456 0
- 374 0060 2A4B ldr r3, .L46+8
- 375 0062 B3FBF2F3 udiv r3, r3, r2
- 376 0066 03FB00F0 mul r0, r3, r0
- 377 .LVL32:
- 378 .L34:
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F105xC || STM32F107xC */
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** else
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* HSI used as PLL clock source : PLLCLK = HSI/2 * PLLMUL */
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** pllclk = (uint32_t)((HSI_VALUE >> 1) * pllmul);
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Calcul of the USB frequency*/
- 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F105xC) || defined(STM32F107xC)
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* USBCLK = PLLVCO = (2 x PLLCLK) / USB prescaler */
- 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (__HAL_RCC_GET_USB_SOURCE() == RCC_USBCLKSOURCE_PLL_DIV2)
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
-ARM GAS /tmp/cci1QTXd.s page 16
-
-
- 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Prescaler of 2 selected for USB */
- 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = pllclk;
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** else
- 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Prescaler of 3 selected for USB */
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = (2 * pllclk) / 3;
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #else
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* USBCLK = PLLCLK / USB prescaler */
- 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (__HAL_RCC_GET_USB_SOURCE() == RCC_USBCLKSOURCE_PLL)
- 379 .loc 1 481 0
- 380 006a 274B ldr r3, .L46+4
- 381 006c 5B68 ldr r3, [r3, #4]
- 382 006e 13F4800F tst r3, #4194304
- 383 0072 0BD1 bne .L25
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* No prescaler selected for USB */
- 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = pllclk;
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** else
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Prescaler of 1.5 selected for USB */
- 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = (pllclk * 2) / 3;
- 384 .loc 1 489 0
- 385 0074 4000 lsls r0, r0, #1
- 386 .LVL33:
- 387 0076 264B ldr r3, .L46+12
- 388 0078 A3FB0030 umull r3, r0, r3, r0
- 389 007c 4008 lsrs r0, r0, #1
- 390 .LVL34:
- 391 007e 05E0 b .L25
- 392 .LVL35:
- 393 .L33:
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 394 .loc 1 463 0
- 395 0080 244B ldr r3, .L46+16
- 396 0082 03FB00F0 mul r0, r3, r0
- 397 .LVL36:
- 398 0086 F0E7 b .L34
- 399 .LVL37:
- 400 .L30:
- 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** break;
- 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F102x6 || STM32F102xB || STM32F103x6 || STM32F103xB || STM32F103xE || STM32F103xG ||
- 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F103xE) || defined(STM32F103xG) || defined(STM32F105xC) || defined(STM32F107xC)
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** case RCC_PERIPHCLK_I2S2:
- 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F103xE) || defined(STM32F103xG)
- 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* SYSCLK used as source clock for I2S2 */
- 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = HAL_RCC_GetSysClockFreq();
- 401 .loc 1 501 0
- 402 0088 FFF7FEFF bl HAL_RCC_GetSysClockFreq
- 403 .LVL38:
-ARM GAS /tmp/cci1QTXd.s page 17
-
-
- 404 .L25:
- 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #else
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (__HAL_RCC_GET_I2S2_SOURCE() == RCC_I2S2CLKSOURCE_SYSCLK)
- 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* SYSCLK used as source clock for I2S2 */
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = HAL_RCC_GetSysClockFreq();
- 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** else
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check if PLLI2S is enabled */
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (HAL_IS_BIT_SET(RCC->CR, RCC_CR_PLL3ON))
- 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* PLLI2SVCO = 2 * PLLI2SCLK = 2 * (HSE/PREDIV2 * PLL3MUL) */
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** prediv2 = ((RCC->CFGR2 & RCC_CFGR2_PREDIV2) >> RCC_CFGR2_PREDIV2_Pos) + 1;
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** pll3mul = ((RCC->CFGR2 & RCC_CFGR2_PLL3MUL) >> RCC_CFGR2_PLL3MUL_Pos) + 2;
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = (uint32_t)(2 * ((HSE_VALUE / prediv2) * pll3mul));
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F103xE || STM32F103xG */
- 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** break;
- 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** case RCC_PERIPHCLK_I2S3:
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #if defined(STM32F103xE) || defined(STM32F103xG)
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* SYSCLK used as source clock for I2S3 */
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = HAL_RCC_GetSysClockFreq();
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #else
- 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (__HAL_RCC_GET_I2S3_SOURCE() == RCC_I2S3CLKSOURCE_SYSCLK)
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* SYSCLK used as source clock for I2S3 */
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = HAL_RCC_GetSysClockFreq();
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** else
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check if PLLI2S is enabled */
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (HAL_IS_BIT_SET(RCC->CR, RCC_CR_PLL3ON))
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* PLLI2SVCO = 2 * PLLI2SCLK = 2 * (HSE/PREDIV2 * PLL3MUL) */
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** prediv2 = ((RCC->CFGR2 & RCC_CFGR2_PREDIV2) >> RCC_CFGR2_PREDIV2_Pos) + 1;
- 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** pll3mul = ((RCC->CFGR2 & RCC_CFGR2_PLL3MUL) >> RCC_CFGR2_PLL3MUL_Pos) + 2;
- 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = (uint32_t)(2 * ((HSE_VALUE / prediv2) * pll3mul));
- 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F103xE || STM32F103xG */
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** break;
- 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #endif /* STM32F103xE || STM32F103xG || STM32F105xC || STM32F107xC */
- 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** case RCC_PERIPHCLK_RTC:
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Get RCC BDCR configuration ------------------------------------------------------*/
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** temp_reg = RCC->BDCR;
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check if LSE is ready if RTC clock selection is LSE */
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** if (((temp_reg & RCC_BDCR_RTCSEL) == RCC_RTCCLKSOURCE_LSE) && (HAL_IS_BIT_SET(temp_reg, RCC_B
- 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = LSE_VALUE;
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
-ARM GAS /tmp/cci1QTXd.s page 18
-
-
- 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Check if LSI is ready if RTC clock selection is LSI */
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** else if (((temp_reg & RCC_BDCR_RTCSEL) == RCC_RTCCLKSOURCE_LSI) && (HAL_IS_BIT_SET(RCC->CSR,
- 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = LSI_VALUE;
- 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** else if (((temp_reg & RCC_BDCR_RTCSEL) == RCC_RTCCLKSOURCE_HSE_DIV128) && (HAL_IS_BIT_SET(RCC
- 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = HSE_VALUE / 128U;
- 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* Clock not enabled for RTC*/
- 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** else
- 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** /* nothing to do: frequency already initialized to 0U */
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** break;
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** case RCC_PERIPHCLK_ADC:
- 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** frequency = HAL_RCC_GetPCLK2Freq() / (((__HAL_RCC_GET_ADC_SOURCE() >> RCC_CFGR_ADCPRE_Pos) +
- 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** break;
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** default:
- 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** break;
- 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** return (frequency);
- 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 405 .loc 1 585 0
- 406 008c 07B0 add sp, sp, #28
- 407 .LCFI6:
- 408 .cfi_remember_state
- 409 .cfi_def_cfa_offset 12
- 410 @ sp needed
- 411 008e 30BD pop {r4, r5, pc}
- 412 .LVL39:
- 413 .L31:
- 414 .LCFI7:
- 415 .cfi_restore_state
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** #else
- 416 .loc 1 526 0
- 417 0090 FFF7FEFF bl HAL_RCC_GetSysClockFreq
- 418 .LVL40:
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 419 .loc 1 545 0
- 420 0094 FAE7 b .L25
- 421 .LVL41:
- 422 .L27:
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 423 .loc 1 551 0
- 424 0096 1C4B ldr r3, .L46+4
- 425 0098 1B6A ldr r3, [r3, #32]
- 426 .LVL42:
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 427 .loc 1 554 0
- 428 009a 40F20232 movw r2, #770
- 429 009e 1A40 ands r2, r2, r3
-ARM GAS /tmp/cci1QTXd.s page 19
-
-
- 430 00a0 B2F5817F cmp r2, #258
- 431 00a4 2AD0 beq .L38
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 432 .loc 1 559 0
- 433 00a6 03F44073 and r3, r3, #768
- 434 .LVL43:
- 435 00aa B3F5007F cmp r3, #512
- 436 00ae 04D0 beq .L43
- 437 .L35:
- 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 438 .loc 1 563 0
- 439 00b0 B3F5407F cmp r3, #768
- 440 00b4 09D0 beq .L44
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 441 .loc 1 403 0
- 442 00b6 0020 movs r0, #0
- 443 00b8 E8E7 b .L25
- 444 .L43:
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 445 .loc 1 559 0 discriminator 1
- 446 00ba 134A ldr r2, .L46+4
- 447 00bc 526A ldr r2, [r2, #36]
- 448 00be 12F0020F tst r2, #2
- 449 00c2 F5D0 beq .L35
- 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 450 .loc 1 561 0
- 451 00c4 49F64040 movw r0, #40000
- 452 00c8 E0E7 b .L25
- 453 .L44:
- 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** {
- 454 .loc 1 563 0 discriminator 1
- 455 00ca 0F4B ldr r3, .L46+4
- 456 00cc 1B68 ldr r3, [r3]
- 457 00ce 13F4003F tst r3, #131072
- 458 00d2 02D0 beq .L45
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 459 .loc 1 565 0
- 460 00d4 4FF22440 movw r0, #62500
- 461 .LVL44:
- 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 462 .loc 1 584 0
- 463 00d8 D8E7 b .L25
- 464 .LVL45:
- 465 .L45:
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 466 .loc 1 403 0
- 467 00da 0020 movs r0, #0
- 468 00dc D6E7 b .L25
- 469 .LVL46:
- 470 .L29:
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** break;
- 471 .loc 1 576 0
- 472 00de FFF7FEFF bl HAL_RCC_GetPCLK2Freq
- 473 .LVL47:
- 474 00e2 094B ldr r3, .L46+4
- 475 00e4 5B68 ldr r3, [r3, #4]
- 476 00e6 C3F38133 ubfx r3, r3, #14, #2
-ARM GAS /tmp/cci1QTXd.s page 20
-
-
- 477 00ea 0133 adds r3, r3, #1
- 478 00ec 5B00 lsls r3, r3, #1
- 479 00ee B0FBF3F0 udiv r0, r0, r3
- 480 .LVL48:
- 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 481 .loc 1 577 0
- 482 00f2 CBE7 b .L25
- 483 .LVL49:
- 484 .L36:
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c ****
- 485 .loc 1 403 0
- 486 00f4 0020 movs r0, #0
- 487 00f6 C9E7 b .L25
- 488 .LVL50:
- 489 .L37:
- 490 00f8 0020 movs r0, #0
- 491 00fa C7E7 b .L25
- 492 .LVL51:
- 493 .L38:
- 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_rcc_ex.c **** }
- 494 .loc 1 556 0
- 495 00fc 4FF40040 mov r0, #32768
- 496 0100 C4E7 b .L25
- 497 .L47:
- 498 0102 00BF .align 2
- 499 .L46:
- 500 0104 00000000 .word .LANCHOR0
- 501 0108 00100240 .word 1073876992
- 502 010c 00127A00 .word 8000000
- 503 0110 ABAAAAAA .word -1431655765
- 504 0114 00093D00 .word 4000000
- 505 .cfi_endproc
- 506 .LFE67:
- 508 .section .rodata
- 509 .align 2
- 510 .set .LANCHOR0,. + 0
- 511 .LC0:
- 512 0000 02 .byte 2
- 513 0001 03 .byte 3
- 514 0002 04 .byte 4
- 515 0003 05 .byte 5
- 516 0004 06 .byte 6
- 517 0005 07 .byte 7
- 518 0006 08 .byte 8
- 519 0007 09 .byte 9
- 520 0008 0A .byte 10
- 521 0009 0B .byte 11
- 522 000a 0C .byte 12
- 523 000b 0D .byte 13
- 524 000c 0E .byte 14
- 525 000d 0F .byte 15
- 526 000e 10 .byte 16
- 527 000f 10 .byte 16
- 528 .LC1:
- 529 0010 01 .byte 1
- 530 0011 02 .byte 2
- 531 .text
-ARM GAS /tmp/cci1QTXd.s page 21
-
-
- 532 .Letext0:
- 533 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 534 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 535 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 536 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 537 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 538 .file 7 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h"
- 539 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 540 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h"
- 541 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
- 542 .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h"
-ARM GAS /tmp/cci1QTXd.s page 22
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_hal_rcc_ex.c
- /tmp/cci1QTXd.s:16 .text.HAL_RCCEx_PeriphCLKConfig:0000000000000000 $t
- /tmp/cci1QTXd.s:23 .text.HAL_RCCEx_PeriphCLKConfig:0000000000000000 HAL_RCCEx_PeriphCLKConfig
- /tmp/cci1QTXd.s:230 .text.HAL_RCCEx_PeriphCLKConfig:0000000000000108 $d
- /tmp/cci1QTXd.s:237 .text.HAL_RCCEx_GetPeriphCLKConfig:0000000000000000 $t
- /tmp/cci1QTXd.s:244 .text.HAL_RCCEx_GetPeriphCLKConfig:0000000000000000 HAL_RCCEx_GetPeriphCLKConfig
- /tmp/cci1QTXd.s:286 .text.HAL_RCCEx_GetPeriphCLKConfig:0000000000000030 $d
- /tmp/cci1QTXd.s:291 .text.HAL_RCCEx_GetPeriphCLKFreq:0000000000000000 $t
- /tmp/cci1QTXd.s:298 .text.HAL_RCCEx_GetPeriphCLKFreq:0000000000000000 HAL_RCCEx_GetPeriphCLKFreq
- /tmp/cci1QTXd.s:331 .text.HAL_RCCEx_GetPeriphCLKFreq:0000000000000024 $d
- /tmp/cci1QTXd.s:347 .text.HAL_RCCEx_GetPeriphCLKFreq:0000000000000034 $t
- /tmp/cci1QTXd.s:500 .text.HAL_RCCEx_GetPeriphCLKFreq:0000000000000104 $d
- /tmp/cci1QTXd.s:509 .rodata:0000000000000000 $d
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-HAL_GetTick
-HAL_RCC_GetSysClockFreq
-HAL_RCC_GetPCLK2Freq
diff --git a/build/stm32f1xx_hal_rcc_ex.o b/build/stm32f1xx_hal_rcc_ex.o
deleted file mode 100644
index 9e8ec13..0000000
Binary files a/build/stm32f1xx_hal_rcc_ex.o and /dev/null differ
diff --git a/build/stm32f1xx_hal_spi.d b/build/stm32f1xx_hal_spi.d
deleted file mode 100644
index 01b03ac..0000000
--- a/build/stm32f1xx_hal_spi.d
+++ /dev/null
@@ -1,93 +0,0 @@
-build/stm32f1xx_hal_spi.o: \
- Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/stm32f1xx_hal_spi.lst b/build/stm32f1xx_hal_spi.lst
deleted file mode 100644
index e728a4f..0000000
--- a/build/stm32f1xx_hal_spi.lst
+++ /dev/null
@@ -1,10896 +0,0 @@
-ARM GAS /tmp/ccoPM59V.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "stm32f1xx_hal_spi.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.SPI_AbortRx_ISR,"ax",%progbits
- 16 .align 1
- 17 .syntax unified
- 18 .thumb
- 19 .thumb_func
- 20 .fpu softvfp
- 22 SPI_AbortRx_ISR:
- 23 .LFB118:
- 24 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c"
- 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
- 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** ******************************************************************************
- 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @file stm32f1xx_hal_spi.c
- 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @author MCD Application Team
- 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief SPI HAL module driver.
- 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * This file provides firmware functions to manage the following
- 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * functionalities of the Serial Peripheral Interface (SPI) peripheral:
- 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * + Initialization and de-initialization functions
- 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * + IO operation functions
- 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * + Peripheral Control functions
- 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * + Peripheral State functions
- 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *
- 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** @verbatim
- 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** ==============================================================================
- 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** ##### How to use this driver #####
- 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** ==============================================================================
- 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** [..]
- 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** The SPI HAL driver can be used as follows:
- 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (#) Declare a SPI_HandleTypeDef handle structure, for example:
- 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_HandleTypeDef hspi;
- 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (#)Initialize the SPI low level resources by implementing the HAL_SPI_MspInit() API:
- 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (##) Enable the SPIx interface clock
- 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (##) SPI pins configuration
- 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (+++) Enable the clock for the SPI GPIOs
- 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (+++) Configure these SPI pins as alternate function push-pull
- 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (##) NVIC configuration if you need to use interrupt process
- 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (+++) Configure the SPIx interrupt priority
- 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (+++) Enable the NVIC SPI IRQ handle
- 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (##) DMA Configuration if you need to use DMA process
- 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (+++) Declare a DMA_HandleTypeDef handle structure for the transmit or receive Stream
- 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (+++) Enable the DMAx clock
- 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (+++) Configure the DMA handle parameters
-ARM GAS /tmp/ccoPM59V.s page 2
-
-
- 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (+++) Configure the DMA Tx or Rx Stream/Channel
- 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (+++) Associate the initialized hdma_tx(or _rx) handle to the hspi DMA Tx or Rx hand
- 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (+++) Configure the priority and enable the NVIC for the transfer complete interrupt
- 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (#) Program the Mode, BidirectionalMode , Data size, Baudrate Prescaler, NSS
- 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** management, Clock polarity and phase, FirstBit and CRC configuration in the hspi Init str
- 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (#) Initialize the SPI registers by calling the HAL_SPI_Init() API:
- 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) This API configures also the low level Hardware GPIO, CLOCK, CORTEX...etc)
- 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** by calling the customized HAL_SPI_MspInit() API.
- 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** [..]
- 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** Circular mode restriction:
- 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (#) The DMA circular mode cannot be used when the SPI is configured in these modes:
- 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (##) Master 2Lines RxOnly
- 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (##) Master 1Line Rx
- 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (#) The CRC feature is not managed when the DMA circular mode is enabled
- 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (#) When the SPI DMA Pause/Stop features are used, we must use the following APIs
- 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** the HAL_SPI_DMAPause()/ HAL_SPI_DMAStop() only under the SPI callbacks
- 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** [..]
- 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** Master Receive mode restriction:
- 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (#) In Master unidirectional receive-only mode (MSTR =1, BIDIMODE=0, RXONLY=1) or
- 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** bidirectional receive mode (MSTR=1, BIDIMODE=1, BIDIOE=0), to ensure that the SPI
- 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** does not initiate a new transfer the following procedure has to be respected:
- 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (##) HAL_SPI_DeInit()
- 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (##) HAL_SPI_Init()
- 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** [..]
- 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** Callback registration:
- 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (#) The compilation flag USE_HAL_SPI_REGISTER_CALLBACKS when set to 1U
- 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** allows the user to configure dynamically the driver callbacks.
- 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** Use Functions HAL_SPI_RegisterCallback() to register an interrupt callback.
- 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** Function HAL_SPI_RegisterCallback() allows to register following callbacks:
- 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) TxCpltCallback : SPI Tx Completed callback
- 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) RxCpltCallback : SPI Rx Completed callback
- 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) TxRxCpltCallback : SPI TxRx Completed callback
- 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) TxHalfCpltCallback : SPI Tx Half Completed callback
- 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) RxHalfCpltCallback : SPI Rx Half Completed callback
- 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) TxRxHalfCpltCallback : SPI TxRx Half Completed callback
- 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) ErrorCallback : SPI Error callback
- 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) AbortCpltCallback : SPI Abort callback
- 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) MspInitCallback : SPI Msp Init callback
- 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) MspDeInitCallback : SPI Msp DeInit callback
- 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** This function takes as parameters the HAL peripheral handle, the Callback ID
- 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** and a pointer to the user callback function.
- 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (#) Use function HAL_SPI_UnRegisterCallback to reset a callback to the default
- 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** weak function.
- 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_UnRegisterCallback takes as parameters the HAL peripheral handle,
- 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** and the Callback ID.
- 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** This function allows to reset following callbacks:
- 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) TxCpltCallback : SPI Tx Completed callback
- 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) RxCpltCallback : SPI Rx Completed callback
- 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) TxRxCpltCallback : SPI TxRx Completed callback
- 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) TxHalfCpltCallback : SPI Tx Half Completed callback
- 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) RxHalfCpltCallback : SPI Rx Half Completed callback
-ARM GAS /tmp/ccoPM59V.s page 3
-
-
- 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) TxRxHalfCpltCallback : SPI TxRx Half Completed callback
- 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) ErrorCallback : SPI Error callback
- 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) AbortCpltCallback : SPI Abort callback
- 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) MspInitCallback : SPI Msp Init callback
- 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) MspDeInitCallback : SPI Msp DeInit callback
- 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** [..]
- 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** By default, after the HAL_SPI_Init() and when the state is HAL_SPI_STATE_RESET
- 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** all callbacks are set to the corresponding weak functions:
- 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** examples HAL_SPI_MasterTxCpltCallback(), HAL_SPI_MasterRxCpltCallback().
- 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** Exception done for MspInit and MspDeInit functions that are
- 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** reset to the legacy weak functions in the HAL_SPI_Init()/ HAL_SPI_DeInit() only when
- 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** these callbacks are null (not registered beforehand).
- 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** If MspInit or MspDeInit are not null, the HAL_SPI_Init()/ HAL_SPI_DeInit()
- 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** keep and use the user MspInit/MspDeInit callbacks (registered beforehand) whatever the state
- 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** [..]
- 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** Callbacks can be registered/unregistered in HAL_SPI_STATE_READY state only.
- 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** Exception done MspInit/MspDeInit functions that can be registered/unregistered
- 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** in HAL_SPI_STATE_READY or HAL_SPI_STATE_RESET state,
- 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** thus registered (user) MspInit/DeInit callbacks can be used during the Init/DeInit.
- 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** Then, the user first registers the MspInit/MspDeInit user callbacks
- 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** using HAL_SPI_RegisterCallback() before calling HAL_SPI_DeInit()
- 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** or HAL_SPI_Init() function.
- 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** [..]
- 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** When the compilation define USE_HAL_PPP_REGISTER_CALLBACKS is set to 0 or
- 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** not defined, the callback registering feature is not available
- 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** and weak (surcharged) callbacks are used.
- 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** [..]
- 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** Using the HAL it is not possible to reach all supported SPI frequency with the different SPI
- 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** the following table resume the max SPI frequency reached with data size 8bits/16bits,
- 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** according to frequency of the APBx Peripheral Clock (fPCLK) used by the SPI instance.
- 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** @endverbatim
- 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** Additional table :
- 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** DataSize = SPI_DATASIZE_8BIT:
- 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** +-------------------------------------------------------------------------------------------
- 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | | | 2Lines Fullduplex | 2Lines RxOnly | 1Line
- 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | Process | Transfer mode |---------------------|----------------------|-------------------
- 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | | | Master | Slave | Master | Slave | Master | Slave
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** |===========================================================================================
- 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | T | Polling | Fpclk/2 | Fpclk/2 | NA | NA | NA | NA
- 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | X |----------------|----------|----------|-----------|----------|-----------|-------
- 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | / | Interrupt | Fpclk/4 | Fpclk/8 | NA | NA | NA | NA
- 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | R |----------------|----------|----------|-----------|----------|-----------|-------
- 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | X | DMA | Fpclk/2 | Fpclk/2 | NA | NA | NA | NA
- 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** |=========|================|==========|==========|===========|==========|===========|=======
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | | Polling | Fpclk/2 | Fpclk/2 | Fpclk/64 | Fpclk/2 | Fpclk/64 | Fpclk/
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | |----------------|----------|----------|-----------|----------|-----------|-------
- 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | R | Interrupt | Fpclk/8 | Fpclk/8 | Fpclk/64 | Fpclk/2 | Fpclk/64 | Fpclk/
- 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | X |----------------|----------|----------|-----------|----------|-----------|-------
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | | DMA | Fpclk/2 | Fpclk/2 | Fpclk/64 | Fpclk/2 | Fpclk/128 | Fpclk/
- 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** |=========|================|==========|==========|===========|==========|===========|=======
-ARM GAS /tmp/ccoPM59V.s page 4
-
-
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | | Polling | Fpclk/2 | Fpclk/4 | NA | NA | Fpclk/2 | Fpclk/
- 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | |----------------|----------|----------|-----------|----------|-----------|-------
- 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | T | Interrupt | Fpclk/2 | Fpclk/4 | NA | NA | Fpclk/2 | Fpclk/
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | X |----------------|----------|----------|-----------|----------|-----------|-------
- 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | | DMA | Fpclk/2 | Fpclk/2 | NA | NA | Fpclk/2 | Fpclk/
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** +-------------------------------------------------------------------------------------------
- 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** DataSize = SPI_DATASIZE_16BIT:
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** +-------------------------------------------------------------------------------------------
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | | | 2Lines Fullduplex | 2Lines RxOnly | 1Line
- 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | Process | Transfer mode |---------------------|----------------------|-------------------
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | | | Master | Slave | Master | Slave | Master | Slave
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** |===========================================================================================
- 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | T | Polling | Fpclk/2 | Fpclk/2 | NA | NA | NA | NA
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | X |----------------|----------|----------|-----------|----------|-----------|-------
- 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | / | Interrupt | Fpclk/4 | Fpclk/4 | NA | NA | NA | NA
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | R |----------------|----------|----------|-----------|----------|-----------|-------
- 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | X | DMA | Fpclk/2 | Fpclk/2 | NA | NA | NA | NA
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** |=========|================|==========|==========|===========|==========|===========|=======
- 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | | Polling | Fpclk/2 | Fpclk/2 | Fpclk/64 | Fpclk/2 | Fpclk/32 | Fpclk/
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | |----------------|----------|----------|-----------|----------|-----------|-------
- 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | R | Interrupt | Fpclk/4 | Fpclk/4 | Fpclk/64 | Fpclk/2 | Fpclk/64 | Fpclk/
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | X |----------------|----------|----------|-----------|----------|-----------|-------
- 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | | DMA | Fpclk/2 | Fpclk/2 | Fpclk/64 | Fpclk/2 | Fpclk/128 | Fpclk/
- 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** |=========|================|==========|==========|===========|==========|===========|=======
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | | Polling | Fpclk/2 | Fpclk/2 | NA | NA | Fpclk/2 | Fpclk/
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | |----------------|----------|----------|-----------|----------|-----------|-------
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | T | Interrupt | Fpclk/2 | Fpclk/2 | NA | NA | Fpclk/2 | Fpclk/
- 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | X |----------------|----------|----------|-----------|----------|-----------|-------
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** | | DMA | Fpclk/2 | Fpclk/2 | NA | NA | Fpclk/2 | Fpclk/
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** +-------------------------------------------------------------------------------------------
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** @note The max SPI frequency depend on SPI data size (8bits, 16bits),
- 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI mode(2 Lines fullduplex, 2 lines RxOnly, 1 line TX/RX) and Process mode (Polling,
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** @note
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (#) TX/RX processes are HAL_SPI_TransmitReceive(), HAL_SPI_TransmitReceive_IT() and HAL
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (#) RX processes are HAL_SPI_Receive(), HAL_SPI_Receive_IT() and HAL_SPI_Receive_DMA()
- 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (#) TX processes are HAL_SPI_Transmit(), HAL_SPI_Transmit_IT() and HAL_SPI_Transmit_DMA
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** ******************************************************************************
- 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @attention
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * © Copyright (c) 2016 STMicroelectronics.
- 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * All rights reserved.
- 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *
- 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the "License"; You may not use this file except in compliance with the
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * License. You may obtain a copy of the License at:
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * opensource.org/licenses/BSD-3-Clause
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** ******************************************************************************
- 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Includes ------------------------------------------------------------------*/
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #include "stm32f1xx_hal.h"
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /** @addtogroup STM32F1xx_HAL_Driver
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @{
-ARM GAS /tmp/ccoPM59V.s page 5
-
-
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /** @defgroup SPI SPI
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief SPI HAL module driver
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @{
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
- 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #ifdef HAL_SPI_MODULE_ENABLED
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Private typedef -----------------------------------------------------------*/
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Private defines -----------------------------------------------------------*/
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U) && defined(SPI_CRC_ERROR_WORKAROUND_FEATURE)
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* CRC WORKAOUND FEATURE: Variable used to determine if device is impacted by implementation
- 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * of workaround related to wrong CRC errors detection on SPI2. Conditions in which this workaround
- 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * has to be applied, are:
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * - STM32F101CDE/STM32F103CDE
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * - Revision ID : Z
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * - SPI2
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * - In receive only mode, with CRC calculation enabled, at the end of the CRC reception,
- 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the software needs to check the CRCERR flag. If it is found set, read back the SPI_RXCRC:
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * + If the value is 0, the complete data transfer is successful.
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * + Otherwise, one or more errors have been detected during the data transfer by CPU or DMA.
- 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * If CRCERR is found reset, the complete data transfer is considered successful.
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * Check RevisionID value for identifying if Device is Rev Z (0x0001) in order to enable workaround
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * CRC errors wrongly detected
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
- 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Pb is that ES_STM32F10xxCDE also identify an issue in Debug registers access while not in Debug
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * Revision ID information is only available in Debug mode, so Workaround could not be implemented
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * to distinguish Rev Z devices (issue present) from more recent version (issue fixed).
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * So, in case of Revison Z F101 or F103 devices, below define should be assigned to 1.
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #define USE_SPI_CRC_ERROR_WORKAROUND 0U
- 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /** @defgroup SPI_Private_Constants SPI Private Constants
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @{
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
- 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #define SPI_DEFAULT_TIMEOUT 100U
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @}
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Private macros ------------------------------------------------------------*/
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Private variables ---------------------------------------------------------*/
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Private function prototypes -----------------------------------------------*/
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /** @defgroup SPI_Private_Functions SPI Private Functions
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @{
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
- 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_DMATransmitCplt(DMA_HandleTypeDef *hdma);
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_DMAReceiveCplt(DMA_HandleTypeDef *hdma);
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_DMATransmitReceiveCplt(DMA_HandleTypeDef *hdma);
- 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_DMAHalfTransmitCplt(DMA_HandleTypeDef *hdma);
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_DMAHalfReceiveCplt(DMA_HandleTypeDef *hdma);
- 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_DMAHalfTransmitReceiveCplt(DMA_HandleTypeDef *hdma);
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_DMAError(DMA_HandleTypeDef *hdma);
- 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_DMAAbortOnError(DMA_HandleTypeDef *hdma);
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_DMATxAbortCallback(DMA_HandleTypeDef *hdma);
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_DMARxAbortCallback(DMA_HandleTypeDef *hdma);
-ARM GAS /tmp/ccoPM59V.s page 6
-
-
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static HAL_StatusTypeDef SPI_WaitFlagStateUntilTimeout(SPI_HandleTypeDef *hspi, uint32_t Flag, Flag
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t Timeout, uint32_t Tickstart);
- 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_TxISR_8BIT(struct __SPI_HandleTypeDef *hspi);
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_TxISR_16BIT(struct __SPI_HandleTypeDef *hspi);
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_RxISR_8BIT(struct __SPI_HandleTypeDef *hspi);
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_RxISR_16BIT(struct __SPI_HandleTypeDef *hspi);
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_2linesRxISR_8BIT(struct __SPI_HandleTypeDef *hspi);
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_2linesTxISR_8BIT(struct __SPI_HandleTypeDef *hspi);
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_2linesTxISR_16BIT(struct __SPI_HandleTypeDef *hspi);
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_2linesRxISR_16BIT(struct __SPI_HandleTypeDef *hspi);
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
- 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_RxISR_8BITCRC(struct __SPI_HandleTypeDef *hspi);
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_RxISR_16BITCRC(struct __SPI_HandleTypeDef *hspi);
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_2linesRxISR_8BITCRC(struct __SPI_HandleTypeDef *hspi);
- 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_2linesRxISR_16BITCRC(struct __SPI_HandleTypeDef *hspi);
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_AbortRx_ISR(SPI_HandleTypeDef *hspi);
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_AbortTx_ISR(SPI_HandleTypeDef *hspi);
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_CloseRxTx_ISR(SPI_HandleTypeDef *hspi);
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_CloseRx_ISR(SPI_HandleTypeDef *hspi);
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_CloseTx_ISR(SPI_HandleTypeDef *hspi);
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static HAL_StatusTypeDef SPI_EndRxTransaction(SPI_HandleTypeDef *hspi, uint32_t Timeout, uint32_t T
- 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static HAL_StatusTypeDef SPI_EndRxTxTransaction(SPI_HandleTypeDef *hspi, uint32_t Timeout, uint32_t
- 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
- 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @}
- 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Exported functions --------------------------------------------------------*/
- 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /** @defgroup SPI_Exported_Functions SPI Exported Functions
- 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @{
- 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /** @defgroup SPI_Exported_Functions_Group1 Initialization and de-initialization functions
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Initialization and Configuration functions
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *
- 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** @verbatim
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** ===============================================================================
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** ##### Initialization and de-initialization functions #####
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** ===============================================================================
- 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** [..] This subsection provides a set of functions allowing to initialize and
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** de-initialize the SPIx peripheral:
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (+) User must implement HAL_SPI_MspInit() function in which he configures
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** all related peripherals resources (CLOCK, GPIO, DMA, IT and NVIC ).
- 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (+) Call the function HAL_SPI_Init() to configure the selected device with
- 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** the selected configuration:
- 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) Mode
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) Direction
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) Data Size
- 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) Clock Polarity and Phase
- 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) NSS Management
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) BaudRate Prescaler
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) FirstBit
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) TIMode
- 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) CRC Calculation
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) CRC Polynomial if CRC enabled
-ARM GAS /tmp/ccoPM59V.s page 7
-
-
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (+) Call the function HAL_SPI_DeInit() to restore the default configuration
- 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** of the selected SPIx peripheral.
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** @endverbatim
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @{
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Initialize the SPI according to the specified parameters
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * in the SPI_InitTypeDef and initialize the associated handle.
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval HAL status
- 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef HAL_SPI_Init(SPI_HandleTypeDef *hspi)
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check the SPI handle allocation */
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi == NULL)
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return HAL_ERROR;
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check the parameters */
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_ALL_INSTANCE(hspi->Instance));
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_MODE(hspi->Init.Mode));
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_DIRECTION(hspi->Init.Direction));
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_DATASIZE(hspi->Init.DataSize));
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_NSS(hspi->Init.NSS));
- 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_BAUDRATE_PRESCALER(hspi->Init.BaudRatePrescaler));
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_FIRST_BIT(hspi->Init.FirstBit));
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* TI mode is not supported on this device.
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** TIMode parameter is mandatory equal to SPI_TIMODE_DISABLE */
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_TIMODE(hspi->Init.TIMode));
- 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.TIMode == SPI_TIMODE_DISABLE)
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_CPOL(hspi->Init.CLKPolarity));
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_CPHA(hspi->Init.CLKPhase));
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.Mode == SPI_MODE_MASTER)
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_BAUDRATE_PRESCALER(hspi->Init.BaudRatePrescaler));
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Baudrate prescaler not use in Motoraola Slave mode. force to default value */
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_2;
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_BAUDRATE_PRESCALER(hspi->Init.BaudRatePrescaler));
- 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Force polarity and phase to TI protocaol requirements */
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->Init.CLKPolarity = SPI_POLARITY_LOW;
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->Init.CLKPhase = SPI_PHASE_1EDGE;
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-ARM GAS /tmp/ccoPM59V.s page 8
-
-
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_CRC_CALCULATION(hspi->Init.CRCCalculation));
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_CRC_POLYNOMIAL(hspi->Init.CRCPolynomial));
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE;
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->State == HAL_SPI_STATE_RESET)
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Allocate lock resource and initialize it */
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->Lock = HAL_UNLOCKED;
- 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Init the SPI Callback settings */
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxCpltCallback = HAL_SPI_TxCpltCallback; /* Legacy weak TxCpltCallback
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxCpltCallback = HAL_SPI_RxCpltCallback; /* Legacy weak RxCpltCallback
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxRxCpltCallback = HAL_SPI_TxRxCpltCallback; /* Legacy weak TxRxCpltCallback
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxHalfCpltCallback = HAL_SPI_TxHalfCpltCallback; /* Legacy weak TxHalfCpltCallback
- 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxHalfCpltCallback = HAL_SPI_RxHalfCpltCallback; /* Legacy weak RxHalfCpltCallback
- 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxRxHalfCpltCallback = HAL_SPI_TxRxHalfCpltCallback; /* Legacy weak TxRxHalfCpltCallback
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCallback = HAL_SPI_ErrorCallback; /* Legacy weak ErrorCallback
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->AbortCpltCallback = HAL_SPI_AbortCpltCallback; /* Legacy weak AbortCpltCallback
- 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->MspInitCallback == NULL)
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->MspInitCallback = HAL_SPI_MspInit; /* Legacy weak MspInit */
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC... */
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->MspInitCallback(hspi);
- 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
- 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC... */
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_MspInit(hspi);
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_BUSY;
- 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable the selected SPI peripheral */
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE(hspi);
- 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /*----------------------- SPIx CR1 & CR2 Configuration ---------------------*/
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Configure : SPI Mode, Communication Mode, Data size, Clock polarity and phase, NSS management,
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** Communication speed, First bit and CRC calculation state */
- 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** WRITE_REG(hspi->Instance->CR1, ((hspi->Init.Mode & (SPI_CR1_MSTR | SPI_CR1_SSI)) |
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (hspi->Init.Direction & (SPI_CR1_RXONLY | SPI_CR1_BIDIMODE)) |
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (hspi->Init.DataSize & SPI_CR1_DFF) |
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (hspi->Init.CLKPolarity & SPI_CR1_CPOL) |
- 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (hspi->Init.CLKPhase & SPI_CR1_CPHA) |
- 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (hspi->Init.NSS & SPI_CR1_SSM) |
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (hspi->Init.BaudRatePrescaler & SPI_CR1_BR_Msk) |
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (hspi->Init.FirstBit & SPI_CR1_LSBFIRST) |
- 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (hspi->Init.CRCCalculation & SPI_CR1_CRCEN)));
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-ARM GAS /tmp/ccoPM59V.s page 9
-
-
- 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Configure : NSS management */
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** WRITE_REG(hspi->Instance->CR2, ((hspi->Init.NSS >> 16U) & SPI_CR2_SSOE));
- 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
- 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /*---------------------------- SPIx CRCPOLY Configuration ------------------*/
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Configure : CRC Polynomial */
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
- 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** WRITE_REG(hspi->Instance->CRCPR, (hspi->Init.CRCPolynomial & SPI_CRCPR_CRCPOLY_Msk));
- 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if defined(SPI_I2SCFGR_I2SMOD)
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Activate the SPI mode (Make sure that I2SMOD bit in I2SCFGR register is reset) */
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** CLEAR_BIT(hspi->Instance->I2SCFGR, SPI_I2SCFGR_I2SMOD);
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* SPI_I2SCFGR_I2SMOD */
- 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_NONE;
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
- 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return HAL_OK;
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief De-Initialize the SPI peripheral.
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval HAL status
- 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef HAL_SPI_DeInit(SPI_HandleTypeDef *hspi)
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check the SPI handle allocation */
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi == NULL)
- 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return HAL_ERROR;
- 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check SPI Instance parameter */
- 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_ALL_INSTANCE(hspi->Instance));
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_BUSY;
- 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable the SPI Peripheral Clock */
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE(hspi);
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->MspDeInitCallback == NULL)
- 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->MspDeInitCallback = HAL_SPI_MspDeInit; /* Legacy weak MspDeInit */
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC... */
- 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->MspDeInitCallback(hspi);
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC... */
- 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_MspDeInit(hspi);
- 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-ARM GAS /tmp/ccoPM59V.s page 10
-
-
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_NONE;
- 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_RESET;
- 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Release Lock */
- 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_UNLOCK(hspi);
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return HAL_OK;
- 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
- 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Initialize the SPI MSP.
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
- 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
- 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
- 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __weak void HAL_SPI_MspInit(SPI_HandleTypeDef *hspi)
- 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Prevent unused argument(s) compilation warning */
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** UNUSED(hspi);
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* NOTE : This function should not be modified, when the callback is needed,
- 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** the HAL_SPI_MspInit should be implemented in the user file
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief De-Initialize the SPI MSP.
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
- 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
- 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
- 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __weak void HAL_SPI_MspDeInit(SPI_HandleTypeDef *hspi)
- 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Prevent unused argument(s) compilation warning */
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** UNUSED(hspi);
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* NOTE : This function should not be modified, when the callback is needed,
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** the HAL_SPI_MspDeInit should be implemented in the user file
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Register a User SPI Callback
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * To be used instead of the weak predefined callback
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi Pointer to a SPI_HandleTypeDef structure that contains
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for the specified SPI.
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param CallbackID ID of the callback to be registered
- 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param pCallback pointer to the Callback function
- 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval HAL status
- 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef HAL_SPI_RegisterCallback(SPI_HandleTypeDef *hspi, HAL_SPI_CallbackIDTypeDef Callb
- 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** pSPI_CallbackTypeDef pCallback)
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef status = HAL_OK;
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-ARM GAS /tmp/ccoPM59V.s page 11
-
-
- 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (pCallback == NULL)
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Update the error code */
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode |= HAL_SPI_ERROR_INVALID_CALLBACK;
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return HAL_ERROR;
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process locked */
- 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_LOCK(hspi);
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_SPI_STATE_READY == hspi->State)
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** switch (CallbackID)
- 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** case HAL_SPI_TX_COMPLETE_CB_ID :
- 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxCpltCallback = pCallback;
- 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** case HAL_SPI_RX_COMPLETE_CB_ID :
- 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxCpltCallback = pCallback;
- 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** case HAL_SPI_TX_RX_COMPLETE_CB_ID :
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxRxCpltCallback = pCallback;
- 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** case HAL_SPI_TX_HALF_COMPLETE_CB_ID :
- 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxHalfCpltCallback = pCallback;
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** case HAL_SPI_RX_HALF_COMPLETE_CB_ID :
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxHalfCpltCallback = pCallback;
- 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** case HAL_SPI_TX_RX_HALF_COMPLETE_CB_ID :
- 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxRxHalfCpltCallback = pCallback;
- 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** case HAL_SPI_ERROR_CB_ID :
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCallback = pCallback;
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** case HAL_SPI_ABORT_CB_ID :
- 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->AbortCpltCallback = pCallback;
- 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** case HAL_SPI_MSPINIT_CB_ID :
- 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->MspInitCallback = pCallback;
- 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** case HAL_SPI_MSPDEINIT_CB_ID :
- 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->MspDeInitCallback = pCallback;
- 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** default :
- 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Update the error code */
- 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_INVALID_CALLBACK);
-ARM GAS /tmp/ccoPM59V.s page 12
-
-
- 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Return error status */
- 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** status = HAL_ERROR;
- 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else if (HAL_SPI_STATE_RESET == hspi->State)
- 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** switch (CallbackID)
- 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** case HAL_SPI_MSPINIT_CB_ID :
- 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->MspInitCallback = pCallback;
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** case HAL_SPI_MSPDEINIT_CB_ID :
- 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->MspDeInitCallback = pCallback;
- 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** default :
- 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Update the error code */
- 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_INVALID_CALLBACK);
- 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Return error status */
- 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** status = HAL_ERROR;
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
- 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Update the error code */
- 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_INVALID_CALLBACK);
- 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Return error status */
- 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** status = HAL_ERROR;
- 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Release Lock */
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_UNLOCK(hspi);
- 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return status;
- 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
- 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Unregister an SPI Callback
- 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * SPI callback is redirected to the weak predefined callback
- 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi Pointer to a SPI_HandleTypeDef structure that contains
- 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for the specified SPI.
- 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param CallbackID ID of the callback to be unregistered
- 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval HAL status
- 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
- 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef HAL_SPI_UnRegisterCallback(SPI_HandleTypeDef *hspi, HAL_SPI_CallbackIDTypeDef Cal
- 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef status = HAL_OK;
- 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process locked */
- 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_LOCK(hspi);
- 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_SPI_STATE_READY == hspi->State)
-ARM GAS /tmp/ccoPM59V.s page 13
-
-
- 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** switch (CallbackID)
- 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** case HAL_SPI_TX_COMPLETE_CB_ID :
- 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxCpltCallback = HAL_SPI_TxCpltCallback; /* Legacy weak TxCpltCallback
- 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** case HAL_SPI_RX_COMPLETE_CB_ID :
- 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxCpltCallback = HAL_SPI_RxCpltCallback; /* Legacy weak RxCpltCallback
- 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** case HAL_SPI_TX_RX_COMPLETE_CB_ID :
- 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxRxCpltCallback = HAL_SPI_TxRxCpltCallback; /* Legacy weak TxRxCpltCallback
- 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** case HAL_SPI_TX_HALF_COMPLETE_CB_ID :
- 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxHalfCpltCallback = HAL_SPI_TxHalfCpltCallback; /* Legacy weak TxHalfCpltCallbac
- 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** case HAL_SPI_RX_HALF_COMPLETE_CB_ID :
- 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxHalfCpltCallback = HAL_SPI_RxHalfCpltCallback; /* Legacy weak RxHalfCpltCallbac
- 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** case HAL_SPI_TX_RX_HALF_COMPLETE_CB_ID :
- 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxRxHalfCpltCallback = HAL_SPI_TxRxHalfCpltCallback; /* Legacy weak TxRxHalfCpltCallb
- 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** case HAL_SPI_ERROR_CB_ID :
- 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCallback = HAL_SPI_ErrorCallback; /* Legacy weak ErrorCallback
- 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** case HAL_SPI_ABORT_CB_ID :
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->AbortCpltCallback = HAL_SPI_AbortCpltCallback; /* Legacy weak AbortCpltCallback
- 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** case HAL_SPI_MSPINIT_CB_ID :
- 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->MspInitCallback = HAL_SPI_MspInit; /* Legacy weak MspInit
- 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** case HAL_SPI_MSPDEINIT_CB_ID :
- 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->MspDeInitCallback = HAL_SPI_MspDeInit; /* Legacy weak MspDeInit
- 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** default :
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Update the error code */
- 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_INVALID_CALLBACK);
- 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Return error status */
- 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** status = HAL_ERROR;
- 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else if (HAL_SPI_STATE_RESET == hspi->State)
- 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** switch (CallbackID)
- 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** case HAL_SPI_MSPINIT_CB_ID :
-ARM GAS /tmp/ccoPM59V.s page 14
-
-
- 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->MspInitCallback = HAL_SPI_MspInit; /* Legacy weak MspInit
- 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** case HAL_SPI_MSPDEINIT_CB_ID :
- 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->MspDeInitCallback = HAL_SPI_MspDeInit; /* Legacy weak MspDeInit
- 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** default :
- 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Update the error code */
- 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_INVALID_CALLBACK);
- 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Return error status */
- 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** status = HAL_ERROR;
- 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
- 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Update the error code */
- 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_INVALID_CALLBACK);
- 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Return error status */
- 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** status = HAL_ERROR;
- 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Release Lock */
- 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_UNLOCK(hspi);
- 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return status;
- 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
- 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @}
- 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /** @defgroup SPI_Exported_Functions_Group2 IO operation functions
- 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Data transfers functions
- 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *
- 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** @verbatim
- 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** ==============================================================================
- 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** ##### IO operation functions #####
- 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** ===============================================================================
- 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** [..]
- 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** This subsection provides a set of functions allowing to manage the SPI
- 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** data transfers.
- 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** [..] The SPI supports master and slave mode :
- 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (#) There are two modes of transfer:
- 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) Blocking mode: The communication is performed in polling mode.
- 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** The HAL status of all data processing is returned by the same function
- 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** after finishing transfer.
- 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (++) No-Blocking mode: The communication is performed using Interrupts
- 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** or DMA, These APIs return the HAL status.
- 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** The end of the data processing will be indicated through the
- 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** dedicated SPI IRQ when using Interrupt mode or the DMA IRQ when
- 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** using DMA mode.
- 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** The HAL_SPI_TxCpltCallback(), HAL_SPI_RxCpltCallback() and HAL_SPI_TxRxCpltCallback() u
-ARM GAS /tmp/ccoPM59V.s page 15
-
-
- 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** will be executed respectively at the end of the transmit or Receive process
- 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** The HAL_SPI_ErrorCallback()user callback will be executed when a communication error is
- 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (#) APIs provided for these 2 transfer modes (Blocking mode or Non blocking mode using either I
- 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** exist for 1Line (simplex) and 2Lines (full duplex) modes.
- 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** @endverbatim
- 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @{
- 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
- 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
- 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Transmit an amount of data in blocking mode.
- 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
- 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
- 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param pData pointer to data buffer
- 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param Size amount of data to be sent
- 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param Timeout Timeout duration
- 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval HAL status
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
- 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef HAL_SPI_Transmit(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size, uint32_t
- 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t tickstart;
- 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef errorcode = HAL_OK;
- 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint16_t initial_TxXferCount;
- 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check Direction parameter */
- 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_DIRECTION_2LINES_OR_1LINE(hspi->Init.Direction));
- 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process Locked */
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_LOCK(hspi);
- 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Init tickstart for timeout management*/
- 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** tickstart = HAL_GetTick();
- 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** initial_TxXferCount = Size;
- 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->State != HAL_SPI_STATE_READY)
- 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_BUSY;
- 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((pData == NULL) || (Size == 0U))
- 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
- 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the transaction information */
- 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_BUSY_TX;
- 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_NONE;
- 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr = (uint8_t *)pData;
- 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferSize = Size;
- 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = Size;
- 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /*Init field not used in handle to zero */
- 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr = (uint8_t *)NULL;
- 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferSize = 0U;
-ARM GAS /tmp/ccoPM59V.s page 16
-
-
- 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = 0U;
- 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxISR = NULL;
- 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxISR = NULL;
- 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Configure communication direction : 1Line */
- 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.Direction == SPI_DIRECTION_1LINE)
- 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable SPI Peripheral before set 1Line direction (BIDIOE bit) */
- 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE(hspi);
- 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_1LINE_TX(hspi);
- 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
- 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset CRC Calculation */
- 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
- 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_RESET_CRC(hspi);
- 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
- 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if the SPI is already enabled */
- 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->Instance->CR1 & SPI_CR1_SPE) != SPI_CR1_SPE)
- 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable SPI peripheral */
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_ENABLE(hspi);
- 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Transmit data in 16 Bit mode */
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.DataSize == SPI_DATASIZE_16BIT)
- 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->Init.Mode == SPI_MODE_SLAVE) || (initial_TxXferCount == 0x01U))
- 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->Instance->DR = *((uint16_t *)hspi->pTxBuffPtr);
- 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr += sizeof(uint16_t);
- 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount--;
- 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Transmit data in 16 Bit mode */
- 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** while (hspi->TxXferCount > 0U)
- 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Wait until TXE flag is set to send data */
- 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (__HAL_SPI_GET_FLAG(hspi, SPI_FLAG_TXE))
- 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->Instance->DR = *((uint16_t *)hspi->pTxBuffPtr);
- 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr += sizeof(uint16_t);
- 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount--;
- 878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
- 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Timeout management */
- 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((((HAL_GetTick() - tickstart) >= Timeout) && (Timeout != HAL_MAX_DELAY)) || (Timeout =
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_TIMEOUT;
- 885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-ARM GAS /tmp/ccoPM59V.s page 17
-
-
- 890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Transmit data in 8 Bit mode */
- 891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
- 892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->Init.Mode == SPI_MODE_SLAVE) || (initial_TxXferCount == 0x01U))
- 894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *((__IO uint8_t *)&hspi->Instance->DR) = (*hspi->pTxBuffPtr);
- 896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr += sizeof(uint8_t);
- 897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount--;
- 898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** while (hspi->TxXferCount > 0U)
- 900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Wait until TXE flag is set to send data */
- 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (__HAL_SPI_GET_FLAG(hspi, SPI_FLAG_TXE))
- 903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *((__IO uint8_t *)&hspi->Instance->DR) = (*hspi->pTxBuffPtr);
- 905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr += sizeof(uint8_t);
- 906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount--;
- 907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
- 909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Timeout management */
- 911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((((HAL_GetTick() - tickstart) >= Timeout) && (Timeout != HAL_MAX_DELAY)) || (Timeout =
- 912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_TIMEOUT;
- 914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
- 920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable CRC Transmission */
- 921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
- 922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->Instance->CR1, SPI_CR1_CRCNEXT);
- 924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
- 926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check the end of the transaction */
- 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_EndRxTxTransaction(hspi, Timeout, tickstart) != HAL_OK)
- 929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_FLAG;
- 931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Clear overrun flag in 2 Lines communication mode because received is not read */
- 934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.Direction == SPI_DIRECTION_2LINES)
- 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_CLEAR_OVRFLAG(hspi);
- 937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->ErrorCode != HAL_SPI_ERROR_NONE)
- 940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
- 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** error:
- 945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
- 946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process Unlocked */
-ARM GAS /tmp/ccoPM59V.s page 18
-
-
- 947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_UNLOCK(hspi);
- 948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return errorcode;
- 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
- 952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Receive an amount of data in blocking mode.
- 953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
- 954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
- 955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param pData pointer to data buffer
- 956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param Size amount of data to be received
- 957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param Timeout Timeout duration
- 958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval HAL status
- 959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
- 960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef HAL_SPI_Receive(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size, uint32_t
- 961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t tickstart;
- 963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef errorcode = HAL_OK;
- 964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->Init.Mode == SPI_MODE_MASTER) && (hspi->Init.Direction == SPI_DIRECTION_2LINES))
- 966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_BUSY_RX;
- 968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call transmit-receive function to send Dummy data on Tx line and generate clock on CLK line
- 969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return HAL_SPI_TransmitReceive(hspi, pData, pData, Size, Timeout);
- 970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process Locked */
- 973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_LOCK(hspi);
- 974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Init tickstart for timeout management*/
- 976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** tickstart = HAL_GetTick();
- 977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->State != HAL_SPI_STATE_READY)
- 979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_BUSY;
- 981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((pData == NULL) || (Size == 0U))
- 985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
- 987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the transaction information */
- 991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_BUSY_RX;
- 992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_NONE;
- 993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr = (uint8_t *)pData;
- 994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferSize = Size;
- 995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = Size;
- 996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /*Init field not used in handle to zero */
- 998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr = (uint8_t *)NULL;
- 999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferSize = 0U;
-1000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = 0U;
-1001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxISR = NULL;
-1002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxISR = NULL;
-1003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-ARM GAS /tmp/ccoPM59V.s page 19
-
-
-1004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset CRC Calculation */
-1006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
-1007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_RESET_CRC(hspi);
-1009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* this is done to handle the CRCNEXT before the latest data */
-1010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount--;
-1011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-1013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Configure communication direction: 1Line */
-1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.Direction == SPI_DIRECTION_1LINE)
-1016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable SPI Peripheral before set 1Line direction (BIDIOE bit) */
-1018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE(hspi);
-1019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_1LINE_RX(hspi);
-1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if the SPI is already enabled */
-1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->Instance->CR1 & SPI_CR1_SPE) != SPI_CR1_SPE)
-1024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable SPI peripheral */
-1026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_ENABLE(hspi);
-1027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Receive data in 8 Bit mode */
-1030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.DataSize == SPI_DATASIZE_8BIT)
-1031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Transfer loop */
-1033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** while (hspi->RxXferCount > 0U)
-1034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check the RXNE flag */
-1036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (__HAL_SPI_GET_FLAG(hspi, SPI_FLAG_RXNE))
-1037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* read the received data */
-1039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (* (uint8_t *)hspi->pRxBuffPtr) = *(__IO uint8_t *)&hspi->Instance->DR;
-1040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr += sizeof(uint8_t);
-1041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount--;
-1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-1044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Timeout management */
-1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((((HAL_GetTick() - tickstart) >= Timeout) && (Timeout != HAL_MAX_DELAY)) || (Timeout =
-1047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_TIMEOUT;
-1049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-1055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Transfer loop */
-1057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** while (hspi->RxXferCount > 0U)
-1058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check the RXNE flag */
-1060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (__HAL_SPI_GET_FLAG(hspi, SPI_FLAG_RXNE))
-ARM GAS /tmp/ccoPM59V.s page 20
-
-
-1061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *((uint16_t *)hspi->pRxBuffPtr) = (uint16_t)hspi->Instance->DR;
-1063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr += sizeof(uint16_t);
-1064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount--;
-1065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-1067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Timeout management */
-1069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((((HAL_GetTick() - tickstart) >= Timeout) && (Timeout != HAL_MAX_DELAY)) || (Timeout =
-1070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_TIMEOUT;
-1072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-1079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Handle the CRC Transmission */
-1080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
-1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* freeze the CRC before the latest data */
-1083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->Instance->CR1, SPI_CR1_CRCNEXT);
-1084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if CRCNEXT is well reseted by hardware */
-1086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (READ_BIT(hspi->Instance->CR1, SPI_CR1_CRCNEXT))
-1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Workaround to force CRCNEXT bit to zero in case of CRCNEXT is not reset automatically by h
-1089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** CLEAR_BIT(hspi->Instance->CR1, SPI_CR1_CRCNEXT);
-1090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Read the latest data */
-1092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_WaitFlagStateUntilTimeout(hspi, SPI_FLAG_RXNE, SET, Timeout, tickstart) != HAL_OK)
-1093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* the latest data has not been received */
-1095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_TIMEOUT;
-1096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Receive last data in 16 Bit mode */
-1100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.DataSize == SPI_DATASIZE_16BIT)
-1101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *((uint16_t *)hspi->pRxBuffPtr) = (uint16_t)hspi->Instance->DR;
-1103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Receive last data in 8 Bit mode */
-1105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-1106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (*(uint8_t *)hspi->pRxBuffPtr) = *(__IO uint8_t *)&hspi->Instance->DR;
-1108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Wait the CRC data */
-1111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_WaitFlagStateUntilTimeout(hspi, SPI_FLAG_RXNE, SET, Timeout, tickstart) != HAL_OK)
-1112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_CRC);
-1114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_TIMEOUT;
-1115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-ARM GAS /tmp/ccoPM59V.s page 21
-
-
-1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Read CRC to Flush DR and RXNE flag */
-1119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** READ_REG(hspi->Instance->DR);
-1120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-1122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check the end of the transaction */
-1124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_EndRxTransaction(hspi, Timeout, tickstart) != HAL_OK)
-1125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_FLAG;
-1127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-1130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if CRC error occurred */
-1131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (__HAL_SPI_GET_FLAG(hspi, SPI_FLAG_CRCERR) != RESET)
-1132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if CRC error is valid or not (workaround to be applied or not) */
-1134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_ISCRCErrorValid(hspi) == SPI_VALID_CRC_ERROR)
-1135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_CRC);
-1137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset CRC Calculation */
-1139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_RESET_CRC(hspi);
-1140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-1142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_CLEAR_CRCERRFLAG(hspi);
-1144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-1147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->ErrorCode != HAL_SPI_ERROR_NONE)
-1149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
-1151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** error :
-1154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
-1155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_UNLOCK(hspi);
-1156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return errorcode;
-1157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-1160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Transmit and Receive an amount of data in blocking mode.
-1161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-1162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param pTxData pointer to transmission data buffer
-1164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param pRxData pointer to reception data buffer
-1165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param Size amount of data to be sent and received
-1166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param Timeout Timeout duration
-1167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval HAL status
-1168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-1169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef HAL_SPI_TransmitReceive(SPI_HandleTypeDef *hspi, uint8_t *pTxData, uint8_t *pRxDa
-1170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t Timeout)
-1171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint16_t initial_TxXferCount;
-1173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t tmp_mode;
-1174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_StateTypeDef tmp_state;
-ARM GAS /tmp/ccoPM59V.s page 22
-
-
-1175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t tickstart;
-1176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Variable used to alternate Rx and Tx during transfer */
-1178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t txallowed = 1U;
-1179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef errorcode = HAL_OK;
-1180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check Direction parameter */
-1182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_DIRECTION_2LINES(hspi->Init.Direction));
-1183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process Locked */
-1185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_LOCK(hspi);
-1186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Init tickstart for timeout management*/
-1188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** tickstart = HAL_GetTick();
-1189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Init temporary variables */
-1191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** tmp_state = hspi->State;
-1192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** tmp_mode = hspi->Init.Mode;
-1193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** initial_TxXferCount = Size;
-1194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (!((tmp_state == HAL_SPI_STATE_READY) || \
-1196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** ((tmp_mode == SPI_MODE_MASTER) && (hspi->Init.Direction == SPI_DIRECTION_2LINES) && (tmp_st
-1197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_BUSY;
-1199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((pTxData == NULL) || (pRxData == NULL) || (Size == 0U))
-1203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
-1205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Don't overwrite in case of HAL_SPI_STATE_BUSY_RX */
-1209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->State != HAL_SPI_STATE_BUSY_RX)
-1210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_BUSY_TX_RX;
-1212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the transaction information */
-1215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_NONE;
-1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr = (uint8_t *)pRxData;
-1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = Size;
-1218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferSize = Size;
-1219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr = (uint8_t *)pTxData;
-1220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = Size;
-1221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferSize = Size;
-1222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /*Init field not used in handle to zero */
-1224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxISR = NULL;
-1225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxISR = NULL;
-1226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-1228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset CRC Calculation */
-1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
-1230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_RESET_CRC(hspi);
-ARM GAS /tmp/ccoPM59V.s page 23
-
-
-1232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-1234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if the SPI is already enabled */
-1236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->Instance->CR1 & SPI_CR1_SPE) != SPI_CR1_SPE)
-1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable SPI peripheral */
-1239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_ENABLE(hspi);
-1240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Transmit and Receive data in 16 Bit mode */
-1243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.DataSize == SPI_DATASIZE_16BIT)
-1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->Init.Mode == SPI_MODE_SLAVE) || (initial_TxXferCount == 0x01U))
-1246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->Instance->DR = *((uint16_t *)hspi->pTxBuffPtr);
-1248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr += sizeof(uint16_t);
-1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount--;
-1250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** while ((hspi->TxXferCount > 0U) || (hspi->RxXferCount > 0U))
-1252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check TXE flag */
-1254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((__HAL_SPI_GET_FLAG(hspi, SPI_FLAG_TXE)) && (hspi->TxXferCount > 0U) && (txallowed == 1U)
-1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->Instance->DR = *((uint16_t *)hspi->pTxBuffPtr);
-1257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr += sizeof(uint16_t);
-1258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount--;
-1259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Next Data is a reception (Rx). Tx not allowed */
-1260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** txallowed = 0U;
-1261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-1263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable CRC Transmission */
-1264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->TxXferCount == 0U) && (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE))
-1265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->Instance->CR1, SPI_CR1_CRCNEXT);
-1267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-1269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check RXNE flag */
-1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((__HAL_SPI_GET_FLAG(hspi, SPI_FLAG_RXNE)) && (hspi->RxXferCount > 0U))
-1273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *((uint16_t *)hspi->pRxBuffPtr) = (uint16_t)hspi->Instance->DR;
-1275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr += sizeof(uint16_t);
-1276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount--;
-1277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Next Data is a Transmission (Tx). Tx is allowed */
-1278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** txallowed = 1U;
-1279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (((HAL_GetTick() - tickstart) >= Timeout) && (Timeout != HAL_MAX_DELAY))
-1281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_TIMEOUT;
-1283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Transmit and Receive data in 8 Bit mode */
-1288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-ARM GAS /tmp/ccoPM59V.s page 24
-
-
-1289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->Init.Mode == SPI_MODE_SLAVE) || (initial_TxXferCount == 0x01U))
-1291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *((__IO uint8_t *)&hspi->Instance->DR) = (*hspi->pTxBuffPtr);
-1293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr += sizeof(uint8_t);
-1294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount--;
-1295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** while ((hspi->TxXferCount > 0U) || (hspi->RxXferCount > 0U))
-1297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check TXE flag */
-1299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((__HAL_SPI_GET_FLAG(hspi, SPI_FLAG_TXE)) && (hspi->TxXferCount > 0U) && (txallowed == 1U)
-1300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *(__IO uint8_t *)&hspi->Instance->DR = (*hspi->pTxBuffPtr);
-1302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr++;
-1303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount--;
-1304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Next Data is a reception (Rx). Tx not allowed */
-1305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** txallowed = 0U;
-1306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-1308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable CRC Transmission */
-1309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->TxXferCount == 0U) && (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE))
-1310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->Instance->CR1, SPI_CR1_CRCNEXT);
-1312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Wait until RXNE flag is reset */
-1317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((__HAL_SPI_GET_FLAG(hspi, SPI_FLAG_RXNE)) && (hspi->RxXferCount > 0U))
-1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (*(uint8_t *)hspi->pRxBuffPtr) = hspi->Instance->DR;
-1320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr++;
-1321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount--;
-1322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Next Data is a Transmission (Tx). Tx is allowed */
-1323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** txallowed = 1U;
-1324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((((HAL_GetTick() - tickstart) >= Timeout) && ((Timeout != HAL_MAX_DELAY))) || (Timeout =
-1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_TIMEOUT;
-1328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-1334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Read CRC from DR to close CRC calculation process */
-1335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
-1336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Wait until TXE flag */
-1338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_WaitFlagStateUntilTimeout(hspi, SPI_FLAG_RXNE, SET, Timeout, tickstart) != HAL_OK)
-1339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Error on the CRC reception */
-1341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_CRC);
-1342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_TIMEOUT;
-1343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Read CRC */
-ARM GAS /tmp/ccoPM59V.s page 25
-
-
-1346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** READ_REG(hspi->Instance->DR);
-1347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if CRC error occurred */
-1350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (__HAL_SPI_GET_FLAG(hspi, SPI_FLAG_CRCERR) != RESET)
-1351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if CRC error is valid or not (workaround to be applied or not) */
-1353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_ISCRCErrorValid(hspi) == SPI_VALID_CRC_ERROR)
-1354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_CRC);
-1356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset CRC Calculation */
-1358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_RESET_CRC(hspi);
-1359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
-1361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-1363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_CLEAR_CRCERRFLAG(hspi);
-1365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-1368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check the end of the transaction */
-1370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_EndRxTxTransaction(hspi, Timeout, tickstart) != HAL_OK)
-1371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
-1373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_FLAG;
-1374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Clear overrun flag in 2 Lines communication mode because received is not read */
-1378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.Direction == SPI_DIRECTION_2LINES)
-1379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_CLEAR_OVRFLAG(hspi);
-1381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** error :
-1384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
-1385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_UNLOCK(hspi);
-1386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return errorcode;
-1387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-1390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Transmit an amount of data in non-blocking mode with Interrupt.
-1391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-1392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-1393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param pData pointer to data buffer
-1394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param Size amount of data to be sent
-1395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval HAL status
-1396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-1397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef HAL_SPI_Transmit_IT(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size)
-1398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef errorcode = HAL_OK;
-1400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check Direction parameter */
-1402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_DIRECTION_2LINES_OR_1LINE(hspi->Init.Direction));
-ARM GAS /tmp/ccoPM59V.s page 26
-
-
-1403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process Locked */
-1405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_LOCK(hspi);
-1406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((pData == NULL) || (Size == 0U))
-1408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
-1410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->State != HAL_SPI_STATE_READY)
-1414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_BUSY;
-1416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the transaction information */
-1420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_BUSY_TX;
-1421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_NONE;
-1422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr = (uint8_t *)pData;
-1423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferSize = Size;
-1424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = Size;
-1425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Init field not used in handle to zero */
-1427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr = (uint8_t *)NULL;
-1428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferSize = 0U;
-1429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = 0U;
-1430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxISR = NULL;
-1431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the function for IT treatment */
-1433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.DataSize > SPI_DATASIZE_8BIT)
-1434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxISR = SPI_TxISR_16BIT;
-1436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-1438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxISR = SPI_TxISR_8BIT;
-1440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Configure communication direction : 1Line */
-1443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.Direction == SPI_DIRECTION_1LINE)
-1444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable SPI Peripheral before set 1Line direction (BIDIOE bit) */
-1446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE(hspi);
-1447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_1LINE_TX(hspi);
-1448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-1451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset CRC Calculation */
-1452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
-1453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_RESET_CRC(hspi);
-1455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-1457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable TXE and ERR interrupt */
-1459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_ENABLE_IT(hspi, (SPI_IT_TXE | SPI_IT_ERR));
-ARM GAS /tmp/ccoPM59V.s page 27
-
-
-1460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if the SPI is already enabled */
-1463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->Instance->CR1 & SPI_CR1_SPE) != SPI_CR1_SPE)
-1464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable SPI peripheral */
-1466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_ENABLE(hspi);
-1467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** error :
-1470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_UNLOCK(hspi);
-1471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return errorcode;
-1472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-1475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Receive an amount of data in non-blocking mode with Interrupt.
-1476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-1477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-1478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param pData pointer to data buffer
-1479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param Size amount of data to be sent
-1480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval HAL status
-1481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-1482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef HAL_SPI_Receive_IT(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size)
-1483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef errorcode = HAL_OK;
-1485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->Init.Direction == SPI_DIRECTION_2LINES) && (hspi->Init.Mode == SPI_MODE_MASTER))
-1487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_BUSY_RX;
-1489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call transmit-receive function to send Dummy data on Tx line and generate clock on CLK line
-1490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return HAL_SPI_TransmitReceive_IT(hspi, pData, pData, Size);
-1491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process Locked */
-1494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_LOCK(hspi);
-1495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->State != HAL_SPI_STATE_READY)
-1497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_BUSY;
-1499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((pData == NULL) || (Size == 0U))
-1503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
-1505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the transaction information */
-1509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_BUSY_RX;
-1510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_NONE;
-1511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr = (uint8_t *)pData;
-1512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferSize = Size;
-1513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = Size;
-1514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Init field not used in handle to zero */
-1516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr = (uint8_t *)NULL;
-ARM GAS /tmp/ccoPM59V.s page 28
-
-
-1517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferSize = 0U;
-1518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = 0U;
-1519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxISR = NULL;
-1520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the function for IT treatment */
-1522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.DataSize > SPI_DATASIZE_8BIT)
-1523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxISR = SPI_RxISR_16BIT;
-1525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-1527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxISR = SPI_RxISR_8BIT;
-1529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Configure communication direction : 1Line */
-1532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.Direction == SPI_DIRECTION_1LINE)
-1533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable SPI Peripheral before set 1Line direction (BIDIOE bit) */
-1535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE(hspi);
-1536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_1LINE_RX(hspi);
-1537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-1540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset CRC Calculation */
-1541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
-1542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_RESET_CRC(hspi);
-1544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-1546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable TXE and ERR interrupt */
-1548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_ENABLE_IT(hspi, (SPI_IT_RXNE | SPI_IT_ERR));
-1549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Note : The SPI must be enabled after unlocking current process
-1551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** to avoid the risk of SPI interrupt handle execution before current
-1552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** process unlock */
-1553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if the SPI is already enabled */
-1555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->Instance->CR1 & SPI_CR1_SPE) != SPI_CR1_SPE)
-1556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable SPI peripheral */
-1558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_ENABLE(hspi);
-1559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** error :
-1562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process Unlocked */
-1563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_UNLOCK(hspi);
-1564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return errorcode;
-1565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-1568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Transmit and Receive an amount of data in non-blocking mode with Interrupt.
-1569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-1570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-1571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param pTxData pointer to transmission data buffer
-1572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param pRxData pointer to reception data buffer
-1573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param Size amount of data to be sent and received
-ARM GAS /tmp/ccoPM59V.s page 29
-
-
-1574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval HAL status
-1575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-1576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef HAL_SPI_TransmitReceive_IT(SPI_HandleTypeDef *hspi, uint8_t *pTxData, uint8_t *pR
-1577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t tmp_mode;
-1579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_StateTypeDef tmp_state;
-1580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef errorcode = HAL_OK;
-1581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check Direction parameter */
-1583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_DIRECTION_2LINES(hspi->Init.Direction));
-1584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process locked */
-1586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_LOCK(hspi);
-1587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Init temporary variables */
-1589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** tmp_state = hspi->State;
-1590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** tmp_mode = hspi->Init.Mode;
-1591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (!((tmp_state == HAL_SPI_STATE_READY) || \
-1593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** ((tmp_mode == SPI_MODE_MASTER) && (hspi->Init.Direction == SPI_DIRECTION_2LINES) && (tmp_st
-1594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_BUSY;
-1596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((pTxData == NULL) || (pRxData == NULL) || (Size == 0U))
-1600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
-1602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Don't overwrite in case of HAL_SPI_STATE_BUSY_RX */
-1606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->State != HAL_SPI_STATE_BUSY_RX)
-1607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_BUSY_TX_RX;
-1609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the transaction information */
-1612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_NONE;
-1613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr = (uint8_t *)pTxData;
-1614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferSize = Size;
-1615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = Size;
-1616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr = (uint8_t *)pRxData;
-1617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferSize = Size;
-1618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = Size;
-1619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the function for IT treatment */
-1621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.DataSize > SPI_DATASIZE_8BIT)
-1622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxISR = SPI_2linesRxISR_16BIT;
-1624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxISR = SPI_2linesTxISR_16BIT;
-1625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-1627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxISR = SPI_2linesRxISR_8BIT;
-1629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxISR = SPI_2linesTxISR_8BIT;
-1630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-ARM GAS /tmp/ccoPM59V.s page 30
-
-
-1631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-1633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset CRC Calculation */
-1634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
-1635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_RESET_CRC(hspi);
-1637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-1639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable TXE, RXNE and ERR interrupt */
-1641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_ENABLE_IT(hspi, (SPI_IT_TXE | SPI_IT_RXNE | SPI_IT_ERR));
-1642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if the SPI is already enabled */
-1644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->Instance->CR1 & SPI_CR1_SPE) != SPI_CR1_SPE)
-1645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable SPI peripheral */
-1647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_ENABLE(hspi);
-1648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** error :
-1651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process Unlocked */
-1652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_UNLOCK(hspi);
-1653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return errorcode;
-1654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-1657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Transmit an amount of data in non-blocking mode with DMA.
-1658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-1659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-1660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param pData pointer to data buffer
-1661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param Size amount of data to be sent
-1662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval HAL status
-1663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-1664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef HAL_SPI_Transmit_DMA(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size)
-1665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef errorcode = HAL_OK;
-1667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check tx dma handle */
-1669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_DMA_HANDLE(hspi->hdmatx));
-1670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check Direction parameter */
-1672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_DIRECTION_2LINES_OR_1LINE(hspi->Init.Direction));
-1673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process Locked */
-1675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_LOCK(hspi);
-1676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->State != HAL_SPI_STATE_READY)
-1678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_BUSY;
-1680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((pData == NULL) || (Size == 0U))
-1684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
-1686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-ARM GAS /tmp/ccoPM59V.s page 31
-
-
-1688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the transaction information */
-1690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_BUSY_TX;
-1691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_NONE;
-1692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr = (uint8_t *)pData;
-1693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferSize = Size;
-1694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = Size;
-1695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Init field not used in handle to zero */
-1697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr = (uint8_t *)NULL;
-1698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxISR = NULL;
-1699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxISR = NULL;
-1700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferSize = 0U;
-1701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = 0U;
-1702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Configure communication direction : 1Line */
-1704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.Direction == SPI_DIRECTION_1LINE)
-1705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable SPI Peripheral before set 1Line direction (BIDIOE bit) */
-1707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE(hspi);
-1708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_1LINE_TX(hspi);
-1709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-1712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset CRC Calculation */
-1713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
-1714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_RESET_CRC(hspi);
-1716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-1718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the SPI TxDMA Half transfer complete callback */
-1720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmatx->XferHalfCpltCallback = SPI_DMAHalfTransmitCplt;
-1721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the SPI TxDMA transfer complete callback */
-1723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmatx->XferCpltCallback = SPI_DMATransmitCplt;
-1724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the DMA error callback */
-1726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmatx->XferErrorCallback = SPI_DMAError;
-1727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the DMA AbortCpltCallback */
-1729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmatx->XferAbortCallback = NULL;
-1730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable the Tx DMA Stream/Channel */
-1732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_OK != HAL_DMA_Start_IT(hspi->hdmatx, (uint32_t)hspi->pTxBuffPtr, (uint32_t)&hspi->Instanc
-1733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount))
-1734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Update SPI error code */
-1736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_DMA);
-1737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
-1738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
-1740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if the SPI is already enabled */
-1744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->Instance->CR1 & SPI_CR1_SPE) != SPI_CR1_SPE)
-ARM GAS /tmp/ccoPM59V.s page 32
-
-
-1745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable SPI peripheral */
-1747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_ENABLE(hspi);
-1748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable the SPI Error Interrupt Bit */
-1751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_ENABLE_IT(hspi, (SPI_IT_ERR));
-1752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable Tx DMA Request */
-1754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->Instance->CR2, SPI_CR2_TXDMAEN);
-1755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** error :
-1757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process Unlocked */
-1758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_UNLOCK(hspi);
-1759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return errorcode;
-1760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-1763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Receive an amount of data in non-blocking mode with DMA.
-1764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @note In case of MASTER mode and SPI_DIRECTION_2LINES direction, hdmatx shall be defined.
-1765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-1766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-1767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param pData pointer to data buffer
-1768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @note When the CRC feature is enabled the pData Length must be Size + 1.
-1769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param Size amount of data to be sent
-1770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval HAL status
-1771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-1772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef HAL_SPI_Receive_DMA(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size)
-1773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef errorcode = HAL_OK;
-1775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check rx dma handle */
-1777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_DMA_HANDLE(hspi->hdmarx));
-1778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->Init.Direction == SPI_DIRECTION_2LINES) && (hspi->Init.Mode == SPI_MODE_MASTER))
-1780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_BUSY_RX;
-1782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check tx dma handle */
-1784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_DMA_HANDLE(hspi->hdmatx));
-1785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call transmit-receive function to send Dummy data on Tx line and generate clock on CLK line
-1787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return HAL_SPI_TransmitReceive_DMA(hspi, pData, pData, Size);
-1788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process Locked */
-1791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_LOCK(hspi);
-1792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->State != HAL_SPI_STATE_READY)
-1794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_BUSY;
-1796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((pData == NULL) || (Size == 0U))
-1800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
-ARM GAS /tmp/ccoPM59V.s page 33
-
-
-1802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the transaction information */
-1806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_BUSY_RX;
-1807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_NONE;
-1808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr = (uint8_t *)pData;
-1809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferSize = Size;
-1810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = Size;
-1811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /*Init field not used in handle to zero */
-1813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxISR = NULL;
-1814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxISR = NULL;
-1815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferSize = 0U;
-1816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = 0U;
-1817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Configure communication direction : 1Line */
-1819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.Direction == SPI_DIRECTION_1LINE)
-1820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable SPI Peripheral before set 1Line direction (BIDIOE bit) */
-1822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE(hspi);
-1823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_1LINE_RX(hspi);
-1824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-1827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset CRC Calculation */
-1828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
-1829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_RESET_CRC(hspi);
-1831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-1833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the SPI RxDMA Half transfer complete callback */
-1835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmarx->XferHalfCpltCallback = SPI_DMAHalfReceiveCplt;
-1836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the SPI Rx DMA transfer complete callback */
-1838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmarx->XferCpltCallback = SPI_DMAReceiveCplt;
-1839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the DMA error callback */
-1841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmarx->XferErrorCallback = SPI_DMAError;
-1842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the DMA AbortCpltCallback */
-1844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmarx->XferAbortCallback = NULL;
-1845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable the Rx DMA Stream/Channel */
-1847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_OK != HAL_DMA_Start_IT(hspi->hdmarx, (uint32_t)&hspi->Instance->DR, (uint32_t)hspi->pRxBu
-1848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount))
-1849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Update SPI error code */
-1851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_DMA);
-1852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
-1853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
-1855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if the SPI is already enabled */
-ARM GAS /tmp/ccoPM59V.s page 34
-
-
-1859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->Instance->CR1 & SPI_CR1_SPE) != SPI_CR1_SPE)
-1860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable SPI peripheral */
-1862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_ENABLE(hspi);
-1863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable the SPI Error Interrupt Bit */
-1866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_ENABLE_IT(hspi, (SPI_IT_ERR));
-1867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable Rx DMA Request */
-1869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->Instance->CR2, SPI_CR2_RXDMAEN);
-1870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** error:
-1872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process Unlocked */
-1873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_UNLOCK(hspi);
-1874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return errorcode;
-1875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-1878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Transmit and Receive an amount of data in non-blocking mode with DMA.
-1879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-1880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-1881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param pTxData pointer to transmission data buffer
-1882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param pRxData pointer to reception data buffer
-1883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @note When the CRC feature is enabled the pRxData Length must be Size + 1
-1884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param Size amount of data to be sent
-1885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval HAL status
-1886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-1887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef HAL_SPI_TransmitReceive_DMA(SPI_HandleTypeDef *hspi, uint8_t *pTxData, uint8_t *p
-1888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint16_t Size)
-1889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t tmp_mode;
-1891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_StateTypeDef tmp_state;
-1892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef errorcode = HAL_OK;
-1893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check rx & tx dma handles */
-1895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_DMA_HANDLE(hspi->hdmarx));
-1896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_DMA_HANDLE(hspi->hdmatx));
-1897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check Direction parameter */
-1899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** assert_param(IS_SPI_DIRECTION_2LINES(hspi->Init.Direction));
-1900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process locked */
-1902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_LOCK(hspi);
-1903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Init temporary variables */
-1905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** tmp_state = hspi->State;
-1906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** tmp_mode = hspi->Init.Mode;
-1907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (!((tmp_state == HAL_SPI_STATE_READY) ||
-1909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** ((tmp_mode == SPI_MODE_MASTER) && (hspi->Init.Direction == SPI_DIRECTION_2LINES) && (tmp_st
-1910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_BUSY;
-1912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((pTxData == NULL) || (pRxData == NULL) || (Size == 0U))
-ARM GAS /tmp/ccoPM59V.s page 35
-
-
-1916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
-1918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Don't overwrite in case of HAL_SPI_STATE_BUSY_RX */
-1922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->State != HAL_SPI_STATE_BUSY_RX)
-1923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_BUSY_TX_RX;
-1925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the transaction information */
-1928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_NONE;
-1929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr = (uint8_t *)pTxData;
-1930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferSize = Size;
-1931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = Size;
-1932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr = (uint8_t *)pRxData;
-1933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferSize = Size;
-1934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = Size;
-1935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Init field not used in handle to zero */
-1937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxISR = NULL;
-1938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxISR = NULL;
-1939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-1941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset CRC Calculation */
-1942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
-1943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_RESET_CRC(hspi);
-1945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-1947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if we are in Rx only or in Rx/Tx Mode and configure the DMA transfer complete callback *
-1949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->State == HAL_SPI_STATE_BUSY_RX)
-1950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the SPI Rx DMA Half transfer complete callback */
-1952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmarx->XferHalfCpltCallback = SPI_DMAHalfReceiveCplt;
-1953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmarx->XferCpltCallback = SPI_DMAReceiveCplt;
-1954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-1956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the SPI Tx/Rx DMA Half transfer complete callback */
-1958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmarx->XferHalfCpltCallback = SPI_DMAHalfTransmitReceiveCplt;
-1959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmarx->XferCpltCallback = SPI_DMATransmitReceiveCplt;
-1960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the DMA error callback */
-1963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmarx->XferErrorCallback = SPI_DMAError;
-1964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the DMA AbortCpltCallback */
-1966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmarx->XferAbortCallback = NULL;
-1967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable the Rx DMA Stream/Channel */
-1969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_OK != HAL_DMA_Start_IT(hspi->hdmarx, (uint32_t)&hspi->Instance->DR, (uint32_t)hspi->pRxBu
-1970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount))
-1971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Update SPI error code */
-ARM GAS /tmp/ccoPM59V.s page 36
-
-
-1973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_DMA);
-1974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
-1975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
-1977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-1978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-1979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable Rx DMA Request */
-1981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->Instance->CR2, SPI_CR2_RXDMAEN);
-1982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the SPI Tx DMA transfer complete callback as NULL because the communication closing
-1984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** is performed in DMA reception complete callback */
-1985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmatx->XferHalfCpltCallback = NULL;
-1986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmatx->XferCpltCallback = NULL;
-1987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmatx->XferErrorCallback = NULL;
-1988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmatx->XferAbortCallback = NULL;
-1989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable the Tx DMA Stream/Channel */
-1991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_OK != HAL_DMA_Start_IT(hspi->hdmatx, (uint32_t)hspi->pTxBuffPtr, (uint32_t)&hspi->Instanc
-1992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount))
-1993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-1994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Update SPI error code */
-1995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_DMA);
-1996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
-1997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-1998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
-1999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-2000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if the SPI is already enabled */
-2003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->Instance->CR1 & SPI_CR1_SPE) != SPI_CR1_SPE)
-2004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable SPI peripheral */
-2006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_ENABLE(hspi);
-2007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable the SPI Error Interrupt Bit */
-2009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_ENABLE_IT(hspi, (SPI_IT_ERR));
-2010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable Tx DMA Request */
-2012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->Instance->CR2, SPI_CR2_TXDMAEN);
-2013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** error :
-2015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process Unlocked */
-2016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_UNLOCK(hspi);
-2017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return errorcode;
-2018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Abort ongoing transfer (blocking mode).
-2022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi SPI handle.
-2023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @note This procedure could be used for aborting any ongoing transfer (Tx and Rx),
-2024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * started in Interrupt or DMA mode.
-2025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * This procedure performs following operations :
-2026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * - Disable SPI Interrupts (depending of transfer direction)
-2027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * - Disable the DMA transfer in the peripheral register (if enabled)
-2028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * - Abort DMA transfer by calling HAL_DMA_Abort (in case of transfer in DMA mode)
-2029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * - Set handle State to READY
-ARM GAS /tmp/ccoPM59V.s page 37
-
-
-2030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @note This procedure is executed in blocking mode : when exiting function, Abort is considere
-2031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval HAL status
-2032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef HAL_SPI_Abort(SPI_HandleTypeDef *hspi)
-2034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef errorcode;
-2036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __IO uint32_t count;
-2037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __IO uint32_t resetcount;
-2038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Initialized local variable */
-2040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_OK;
-2041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** resetcount = SPI_DEFAULT_TIMEOUT * (SystemCoreClock / 24U / 1000U);
-2042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** count = resetcount;
-2043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Clear ERRIE interrupt to avoid error interrupts generation during Abort procedure */
-2045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** CLEAR_BIT(hspi->Instance->CR2, SPI_CR2_ERRIE);
-2046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable TXEIE, RXNEIE and ERRIE(mode fault event, overrun error, TI frame error) interrupts */
-2048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_IS_BIT_SET(hspi->Instance->CR2, SPI_CR2_TXEIE))
-2049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxISR = SPI_AbortTx_ISR;
-2051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Wait HAL_SPI_STATE_ABORT state */
-2052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** do
-2053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (count == 0U)
-2055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_ABORT);
-2057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
-2058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** count--;
-2060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** } while (hspi->State != HAL_SPI_STATE_ABORT);
-2061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset Timeout Counter */
-2062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** count = resetcount;
-2063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_IS_BIT_SET(hspi->Instance->CR2, SPI_CR2_RXNEIE))
-2066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxISR = SPI_AbortRx_ISR;
-2068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Wait HAL_SPI_STATE_ABORT state */
-2069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** do
-2070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (count == 0U)
-2072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_ABORT);
-2074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
-2075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** count--;
-2077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** } while (hspi->State != HAL_SPI_STATE_ABORT);
-2078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset Timeout Counter */
-2079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** count = resetcount;
-2080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable the SPI DMA Tx request if enabled */
-2083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_IS_BIT_SET(hspi->Instance->CR2, SPI_CR2_TXDMAEN))
-2084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Abort the SPI DMA Tx Stream/Channel : use blocking DMA Abort API (no callback) */
-2086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->hdmatx != NULL)
-ARM GAS /tmp/ccoPM59V.s page 38
-
-
-2087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the SPI DMA Abort callback :
-2089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** will lead to call HAL_SPI_AbortCpltCallback() at end of DMA abort procedure */
-2090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmatx->XferAbortCallback = NULL;
-2091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Abort DMA Tx Handle linked to SPI Peripheral */
-2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_DMA_Abort(hspi->hdmatx) != HAL_OK)
-2094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_ABORT;
-2096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable Tx DMA Request */
-2099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** CLEAR_BIT(hspi->Instance->CR2, (SPI_CR2_TXDMAEN));
-2100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Wait until TXE flag is set */
-2102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** do
-2103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (count == 0U)
-2105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_ABORT);
-2107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
-2108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** count--;
-2110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** } while ((hspi->Instance->SR & SPI_FLAG_TXE) == RESET);
-2111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable the SPI DMA Rx request if enabled */
-2115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_IS_BIT_SET(hspi->Instance->CR2, SPI_CR2_RXDMAEN))
-2116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Abort the SPI DMA Rx Stream/Channel : use blocking DMA Abort API (no callback) */
-2118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->hdmarx != NULL)
-2119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the SPI DMA Abort callback :
-2121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** will lead to call HAL_SPI_AbortCpltCallback() at end of DMA abort procedure */
-2122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmarx->XferAbortCallback = NULL;
-2123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Abort DMA Rx Handle linked to SPI Peripheral */
-2125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_DMA_Abort(hspi->hdmarx) != HAL_OK)
-2126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_ABORT;
-2128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable peripheral */
-2131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE(hspi);
-2132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable Rx DMA Request */
-2134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** CLEAR_BIT(hspi->Instance->CR2, (SPI_CR2_RXDMAEN));
-2135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset Tx and Rx transfer counters */
-2138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = 0U;
-2139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = 0U;
-2140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check error during Abort procedure */
-2142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->ErrorCode == HAL_SPI_ERROR_ABORT)
-2143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-ARM GAS /tmp/ccoPM59V.s page 39
-
-
-2144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* return HAL_Error in case of error during Abort procedure */
-2145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
-2146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-2148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset errorCode */
-2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_NONE;
-2151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Clear the Error flags in the SR register */
-2154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_CLEAR_OVRFLAG(hspi);
-2155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Restore hspi->state to ready */
-2157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
-2158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return errorcode;
-2160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Abort ongoing transfer (Interrupt mode).
-2164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi SPI handle.
-2165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @note This procedure could be used for aborting any ongoing transfer (Tx and Rx),
-2166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * started in Interrupt or DMA mode.
-2167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * This procedure performs following operations :
-2168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * - Disable SPI Interrupts (depending of transfer direction)
-2169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * - Disable the DMA transfer in the peripheral register (if enabled)
-2170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * - Abort DMA transfer by calling HAL_DMA_Abort_IT (in case of transfer in DMA mode)
-2171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * - Set handle State to READY
-2172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * - At abort completion, call user abort complete callback
-2173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @note This procedure is executed in Interrupt mode, meaning that abort procedure could be
-2174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * considered as completed only when user abort complete callback is executed (not when ex
-2175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval HAL status
-2176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef HAL_SPI_Abort_IT(SPI_HandleTypeDef *hspi)
-2178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef errorcode;
-2180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t abortcplt ;
-2181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __IO uint32_t count;
-2182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __IO uint32_t resetcount;
-2183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Initialized local variable */
-2185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_OK;
-2186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** abortcplt = 1U;
-2187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** resetcount = SPI_DEFAULT_TIMEOUT * (SystemCoreClock / 24U / 1000U);
-2188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** count = resetcount;
-2189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Clear ERRIE interrupt to avoid error interrupts generation during Abort procedure */
-2191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** CLEAR_BIT(hspi->Instance->CR2, SPI_CR2_ERRIE);
-2192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Change Rx and Tx Irq Handler to Disable TXEIE, RXNEIE and ERRIE interrupts */
-2194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_IS_BIT_SET(hspi->Instance->CR2, SPI_CR2_TXEIE))
-2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxISR = SPI_AbortTx_ISR;
-2197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Wait HAL_SPI_STATE_ABORT state */
-2198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** do
-2199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (count == 0U)
-ARM GAS /tmp/ccoPM59V.s page 40
-
-
-2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_ABORT);
-2203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
-2204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** count--;
-2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** } while (hspi->State != HAL_SPI_STATE_ABORT);
-2207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset Timeout Counter */
-2208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** count = resetcount;
-2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_IS_BIT_SET(hspi->Instance->CR2, SPI_CR2_RXNEIE))
-2212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxISR = SPI_AbortRx_ISR;
-2214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Wait HAL_SPI_STATE_ABORT state */
-2215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** do
-2216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (count == 0U)
-2218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_ABORT);
-2220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
-2221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** count--;
-2223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** } while (hspi->State != HAL_SPI_STATE_ABORT);
-2224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset Timeout Counter */
-2225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** count = resetcount;
-2226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* If DMA Tx and/or DMA Rx Handles are associated to SPI Handle, DMA Abort complete callbacks sho
-2229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** before any call to DMA Abort functions */
-2230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* DMA Tx Handle is valid */
-2231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->hdmatx != NULL)
-2232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set DMA Abort Complete callback if UART DMA Tx request if enabled.
-2234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** Otherwise, set it to NULL */
-2235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_IS_BIT_SET(hspi->Instance->CR2, SPI_CR2_TXDMAEN))
-2236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmatx->XferAbortCallback = SPI_DMATxAbortCallback;
-2238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmatx->XferAbortCallback = NULL;
-2242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* DMA Rx Handle is valid */
-2245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->hdmarx != NULL)
-2246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set DMA Abort Complete callback if UART DMA Rx request if enabled.
-2248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** Otherwise, set it to NULL */
-2249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_IS_BIT_SET(hspi->Instance->CR2, SPI_CR2_RXDMAEN))
-2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmarx->XferAbortCallback = SPI_DMARxAbortCallback;
-2252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-2254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmarx->XferAbortCallback = NULL;
-2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-ARM GAS /tmp/ccoPM59V.s page 41
-
-
-2258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable the SPI DMA Tx request if enabled */
-2260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_IS_BIT_SET(hspi->Instance->CR2, SPI_CR2_TXDMAEN))
-2261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Abort the SPI DMA Tx Stream/Channel */
-2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->hdmatx != NULL)
-2264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Abort DMA Tx Handle linked to SPI Peripheral */
-2266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_DMA_Abort_IT(hspi->hdmatx) != HAL_OK)
-2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmatx->XferAbortCallback = NULL;
-2269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_ABORT;
-2270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-2272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** abortcplt = 0U;
-2274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable the SPI DMA Rx request if enabled */
-2278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_IS_BIT_SET(hspi->Instance->CR2, SPI_CR2_RXDMAEN))
-2279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Abort the SPI DMA Rx Stream/Channel */
-2281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->hdmarx != NULL)
-2282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Abort DMA Rx Handle linked to SPI Peripheral */
-2284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_DMA_Abort_IT(hspi->hdmarx) != HAL_OK)
-2285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmarx->XferAbortCallback = NULL;
-2287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_ABORT;
-2288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-2290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** abortcplt = 0U;
-2292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (abortcplt == 1U)
-2297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset Tx and Rx transfer counters */
-2299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = 0U;
-2300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = 0U;
-2301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check error during Abort procedure */
-2303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->ErrorCode == HAL_SPI_ERROR_ABORT)
-2304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* return HAL_Error in case of error during Abort procedure */
-2306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
-2307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-2309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset errorCode */
-2311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_NONE;
-2312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Clear the Error flags in the SR register */
-ARM GAS /tmp/ccoPM59V.s page 42
-
-
-2315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_CLEAR_OVRFLAG(hspi);
-2316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Restore hspi->State to Ready */
-2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
-2319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* As no DMA to be aborted, call directly user Abort complete callback */
-2321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
-2322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->AbortCpltCallback(hspi);
-2323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
-2324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_AbortCpltCallback(hspi);
-2325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-2326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return errorcode;
-2329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Pause the DMA Transfer.
-2333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-2334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for the specified SPI module.
-2335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval HAL status
-2336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef HAL_SPI_DMAPause(SPI_HandleTypeDef *hspi)
-2338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process Locked */
-2340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_LOCK(hspi);
-2341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable the SPI DMA Tx & Rx requests */
-2343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** CLEAR_BIT(hspi->Instance->CR2, SPI_CR2_TXDMAEN | SPI_CR2_RXDMAEN);
-2344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process Unlocked */
-2346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_UNLOCK(hspi);
-2347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return HAL_OK;
-2349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Resume the DMA Transfer.
-2353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for the specified SPI module.
-2355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval HAL status
-2356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef HAL_SPI_DMAResume(SPI_HandleTypeDef *hspi)
-2358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process Locked */
-2360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_LOCK(hspi);
-2361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable the SPI DMA Tx & Rx requests */
-2363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->Instance->CR2, SPI_CR2_TXDMAEN | SPI_CR2_RXDMAEN);
-2364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process Unlocked */
-2366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_UNLOCK(hspi);
-2367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return HAL_OK;
-2369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-ARM GAS /tmp/ccoPM59V.s page 43
-
-
-2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Stop the DMA Transfer.
-2373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-2374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for the specified SPI module.
-2375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval HAL status
-2376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef HAL_SPI_DMAStop(SPI_HandleTypeDef *hspi)
-2378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef errorcode = HAL_OK;
-2380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* The Lock is not implemented on this API to allow the user application
-2381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** to call the HAL SPI API under callbacks HAL_SPI_TxCpltCallback() or HAL_SPI_RxCpltCallback() o
-2382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** when calling HAL_DMA_Abort() API the DMA TX/RX Transfer complete interrupt is generated
-2383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** and the correspond call back is executed HAL_SPI_TxCpltCallback() or HAL_SPI_RxCpltCallback()
-2384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Abort the SPI DMA tx Stream/Channel */
-2387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->hdmatx != NULL)
-2388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_OK != HAL_DMA_Abort(hspi->hdmatx))
-2390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_DMA);
-2392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
-2393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Abort the SPI DMA rx Stream/Channel */
-2396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->hdmarx != NULL)
-2397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_OK != HAL_DMA_Abort(hspi->hdmarx))
-2399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_DMA);
-2401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
-2402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable the SPI DMA Tx & Rx requests */
-2406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** CLEAR_BIT(hspi->Instance->CR2, SPI_CR2_TXDMAEN | SPI_CR2_RXDMAEN);
-2407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
-2408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return errorcode;
-2409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Handle SPI interrupt request.
-2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-2414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for the specified SPI module.
-2415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-2416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** void HAL_SPI_IRQHandler(SPI_HandleTypeDef *hspi)
-2418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t itsource = hspi->Instance->CR2;
-2420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t itflag = hspi->Instance->SR;
-2421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* SPI in mode Receiver ----------------------------------------------------*/
-2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((SPI_CHECK_FLAG(itflag, SPI_FLAG_OVR) == RESET) &&
-2424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (SPI_CHECK_FLAG(itflag, SPI_FLAG_RXNE) != RESET) && (SPI_CHECK_IT_SOURCE(itsource, SPI_IT_RXN
-2425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxISR(hspi);
-2427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return;
-2428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-ARM GAS /tmp/ccoPM59V.s page 44
-
-
-2429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* SPI in mode Transmitter -------------------------------------------------*/
-2431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((SPI_CHECK_FLAG(itflag, SPI_FLAG_TXE) != RESET) && (SPI_CHECK_IT_SOURCE(itsource, SPI_IT_TXE)
-2432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxISR(hspi);
-2434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return;
-2435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* SPI in Error Treatment --------------------------------------------------*/
-2438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (((SPI_CHECK_FLAG(itflag, SPI_FLAG_MODF) != RESET) || (SPI_CHECK_FLAG(itflag, SPI_FLAG_OVR) !=
-2439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** && (SPI_CHECK_IT_SOURCE(itsource, SPI_IT_ERR) != RESET))
-2440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* SPI Overrun error interrupt occurred ----------------------------------*/
-2442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_CHECK_FLAG(itflag, SPI_FLAG_OVR) != RESET)
-2443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->State != HAL_SPI_STATE_BUSY_TX)
-2445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_OVR);
-2447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_CLEAR_OVRFLAG(hspi);
-2448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_CLEAR_OVRFLAG(hspi);
-2452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return;
-2453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* SPI Mode Fault error interrupt occurred -------------------------------*/
-2457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_CHECK_FLAG(itflag, SPI_FLAG_MODF) != RESET)
-2458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_MODF);
-2460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_CLEAR_MODFFLAG(hspi);
-2461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* SPI Frame error interrupt occurred ------------------------------------*/
-2464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->ErrorCode != HAL_SPI_ERROR_NONE)
-2466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable all interrupts */
-2468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE_IT(hspi, SPI_IT_RXNE | SPI_IT_TXE | SPI_IT_ERR);
-2469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
-2471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable the SPI DMA requests if enabled */
-2472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((HAL_IS_BIT_SET(itsource, SPI_CR2_TXDMAEN)) || (HAL_IS_BIT_SET(itsource, SPI_CR2_RXDMAEN)
-2473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** CLEAR_BIT(hspi->Instance->CR2, (SPI_CR2_TXDMAEN | SPI_CR2_RXDMAEN));
-2475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Abort the SPI DMA Rx channel */
-2477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->hdmarx != NULL)
-2478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the SPI DMA Abort callback :
-2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** will lead to call HAL_SPI_ErrorCallback() at end of DMA abort procedure */
-2481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmarx->XferAbortCallback = SPI_DMAAbortOnError;
-2482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_OK != HAL_DMA_Abort_IT(hspi->hdmarx))
-2483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_ABORT);
-2485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-ARM GAS /tmp/ccoPM59V.s page 45
-
-
-2486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Abort the SPI DMA Tx channel */
-2488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->hdmatx != NULL)
-2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set the SPI DMA Abort callback :
-2491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** will lead to call HAL_SPI_ErrorCallback() at end of DMA abort procedure */
-2492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmatx->XferAbortCallback = SPI_DMAAbortOnError;
-2493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_OK != HAL_DMA_Abort_IT(hspi->hdmatx))
-2494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_ABORT);
-2496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-2500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user error callback */
-2502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
-2503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCallback(hspi);
-2504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
-2505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_ErrorCallback(hspi);
-2506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-2507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return;
-2510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Tx Transfer completed callback.
-2515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-2516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-2517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-2518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __weak void HAL_SPI_TxCpltCallback(SPI_HandleTypeDef *hspi)
-2520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Prevent unused argument(s) compilation warning */
-2522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** UNUSED(hspi);
-2523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* NOTE : This function should not be modified, when the callback is needed,
-2525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** the HAL_SPI_TxCpltCallback should be implemented in the user file
-2526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Rx Transfer completed callback.
-2531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-2532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-2533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-2534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __weak void HAL_SPI_RxCpltCallback(SPI_HandleTypeDef *hspi)
-2536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Prevent unused argument(s) compilation warning */
-2538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** UNUSED(hspi);
-2539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* NOTE : This function should not be modified, when the callback is needed,
-2541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** the HAL_SPI_RxCpltCallback should be implemented in the user file
-2542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-ARM GAS /tmp/ccoPM59V.s page 46
-
-
-2543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Tx and Rx Transfer completed callback.
-2547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-2548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-2549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-2550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __weak void HAL_SPI_TxRxCpltCallback(SPI_HandleTypeDef *hspi)
-2552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Prevent unused argument(s) compilation warning */
-2554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** UNUSED(hspi);
-2555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* NOTE : This function should not be modified, when the callback is needed,
-2557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** the HAL_SPI_TxRxCpltCallback should be implemented in the user file
-2558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Tx Half Transfer completed callback.
-2563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-2565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-2566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __weak void HAL_SPI_TxHalfCpltCallback(SPI_HandleTypeDef *hspi)
-2568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Prevent unused argument(s) compilation warning */
-2570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** UNUSED(hspi);
-2571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* NOTE : This function should not be modified, when the callback is needed,
-2573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** the HAL_SPI_TxHalfCpltCallback should be implemented in the user file
-2574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Rx Half Transfer completed callback.
-2579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-2580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-2581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-2582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __weak void HAL_SPI_RxHalfCpltCallback(SPI_HandleTypeDef *hspi)
-2584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Prevent unused argument(s) compilation warning */
-2586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** UNUSED(hspi);
-2587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* NOTE : This function should not be modified, when the callback is needed,
-2589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** the HAL_SPI_RxHalfCpltCallback() should be implemented in the user file
-2590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Tx and Rx Half Transfer callback.
-2595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-2596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-2597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-2598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __weak void HAL_SPI_TxRxHalfCpltCallback(SPI_HandleTypeDef *hspi)
-ARM GAS /tmp/ccoPM59V.s page 47
-
-
-2600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Prevent unused argument(s) compilation warning */
-2602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** UNUSED(hspi);
-2603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* NOTE : This function should not be modified, when the callback is needed,
-2605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** the HAL_SPI_TxRxHalfCpltCallback() should be implemented in the user file
-2606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief SPI error callback.
-2611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-2612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-2613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-2614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __weak void HAL_SPI_ErrorCallback(SPI_HandleTypeDef *hspi)
-2616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Prevent unused argument(s) compilation warning */
-2618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** UNUSED(hspi);
-2619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* NOTE : This function should not be modified, when the callback is needed,
-2621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** the HAL_SPI_ErrorCallback should be implemented in the user file
-2622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* NOTE : The ErrorCode parameter in the hspi handle is updated by the SPI processes
-2624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** and user can use HAL_SPI_GetError() API to check the latest error occurred
-2625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief SPI Abort Complete callback.
-2630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi SPI handle.
-2631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-2632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __weak void HAL_SPI_AbortCpltCallback(SPI_HandleTypeDef *hspi)
-2634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Prevent unused argument(s) compilation warning */
-2636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** UNUSED(hspi);
-2637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* NOTE : This function should not be modified, when the callback is needed,
-2639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** the HAL_SPI_AbortCpltCallback can be implemented in the user file.
-2640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @}
-2645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /** @defgroup SPI_Exported_Functions_Group3 Peripheral State and Errors functions
-2648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief SPI control functions
-2649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *
-2650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** @verbatim
-2651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** ===============================================================================
-2652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** ##### Peripheral State and Errors functions #####
-2653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** ===============================================================================
-2654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** [..]
-2655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** This subsection provides a set of functions allowing to control the SPI.
-2656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (+) HAL_SPI_GetState() API can be helpful to check in run-time the state of the SPI peripheral
-ARM GAS /tmp/ccoPM59V.s page 48
-
-
-2657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (+) HAL_SPI_GetError() check in run-time Errors occurring during communication
-2658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** @endverbatim
-2659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @{
-2660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Return the SPI handle state.
-2664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-2665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-2666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval SPI state
-2667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_StateTypeDef HAL_SPI_GetState(SPI_HandleTypeDef *hspi)
-2669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Return SPI handle state */
-2671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return hspi->State;
-2672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Return the SPI error code.
-2676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-2677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-2678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval SPI error code in bitmap format
-2679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t HAL_SPI_GetError(SPI_HandleTypeDef *hspi)
-2681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Return SPI ErrorCode */
-2683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return hspi->ErrorCode;
-2684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @}
-2688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @}
-2692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /** @addtogroup SPI_Private_Functions
-2695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Private functions
-2696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @{
-2697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief DMA SPI transmit process complete callback.
-2701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
-2702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for the specified DMA module.
-2703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-2704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_DMATransmitCplt(DMA_HandleTypeDef *hdma)
-2706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_HandleTypeDef *hspi = (SPI_HandleTypeDef *)(((DMA_HandleTypeDef *)hdma)->Parent); /* Derogati
-2708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t tickstart;
-2709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Init tickstart for timeout management*/
-2711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** tickstart = HAL_GetTick();
-2712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* DMA Normal Mode */
-ARM GAS /tmp/ccoPM59V.s page 49
-
-
-2714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hdma->Instance->CCR & DMA_CCR_CIRC) != DMA_CCR_CIRC)
-2715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable ERR interrupt */
-2717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE_IT(hspi, SPI_IT_ERR);
-2718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable Tx DMA Request */
-2720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** CLEAR_BIT(hspi->Instance->CR2, SPI_CR2_TXDMAEN);
-2721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check the end of the transaction */
-2723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_EndRxTxTransaction(hspi, SPI_DEFAULT_TIMEOUT, tickstart) != HAL_OK)
-2724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_FLAG);
-2726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Clear overrun flag in 2 Lines communication mode because received data is not read */
-2729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.Direction == SPI_DIRECTION_2LINES)
-2730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_CLEAR_OVRFLAG(hspi);
-2732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = 0U;
-2735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
-2736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->ErrorCode != HAL_SPI_ERROR_NONE)
-2738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user error callback */
-2740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
-2741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCallback(hspi);
-2742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
-2743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_ErrorCallback(hspi);
-2744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-2745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return;
-2746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user Tx complete callback */
-2749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
-2750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxCpltCallback(hspi);
-2751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
-2752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_TxCpltCallback(hspi);
-2753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-2754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief DMA SPI receive process complete callback.
-2758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
-2759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for the specified DMA module.
-2760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-2761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_DMAReceiveCplt(DMA_HandleTypeDef *hdma)
-2763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_HandleTypeDef *hspi = (SPI_HandleTypeDef *)(((DMA_HandleTypeDef *)hdma)->Parent); /* Derogati
-2765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t tickstart;
-2766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Init tickstart for timeout management*/
-2768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** tickstart = HAL_GetTick();
-2769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* DMA Normal Mode */
-ARM GAS /tmp/ccoPM59V.s page 50
-
-
-2771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hdma->Instance->CCR & DMA_CCR_CIRC) != DMA_CCR_CIRC)
-2772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable ERR interrupt */
-2774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE_IT(hspi, SPI_IT_ERR);
-2775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-2777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* CRC handling */
-2778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
-2779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Wait until RXNE flag */
-2781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_WaitFlagStateUntilTimeout(hspi, SPI_FLAG_RXNE, SET, SPI_DEFAULT_TIMEOUT, tickstart) !
-2782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Error on the CRC reception */
-2784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_CRC);
-2785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Read CRC */
-2787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** READ_REG(hspi->Instance->DR);
-2788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-2790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if we are in Master RX 2 line mode */
-2792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->Init.Direction == SPI_DIRECTION_2LINES) && (hspi->Init.Mode == SPI_MODE_MASTER))
-2793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable Rx/Tx DMA Request (done by default to handle the case master rx direction 2 lines)
-2795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** CLEAR_BIT(hspi->Instance->CR2, SPI_CR2_TXDMAEN | SPI_CR2_RXDMAEN);
-2796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-2798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Normal case */
-2800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** CLEAR_BIT(hspi->Instance->CR2, SPI_CR2_RXDMAEN);
-2801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check the end of the transaction */
-2804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_EndRxTransaction(hspi, SPI_DEFAULT_TIMEOUT, tickstart) != HAL_OK)
-2805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_FLAG;
-2807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = 0U;
-2810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
-2811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-2813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if CRC error occurred */
-2814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (__HAL_SPI_GET_FLAG(hspi, SPI_FLAG_CRCERR) != RESET)
-2815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if CRC error is valid or not (workaround to be applied or not) */
-2817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_ISCRCErrorValid(hspi) == SPI_VALID_CRC_ERROR)
-2818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_CRC);
-2820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset CRC Calculation */
-2822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_RESET_CRC(hspi);
-2823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-2825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_CLEAR_CRCERRFLAG(hspi);
-2827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-ARM GAS /tmp/ccoPM59V.s page 51
-
-
-2828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-2830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->ErrorCode != HAL_SPI_ERROR_NONE)
-2832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user error callback */
-2834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
-2835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCallback(hspi);
-2836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
-2837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_ErrorCallback(hspi);
-2838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-2839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return;
-2840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user Rx complete callback */
-2843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
-2844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxCpltCallback(hspi);
-2845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
-2846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_RxCpltCallback(hspi);
-2847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-2848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief DMA SPI transmit receive process complete callback.
-2852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
-2853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for the specified DMA module.
-2854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-2855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_DMATransmitReceiveCplt(DMA_HandleTypeDef *hdma)
-2857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_HandleTypeDef *hspi = (SPI_HandleTypeDef *)(((DMA_HandleTypeDef *)hdma)->Parent); /* Derogati
-2859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t tickstart;
-2860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Init tickstart for timeout management*/
-2862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** tickstart = HAL_GetTick();
-2863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* DMA Normal Mode */
-2865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hdma->Instance->CCR & DMA_CCR_CIRC) != DMA_CCR_CIRC)
-2866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable ERR interrupt */
-2868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE_IT(hspi, SPI_IT_ERR);
-2869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-2871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* CRC handling */
-2872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
-2873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Wait the CRC data */
-2875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_WaitFlagStateUntilTimeout(hspi, SPI_FLAG_RXNE, SET, SPI_DEFAULT_TIMEOUT, tickstart) !
-2876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_CRC);
-2878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Read CRC to Flush DR and RXNE flag */
-2880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** READ_REG(hspi->Instance->DR);
-2881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-2883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check the end of the transaction */
-ARM GAS /tmp/ccoPM59V.s page 52
-
-
-2885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_EndRxTxTransaction(hspi, SPI_DEFAULT_TIMEOUT, tickstart) != HAL_OK)
-2886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_FLAG);
-2888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable Rx/Tx DMA Request */
-2891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** CLEAR_BIT(hspi->Instance->CR2, SPI_CR2_TXDMAEN | SPI_CR2_RXDMAEN);
-2892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = 0U;
-2894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = 0U;
-2895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
-2896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-2898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if CRC error occurred */
-2899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (__HAL_SPI_GET_FLAG(hspi, SPI_FLAG_CRCERR) != RESET)
-2900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if CRC error is valid or not (workaround to be applied or not) */
-2902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_ISCRCErrorValid(hspi) == SPI_VALID_CRC_ERROR)
-2903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_CRC);
-2905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset CRC Calculation */
-2907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_RESET_CRC(hspi);
-2908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-2910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_CLEAR_CRCERRFLAG(hspi);
-2912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-2915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->ErrorCode != HAL_SPI_ERROR_NONE)
-2917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user error callback */
-2919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
-2920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCallback(hspi);
-2921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
-2922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_ErrorCallback(hspi);
-2923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-2924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return;
-2925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user TxRx complete callback */
-2928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
-2929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxRxCpltCallback(hspi);
-2930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
-2931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_TxRxCpltCallback(hspi);
-2932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-2933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief DMA SPI half transmit process complete callback.
-2937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
-2938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for the specified DMA module.
-2939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-2940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_DMAHalfTransmitCplt(DMA_HandleTypeDef *hdma)
-ARM GAS /tmp/ccoPM59V.s page 53
-
-
-2942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_HandleTypeDef *hspi = (SPI_HandleTypeDef *)(((DMA_HandleTypeDef *)hdma)->Parent); /* Derogati
-2944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user Tx half complete callback */
-2946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
-2947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxHalfCpltCallback(hspi);
-2948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
-2949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_TxHalfCpltCallback(hspi);
-2950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-2951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief DMA SPI half receive process complete callback
-2955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
-2956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for the specified DMA module.
-2957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-2958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_DMAHalfReceiveCplt(DMA_HandleTypeDef *hdma)
-2960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_HandleTypeDef *hspi = (SPI_HandleTypeDef *)(((DMA_HandleTypeDef *)hdma)->Parent); /* Derogati
-2962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user Rx half complete callback */
-2964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
-2965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxHalfCpltCallback(hspi);
-2966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
-2967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_RxHalfCpltCallback(hspi);
-2968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-2969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief DMA SPI half transmit receive process complete callback.
-2973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
-2974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for the specified DMA module.
-2975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-2976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_DMAHalfTransmitReceiveCplt(DMA_HandleTypeDef *hdma)
-2978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_HandleTypeDef *hspi = (SPI_HandleTypeDef *)(((DMA_HandleTypeDef *)hdma)->Parent); /* Derogati
-2980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user TxRx half complete callback */
-2982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
-2983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxRxHalfCpltCallback(hspi);
-2984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
-2985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_TxRxHalfCpltCallback(hspi);
-2986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-2987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-2988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-2989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-2990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief DMA SPI communication error callback.
-2991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hdma pointer to a DMA_HandleTypeDef structure that contains
-2992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for the specified DMA module.
-2993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-2994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-2995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_DMAError(DMA_HandleTypeDef *hdma)
-2996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-2997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_HandleTypeDef *hspi = (SPI_HandleTypeDef *)(((DMA_HandleTypeDef *)hdma)->Parent); /* Derogati
-2998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-ARM GAS /tmp/ccoPM59V.s page 54
-
-
-2999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Stop the disable DMA transfer on SPI side */
-3000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** CLEAR_BIT(hspi->Instance->CR2, SPI_CR2_TXDMAEN | SPI_CR2_RXDMAEN);
-3001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_DMA);
-3003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
-3004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user error callback */
-3005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
-3006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCallback(hspi);
-3007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
-3008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_ErrorCallback(hspi);
-3009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-3010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-3013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief DMA SPI communication abort callback, when initiated by HAL services on Error
-3014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * (To be called at end of DMA Abort procedure following error occurrence).
-3015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hdma DMA handle.
-3016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-3017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-3018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_DMAAbortOnError(DMA_HandleTypeDef *hdma)
-3019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_HandleTypeDef *hspi = (SPI_HandleTypeDef *)(((DMA_HandleTypeDef *)hdma)->Parent); /* Derogati
-3021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = 0U;
-3022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = 0U;
-3023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user error callback */
-3025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
-3026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCallback(hspi);
-3027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
-3028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_ErrorCallback(hspi);
-3029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-3030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-3033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief DMA SPI Tx communication abort callback, when initiated by user
-3034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * (To be called at end of DMA Tx Abort procedure following user abort request).
-3035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @note When this callback is executed, User Abort complete call back is called only if no
-3036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * Abort still ongoing for Rx DMA Handle.
-3037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hdma DMA handle.
-3038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-3039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-3040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_DMATxAbortCallback(DMA_HandleTypeDef *hdma)
-3041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_HandleTypeDef *hspi = (SPI_HandleTypeDef *)(((DMA_HandleTypeDef *)hdma)->Parent); /* Derogati
-3043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __IO uint32_t count;
-3044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmatx->XferAbortCallback = NULL;
-3046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** count = SPI_DEFAULT_TIMEOUT * (SystemCoreClock / 24U / 1000U);
-3047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable Tx DMA Request */
-3049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** CLEAR_BIT(hspi->Instance->CR2, SPI_CR2_TXDMAEN);
-3050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Wait until TXE flag is set */
-3052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** do
-3053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (count == 0U)
-3055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-ARM GAS /tmp/ccoPM59V.s page 55
-
-
-3056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_ABORT);
-3057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
-3058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** count--;
-3060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** } while ((hspi->Instance->SR & SPI_FLAG_TXE) == RESET);
-3061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if an Abort process is still ongoing */
-3063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->hdmarx != NULL)
-3064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->hdmarx->XferAbortCallback != NULL)
-3066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return;
-3068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* No Abort process still ongoing : All DMA Stream/Channel are aborted, call user Abort Complete
-3072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = 0U;
-3073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = 0U;
-3074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check no error during Abort procedure */
-3076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->ErrorCode != HAL_SPI_ERROR_ABORT)
-3077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset errorCode */
-3079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_NONE;
-3080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Clear the Error flags in the SR register */
-3083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_CLEAR_OVRFLAG(hspi);
-3084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Restore hspi->State to Ready */
-3086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
-3087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user Abort complete callback */
-3089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
-3090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->AbortCpltCallback(hspi);
-3091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
-3092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_AbortCpltCallback(hspi);
-3093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-3094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-3097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief DMA SPI Rx communication abort callback, when initiated by user
-3098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * (To be called at end of DMA Rx Abort procedure following user abort request).
-3099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @note When this callback is executed, User Abort complete call back is called only if no
-3100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * Abort still ongoing for Tx DMA Handle.
-3101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hdma DMA handle.
-3102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-3103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-3104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_DMARxAbortCallback(DMA_HandleTypeDef *hdma)
-3105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_HandleTypeDef *hspi = (SPI_HandleTypeDef *)(((DMA_HandleTypeDef *)hdma)->Parent); /* Derogati
-3107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable SPI Peripheral */
-3109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE(hspi);
-3110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmarx->XferAbortCallback = NULL;
-3112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-ARM GAS /tmp/ccoPM59V.s page 56
-
-
-3113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable Rx DMA Request */
-3114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** CLEAR_BIT(hspi->Instance->CR2, SPI_CR2_RXDMAEN);
-3115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check Busy flag */
-3117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_EndRxTxTransaction(hspi, SPI_DEFAULT_TIMEOUT, HAL_GetTick()) != HAL_OK)
-3118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_ABORT);
-3120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if an Abort process is still ongoing */
-3123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->hdmatx != NULL)
-3124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->hdmatx->XferAbortCallback != NULL)
-3126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return;
-3128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* No Abort process still ongoing : All DMA Stream/Channel are aborted, call user Abort Complete
-3132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = 0U;
-3133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = 0U;
-3134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check no error during Abort procedure */
-3136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->ErrorCode != HAL_SPI_ERROR_ABORT)
-3137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset errorCode */
-3139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_NONE;
-3140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Clear the Error flags in the SR register */
-3143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_CLEAR_OVRFLAG(hspi);
-3144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Restore hspi->State to Ready */
-3146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
-3147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user Abort complete callback */
-3149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
-3150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->AbortCpltCallback(hspi);
-3151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
-3152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_AbortCpltCallback(hspi);
-3153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-3154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-3157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Rx 8-bit handler for Transmit and Receive in Interrupt mode.
-3158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-3159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-3160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-3161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-3162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_2linesRxISR_8BIT(struct __SPI_HandleTypeDef *hspi)
-3163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Receive data in 8bit mode */
-3165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *hspi->pRxBuffPtr = *((__IO uint8_t *)&hspi->Instance->DR);
-3166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr++;
-3167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount--;
-3168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check end of the reception */
-ARM GAS /tmp/ccoPM59V.s page 57
-
-
-3170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->RxXferCount == 0U)
-3171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-3173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
-3174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxISR = SPI_2linesRxISR_8BITCRC;
-3176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return;
-3177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-3179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable RXNE and ERR interrupt */
-3181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE_IT(hspi, (SPI_IT_RXNE | SPI_IT_ERR));
-3182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->TxXferCount == 0U)
-3184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_CloseRxTx_ISR(hspi);
-3186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-3191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-3192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Rx 8-bit handler for Transmit and Receive in Interrupt mode.
-3193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-3194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-3195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-3196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-3197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_2linesRxISR_8BITCRC(struct __SPI_HandleTypeDef *hspi)
-3198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Read 8bit CRC to flush Data Register */
-3200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** READ_REG(*(__IO uint8_t *)&hspi->Instance->DR);
-3201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable RXNE and ERR interrupt */
-3203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE_IT(hspi, (SPI_IT_RXNE | SPI_IT_ERR));
-3204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->TxXferCount == 0U)
-3206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_CloseRxTx_ISR(hspi);
-3208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-3211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-3213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Tx 8-bit handler for Transmit and Receive in Interrupt mode.
-3214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-3215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-3216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-3217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-3218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_2linesTxISR_8BIT(struct __SPI_HandleTypeDef *hspi)
-3219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *(__IO uint8_t *)&hspi->Instance->DR = (*hspi->pTxBuffPtr);
-3221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr++;
-3222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount--;
-3223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check the end of the transmission */
-3225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->TxXferCount == 0U)
-3226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-ARM GAS /tmp/ccoPM59V.s page 58
-
-
-3227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-3228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
-3229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set CRC Next Bit to send CRC */
-3231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->Instance->CR1, SPI_CR1_CRCNEXT);
-3232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable TXE interrupt */
-3233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE_IT(hspi, SPI_IT_TXE);
-3234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return;
-3235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-3237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable TXE interrupt */
-3239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE_IT(hspi, SPI_IT_TXE);
-3240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->RxXferCount == 0U)
-3242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_CloseRxTx_ISR(hspi);
-3244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-3249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Rx 16-bit handler for Transmit and Receive in Interrupt mode.
-3250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-3251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-3252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-3253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-3254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_2linesRxISR_16BIT(struct __SPI_HandleTypeDef *hspi)
-3255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Receive data in 16 Bit mode */
-3257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *((uint16_t *)hspi->pRxBuffPtr) = (uint16_t)(hspi->Instance->DR);
-3258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr += sizeof(uint16_t);
-3259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount--;
-3260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->RxXferCount == 0U)
-3262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-3264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
-3265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxISR = SPI_2linesRxISR_16BITCRC;
-3267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return;
-3268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-3270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable RXNE interrupt */
-3272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE_IT(hspi, SPI_IT_RXNE);
-3273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->TxXferCount == 0U)
-3275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_CloseRxTx_ISR(hspi);
-3277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-3282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-3283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Manage the CRC 16-bit receive for Transmit and Receive in Interrupt mode.
-ARM GAS /tmp/ccoPM59V.s page 59
-
-
-3284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-3285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-3286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-3287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-3288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_2linesRxISR_16BITCRC(struct __SPI_HandleTypeDef *hspi)
-3289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Read 16bit CRC to flush Data Register */
-3291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** READ_REG(hspi->Instance->DR);
-3292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable RXNE interrupt */
-3294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE_IT(hspi, SPI_IT_RXNE);
-3295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_CloseRxTx_ISR(hspi);
-3297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-3299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-3301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Tx 16-bit handler for Transmit and Receive in Interrupt mode.
-3302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-3303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-3304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-3305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-3306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_2linesTxISR_16BIT(struct __SPI_HandleTypeDef *hspi)
-3307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Transmit data in 16 Bit mode */
-3309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->Instance->DR = *((uint16_t *)hspi->pTxBuffPtr);
-3310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr += sizeof(uint16_t);
-3311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount--;
-3312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable CRC Transmission */
-3314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->TxXferCount == 0U)
-3315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-3317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
-3318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Set CRC Next Bit to send CRC */
-3320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->Instance->CR1, SPI_CR1_CRCNEXT);
-3321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable TXE interrupt */
-3322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE_IT(hspi, SPI_IT_TXE);
-3323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return;
-3324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-3326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable TXE interrupt */
-3328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE_IT(hspi, SPI_IT_TXE);
-3329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->RxXferCount == 0U)
-3331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_CloseRxTx_ISR(hspi);
-3333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-3338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-3339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Manage the CRC 8-bit receive in Interrupt context.
-3340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-ARM GAS /tmp/ccoPM59V.s page 60
-
-
-3341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-3342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-3343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-3344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_RxISR_8BITCRC(struct __SPI_HandleTypeDef *hspi)
-3345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Read 8bit CRC to flush Data Register */
-3347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** READ_REG(*(__IO uint8_t *)&hspi->Instance->DR);
-3348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_CloseRx_ISR(hspi);
-3350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-3352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-3354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Manage the receive 8-bit in Interrupt context.
-3355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-3356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-3357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-3358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-3359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_RxISR_8BIT(struct __SPI_HandleTypeDef *hspi)
-3360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *hspi->pRxBuffPtr = (*(__IO uint8_t *)&hspi->Instance->DR);
-3362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr++;
-3363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount--;
-3364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-3366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable CRC Transmission */
-3367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->RxXferCount == 1U) && (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE))
-3368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->Instance->CR1, SPI_CR1_CRCNEXT);
-3370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if CRCNEXT is well reseted by hardware */
-3372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (READ_BIT(hspi->Instance->CR1, SPI_CR1_CRCNEXT))
-3373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Workaround to force CRCNEXT bit to zero in case of CRCNEXT is not reset automatically by har
-3375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** CLEAR_BIT(hspi->Instance->CR1, SPI_CR1_CRCNEXT);
-3376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-3379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->RxXferCount == 0U)
-3381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-3383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
-3384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxISR = SPI_RxISR_8BITCRC;
-3386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return;
-3387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-3389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_CloseRx_ISR(hspi);
-3390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-3394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-3395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Manage the CRC 16-bit receive in Interrupt context.
-3396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-3397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-ARM GAS /tmp/ccoPM59V.s page 61
-
-
-3398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-3399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-3400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_RxISR_16BITCRC(struct __SPI_HandleTypeDef *hspi)
-3401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Read 16bit CRC to flush Data Register */
-3403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** READ_REG(hspi->Instance->DR);
-3404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable RXNE and ERR interrupt */
-3406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE_IT(hspi, (SPI_IT_RXNE | SPI_IT_ERR));
-3407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_CloseRx_ISR(hspi);
-3409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-3411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-3413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Manage the 16-bit receive in Interrupt context.
-3414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-3415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-3416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-3417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-3418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_RxISR_16BIT(struct __SPI_HandleTypeDef *hspi)
-3419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *((uint16_t *)hspi->pRxBuffPtr) = (uint16_t)(hspi->Instance->DR);
-3421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr += sizeof(uint16_t);
-3422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount--;
-3423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-3425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable CRC Transmission */
-3426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->RxXferCount == 1U) && (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE))
-3427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->Instance->CR1, SPI_CR1_CRCNEXT);
-3429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if CRCNEXT is well reseted by hardware */
-3431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (READ_BIT(hspi->Instance->CR1, SPI_CR1_CRCNEXT))
-3432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Workaround to force CRCNEXT bit to zero in case of CRCNEXT is not reset automatically by har
-3434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** CLEAR_BIT(hspi->Instance->CR1, SPI_CR1_CRCNEXT);
-3435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-3438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->RxXferCount == 0U)
-3440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-3442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
-3443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxISR = SPI_RxISR_16BITCRC;
-3445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return;
-3446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-3448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_CloseRx_ISR(hspi);
-3449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-3453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Handle the data 8-bit transmit in Interrupt mode.
-3454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-ARM GAS /tmp/ccoPM59V.s page 62
-
-
-3455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-3456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-3457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-3458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_TxISR_8BIT(struct __SPI_HandleTypeDef *hspi)
-3459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *(__IO uint8_t *)&hspi->Instance->DR = (*hspi->pTxBuffPtr);
-3461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr++;
-3462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount--;
-3463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->TxXferCount == 0U)
-3465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-3467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
-3468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable CRC Transmission */
-3470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->Instance->CR1, SPI_CR1_CRCNEXT);
-3471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-3473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_CloseTx_ISR(hspi);
-3474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-3478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Handle the data 16-bit transmit in Interrupt mode.
-3479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-3480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-3481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-3482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-3483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_TxISR_16BIT(struct __SPI_HandleTypeDef *hspi)
-3484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Transmit data in 16 Bit mode */
-3486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->Instance->DR = *((uint16_t *)hspi->pTxBuffPtr);
-3487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr += sizeof(uint16_t);
-3488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount--;
-3489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->TxXferCount == 0U)
-3491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-3493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
-3494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Enable CRC Transmission */
-3496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->Instance->CR1, SPI_CR1_CRCNEXT);
-3497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-3499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_CloseTx_ISR(hspi);
-3500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-3504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Handle SPI Communication Timeout.
-3505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-3506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-3507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param Flag SPI flag to check
-3508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param State flag state to check
-3509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param Timeout Timeout duration
-3510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param Tickstart tick start value
-3511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval HAL status
-ARM GAS /tmp/ccoPM59V.s page 63
-
-
-3512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-3513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static HAL_StatusTypeDef SPI_WaitFlagStateUntilTimeout(SPI_HandleTypeDef *hspi, uint32_t Flag, Flag
-3514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t Timeout, uint32_t Tickstart)
-3515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __IO uint32_t count;
-3517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t tmp_timeout;
-3518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t tmp_tickstart;
-3519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Adjust Timeout value in case of end of transfer */
-3521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** tmp_timeout = Timeout - (HAL_GetTick() - Tickstart);
-3522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** tmp_tickstart = HAL_GetTick();
-3523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Calculate Timeout based on a software loop to avoid blocking issue if Systick is disabled */
-3525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** count = tmp_timeout * ((SystemCoreClock * 32U) >> 20U);
-3526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** while ((__HAL_SPI_GET_FLAG(hspi, Flag) ? SET : RESET) != State)
-3528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (Timeout != HAL_MAX_DELAY)
-3530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (((HAL_GetTick() - tmp_tickstart) >= tmp_timeout) || (tmp_timeout == 0U))
-3532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable the SPI and reset the CRC: the CRC value should be cleared
-3534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** on both master and slave sides in order to resynchronize the master
-3535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** and slave for their respective CRC calculation */
-3536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable TXE, RXNE and ERR interrupts for the interrupt process */
-3538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE_IT(hspi, (SPI_IT_TXE | SPI_IT_RXNE | SPI_IT_ERR));
-3539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->Init.Mode == SPI_MODE_MASTER) && ((hspi->Init.Direction == SPI_DIRECTION_1LINE)
-3541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** || (hspi->Init.Direction == SPI_DIRECTION_2LIN
-3542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable SPI peripheral */
-3544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE(hspi);
-3545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset CRC Calculation */
-3548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.CRCCalculation == SPI_CRCCALCULATION_ENABLE)
-3549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_RESET_CRC(hspi);
-3551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
-3554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process Unlocked */
-3556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_UNLOCK(hspi);
-3557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return HAL_TIMEOUT;
-3559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* If Systick is disabled or not incremented, deactivate timeout to go in disable loop proced
-3561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if(count == 0U)
-3562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** tmp_timeout = 0U;
-3564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** count--;
-3566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-ARM GAS /tmp/ccoPM59V.s page 64
-
-
-3569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return HAL_OK;
-3570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-3573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Handle the check of the RX transaction complete.
-3574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-3575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-3576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param Timeout Timeout duration
-3577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param Tickstart tick start value
-3578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval HAL status
-3579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-3580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static HAL_StatusTypeDef SPI_EndRxTransaction(SPI_HandleTypeDef *hspi, uint32_t Timeout, uint32_t
-3581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->Init.Mode == SPI_MODE_MASTER) && ((hspi->Init.Direction == SPI_DIRECTION_1LINE)
-3583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** || (hspi->Init.Direction == SPI_DIRECTION_2LINES_RXO
-3584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable SPI peripheral */
-3586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE(hspi);
-3587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->Init.Mode == SPI_MODE_MASTER) && (hspi->Init.Direction == SPI_DIRECTION_2LINES_RXONLY)
-3590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Wait the RXNE reset */
-3592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_WaitFlagStateUntilTimeout(hspi, SPI_FLAG_RXNE, RESET, Timeout, Tickstart) != HAL_OK)
-3593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_FLAG);
-3595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return HAL_TIMEOUT;
-3596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-3599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Control the BSY flag */
-3601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_WaitFlagStateUntilTimeout(hspi, SPI_FLAG_BSY, RESET, Timeout, Tickstart) != HAL_OK)
-3602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_FLAG);
-3604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return HAL_TIMEOUT;
-3605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return HAL_OK;
-3608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-3611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Handle the check of the RXTX or TX transaction complete.
-3612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi SPI handle
-3613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param Timeout Timeout duration
-3614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param Tickstart tick start value
-3615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval HAL status
-3616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-3617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static HAL_StatusTypeDef SPI_EndRxTxTransaction(SPI_HandleTypeDef *hspi, uint32_t Timeout, uint32_t
-3618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Control the BSY flag */
-3620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_WaitFlagStateUntilTimeout(hspi, SPI_FLAG_BSY, RESET, Timeout, Tickstart) != HAL_OK)
-3621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_FLAG);
-3623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return HAL_TIMEOUT;
-3624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return HAL_OK;
-ARM GAS /tmp/ccoPM59V.s page 65
-
-
-3626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-3629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Handle the end of the RXTX transaction.
-3630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-3631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-3632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-3633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-3634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_CloseRxTx_ISR(SPI_HandleTypeDef *hspi)
-3635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t tickstart;
-3637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __IO uint32_t count = SPI_DEFAULT_TIMEOUT * (SystemCoreClock / 24U / 1000U);
-3638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Init tickstart for timeout management */
-3640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** tickstart = HAL_GetTick();
-3641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable ERR interrupt */
-3643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE_IT(hspi, SPI_IT_ERR);
-3644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Wait until TXE flag is set */
-3646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** do
-3647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (count == 0U)
-3649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_FLAG);
-3651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
-3652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** count--;
-3654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** } while ((hspi->Instance->SR & SPI_FLAG_TXE) == RESET);
-3655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check the end of the transaction */
-3657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_EndRxTxTransaction(hspi, SPI_DEFAULT_TIMEOUT, tickstart) != HAL_OK)
-3658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_FLAG);
-3660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Clear overrun flag in 2 Lines communication mode because received is not read */
-3663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.Direction == SPI_DIRECTION_2LINES)
-3664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_CLEAR_OVRFLAG(hspi);
-3666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-3669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if CRC error occurred */
-3670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (__HAL_SPI_GET_FLAG(hspi, SPI_FLAG_CRCERR) != RESET)
-3671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if CRC error is valid or not (workaround to be applied or not) */
-3673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_ISCRCErrorValid(hspi) == SPI_VALID_CRC_ERROR)
-3674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
-3676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_CRC);
-3677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset CRC Calculation */
-3679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_RESET_CRC(hspi);
-3680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user error callback */
-3682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
-ARM GAS /tmp/ccoPM59V.s page 66
-
-
-3683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCallback(hspi);
-3684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
-3685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_ErrorCallback(hspi);
-3686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-3687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-3689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_CLEAR_CRCERRFLAG(hspi);
-3691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-3694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-3696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->ErrorCode == HAL_SPI_ERROR_NONE)
-3697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->State == HAL_SPI_STATE_BUSY_RX)
-3699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
-3701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user Rx complete callback */
-3702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
-3703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxCpltCallback(hspi);
-3704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
-3705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_RxCpltCallback(hspi);
-3706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-3707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-3709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
-3711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user TxRx complete callback */
-3712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
-3713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxRxCpltCallback(hspi);
-3714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
-3715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_TxRxCpltCallback(hspi);
-3716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-3717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-3720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
-3722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user error callback */
-3723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
-3724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCallback(hspi);
-3725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
-3726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_ErrorCallback(hspi);
-3727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-3728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-3730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-3732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-3735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Handle the end of the RX transaction.
-3736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-3737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-3738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-3739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-ARM GAS /tmp/ccoPM59V.s page 67
-
-
-3740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_CloseRx_ISR(SPI_HandleTypeDef *hspi)
-3741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable RXNE and ERR interrupt */
-3743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE_IT(hspi, (SPI_IT_RXNE | SPI_IT_ERR));
-3744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check the end of the transaction */
-3746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_EndRxTransaction(hspi, SPI_DEFAULT_TIMEOUT, HAL_GetTick()) != HAL_OK)
-3747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_FLAG);
-3749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Clear overrun flag in 2 Lines communication mode because received is not read */
-3752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.Direction == SPI_DIRECTION_2LINES)
-3753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_CLEAR_OVRFLAG(hspi);
-3755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
-3757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-3759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if CRC error occurred */
-3760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (__HAL_SPI_GET_FLAG(hspi, SPI_FLAG_CRCERR) != RESET)
-3761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check if CRC error is valid or not (workaround to be applied or not) */
-3763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_ISCRCErrorValid(hspi) == SPI_VALID_CRC_ERROR)
-3764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_CRC);
-3766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset CRC Calculation */
-3768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_RESET_CRC(hspi);
-3769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user error callback */
-3771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
-3772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCallback(hspi);
-3773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
-3774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_ErrorCallback(hspi);
-3775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-3776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-3778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_CLEAR_CRCERRFLAG(hspi);
-3780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-3783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-3785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->ErrorCode == HAL_SPI_ERROR_NONE)
-3786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user Rx complete callback */
-3788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
-3789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxCpltCallback(hspi);
-3790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
-3791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_RxCpltCallback(hspi);
-3792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-3793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-3795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user error callback */
-ARM GAS /tmp/ccoPM59V.s page 68
-
-
-3797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
-3798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCallback(hspi);
-3799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
-3800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_ErrorCallback(hspi);
-3801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-3802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_SPI_CRC != 0U)
-3804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
-3806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-3809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Handle the end of the TX transaction.
-3810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-3811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-3812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-3813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-3814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_CloseTx_ISR(SPI_HandleTypeDef *hspi)
-3815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t tickstart;
-3817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __IO uint32_t count = SPI_DEFAULT_TIMEOUT * (SystemCoreClock / 24U / 1000U);
-3818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Init tickstart for timeout management*/
-3820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** tickstart = HAL_GetTick();
-3821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Wait until TXE flag is set */
-3823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** do
-3824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (count == 0U)
-3826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_FLAG);
-3828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
-3829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** count--;
-3831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** } while ((hspi->Instance->SR & SPI_FLAG_TXE) == RESET);
-3832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable TXE and ERR interrupt */
-3834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE_IT(hspi, (SPI_IT_TXE | SPI_IT_ERR));
-3835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check the end of the transaction */
-3837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (SPI_EndRxTxTransaction(hspi, SPI_DEFAULT_TIMEOUT, tickstart) != HAL_OK)
-3838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_FLAG);
-3840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Clear overrun flag in 2 Lines communication mode because received is not read */
-3843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->Init.Direction == SPI_DIRECTION_2LINES)
-3844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_CLEAR_OVRFLAG(hspi);
-3846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
-3849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->ErrorCode != HAL_SPI_ERROR_NONE)
-3850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user error callback */
-3852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
-3853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCallback(hspi);
-ARM GAS /tmp/ccoPM59V.s page 69
-
-
-3854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
-3855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_ErrorCallback(hspi);
-3856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-3857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** else
-3859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user Rx complete callback */
-3861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #if (USE_HAL_SPI_REGISTER_CALLBACKS == 1U)
-3862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxCpltCallback(hspi);
-3863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #else
-3864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_SPI_TxCpltCallback(hspi);
-3865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
-3866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-3870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Handle abort a Rx transaction.
-3871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-3872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-3873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-3874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-3875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_AbortRx_ISR(SPI_HandleTypeDef *hspi)
-3876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 25 .loc 1 3876 0
- 26 .cfi_startproc
- 27 @ args = 0, pretend = 0, frame = 8
- 28 @ frame_needed = 0, uses_anonymous_args = 0
- 29 @ link register save eliminated.
- 30 .LVL0:
- 31 0000 82B0 sub sp, sp, #8
- 32 .LCFI0:
- 33 .cfi_def_cfa_offset 8
-3877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __IO uint32_t count = SPI_DEFAULT_TIMEOUT * (SystemCoreClock / 24U / 1000U);
- 34 .loc 1 3877 0
- 35 0002 154B ldr r3, .L7
- 36 0004 1B68 ldr r3, [r3]
- 37 0006 154A ldr r2, .L7+4
- 38 0008 A2FB0323 umull r2, r3, r2, r3
- 39 000c 5B0A lsrs r3, r3, #9
- 40 000e 6422 movs r2, #100
- 41 0010 02FB03F3 mul r3, r2, r3
- 42 0014 0193 str r3, [sp, #4]
- 43 .L4:
-3878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Wait until TXE flag is set */
-3880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** do
-3881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (count == 0U)
- 44 .loc 1 3882 0
- 45 0016 019B ldr r3, [sp, #4]
- 46 0018 43B1 cbz r3, .L6
-3883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-3884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SET_BIT(hspi->ErrorCode, HAL_SPI_ERROR_ABORT);
-3885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
-3886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-3887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** count--;
- 47 .loc 1 3887 0
-ARM GAS /tmp/ccoPM59V.s page 70
-
-
- 48 001a 019B ldr r3, [sp, #4]
- 49 001c 013B subs r3, r3, #1
- 50 001e 0193 str r3, [sp, #4]
-3888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** } while ((hspi->Instance->SR & SPI_FLAG_TXE) == RESET);
- 51 .loc 1 3888 0
- 52 0020 0368 ldr r3, [r0]
- 53 0022 9B68 ldr r3, [r3, #8]
- 54 0024 13F0020F tst r3, #2
- 55 0028 F5D0 beq .L4
- 56 002a 03E0 b .L3
- 57 .L6:
-3884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 58 .loc 1 3884 0
- 59 002c 436D ldr r3, [r0, #84]
- 60 002e 43F04003 orr r3, r3, #64
- 61 0032 4365 str r3, [r0, #84]
- 62 .L3:
-3889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable SPI Peripheral */
-3891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE(hspi);
- 63 .loc 1 3891 0
- 64 0034 0268 ldr r2, [r0]
- 65 0036 1368 ldr r3, [r2]
- 66 0038 23F04003 bic r3, r3, #64
- 67 003c 1360 str r3, [r2]
-3892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable TXEIE, RXNEIE and ERRIE(mode fault event, overrun error, TI frame error) interrupts */
-3894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** CLEAR_BIT(hspi->Instance->CR2, (SPI_CR2_TXEIE | SPI_CR2_RXNEIE | SPI_CR2_ERRIE));
- 68 .loc 1 3894 0
- 69 003e 0268 ldr r2, [r0]
- 70 0040 5368 ldr r3, [r2, #4]
- 71 0042 23F0E003 bic r3, r3, #224
- 72 0046 5360 str r3, [r2, #4]
-3895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Read CRC to flush Data Register */
-3897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** READ_REG(hspi->Instance->DR);
- 73 .loc 1 3897 0
- 74 0048 0368 ldr r3, [r0]
- 75 004a DB68 ldr r3, [r3, #12]
-3898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_ABORT;
- 76 .loc 1 3899 0
- 77 004c 0723 movs r3, #7
- 78 004e 80F85130 strb r3, [r0, #81]
-3900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 79 .loc 1 3900 0
- 80 0052 02B0 add sp, sp, #8
- 81 .LCFI1:
- 82 .cfi_def_cfa_offset 0
- 83 @ sp needed
- 84 0054 7047 bx lr
- 85 .L8:
- 86 0056 00BF .align 2
- 87 .L7:
- 88 0058 00000000 .word SystemCoreClock
- 89 005c F1197605 .word 91625969
- 90 .cfi_endproc
-ARM GAS /tmp/ccoPM59V.s page 71
-
-
- 91 .LFE118:
- 93 .section .text.SPI_AbortTx_ISR,"ax",%progbits
- 94 .align 1
- 95 .syntax unified
- 96 .thumb
- 97 .thumb_func
- 98 .fpu softvfp
- 100 SPI_AbortTx_ISR:
- 101 .LFB119:
-3901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /**
-3903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @brief Handle abort a Tx or Rx/Tx transaction.
-3904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @param hspi pointer to a SPI_HandleTypeDef structure that contains
-3905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * the configuration information for SPI module.
-3906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** * @retval None
-3907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** */
-3908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** static void SPI_AbortTx_ISR(SPI_HandleTypeDef *hspi)
-3909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 102 .loc 1 3909 0
- 103 .cfi_startproc
- 104 @ args = 0, pretend = 0, frame = 0
- 105 @ frame_needed = 0, uses_anonymous_args = 0
- 106 @ link register save eliminated.
- 107 .LVL1:
-3910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable TXEIE interrupt */
-3911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** CLEAR_BIT(hspi->Instance->CR2, (SPI_CR2_TXEIE));
- 108 .loc 1 3911 0
- 109 0000 0268 ldr r2, [r0]
- 110 0002 5368 ldr r3, [r2, #4]
- 111 0004 23F08003 bic r3, r3, #128
- 112 0008 5360 str r3, [r2, #4]
-3912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable SPI Peripheral */
-3914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_DISABLE(hspi);
- 113 .loc 1 3914 0
- 114 000a 0268 ldr r2, [r0]
- 115 000c 1368 ldr r3, [r2]
- 116 000e 23F04003 bic r3, r3, #64
- 117 0012 1360 str r3, [r2]
-3915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-3916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_ABORT;
- 118 .loc 1 3916 0
- 119 0014 0723 movs r3, #7
- 120 0016 80F85130 strb r3, [r0, #81]
- 121 001a 7047 bx lr
- 122 .cfi_endproc
- 123 .LFE119:
- 125 .section .text.SPI_WaitFlagStateUntilTimeout,"ax",%progbits
- 126 .align 1
- 127 .syntax unified
- 128 .thumb
- 129 .thumb_func
- 130 .fpu softvfp
- 132 SPI_WaitFlagStateUntilTimeout:
- 133 .LFB112:
-3515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __IO uint32_t count;
- 134 .loc 1 3515 0
-ARM GAS /tmp/ccoPM59V.s page 72
-
-
- 135 .cfi_startproc
- 136 @ args = 4, pretend = 0, frame = 8
- 137 @ frame_needed = 0, uses_anonymous_args = 0
- 138 .LVL2:
- 139 0000 2DE9F043 push {r4, r5, r6, r7, r8, r9, lr}
- 140 .LCFI2:
- 141 .cfi_def_cfa_offset 28
- 142 .cfi_offset 4, -28
- 143 .cfi_offset 5, -24
- 144 .cfi_offset 6, -20
- 145 .cfi_offset 7, -16
- 146 .cfi_offset 8, -12
- 147 .cfi_offset 9, -8
- 148 .cfi_offset 14, -4
- 149 0004 83B0 sub sp, sp, #12
- 150 .LCFI3:
- 151 .cfi_def_cfa_offset 40
- 152 0006 0446 mov r4, r0
- 153 0008 0F46 mov r7, r1
- 154 000a 1646 mov r6, r2
- 155 000c 1D46 mov r5, r3
-3521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** tmp_tickstart = HAL_GetTick();
- 156 .loc 1 3521 0
- 157 000e FFF7FEFF bl HAL_GetTick
- 158 .LVL3:
- 159 0012 0A9B ldr r3, [sp, #40]
- 160 0014 181A subs r0, r3, r0
- 161 0016 00EB0508 add r8, r0, r5
- 162 .LVL4:
-3522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 163 .loc 1 3522 0
- 164 001a FFF7FEFF bl HAL_GetTick
- 165 .LVL5:
- 166 001e 8146 mov r9, r0
- 167 .LVL6:
-3525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 168 .loc 1 3525 0
- 169 0020 2A4B ldr r3, .L26
- 170 0022 1B68 ldr r3, [r3]
- 171 0024 C3F3CB33 ubfx r3, r3, #15, #12
- 172 0028 03FB08F3 mul r3, r3, r8
- 173 002c 0193 str r3, [sp, #4]
- 174 .LVL7:
- 175 .L12:
-3527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 176 .loc 1 3527 0
- 177 002e 2368 ldr r3, [r4]
- 178 0030 9B68 ldr r3, [r3, #8]
- 179 0032 37EA0303 bics r3, r7, r3
- 180 0036 0CBF ite eq
- 181 0038 0123 moveq r3, #1
- 182 003a 0023 movne r3, #0
- 183 003c B342 cmp r3, r6
- 184 003e 40D0 beq .L23
-3529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 185 .loc 1 3529 0
- 186 0040 B5F1FF3F cmp r5, #-1
-ARM GAS /tmp/ccoPM59V.s page 73
-
-
- 187 0044 F3D0 beq .L12
-3531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 188 .loc 1 3531 0
- 189 0046 FFF7FEFF bl HAL_GetTick
- 190 .LVL8:
- 191 004a A0EB0900 sub r0, r0, r9
- 192 004e 8045 cmp r8, r0
- 193 0050 0AD9 bls .L13
-3531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 194 .loc 1 3531 0 is_stmt 0 discriminator 1
- 195 0052 B8F1000F cmp r8, #0
- 196 0056 07D0 beq .L13
-3561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 197 .loc 1 3561 0 is_stmt 1
- 198 0058 019B ldr r3, [sp, #4]
- 199 005a 0BB9 cbnz r3, .L19
-3563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 200 .loc 1 3563 0
- 201 005c 4FF00008 mov r8, #0
- 202 .LVL9:
- 203 .L19:
-3565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 204 .loc 1 3565 0
- 205 0060 019B ldr r3, [sp, #4]
- 206 0062 013B subs r3, r3, #1
- 207 0064 0193 str r3, [sp, #4]
- 208 0066 E2E7 b .L12
- 209 .L13:
-3538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 210 .loc 1 3538 0
- 211 0068 2268 ldr r2, [r4]
- 212 006a 5368 ldr r3, [r2, #4]
- 213 006c 23F0E003 bic r3, r3, #224
- 214 0070 5360 str r3, [r2, #4]
-3540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** || (hspi->Init.Direction == SPI_DIRECTION_2LIN
- 215 .loc 1 3540 0
- 216 0072 6368 ldr r3, [r4, #4]
- 217 0074 B3F5827F cmp r3, #260
- 218 0078 0BD0 beq .L24
- 219 .L15:
-3548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 220 .loc 1 3548 0
- 221 007a A36A ldr r3, [r4, #40]
- 222 007c B3F5005F cmp r3, #8192
- 223 0080 14D0 beq .L25
- 224 .L17:
-3553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 225 .loc 1 3553 0
- 226 0082 0123 movs r3, #1
- 227 0084 84F85130 strb r3, [r4, #81]
-3556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 228 .loc 1 3556 0
- 229 0088 0023 movs r3, #0
- 230 008a 84F85030 strb r3, [r4, #80]
-3558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 231 .loc 1 3558 0
- 232 008e 0320 movs r0, #3
-ARM GAS /tmp/ccoPM59V.s page 74
-
-
- 233 0090 18E0 b .L18
- 234 .L24:
-3540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** || (hspi->Init.Direction == SPI_DIRECTION_2LIN
- 235 .loc 1 3540 0 discriminator 1
- 236 0092 A368 ldr r3, [r4, #8]
- 237 0094 B3F5004F cmp r3, #32768
- 238 0098 02D0 beq .L16
-3541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 239 .loc 1 3541 0
- 240 009a B3F5806F cmp r3, #1024
- 241 009e ECD1 bne .L15
- 242 .L16:
-3544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 243 .loc 1 3544 0
- 244 00a0 2268 ldr r2, [r4]
- 245 00a2 1368 ldr r3, [r2]
- 246 00a4 23F04003 bic r3, r3, #64
- 247 00a8 1360 str r3, [r2]
- 248 00aa E6E7 b .L15
- 249 .L25:
-3550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 250 .loc 1 3550 0
- 251 00ac 2268 ldr r2, [r4]
- 252 00ae 1368 ldr r3, [r2]
- 253 00b0 23F40053 bic r3, r3, #8192
- 254 00b4 1360 str r3, [r2]
- 255 00b6 2268 ldr r2, [r4]
- 256 00b8 1368 ldr r3, [r2]
- 257 00ba 43F40053 orr r3, r3, #8192
- 258 00be 1360 str r3, [r2]
- 259 00c0 DFE7 b .L17
- 260 .L23:
-3569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 261 .loc 1 3569 0
- 262 00c2 0020 movs r0, #0
- 263 .L18:
-3570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 264 .loc 1 3570 0
- 265 00c4 03B0 add sp, sp, #12
- 266 .LCFI4:
- 267 .cfi_def_cfa_offset 28
- 268 @ sp needed
- 269 00c6 BDE8F083 pop {r4, r5, r6, r7, r8, r9, pc}
- 270 .LVL10:
- 271 .L27:
- 272 00ca 00BF .align 2
- 273 .L26:
- 274 00cc 00000000 .word SystemCoreClock
- 275 .cfi_endproc
- 276 .LFE112:
- 278 .section .text.SPI_EndRxTxTransaction,"ax",%progbits
- 279 .align 1
- 280 .syntax unified
- 281 .thumb
- 282 .thumb_func
- 283 .fpu softvfp
- 285 SPI_EndRxTxTransaction:
-ARM GAS /tmp/ccoPM59V.s page 75
-
-
- 286 .LFB114:
-3618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Control the BSY flag */
- 287 .loc 1 3618 0
- 288 .cfi_startproc
- 289 @ args = 0, pretend = 0, frame = 0
- 290 @ frame_needed = 0, uses_anonymous_args = 0
- 291 .LVL11:
- 292 0000 10B5 push {r4, lr}
- 293 .LCFI5:
- 294 .cfi_def_cfa_offset 8
- 295 .cfi_offset 4, -8
- 296 .cfi_offset 14, -4
- 297 0002 82B0 sub sp, sp, #8
- 298 .LCFI6:
- 299 .cfi_def_cfa_offset 16
- 300 0004 0446 mov r4, r0
-3620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 301 .loc 1 3620 0
- 302 0006 0092 str r2, [sp]
- 303 0008 0B46 mov r3, r1
- 304 000a 0022 movs r2, #0
- 305 .LVL12:
- 306 000c 8021 movs r1, #128
- 307 .LVL13:
- 308 000e FFF7FEFF bl SPI_WaitFlagStateUntilTimeout
- 309 .LVL14:
- 310 0012 0346 mov r3, r0
- 311 0014 20B1 cbz r0, .L29
-3622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return HAL_TIMEOUT;
- 312 .loc 1 3622 0
- 313 0016 636D ldr r3, [r4, #84]
- 314 0018 43F02003 orr r3, r3, #32
- 315 001c 6365 str r3, [r4, #84]
-3623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 316 .loc 1 3623 0
- 317 001e 0323 movs r3, #3
- 318 .L29:
-3626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 319 .loc 1 3626 0
- 320 0020 1846 mov r0, r3
- 321 0022 02B0 add sp, sp, #8
- 322 .LCFI7:
- 323 .cfi_def_cfa_offset 8
- 324 @ sp needed
- 325 0024 10BD pop {r4, pc}
- 326 .cfi_endproc
- 327 .LFE114:
- 329 .section .text.SPI_EndRxTransaction,"ax",%progbits
- 330 .align 1
- 331 .syntax unified
- 332 .thumb
- 333 .thumb_func
- 334 .fpu softvfp
- 336 SPI_EndRxTransaction:
- 337 .LFB113:
-3581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if ((hspi->Init.Mode == SPI_MODE_MASTER) && ((hspi->Init.Direction == SPI_DIRECTION_1LINE)
- 338 .loc 1 3581 0
-ARM GAS /tmp/ccoPM59V.s page 76
-
-
- 339 .cfi_startproc
- 340 @ args = 0, pretend = 0, frame = 0
- 341 @ frame_needed = 0, uses_anonymous_args = 0
- 342 .LVL15:
- 343 0000 10B5 push {r4, lr}
- 344 .LCFI8:
- 345 .cfi_def_cfa_offset 8
- 346 .cfi_offset 4, -8
- 347 .cfi_offset 14, -4
- 348 0002 82B0 sub sp, sp, #8
- 349 .LCFI9:
- 350 .cfi_def_cfa_offset 16
- 351 0004 0446 mov r4, r0
-3582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** || (hspi->Init.Direction == SPI_DIRECTION_2LINES_RXO
- 352 .loc 1 3582 0
- 353 0006 4068 ldr r0, [r0, #4]
- 354 .LVL16:
- 355 0008 B0F5827F cmp r0, #260
- 356 000c 14D0 beq .L37
- 357 .L32:
-3589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 358 .loc 1 3589 0
- 359 000e 6068 ldr r0, [r4, #4]
- 360 0010 B0F5827F cmp r0, #260
- 361 0014 1DD0 beq .L38
- 362 .L34:
-3601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 363 .loc 1 3601 0
- 364 0016 0092 str r2, [sp]
- 365 0018 0B46 mov r3, r1
- 366 001a 0022 movs r2, #0
- 367 .LVL17:
- 368 001c 8021 movs r1, #128
- 369 .LVL18:
- 370 001e 2046 mov r0, r4
- 371 0020 FFF7FEFF bl SPI_WaitFlagStateUntilTimeout
- 372 .LVL19:
- 373 0024 0346 mov r3, r0
- 374 0026 20B1 cbz r0, .L35
-3603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return HAL_TIMEOUT;
- 375 .loc 1 3603 0
- 376 0028 636D ldr r3, [r4, #84]
- 377 002a 43F02003 orr r3, r3, #32
- 378 002e 6365 str r3, [r4, #84]
-3604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 379 .loc 1 3604 0
- 380 0030 0323 movs r3, #3
- 381 .L35:
-3608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 382 .loc 1 3608 0
- 383 0032 1846 mov r0, r3
- 384 0034 02B0 add sp, sp, #8
- 385 .LCFI10:
- 386 .cfi_remember_state
- 387 .cfi_def_cfa_offset 8
- 388 @ sp needed
- 389 0036 10BD pop {r4, pc}
-ARM GAS /tmp/ccoPM59V.s page 77
-
-
- 390 .LVL20:
- 391 .L37:
- 392 .LCFI11:
- 393 .cfi_restore_state
-3582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** || (hspi->Init.Direction == SPI_DIRECTION_2LINES_RXO
- 394 .loc 1 3582 0 discriminator 1
- 395 0038 A368 ldr r3, [r4, #8]
- 396 003a B3F5004F cmp r3, #32768
- 397 003e 02D0 beq .L33
-3583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 398 .loc 1 3583 0
- 399 0040 B3F5806F cmp r3, #1024
- 400 0044 E3D1 bne .L32
- 401 .L33:
-3586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 402 .loc 1 3586 0
- 403 0046 2068 ldr r0, [r4]
- 404 0048 0368 ldr r3, [r0]
- 405 004a 23F04003 bic r3, r3, #64
- 406 004e 0360 str r3, [r0]
- 407 0050 DDE7 b .L32
- 408 .L38:
-3589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 409 .loc 1 3589 0 discriminator 1
- 410 0052 A368 ldr r3, [r4, #8]
- 411 0054 B3F5806F cmp r3, #1024
- 412 0058 DDD1 bne .L34
-3592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 413 .loc 1 3592 0
- 414 005a 0092 str r2, [sp]
- 415 005c 0B46 mov r3, r1
- 416 005e 0022 movs r2, #0
- 417 .LVL21:
- 418 0060 0121 movs r1, #1
- 419 .LVL22:
- 420 0062 2046 mov r0, r4
- 421 0064 FFF7FEFF bl SPI_WaitFlagStateUntilTimeout
- 422 .LVL23:
- 423 0068 0346 mov r3, r0
- 424 006a 0028 cmp r0, #0
- 425 006c E1D0 beq .L35
-3594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return HAL_TIMEOUT;
- 426 .loc 1 3594 0
- 427 006e 636D ldr r3, [r4, #84]
- 428 0070 43F02003 orr r3, r3, #32
- 429 0074 6365 str r3, [r4, #84]
-3595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 430 .loc 1 3595 0
- 431 0076 0323 movs r3, #3
- 432 0078 DBE7 b .L35
- 433 .cfi_endproc
- 434 .LFE113:
- 436 .section .text.HAL_SPI_MspInit,"ax",%progbits
- 437 .align 1
- 438 .weak HAL_SPI_MspInit
- 439 .syntax unified
- 440 .thumb
-ARM GAS /tmp/ccoPM59V.s page 78
-
-
- 441 .thumb_func
- 442 .fpu softvfp
- 444 HAL_SPI_MspInit:
- 445 .LFB67:
- 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Prevent unused argument(s) compilation warning */
- 446 .loc 1 508 0
- 447 .cfi_startproc
- 448 @ args = 0, pretend = 0, frame = 0
- 449 @ frame_needed = 0, uses_anonymous_args = 0
- 450 @ link register save eliminated.
- 451 .LVL24:
- 452 0000 7047 bx lr
- 453 .cfi_endproc
- 454 .LFE67:
- 456 .section .text.HAL_SPI_Init,"ax",%progbits
- 457 .align 1
- 458 .global HAL_SPI_Init
- 459 .syntax unified
- 460 .thumb
- 461 .thumb_func
- 462 .fpu softvfp
- 464 HAL_SPI_Init:
- 465 .LFB65:
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check the SPI handle allocation */
- 466 .loc 1 336 0
- 467 .cfi_startproc
- 468 @ args = 0, pretend = 0, frame = 0
- 469 @ frame_needed = 0, uses_anonymous_args = 0
- 470 .LVL25:
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 471 .loc 1 338 0
- 472 0000 0028 cmp r0, #0
- 473 0002 56D0 beq .L45
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check the SPI handle allocation */
- 474 .loc 1 336 0
- 475 0004 10B5 push {r4, lr}
- 476 .LCFI12:
- 477 .cfi_def_cfa_offset 8
- 478 .cfi_offset 4, -8
- 479 .cfi_offset 14, -4
- 480 0006 0446 mov r4, r0
- 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 481 .loc 1 354 0
- 482 0008 436A ldr r3, [r0, #36]
- 483 000a 33B9 cbnz r3, .L42
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 484 .loc 1 359 0
- 485 000c 4368 ldr r3, [r0, #4]
- 486 000e B3F5827F cmp r3, #260
- 487 0012 05D0 beq .L43
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 488 .loc 1 366 0
- 489 0014 0023 movs r3, #0
- 490 0016 C361 str r3, [r0, #28]
- 491 0018 02E0 b .L43
- 492 .L42:
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->Init.CLKPhase = SPI_PHASE_1EDGE;
-ARM GAS /tmp/ccoPM59V.s page 79
-
-
- 493 .loc 1 374 0
- 494 001a 0023 movs r3, #0
- 495 001c 0361 str r3, [r0, #16]
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 496 .loc 1 375 0
- 497 001e 4361 str r3, [r0, #20]
- 498 .L43:
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_SPI_CRC */
- 499 .loc 1 384 0
- 500 0020 0023 movs r3, #0
- 501 0022 A362 str r3, [r4, #40]
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 502 .loc 1 387 0
- 503 0024 94F85130 ldrb r3, [r4, #81] @ zero_extendqisi2
- 504 0028 002B cmp r3, #0
- 505 002a 3CD0 beq .L50
- 506 .LVL26:
- 507 .L44:
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 508 .loc 1 416 0
- 509 002c 0223 movs r3, #2
- 510 002e 84F85130 strb r3, [r4, #81]
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 511 .loc 1 419 0
- 512 0032 2268 ldr r2, [r4]
- 513 0034 1368 ldr r3, [r2]
- 514 0036 23F04003 bic r3, r3, #64
- 515 003a 1360 str r3, [r2]
- 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (hspi->Init.Direction & (SPI_CR1_RXONLY | SPI_CR1_BIDIMODE)) |
- 516 .loc 1 424 0
- 517 003c 2268 ldr r2, [r4]
- 518 003e 6368 ldr r3, [r4, #4]
- 519 0040 03F48273 and r3, r3, #260
- 520 0044 A168 ldr r1, [r4, #8]
- 521 0046 01F40441 and r1, r1, #33792
- 522 004a 0B43 orrs r3, r3, r1
- 523 004c E168 ldr r1, [r4, #12]
- 524 004e 01F40061 and r1, r1, #2048
- 525 0052 0B43 orrs r3, r3, r1
- 526 0054 2169 ldr r1, [r4, #16]
- 527 0056 01F00201 and r1, r1, #2
- 528 005a 0B43 orrs r3, r3, r1
- 529 005c 6169 ldr r1, [r4, #20]
- 530 005e 01F00101 and r1, r1, #1
- 531 0062 0B43 orrs r3, r3, r1
- 532 0064 A169 ldr r1, [r4, #24]
- 533 0066 01F40071 and r1, r1, #512
- 534 006a 0B43 orrs r3, r3, r1
- 535 006c E169 ldr r1, [r4, #28]
- 536 006e 01F03801 and r1, r1, #56
- 537 0072 0B43 orrs r3, r3, r1
- 538 0074 216A ldr r1, [r4, #32]
- 539 0076 01F08001 and r1, r1, #128
- 540 007a 0B43 orrs r3, r3, r1
- 541 007c A16A ldr r1, [r4, #40]
- 542 007e 01F40051 and r1, r1, #8192
- 543 0082 0B43 orrs r3, r3, r1
-ARM GAS /tmp/ccoPM59V.s page 80
-
-
- 544 0084 1360 str r3, [r2]
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 545 .loc 1 435 0
- 546 0086 2268 ldr r2, [r4]
- 547 0088 638B ldrh r3, [r4, #26]
- 548 008a 03F00403 and r3, r3, #4
- 549 008e 5360 str r3, [r2, #4]
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* SPI_I2SCFGR_I2SMOD */
- 550 .loc 1 448 0
- 551 0090 2268 ldr r2, [r4]
- 552 0092 D369 ldr r3, [r2, #28]
- 553 0094 23F40063 bic r3, r3, #2048
- 554 0098 D361 str r3, [r2, #28]
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
- 555 .loc 1 451 0
- 556 009a 0020 movs r0, #0
- 557 009c 6065 str r0, [r4, #84]
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 558 .loc 1 452 0
- 559 009e 0123 movs r3, #1
- 560 00a0 84F85130 strb r3, [r4, #81]
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 561 .loc 1 454 0
- 562 00a4 10BD pop {r4, pc}
- 563 .LVL27:
- 564 .L50:
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 565 .loc 1 390 0
- 566 00a6 84F85030 strb r3, [r4, #80]
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 567 .loc 1 412 0
- 568 00aa 2046 mov r0, r4
- 569 .LVL28:
- 570 00ac FFF7FEFF bl HAL_SPI_MspInit
- 571 .LVL29:
- 572 00b0 BCE7 b .L44
- 573 .LVL30:
- 574 .L45:
- 575 .LCFI13:
- 576 .cfi_def_cfa_offset 0
- 577 .cfi_restore 4
- 578 .cfi_restore 14
- 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 579 .loc 1 340 0
- 580 00b2 0120 movs r0, #1
- 581 .LVL31:
- 582 00b4 7047 bx lr
- 583 .cfi_endproc
- 584 .LFE65:
- 586 .section .text.HAL_SPI_MspDeInit,"ax",%progbits
- 587 .align 1
- 588 .weak HAL_SPI_MspDeInit
- 589 .syntax unified
- 590 .thumb
- 591 .thumb_func
- 592 .fpu softvfp
- 594 HAL_SPI_MspDeInit:
-ARM GAS /tmp/ccoPM59V.s page 81
-
-
- 595 .LFB68:
- 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Prevent unused argument(s) compilation warning */
- 596 .loc 1 524 0
- 597 .cfi_startproc
- 598 @ args = 0, pretend = 0, frame = 0
- 599 @ frame_needed = 0, uses_anonymous_args = 0
- 600 @ link register save eliminated.
- 601 .LVL32:
- 602 0000 7047 bx lr
- 603 .cfi_endproc
- 604 .LFE68:
- 606 .section .text.HAL_SPI_DeInit,"ax",%progbits
- 607 .align 1
- 608 .global HAL_SPI_DeInit
- 609 .syntax unified
- 610 .thumb
- 611 .thumb_func
- 612 .fpu softvfp
- 614 HAL_SPI_DeInit:
- 615 .LFB66:
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check the SPI handle allocation */
- 616 .loc 1 464 0
- 617 .cfi_startproc
- 618 @ args = 0, pretend = 0, frame = 0
- 619 @ frame_needed = 0, uses_anonymous_args = 0
- 620 .LVL33:
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 621 .loc 1 466 0
- 622 0000 90B1 cbz r0, .L54
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Check the SPI handle allocation */
- 623 .loc 1 464 0
- 624 0002 10B5 push {r4, lr}
- 625 .LCFI14:
- 626 .cfi_def_cfa_offset 8
- 627 .cfi_offset 4, -8
- 628 .cfi_offset 14, -4
- 629 0004 0446 mov r4, r0
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 630 .loc 1 474 0
- 631 0006 0223 movs r3, #2
- 632 0008 80F85130 strb r3, [r0, #81]
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 633 .loc 1 477 0
- 634 000c 0268 ldr r2, [r0]
- 635 000e 1368 ldr r3, [r2]
- 636 0010 23F04003 bic r3, r3, #64
- 637 0014 1360 str r3, [r2]
- 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 638 .loc 1 489 0
- 639 0016 FFF7FEFF bl HAL_SPI_MspDeInit
- 640 .LVL34:
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_RESET;
- 641 .loc 1 492 0
- 642 001a 0020 movs r0, #0
- 643 001c 6065 str r0, [r4, #84]
- 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 644 .loc 1 493 0
-ARM GAS /tmp/ccoPM59V.s page 82
-
-
- 645 001e 84F85100 strb r0, [r4, #81]
- 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 646 .loc 1 496 0
- 647 0022 84F85000 strb r0, [r4, #80]
- 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 648 .loc 1 498 0
- 649 0026 10BD pop {r4, pc}
- 650 .LVL35:
- 651 .L54:
- 652 .LCFI15:
- 653 .cfi_def_cfa_offset 0
- 654 .cfi_restore 4
- 655 .cfi_restore 14
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 656 .loc 1 468 0
- 657 0028 0120 movs r0, #1
- 658 .LVL36:
- 659 002a 7047 bx lr
- 660 .cfi_endproc
- 661 .LFE66:
- 663 .section .text.HAL_SPI_Transmit,"ax",%progbits
- 664 .align 1
- 665 .global HAL_SPI_Transmit
- 666 .syntax unified
- 667 .thumb
- 668 .thumb_func
- 669 .fpu softvfp
- 671 HAL_SPI_Transmit:
- 672 .LFB69:
- 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t tickstart;
- 673 .loc 1 796 0
- 674 .cfi_startproc
- 675 @ args = 0, pretend = 0, frame = 8
- 676 @ frame_needed = 0, uses_anonymous_args = 0
- 677 .LVL37:
- 678 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr}
- 679 .LCFI16:
- 680 .cfi_def_cfa_offset 24
- 681 .cfi_offset 4, -24
- 682 .cfi_offset 5, -20
- 683 .cfi_offset 6, -16
- 684 .cfi_offset 7, -12
- 685 .cfi_offset 8, -8
- 686 .cfi_offset 14, -4
- 687 0004 82B0 sub sp, sp, #8
- 688 .LCFI17:
- 689 .cfi_def_cfa_offset 32
- 690 .LVL38:
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 691 .loc 1 805 0
- 692 0006 90F85040 ldrb r4, [r0, #80] @ zero_extendqisi2
- 693 000a 012C cmp r4, #1
- 694 000c 03D1 bne .L92
- 695 000e 0220 movs r0, #2
- 696 .LVL39:
- 697 .L60:
- 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-ARM GAS /tmp/ccoPM59V.s page 83
-
-
- 698 .loc 1 949 0
- 699 0010 02B0 add sp, sp, #8
- 700 .LCFI18:
- 701 .cfi_remember_state
- 702 .cfi_def_cfa_offset 24
- 703 @ sp needed
- 704 0012 BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 705 .LVL40:
- 706 .L92:
- 707 .LCFI19:
- 708 .cfi_restore_state
- 709 0016 1D46 mov r5, r3
- 710 0018 1746 mov r7, r2
- 711 001a 8846 mov r8, r1
- 712 001c 0446 mov r4, r0
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 713 .loc 1 805 0 discriminator 2
- 714 001e 0123 movs r3, #1
- 715 .LVL41:
- 716 0020 80F85030 strb r3, [r0, #80]
- 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** initial_TxXferCount = Size;
- 717 .loc 1 808 0 discriminator 2
- 718 0024 FFF7FEFF bl HAL_GetTick
- 719 .LVL42:
- 720 0028 0646 mov r6, r0
- 721 .LVL43:
- 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 722 .loc 1 811 0 discriminator 2
- 723 002a 94F85130 ldrb r3, [r4, #81] @ zero_extendqisi2
- 724 002e DBB2 uxtb r3, r3
- 725 0030 012B cmp r3, #1
- 726 0032 07D0 beq .L93
- 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 727 .loc 1 813 0
- 728 0034 0220 movs r0, #2
- 729 .LVL44:
- 730 .L61:
- 945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process Unlocked */
- 731 .loc 1 945 0
- 732 0036 0123 movs r3, #1
- 733 0038 84F85130 strb r3, [r4, #81]
- 947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return errorcode;
- 734 .loc 1 947 0
- 735 003c 0023 movs r3, #0
- 736 003e 84F85030 strb r3, [r4, #80]
- 948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 737 .loc 1 948 0
- 738 0042 E5E7 b .L60
- 739 .LVL45:
- 740 .L93:
- 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 741 .loc 1 817 0
- 742 0044 B8F1000F cmp r8, #0
- 743 0048 00F0A180 beq .L84
- 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 744 .loc 1 817 0 is_stmt 0 discriminator 1
- 745 004c 002F cmp r7, #0
-ARM GAS /tmp/ccoPM59V.s page 84
-
-
- 746 004e 00F0A080 beq .L85
- 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_NONE;
- 747 .loc 1 824 0 is_stmt 1
- 748 0052 0323 movs r3, #3
- 749 0054 84F85130 strb r3, [r4, #81]
- 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr = (uint8_t *)pData;
- 750 .loc 1 825 0
- 751 0058 0023 movs r3, #0
- 752 005a 6365 str r3, [r4, #84]
- 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferSize = Size;
- 753 .loc 1 826 0
- 754 005c C4F83080 str r8, [r4, #48]
- 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = Size;
- 755 .loc 1 827 0
- 756 0060 A786 strh r7, [r4, #52] @ movhi
- 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 757 .loc 1 828 0
- 758 0062 E786 strh r7, [r4, #54] @ movhi
- 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferSize = 0U;
- 759 .loc 1 831 0
- 760 0064 A363 str r3, [r4, #56]
- 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = 0U;
- 761 .loc 1 832 0
- 762 0066 A387 strh r3, [r4, #60] @ movhi
- 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxISR = NULL;
- 763 .loc 1 833 0
- 764 0068 E387 strh r3, [r4, #62] @ movhi
- 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxISR = NULL;
- 765 .loc 1 834 0
- 766 006a 6364 str r3, [r4, #68]
- 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 767 .loc 1 835 0
- 768 006c 2364 str r3, [r4, #64]
- 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 769 .loc 1 838 0
- 770 006e A368 ldr r3, [r4, #8]
- 771 0070 B3F5004F cmp r3, #32768
- 772 0074 1DD0 beq .L94
- 773 .L62:
- 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 774 .loc 1 854 0
- 775 0076 2368 ldr r3, [r4]
- 776 0078 1A68 ldr r2, [r3]
- 777 007a 12F0400F tst r2, #64
- 778 007e 03D1 bne .L63
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 779 .loc 1 857 0
- 780 0080 1A68 ldr r2, [r3]
- 781 0082 42F04002 orr r2, r2, #64
- 782 0086 1A60 str r2, [r3]
- 783 .L63:
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 784 .loc 1 861 0
- 785 0088 E368 ldr r3, [r4, #12]
- 786 008a B3F5006F cmp r3, #2048
- 787 008e 1BD0 beq .L95
- 893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-ARM GAS /tmp/ccoPM59V.s page 85
-
-
- 788 .loc 1 893 0
- 789 0090 6368 ldr r3, [r4, #4]
- 790 0092 0BB1 cbz r3, .L73
- 893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 791 .loc 1 893 0 is_stmt 0 discriminator 1
- 792 0094 012F cmp r7, #1
- 793 0096 51D1 bne .L75
- 794 .L73:
- 895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr += sizeof(uint8_t);
- 795 .loc 1 895 0 is_stmt 1
- 796 0098 2368 ldr r3, [r4]
- 797 009a 226B ldr r2, [r4, #48]
- 798 009c 1278 ldrb r2, [r2] @ zero_extendqisi2
- 799 009e 1A73 strb r2, [r3, #12]
- 896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount--;
- 800 .loc 1 896 0
- 801 00a0 236B ldr r3, [r4, #48]
- 802 00a2 0133 adds r3, r3, #1
- 803 00a4 2363 str r3, [r4, #48]
- 897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 804 .loc 1 897 0
- 805 00a6 E38E ldrh r3, [r4, #54]
- 806 00a8 9BB2 uxth r3, r3
- 807 00aa 013B subs r3, r3, #1
- 808 00ac 9BB2 uxth r3, r3
- 809 00ae E386 strh r3, [r4, #54] @ movhi
- 810 00b0 44E0 b .L75
- 811 .L94:
- 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_1LINE_TX(hspi);
- 812 .loc 1 841 0
- 813 00b2 2268 ldr r2, [r4]
- 814 00b4 1368 ldr r3, [r2]
- 815 00b6 23F04003 bic r3, r3, #64
- 816 00ba 1360 str r3, [r2]
- 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 817 .loc 1 842 0
- 818 00bc 2268 ldr r2, [r4]
- 819 00be 1368 ldr r3, [r2]
- 820 00c0 43F48043 orr r3, r3, #16384
- 821 00c4 1360 str r3, [r2]
- 822 00c6 D6E7 b .L62
- 823 .L95:
- 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 824 .loc 1 863 0
- 825 00c8 6368 ldr r3, [r4, #4]
- 826 00ca 0BB1 cbz r3, .L65
- 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 827 .loc 1 863 0 is_stmt 0 discriminator 1
- 828 00cc 012F cmp r7, #1
- 829 00ce 16D1 bne .L67
- 830 .L65:
- 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr += sizeof(uint16_t);
- 831 .loc 1 865 0 is_stmt 1
- 832 00d0 2368 ldr r3, [r4]
- 833 00d2 226B ldr r2, [r4, #48]
- 834 00d4 1288 ldrh r2, [r2]
- 835 00d6 DA60 str r2, [r3, #12]
-ARM GAS /tmp/ccoPM59V.s page 86
-
-
- 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount--;
- 836 .loc 1 866 0
- 837 00d8 236B ldr r3, [r4, #48]
- 838 00da 0233 adds r3, r3, #2
- 839 00dc 2363 str r3, [r4, #48]
- 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 840 .loc 1 867 0
- 841 00de E38E ldrh r3, [r4, #54]
- 842 00e0 9BB2 uxth r3, r3
- 843 00e2 013B subs r3, r3, #1
- 844 00e4 9BB2 uxth r3, r3
- 845 00e6 E386 strh r3, [r4, #54] @ movhi
- 846 00e8 09E0 b .L67
- 847 .LVL46:
- 848 .L68:
- 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 849 .loc 1 882 0
- 850 00ea FFF7FEFF bl HAL_GetTick
- 851 .LVL47:
- 852 00ee 801B subs r0, r0, r6
- 853 00f0 A842 cmp r0, r5
- 854 00f2 02D3 bcc .L70
- 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 855 .loc 1 882 0 is_stmt 0 discriminator 1
- 856 00f4 B5F1FF3F cmp r5, #-1
- 857 00f8 4DD1 bne .L86
- 858 .L70:
- 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 859 .loc 1 882 0 discriminator 3
- 860 00fa 002D cmp r5, #0
- 861 00fc 4DD0 beq .L87
- 862 .L67:
- 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 863 .loc 1 870 0 is_stmt 1
- 864 00fe E38E ldrh r3, [r4, #54]
- 865 0100 9BB2 uxth r3, r3
- 866 0102 002B cmp r3, #0
- 867 0104 2ED0 beq .L72
- 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 868 .loc 1 873 0
- 869 0106 2368 ldr r3, [r4]
- 870 0108 9A68 ldr r2, [r3, #8]
- 871 010a 12F0020F tst r2, #2
- 872 010e ECD0 beq .L68
- 875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr += sizeof(uint16_t);
- 873 .loc 1 875 0
- 874 0110 226B ldr r2, [r4, #48]
- 875 0112 1288 ldrh r2, [r2]
- 876 0114 DA60 str r2, [r3, #12]
- 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount--;
- 877 .loc 1 876 0
- 878 0116 236B ldr r3, [r4, #48]
- 879 0118 0233 adds r3, r3, #2
- 880 011a 2363 str r3, [r4, #48]
- 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 881 .loc 1 877 0
- 882 011c E38E ldrh r3, [r4, #54]
-ARM GAS /tmp/ccoPM59V.s page 87
-
-
- 883 011e 9BB2 uxth r3, r3
- 884 0120 013B subs r3, r3, #1
- 885 0122 9BB2 uxth r3, r3
- 886 0124 E386 strh r3, [r4, #54] @ movhi
- 887 0126 EAE7 b .L67
- 888 .L76:
- 911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 889 .loc 1 911 0
- 890 0128 FFF7FEFF bl HAL_GetTick
- 891 .LVL48:
- 892 012c 801B subs r0, r0, r6
- 893 012e 8542 cmp r5, r0
- 894 0130 02D8 bhi .L78
- 911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 895 .loc 1 911 0 is_stmt 0 discriminator 1
- 896 0132 B5F1FF3F cmp r5, #-1
- 897 0136 32D1 bne .L88
- 898 .L78:
- 911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 899 .loc 1 911 0 discriminator 3
- 900 0138 002D cmp r5, #0
- 901 013a 32D0 beq .L89
- 902 .L75:
- 899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 903 .loc 1 899 0 is_stmt 1
- 904 013c E28E ldrh r2, [r4, #54]
- 905 013e 92B2 uxth r2, r2
- 906 0140 82B1 cbz r2, .L72
- 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 907 .loc 1 902 0
- 908 0142 2368 ldr r3, [r4]
- 909 0144 9A68 ldr r2, [r3, #8]
- 910 0146 12F0020F tst r2, #2
- 911 014a EDD0 beq .L76
- 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr += sizeof(uint8_t);
- 912 .loc 1 904 0
- 913 014c 226B ldr r2, [r4, #48]
- 914 014e 1278 ldrb r2, [r2] @ zero_extendqisi2
- 915 0150 1A73 strb r2, [r3, #12]
- 905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount--;
- 916 .loc 1 905 0
- 917 0152 236B ldr r3, [r4, #48]
- 918 0154 0133 adds r3, r3, #1
- 919 0156 2363 str r3, [r4, #48]
- 906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 920 .loc 1 906 0
- 921 0158 E28E ldrh r2, [r4, #54]
- 922 015a 92B2 uxth r2, r2
- 923 015c 013A subs r2, r2, #1
- 924 015e 92B2 uxth r2, r2
- 925 0160 E286 strh r2, [r4, #54] @ movhi
- 926 0162 EBE7 b .L75
- 927 .L72:
- 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 928 .loc 1 928 0
- 929 0164 3246 mov r2, r6
- 930 0166 2946 mov r1, r5
-ARM GAS /tmp/ccoPM59V.s page 88
-
-
- 931 0168 2046 mov r0, r4
- 932 016a FFF7FEFF bl SPI_EndRxTxTransaction
- 933 .LVL49:
- 934 016e 08B1 cbz r0, .L80
- 930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 935 .loc 1 930 0
- 936 0170 2023 movs r3, #32
- 937 0172 6365 str r3, [r4, #84]
- 938 .L80:
- 934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 939 .loc 1 934 0
- 940 0174 A368 ldr r3, [r4, #8]
- 941 0176 33B9 cbnz r3, .L81
- 942 .LBB2:
- 936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 943 .loc 1 936 0
- 944 0178 0193 str r3, [sp, #4]
- 945 017a 2368 ldr r3, [r4]
- 946 017c DA68 ldr r2, [r3, #12]
- 947 017e 0192 str r2, [sp, #4]
- 948 0180 9B68 ldr r3, [r3, #8]
- 949 0182 0193 str r3, [sp, #4]
- 950 0184 019B ldr r3, [sp, #4]
- 951 .L81:
- 952 .LBE2:
- 939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 953 .loc 1 939 0
- 954 0186 636D ldr r3, [r4, #84]
- 955 0188 6BB9 cbnz r3, .L90
- 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint16_t initial_TxXferCount;
- 956 .loc 1 798 0
- 957 018a 0020 movs r0, #0
- 958 018c 53E7 b .L61
- 959 .LVL50:
- 960 .L84:
- 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 961 .loc 1 819 0
- 962 018e 0120 movs r0, #1
- 963 .LVL51:
- 964 0190 51E7 b .L61
- 965 .LVL52:
- 966 .L85:
- 967 0192 0120 movs r0, #1
- 968 .LVL53:
- 969 0194 4FE7 b .L61
- 970 .L86:
- 884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 971 .loc 1 884 0
- 972 0196 0320 movs r0, #3
- 973 0198 4DE7 b .L61
- 974 .L87:
- 975 019a 0320 movs r0, #3
- 976 019c 4BE7 b .L61
- 977 .L88:
- 913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 978 .loc 1 913 0
- 979 019e 0320 movs r0, #3
-ARM GAS /tmp/ccoPM59V.s page 89
-
-
- 980 01a0 49E7 b .L61
- 981 .L89:
- 982 01a2 0320 movs r0, #3
- 983 01a4 47E7 b .L61
- 984 .L90:
- 941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 985 .loc 1 941 0
- 986 01a6 0120 movs r0, #1
- 987 01a8 45E7 b .L61
- 988 .cfi_endproc
- 989 .LFE69:
- 991 .section .text.HAL_SPI_TransmitReceive,"ax",%progbits
- 992 .align 1
- 993 .global HAL_SPI_TransmitReceive
- 994 .syntax unified
- 995 .thumb
- 996 .thumb_func
- 997 .fpu softvfp
- 999 HAL_SPI_TransmitReceive:
- 1000 .LFB71:
-1171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint16_t initial_TxXferCount;
- 1001 .loc 1 1171 0
- 1002 .cfi_startproc
- 1003 @ args = 4, pretend = 0, frame = 8
- 1004 @ frame_needed = 0, uses_anonymous_args = 0
- 1005 .LVL54:
- 1006 0000 2DE9F043 push {r4, r5, r6, r7, r8, r9, lr}
- 1007 .LCFI20:
- 1008 .cfi_def_cfa_offset 28
- 1009 .cfi_offset 4, -28
- 1010 .cfi_offset 5, -24
- 1011 .cfi_offset 6, -20
- 1012 .cfi_offset 7, -16
- 1013 .cfi_offset 8, -12
- 1014 .cfi_offset 9, -8
- 1015 .cfi_offset 14, -4
- 1016 0004 83B0 sub sp, sp, #12
- 1017 .LCFI21:
- 1018 .cfi_def_cfa_offset 40
- 1019 0006 0A9D ldr r5, [sp, #40]
- 1020 .LVL55:
-1185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1021 .loc 1 1185 0
- 1022 0008 90F85040 ldrb r4, [r0, #80] @ zero_extendqisi2
- 1023 000c 012C cmp r4, #1
- 1024 000e 04D1 bne .L129
- 1025 0010 0223 movs r3, #2
- 1026 .LVL56:
- 1027 .L97:
-1387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1028 .loc 1 1387 0
- 1029 0012 1846 mov r0, r3
- 1030 0014 03B0 add sp, sp, #12
- 1031 .LCFI22:
- 1032 .cfi_remember_state
- 1033 .cfi_def_cfa_offset 28
- 1034 @ sp needed
-ARM GAS /tmp/ccoPM59V.s page 90
-
-
- 1035 0016 BDE8F083 pop {r4, r5, r6, r7, r8, r9, pc}
- 1036 .LVL57:
- 1037 .L129:
- 1038 .LCFI23:
- 1039 .cfi_restore_state
- 1040 001a 1E46 mov r6, r3
- 1041 001c 9046 mov r8, r2
- 1042 001e 0F46 mov r7, r1
- 1043 0020 0446 mov r4, r0
-1185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1044 .loc 1 1185 0 discriminator 2
- 1045 0022 0123 movs r3, #1
- 1046 .LVL58:
- 1047 0024 80F85030 strb r3, [r0, #80]
-1188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1048 .loc 1 1188 0 discriminator 2
- 1049 0028 FFF7FEFF bl HAL_GetTick
- 1050 .LVL59:
- 1051 002c 8146 mov r9, r0
- 1052 .LVL60:
-1191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** tmp_mode = hspi->Init.Mode;
- 1053 .loc 1 1191 0 discriminator 2
- 1054 002e 94F85130 ldrb r3, [r4, #81] @ zero_extendqisi2
- 1055 0032 DBB2 uxtb r3, r3
- 1056 .LVL61:
-1192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** initial_TxXferCount = Size;
- 1057 .loc 1 1192 0 discriminator 2
- 1058 0034 6268 ldr r2, [r4, #4]
- 1059 .LVL62:
-1195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** ((tmp_mode == SPI_MODE_MASTER) && (hspi->Init.Direction == SPI_DIRECTION_2LINES) && (tmp_st
- 1060 .loc 1 1195 0 discriminator 2
- 1061 0036 012B cmp r3, #1
- 1062 0038 12D0 beq .L98
-1195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** ((tmp_mode == SPI_MODE_MASTER) && (hspi->Init.Direction == SPI_DIRECTION_2LINES) && (tmp_st
- 1063 .loc 1 1195 0 is_stmt 0 discriminator 1
- 1064 003a B2F5827F cmp r2, #260
- 1065 003e 07D0 beq .L130
-1198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 1066 .loc 1 1198 0 is_stmt 1
- 1067 0040 0223 movs r3, #2
- 1068 .LVL63:
- 1069 .L99:
-1384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_UNLOCK(hspi);
- 1070 .loc 1 1384 0
- 1071 0042 0122 movs r2, #1
- 1072 0044 84F85120 strb r2, [r4, #81]
-1385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return errorcode;
- 1073 .loc 1 1385 0
- 1074 0048 0022 movs r2, #0
- 1075 004a 84F85020 strb r2, [r4, #80]
-1386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1076 .loc 1 1386 0
- 1077 004e E0E7 b .L97
- 1078 .LVL64:
- 1079 .L130:
-1196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1080 .loc 1 1196 0
-ARM GAS /tmp/ccoPM59V.s page 91
-
-
- 1081 0050 A268 ldr r2, [r4, #8]
- 1082 .LVL65:
- 1083 0052 002A cmp r2, #0
- 1084 0054 40F0E280 bne .L120
-1196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1085 .loc 1 1196 0 is_stmt 0 discriminator 1
- 1086 0058 042B cmp r3, #4
- 1087 005a 01D0 beq .L98
-1198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 1088 .loc 1 1198 0 is_stmt 1
- 1089 005c 0223 movs r3, #2
- 1090 .LVL66:
- 1091 005e F0E7 b .L99
- 1092 .LVL67:
- 1093 .L98:
-1202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1094 .loc 1 1202 0
- 1095 0060 002F cmp r7, #0
- 1096 0062 00F0DD80 beq .L122
-1202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1097 .loc 1 1202 0 is_stmt 0 discriminator 1
- 1098 0066 B8F1000F cmp r8, #0
- 1099 006a 00F0DB80 beq .L123
-1202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1100 .loc 1 1202 0 discriminator 2
- 1101 006e 002E cmp r6, #0
- 1102 0070 00F0DA80 beq .L124
-1209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1103 .loc 1 1209 0 is_stmt 1
- 1104 0074 94F85130 ldrb r3, [r4, #81] @ zero_extendqisi2
- 1105 .LVL68:
- 1106 0078 DBB2 uxtb r3, r3
- 1107 007a 042B cmp r3, #4
- 1108 007c 02D0 beq .L100
-1211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1109 .loc 1 1211 0
- 1110 007e 0523 movs r3, #5
- 1111 0080 84F85130 strb r3, [r4, #81]
- 1112 .L100:
-1215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr = (uint8_t *)pRxData;
- 1113 .loc 1 1215 0
- 1114 0084 0023 movs r3, #0
- 1115 0086 6365 str r3, [r4, #84]
-1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = Size;
- 1116 .loc 1 1216 0
- 1117 0088 C4F83880 str r8, [r4, #56]
-1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferSize = Size;
- 1118 .loc 1 1217 0
- 1119 008c E687 strh r6, [r4, #62] @ movhi
-1218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr = (uint8_t *)pTxData;
- 1120 .loc 1 1218 0
- 1121 008e A687 strh r6, [r4, #60] @ movhi
-1219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = Size;
- 1122 .loc 1 1219 0
- 1123 0090 2763 str r7, [r4, #48]
-1220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferSize = Size;
- 1124 .loc 1 1220 0
-ARM GAS /tmp/ccoPM59V.s page 92
-
-
- 1125 0092 E686 strh r6, [r4, #54] @ movhi
-1221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1126 .loc 1 1221 0
- 1127 0094 A686 strh r6, [r4, #52] @ movhi
-1224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxISR = NULL;
- 1128 .loc 1 1224 0
- 1129 0096 2364 str r3, [r4, #64]
-1225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1130 .loc 1 1225 0
- 1131 0098 6364 str r3, [r4, #68]
-1236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1132 .loc 1 1236 0
- 1133 009a 2368 ldr r3, [r4]
- 1134 009c 1A68 ldr r2, [r3]
- 1135 009e 12F0400F tst r2, #64
- 1136 00a2 03D1 bne .L101
-1239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1137 .loc 1 1239 0
- 1138 00a4 1A68 ldr r2, [r3]
- 1139 00a6 42F04002 orr r2, r2, #64
- 1140 00aa 1A60 str r2, [r3]
- 1141 .LVL69:
- 1142 .L101:
-1243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1143 .loc 1 1243 0
- 1144 00ac E368 ldr r3, [r4, #12]
- 1145 00ae B3F5006F cmp r3, #2048
- 1146 00b2 11D0 beq .L131
-1290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1147 .loc 1 1290 0
- 1148 00b4 6368 ldr r3, [r4, #4]
- 1149 00b6 0BB1 cbz r3, .L110
-1290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1150 .loc 1 1290 0 is_stmt 0 discriminator 1
- 1151 00b8 012E cmp r6, #1
- 1152 00ba 0BD1 bne .L111
- 1153 .L110:
-1292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr += sizeof(uint8_t);
- 1154 .loc 1 1292 0 is_stmt 1
- 1155 00bc 2368 ldr r3, [r4]
- 1156 00be 226B ldr r2, [r4, #48]
- 1157 00c0 1278 ldrb r2, [r2] @ zero_extendqisi2
- 1158 00c2 1A73 strb r2, [r3, #12]
-1293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount--;
- 1159 .loc 1 1293 0
- 1160 00c4 236B ldr r3, [r4, #48]
- 1161 00c6 0133 adds r3, r3, #1
- 1162 00c8 2363 str r3, [r4, #48]
-1294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1163 .loc 1 1294 0
- 1164 00ca E38E ldrh r3, [r4, #54]
- 1165 00cc 9BB2 uxth r3, r3
- 1166 00ce 013B subs r3, r3, #1
- 1167 00d0 9BB2 uxth r3, r3
- 1168 00d2 E386 strh r3, [r4, #54] @ movhi
- 1169 .L111:
-1323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
-ARM GAS /tmp/ccoPM59V.s page 93
-
-
- 1170 .loc 1 1323 0
- 1171 00d4 0126 movs r6, #1
- 1172 .LVL70:
- 1173 00d6 6CE0 b .L115
- 1174 .LVL71:
- 1175 .L131:
-1245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1176 .loc 1 1245 0
- 1177 00d8 6368 ldr r3, [r4, #4]
- 1178 00da 0BB1 cbz r3, .L103
-1245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1179 .loc 1 1245 0 is_stmt 0 discriminator 1
- 1180 00dc 012E cmp r6, #1
- 1181 00de 0BD1 bne .L104
- 1182 .L103:
-1247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr += sizeof(uint16_t);
- 1183 .loc 1 1247 0 is_stmt 1
- 1184 00e0 2368 ldr r3, [r4]
- 1185 00e2 226B ldr r2, [r4, #48]
- 1186 00e4 1288 ldrh r2, [r2]
- 1187 00e6 DA60 str r2, [r3, #12]
-1248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount--;
- 1188 .loc 1 1248 0
- 1189 00e8 236B ldr r3, [r4, #48]
- 1190 00ea 0233 adds r3, r3, #2
- 1191 00ec 2363 str r3, [r4, #48]
-1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1192 .loc 1 1249 0
- 1193 00ee E38E ldrh r3, [r4, #54]
- 1194 00f0 9BB2 uxth r3, r3
- 1195 00f2 013B subs r3, r3, #1
- 1196 00f4 9BB2 uxth r3, r3
- 1197 00f6 E386 strh r3, [r4, #54] @ movhi
- 1198 .L104:
-1278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1199 .loc 1 1278 0
- 1200 00f8 0126 movs r6, #1
- 1201 .LVL72:
- 1202 00fa 1CE0 b .L105
- 1203 .LVL73:
- 1204 .L106:
-1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1205 .loc 1 1272 0
- 1206 00fc 2368 ldr r3, [r4]
- 1207 00fe 9A68 ldr r2, [r3, #8]
- 1208 0100 12F0010F tst r2, #1
- 1209 0104 0ED0 beq .L107
-1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1210 .loc 1 1272 0 is_stmt 0 discriminator 1
- 1211 0106 E28F ldrh r2, [r4, #62]
- 1212 0108 92B2 uxth r2, r2
- 1213 010a 5AB1 cbz r2, .L107
-1274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr += sizeof(uint16_t);
- 1214 .loc 1 1274 0 is_stmt 1
- 1215 010c A26B ldr r2, [r4, #56]
- 1216 010e DB68 ldr r3, [r3, #12]
- 1217 0110 1380 strh r3, [r2] @ movhi
-ARM GAS /tmp/ccoPM59V.s page 94
-
-
-1275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount--;
- 1218 .loc 1 1275 0
- 1219 0112 A36B ldr r3, [r4, #56]
- 1220 0114 0233 adds r3, r3, #2
- 1221 0116 A363 str r3, [r4, #56]
-1276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Next Data is a Transmission (Tx). Tx is allowed */
- 1222 .loc 1 1276 0
- 1223 0118 E38F ldrh r3, [r4, #62]
- 1224 011a 9BB2 uxth r3, r3
- 1225 011c 013B subs r3, r3, #1
- 1226 011e 9BB2 uxth r3, r3
- 1227 0120 E387 strh r3, [r4, #62] @ movhi
- 1228 .LVL74:
-1278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1229 .loc 1 1278 0
- 1230 0122 0126 movs r6, #1
- 1231 .LVL75:
- 1232 .L107:
-1280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1233 .loc 1 1280 0
- 1234 0124 FFF7FEFF bl HAL_GetTick
- 1235 .LVL76:
- 1236 0128 A0EB0900 sub r0, r0, r9
- 1237 012c A842 cmp r0, r5
- 1238 012e 02D3 bcc .L105
-1280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1239 .loc 1 1280 0 is_stmt 0 discriminator 1
- 1240 0130 B5F1FF3F cmp r5, #-1
- 1241 0134 7AD1 bne .L125
- 1242 .LVL77:
- 1243 .L105:
-1251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1244 .loc 1 1251 0 is_stmt 1
- 1245 0136 E38E ldrh r3, [r4, #54]
- 1246 0138 9BB2 uxth r3, r3
- 1247 013a 1BB9 cbnz r3, .L108
-1251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1248 .loc 1 1251 0 is_stmt 0 discriminator 1
- 1249 013c E38F ldrh r3, [r4, #62]
- 1250 013e 9BB2 uxth r3, r3
- 1251 0140 002B cmp r3, #0
- 1252 0142 54D0 beq .L109
- 1253 .L108:
-1254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1254 .loc 1 1254 0 is_stmt 1
- 1255 0144 2368 ldr r3, [r4]
- 1256 0146 9A68 ldr r2, [r3, #8]
- 1257 0148 12F0020F tst r2, #2
- 1258 014c D6D0 beq .L106
-1254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1259 .loc 1 1254 0 is_stmt 0 discriminator 1
- 1260 014e E28E ldrh r2, [r4, #54]
- 1261 0150 92B2 uxth r2, r2
- 1262 0152 002A cmp r2, #0
- 1263 0154 D2D0 beq .L106
-1254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1264 .loc 1 1254 0 discriminator 2
-ARM GAS /tmp/ccoPM59V.s page 95
-
-
- 1265 0156 002E cmp r6, #0
- 1266 0158 D0D0 beq .L106
-1256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr += sizeof(uint16_t);
- 1267 .loc 1 1256 0 is_stmt 1
- 1268 015a 226B ldr r2, [r4, #48]
- 1269 015c 1288 ldrh r2, [r2]
- 1270 015e DA60 str r2, [r3, #12]
-1257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount--;
- 1271 .loc 1 1257 0
- 1272 0160 236B ldr r3, [r4, #48]
- 1273 0162 0233 adds r3, r3, #2
- 1274 0164 2363 str r3, [r4, #48]
-1258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Next Data is a reception (Rx). Tx not allowed */
- 1275 .loc 1 1258 0
- 1276 0166 E38E ldrh r3, [r4, #54]
- 1277 0168 9BB2 uxth r3, r3
- 1278 016a 013B subs r3, r3, #1
- 1279 016c 9BB2 uxth r3, r3
- 1280 016e E386 strh r3, [r4, #54] @ movhi
- 1281 .LVL78:
-1260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1282 .loc 1 1260 0
- 1283 0170 0026 movs r6, #0
- 1284 0172 C3E7 b .L106
- 1285 .LVL79:
- 1286 .L112:
-1317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1287 .loc 1 1317 0
- 1288 0174 2368 ldr r3, [r4]
- 1289 0176 9A68 ldr r2, [r3, #8]
- 1290 0178 12F0010F tst r2, #1
- 1291 017c 0ED0 beq .L113
-1317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1292 .loc 1 1317 0 is_stmt 0 discriminator 1
- 1293 017e E28F ldrh r2, [r4, #62]
- 1294 0180 92B2 uxth r2, r2
- 1295 0182 5AB1 cbz r2, .L113
-1319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr++;
- 1296 .loc 1 1319 0 is_stmt 1
- 1297 0184 A26B ldr r2, [r4, #56]
- 1298 0186 DB68 ldr r3, [r3, #12]
- 1299 0188 1370 strb r3, [r2]
-1320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount--;
- 1300 .loc 1 1320 0
- 1301 018a A36B ldr r3, [r4, #56]
- 1302 018c 0133 adds r3, r3, #1
- 1303 018e A363 str r3, [r4, #56]
-1321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Next Data is a Transmission (Tx). Tx is allowed */
- 1304 .loc 1 1321 0
- 1305 0190 E38F ldrh r3, [r4, #62]
- 1306 0192 9BB2 uxth r3, r3
- 1307 0194 013B subs r3, r3, #1
- 1308 0196 9BB2 uxth r3, r3
- 1309 0198 E387 strh r3, [r4, #62] @ movhi
- 1310 .LVL80:
-1323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1311 .loc 1 1323 0
-ARM GAS /tmp/ccoPM59V.s page 96
-
-
- 1312 019a 0126 movs r6, #1
- 1313 .LVL81:
- 1314 .L113:
-1325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1315 .loc 1 1325 0
- 1316 019c FFF7FEFF bl HAL_GetTick
- 1317 .LVL82:
- 1318 01a0 A0EB0900 sub r0, r0, r9
- 1319 01a4 8542 cmp r5, r0
- 1320 01a6 02D8 bhi .L114
-1325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1321 .loc 1 1325 0 is_stmt 0 discriminator 1
- 1322 01a8 B5F1FF3F cmp r5, #-1
- 1323 01ac 40D1 bne .L126
- 1324 .L114:
-1325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1325 .loc 1 1325 0 discriminator 3
- 1326 01ae 002D cmp r5, #0
- 1327 01b0 40D0 beq .L132
- 1328 .LVL83:
- 1329 .L115:
-1296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1330 .loc 1 1296 0 is_stmt 1
- 1331 01b2 E38E ldrh r3, [r4, #54]
- 1332 01b4 9BB2 uxth r3, r3
- 1333 01b6 13B9 cbnz r3, .L116
-1296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1334 .loc 1 1296 0 is_stmt 0 discriminator 1
- 1335 01b8 E38F ldrh r3, [r4, #62]
- 1336 01ba 9BB2 uxth r3, r3
- 1337 01bc BBB1 cbz r3, .L109
- 1338 .L116:
-1299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1339 .loc 1 1299 0 is_stmt 1
- 1340 01be 2368 ldr r3, [r4]
- 1341 01c0 9A68 ldr r2, [r3, #8]
- 1342 01c2 12F0020F tst r2, #2
- 1343 01c6 D5D0 beq .L112
-1299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1344 .loc 1 1299 0 is_stmt 0 discriminator 1
- 1345 01c8 E28E ldrh r2, [r4, #54]
- 1346 01ca 92B2 uxth r2, r2
- 1347 01cc 002A cmp r2, #0
- 1348 01ce D1D0 beq .L112
-1299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1349 .loc 1 1299 0 discriminator 2
- 1350 01d0 002E cmp r6, #0
- 1351 01d2 CFD0 beq .L112
-1301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr++;
- 1352 .loc 1 1301 0 is_stmt 1
- 1353 01d4 226B ldr r2, [r4, #48]
- 1354 01d6 1278 ldrb r2, [r2] @ zero_extendqisi2
- 1355 01d8 1A73 strb r2, [r3, #12]
-1302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount--;
- 1356 .loc 1 1302 0
- 1357 01da 236B ldr r3, [r4, #48]
- 1358 01dc 0133 adds r3, r3, #1
-ARM GAS /tmp/ccoPM59V.s page 97
-
-
- 1359 01de 2363 str r3, [r4, #48]
-1303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Next Data is a reception (Rx). Tx not allowed */
- 1360 .loc 1 1303 0
- 1361 01e0 E38E ldrh r3, [r4, #54]
- 1362 01e2 9BB2 uxth r3, r3
- 1363 01e4 013B subs r3, r3, #1
- 1364 01e6 9BB2 uxth r3, r3
- 1365 01e8 E386 strh r3, [r4, #54] @ movhi
- 1366 .LVL84:
-1305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1367 .loc 1 1305 0
- 1368 01ea 0026 movs r6, #0
- 1369 01ec C2E7 b .L112
- 1370 .LVL85:
- 1371 .L109:
-1370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1372 .loc 1 1370 0
- 1373 01ee 4A46 mov r2, r9
- 1374 01f0 2946 mov r1, r5
- 1375 01f2 2046 mov r0, r4
- 1376 01f4 FFF7FEFF bl SPI_EndRxTxTransaction
- 1377 .LVL86:
- 1378 01f8 0346 mov r3, r0
- 1379 01fa 18B1 cbz r0, .L117
- 1380 .LVL87:
-1373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 1381 .loc 1 1373 0
- 1382 01fc 2023 movs r3, #32
- 1383 01fe 6365 str r3, [r4, #84]
-1372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_FLAG;
- 1384 .loc 1 1372 0
- 1385 0200 0123 movs r3, #1
-1374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1386 .loc 1 1374 0
- 1387 0202 1EE7 b .L99
- 1388 .LVL88:
- 1389 .L117:
-1378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1390 .loc 1 1378 0
- 1391 0204 A268 ldr r2, [r4, #8]
- 1392 0206 002A cmp r2, #0
- 1393 0208 7FF41BAF bne .L99
- 1394 .LBB3:
-1380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1395 .loc 1 1380 0
- 1396 020c 0192 str r2, [sp, #4]
- 1397 020e 2268 ldr r2, [r4]
- 1398 0210 D168 ldr r1, [r2, #12]
- 1399 0212 0191 str r1, [sp, #4]
- 1400 0214 9268 ldr r2, [r2, #8]
- 1401 0216 0192 str r2, [sp, #4]
- 1402 0218 019A ldr r2, [sp, #4]
- 1403 021a 12E7 b .L99
- 1404 .LVL89:
- 1405 .L120:
- 1406 .LBE3:
-1198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
-ARM GAS /tmp/ccoPM59V.s page 98
-
-
- 1407 .loc 1 1198 0
- 1408 021c 0223 movs r3, #2
- 1409 .LVL90:
- 1410 021e 10E7 b .L99
- 1411 .LVL91:
- 1412 .L122:
-1204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 1413 .loc 1 1204 0
- 1414 0220 0123 movs r3, #1
- 1415 .LVL92:
- 1416 0222 0EE7 b .L99
- 1417 .LVL93:
- 1418 .L123:
- 1419 0224 0123 movs r3, #1
- 1420 .LVL94:
- 1421 0226 0CE7 b .L99
- 1422 .LVL95:
- 1423 .L124:
- 1424 0228 0123 movs r3, #1
- 1425 .LVL96:
- 1426 022a 0AE7 b .L99
- 1427 .LVL97:
- 1428 .L125:
-1282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 1429 .loc 1 1282 0
- 1430 022c 0323 movs r3, #3
- 1431 022e 08E7 b .L99
- 1432 .L126:
-1327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 1433 .loc 1 1327 0
- 1434 0230 0323 movs r3, #3
- 1435 0232 06E7 b .L99
- 1436 .L132:
- 1437 0234 0323 movs r3, #3
- 1438 0236 04E7 b .L99
- 1439 .cfi_endproc
- 1440 .LFE71:
- 1442 .section .text.HAL_SPI_Receive,"ax",%progbits
- 1443 .align 1
- 1444 .global HAL_SPI_Receive
- 1445 .syntax unified
- 1446 .thumb
- 1447 .thumb_func
- 1448 .fpu softvfp
- 1450 HAL_SPI_Receive:
- 1451 .LFB70:
- 961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t tickstart;
- 1452 .loc 1 961 0
- 1453 .cfi_startproc
- 1454 @ args = 0, pretend = 0, frame = 0
- 1455 @ frame_needed = 0, uses_anonymous_args = 0
- 1456 .LVL98:
- 1457 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr}
- 1458 .LCFI24:
- 1459 .cfi_def_cfa_offset 24
- 1460 .cfi_offset 4, -24
- 1461 .cfi_offset 5, -20
-ARM GAS /tmp/ccoPM59V.s page 99
-
-
- 1462 .cfi_offset 6, -16
- 1463 .cfi_offset 7, -12
- 1464 .cfi_offset 8, -8
- 1465 .cfi_offset 14, -4
- 1466 0004 82B0 sub sp, sp, #8
- 1467 .LCFI25:
- 1468 .cfi_def_cfa_offset 32
- 1469 0006 0446 mov r4, r0
- 1470 0008 0F46 mov r7, r1
- 1471 000a 9046 mov r8, r2
- 1472 000c 1D46 mov r5, r3
- 1473 .LVL99:
- 965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1474 .loc 1 965 0
- 1475 000e 4368 ldr r3, [r0, #4]
- 1476 .LVL100:
- 1477 0010 B3F5827F cmp r3, #260
- 1478 0014 07D0 beq .L161
- 1479 .L134:
- 973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1480 .loc 1 973 0
- 1481 0016 94F85030 ldrb r3, [r4, #80] @ zero_extendqisi2
- 1482 001a 012B cmp r3, #1
- 1483 001c 0FD1 bne .L162
- 1484 001e 0220 movs r0, #2
- 1485 .LVL101:
- 1486 .L135:
-1157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1487 .loc 1 1157 0
- 1488 0020 02B0 add sp, sp, #8
- 1489 .LCFI26:
- 1490 .cfi_remember_state
- 1491 .cfi_def_cfa_offset 24
- 1492 @ sp needed
- 1493 0022 BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 1494 .LVL102:
- 1495 .L161:
- 1496 .LCFI27:
- 1497 .cfi_restore_state
- 965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1498 .loc 1 965 0 discriminator 1
- 1499 0026 8368 ldr r3, [r0, #8]
- 1500 0028 002B cmp r3, #0
- 1501 002a F4D1 bne .L134
- 967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call transmit-receive function to send Dummy data on Tx line and generate clock on CLK line
- 1502 .loc 1 967 0
- 1503 002c 0423 movs r3, #4
- 1504 002e 80F85130 strb r3, [r0, #81]
- 969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1505 .loc 1 969 0
- 1506 0032 0095 str r5, [sp]
- 1507 0034 1346 mov r3, r2
- 1508 0036 0A46 mov r2, r1
- 1509 .LVL103:
- 1510 0038 FFF7FEFF bl HAL_SPI_TransmitReceive
- 1511 .LVL104:
- 1512 003c F0E7 b .L135
-ARM GAS /tmp/ccoPM59V.s page 100
-
-
- 1513 .LVL105:
- 1514 .L162:
- 973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1515 .loc 1 973 0 discriminator 2
- 1516 003e 0123 movs r3, #1
- 1517 0040 84F85030 strb r3, [r4, #80]
- 976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1518 .loc 1 976 0 discriminator 2
- 1519 0044 FFF7FEFF bl HAL_GetTick
- 1520 .LVL106:
- 1521 0048 0646 mov r6, r0
- 1522 .LVL107:
- 978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1523 .loc 1 978 0 discriminator 2
- 1524 004a 94F85130 ldrb r3, [r4, #81] @ zero_extendqisi2
- 1525 004e DBB2 uxtb r3, r3
- 1526 0050 012B cmp r3, #1
- 1527 0052 07D0 beq .L163
- 980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 1528 .loc 1 980 0
- 1529 0054 0220 movs r0, #2
- 1530 .LVL108:
- 1531 .L136:
-1154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_UNLOCK(hspi);
- 1532 .loc 1 1154 0
- 1533 0056 0123 movs r3, #1
- 1534 0058 84F85130 strb r3, [r4, #81]
-1155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return errorcode;
- 1535 .loc 1 1155 0
- 1536 005c 0023 movs r3, #0
- 1537 005e 84F85030 strb r3, [r4, #80]
-1156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1538 .loc 1 1156 0
- 1539 0062 DDE7 b .L135
- 1540 .LVL109:
- 1541 .L163:
- 984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1542 .loc 1 984 0
- 1543 0064 002F cmp r7, #0
- 1544 0066 74D0 beq .L153
- 984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1545 .loc 1 984 0 is_stmt 0 discriminator 1
- 1546 0068 B8F1000F cmp r8, #0
- 1547 006c 73D0 beq .L154
- 991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_NONE;
- 1548 .loc 1 991 0 is_stmt 1
- 1549 006e 0423 movs r3, #4
- 1550 0070 84F85130 strb r3, [r4, #81]
- 992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr = (uint8_t *)pData;
- 1551 .loc 1 992 0
- 1552 0074 0023 movs r3, #0
- 1553 0076 6365 str r3, [r4, #84]
- 993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferSize = Size;
- 1554 .loc 1 993 0
- 1555 0078 A763 str r7, [r4, #56]
- 994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = Size;
- 1556 .loc 1 994 0
-ARM GAS /tmp/ccoPM59V.s page 101
-
-
- 1557 007a A4F83C80 strh r8, [r4, #60] @ movhi
- 995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1558 .loc 1 995 0
- 1559 007e A4F83E80 strh r8, [r4, #62] @ movhi
- 998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferSize = 0U;
- 1560 .loc 1 998 0
- 1561 0082 2363 str r3, [r4, #48]
- 999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = 0U;
- 1562 .loc 1 999 0
- 1563 0084 A386 strh r3, [r4, #52] @ movhi
-1000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxISR = NULL;
- 1564 .loc 1 1000 0
- 1565 0086 E386 strh r3, [r4, #54] @ movhi
-1001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxISR = NULL;
- 1566 .loc 1 1001 0
- 1567 0088 2364 str r3, [r4, #64]
-1002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1568 .loc 1 1002 0
- 1569 008a 6364 str r3, [r4, #68]
-1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1570 .loc 1 1015 0
- 1571 008c A368 ldr r3, [r4, #8]
- 1572 008e B3F5004F cmp r3, #32768
- 1573 0092 0BD0 beq .L164
- 1574 .L137:
-1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1575 .loc 1 1023 0
- 1576 0094 2368 ldr r3, [r4]
- 1577 0096 1A68 ldr r2, [r3]
- 1578 0098 12F0400F tst r2, #64
- 1579 009c 03D1 bne .L138
-1026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1580 .loc 1 1026 0
- 1581 009e 1A68 ldr r2, [r3]
- 1582 00a0 42F04002 orr r2, r2, #64
- 1583 00a4 1A60 str r2, [r3]
- 1584 .L138:
-1030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1585 .loc 1 1030 0
- 1586 00a6 E368 ldr r3, [r4, #12]
- 1587 00a8 ABB1 cbz r3, .L139
- 1588 00aa 32E0 b .L140
- 1589 .L164:
-1018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_1LINE_RX(hspi);
- 1590 .loc 1 1018 0
- 1591 00ac 2268 ldr r2, [r4]
- 1592 00ae 1368 ldr r3, [r2]
- 1593 00b0 23F04003 bic r3, r3, #64
- 1594 00b4 1360 str r3, [r2]
-1019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1595 .loc 1 1019 0
- 1596 00b6 2268 ldr r2, [r4]
- 1597 00b8 1368 ldr r3, [r2]
- 1598 00ba 23F48043 bic r3, r3, #16384
- 1599 00be 1360 str r3, [r2]
- 1600 00c0 E8E7 b .L137
- 1601 .LVL110:
-ARM GAS /tmp/ccoPM59V.s page 102
-
-
- 1602 .L141:
-1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1603 .loc 1 1046 0
- 1604 00c2 FFF7FEFF bl HAL_GetTick
- 1605 .LVL111:
- 1606 00c6 801B subs r0, r0, r6
- 1607 00c8 8542 cmp r5, r0
- 1608 00ca 02D8 bhi .L143
-1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1609 .loc 1 1046 0 is_stmt 0 discriminator 1
- 1610 00cc B5F1FF3F cmp r5, #-1
- 1611 00d0 43D1 bne .L155
- 1612 .L143:
-1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1613 .loc 1 1046 0 discriminator 3
- 1614 00d2 002D cmp r5, #0
- 1615 00d4 43D0 beq .L156
- 1616 .L139:
-1033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1617 .loc 1 1033 0 is_stmt 1
- 1618 00d6 E38F ldrh r3, [r4, #62]
- 1619 00d8 9BB2 uxth r3, r3
- 1620 00da 002B cmp r3, #0
- 1621 00dc 2DD0 beq .L145
-1036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1622 .loc 1 1036 0
- 1623 00de 2368 ldr r3, [r4]
- 1624 00e0 9A68 ldr r2, [r3, #8]
- 1625 00e2 12F0010F tst r2, #1
- 1626 00e6 ECD0 beq .L141
-1039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr += sizeof(uint8_t);
- 1627 .loc 1 1039 0
- 1628 00e8 A26B ldr r2, [r4, #56]
- 1629 00ea 1B7B ldrb r3, [r3, #12] @ zero_extendqisi2
- 1630 00ec 1370 strb r3, [r2]
-1040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount--;
- 1631 .loc 1 1040 0
- 1632 00ee A36B ldr r3, [r4, #56]
- 1633 00f0 0133 adds r3, r3, #1
- 1634 00f2 A363 str r3, [r4, #56]
-1041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1635 .loc 1 1041 0
- 1636 00f4 E38F ldrh r3, [r4, #62]
- 1637 00f6 9BB2 uxth r3, r3
- 1638 00f8 013B subs r3, r3, #1
- 1639 00fa 9BB2 uxth r3, r3
- 1640 00fc E387 strh r3, [r4, #62] @ movhi
- 1641 00fe EAE7 b .L139
- 1642 .L146:
-1069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1643 .loc 1 1069 0
- 1644 0100 FFF7FEFF bl HAL_GetTick
- 1645 .LVL112:
- 1646 0104 801B subs r0, r0, r6
- 1647 0106 8542 cmp r5, r0
- 1648 0108 02D8 bhi .L148
-1069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-ARM GAS /tmp/ccoPM59V.s page 103
-
-
- 1649 .loc 1 1069 0 is_stmt 0 discriminator 1
- 1650 010a B5F1FF3F cmp r5, #-1
- 1651 010e 28D1 bne .L157
- 1652 .L148:
-1069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1653 .loc 1 1069 0 discriminator 3
- 1654 0110 4DB3 cbz r5, .L158
- 1655 .L140:
-1057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1656 .loc 1 1057 0 is_stmt 1
- 1657 0112 E38F ldrh r3, [r4, #62]
- 1658 0114 9BB2 uxth r3, r3
- 1659 0116 83B1 cbz r3, .L145
-1060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1660 .loc 1 1060 0
- 1661 0118 2368 ldr r3, [r4]
- 1662 011a 9A68 ldr r2, [r3, #8]
- 1663 011c 12F0010F tst r2, #1
- 1664 0120 EED0 beq .L146
-1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr += sizeof(uint16_t);
- 1665 .loc 1 1062 0
- 1666 0122 A26B ldr r2, [r4, #56]
- 1667 0124 DB68 ldr r3, [r3, #12]
- 1668 0126 1380 strh r3, [r2] @ movhi
-1063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount--;
- 1669 .loc 1 1063 0
- 1670 0128 A36B ldr r3, [r4, #56]
- 1671 012a 0233 adds r3, r3, #2
- 1672 012c A363 str r3, [r4, #56]
-1064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1673 .loc 1 1064 0
- 1674 012e E38F ldrh r3, [r4, #62]
- 1675 0130 9BB2 uxth r3, r3
- 1676 0132 013B subs r3, r3, #1
- 1677 0134 9BB2 uxth r3, r3
- 1678 0136 E387 strh r3, [r4, #62] @ movhi
- 1679 0138 EBE7 b .L140
- 1680 .L145:
-1124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1681 .loc 1 1124 0
- 1682 013a 3246 mov r2, r6
- 1683 013c 2946 mov r1, r5
- 1684 013e 2046 mov r0, r4
- 1685 0140 FFF7FEFF bl SPI_EndRxTransaction
- 1686 .LVL113:
- 1687 0144 08B1 cbz r0, .L150
-1126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1688 .loc 1 1126 0
- 1689 0146 2023 movs r3, #32
- 1690 0148 6365 str r3, [r4, #84]
- 1691 .L150:
-1148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1692 .loc 1 1148 0
- 1693 014a 636D ldr r3, [r4, #84]
- 1694 014c 6BB9 cbnz r3, .L159
- 963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1695 .loc 1 963 0
-ARM GAS /tmp/ccoPM59V.s page 104
-
-
- 1696 014e 0020 movs r0, #0
- 1697 0150 81E7 b .L136
- 1698 .LVL114:
- 1699 .L153:
- 986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 1700 .loc 1 986 0
- 1701 0152 0120 movs r0, #1
- 1702 .LVL115:
- 1703 0154 7FE7 b .L136
- 1704 .LVL116:
- 1705 .L154:
- 1706 0156 0120 movs r0, #1
- 1707 .LVL117:
- 1708 0158 7DE7 b .L136
- 1709 .L155:
-1048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 1710 .loc 1 1048 0
- 1711 015a 0320 movs r0, #3
- 1712 015c 7BE7 b .L136
- 1713 .L156:
- 1714 015e 0320 movs r0, #3
- 1715 0160 79E7 b .L136
- 1716 .L157:
-1071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 1717 .loc 1 1071 0
- 1718 0162 0320 movs r0, #3
- 1719 0164 77E7 b .L136
- 1720 .L158:
- 1721 0166 0320 movs r0, #3
- 1722 0168 75E7 b .L136
- 1723 .L159:
-1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1724 .loc 1 1150 0
- 1725 016a 0120 movs r0, #1
- 1726 016c 73E7 b .L136
- 1727 .cfi_endproc
- 1728 .LFE70:
- 1730 .section .text.HAL_SPI_Transmit_IT,"ax",%progbits
- 1731 .align 1
- 1732 .global HAL_SPI_Transmit_IT
- 1733 .syntax unified
- 1734 .thumb
- 1735 .thumb_func
- 1736 .fpu softvfp
- 1738 HAL_SPI_Transmit_IT:
- 1739 .LFB72:
-1398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef errorcode = HAL_OK;
- 1740 .loc 1 1398 0
- 1741 .cfi_startproc
- 1742 @ args = 0, pretend = 0, frame = 0
- 1743 @ frame_needed = 0, uses_anonymous_args = 0
- 1744 @ link register save eliminated.
- 1745 .LVL118:
- 1746 0000 0346 mov r3, r0
- 1747 .LVL119:
-1405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1748 .loc 1 1405 0
-ARM GAS /tmp/ccoPM59V.s page 105
-
-
- 1749 0002 90F85000 ldrb r0, [r0, #80] @ zero_extendqisi2
- 1750 .LVL120:
- 1751 0006 0128 cmp r0, #1
- 1752 0008 48D0 beq .L171
-1405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1753 .loc 1 1405 0 is_stmt 0 discriminator 2
- 1754 000a 0120 movs r0, #1
- 1755 000c 83F85000 strb r0, [r3, #80]
-1407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1756 .loc 1 1407 0 is_stmt 1 discriminator 2
- 1757 0010 0029 cmp r1, #0
- 1758 0012 3AD0 beq .L172
-1407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1759 .loc 1 1407 0 is_stmt 0 discriminator 1
- 1760 0014 002A cmp r2, #0
- 1761 0016 3AD0 beq .L173
-1413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1762 .loc 1 1413 0 is_stmt 1
- 1763 0018 93F85100 ldrb r0, [r3, #81] @ zero_extendqisi2
- 1764 001c C0B2 uxtb r0, r0
- 1765 001e 0128 cmp r0, #1
- 1766 0020 01D0 beq .L176
-1415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 1767 .loc 1 1415 0
- 1768 0022 0220 movs r0, #2
- 1769 0024 34E0 b .L167
- 1770 .L176:
-1420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_NONE;
- 1771 .loc 1 1420 0
- 1772 0026 0320 movs r0, #3
- 1773 0028 83F85100 strb r0, [r3, #81]
-1421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr = (uint8_t *)pData;
- 1774 .loc 1 1421 0
- 1775 002c 0020 movs r0, #0
- 1776 002e 5865 str r0, [r3, #84]
-1422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferSize = Size;
- 1777 .loc 1 1422 0
- 1778 0030 1963 str r1, [r3, #48]
-1423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = Size;
- 1779 .loc 1 1423 0
- 1780 0032 9A86 strh r2, [r3, #52] @ movhi
-1424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1781 .loc 1 1424 0
- 1782 0034 DA86 strh r2, [r3, #54] @ movhi
-1427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferSize = 0U;
- 1783 .loc 1 1427 0
- 1784 0036 9863 str r0, [r3, #56]
-1428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = 0U;
- 1785 .loc 1 1428 0
- 1786 0038 9887 strh r0, [r3, #60] @ movhi
-1429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxISR = NULL;
- 1787 .loc 1 1429 0
- 1788 003a D887 strh r0, [r3, #62] @ movhi
-1430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1789 .loc 1 1430 0
- 1790 003c 1864 str r0, [r3, #64]
-1433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-ARM GAS /tmp/ccoPM59V.s page 106
-
-
- 1791 .loc 1 1433 0
- 1792 003e DA68 ldr r2, [r3, #12]
- 1793 .LVL121:
- 1794 0040 AAB1 cbz r2, .L168
-1435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1795 .loc 1 1435 0
- 1796 0042 174A ldr r2, .L178
- 1797 0044 5A64 str r2, [r3, #68]
- 1798 .L169:
-1443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1799 .loc 1 1443 0
- 1800 0046 9A68 ldr r2, [r3, #8]
- 1801 0048 B2F5004F cmp r2, #32768
- 1802 004c 12D0 beq .L177
- 1803 .LVL122:
- 1804 .L170:
-1459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1805 .loc 1 1459 0
- 1806 004e 1968 ldr r1, [r3]
- 1807 0050 4A68 ldr r2, [r1, #4]
- 1808 0052 42F0A002 orr r2, r2, #160
- 1809 0056 4A60 str r2, [r1, #4]
-1463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1810 .loc 1 1463 0
- 1811 0058 1A68 ldr r2, [r3]
- 1812 005a 1168 ldr r1, [r2]
- 1813 005c 11F0400F tst r1, #64
- 1814 0060 1AD1 bne .L175
-1466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1815 .loc 1 1466 0
- 1816 0062 1168 ldr r1, [r2]
- 1817 0064 41F04001 orr r1, r1, #64
- 1818 0068 1160 str r1, [r2]
-1399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1819 .loc 1 1399 0
- 1820 006a 0020 movs r0, #0
- 1821 006c 10E0 b .L167
- 1822 .LVL123:
- 1823 .L168:
-1439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1824 .loc 1 1439 0
- 1825 006e 0D4A ldr r2, .L178+4
- 1826 0070 5A64 str r2, [r3, #68]
- 1827 0072 E8E7 b .L169
- 1828 .L177:
-1446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_1LINE_TX(hspi);
- 1829 .loc 1 1446 0
- 1830 0074 1968 ldr r1, [r3]
- 1831 .LVL124:
- 1832 0076 0A68 ldr r2, [r1]
- 1833 0078 22F04002 bic r2, r2, #64
- 1834 007c 0A60 str r2, [r1]
- 1835 .LVL125:
-1447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1836 .loc 1 1447 0
- 1837 007e 1968 ldr r1, [r3]
- 1838 0080 0A68 ldr r2, [r1]
-ARM GAS /tmp/ccoPM59V.s page 107
-
-
- 1839 0082 42F48042 orr r2, r2, #16384
- 1840 0086 0A60 str r2, [r1]
- 1841 0088 E1E7 b .L170
- 1842 .LVL126:
- 1843 .L172:
-1409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 1844 .loc 1 1409 0
- 1845 008a 0120 movs r0, #1
- 1846 008c 00E0 b .L167
- 1847 .L173:
- 1848 008e 0120 movs r0, #1
- 1849 .LVL127:
- 1850 .L167:
-1470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return errorcode;
- 1851 .loc 1 1470 0
- 1852 0090 0022 movs r2, #0
- 1853 0092 83F85020 strb r2, [r3, #80]
-1471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1854 .loc 1 1471 0
- 1855 0096 7047 bx lr
- 1856 .LVL128:
- 1857 .L175:
-1399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1858 .loc 1 1399 0
- 1859 0098 0020 movs r0, #0
- 1860 009a F9E7 b .L167
- 1861 .LVL129:
- 1862 .L171:
-1405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1863 .loc 1 1405 0
- 1864 009c 0220 movs r0, #2
-1472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1865 .loc 1 1472 0
- 1866 009e 7047 bx lr
- 1867 .L179:
- 1868 .align 2
- 1869 .L178:
- 1870 00a0 00000000 .word SPI_TxISR_16BIT
- 1871 00a4 00000000 .word SPI_TxISR_8BIT
- 1872 .cfi_endproc
- 1873 .LFE72:
- 1875 .section .text.HAL_SPI_TransmitReceive_IT,"ax",%progbits
- 1876 .align 1
- 1877 .global HAL_SPI_TransmitReceive_IT
- 1878 .syntax unified
- 1879 .thumb
- 1880 .thumb_func
- 1881 .fpu softvfp
- 1883 HAL_SPI_TransmitReceive_IT:
- 1884 .LFB74:
-1577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t tmp_mode;
- 1885 .loc 1 1577 0
- 1886 .cfi_startproc
- 1887 @ args = 0, pretend = 0, frame = 0
- 1888 @ frame_needed = 0, uses_anonymous_args = 0
- 1889 @ link register save eliminated.
- 1890 .LVL130:
-ARM GAS /tmp/ccoPM59V.s page 108
-
-
- 1891 0000 30B4 push {r4, r5}
- 1892 .LCFI28:
- 1893 .cfi_def_cfa_offset 8
- 1894 .cfi_offset 4, -8
- 1895 .cfi_offset 5, -4
- 1896 .LVL131:
-1586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1897 .loc 1 1586 0
- 1898 0002 90F85040 ldrb r4, [r0, #80] @ zero_extendqisi2
- 1899 0006 012C cmp r4, #1
- 1900 0008 54D0 beq .L187
-1586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1901 .loc 1 1586 0 is_stmt 0 discriminator 2
- 1902 000a 0124 movs r4, #1
- 1903 000c 80F85040 strb r4, [r0, #80]
-1589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** tmp_mode = hspi->Init.Mode;
- 1904 .loc 1 1589 0 is_stmt 1 discriminator 2
- 1905 0010 90F85140 ldrb r4, [r0, #81] @ zero_extendqisi2
- 1906 0014 E4B2 uxtb r4, r4
- 1907 .LVL132:
-1590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1908 .loc 1 1590 0 discriminator 2
- 1909 0016 4568 ldr r5, [r0, #4]
- 1910 .LVL133:
-1592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** ((tmp_mode == SPI_MODE_MASTER) && (hspi->Init.Direction == SPI_DIRECTION_2LINES) && (tmp_st
- 1911 .loc 1 1592 0 discriminator 2
- 1912 0018 012C cmp r4, #1
- 1913 001a 10D0 beq .L182
-1592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** ((tmp_mode == SPI_MODE_MASTER) && (hspi->Init.Direction == SPI_DIRECTION_2LINES) && (tmp_st
- 1914 .loc 1 1592 0 is_stmt 0 discriminator 1
- 1915 001c B5F5827F cmp r5, #260
- 1916 0020 06D0 beq .L196
-1595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 1917 .loc 1 1595 0 is_stmt 1
- 1918 0022 0223 movs r3, #2
- 1919 .LVL134:
- 1920 .L183:
-1652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return errorcode;
- 1921 .loc 1 1652 0
- 1922 0024 0022 movs r2, #0
- 1923 0026 80F85020 strb r2, [r0, #80]
- 1924 .LVL135:
- 1925 .L181:
-1654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1926 .loc 1 1654 0
- 1927 002a 1846 mov r0, r3
- 1928 .LVL136:
- 1929 002c 30BC pop {r4, r5}
- 1930 .LCFI29:
- 1931 .cfi_remember_state
- 1932 .cfi_restore 5
- 1933 .cfi_restore 4
- 1934 .cfi_def_cfa_offset 0
- 1935 002e 7047 bx lr
- 1936 .LVL137:
- 1937 .L196:
- 1938 .LCFI30:
-ARM GAS /tmp/ccoPM59V.s page 109
-
-
- 1939 .cfi_restore_state
-1593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1940 .loc 1 1593 0
- 1941 0030 8568 ldr r5, [r0, #8]
- 1942 .LVL138:
- 1943 0032 002D cmp r5, #0
- 1944 0034 34D1 bne .L189
-1593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1945 .loc 1 1593 0 is_stmt 0 discriminator 1
- 1946 0036 042C cmp r4, #4
- 1947 0038 01D0 beq .L182
-1595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 1948 .loc 1 1595 0 is_stmt 1
- 1949 003a 0223 movs r3, #2
- 1950 .LVL139:
- 1951 003c F2E7 b .L183
- 1952 .LVL140:
- 1953 .L182:
-1599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1954 .loc 1 1599 0
- 1955 003e 0029 cmp r1, #0
- 1956 0040 30D0 beq .L191
-1599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1957 .loc 1 1599 0 is_stmt 0 discriminator 1
- 1958 0042 002A cmp r2, #0
- 1959 0044 30D0 beq .L192
-1599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1960 .loc 1 1599 0 discriminator 2
- 1961 0046 002B cmp r3, #0
- 1962 0048 30D0 beq .L193
-1606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1963 .loc 1 1606 0 is_stmt 1
- 1964 004a 90F85140 ldrb r4, [r0, #81] @ zero_extendqisi2
- 1965 .LVL141:
- 1966 004e E4B2 uxtb r4, r4
- 1967 0050 042C cmp r4, #4
- 1968 0052 02D0 beq .L184
-1608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1969 .loc 1 1608 0
- 1970 0054 0524 movs r4, #5
- 1971 0056 80F85140 strb r4, [r0, #81]
- 1972 .L184:
-1612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr = (uint8_t *)pTxData;
- 1973 .loc 1 1612 0
- 1974 005a 0024 movs r4, #0
- 1975 005c 4465 str r4, [r0, #84]
-1613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferSize = Size;
- 1976 .loc 1 1613 0
- 1977 005e 0163 str r1, [r0, #48]
-1614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = Size;
- 1978 .loc 1 1614 0
- 1979 0060 8386 strh r3, [r0, #52] @ movhi
-1615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr = (uint8_t *)pRxData;
- 1980 .loc 1 1615 0
- 1981 0062 C386 strh r3, [r0, #54] @ movhi
-1616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferSize = Size;
- 1982 .loc 1 1616 0
-ARM GAS /tmp/ccoPM59V.s page 110
-
-
- 1983 0064 8263 str r2, [r0, #56]
-1617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = Size;
- 1984 .loc 1 1617 0
- 1985 0066 8387 strh r3, [r0, #60] @ movhi
-1618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1986 .loc 1 1618 0
- 1987 0068 C387 strh r3, [r0, #62] @ movhi
-1621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 1988 .loc 1 1621 0
- 1989 006a C368 ldr r3, [r0, #12]
- 1990 .LVL142:
- 1991 006c 9BB1 cbz r3, .L185
-1623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxISR = SPI_2linesTxISR_16BIT;
- 1992 .loc 1 1623 0
- 1993 006e 124B ldr r3, .L197
- 1994 0070 0364 str r3, [r0, #64]
-1624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 1995 .loc 1 1624 0
- 1996 0072 124B ldr r3, .L197+4
- 1997 0074 4364 str r3, [r0, #68]
- 1998 .L186:
-1641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 1999 .loc 1 1641 0
- 2000 0076 0268 ldr r2, [r0]
- 2001 .LVL143:
- 2002 0078 5368 ldr r3, [r2, #4]
- 2003 007a 43F0E003 orr r3, r3, #224
- 2004 007e 5360 str r3, [r2, #4]
- 2005 .LVL144:
-1644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2006 .loc 1 1644 0
- 2007 0080 0368 ldr r3, [r0]
- 2008 0082 1A68 ldr r2, [r3]
- 2009 0084 12F0400F tst r2, #64
- 2010 0088 12D1 bne .L194
-1647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 2011 .loc 1 1647 0
- 2012 008a 1A68 ldr r2, [r3]
- 2013 008c 42F04002 orr r2, r2, #64
- 2014 0090 1A60 str r2, [r3]
-1580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2015 .loc 1 1580 0
- 2016 0092 0023 movs r3, #0
- 2017 0094 C6E7 b .L183
- 2018 .LVL145:
- 2019 .L185:
-1628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxISR = SPI_2linesTxISR_8BIT;
- 2020 .loc 1 1628 0
- 2021 0096 0A4B ldr r3, .L197+8
- 2022 0098 0364 str r3, [r0, #64]
-1629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 2023 .loc 1 1629 0
- 2024 009a 0A4B ldr r3, .L197+12
- 2025 009c 4364 str r3, [r0, #68]
- 2026 009e EAE7 b .L186
- 2027 .LVL146:
- 2028 .L189:
-ARM GAS /tmp/ccoPM59V.s page 111
-
-
-1595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 2029 .loc 1 1595 0
- 2030 00a0 0223 movs r3, #2
- 2031 .LVL147:
- 2032 00a2 BFE7 b .L183
- 2033 .LVL148:
- 2034 .L191:
-1601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 2035 .loc 1 1601 0
- 2036 00a4 0123 movs r3, #1
- 2037 .LVL149:
- 2038 00a6 BDE7 b .L183
- 2039 .LVL150:
- 2040 .L192:
- 2041 00a8 0123 movs r3, #1
- 2042 .LVL151:
- 2043 00aa BBE7 b .L183
- 2044 .LVL152:
- 2045 .L193:
- 2046 00ac 0123 movs r3, #1
- 2047 .LVL153:
- 2048 00ae B9E7 b .L183
- 2049 .LVL154:
- 2050 .L194:
-1580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2051 .loc 1 1580 0
- 2052 00b0 0023 movs r3, #0
- 2053 00b2 B7E7 b .L183
- 2054 .LVL155:
- 2055 .L187:
-1586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2056 .loc 1 1586 0
- 2057 00b4 0223 movs r3, #2
- 2058 .LVL156:
- 2059 00b6 B8E7 b .L181
- 2060 .L198:
- 2061 .align 2
- 2062 .L197:
- 2063 00b8 00000000 .word SPI_2linesRxISR_16BIT
- 2064 00bc 00000000 .word SPI_2linesTxISR_16BIT
- 2065 00c0 00000000 .word SPI_2linesRxISR_8BIT
- 2066 00c4 00000000 .word SPI_2linesTxISR_8BIT
- 2067 .cfi_endproc
- 2068 .LFE74:
- 2070 .section .text.HAL_SPI_Receive_IT,"ax",%progbits
- 2071 .align 1
- 2072 .global HAL_SPI_Receive_IT
- 2073 .syntax unified
- 2074 .thumb
- 2075 .thumb_func
- 2076 .fpu softvfp
- 2078 HAL_SPI_Receive_IT:
- 2079 .LFB73:
-1483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef errorcode = HAL_OK;
- 2080 .loc 1 1483 0
- 2081 .cfi_startproc
- 2082 @ args = 0, pretend = 0, frame = 0
-ARM GAS /tmp/ccoPM59V.s page 112
-
-
- 2083 @ frame_needed = 0, uses_anonymous_args = 0
- 2084 .LVL157:
- 2085 0000 38B5 push {r3, r4, r5, lr}
- 2086 .LCFI31:
- 2087 .cfi_def_cfa_offset 16
- 2088 .cfi_offset 3, -16
- 2089 .cfi_offset 4, -12
- 2090 .cfi_offset 5, -8
- 2091 .cfi_offset 14, -4
- 2092 0002 0446 mov r4, r0
- 2093 .LVL158:
-1486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2094 .loc 1 1486 0
- 2095 0004 8568 ldr r5, [r0, #8]
- 2096 0006 1DB9 cbnz r5, .L200
-1486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2097 .loc 1 1486 0 is_stmt 0 discriminator 1
- 2098 0008 4368 ldr r3, [r0, #4]
- 2099 000a B3F5827F cmp r3, #260
- 2100 000e 10D0 beq .L212
- 2101 .L200:
-1494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2102 .loc 1 1494 0 is_stmt 1
- 2103 0010 94F85000 ldrb r0, [r4, #80] @ zero_extendqisi2
- 2104 .LVL159:
- 2105 0014 0128 cmp r0, #1
- 2106 0016 4FD0 beq .L206
-1494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2107 .loc 1 1494 0 is_stmt 0 discriminator 2
- 2108 0018 0123 movs r3, #1
- 2109 001a 84F85030 strb r3, [r4, #80]
-1496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2110 .loc 1 1496 0 is_stmt 1 discriminator 2
- 2111 001e 94F85100 ldrb r0, [r4, #81] @ zero_extendqisi2
- 2112 0022 C0B2 uxtb r0, r0
- 2113 0024 9842 cmp r0, r3
- 2114 0026 0CD0 beq .L213
-1498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 2115 .loc 1 1498 0
- 2116 0028 0220 movs r0, #2
- 2117 .LVL160:
- 2118 .L202:
-1563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return errorcode;
- 2119 .loc 1 1563 0
- 2120 002a 0023 movs r3, #0
- 2121 002c 84F85030 strb r3, [r4, #80]
-1564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 2122 .loc 1 1564 0
- 2123 0030 38BD pop {r3, r4, r5, pc}
- 2124 .LVL161:
- 2125 .L212:
- 2126 0032 1346 mov r3, r2
-1488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call transmit-receive function to send Dummy data on Tx line and generate clock on CLK line
- 2127 .loc 1 1488 0
- 2128 0034 0422 movs r2, #4
- 2129 .LVL162:
- 2130 0036 80F85120 strb r2, [r0, #81]
-ARM GAS /tmp/ccoPM59V.s page 113
-
-
-1490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 2131 .loc 1 1490 0
- 2132 003a 0A46 mov r2, r1
- 2133 003c FFF7FEFF bl HAL_SPI_TransmitReceive_IT
- 2134 .LVL163:
- 2135 0040 38BD pop {r3, r4, r5, pc}
- 2136 .LVL164:
- 2137 .L213:
-1502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2138 .loc 1 1502 0
- 2139 0042 0029 cmp r1, #0
- 2140 0044 32D0 beq .L208
-1502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2141 .loc 1 1502 0 is_stmt 0 discriminator 1
- 2142 0046 002A cmp r2, #0
- 2143 0048 32D0 beq .L209
-1509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_NONE;
- 2144 .loc 1 1509 0 is_stmt 1
- 2145 004a 0423 movs r3, #4
- 2146 004c 84F85130 strb r3, [r4, #81]
-1510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr = (uint8_t *)pData;
- 2147 .loc 1 1510 0
- 2148 0050 0023 movs r3, #0
- 2149 0052 6365 str r3, [r4, #84]
-1511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferSize = Size;
- 2150 .loc 1 1511 0
- 2151 0054 A163 str r1, [r4, #56]
-1512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = Size;
- 2152 .loc 1 1512 0
- 2153 0056 A287 strh r2, [r4, #60] @ movhi
-1513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2154 .loc 1 1513 0
- 2155 0058 E287 strh r2, [r4, #62] @ movhi
-1516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferSize = 0U;
- 2156 .loc 1 1516 0
- 2157 005a 2363 str r3, [r4, #48]
-1517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = 0U;
- 2158 .loc 1 1517 0
- 2159 005c A386 strh r3, [r4, #52] @ movhi
-1518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxISR = NULL;
- 2160 .loc 1 1518 0
- 2161 005e E386 strh r3, [r4, #54] @ movhi
-1519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2162 .loc 1 1519 0
- 2163 0060 6364 str r3, [r4, #68]
-1522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2164 .loc 1 1522 0
- 2165 0062 E368 ldr r3, [r4, #12]
- 2166 0064 A3B1 cbz r3, .L203
-1524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 2167 .loc 1 1524 0
- 2168 0066 154B ldr r3, .L215
- 2169 0068 2364 str r3, [r4, #64]
- 2170 .L204:
-1532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2171 .loc 1 1532 0
- 2172 006a B5F5004F cmp r5, #32768
-ARM GAS /tmp/ccoPM59V.s page 114
-
-
- 2173 006e 12D0 beq .L214
- 2174 .LVL165:
- 2175 .L205:
-1548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2176 .loc 1 1548 0
- 2177 0070 2268 ldr r2, [r4]
- 2178 0072 5368 ldr r3, [r2, #4]
- 2179 0074 43F06003 orr r3, r3, #96
- 2180 0078 5360 str r3, [r2, #4]
-1555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2181 .loc 1 1555 0
- 2182 007a 2368 ldr r3, [r4]
- 2183 007c 1A68 ldr r2, [r3]
- 2184 007e 12F0400F tst r2, #64
- 2185 0082 17D1 bne .L210
-1558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 2186 .loc 1 1558 0
- 2187 0084 1A68 ldr r2, [r3]
- 2188 0086 42F04002 orr r2, r2, #64
- 2189 008a 1A60 str r2, [r3]
-1484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2190 .loc 1 1484 0
- 2191 008c 0020 movs r0, #0
- 2192 008e CCE7 b .L202
- 2193 .LVL166:
- 2194 .L203:
-1528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 2195 .loc 1 1528 0
- 2196 0090 0B4B ldr r3, .L215+4
- 2197 0092 2364 str r3, [r4, #64]
- 2198 0094 E9E7 b .L204
- 2199 .L214:
-1535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_1LINE_RX(hspi);
- 2200 .loc 1 1535 0
- 2201 0096 2268 ldr r2, [r4]
- 2202 .LVL167:
- 2203 0098 1368 ldr r3, [r2]
- 2204 009a 23F04003 bic r3, r3, #64
- 2205 009e 1360 str r3, [r2]
- 2206 .LVL168:
-1536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 2207 .loc 1 1536 0
- 2208 00a0 2268 ldr r2, [r4]
- 2209 00a2 1368 ldr r3, [r2]
- 2210 00a4 23F48043 bic r3, r3, #16384
- 2211 00a8 1360 str r3, [r2]
- 2212 00aa E1E7 b .L205
- 2213 .LVL169:
- 2214 .L208:
-1504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 2215 .loc 1 1504 0
- 2216 00ac 0120 movs r0, #1
- 2217 00ae BCE7 b .L202
- 2218 .L209:
- 2219 00b0 0120 movs r0, #1
- 2220 00b2 BAE7 b .L202
- 2221 .LVL170:
-ARM GAS /tmp/ccoPM59V.s page 115
-
-
- 2222 .L210:
-1484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2223 .loc 1 1484 0
- 2224 00b4 0020 movs r0, #0
- 2225 00b6 B8E7 b .L202
- 2226 .LVL171:
- 2227 .L206:
-1494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2228 .loc 1 1494 0
- 2229 00b8 0220 movs r0, #2
-1565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2230 .loc 1 1565 0
- 2231 00ba 38BD pop {r3, r4, r5, pc}
- 2232 .LVL172:
- 2233 .L216:
- 2234 .align 2
- 2235 .L215:
- 2236 00bc 00000000 .word SPI_RxISR_16BIT
- 2237 00c0 00000000 .word SPI_RxISR_8BIT
- 2238 .cfi_endproc
- 2239 .LFE73:
- 2241 .section .text.HAL_SPI_Transmit_DMA,"ax",%progbits
- 2242 .align 1
- 2243 .global HAL_SPI_Transmit_DMA
- 2244 .syntax unified
- 2245 .thumb
- 2246 .thumb_func
- 2247 .fpu softvfp
- 2249 HAL_SPI_Transmit_DMA:
- 2250 .LFB75:
-1665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef errorcode = HAL_OK;
- 2251 .loc 1 1665 0
- 2252 .cfi_startproc
- 2253 @ args = 0, pretend = 0, frame = 0
- 2254 @ frame_needed = 0, uses_anonymous_args = 0
- 2255 .LVL173:
-1675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2256 .loc 1 1675 0
- 2257 0000 90F85030 ldrb r3, [r0, #80] @ zero_extendqisi2
- 2258 0004 012B cmp r3, #1
- 2259 0006 65D0 beq .L223
-1665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef errorcode = HAL_OK;
- 2260 .loc 1 1665 0 discriminator 2
- 2261 0008 10B5 push {r4, lr}
- 2262 .LCFI32:
- 2263 .cfi_def_cfa_offset 8
- 2264 .cfi_offset 4, -8
- 2265 .cfi_offset 14, -4
- 2266 000a 0446 mov r4, r0
-1675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2267 .loc 1 1675 0 discriminator 2
- 2268 000c 0123 movs r3, #1
- 2269 000e 80F85030 strb r3, [r0, #80]
-1677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2270 .loc 1 1677 0 discriminator 2
- 2271 0012 90F85130 ldrb r3, [r0, #81] @ zero_extendqisi2
- 2272 0016 DBB2 uxtb r3, r3
-ARM GAS /tmp/ccoPM59V.s page 116
-
-
- 2273 0018 012B cmp r3, #1
- 2274 001a 05D0 beq .L231
-1679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 2275 .loc 1 1679 0
- 2276 001c 0223 movs r3, #2
- 2277 .LVL174:
- 2278 .L219:
-1758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return errorcode;
- 2279 .loc 1 1758 0
- 2280 001e 0022 movs r2, #0
- 2281 0020 84F85020 strb r2, [r4, #80]
-1760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2282 .loc 1 1760 0
- 2283 0024 1846 mov r0, r3
- 2284 0026 10BD pop {r4, pc}
- 2285 .LVL175:
- 2286 .L231:
-1683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2287 .loc 1 1683 0
- 2288 0028 0029 cmp r1, #0
- 2289 002a 4FD0 beq .L225
-1683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2290 .loc 1 1683 0 is_stmt 0 discriminator 1
- 2291 002c 002A cmp r2, #0
- 2292 002e 4FD0 beq .L226
-1690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_NONE;
- 2293 .loc 1 1690 0 is_stmt 1
- 2294 0030 0323 movs r3, #3
- 2295 0032 80F85130 strb r3, [r0, #81]
-1691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr = (uint8_t *)pData;
- 2296 .loc 1 1691 0
- 2297 0036 0023 movs r3, #0
- 2298 0038 4365 str r3, [r0, #84]
-1692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferSize = Size;
- 2299 .loc 1 1692 0
- 2300 003a 0163 str r1, [r0, #48]
-1693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = Size;
- 2301 .loc 1 1693 0
- 2302 003c 8286 strh r2, [r0, #52] @ movhi
-1694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2303 .loc 1 1694 0
- 2304 003e C286 strh r2, [r0, #54] @ movhi
-1697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxISR = NULL;
- 2305 .loc 1 1697 0
- 2306 0040 8363 str r3, [r0, #56]
-1698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxISR = NULL;
- 2307 .loc 1 1698 0
- 2308 0042 4364 str r3, [r0, #68]
-1699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferSize = 0U;
- 2309 .loc 1 1699 0
- 2310 0044 0364 str r3, [r0, #64]
-1700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = 0U;
- 2311 .loc 1 1700 0
- 2312 0046 8387 strh r3, [r0, #60] @ movhi
-1701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2313 .loc 1 1701 0
- 2314 0048 C387 strh r3, [r0, #62] @ movhi
-ARM GAS /tmp/ccoPM59V.s page 117
-
-
-1704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2315 .loc 1 1704 0
- 2316 004a 8368 ldr r3, [r0, #8]
- 2317 004c B3F5004F cmp r3, #32768
- 2318 0050 1DD0 beq .L232
- 2319 .LVL176:
- 2320 .L220:
-1720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2321 .loc 1 1720 0
- 2322 0052 A36C ldr r3, [r4, #72]
- 2323 0054 214A ldr r2, .L233
- 2324 0056 DA62 str r2, [r3, #44]
-1723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2325 .loc 1 1723 0
- 2326 0058 A36C ldr r3, [r4, #72]
- 2327 005a 214A ldr r2, .L233+4
- 2328 005c 9A62 str r2, [r3, #40]
-1726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2329 .loc 1 1726 0
- 2330 005e A36C ldr r3, [r4, #72]
- 2331 0060 204A ldr r2, .L233+8
- 2332 0062 1A63 str r2, [r3, #48]
-1729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2333 .loc 1 1729 0
- 2334 0064 A36C ldr r3, [r4, #72]
- 2335 0066 0022 movs r2, #0
- 2336 0068 5A63 str r2, [r3, #52]
-1732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount))
- 2337 .loc 1 1732 0
- 2338 006a 2268 ldr r2, [r4]
-1733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2339 .loc 1 1733 0
- 2340 006c E38E ldrh r3, [r4, #54]
-1732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount))
- 2341 .loc 1 1732 0
- 2342 006e 9BB2 uxth r3, r3
- 2343 0070 0C32 adds r2, r2, #12
- 2344 0072 216B ldr r1, [r4, #48]
- 2345 .LVL177:
- 2346 0074 A06C ldr r0, [r4, #72]
- 2347 .LVL178:
- 2348 0076 FFF7FEFF bl HAL_DMA_Start_IT
- 2349 .LVL179:
- 2350 007a 0346 mov r3, r0
- 2351 007c 90B1 cbz r0, .L221
-1736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
- 2352 .loc 1 1736 0
- 2353 007e 636D ldr r3, [r4, #84]
- 2354 0080 43F01003 orr r3, r3, #16
- 2355 0084 6365 str r3, [r4, #84]
- 2356 .LVL180:
-1739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 2357 .loc 1 1739 0
- 2358 0086 0123 movs r3, #1
- 2359 0088 84F85130 strb r3, [r4, #81]
-1740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 2360 .loc 1 1740 0
-ARM GAS /tmp/ccoPM59V.s page 118
-
-
- 2361 008c C7E7 b .L219
- 2362 .LVL181:
- 2363 .L232:
-1707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_1LINE_TX(hspi);
- 2364 .loc 1 1707 0
- 2365 008e 0268 ldr r2, [r0]
- 2366 .LVL182:
- 2367 0090 1368 ldr r3, [r2]
- 2368 0092 23F04003 bic r3, r3, #64
- 2369 0096 1360 str r3, [r2]
- 2370 .LVL183:
-1708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 2371 .loc 1 1708 0
- 2372 0098 0268 ldr r2, [r0]
- 2373 009a 1368 ldr r3, [r2]
- 2374 009c 43F48043 orr r3, r3, #16384
- 2375 00a0 1360 str r3, [r2]
- 2376 00a2 D6E7 b .L220
- 2377 .LVL184:
- 2378 .L221:
-1744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2379 .loc 1 1744 0
- 2380 00a4 2268 ldr r2, [r4]
- 2381 00a6 1168 ldr r1, [r2]
- 2382 00a8 11F0400F tst r1, #64
- 2383 00ac 03D1 bne .L222
-1747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 2384 .loc 1 1747 0
- 2385 00ae 1168 ldr r1, [r2]
- 2386 00b0 41F04001 orr r1, r1, #64
- 2387 00b4 1160 str r1, [r2]
- 2388 .L222:
-1751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2389 .loc 1 1751 0
- 2390 00b6 2168 ldr r1, [r4]
- 2391 00b8 4A68 ldr r2, [r1, #4]
- 2392 00ba 42F02002 orr r2, r2, #32
- 2393 00be 4A60 str r2, [r1, #4]
-1754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2394 .loc 1 1754 0
- 2395 00c0 2168 ldr r1, [r4]
- 2396 00c2 4A68 ldr r2, [r1, #4]
- 2397 00c4 42F00202 orr r2, r2, #2
- 2398 00c8 4A60 str r2, [r1, #4]
- 2399 00ca A8E7 b .L219
- 2400 .LVL185:
- 2401 .L225:
-1685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 2402 .loc 1 1685 0
- 2403 00cc 0123 movs r3, #1
- 2404 00ce A6E7 b .L219
- 2405 .L226:
- 2406 00d0 0123 movs r3, #1
- 2407 00d2 A4E7 b .L219
- 2408 .L223:
- 2409 .LCFI33:
- 2410 .cfi_def_cfa_offset 0
-ARM GAS /tmp/ccoPM59V.s page 119
-
-
- 2411 .cfi_restore 4
- 2412 .cfi_restore 14
-1675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2413 .loc 1 1675 0
- 2414 00d4 0223 movs r3, #2
-1760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2415 .loc 1 1760 0
- 2416 00d6 1846 mov r0, r3
- 2417 .LVL186:
- 2418 00d8 7047 bx lr
- 2419 .L234:
- 2420 00da 00BF .align 2
- 2421 .L233:
- 2422 00dc 00000000 .word SPI_DMAHalfTransmitCplt
- 2423 00e0 00000000 .word SPI_DMATransmitCplt
- 2424 00e4 00000000 .word SPI_DMAError
- 2425 .cfi_endproc
- 2426 .LFE75:
- 2428 .section .text.HAL_SPI_TransmitReceive_DMA,"ax",%progbits
- 2429 .align 1
- 2430 .global HAL_SPI_TransmitReceive_DMA
- 2431 .syntax unified
- 2432 .thumb
- 2433 .thumb_func
- 2434 .fpu softvfp
- 2436 HAL_SPI_TransmitReceive_DMA:
- 2437 .LFB77:
-1889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t tmp_mode;
- 2438 .loc 1 1889 0
- 2439 .cfi_startproc
- 2440 @ args = 0, pretend = 0, frame = 0
- 2441 @ frame_needed = 0, uses_anonymous_args = 0
- 2442 .LVL187:
- 2443 0000 38B5 push {r3, r4, r5, lr}
- 2444 .LCFI34:
- 2445 .cfi_def_cfa_offset 16
- 2446 .cfi_offset 3, -16
- 2447 .cfi_offset 4, -12
- 2448 .cfi_offset 5, -8
- 2449 .cfi_offset 14, -4
- 2450 .LVL188:
-1902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2451 .loc 1 1902 0
- 2452 0002 90F85040 ldrb r4, [r0, #80] @ zero_extendqisi2
- 2453 0006 012C cmp r4, #1
- 2454 0008 00F09780 beq .L245
- 2455 000c 0446 mov r4, r0
-1902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2456 .loc 1 1902 0 is_stmt 0 discriminator 2
- 2457 000e 0120 movs r0, #1
- 2458 .LVL189:
- 2459 0010 84F85000 strb r0, [r4, #80]
-1905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** tmp_mode = hspi->Init.Mode;
- 2460 .loc 1 1905 0 is_stmt 1 discriminator 2
- 2461 0014 94F85100 ldrb r0, [r4, #81] @ zero_extendqisi2
- 2462 0018 C0B2 uxtb r0, r0
- 2463 .LVL190:
-ARM GAS /tmp/ccoPM59V.s page 120
-
-
-1906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2464 .loc 1 1906 0 discriminator 2
- 2465 001a 6568 ldr r5, [r4, #4]
- 2466 .LVL191:
-1908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** ((tmp_mode == SPI_MODE_MASTER) && (hspi->Init.Direction == SPI_DIRECTION_2LINES) && (tmp_st
- 2467 .loc 1 1908 0 discriminator 2
- 2468 001c 0128 cmp r0, #1
- 2469 001e 0FD0 beq .L237
-1908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** ((tmp_mode == SPI_MODE_MASTER) && (hspi->Init.Direction == SPI_DIRECTION_2LINES) && (tmp_st
- 2470 .loc 1 1908 0 is_stmt 0 discriminator 1
- 2471 0020 B5F5827F cmp r5, #260
- 2472 0024 05D0 beq .L253
-1911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 2473 .loc 1 1911 0 is_stmt 1
- 2474 0026 0223 movs r3, #2
- 2475 .LVL192:
- 2476 .L238:
-2016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return errorcode;
- 2477 .loc 1 2016 0
- 2478 0028 0022 movs r2, #0
- 2479 002a 84F85020 strb r2, [r4, #80]
- 2480 .LVL193:
- 2481 .L236:
-2018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2482 .loc 1 2018 0
- 2483 002e 1846 mov r0, r3
- 2484 0030 38BD pop {r3, r4, r5, pc}
- 2485 .LVL194:
- 2486 .L253:
-1909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2487 .loc 1 1909 0
- 2488 0032 A568 ldr r5, [r4, #8]
- 2489 .LVL195:
- 2490 0034 002D cmp r5, #0
- 2491 0036 78D1 bne .L247
-1909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2492 .loc 1 1909 0 is_stmt 0 discriminator 1
- 2493 0038 0428 cmp r0, #4
- 2494 003a 01D0 beq .L237
-1911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 2495 .loc 1 1911 0 is_stmt 1
- 2496 003c 0223 movs r3, #2
- 2497 .LVL196:
- 2498 003e F3E7 b .L238
- 2499 .LVL197:
- 2500 .L237:
-1915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2501 .loc 1 1915 0
- 2502 0040 0029 cmp r1, #0
- 2503 0042 74D0 beq .L249
-1915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2504 .loc 1 1915 0 is_stmt 0 discriminator 1
- 2505 0044 002A cmp r2, #0
- 2506 0046 74D0 beq .L250
-1915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2507 .loc 1 1915 0 discriminator 2
- 2508 0048 002B cmp r3, #0
-ARM GAS /tmp/ccoPM59V.s page 121
-
-
- 2509 004a 74D0 beq .L251
-1922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2510 .loc 1 1922 0 is_stmt 1
- 2511 004c 94F85100 ldrb r0, [r4, #81] @ zero_extendqisi2
- 2512 .LVL198:
- 2513 0050 C0B2 uxtb r0, r0
- 2514 0052 0428 cmp r0, #4
- 2515 0054 02D0 beq .L239
-1924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 2516 .loc 1 1924 0
- 2517 0056 0520 movs r0, #5
- 2518 0058 84F85100 strb r0, [r4, #81]
- 2519 .L239:
-1928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr = (uint8_t *)pTxData;
- 2520 .loc 1 1928 0
- 2521 005c 0020 movs r0, #0
- 2522 005e 6065 str r0, [r4, #84]
-1929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferSize = Size;
- 2523 .loc 1 1929 0
- 2524 0060 2163 str r1, [r4, #48]
-1930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = Size;
- 2525 .loc 1 1930 0
- 2526 0062 A386 strh r3, [r4, #52] @ movhi
-1931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr = (uint8_t *)pRxData;
- 2527 .loc 1 1931 0
- 2528 0064 E386 strh r3, [r4, #54] @ movhi
-1932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferSize = Size;
- 2529 .loc 1 1932 0
- 2530 0066 A263 str r2, [r4, #56]
-1933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = Size;
- 2531 .loc 1 1933 0
- 2532 0068 A387 strh r3, [r4, #60] @ movhi
-1934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2533 .loc 1 1934 0
- 2534 006a E387 strh r3, [r4, #62] @ movhi
-1937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxISR = NULL;
- 2535 .loc 1 1937 0
- 2536 006c 2064 str r0, [r4, #64]
-1938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2537 .loc 1 1938 0
- 2538 006e 6064 str r0, [r4, #68]
-1949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2539 .loc 1 1949 0
- 2540 0070 94F85130 ldrb r3, [r4, #81] @ zero_extendqisi2
- 2541 .LVL199:
- 2542 0074 DBB2 uxtb r3, r3
- 2543 0076 042B cmp r3, #4
- 2544 0078 1CD0 beq .L254
-1958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmarx->XferCpltCallback = SPI_DMATransmitReceiveCplt;
- 2545 .loc 1 1958 0
- 2546 007a E36C ldr r3, [r4, #76]
- 2547 007c 304A ldr r2, .L255
- 2548 .LVL200:
- 2549 007e DA62 str r2, [r3, #44]
- 2550 .LVL201:
-1959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 2551 .loc 1 1959 0
-ARM GAS /tmp/ccoPM59V.s page 122
-
-
- 2552 0080 E36C ldr r3, [r4, #76]
- 2553 0082 304A ldr r2, .L255+4
- 2554 0084 9A62 str r2, [r3, #40]
- 2555 .L241:
-1963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2556 .loc 1 1963 0
- 2557 0086 E36C ldr r3, [r4, #76]
- 2558 0088 2F4A ldr r2, .L255+8
- 2559 008a 1A63 str r2, [r3, #48]
-1966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2560 .loc 1 1966 0
- 2561 008c E36C ldr r3, [r4, #76]
- 2562 008e 0022 movs r2, #0
- 2563 0090 5A63 str r2, [r3, #52]
-1969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount))
- 2564 .loc 1 1969 0
- 2565 0092 2168 ldr r1, [r4]
- 2566 .LVL202:
-1970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2567 .loc 1 1970 0
- 2568 0094 E38F ldrh r3, [r4, #62]
-1969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount))
- 2569 .loc 1 1969 0
- 2570 0096 9BB2 uxth r3, r3
- 2571 0098 A26B ldr r2, [r4, #56]
- 2572 009a 0C31 adds r1, r1, #12
- 2573 009c E06C ldr r0, [r4, #76]
- 2574 009e FFF7FEFF bl HAL_DMA_Start_IT
- 2575 .LVL203:
- 2576 00a2 70B1 cbz r0, .L242
-1973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
- 2577 .loc 1 1973 0
- 2578 00a4 636D ldr r3, [r4, #84]
- 2579 00a6 43F01003 orr r3, r3, #16
- 2580 00aa 6365 str r3, [r4, #84]
- 2581 .LVL204:
-1976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 2582 .loc 1 1976 0
- 2583 00ac 0123 movs r3, #1
- 2584 00ae 84F85130 strb r3, [r4, #81]
-1977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 2585 .loc 1 1977 0
- 2586 00b2 B9E7 b .L238
- 2587 .LVL205:
- 2588 .L254:
-1952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmarx->XferCpltCallback = SPI_DMAReceiveCplt;
- 2589 .loc 1 1952 0
- 2590 00b4 E36C ldr r3, [r4, #76]
- 2591 00b6 254A ldr r2, .L255+12
- 2592 .LVL206:
- 2593 00b8 DA62 str r2, [r3, #44]
- 2594 .LVL207:
-1953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 2595 .loc 1 1953 0
- 2596 00ba E36C ldr r3, [r4, #76]
- 2597 00bc 244A ldr r2, .L255+16
- 2598 00be 9A62 str r2, [r3, #40]
-ARM GAS /tmp/ccoPM59V.s page 123
-
-
- 2599 00c0 E1E7 b .L241
- 2600 .LVL208:
- 2601 .L242:
-1981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2602 .loc 1 1981 0
- 2603 00c2 2268 ldr r2, [r4]
- 2604 00c4 5368 ldr r3, [r2, #4]
- 2605 00c6 43F00103 orr r3, r3, #1
- 2606 00ca 5360 str r3, [r2, #4]
-1985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmatx->XferCpltCallback = NULL;
- 2607 .loc 1 1985 0
- 2608 00cc A26C ldr r2, [r4, #72]
- 2609 00ce 0023 movs r3, #0
- 2610 00d0 D362 str r3, [r2, #44]
-1986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmatx->XferErrorCallback = NULL;
- 2611 .loc 1 1986 0
- 2612 00d2 A26C ldr r2, [r4, #72]
- 2613 00d4 9362 str r3, [r2, #40]
-1987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->hdmatx->XferAbortCallback = NULL;
- 2614 .loc 1 1987 0
- 2615 00d6 A26C ldr r2, [r4, #72]
- 2616 00d8 1363 str r3, [r2, #48]
-1988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2617 .loc 1 1988 0
- 2618 00da A26C ldr r2, [r4, #72]
- 2619 00dc 5363 str r3, [r2, #52]
-1991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount))
- 2620 .loc 1 1991 0
- 2621 00de 2268 ldr r2, [r4]
-1992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2622 .loc 1 1992 0
- 2623 00e0 E38E ldrh r3, [r4, #54]
-1991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount))
- 2624 .loc 1 1991 0
- 2625 00e2 9BB2 uxth r3, r3
- 2626 00e4 0C32 adds r2, r2, #12
- 2627 00e6 216B ldr r1, [r4, #48]
- 2628 00e8 A06C ldr r0, [r4, #72]
- 2629 00ea FFF7FEFF bl HAL_DMA_Start_IT
- 2630 .LVL209:
- 2631 00ee 0346 mov r3, r0
- 2632 00f0 38B1 cbz r0, .L243
-1995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
- 2633 .loc 1 1995 0
- 2634 00f2 636D ldr r3, [r4, #84]
- 2635 00f4 43F01003 orr r3, r3, #16
- 2636 00f8 6365 str r3, [r4, #84]
- 2637 .LVL210:
-1998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 2638 .loc 1 1998 0
- 2639 00fa 0123 movs r3, #1
- 2640 00fc 84F85130 strb r3, [r4, #81]
-1999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 2641 .loc 1 1999 0
- 2642 0100 92E7 b .L238
- 2643 .LVL211:
- 2644 .L243:
-ARM GAS /tmp/ccoPM59V.s page 124
-
-
-2003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2645 .loc 1 2003 0
- 2646 0102 2268 ldr r2, [r4]
- 2647 0104 1168 ldr r1, [r2]
- 2648 0106 11F0400F tst r1, #64
- 2649 010a 03D1 bne .L244
-2006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 2650 .loc 1 2006 0
- 2651 010c 1168 ldr r1, [r2]
- 2652 010e 41F04001 orr r1, r1, #64
- 2653 0112 1160 str r1, [r2]
- 2654 .L244:
-2009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2655 .loc 1 2009 0
- 2656 0114 2168 ldr r1, [r4]
- 2657 0116 4A68 ldr r2, [r1, #4]
- 2658 0118 42F02002 orr r2, r2, #32
- 2659 011c 4A60 str r2, [r1, #4]
-2012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2660 .loc 1 2012 0
- 2661 011e 2168 ldr r1, [r4]
- 2662 0120 4A68 ldr r2, [r1, #4]
- 2663 0122 42F00202 orr r2, r2, #2
- 2664 0126 4A60 str r2, [r1, #4]
- 2665 0128 7EE7 b .L238
- 2666 .LVL212:
- 2667 .L247:
-1911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 2668 .loc 1 1911 0
- 2669 012a 0223 movs r3, #2
- 2670 .LVL213:
- 2671 012c 7CE7 b .L238
- 2672 .LVL214:
- 2673 .L249:
-1917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 2674 .loc 1 1917 0
- 2675 012e 0123 movs r3, #1
- 2676 .LVL215:
- 2677 0130 7AE7 b .L238
- 2678 .LVL216:
- 2679 .L250:
- 2680 0132 0123 movs r3, #1
- 2681 .LVL217:
- 2682 0134 78E7 b .L238
- 2683 .LVL218:
- 2684 .L251:
- 2685 0136 0123 movs r3, #1
- 2686 .LVL219:
- 2687 0138 76E7 b .L238
- 2688 .LVL220:
- 2689 .L245:
-1902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2690 .loc 1 1902 0
- 2691 013a 0223 movs r3, #2
- 2692 .LVL221:
- 2693 013c 77E7 b .L236
- 2694 .L256:
-ARM GAS /tmp/ccoPM59V.s page 125
-
-
- 2695 013e 00BF .align 2
- 2696 .L255:
- 2697 0140 00000000 .word SPI_DMAHalfTransmitReceiveCplt
- 2698 0144 00000000 .word SPI_DMATransmitReceiveCplt
- 2699 0148 00000000 .word SPI_DMAError
- 2700 014c 00000000 .word SPI_DMAHalfReceiveCplt
- 2701 0150 00000000 .word SPI_DMAReceiveCplt
- 2702 .cfi_endproc
- 2703 .LFE77:
- 2705 .section .text.HAL_SPI_Receive_DMA,"ax",%progbits
- 2706 .align 1
- 2707 .global HAL_SPI_Receive_DMA
- 2708 .syntax unified
- 2709 .thumb
- 2710 .thumb_func
- 2711 .fpu softvfp
- 2713 HAL_SPI_Receive_DMA:
- 2714 .LFB76:
-1773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef errorcode = HAL_OK;
- 2715 .loc 1 1773 0
- 2716 .cfi_startproc
- 2717 @ args = 0, pretend = 0, frame = 0
- 2718 @ frame_needed = 0, uses_anonymous_args = 0
- 2719 .LVL222:
- 2720 0000 38B5 push {r3, r4, r5, lr}
- 2721 .LCFI35:
- 2722 .cfi_def_cfa_offset 16
- 2723 .cfi_offset 3, -16
- 2724 .cfi_offset 4, -12
- 2725 .cfi_offset 5, -8
- 2726 .cfi_offset 14, -4
- 2727 0002 0446 mov r4, r0
- 2728 .LVL223:
-1779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2729 .loc 1 1779 0
- 2730 0004 8568 ldr r5, [r0, #8]
- 2731 0006 1DB9 cbnz r5, .L258
-1779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2732 .loc 1 1779 0 is_stmt 0 discriminator 1
- 2733 0008 4368 ldr r3, [r0, #4]
- 2734 000a B3F5827F cmp r3, #260
- 2735 000e 11D0 beq .L269
- 2736 .L258:
-1791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2737 .loc 1 1791 0 is_stmt 1
- 2738 0010 94F85000 ldrb r0, [r4, #80] @ zero_extendqisi2
- 2739 .LVL224:
- 2740 0014 0128 cmp r0, #1
- 2741 0016 6AD0 beq .L264
-1791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2742 .loc 1 1791 0 is_stmt 0 discriminator 2
- 2743 0018 0123 movs r3, #1
- 2744 001a 84F85030 strb r3, [r4, #80]
-1793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2745 .loc 1 1793 0 is_stmt 1 discriminator 2
- 2746 001e 94F85100 ldrb r0, [r4, #81] @ zero_extendqisi2
- 2747 0022 C0B2 uxtb r0, r0
-ARM GAS /tmp/ccoPM59V.s page 126
-
-
- 2748 0024 9842 cmp r0, r3
- 2749 0026 0ED0 beq .L270
-1795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 2750 .loc 1 1795 0
- 2751 0028 0223 movs r3, #2
- 2752 .LVL225:
- 2753 .L260:
-1873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return errorcode;
- 2754 .loc 1 1873 0
- 2755 002a 0022 movs r2, #0
- 2756 002c 84F85020 strb r2, [r4, #80]
- 2757 .LVL226:
- 2758 .L259:
-1875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2759 .loc 1 1875 0
- 2760 0030 1846 mov r0, r3
- 2761 0032 38BD pop {r3, r4, r5, pc}
- 2762 .LVL227:
- 2763 .L269:
-1781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2764 .loc 1 1781 0
- 2765 0034 0423 movs r3, #4
- 2766 0036 80F85130 strb r3, [r0, #81]
-1787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 2767 .loc 1 1787 0
- 2768 003a 1346 mov r3, r2
- 2769 003c 0A46 mov r2, r1
- 2770 .LVL228:
- 2771 003e FFF7FEFF bl HAL_SPI_TransmitReceive_DMA
- 2772 .LVL229:
- 2773 0042 0346 mov r3, r0
- 2774 0044 F4E7 b .L259
- 2775 .LVL230:
- 2776 .L270:
-1799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2777 .loc 1 1799 0
- 2778 0046 0029 cmp r1, #0
- 2779 0048 4DD0 beq .L266
-1799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2780 .loc 1 1799 0 is_stmt 0 discriminator 1
- 2781 004a 002A cmp r2, #0
- 2782 004c 4DD0 beq .L267
-1806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_NONE;
- 2783 .loc 1 1806 0 is_stmt 1
- 2784 004e 0423 movs r3, #4
- 2785 0050 84F85130 strb r3, [r4, #81]
-1807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr = (uint8_t *)pData;
- 2786 .loc 1 1807 0
- 2787 0054 0023 movs r3, #0
- 2788 0056 6365 str r3, [r4, #84]
-1808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferSize = Size;
- 2789 .loc 1 1808 0
- 2790 0058 A163 str r1, [r4, #56]
-1809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = Size;
- 2791 .loc 1 1809 0
- 2792 005a A287 strh r2, [r4, #60] @ movhi
-1810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-ARM GAS /tmp/ccoPM59V.s page 127
-
-
- 2793 .loc 1 1810 0
- 2794 005c E287 strh r2, [r4, #62] @ movhi
-1813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxISR = NULL;
- 2795 .loc 1 1813 0
- 2796 005e 2364 str r3, [r4, #64]
-1814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferSize = 0U;
- 2797 .loc 1 1814 0
- 2798 0060 6364 str r3, [r4, #68]
-1815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = 0U;
- 2799 .loc 1 1815 0
- 2800 0062 A386 strh r3, [r4, #52] @ movhi
-1816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2801 .loc 1 1816 0
- 2802 0064 E386 strh r3, [r4, #54] @ movhi
-1819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2803 .loc 1 1819 0
- 2804 0066 B5F5004F cmp r5, #32768
- 2805 006a 1DD0 beq .L271
- 2806 .LVL231:
- 2807 .L261:
-1835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2808 .loc 1 1835 0
- 2809 006c E36C ldr r3, [r4, #76]
- 2810 006e 214A ldr r2, .L272
- 2811 0070 DA62 str r2, [r3, #44]
-1838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2812 .loc 1 1838 0
- 2813 0072 E36C ldr r3, [r4, #76]
- 2814 0074 204A ldr r2, .L272+4
- 2815 0076 9A62 str r2, [r3, #40]
-1841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2816 .loc 1 1841 0
- 2817 0078 E36C ldr r3, [r4, #76]
- 2818 007a 204A ldr r2, .L272+8
- 2819 007c 1A63 str r2, [r3, #48]
-1844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2820 .loc 1 1844 0
- 2821 007e E36C ldr r3, [r4, #76]
- 2822 0080 0022 movs r2, #0
- 2823 0082 5A63 str r2, [r3, #52]
-1847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount))
- 2824 .loc 1 1847 0
- 2825 0084 2168 ldr r1, [r4]
- 2826 .LVL232:
-1848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2827 .loc 1 1848 0
- 2828 0086 E38F ldrh r3, [r4, #62]
-1847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount))
- 2829 .loc 1 1847 0
- 2830 0088 9BB2 uxth r3, r3
- 2831 008a A26B ldr r2, [r4, #56]
- 2832 008c 0C31 adds r1, r1, #12
- 2833 008e E06C ldr r0, [r4, #76]
- 2834 0090 FFF7FEFF bl HAL_DMA_Start_IT
- 2835 .LVL233:
- 2836 0094 0346 mov r3, r0
- 2837 0096 90B1 cbz r0, .L262
-ARM GAS /tmp/ccoPM59V.s page 128
-
-
-1851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
- 2838 .loc 1 1851 0
- 2839 0098 636D ldr r3, [r4, #84]
- 2840 009a 43F01003 orr r3, r3, #16
- 2841 009e 6365 str r3, [r4, #84]
- 2842 .LVL234:
-1854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 2843 .loc 1 1854 0
- 2844 00a0 0123 movs r3, #1
- 2845 00a2 84F85130 strb r3, [r4, #81]
-1855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 2846 .loc 1 1855 0
- 2847 00a6 C0E7 b .L260
- 2848 .LVL235:
- 2849 .L271:
-1822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_1LINE_RX(hspi);
- 2850 .loc 1 1822 0
- 2851 00a8 2268 ldr r2, [r4]
- 2852 .LVL236:
- 2853 00aa 1368 ldr r3, [r2]
- 2854 00ac 23F04003 bic r3, r3, #64
- 2855 00b0 1360 str r3, [r2]
- 2856 .LVL237:
-1823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 2857 .loc 1 1823 0
- 2858 00b2 2268 ldr r2, [r4]
- 2859 00b4 1368 ldr r3, [r2]
- 2860 00b6 23F48043 bic r3, r3, #16384
- 2861 00ba 1360 str r3, [r2]
- 2862 00bc D6E7 b .L261
- 2863 .LVL238:
- 2864 .L262:
-1859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2865 .loc 1 1859 0
- 2866 00be 2268 ldr r2, [r4]
- 2867 00c0 1168 ldr r1, [r2]
- 2868 00c2 11F0400F tst r1, #64
- 2869 00c6 03D1 bne .L263
-1862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 2870 .loc 1 1862 0
- 2871 00c8 1168 ldr r1, [r2]
- 2872 00ca 41F04001 orr r1, r1, #64
- 2873 00ce 1160 str r1, [r2]
- 2874 .L263:
-1866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2875 .loc 1 1866 0
- 2876 00d0 2168 ldr r1, [r4]
- 2877 00d2 4A68 ldr r2, [r1, #4]
- 2878 00d4 42F02002 orr r2, r2, #32
- 2879 00d8 4A60 str r2, [r1, #4]
-1869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2880 .loc 1 1869 0
- 2881 00da 2168 ldr r1, [r4]
- 2882 00dc 4A68 ldr r2, [r1, #4]
- 2883 00de 42F00102 orr r2, r2, #1
- 2884 00e2 4A60 str r2, [r1, #4]
- 2885 00e4 A1E7 b .L260
-ARM GAS /tmp/ccoPM59V.s page 129
-
-
- 2886 .LVL239:
- 2887 .L266:
-1801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** goto error;
- 2888 .loc 1 1801 0
- 2889 00e6 0123 movs r3, #1
- 2890 00e8 9FE7 b .L260
- 2891 .L267:
- 2892 00ea 0123 movs r3, #1
- 2893 00ec 9DE7 b .L260
- 2894 .L264:
-1791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2895 .loc 1 1791 0
- 2896 00ee 0223 movs r3, #2
- 2897 00f0 9EE7 b .L259
- 2898 .L273:
- 2899 00f2 00BF .align 2
- 2900 .L272:
- 2901 00f4 00000000 .word SPI_DMAHalfReceiveCplt
- 2902 00f8 00000000 .word SPI_DMAReceiveCplt
- 2903 00fc 00000000 .word SPI_DMAError
- 2904 .cfi_endproc
- 2905 .LFE76:
- 2907 .section .text.HAL_SPI_Abort,"ax",%progbits
- 2908 .align 1
- 2909 .global HAL_SPI_Abort
- 2910 .syntax unified
- 2911 .thumb
- 2912 .thumb_func
- 2913 .fpu softvfp
- 2915 HAL_SPI_Abort:
- 2916 .LFB78:
-2034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef errorcode;
- 2917 .loc 1 2034 0
- 2918 .cfi_startproc
- 2919 @ args = 0, pretend = 0, frame = 16
- 2920 @ frame_needed = 0, uses_anonymous_args = 0
- 2921 .LVL240:
- 2922 0000 10B5 push {r4, lr}
- 2923 .LCFI36:
- 2924 .cfi_def_cfa_offset 8
- 2925 .cfi_offset 4, -8
- 2926 .cfi_offset 14, -4
- 2927 0002 84B0 sub sp, sp, #16
- 2928 .LCFI37:
- 2929 .cfi_def_cfa_offset 24
- 2930 0004 0446 mov r4, r0
- 2931 .LVL241:
-2041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** count = resetcount;
- 2932 .loc 1 2041 0
- 2933 0006 494B ldr r3, .L295
- 2934 0008 1B68 ldr r3, [r3]
- 2935 000a 494A ldr r2, .L295+4
- 2936 000c A2FB0323 umull r2, r3, r2, r3
- 2937 0010 5B0A lsrs r3, r3, #9
- 2938 0012 6422 movs r2, #100
- 2939 0014 02FB03F3 mul r3, r2, r3
- 2940 0018 0293 str r3, [sp, #8]
-ARM GAS /tmp/ccoPM59V.s page 130
-
-
-2042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2941 .loc 1 2042 0
- 2942 001a 029B ldr r3, [sp, #8]
- 2943 001c 0393 str r3, [sp, #12]
-2045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 2944 .loc 1 2045 0
- 2945 001e 0268 ldr r2, [r0]
- 2946 0020 5368 ldr r3, [r2, #4]
- 2947 0022 23F02003 bic r3, r3, #32
- 2948 0026 5360 str r3, [r2, #4]
-2048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2949 .loc 1 2048 0
- 2950 0028 0268 ldr r2, [r0]
- 2951 002a 5368 ldr r3, [r2, #4]
- 2952 002c 13F0800F tst r3, #128
- 2953 0030 12D0 beq .L275
-2050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Wait HAL_SPI_STATE_ABORT state */
- 2954 .loc 1 2050 0
- 2955 0032 404B ldr r3, .L295+8
- 2956 0034 4364 str r3, [r0, #68]
- 2957 .L278:
-2054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2958 .loc 1 2054 0
- 2959 0036 039B ldr r3, [sp, #12]
- 2960 0038 43B1 cbz r3, .L292
-2059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** } while (hspi->State != HAL_SPI_STATE_ABORT);
- 2961 .loc 1 2059 0
- 2962 003a 039B ldr r3, [sp, #12]
- 2963 003c 013B subs r3, r3, #1
- 2964 003e 0393 str r3, [sp, #12]
-2060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset Timeout Counter */
- 2965 .loc 1 2060 0
- 2966 0040 94F85130 ldrb r3, [r4, #81] @ zero_extendqisi2
- 2967 0044 DBB2 uxtb r3, r3
- 2968 0046 072B cmp r3, #7
- 2969 0048 F5D1 bne .L278
- 2970 004a 03E0 b .L277
- 2971 .L292:
-2056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 2972 .loc 1 2056 0
- 2973 004c 636D ldr r3, [r4, #84]
- 2974 004e 43F04003 orr r3, r3, #64
- 2975 0052 6365 str r3, [r4, #84]
- 2976 .L277:
-2062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 2977 .loc 1 2062 0
- 2978 0054 029B ldr r3, [sp, #8]
- 2979 0056 0393 str r3, [sp, #12]
- 2980 .L275:
-2065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2981 .loc 1 2065 0
- 2982 0058 5368 ldr r3, [r2, #4]
- 2983 005a 13F0400F tst r3, #64
- 2984 005e 12D0 beq .L279
-2067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Wait HAL_SPI_STATE_ABORT state */
- 2985 .loc 1 2067 0
- 2986 0060 354B ldr r3, .L295+12
-ARM GAS /tmp/ccoPM59V.s page 131
-
-
- 2987 0062 2364 str r3, [r4, #64]
- 2988 .L282:
-2071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 2989 .loc 1 2071 0
- 2990 0064 039B ldr r3, [sp, #12]
- 2991 0066 43B1 cbz r3, .L293
-2076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** } while (hspi->State != HAL_SPI_STATE_ABORT);
- 2992 .loc 1 2076 0
- 2993 0068 039B ldr r3, [sp, #12]
- 2994 006a 013B subs r3, r3, #1
- 2995 006c 0393 str r3, [sp, #12]
-2077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset Timeout Counter */
- 2996 .loc 1 2077 0
- 2997 006e 94F85130 ldrb r3, [r4, #81] @ zero_extendqisi2
- 2998 0072 DBB2 uxtb r3, r3
- 2999 0074 072B cmp r3, #7
- 3000 0076 F5D1 bne .L282
- 3001 0078 03E0 b .L281
- 3002 .L293:
-2073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 3003 .loc 1 2073 0
- 3004 007a 636D ldr r3, [r4, #84]
- 3005 007c 43F04003 orr r3, r3, #64
- 3006 0080 6365 str r3, [r4, #84]
- 3007 .L281:
-2079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 3008 .loc 1 2079 0
- 3009 0082 029B ldr r3, [sp, #8]
- 3010 0084 0393 str r3, [sp, #12]
- 3011 .L279:
-2083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 3012 .loc 1 2083 0
- 3013 0086 5368 ldr r3, [r2, #4]
- 3014 0088 13F0020F tst r3, #2
- 3015 008c 1DD0 beq .L283
-2086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 3016 .loc 1 2086 0
- 3017 008e A36C ldr r3, [r4, #72]
- 3018 0090 DBB1 cbz r3, .L283
-2090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3019 .loc 1 2090 0
- 3020 0092 0022 movs r2, #0
- 3021 0094 5A63 str r2, [r3, #52]
-2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 3022 .loc 1 2093 0
- 3023 0096 A06C ldr r0, [r4, #72]
- 3024 .LVL242:
- 3025 0098 FFF7FEFF bl HAL_DMA_Abort
- 3026 .LVL243:
- 3027 009c 08B1 cbz r0, .L284
-2095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 3028 .loc 1 2095 0
- 3029 009e 4023 movs r3, #64
- 3030 00a0 6365 str r3, [r4, #84]
- 3031 .L284:
-2099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3032 .loc 1 2099 0
-ARM GAS /tmp/ccoPM59V.s page 132
-
-
- 3033 00a2 2268 ldr r2, [r4]
- 3034 00a4 5368 ldr r3, [r2, #4]
- 3035 00a6 23F00203 bic r3, r3, #2
- 3036 00aa 5360 str r3, [r2, #4]
- 3037 .L286:
-2104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 3038 .loc 1 2104 0
- 3039 00ac 039B ldr r3, [sp, #12]
- 3040 00ae 43B1 cbz r3, .L294
-2109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** } while ((hspi->Instance->SR & SPI_FLAG_TXE) == RESET);
- 3041 .loc 1 2109 0
- 3042 00b0 039B ldr r3, [sp, #12]
- 3043 00b2 013B subs r3, r3, #1
- 3044 00b4 0393 str r3, [sp, #12]
-2110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 3045 .loc 1 2110 0
- 3046 00b6 2368 ldr r3, [r4]
- 3047 00b8 9B68 ldr r3, [r3, #8]
- 3048 00ba 13F0020F tst r3, #2
- 3049 00be F5D0 beq .L286
- 3050 00c0 03E0 b .L283
- 3051 .L294:
-2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 3052 .loc 1 2106 0
- 3053 00c2 636D ldr r3, [r4, #84]
- 3054 00c4 43F04003 orr r3, r3, #64
- 3055 00c8 6365 str r3, [r4, #84]
- 3056 .L283:
-2115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 3057 .loc 1 2115 0
- 3058 00ca 2368 ldr r3, [r4]
- 3059 00cc 5B68 ldr r3, [r3, #4]
- 3060 00ce 13F0010F tst r3, #1
- 3061 00d2 13D0 beq .L287
-2118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 3062 .loc 1 2118 0
- 3063 00d4 E36C ldr r3, [r4, #76]
- 3064 00d6 8BB1 cbz r3, .L287
-2122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3065 .loc 1 2122 0
- 3066 00d8 0022 movs r2, #0
- 3067 00da 5A63 str r2, [r3, #52]
-2125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 3068 .loc 1 2125 0
- 3069 00dc E06C ldr r0, [r4, #76]
- 3070 00de FFF7FEFF bl HAL_DMA_Abort
- 3071 .LVL244:
- 3072 00e2 08B1 cbz r0, .L288
-2127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 3073 .loc 1 2127 0
- 3074 00e4 4023 movs r3, #64
- 3075 00e6 6365 str r3, [r4, #84]
- 3076 .L288:
-2131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3077 .loc 1 2131 0
- 3078 00e8 2268 ldr r2, [r4]
- 3079 00ea 1368 ldr r3, [r2]
-ARM GAS /tmp/ccoPM59V.s page 133
-
-
- 3080 00ec 23F04003 bic r3, r3, #64
- 3081 00f0 1360 str r3, [r2]
-2134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 3082 .loc 1 2134 0
- 3083 00f2 2268 ldr r2, [r4]
- 3084 00f4 5368 ldr r3, [r2, #4]
- 3085 00f6 23F00103 bic r3, r3, #1
- 3086 00fa 5360 str r3, [r2, #4]
- 3087 .L287:
-2138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = 0U;
- 3088 .loc 1 2138 0
- 3089 00fc 0023 movs r3, #0
- 3090 00fe E387 strh r3, [r4, #62] @ movhi
-2139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3091 .loc 1 2139 0
- 3092 0100 E386 strh r3, [r4, #54] @ movhi
-2142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 3093 .loc 1 2142 0
- 3094 0102 636D ldr r3, [r4, #84]
- 3095 0104 402B cmp r3, #64
- 3096 0106 0ED0 beq .L290
-2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 3097 .loc 1 2150 0
- 3098 0108 0020 movs r0, #0
- 3099 010a 6065 str r0, [r4, #84]
- 3100 .L289:
- 3101 .LVL245:
- 3102 .LBB4:
-2154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3103 .loc 1 2154 0
- 3104 010c 0023 movs r3, #0
- 3105 010e 0193 str r3, [sp, #4]
- 3106 0110 2368 ldr r3, [r4]
- 3107 0112 DA68 ldr r2, [r3, #12]
- 3108 0114 0192 str r2, [sp, #4]
- 3109 0116 9B68 ldr r3, [r3, #8]
- 3110 0118 0193 str r3, [sp, #4]
- 3111 011a 019B ldr r3, [sp, #4]
- 3112 .LBE4:
-2157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3113 .loc 1 2157 0
- 3114 011c 0123 movs r3, #1
- 3115 011e 84F85130 strb r3, [r4, #81]
-2160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3116 .loc 1 2160 0
- 3117 0122 04B0 add sp, sp, #16
- 3118 .LCFI38:
- 3119 .cfi_remember_state
- 3120 .cfi_def_cfa_offset 8
- 3121 @ sp needed
- 3122 0124 10BD pop {r4, pc}
- 3123 .LVL246:
- 3124 .L290:
- 3125 .LCFI39:
- 3126 .cfi_restore_state
-2145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 3127 .loc 1 2145 0
-ARM GAS /tmp/ccoPM59V.s page 134
-
-
- 3128 0126 0120 movs r0, #1
- 3129 0128 F0E7 b .L289
- 3130 .L296:
- 3131 012a 00BF .align 2
- 3132 .L295:
- 3133 012c 00000000 .word SystemCoreClock
- 3134 0130 F1197605 .word 91625969
- 3135 0134 00000000 .word SPI_AbortTx_ISR
- 3136 0138 00000000 .word SPI_AbortRx_ISR
- 3137 .cfi_endproc
- 3138 .LFE78:
- 3140 .section .text.HAL_SPI_DMAPause,"ax",%progbits
- 3141 .align 1
- 3142 .global HAL_SPI_DMAPause
- 3143 .syntax unified
- 3144 .thumb
- 3145 .thumb_func
- 3146 .fpu softvfp
- 3148 HAL_SPI_DMAPause:
- 3149 .LFB80:
-2338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process Locked */
- 3150 .loc 1 2338 0
- 3151 .cfi_startproc
- 3152 @ args = 0, pretend = 0, frame = 0
- 3153 @ frame_needed = 0, uses_anonymous_args = 0
- 3154 @ link register save eliminated.
- 3155 .LVL247:
-2340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3156 .loc 1 2340 0
- 3157 0000 90F85030 ldrb r3, [r0, #80] @ zero_extendqisi2
- 3158 0004 012B cmp r3, #1
- 3159 0006 0CD0 beq .L299
-2340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3160 .loc 1 2340 0 is_stmt 0 discriminator 2
- 3161 0008 0123 movs r3, #1
- 3162 000a 80F85030 strb r3, [r0, #80]
-2343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3163 .loc 1 2343 0 is_stmt 1 discriminator 2
- 3164 000e 0268 ldr r2, [r0]
- 3165 0010 5368 ldr r3, [r2, #4]
- 3166 0012 23F00303 bic r3, r3, #3
- 3167 0016 5360 str r3, [r2, #4]
-2346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3168 .loc 1 2346 0 discriminator 2
- 3169 0018 0023 movs r3, #0
- 3170 001a 80F85030 strb r3, [r0, #80]
-2348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 3171 .loc 1 2348 0 discriminator 2
- 3172 001e 1846 mov r0, r3
- 3173 .LVL248:
- 3174 0020 7047 bx lr
- 3175 .LVL249:
- 3176 .L299:
-2340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3177 .loc 1 2340 0
- 3178 0022 0220 movs r0, #2
- 3179 .LVL250:
-ARM GAS /tmp/ccoPM59V.s page 135
-
-
-2349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3180 .loc 1 2349 0
- 3181 0024 7047 bx lr
- 3182 .cfi_endproc
- 3183 .LFE80:
- 3185 .section .text.HAL_SPI_DMAResume,"ax",%progbits
- 3186 .align 1
- 3187 .global HAL_SPI_DMAResume
- 3188 .syntax unified
- 3189 .thumb
- 3190 .thumb_func
- 3191 .fpu softvfp
- 3193 HAL_SPI_DMAResume:
- 3194 .LFB81:
-2358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Process Locked */
- 3195 .loc 1 2358 0
- 3196 .cfi_startproc
- 3197 @ args = 0, pretend = 0, frame = 0
- 3198 @ frame_needed = 0, uses_anonymous_args = 0
- 3199 @ link register save eliminated.
- 3200 .LVL251:
-2360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3201 .loc 1 2360 0
- 3202 0000 90F85030 ldrb r3, [r0, #80] @ zero_extendqisi2
- 3203 0004 012B cmp r3, #1
- 3204 0006 0CD0 beq .L302
-2360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3205 .loc 1 2360 0 is_stmt 0 discriminator 2
- 3206 0008 0123 movs r3, #1
- 3207 000a 80F85030 strb r3, [r0, #80]
-2363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3208 .loc 1 2363 0 is_stmt 1 discriminator 2
- 3209 000e 0268 ldr r2, [r0]
- 3210 0010 5368 ldr r3, [r2, #4]
- 3211 0012 43F00303 orr r3, r3, #3
- 3212 0016 5360 str r3, [r2, #4]
-2366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3213 .loc 1 2366 0 discriminator 2
- 3214 0018 0023 movs r3, #0
- 3215 001a 80F85030 strb r3, [r0, #80]
-2368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 3216 .loc 1 2368 0 discriminator 2
- 3217 001e 1846 mov r0, r3
- 3218 .LVL252:
- 3219 0020 7047 bx lr
- 3220 .LVL253:
- 3221 .L302:
-2360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3222 .loc 1 2360 0
- 3223 0022 0220 movs r0, #2
- 3224 .LVL254:
-2369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3225 .loc 1 2369 0
- 3226 0024 7047 bx lr
- 3227 .cfi_endproc
- 3228 .LFE81:
- 3230 .section .text.HAL_SPI_DMAStop,"ax",%progbits
-ARM GAS /tmp/ccoPM59V.s page 136
-
-
- 3231 .align 1
- 3232 .global HAL_SPI_DMAStop
- 3233 .syntax unified
- 3234 .thumb
- 3235 .thumb_func
- 3236 .fpu softvfp
- 3238 HAL_SPI_DMAStop:
- 3239 .LFB82:
-2378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef errorcode = HAL_OK;
- 3240 .loc 1 2378 0
- 3241 .cfi_startproc
- 3242 @ args = 0, pretend = 0, frame = 0
- 3243 @ frame_needed = 0, uses_anonymous_args = 0
- 3244 .LVL255:
- 3245 0000 38B5 push {r3, r4, r5, lr}
- 3246 .LCFI40:
- 3247 .cfi_def_cfa_offset 16
- 3248 .cfi_offset 3, -16
- 3249 .cfi_offset 4, -12
- 3250 .cfi_offset 5, -8
- 3251 .cfi_offset 14, -4
- 3252 0002 0446 mov r4, r0
- 3253 .LVL256:
-2387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 3254 .loc 1 2387 0
- 3255 0004 806C ldr r0, [r0, #72]
- 3256 .LVL257:
- 3257 0006 E0B1 cbz r0, .L306
-2389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 3258 .loc 1 2389 0
- 3259 0008 FFF7FEFF bl HAL_DMA_Abort
- 3260 .LVL258:
- 3261 000c 0546 mov r5, r0
- 3262 000e 20B1 cbz r0, .L304
-2391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
- 3263 .loc 1 2391 0
- 3264 0010 636D ldr r3, [r4, #84]
- 3265 0012 43F01003 orr r3, r3, #16
- 3266 0016 6365 str r3, [r4, #84]
- 3267 .LVL259:
-2392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 3268 .loc 1 2392 0
- 3269 0018 0125 movs r5, #1
- 3270 .LVL260:
- 3271 .L304:
-2396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 3272 .loc 1 2396 0
- 3273 001a E06C ldr r0, [r4, #76]
- 3274 001c 38B1 cbz r0, .L305
-2398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 3275 .loc 1 2398 0
- 3276 001e FFF7FEFF bl HAL_DMA_Abort
- 3277 .LVL261:
- 3278 0022 20B1 cbz r0, .L305
-2400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** errorcode = HAL_ERROR;
- 3279 .loc 1 2400 0
- 3280 0024 636D ldr r3, [r4, #84]
-ARM GAS /tmp/ccoPM59V.s page 137
-
-
- 3281 0026 43F01003 orr r3, r3, #16
- 3282 002a 6365 str r3, [r4, #84]
- 3283 .LVL262:
-2401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 3284 .loc 1 2401 0
- 3285 002c 0125 movs r5, #1
- 3286 .LVL263:
- 3287 .L305:
-2406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
- 3288 .loc 1 2406 0
- 3289 002e 2268 ldr r2, [r4]
- 3290 0030 5368 ldr r3, [r2, #4]
- 3291 0032 23F00303 bic r3, r3, #3
- 3292 0036 5360 str r3, [r2, #4]
-2407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return errorcode;
- 3293 .loc 1 2407 0
- 3294 0038 0123 movs r3, #1
- 3295 003a 84F85130 strb r3, [r4, #81]
-2409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3296 .loc 1 2409 0
- 3297 003e 2846 mov r0, r5
- 3298 0040 38BD pop {r3, r4, r5, pc}
- 3299 .LVL264:
- 3300 .L306:
-2379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* The Lock is not implemented on this API to allow the user application
- 3301 .loc 1 2379 0
- 3302 0042 0025 movs r5, #0
- 3303 0044 E9E7 b .L304
- 3304 .cfi_endproc
- 3305 .LFE82:
- 3307 .section .text.HAL_SPI_TxCpltCallback,"ax",%progbits
- 3308 .align 1
- 3309 .weak HAL_SPI_TxCpltCallback
- 3310 .syntax unified
- 3311 .thumb
- 3312 .thumb_func
- 3313 .fpu softvfp
- 3315 HAL_SPI_TxCpltCallback:
- 3316 .LFB84:
-2520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Prevent unused argument(s) compilation warning */
- 3317 .loc 1 2520 0
- 3318 .cfi_startproc
- 3319 @ args = 0, pretend = 0, frame = 0
- 3320 @ frame_needed = 0, uses_anonymous_args = 0
- 3321 @ link register save eliminated.
- 3322 .LVL265:
- 3323 0000 7047 bx lr
- 3324 .cfi_endproc
- 3325 .LFE84:
- 3327 .section .text.HAL_SPI_RxCpltCallback,"ax",%progbits
- 3328 .align 1
- 3329 .weak HAL_SPI_RxCpltCallback
- 3330 .syntax unified
- 3331 .thumb
- 3332 .thumb_func
- 3333 .fpu softvfp
- 3335 HAL_SPI_RxCpltCallback:
-ARM GAS /tmp/ccoPM59V.s page 138
-
-
- 3336 .LFB85:
-2536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Prevent unused argument(s) compilation warning */
- 3337 .loc 1 2536 0
- 3338 .cfi_startproc
- 3339 @ args = 0, pretend = 0, frame = 0
- 3340 @ frame_needed = 0, uses_anonymous_args = 0
- 3341 @ link register save eliminated.
- 3342 .LVL266:
- 3343 0000 7047 bx lr
- 3344 .cfi_endproc
- 3345 .LFE85:
- 3347 .section .text.HAL_SPI_TxRxCpltCallback,"ax",%progbits
- 3348 .align 1
- 3349 .weak HAL_SPI_TxRxCpltCallback
- 3350 .syntax unified
- 3351 .thumb
- 3352 .thumb_func
- 3353 .fpu softvfp
- 3355 HAL_SPI_TxRxCpltCallback:
- 3356 .LFB86:
-2552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Prevent unused argument(s) compilation warning */
- 3357 .loc 1 2552 0
- 3358 .cfi_startproc
- 3359 @ args = 0, pretend = 0, frame = 0
- 3360 @ frame_needed = 0, uses_anonymous_args = 0
- 3361 @ link register save eliminated.
- 3362 .LVL267:
- 3363 0000 7047 bx lr
- 3364 .cfi_endproc
- 3365 .LFE86:
- 3367 .section .text.HAL_SPI_TxHalfCpltCallback,"ax",%progbits
- 3368 .align 1
- 3369 .weak HAL_SPI_TxHalfCpltCallback
- 3370 .syntax unified
- 3371 .thumb
- 3372 .thumb_func
- 3373 .fpu softvfp
- 3375 HAL_SPI_TxHalfCpltCallback:
- 3376 .LFB87:
-2568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Prevent unused argument(s) compilation warning */
- 3377 .loc 1 2568 0
- 3378 .cfi_startproc
- 3379 @ args = 0, pretend = 0, frame = 0
- 3380 @ frame_needed = 0, uses_anonymous_args = 0
- 3381 @ link register save eliminated.
- 3382 .LVL268:
- 3383 0000 7047 bx lr
- 3384 .cfi_endproc
- 3385 .LFE87:
- 3387 .section .text.SPI_DMAHalfTransmitCplt,"ax",%progbits
- 3388 .align 1
- 3389 .syntax unified
- 3390 .thumb
- 3391 .thumb_func
- 3392 .fpu softvfp
- 3394 SPI_DMAHalfTransmitCplt:
- 3395 .LFB97:
-ARM GAS /tmp/ccoPM59V.s page 139
-
-
-2942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_HandleTypeDef *hspi = (SPI_HandleTypeDef *)(((DMA_HandleTypeDef *)hdma)->Parent); /* Derogati
- 3396 .loc 1 2942 0
- 3397 .cfi_startproc
- 3398 @ args = 0, pretend = 0, frame = 0
- 3399 @ frame_needed = 0, uses_anonymous_args = 0
- 3400 .LVL269:
-2942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_HandleTypeDef *hspi = (SPI_HandleTypeDef *)(((DMA_HandleTypeDef *)hdma)->Parent); /* Derogati
- 3401 .loc 1 2942 0
- 3402 0000 08B5 push {r3, lr}
- 3403 .LCFI41:
- 3404 .cfi_def_cfa_offset 8
- 3405 .cfi_offset 3, -8
- 3406 .cfi_offset 14, -4
- 3407 .LVL270:
-2949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 3408 .loc 1 2949 0
- 3409 0002 406A ldr r0, [r0, #36]
- 3410 .LVL271:
- 3411 0004 FFF7FEFF bl HAL_SPI_TxHalfCpltCallback
- 3412 .LVL272:
- 3413 0008 08BD pop {r3, pc}
- 3414 .cfi_endproc
- 3415 .LFE97:
- 3417 .section .text.HAL_SPI_RxHalfCpltCallback,"ax",%progbits
- 3418 .align 1
- 3419 .weak HAL_SPI_RxHalfCpltCallback
- 3420 .syntax unified
- 3421 .thumb
- 3422 .thumb_func
- 3423 .fpu softvfp
- 3425 HAL_SPI_RxHalfCpltCallback:
- 3426 .LFB88:
-2584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Prevent unused argument(s) compilation warning */
- 3427 .loc 1 2584 0
- 3428 .cfi_startproc
- 3429 @ args = 0, pretend = 0, frame = 0
- 3430 @ frame_needed = 0, uses_anonymous_args = 0
- 3431 @ link register save eliminated.
- 3432 .LVL273:
- 3433 0000 7047 bx lr
- 3434 .cfi_endproc
- 3435 .LFE88:
- 3437 .section .text.SPI_DMAHalfReceiveCplt,"ax",%progbits
- 3438 .align 1
- 3439 .syntax unified
- 3440 .thumb
- 3441 .thumb_func
- 3442 .fpu softvfp
- 3444 SPI_DMAHalfReceiveCplt:
- 3445 .LFB98:
-2960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_HandleTypeDef *hspi = (SPI_HandleTypeDef *)(((DMA_HandleTypeDef *)hdma)->Parent); /* Derogati
- 3446 .loc 1 2960 0
- 3447 .cfi_startproc
- 3448 @ args = 0, pretend = 0, frame = 0
- 3449 @ frame_needed = 0, uses_anonymous_args = 0
- 3450 .LVL274:
-2960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_HandleTypeDef *hspi = (SPI_HandleTypeDef *)(((DMA_HandleTypeDef *)hdma)->Parent); /* Derogati
-ARM GAS /tmp/ccoPM59V.s page 140
-
-
- 3451 .loc 1 2960 0
- 3452 0000 08B5 push {r3, lr}
- 3453 .LCFI42:
- 3454 .cfi_def_cfa_offset 8
- 3455 .cfi_offset 3, -8
- 3456 .cfi_offset 14, -4
- 3457 .LVL275:
-2967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 3458 .loc 1 2967 0
- 3459 0002 406A ldr r0, [r0, #36]
- 3460 .LVL276:
- 3461 0004 FFF7FEFF bl HAL_SPI_RxHalfCpltCallback
- 3462 .LVL277:
- 3463 0008 08BD pop {r3, pc}
- 3464 .cfi_endproc
- 3465 .LFE98:
- 3467 .section .text.HAL_SPI_TxRxHalfCpltCallback,"ax",%progbits
- 3468 .align 1
- 3469 .weak HAL_SPI_TxRxHalfCpltCallback
- 3470 .syntax unified
- 3471 .thumb
- 3472 .thumb_func
- 3473 .fpu softvfp
- 3475 HAL_SPI_TxRxHalfCpltCallback:
- 3476 .LFB89:
-2600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Prevent unused argument(s) compilation warning */
- 3477 .loc 1 2600 0
- 3478 .cfi_startproc
- 3479 @ args = 0, pretend = 0, frame = 0
- 3480 @ frame_needed = 0, uses_anonymous_args = 0
- 3481 @ link register save eliminated.
- 3482 .LVL278:
- 3483 0000 7047 bx lr
- 3484 .cfi_endproc
- 3485 .LFE89:
- 3487 .section .text.SPI_DMAHalfTransmitReceiveCplt,"ax",%progbits
- 3488 .align 1
- 3489 .syntax unified
- 3490 .thumb
- 3491 .thumb_func
- 3492 .fpu softvfp
- 3494 SPI_DMAHalfTransmitReceiveCplt:
- 3495 .LFB99:
-2978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_HandleTypeDef *hspi = (SPI_HandleTypeDef *)(((DMA_HandleTypeDef *)hdma)->Parent); /* Derogati
- 3496 .loc 1 2978 0
- 3497 .cfi_startproc
- 3498 @ args = 0, pretend = 0, frame = 0
- 3499 @ frame_needed = 0, uses_anonymous_args = 0
- 3500 .LVL279:
-2978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_HandleTypeDef *hspi = (SPI_HandleTypeDef *)(((DMA_HandleTypeDef *)hdma)->Parent); /* Derogati
- 3501 .loc 1 2978 0
- 3502 0000 08B5 push {r3, lr}
- 3503 .LCFI43:
- 3504 .cfi_def_cfa_offset 8
- 3505 .cfi_offset 3, -8
- 3506 .cfi_offset 14, -4
- 3507 .LVL280:
-ARM GAS /tmp/ccoPM59V.s page 141
-
-
-2985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 3508 .loc 1 2985 0
- 3509 0002 406A ldr r0, [r0, #36]
- 3510 .LVL281:
- 3511 0004 FFF7FEFF bl HAL_SPI_TxRxHalfCpltCallback
- 3512 .LVL282:
- 3513 0008 08BD pop {r3, pc}
- 3514 .cfi_endproc
- 3515 .LFE99:
- 3517 .section .text.HAL_SPI_ErrorCallback,"ax",%progbits
- 3518 .align 1
- 3519 .weak HAL_SPI_ErrorCallback
- 3520 .syntax unified
- 3521 .thumb
- 3522 .thumb_func
- 3523 .fpu softvfp
- 3525 HAL_SPI_ErrorCallback:
- 3526 .LFB90:
-2616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Prevent unused argument(s) compilation warning */
- 3527 .loc 1 2616 0
- 3528 .cfi_startproc
- 3529 @ args = 0, pretend = 0, frame = 0
- 3530 @ frame_needed = 0, uses_anonymous_args = 0
- 3531 @ link register save eliminated.
- 3532 .LVL283:
- 3533 0000 7047 bx lr
- 3534 .cfi_endproc
- 3535 .LFE90:
- 3537 .section .text.SPI_CloseTx_ISR,"ax",%progbits
- 3538 .align 1
- 3539 .syntax unified
- 3540 .thumb
- 3541 .thumb_func
- 3542 .fpu softvfp
- 3544 SPI_CloseTx_ISR:
- 3545 .LFB117:
-3815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t tickstart;
- 3546 .loc 1 3815 0
- 3547 .cfi_startproc
- 3548 @ args = 0, pretend = 0, frame = 8
- 3549 @ frame_needed = 0, uses_anonymous_args = 0
- 3550 .LVL284:
-3815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t tickstart;
- 3551 .loc 1 3815 0
- 3552 0000 10B5 push {r4, lr}
- 3553 .LCFI44:
- 3554 .cfi_def_cfa_offset 8
- 3555 .cfi_offset 4, -8
- 3556 .cfi_offset 14, -4
- 3557 0002 82B0 sub sp, sp, #8
- 3558 .LCFI45:
- 3559 .cfi_def_cfa_offset 16
- 3560 0004 0446 mov r4, r0
-3817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3561 .loc 1 3817 0
- 3562 0006 204B ldr r3, .L332
- 3563 0008 1B68 ldr r3, [r3]
-ARM GAS /tmp/ccoPM59V.s page 142
-
-
- 3564 000a 204A ldr r2, .L332+4
- 3565 000c A2FB0323 umull r2, r3, r2, r3
- 3566 0010 5B0A lsrs r3, r3, #9
- 3567 0012 6422 movs r2, #100
- 3568 0014 02FB03F3 mul r3, r2, r3
- 3569 0018 0193 str r3, [sp, #4]
-3820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3570 .loc 1 3820 0
- 3571 001a FFF7FEFF bl HAL_GetTick
- 3572 .LVL285:
- 3573 001e 0246 mov r2, r0
- 3574 .LVL286:
- 3575 .L324:
-3825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 3576 .loc 1 3825 0
- 3577 0020 019B ldr r3, [sp, #4]
- 3578 0022 43B1 cbz r3, .L330
-3830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** } while ((hspi->Instance->SR & SPI_FLAG_TXE) == RESET);
- 3579 .loc 1 3830 0
- 3580 0024 019B ldr r3, [sp, #4]
- 3581 0026 013B subs r3, r3, #1
- 3582 0028 0193 str r3, [sp, #4]
-3831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3583 .loc 1 3831 0
- 3584 002a 2368 ldr r3, [r4]
- 3585 002c 9B68 ldr r3, [r3, #8]
- 3586 002e 13F0020F tst r3, #2
- 3587 0032 F5D0 beq .L324
- 3588 0034 03E0 b .L323
- 3589 .L330:
-3827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 3590 .loc 1 3827 0
- 3591 0036 636D ldr r3, [r4, #84]
- 3592 0038 43F02003 orr r3, r3, #32
- 3593 003c 6365 str r3, [r4, #84]
- 3594 .L323:
-3834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3595 .loc 1 3834 0
- 3596 003e 2168 ldr r1, [r4]
- 3597 0040 4B68 ldr r3, [r1, #4]
- 3598 0042 23F0A003 bic r3, r3, #160
- 3599 0046 4B60 str r3, [r1, #4]
-3837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 3600 .loc 1 3837 0
- 3601 0048 6421 movs r1, #100
- 3602 004a 2046 mov r0, r4
- 3603 .LVL287:
- 3604 004c FFF7FEFF bl SPI_EndRxTxTransaction
- 3605 .LVL288:
- 3606 0050 18B1 cbz r0, .L325
-3839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 3607 .loc 1 3839 0
- 3608 0052 636D ldr r3, [r4, #84]
- 3609 0054 43F02003 orr r3, r3, #32
- 3610 0058 6365 str r3, [r4, #84]
- 3611 .L325:
-3843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-ARM GAS /tmp/ccoPM59V.s page 143
-
-
- 3612 .loc 1 3843 0
- 3613 005a A368 ldr r3, [r4, #8]
- 3614 005c 33B9 cbnz r3, .L326
- 3615 .LBB5:
-3845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 3616 .loc 1 3845 0
- 3617 005e 0093 str r3, [sp]
- 3618 0060 2368 ldr r3, [r4]
- 3619 0062 DA68 ldr r2, [r3, #12]
- 3620 0064 0092 str r2, [sp]
- 3621 0066 9B68 ldr r3, [r3, #8]
- 3622 0068 0093 str r3, [sp]
- 3623 006a 009B ldr r3, [sp]
- 3624 .L326:
- 3625 .LBE5:
-3848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (hspi->ErrorCode != HAL_SPI_ERROR_NONE)
- 3626 .loc 1 3848 0
- 3627 006c 0123 movs r3, #1
- 3628 006e 84F85130 strb r3, [r4, #81]
-3849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 3629 .loc 1 3849 0
- 3630 0072 636D ldr r3, [r4, #84]
- 3631 0074 23B9 cbnz r3, .L331
-3864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 3632 .loc 1 3864 0
- 3633 0076 2046 mov r0, r4
- 3634 0078 FFF7FEFF bl HAL_SPI_TxCpltCallback
- 3635 .LVL289:
- 3636 .L321:
-3867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3637 .loc 1 3867 0
- 3638 007c 02B0 add sp, sp, #8
- 3639 .LCFI46:
- 3640 .cfi_remember_state
- 3641 .cfi_def_cfa_offset 8
- 3642 @ sp needed
- 3643 007e 10BD pop {r4, pc}
- 3644 .LVL290:
- 3645 .L331:
- 3646 .LCFI47:
- 3647 .cfi_restore_state
-3855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 3648 .loc 1 3855 0
- 3649 0080 2046 mov r0, r4
- 3650 0082 FFF7FEFF bl HAL_SPI_ErrorCallback
- 3651 .LVL291:
- 3652 0086 F9E7 b .L321
- 3653 .L333:
- 3654 .align 2
- 3655 .L332:
- 3656 0088 00000000 .word SystemCoreClock
- 3657 008c F1197605 .word 91625969
- 3658 .cfi_endproc
- 3659 .LFE117:
- 3661 .section .text.SPI_TxISR_8BIT,"ax",%progbits
- 3662 .align 1
- 3663 .syntax unified
-ARM GAS /tmp/ccoPM59V.s page 144
-
-
- 3664 .thumb
- 3665 .thumb_func
- 3666 .fpu softvfp
- 3668 SPI_TxISR_8BIT:
- 3669 .LFB110:
-3459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *(__IO uint8_t *)&hspi->Instance->DR = (*hspi->pTxBuffPtr);
- 3670 .loc 1 3459 0
- 3671 .cfi_startproc
- 3672 @ args = 0, pretend = 0, frame = 0
- 3673 @ frame_needed = 0, uses_anonymous_args = 0
- 3674 .LVL292:
- 3675 0000 08B5 push {r3, lr}
- 3676 .LCFI48:
- 3677 .cfi_def_cfa_offset 8
- 3678 .cfi_offset 3, -8
- 3679 .cfi_offset 14, -4
-3460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr++;
- 3680 .loc 1 3460 0
- 3681 0002 0368 ldr r3, [r0]
- 3682 0004 026B ldr r2, [r0, #48]
- 3683 0006 1278 ldrb r2, [r2] @ zero_extendqisi2
- 3684 0008 1A73 strb r2, [r3, #12]
-3461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount--;
- 3685 .loc 1 3461 0
- 3686 000a 036B ldr r3, [r0, #48]
- 3687 000c 0133 adds r3, r3, #1
- 3688 000e 0363 str r3, [r0, #48]
-3462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3689 .loc 1 3462 0
- 3690 0010 C38E ldrh r3, [r0, #54]
- 3691 0012 9BB2 uxth r3, r3
- 3692 0014 013B subs r3, r3, #1
- 3693 0016 9BB2 uxth r3, r3
- 3694 0018 C386 strh r3, [r0, #54] @ movhi
-3464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 3695 .loc 1 3464 0
- 3696 001a C38E ldrh r3, [r0, #54]
- 3697 001c 9BB2 uxth r3, r3
- 3698 001e 03B1 cbz r3, .L337
- 3699 .LVL293:
- 3700 .L334:
- 3701 0020 08BD pop {r3, pc}
- 3702 .LVL294:
- 3703 .L337:
-3473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 3704 .loc 1 3473 0
- 3705 0022 FFF7FEFF bl SPI_CloseTx_ISR
- 3706 .LVL295:
-3475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3707 .loc 1 3475 0
- 3708 0026 FBE7 b .L334
- 3709 .cfi_endproc
- 3710 .LFE110:
- 3712 .section .text.SPI_TxISR_16BIT,"ax",%progbits
- 3713 .align 1
- 3714 .syntax unified
- 3715 .thumb
-ARM GAS /tmp/ccoPM59V.s page 145
-
-
- 3716 .thumb_func
- 3717 .fpu softvfp
- 3719 SPI_TxISR_16BIT:
- 3720 .LFB111:
-3484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Transmit data in 16 Bit mode */
- 3721 .loc 1 3484 0
- 3722 .cfi_startproc
- 3723 @ args = 0, pretend = 0, frame = 0
- 3724 @ frame_needed = 0, uses_anonymous_args = 0
- 3725 .LVL296:
- 3726 0000 08B5 push {r3, lr}
- 3727 .LCFI49:
- 3728 .cfi_def_cfa_offset 8
- 3729 .cfi_offset 3, -8
- 3730 .cfi_offset 14, -4
-3486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr += sizeof(uint16_t);
- 3731 .loc 1 3486 0
- 3732 0002 0368 ldr r3, [r0]
- 3733 0004 026B ldr r2, [r0, #48]
- 3734 0006 1288 ldrh r2, [r2]
- 3735 0008 DA60 str r2, [r3, #12]
-3487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount--;
- 3736 .loc 1 3487 0
- 3737 000a 036B ldr r3, [r0, #48]
- 3738 000c 0233 adds r3, r3, #2
- 3739 000e 0363 str r3, [r0, #48]
-3488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3740 .loc 1 3488 0
- 3741 0010 C38E ldrh r3, [r0, #54]
- 3742 0012 9BB2 uxth r3, r3
- 3743 0014 013B subs r3, r3, #1
- 3744 0016 9BB2 uxth r3, r3
- 3745 0018 C386 strh r3, [r0, #54] @ movhi
-3490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 3746 .loc 1 3490 0
- 3747 001a C38E ldrh r3, [r0, #54]
- 3748 001c 9BB2 uxth r3, r3
- 3749 001e 03B1 cbz r3, .L341
- 3750 .LVL297:
- 3751 .L338:
- 3752 0020 08BD pop {r3, pc}
- 3753 .LVL298:
- 3754 .L341:
-3499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 3755 .loc 1 3499 0
- 3756 0022 FFF7FEFF bl SPI_CloseTx_ISR
- 3757 .LVL299:
-3501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3758 .loc 1 3501 0
- 3759 0026 FBE7 b .L338
- 3760 .cfi_endproc
- 3761 .LFE111:
- 3763 .section .text.SPI_CloseRx_ISR,"ax",%progbits
- 3764 .align 1
- 3765 .syntax unified
- 3766 .thumb
- 3767 .thumb_func
-ARM GAS /tmp/ccoPM59V.s page 146
-
-
- 3768 .fpu softvfp
- 3770 SPI_CloseRx_ISR:
- 3771 .LFB116:
-3741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable RXNE and ERR interrupt */
- 3772 .loc 1 3741 0
- 3773 .cfi_startproc
- 3774 @ args = 0, pretend = 0, frame = 8
- 3775 @ frame_needed = 0, uses_anonymous_args = 0
- 3776 .LVL300:
- 3777 0000 10B5 push {r4, lr}
- 3778 .LCFI50:
- 3779 .cfi_def_cfa_offset 8
- 3780 .cfi_offset 4, -8
- 3781 .cfi_offset 14, -4
- 3782 0002 82B0 sub sp, sp, #8
- 3783 .LCFI51:
- 3784 .cfi_def_cfa_offset 16
- 3785 0004 0446 mov r4, r0
-3743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3786 .loc 1 3743 0
- 3787 0006 0268 ldr r2, [r0]
- 3788 0008 5368 ldr r3, [r2, #4]
- 3789 000a 23F06003 bic r3, r3, #96
- 3790 000e 5360 str r3, [r2, #4]
-3746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 3791 .loc 1 3746 0
- 3792 0010 FFF7FEFF bl HAL_GetTick
- 3793 .LVL301:
- 3794 0014 0246 mov r2, r0
- 3795 0016 6421 movs r1, #100
- 3796 0018 2046 mov r0, r4
- 3797 001a FFF7FEFF bl SPI_EndRxTransaction
- 3798 .LVL302:
- 3799 001e 18B1 cbz r0, .L343
-3748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 3800 .loc 1 3748 0
- 3801 0020 636D ldr r3, [r4, #84]
- 3802 0022 43F02003 orr r3, r3, #32
- 3803 0026 6365 str r3, [r4, #84]
- 3804 .L343:
-3752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 3805 .loc 1 3752 0
- 3806 0028 A368 ldr r3, [r4, #8]
- 3807 002a 33B9 cbnz r3, .L344
- 3808 .LBB6:
-3754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 3809 .loc 1 3754 0
- 3810 002c 0193 str r3, [sp, #4]
- 3811 002e 2368 ldr r3, [r4]
- 3812 0030 DA68 ldr r2, [r3, #12]
- 3813 0032 0192 str r2, [sp, #4]
- 3814 0034 9B68 ldr r3, [r3, #8]
- 3815 0036 0193 str r3, [sp, #4]
- 3816 0038 019B ldr r3, [sp, #4]
- 3817 .L344:
- 3818 .LBE6:
-3756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-ARM GAS /tmp/ccoPM59V.s page 147
-
-
- 3819 .loc 1 3756 0
- 3820 003a 0123 movs r3, #1
- 3821 003c 84F85130 strb r3, [r4, #81]
-3785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 3822 .loc 1 3785 0
- 3823 0040 636D ldr r3, [r4, #84]
- 3824 0042 23B1 cbz r3, .L348
-3800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 3825 .loc 1 3800 0
- 3826 0044 2046 mov r0, r4
- 3827 0046 FFF7FEFF bl HAL_SPI_ErrorCallback
- 3828 .LVL303:
- 3829 .L342:
-3806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3830 .loc 1 3806 0
- 3831 004a 02B0 add sp, sp, #8
- 3832 .LCFI52:
- 3833 .cfi_remember_state
- 3834 .cfi_def_cfa_offset 8
- 3835 @ sp needed
- 3836 004c 10BD pop {r4, pc}
- 3837 .LVL304:
- 3838 .L348:
- 3839 .LCFI53:
- 3840 .cfi_restore_state
-3791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 3841 .loc 1 3791 0
- 3842 004e 2046 mov r0, r4
- 3843 0050 FFF7FEFF bl HAL_SPI_RxCpltCallback
- 3844 .LVL305:
- 3845 0054 F9E7 b .L342
- 3846 .cfi_endproc
- 3847 .LFE116:
- 3849 .section .text.SPI_RxISR_8BIT,"ax",%progbits
- 3850 .align 1
- 3851 .syntax unified
- 3852 .thumb
- 3853 .thumb_func
- 3854 .fpu softvfp
- 3856 SPI_RxISR_8BIT:
- 3857 .LFB108:
-3360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *hspi->pRxBuffPtr = (*(__IO uint8_t *)&hspi->Instance->DR);
- 3858 .loc 1 3360 0
- 3859 .cfi_startproc
- 3860 @ args = 0, pretend = 0, frame = 0
- 3861 @ frame_needed = 0, uses_anonymous_args = 0
- 3862 .LVL306:
- 3863 0000 08B5 push {r3, lr}
- 3864 .LCFI54:
- 3865 .cfi_def_cfa_offset 8
- 3866 .cfi_offset 3, -8
- 3867 .cfi_offset 14, -4
-3361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr++;
- 3868 .loc 1 3361 0
- 3869 0002 836B ldr r3, [r0, #56]
- 3870 0004 0268 ldr r2, [r0]
- 3871 0006 127B ldrb r2, [r2, #12] @ zero_extendqisi2
-ARM GAS /tmp/ccoPM59V.s page 148
-
-
- 3872 0008 1A70 strb r2, [r3]
-3362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount--;
- 3873 .loc 1 3362 0
- 3874 000a 836B ldr r3, [r0, #56]
- 3875 000c 0133 adds r3, r3, #1
- 3876 000e 8363 str r3, [r0, #56]
-3363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3877 .loc 1 3363 0
- 3878 0010 C38F ldrh r3, [r0, #62]
- 3879 0012 9BB2 uxth r3, r3
- 3880 0014 013B subs r3, r3, #1
- 3881 0016 9BB2 uxth r3, r3
- 3882 0018 C387 strh r3, [r0, #62] @ movhi
-3380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 3883 .loc 1 3380 0
- 3884 001a C38F ldrh r3, [r0, #62]
- 3885 001c 9BB2 uxth r3, r3
- 3886 001e 03B1 cbz r3, .L352
- 3887 .LVL307:
- 3888 .L349:
- 3889 0020 08BD pop {r3, pc}
- 3890 .LVL308:
- 3891 .L352:
-3389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 3892 .loc 1 3389 0
- 3893 0022 FFF7FEFF bl SPI_CloseRx_ISR
- 3894 .LVL309:
-3391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3895 .loc 1 3391 0
- 3896 0026 FBE7 b .L349
- 3897 .cfi_endproc
- 3898 .LFE108:
- 3900 .section .text.SPI_RxISR_16BIT,"ax",%progbits
- 3901 .align 1
- 3902 .syntax unified
- 3903 .thumb
- 3904 .thumb_func
- 3905 .fpu softvfp
- 3907 SPI_RxISR_16BIT:
- 3908 .LFB109:
-3419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *((uint16_t *)hspi->pRxBuffPtr) = (uint16_t)(hspi->Instance->DR);
- 3909 .loc 1 3419 0
- 3910 .cfi_startproc
- 3911 @ args = 0, pretend = 0, frame = 0
- 3912 @ frame_needed = 0, uses_anonymous_args = 0
- 3913 .LVL310:
- 3914 0000 08B5 push {r3, lr}
- 3915 .LCFI55:
- 3916 .cfi_def_cfa_offset 8
- 3917 .cfi_offset 3, -8
- 3918 .cfi_offset 14, -4
-3420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr += sizeof(uint16_t);
- 3919 .loc 1 3420 0
- 3920 0002 836B ldr r3, [r0, #56]
- 3921 0004 0268 ldr r2, [r0]
- 3922 0006 D268 ldr r2, [r2, #12]
- 3923 0008 1A80 strh r2, [r3] @ movhi
-ARM GAS /tmp/ccoPM59V.s page 149
-
-
-3421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount--;
- 3924 .loc 1 3421 0
- 3925 000a 836B ldr r3, [r0, #56]
- 3926 000c 0233 adds r3, r3, #2
- 3927 000e 8363 str r3, [r0, #56]
-3422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3928 .loc 1 3422 0
- 3929 0010 C38F ldrh r3, [r0, #62]
- 3930 0012 9BB2 uxth r3, r3
- 3931 0014 013B subs r3, r3, #1
- 3932 0016 9BB2 uxth r3, r3
- 3933 0018 C387 strh r3, [r0, #62] @ movhi
-3439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 3934 .loc 1 3439 0
- 3935 001a C38F ldrh r3, [r0, #62]
- 3936 001c 9BB2 uxth r3, r3
- 3937 001e 03B1 cbz r3, .L356
- 3938 .LVL311:
- 3939 .L353:
- 3940 0020 08BD pop {r3, pc}
- 3941 .LVL312:
- 3942 .L356:
-3448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 3943 .loc 1 3448 0
- 3944 0022 FFF7FEFF bl SPI_CloseRx_ISR
- 3945 .LVL313:
-3450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3946 .loc 1 3450 0
- 3947 0026 FBE7 b .L353
- 3948 .cfi_endproc
- 3949 .LFE109:
- 3951 .section .text.SPI_CloseRxTx_ISR,"ax",%progbits
- 3952 .align 1
- 3953 .syntax unified
- 3954 .thumb
- 3955 .thumb_func
- 3956 .fpu softvfp
- 3958 SPI_CloseRxTx_ISR:
- 3959 .LFB115:
-3635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t tickstart;
- 3960 .loc 1 3635 0
- 3961 .cfi_startproc
- 3962 @ args = 0, pretend = 0, frame = 8
- 3963 @ frame_needed = 0, uses_anonymous_args = 0
- 3964 .LVL314:
- 3965 0000 10B5 push {r4, lr}
- 3966 .LCFI56:
- 3967 .cfi_def_cfa_offset 8
- 3968 .cfi_offset 4, -8
- 3969 .cfi_offset 14, -4
- 3970 0002 82B0 sub sp, sp, #8
- 3971 .LCFI57:
- 3972 .cfi_def_cfa_offset 16
- 3973 0004 0446 mov r4, r0
-3637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3974 .loc 1 3637 0
- 3975 0006 284B ldr r3, .L369
-ARM GAS /tmp/ccoPM59V.s page 150
-
-
- 3976 0008 1B68 ldr r3, [r3]
- 3977 000a 284A ldr r2, .L369+4
- 3978 000c A2FB0323 umull r2, r3, r2, r3
- 3979 0010 5B0A lsrs r3, r3, #9
- 3980 0012 6422 movs r2, #100
- 3981 0014 02FB03F3 mul r3, r2, r3
- 3982 0018 0193 str r3, [sp, #4]
-3640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3983 .loc 1 3640 0
- 3984 001a FFF7FEFF bl HAL_GetTick
- 3985 .LVL315:
- 3986 001e 0246 mov r2, r0
- 3987 .LVL316:
-3643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 3988 .loc 1 3643 0
- 3989 0020 2168 ldr r1, [r4]
- 3990 0022 4B68 ldr r3, [r1, #4]
- 3991 0024 23F02003 bic r3, r3, #32
- 3992 0028 4B60 str r3, [r1, #4]
- 3993 .L360:
-3648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 3994 .loc 1 3648 0
- 3995 002a 019B ldr r3, [sp, #4]
- 3996 002c 43B1 cbz r3, .L367
-3653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** } while ((hspi->Instance->SR & SPI_FLAG_TXE) == RESET);
- 3997 .loc 1 3653 0
- 3998 002e 019B ldr r3, [sp, #4]
- 3999 0030 013B subs r3, r3, #1
- 4000 0032 0193 str r3, [sp, #4]
-3654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4001 .loc 1 3654 0
- 4002 0034 2368 ldr r3, [r4]
- 4003 0036 9B68 ldr r3, [r3, #8]
- 4004 0038 13F0020F tst r3, #2
- 4005 003c F5D0 beq .L360
- 4006 003e 03E0 b .L359
- 4007 .L367:
-3650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 4008 .loc 1 3650 0
- 4009 0040 636D ldr r3, [r4, #84]
- 4010 0042 43F02003 orr r3, r3, #32
- 4011 0046 6365 str r3, [r4, #84]
- 4012 .L359:
-3657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4013 .loc 1 3657 0
- 4014 0048 6421 movs r1, #100
- 4015 004a 2046 mov r0, r4
- 4016 .LVL317:
- 4017 004c FFF7FEFF bl SPI_EndRxTxTransaction
- 4018 .LVL318:
- 4019 0050 18B1 cbz r0, .L361
-3659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 4020 .loc 1 3659 0
- 4021 0052 636D ldr r3, [r4, #84]
- 4022 0054 43F02003 orr r3, r3, #32
- 4023 0058 6365 str r3, [r4, #84]
- 4024 .L361:
-ARM GAS /tmp/ccoPM59V.s page 151
-
-
-3663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4025 .loc 1 3663 0
- 4026 005a A368 ldr r3, [r4, #8]
- 4027 005c 33B9 cbnz r3, .L362
- 4028 .LBB7:
-3665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 4029 .loc 1 3665 0
- 4030 005e 0093 str r3, [sp]
- 4031 0060 2368 ldr r3, [r4]
- 4032 0062 DA68 ldr r2, [r3, #12]
- 4033 0064 0092 str r2, [sp]
- 4034 0066 9B68 ldr r3, [r3, #8]
- 4035 0068 0093 str r3, [sp]
- 4036 006a 009B ldr r3, [sp]
- 4037 .L362:
- 4038 .LBE7:
-3696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4039 .loc 1 3696 0
- 4040 006c 636D ldr r3, [r4, #84]
- 4041 006e 9BB9 cbnz r3, .L363
-3698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4042 .loc 1 3698 0
- 4043 0070 94F85130 ldrb r3, [r4, #81] @ zero_extendqisi2
- 4044 0074 DBB2 uxtb r3, r3
- 4045 0076 042B cmp r3, #4
- 4046 0078 07D0 beq .L368
-3710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user TxRx complete callback */
- 4047 .loc 1 3710 0
- 4048 007a 0123 movs r3, #1
- 4049 007c 84F85130 strb r3, [r4, #81]
-3715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 4050 .loc 1 3715 0
- 4051 0080 2046 mov r0, r4
- 4052 0082 FFF7FEFF bl HAL_SPI_TxRxCpltCallback
- 4053 .LVL319:
- 4054 .L357:
-3732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4055 .loc 1 3732 0
- 4056 0086 02B0 add sp, sp, #8
- 4057 .LCFI58:
- 4058 .cfi_remember_state
- 4059 .cfi_def_cfa_offset 8
- 4060 @ sp needed
- 4061 0088 10BD pop {r4, pc}
- 4062 .LVL320:
- 4063 .L368:
- 4064 .LCFI59:
- 4065 .cfi_restore_state
-3700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user Rx complete callback */
- 4066 .loc 1 3700 0
- 4067 008a 0123 movs r3, #1
- 4068 008c 84F85130 strb r3, [r4, #81]
-3705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 4069 .loc 1 3705 0
- 4070 0090 2046 mov r0, r4
- 4071 0092 FFF7FEFF bl HAL_SPI_RxCpltCallback
- 4072 .LVL321:
-ARM GAS /tmp/ccoPM59V.s page 152
-
-
- 4073 0096 F6E7 b .L357
- 4074 .L363:
-3721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user error callback */
- 4075 .loc 1 3721 0
- 4076 0098 0123 movs r3, #1
- 4077 009a 84F85130 strb r3, [r4, #81]
-3726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 4078 .loc 1 3726 0
- 4079 009e 2046 mov r0, r4
- 4080 00a0 FFF7FEFF bl HAL_SPI_ErrorCallback
- 4081 .LVL322:
-3732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4082 .loc 1 3732 0
- 4083 00a4 EFE7 b .L357
- 4084 .L370:
- 4085 00a6 00BF .align 2
- 4086 .L369:
- 4087 00a8 00000000 .word SystemCoreClock
- 4088 00ac F1197605 .word 91625969
- 4089 .cfi_endproc
- 4090 .LFE115:
- 4092 .section .text.SPI_2linesTxISR_8BIT,"ax",%progbits
- 4093 .align 1
- 4094 .syntax unified
- 4095 .thumb
- 4096 .thumb_func
- 4097 .fpu softvfp
- 4099 SPI_2linesTxISR_8BIT:
- 4100 .LFB105:
-3219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** *(__IO uint8_t *)&hspi->Instance->DR = (*hspi->pTxBuffPtr);
- 4101 .loc 1 3219 0
- 4102 .cfi_startproc
- 4103 @ args = 0, pretend = 0, frame = 0
- 4104 @ frame_needed = 0, uses_anonymous_args = 0
- 4105 .LVL323:
- 4106 0000 08B5 push {r3, lr}
- 4107 .LCFI60:
- 4108 .cfi_def_cfa_offset 8
- 4109 .cfi_offset 3, -8
- 4110 .cfi_offset 14, -4
-3220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr++;
- 4111 .loc 1 3220 0
- 4112 0002 0368 ldr r3, [r0]
- 4113 0004 026B ldr r2, [r0, #48]
- 4114 0006 1278 ldrb r2, [r2] @ zero_extendqisi2
- 4115 0008 1A73 strb r2, [r3, #12]
-3221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount--;
- 4116 .loc 1 3221 0
- 4117 000a 036B ldr r3, [r0, #48]
- 4118 000c 0133 adds r3, r3, #1
- 4119 000e 0363 str r3, [r0, #48]
-3222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4120 .loc 1 3222 0
- 4121 0010 C38E ldrh r3, [r0, #54]
- 4122 0012 9BB2 uxth r3, r3
- 4123 0014 013B subs r3, r3, #1
- 4124 0016 9BB2 uxth r3, r3
-ARM GAS /tmp/ccoPM59V.s page 153
-
-
- 4125 0018 C386 strh r3, [r0, #54] @ movhi
-3225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4126 .loc 1 3225 0
- 4127 001a C38E ldrh r3, [r0, #54]
- 4128 001c 9BB2 uxth r3, r3
- 4129 001e 3BB9 cbnz r3, .L371
-3239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4130 .loc 1 3239 0
- 4131 0020 0268 ldr r2, [r0]
- 4132 0022 5368 ldr r3, [r2, #4]
- 4133 0024 23F08003 bic r3, r3, #128
- 4134 0028 5360 str r3, [r2, #4]
-3241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4135 .loc 1 3241 0
- 4136 002a C38F ldrh r3, [r0, #62]
- 4137 002c 9BB2 uxth r3, r3
- 4138 002e 03B1 cbz r3, .L374
- 4139 .LVL324:
- 4140 .L371:
- 4141 0030 08BD pop {r3, pc}
- 4142 .LVL325:
- 4143 .L374:
-3243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 4144 .loc 1 3243 0
- 4145 0032 FFF7FEFF bl SPI_CloseRxTx_ISR
- 4146 .LVL326:
-3246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4147 .loc 1 3246 0
- 4148 0036 FBE7 b .L371
- 4149 .cfi_endproc
- 4150 .LFE105:
- 4152 .section .text.SPI_2linesRxISR_8BIT,"ax",%progbits
- 4153 .align 1
- 4154 .syntax unified
- 4155 .thumb
- 4156 .thumb_func
- 4157 .fpu softvfp
- 4159 SPI_2linesRxISR_8BIT:
- 4160 .LFB104:
-3163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Receive data in 8bit mode */
- 4161 .loc 1 3163 0
- 4162 .cfi_startproc
- 4163 @ args = 0, pretend = 0, frame = 0
- 4164 @ frame_needed = 0, uses_anonymous_args = 0
- 4165 .LVL327:
- 4166 0000 08B5 push {r3, lr}
- 4167 .LCFI61:
- 4168 .cfi_def_cfa_offset 8
- 4169 .cfi_offset 3, -8
- 4170 .cfi_offset 14, -4
-3165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr++;
- 4171 .loc 1 3165 0
- 4172 0002 836B ldr r3, [r0, #56]
- 4173 0004 0268 ldr r2, [r0]
- 4174 0006 127B ldrb r2, [r2, #12] @ zero_extendqisi2
- 4175 0008 1A70 strb r2, [r3]
-3166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount--;
-ARM GAS /tmp/ccoPM59V.s page 154
-
-
- 4176 .loc 1 3166 0
- 4177 000a 836B ldr r3, [r0, #56]
- 4178 000c 0133 adds r3, r3, #1
- 4179 000e 8363 str r3, [r0, #56]
-3167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4180 .loc 1 3167 0
- 4181 0010 C38F ldrh r3, [r0, #62]
- 4182 0012 9BB2 uxth r3, r3
- 4183 0014 013B subs r3, r3, #1
- 4184 0016 9BB2 uxth r3, r3
- 4185 0018 C387 strh r3, [r0, #62] @ movhi
-3170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4186 .loc 1 3170 0
- 4187 001a C38F ldrh r3, [r0, #62]
- 4188 001c 9BB2 uxth r3, r3
- 4189 001e 3BB9 cbnz r3, .L375
-3181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4190 .loc 1 3181 0
- 4191 0020 0268 ldr r2, [r0]
- 4192 0022 5368 ldr r3, [r2, #4]
- 4193 0024 23F06003 bic r3, r3, #96
- 4194 0028 5360 str r3, [r2, #4]
-3183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4195 .loc 1 3183 0
- 4196 002a C38E ldrh r3, [r0, #54]
- 4197 002c 9BB2 uxth r3, r3
- 4198 002e 03B1 cbz r3, .L378
- 4199 .LVL328:
- 4200 .L375:
- 4201 0030 08BD pop {r3, pc}
- 4202 .LVL329:
- 4203 .L378:
-3185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 4204 .loc 1 3185 0
- 4205 0032 FFF7FEFF bl SPI_CloseRxTx_ISR
- 4206 .LVL330:
-3188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4207 .loc 1 3188 0
- 4208 0036 FBE7 b .L375
- 4209 .cfi_endproc
- 4210 .LFE104:
- 4212 .section .text.SPI_2linesTxISR_16BIT,"ax",%progbits
- 4213 .align 1
- 4214 .syntax unified
- 4215 .thumb
- 4216 .thumb_func
- 4217 .fpu softvfp
- 4219 SPI_2linesTxISR_16BIT:
- 4220 .LFB107:
-3307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Transmit data in 16 Bit mode */
- 4221 .loc 1 3307 0
- 4222 .cfi_startproc
- 4223 @ args = 0, pretend = 0, frame = 0
- 4224 @ frame_needed = 0, uses_anonymous_args = 0
- 4225 .LVL331:
- 4226 0000 08B5 push {r3, lr}
- 4227 .LCFI62:
-ARM GAS /tmp/ccoPM59V.s page 155
-
-
- 4228 .cfi_def_cfa_offset 8
- 4229 .cfi_offset 3, -8
- 4230 .cfi_offset 14, -4
-3309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pTxBuffPtr += sizeof(uint16_t);
- 4231 .loc 1 3309 0
- 4232 0002 0368 ldr r3, [r0]
- 4233 0004 026B ldr r2, [r0, #48]
- 4234 0006 1288 ldrh r2, [r2]
- 4235 0008 DA60 str r2, [r3, #12]
-3310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount--;
- 4236 .loc 1 3310 0
- 4237 000a 036B ldr r3, [r0, #48]
- 4238 000c 0233 adds r3, r3, #2
- 4239 000e 0363 str r3, [r0, #48]
-3311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4240 .loc 1 3311 0
- 4241 0010 C38E ldrh r3, [r0, #54]
- 4242 0012 9BB2 uxth r3, r3
- 4243 0014 013B subs r3, r3, #1
- 4244 0016 9BB2 uxth r3, r3
- 4245 0018 C386 strh r3, [r0, #54] @ movhi
-3314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4246 .loc 1 3314 0
- 4247 001a C38E ldrh r3, [r0, #54]
- 4248 001c 9BB2 uxth r3, r3
- 4249 001e 3BB9 cbnz r3, .L379
-3328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4250 .loc 1 3328 0
- 4251 0020 0268 ldr r2, [r0]
- 4252 0022 5368 ldr r3, [r2, #4]
- 4253 0024 23F08003 bic r3, r3, #128
- 4254 0028 5360 str r3, [r2, #4]
-3330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4255 .loc 1 3330 0
- 4256 002a C38F ldrh r3, [r0, #62]
- 4257 002c 9BB2 uxth r3, r3
- 4258 002e 03B1 cbz r3, .L382
- 4259 .LVL332:
- 4260 .L379:
- 4261 0030 08BD pop {r3, pc}
- 4262 .LVL333:
- 4263 .L382:
-3332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 4264 .loc 1 3332 0
- 4265 0032 FFF7FEFF bl SPI_CloseRxTx_ISR
- 4266 .LVL334:
-3335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4267 .loc 1 3335 0
- 4268 0036 FBE7 b .L379
- 4269 .cfi_endproc
- 4270 .LFE107:
- 4272 .section .text.SPI_2linesRxISR_16BIT,"ax",%progbits
- 4273 .align 1
- 4274 .syntax unified
- 4275 .thumb
- 4276 .thumb_func
- 4277 .fpu softvfp
-ARM GAS /tmp/ccoPM59V.s page 156
-
-
- 4279 SPI_2linesRxISR_16BIT:
- 4280 .LFB106:
-3255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Receive data in 16 Bit mode */
- 4281 .loc 1 3255 0
- 4282 .cfi_startproc
- 4283 @ args = 0, pretend = 0, frame = 0
- 4284 @ frame_needed = 0, uses_anonymous_args = 0
- 4285 .LVL335:
- 4286 0000 08B5 push {r3, lr}
- 4287 .LCFI63:
- 4288 .cfi_def_cfa_offset 8
- 4289 .cfi_offset 3, -8
- 4290 .cfi_offset 14, -4
-3257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->pRxBuffPtr += sizeof(uint16_t);
- 4291 .loc 1 3257 0
- 4292 0002 836B ldr r3, [r0, #56]
- 4293 0004 0268 ldr r2, [r0]
- 4294 0006 D268 ldr r2, [r2, #12]
- 4295 0008 1A80 strh r2, [r3] @ movhi
-3258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount--;
- 4296 .loc 1 3258 0
- 4297 000a 836B ldr r3, [r0, #56]
- 4298 000c 0233 adds r3, r3, #2
- 4299 000e 8363 str r3, [r0, #56]
-3259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4300 .loc 1 3259 0
- 4301 0010 C38F ldrh r3, [r0, #62]
- 4302 0012 9BB2 uxth r3, r3
- 4303 0014 013B subs r3, r3, #1
- 4304 0016 9BB2 uxth r3, r3
- 4305 0018 C387 strh r3, [r0, #62] @ movhi
-3261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4306 .loc 1 3261 0
- 4307 001a C38F ldrh r3, [r0, #62]
- 4308 001c 9BB2 uxth r3, r3
- 4309 001e 3BB9 cbnz r3, .L383
-3272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4310 .loc 1 3272 0
- 4311 0020 0268 ldr r2, [r0]
- 4312 0022 5368 ldr r3, [r2, #4]
- 4313 0024 23F04003 bic r3, r3, #64
- 4314 0028 5360 str r3, [r2, #4]
-3274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4315 .loc 1 3274 0
- 4316 002a C38E ldrh r3, [r0, #54]
- 4317 002c 9BB2 uxth r3, r3
- 4318 002e 03B1 cbz r3, .L386
- 4319 .LVL336:
- 4320 .L383:
- 4321 0030 08BD pop {r3, pc}
- 4322 .LVL337:
- 4323 .L386:
-3276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 4324 .loc 1 3276 0
- 4325 0032 FFF7FEFF bl SPI_CloseRxTx_ISR
- 4326 .LVL338:
-3279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-ARM GAS /tmp/ccoPM59V.s page 157
-
-
- 4327 .loc 1 3279 0
- 4328 0036 FBE7 b .L383
- 4329 .cfi_endproc
- 4330 .LFE106:
- 4332 .section .text.SPI_DMAError,"ax",%progbits
- 4333 .align 1
- 4334 .syntax unified
- 4335 .thumb
- 4336 .thumb_func
- 4337 .fpu softvfp
- 4339 SPI_DMAError:
- 4340 .LFB100:
-2996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_HandleTypeDef *hspi = (SPI_HandleTypeDef *)(((DMA_HandleTypeDef *)hdma)->Parent); /* Derogati
- 4341 .loc 1 2996 0
- 4342 .cfi_startproc
- 4343 @ args = 0, pretend = 0, frame = 0
- 4344 @ frame_needed = 0, uses_anonymous_args = 0
- 4345 .LVL339:
- 4346 0000 08B5 push {r3, lr}
- 4347 .LCFI64:
- 4348 .cfi_def_cfa_offset 8
- 4349 .cfi_offset 3, -8
- 4350 .cfi_offset 14, -4
-2997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4351 .loc 1 2997 0
- 4352 0002 406A ldr r0, [r0, #36]
- 4353 .LVL340:
-3000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4354 .loc 1 3000 0
- 4355 0004 0268 ldr r2, [r0]
- 4356 0006 5368 ldr r3, [r2, #4]
- 4357 0008 23F00303 bic r3, r3, #3
- 4358 000c 5360 str r3, [r2, #4]
-3002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
- 4359 .loc 1 3002 0
- 4360 000e 436D ldr r3, [r0, #84]
- 4361 0010 43F01003 orr r3, r3, #16
- 4362 0014 4365 str r3, [r0, #84]
-3003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Call user error callback */
- 4363 .loc 1 3003 0
- 4364 0016 0123 movs r3, #1
- 4365 0018 80F85130 strb r3, [r0, #81]
-3008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 4366 .loc 1 3008 0
- 4367 001c FFF7FEFF bl HAL_SPI_ErrorCallback
- 4368 .LVL341:
- 4369 0020 08BD pop {r3, pc}
- 4370 .cfi_endproc
- 4371 .LFE100:
- 4373 .section .text.SPI_DMATransmitCplt,"ax",%progbits
- 4374 .align 1
- 4375 .syntax unified
- 4376 .thumb
- 4377 .thumb_func
- 4378 .fpu softvfp
- 4380 SPI_DMATransmitCplt:
- 4381 .LFB94:
-ARM GAS /tmp/ccoPM59V.s page 158
-
-
-2706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_HandleTypeDef *hspi = (SPI_HandleTypeDef *)(((DMA_HandleTypeDef *)hdma)->Parent); /* Derogati
- 4382 .loc 1 2706 0
- 4383 .cfi_startproc
- 4384 @ args = 0, pretend = 0, frame = 8
- 4385 @ frame_needed = 0, uses_anonymous_args = 0
- 4386 .LVL342:
- 4387 0000 30B5 push {r4, r5, lr}
- 4388 .LCFI65:
- 4389 .cfi_def_cfa_offset 12
- 4390 .cfi_offset 4, -12
- 4391 .cfi_offset 5, -8
- 4392 .cfi_offset 14, -4
- 4393 0002 83B0 sub sp, sp, #12
- 4394 .LCFI66:
- 4395 .cfi_def_cfa_offset 24
- 4396 0004 0546 mov r5, r0
-2707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t tickstart;
- 4397 .loc 1 2707 0
- 4398 0006 446A ldr r4, [r0, #36]
- 4399 .LVL343:
-2711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4400 .loc 1 2711 0
- 4401 0008 FFF7FEFF bl HAL_GetTick
- 4402 .LVL344:
-2714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4403 .loc 1 2714 0
- 4404 000c 2B68 ldr r3, [r5]
- 4405 000e 1B68 ldr r3, [r3]
- 4406 0010 13F0200F tst r3, #32
- 4407 0014 23D1 bne .L390
-2717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4408 .loc 1 2717 0
- 4409 0016 2268 ldr r2, [r4]
- 4410 0018 5368 ldr r3, [r2, #4]
- 4411 001a 23F02003 bic r3, r3, #32
- 4412 001e 5360 str r3, [r2, #4]
-2720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4413 .loc 1 2720 0
- 4414 0020 2268 ldr r2, [r4]
- 4415 0022 5368 ldr r3, [r2, #4]
- 4416 0024 23F00203 bic r3, r3, #2
- 4417 0028 5360 str r3, [r2, #4]
-2723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4418 .loc 1 2723 0
- 4419 002a 0246 mov r2, r0
- 4420 002c 6421 movs r1, #100
- 4421 002e 2046 mov r0, r4
- 4422 .LVL345:
- 4423 0030 FFF7FEFF bl SPI_EndRxTxTransaction
- 4424 .LVL346:
- 4425 0034 18B1 cbz r0, .L391
-2725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 4426 .loc 1 2725 0
- 4427 0036 636D ldr r3, [r4, #84]
- 4428 0038 43F02003 orr r3, r3, #32
- 4429 003c 6365 str r3, [r4, #84]
- 4430 .L391:
-ARM GAS /tmp/ccoPM59V.s page 159
-
-
-2729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4431 .loc 1 2729 0
- 4432 003e A368 ldr r3, [r4, #8]
- 4433 0040 33B9 cbnz r3, .L392
- 4434 .LBB8:
-2731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 4435 .loc 1 2731 0
- 4436 0042 0193 str r3, [sp, #4]
- 4437 0044 2368 ldr r3, [r4]
- 4438 0046 DA68 ldr r2, [r3, #12]
- 4439 0048 0192 str r2, [sp, #4]
- 4440 004a 9B68 ldr r3, [r3, #8]
- 4441 004c 0193 str r3, [sp, #4]
- 4442 004e 019B ldr r3, [sp, #4]
- 4443 .L392:
- 4444 .LBE8:
-2734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
- 4445 .loc 1 2734 0
- 4446 0050 0023 movs r3, #0
- 4447 0052 E386 strh r3, [r4, #54] @ movhi
-2735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4448 .loc 1 2735 0
- 4449 0054 0123 movs r3, #1
- 4450 0056 84F85130 strb r3, [r4, #81]
-2737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4451 .loc 1 2737 0
- 4452 005a 636D ldr r3, [r4, #84]
- 4453 005c 23B9 cbnz r3, .L395
- 4454 .L390:
-2752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 4455 .loc 1 2752 0
- 4456 005e 2046 mov r0, r4
- 4457 0060 FFF7FEFF bl HAL_SPI_TxCpltCallback
- 4458 .LVL347:
- 4459 .L389:
-2754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4460 .loc 1 2754 0
- 4461 0064 03B0 add sp, sp, #12
- 4462 .LCFI67:
- 4463 .cfi_remember_state
- 4464 .cfi_def_cfa_offset 12
- 4465 @ sp needed
- 4466 0066 30BD pop {r4, r5, pc}
- 4467 .LVL348:
- 4468 .L395:
- 4469 .LCFI68:
- 4470 .cfi_restore_state
-2743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 4471 .loc 1 2743 0
- 4472 0068 2046 mov r0, r4
- 4473 006a FFF7FEFF bl HAL_SPI_ErrorCallback
- 4474 .LVL349:
-2745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 4475 .loc 1 2745 0
- 4476 006e F9E7 b .L389
- 4477 .cfi_endproc
- 4478 .LFE94:
-ARM GAS /tmp/ccoPM59V.s page 160
-
-
- 4480 .section .text.SPI_DMAReceiveCplt,"ax",%progbits
- 4481 .align 1
- 4482 .syntax unified
- 4483 .thumb
- 4484 .thumb_func
- 4485 .fpu softvfp
- 4487 SPI_DMAReceiveCplt:
- 4488 .LFB95:
-2763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_HandleTypeDef *hspi = (SPI_HandleTypeDef *)(((DMA_HandleTypeDef *)hdma)->Parent); /* Derogati
- 4489 .loc 1 2763 0
- 4490 .cfi_startproc
- 4491 @ args = 0, pretend = 0, frame = 0
- 4492 @ frame_needed = 0, uses_anonymous_args = 0
- 4493 .LVL350:
- 4494 0000 38B5 push {r3, r4, r5, lr}
- 4495 .LCFI69:
- 4496 .cfi_def_cfa_offset 16
- 4497 .cfi_offset 3, -16
- 4498 .cfi_offset 4, -12
- 4499 .cfi_offset 5, -8
- 4500 .cfi_offset 14, -4
- 4501 0002 0546 mov r5, r0
-2764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t tickstart;
- 4502 .loc 1 2764 0
- 4503 0004 446A ldr r4, [r0, #36]
- 4504 .LVL351:
-2768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4505 .loc 1 2768 0
- 4506 0006 FFF7FEFF bl HAL_GetTick
- 4507 .LVL352:
-2771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4508 .loc 1 2771 0
- 4509 000a 2B68 ldr r3, [r5]
- 4510 000c 1B68 ldr r3, [r3]
- 4511 000e 13F0200F tst r3, #32
- 4512 0012 1ED1 bne .L397
-2774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4513 .loc 1 2774 0
- 4514 0014 2168 ldr r1, [r4]
- 4515 0016 4B68 ldr r3, [r1, #4]
- 4516 0018 23F02003 bic r3, r3, #32
- 4517 001c 4B60 str r3, [r1, #4]
-2792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4518 .loc 1 2792 0
- 4519 001e A368 ldr r3, [r4, #8]
- 4520 0020 1BB9 cbnz r3, .L398
-2792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4521 .loc 1 2792 0 is_stmt 0 discriminator 1
- 4522 0022 6368 ldr r3, [r4, #4]
- 4523 0024 B3F5827F cmp r3, #260
- 4524 0028 17D0 beq .L403
- 4525 .L398:
-2800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 4526 .loc 1 2800 0 is_stmt 1
- 4527 002a 2168 ldr r1, [r4]
- 4528 002c 4B68 ldr r3, [r1, #4]
- 4529 002e 23F00103 bic r3, r3, #1
-ARM GAS /tmp/ccoPM59V.s page 161
-
-
- 4530 0032 4B60 str r3, [r1, #4]
- 4531 .L399:
-2804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4532 .loc 1 2804 0
- 4533 0034 0246 mov r2, r0
- 4534 0036 6421 movs r1, #100
- 4535 0038 2046 mov r0, r4
- 4536 .LVL353:
- 4537 003a FFF7FEFF bl SPI_EndRxTransaction
- 4538 .LVL354:
- 4539 003e 08B1 cbz r0, .L400
-2806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 4540 .loc 1 2806 0
- 4541 0040 2023 movs r3, #32
- 4542 0042 6365 str r3, [r4, #84]
- 4543 .L400:
-2809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
- 4544 .loc 1 2809 0
- 4545 0044 0023 movs r3, #0
- 4546 0046 E387 strh r3, [r4, #62] @ movhi
-2810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4547 .loc 1 2810 0
- 4548 0048 0123 movs r3, #1
- 4549 004a 84F85130 strb r3, [r4, #81]
-2831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4550 .loc 1 2831 0
- 4551 004e 636D ldr r3, [r4, #84]
- 4552 0050 4BB9 cbnz r3, .L404
- 4553 .L397:
-2846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 4554 .loc 1 2846 0
- 4555 0052 2046 mov r0, r4
- 4556 0054 FFF7FEFF bl HAL_SPI_RxCpltCallback
- 4557 .LVL355:
- 4558 0058 38BD pop {r3, r4, r5, pc}
- 4559 .LVL356:
- 4560 .L403:
-2795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 4561 .loc 1 2795 0
- 4562 005a 2268 ldr r2, [r4]
- 4563 005c 5368 ldr r3, [r2, #4]
- 4564 005e 23F00303 bic r3, r3, #3
- 4565 0062 5360 str r3, [r2, #4]
- 4566 0064 E6E7 b .L399
- 4567 .LVL357:
- 4568 .L404:
-2837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 4569 .loc 1 2837 0
- 4570 0066 2046 mov r0, r4
- 4571 0068 FFF7FEFF bl HAL_SPI_ErrorCallback
- 4572 .LVL358:
-2839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 4573 .loc 1 2839 0
- 4574 006c 38BD pop {r3, r4, r5, pc}
- 4575 .cfi_endproc
- 4576 .LFE95:
- 4578 .section .text.SPI_DMATransmitReceiveCplt,"ax",%progbits
-ARM GAS /tmp/ccoPM59V.s page 162
-
-
- 4579 .align 1
- 4580 .syntax unified
- 4581 .thumb
- 4582 .thumb_func
- 4583 .fpu softvfp
- 4585 SPI_DMATransmitReceiveCplt:
- 4586 .LFB96:
-2857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_HandleTypeDef *hspi = (SPI_HandleTypeDef *)(((DMA_HandleTypeDef *)hdma)->Parent); /* Derogati
- 4587 .loc 1 2857 0
- 4588 .cfi_startproc
- 4589 @ args = 0, pretend = 0, frame = 0
- 4590 @ frame_needed = 0, uses_anonymous_args = 0
- 4591 .LVL359:
- 4592 0000 38B5 push {r3, r4, r5, lr}
- 4593 .LCFI70:
- 4594 .cfi_def_cfa_offset 16
- 4595 .cfi_offset 3, -16
- 4596 .cfi_offset 4, -12
- 4597 .cfi_offset 5, -8
- 4598 .cfi_offset 14, -4
- 4599 0002 0546 mov r5, r0
-2858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t tickstart;
- 4600 .loc 1 2858 0
- 4601 0004 446A ldr r4, [r0, #36]
- 4602 .LVL360:
-2862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4603 .loc 1 2862 0
- 4604 0006 FFF7FEFF bl HAL_GetTick
- 4605 .LVL361:
-2865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4606 .loc 1 2865 0
- 4607 000a 2B68 ldr r3, [r5]
- 4608 000c 1B68 ldr r3, [r3]
- 4609 000e 13F0200F tst r3, #32
- 4610 0012 1BD1 bne .L406
-2868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4611 .loc 1 2868 0
- 4612 0014 2268 ldr r2, [r4]
- 4613 0016 5368 ldr r3, [r2, #4]
- 4614 0018 23F02003 bic r3, r3, #32
- 4615 001c 5360 str r3, [r2, #4]
-2885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4616 .loc 1 2885 0
- 4617 001e 0246 mov r2, r0
- 4618 0020 6421 movs r1, #100
- 4619 0022 2046 mov r0, r4
- 4620 .LVL362:
- 4621 0024 FFF7FEFF bl SPI_EndRxTxTransaction
- 4622 .LVL363:
- 4623 0028 18B1 cbz r0, .L407
-2887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 4624 .loc 1 2887 0
- 4625 002a 636D ldr r3, [r4, #84]
- 4626 002c 43F02003 orr r3, r3, #32
- 4627 0030 6365 str r3, [r4, #84]
- 4628 .L407:
-2891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-ARM GAS /tmp/ccoPM59V.s page 163
-
-
- 4629 .loc 1 2891 0
- 4630 0032 2268 ldr r2, [r4]
- 4631 0034 5368 ldr r3, [r2, #4]
- 4632 0036 23F00303 bic r3, r3, #3
- 4633 003a 5360 str r3, [r2, #4]
-2893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = 0U;
- 4634 .loc 1 2893 0
- 4635 003c 0023 movs r3, #0
- 4636 003e E386 strh r3, [r4, #54] @ movhi
-2894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->State = HAL_SPI_STATE_READY;
- 4637 .loc 1 2894 0
- 4638 0040 E387 strh r3, [r4, #62] @ movhi
-2895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4639 .loc 1 2895 0
- 4640 0042 0123 movs r3, #1
- 4641 0044 84F85130 strb r3, [r4, #81]
-2916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4642 .loc 1 2916 0
- 4643 0048 636D ldr r3, [r4, #84]
- 4644 004a 1BB9 cbnz r3, .L410
- 4645 .L406:
-2931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 4646 .loc 1 2931 0
- 4647 004c 2046 mov r0, r4
- 4648 004e FFF7FEFF bl HAL_SPI_TxRxCpltCallback
- 4649 .LVL364:
- 4650 0052 38BD pop {r3, r4, r5, pc}
- 4651 .LVL365:
- 4652 .L410:
-2922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 4653 .loc 1 2922 0
- 4654 0054 2046 mov r0, r4
- 4655 0056 FFF7FEFF bl HAL_SPI_ErrorCallback
- 4656 .LVL366:
-2924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 4657 .loc 1 2924 0
- 4658 005a 38BD pop {r3, r4, r5, pc}
- 4659 .cfi_endproc
- 4660 .LFE96:
- 4662 .section .text.HAL_SPI_IRQHandler,"ax",%progbits
- 4663 .align 1
- 4664 .global HAL_SPI_IRQHandler
- 4665 .syntax unified
- 4666 .thumb
- 4667 .thumb_func
- 4668 .fpu softvfp
- 4670 HAL_SPI_IRQHandler:
- 4671 .LFB83:
-2418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t itsource = hspi->Instance->CR2;
- 4672 .loc 1 2418 0
- 4673 .cfi_startproc
- 4674 @ args = 0, pretend = 0, frame = 16
- 4675 @ frame_needed = 0, uses_anonymous_args = 0
- 4676 .LVL367:
- 4677 0000 10B5 push {r4, lr}
- 4678 .LCFI71:
- 4679 .cfi_def_cfa_offset 8
-ARM GAS /tmp/ccoPM59V.s page 164
-
-
- 4680 .cfi_offset 4, -8
- 4681 .cfi_offset 14, -4
- 4682 0002 84B0 sub sp, sp, #16
- 4683 .LCFI72:
- 4684 .cfi_def_cfa_offset 24
- 4685 0004 0446 mov r4, r0
-2419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** uint32_t itflag = hspi->Instance->SR;
- 4686 .loc 1 2419 0
- 4687 0006 0268 ldr r2, [r0]
- 4688 0008 5168 ldr r1, [r2, #4]
- 4689 .LVL368:
-2420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4690 .loc 1 2420 0
- 4691 000a 9368 ldr r3, [r2, #8]
- 4692 .LVL369:
-2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** (SPI_CHECK_FLAG(itflag, SPI_FLAG_RXNE) != RESET) && (SPI_CHECK_IT_SOURCE(itsource, SPI_IT_RXN
- 4693 .loc 1 2423 0
- 4694 000c 03F04100 and r0, r3, #65
- 4695 .LVL370:
- 4696 0010 0128 cmp r0, #1
- 4697 0012 5AD0 beq .L421
- 4698 .L412:
-2431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4699 .loc 1 2431 0
- 4700 0014 13F0020F tst r3, #2
- 4701 0018 02D0 beq .L414
-2431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4702 .loc 1 2431 0 is_stmt 0 discriminator 1
- 4703 001a 11F0800F tst r1, #128
- 4704 001e 5BD1 bne .L422
- 4705 .L414:
-2438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** && (SPI_CHECK_IT_SOURCE(itsource, SPI_IT_ERR) != RESET))
- 4706 .loc 1 2438 0 is_stmt 1
- 4707 0020 13F0600F tst r3, #96
- 4708 0024 5BD0 beq .L411
-2439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4709 .loc 1 2439 0
- 4710 0026 11F0200F tst r1, #32
- 4711 002a 58D0 beq .L411
-2442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4712 .loc 1 2442 0
- 4713 002c 13F0400F tst r3, #64
- 4714 0030 0FD0 beq .L415
-2444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4715 .loc 1 2444 0
- 4716 0032 94F85100 ldrb r0, [r4, #81] @ zero_extendqisi2
- 4717 0036 C0B2 uxtb r0, r0
- 4718 0038 0328 cmp r0, #3
- 4719 003a 52D0 beq .L416
-2446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_CLEAR_OVRFLAG(hspi);
- 4720 .loc 1 2446 0
- 4721 003c 606D ldr r0, [r4, #84]
- 4722 003e 40F00400 orr r0, r0, #4
- 4723 0042 6065 str r0, [r4, #84]
- 4724 .LBB9:
-2447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 4725 .loc 1 2447 0
-ARM GAS /tmp/ccoPM59V.s page 165
-
-
- 4726 0044 0020 movs r0, #0
- 4727 0046 0190 str r0, [sp, #4]
- 4728 0048 D068 ldr r0, [r2, #12]
- 4729 004a 0190 str r0, [sp, #4]
- 4730 004c 9068 ldr r0, [r2, #8]
- 4731 004e 0190 str r0, [sp, #4]
- 4732 0050 0198 ldr r0, [sp, #4]
- 4733 .L415:
- 4734 .LBE9:
-2457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4735 .loc 1 2457 0
- 4736 0052 13F0200F tst r3, #32
- 4737 0056 0CD0 beq .L417
-2459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __HAL_SPI_CLEAR_MODFFLAG(hspi);
- 4738 .loc 1 2459 0
- 4739 0058 636D ldr r3, [r4, #84]
- 4740 .LVL371:
- 4741 005a 43F00103 orr r3, r3, #1
- 4742 005e 6365 str r3, [r4, #84]
- 4743 .LBB10:
-2460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 4744 .loc 1 2460 0
- 4745 0060 0023 movs r3, #0
- 4746 0062 0393 str r3, [sp, #12]
- 4747 0064 9368 ldr r3, [r2, #8]
- 4748 0066 0393 str r3, [sp, #12]
- 4749 0068 1368 ldr r3, [r2]
- 4750 006a 23F04003 bic r3, r3, #64
- 4751 006e 1360 str r3, [r2]
- 4752 0070 039B ldr r3, [sp, #12]
- 4753 .L417:
- 4754 .LBE10:
-2465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4755 .loc 1 2465 0
- 4756 0072 636D ldr r3, [r4, #84]
- 4757 0074 002B cmp r3, #0
- 4758 0076 32D0 beq .L411
-2468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4759 .loc 1 2468 0
- 4760 0078 2268 ldr r2, [r4]
- 4761 007a 5368 ldr r3, [r2, #4]
- 4762 007c 23F0E003 bic r3, r3, #224
- 4763 0080 5360 str r3, [r2, #4]
-2470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Disable the SPI DMA requests if enabled */
- 4764 .loc 1 2470 0
- 4765 0082 0123 movs r3, #1
- 4766 0084 84F85130 strb r3, [r4, #81]
-2472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4767 .loc 1 2472 0
- 4768 0088 11F0030F tst r1, #3
- 4769 008c 31D0 beq .L418
-2474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4770 .loc 1 2474 0
- 4771 008e 2268 ldr r2, [r4]
- 4772 0090 5368 ldr r3, [r2, #4]
- 4773 0092 23F00303 bic r3, r3, #3
- 4774 0096 5360 str r3, [r2, #4]
-ARM GAS /tmp/ccoPM59V.s page 166
-
-
-2477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4775 .loc 1 2477 0
- 4776 0098 E36C ldr r3, [r4, #76]
- 4777 009a 4BB1 cbz r3, .L419
-2481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_OK != HAL_DMA_Abort_IT(hspi->hdmarx))
- 4778 .loc 1 2481 0
- 4779 009c 174A ldr r2, .L423
- 4780 009e 5A63 str r2, [r3, #52]
-2482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4781 .loc 1 2482 0
- 4782 00a0 E06C ldr r0, [r4, #76]
- 4783 00a2 FFF7FEFF bl HAL_DMA_Abort_IT
- 4784 .LVL372:
- 4785 00a6 18B1 cbz r0, .L419
-2484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 4786 .loc 1 2484 0
- 4787 00a8 636D ldr r3, [r4, #84]
- 4788 00aa 43F04003 orr r3, r3, #64
- 4789 00ae 6365 str r3, [r4, #84]
- 4790 .L419:
-2488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4791 .loc 1 2488 0
- 4792 00b0 A36C ldr r3, [r4, #72]
- 4793 00b2 A3B1 cbz r3, .L411
-2492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** if (HAL_OK != HAL_DMA_Abort_IT(hspi->hdmatx))
- 4794 .loc 1 2492 0
- 4795 00b4 114A ldr r2, .L423
- 4796 00b6 5A63 str r2, [r3, #52]
-2493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4797 .loc 1 2493 0
- 4798 00b8 A06C ldr r0, [r4, #72]
- 4799 00ba FFF7FEFF bl HAL_DMA_Abort_IT
- 4800 .LVL373:
- 4801 00be 70B1 cbz r0, .L411
-2495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 4802 .loc 1 2495 0
- 4803 00c0 636D ldr r3, [r4, #84]
- 4804 00c2 43F04003 orr r3, r3, #64
- 4805 00c6 6365 str r3, [r4, #84]
- 4806 00c8 09E0 b .L411
- 4807 .LVL374:
- 4808 .L421:
-2424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4809 .loc 1 2424 0
- 4810 00ca 11F0400F tst r1, #64
- 4811 00ce A1D0 beq .L412
-2426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return;
- 4812 .loc 1 2426 0
- 4813 00d0 236C ldr r3, [r4, #64]
- 4814 .LVL375:
- 4815 00d2 2046 mov r0, r4
- 4816 00d4 9847 blx r3
- 4817 .LVL376:
-2427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 4818 .loc 1 2427 0
- 4819 00d6 02E0 b .L411
- 4820 .LVL377:
-ARM GAS /tmp/ccoPM59V.s page 167
-
-
- 4821 .L422:
-2433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return;
- 4822 .loc 1 2433 0
- 4823 00d8 636C ldr r3, [r4, #68]
- 4824 .LVL378:
- 4825 00da 2046 mov r0, r4
- 4826 00dc 9847 blx r3
- 4827 .LVL379:
- 4828 .L411:
-2511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4829 .loc 1 2511 0
- 4830 00de 04B0 add sp, sp, #16
- 4831 .LCFI73:
- 4832 .cfi_remember_state
- 4833 .cfi_def_cfa_offset 8
- 4834 @ sp needed
- 4835 00e0 10BD pop {r4, pc}
- 4836 .LVL380:
- 4837 .L416:
- 4838 .LCFI74:
- 4839 .cfi_restore_state
- 4840 .LBB11:
-2451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** return;
- 4841 .loc 1 2451 0
- 4842 00e2 0023 movs r3, #0
- 4843 .LVL381:
- 4844 00e4 0293 str r3, [sp, #8]
- 4845 00e6 D368 ldr r3, [r2, #12]
- 4846 00e8 0293 str r3, [sp, #8]
- 4847 00ea 9368 ldr r3, [r2, #8]
- 4848 00ec 0293 str r3, [sp, #8]
- 4849 00ee 029B ldr r3, [sp, #8]
- 4850 .LBE11:
-2452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 4851 .loc 1 2452 0
- 4852 00f0 F5E7 b .L411
- 4853 .L418:
-2505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 4854 .loc 1 2505 0
- 4855 00f2 2046 mov r0, r4
- 4856 00f4 FFF7FEFF bl HAL_SPI_ErrorCallback
- 4857 .LVL382:
- 4858 00f8 F1E7 b .L411
- 4859 .L424:
- 4860 00fa 00BF .align 2
- 4861 .L423:
- 4862 00fc 00000000 .word SPI_DMAAbortOnError
- 4863 .cfi_endproc
- 4864 .LFE83:
- 4866 .section .text.SPI_DMAAbortOnError,"ax",%progbits
- 4867 .align 1
- 4868 .syntax unified
- 4869 .thumb
- 4870 .thumb_func
- 4871 .fpu softvfp
- 4873 SPI_DMAAbortOnError:
- 4874 .LFB101:
-ARM GAS /tmp/ccoPM59V.s page 168
-
-
-3019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_HandleTypeDef *hspi = (SPI_HandleTypeDef *)(((DMA_HandleTypeDef *)hdma)->Parent); /* Derogati
- 4875 .loc 1 3019 0
- 4876 .cfi_startproc
- 4877 @ args = 0, pretend = 0, frame = 0
- 4878 @ frame_needed = 0, uses_anonymous_args = 0
- 4879 .LVL383:
- 4880 0000 08B5 push {r3, lr}
- 4881 .LCFI75:
- 4882 .cfi_def_cfa_offset 8
- 4883 .cfi_offset 3, -8
- 4884 .cfi_offset 14, -4
-3020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->RxXferCount = 0U;
- 4885 .loc 1 3020 0
- 4886 0002 406A ldr r0, [r0, #36]
- 4887 .LVL384:
-3021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = 0U;
- 4888 .loc 1 3021 0
- 4889 0004 0023 movs r3, #0
- 4890 0006 C387 strh r3, [r0, #62] @ movhi
-3022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4891 .loc 1 3022 0
- 4892 0008 C386 strh r3, [r0, #54] @ movhi
-3028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 4893 .loc 1 3028 0
- 4894 000a FFF7FEFF bl HAL_SPI_ErrorCallback
- 4895 .LVL385:
- 4896 000e 08BD pop {r3, pc}
- 4897 .cfi_endproc
- 4898 .LFE101:
- 4900 .section .text.HAL_SPI_AbortCpltCallback,"ax",%progbits
- 4901 .align 1
- 4902 .weak HAL_SPI_AbortCpltCallback
- 4903 .syntax unified
- 4904 .thumb
- 4905 .thumb_func
- 4906 .fpu softvfp
- 4908 HAL_SPI_AbortCpltCallback:
- 4909 .LFB91:
-2634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Prevent unused argument(s) compilation warning */
- 4910 .loc 1 2634 0
- 4911 .cfi_startproc
- 4912 @ args = 0, pretend = 0, frame = 0
- 4913 @ frame_needed = 0, uses_anonymous_args = 0
- 4914 @ link register save eliminated.
- 4915 .LVL386:
- 4916 0000 7047 bx lr
- 4917 .cfi_endproc
- 4918 .LFE91:
- 4920 .section .text.HAL_SPI_Abort_IT,"ax",%progbits
- 4921 .align 1
- 4922 .global HAL_SPI_Abort_IT
- 4923 .syntax unified
- 4924 .thumb
- 4925 .thumb_func
- 4926 .fpu softvfp
- 4928 HAL_SPI_Abort_IT:
- 4929 .LFB79:
-ARM GAS /tmp/ccoPM59V.s page 169
-
-
-2178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef errorcode;
- 4930 .loc 1 2178 0
- 4931 .cfi_startproc
- 4932 @ args = 0, pretend = 0, frame = 16
- 4933 @ frame_needed = 0, uses_anonymous_args = 0
- 4934 .LVL387:
-2178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** HAL_StatusTypeDef errorcode;
- 4935 .loc 1 2178 0
- 4936 0000 30B5 push {r4, r5, lr}
- 4937 .LCFI76:
- 4938 .cfi_def_cfa_offset 12
- 4939 .cfi_offset 4, -12
- 4940 .cfi_offset 5, -8
- 4941 .cfi_offset 14, -4
- 4942 0002 85B0 sub sp, sp, #20
- 4943 .LCFI77:
- 4944 .cfi_def_cfa_offset 32
- 4945 0004 0446 mov r4, r0
- 4946 .LVL388:
-2187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** count = resetcount;
- 4947 .loc 1 2187 0
- 4948 0006 4E4B ldr r3, .L455
- 4949 0008 1B68 ldr r3, [r3]
- 4950 000a 4E4A ldr r2, .L455+4
- 4951 000c A2FB0323 umull r2, r3, r2, r3
- 4952 0010 5B0A lsrs r3, r3, #9
- 4953 0012 6422 movs r2, #100
- 4954 0014 02FB03F3 mul r3, r2, r3
- 4955 0018 0293 str r3, [sp, #8]
-2188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4956 .loc 1 2188 0
- 4957 001a 029B ldr r3, [sp, #8]
- 4958 001c 0393 str r3, [sp, #12]
-2191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 4959 .loc 1 2191 0
- 4960 001e 0268 ldr r2, [r0]
- 4961 0020 5368 ldr r3, [r2, #4]
- 4962 0022 23F02003 bic r3, r3, #32
- 4963 0026 5360 str r3, [r2, #4]
-2194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4964 .loc 1 2194 0
- 4965 0028 0268 ldr r2, [r0]
- 4966 002a 5368 ldr r3, [r2, #4]
- 4967 002c 13F0800F tst r3, #128
- 4968 0030 12D0 beq .L429
-2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Wait HAL_SPI_STATE_ABORT state */
- 4969 .loc 1 2196 0
- 4970 0032 454B ldr r3, .L455+8
- 4971 0034 4364 str r3, [r0, #68]
- 4972 .L432:
-2200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4973 .loc 1 2200 0
- 4974 0036 039B ldr r3, [sp, #12]
- 4975 0038 43B1 cbz r3, .L452
-2205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** } while (hspi->State != HAL_SPI_STATE_ABORT);
- 4976 .loc 1 2205 0
- 4977 003a 039B ldr r3, [sp, #12]
-ARM GAS /tmp/ccoPM59V.s page 170
-
-
- 4978 003c 013B subs r3, r3, #1
- 4979 003e 0393 str r3, [sp, #12]
-2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset Timeout Counter */
- 4980 .loc 1 2206 0
- 4981 0040 94F85130 ldrb r3, [r4, #81] @ zero_extendqisi2
- 4982 0044 DBB2 uxtb r3, r3
- 4983 0046 072B cmp r3, #7
- 4984 0048 F5D1 bne .L432
- 4985 004a 03E0 b .L431
- 4986 .L452:
-2202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 4987 .loc 1 2202 0
- 4988 004c 636D ldr r3, [r4, #84]
- 4989 004e 43F04003 orr r3, r3, #64
- 4990 0052 6365 str r3, [r4, #84]
- 4991 .L431:
-2208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 4992 .loc 1 2208 0
- 4993 0054 029B ldr r3, [sp, #8]
- 4994 0056 0393 str r3, [sp, #12]
- 4995 .L429:
-2211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 4996 .loc 1 2211 0
- 4997 0058 5368 ldr r3, [r2, #4]
- 4998 005a 13F0400F tst r3, #64
- 4999 005e 12D0 beq .L433
-2213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Wait HAL_SPI_STATE_ABORT state */
- 5000 .loc 1 2213 0
- 5001 0060 3A4B ldr r3, .L455+12
- 5002 0062 2364 str r3, [r4, #64]
- 5003 .L436:
-2217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 5004 .loc 1 2217 0
- 5005 0064 039B ldr r3, [sp, #12]
- 5006 0066 43B1 cbz r3, .L453
-2222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** } while (hspi->State != HAL_SPI_STATE_ABORT);
- 5007 .loc 1 2222 0
- 5008 0068 039B ldr r3, [sp, #12]
- 5009 006a 013B subs r3, r3, #1
- 5010 006c 0393 str r3, [sp, #12]
-2223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Reset Timeout Counter */
- 5011 .loc 1 2223 0
- 5012 006e 94F85130 ldrb r3, [r4, #81] @ zero_extendqisi2
- 5013 0072 DBB2 uxtb r3, r3
- 5014 0074 072B cmp r3, #7
- 5015 0076 F5D1 bne .L436
- 5016 0078 03E0 b .L435
- 5017 .L453:
-2219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 5018 .loc 1 2219 0
- 5019 007a 636D ldr r3, [r4, #84]
- 5020 007c 43F04003 orr r3, r3, #64
- 5021 0080 6365 str r3, [r4, #84]
- 5022 .L435:
-2225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 5023 .loc 1 2225 0
- 5024 0082 029B ldr r3, [sp, #8]
-ARM GAS /tmp/ccoPM59V.s page 171
-
-
- 5025 0084 0393 str r3, [sp, #12]
- 5026 .L433:
-2231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 5027 .loc 1 2231 0
- 5028 0086 A36C ldr r3, [r4, #72]
- 5029 0088 2BB1 cbz r3, .L437
-2235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 5030 .loc 1 2235 0
- 5031 008a 5268 ldr r2, [r2, #4]
- 5032 008c 12F0020F tst r2, #2
- 5033 0090 1BD0 beq .L438
-2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 5034 .loc 1 2237 0
- 5035 0092 2F4A ldr r2, .L455+16
- 5036 0094 5A63 str r2, [r3, #52]
- 5037 .L437:
-2245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 5038 .loc 1 2245 0
- 5039 0096 E36C ldr r3, [r4, #76]
- 5040 0098 33B1 cbz r3, .L439
-2249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 5041 .loc 1 2249 0
- 5042 009a 2268 ldr r2, [r4]
- 5043 009c 5268 ldr r2, [r2, #4]
- 5044 009e 12F0010F tst r2, #1
- 5045 00a2 15D0 beq .L440
-2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 5046 .loc 1 2251 0
- 5047 00a4 2B4A ldr r2, .L455+20
- 5048 00a6 5A63 str r2, [r3, #52]
- 5049 .L439:
-2260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 5050 .loc 1 2260 0
- 5051 00a8 2368 ldr r3, [r4]
- 5052 00aa 5B68 ldr r3, [r3, #4]
- 5053 00ac 13F0020F tst r3, #2
- 5054 00b0 11D0 beq .L445
-2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 5055 .loc 1 2263 0
- 5056 00b2 A06C ldr r0, [r4, #72]
- 5057 .LVL389:
- 5058 00b4 20B3 cbz r0, .L446
-2266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 5059 .loc 1 2266 0
- 5060 00b6 FFF7FEFF bl HAL_DMA_Abort_IT
- 5061 .LVL390:
- 5062 00ba 18B3 cbz r0, .L447
-2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_ABORT;
- 5063 .loc 1 2268 0
- 5064 00bc A36C ldr r3, [r4, #72]
- 5065 00be 0022 movs r2, #0
- 5066 00c0 5A63 str r2, [r3, #52]
-2269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 5067 .loc 1 2269 0
- 5068 00c2 4023 movs r3, #64
- 5069 00c4 6365 str r3, [r4, #84]
-2186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** resetcount = SPI_DEFAULT_TIMEOUT * (SystemCoreClock / 24U / 1000U);
-ARM GAS /tmp/ccoPM59V.s page 172
-
-
- 5070 .loc 1 2186 0
- 5071 00c6 0125 movs r5, #1
- 5072 00c8 06E0 b .L441
- 5073 .LVL391:
- 5074 .L438:
-2241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 5075 .loc 1 2241 0
- 5076 00ca 0022 movs r2, #0
- 5077 00cc 5A63 str r2, [r3, #52]
- 5078 00ce E2E7 b .L437
- 5079 .L440:
-2255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 5080 .loc 1 2255 0
- 5081 00d0 0022 movs r2, #0
- 5082 00d2 5A63 str r2, [r3, #52]
- 5083 00d4 E8E7 b .L439
- 5084 .L445:
-2186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** resetcount = SPI_DEFAULT_TIMEOUT * (SystemCoreClock / 24U / 1000U);
- 5085 .loc 1 2186 0
- 5086 00d6 0125 movs r5, #1
- 5087 .LVL392:
- 5088 .L441:
-2278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 5089 .loc 1 2278 0
- 5090 00d8 2368 ldr r3, [r4]
- 5091 00da 5B68 ldr r3, [r3, #4]
- 5092 00dc 13F0010F tst r3, #1
- 5093 00e0 09D0 beq .L442
-2281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 5094 .loc 1 2281 0
- 5095 00e2 E06C ldr r0, [r4, #76]
- 5096 00e4 38B1 cbz r0, .L442
-2284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 5097 .loc 1 2284 0
- 5098 00e6 FFF7FEFF bl HAL_DMA_Abort_IT
- 5099 .LVL393:
- 5100 00ea 68B1 cbz r0, .L448
-2286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->ErrorCode = HAL_SPI_ERROR_ABORT;
- 5101 .loc 1 2286 0
- 5102 00ec E36C ldr r3, [r4, #76]
- 5103 00ee 0022 movs r2, #0
- 5104 00f0 5A63 str r2, [r3, #52]
-2287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 5105 .loc 1 2287 0
- 5106 00f2 4023 movs r3, #64
- 5107 00f4 6365 str r3, [r4, #84]
- 5108 .LVL394:
- 5109 .L442:
-2296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 5110 .loc 1 2296 0
- 5111 00f6 4DB9 cbnz r5, .L454
-2185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** abortcplt = 1U;
- 5112 .loc 1 2185 0
- 5113 00f8 0025 movs r5, #0
- 5114 .LVL395:
- 5115 .L443:
-2329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
-ARM GAS /tmp/ccoPM59V.s page 173
-
-
- 5116 .loc 1 2329 0
- 5117 00fa 2846 mov r0, r5
- 5118 00fc 05B0 add sp, sp, #20
- 5119 .LCFI78:
- 5120 .cfi_remember_state
- 5121 .cfi_def_cfa_offset 12
- 5122 @ sp needed
- 5123 00fe 30BD pop {r4, r5, pc}
- 5124 .LVL396:
- 5125 .L446:
- 5126 .LCFI79:
- 5127 .cfi_restore_state
-2186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** resetcount = SPI_DEFAULT_TIMEOUT * (SystemCoreClock / 24U / 1000U);
- 5128 .loc 1 2186 0
- 5129 0100 0125 movs r5, #1
- 5130 0102 E9E7 b .L441
- 5131 .L447:
-2273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 5132 .loc 1 2273 0
- 5133 0104 0025 movs r5, #0
- 5134 0106 E7E7 b .L441
- 5135 .LVL397:
- 5136 .L448:
-2291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 5137 .loc 1 2291 0
- 5138 0108 0025 movs r5, #0
- 5139 .LVL398:
- 5140 010a F4E7 b .L442
- 5141 .LVL399:
- 5142 .L454:
-2299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = 0U;
- 5143 .loc 1 2299 0
- 5144 010c 0023 movs r3, #0
- 5145 010e E387 strh r3, [r4, #62] @ movhi
-2300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 5146 .loc 1 2300 0
- 5147 0110 E386 strh r3, [r4, #54] @ movhi
-2303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 5148 .loc 1 2303 0
- 5149 0112 636D ldr r3, [r4, #84]
- 5150 0114 402B cmp r3, #64
- 5151 0116 10D0 beq .L450
-2311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 5152 .loc 1 2311 0
- 5153 0118 0025 movs r5, #0
- 5154 .LVL400:
- 5155 011a 6565 str r5, [r4, #84]
- 5156 .L444:
- 5157 .LVL401:
- 5158 .LBB12:
-2315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 5159 .loc 1 2315 0
- 5160 011c 0023 movs r3, #0
- 5161 011e 0193 str r3, [sp, #4]
- 5162 0120 2368 ldr r3, [r4]
- 5163 0122 DA68 ldr r2, [r3, #12]
- 5164 0124 0192 str r2, [sp, #4]
-ARM GAS /tmp/ccoPM59V.s page 174
-
-
- 5165 0126 9B68 ldr r3, [r3, #8]
- 5166 0128 0193 str r3, [sp, #4]
- 5167 012a 019B ldr r3, [sp, #4]
- 5168 .LBE12:
-2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 5169 .loc 1 2318 0
- 5170 012c 0123 movs r3, #1
- 5171 012e 84F85130 strb r3, [r4, #81]
-2324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 5172 .loc 1 2324 0
- 5173 0132 2046 mov r0, r4
- 5174 0134 FFF7FEFF bl HAL_SPI_AbortCpltCallback
- 5175 .LVL402:
- 5176 0138 DFE7 b .L443
- 5177 .LVL403:
- 5178 .L450:
-2306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 5179 .loc 1 2306 0
- 5180 013a 0125 movs r5, #1
- 5181 .LVL404:
- 5182 013c EEE7 b .L444
- 5183 .L456:
- 5184 013e 00BF .align 2
- 5185 .L455:
- 5186 0140 00000000 .word SystemCoreClock
- 5187 0144 F1197605 .word 91625969
- 5188 0148 00000000 .word SPI_AbortTx_ISR
- 5189 014c 00000000 .word SPI_AbortRx_ISR
- 5190 0150 00000000 .word SPI_DMATxAbortCallback
- 5191 0154 00000000 .word SPI_DMARxAbortCallback
- 5192 .cfi_endproc
- 5193 .LFE79:
- 5195 .section .text.SPI_DMARxAbortCallback,"ax",%progbits
- 5196 .align 1
- 5197 .syntax unified
- 5198 .thumb
- 5199 .thumb_func
- 5200 .fpu softvfp
- 5202 SPI_DMARxAbortCallback:
- 5203 .LFB103:
-3105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_HandleTypeDef *hspi = (SPI_HandleTypeDef *)(((DMA_HandleTypeDef *)hdma)->Parent); /* Derogati
- 5204 .loc 1 3105 0
- 5205 .cfi_startproc
- 5206 @ args = 0, pretend = 0, frame = 8
- 5207 @ frame_needed = 0, uses_anonymous_args = 0
- 5208 .LVL405:
- 5209 0000 10B5 push {r4, lr}
- 5210 .LCFI80:
- 5211 .cfi_def_cfa_offset 8
- 5212 .cfi_offset 4, -8
- 5213 .cfi_offset 14, -4
- 5214 0002 82B0 sub sp, sp, #8
- 5215 .LCFI81:
- 5216 .cfi_def_cfa_offset 16
-3106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 5217 .loc 1 3106 0
- 5218 0004 446A ldr r4, [r0, #36]
-ARM GAS /tmp/ccoPM59V.s page 175
-
-
- 5219 .LVL406:
-3109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 5220 .loc 1 3109 0
- 5221 0006 2268 ldr r2, [r4]
- 5222 0008 1368 ldr r3, [r2]
- 5223 000a 23F04003 bic r3, r3, #64
- 5224 000e 1360 str r3, [r2]
-3111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 5225 .loc 1 3111 0
- 5226 0010 E36C ldr r3, [r4, #76]
- 5227 0012 0022 movs r2, #0
- 5228 0014 5A63 str r2, [r3, #52]
-3114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 5229 .loc 1 3114 0
- 5230 0016 2268 ldr r2, [r4]
- 5231 0018 5368 ldr r3, [r2, #4]
- 5232 001a 23F00103 bic r3, r3, #1
- 5233 001e 5360 str r3, [r2, #4]
-3117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 5234 .loc 1 3117 0
- 5235 0020 FFF7FEFF bl HAL_GetTick
- 5236 .LVL407:
- 5237 0024 0246 mov r2, r0
- 5238 0026 6421 movs r1, #100
- 5239 0028 2046 mov r0, r4
- 5240 002a FFF7FEFF bl SPI_EndRxTxTransaction
- 5241 .LVL408:
- 5242 002e 18B1 cbz r0, .L458
-3119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 5243 .loc 1 3119 0
- 5244 0030 636D ldr r3, [r4, #84]
- 5245 0032 43F04003 orr r3, r3, #64
- 5246 0036 6365 str r3, [r4, #84]
- 5247 .L458:
-3123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 5248 .loc 1 3123 0
- 5249 0038 A36C ldr r3, [r4, #72]
- 5250 003a 1BB1 cbz r3, .L459
-3125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 5251 .loc 1 3125 0
- 5252 003c 5B6B ldr r3, [r3, #52]
- 5253 003e 0BB1 cbz r3, .L459
- 5254 .L457:
-3154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 5255 .loc 1 3154 0
- 5256 0040 02B0 add sp, sp, #8
- 5257 .LCFI82:
- 5258 .cfi_remember_state
- 5259 .cfi_def_cfa_offset 8
- 5260 @ sp needed
- 5261 0042 10BD pop {r4, pc}
- 5262 .LVL409:
- 5263 .L459:
- 5264 .LCFI83:
- 5265 .cfi_restore_state
-3132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = 0U;
- 5266 .loc 1 3132 0
-ARM GAS /tmp/ccoPM59V.s page 176
-
-
- 5267 0044 0023 movs r3, #0
- 5268 0046 E387 strh r3, [r4, #62] @ movhi
-3133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 5269 .loc 1 3133 0
- 5270 0048 E386 strh r3, [r4, #54] @ movhi
-3136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 5271 .loc 1 3136 0
- 5272 004a 636D ldr r3, [r4, #84]
- 5273 004c 402B cmp r3, #64
- 5274 004e 01D0 beq .L461
-3139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 5275 .loc 1 3139 0
- 5276 0050 0023 movs r3, #0
- 5277 0052 6365 str r3, [r4, #84]
- 5278 .L461:
- 5279 .LBB13:
-3143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 5280 .loc 1 3143 0
- 5281 0054 0023 movs r3, #0
- 5282 0056 0193 str r3, [sp, #4]
- 5283 0058 2368 ldr r3, [r4]
- 5284 005a DA68 ldr r2, [r3, #12]
- 5285 005c 0192 str r2, [sp, #4]
- 5286 005e 9B68 ldr r3, [r3, #8]
- 5287 0060 0193 str r3, [sp, #4]
- 5288 0062 019B ldr r3, [sp, #4]
- 5289 .LBE13:
-3146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 5290 .loc 1 3146 0
- 5291 0064 0123 movs r3, #1
- 5292 0066 84F85130 strb r3, [r4, #81]
-3152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 5293 .loc 1 3152 0
- 5294 006a 2046 mov r0, r4
- 5295 006c FFF7FEFF bl HAL_SPI_AbortCpltCallback
- 5296 .LVL410:
- 5297 0070 E6E7 b .L457
- 5298 .cfi_endproc
- 5299 .LFE103:
- 5301 .section .text.SPI_DMATxAbortCallback,"ax",%progbits
- 5302 .align 1
- 5303 .syntax unified
- 5304 .thumb
- 5305 .thumb_func
- 5306 .fpu softvfp
- 5308 SPI_DMATxAbortCallback:
- 5309 .LFB102:
-3041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** SPI_HandleTypeDef *hspi = (SPI_HandleTypeDef *)(((DMA_HandleTypeDef *)hdma)->Parent); /* Derogati
- 5310 .loc 1 3041 0
- 5311 .cfi_startproc
- 5312 @ args = 0, pretend = 0, frame = 8
- 5313 @ frame_needed = 0, uses_anonymous_args = 0
- 5314 .LVL411:
- 5315 0000 00B5 push {lr}
- 5316 .LCFI84:
- 5317 .cfi_def_cfa_offset 4
- 5318 .cfi_offset 14, -4
-ARM GAS /tmp/ccoPM59V.s page 177
-
-
- 5319 0002 83B0 sub sp, sp, #12
- 5320 .LCFI85:
- 5321 .cfi_def_cfa_offset 16
-3042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** __IO uint32_t count;
- 5322 .loc 1 3042 0
- 5323 0004 406A ldr r0, [r0, #36]
- 5324 .LVL412:
-3045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** count = SPI_DEFAULT_TIMEOUT * (SystemCoreClock / 24U / 1000U);
- 5325 .loc 1 3045 0
- 5326 0006 836C ldr r3, [r0, #72]
- 5327 0008 0022 movs r2, #0
- 5328 000a 5A63 str r2, [r3, #52]
-3046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 5329 .loc 1 3046 0
- 5330 000c 1D4B ldr r3, .L472
- 5331 000e 1B68 ldr r3, [r3]
- 5332 0010 1D4A ldr r2, .L472+4
- 5333 0012 A2FB0323 umull r2, r3, r2, r3
- 5334 0016 5B0A lsrs r3, r3, #9
- 5335 0018 6422 movs r2, #100
- 5336 001a 02FB03F3 mul r3, r2, r3
- 5337 001e 0193 str r3, [sp, #4]
-3049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 5338 .loc 1 3049 0
- 5339 0020 0268 ldr r2, [r0]
- 5340 0022 5368 ldr r3, [r2, #4]
- 5341 0024 23F00203 bic r3, r3, #2
- 5342 0028 5360 str r3, [r2, #4]
- 5343 .L466:
-3054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 5344 .loc 1 3054 0
- 5345 002a 019B ldr r3, [sp, #4]
- 5346 002c 43B1 cbz r3, .L471
-3059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** } while ((hspi->Instance->SR & SPI_FLAG_TXE) == RESET);
- 5347 .loc 1 3059 0
- 5348 002e 019B ldr r3, [sp, #4]
- 5349 0030 013B subs r3, r3, #1
- 5350 0032 0193 str r3, [sp, #4]
-3060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 5351 .loc 1 3060 0
- 5352 0034 0368 ldr r3, [r0]
- 5353 0036 9B68 ldr r3, [r3, #8]
- 5354 0038 13F0020F tst r3, #2
- 5355 003c F5D0 beq .L466
- 5356 003e 03E0 b .L465
- 5357 .L471:
-3056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** break;
- 5358 .loc 1 3056 0
- 5359 0040 436D ldr r3, [r0, #84]
- 5360 0042 43F04003 orr r3, r3, #64
- 5361 0046 4365 str r3, [r0, #84]
- 5362 .L465:
-3063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 5363 .loc 1 3063 0
- 5364 0048 C36C ldr r3, [r0, #76]
- 5365 004a 23B1 cbz r3, .L467
-3065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
-ARM GAS /tmp/ccoPM59V.s page 178
-
-
- 5366 .loc 1 3065 0
- 5367 004c 5B6B ldr r3, [r3, #52]
- 5368 004e 13B1 cbz r3, .L467
- 5369 .LVL413:
- 5370 .L463:
-3094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 5371 .loc 1 3094 0
- 5372 0050 03B0 add sp, sp, #12
- 5373 .LCFI86:
- 5374 .cfi_remember_state
- 5375 .cfi_def_cfa_offset 4
- 5376 @ sp needed
- 5377 0052 5DF804FB ldr pc, [sp], #4
- 5378 .LVL414:
- 5379 .L467:
- 5380 .LCFI87:
- 5381 .cfi_restore_state
-3072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** hspi->TxXferCount = 0U;
- 5382 .loc 1 3072 0
- 5383 0056 0023 movs r3, #0
- 5384 0058 C387 strh r3, [r0, #62] @ movhi
-3073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 5385 .loc 1 3073 0
- 5386 005a C386 strh r3, [r0, #54] @ movhi
-3076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** {
- 5387 .loc 1 3076 0
- 5388 005c 436D ldr r3, [r0, #84]
- 5389 005e 402B cmp r3, #64
- 5390 0060 01D0 beq .L469
-3079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 5391 .loc 1 3079 0
- 5392 0062 0023 movs r3, #0
- 5393 0064 4365 str r3, [r0, #84]
- 5394 .L469:
- 5395 .LBB14:
-3083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 5396 .loc 1 3083 0
- 5397 0066 0023 movs r3, #0
- 5398 0068 0093 str r3, [sp]
- 5399 006a 0368 ldr r3, [r0]
- 5400 006c DA68 ldr r2, [r3, #12]
- 5401 006e 0092 str r2, [sp]
- 5402 0070 9B68 ldr r3, [r3, #8]
- 5403 0072 0093 str r3, [sp]
- 5404 0074 009B ldr r3, [sp]
- 5405 .LBE14:
-3086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 5406 .loc 1 3086 0
- 5407 0076 0123 movs r3, #1
- 5408 0078 80F85130 strb r3, [r0, #81]
-3092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** #endif /* USE_HAL_SPI_REGISTER_CALLBACKS */
- 5409 .loc 1 3092 0
- 5410 007c FFF7FEFF bl HAL_SPI_AbortCpltCallback
- 5411 .LVL415:
- 5412 0080 E6E7 b .L463
- 5413 .L473:
- 5414 0082 00BF .align 2
-ARM GAS /tmp/ccoPM59V.s page 179
-
-
- 5415 .L472:
- 5416 0084 00000000 .word SystemCoreClock
- 5417 0088 F1197605 .word 91625969
- 5418 .cfi_endproc
- 5419 .LFE102:
- 5421 .section .text.HAL_SPI_GetState,"ax",%progbits
- 5422 .align 1
- 5423 .global HAL_SPI_GetState
- 5424 .syntax unified
- 5425 .thumb
- 5426 .thumb_func
- 5427 .fpu softvfp
- 5429 HAL_SPI_GetState:
- 5430 .LFB92:
-2669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Return SPI handle state */
- 5431 .loc 1 2669 0
- 5432 .cfi_startproc
- 5433 @ args = 0, pretend = 0, frame = 0
- 5434 @ frame_needed = 0, uses_anonymous_args = 0
- 5435 @ link register save eliminated.
- 5436 .LVL416:
-2671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 5437 .loc 1 2671 0
- 5438 0000 90F85100 ldrb r0, [r0, #81] @ zero_extendqisi2
- 5439 .LVL417:
-2672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 5440 .loc 1 2672 0
- 5441 0004 7047 bx lr
- 5442 .cfi_endproc
- 5443 .LFE92:
- 5445 .section .text.HAL_SPI_GetError,"ax",%progbits
- 5446 .align 1
- 5447 .global HAL_SPI_GetError
- 5448 .syntax unified
- 5449 .thumb
- 5450 .thumb_func
- 5451 .fpu softvfp
- 5453 HAL_SPI_GetError:
- 5454 .LFB93:
-2681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** /* Return SPI ErrorCode */
- 5455 .loc 1 2681 0
- 5456 .cfi_startproc
- 5457 @ args = 0, pretend = 0, frame = 0
- 5458 @ frame_needed = 0, uses_anonymous_args = 0
- 5459 @ link register save eliminated.
- 5460 .LVL418:
-2683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c **** }
- 5461 .loc 1 2683 0
- 5462 0000 406D ldr r0, [r0, #84]
- 5463 .LVL419:
-2684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_spi.c ****
- 5464 .loc 1 2684 0
- 5465 0002 7047 bx lr
- 5466 .cfi_endproc
- 5467 .LFE93:
- 5469 .text
- 5470 .Letext0:
-ARM GAS /tmp/ccoPM59V.s page 180
-
-
- 5471 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 5472 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 5473 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 5474 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 5475 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 5476 .file 7 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h"
- 5477 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 5478 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
- 5479 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h"
- 5480 .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
-ARM GAS /tmp/ccoPM59V.s page 181
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_hal_spi.c
- /tmp/ccoPM59V.s:16 .text.SPI_AbortRx_ISR:0000000000000000 $t
- /tmp/ccoPM59V.s:22 .text.SPI_AbortRx_ISR:0000000000000000 SPI_AbortRx_ISR
- /tmp/ccoPM59V.s:88 .text.SPI_AbortRx_ISR:0000000000000058 $d
- /tmp/ccoPM59V.s:94 .text.SPI_AbortTx_ISR:0000000000000000 $t
- /tmp/ccoPM59V.s:100 .text.SPI_AbortTx_ISR:0000000000000000 SPI_AbortTx_ISR
- /tmp/ccoPM59V.s:126 .text.SPI_WaitFlagStateUntilTimeout:0000000000000000 $t
- /tmp/ccoPM59V.s:132 .text.SPI_WaitFlagStateUntilTimeout:0000000000000000 SPI_WaitFlagStateUntilTimeout
- /tmp/ccoPM59V.s:274 .text.SPI_WaitFlagStateUntilTimeout:00000000000000cc $d
- /tmp/ccoPM59V.s:279 .text.SPI_EndRxTxTransaction:0000000000000000 $t
- /tmp/ccoPM59V.s:285 .text.SPI_EndRxTxTransaction:0000000000000000 SPI_EndRxTxTransaction
- /tmp/ccoPM59V.s:330 .text.SPI_EndRxTransaction:0000000000000000 $t
- /tmp/ccoPM59V.s:336 .text.SPI_EndRxTransaction:0000000000000000 SPI_EndRxTransaction
- /tmp/ccoPM59V.s:437 .text.HAL_SPI_MspInit:0000000000000000 $t
- /tmp/ccoPM59V.s:444 .text.HAL_SPI_MspInit:0000000000000000 HAL_SPI_MspInit
- /tmp/ccoPM59V.s:457 .text.HAL_SPI_Init:0000000000000000 $t
- /tmp/ccoPM59V.s:464 .text.HAL_SPI_Init:0000000000000000 HAL_SPI_Init
- /tmp/ccoPM59V.s:587 .text.HAL_SPI_MspDeInit:0000000000000000 $t
- /tmp/ccoPM59V.s:594 .text.HAL_SPI_MspDeInit:0000000000000000 HAL_SPI_MspDeInit
- /tmp/ccoPM59V.s:607 .text.HAL_SPI_DeInit:0000000000000000 $t
- /tmp/ccoPM59V.s:614 .text.HAL_SPI_DeInit:0000000000000000 HAL_SPI_DeInit
- /tmp/ccoPM59V.s:664 .text.HAL_SPI_Transmit:0000000000000000 $t
- /tmp/ccoPM59V.s:671 .text.HAL_SPI_Transmit:0000000000000000 HAL_SPI_Transmit
- /tmp/ccoPM59V.s:992 .text.HAL_SPI_TransmitReceive:0000000000000000 $t
- /tmp/ccoPM59V.s:999 .text.HAL_SPI_TransmitReceive:0000000000000000 HAL_SPI_TransmitReceive
- /tmp/ccoPM59V.s:1443 .text.HAL_SPI_Receive:0000000000000000 $t
- /tmp/ccoPM59V.s:1450 .text.HAL_SPI_Receive:0000000000000000 HAL_SPI_Receive
- /tmp/ccoPM59V.s:1731 .text.HAL_SPI_Transmit_IT:0000000000000000 $t
- /tmp/ccoPM59V.s:1738 .text.HAL_SPI_Transmit_IT:0000000000000000 HAL_SPI_Transmit_IT
- /tmp/ccoPM59V.s:1870 .text.HAL_SPI_Transmit_IT:00000000000000a0 $d
- /tmp/ccoPM59V.s:3719 .text.SPI_TxISR_16BIT:0000000000000000 SPI_TxISR_16BIT
- /tmp/ccoPM59V.s:3668 .text.SPI_TxISR_8BIT:0000000000000000 SPI_TxISR_8BIT
- /tmp/ccoPM59V.s:1876 .text.HAL_SPI_TransmitReceive_IT:0000000000000000 $t
- /tmp/ccoPM59V.s:1883 .text.HAL_SPI_TransmitReceive_IT:0000000000000000 HAL_SPI_TransmitReceive_IT
- /tmp/ccoPM59V.s:2063 .text.HAL_SPI_TransmitReceive_IT:00000000000000b8 $d
- /tmp/ccoPM59V.s:4279 .text.SPI_2linesRxISR_16BIT:0000000000000000 SPI_2linesRxISR_16BIT
- /tmp/ccoPM59V.s:4219 .text.SPI_2linesTxISR_16BIT:0000000000000000 SPI_2linesTxISR_16BIT
- /tmp/ccoPM59V.s:4159 .text.SPI_2linesRxISR_8BIT:0000000000000000 SPI_2linesRxISR_8BIT
- /tmp/ccoPM59V.s:4099 .text.SPI_2linesTxISR_8BIT:0000000000000000 SPI_2linesTxISR_8BIT
- /tmp/ccoPM59V.s:2071 .text.HAL_SPI_Receive_IT:0000000000000000 $t
- /tmp/ccoPM59V.s:2078 .text.HAL_SPI_Receive_IT:0000000000000000 HAL_SPI_Receive_IT
- /tmp/ccoPM59V.s:2236 .text.HAL_SPI_Receive_IT:00000000000000bc $d
- /tmp/ccoPM59V.s:3907 .text.SPI_RxISR_16BIT:0000000000000000 SPI_RxISR_16BIT
- /tmp/ccoPM59V.s:3856 .text.SPI_RxISR_8BIT:0000000000000000 SPI_RxISR_8BIT
- /tmp/ccoPM59V.s:2242 .text.HAL_SPI_Transmit_DMA:0000000000000000 $t
- /tmp/ccoPM59V.s:2249 .text.HAL_SPI_Transmit_DMA:0000000000000000 HAL_SPI_Transmit_DMA
- /tmp/ccoPM59V.s:2422 .text.HAL_SPI_Transmit_DMA:00000000000000dc $d
- /tmp/ccoPM59V.s:3394 .text.SPI_DMAHalfTransmitCplt:0000000000000000 SPI_DMAHalfTransmitCplt
- /tmp/ccoPM59V.s:4380 .text.SPI_DMATransmitCplt:0000000000000000 SPI_DMATransmitCplt
- /tmp/ccoPM59V.s:4339 .text.SPI_DMAError:0000000000000000 SPI_DMAError
- /tmp/ccoPM59V.s:2429 .text.HAL_SPI_TransmitReceive_DMA:0000000000000000 $t
- /tmp/ccoPM59V.s:2436 .text.HAL_SPI_TransmitReceive_DMA:0000000000000000 HAL_SPI_TransmitReceive_DMA
- /tmp/ccoPM59V.s:2697 .text.HAL_SPI_TransmitReceive_DMA:0000000000000140 $d
- /tmp/ccoPM59V.s:3494 .text.SPI_DMAHalfTransmitReceiveCplt:0000000000000000 SPI_DMAHalfTransmitReceiveCplt
- /tmp/ccoPM59V.s:4585 .text.SPI_DMATransmitReceiveCplt:0000000000000000 SPI_DMATransmitReceiveCplt
- /tmp/ccoPM59V.s:3444 .text.SPI_DMAHalfReceiveCplt:0000000000000000 SPI_DMAHalfReceiveCplt
-ARM GAS /tmp/ccoPM59V.s page 182
-
-
- /tmp/ccoPM59V.s:4487 .text.SPI_DMAReceiveCplt:0000000000000000 SPI_DMAReceiveCplt
- /tmp/ccoPM59V.s:2706 .text.HAL_SPI_Receive_DMA:0000000000000000 $t
- /tmp/ccoPM59V.s:2713 .text.HAL_SPI_Receive_DMA:0000000000000000 HAL_SPI_Receive_DMA
- /tmp/ccoPM59V.s:2901 .text.HAL_SPI_Receive_DMA:00000000000000f4 $d
- /tmp/ccoPM59V.s:2908 .text.HAL_SPI_Abort:0000000000000000 $t
- /tmp/ccoPM59V.s:2915 .text.HAL_SPI_Abort:0000000000000000 HAL_SPI_Abort
- /tmp/ccoPM59V.s:3133 .text.HAL_SPI_Abort:000000000000012c $d
- /tmp/ccoPM59V.s:3141 .text.HAL_SPI_DMAPause:0000000000000000 $t
- /tmp/ccoPM59V.s:3148 .text.HAL_SPI_DMAPause:0000000000000000 HAL_SPI_DMAPause
- /tmp/ccoPM59V.s:3186 .text.HAL_SPI_DMAResume:0000000000000000 $t
- /tmp/ccoPM59V.s:3193 .text.HAL_SPI_DMAResume:0000000000000000 HAL_SPI_DMAResume
- /tmp/ccoPM59V.s:3231 .text.HAL_SPI_DMAStop:0000000000000000 $t
- /tmp/ccoPM59V.s:3238 .text.HAL_SPI_DMAStop:0000000000000000 HAL_SPI_DMAStop
- /tmp/ccoPM59V.s:3308 .text.HAL_SPI_TxCpltCallback:0000000000000000 $t
- /tmp/ccoPM59V.s:3315 .text.HAL_SPI_TxCpltCallback:0000000000000000 HAL_SPI_TxCpltCallback
- /tmp/ccoPM59V.s:3328 .text.HAL_SPI_RxCpltCallback:0000000000000000 $t
- /tmp/ccoPM59V.s:3335 .text.HAL_SPI_RxCpltCallback:0000000000000000 HAL_SPI_RxCpltCallback
- /tmp/ccoPM59V.s:3348 .text.HAL_SPI_TxRxCpltCallback:0000000000000000 $t
- /tmp/ccoPM59V.s:3355 .text.HAL_SPI_TxRxCpltCallback:0000000000000000 HAL_SPI_TxRxCpltCallback
- /tmp/ccoPM59V.s:3368 .text.HAL_SPI_TxHalfCpltCallback:0000000000000000 $t
- /tmp/ccoPM59V.s:3375 .text.HAL_SPI_TxHalfCpltCallback:0000000000000000 HAL_SPI_TxHalfCpltCallback
- /tmp/ccoPM59V.s:3388 .text.SPI_DMAHalfTransmitCplt:0000000000000000 $t
- /tmp/ccoPM59V.s:3418 .text.HAL_SPI_RxHalfCpltCallback:0000000000000000 $t
- /tmp/ccoPM59V.s:3425 .text.HAL_SPI_RxHalfCpltCallback:0000000000000000 HAL_SPI_RxHalfCpltCallback
- /tmp/ccoPM59V.s:3438 .text.SPI_DMAHalfReceiveCplt:0000000000000000 $t
- /tmp/ccoPM59V.s:3468 .text.HAL_SPI_TxRxHalfCpltCallback:0000000000000000 $t
- /tmp/ccoPM59V.s:3475 .text.HAL_SPI_TxRxHalfCpltCallback:0000000000000000 HAL_SPI_TxRxHalfCpltCallback
- /tmp/ccoPM59V.s:3488 .text.SPI_DMAHalfTransmitReceiveCplt:0000000000000000 $t
- /tmp/ccoPM59V.s:3518 .text.HAL_SPI_ErrorCallback:0000000000000000 $t
- /tmp/ccoPM59V.s:3525 .text.HAL_SPI_ErrorCallback:0000000000000000 HAL_SPI_ErrorCallback
- /tmp/ccoPM59V.s:3538 .text.SPI_CloseTx_ISR:0000000000000000 $t
- /tmp/ccoPM59V.s:3544 .text.SPI_CloseTx_ISR:0000000000000000 SPI_CloseTx_ISR
- /tmp/ccoPM59V.s:3656 .text.SPI_CloseTx_ISR:0000000000000088 $d
- /tmp/ccoPM59V.s:3662 .text.SPI_TxISR_8BIT:0000000000000000 $t
- /tmp/ccoPM59V.s:3713 .text.SPI_TxISR_16BIT:0000000000000000 $t
- /tmp/ccoPM59V.s:3764 .text.SPI_CloseRx_ISR:0000000000000000 $t
- /tmp/ccoPM59V.s:3770 .text.SPI_CloseRx_ISR:0000000000000000 SPI_CloseRx_ISR
- /tmp/ccoPM59V.s:3850 .text.SPI_RxISR_8BIT:0000000000000000 $t
- /tmp/ccoPM59V.s:3901 .text.SPI_RxISR_16BIT:0000000000000000 $t
- /tmp/ccoPM59V.s:3952 .text.SPI_CloseRxTx_ISR:0000000000000000 $t
- /tmp/ccoPM59V.s:3958 .text.SPI_CloseRxTx_ISR:0000000000000000 SPI_CloseRxTx_ISR
- /tmp/ccoPM59V.s:4087 .text.SPI_CloseRxTx_ISR:00000000000000a8 $d
- /tmp/ccoPM59V.s:4093 .text.SPI_2linesTxISR_8BIT:0000000000000000 $t
- /tmp/ccoPM59V.s:4153 .text.SPI_2linesRxISR_8BIT:0000000000000000 $t
- /tmp/ccoPM59V.s:4213 .text.SPI_2linesTxISR_16BIT:0000000000000000 $t
- /tmp/ccoPM59V.s:4273 .text.SPI_2linesRxISR_16BIT:0000000000000000 $t
- /tmp/ccoPM59V.s:4333 .text.SPI_DMAError:0000000000000000 $t
- /tmp/ccoPM59V.s:4374 .text.SPI_DMATransmitCplt:0000000000000000 $t
- /tmp/ccoPM59V.s:4481 .text.SPI_DMAReceiveCplt:0000000000000000 $t
- /tmp/ccoPM59V.s:4579 .text.SPI_DMATransmitReceiveCplt:0000000000000000 $t
- /tmp/ccoPM59V.s:4663 .text.HAL_SPI_IRQHandler:0000000000000000 $t
- /tmp/ccoPM59V.s:4670 .text.HAL_SPI_IRQHandler:0000000000000000 HAL_SPI_IRQHandler
- /tmp/ccoPM59V.s:4862 .text.HAL_SPI_IRQHandler:00000000000000fc $d
- /tmp/ccoPM59V.s:4873 .text.SPI_DMAAbortOnError:0000000000000000 SPI_DMAAbortOnError
- /tmp/ccoPM59V.s:4867 .text.SPI_DMAAbortOnError:0000000000000000 $t
- /tmp/ccoPM59V.s:4901 .text.HAL_SPI_AbortCpltCallback:0000000000000000 $t
- /tmp/ccoPM59V.s:4908 .text.HAL_SPI_AbortCpltCallback:0000000000000000 HAL_SPI_AbortCpltCallback
-ARM GAS /tmp/ccoPM59V.s page 183
-
-
- /tmp/ccoPM59V.s:4921 .text.HAL_SPI_Abort_IT:0000000000000000 $t
- /tmp/ccoPM59V.s:4928 .text.HAL_SPI_Abort_IT:0000000000000000 HAL_SPI_Abort_IT
- /tmp/ccoPM59V.s:5186 .text.HAL_SPI_Abort_IT:0000000000000140 $d
- /tmp/ccoPM59V.s:5308 .text.SPI_DMATxAbortCallback:0000000000000000 SPI_DMATxAbortCallback
- /tmp/ccoPM59V.s:5202 .text.SPI_DMARxAbortCallback:0000000000000000 SPI_DMARxAbortCallback
- /tmp/ccoPM59V.s:5196 .text.SPI_DMARxAbortCallback:0000000000000000 $t
- /tmp/ccoPM59V.s:5302 .text.SPI_DMATxAbortCallback:0000000000000000 $t
- /tmp/ccoPM59V.s:5416 .text.SPI_DMATxAbortCallback:0000000000000084 $d
- /tmp/ccoPM59V.s:5422 .text.HAL_SPI_GetState:0000000000000000 $t
- /tmp/ccoPM59V.s:5429 .text.HAL_SPI_GetState:0000000000000000 HAL_SPI_GetState
- /tmp/ccoPM59V.s:5446 .text.HAL_SPI_GetError:0000000000000000 $t
- /tmp/ccoPM59V.s:5453 .text.HAL_SPI_GetError:0000000000000000 HAL_SPI_GetError
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-SystemCoreClock
-HAL_GetTick
-HAL_DMA_Start_IT
-HAL_DMA_Abort
-HAL_DMA_Abort_IT
diff --git a/build/stm32f1xx_hal_spi.o b/build/stm32f1xx_hal_spi.o
deleted file mode 100644
index 87ab7f3..0000000
Binary files a/build/stm32f1xx_hal_spi.o and /dev/null differ
diff --git a/build/stm32f1xx_hal_sram.d b/build/stm32f1xx_hal_sram.d
deleted file mode 100644
index 9b207ca..0000000
--- a/build/stm32f1xx_hal_sram.d
+++ /dev/null
@@ -1,99 +0,0 @@
-build/stm32f1xx_hal_sram.o: \
- Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_sram.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_fsmc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_sram.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_fsmc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/stm32f1xx_hal_sram.lst b/build/stm32f1xx_hal_sram.lst
deleted file mode 100644
index 21d6ea8..0000000
--- a/build/stm32f1xx_hal_sram.lst
+++ /dev/null
@@ -1,2725 +0,0 @@
-ARM GAS /tmp/ccU1DTln.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "stm32f1xx_hal_sram.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.HAL_SRAM_MspInit,"ax",%progbits
- 16 .align 1
- 17 .weak HAL_SRAM_MspInit
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 HAL_SRAM_MspInit:
- 24 .LFB67:
- 25 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c"
- 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
- 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** ******************************************************************************
- 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @file stm32f1xx_hal_sram.c
- 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @author MCD Application Team
- 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief SRAM HAL module driver.
- 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * This file provides a generic firmware to drive SRAM memories
- 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * mounted as external device.
- 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** *
- 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** @verbatim
- 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** ==============================================================================
- 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** ##### How to use this driver #####
- 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** ==============================================================================
- 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** [..]
- 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** This driver is a generic layered driver which contains a set of APIs used to
- 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** control SRAM memories. It uses the FSMC layer functions to interface
- 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** with SRAM devices.
- 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** The following sequence should be followed to configure the FSMC to interface
- 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** with SRAM/PSRAM memories:
- 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (#) Declare a SRAM_HandleTypeDef handle structure, for example:
- 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** SRAM_HandleTypeDef hsram; and:
- 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (++) Fill the SRAM_HandleTypeDef handle "Init" field with the allowed
- 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** values of the structure member.
- 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (++) Fill the SRAM_HandleTypeDef handle "Instance" field with a predefined
- 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** base register instance for NOR or SRAM device
- 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (++) Fill the SRAM_HandleTypeDef handle "Extended" field with a predefined
- 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** base register instance for NOR or SRAM extended mode
- 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (#) Declare two FSMC_NORSRAM_TimingTypeDef structures, for both normal and extended
- 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** mode timings; for example:
-ARM GAS /tmp/ccU1DTln.s page 2
-
-
- 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** FSMC_NORSRAM_TimingTypeDef Timing and FSMC_NORSRAM_TimingTypeDef ExTiming;
- 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** and fill its fields with the allowed values of the structure member.
- 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (#) Initialize the SRAM Controller by calling the function HAL_SRAM_Init(). This function
- 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** performs the following sequence:
- 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (##) MSP hardware layer configuration using the function HAL_SRAM_MspInit()
- 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (##) Control register configuration using the FSMC NORSRAM interface function
- 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** FSMC_NORSRAM_Init()
- 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (##) Timing register configuration using the FSMC NORSRAM interface function
- 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** FSMC_NORSRAM_Timing_Init()
- 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (##) Extended mode Timing register configuration using the FSMC NORSRAM interface function
- 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** FSMC_NORSRAM_Extended_Timing_Init()
- 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (##) Enable the SRAM device using the macro __FSMC_NORSRAM_ENABLE()
- 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (#) At this stage you can perform read/write accesses from/to the memory connected
- 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** to the NOR/SRAM Bank. You can perform either polling or DMA transfer using the
- 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** following APIs:
- 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (++) HAL_SRAM_Read()/HAL_SRAM_Write() for polling read/write access
- 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (++) HAL_SRAM_Read_DMA()/HAL_SRAM_Write_DMA() for DMA read/write transfer
- 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (#) You can also control the SRAM device by calling the control APIs HAL_SRAM_WriteOperation_Ena
- 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_SRAM_WriteOperation_Disable() to respectively enable/disable the SRAM write operation
- 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (#) You can continuously monitor the SRAM device HAL state by calling the function
- 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_SRAM_GetState()
- 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** *** Callback registration ***
- 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** =============================================
- 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** [..]
- 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** The compilation define USE_HAL_SRAM_REGISTER_CALLBACKS when set to 1
- 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** allows the user to configure dynamically the driver callbacks.
- 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** Use Functions @ref HAL_SRAM_RegisterCallback() to register a user callback,
- 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** it allows to register following callbacks:
- 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (+) MspInitCallback : SRAM MspInit.
- 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (+) MspDeInitCallback : SRAM MspDeInit.
- 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** This function takes as parameters the HAL peripheral handle, the Callback ID
- 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** and a pointer to the user callback function.
- 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** Use function @ref HAL_SRAM_UnRegisterCallback() to reset a callback to the default
- 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** weak (surcharged) function. It allows to reset following callbacks:
- 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (+) MspInitCallback : SRAM MspInit.
- 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (+) MspDeInitCallback : SRAM MspDeInit.
- 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** This function) takes as parameters the HAL peripheral handle and the Callback ID.
- 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** By default, after the @ref HAL_SRAM_Init and if the state is HAL_SRAM_STATE_RESET
- 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** all callbacks are reset to the corresponding legacy weak (surcharged) functions.
- 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** Exception done for MspInit and MspDeInit callbacks that are respectively
- 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** reset to the legacy weak (surcharged) functions in the @ref HAL_SRAM_Init
- 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** and @ref HAL_SRAM_DeInit only when these callbacks are null (not registered beforehand).
- 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** If not, MspInit or MspDeInit are not null, the @ref HAL_SRAM_Init and @ref HAL_SRAM_DeInit
- 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** keep and use the user MspInit/MspDeInit callbacks (registered beforehand)
- 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** Callbacks can be registered/unregistered in READY state only.
- 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** Exception done for MspInit/MspDeInit callbacks that can be registered/unregistered
- 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** in READY or RESET state, thus registered (user) MspInit/DeInit callbacks can be used
-ARM GAS /tmp/ccU1DTln.s page 3
-
-
- 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** during the Init/DeInit.
- 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** In that case first register the MspInit/MspDeInit user callbacks
- 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** using @ref HAL_SRAM_RegisterCallback before calling @ref HAL_SRAM_DeInit
- 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** or @ref HAL_SRAM_Init function.
- 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** When The compilation define USE_HAL_SRAM_REGISTER_CALLBACKS is set to 0 or
- 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** not defined, the callback registering feature is not available
- 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** and weak (surcharged) callbacks are used.
- 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** @endverbatim
- 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** ******************************************************************************
- 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @attention
- 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** *
- 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * © Copyright (c) 2016 STMicroelectronics.
- 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * All rights reserved.
- 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** *
- 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * the "License"; You may not use this file except in compliance with the
- 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * License. You may obtain a copy of the License at:
- 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * opensource.org/licenses/BSD-3-Clause
- 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** *
- 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** ******************************************************************************
- 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Includes ------------------------------------------------------------------*/
- 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** #include "stm32f1xx_hal.h"
- 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** #if defined FSMC_BANK1
- 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /** @addtogroup STM32F1xx_HAL_Driver
- 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @{
- 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** #ifdef HAL_SRAM_MODULE_ENABLED
- 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /** @defgroup SRAM SRAM
- 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief SRAM driver modules
- 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @{
- 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
- 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** @cond 0
- 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Private typedef -----------------------------------------------------------*/
- 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Private define ------------------------------------------------------------*/
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Private macro -------------------------------------------------------------*/
- 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Private variables ---------------------------------------------------------*/
- 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Private function prototypes -----------------------------------------------*/
- 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** static void SRAM_DMACplt(DMA_HandleTypeDef *hdma);
- 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** static void SRAM_DMACpltProt(DMA_HandleTypeDef *hdma);
- 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** static void SRAM_DMAError(DMA_HandleTypeDef *hdma);
- 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** @endcond
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Exported functions --------------------------------------------------------*/
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
-ARM GAS /tmp/ccU1DTln.s page 4
-
-
- 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /** @defgroup SRAM_Exported_Functions SRAM Exported Functions
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @{
- 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /** @defgroup SRAM_Exported_Functions_Group1 Initialization and de-initialization functions
- 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief Initialization and Configuration functions.
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** *
- 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** @verbatim
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** ==============================================================================
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** ##### SRAM Initialization and de_initialization functions #####
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** ==============================================================================
- 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** [..] This section provides functions allowing to initialize/de-initialize
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** the SRAM memory
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** @endverbatim
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @{
- 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief Performs the SRAM device initialization sequence
- 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param hsram pointer to a SRAM_HandleTypeDef structure that contains
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * the configuration information for SRAM module.
- 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param Timing Pointer to SRAM control timing structure
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param ExtTiming Pointer to SRAM extended mode timing structure
- 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @retval HAL status
- 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_StatusTypeDef HAL_SRAM_Init(SRAM_HandleTypeDef *hsram, FSMC_NORSRAM_TimingTypeDef *Timing,
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** FSMC_NORSRAM_TimingTypeDef *ExtTiming)
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Check the SRAM handle parameter */
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** if ((hsram == NULL) || (hsram->Init.BurstAccessMode == FSMC_BURST_ACCESS_MODE_ENABLE))
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return HAL_ERROR;
- 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** if (hsram->State == HAL_SRAM_STATE_RESET)
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Allocate lock resource and initialize it */
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->Lock = HAL_UNLOCKED;
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** #if (USE_HAL_SRAM_REGISTER_CALLBACKS == 1)
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** if (hsram->MspInitCallback == NULL)
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->MspInitCallback = HAL_SRAM_MspInit;
- 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->DmaXferCpltCallback = HAL_SRAM_DMA_XferCpltCallback;
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->DmaXferErrorCallback = HAL_SRAM_DMA_XferErrorCallback;
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Init the low level hardware */
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->MspInitCallback(hsram);
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** #else
- 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Initialize the low level hardware (MSP) */
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_SRAM_MspInit(hsram);
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** #endif
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Initialize SRAM control Interface */
-ARM GAS /tmp/ccU1DTln.s page 5
-
-
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (void)FSMC_NORSRAM_Init(hsram->Instance, &(hsram->Init));
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Initialize SRAM timing Interface */
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (void)FSMC_NORSRAM_Timing_Init(hsram->Instance, Timing, hsram->Init.NSBank);
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Initialize SRAM extended mode timing Interface */
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (void)FSMC_NORSRAM_Extended_Timing_Init(hsram->Extended, ExtTiming, hsram->Init.NSBank,
- 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->Init.ExtendedMode);
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Enable the NORSRAM device */
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __FSMC_NORSRAM_ENABLE(hsram->Instance, hsram->Init.NSBank);
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Initialize the SRAM controller state */
- 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->State = HAL_SRAM_STATE_READY;
- 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return HAL_OK;
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
- 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief Performs the SRAM device De-initialization sequence.
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param hsram pointer to a SRAM_HandleTypeDef structure that contains
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * the configuration information for SRAM module.
- 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @retval HAL status
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_StatusTypeDef HAL_SRAM_DeInit(SRAM_HandleTypeDef *hsram)
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** #if (USE_HAL_SRAM_REGISTER_CALLBACKS == 1)
- 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** if (hsram->MspDeInitCallback == NULL)
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->MspDeInitCallback = HAL_SRAM_MspDeInit;
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* DeInit the low level hardware */
- 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->MspDeInitCallback(hsram);
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** #else
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* De-Initialize the low level hardware (MSP) */
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_SRAM_MspDeInit(hsram);
- 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** #endif
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Configure the SRAM registers with their reset values */
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (void)FSMC_NORSRAM_DeInit(hsram->Instance, hsram->Extended, hsram->Init.NSBank);
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Reset the SRAM controller state */
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->State = HAL_SRAM_STATE_RESET;
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Release Lock */
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_UNLOCK(hsram);
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return HAL_OK;
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief SRAM MSP Init.
- 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param hsram pointer to a SRAM_HandleTypeDef structure that contains
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * the configuration information for SRAM module.
- 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @retval None
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
-ARM GAS /tmp/ccU1DTln.s page 6
-
-
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __weak void HAL_SRAM_MspInit(SRAM_HandleTypeDef *hsram)
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 26 .loc 1 263 0
- 27 .cfi_startproc
- 28 @ args = 0, pretend = 0, frame = 0
- 29 @ frame_needed = 0, uses_anonymous_args = 0
- 30 @ link register save eliminated.
- 31 .LVL0:
- 32 0000 7047 bx lr
- 33 .cfi_endproc
- 34 .LFE67:
- 36 .section .text.HAL_SRAM_Init,"ax",%progbits
- 37 .align 1
- 38 .global HAL_SRAM_Init
- 39 .syntax unified
- 40 .thumb
- 41 .thumb_func
- 42 .fpu softvfp
- 44 HAL_SRAM_Init:
- 45 .LFB65:
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Check the SRAM handle parameter */
- 46 .loc 1 176 0
- 47 .cfi_startproc
- 48 @ args = 0, pretend = 0, frame = 0
- 49 @ frame_needed = 0, uses_anonymous_args = 0
- 50 .LVL1:
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 51 .loc 1 178 0
- 52 0000 60B3 cbz r0, .L5
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Check the SRAM handle parameter */
- 53 .loc 1 176 0 discriminator 1
- 54 0002 70B5 push {r4, r5, r6, lr}
- 55 .LCFI0:
- 56 .cfi_def_cfa_offset 16
- 57 .cfi_offset 4, -16
- 58 .cfi_offset 5, -12
- 59 .cfi_offset 6, -8
- 60 .cfi_offset 14, -4
- 61 0004 0446 mov r4, r0
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 62 .loc 1 178 0 discriminator 1
- 63 0006 8369 ldr r3, [r0, #24]
- 64 0008 B3F5807F cmp r3, #256
- 65 000c 28D0 beq .L6
- 66 000e 1546 mov r5, r2
- 67 0010 0E46 mov r6, r1
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 68 .loc 1 183 0
- 69 0012 90F84130 ldrb r3, [r0, #65] @ zero_extendqisi2
- 70 0016 E3B1 cbz r3, .L11
- 71 .LVL2:
- 72 .L4:
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 73 .loc 1 205 0
- 74 0018 2146 mov r1, r4
- 75 001a 51F8080B ldr r0, [r1], #8
- 76 001e FFF7FEFF bl FSMC_NORSRAM_Init
-ARM GAS /tmp/ccU1DTln.s page 7
-
-
- 77 .LVL3:
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 78 .loc 1 208 0
- 79 0022 A268 ldr r2, [r4, #8]
- 80 0024 3146 mov r1, r6
- 81 0026 2068 ldr r0, [r4]
- 82 0028 FFF7FEFF bl FSMC_NORSRAM_Timing_Init
- 83 .LVL4:
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->Init.ExtendedMode);
- 84 .loc 1 211 0
- 85 002c 236B ldr r3, [r4, #48]
- 86 002e A268 ldr r2, [r4, #8]
- 87 0030 2946 mov r1, r5
- 88 0032 6068 ldr r0, [r4, #4]
- 89 0034 FFF7FEFF bl FSMC_NORSRAM_Extended_Timing_Init
- 90 .LVL5:
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 91 .loc 1 215 0
- 92 0038 2268 ldr r2, [r4]
- 93 003a A168 ldr r1, [r4, #8]
- 94 003c 52F82130 ldr r3, [r2, r1, lsl #2]
- 95 0040 43F00103 orr r3, r3, #1
- 96 0044 42F82130 str r3, [r2, r1, lsl #2]
- 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 97 .loc 1 218 0
- 98 0048 0123 movs r3, #1
- 99 004a 84F84130 strb r3, [r4, #65]
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 100 .loc 1 220 0
- 101 004e 0020 movs r0, #0
- 102 0050 70BD pop {r4, r5, r6, pc}
- 103 .LVL6:
- 104 .L11:
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 105 .loc 1 186 0
- 106 0052 80F84030 strb r3, [r0, #64]
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** #endif
- 107 .loc 1 200 0
- 108 0056 FFF7FEFF bl HAL_SRAM_MspInit
- 109 .LVL7:
- 110 005a DDE7 b .L4
- 111 .LVL8:
- 112 .L5:
- 113 .LCFI1:
- 114 .cfi_def_cfa_offset 0
- 115 .cfi_restore 4
- 116 .cfi_restore 5
- 117 .cfi_restore 6
- 118 .cfi_restore 14
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 119 .loc 1 180 0
- 120 005c 0120 movs r0, #1
- 121 .LVL9:
- 122 005e 7047 bx lr
- 123 .LVL10:
- 124 .L6:
- 125 .LCFI2:
-ARM GAS /tmp/ccU1DTln.s page 8
-
-
- 126 .cfi_def_cfa_offset 16
- 127 .cfi_offset 4, -16
- 128 .cfi_offset 5, -12
- 129 .cfi_offset 6, -8
- 130 .cfi_offset 14, -4
- 131 0060 0120 movs r0, #1
- 132 .LVL11:
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 133 .loc 1 221 0
- 134 0062 70BD pop {r4, r5, r6, pc}
- 135 .cfi_endproc
- 136 .LFE65:
- 138 .section .text.HAL_SRAM_MspDeInit,"ax",%progbits
- 139 .align 1
- 140 .weak HAL_SRAM_MspDeInit
- 141 .syntax unified
- 142 .thumb
- 143 .thumb_func
- 144 .fpu softvfp
- 146 HAL_SRAM_MspDeInit:
- 147 .LFB68:
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Prevent unused argument(s) compilation warning */
- 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** UNUSED(hsram);
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* NOTE : This function Should not be modified, when the callback is needed,
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** the HAL_SRAM_MspInit could be implemented in the user file
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief SRAM MSP DeInit.
- 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param hsram pointer to a SRAM_HandleTypeDef structure that contains
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * the configuration information for SRAM module.
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @retval None
- 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __weak void HAL_SRAM_MspDeInit(SRAM_HandleTypeDef *hsram)
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 148 .loc 1 279 0
- 149 .cfi_startproc
- 150 @ args = 0, pretend = 0, frame = 0
- 151 @ frame_needed = 0, uses_anonymous_args = 0
- 152 @ link register save eliminated.
- 153 .LVL12:
- 154 0000 7047 bx lr
- 155 .cfi_endproc
- 156 .LFE68:
- 158 .section .text.HAL_SRAM_DeInit,"ax",%progbits
- 159 .align 1
- 160 .global HAL_SRAM_DeInit
- 161 .syntax unified
- 162 .thumb
- 163 .thumb_func
- 164 .fpu softvfp
- 166 HAL_SRAM_DeInit:
- 167 .LFB66:
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** #if (USE_HAL_SRAM_REGISTER_CALLBACKS == 1)
- 168 .loc 1 230 0
-ARM GAS /tmp/ccU1DTln.s page 9
-
-
- 169 .cfi_startproc
- 170 @ args = 0, pretend = 0, frame = 0
- 171 @ frame_needed = 0, uses_anonymous_args = 0
- 172 .LVL13:
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** #if (USE_HAL_SRAM_REGISTER_CALLBACKS == 1)
- 173 .loc 1 230 0
- 174 0000 10B5 push {r4, lr}
- 175 .LCFI3:
- 176 .cfi_def_cfa_offset 8
- 177 .cfi_offset 4, -8
- 178 .cfi_offset 14, -4
- 179 0002 0446 mov r4, r0
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** #endif
- 180 .loc 1 241 0
- 181 0004 FFF7FEFF bl HAL_SRAM_MspDeInit
- 182 .LVL14:
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 183 .loc 1 245 0
- 184 0008 A268 ldr r2, [r4, #8]
- 185 000a 6168 ldr r1, [r4, #4]
- 186 000c 2068 ldr r0, [r4]
- 187 000e FFF7FEFF bl FSMC_NORSRAM_DeInit
- 188 .LVL15:
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 189 .loc 1 248 0
- 190 0012 0020 movs r0, #0
- 191 0014 84F84100 strb r0, [r4, #65]
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 192 .loc 1 251 0
- 193 0018 84F84000 strb r0, [r4, #64]
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 194 .loc 1 254 0
- 195 001c 10BD pop {r4, pc}
- 196 .cfi_endproc
- 197 .LFE66:
- 199 .section .text.HAL_SRAM_DMA_XferCpltCallback,"ax",%progbits
- 200 .align 1
- 201 .weak HAL_SRAM_DMA_XferCpltCallback
- 202 .syntax unified
- 203 .thumb
- 204 .thumb_func
- 205 .fpu softvfp
- 207 HAL_SRAM_DMA_XferCpltCallback:
- 208 .LFB69:
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Prevent unused argument(s) compilation warning */
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** UNUSED(hsram);
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* NOTE : This function Should not be modified, when the callback is needed,
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** the HAL_SRAM_MspDeInit could be implemented in the user file
- 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief DMA transfer complete callback.
- 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param hdma pointer to a SRAM_HandleTypeDef structure that contains
- 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * the configuration information for SRAM module.
- 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @retval None
-ARM GAS /tmp/ccU1DTln.s page 10
-
-
- 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __weak void HAL_SRAM_DMA_XferCpltCallback(DMA_HandleTypeDef *hdma)
- 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 209 .loc 1 295 0
- 210 .cfi_startproc
- 211 @ args = 0, pretend = 0, frame = 0
- 212 @ frame_needed = 0, uses_anonymous_args = 0
- 213 @ link register save eliminated.
- 214 .LVL16:
- 215 0000 7047 bx lr
- 216 .cfi_endproc
- 217 .LFE69:
- 219 .section .text.SRAM_DMACpltProt,"ax",%progbits
- 220 .align 1
- 221 .syntax unified
- 222 .thumb
- 223 .thumb_func
- 224 .fpu softvfp
- 226 SRAM_DMACpltProt:
- 227 .LFB83:
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Prevent unused argument(s) compilation warning */
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** UNUSED(hdma);
- 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* NOTE : This function Should not be modified, when the callback is needed,
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** the HAL_SRAM_DMA_XferCpltCallback could be implemented in the user file
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief DMA transfer complete error callback.
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param hdma pointer to a SRAM_HandleTypeDef structure that contains
- 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * the configuration information for SRAM module.
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @retval None
- 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __weak void HAL_SRAM_DMA_XferErrorCallback(DMA_HandleTypeDef *hdma)
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Prevent unused argument(s) compilation warning */
- 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** UNUSED(hdma);
- 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* NOTE : This function Should not be modified, when the callback is needed,
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** the HAL_SRAM_DMA_XferErrorCallback could be implemented in the user file
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
- 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @}
- 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /** @defgroup SRAM_Exported_Functions_Group2 Input Output and memory control functions
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief Input Output and memory control functions
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** *
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** @verbatim
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** ==============================================================================
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** ##### SRAM Input and Output functions #####
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** ==============================================================================
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** [..]
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** This section provides functions allowing to use and control the SRAM memory
-ARM GAS /tmp/ccU1DTln.s page 11
-
-
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** @endverbatim
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @{
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief Reads 8-bit buffer from SRAM memory.
- 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param hsram pointer to a SRAM_HandleTypeDef structure that contains
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * the configuration information for SRAM module.
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param pAddress Pointer to read start address
- 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param pDstBuffer Pointer to destination buffer
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param BufferSize Size of the buffer to read from memory
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @retval HAL status
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_StatusTypeDef HAL_SRAM_Read_8b(SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint8_t *pDstBuff
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint32_t BufferSize)
- 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint32_t size;
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __IO uint8_t *psramaddress = (uint8_t *)pAddress;
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint8_t *pdestbuff = pDstBuffer;
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_SRAM_StateTypeDef state = hsram->State;
- 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Check the SRAM controller state */
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** if ((state == HAL_SRAM_STATE_READY) || (state == HAL_SRAM_STATE_PROTECTED))
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Process Locked */
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_LOCK(hsram);
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Update the SRAM controller state */
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->State = HAL_SRAM_STATE_BUSY;
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Read data from memory */
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** for (size = BufferSize; size != 0U; size--)
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** *pdestbuff = *psramaddress;
- 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** pdestbuff++;
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** psramaddress++;
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Update the SRAM controller state */
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->State = state;
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Process unlocked */
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_UNLOCK(hsram);
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** else
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return HAL_ERROR;
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return HAL_OK;
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief Writes 8-bit buffer to SRAM memory.
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param hsram pointer to a SRAM_HandleTypeDef structure that contains
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * the configuration information for SRAM module.
-ARM GAS /tmp/ccU1DTln.s page 12
-
-
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param pAddress Pointer to write start address
- 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param pSrcBuffer Pointer to source buffer to write
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param BufferSize Size of the buffer to write to memory
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @retval HAL status
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_StatusTypeDef HAL_SRAM_Write_8b(SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint8_t *pSrcBuf
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint32_t BufferSize)
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint32_t size;
- 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __IO uint8_t *psramaddress = (uint8_t *)pAddress;
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint8_t *psrcbuff = pSrcBuffer;
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Check the SRAM controller state */
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** if (hsram->State == HAL_SRAM_STATE_READY)
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Process Locked */
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_LOCK(hsram);
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Update the SRAM controller state */
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->State = HAL_SRAM_STATE_BUSY;
- 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Write data to memory */
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** for (size = BufferSize; size != 0U; size--)
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** *psramaddress = *psrcbuff;
- 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** psrcbuff++;
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** psramaddress++;
- 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Update the SRAM controller state */
- 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->State = HAL_SRAM_STATE_READY;
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Process unlocked */
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_UNLOCK(hsram);
- 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** else
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return HAL_ERROR;
- 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return HAL_OK;
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
- 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief Reads 16-bit buffer from SRAM memory.
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param hsram pointer to a SRAM_HandleTypeDef structure that contains
- 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * the configuration information for SRAM module.
- 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param pAddress Pointer to read start address
- 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param pDstBuffer Pointer to destination buffer
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param BufferSize Size of the buffer to read from memory
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @retval HAL status
- 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_StatusTypeDef HAL_SRAM_Read_16b(SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint16_t *pDstBu
- 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint32_t BufferSize)
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint32_t size;
- 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __IO uint32_t *psramaddress = pAddress;
-ARM GAS /tmp/ccU1DTln.s page 13
-
-
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint16_t *pdestbuff = pDstBuffer;
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint8_t limit;
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_SRAM_StateTypeDef state = hsram->State;
- 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Check the SRAM controller state */
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** if ((state == HAL_SRAM_STATE_READY) || (state == HAL_SRAM_STATE_PROTECTED))
- 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Process Locked */
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_LOCK(hsram);
- 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Update the SRAM controller state */
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->State = HAL_SRAM_STATE_BUSY;
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Check if the size is a 32-bits multiple */
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** limit = (((BufferSize % 2U) != 0U) ? 1U : 0U);
- 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Read data from memory */
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** for (size = BufferSize; size != limit; size -= 2U)
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** *pdestbuff = (uint16_t)((*psramaddress) & 0x0000FFFFU);
- 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** pdestbuff++;
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** *pdestbuff = (uint16_t)(((*psramaddress) & 0xFFFF0000U) >> 16U);
- 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** pdestbuff++;
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** psramaddress++;
- 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Read last 16-bits if size is not 32-bits multiple */
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** if (limit != 0U)
- 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** *pdestbuff = (uint16_t)((*psramaddress) & 0x0000FFFFU);
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Update the SRAM controller state */
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->State = state;
- 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Process unlocked */
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_UNLOCK(hsram);
- 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** else
- 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return HAL_ERROR;
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return HAL_OK;
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
- 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief Writes 16-bit buffer to SRAM memory.
- 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param hsram pointer to a SRAM_HandleTypeDef structure that contains
- 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * the configuration information for SRAM module.
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param pAddress Pointer to write start address
- 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param pSrcBuffer Pointer to source buffer to write
- 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param BufferSize Size of the buffer to write to memory
- 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @retval HAL status
- 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_StatusTypeDef HAL_SRAM_Write_16b(SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint16_t *pSrcB
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint32_t BufferSize)
-ARM GAS /tmp/ccU1DTln.s page 14
-
-
- 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint32_t size;
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __IO uint32_t *psramaddress = pAddress;
- 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint16_t *psrcbuff = pSrcBuffer;
- 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint8_t limit;
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Check the SRAM controller state */
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** if (hsram->State == HAL_SRAM_STATE_READY)
- 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Process Locked */
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_LOCK(hsram);
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Update the SRAM controller state */
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->State = HAL_SRAM_STATE_BUSY;
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Check if the size is a 32-bits multiple */
- 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** limit = (((BufferSize % 2U) != 0U) ? 1U : 0U);
- 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Write data to memory */
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** for (size = BufferSize; size != limit; size -= 2U)
- 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** *psramaddress = (uint32_t)(*psrcbuff);
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** psrcbuff++;
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** *psramaddress |= ((uint32_t)(*psrcbuff) << 16U);
- 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** psrcbuff++;
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** psramaddress++;
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Write last 16-bits if size is not 32-bits multiple */
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** if (limit != 0U)
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** *psramaddress = ((uint32_t)(*psrcbuff) & 0x0000FFFFU) | ((*psramaddress) & 0xFFFF0000U);
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Update the SRAM controller state */
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->State = HAL_SRAM_STATE_READY;
- 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Process unlocked */
- 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_UNLOCK(hsram);
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** else
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return HAL_ERROR;
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return HAL_OK;
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
- 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief Reads 32-bit buffer from SRAM memory.
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param hsram pointer to a SRAM_HandleTypeDef structure that contains
- 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * the configuration information for SRAM module.
- 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param pAddress Pointer to read start address
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param pDstBuffer Pointer to destination buffer
- 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param BufferSize Size of the buffer to read from memory
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @retval HAL status
- 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
-ARM GAS /tmp/ccU1DTln.s page 15
-
-
- 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_StatusTypeDef HAL_SRAM_Read_32b(SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint32_t *pDstBu
- 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint32_t BufferSize)
- 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint32_t size;
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __IO uint32_t *psramaddress = pAddress;
- 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint32_t *pdestbuff = pDstBuffer;
- 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_SRAM_StateTypeDef state = hsram->State;
- 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Check the SRAM controller state */
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** if ((state == HAL_SRAM_STATE_READY) || (state == HAL_SRAM_STATE_PROTECTED))
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Process Locked */
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_LOCK(hsram);
- 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Update the SRAM controller state */
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->State = HAL_SRAM_STATE_BUSY;
- 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Read data from memory */
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** for (size = BufferSize; size != 0U; size--)
- 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** *pdestbuff = *psramaddress;
- 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** pdestbuff++;
- 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** psramaddress++;
- 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Update the SRAM controller state */
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->State = state;
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Process unlocked */
- 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_UNLOCK(hsram);
- 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** else
- 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return HAL_ERROR;
- 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return HAL_OK;
- 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
- 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief Writes 32-bit buffer to SRAM memory.
- 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param hsram pointer to a SRAM_HandleTypeDef structure that contains
- 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * the configuration information for SRAM module.
- 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param pAddress Pointer to write start address
- 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param pSrcBuffer Pointer to source buffer to write
- 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param BufferSize Size of the buffer to write to memory
- 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @retval HAL status
- 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_StatusTypeDef HAL_SRAM_Write_32b(SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint32_t *pSrcB
- 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint32_t BufferSize)
- 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint32_t size;
- 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __IO uint32_t *psramaddress = pAddress;
- 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint32_t *psrcbuff = pSrcBuffer;
- 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Check the SRAM controller state */
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** if (hsram->State == HAL_SRAM_STATE_READY)
-ARM GAS /tmp/ccU1DTln.s page 16
-
-
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Process Locked */
- 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_LOCK(hsram);
- 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Update the SRAM controller state */
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->State = HAL_SRAM_STATE_BUSY;
- 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Write data to memory */
- 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** for (size = BufferSize; size != 0U; size--)
- 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** *psramaddress = *psrcbuff;
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** psrcbuff++;
- 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** psramaddress++;
- 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Update the SRAM controller state */
- 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->State = HAL_SRAM_STATE_READY;
- 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Process unlocked */
- 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_UNLOCK(hsram);
- 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** else
- 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return HAL_ERROR;
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return HAL_OK;
- 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
- 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief Reads a Words data from the SRAM memory using DMA transfer.
- 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param hsram pointer to a SRAM_HandleTypeDef structure that contains
- 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * the configuration information for SRAM module.
- 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param pAddress Pointer to read start address
- 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param pDstBuffer Pointer to destination buffer
- 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param BufferSize Size of the buffer to read from memory
- 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @retval HAL status
- 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_StatusTypeDef HAL_SRAM_Read_DMA(SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint32_t *pDstBu
- 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint32_t BufferSize)
- 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_StatusTypeDef status;
- 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_SRAM_StateTypeDef state = hsram->State;
- 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Check the SRAM controller state */
- 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** if ((state == HAL_SRAM_STATE_READY) || (state == HAL_SRAM_STATE_PROTECTED))
- 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Process Locked */
- 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_LOCK(hsram);
- 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Update the SRAM controller state */
- 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->State = HAL_SRAM_STATE_BUSY;
- 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Configure DMA user callbacks */
- 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** if (state == HAL_SRAM_STATE_READY)
- 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->hdma->XferCpltCallback = SRAM_DMACplt;
-ARM GAS /tmp/ccU1DTln.s page 17
-
-
- 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** else
- 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->hdma->XferCpltCallback = SRAM_DMACpltProt;
- 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->hdma->XferErrorCallback = SRAM_DMAError;
- 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Enable the DMA Stream */
- 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** status = HAL_DMA_Start_IT(hsram->hdma, (uint32_t)pAddress, (uint32_t)pDstBuffer, (uint32_t)Buff
- 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Process unlocked */
- 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_UNLOCK(hsram);
- 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** else
- 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** status = HAL_ERROR;
- 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return status;
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
- 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief Writes a Words data buffer to SRAM memory using DMA transfer.
- 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param hsram pointer to a SRAM_HandleTypeDef structure that contains
- 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * the configuration information for SRAM module.
- 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param pAddress Pointer to write start address
- 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param pSrcBuffer Pointer to source buffer to write
- 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param BufferSize Size of the buffer to write to memory
- 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @retval HAL status
- 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_StatusTypeDef HAL_SRAM_Write_DMA(SRAM_HandleTypeDef *hsram, uint32_t *pAddress, uint32_t *pSrcB
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint32_t BufferSize)
- 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_StatusTypeDef status;
- 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Check the SRAM controller state */
- 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** if (hsram->State == HAL_SRAM_STATE_READY)
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Process Locked */
- 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_LOCK(hsram);
- 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Update the SRAM controller state */
- 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->State = HAL_SRAM_STATE_BUSY;
- 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Configure DMA user callbacks */
- 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->hdma->XferCpltCallback = SRAM_DMACplt;
- 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->hdma->XferErrorCallback = SRAM_DMAError;
- 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Enable the DMA Stream */
- 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** status = HAL_DMA_Start_IT(hsram->hdma, (uint32_t)pSrcBuffer, (uint32_t)pAddress, (uint32_t)Buff
- 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Process unlocked */
- 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_UNLOCK(hsram);
- 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** else
- 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** status = HAL_ERROR;
-ARM GAS /tmp/ccU1DTln.s page 18
-
-
- 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return status;
- 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** #if (USE_HAL_SRAM_REGISTER_CALLBACKS == 1)
- 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
- 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief Register a User SRAM Callback
- 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * To be used instead of the weak (surcharged) predefined callback
- 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param hsram : SRAM handle
- 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param CallbackId : ID of the callback to be registered
- 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * This parameter can be one of the following values:
- 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @arg @ref HAL_SRAM_MSP_INIT_CB_ID SRAM MspInit callback ID
- 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @arg @ref HAL_SRAM_MSP_DEINIT_CB_ID SRAM MspDeInit callback ID
- 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param pCallback : pointer to the Callback function
- 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @retval status
- 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_StatusTypeDef HAL_SRAM_RegisterCallback(SRAM_HandleTypeDef *hsram, HAL_SRAM_CallbackIDTypeDef C
- 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** pSRAM_CallbackTypeDef pCallback)
- 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_StatusTypeDef status = HAL_OK;
- 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_SRAM_StateTypeDef state;
- 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** if (pCallback == NULL)
- 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return HAL_ERROR;
- 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Process locked */
- 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_LOCK(hsram);
- 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** state = hsram->State;
- 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** if ((state == HAL_SRAM_STATE_READY) || (state == HAL_SRAM_STATE_RESET) || (state == HAL_SRAM_STAT
- 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** switch (CallbackId)
- 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** case HAL_SRAM_MSP_INIT_CB_ID :
- 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->MspInitCallback = pCallback;
- 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** break;
- 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** case HAL_SRAM_MSP_DEINIT_CB_ID :
- 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->MspDeInitCallback = pCallback;
- 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** break;
- 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** default :
- 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* update return status */
- 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** status = HAL_ERROR;
- 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** break;
- 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** else
- 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* update return status */
- 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** status = HAL_ERROR;
- 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Release Lock */
- 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_UNLOCK(hsram);
- 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return status;
-ARM GAS /tmp/ccU1DTln.s page 19
-
-
- 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
- 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief Unregister a User SRAM Callback
- 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * SRAM Callback is redirected to the weak (surcharged) predefined callback
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param hsram : SRAM handle
- 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param CallbackId : ID of the callback to be unregistered
- 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * This parameter can be one of the following values:
- 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @arg @ref HAL_SRAM_MSP_INIT_CB_ID SRAM MspInit callback ID
- 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @arg @ref HAL_SRAM_MSP_DEINIT_CB_ID SRAM MspDeInit callback ID
- 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @arg @ref HAL_SRAM_DMA_XFER_CPLT_CB_ID SRAM DMA Xfer Complete callback ID
- 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @arg @ref HAL_SRAM_DMA_XFER_ERR_CB_ID SRAM DMA Xfer Error callback ID
- 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @retval status
- 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_StatusTypeDef HAL_SRAM_UnRegisterCallback(SRAM_HandleTypeDef *hsram, HAL_SRAM_CallbackIDTypeDef
- 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_StatusTypeDef status = HAL_OK;
- 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_SRAM_StateTypeDef state;
- 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Process locked */
- 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_LOCK(hsram);
- 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** state = hsram->State;
- 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** if ((state == HAL_SRAM_STATE_READY) || (state == HAL_SRAM_STATE_PROTECTED))
- 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** switch (CallbackId)
- 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** case HAL_SRAM_MSP_INIT_CB_ID :
- 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->MspInitCallback = HAL_SRAM_MspInit;
- 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** break;
- 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** case HAL_SRAM_MSP_DEINIT_CB_ID :
- 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->MspDeInitCallback = HAL_SRAM_MspDeInit;
- 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** break;
- 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** case HAL_SRAM_DMA_XFER_CPLT_CB_ID :
- 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->DmaXferCpltCallback = HAL_SRAM_DMA_XferCpltCallback;
- 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** break;
- 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** case HAL_SRAM_DMA_XFER_ERR_CB_ID :
- 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->DmaXferErrorCallback = HAL_SRAM_DMA_XferErrorCallback;
- 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** break;
- 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** default :
- 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* update return status */
- 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** status = HAL_ERROR;
- 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** break;
- 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** else if (state == HAL_SRAM_STATE_RESET)
- 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** switch (CallbackId)
- 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** case HAL_SRAM_MSP_INIT_CB_ID :
- 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->MspInitCallback = HAL_SRAM_MspInit;
- 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** break;
- 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** case HAL_SRAM_MSP_DEINIT_CB_ID :
- 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->MspDeInitCallback = HAL_SRAM_MspDeInit;
- 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** break;
- 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** default :
- 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* update return status */
-ARM GAS /tmp/ccU1DTln.s page 20
-
-
- 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** status = HAL_ERROR;
- 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** break;
- 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** else
- 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* update return status */
- 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** status = HAL_ERROR;
- 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Release Lock */
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_UNLOCK(hsram);
- 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return status;
- 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
- 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief Register a User SRAM Callback for DMA transfers
- 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * To be used instead of the weak (surcharged) predefined callback
- 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param hsram : SRAM handle
- 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param CallbackId : ID of the callback to be registered
- 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * This parameter can be one of the following values:
- 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @arg @ref HAL_SRAM_DMA_XFER_CPLT_CB_ID SRAM DMA Xfer Complete callback ID
- 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @arg @ref HAL_SRAM_DMA_XFER_ERR_CB_ID SRAM DMA Xfer Error callback ID
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param pCallback : pointer to the Callback function
- 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @retval status
- 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_StatusTypeDef HAL_SRAM_RegisterDmaCallback(SRAM_HandleTypeDef *hsram, HAL_SRAM_CallbackIDTypeDe
- 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** pSRAM_DmaCallbackTypeDef pCallback)
- 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_StatusTypeDef status = HAL_OK;
- 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_SRAM_StateTypeDef state;
- 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** if (pCallback == NULL)
- 879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return HAL_ERROR;
- 881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Process locked */
- 884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_LOCK(hsram);
- 885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** state = hsram->State;
- 887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** if ((state == HAL_SRAM_STATE_READY) || (state == HAL_SRAM_STATE_PROTECTED))
- 888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** switch (CallbackId)
- 890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** case HAL_SRAM_DMA_XFER_CPLT_CB_ID :
- 892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->DmaXferCpltCallback = pCallback;
- 893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** break;
- 894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** case HAL_SRAM_DMA_XFER_ERR_CB_ID :
- 895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->DmaXferErrorCallback = pCallback;
- 896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** break;
- 897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** default :
- 898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* update return status */
- 899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** status = HAL_ERROR;
- 900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** break;
- 901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
-ARM GAS /tmp/ccU1DTln.s page 21
-
-
- 903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** else
- 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* update return status */
- 906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** status = HAL_ERROR;
- 907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Release Lock */
- 910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_UNLOCK(hsram);
- 911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return status;
- 912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** #endif
- 914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
- 916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @}
- 917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /** @defgroup SRAM_Exported_Functions_Group3 Control functions
- 920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief Control functions
- 921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** *
- 922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** @verbatim
- 923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** ==============================================================================
- 924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** ##### SRAM Control functions #####
- 925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** ==============================================================================
- 926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** [..]
- 927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** This subsection provides a set of functions allowing to control dynamically
- 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** the SRAM interface.
- 929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** @endverbatim
- 931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @{
- 932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
- 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief Enables dynamically SRAM write operation.
- 936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param hsram pointer to a SRAM_HandleTypeDef structure that contains
- 937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * the configuration information for SRAM module.
- 938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @retval HAL status
- 939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_StatusTypeDef HAL_SRAM_WriteOperation_Enable(SRAM_HandleTypeDef *hsram)
- 941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Check the SRAM controller state */
- 943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** if (hsram->State == HAL_SRAM_STATE_PROTECTED)
- 944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Process Locked */
- 946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_LOCK(hsram);
- 947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Update the SRAM controller state */
- 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->State = HAL_SRAM_STATE_BUSY;
- 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Enable write operation */
- 952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (void)FSMC_NORSRAM_WriteOperation_Enable(hsram->Instance, hsram->Init.NSBank);
- 953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Update the SRAM controller state */
- 955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->State = HAL_SRAM_STATE_READY;
- 956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Process unlocked */
- 958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_UNLOCK(hsram);
- 959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
-ARM GAS /tmp/ccU1DTln.s page 22
-
-
- 960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** else
- 961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return HAL_ERROR;
- 963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return HAL_OK;
- 966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
- 969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief Disables dynamically SRAM write operation.
- 970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param hsram pointer to a SRAM_HandleTypeDef structure that contains
- 971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * the configuration information for SRAM module.
- 972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @retval HAL status
- 973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
- 974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_StatusTypeDef HAL_SRAM_WriteOperation_Disable(SRAM_HandleTypeDef *hsram)
- 975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Check the SRAM controller state */
- 977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** if (hsram->State == HAL_SRAM_STATE_READY)
- 978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Process Locked */
- 980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_LOCK(hsram);
- 981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Update the SRAM controller state */
- 983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->State = HAL_SRAM_STATE_BUSY;
- 984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Disable write operation */
- 986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** (void)FSMC_NORSRAM_WriteOperation_Disable(hsram->Instance, hsram->Init.NSBank);
- 987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Update the SRAM controller state */
- 989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->State = HAL_SRAM_STATE_PROTECTED;
- 990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Process unlocked */
- 992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_UNLOCK(hsram);
- 993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** else
- 995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return HAL_ERROR;
- 997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return HAL_OK;
-1000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
-1001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
-1002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
-1003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @}
-1004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
-1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
-1006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /** @defgroup SRAM_Exported_Functions_Group4 Peripheral State functions
-1007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief Peripheral State functions
-1008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** *
-1009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** @verbatim
-1010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** ==============================================================================
-1011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** ##### SRAM State functions #####
-1012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** ==============================================================================
-1013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** [..]
-1014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** This subsection permits to get in run-time the status of the SRAM controller
-1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** and the data flow.
-1016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
-ARM GAS /tmp/ccU1DTln.s page 23
-
-
-1017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** @endverbatim
-1018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @{
-1019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
-1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
-1021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
-1022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief Returns the SRAM controller state
-1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param hsram pointer to a SRAM_HandleTypeDef structure that contains
-1024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * the configuration information for SRAM module.
-1025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @retval HAL state
-1026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
-1027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_SRAM_StateTypeDef HAL_SRAM_GetState(SRAM_HandleTypeDef *hsram)
-1028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
-1029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return hsram->State;
-1030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
-1031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
-1032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
-1033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @}
-1034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
-1035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
-1036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
-1037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @}
-1038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
-1039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
-1040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
-1041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** @cond 0
-1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
-1043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
-1044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief DMA SRAM process complete callback.
-1045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param hdma : DMA handle
-1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @retval None
-1047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
-1048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** static void SRAM_DMACplt(DMA_HandleTypeDef *hdma)
-1049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
-1050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** SRAM_HandleTypeDef *hsram = (SRAM_HandleTypeDef *)(hdma->Parent);
-1051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
-1052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Disable the DMA channel */
-1053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_DMA_DISABLE(hdma);
-1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
-1055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Update the SRAM controller state */
-1056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->State = HAL_SRAM_STATE_READY;
-1057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
-1058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** #if (USE_HAL_SRAM_REGISTER_CALLBACKS == 1)
-1059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->DmaXferCpltCallback(hdma);
-1060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** #else
-1061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_SRAM_DMA_XferCpltCallback(hdma);
-1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** #endif
-1063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
-1064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
-1065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
-1066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief DMA SRAM process complete callback.
-1067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param hdma : DMA handle
-1068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @retval None
-1069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
-1070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** static void SRAM_DMACpltProt(DMA_HandleTypeDef *hdma)
-1071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 228 .loc 1 1071 0
- 229 .cfi_startproc
-ARM GAS /tmp/ccU1DTln.s page 24
-
-
- 230 @ args = 0, pretend = 0, frame = 0
- 231 @ frame_needed = 0, uses_anonymous_args = 0
- 232 .LVL17:
- 233 .loc 1 1071 0
- 234 0000 08B5 push {r3, lr}
- 235 .LCFI4:
- 236 .cfi_def_cfa_offset 8
- 237 .cfi_offset 3, -8
- 238 .cfi_offset 14, -4
-1072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** SRAM_HandleTypeDef *hsram = (SRAM_HandleTypeDef *)(hdma->Parent);
- 239 .loc 1 1072 0
- 240 0002 416A ldr r1, [r0, #36]
- 241 .LVL18:
-1073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
-1074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Disable the DMA channel */
-1075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_DMA_DISABLE(hdma);
- 242 .loc 1 1075 0
- 243 0004 0268 ldr r2, [r0]
- 244 0006 1368 ldr r3, [r2]
- 245 0008 23F00103 bic r3, r3, #1
- 246 000c 1360 str r3, [r2]
-1076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
-1077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Update the SRAM controller state */
-1078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->State = HAL_SRAM_STATE_PROTECTED;
- 247 .loc 1 1078 0
- 248 000e 0423 movs r3, #4
- 249 0010 81F84130 strb r3, [r1, #65]
-1079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
-1080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** #if (USE_HAL_SRAM_REGISTER_CALLBACKS == 1)
-1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->DmaXferCpltCallback(hdma);
-1082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** #else
-1083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_SRAM_DMA_XferCpltCallback(hdma);
- 250 .loc 1 1083 0
- 251 0014 FFF7FEFF bl HAL_SRAM_DMA_XferCpltCallback
- 252 .LVL19:
- 253 0018 08BD pop {r3, pc}
- 254 .cfi_endproc
- 255 .LFE83:
- 257 .section .text.SRAM_DMACplt,"ax",%progbits
- 258 .align 1
- 259 .syntax unified
- 260 .thumb
- 261 .thumb_func
- 262 .fpu softvfp
- 264 SRAM_DMACplt:
- 265 .LFB82:
-1049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** SRAM_HandleTypeDef *hsram = (SRAM_HandleTypeDef *)(hdma->Parent);
- 266 .loc 1 1049 0
- 267 .cfi_startproc
- 268 @ args = 0, pretend = 0, frame = 0
- 269 @ frame_needed = 0, uses_anonymous_args = 0
- 270 .LVL20:
- 271 0000 08B5 push {r3, lr}
- 272 .LCFI5:
- 273 .cfi_def_cfa_offset 8
- 274 .cfi_offset 3, -8
- 275 .cfi_offset 14, -4
-ARM GAS /tmp/ccU1DTln.s page 25
-
-
-1050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 276 .loc 1 1050 0
- 277 0002 416A ldr r1, [r0, #36]
- 278 .LVL21:
-1053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 279 .loc 1 1053 0
- 280 0004 0268 ldr r2, [r0]
- 281 0006 1368 ldr r3, [r2]
- 282 0008 23F00103 bic r3, r3, #1
- 283 000c 1360 str r3, [r2]
-1056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 284 .loc 1 1056 0
- 285 000e 0123 movs r3, #1
- 286 0010 81F84130 strb r3, [r1, #65]
-1061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** #endif
- 287 .loc 1 1061 0
- 288 0014 FFF7FEFF bl HAL_SRAM_DMA_XferCpltCallback
- 289 .LVL22:
- 290 0018 08BD pop {r3, pc}
- 291 .cfi_endproc
- 292 .LFE82:
- 294 .section .text.HAL_SRAM_DMA_XferErrorCallback,"ax",%progbits
- 295 .align 1
- 296 .weak HAL_SRAM_DMA_XferErrorCallback
- 297 .syntax unified
- 298 .thumb
- 299 .thumb_func
- 300 .fpu softvfp
- 302 HAL_SRAM_DMA_XferErrorCallback:
- 303 .LFB70:
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Prevent unused argument(s) compilation warning */
- 304 .loc 1 311 0
- 305 .cfi_startproc
- 306 @ args = 0, pretend = 0, frame = 0
- 307 @ frame_needed = 0, uses_anonymous_args = 0
- 308 @ link register save eliminated.
- 309 .LVL23:
- 310 0000 7047 bx lr
- 311 .cfi_endproc
- 312 .LFE70:
- 314 .section .text.SRAM_DMAError,"ax",%progbits
- 315 .align 1
- 316 .syntax unified
- 317 .thumb
- 318 .thumb_func
- 319 .fpu softvfp
- 321 SRAM_DMAError:
- 322 .LFB84:
-1084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** #endif
-1085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
-1086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
-1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /**
-1088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @brief DMA SRAM error callback.
-1089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @param hdma : DMA handle
-1090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** * @retval None
-1091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** */
-1092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** static void SRAM_DMAError(DMA_HandleTypeDef *hdma)
-ARM GAS /tmp/ccU1DTln.s page 26
-
-
-1093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 323 .loc 1 1093 0
- 324 .cfi_startproc
- 325 @ args = 0, pretend = 0, frame = 0
- 326 @ frame_needed = 0, uses_anonymous_args = 0
- 327 .LVL24:
- 328 .loc 1 1093 0
- 329 0000 08B5 push {r3, lr}
- 330 .LCFI6:
- 331 .cfi_def_cfa_offset 8
- 332 .cfi_offset 3, -8
- 333 .cfi_offset 14, -4
-1094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** SRAM_HandleTypeDef *hsram = (SRAM_HandleTypeDef *)(hdma->Parent);
- 334 .loc 1 1094 0
- 335 0002 416A ldr r1, [r0, #36]
- 336 .LVL25:
-1095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
-1096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Disable the DMA channel */
-1097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** __HAL_DMA_DISABLE(hdma);
- 337 .loc 1 1097 0
- 338 0004 0268 ldr r2, [r0]
- 339 0006 1368 ldr r3, [r2]
- 340 0008 23F00103 bic r3, r3, #1
- 341 000c 1360 str r3, [r2]
-1098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
-1099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Update the SRAM controller state */
-1100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->State = HAL_SRAM_STATE_ERROR;
- 342 .loc 1 1100 0
- 343 000e 0323 movs r3, #3
- 344 0010 81F84130 strb r3, [r1, #65]
-1101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
-1102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** #if (USE_HAL_SRAM_REGISTER_CALLBACKS == 1)
-1103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->DmaXferErrorCallback(hdma);
-1104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** #else
-1105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_SRAM_DMA_XferErrorCallback(hdma);
- 345 .loc 1 1105 0
- 346 0014 FFF7FEFF bl HAL_SRAM_DMA_XferErrorCallback
- 347 .LVL26:
- 348 0018 08BD pop {r3, pc}
- 349 .cfi_endproc
- 350 .LFE84:
- 352 .section .text.HAL_SRAM_Read_8b,"ax",%progbits
- 353 .align 1
- 354 .global HAL_SRAM_Read_8b
- 355 .syntax unified
- 356 .thumb
- 357 .thumb_func
- 358 .fpu softvfp
- 360 HAL_SRAM_Read_8b:
- 361 .LFB71:
- 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint32_t size;
- 362 .loc 1 349 0
- 363 .cfi_startproc
- 364 @ args = 0, pretend = 0, frame = 0
- 365 @ frame_needed = 0, uses_anonymous_args = 0
- 366 @ link register save eliminated.
- 367 .LVL27:
-ARM GAS /tmp/ccU1DTln.s page 27
-
-
- 368 0000 30B4 push {r4, r5}
- 369 .LCFI7:
- 370 .cfi_def_cfa_offset 8
- 371 .cfi_offset 4, -8
- 372 .cfi_offset 5, -4
- 373 .LVL28:
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 374 .loc 1 353 0
- 375 0002 90F84150 ldrb r5, [r0, #65] @ zero_extendqisi2
- 376 0006 EDB2 uxtb r5, r5
- 377 .LVL29:
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 378 .loc 1 356 0
- 379 0008 012D cmp r5, #1
- 380 000a 04D0 beq .L24
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 381 .loc 1 356 0 is_stmt 0 discriminator 1
- 382 000c 042D cmp r5, #4
- 383 000e 02D0 beq .L24
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 384 .loc 1 380 0 is_stmt 1
- 385 0010 0120 movs r0, #1
- 386 .LVL30:
- 387 .L25:
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 388 .loc 1 384 0
- 389 0012 30BC pop {r4, r5}
- 390 .LCFI8:
- 391 .cfi_remember_state
- 392 .cfi_restore 5
- 393 .cfi_restore 4
- 394 .cfi_def_cfa_offset 0
- 395 .LVL31:
- 396 0014 7047 bx lr
- 397 .LVL32:
- 398 .L24:
- 399 .LCFI9:
- 400 .cfi_restore_state
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 401 .loc 1 359 0
- 402 0016 90F84040 ldrb r4, [r0, #64] @ zero_extendqisi2
- 403 001a 012C cmp r4, #1
- 404 001c 13D0 beq .L29
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 405 .loc 1 359 0 is_stmt 0 discriminator 2
- 406 001e 0124 movs r4, #1
- 407 0020 80F84040 strb r4, [r0, #64]
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 408 .loc 1 362 0 is_stmt 1 discriminator 2
- 409 0024 0224 movs r4, #2
- 410 0026 80F84140 strb r4, [r0, #65]
- 411 .LVL33:
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 412 .loc 1 365 0 discriminator 2
- 413 002a 04E0 b .L26
- 414 .LVL34:
- 415 .L27:
-ARM GAS /tmp/ccU1DTln.s page 28
-
-
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** pdestbuff++;
- 416 .loc 1 367 0 discriminator 3
- 417 002c 11F8014B ldrb r4, [r1], #1 @ zero_extendqisi2
- 418 .LVL35:
- 419 0030 02F8014B strb r4, [r2], #1
- 420 .LVL36:
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 421 .loc 1 365 0 discriminator 3
- 422 0034 013B subs r3, r3, #1
- 423 .LVL37:
- 424 .L26:
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 425 .loc 1 365 0 is_stmt 0 discriminator 1
- 426 0036 002B cmp r3, #0
- 427 0038 F8D1 bne .L27
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 428 .loc 1 373 0 is_stmt 1
- 429 003a 80F84150 strb r5, [r0, #65]
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 430 .loc 1 376 0
- 431 003e 80F84030 strb r3, [r0, #64]
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 432 .loc 1 383 0
- 433 0042 1846 mov r0, r3
- 434 .LVL38:
- 435 0044 E5E7 b .L25
- 436 .LVL39:
- 437 .L29:
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 438 .loc 1 359 0
- 439 0046 0220 movs r0, #2
- 440 .LVL40:
- 441 0048 E3E7 b .L25
- 442 .cfi_endproc
- 443 .LFE71:
- 445 .section .text.HAL_SRAM_Write_8b,"ax",%progbits
- 446 .align 1
- 447 .global HAL_SRAM_Write_8b
- 448 .syntax unified
- 449 .thumb
- 450 .thumb_func
- 451 .fpu softvfp
- 453 HAL_SRAM_Write_8b:
- 454 .LFB72:
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint32_t size;
- 455 .loc 1 397 0
- 456 .cfi_startproc
- 457 @ args = 0, pretend = 0, frame = 0
- 458 @ frame_needed = 0, uses_anonymous_args = 0
- 459 @ link register save eliminated.
- 460 .LVL41:
- 461 0000 10B4 push {r4}
- 462 .LCFI10:
- 463 .cfi_def_cfa_offset 4
- 464 .cfi_offset 4, -4
- 465 .LVL42:
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
-ARM GAS /tmp/ccU1DTln.s page 29
-
-
- 466 .loc 1 403 0
- 467 0002 90F84140 ldrb r4, [r0, #65] @ zero_extendqisi2
- 468 0006 E4B2 uxtb r4, r4
- 469 0008 012C cmp r4, #1
- 470 000a 02D0 beq .L38
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 471 .loc 1 427 0
- 472 000c 0120 movs r0, #1
- 473 .LVL43:
- 474 .L32:
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 475 .loc 1 431 0
- 476 000e 10BC pop {r4}
- 477 .LCFI11:
- 478 .cfi_remember_state
- 479 .cfi_restore 4
- 480 .cfi_def_cfa_offset 0
- 481 0010 7047 bx lr
- 482 .LVL44:
- 483 .L38:
- 484 .LCFI12:
- 485 .cfi_restore_state
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 486 .loc 1 406 0
- 487 0012 90F84040 ldrb r4, [r0, #64] @ zero_extendqisi2
- 488 0016 012C cmp r4, #1
- 489 0018 15D0 beq .L36
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 490 .loc 1 406 0 is_stmt 0 discriminator 2
- 491 001a 0124 movs r4, #1
- 492 001c 80F84040 strb r4, [r0, #64]
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 493 .loc 1 409 0 is_stmt 1 discriminator 2
- 494 0020 0224 movs r4, #2
- 495 0022 80F84140 strb r4, [r0, #65]
- 496 .LVL45:
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 497 .loc 1 412 0 discriminator 2
- 498 0026 04E0 b .L33
- 499 .LVL46:
- 500 .L34:
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** psrcbuff++;
- 501 .loc 1 414 0 discriminator 3
- 502 0028 12F8014B ldrb r4, [r2], #1 @ zero_extendqisi2
- 503 .LVL47:
- 504 002c 01F8014B strb r4, [r1], #1
- 505 .LVL48:
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 506 .loc 1 412 0 discriminator 3
- 507 0030 013B subs r3, r3, #1
- 508 .LVL49:
- 509 .L33:
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 510 .loc 1 412 0 is_stmt 0 discriminator 1
- 511 0032 002B cmp r3, #0
- 512 0034 F8D1 bne .L34
- 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
-ARM GAS /tmp/ccU1DTln.s page 30
-
-
- 513 .loc 1 420 0 is_stmt 1
- 514 0036 0123 movs r3, #1
- 515 .LVL50:
- 516 0038 80F84130 strb r3, [r0, #65]
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 517 .loc 1 423 0
- 518 003c 0023 movs r3, #0
- 519 003e 80F84030 strb r3, [r0, #64]
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 520 .loc 1 430 0
- 521 0042 1846 mov r0, r3
- 522 .LVL51:
- 523 0044 E3E7 b .L32
- 524 .LVL52:
- 525 .L36:
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 526 .loc 1 406 0
- 527 0046 0220 movs r0, #2
- 528 .LVL53:
- 529 0048 E1E7 b .L32
- 530 .cfi_endproc
- 531 .LFE72:
- 533 .section .text.HAL_SRAM_Read_16b,"ax",%progbits
- 534 .align 1
- 535 .global HAL_SRAM_Read_16b
- 536 .syntax unified
- 537 .thumb
- 538 .thumb_func
- 539 .fpu softvfp
- 541 HAL_SRAM_Read_16b:
- 542 .LFB73:
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint32_t size;
- 543 .loc 1 444 0
- 544 .cfi_startproc
- 545 @ args = 0, pretend = 0, frame = 0
- 546 @ frame_needed = 0, uses_anonymous_args = 0
- 547 @ link register save eliminated.
- 548 .LVL54:
- 549 0000 70B4 push {r4, r5, r6}
- 550 .LCFI13:
- 551 .cfi_def_cfa_offset 12
- 552 .cfi_offset 4, -12
- 553 .cfi_offset 5, -8
- 554 .cfi_offset 6, -4
- 555 .LVL55:
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 556 .loc 1 449 0
- 557 0002 90F84150 ldrb r5, [r0, #65] @ zero_extendqisi2
- 558 0006 EDB2 uxtb r5, r5
- 559 .LVL56:
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 560 .loc 1 452 0
- 561 0008 012D cmp r5, #1
- 562 000a 04D0 beq .L40
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 563 .loc 1 452 0 is_stmt 0 discriminator 1
- 564 000c 042D cmp r5, #4
-ARM GAS /tmp/ccU1DTln.s page 31
-
-
- 565 000e 02D0 beq .L40
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 566 .loc 1 487 0 is_stmt 1
- 567 0010 0120 movs r0, #1
- 568 .LVL57:
- 569 .L41:
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 570 .loc 1 491 0
- 571 0012 70BC pop {r4, r5, r6}
- 572 .LCFI14:
- 573 .cfi_remember_state
- 574 .cfi_restore 6
- 575 .cfi_restore 5
- 576 .cfi_restore 4
- 577 .cfi_def_cfa_offset 0
- 578 .LVL58:
- 579 0014 7047 bx lr
- 580 .LVL59:
- 581 .L40:
- 582 .LCFI15:
- 583 .cfi_restore_state
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 584 .loc 1 455 0
- 585 0016 90F84040 ldrb r4, [r0, #64] @ zero_extendqisi2
- 586 001a 012C cmp r4, #1
- 587 001c 1CD0 beq .L46
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 588 .loc 1 455 0 is_stmt 0 discriminator 2
- 589 001e 0124 movs r4, #1
- 590 0020 80F84040 strb r4, [r0, #64]
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 591 .loc 1 458 0 is_stmt 1 discriminator 2
- 592 0024 0224 movs r4, #2
- 593 0026 80F84140 strb r4, [r0, #65]
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 594 .loc 1 461 0 discriminator 2
- 595 002a 03F00106 and r6, r3, #1
- 596 .LVL60:
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 597 .loc 1 464 0 discriminator 2
- 598 002e 07E0 b .L42
- 599 .LVL61:
- 600 .L43:
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** pdestbuff++;
- 601 .loc 1 466 0 discriminator 3
- 602 0030 0C68 ldr r4, [r1]
- 603 0032 1480 strh r4, [r2] @ movhi
- 604 .LVL62:
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** pdestbuff++;
- 605 .loc 1 468 0 discriminator 3
- 606 0034 51F8044B ldr r4, [r1], #4
- 607 .LVL63:
- 608 0038 240C lsrs r4, r4, #16
- 609 003a 5480 strh r4, [r2, #2] @ movhi
- 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** psramaddress++;
- 610 .loc 1 469 0 discriminator 3
- 611 003c 0432 adds r2, r2, #4
-ARM GAS /tmp/ccU1DTln.s page 32
-
-
- 612 .LVL64:
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 613 .loc 1 464 0 discriminator 3
- 614 003e 023B subs r3, r3, #2
- 615 .LVL65:
- 616 .L42:
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 617 .loc 1 464 0 is_stmt 0 discriminator 1
- 618 0040 B342 cmp r3, r6
- 619 0042 F5D1 bne .L43
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 620 .loc 1 474 0 is_stmt 1
- 621 0044 0EB1 cbz r6, .L44
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 622 .loc 1 476 0
- 623 0046 0B68 ldr r3, [r1]
- 624 .LVL66:
- 625 0048 1380 strh r3, [r2] @ movhi
- 626 .L44:
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 627 .loc 1 480 0
- 628 004a 80F84150 strb r5, [r0, #65]
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 629 .loc 1 483 0
- 630 004e 0023 movs r3, #0
- 631 0050 80F84030 strb r3, [r0, #64]
- 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 632 .loc 1 490 0
- 633 0054 1846 mov r0, r3
- 634 .LVL67:
- 635 0056 DCE7 b .L41
- 636 .LVL68:
- 637 .L46:
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 638 .loc 1 455 0
- 639 0058 0220 movs r0, #2
- 640 .LVL69:
- 641 005a DAE7 b .L41
- 642 .cfi_endproc
- 643 .LFE73:
- 645 .section .text.HAL_SRAM_Write_16b,"ax",%progbits
- 646 .align 1
- 647 .global HAL_SRAM_Write_16b
- 648 .syntax unified
- 649 .thumb
- 650 .thumb_func
- 651 .fpu softvfp
- 653 HAL_SRAM_Write_16b:
- 654 .LFB74:
- 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint32_t size;
- 655 .loc 1 504 0
- 656 .cfi_startproc
- 657 @ args = 0, pretend = 0, frame = 0
- 658 @ frame_needed = 0, uses_anonymous_args = 0
- 659 @ link register save eliminated.
- 660 .LVL70:
- 661 0000 70B4 push {r4, r5, r6}
-ARM GAS /tmp/ccU1DTln.s page 33
-
-
- 662 .LCFI16:
- 663 .cfi_def_cfa_offset 12
- 664 .cfi_offset 4, -12
- 665 .cfi_offset 5, -8
- 666 .cfi_offset 6, -4
- 667 .LVL71:
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 668 .loc 1 511 0
- 669 0002 90F84140 ldrb r4, [r0, #65] @ zero_extendqisi2
- 670 0006 E4B2 uxtb r4, r4
- 671 0008 012C cmp r4, #1
- 672 000a 02D0 beq .L56
- 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 673 .loc 1 546 0
- 674 000c 0120 movs r0, #1
- 675 .LVL72:
- 676 .L49:
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 677 .loc 1 550 0
- 678 000e 70BC pop {r4, r5, r6}
- 679 .LCFI17:
- 680 .cfi_remember_state
- 681 .cfi_restore 6
- 682 .cfi_restore 5
- 683 .cfi_restore 4
- 684 .cfi_def_cfa_offset 0
- 685 0010 7047 bx lr
- 686 .LVL73:
- 687 .L56:
- 688 .LCFI18:
- 689 .cfi_restore_state
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 690 .loc 1 514 0
- 691 0012 90F84040 ldrb r4, [r0, #64] @ zero_extendqisi2
- 692 0016 012C cmp r4, #1
- 693 0018 23D0 beq .L54
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 694 .loc 1 514 0 is_stmt 0 discriminator 2
- 695 001a 0124 movs r4, #1
- 696 001c 80F84040 strb r4, [r0, #64]
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 697 .loc 1 517 0 is_stmt 1 discriminator 2
- 698 0020 0224 movs r4, #2
- 699 0022 80F84140 strb r4, [r0, #65]
- 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 700 .loc 1 520 0 discriminator 2
- 701 0026 03F00106 and r6, r3, #1
- 702 .LVL74:
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 703 .loc 1 523 0 discriminator 2
- 704 002a 09E0 b .L50
- 705 .LVL75:
- 706 .L51:
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** psrcbuff++;
- 707 .loc 1 525 0 discriminator 3
- 708 002c 1488 ldrh r4, [r2]
- 709 002e 0C60 str r4, [r1]
-ARM GAS /tmp/ccU1DTln.s page 34
-
-
- 710 .LVL76:
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** psrcbuff++;
- 711 .loc 1 527 0 discriminator 3
- 712 0030 0C68 ldr r4, [r1]
- 713 0032 5588 ldrh r5, [r2, #2]
- 714 0034 44EA0544 orr r4, r4, r5, lsl #16
- 715 0038 41F8044B str r4, [r1], #4
- 716 .LVL77:
- 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** psramaddress++;
- 717 .loc 1 528 0 discriminator 3
- 718 003c 0432 adds r2, r2, #4
- 719 .LVL78:
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 720 .loc 1 523 0 discriminator 3
- 721 003e 023B subs r3, r3, #2
- 722 .LVL79:
- 723 .L50:
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 724 .loc 1 523 0 is_stmt 0 discriminator 1
- 725 0040 B342 cmp r3, r6
- 726 0042 F3D1 bne .L51
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 727 .loc 1 533 0 is_stmt 1
- 728 0044 2EB1 cbz r6, .L52
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 729 .loc 1 535 0
- 730 0046 1288 ldrh r2, [r2]
- 731 .LVL80:
- 732 0048 0B68 ldr r3, [r1]
- 733 .LVL81:
- 734 004a 1B0C lsrs r3, r3, #16
- 735 004c 1B04 lsls r3, r3, #16
- 736 004e 1343 orrs r3, r3, r2
- 737 0050 0B60 str r3, [r1]
- 738 .L52:
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 739 .loc 1 539 0
- 740 0052 0123 movs r3, #1
- 741 0054 80F84130 strb r3, [r0, #65]
- 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 742 .loc 1 542 0
- 743 0058 0023 movs r3, #0
- 744 005a 80F84030 strb r3, [r0, #64]
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 745 .loc 1 549 0
- 746 005e 1846 mov r0, r3
- 747 .LVL82:
- 748 0060 D5E7 b .L49
- 749 .LVL83:
- 750 .L54:
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 751 .loc 1 514 0
- 752 0062 0220 movs r0, #2
- 753 .LVL84:
- 754 0064 D3E7 b .L49
- 755 .cfi_endproc
- 756 .LFE74:
-ARM GAS /tmp/ccU1DTln.s page 35
-
-
- 758 .section .text.HAL_SRAM_Read_32b,"ax",%progbits
- 759 .align 1
- 760 .global HAL_SRAM_Read_32b
- 761 .syntax unified
- 762 .thumb
- 763 .thumb_func
- 764 .fpu softvfp
- 766 HAL_SRAM_Read_32b:
- 767 .LFB75:
- 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint32_t size;
- 768 .loc 1 563 0
- 769 .cfi_startproc
- 770 @ args = 0, pretend = 0, frame = 0
- 771 @ frame_needed = 0, uses_anonymous_args = 0
- 772 @ link register save eliminated.
- 773 .LVL85:
- 774 0000 30B4 push {r4, r5}
- 775 .LCFI19:
- 776 .cfi_def_cfa_offset 8
- 777 .cfi_offset 4, -8
- 778 .cfi_offset 5, -4
- 779 .LVL86:
- 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 780 .loc 1 567 0
- 781 0002 90F84150 ldrb r5, [r0, #65] @ zero_extendqisi2
- 782 0006 EDB2 uxtb r5, r5
- 783 .LVL87:
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 784 .loc 1 570 0
- 785 0008 012D cmp r5, #1
- 786 000a 04D0 beq .L58
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 787 .loc 1 570 0 is_stmt 0 discriminator 1
- 788 000c 042D cmp r5, #4
- 789 000e 02D0 beq .L58
- 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 790 .loc 1 594 0 is_stmt 1
- 791 0010 0120 movs r0, #1
- 792 .LVL88:
- 793 .L59:
- 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 794 .loc 1 598 0
- 795 0012 30BC pop {r4, r5}
- 796 .LCFI20:
- 797 .cfi_remember_state
- 798 .cfi_restore 5
- 799 .cfi_restore 4
- 800 .cfi_def_cfa_offset 0
- 801 .LVL89:
- 802 0014 7047 bx lr
- 803 .LVL90:
- 804 .L58:
- 805 .LCFI21:
- 806 .cfi_restore_state
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 807 .loc 1 573 0
- 808 0016 90F84040 ldrb r4, [r0, #64] @ zero_extendqisi2
-ARM GAS /tmp/ccU1DTln.s page 36
-
-
- 809 001a 012C cmp r4, #1
- 810 001c 13D0 beq .L63
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 811 .loc 1 573 0 is_stmt 0 discriminator 2
- 812 001e 0124 movs r4, #1
- 813 0020 80F84040 strb r4, [r0, #64]
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 814 .loc 1 576 0 is_stmt 1 discriminator 2
- 815 0024 0224 movs r4, #2
- 816 0026 80F84140 strb r4, [r0, #65]
- 817 .LVL91:
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 818 .loc 1 579 0 discriminator 2
- 819 002a 04E0 b .L60
- 820 .LVL92:
- 821 .L61:
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** pdestbuff++;
- 822 .loc 1 581 0 discriminator 3
- 823 002c 51F8044B ldr r4, [r1], #4
- 824 .LVL93:
- 825 0030 42F8044B str r4, [r2], #4
- 826 .LVL94:
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 827 .loc 1 579 0 discriminator 3
- 828 0034 013B subs r3, r3, #1
- 829 .LVL95:
- 830 .L60:
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 831 .loc 1 579 0 is_stmt 0 discriminator 1
- 832 0036 002B cmp r3, #0
- 833 0038 F8D1 bne .L61
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 834 .loc 1 587 0 is_stmt 1
- 835 003a 80F84150 strb r5, [r0, #65]
- 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 836 .loc 1 590 0
- 837 003e 80F84030 strb r3, [r0, #64]
- 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 838 .loc 1 597 0
- 839 0042 1846 mov r0, r3
- 840 .LVL96:
- 841 0044 E5E7 b .L59
- 842 .LVL97:
- 843 .L63:
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 844 .loc 1 573 0
- 845 0046 0220 movs r0, #2
- 846 .LVL98:
- 847 0048 E3E7 b .L59
- 848 .cfi_endproc
- 849 .LFE75:
- 851 .section .text.HAL_SRAM_Write_32b,"ax",%progbits
- 852 .align 1
- 853 .global HAL_SRAM_Write_32b
- 854 .syntax unified
- 855 .thumb
- 856 .thumb_func
-ARM GAS /tmp/ccU1DTln.s page 37
-
-
- 857 .fpu softvfp
- 859 HAL_SRAM_Write_32b:
- 860 .LFB76:
- 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** uint32_t size;
- 861 .loc 1 611 0
- 862 .cfi_startproc
- 863 @ args = 0, pretend = 0, frame = 0
- 864 @ frame_needed = 0, uses_anonymous_args = 0
- 865 @ link register save eliminated.
- 866 .LVL99:
- 867 0000 10B4 push {r4}
- 868 .LCFI22:
- 869 .cfi_def_cfa_offset 4
- 870 .cfi_offset 4, -4
- 871 .LVL100:
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 872 .loc 1 617 0
- 873 0002 90F84140 ldrb r4, [r0, #65] @ zero_extendqisi2
- 874 0006 E4B2 uxtb r4, r4
- 875 0008 012C cmp r4, #1
- 876 000a 02D0 beq .L72
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 877 .loc 1 641 0
- 878 000c 0120 movs r0, #1
- 879 .LVL101:
- 880 .L66:
- 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 881 .loc 1 645 0
- 882 000e 10BC pop {r4}
- 883 .LCFI23:
- 884 .cfi_remember_state
- 885 .cfi_restore 4
- 886 .cfi_def_cfa_offset 0
- 887 0010 7047 bx lr
- 888 .LVL102:
- 889 .L72:
- 890 .LCFI24:
- 891 .cfi_restore_state
- 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 892 .loc 1 620 0
- 893 0012 90F84040 ldrb r4, [r0, #64] @ zero_extendqisi2
- 894 0016 012C cmp r4, #1
- 895 0018 15D0 beq .L70
- 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 896 .loc 1 620 0 is_stmt 0 discriminator 2
- 897 001a 0124 movs r4, #1
- 898 001c 80F84040 strb r4, [r0, #64]
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 899 .loc 1 623 0 is_stmt 1 discriminator 2
- 900 0020 0224 movs r4, #2
- 901 0022 80F84140 strb r4, [r0, #65]
- 902 .LVL103:
- 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 903 .loc 1 626 0 discriminator 2
- 904 0026 04E0 b .L67
- 905 .LVL104:
- 906 .L68:
-ARM GAS /tmp/ccU1DTln.s page 38
-
-
- 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** psrcbuff++;
- 907 .loc 1 628 0 discriminator 3
- 908 0028 52F8044B ldr r4, [r2], #4
- 909 .LVL105:
- 910 002c 41F8044B str r4, [r1], #4
- 911 .LVL106:
- 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 912 .loc 1 626 0 discriminator 3
- 913 0030 013B subs r3, r3, #1
- 914 .LVL107:
- 915 .L67:
- 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 916 .loc 1 626 0 is_stmt 0 discriminator 1
- 917 0032 002B cmp r3, #0
- 918 0034 F8D1 bne .L68
- 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 919 .loc 1 634 0 is_stmt 1
- 920 0036 0123 movs r3, #1
- 921 .LVL108:
- 922 0038 80F84130 strb r3, [r0, #65]
- 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 923 .loc 1 637 0
- 924 003c 0023 movs r3, #0
- 925 003e 80F84030 strb r3, [r0, #64]
- 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 926 .loc 1 644 0
- 927 0042 1846 mov r0, r3
- 928 .LVL109:
- 929 0044 E3E7 b .L66
- 930 .LVL110:
- 931 .L70:
- 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 932 .loc 1 620 0
- 933 0046 0220 movs r0, #2
- 934 .LVL111:
- 935 0048 E1E7 b .L66
- 936 .cfi_endproc
- 937 .LFE76:
- 939 .section .text.HAL_SRAM_Read_DMA,"ax",%progbits
- 940 .align 1
- 941 .global HAL_SRAM_Read_DMA
- 942 .syntax unified
- 943 .thumb
- 944 .thumb_func
- 945 .fpu softvfp
- 947 HAL_SRAM_Read_DMA:
- 948 .LFB77:
- 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_StatusTypeDef status;
- 949 .loc 1 658 0
- 950 .cfi_startproc
- 951 @ args = 0, pretend = 0, frame = 0
- 952 @ frame_needed = 0, uses_anonymous_args = 0
- 953 .LVL112:
- 954 0000 38B5 push {r3, r4, r5, lr}
- 955 .LCFI25:
- 956 .cfi_def_cfa_offset 16
- 957 .cfi_offset 3, -16
-ARM GAS /tmp/ccU1DTln.s page 39
-
-
- 958 .cfi_offset 4, -12
- 959 .cfi_offset 5, -8
- 960 .cfi_offset 14, -4
- 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 961 .loc 1 660 0
- 962 0002 90F84140 ldrb r4, [r0, #65] @ zero_extendqisi2
- 963 0006 E4B2 uxtb r4, r4
- 964 .LVL113:
- 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 965 .loc 1 663 0
- 966 0008 012C cmp r4, #1
- 967 000a 03D0 beq .L74
- 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 968 .loc 1 663 0 is_stmt 0 discriminator 1
- 969 000c 042C cmp r4, #4
- 970 000e 01D0 beq .L74
- 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 971 .loc 1 690 0 is_stmt 1
- 972 0010 0120 movs r0, #1
- 973 .LVL114:
- 974 0012 38BD pop {r3, r4, r5, pc}
- 975 .LVL115:
- 976 .L74:
- 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 977 .loc 1 666 0
- 978 0014 90F84050 ldrb r5, [r0, #64] @ zero_extendqisi2
- 979 0018 012D cmp r5, #1
- 980 001a 19D0 beq .L79
- 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 981 .loc 1 666 0 is_stmt 0 discriminator 2
- 982 001c 0125 movs r5, #1
- 983 001e 80F84050 strb r5, [r0, #64]
- 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 984 .loc 1 669 0 is_stmt 1 discriminator 2
- 985 0022 0225 movs r5, #2
- 986 0024 80F84150 strb r5, [r0, #65]
- 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 987 .loc 1 672 0 discriminator 2
- 988 0028 012C cmp r4, #1
- 989 002a 0DD0 beq .L81
- 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 990 .loc 1 678 0
- 991 002c 446C ldr r4, [r0, #68]
- 992 .LVL116:
- 993 002e 094D ldr r5, .L82
- 994 0030 A562 str r5, [r4, #40]
- 995 .L77:
- 996 0032 0446 mov r4, r0
- 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 997 .loc 1 680 0
- 998 0034 406C ldr r0, [r0, #68]
- 999 .LVL117:
- 1000 0036 084D ldr r5, .L82+4
- 1001 0038 0563 str r5, [r0, #48]
- 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 1002 .loc 1 683 0
- 1003 003a 606C ldr r0, [r4, #68]
-ARM GAS /tmp/ccU1DTln.s page 40
-
-
- 1004 003c FFF7FEFF bl HAL_DMA_Start_IT
- 1005 .LVL118:
- 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 1006 .loc 1 686 0
- 1007 0040 0023 movs r3, #0
- 1008 0042 84F84030 strb r3, [r4, #64]
- 1009 0046 38BD pop {r3, r4, r5, pc}
- 1010 .LVL119:
- 1011 .L81:
- 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 1012 .loc 1 674 0
- 1013 0048 446C ldr r4, [r0, #68]
- 1014 .LVL120:
- 1015 004a 044D ldr r5, .L82+8
- 1016 004c A562 str r5, [r4, #40]
- 1017 004e F0E7 b .L77
- 1018 .LVL121:
- 1019 .L79:
- 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 1020 .loc 1 666 0
- 1021 0050 0220 movs r0, #2
- 1022 .LVL122:
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 1023 .loc 1 694 0
- 1024 0052 38BD pop {r3, r4, r5, pc}
- 1025 .LVL123:
- 1026 .L83:
- 1027 .align 2
- 1028 .L82:
- 1029 0054 00000000 .word SRAM_DMACpltProt
- 1030 0058 00000000 .word SRAM_DMAError
- 1031 005c 00000000 .word SRAM_DMACplt
- 1032 .cfi_endproc
- 1033 .LFE77:
- 1035 .section .text.HAL_SRAM_Write_DMA,"ax",%progbits
- 1036 .align 1
- 1037 .global HAL_SRAM_Write_DMA
- 1038 .syntax unified
- 1039 .thumb
- 1040 .thumb_func
- 1041 .fpu softvfp
- 1043 HAL_SRAM_Write_DMA:
- 1044 .LFB78:
- 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** HAL_StatusTypeDef status;
- 1045 .loc 1 707 0
- 1046 .cfi_startproc
- 1047 @ args = 0, pretend = 0, frame = 0
- 1048 @ frame_needed = 0, uses_anonymous_args = 0
- 1049 .LVL124:
- 1050 0000 38B5 push {r3, r4, r5, lr}
- 1051 .LCFI26:
- 1052 .cfi_def_cfa_offset 16
- 1053 .cfi_offset 3, -16
- 1054 .cfi_offset 4, -12
- 1055 .cfi_offset 5, -8
- 1056 .cfi_offset 14, -4
- 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
-ARM GAS /tmp/ccU1DTln.s page 41
-
-
- 1057 .loc 1 711 0
- 1058 0002 90F84140 ldrb r4, [r0, #65] @ zero_extendqisi2
- 1059 0006 E4B2 uxtb r4, r4
- 1060 0008 012C cmp r4, #1
- 1061 000a 01D0 beq .L89
- 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 1062 .loc 1 731 0
- 1063 000c 0120 movs r0, #1
- 1064 .LVL125:
- 1065 000e 38BD pop {r3, r4, r5, pc}
- 1066 .LVL126:
- 1067 .L89:
- 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 1068 .loc 1 714 0
- 1069 0010 90F84040 ldrb r4, [r0, #64] @ zero_extendqisi2
- 1070 0014 012C cmp r4, #1
- 1071 0016 01D1 bne .L90
- 1072 0018 0220 movs r0, #2
- 1073 .LVL127:
- 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 1074 .loc 1 735 0
- 1075 001a 38BD pop {r3, r4, r5, pc}
- 1076 .LVL128:
- 1077 .L90:
- 1078 001c 1546 mov r5, r2
- 1079 001e 0A46 mov r2, r1
- 1080 .LVL129:
- 1081 0020 0446 mov r4, r0
- 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 1082 .loc 1 714 0 discriminator 2
- 1083 0022 0121 movs r1, #1
- 1084 .LVL130:
- 1085 0024 80F84010 strb r1, [r0, #64]
- 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 1086 .loc 1 717 0 discriminator 2
- 1087 0028 0221 movs r1, #2
- 1088 002a 80F84110 strb r1, [r0, #65]
- 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** hsram->hdma->XferErrorCallback = SRAM_DMAError;
- 1089 .loc 1 720 0 discriminator 2
- 1090 002e 416C ldr r1, [r0, #68]
- 1091 0030 0648 ldr r0, .L91
- 1092 .LVL131:
- 1093 0032 8862 str r0, [r1, #40]
- 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 1094 .loc 1 721 0 discriminator 2
- 1095 0034 616C ldr r1, [r4, #68]
- 1096 0036 0648 ldr r0, .L91+4
- 1097 0038 0863 str r0, [r1, #48]
- 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 1098 .loc 1 724 0 discriminator 2
- 1099 003a 2946 mov r1, r5
- 1100 003c 606C ldr r0, [r4, #68]
- 1101 003e FFF7FEFF bl HAL_DMA_Start_IT
- 1102 .LVL132:
- 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 1103 .loc 1 727 0 discriminator 2
- 1104 0042 0023 movs r3, #0
-ARM GAS /tmp/ccU1DTln.s page 42
-
-
- 1105 0044 84F84030 strb r3, [r4, #64]
- 1106 0048 38BD pop {r3, r4, r5, pc}
- 1107 .LVL133:
- 1108 .L92:
- 1109 004a 00BF .align 2
- 1110 .L91:
- 1111 004c 00000000 .word SRAM_DMACplt
- 1112 0050 00000000 .word SRAM_DMAError
- 1113 .cfi_endproc
- 1114 .LFE78:
- 1116 .section .text.HAL_SRAM_WriteOperation_Enable,"ax",%progbits
- 1117 .align 1
- 1118 .global HAL_SRAM_WriteOperation_Enable
- 1119 .syntax unified
- 1120 .thumb
- 1121 .thumb_func
- 1122 .fpu softvfp
- 1124 HAL_SRAM_WriteOperation_Enable:
- 1125 .LFB79:
- 941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Check the SRAM controller state */
- 1126 .loc 1 941 0
- 1127 .cfi_startproc
- 1128 @ args = 0, pretend = 0, frame = 0
- 1129 @ frame_needed = 0, uses_anonymous_args = 0
- 1130 .LVL134:
- 1131 0000 38B5 push {r3, r4, r5, lr}
- 1132 .LCFI27:
- 1133 .cfi_def_cfa_offset 16
- 1134 .cfi_offset 3, -16
- 1135 .cfi_offset 4, -12
- 1136 .cfi_offset 5, -8
- 1137 .cfi_offset 14, -4
- 943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 1138 .loc 1 943 0
- 1139 0002 90F84130 ldrb r3, [r0, #65] @ zero_extendqisi2
- 1140 0006 DBB2 uxtb r3, r3
- 1141 0008 042B cmp r3, #4
- 1142 000a 01D0 beq .L98
- 962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 1143 .loc 1 962 0
- 1144 000c 0120 movs r0, #1
- 1145 .LVL135:
- 1146 000e 38BD pop {r3, r4, r5, pc}
- 1147 .LVL136:
- 1148 .L98:
- 946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 1149 .loc 1 946 0
- 1150 0010 90F84030 ldrb r3, [r0, #64] @ zero_extendqisi2
- 1151 0014 012B cmp r3, #1
- 1152 0016 01D1 bne .L99
- 1153 0018 0220 movs r0, #2
- 1154 .LVL137:
- 966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 1155 .loc 1 966 0
- 1156 001a 38BD pop {r3, r4, r5, pc}
- 1157 .LVL138:
- 1158 .L99:
-ARM GAS /tmp/ccU1DTln.s page 43
-
-
- 1159 001c 0446 mov r4, r0
- 946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 1160 .loc 1 946 0 discriminator 2
- 1161 001e 0125 movs r5, #1
- 1162 0020 80F84050 strb r5, [r0, #64]
- 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 1163 .loc 1 949 0 discriminator 2
- 1164 0024 0223 movs r3, #2
- 1165 0026 80F84130 strb r3, [r0, #65]
- 952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 1166 .loc 1 952 0 discriminator 2
- 1167 002a 8168 ldr r1, [r0, #8]
- 1168 002c 0068 ldr r0, [r0]
- 1169 .LVL139:
- 1170 002e FFF7FEFF bl FSMC_NORSRAM_WriteOperation_Enable
- 1171 .LVL140:
- 955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 1172 .loc 1 955 0 discriminator 2
- 1173 0032 84F84150 strb r5, [r4, #65]
- 958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 1174 .loc 1 958 0 discriminator 2
- 1175 0036 0020 movs r0, #0
- 1176 0038 84F84000 strb r0, [r4, #64]
- 965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 1177 .loc 1 965 0 discriminator 2
- 1178 003c 38BD pop {r3, r4, r5, pc}
- 1179 .cfi_endproc
- 1180 .LFE79:
- 1182 .section .text.HAL_SRAM_WriteOperation_Disable,"ax",%progbits
- 1183 .align 1
- 1184 .global HAL_SRAM_WriteOperation_Disable
- 1185 .syntax unified
- 1186 .thumb
- 1187 .thumb_func
- 1188 .fpu softvfp
- 1190 HAL_SRAM_WriteOperation_Disable:
- 1191 .LFB80:
- 975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Check the SRAM controller state */
- 1192 .loc 1 975 0
- 1193 .cfi_startproc
- 1194 @ args = 0, pretend = 0, frame = 0
- 1195 @ frame_needed = 0, uses_anonymous_args = 0
- 1196 .LVL141:
- 977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** {
- 1197 .loc 1 977 0
- 1198 0000 90F84130 ldrb r3, [r0, #65] @ zero_extendqisi2
- 1199 0004 DBB2 uxtb r3, r3
- 1200 0006 012B cmp r3, #1
- 1201 0008 01D0 beq .L108
- 996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 1202 .loc 1 996 0
- 1203 000a 0120 movs r0, #1
- 1204 .LVL142:
- 1205 000c 7047 bx lr
- 1206 .LVL143:
- 1207 .L108:
- 980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
-ARM GAS /tmp/ccU1DTln.s page 44
-
-
- 1208 .loc 1 980 0
- 1209 000e 90F84030 ldrb r3, [r0, #64] @ zero_extendqisi2
- 1210 0012 012B cmp r3, #1
- 1211 0014 01D1 bne .L109
- 1212 0016 0220 movs r0, #2
- 1213 .LVL144:
- 1214 0018 7047 bx lr
- 1215 .LVL145:
- 1216 .L109:
- 975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** /* Check the SRAM controller state */
- 1217 .loc 1 975 0 discriminator 2
- 1218 001a 10B5 push {r4, lr}
- 1219 .LCFI28:
- 1220 .cfi_def_cfa_offset 8
- 1221 .cfi_offset 4, -8
- 1222 .cfi_offset 14, -4
- 1223 001c 0446 mov r4, r0
- 980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 1224 .loc 1 980 0 discriminator 2
- 1225 001e 0123 movs r3, #1
- 1226 0020 80F84030 strb r3, [r0, #64]
- 983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 1227 .loc 1 983 0 discriminator 2
- 1228 0024 0223 movs r3, #2
- 1229 0026 80F84130 strb r3, [r0, #65]
- 986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 1230 .loc 1 986 0 discriminator 2
- 1231 002a 8168 ldr r1, [r0, #8]
- 1232 002c 0068 ldr r0, [r0]
- 1233 .LVL146:
- 1234 002e FFF7FEFF bl FSMC_NORSRAM_WriteOperation_Disable
- 1235 .LVL147:
- 989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 1236 .loc 1 989 0 discriminator 2
- 1237 0032 0423 movs r3, #4
- 1238 0034 84F84130 strb r3, [r4, #65]
- 992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 1239 .loc 1 992 0 discriminator 2
- 1240 0038 0020 movs r0, #0
- 1241 003a 84F84000 strb r0, [r4, #64]
- 999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 1242 .loc 1 999 0 discriminator 2
- 1243 003e 10BD pop {r4, pc}
- 1244 .cfi_endproc
- 1245 .LFE80:
- 1247 .section .text.HAL_SRAM_GetState,"ax",%progbits
- 1248 .align 1
- 1249 .global HAL_SRAM_GetState
- 1250 .syntax unified
- 1251 .thumb
- 1252 .thumb_func
- 1253 .fpu softvfp
- 1255 HAL_SRAM_GetState:
- 1256 .LFB81:
-1028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** return hsram->State;
- 1257 .loc 1 1028 0
- 1258 .cfi_startproc
-ARM GAS /tmp/ccU1DTln.s page 45
-
-
- 1259 @ args = 0, pretend = 0, frame = 0
- 1260 @ frame_needed = 0, uses_anonymous_args = 0
- 1261 @ link register save eliminated.
- 1262 .LVL148:
-1029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c **** }
- 1263 .loc 1 1029 0
- 1264 0000 90F84100 ldrb r0, [r0, #65] @ zero_extendqisi2
- 1265 .LVL149:
-1030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_sram.c ****
- 1266 .loc 1 1030 0
- 1267 0004 7047 bx lr
- 1268 .cfi_endproc
- 1269 .LFE81:
- 1271 .text
- 1272 .Letext0:
- 1273 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 1274 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 1275 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 1276 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 1277 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 1278 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 1279 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
- 1280 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_fsmc.h"
- 1281 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_sram.h"
- 1282 .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
-ARM GAS /tmp/ccU1DTln.s page 46
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_hal_sram.c
- /tmp/ccU1DTln.s:16 .text.HAL_SRAM_MspInit:0000000000000000 $t
- /tmp/ccU1DTln.s:23 .text.HAL_SRAM_MspInit:0000000000000000 HAL_SRAM_MspInit
- /tmp/ccU1DTln.s:37 .text.HAL_SRAM_Init:0000000000000000 $t
- /tmp/ccU1DTln.s:44 .text.HAL_SRAM_Init:0000000000000000 HAL_SRAM_Init
- /tmp/ccU1DTln.s:139 .text.HAL_SRAM_MspDeInit:0000000000000000 $t
- /tmp/ccU1DTln.s:146 .text.HAL_SRAM_MspDeInit:0000000000000000 HAL_SRAM_MspDeInit
- /tmp/ccU1DTln.s:159 .text.HAL_SRAM_DeInit:0000000000000000 $t
- /tmp/ccU1DTln.s:166 .text.HAL_SRAM_DeInit:0000000000000000 HAL_SRAM_DeInit
- /tmp/ccU1DTln.s:200 .text.HAL_SRAM_DMA_XferCpltCallback:0000000000000000 $t
- /tmp/ccU1DTln.s:207 .text.HAL_SRAM_DMA_XferCpltCallback:0000000000000000 HAL_SRAM_DMA_XferCpltCallback
- /tmp/ccU1DTln.s:220 .text.SRAM_DMACpltProt:0000000000000000 $t
- /tmp/ccU1DTln.s:226 .text.SRAM_DMACpltProt:0000000000000000 SRAM_DMACpltProt
- /tmp/ccU1DTln.s:258 .text.SRAM_DMACplt:0000000000000000 $t
- /tmp/ccU1DTln.s:264 .text.SRAM_DMACplt:0000000000000000 SRAM_DMACplt
- /tmp/ccU1DTln.s:295 .text.HAL_SRAM_DMA_XferErrorCallback:0000000000000000 $t
- /tmp/ccU1DTln.s:302 .text.HAL_SRAM_DMA_XferErrorCallback:0000000000000000 HAL_SRAM_DMA_XferErrorCallback
- /tmp/ccU1DTln.s:315 .text.SRAM_DMAError:0000000000000000 $t
- /tmp/ccU1DTln.s:321 .text.SRAM_DMAError:0000000000000000 SRAM_DMAError
- /tmp/ccU1DTln.s:353 .text.HAL_SRAM_Read_8b:0000000000000000 $t
- /tmp/ccU1DTln.s:360 .text.HAL_SRAM_Read_8b:0000000000000000 HAL_SRAM_Read_8b
- /tmp/ccU1DTln.s:446 .text.HAL_SRAM_Write_8b:0000000000000000 $t
- /tmp/ccU1DTln.s:453 .text.HAL_SRAM_Write_8b:0000000000000000 HAL_SRAM_Write_8b
- /tmp/ccU1DTln.s:534 .text.HAL_SRAM_Read_16b:0000000000000000 $t
- /tmp/ccU1DTln.s:541 .text.HAL_SRAM_Read_16b:0000000000000000 HAL_SRAM_Read_16b
- /tmp/ccU1DTln.s:646 .text.HAL_SRAM_Write_16b:0000000000000000 $t
- /tmp/ccU1DTln.s:653 .text.HAL_SRAM_Write_16b:0000000000000000 HAL_SRAM_Write_16b
- /tmp/ccU1DTln.s:759 .text.HAL_SRAM_Read_32b:0000000000000000 $t
- /tmp/ccU1DTln.s:766 .text.HAL_SRAM_Read_32b:0000000000000000 HAL_SRAM_Read_32b
- /tmp/ccU1DTln.s:852 .text.HAL_SRAM_Write_32b:0000000000000000 $t
- /tmp/ccU1DTln.s:859 .text.HAL_SRAM_Write_32b:0000000000000000 HAL_SRAM_Write_32b
- /tmp/ccU1DTln.s:940 .text.HAL_SRAM_Read_DMA:0000000000000000 $t
- /tmp/ccU1DTln.s:947 .text.HAL_SRAM_Read_DMA:0000000000000000 HAL_SRAM_Read_DMA
- /tmp/ccU1DTln.s:1029 .text.HAL_SRAM_Read_DMA:0000000000000054 $d
- /tmp/ccU1DTln.s:1036 .text.HAL_SRAM_Write_DMA:0000000000000000 $t
- /tmp/ccU1DTln.s:1043 .text.HAL_SRAM_Write_DMA:0000000000000000 HAL_SRAM_Write_DMA
- /tmp/ccU1DTln.s:1111 .text.HAL_SRAM_Write_DMA:000000000000004c $d
- /tmp/ccU1DTln.s:1117 .text.HAL_SRAM_WriteOperation_Enable:0000000000000000 $t
- /tmp/ccU1DTln.s:1124 .text.HAL_SRAM_WriteOperation_Enable:0000000000000000 HAL_SRAM_WriteOperation_Enable
- /tmp/ccU1DTln.s:1183 .text.HAL_SRAM_WriteOperation_Disable:0000000000000000 $t
- /tmp/ccU1DTln.s:1190 .text.HAL_SRAM_WriteOperation_Disable:0000000000000000 HAL_SRAM_WriteOperation_Disable
- /tmp/ccU1DTln.s:1248 .text.HAL_SRAM_GetState:0000000000000000 $t
- /tmp/ccU1DTln.s:1255 .text.HAL_SRAM_GetState:0000000000000000 HAL_SRAM_GetState
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-FSMC_NORSRAM_Init
-FSMC_NORSRAM_Timing_Init
-FSMC_NORSRAM_Extended_Timing_Init
-FSMC_NORSRAM_DeInit
-HAL_DMA_Start_IT
-FSMC_NORSRAM_WriteOperation_Enable
-FSMC_NORSRAM_WriteOperation_Disable
diff --git a/build/stm32f1xx_hal_sram.o b/build/stm32f1xx_hal_sram.o
deleted file mode 100644
index 5a60cee..0000000
Binary files a/build/stm32f1xx_hal_sram.o and /dev/null differ
diff --git a/build/stm32f1xx_hal_tim.d b/build/stm32f1xx_hal_tim.d
deleted file mode 100644
index 66df965..0000000
--- a/build/stm32f1xx_hal_tim.d
+++ /dev/null
@@ -1,93 +0,0 @@
-build/stm32f1xx_hal_tim.o: \
- Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/stm32f1xx_hal_tim.lst b/build/stm32f1xx_hal_tim.lst
deleted file mode 100644
index 6143c34..0000000
--- a/build/stm32f1xx_hal_tim.lst
+++ /dev/null
@@ -1,23473 +0,0 @@
-ARM GAS /tmp/ccqsuCX7.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "stm32f1xx_hal_tim.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.TIM_OC1_SetConfig,"ax",%progbits
- 16 .align 1
- 17 .syntax unified
- 18 .thumb
- 19 .thumb_func
- 20 .fpu softvfp
- 22 TIM_OC1_SetConfig:
- 23 .LFB170:
- 24 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c"
- 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
- 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ******************************************************************************
- 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @file stm32f1xx_hal_tim.c
- 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @author MCD Application Team
- 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief TIM HAL module driver.
- 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This file provides firmware functions to manage the following
- 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * functionalities of the Timer (TIM) peripheral:
- 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * + TIM Time Base Initialization
- 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * + TIM Time Base Start
- 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * + TIM Time Base Start Interruption
- 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * + TIM Time Base Start DMA
- 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * + TIM Output Compare/PWM Initialization
- 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * + TIM Output Compare/PWM Channel Configuration
- 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * + TIM Output Compare/PWM Start
- 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * + TIM Output Compare/PWM Start Interruption
- 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * + TIM Output Compare/PWM Start DMA
- 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * + TIM Input Capture Initialization
- 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * + TIM Input Capture Channel Configuration
- 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * + TIM Input Capture Start
- 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * + TIM Input Capture Start Interruption
- 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * + TIM Input Capture Start DMA
- 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * + TIM One Pulse Initialization
- 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * + TIM One Pulse Channel Configuration
- 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * + TIM One Pulse Start
- 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * + TIM Encoder Interface Initialization
- 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * + TIM Encoder Interface Start
- 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * + TIM Encoder Interface Start Interruption
- 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * + TIM Encoder Interface Start DMA
- 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * + Commutation Event configuration with Interruption and DMA
- 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * + TIM OCRef clear configuration
- 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * + TIM External Clock configuration
- 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** @verbatim
- 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ==============================================================================
- 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ##### TIMER Generic features #####
-ARM GAS /tmp/ccqsuCX7.s page 2
-
-
- 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ==============================================================================
- 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** [..] The Timer features include:
- 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (#) 16-bit up, down, up/down auto-reload counter.
- 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (#) 16-bit programmable prescaler allowing dividing (also on the fly) the
- 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** counter clock frequency either by any factor between 1 and 65536.
- 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (#) Up to 4 independent channels for:
- 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (++) Input Capture
- 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (++) Output Compare
- 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (++) PWM generation (Edge and Center-aligned Mode)
- 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (++) One-pulse mode output
- 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (#) Synchronization circuit to control the timer with external signals and to interconnect
- 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** several timers together.
- 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (#) Supports incremental encoder for positioning purposes
- 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ##### How to use this driver #####
- 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ==============================================================================
- 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** [..]
- 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (#) Initialize the TIM low level resources by implementing the following functions
- 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** depending on the selected feature:
- 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (++) Time Base : HAL_TIM_Base_MspInit()
- 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (++) Input Capture : HAL_TIM_IC_MspInit()
- 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (++) Output Compare : HAL_TIM_OC_MspInit()
- 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (++) PWM generation : HAL_TIM_PWM_MspInit()
- 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (++) One-pulse mode output : HAL_TIM_OnePulse_MspInit()
- 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (++) Encoder mode output : HAL_TIM_Encoder_MspInit()
- 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (#) Initialize the TIM low level resources :
- 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (##) Enable the TIM interface clock using __HAL_RCC_TIMx_CLK_ENABLE();
- 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (##) TIM pins configuration
- 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+++) Enable the clock for the TIM GPIOs using the following function:
- 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_RCC_GPIOx_CLK_ENABLE();
- 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+++) Configure these TIM pins in Alternate function mode using HAL_GPIO_Init();
- 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (#) The external Clock can be configured, if needed (the default clock is the
- 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** internal clock from the APBx), using the following function:
- 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ConfigClockSource, the clock configuration should be done before
- 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** any start function.
- 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (#) Configure the TIM in the desired functioning mode using one of the
- 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** Initialization function of this driver:
- 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (++) HAL_TIM_Base_Init: to use the Timer to generate a simple time base
- 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (++) HAL_TIM_OC_Init and HAL_TIM_OC_ConfigChannel: to use the Timer to generate an
- 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** Output Compare signal.
- 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (++) HAL_TIM_PWM_Init and HAL_TIM_PWM_ConfigChannel: to use the Timer to generate a
- 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** PWM signal.
- 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (++) HAL_TIM_IC_Init and HAL_TIM_IC_ConfigChannel: to use the Timer to measure an
- 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** external signal.
- 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (++) HAL_TIM_OnePulse_Init and HAL_TIM_OnePulse_ConfigChannel: to use the Timer
- 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** in One Pulse Mode.
- 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (++) HAL_TIM_Encoder_Init: to use the Timer Encoder Interface.
- 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (#) Activate the TIM peripheral using one of the start functions depending from the feature us
- 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (++) Time Base : HAL_TIM_Base_Start(), HAL_TIM_Base_Start_DMA(), HAL_TIM_Base_Start_IT()
- 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (++) Input Capture : HAL_TIM_IC_Start(), HAL_TIM_IC_Start_DMA(), HAL_TIM_IC_Start_IT()
- 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (++) Output Compare : HAL_TIM_OC_Start(), HAL_TIM_OC_Start_DMA(), HAL_TIM_OC_Start_IT()
- 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (++) PWM generation : HAL_TIM_PWM_Start(), HAL_TIM_PWM_Start_DMA(), HAL_TIM_PWM_Start_IT
- 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (++) One-pulse mode output : HAL_TIM_OnePulse_Start(), HAL_TIM_OnePulse_Start_IT()
-ARM GAS /tmp/ccqsuCX7.s page 3
-
-
- 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (++) Encoder mode output : HAL_TIM_Encoder_Start(), HAL_TIM_Encoder_Start_DMA(), HAL_TIM
- 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (#) The DMA Burst is managed with the two following functions:
- 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_DMABurst_WriteStart()
- 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_DMABurst_ReadStart()
- 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** *** Callback registration ***
- 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** =============================================
- 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** [..]
- 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** The compilation define USE_HAL_TIM_REGISTER_CALLBACKS when set to 1
- 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** allows the user to configure dynamically the driver callbacks.
- 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** [..]
- 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** Use Function @ref HAL_TIM_RegisterCallback() to register a callback.
- 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** @ref HAL_TIM_RegisterCallback() takes as parameters the HAL peripheral handle,
- 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** the Callback ID and a pointer to the user callback function.
- 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** [..]
- 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** Use function @ref HAL_TIM_UnRegisterCallback() to reset a callback to the default
- 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** weak function.
- 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** @ref HAL_TIM_UnRegisterCallback takes as parameters the HAL peripheral handle,
- 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** and the Callback ID.
- 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** [..]
- 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** These functions allow to register/unregister following callbacks:
- 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Base_MspInitCallback : TIM Base Msp Init Callback.
- 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Base_MspDeInitCallback : TIM Base Msp DeInit Callback.
- 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) IC_MspInitCallback : TIM IC Msp Init Callback.
- 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) IC_MspDeInitCallback : TIM IC Msp DeInit Callback.
- 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) OC_MspInitCallback : TIM OC Msp Init Callback.
- 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) OC_MspDeInitCallback : TIM OC Msp DeInit Callback.
- 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) PWM_MspInitCallback : TIM PWM Msp Init Callback.
- 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) PWM_MspDeInitCallback : TIM PWM Msp DeInit Callback.
- 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) OnePulse_MspInitCallback : TIM One Pulse Msp Init Callback.
- 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) OnePulse_MspDeInitCallback : TIM One Pulse Msp DeInit Callback.
- 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Encoder_MspInitCallback : TIM Encoder Msp Init Callback.
- 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Encoder_MspDeInitCallback : TIM Encoder Msp DeInit Callback.
- 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) HallSensor_MspInitCallback : TIM Hall Sensor Msp Init Callback.
- 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) HallSensor_MspDeInitCallback : TIM Hall Sensor Msp DeInit Callback.
- 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) PeriodElapsedCallback : TIM Period Elapsed Callback.
- 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) PeriodElapsedHalfCpltCallback : TIM Period Elapsed half complete Callback.
- 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) TriggerCallback : TIM Trigger Callback.
- 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) TriggerHalfCpltCallback : TIM Trigger half complete Callback.
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) IC_CaptureCallback : TIM Input Capture Callback.
- 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) IC_CaptureHalfCpltCallback : TIM Input Capture half complete Callback.
- 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) OC_DelayElapsedCallback : TIM Output Compare Delay Elapsed Callback.
- 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) PWM_PulseFinishedCallback : TIM PWM Pulse Finished Callback.
- 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) PWM_PulseFinishedHalfCpltCallback : TIM PWM Pulse Finished half complete Callback.
- 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) ErrorCallback : TIM Error Callback.
- 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) CommutationCallback : TIM Commutation Callback.
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) CommutationHalfCpltCallback : TIM Commutation half complete Callback.
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) BreakCallback : TIM Break Callback.
- 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** [..]
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** By default, after the Init and when the state is HAL_TIM_STATE_RESET
- 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** all interrupt callbacks are set to the corresponding weak functions:
-ARM GAS /tmp/ccqsuCX7.s page 4
-
-
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** examples @ref HAL_TIM_TriggerCallback(), @ref HAL_TIM_ErrorCallback().
- 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** [..]
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** Exception done for MspInit and MspDeInit functions that are reset to the legacy weak
- 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** functionalities in the Init / DeInit only when these callbacks are null
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (not registered beforehand). If not, MspInit or MspDeInit are not null, the Init / DeInit
- 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** keep and use the user MspInit / MspDeInit callbacks(registered beforehand)
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** [..]
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** Callbacks can be registered / unregistered in HAL_TIM_STATE_READY state only.
- 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** Exception done MspInit / MspDeInit that can be registered / unregistered
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** in HAL_TIM_STATE_READY or HAL_TIM_STATE_RESET state,
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** thus registered(user) MspInit / DeInit callbacks can be used during the Init / DeInit.
- 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** In that case first register the MspInit/MspDeInit user callbacks
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** using @ref HAL_TIM_RegisterCallback() before calling DeInit or Init function.
- 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** [..]
- 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** When The compilation define USE_HAL_TIM_REGISTER_CALLBACKS is set to 0 or
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** not defined, the callback registration feature is not available and all callbacks
- 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** are set to the corresponding weak functions.
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** @endverbatim
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ******************************************************************************
- 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @attention
- 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** *
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * © Copyright (c) 2016 STMicroelectronics.
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * All rights reserved.
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** *
- 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * the "License"; You may not use this file except in compliance with the
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * License. You may obtain a copy of the License at:
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * opensource.org/licenses/BSD-3-Clause
- 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** *
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ******************************************************************************
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Includes ------------------------------------------------------------------*/
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #include "stm32f1xx_hal.h"
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /** @addtogroup STM32F1xx_HAL_Driver
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @{
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /** @defgroup TIM TIM
- 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief TIM HAL module driver
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @{
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #ifdef HAL_TIM_MODULE_ENABLED
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Private typedef -----------------------------------------------------------*/
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Private define ------------------------------------------------------------*/
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Private macros ------------------------------------------------------------*/
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Private variables ---------------------------------------------------------*/
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Private function prototypes -----------------------------------------------*/
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /** @addtogroup TIM_Private_Functions
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @{
-ARM GAS /tmp/ccqsuCX7.s page 5
-
-
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config);
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config);
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config);
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_TI1_ConfigInputStage(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICFil
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_TI2_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection,
- 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t TIM_ICFilter);
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_TI2_ConfigInputStage(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICFil
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_TI3_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection,
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t TIM_ICFilter);
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_TI4_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection,
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t TIM_ICFilter);
- 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_ITRx_SetConfig(TIM_TypeDef *TIMx, uint32_t InputTriggerSource);
- 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_DMAPeriodElapsedCplt(DMA_HandleTypeDef *hdma);
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_DMAPeriodElapsedHalfCplt(DMA_HandleTypeDef *hdma);
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_DMADelayPulseCplt(DMA_HandleTypeDef *hdma);
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_DMATriggerCplt(DMA_HandleTypeDef *hdma);
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_DMATriggerHalfCplt(DMA_HandleTypeDef *hdma);
- 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static HAL_StatusTypeDef TIM_SlaveTimer_SetConfig(TIM_HandleTypeDef *htim,
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_SlaveConfigTypeDef *sSlaveConfig);
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
- 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @}
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Exported functions --------------------------------------------------------*/
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions TIM Exported Functions
- 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @{
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group1 TIM Time Base functions
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Time Base functions
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** *
- 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** @verbatim
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ==============================================================================
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ##### Time Base functions #####
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ==============================================================================
- 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** [..]
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** This section provides functions allowing to:
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Initialize and configure the TIM base.
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) De-initialize the TIM base.
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Start the Time Base.
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Stop the Time Base.
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Start the Time Base and enable interrupt.
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Stop the Time Base and disable interrupt.
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Start the Time Base and enable DMA transfer.
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Stop the Time Base and disable DMA transfer.
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** @endverbatim
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @{
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Initializes the TIM Time base Unit according to the specified
- 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * parameters in the TIM_HandleTypeDef and initialize the associated handle.
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @note Switching from Center Aligned counter mode to Edge counter mode (or reverse)
- 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * requires a timer reset to avoid unexpected direction
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * due to DIR bit readonly in center aligned mode.
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * Ex: call @ref HAL_TIM_Base_DeInit() before HAL_TIM_Base_Init()
-ARM GAS /tmp/ccqsuCX7.s page 6
-
-
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Base handle
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
- 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Base_Init(TIM_HandleTypeDef *htim)
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM handle allocation */
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim == NULL)
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance));
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode));
- 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision));
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload));
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_RESET)
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Allocate lock resource and initialize it */
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Lock = HAL_UNLOCKED;
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
- 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset interrupt callbacks to legacy weak callbacks */
- 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_ResetCallback(htim);
- 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->Base_MspInitCallback == NULL)
- 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Base_MspInitCallback = HAL_TIM_Base_MspInit;
- 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Base_MspInitCallback(htim);
- 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_Base_MspInit(htim);
- 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM state */
- 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY;
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Time Base configuration */
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_Base_SetConfig(htim->Instance, &htim->Init);
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Initialize the DMA burst operation state */
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY;
- 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Initialize the TIM channels state */
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY);
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY);
- 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Initialize the TIM state*/
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY;
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
- 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 7
-
-
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
- 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief DeInitializes the TIM Base peripheral
- 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Base handle
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Base_DeInit(TIM_HandleTypeDef *htim)
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance));
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY;
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Peripheral Clock */
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE(htim);
- 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->Base_MspDeInitCallback == NULL)
- 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Base_MspDeInitCallback = HAL_TIM_Base_MspDeInit;
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* DeInit the low level hardware */
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Base_MspDeInitCallback(htim);
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
- 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC */
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_Base_MspDeInit(htim);
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Change the DMA burst operation state */
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_RESET;
- 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Change the TIM channels state */
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET);
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET);
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Change TIM state */
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_RESET;
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Release Lock */
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_UNLOCK(htim);
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
- 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Initializes the TIM Base MSP.
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Base handle
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __weak void HAL_TIM_Base_MspInit(TIM_HandleTypeDef *htim)
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(htim);
- 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed,
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** the HAL_TIM_Base_MspInit could be implemented in the user file
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-ARM GAS /tmp/ccqsuCX7.s page 8
-
-
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief DeInitializes TIM Base MSP.
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Base handle
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __weak void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef *htim)
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(htim);
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed,
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** the HAL_TIM_Base_MspDeInit could be implemented in the user file
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Starts the TIM Base generation.
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Base handle
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
- 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Base_Start(TIM_HandleTypeDef *htim)
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance));
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM state */
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->State != HAL_TIM_STATE_READY)
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
- 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM state */
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY;
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
- 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-ARM GAS /tmp/ccqsuCX7.s page 9
-
-
- 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Stops the TIM Base generation.
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Base handle
- 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
- 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Base_Stop(TIM_HandleTypeDef *htim)
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance));
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Peripheral */
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE(htim);
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM state */
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY;
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
- 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Starts the TIM Base generation in interrupt mode.
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Base handle
- 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Base_Start_IT(TIM_HandleTypeDef *htim)
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance));
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM state */
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->State != HAL_TIM_STATE_READY)
- 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
- 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM state */
- 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY;
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Update interrupt */
- 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_UPDATE);
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
- 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
- 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
- 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 10
-
-
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
- 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
- 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Stops the TIM Base generation in interrupt mode.
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Base handle
- 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
- 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Base_Stop_IT(TIM_HandleTypeDef *htim)
- 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance));
- 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Update interrupt */
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_UPDATE);
- 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Peripheral */
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE(htim);
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM state */
- 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY;
- 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Starts the TIM Base generation in DMA mode.
- 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Base handle
- 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param pData The source Buffer address.
- 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Length The length of data to be transferred from memory to peripheral.
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
- 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Base_Start_DMA(TIM_HandleTypeDef *htim, uint32_t *pData, uint16_t Length)
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_DMA_INSTANCE(htim->Instance));
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM state */
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_BUSY)
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_BUSY;
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (htim->State == HAL_TIM_STATE_READY)
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((pData == NULL) && (Length > 0U))
- 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
- 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
- 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY;
- 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-ARM GAS /tmp/ccqsuCX7.s page 11
-
-
- 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA Period elapsed callbacks */
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferCpltCallback = TIM_DMAPeriodElapsedCplt;
- 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt;
- 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
- 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferErrorCallback = TIM_DMAError ;
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
- 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_UPDATE], (uint32_t)pData, (uint32_t)&htim->Instance->A
- 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
- 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Update DMA request */
- 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_UPDATE);
- 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
- 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
- 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
- 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
- 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
- 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
- 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
- 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
- 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Stops the TIM Base generation in DMA mode.
- 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Base handle
- 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
- 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Base_Stop_DMA(TIM_HandleTypeDef *htim)
- 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_DMA_INSTANCE(htim->Instance));
- 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Update DMA request */
- 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_UPDATE);
- 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_UPDATE]);
- 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Peripheral */
- 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE(htim);
-ARM GAS /tmp/ccqsuCX7.s page 12
-
-
- 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM state */
- 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY;
- 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
- 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
- 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
- 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @}
- 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group2 TIM Output Compare functions
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief TIM Output Compare functions
- 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** *
- 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** @verbatim
- 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ==============================================================================
- 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ##### TIM Output Compare functions #####
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ==============================================================================
- 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** [..]
- 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** This section provides functions allowing to:
- 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Initialize and configure the TIM Output Compare.
- 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) De-initialize the TIM Output Compare.
- 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Start the TIM Output Compare.
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Stop the TIM Output Compare.
- 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Start the TIM Output Compare and enable interrupt.
- 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Stop the TIM Output Compare and disable interrupt.
- 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Start the TIM Output Compare and enable DMA transfer.
- 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Stop the TIM Output Compare and disable DMA transfer.
- 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** @endverbatim
- 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @{
- 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
- 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Initializes the TIM Output Compare according to the specified
- 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * parameters in the TIM_HandleTypeDef and initializes the associated handle.
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @note Switching from Center Aligned counter mode to Edge counter mode (or reverse)
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * requires a timer reset to avoid unexpected direction
- 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * due to DIR bit readonly in center aligned mode.
- 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * Ex: call @ref HAL_TIM_OC_DeInit() before HAL_TIM_OC_Init()
- 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Output Compare handle
- 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
- 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_Init(TIM_HandleTypeDef *htim)
- 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM handle allocation */
- 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim == NULL)
- 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
- 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance));
- 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode));
- 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision));
- 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload));
- 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 13
-
-
- 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_RESET)
- 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Allocate lock resource and initialize it */
- 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Lock = HAL_UNLOCKED;
- 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
- 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset interrupt callbacks to legacy weak callbacks */
- 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_ResetCallback(htim);
- 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->OC_MspInitCallback == NULL)
- 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OC_MspInitCallback = HAL_TIM_OC_MspInit;
- 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */
- 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OC_MspInitCallback(htim);
- 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
- 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC and DMA */
- 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_OC_MspInit(htim);
- 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM state */
- 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY;
- 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Init the base time for the Output Compare */
- 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_Base_SetConfig(htim->Instance, &htim->Init);
- 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Initialize the DMA burst operation state */
- 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY;
- 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Initialize the TIM channels state */
- 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY);
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY);
- 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Initialize the TIM state*/
- 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY;
- 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
- 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
- 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief DeInitializes the TIM peripheral
- 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Output Compare handle
- 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_DeInit(TIM_HandleTypeDef *htim)
- 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance));
- 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY;
- 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Peripheral Clock */
- 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE(htim);
- 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
- 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->OC_MspDeInitCallback == NULL)
-ARM GAS /tmp/ccqsuCX7.s page 14
-
-
- 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OC_MspDeInitCallback = HAL_TIM_OC_MspDeInit;
- 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* DeInit the low level hardware */
- 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OC_MspDeInitCallback(htim);
- 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
- 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC and DMA */
- 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_OC_MspDeInit(htim);
- 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Change the DMA burst operation state */
- 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_RESET;
- 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Change the TIM channels state */
- 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET);
- 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET);
- 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Change TIM state */
- 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_RESET;
- 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Release Lock */
- 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_UNLOCK(htim);
- 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
- 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
- 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Initializes the TIM Output Compare MSP.
- 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Output Compare handle
- 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
- 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __weak void HAL_TIM_OC_MspInit(TIM_HandleTypeDef *htim)
- 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(htim);
- 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed,
- 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** the HAL_TIM_OC_MspInit could be implemented in the user file
- 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
- 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief DeInitializes TIM Output Compare MSP.
- 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Output Compare handle
- 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
- 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __weak void HAL_TIM_OC_MspDeInit(TIM_HandleTypeDef *htim)
- 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(htim);
- 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed,
- 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** the HAL_TIM_OC_MspDeInit could be implemented in the user file
- 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-ARM GAS /tmp/ccqsuCX7.s page 15
-
-
- 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Starts the TIM Output Compare signal generation.
- 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Output Compare handle
- 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channel to be enabled
- 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
- 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
- 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
- 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
- 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
- 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
- 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_Start(TIM_HandleTypeDef *htim, uint32_t Channel)
- 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel));
- 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM channel state */
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (TIM_CHANNEL_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY)
- 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
- 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel state */
- 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Output compare channel */
- 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE);
- 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
- 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the main output */
- 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_MOE_ENABLE(htim);
- 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
- 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
- 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
- 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
- 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
- 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
- 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
- 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
- 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
- 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Stops the TIM Output Compare signal generation.
- 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Output Compare handle
- 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channel to be disabled
-ARM GAS /tmp/ccqsuCX7.s page 16
-
-
- 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
- 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
- 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
- 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
- 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
- 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
- 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel)
- 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel));
- 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Output compare channel */
- 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE);
- 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
- 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Main Output */
- 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_MOE_DISABLE(htim);
- 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Peripheral */
- 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE(htim);
- 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel state */
- 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
- 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
- 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Starts the TIM Output Compare signal generation in interrupt mode.
- 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Output Compare handle
- 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channel to be enabled
- 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
- 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
- 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
- 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
- 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
- 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel)
- 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel));
- 881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM channel state */
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (TIM_CHANNEL_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY)
- 884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
- 886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel state */
- 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
-ARM GAS /tmp/ccqsuCX7.s page 17
-
-
- 890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (Channel)
- 892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_1:
- 894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 1 interrupt */
- 896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1);
- 897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_2:
- 901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 2 interrupt */
- 903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2);
- 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_3:
- 908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 3 interrupt */
- 910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC3);
- 911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_4:
- 915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 4 interrupt */
- 917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC4);
- 918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
- 922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Output compare channel */
- 926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE);
- 927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
- 929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the main output */
- 931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_MOE_ENABLE(htim);
- 932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
- 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
- 936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
- 938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
- 941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
- 944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
- 946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-ARM GAS /tmp/ccqsuCX7.s page 18
-
-
- 947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
- 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
- 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
- 953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Stops the TIM Output Compare signal generation in interrupt mode.
- 954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Output Compare handle
- 955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channel to be disabled
- 956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
- 957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
- 958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
- 959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
- 960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
- 961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
- 962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
- 963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel)
- 964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel));
- 967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (Channel)
- 969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_1:
- 971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 1 interrupt */
- 973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1);
- 974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_2:
- 978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 2 interrupt */
- 980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2);
- 981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_3:
- 985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 3 interrupt */
- 987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC3);
- 988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_4:
- 992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 4 interrupt */
- 994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC4);
- 995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
- 999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Output compare channel */
-1003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE);
-ARM GAS /tmp/ccqsuCX7.s page 19
-
-
-1004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
-1006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Main Output */
-1008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_MOE_DISABLE(htim);
-1009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Peripheral */
-1012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE(htim);
-1013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel state */
-1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
-1016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-1018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-1019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-1022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Starts the TIM Output Compare signal generation in DMA mode.
-1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Output Compare handle
-1024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channel to be enabled
-1025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-1026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-1027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-1028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
-1029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
-1030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param pData The source Buffer address.
-1031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Length The length of data to be transferred from memory to TIM peripheral
-1032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-1033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-1034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData,
-1035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
-1037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-1039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel));
-1040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel state */
-1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (TIM_CHANNEL_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_BUSY)
-1043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_BUSY;
-1045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (TIM_CHANNEL_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_READY)
-1047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((pData == NULL) && (Length > 0U))
-1049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-1051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-1053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
-1055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-1058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-1060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-ARM GAS /tmp/ccqsuCX7.s page 20
-
-
-1061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (Channel)
-1063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_1:
-1065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA compare callbacks */
-1067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMADelayPulseCplt;
-1068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
-1069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-1071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ;
-1072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-1074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)pData, (uint32_t)&htim->Instance->
-1075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-1077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-1078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 1 DMA request */
-1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1);
-1082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_2:
-1086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA compare callbacks */
-1088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMADelayPulseCplt;
-1089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
-1090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-1092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAError ;
-1093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-1095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)pData, (uint32_t)&htim->Instance->
-1096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-1098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-1099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 2 DMA request */
-1102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2);
-1103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_3:
-1107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA compare callbacks */
-1109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMADelayPulseCplt;
-1110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
-1111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-1113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAError ;
-1114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-1116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)pData, (uint32_t)&htim->Instance->
-1117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-ARM GAS /tmp/ccqsuCX7.s page 21
-
-
-1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-1119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-1120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 3 DMA request */
-1122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC3);
-1123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_4:
-1127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA compare callbacks */
-1129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferCpltCallback = TIM_DMADelayPulseCplt;
-1130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
-1131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-1133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferErrorCallback = TIM_DMAError ;
-1134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-1136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC4], (uint32_t)pData, (uint32_t)&htim->Instance->
-1137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-1139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-1140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 4 DMA request */
-1142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC4);
-1143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
-1147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Output compare channel */
-1151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE);
-1152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
-1154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the main output */
-1156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_MOE_ENABLE(htim);
-1157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
-1160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
-1161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
-1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
-1164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
-1166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-1169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
-1171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-1174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-ARM GAS /tmp/ccqsuCX7.s page 22
-
-
-1175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-1178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Stops the TIM Output Compare signal generation in DMA mode.
-1179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Output Compare handle
-1180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channel to be disabled
-1181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-1182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-1183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-1184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
-1185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
-1186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-1187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-1188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel)
-1189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-1191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel));
-1192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (Channel)
-1194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_1:
-1196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 1 DMA request */
-1198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1);
-1199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
-1200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_2:
-1204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 2 DMA request */
-1206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2);
-1207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]);
-1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_3:
-1212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 3 DMA request */
-1214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC3);
-1215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]);
-1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_4:
-1220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 4 interrupt */
-1222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC4);
-1223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]);
-1224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
-1228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Output compare channel */
-ARM GAS /tmp/ccqsuCX7.s page 23
-
-
-1232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE);
-1233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
-1235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Main Output */
-1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_MOE_DISABLE(htim);
-1238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Peripheral */
-1241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE(htim);
-1242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel state */
-1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
-1245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-1247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-1248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-1251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @}
-1252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-1253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group3 TIM PWM functions
-1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief TIM PWM functions
-1256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** *
-1257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** @verbatim
-1258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ==============================================================================
-1259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ##### TIM PWM functions #####
-1260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ==============================================================================
-1261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** [..]
-1262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** This section provides functions allowing to:
-1263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Initialize and configure the TIM PWM.
-1264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) De-initialize the TIM PWM.
-1265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Start the TIM PWM.
-1266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Stop the TIM PWM.
-1267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Start the TIM PWM and enable interrupt.
-1268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Stop the TIM PWM and disable interrupt.
-1269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Start the TIM PWM and enable DMA transfer.
-1270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Stop the TIM PWM and disable DMA transfer.
-1271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** @endverbatim
-1273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @{
-1274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-1275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-1276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Initializes the TIM PWM Time Base according to the specified
-1277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * parameters in the TIM_HandleTypeDef and initializes the associated handle.
-1278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @note Switching from Center Aligned counter mode to Edge counter mode (or reverse)
-1279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * requires a timer reset to avoid unexpected direction
-1280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * due to DIR bit readonly in center aligned mode.
-1281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * Ex: call @ref HAL_TIM_PWM_DeInit() before HAL_TIM_PWM_Init()
-1282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM PWM handle
-1283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-1285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_Init(TIM_HandleTypeDef *htim)
-1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM handle allocation */
-1288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim == NULL)
-ARM GAS /tmp/ccqsuCX7.s page 24
-
-
-1289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-1291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-1294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance));
-1295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode));
-1296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision));
-1297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload));
-1298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_RESET)
-1300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Allocate lock resource and initialize it */
-1302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Lock = HAL_UNLOCKED;
-1303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-1305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset interrupt callbacks to legacy weak callbacks */
-1306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_ResetCallback(htim);
-1307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->PWM_MspInitCallback == NULL)
-1309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PWM_MspInitCallback = HAL_TIM_PWM_MspInit;
-1311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */
-1313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PWM_MspInitCallback(htim);
-1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-1315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC and DMA */
-1316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_PWM_MspInit(htim);
-1317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM state */
-1321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY;
-1322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Init the base time for the PWM */
-1324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_Base_SetConfig(htim->Instance, &htim->Init);
-1325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Initialize the DMA burst operation state */
-1327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY;
-1328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Initialize the TIM channels state */
-1330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY);
-1331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY);
-1332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Initialize the TIM state*/
-1334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY;
-1335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-1337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-1340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief DeInitializes the TIM peripheral
-1341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM PWM handle
-1342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-1343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-1344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_DeInit(TIM_HandleTypeDef *htim)
-1345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-ARM GAS /tmp/ccqsuCX7.s page 25
-
-
-1346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-1347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance));
-1348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY;
-1350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Peripheral Clock */
-1352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE(htim);
-1353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-1355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->PWM_MspDeInitCallback == NULL)
-1356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PWM_MspDeInitCallback = HAL_TIM_PWM_MspDeInit;
-1358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* DeInit the low level hardware */
-1360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PWM_MspDeInitCallback(htim);
-1361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-1362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC and DMA */
-1363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_PWM_MspDeInit(htim);
-1364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-1365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Change the DMA burst operation state */
-1367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_RESET;
-1368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Change the TIM channels state */
-1370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET);
-1371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET);
-1372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Change TIM state */
-1374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_RESET;
-1375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Release Lock */
-1377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_UNLOCK(htim);
-1378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-1380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-1383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Initializes the TIM PWM MSP.
-1384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM PWM handle
-1385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-1386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-1387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __weak void HAL_TIM_PWM_MspInit(TIM_HandleTypeDef *htim)
-1388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
-1390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(htim);
-1391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed,
-1393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** the HAL_TIM_PWM_MspInit could be implemented in the user file
-1394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-1395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-1398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief DeInitializes TIM PWM MSP.
-1399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM PWM handle
-1400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-1401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-1402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __weak void HAL_TIM_PWM_MspDeInit(TIM_HandleTypeDef *htim)
-ARM GAS /tmp/ccqsuCX7.s page 26
-
-
-1403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
-1405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(htim);
-1406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed,
-1408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** the HAL_TIM_PWM_MspDeInit could be implemented in the user file
-1409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-1410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-1413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Starts the PWM signal generation.
-1414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle
-1415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channels to be enabled
-1416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-1417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-1418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-1419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
-1420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
-1421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-1422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-1423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_Start(TIM_HandleTypeDef *htim, uint32_t Channel)
-1424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
-1426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-1428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel));
-1429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM channel state */
-1431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (TIM_CHANNEL_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY)
-1432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-1434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel state */
-1437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
-1438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Capture compare channel */
-1440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE);
-1441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
-1443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the main output */
-1445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_MOE_ENABLE(htim);
-1446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
-1449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
-1450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
-1452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
-1453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
-1455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-1458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
-ARM GAS /tmp/ccqsuCX7.s page 27
-
-
-1460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-1463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-1464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-1467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Stops the PWM signal generation.
-1468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM PWM handle
-1469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channels to be disabled
-1470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-1471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-1472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-1473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
-1474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
-1475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-1476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-1477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_Stop(TIM_HandleTypeDef *htim, uint32_t Channel)
-1478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-1480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel));
-1481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Capture compare channel */
-1483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE);
-1484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
-1486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Main Output */
-1488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_MOE_DISABLE(htim);
-1489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Peripheral */
-1492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE(htim);
-1493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel state */
-1495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
-1496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-1498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-1499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-1502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Starts the PWM signal generation in interrupt mode.
-1503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM PWM handle
-1504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channel to be enabled
-1505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-1506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-1507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-1508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
-1509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
-1510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-1511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-1512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel)
-1513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
-1515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-1516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel));
-ARM GAS /tmp/ccqsuCX7.s page 28
-
-
-1517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM channel state */
-1519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (TIM_CHANNEL_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY)
-1520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-1522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel state */
-1525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
-1526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (Channel)
-1528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_1:
-1530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 1 interrupt */
-1532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1);
-1533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_2:
-1537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 2 interrupt */
-1539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2);
-1540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_3:
-1544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 3 interrupt */
-1546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC3);
-1547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_4:
-1551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 4 interrupt */
-1553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC4);
-1554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
-1558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Capture compare channel */
-1562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE);
-1563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
-1565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the main output */
-1567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_MOE_ENABLE(htim);
-1568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
-1571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
-1572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
-ARM GAS /tmp/ccqsuCX7.s page 29
-
-
-1574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
-1575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
-1577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-1580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
-1582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-1585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-1586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-1589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Stops the PWM signal generation in interrupt mode.
-1590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM PWM handle
-1591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channels to be disabled
-1592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-1593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-1594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-1595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
-1596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
-1597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-1598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-1599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel)
-1600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-1602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel));
-1603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (Channel)
-1605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_1:
-1607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 1 interrupt */
-1609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1);
-1610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_2:
-1614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 2 interrupt */
-1616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2);
-1617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_3:
-1621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 3 interrupt */
-1623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC3);
-1624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_4:
-1628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 4 interrupt */
-1630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC4);
-ARM GAS /tmp/ccqsuCX7.s page 30
-
-
-1631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
-1635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Capture compare channel */
-1639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE);
-1640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
-1642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Main Output */
-1644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_MOE_DISABLE(htim);
-1645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Peripheral */
-1648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE(htim);
-1649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel state */
-1651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
-1652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-1654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-1655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-1658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Starts the TIM PWM signal generation in DMA mode.
-1659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM PWM handle
-1660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channels to be enabled
-1661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-1662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-1663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-1664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
-1665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
-1666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param pData The source Buffer address.
-1667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Length The length of data to be transferred from memory to TIM peripheral
-1668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-1669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-1670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData,
-1671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
-1673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-1675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel));
-1676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel state */
-1678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (TIM_CHANNEL_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_BUSY)
-1679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_BUSY;
-1681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (TIM_CHANNEL_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_READY)
-1683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((pData == NULL) && (Length > 0U))
-1685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-1687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-ARM GAS /tmp/ccqsuCX7.s page 31
-
-
-1688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-1689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
-1691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-1694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-1696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (Channel)
-1699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_1:
-1701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA compare callbacks */
-1703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMADelayPulseCplt;
-1704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
-1705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-1707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ;
-1708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-1710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)pData, (uint32_t)&htim->Instance->
-1711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-1713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-1714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 1 DMA request */
-1717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1);
-1718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_2:
-1722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA compare callbacks */
-1724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMADelayPulseCplt;
-1725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
-1726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-1728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAError ;
-1729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-1731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)pData, (uint32_t)&htim->Instance->
-1732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-1734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-1735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 2 DMA request */
-1737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2);
-1738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_3:
-1742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA compare callbacks */
-1744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMADelayPulseCplt;
-ARM GAS /tmp/ccqsuCX7.s page 32
-
-
-1745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
-1746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-1748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAError ;
-1749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-1751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)pData, (uint32_t)&htim->Instance->
-1752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-1754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-1755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Output Capture/Compare 3 request */
-1757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC3);
-1758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_4:
-1762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA compare callbacks */
-1764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferCpltCallback = TIM_DMADelayPulseCplt;
-1765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
-1766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-1768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferErrorCallback = TIM_DMAError ;
-1769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-1771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC4], (uint32_t)pData, (uint32_t)&htim->Instance->
-1772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-1774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-1775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 4 DMA request */
-1777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC4);
-1778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
-1782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Capture compare channel */
-1786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE);
-1787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
-1789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the main output */
-1791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_MOE_ENABLE(htim);
-1792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
-1795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
-1796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
-1798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
-1799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
-1801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-ARM GAS /tmp/ccqsuCX7.s page 33
-
-
-1802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-1804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
-1806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-1809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-1810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-1813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Stops the TIM PWM signal generation in DMA mode.
-1814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM PWM handle
-1815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channels to be disabled
-1816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-1817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-1818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-1819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
-1820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
-1821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-1822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-1823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel)
-1824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-1826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel));
-1827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (Channel)
-1829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_1:
-1831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 1 DMA request */
-1833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1);
-1834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
-1835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_2:
-1839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 2 DMA request */
-1841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2);
-1842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]);
-1843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_3:
-1847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 3 DMA request */
-1849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC3);
-1850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]);
-1851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_4:
-1855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 4 interrupt */
-1857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC4);
-1858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]);
-ARM GAS /tmp/ccqsuCX7.s page 34
-
-
-1859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
-1863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-1864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Capture compare channel */
-1867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE);
-1868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
-1870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Main Output */
-1872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_MOE_DISABLE(htim);
-1873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Peripheral */
-1876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE(htim);
-1877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel state */
-1879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
-1880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-1882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-1883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-1886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @}
-1887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-1888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group4 TIM Input Capture functions
-1890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief TIM Input Capture functions
-1891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** *
-1892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** @verbatim
-1893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ==============================================================================
-1894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ##### TIM Input Capture functions #####
-1895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ==============================================================================
-1896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** [..]
-1897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** This section provides functions allowing to:
-1898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Initialize and configure the TIM Input Capture.
-1899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) De-initialize the TIM Input Capture.
-1900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Start the TIM Input Capture.
-1901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Stop the TIM Input Capture.
-1902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Start the TIM Input Capture and enable interrupt.
-1903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Stop the TIM Input Capture and disable interrupt.
-1904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Start the TIM Input Capture and enable DMA transfer.
-1905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Stop the TIM Input Capture and disable DMA transfer.
-1906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** @endverbatim
-1908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @{
-1909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-1910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-1911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Initializes the TIM Input Capture Time base according to the specified
-1912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * parameters in the TIM_HandleTypeDef and initializes the associated handle.
-1913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @note Switching from Center Aligned counter mode to Edge counter mode (or reverse)
-1914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * requires a timer reset to avoid unexpected direction
-1915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * due to DIR bit readonly in center aligned mode.
-ARM GAS /tmp/ccqsuCX7.s page 35
-
-
-1916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * Ex: call @ref HAL_TIM_IC_DeInit() before HAL_TIM_IC_Init()
-1917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Input Capture handle
-1918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-1919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-1920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_Init(TIM_HandleTypeDef *htim)
-1921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM handle allocation */
-1923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim == NULL)
-1924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-1926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-1929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance));
-1930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode));
-1931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision));
-1932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload));
-1933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_RESET)
-1935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Allocate lock resource and initialize it */
-1937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Lock = HAL_UNLOCKED;
-1938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-1940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset interrupt callbacks to legacy weak callbacks */
-1941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_ResetCallback(htim);
-1942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->IC_MspInitCallback == NULL)
-1944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->IC_MspInitCallback = HAL_TIM_IC_MspInit;
-1946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */
-1948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->IC_MspInitCallback(htim);
-1949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-1950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC and DMA */
-1951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_IC_MspInit(htim);
-1952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-1953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM state */
-1956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY;
-1957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Init the base time for the input capture */
-1959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_Base_SetConfig(htim->Instance, &htim->Init);
-1960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Initialize the DMA burst operation state */
-1962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY;
-1963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Initialize the TIM channels state */
-1965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY);
-1966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY);
-1967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Initialize the TIM state*/
-1969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY;
-1970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-1972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-ARM GAS /tmp/ccqsuCX7.s page 36
-
-
-1973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-1975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief DeInitializes the TIM peripheral
-1976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Input Capture handle
-1977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-1978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-1979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_DeInit(TIM_HandleTypeDef *htim)
-1980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-1982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance));
-1983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY;
-1985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Peripheral Clock */
-1987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE(htim);
-1988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-1989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-1990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->IC_MspDeInitCallback == NULL)
-1991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-1992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->IC_MspDeInitCallback = HAL_TIM_IC_MspDeInit;
-1993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-1994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* DeInit the low level hardware */
-1995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->IC_MspDeInitCallback(htim);
-1996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-1997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC and DMA */
-1998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_IC_MspDeInit(htim);
-1999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-2000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Change the DMA burst operation state */
-2002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_RESET;
-2003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Change the TIM channels state */
-2005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET);
-2006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET);
-2007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Change TIM state */
-2009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_RESET;
-2010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Release Lock */
-2012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_UNLOCK(htim);
-2013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-2015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-2018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Initializes the TIM Input Capture MSP.
-2019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Input Capture handle
-2020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-2021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-2022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __weak void HAL_TIM_IC_MspInit(TIM_HandleTypeDef *htim)
-2023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
-2025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(htim);
-2026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed,
-2028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** the HAL_TIM_IC_MspInit could be implemented in the user file
-2029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-ARM GAS /tmp/ccqsuCX7.s page 37
-
-
-2030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-2033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief DeInitializes TIM Input Capture MSP.
-2034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle
-2035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-2036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-2037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __weak void HAL_TIM_IC_MspDeInit(TIM_HandleTypeDef *htim)
-2038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
-2040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(htim);
-2041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed,
-2043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** the HAL_TIM_IC_MspDeInit could be implemented in the user file
-2044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-2045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-2048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Starts the TIM Input Capture measurement.
-2049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Input Capture handle
-2050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channels to be enabled
-2051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-2052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-2053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-2054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
-2055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
-2056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-2057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-2058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_Start(TIM_HandleTypeDef *htim, uint32_t Channel)
-2059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
-2061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_state = TIM_CHANNEL_STATE_GET(htim, Channel);
-2062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel);
-2063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-2065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel));
-2066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM channel state */
-2068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((channel_state != HAL_TIM_CHANNEL_STATE_READY)
-2069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_state != HAL_TIM_CHANNEL_STATE_READY))
-2070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-2072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel state */
-2075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
-2076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
-2077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Input Capture channel */
-2079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE);
-2080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
-2082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
-2083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
-2085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
-2086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-ARM GAS /tmp/ccqsuCX7.s page 38
-
-
-2087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
-2088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-2091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
-2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-2096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-2097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-2100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Stops the TIM Input Capture measurement.
-2101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Input Capture handle
-2102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channels to be disabled
-2103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-2104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-2105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
-2107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
-2108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-2109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-2110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel)
-2111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-2113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel));
-2114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Input Capture channel */
-2116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE);
-2117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Peripheral */
-2119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE(htim);
-2120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel state */
-2122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
-2123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
-2124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-2126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-2127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-2130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Starts the TIM Input Capture measurement in interrupt mode.
-2131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Input Capture handle
-2132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channels to be enabled
-2133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-2134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-2135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-2136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
-2137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
-2138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-2139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-2140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel)
-2141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
-2143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_state = TIM_CHANNEL_STATE_GET(htim, Channel);
-ARM GAS /tmp/ccqsuCX7.s page 39
-
-
-2144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel);
-2145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-2147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel));
-2148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM channel state */
-2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((channel_state != HAL_TIM_CHANNEL_STATE_READY)
-2151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_state != HAL_TIM_CHANNEL_STATE_READY))
-2152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-2154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel state */
-2157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
-2158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
-2159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (Channel)
-2161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_1:
-2163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 1 interrupt */
-2165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1);
-2166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-2167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_2:
-2170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 2 interrupt */
-2172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2);
-2173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-2174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_3:
-2177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 3 interrupt */
-2179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC3);
-2180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-2181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_4:
-2184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 4 interrupt */
-2186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC4);
-2187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-2188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
-2191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-2192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Input Capture channel */
-2194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE);
-2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
-2197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
-2198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
-2200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
-ARM GAS /tmp/ccqsuCX7.s page 40
-
-
-2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
-2203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
-2208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-2211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-2212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-2215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Stops the TIM Input Capture measurement in interrupt mode.
-2216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Input Capture handle
-2217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channels to be disabled
-2218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-2219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-2220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-2221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
-2222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
-2223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-2224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-2225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel)
-2226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-2228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel));
-2229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (Channel)
-2231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_1:
-2233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 1 interrupt */
-2235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1);
-2236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_2:
-2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 2 interrupt */
-2242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2);
-2243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-2244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_3:
-2247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 3 interrupt */
-2249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC3);
-2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_4:
-2254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 4 interrupt */
-2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC4);
-2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-ARM GAS /tmp/ccqsuCX7.s page 41
-
-
-2258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
-2261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Input Capture channel */
-2265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE);
-2266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Peripheral */
-2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE(htim);
-2269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel state */
-2271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
-2272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
-2273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-2275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-2276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-2279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Starts the TIM Input Capture measurement in DMA mode.
-2280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Input Capture handle
-2281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channels to be enabled
-2282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-2283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-2284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-2285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
-2286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
-2287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param pData The destination Buffer address.
-2288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Length The length of data to be transferred from TIM peripheral to memory.
-2289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-2290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-2291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData,
-2292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
-2294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_state = TIM_CHANNEL_STATE_GET(htim, Channel);
-2295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel);
-2296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-2298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel));
-2299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_DMA_CC_INSTANCE(htim->Instance));
-2300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel state */
-2302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((channel_state == HAL_TIM_CHANNEL_STATE_BUSY)
-2303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_state == HAL_TIM_CHANNEL_STATE_BUSY))
-2304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_BUSY;
-2306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if ((channel_state == HAL_TIM_CHANNEL_STATE_READY)
-2308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** && (complementary_channel_state == HAL_TIM_CHANNEL_STATE_READY))
-2309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((pData == NULL) && (Length > 0U))
-2311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-2313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-ARM GAS /tmp/ccqsuCX7.s page 42
-
-
-2315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
-2317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
-2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-2321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-2323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (Channel)
-2326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_1:
-2328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA capture callbacks */
-2330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMACaptureCplt;
-2331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
-2332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-2334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ;
-2335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-2337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)&htim->Instance->CCR1, (uint32_t)p
-2338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-2340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-2341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 1 DMA request */
-2343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1);
-2344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_2:
-2348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA capture callbacks */
-2350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMACaptureCplt;
-2351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
-2352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAError ;
-2355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-2357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)&htim->Instance->CCR2, (uint32_t)p
-2358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-2360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-2361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 2 DMA request */
-2363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2);
-2364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-2365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_3:
-2368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA capture callbacks */
-2370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMACaptureCplt;
-2371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
-ARM GAS /tmp/ccqsuCX7.s page 43
-
-
-2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-2374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAError ;
-2375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-2377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)&htim->Instance->CCR3, (uint32_t)p
-2378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-2380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-2381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 3 DMA request */
-2383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC3);
-2384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-2385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_4:
-2388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA capture callbacks */
-2390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferCpltCallback = TIM_DMACaptureCplt;
-2391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
-2392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-2394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferErrorCallback = TIM_DMAError ;
-2395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-2397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC4], (uint32_t)&htim->Instance->CCR4, (uint32_t)p
-2398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-2400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-2401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 4 DMA request */
-2403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC4);
-2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-2405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
-2408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-2409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Input Capture channel */
-2412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_ENABLE);
-2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
-2415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
-2416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
-2418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
-2419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
-2421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-2424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
-2426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-ARM GAS /tmp/ccqsuCX7.s page 44
-
-
-2429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-2430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-2433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Stops the TIM Input Capture measurement in DMA mode.
-2434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Input Capture handle
-2435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channels to be disabled
-2436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-2437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-2438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-2439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
-2440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
-2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-2442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-2443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel)
-2444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-2446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel));
-2447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_DMA_CC_INSTANCE(htim->Instance));
-2448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Input Capture channel */
-2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, Channel, TIM_CCx_DISABLE);
-2451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (Channel)
-2453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_1:
-2455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 1 DMA request */
-2457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1);
-2458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
-2459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-2460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_2:
-2463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 2 DMA request */
-2465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2);
-2466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]);
-2467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-2468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_3:
-2471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 3 DMA request */
-2473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC3);
-2474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]);
-2475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-2476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_4:
-2479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 4 DMA request */
-2481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC4);
-2482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]);
-2483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-2484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 45
-
-
-2486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
-2487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-2488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Peripheral */
-2491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE(htim);
-2492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel state */
-2494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
-2495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
-2496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-2498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-2499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-2501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @}
-2502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-2503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group5 TIM One Pulse functions
-2505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief TIM One Pulse functions
-2506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** *
-2507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** @verbatim
-2508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ==============================================================================
-2509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ##### TIM One Pulse functions #####
-2510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ==============================================================================
-2511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** [..]
-2512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** This section provides functions allowing to:
-2513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Initialize and configure the TIM One Pulse.
-2514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) De-initialize the TIM One Pulse.
-2515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Start the TIM One Pulse.
-2516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Stop the TIM One Pulse.
-2517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Start the TIM One Pulse and enable interrupt.
-2518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Stop the TIM One Pulse and disable interrupt.
-2519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Start the TIM One Pulse and enable DMA transfer.
-2520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Stop the TIM One Pulse and disable DMA transfer.
-2521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** @endverbatim
-2523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @{
-2524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-2525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-2526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Initializes the TIM One Pulse Time Base according to the specified
-2527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * parameters in the TIM_HandleTypeDef and initializes the associated handle.
-2528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @note Switching from Center Aligned counter mode to Edge counter mode (or reverse)
-2529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * requires a timer reset to avoid unexpected direction
-2530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * due to DIR bit readonly in center aligned mode.
-2531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * Ex: call @ref HAL_TIM_OnePulse_DeInit() before HAL_TIM_OnePulse_Init()
-2532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @note When the timer instance is initialized in One Pulse mode, timer
-2533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * channels 1 and channel 2 are reserved and cannot be used for other
-2534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * purpose.
-2535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM One Pulse handle
-2536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param OnePulseMode Select the One pulse mode.
-2537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-2538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_OPMODE_SINGLE: Only one pulse will be generated.
-2539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_OPMODE_REPETITIVE: Repetitive pulses will be generated.
-2540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-2541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-2542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OnePulse_Init(TIM_HandleTypeDef *htim, uint32_t OnePulseMode)
-ARM GAS /tmp/ccqsuCX7.s page 46
-
-
-2543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM handle allocation */
-2545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim == NULL)
-2546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-2548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-2551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance));
-2552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode));
-2553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision));
-2554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_OPM_MODE(OnePulseMode));
-2555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload));
-2556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_RESET)
-2558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Allocate lock resource and initialize it */
-2560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Lock = HAL_UNLOCKED;
-2561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-2563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset interrupt callbacks to legacy weak callbacks */
-2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_ResetCallback(htim);
-2565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->OnePulse_MspInitCallback == NULL)
-2567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OnePulse_MspInitCallback = HAL_TIM_OnePulse_MspInit;
-2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */
-2571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OnePulse_MspInitCallback(htim);
-2572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-2573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC and DMA */
-2574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_OnePulse_MspInit(htim);
-2575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-2576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM state */
-2579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY;
-2580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Configure the Time base in the One Pulse Mode */
-2582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_Base_SetConfig(htim->Instance, &htim->Init);
-2583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the OPM Bit */
-2585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CR1 &= ~TIM_CR1_OPM;
-2586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Configure the OPM Mode */
-2588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CR1 |= OnePulseMode;
-2589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Initialize the DMA burst operation state */
-2591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY;
-2592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Initialize the TIM channels state */
-2594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
-2595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
-2596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
-2597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
-2598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Initialize the TIM state*/
-ARM GAS /tmp/ccqsuCX7.s page 47
-
-
-2600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY;
-2601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-2603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-2606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief DeInitializes the TIM One Pulse
-2607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM One Pulse handle
-2608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-2609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-2610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OnePulse_DeInit(TIM_HandleTypeDef *htim)
-2611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-2613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance));
-2614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY;
-2616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Peripheral Clock */
-2618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE(htim);
-2619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-2621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->OnePulse_MspDeInitCallback == NULL)
-2622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OnePulse_MspDeInitCallback = HAL_TIM_OnePulse_MspDeInit;
-2624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* DeInit the low level hardware */
-2626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OnePulse_MspDeInitCallback(htim);
-2627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-2628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC */
-2629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_OnePulse_MspDeInit(htim);
-2630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-2631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Change the DMA burst operation state */
-2633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_RESET;
-2634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel state */
-2636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET);
-2637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET);
-2638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET);
-2639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET);
-2640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Change TIM state */
-2642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_RESET;
-2643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Release Lock */
-2645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_UNLOCK(htim);
-2646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-2648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-2651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Initializes the TIM One Pulse MSP.
-2652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM One Pulse handle
-2653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-2654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-2655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __weak void HAL_TIM_OnePulse_MspInit(TIM_HandleTypeDef *htim)
-2656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-ARM GAS /tmp/ccqsuCX7.s page 48
-
-
-2657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
-2658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(htim);
-2659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed,
-2661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** the HAL_TIM_OnePulse_MspInit could be implemented in the user file
-2662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-2663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-2666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief DeInitializes TIM One Pulse MSP.
-2667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM One Pulse handle
-2668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-2669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-2670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __weak void HAL_TIM_OnePulse_MspDeInit(TIM_HandleTypeDef *htim)
-2671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
-2673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(htim);
-2674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed,
-2676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** the HAL_TIM_OnePulse_MspDeInit could be implemented in the user file
-2677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-2678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-2681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Starts the TIM One Pulse signal generation.
-2682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM One Pulse handle
-2683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param OutputChannel TIM Channels to be enabled
-2684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-2685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-2686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-2687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-2688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-2689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OnePulse_Start(TIM_HandleTypeDef *htim, uint32_t OutputChannel)
-2690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
-2692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
-2693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
-2694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
-2695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
-2697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(OutputChannel);
-2698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM channels state */
-2700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
-2701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
-2702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
-2703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
-2704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-2706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channels state */
-2709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
-2710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
-2711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
-2712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
-2713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 49
-
-
-2714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Capture compare and the Input Capture channels
-2715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (in the OPM Mode the two possible channels that can be used are TIM_CHANNEL_1 and TIM_CHANNEL_2
-2716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if TIM_CHANNEL_1 is used as output, the TIM_CHANNEL_2 will be used as input and
-2717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if TIM_CHANNEL_1 is used as input, the TIM_CHANNEL_2 will be used as output
-2718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** in all combinations, the TIM_CHANNEL_1 and TIM_CHANNEL_2 should be enabled together
-2719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** No need to enable the counter, it's enabled automatically by hardware
-2721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (the counter starts in response to a stimulus and generate a pulse */
-2722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE);
-2724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE);
-2725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
-2727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the main output */
-2729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_MOE_ENABLE(htim);
-2730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-2733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-2734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-2737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Stops the TIM One Pulse signal generation.
-2738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM One Pulse handle
-2739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param OutputChannel TIM Channels to be disable
-2740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-2741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-2742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-2743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-2744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-2745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OnePulse_Stop(TIM_HandleTypeDef *htim, uint32_t OutputChannel)
-2746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
-2748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(OutputChannel);
-2749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Capture compare and the Input Capture channels
-2751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (in the OPM Mode the two possible channels that can be used are TIM_CHANNEL_1 and TIM_CHANNEL_2)
-2752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if TIM_CHANNEL_1 is used as output, the TIM_CHANNEL_2 will be used as input and
-2753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if TIM_CHANNEL_1 is used as input, the TIM_CHANNEL_2 will be used as output
-2754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** in all combinations, the TIM_CHANNEL_1 and TIM_CHANNEL_2 should be disabled together */
-2755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE);
-2757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE);
-2758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
-2760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Main Output */
-2762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_MOE_DISABLE(htim);
-2763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Peripheral */
-2766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE(htim);
-2767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channels state */
-2769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
-2770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
-ARM GAS /tmp/ccqsuCX7.s page 50
-
-
-2771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
-2772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
-2773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-2775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-2776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-2779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Starts the TIM One Pulse signal generation in interrupt mode.
-2780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM One Pulse handle
-2781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param OutputChannel TIM Channels to be enabled
-2782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-2783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-2784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-2785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-2786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-2787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OnePulse_Start_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel)
-2788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
-2790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
-2791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
-2792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
-2793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
-2795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(OutputChannel);
-2796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM channels state */
-2798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
-2799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
-2800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
-2801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
-2802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-2804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channels state */
-2807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
-2808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
-2809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
-2810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
-2811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Capture compare and the Input Capture channels
-2813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (in the OPM Mode the two possible channels that can be used are TIM_CHANNEL_1 and TIM_CHANNEL_2
-2814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if TIM_CHANNEL_1 is used as output, the TIM_CHANNEL_2 will be used as input and
-2815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if TIM_CHANNEL_1 is used as input, the TIM_CHANNEL_2 will be used as output
-2816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** in all combinations, the TIM_CHANNEL_1 and TIM_CHANNEL_2 should be enabled together
-2817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** No need to enable the counter, it's enabled automatically by hardware
-2819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (the counter starts in response to a stimulus and generate a pulse */
-2820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 1 interrupt */
-2822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1);
-2823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Capture/Compare 2 interrupt */
-2825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2);
-2826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE);
-ARM GAS /tmp/ccqsuCX7.s page 51
-
-
-2828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE);
-2829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
-2831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the main output */
-2833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_MOE_ENABLE(htim);
-2834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-2837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-2838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-2841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Stops the TIM One Pulse signal generation in interrupt mode.
-2842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM One Pulse handle
-2843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param OutputChannel TIM Channels to be enabled
-2844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-2845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-2846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-2847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-2848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-2849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OnePulse_Stop_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel)
-2850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
-2852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(OutputChannel);
-2853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 1 interrupt */
-2855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1);
-2856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Capture/Compare 2 interrupt */
-2858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2);
-2859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Capture compare and the Input Capture channels
-2861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (in the OPM Mode the two possible channels that can be used are TIM_CHANNEL_1 and TIM_CHANNEL_2)
-2862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if TIM_CHANNEL_1 is used as output, the TIM_CHANNEL_2 will be used as input and
-2863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if TIM_CHANNEL_1 is used as input, the TIM_CHANNEL_2 will be used as output
-2864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** in all combinations, the TIM_CHANNEL_1 and TIM_CHANNEL_2 should be disabled together */
-2865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE);
-2866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE);
-2867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(htim->Instance) != RESET)
-2869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Main Output */
-2871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_MOE_DISABLE(htim);
-2872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Peripheral */
-2875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE(htim);
-2876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channels state */
-2878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
-2879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
-2880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
-2881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
-2882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-2884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-ARM GAS /tmp/ccqsuCX7.s page 52
-
-
-2885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-2888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @}
-2889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-2890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group6 TIM Encoder functions
-2892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief TIM Encoder functions
-2893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** *
-2894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** @verbatim
-2895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ==============================================================================
-2896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ##### TIM Encoder functions #####
-2897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ==============================================================================
-2898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** [..]
-2899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** This section provides functions allowing to:
-2900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Initialize and configure the TIM Encoder.
-2901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) De-initialize the TIM Encoder.
-2902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Start the TIM Encoder.
-2903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Stop the TIM Encoder.
-2904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Start the TIM Encoder and enable interrupt.
-2905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Stop the TIM Encoder and disable interrupt.
-2906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Start the TIM Encoder and enable DMA transfer.
-2907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Stop the TIM Encoder and disable DMA transfer.
-2908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** @endverbatim
-2910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @{
-2911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-2912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-2913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Initializes the TIM Encoder Interface and initialize the associated handle.
-2914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @note Switching from Center Aligned counter mode to Edge counter mode (or reverse)
-2915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * requires a timer reset to avoid unexpected direction
-2916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * due to DIR bit readonly in center aligned mode.
-2917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * Ex: call @ref HAL_TIM_Encoder_DeInit() before HAL_TIM_Encoder_Init()
-2918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @note Encoder mode and External clock mode 2 are not compatible and must not be selected toge
-2919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * Ex: A call for @ref HAL_TIM_Encoder_Init will erase the settings of @ref HAL_TIM_Config
-2920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * using TIM_CLOCKSOURCE_ETRMODE2 and vice versa
-2921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @note When the timer instance is initialized in Encoder mode, timer
-2922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * channels 1 and channel 2 are reserved and cannot be used for other
-2923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * purpose.
-2924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Encoder Interface handle
-2925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param sConfig TIM Encoder Interface configuration structure
-2926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-2927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-2928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Encoder_Init(TIM_HandleTypeDef *htim, TIM_Encoder_InitTypeDef *sConfig)
-2929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
-2931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccmr1;
-2932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccer;
-2933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM handle allocation */
-2935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim == NULL)
-2936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-2938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-2941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance));
-ARM GAS /tmp/ccqsuCX7.s page 53
-
-
-2942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode));
-2943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision));
-2944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload));
-2945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_MODE(sConfig->EncoderMode));
-2946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_IC_SELECTION(sConfig->IC1Selection));
-2947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_IC_SELECTION(sConfig->IC2Selection));
-2948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_ENCODERINPUT_POLARITY(sConfig->IC1Polarity));
-2949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_ENCODERINPUT_POLARITY(sConfig->IC2Polarity));
-2950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->IC1Prescaler));
-2951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->IC2Prescaler));
-2952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_IC_FILTER(sConfig->IC1Filter));
-2953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_IC_FILTER(sConfig->IC2Filter));
-2954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_RESET)
-2956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Allocate lock resource and initialize it */
-2958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Lock = HAL_UNLOCKED;
-2959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-2961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset interrupt callbacks to legacy weak callbacks */
-2962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_ResetCallback(htim);
-2963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->Encoder_MspInitCallback == NULL)
-2965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-2966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Encoder_MspInitCallback = HAL_TIM_Encoder_MspInit;
-2967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */
-2969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Encoder_MspInitCallback(htim);
-2970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-2971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC and DMA */
-2972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_Encoder_MspInit(htim);
-2973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-2974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-2975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM state */
-2977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY;
-2978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the SMS and ECE bits */
-2980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->SMCR &= ~(TIM_SMCR_SMS | TIM_SMCR_ECE);
-2981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Configure the Time base in the Encoder Mode */
-2983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_Base_SetConfig(htim->Instance, &htim->Init);
-2984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Get the TIMx SMCR register value */
-2986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR;
-2987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Get the TIMx CCMR1 register value */
-2989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 = htim->Instance->CCMR1;
-2990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Get the TIMx CCER register value */
-2992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer = htim->Instance->CCER;
-2993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the encoder Mode */
-2995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr |= sConfig->EncoderMode;
-2996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-2997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Select the Capture Compare 1 and the Capture Compare 2 as input */
-2998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 &= ~(TIM_CCMR1_CC1S | TIM_CCMR1_CC2S);
-ARM GAS /tmp/ccqsuCX7.s page 54
-
-
-2999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Selection | (sConfig->IC2Selection << 8U));
-3000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Capture Compare 1 and the Capture Compare 2 prescalers and filters */
-3002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 &= ~(TIM_CCMR1_IC1PSC | TIM_CCMR1_IC2PSC);
-3003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 &= ~(TIM_CCMR1_IC1F | TIM_CCMR1_IC2F);
-3004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 |= sConfig->IC1Prescaler | (sConfig->IC2Prescaler << 8U);
-3005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Filter << 4U) | (sConfig->IC2Filter << 12U);
-3006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TI1 and the TI2 Polarities */
-3008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC1P | TIM_CCER_CC2P);
-3009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer |= sConfig->IC1Polarity | (sConfig->IC2Polarity << 4U);
-3010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx SMCR */
-3012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->SMCR = tmpsmcr;
-3013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx CCMR1 */
-3015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR1 = tmpccmr1;
-3016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx CCER */
-3018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCER = tmpccer;
-3019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Initialize the DMA burst operation state */
-3021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY;
-3022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channels state */
-3024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
-3025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
-3026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
-3027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
-3028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Initialize the TIM state*/
-3030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY;
-3031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-3033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-3037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief DeInitializes the TIM Encoder interface
-3038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Encoder Interface handle
-3039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-3040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-3041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Encoder_DeInit(TIM_HandleTypeDef *htim)
-3042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-3044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance));
-3045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY;
-3047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Peripheral Clock */
-3049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE(htim);
-3050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-3052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->Encoder_MspDeInitCallback == NULL)
-3053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Encoder_MspDeInitCallback = HAL_TIM_Encoder_MspDeInit;
-3055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-ARM GAS /tmp/ccqsuCX7.s page 55
-
-
-3056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* DeInit the low level hardware */
-3057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Encoder_MspDeInitCallback(htim);
-3058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-3059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC */
-3060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_Encoder_MspDeInit(htim);
-3061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-3062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Change the DMA burst operation state */
-3064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_RESET;
-3065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channels state */
-3067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET);
-3068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET);
-3069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET);
-3070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET);
-3071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Change TIM state */
-3073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_RESET;
-3074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Release Lock */
-3076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_UNLOCK(htim);
-3077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-3079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-3082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Initializes the TIM Encoder Interface MSP.
-3083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Encoder Interface handle
-3084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-3085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-3086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __weak void HAL_TIM_Encoder_MspInit(TIM_HandleTypeDef *htim)
-3087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
-3089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(htim);
-3090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed,
-3092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** the HAL_TIM_Encoder_MspInit could be implemented in the user file
-3093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-3094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-3097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief DeInitializes TIM Encoder Interface MSP.
-3098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Encoder Interface handle
-3099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-3100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-3101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __weak void HAL_TIM_Encoder_MspDeInit(TIM_HandleTypeDef *htim)
-3102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
-3104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(htim);
-3105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed,
-3107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** the HAL_TIM_Encoder_MspDeInit could be implemented in the user file
-3108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-3109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-3112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Starts the TIM Encoder Interface.
-ARM GAS /tmp/ccqsuCX7.s page 56
-
-
-3113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Encoder Interface handle
-3114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channels to be enabled
-3115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-3116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-3117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-3118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_ALL: TIM Channel 1 and TIM Channel 2 are selected
-3119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-3120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-3121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Encoder_Start(TIM_HandleTypeDef *htim, uint32_t Channel)
-3122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
-3124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
-3125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
-3126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
-3127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-3129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance));
-3130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel(s) state */
-3132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (Channel == TIM_CHANNEL_1)
-3133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
-3135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY))
-3136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-3138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-3140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
-3142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
-3143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (Channel == TIM_CHANNEL_2)
-3146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
-3148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
-3149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-3151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-3153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
-3155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
-3156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-3159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
-3161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
-3162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
-3163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
-3164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-3166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-3168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
-ARM GAS /tmp/ccqsuCX7.s page 57
-
-
-3170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
-3171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
-3172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
-3173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the encoder interface channels */
-3177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (Channel)
-3178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_1:
-3180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE);
-3182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-3183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_2:
-3186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE);
-3188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-3189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default :
-3192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE);
-3194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE);
-3195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-3196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Peripheral */
-3199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
-3200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-3202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-3203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-3206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Stops the TIM Encoder Interface.
-3207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Encoder Interface handle
-3208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channels to be disabled
-3209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-3210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-3211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-3212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_ALL: TIM Channel 1 and TIM Channel 2 are selected
-3213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-3214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-3215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Encoder_Stop(TIM_HandleTypeDef *htim, uint32_t Channel)
-3216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-3218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance));
-3219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Input Capture channels 1 and 2
-3221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (in the EncoderInterface the two possible channels that can be used are TIM_CHANNEL_1 and TIM_C
-3222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (Channel)
-3223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_1:
-3225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE);
-ARM GAS /tmp/ccqsuCX7.s page 58
-
-
-3227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-3228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_2:
-3231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE);
-3233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-3234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default :
-3237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE);
-3239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE);
-3240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-3241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Peripheral */
-3245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE(htim);
-3246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel(s) state */
-3248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((Channel == TIM_CHANNEL_1) || (Channel == TIM_CHANNEL_2))
-3249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
-3251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
-3252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-3254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
-3256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
-3257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
-3258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
-3259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-3262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-3263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-3266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Starts the TIM Encoder Interface in interrupt mode.
-3267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Encoder Interface handle
-3268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channels to be enabled
-3269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-3270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-3271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-3272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_ALL: TIM Channel 1 and TIM Channel 2 are selected
-3273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-3274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-3275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Encoder_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel)
-3276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
-3278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
-3279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
-3280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
-3281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-3283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance));
-ARM GAS /tmp/ccqsuCX7.s page 59
-
-
-3284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel(s) state */
-3286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (Channel == TIM_CHANNEL_1)
-3287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
-3289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY))
-3290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-3292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-3294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
-3296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
-3297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (Channel == TIM_CHANNEL_2)
-3300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
-3302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
-3303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-3305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-3307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
-3309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
-3310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-3313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
-3315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
-3316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
-3317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
-3318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-3320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-3322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
-3324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
-3325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
-3326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
-3327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the encoder interface channels */
-3331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the capture compare Interrupts 1 and/or 2 */
-3332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (Channel)
-3333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_1:
-3335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE);
-3337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1);
-3338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-3339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 60
-
-
-3341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_2:
-3342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE);
-3344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2);
-3345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-3346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default :
-3349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE);
-3351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE);
-3352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1);
-3353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2);
-3354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-3355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Peripheral */
-3359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
-3360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-3362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-3363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-3366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Stops the TIM Encoder Interface in interrupt mode.
-3367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Encoder Interface handle
-3368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channels to be disabled
-3369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-3370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-3371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-3372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_ALL: TIM Channel 1 and TIM Channel 2 are selected
-3373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-3374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-3375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Encoder_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel)
-3376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-3378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance));
-3379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Input Capture channels 1 and 2
-3381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (in the EncoderInterface the two possible channels that can be used are TIM_CHANNEL_1 and TIM_C
-3382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (Channel == TIM_CHANNEL_1)
-3383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE);
-3385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the capture compare Interrupts 1 */
-3387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1);
-3388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (Channel == TIM_CHANNEL_2)
-3390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE);
-3392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the capture compare Interrupts 2 */
-3394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2);
-3395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-3397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-ARM GAS /tmp/ccqsuCX7.s page 61
-
-
-3398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE);
-3399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE);
-3400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the capture compare Interrupts 1 and 2 */
-3402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1);
-3403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2);
-3404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Peripheral */
-3407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE(htim);
-3408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel(s) state */
-3410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((Channel == TIM_CHANNEL_1) || (Channel == TIM_CHANNEL_2))
-3411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
-3413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
-3414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-3416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
-3418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
-3419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
-3420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
-3421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-3424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-3425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-3428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Starts the TIM Encoder Interface in DMA mode.
-3429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Encoder Interface handle
-3430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channels to be enabled
-3431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-3432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-3433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-3434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_ALL: TIM Channel 1 and TIM Channel 2 are selected
-3435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param pData1 The destination Buffer address for IC1.
-3436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param pData2 The destination Buffer address for IC2.
-3437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Length The length of data to be transferred from TIM peripheral to memory.
-3438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-3439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-3440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Encoder_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pD
-3441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t *pData2, uint16_t Length)
-3442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
-3444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
-3445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
-3446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
-3447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-3449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance));
-3450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel(s) state */
-3452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (Channel == TIM_CHANNEL_1)
-3453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY)
-ARM GAS /tmp/ccqsuCX7.s page 62
-
-
-3455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY))
-3456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_BUSY;
-3458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if ((channel_1_state == HAL_TIM_CHANNEL_STATE_READY)
-3460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY))
-3461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((pData1 == NULL) && (Length > 0U))
-3463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-3465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-3467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
-3469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
-3470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-3473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-3475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (Channel == TIM_CHANNEL_2)
-3478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY)
-3480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY))
-3481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_BUSY;
-3483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if ((channel_2_state == HAL_TIM_CHANNEL_STATE_READY)
-3485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** && (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_READY))
-3486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((pData2 == NULL) && (Length > 0U))
-3488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-3490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-3492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
-3494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
-3495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-3498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-3500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-3503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY)
-3505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY)
-3506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY)
-3507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY))
-3508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_BUSY;
-3510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if ((channel_1_state == HAL_TIM_CHANNEL_STATE_READY)
-ARM GAS /tmp/ccqsuCX7.s page 63
-
-
-3512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** && (channel_2_state == HAL_TIM_CHANNEL_STATE_READY)
-3513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY)
-3514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** && (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_READY))
-3515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((((pData1 == NULL) || (pData2 == NULL))) && (Length > 0U))
-3517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-3519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-3521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
-3523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
-3524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
-3525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
-3526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-3529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-3531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (Channel)
-3535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_1:
-3537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA capture callbacks */
-3539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMACaptureCplt;
-3540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
-3541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-3543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ;
-3544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-3546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)&htim->Instance->CCR1, (uint32_t)p
-3547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-3549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-3550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Input Capture DMA request */
-3552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1);
-3553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Peripheral */
-3555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
-3556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Capture compare channel */
-3558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE);
-3559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-3560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_2:
-3563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA capture callbacks */
-3565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMACaptureCplt;
-3566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
-3567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-ARM GAS /tmp/ccqsuCX7.s page 64
-
-
-3569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAError;
-3570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-3571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)&htim->Instance->CCR2, (uint32_t)p
-3572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-3574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-3575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Input Capture DMA request */
-3577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2);
-3578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Peripheral */
-3580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
-3581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Capture compare channel */
-3583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE);
-3584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-3585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_ALL:
-3588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA capture callbacks */
-3590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMACaptureCplt;
-3591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
-3592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-3594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ;
-3595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-3597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)&htim->Instance->CCR1, (uint32_t)p
-3598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-3600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-3601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA capture callbacks */
-3604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMACaptureCplt;
-3605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
-3606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-3608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAError ;
-3609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-3611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)&htim->Instance->CCR2, (uint32_t)p
-3612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-3614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-3615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Peripheral */
-3617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE(htim);
-3618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the Capture compare channel */
-3620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE);
-3621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE);
-3622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Input Capture DMA request */
-3624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1);
-3625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Input Capture DMA request */
-ARM GAS /tmp/ccqsuCX7.s page 65
-
-
-3626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2);
-3627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-3628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
-3631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-3632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-3635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-3636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-3639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Stops the TIM Encoder Interface in DMA mode.
-3640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Encoder Interface handle
-3641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channels to be enabled
-3642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-3643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-3644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-3645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_ALL: TIM Channel 1 and TIM Channel 2 are selected
-3646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-3647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-3648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_Encoder_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel)
-3649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-3651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_ENCODER_INTERFACE_INSTANCE(htim->Instance));
-3652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Input Capture channels 1 and 2
-3654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (in the EncoderInterface the two possible channels that can be used are TIM_CHANNEL_1 and TIM_C
-3655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (Channel == TIM_CHANNEL_1)
-3656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE);
-3658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the capture compare DMA Request 1 */
-3660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1);
-3661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
-3662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (Channel == TIM_CHANNEL_2)
-3664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE);
-3666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the capture compare DMA Request 2 */
-3668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2);
-3669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]);
-3670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-3672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE);
-3674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE);
-3675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the capture compare DMA Request 1 and 2 */
-3677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1);
-3678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2);
-3679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
-3680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]);
-3681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 66
-
-
-3683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Peripheral */
-3684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE(htim);
-3685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TIM channel(s) state */
-3687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((Channel == TIM_CHANNEL_1) || (Channel == TIM_CHANNEL_2))
-3688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
-3690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
-3691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-3693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
-3695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
-3696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
-3697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
-3698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-3701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-3702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-3705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @}
-3706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-3707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group7 TIM IRQ handler management
-3708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief TIM IRQ handler management
-3709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** *
-3710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** @verbatim
-3711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ==============================================================================
-3712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ##### IRQ handler management #####
-3713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ==============================================================================
-3714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** [..]
-3715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** This section provides Timer IRQ handler function.
-3716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** @endverbatim
-3718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @{
-3719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-3720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-3721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief This function handles TIM interrupts requests.
-3722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle
-3723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-3724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-3725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** void HAL_TIM_IRQHandler(TIM_HandleTypeDef *htim)
-3726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Capture compare 1 event */
-3728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC1) != RESET)
-3729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC1) != RESET)
-3731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC1);
-3734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1;
-3735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Input capture event */
-3737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((htim->Instance->CCMR1 & TIM_CCMR1_CC1S) != 0x00U)
-3738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-ARM GAS /tmp/ccqsuCX7.s page 67
-
-
-3740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->IC_CaptureCallback(htim);
-3741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-3742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_IC_CaptureCallback(htim);
-3743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-3744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Output compare event */
-3746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-3747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-3749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OC_DelayElapsedCallback(htim);
-3750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PWM_PulseFinishedCallback(htim);
-3751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-3752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_OC_DelayElapsedCallback(htim);
-3753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim);
-3754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-3755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED;
-3757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Capture compare 2 event */
-3761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC2) != RESET)
-3762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC2) != RESET)
-3764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC2);
-3766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2;
-3767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Input capture event */
-3768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((htim->Instance->CCMR1 & TIM_CCMR1_CC2S) != 0x00U)
-3769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-3771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->IC_CaptureCallback(htim);
-3772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-3773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_IC_CaptureCallback(htim);
-3774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-3775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Output compare event */
-3777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-3778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-3780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OC_DelayElapsedCallback(htim);
-3781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PWM_PulseFinishedCallback(htim);
-3782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-3783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_OC_DelayElapsedCallback(htim);
-3784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim);
-3785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-3786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED;
-3788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Capture compare 3 event */
-3791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC3) != RESET)
-3792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC3) != RESET)
-3794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC3);
-3796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3;
-ARM GAS /tmp/ccqsuCX7.s page 68
-
-
-3797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Input capture event */
-3798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((htim->Instance->CCMR2 & TIM_CCMR2_CC3S) != 0x00U)
-3799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-3801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->IC_CaptureCallback(htim);
-3802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-3803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_IC_CaptureCallback(htim);
-3804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-3805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Output compare event */
-3807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-3808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-3810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OC_DelayElapsedCallback(htim);
-3811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PWM_PulseFinishedCallback(htim);
-3812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-3813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_OC_DelayElapsedCallback(htim);
-3814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim);
-3815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-3816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED;
-3818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Capture compare 4 event */
-3821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC4) != RESET)
-3822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC4) != RESET)
-3824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC4);
-3826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4;
-3827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Input capture event */
-3828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((htim->Instance->CCMR2 & TIM_CCMR2_CC4S) != 0x00U)
-3829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-3831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->IC_CaptureCallback(htim);
-3832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-3833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_IC_CaptureCallback(htim);
-3834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-3835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Output compare event */
-3837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-3838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-3840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OC_DelayElapsedCallback(htim);
-3841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PWM_PulseFinishedCallback(htim);
-3842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-3843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_OC_DelayElapsedCallback(htim);
-3844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim);
-3845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-3846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED;
-3848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* TIM Update event */
-3851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_UPDATE) != RESET)
-3852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_UPDATE) != RESET)
-ARM GAS /tmp/ccqsuCX7.s page 69
-
-
-3854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_CLEAR_IT(htim, TIM_IT_UPDATE);
-3856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-3857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PeriodElapsedCallback(htim);
-3858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-3859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_PeriodElapsedCallback(htim);
-3860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-3861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* TIM Break input event */
-3864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_BREAK) != RESET)
-3865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_BREAK) != RESET)
-3867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_CLEAR_IT(htim, TIM_IT_BREAK);
-3869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-3870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->BreakCallback(htim);
-3871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-3872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIMEx_BreakCallback(htim);
-3873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-3874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* TIM Trigger detection event */
-3877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_TRIGGER) != RESET)
-3878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_TRIGGER) != RESET)
-3880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_CLEAR_IT(htim, TIM_IT_TRIGGER);
-3882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-3883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->TriggerCallback(htim);
-3884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-3885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_TriggerCallback(htim);
-3886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-3887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* TIM commutation event */
-3890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_COM) != RESET)
-3891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_COM) != RESET)
-3893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_CLEAR_IT(htim, TIM_FLAG_COM);
-3895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-3896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->CommutationCallback(htim);
-3897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-3898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIMEx_CommutCallback(htim);
-3899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-3900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-3905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @}
-3906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-3907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group8 TIM Peripheral Control functions
-3909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief TIM Peripheral Control functions
-3910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** *
-ARM GAS /tmp/ccqsuCX7.s page 70
-
-
-3911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** @verbatim
-3912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ==============================================================================
-3913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ##### Peripheral Control functions #####
-3914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ==============================================================================
-3915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** [..]
-3916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** This section provides functions allowing to:
-3917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Configure The Input Output channels for OC, PWM, IC or One Pulse mode.
-3918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Configure External Clock source.
-3919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Configure Complementary channels, break features and dead time.
-3920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Configure Master and the Slave synchronization.
-3921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) Configure the DMA Burst Mode.
-3922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** @endverbatim
-3924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @{
-3925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-3926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-3928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Initializes the TIM Output Compare Channels according to the specified
-3929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * parameters in the TIM_OC_InitTypeDef.
-3930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Output Compare handle
-3931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param sConfig TIM Output Compare configuration structure
-3932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channels to configure
-3933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-3934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-3935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-3936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
-3937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
-3938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-3939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-3940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OC_ConfigChannel(TIM_HandleTypeDef *htim,
-3941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_OC_InitTypeDef *sConfig,
-3942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t Channel)
-3943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-3945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CHANNELS(Channel));
-3946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_OC_MODE(sConfig->OCMode));
-3947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_OC_POLARITY(sConfig->OCPolarity));
-3948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Process Locked */
-3950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_LOCK(htim);
-3951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (Channel)
-3953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_1:
-3955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-3957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(htim->Instance));
-3958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Configure the TIM Channel 1 in Output Compare */
-3960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_OC1_SetConfig(htim->Instance, sConfig);
-3961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-3962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_2:
-3965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-3967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC2_INSTANCE(htim->Instance));
-ARM GAS /tmp/ccqsuCX7.s page 71
-
-
-3968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Configure the TIM Channel 2 in Output Compare */
-3970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_OC2_SetConfig(htim->Instance, sConfig);
-3971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-3972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_3:
-3975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-3977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC3_INSTANCE(htim->Instance));
-3978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Configure the TIM Channel 3 in Output Compare */
-3980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_OC3_SetConfig(htim->Instance, sConfig);
-3981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-3982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_4:
-3985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-3986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-3987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC4_INSTANCE(htim->Instance));
-3988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Configure the TIM Channel 4 in Output Compare */
-3990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_OC4_SetConfig(htim->Instance, sConfig);
-3991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-3992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
-3995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-3996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-3997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-3998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_UNLOCK(htim);
-3999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-4001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-4004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Initializes the TIM Input Capture Channels according to the specified
-4005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * parameters in the TIM_IC_InitTypeDef.
-4006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM IC handle
-4007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param sConfig TIM Input Capture configuration structure
-4008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channel to configure
-4009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-4010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-4011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-4012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
-4013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
-4014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-4015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-4016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_IC_ConfigChannel(TIM_HandleTypeDef *htim, TIM_IC_InitTypeDef *sConfig, ui
-4017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-4019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(htim->Instance));
-4020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_IC_POLARITY(sConfig->ICPolarity));
-4021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_IC_SELECTION(sConfig->ICSelection));
-4022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->ICPrescaler));
-4023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_IC_FILTER(sConfig->ICFilter));
-4024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 72
-
-
-4025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Process Locked */
-4026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_LOCK(htim);
-4027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (Channel == TIM_CHANNEL_1)
-4029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* TI1 Configuration */
-4031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_TI1_SetConfig(htim->Instance,
-4032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sConfig->ICPolarity,
-4033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sConfig->ICSelection,
-4034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sConfig->ICFilter);
-4035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the IC1PSC Bits */
-4037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR1 &= ~TIM_CCMR1_IC1PSC;
-4038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the IC1PSC value */
-4040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->ICPrescaler;
-4041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (Channel == TIM_CHANNEL_2)
-4043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* TI2 Configuration */
-4045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC2_INSTANCE(htim->Instance));
-4046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_TI2_SetConfig(htim->Instance,
-4048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sConfig->ICPolarity,
-4049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sConfig->ICSelection,
-4050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sConfig->ICFilter);
-4051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the IC2PSC Bits */
-4053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR1 &= ~TIM_CCMR1_IC2PSC;
-4054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the IC2PSC value */
-4056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR1 |= (sConfig->ICPrescaler << 8U);
-4057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (Channel == TIM_CHANNEL_3)
-4059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* TI3 Configuration */
-4061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC3_INSTANCE(htim->Instance));
-4062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_TI3_SetConfig(htim->Instance,
-4064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sConfig->ICPolarity,
-4065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sConfig->ICSelection,
-4066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sConfig->ICFilter);
-4067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the IC3PSC Bits */
-4069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR2 &= ~TIM_CCMR2_IC3PSC;
-4070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the IC3PSC value */
-4072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->ICPrescaler;
-4073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-4075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* TI4 Configuration */
-4077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC4_INSTANCE(htim->Instance));
-4078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_TI4_SetConfig(htim->Instance,
-4080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sConfig->ICPolarity,
-4081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sConfig->ICSelection,
-ARM GAS /tmp/ccqsuCX7.s page 73
-
-
-4082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sConfig->ICFilter);
-4083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the IC4PSC Bits */
-4085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR2 &= ~TIM_CCMR2_IC4PSC;
-4086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the IC4PSC value */
-4088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR2 |= (sConfig->ICPrescaler << 8U);
-4089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_UNLOCK(htim);
-4092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-4094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-4097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Initializes the TIM PWM channels according to the specified
-4098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * parameters in the TIM_OC_InitTypeDef.
-4099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM PWM handle
-4100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param sConfig TIM PWM configuration structure
-4101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channels to be configured
-4102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-4103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-4104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-4105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
-4106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
-4107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-4108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-4109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_PWM_ConfigChannel(TIM_HandleTypeDef *htim,
-4110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_OC_InitTypeDef *sConfig,
-4111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t Channel)
-4112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-4114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CHANNELS(Channel));
-4115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_PWM_MODE(sConfig->OCMode));
-4116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_OC_POLARITY(sConfig->OCPolarity));
-4117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_FAST_STATE(sConfig->OCFastMode));
-4118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Process Locked */
-4120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_LOCK(htim);
-4121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (Channel)
-4123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_1:
-4125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-4127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(htim->Instance));
-4128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Configure the Channel 1 in PWM mode */
-4130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_OC1_SetConfig(htim->Instance, sConfig);
-4131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Preload enable bit for channel1 */
-4133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR1 |= TIM_CCMR1_OC1PE;
-4134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Configure the Output Fast mode */
-4136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR1 &= ~TIM_CCMR1_OC1FE;
-4137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode;
-4138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-ARM GAS /tmp/ccqsuCX7.s page 74
-
-
-4139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_2:
-4142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-4144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC2_INSTANCE(htim->Instance));
-4145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Configure the Channel 2 in PWM mode */
-4147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_OC2_SetConfig(htim->Instance, sConfig);
-4148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Preload enable bit for channel2 */
-4150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR1 |= TIM_CCMR1_OC2PE;
-4151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Configure the Output Fast mode */
-4153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR1 &= ~TIM_CCMR1_OC2FE;
-4154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode << 8U;
-4155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_3:
-4159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-4161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC3_INSTANCE(htim->Instance));
-4162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Configure the Channel 3 in PWM mode */
-4164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_OC3_SetConfig(htim->Instance, sConfig);
-4165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Preload enable bit for channel3 */
-4167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR2 |= TIM_CCMR2_OC3PE;
-4168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Configure the Output Fast mode */
-4170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR2 &= ~TIM_CCMR2_OC3FE;
-4171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode;
-4172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_4:
-4176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-4178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC4_INSTANCE(htim->Instance));
-4179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Configure the Channel 4 in PWM mode */
-4181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_OC4_SetConfig(htim->Instance, sConfig);
-4182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Preload enable bit for channel4 */
-4184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR2 |= TIM_CCMR2_OC4PE;
-4185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Configure the Output Fast mode */
-4187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR2 &= ~TIM_CCMR2_OC4FE;
-4188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode << 8U;
-4189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
-4193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 75
-
-
-4196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_UNLOCK(htim);
-4197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-4199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-4202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Initializes the TIM One Pulse Channels according to the specified
-4203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * parameters in the TIM_OnePulse_InitTypeDef.
-4204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM One Pulse handle
-4205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param sConfig TIM One Pulse configuration structure
-4206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param OutputChannel TIM output channel to configure
-4207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-4208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-4209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-4210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param InputChannel TIM input Channel to configure
-4211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-4212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-4213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-4214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @note To output a waveform with a minimum delay user can enable the fast
-4215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * mode by calling the @ref __HAL_TIM_ENABLE_OCxFAST macro. Then CCx
-4216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * output is forced in response to the edge detection on TIx input,
-4217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * without taking in account the comparison.
-4218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-4219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-4220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_OnePulse_ConfigChannel(TIM_HandleTypeDef *htim, TIM_OnePulse_InitTypeDef
-4221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t OutputChannel, uint32_t InputChannel)
-4222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_OC_InitTypeDef temp1;
-4224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-4226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_OPM_CHANNELS(OutputChannel));
-4227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_OPM_CHANNELS(InputChannel));
-4228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (OutputChannel != InputChannel)
-4230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Process Locked */
-4232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_LOCK(htim);
-4233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY;
-4235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Extract the Output compare configuration from sConfig structure */
-4237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** temp1.OCMode = sConfig->OCMode;
-4238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** temp1.Pulse = sConfig->Pulse;
-4239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** temp1.OCPolarity = sConfig->OCPolarity;
-4240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** temp1.OCNPolarity = sConfig->OCNPolarity;
-4241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** temp1.OCIdleState = sConfig->OCIdleState;
-4242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** temp1.OCNIdleState = sConfig->OCNIdleState;
-4243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (OutputChannel)
-4245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_1:
-4247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(htim->Instance));
-4249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_OC1_SetConfig(htim->Instance, &temp1);
-4251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-ARM GAS /tmp/ccqsuCX7.s page 76
-
-
-4253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_2:
-4254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC2_INSTANCE(htim->Instance));
-4256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_OC2_SetConfig(htim->Instance, &temp1);
-4258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
-4261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (InputChannel)
-4265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_1:
-4267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(htim->Instance));
-4269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_TI1_SetConfig(htim->Instance, sConfig->ICPolarity,
-4271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sConfig->ICSelection, sConfig->ICFilter);
-4272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the IC1PSC Bits */
-4274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR1 &= ~TIM_CCMR1_IC1PSC;
-4275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Select the Trigger source */
-4277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS;
-4278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI1FP1;
-4279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Select the Slave Mode */
-4281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->SMCR &= ~TIM_SMCR_SMS;
-4282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER;
-4283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_2:
-4286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC2_INSTANCE(htim->Instance));
-4288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_TI2_SetConfig(htim->Instance, sConfig->ICPolarity,
-4290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sConfig->ICSelection, sConfig->ICFilter);
-4291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the IC2PSC Bits */
-4293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR1 &= ~TIM_CCMR1_IC2PSC;
-4294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Select the Trigger source */
-4296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS;
-4297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI2FP2;
-4298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Select the Slave Mode */
-4300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->SMCR &= ~TIM_SMCR_SMS;
-4301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER;
-4302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
-4306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY;
-ARM GAS /tmp/ccqsuCX7.s page 77
-
-
-4310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_UNLOCK(htim);
-4312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-4314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-4316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-4318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-4322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Configure the DMA Burst to transfer Data from the memory to the TIM peripheral
-4323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle
-4324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param BurstBaseAddress TIM Base address from where the DMA will start the Data write
-4325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-4326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CR1
-4327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CR2
-4328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_SMCR
-4329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_DIER
-4330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_SR
-4331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_EGR
-4332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR1
-4333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR2
-4334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCER
-4335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CNT
-4336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_PSC
-4337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_ARR
-4338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_RCR
-4339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCR1
-4340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCR2
-4341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCR3
-4342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCR4
-4343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_BDTR
-4344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param BurstRequestSrc TIM DMA Request sources
-4345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-4346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_UPDATE: TIM update Interrupt source
-4347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_CC1: TIM Capture Compare 1 DMA source
-4348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_CC2: TIM Capture Compare 2 DMA source
-4349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_CC3: TIM Capture Compare 3 DMA source
-4350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_CC4: TIM Capture Compare 4 DMA source
-4351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_COM: TIM Commutation DMA source
-4352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_TRIGGER: TIM Trigger DMA source
-4353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param BurstBuffer The Buffer address.
-4354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param BurstLength DMA Burst length. This parameter can be one value
-4355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * between: TIM_DMABURSTLENGTH_1TRANSFER and TIM_DMABURSTLENGTH_18TRANSFERS.
-4356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @note This function should be used only when BurstLength is equal to DMA data transfer length
-4357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-4358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-4359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_DMABurst_WriteStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress,
-4360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t BurstRequestSrc, uint32_t *BurstBuffer, uint
-4361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_TIM_DMABurst_MultiWriteStart(htim, BurstBaseAddress, BurstRequestSrc, BurstBuffer, Bur
-4363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ((BurstLength) >> 8U) + 1U);
-4364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-ARM GAS /tmp/ccqsuCX7.s page 78
-
-
-4367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Configure the DMA Burst to transfer multiple Data from the memory to the TIM peripheral
-4368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle
-4369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param BurstBaseAddress TIM Base address from where the DMA will start the Data write
-4370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-4371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CR1
-4372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CR2
-4373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_SMCR
-4374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_DIER
-4375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_SR
-4376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_EGR
-4377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR1
-4378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR2
-4379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCER
-4380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CNT
-4381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_PSC
-4382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_ARR
-4383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_RCR
-4384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCR1
-4385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCR2
-4386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCR3
-4387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCR4
-4388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_BDTR
-4389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param BurstRequestSrc TIM DMA Request sources
-4390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-4391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_UPDATE: TIM update Interrupt source
-4392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_CC1: TIM Capture Compare 1 DMA source
-4393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_CC2: TIM Capture Compare 2 DMA source
-4394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_CC3: TIM Capture Compare 3 DMA source
-4395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_CC4: TIM Capture Compare 4 DMA source
-4396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_COM: TIM Commutation DMA source
-4397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_TRIGGER: TIM Trigger DMA source
-4398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param BurstBuffer The Buffer address.
-4399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param BurstLength DMA Burst length. This parameter can be one value
-4400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * between: TIM_DMABURSTLENGTH_1TRANSFER and TIM_DMABURSTLENGTH_18TRANSFERS.
-4401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param DataLength Data length. This parameter can be one value
-4402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * between 1 and 0xFFFF.
-4403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-4404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-4405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_DMABurst_MultiWriteStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddre
-4406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t BurstRequestSrc, uint32_t *BurstBuffer,
-4407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t BurstLength, uint32_t DataLength)
-4408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-4410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_DMABURST_INSTANCE(htim->Instance));
-4411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_DMA_BASE(BurstBaseAddress));
-4412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_DMA_SOURCE(BurstRequestSrc));
-4413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_DMA_LENGTH(BurstLength));
-4414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_DMA_DATA_LENGTH(DataLength));
-4415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->DMABurstState == HAL_DMA_BURST_STATE_BUSY)
-4417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_BUSY;
-4419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (htim->DMABurstState == HAL_DMA_BURST_STATE_READY)
-4421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((BurstBuffer == NULL) && (BurstLength > 0U))
-4423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-ARM GAS /tmp/ccqsuCX7.s page 79
-
-
-4424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-4425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-4427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_BUSY;
-4429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-4432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* nothing to do */
-4434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (BurstRequestSrc)
-4436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_UPDATE:
-4438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA Period elapsed callbacks */
-4440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferCpltCallback = TIM_DMAPeriodElapsedCplt;
-4441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt;
-4442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-4444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferErrorCallback = TIM_DMAError ;
-4445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-4447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_UPDATE], (uint32_t)BurstBuffer,
-4448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK)
-4449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-4451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-4452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_CC1:
-4456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA compare callbacks */
-4458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMADelayPulseCplt;
-4459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
-4460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-4462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ;
-4463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-4465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)BurstBuffer,
-4466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK)
-4467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-4469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-4470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_CC2:
-4474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA compare callbacks */
-4476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMADelayPulseCplt;
-4477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
-4478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-4480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAError ;
-ARM GAS /tmp/ccqsuCX7.s page 80
-
-
-4481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-4483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)BurstBuffer,
-4484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK)
-4485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-4487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-4488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_CC3:
-4492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA compare callbacks */
-4494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMADelayPulseCplt;
-4495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
-4496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-4498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAError ;
-4499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-4501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)BurstBuffer,
-4502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK)
-4503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-4505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-4506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_CC4:
-4510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA compare callbacks */
-4512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferCpltCallback = TIM_DMADelayPulseCplt;
-4513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
-4514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-4516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferErrorCallback = TIM_DMAError ;
-4517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-4519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC4], (uint32_t)BurstBuffer,
-4520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK)
-4521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-4523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-4524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_COM:
-4528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA commutation callbacks */
-4530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferCpltCallback = TIMEx_DMACommutationCplt;
-4531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt;
-4532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-4534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferErrorCallback = TIM_DMAError ;
-4535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-4537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_COMMUTATION], (uint32_t)BurstBuffer,
-ARM GAS /tmp/ccqsuCX7.s page 81
-
-
-4538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK)
-4539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-4541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-4542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_TRIGGER:
-4546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA trigger callbacks */
-4548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferCpltCallback = TIM_DMATriggerCplt;
-4549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt;
-4550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-4552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferErrorCallback = TIM_DMAError ;
-4553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-4555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_TRIGGER], (uint32_t)BurstBuffer,
-4556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK)
-4557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-4559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-4560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
-4564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Configure the DMA Burst Mode */
-4568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->DCR = (BurstBaseAddress | BurstLength);
-4569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM DMA Request */
-4570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, BurstRequestSrc);
-4571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-4573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-4574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-4577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Stops the TIM DMA Burst mode
-4578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle
-4579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param BurstRequestSrc TIM DMA Request sources to disable
-4580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-4581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-4582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_DMABurst_WriteStop(TIM_HandleTypeDef *htim, uint32_t BurstRequestSrc)
-4583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-4585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_DMA_SOURCE(BurstRequestSrc));
-4586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Abort the DMA transfer (at least disable the DMA channel) */
-4588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (BurstRequestSrc)
-4589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_UPDATE:
-4591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_UPDATE]);
-4593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-ARM GAS /tmp/ccqsuCX7.s page 82
-
-
-4595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_CC1:
-4596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
-4598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_CC2:
-4601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]);
-4603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_CC3:
-4606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]);
-4608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_CC4:
-4611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]);
-4613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_COM:
-4616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_COMMUTATION]);
-4618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_TRIGGER:
-4621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_TRIGGER]);
-4623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
-4626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Update DMA request */
-4630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, BurstRequestSrc);
-4631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Change the DMA burst operation state */
-4633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY;
-4634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-4636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-4637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-4640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Configure the DMA Burst to transfer Data from the TIM peripheral to the memory
-4641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle
-4642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param BurstBaseAddress TIM Base address from where the DMA will start the Data read
-4643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-4644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CR1
-4645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CR2
-4646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_SMCR
-4647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_DIER
-4648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_SR
-4649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_EGR
-4650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR1
-4651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR2
-ARM GAS /tmp/ccqsuCX7.s page 83
-
-
-4652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCER
-4653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CNT
-4654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_PSC
-4655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_ARR
-4656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_RCR
-4657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCR1
-4658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCR2
-4659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCR3
-4660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCR4
-4661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_BDTR
-4662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param BurstRequestSrc TIM DMA Request sources
-4663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-4664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_UPDATE: TIM update Interrupt source
-4665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_CC1: TIM Capture Compare 1 DMA source
-4666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_CC2: TIM Capture Compare 2 DMA source
-4667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_CC3: TIM Capture Compare 3 DMA source
-4668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_CC4: TIM Capture Compare 4 DMA source
-4669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_COM: TIM Commutation DMA source
-4670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_TRIGGER: TIM Trigger DMA source
-4671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param BurstBuffer The Buffer address.
-4672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param BurstLength DMA Burst length. This parameter can be one value
-4673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * between: TIM_DMABURSTLENGTH_1TRANSFER and TIM_DMABURSTLENGTH_18TRANSFERS.
-4674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @note This function should be used only when BurstLength is equal to DMA data transfer length
-4675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-4676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-4677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_DMABurst_ReadStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress,
-4678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t BurstRequestSrc, uint32_t *BurstBuffer, uint
-4679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_TIM_DMABurst_MultiReadStart(htim, BurstBaseAddress, BurstRequestSrc, BurstBuffer, Burs
-4681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ((BurstLength) >> 8U) + 1U);
-4682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-4685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Configure the DMA Burst to transfer Data from the TIM peripheral to the memory
-4686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle
-4687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param BurstBaseAddress TIM Base address from where the DMA will start the Data read
-4688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-4689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CR1
-4690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CR2
-4691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_SMCR
-4692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_DIER
-4693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_SR
-4694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_EGR
-4695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR1
-4696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCMR2
-4697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCER
-4698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CNT
-4699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_PSC
-4700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_ARR
-4701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_RCR
-4702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCR1
-4703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCR2
-4704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCR3
-4705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_CCR4
-4706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMABASE_BDTR
-4707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param BurstRequestSrc TIM DMA Request sources
-4708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-ARM GAS /tmp/ccqsuCX7.s page 84
-
-
-4709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_UPDATE: TIM update Interrupt source
-4710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_CC1: TIM Capture Compare 1 DMA source
-4711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_CC2: TIM Capture Compare 2 DMA source
-4712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_CC3: TIM Capture Compare 3 DMA source
-4713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_CC4: TIM Capture Compare 4 DMA source
-4714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_COM: TIM Commutation DMA source
-4715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_DMA_TRIGGER: TIM Trigger DMA source
-4716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param BurstBuffer The Buffer address.
-4717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param BurstLength DMA Burst length. This parameter can be one value
-4718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * between: TIM_DMABURSTLENGTH_1TRANSFER and TIM_DMABURSTLENGTH_18TRANSFERS.
-4719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param DataLength Data length. This parameter can be one value
-4720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * between 1 and 0xFFFF.
-4721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-4722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-4723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_DMABurst_MultiReadStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddres
-4724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t BurstRequestSrc, uint32_t *BurstBuffer,
-4725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t BurstLength, uint32_t DataLength)
-4726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-4728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_DMABURST_INSTANCE(htim->Instance));
-4729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_DMA_BASE(BurstBaseAddress));
-4730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_DMA_SOURCE(BurstRequestSrc));
-4731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_DMA_LENGTH(BurstLength));
-4732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_DMA_DATA_LENGTH(DataLength));
-4733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->DMABurstState == HAL_DMA_BURST_STATE_BUSY)
-4735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_BUSY;
-4737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (htim->DMABurstState == HAL_DMA_BURST_STATE_READY)
-4739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if ((BurstBuffer == NULL) && (BurstLength > 0U))
-4741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-4743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-4745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_BUSY;
-4747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-4750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* nothing to do */
-4752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (BurstRequestSrc)
-4754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_UPDATE:
-4756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA Period elapsed callbacks */
-4758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferCpltCallback = TIM_DMAPeriodElapsedCplt;
-4759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt;
-4760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-4762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferErrorCallback = TIM_DMAError ;
-4763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-4765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_UPDATE], (uint32_t)&htim->Instance->DMAR, (uint32_
-ARM GAS /tmp/ccqsuCX7.s page 85
-
-
-4766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** DataLength) != HAL_OK)
-4767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-4769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-4770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_CC1:
-4774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA capture callbacks */
-4776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMACaptureCplt;
-4777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
-4778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-4780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ;
-4781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-4783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)&htim->Instance->DMAR, (uint32_t)B
-4784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** DataLength) != HAL_OK)
-4785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-4787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-4788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_CC2:
-4792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA capture callbacks */
-4794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMACaptureCplt;
-4795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
-4796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-4798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAError ;
-4799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-4801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)&htim->Instance->DMAR, (uint32_t)B
-4802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** DataLength) != HAL_OK)
-4803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-4805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-4806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_CC3:
-4810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA capture callbacks */
-4812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMACaptureCplt;
-4813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
-4814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-4816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAError ;
-4817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-4819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)&htim->Instance->DMAR, (uint32_t)B
-4820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** DataLength) != HAL_OK)
-4821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-ARM GAS /tmp/ccqsuCX7.s page 86
-
-
-4823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-4824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_CC4:
-4828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA capture callbacks */
-4830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferCpltCallback = TIM_DMACaptureCplt;
-4831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
-4832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-4834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferErrorCallback = TIM_DMAError ;
-4835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-4837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC4], (uint32_t)&htim->Instance->DMAR, (uint32_t)B
-4838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** DataLength) != HAL_OK)
-4839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-4841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-4842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_COM:
-4846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA commutation callbacks */
-4848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferCpltCallback = TIMEx_DMACommutationCplt;
-4849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt;
-4850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-4852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferErrorCallback = TIM_DMAError ;
-4853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-4855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_COMMUTATION], (uint32_t)&htim->Instance->DMAR, (ui
-4856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** DataLength) != HAL_OK)
-4857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-4859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-4860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_TRIGGER:
-4864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA trigger callbacks */
-4866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferCpltCallback = TIM_DMATriggerCplt;
-4867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt;
-4868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the DMA error callback */
-4870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferErrorCallback = TIM_DMAError ;
-4871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
-4873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_TRIGGER], (uint32_t)&htim->Instance->DMAR, (uint32
-4874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** DataLength) != HAL_OK)
-4875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-4877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-4878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-ARM GAS /tmp/ccqsuCX7.s page 87
-
-
-4880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
-4882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Configure the DMA Burst Mode */
-4886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->DCR = (BurstBaseAddress | BurstLength);
-4887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM DMA Request */
-4889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_DMA(htim, BurstRequestSrc);
-4890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-4892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-4893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-4896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Stop the DMA burst reading
-4897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle
-4898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param BurstRequestSrc TIM DMA Request sources to disable.
-4899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-4900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-4901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_DMABurst_ReadStop(TIM_HandleTypeDef *htim, uint32_t BurstRequestSrc)
-4902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-4904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_DMA_SOURCE(BurstRequestSrc));
-4905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Abort the DMA transfer (at least disable the DMA channel) */
-4907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (BurstRequestSrc)
-4908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_UPDATE:
-4910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_UPDATE]);
-4912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_CC1:
-4915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
-4917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_CC2:
-4920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]);
-4922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_CC3:
-4925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]);
-4927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_CC4:
-4930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]);
-4932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_COM:
-4935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_COMMUTATION]);
-ARM GAS /tmp/ccqsuCX7.s page 88
-
-
-4937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_DMA_TRIGGER:
-4940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_TRIGGER]);
-4942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
-4945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-4946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the TIM Update DMA request */
-4949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, BurstRequestSrc);
-4950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Change the DMA burst operation state */
-4952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY;
-4953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-4955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-4956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-4957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-4959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Generate a software event
-4960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle
-4961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param EventSource specifies the event source.
-4962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-4963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_UPDATE: Timer update Event source
-4964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_CC1: Timer Capture Compare 1 Event source
-4965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_CC2: Timer Capture Compare 2 Event source
-4966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_CC3: Timer Capture Compare 3 Event source
-4967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_CC4: Timer Capture Compare 4 Event source
-4968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_COM: Timer COM event source
-4969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_TRIGGER: Timer Trigger Event source
-4970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_EVENTSOURCE_BREAK: Timer Break event source
-4971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @note Basic timers can only generate an update event.
-4972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @note TIM_EVENTSOURCE_COM is relevant only with advanced timer instances.
-4973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @note TIM_EVENTSOURCE_BREAK are relevant only for timer instances
-4974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * supporting a break input.
-4975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-4976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-4977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_GenerateEvent(TIM_HandleTypeDef *htim, uint32_t EventSource)
-4979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-4980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-4981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance));
-4982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_EVENT_SOURCE(EventSource));
-4983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Process Locked */
-4985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_LOCK(htim);
-4986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Change the TIM state */
-4988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY;
-4989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the event sources */
-4991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->EGR = EventSource;
-4992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Change the TIM state */
-ARM GAS /tmp/ccqsuCX7.s page 89
-
-
-4994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY;
-4995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_UNLOCK(htim);
-4997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-4998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return function status */
-4999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-5000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-5003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Configures the OCRef clear feature
-5004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle
-5005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param sClearInputConfig pointer to a TIM_ClearInputConfigTypeDef structure that
-5006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * contains the OCREF clear feature and parameters for the TIM peripheral.
-5007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel specifies the TIM Channel
-5008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-5009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1
-5010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2
-5011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3
-5012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4
-5013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-5014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_ConfigOCrefClear(TIM_HandleTypeDef *htim,
-5016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_ClearInputConfigTypeDef *sClearInputConfig,
-5017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t Channel)
-5018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-5020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_OCXREF_CLEAR_INSTANCE(htim->Instance));
-5021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLEARINPUT_SOURCE(sClearInputConfig->ClearInputSource));
-5022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Process Locked */
-5024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_LOCK(htim);
-5025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY;
-5027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (sClearInputConfig->ClearInputSource)
-5029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CLEARINPUTSOURCE_NONE:
-5031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Clear the OCREF clear selection bit and the the ETR Bits */
-5033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** CLEAR_BIT(htim->Instance->SMCR, (TIM_SMCR_ETF | TIM_SMCR_ETPS | TIM_SMCR_ECE | TIM_SMCR_ETP))
-5034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CLEARINPUTSOURCE_ETR:
-5038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-5040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLEARINPUT_POLARITY(sClearInputConfig->ClearInputPolarity));
-5041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLEARINPUT_PRESCALER(sClearInputConfig->ClearInputPrescaler));
-5042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLEARINPUT_FILTER(sClearInputConfig->ClearInputFilter));
-5043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* When OCRef clear feature is used with ETR source, ETR prescaler must be off */
-5045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (sClearInputConfig->ClearInputPrescaler != TIM_CLEARINPUTPRESCALER_DIV1)
-5046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY;
-5048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_UNLOCK(htim);
-5049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-5050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-ARM GAS /tmp/ccqsuCX7.s page 90
-
-
-5051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_ETR_SetConfig(htim->Instance,
-5053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sClearInputConfig->ClearInputPrescaler,
-5054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sClearInputConfig->ClearInputPolarity,
-5055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sClearInputConfig->ClearInputFilter);
-5056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
-5060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (Channel)
-5064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_1:
-5066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (sClearInputConfig->ClearInputState != (uint32_t)DISABLE)
-5068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the OCREF clear feature for Channel 1 */
-5070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** SET_BIT(htim->Instance->CCMR1, TIM_CCMR1_OC1CE);
-5071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-5073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the OCREF clear feature for Channel 1 */
-5075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** CLEAR_BIT(htim->Instance->CCMR1, TIM_CCMR1_OC1CE);
-5076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_2:
-5080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (sClearInputConfig->ClearInputState != (uint32_t)DISABLE)
-5082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the OCREF clear feature for Channel 2 */
-5084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** SET_BIT(htim->Instance->CCMR1, TIM_CCMR1_OC2CE);
-5085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-5087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the OCREF clear feature for Channel 2 */
-5089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** CLEAR_BIT(htim->Instance->CCMR1, TIM_CCMR1_OC2CE);
-5090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_3:
-5094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (sClearInputConfig->ClearInputState != (uint32_t)DISABLE)
-5096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the OCREF clear feature for Channel 3 */
-5098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** SET_BIT(htim->Instance->CCMR2, TIM_CCMR2_OC3CE);
-5099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-5101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the OCREF clear feature for Channel 3 */
-5103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** CLEAR_BIT(htim->Instance->CCMR2, TIM_CCMR2_OC3CE);
-5104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_4:
-ARM GAS /tmp/ccqsuCX7.s page 91
-
-
-5108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (sClearInputConfig->ClearInputState != (uint32_t)DISABLE)
-5110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the OCREF clear feature for Channel 4 */
-5112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** SET_BIT(htim->Instance->CCMR2, TIM_CCMR2_OC4CE);
-5113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-5115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the OCREF clear feature for Channel 4 */
-5117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** CLEAR_BIT(htim->Instance->CCMR2, TIM_CCMR2_OC4CE);
-5118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
-5122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY;
-5126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_UNLOCK(htim);
-5128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-5130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-5133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Configures the clock source to be used
-5134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle
-5135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param sClockSourceConfig pointer to a TIM_ClockConfigTypeDef structure that
-5136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * contains the clock source information for the TIM peripheral.
-5137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-5138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_ConfigClockSource(TIM_HandleTypeDef *htim, TIM_ClockConfigTypeDef *sClock
-5140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
-5142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Process Locked */
-5144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_LOCK(htim);
-5145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY;
-5147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-5149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKSOURCE(sClockSourceConfig->ClockSource));
-5150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the SMS, TS, ECE, ETPS and ETRF bits */
-5152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR;
-5153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr &= ~(TIM_SMCR_SMS | TIM_SMCR_TS);
-5154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr &= ~(TIM_SMCR_ETF | TIM_SMCR_ETPS | TIM_SMCR_ECE | TIM_SMCR_ETP);
-5155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->SMCR = tmpsmcr;
-5156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (sClockSourceConfig->ClockSource)
-5158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CLOCKSOURCE_INTERNAL:
-5160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_INSTANCE(htim->Instance));
-5162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 92
-
-
-5165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CLOCKSOURCE_ETRMODE1:
-5166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check whether or not the timer instance supports external trigger input mode 1 (ETRF)*/
-5168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKSOURCE_ETRMODE1_INSTANCE(htim->Instance));
-5169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check ETR input conditioning related parameters */
-5171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPRESCALER(sClockSourceConfig->ClockPrescaler));
-5172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPOLARITY(sClockSourceConfig->ClockPolarity));
-5173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter));
-5174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Configure the ETR Clock source */
-5176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_ETR_SetConfig(htim->Instance,
-5177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler,
-5178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sClockSourceConfig->ClockPolarity,
-5179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sClockSourceConfig->ClockFilter);
-5180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Select the External clock mode1 and the ETRF trigger */
-5182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR;
-5183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr |= (TIM_SLAVEMODE_EXTERNAL1 | TIM_CLOCKSOURCE_ETRMODE1);
-5184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx SMCR */
-5185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->SMCR = tmpsmcr;
-5186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CLOCKSOURCE_ETRMODE2:
-5190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check whether or not the timer instance supports external trigger input mode 2 (ETRF)*/
-5192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKSOURCE_ETRMODE2_INSTANCE(htim->Instance));
-5193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check ETR input conditioning related parameters */
-5195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPRESCALER(sClockSourceConfig->ClockPrescaler));
-5196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPOLARITY(sClockSourceConfig->ClockPolarity));
-5197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter));
-5198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Configure the ETR Clock source */
-5200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_ETR_SetConfig(htim->Instance,
-5201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler,
-5202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sClockSourceConfig->ClockPolarity,
-5203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sClockSourceConfig->ClockFilter);
-5204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the External clock mode2 */
-5205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SMCR_ECE;
-5206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CLOCKSOURCE_TI1:
-5210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check whether or not the timer instance supports external clock mode 1 */
-5212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKSOURCE_TIX_INSTANCE(htim->Instance));
-5213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check TI1 input conditioning related parameters */
-5215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPOLARITY(sClockSourceConfig->ClockPolarity));
-5216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter));
-5217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_TI1_ConfigInputStage(htim->Instance,
-5219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sClockSourceConfig->ClockPolarity,
-5220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sClockSourceConfig->ClockFilter);
-5221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_ITRx_SetConfig(htim->Instance, TIM_CLOCKSOURCE_TI1);
-ARM GAS /tmp/ccqsuCX7.s page 93
-
-
-5222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CLOCKSOURCE_TI2:
-5226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check whether or not the timer instance supports external clock mode 1 (ETRF)*/
-5228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKSOURCE_TIX_INSTANCE(htim->Instance));
-5229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check TI2 input conditioning related parameters */
-5231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPOLARITY(sClockSourceConfig->ClockPolarity));
-5232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter));
-5233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_TI2_ConfigInputStage(htim->Instance,
-5235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sClockSourceConfig->ClockPolarity,
-5236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sClockSourceConfig->ClockFilter);
-5237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_ITRx_SetConfig(htim->Instance, TIM_CLOCKSOURCE_TI2);
-5238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CLOCKSOURCE_TI1ED:
-5242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check whether or not the timer instance supports external clock mode 1 */
-5244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKSOURCE_TIX_INSTANCE(htim->Instance));
-5245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check TI1 input conditioning related parameters */
-5247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKPOLARITY(sClockSourceConfig->ClockPolarity));
-5248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKFILTER(sClockSourceConfig->ClockFilter));
-5249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_TI1_ConfigInputStage(htim->Instance,
-5251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sClockSourceConfig->ClockPolarity,
-5252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sClockSourceConfig->ClockFilter);
-5253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_ITRx_SetConfig(htim->Instance, TIM_CLOCKSOURCE_TI1ED);
-5254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR0:
-5258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR1:
-5259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR2:
-5260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CLOCKSOURCE_ITR3:
-5261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check whether or not the timer instance supports internal trigger input */
-5263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKSOURCE_ITRX_INSTANCE(htim->Instance));
-5264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_ITRx_SetConfig(htim->Instance, sClockSourceConfig->ClockSource);
-5266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
-5270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY;
-5273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_UNLOCK(htim);
-5275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-5277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 94
-
-
-5279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-5280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Selects the signal connected to the TI1 input: direct from CH1_input
-5281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * or a XOR combination between CH1_input, CH2_input & CH3_input
-5282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle.
-5283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TI1_Selection Indicate whether or not channel 1 is connected to the
-5284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * output of a XOR gate.
-5285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-5286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_TI1SELECTION_CH1: The TIMx_CH1 pin is connected to TI1 input
-5287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_TI1SELECTION_XORCOMBINATION: The TIMx_CH1, CH2 and CH3
-5288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * pins are connected to the TI1 input (XOR combination)
-5289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-5290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_ConfigTI1Input(TIM_HandleTypeDef *htim, uint32_t TI1_Selection)
-5292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpcr2;
-5294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-5296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_XOR_INSTANCE(htim->Instance));
-5297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_TI1SELECTION(TI1_Selection));
-5298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Get the TIMx CR2 register value */
-5300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr2 = htim->Instance->CR2;
-5301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the TI1 selection */
-5303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_TI1S;
-5304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the TI1 selection */
-5306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr2 |= TI1_Selection;
-5307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMxCR2 */
-5309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CR2 = tmpcr2;
-5310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-5312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-5315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Configures the TIM in Slave mode
-5316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle.
-5317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param sSlaveConfig pointer to a TIM_SlaveConfigTypeDef structure that
-5318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * contains the selected trigger (internal trigger input, filtered
-5319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * timer input or external trigger input) and the Slave mode
-5320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * (Disable, Reset, Gated, Trigger, External clock mode 1).
-5321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-5322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro(TIM_HandleTypeDef *htim, TIM_SlaveConfigTypeDef *sSlav
-5324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-5326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_SLAVE_INSTANCE(htim->Instance));
-5327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_SLAVE_MODE(sSlaveConfig->SlaveMode));
-5328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_TRIGGER_SELECTION(sSlaveConfig->InputTrigger));
-5329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_LOCK(htim);
-5331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY;
-5333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (TIM_SlaveTimer_SetConfig(htim, sSlaveConfig) != HAL_OK)
-5335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-ARM GAS /tmp/ccqsuCX7.s page 95
-
-
-5336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY;
-5337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_UNLOCK(htim);
-5338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-5339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable Trigger Interrupt */
-5342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_TRIGGER);
-5343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable Trigger DMA request */
-5345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_TRIGGER);
-5346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY;
-5348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_UNLOCK(htim);
-5350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-5352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-5355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Configures the TIM in Slave mode in interrupt mode
-5356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle.
-5357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param sSlaveConfig pointer to a TIM_SlaveConfigTypeDef structure that
-5358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * contains the selected trigger (internal trigger input, filtered
-5359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * timer input or external trigger input) and the Slave mode
-5360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * (Disable, Reset, Gated, Trigger, External clock mode 1).
-5361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL status
-5362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro_IT(TIM_HandleTypeDef *htim,
-5364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_SlaveConfigTypeDef *sSlaveConfig)
-5365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-5367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_SLAVE_INSTANCE(htim->Instance));
-5368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_SLAVE_MODE(sSlaveConfig->SlaveMode));
-5369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_TRIGGER_SELECTION(sSlaveConfig->InputTrigger));
-5370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_LOCK(htim);
-5372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_BUSY;
-5374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (TIM_SlaveTimer_SetConfig(htim, sSlaveConfig) != HAL_OK)
-5376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY;
-5378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_UNLOCK(htim);
-5379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-5380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable Trigger Interrupt */
-5383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_TRIGGER);
-5384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable Trigger DMA request */
-5386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_TRIGGER);
-5387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY;
-5389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_UNLOCK(htim);
-5391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-ARM GAS /tmp/ccqsuCX7.s page 96
-
-
-5393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-5396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Read the captured value from Capture Compare unit
-5397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle.
-5398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channels to be enabled
-5399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-5400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-5401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-5402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
-5403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4 selected
-5404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval Captured value
-5405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t HAL_TIM_ReadCapturedValue(TIM_HandleTypeDef *htim, uint32_t Channel)
-5407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpreg = 0U;
-5409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (Channel)
-5411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_1:
-5413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-5415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(htim->Instance));
-5416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return the capture 1 value */
-5418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpreg = htim->Instance->CCR1;
-5419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_2:
-5423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-5425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC2_INSTANCE(htim->Instance));
-5426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return the capture 2 value */
-5428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpreg = htim->Instance->CCR2;
-5429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_3:
-5434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-5436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC3_INSTANCE(htim->Instance));
-5437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return the capture 3 value */
-5439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpreg = htim->Instance->CCR3;
-5440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_CHANNEL_4:
-5445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-5447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC4_INSTANCE(htim->Instance));
-5448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return the capture 4 value */
-ARM GAS /tmp/ccqsuCX7.s page 97
-
-
-5450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpreg = htim->Instance->CCR4;
-5451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
-5456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return tmpreg;
-5460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-5463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @}
-5464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group9 TIM Callbacks functions
-5467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief TIM Callbacks functions
-5468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** *
-5469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** @verbatim
-5470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ==============================================================================
-5471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ##### TIM Callbacks functions #####
-5472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ==============================================================================
-5473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** [..]
-5474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** This section provides TIM callback functions:
-5475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) TIM Period elapsed callback
-5476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) TIM Output Compare callback
-5477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) TIM Input capture callback
-5478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) TIM Trigger callback
-5479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (+) TIM Error callback
-5480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** @endverbatim
-5482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @{
-5483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-5486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Period elapsed callback in non-blocking mode
-5487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle
-5488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-5489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __weak void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim)
-5491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
-5493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(htim);
-5494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed,
-5496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** the HAL_TIM_PeriodElapsedCallback could be implemented in the user file
-5497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-5501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Period elapsed half complete callback in non-blocking mode
-5502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle
-5503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-5504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __weak void HAL_TIM_PeriodElapsedHalfCpltCallback(TIM_HandleTypeDef *htim)
-5506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-ARM GAS /tmp/ccqsuCX7.s page 98
-
-
-5507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
-5508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(htim);
-5509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed,
-5511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** the HAL_TIM_PeriodElapsedHalfCpltCallback could be implemented in the user file
-5512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-5516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Output Compare callback in non-blocking mode
-5517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM OC handle
-5518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-5519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __weak void HAL_TIM_OC_DelayElapsedCallback(TIM_HandleTypeDef *htim)
-5521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
-5523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(htim);
-5524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed,
-5526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** the HAL_TIM_OC_DelayElapsedCallback could be implemented in the user file
-5527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-5531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Input Capture callback in non-blocking mode
-5532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM IC handle
-5533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-5534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __weak void HAL_TIM_IC_CaptureCallback(TIM_HandleTypeDef *htim)
-5536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
-5538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(htim);
-5539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed,
-5541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** the HAL_TIM_IC_CaptureCallback could be implemented in the user file
-5542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-5546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Input Capture half complete callback in non-blocking mode
-5547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM IC handle
-5548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-5549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __weak void HAL_TIM_IC_CaptureHalfCpltCallback(TIM_HandleTypeDef *htim)
-5551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
-5553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(htim);
-5554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed,
-5556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** the HAL_TIM_IC_CaptureHalfCpltCallback could be implemented in the user file
-5557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-5561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief PWM Pulse finished callback in non-blocking mode
-5562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle
-5563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-ARM GAS /tmp/ccqsuCX7.s page 99
-
-
-5564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __weak void HAL_TIM_PWM_PulseFinishedCallback(TIM_HandleTypeDef *htim)
-5566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
-5568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(htim);
-5569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed,
-5571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** the HAL_TIM_PWM_PulseFinishedCallback could be implemented in the user file
-5572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-5576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief PWM Pulse finished half complete callback in non-blocking mode
-5577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle
-5578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-5579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __weak void HAL_TIM_PWM_PulseFinishedHalfCpltCallback(TIM_HandleTypeDef *htim)
-5581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
-5583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(htim);
-5584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed,
-5586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** the HAL_TIM_PWM_PulseFinishedHalfCpltCallback could be implemented in the user file
-5587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-5591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Hall Trigger detection callback in non-blocking mode
-5592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle
-5593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-5594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __weak void HAL_TIM_TriggerCallback(TIM_HandleTypeDef *htim)
-5596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
-5598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(htim);
-5599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed,
-5601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** the HAL_TIM_TriggerCallback could be implemented in the user file
-5602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-5606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Hall Trigger detection half complete callback in non-blocking mode
-5607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle
-5608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-5609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __weak void HAL_TIM_TriggerHalfCpltCallback(TIM_HandleTypeDef *htim)
-5611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
-5613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(htim);
-5614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed,
-5616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** the HAL_TIM_TriggerHalfCpltCallback could be implemented in the user file
-5617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-ARM GAS /tmp/ccqsuCX7.s page 100
-
-
-5621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Timer error callback in non-blocking mode
-5622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle
-5623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-5624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __weak void HAL_TIM_ErrorCallback(TIM_HandleTypeDef *htim)
-5626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
-5628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** UNUSED(htim);
-5629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* NOTE : This function should not be modified, when the callback is needed,
-5631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** the HAL_TIM_ErrorCallback could be implemented in the user file
-5632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-5636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-5637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Register a User TIM callback to be used instead of the weak predefined callback
-5638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim tim handle
-5639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param CallbackID ID of the callback to be registered
-5640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-5641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_BASE_MSPINIT_CB_ID Base MspInit Callback ID
-5642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_BASE_MSPDEINIT_CB_ID Base MspDeInit Callback ID
-5643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_IC_MSPINIT_CB_ID IC MspInit Callback ID
-5644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_IC_MSPDEINIT_CB_ID IC MspDeInit Callback ID
-5645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_OC_MSPINIT_CB_ID OC MspInit Callback ID
-5646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_OC_MSPDEINIT_CB_ID OC MspDeInit Callback ID
-5647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_PWM_MSPINIT_CB_ID PWM MspInit Callback ID
-5648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_PWM_MSPDEINIT_CB_ID PWM MspDeInit Callback ID
-5649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_ONE_PULSE_MSPINIT_CB_ID One Pulse MspInit Callback ID
-5650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_ONE_PULSE_MSPDEINIT_CB_ID One Pulse MspDeInit Callback ID
-5651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_ENCODER_MSPINIT_CB_ID Encoder MspInit Callback ID
-5652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_ENCODER_MSPDEINIT_CB_ID Encoder MspDeInit Callback ID
-5653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_HALL_SENSOR_MSPINIT_CB_ID Hall Sensor MspInit Callback ID
-5654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_HALL_SENSOR_MSPDEINIT_CB_ID Hall Sensor MspDeInit Callback ID
-5655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_PERIOD_ELAPSED_CB_ID Period Elapsed Callback ID
-5656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_PERIOD_ELAPSED_HALF_CB_ID Period Elapsed half complete Callback ID
-5657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_TRIGGER_CB_ID Trigger Callback ID
-5658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_TRIGGER_HALF_CB_ID Trigger half complete Callback ID
-5659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_IC_CAPTURE_CB_ID Input Capture Callback ID
-5660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_IC_CAPTURE_HALF_CB_ID Input Capture half complete Callback ID
-5661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_OC_DELAY_ELAPSED_CB_ID Output Compare Delay Elapsed Callback ID
-5662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_PWM_PULSE_FINISHED_CB_ID PWM Pulse Finished Callback ID
-5663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_PWM_PULSE_FINISHED_HALF_CB_ID PWM Pulse Finished half complete Callb
-5664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_ERROR_CB_ID Error Callback ID
-5665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_COMMUTATION_CB_ID Commutation Callback ID
-5666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_COMMUTATION_HALF_CB_ID Commutation half complete Callback ID
-5667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_BREAK_CB_ID Break Callback ID
-5668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param pCallback pointer to the callback function
-5669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval status
-5670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_RegisterCallback(TIM_HandleTypeDef *htim, HAL_TIM_CallbackIDTypeDef Callb
-5672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** pTIM_CallbackTypeDef pCallback)
-5673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK;
-5675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (pCallback == NULL)
-5677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-ARM GAS /tmp/ccqsuCX7.s page 101
-
-
-5678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-5679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Process locked */
-5681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_LOCK(htim);
-5682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_READY)
-5684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (CallbackID)
-5686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_BASE_MSPINIT_CB_ID :
-5688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Base_MspInitCallback = pCallback;
-5689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_BASE_MSPDEINIT_CB_ID :
-5692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Base_MspDeInitCallback = pCallback;
-5693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_IC_MSPINIT_CB_ID :
-5696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->IC_MspInitCallback = pCallback;
-5697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_IC_MSPDEINIT_CB_ID :
-5700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->IC_MspDeInitCallback = pCallback;
-5701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_OC_MSPINIT_CB_ID :
-5704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OC_MspInitCallback = pCallback;
-5705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_OC_MSPDEINIT_CB_ID :
-5708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OC_MspDeInitCallback = pCallback;
-5709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_PWM_MSPINIT_CB_ID :
-5712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PWM_MspInitCallback = pCallback;
-5713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_PWM_MSPDEINIT_CB_ID :
-5716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PWM_MspDeInitCallback = pCallback;
-5717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_ONE_PULSE_MSPINIT_CB_ID :
-5720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OnePulse_MspInitCallback = pCallback;
-5721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_ONE_PULSE_MSPDEINIT_CB_ID :
-5724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OnePulse_MspDeInitCallback = pCallback;
-5725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_ENCODER_MSPINIT_CB_ID :
-5728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Encoder_MspInitCallback = pCallback;
-5729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_ENCODER_MSPDEINIT_CB_ID :
-5732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Encoder_MspDeInitCallback = pCallback;
-5733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 102
-
-
-5735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_HALL_SENSOR_MSPINIT_CB_ID :
-5736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->HallSensor_MspInitCallback = pCallback;
-5737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_HALL_SENSOR_MSPDEINIT_CB_ID :
-5740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->HallSensor_MspDeInitCallback = pCallback;
-5741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_PERIOD_ELAPSED_CB_ID :
-5744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PeriodElapsedCallback = pCallback;
-5745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_PERIOD_ELAPSED_HALF_CB_ID :
-5748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PeriodElapsedHalfCpltCallback = pCallback;
-5749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_TRIGGER_CB_ID :
-5752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->TriggerCallback = pCallback;
-5753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_TRIGGER_HALF_CB_ID :
-5756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->TriggerHalfCpltCallback = pCallback;
-5757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_IC_CAPTURE_CB_ID :
-5760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->IC_CaptureCallback = pCallback;
-5761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_IC_CAPTURE_HALF_CB_ID :
-5764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->IC_CaptureHalfCpltCallback = pCallback;
-5765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_OC_DELAY_ELAPSED_CB_ID :
-5768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OC_DelayElapsedCallback = pCallback;
-5769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_PWM_PULSE_FINISHED_CB_ID :
-5772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PWM_PulseFinishedCallback = pCallback;
-5773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_PWM_PULSE_FINISHED_HALF_CB_ID :
-5776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PWM_PulseFinishedHalfCpltCallback = pCallback;
-5777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_ERROR_CB_ID :
-5780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->ErrorCallback = pCallback;
-5781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_COMMUTATION_CB_ID :
-5784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->CommutationCallback = pCallback;
-5785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_COMMUTATION_HALF_CB_ID :
-5788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->CommutationHalfCpltCallback = pCallback;
-5789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_BREAK_CB_ID :
-ARM GAS /tmp/ccqsuCX7.s page 103
-
-
-5792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->BreakCallback = pCallback;
-5793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default :
-5796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-5797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** status = HAL_ERROR;
-5798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (htim->State == HAL_TIM_STATE_RESET)
-5802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (CallbackID)
-5804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_BASE_MSPINIT_CB_ID :
-5806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Base_MspInitCallback = pCallback;
-5807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_BASE_MSPDEINIT_CB_ID :
-5810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Base_MspDeInitCallback = pCallback;
-5811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_IC_MSPINIT_CB_ID :
-5814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->IC_MspInitCallback = pCallback;
-5815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_IC_MSPDEINIT_CB_ID :
-5818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->IC_MspDeInitCallback = pCallback;
-5819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_OC_MSPINIT_CB_ID :
-5822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OC_MspInitCallback = pCallback;
-5823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_OC_MSPDEINIT_CB_ID :
-5826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OC_MspDeInitCallback = pCallback;
-5827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_PWM_MSPINIT_CB_ID :
-5830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PWM_MspInitCallback = pCallback;
-5831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_PWM_MSPDEINIT_CB_ID :
-5834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PWM_MspDeInitCallback = pCallback;
-5835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_ONE_PULSE_MSPINIT_CB_ID :
-5838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OnePulse_MspInitCallback = pCallback;
-5839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_ONE_PULSE_MSPDEINIT_CB_ID :
-5842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OnePulse_MspDeInitCallback = pCallback;
-5843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_ENCODER_MSPINIT_CB_ID :
-5846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Encoder_MspInitCallback = pCallback;
-5847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 104
-
-
-5849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_ENCODER_MSPDEINIT_CB_ID :
-5850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Encoder_MspDeInitCallback = pCallback;
-5851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_HALL_SENSOR_MSPINIT_CB_ID :
-5854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->HallSensor_MspInitCallback = pCallback;
-5855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_HALL_SENSOR_MSPDEINIT_CB_ID :
-5858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->HallSensor_MspDeInitCallback = pCallback;
-5859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default :
-5862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-5863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** status = HAL_ERROR;
-5864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-5868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-5870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** status = HAL_ERROR;
-5871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Release Lock */
-5874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_UNLOCK(htim);
-5875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return status;
-5877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-5878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-5880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Unregister a TIM callback
-5881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * TIM callback is redirected to the weak predefined callback
-5882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim tim handle
-5883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param CallbackID ID of the callback to be unregistered
-5884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-5885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_BASE_MSPINIT_CB_ID Base MspInit Callback ID
-5886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_BASE_MSPDEINIT_CB_ID Base MspDeInit Callback ID
-5887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_IC_MSPINIT_CB_ID IC MspInit Callback ID
-5888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_IC_MSPDEINIT_CB_ID IC MspDeInit Callback ID
-5889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_OC_MSPINIT_CB_ID OC MspInit Callback ID
-5890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_OC_MSPDEINIT_CB_ID OC MspDeInit Callback ID
-5891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_PWM_MSPINIT_CB_ID PWM MspInit Callback ID
-5892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_PWM_MSPDEINIT_CB_ID PWM MspDeInit Callback ID
-5893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_ONE_PULSE_MSPINIT_CB_ID One Pulse MspInit Callback ID
-5894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_ONE_PULSE_MSPDEINIT_CB_ID One Pulse MspDeInit Callback ID
-5895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_ENCODER_MSPINIT_CB_ID Encoder MspInit Callback ID
-5896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_ENCODER_MSPDEINIT_CB_ID Encoder MspDeInit Callback ID
-5897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_HALL_SENSOR_MSPINIT_CB_ID Hall Sensor MspInit Callback ID
-5898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_HALL_SENSOR_MSPDEINIT_CB_ID Hall Sensor MspDeInit Callback ID
-5899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_PERIOD_ELAPSED_CB_ID Period Elapsed Callback ID
-5900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_PERIOD_ELAPSED_HALF_CB_ID Period Elapsed half complete Callback ID
-5901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_TRIGGER_CB_ID Trigger Callback ID
-5902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_TRIGGER_HALF_CB_ID Trigger half complete Callback ID
-5903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_IC_CAPTURE_CB_ID Input Capture Callback ID
-5904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_IC_CAPTURE_HALF_CB_ID Input Capture half complete Callback ID
-5905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_OC_DELAY_ELAPSED_CB_ID Output Compare Delay Elapsed Callback ID
-ARM GAS /tmp/ccqsuCX7.s page 105
-
-
-5906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_PWM_PULSE_FINISHED_CB_ID PWM Pulse Finished Callback ID
-5907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_PWM_PULSE_FINISHED_HALF_CB_ID PWM Pulse Finished half complete Callb
-5908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_ERROR_CB_ID Error Callback ID
-5909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_COMMUTATION_CB_ID Commutation Callback ID
-5910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_COMMUTATION_HALF_CB_ID Commutation half complete Callback ID
-5911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg @ref HAL_TIM_BREAK_CB_ID Break Callback ID
-5912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval status
-5913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-5914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef HAL_TIM_UnRegisterCallback(TIM_HandleTypeDef *htim, HAL_TIM_CallbackIDTypeDef Cal
-5915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_StatusTypeDef status = HAL_OK;
-5917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Process locked */
-5919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_LOCK(htim);
-5920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->State == HAL_TIM_STATE_READY)
-5922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (CallbackID)
-5924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-5925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_BASE_MSPINIT_CB_ID :
-5926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Base_MspInitCallback = HAL_TIM_Base_MspInit; /* Leg
-5927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_BASE_MSPDEINIT_CB_ID :
-5930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Base_MspDeInitCallback = HAL_TIM_Base_MspDeInit; /* Leg
-5931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_IC_MSPINIT_CB_ID :
-5934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->IC_MspInitCallback = HAL_TIM_IC_MspInit; /* Leg
-5935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_IC_MSPDEINIT_CB_ID :
-5938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->IC_MspDeInitCallback = HAL_TIM_IC_MspDeInit; /* Leg
-5939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_OC_MSPINIT_CB_ID :
-5942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OC_MspInitCallback = HAL_TIM_OC_MspInit; /* Leg
-5943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_OC_MSPDEINIT_CB_ID :
-5946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OC_MspDeInitCallback = HAL_TIM_OC_MspDeInit; /* Leg
-5947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_PWM_MSPINIT_CB_ID :
-5950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PWM_MspInitCallback = HAL_TIM_PWM_MspInit; /* Leg
-5951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_PWM_MSPDEINIT_CB_ID :
-5954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PWM_MspDeInitCallback = HAL_TIM_PWM_MspDeInit; /* Leg
-5955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_ONE_PULSE_MSPINIT_CB_ID :
-5958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OnePulse_MspInitCallback = HAL_TIM_OnePulse_MspInit; /* Leg
-5959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_ONE_PULSE_MSPDEINIT_CB_ID :
-5962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OnePulse_MspDeInitCallback = HAL_TIM_OnePulse_MspDeInit; /* Leg
-ARM GAS /tmp/ccqsuCX7.s page 106
-
-
-5963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_ENCODER_MSPINIT_CB_ID :
-5966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Encoder_MspInitCallback = HAL_TIM_Encoder_MspInit; /* Leg
-5967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_ENCODER_MSPDEINIT_CB_ID :
-5970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Encoder_MspDeInitCallback = HAL_TIM_Encoder_MspDeInit; /* Leg
-5971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_HALL_SENSOR_MSPINIT_CB_ID :
-5974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->HallSensor_MspInitCallback = HAL_TIMEx_HallSensor_MspInit; /* Leg
-5975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_HALL_SENSOR_MSPDEINIT_CB_ID :
-5978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->HallSensor_MspDeInitCallback = HAL_TIMEx_HallSensor_MspDeInit; /* Leg
-5979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_PERIOD_ELAPSED_CB_ID :
-5982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PeriodElapsedCallback = HAL_TIM_PeriodElapsedCallback; /* Leg
-5983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_PERIOD_ELAPSED_HALF_CB_ID :
-5986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PeriodElapsedHalfCpltCallback = HAL_TIM_PeriodElapsedHalfCpltCallback; /* Leg
-5987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_TRIGGER_CB_ID :
-5990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->TriggerCallback = HAL_TIM_TriggerCallback; /* Leg
-5991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_TRIGGER_HALF_CB_ID :
-5994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->TriggerHalfCpltCallback = HAL_TIM_TriggerHalfCpltCallback; /* Leg
-5995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-5996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-5997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_IC_CAPTURE_CB_ID :
-5998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->IC_CaptureCallback = HAL_TIM_IC_CaptureCallback; /* Leg
-5999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_IC_CAPTURE_HALF_CB_ID :
-6002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->IC_CaptureHalfCpltCallback = HAL_TIM_IC_CaptureHalfCpltCallback; /* Leg
-6003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_OC_DELAY_ELAPSED_CB_ID :
-6006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OC_DelayElapsedCallback = HAL_TIM_OC_DelayElapsedCallback; /* Leg
-6007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_PWM_PULSE_FINISHED_CB_ID :
-6010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PWM_PulseFinishedCallback = HAL_TIM_PWM_PulseFinishedCallback; /* Leg
-6011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_PWM_PULSE_FINISHED_HALF_CB_ID :
-6014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PWM_PulseFinishedHalfCpltCallback = HAL_TIM_PWM_PulseFinishedHalfCpltCallback; /* Leg
-6015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_ERROR_CB_ID :
-6018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->ErrorCallback = HAL_TIM_ErrorCallback; /* Leg
-6019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-ARM GAS /tmp/ccqsuCX7.s page 107
-
-
-6020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_COMMUTATION_CB_ID :
-6022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->CommutationCallback = HAL_TIMEx_CommutCallback; /* Leg
-6023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_COMMUTATION_HALF_CB_ID :
-6026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->CommutationHalfCpltCallback = HAL_TIMEx_CommutHalfCpltCallback; /* Leg
-6027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_BREAK_CB_ID :
-6030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->BreakCallback = HAL_TIMEx_BreakCallback; /* Leg
-6031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default :
-6034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-6035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** status = HAL_ERROR;
-6036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (htim->State == HAL_TIM_STATE_RESET)
-6040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (CallbackID)
-6042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_BASE_MSPINIT_CB_ID :
-6044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Base_MspInitCallback = HAL_TIM_Base_MspInit; /* Legacy weak Base
-6045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_BASE_MSPDEINIT_CB_ID :
-6048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Base_MspDeInitCallback = HAL_TIM_Base_MspDeInit; /* Legacy weak Base
-6049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_IC_MSPINIT_CB_ID :
-6052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->IC_MspInitCallback = HAL_TIM_IC_MspInit; /* Legacy weak IC M
-6053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_IC_MSPDEINIT_CB_ID :
-6056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->IC_MspDeInitCallback = HAL_TIM_IC_MspDeInit; /* Legacy weak IC M
-6057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_OC_MSPINIT_CB_ID :
-6060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OC_MspInitCallback = HAL_TIM_OC_MspInit; /* Legacy weak OC M
-6061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_OC_MSPDEINIT_CB_ID :
-6064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OC_MspDeInitCallback = HAL_TIM_OC_MspDeInit; /* Legacy weak OC M
-6065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_PWM_MSPINIT_CB_ID :
-6068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PWM_MspInitCallback = HAL_TIM_PWM_MspInit; /* Legacy weak PWM
-6069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_PWM_MSPDEINIT_CB_ID :
-6072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PWM_MspDeInitCallback = HAL_TIM_PWM_MspDeInit; /* Legacy weak PWM
-6073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_ONE_PULSE_MSPINIT_CB_ID :
-6076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OnePulse_MspInitCallback = HAL_TIM_OnePulse_MspInit; /* Legacy weak One
-ARM GAS /tmp/ccqsuCX7.s page 108
-
-
-6077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_ONE_PULSE_MSPDEINIT_CB_ID :
-6080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->OnePulse_MspDeInitCallback = HAL_TIM_OnePulse_MspDeInit; /* Legacy weak One
-6081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_ENCODER_MSPINIT_CB_ID :
-6084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Encoder_MspInitCallback = HAL_TIM_Encoder_MspInit; /* Legacy weak Enco
-6085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_ENCODER_MSPDEINIT_CB_ID :
-6088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Encoder_MspDeInitCallback = HAL_TIM_Encoder_MspDeInit; /* Legacy weak Enco
-6089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_HALL_SENSOR_MSPINIT_CB_ID :
-6092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->HallSensor_MspInitCallback = HAL_TIMEx_HallSensor_MspInit; /* Legacy weak Hall
-6093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case HAL_TIM_HALL_SENSOR_MSPDEINIT_CB_ID :
-6096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->HallSensor_MspDeInitCallback = HAL_TIMEx_HallSensor_MspDeInit; /* Legacy weak Hall
-6097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default :
-6100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-6101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** status = HAL_ERROR;
-6102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-6106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Return error status */
-6108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** status = HAL_ERROR;
-6109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Release Lock */
-6112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_UNLOCK(htim);
-6113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return status;
-6115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-6117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @}
-6120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /** @defgroup TIM_Exported_Functions_Group10 TIM Peripheral State functions
-6123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief TIM Peripheral State functions
-6124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** *
-6125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** @verbatim
-6126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ==============================================================================
-6127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ##### Peripheral State functions #####
-6128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ==============================================================================
-6129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** [..]
-6130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** This subsection permits to get in run-time the status of the peripheral
-6131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** and the data flow.
-6132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** @endverbatim
-ARM GAS /tmp/ccqsuCX7.s page 109
-
-
-6134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @{
-6135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Return the TIM Base handle state.
-6139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Base handle
-6140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL state
-6141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_StateTypeDef HAL_TIM_Base_GetState(TIM_HandleTypeDef *htim)
-6143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return htim->State;
-6145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Return the TIM OC handle state.
-6149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Output Compare handle
-6150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL state
-6151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_StateTypeDef HAL_TIM_OC_GetState(TIM_HandleTypeDef *htim)
-6153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return htim->State;
-6155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Return the TIM PWM handle state.
-6159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle
-6160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL state
-6161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_StateTypeDef HAL_TIM_PWM_GetState(TIM_HandleTypeDef *htim)
-6163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return htim->State;
-6165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Return the TIM Input Capture handle state.
-6169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM IC handle
-6170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL state
-6171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_StateTypeDef HAL_TIM_IC_GetState(TIM_HandleTypeDef *htim)
-6173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return htim->State;
-6175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Return the TIM One Pulse Mode handle state.
-6179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM OPM handle
-6180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL state
-6181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_StateTypeDef HAL_TIM_OnePulse_GetState(TIM_HandleTypeDef *htim)
-6183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return htim->State;
-6185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Return the TIM Encoder Mode handle state.
-6189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM Encoder Interface handle
-6190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval HAL state
-ARM GAS /tmp/ccqsuCX7.s page 110
-
-
-6191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_StateTypeDef HAL_TIM_Encoder_GetState(TIM_HandleTypeDef *htim)
-6193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return htim->State;
-6195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Return the TIM Encoder Mode handle state.
-6199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle
-6200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval Active channel
-6201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ActiveChannel HAL_TIM_GetActiveChannel(TIM_HandleTypeDef *htim)
-6203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return htim->Channel;
-6205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Return actual state of the TIM channel.
-6209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle
-6210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel TIM Channel
-6211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-6212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1
-6213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2
-6214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3
-6215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4
-6216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_5: TIM Channel 5
-6217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_6: TIM Channel 6
-6218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval TIM Channel state
-6219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef HAL_TIM_GetChannelState(TIM_HandleTypeDef *htim, uint32_t Channel)
-6221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_state;
-6223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-6225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CCX_INSTANCE(htim->Instance, Channel));
-6226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** channel_state = TIM_CHANNEL_STATE_GET(htim, Channel);
-6228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return channel_state;
-6230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Return actual state of a DMA burst operation.
-6234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle
-6235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval DMA burst state
-6236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_DMABurstStateTypeDef HAL_TIM_DMABurstState(TIM_HandleTypeDef *htim)
-6238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-6240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_DMABURST_INSTANCE(htim->Instance));
-6241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return htim->DMABurstState;
-6243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @}
-6247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-ARM GAS /tmp/ccqsuCX7.s page 111
-
-
-6248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @}
-6251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /** @defgroup TIM_Private_Functions TIM Private Functions
-6254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @{
-6255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief TIM DMA error callback
-6259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param hdma pointer to DMA handle.
-6260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-6261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** void TIM_DMAError(DMA_HandleTypeDef *hdma)
-6263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
-6265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (hdma == htim->hdma[TIM_DMA_ID_CC1])
-6267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1;
-6269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
-6270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2])
-6272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2;
-6274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
-6275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC3])
-6277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3;
-6279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY);
-6280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC4])
-6282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4;
-6284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY);
-6285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-6287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY;
-6289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-6292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->ErrorCallback(htim);
-6293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-6294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ErrorCallback(htim);
-6295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-6296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED;
-6298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief TIM DMA Delay Pulse complete callback.
-6302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param hdma pointer to DMA handle.
-6303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-6304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-ARM GAS /tmp/ccqsuCX7.s page 112
-
-
-6305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_DMADelayPulseCplt(DMA_HandleTypeDef *hdma)
-6306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
-6308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (hdma == htim->hdma[TIM_DMA_ID_CC1])
-6310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1;
-6312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (hdma->Init.Mode == DMA_NORMAL)
-6314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
-6316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2])
-6319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2;
-6321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (hdma->Init.Mode == DMA_NORMAL)
-6323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
-6325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC3])
-6328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3;
-6330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (hdma->Init.Mode == DMA_NORMAL)
-6332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY);
-6334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC4])
-6337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4;
-6339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (hdma->Init.Mode == DMA_NORMAL)
-6341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY);
-6343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-6346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* nothing to do */
-6348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-6351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PWM_PulseFinishedCallback(htim);
-6352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-6353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim);
-6354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-6355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED;
-6357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief TIM DMA Delay Pulse half complete callback.
-6361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param hdma pointer to DMA handle.
-ARM GAS /tmp/ccqsuCX7.s page 113
-
-
-6362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-6363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** void TIM_DMADelayPulseHalfCplt(DMA_HandleTypeDef *hdma)
-6365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
-6367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (hdma == htim->hdma[TIM_DMA_ID_CC1])
-6369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1;
-6371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2])
-6373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2;
-6375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC3])
-6377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3;
-6379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC4])
-6381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4;
-6383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-6385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* nothing to do */
-6387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-6390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PWM_PulseFinishedHalfCpltCallback(htim);
-6391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-6392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedHalfCpltCallback(htim);
-6393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-6394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED;
-6396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief TIM DMA Capture complete callback.
-6400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param hdma pointer to DMA handle.
-6401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-6402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** void TIM_DMACaptureCplt(DMA_HandleTypeDef *hdma)
-6404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
-6406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (hdma == htim->hdma[TIM_DMA_ID_CC1])
-6408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1;
-6410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (hdma->Init.Mode == DMA_NORMAL)
-6412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
-6414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
-6415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2])
-6418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-ARM GAS /tmp/ccqsuCX7.s page 114
-
-
-6419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2;
-6420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (hdma->Init.Mode == DMA_NORMAL)
-6422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
-6424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
-6425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC3])
-6428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3;
-6430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (hdma->Init.Mode == DMA_NORMAL)
-6432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY);
-6434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY);
-6435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC4])
-6438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4;
-6440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (hdma->Init.Mode == DMA_NORMAL)
-6442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY);
-6444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY);
-6445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-6448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* nothing to do */
-6450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-6453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->IC_CaptureCallback(htim);
-6454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-6455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_IC_CaptureCallback(htim);
-6456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-6457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED;
-6459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief TIM DMA Capture half complete callback.
-6463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param hdma pointer to DMA handle.
-6464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-6465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** void TIM_DMACaptureHalfCplt(DMA_HandleTypeDef *hdma)
-6467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
-6469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (hdma == htim->hdma[TIM_DMA_ID_CC1])
-6471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1;
-6473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2])
-6475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-ARM GAS /tmp/ccqsuCX7.s page 115
-
-
-6476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2;
-6477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC3])
-6479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3;
-6481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC4])
-6483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4;
-6485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-6487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* nothing to do */
-6489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-6492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->IC_CaptureHalfCpltCallback(htim);
-6493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-6494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_IC_CaptureHalfCpltCallback(htim);
-6495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-6496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED;
-6498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief TIM DMA Period Elapse complete callback.
-6502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param hdma pointer to DMA handle.
-6503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-6504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_DMAPeriodElapsedCplt(DMA_HandleTypeDef *hdma)
-6506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
-6508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->hdma[TIM_DMA_ID_UPDATE]->Init.Mode == DMA_NORMAL)
-6510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY;
-6512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-6515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PeriodElapsedCallback(htim);
-6516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-6517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_PeriodElapsedCallback(htim);
-6518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-6519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief TIM DMA Period Elapse half complete callback.
-6523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param hdma pointer to DMA handle.
-6524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-6525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_DMAPeriodElapsedHalfCplt(DMA_HandleTypeDef *hdma)
-6527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
-6529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-6531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->PeriodElapsedHalfCpltCallback(htim);
-6532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-ARM GAS /tmp/ccqsuCX7.s page 116
-
-
-6533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_PeriodElapsedHalfCpltCallback(htim);
-6534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-6535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief TIM DMA Trigger callback.
-6539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param hdma pointer to DMA handle.
-6540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-6541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_DMATriggerCplt(DMA_HandleTypeDef *hdma)
-6543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
-6545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (htim->hdma[TIM_DMA_ID_TRIGGER]->Init.Mode == DMA_NORMAL)
-6547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->State = HAL_TIM_STATE_READY;
-6549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-6552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->TriggerCallback(htim);
-6553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-6554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_TriggerCallback(htim);
-6555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-6556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief TIM DMA Trigger half complete callback.
-6560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param hdma pointer to DMA handle.
-6561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-6562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_DMATriggerHalfCplt(DMA_HandleTypeDef *hdma)
-6564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
-6566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-6568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->TriggerHalfCpltCallback(htim);
-6569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #else
-6570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_TriggerHalfCpltCallback(htim);
-6571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-6572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Time Base configuration
-6576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIMx TIM peripheral
-6577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Structure TIM Base configuration structure
-6578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-6579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** void TIM_Base_SetConfig(TIM_TypeDef *TIMx, TIM_Base_InitTypeDef *Structure)
-6581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpcr1;
-6583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr1 = TIMx->CR1;
-6584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set TIM Time Base Unit parameters ---------------------------------------*/
-6586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_COUNTER_MODE_SELECT_INSTANCE(TIMx))
-6587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Select the Counter Mode */
-6589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr1 &= ~(TIM_CR1_DIR | TIM_CR1_CMS);
-ARM GAS /tmp/ccqsuCX7.s page 117
-
-
-6590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr1 |= Structure->CounterMode;
-6591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_CLOCK_DIVISION_INSTANCE(TIMx))
-6594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the clock division */
-6596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr1 &= ~TIM_CR1_CKD;
-6597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr1 |= (uint32_t)Structure->ClockDivision;
-6598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the auto-reload preload */
-6601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** MODIFY_REG(tmpcr1, TIM_CR1_ARPE, Structure->AutoReloadPreload);
-6602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CR1 = tmpcr1;
-6604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Autoreload value */
-6606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->ARR = (uint32_t)Structure->Period ;
-6607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Prescaler value */
-6609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->PSC = Structure->Prescaler;
-6610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_REPETITION_COUNTER_INSTANCE(TIMx))
-6612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Repetition Counter value */
-6614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->RCR = Structure->RepetitionCounter;
-6615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Generate an update event to reload the Prescaler
-6618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** and the repetition counter (only for advanced timer) value immediately */
-6619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->EGR = TIM_EGR_UG;
-6620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Timer Output Compare 1 configuration
-6624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIMx to select the TIM peripheral
-6625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param OC_Config The output configuration structure
-6626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-6627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config)
-6629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 25 .loc 1 6629 0
- 26 .cfi_startproc
- 27 @ args = 0, pretend = 0, frame = 0
- 28 @ frame_needed = 0, uses_anonymous_args = 0
- 29 @ link register save eliminated.
- 30 .LVL0:
- 31 0000 30B4 push {r4, r5}
- 32 .LCFI0:
- 33 .cfi_def_cfa_offset 8
- 34 .cfi_offset 4, -8
- 35 .cfi_offset 5, -4
-6630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccmrx;
-6631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccer;
-6632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpcr2;
-6633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Channel 1: Reset the CC1E Bit */
-6635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC1E;
-ARM GAS /tmp/ccqsuCX7.s page 118
-
-
- 36 .loc 1 6635 0
- 37 0002 036A ldr r3, [r0, #32]
- 38 0004 23F00103 bic r3, r3, #1
- 39 0008 0362 str r3, [r0, #32]
-6636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Get the TIMx CCER register value */
-6638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer = TIMx->CCER;
- 40 .loc 1 6638 0
- 41 000a 036A ldr r3, [r0, #32]
- 42 .LVL1:
-6639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Get the TIMx CR2 register value */
-6640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr2 = TIMx->CR2;
- 43 .loc 1 6640 0
- 44 000c 4468 ldr r4, [r0, #4]
- 45 .LVL2:
-6641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Get the TIMx CCMR1 register value */
-6643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmrx = TIMx->CCMR1;
- 46 .loc 1 6643 0
- 47 000e 8269 ldr r2, [r0, #24]
- 48 .LVL3:
-6644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the Output Compare Mode Bits */
-6646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR1_OC1M;
-6647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR1_CC1S;
- 49 .loc 1 6647 0
- 50 0010 22F07302 bic r2, r2, #115
- 51 .LVL4:
-6648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Select the Output Compare Mode */
-6649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmrx |= OC_Config->OCMode;
- 52 .loc 1 6649 0
- 53 0014 0D68 ldr r5, [r1]
- 54 0016 2A43 orrs r2, r2, r5
- 55 .LVL5:
-6650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the Output Polarity level */
-6652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC1P;
- 56 .loc 1 6652 0
- 57 0018 23F00203 bic r3, r3, #2
- 58 .LVL6:
-6653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Output Compare Polarity */
-6654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer |= OC_Config->OCPolarity;
- 59 .loc 1 6654 0
- 60 001c 8D68 ldr r5, [r1, #8]
- 61 001e 2B43 orrs r3, r3, r5
- 62 .LVL7:
-6655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_CCXN_INSTANCE(TIMx, TIM_CHANNEL_1))
- 63 .loc 1 6656 0
- 64 0020 114D ldr r5, .L7
- 65 0022 A842 cmp r0, r5
- 66 0024 11D0 beq .L2
- 67 .loc 1 6656 0 is_stmt 0 discriminator 1
- 68 0026 05F50065 add r5, r5, #2048
- 69 002a A842 cmp r0, r5
- 70 002c 0DD0 beq .L2
- 71 .L3:
-ARM GAS /tmp/ccqsuCX7.s page 119
-
-
-6657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check parameters */
-6659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity));
-6660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the Output N Polarity level */
-6662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC1NP;
-6663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Output N Polarity */
-6664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer |= OC_Config->OCNPolarity;
-6665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the Output N State */
-6666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC1NE;
-6667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(TIMx))
- 72 .loc 1 6669 0 is_stmt 1
- 73 002e 0E4D ldr r5, .L7
- 74 0030 A842 cmp r0, r5
- 75 0032 11D0 beq .L4
- 76 .loc 1 6669 0 is_stmt 0 discriminator 1
- 77 0034 05F50065 add r5, r5, #2048
- 78 0038 A842 cmp r0, r5
- 79 003a 0DD0 beq .L4
- 80 .L5:
-6670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check parameters */
-6672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_OCNIDLE_STATE(OC_Config->OCNIdleState));
-6673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState));
-6674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the Output Compare and Output Compare N IDLE State */
-6676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS1;
-6677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS1N;
-6678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Output Idle state */
-6679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr2 |= OC_Config->OCIdleState;
-6680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Output N Idle state */
-6681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr2 |= OC_Config->OCNIdleState;
-6682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx CR2 */
-6685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CR2 = tmpcr2;
- 81 .loc 1 6685 0 is_stmt 1
- 82 003c 4460 str r4, [r0, #4]
-6686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx CCMR1 */
-6688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCMR1 = tmpccmrx;
- 83 .loc 1 6688 0
- 84 003e 8261 str r2, [r0, #24]
-6689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Capture Compare Register value */
-6691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCR1 = OC_Config->Pulse;
- 85 .loc 1 6691 0
- 86 0040 4A68 ldr r2, [r1, #4]
- 87 .LVL8:
- 88 0042 4263 str r2, [r0, #52]
- 89 .LVL9:
-6692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx CCER */
-6694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCER = tmpccer;
- 90 .loc 1 6694 0
-ARM GAS /tmp/ccqsuCX7.s page 120
-
-
- 91 0044 0362 str r3, [r0, #32]
-6695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 92 .loc 1 6695 0
- 93 0046 30BC pop {r4, r5}
- 94 .LCFI1:
- 95 .cfi_remember_state
- 96 .cfi_restore 5
- 97 .cfi_restore 4
- 98 .cfi_def_cfa_offset 0
- 99 .LVL10:
- 100 0048 7047 bx lr
- 101 .LVL11:
- 102 .L2:
- 103 .LCFI2:
- 104 .cfi_restore_state
-6662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Output N Polarity */
- 105 .loc 1 6662 0
- 106 004a 23F00803 bic r3, r3, #8
- 107 .LVL12:
-6664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the Output N State */
- 108 .loc 1 6664 0
- 109 004e CD68 ldr r5, [r1, #12]
- 110 0050 2B43 orrs r3, r3, r5
- 111 .LVL13:
-6666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 112 .loc 1 6666 0
- 113 0052 23F00403 bic r3, r3, #4
- 114 .LVL14:
- 115 0056 EAE7 b .L3
- 116 .L4:
- 117 .LVL15:
-6677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Output Idle state */
- 118 .loc 1 6677 0
- 119 0058 24F44074 bic r4, r4, #768
- 120 .LVL16:
-6679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Output N Idle state */
- 121 .loc 1 6679 0
- 122 005c 4D69 ldr r5, [r1, #20]
- 123 005e 2C43 orrs r4, r4, r5
- 124 .LVL17:
-6681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 125 .loc 1 6681 0
- 126 0060 8D69 ldr r5, [r1, #24]
- 127 0062 2C43 orrs r4, r4, r5
- 128 .LVL18:
- 129 0064 EAE7 b .L5
- 130 .L8:
- 131 0066 00BF .align 2
- 132 .L7:
- 133 0068 002C0140 .word 1073818624
- 134 .cfi_endproc
- 135 .LFE170:
- 137 .section .text.TIM_OC3_SetConfig,"ax",%progbits
- 138 .align 1
- 139 .syntax unified
- 140 .thumb
- 141 .thumb_func
-ARM GAS /tmp/ccqsuCX7.s page 121
-
-
- 142 .fpu softvfp
- 144 TIM_OC3_SetConfig:
- 145 .LFB172:
-6696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Timer Output Compare 2 configuration
-6699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIMx to select the TIM peripheral
-6700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param OC_Config The output configuration structure
-6701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-6702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** void TIM_OC2_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config)
-6704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccmrx;
-6706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccer;
-6707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpcr2;
-6708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Channel 2: Reset the CC2E Bit */
-6710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC2E;
-6711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Get the TIMx CCER register value */
-6713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer = TIMx->CCER;
-6714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Get the TIMx CR2 register value */
-6715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr2 = TIMx->CR2;
-6716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Get the TIMx CCMR1 register value */
-6718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmrx = TIMx->CCMR1;
-6719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the Output Compare mode and Capture/Compare selection Bits */
-6721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR1_OC2M;
-6722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR1_CC2S;
-6723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Select the Output Compare Mode */
-6725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmrx |= (OC_Config->OCMode << 8U);
-6726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the Output Polarity level */
-6728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC2P;
-6729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Output Compare Polarity */
-6730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer |= (OC_Config->OCPolarity << 4U);
-6731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_CCXN_INSTANCE(TIMx, TIM_CHANNEL_2))
-6733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity));
-6735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the Output N Polarity level */
-6737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC2NP;
-6738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Output N Polarity */
-6739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer |= (OC_Config->OCNPolarity << 4U);
-6740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the Output N State */
-6741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC2NE;
-6742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(TIMx))
-6746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check parameters */
-6748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_OCNIDLE_STATE(OC_Config->OCNIdleState));
-6749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState));
-ARM GAS /tmp/ccqsuCX7.s page 122
-
-
-6750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the Output Compare and Output Compare N IDLE State */
-6752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS2;
-6753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS2N;
-6754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Output Idle state */
-6755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr2 |= (OC_Config->OCIdleState << 2U);
-6756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Output N Idle state */
-6757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr2 |= (OC_Config->OCNIdleState << 2U);
-6758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx CR2 */
-6761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CR2 = tmpcr2;
-6762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx CCMR1 */
-6764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCMR1 = tmpccmrx;
-6765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Capture Compare Register value */
-6767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCR2 = OC_Config->Pulse;
-6768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx CCER */
-6770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCER = tmpccer;
-6771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Timer Output Compare 3 configuration
-6775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIMx to select the TIM peripheral
-6776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param OC_Config The output configuration structure
-6777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-6778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config)
-6780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 146 .loc 1 6780 0
- 147 .cfi_startproc
- 148 @ args = 0, pretend = 0, frame = 0
- 149 @ frame_needed = 0, uses_anonymous_args = 0
- 150 @ link register save eliminated.
- 151 .LVL19:
- 152 0000 30B4 push {r4, r5}
- 153 .LCFI3:
- 154 .cfi_def_cfa_offset 8
- 155 .cfi_offset 4, -8
- 156 .cfi_offset 5, -4
-6781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccmrx;
-6782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccer;
-6783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpcr2;
-6784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Channel 3: Reset the CC2E Bit */
-6786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC3E;
- 157 .loc 1 6786 0
- 158 0002 036A ldr r3, [r0, #32]
- 159 0004 23F48073 bic r3, r3, #256
- 160 0008 0362 str r3, [r0, #32]
-6787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Get the TIMx CCER register value */
-6789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer = TIMx->CCER;
- 161 .loc 1 6789 0
- 162 000a 036A ldr r3, [r0, #32]
-ARM GAS /tmp/ccqsuCX7.s page 123
-
-
- 163 .LVL20:
-6790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Get the TIMx CR2 register value */
-6791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr2 = TIMx->CR2;
- 164 .loc 1 6791 0
- 165 000c 4468 ldr r4, [r0, #4]
- 166 .LVL21:
-6792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Get the TIMx CCMR2 register value */
-6794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmrx = TIMx->CCMR2;
- 167 .loc 1 6794 0
- 168 000e C269 ldr r2, [r0, #28]
- 169 .LVL22:
-6795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the Output Compare mode and Capture/Compare selection Bits */
-6797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR2_OC3M;
-6798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR2_CC3S;
- 170 .loc 1 6798 0
- 171 0010 22F07302 bic r2, r2, #115
- 172 .LVL23:
-6799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Select the Output Compare Mode */
-6800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmrx |= OC_Config->OCMode;
- 173 .loc 1 6800 0
- 174 0014 0D68 ldr r5, [r1]
- 175 0016 2A43 orrs r2, r2, r5
- 176 .LVL24:
-6801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the Output Polarity level */
-6803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC3P;
- 177 .loc 1 6803 0
- 178 0018 23F40073 bic r3, r3, #512
- 179 .LVL25:
-6804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Output Compare Polarity */
-6805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer |= (OC_Config->OCPolarity << 8U);
- 180 .loc 1 6805 0
- 181 001c 8D68 ldr r5, [r1, #8]
- 182 001e 43EA0523 orr r3, r3, r5, lsl #8
- 183 .LVL26:
-6806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_CCXN_INSTANCE(TIMx, TIM_CHANNEL_3))
- 184 .loc 1 6807 0
- 185 0022 134D ldr r5, .L15
- 186 0024 A842 cmp r0, r5
- 187 0026 11D0 beq .L10
- 188 .loc 1 6807 0 is_stmt 0 discriminator 1
- 189 0028 05F50065 add r5, r5, #2048
- 190 002c A842 cmp r0, r5
- 191 002e 0DD0 beq .L10
- 192 .L11:
-6808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity));
-6810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the Output N Polarity level */
-6812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC3NP;
-6813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Output N Polarity */
-6814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer |= (OC_Config->OCNPolarity << 8U);
-6815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the Output N State */
-6816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC3NE;
-ARM GAS /tmp/ccqsuCX7.s page 124
-
-
-6817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(TIMx))
- 193 .loc 1 6819 0 is_stmt 1
- 194 0030 0F4D ldr r5, .L15
- 195 0032 A842 cmp r0, r5
- 196 0034 12D0 beq .L12
- 197 .loc 1 6819 0 is_stmt 0 discriminator 1
- 198 0036 05F50065 add r5, r5, #2048
- 199 003a A842 cmp r0, r5
- 200 003c 0ED0 beq .L12
- 201 .L13:
-6820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check parameters */
-6822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_OCNIDLE_STATE(OC_Config->OCNIdleState));
-6823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState));
-6824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the Output Compare and Output Compare N IDLE State */
-6826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS3;
-6827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS3N;
-6828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Output Idle state */
-6829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr2 |= (OC_Config->OCIdleState << 4U);
-6830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Output N Idle state */
-6831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr2 |= (OC_Config->OCNIdleState << 4U);
-6832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx CR2 */
-6835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CR2 = tmpcr2;
- 202 .loc 1 6835 0 is_stmt 1
- 203 003e 4460 str r4, [r0, #4]
-6836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx CCMR2 */
-6838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCMR2 = tmpccmrx;
- 204 .loc 1 6838 0
- 205 0040 C261 str r2, [r0, #28]
-6839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Capture Compare Register value */
-6841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCR3 = OC_Config->Pulse;
- 206 .loc 1 6841 0
- 207 0042 4A68 ldr r2, [r1, #4]
- 208 .LVL27:
- 209 0044 C263 str r2, [r0, #60]
- 210 .LVL28:
-6842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx CCER */
-6844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCER = tmpccer;
- 211 .loc 1 6844 0
- 212 0046 0362 str r3, [r0, #32]
-6845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 213 .loc 1 6845 0
- 214 0048 30BC pop {r4, r5}
- 215 .LCFI4:
- 216 .cfi_remember_state
- 217 .cfi_restore 5
- 218 .cfi_restore 4
- 219 .cfi_def_cfa_offset 0
- 220 .LVL29:
-ARM GAS /tmp/ccqsuCX7.s page 125
-
-
- 221 004a 7047 bx lr
- 222 .LVL30:
- 223 .L10:
- 224 .LCFI5:
- 225 .cfi_restore_state
-6812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Output N Polarity */
- 226 .loc 1 6812 0
- 227 004c 23F40063 bic r3, r3, #2048
- 228 .LVL31:
-6814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the Output N State */
- 229 .loc 1 6814 0
- 230 0050 CD68 ldr r5, [r1, #12]
- 231 0052 43EA0523 orr r3, r3, r5, lsl #8
- 232 .LVL32:
-6816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 233 .loc 1 6816 0
- 234 0056 23F48063 bic r3, r3, #1024
- 235 .LVL33:
- 236 005a E9E7 b .L11
- 237 .L12:
- 238 .LVL34:
-6827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Output Idle state */
- 239 .loc 1 6827 0
- 240 005c 24F44054 bic r4, r4, #12288
- 241 .LVL35:
-6829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Output N Idle state */
- 242 .loc 1 6829 0
- 243 0060 4D69 ldr r5, [r1, #20]
- 244 0062 44EA0514 orr r4, r4, r5, lsl #4
- 245 .LVL36:
-6831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 246 .loc 1 6831 0
- 247 0066 8D69 ldr r5, [r1, #24]
- 248 0068 44EA0514 orr r4, r4, r5, lsl #4
- 249 .LVL37:
- 250 006c E7E7 b .L13
- 251 .L16:
- 252 006e 00BF .align 2
- 253 .L15:
- 254 0070 002C0140 .word 1073818624
- 255 .cfi_endproc
- 256 .LFE172:
- 258 .section .text.TIM_OC4_SetConfig,"ax",%progbits
- 259 .align 1
- 260 .syntax unified
- 261 .thumb
- 262 .thumb_func
- 263 .fpu softvfp
- 265 TIM_OC4_SetConfig:
- 266 .LFB173:
-6846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Timer Output Compare 4 configuration
-6849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIMx to select the TIM peripheral
-6850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param OC_Config The output configuration structure
-6851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-6852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-ARM GAS /tmp/ccqsuCX7.s page 126
-
-
-6853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, TIM_OC_InitTypeDef *OC_Config)
-6854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 267 .loc 1 6854 0
- 268 .cfi_startproc
- 269 @ args = 0, pretend = 0, frame = 0
- 270 @ frame_needed = 0, uses_anonymous_args = 0
- 271 @ link register save eliminated.
- 272 .LVL38:
- 273 0000 30B4 push {r4, r5}
- 274 .LCFI6:
- 275 .cfi_def_cfa_offset 8
- 276 .cfi_offset 4, -8
- 277 .cfi_offset 5, -4
-6855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccmrx;
-6856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccer;
-6857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpcr2;
-6858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Channel 4: Reset the CC4E Bit */
-6860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC4E;
- 278 .loc 1 6860 0
- 279 0002 036A ldr r3, [r0, #32]
- 280 0004 23F48053 bic r3, r3, #4096
- 281 0008 0362 str r3, [r0, #32]
-6861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Get the TIMx CCER register value */
-6863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer = TIMx->CCER;
- 282 .loc 1 6863 0
- 283 000a 036A ldr r3, [r0, #32]
- 284 .LVL39:
-6864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Get the TIMx CR2 register value */
-6865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr2 = TIMx->CR2;
- 285 .loc 1 6865 0
- 286 000c 4468 ldr r4, [r0, #4]
- 287 .LVL40:
-6866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Get the TIMx CCMR2 register value */
-6868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmrx = TIMx->CCMR2;
- 288 .loc 1 6868 0
- 289 000e C269 ldr r2, [r0, #28]
- 290 .LVL41:
-6869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the Output Compare mode and Capture/Compare selection Bits */
-6871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR2_OC4M;
-6872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmrx &= ~TIM_CCMR2_CC4S;
- 291 .loc 1 6872 0
- 292 0010 22F4E642 bic r2, r2, #29440
- 293 .LVL42:
-6873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Select the Output Compare Mode */
-6875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmrx |= (OC_Config->OCMode << 8U);
- 294 .loc 1 6875 0
- 295 0014 0D68 ldr r5, [r1]
- 296 0016 42EA0522 orr r2, r2, r5, lsl #8
- 297 .LVL43:
-6876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the Output Polarity level */
-6878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer &= ~TIM_CCER_CC4P;
-ARM GAS /tmp/ccqsuCX7.s page 127
-
-
- 298 .loc 1 6878 0
- 299 001a 23F40053 bic r3, r3, #8192
- 300 .LVL44:
-6879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Output Compare Polarity */
-6880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer |= (OC_Config->OCPolarity << 12U);
- 301 .loc 1 6880 0
- 302 001e 8D68 ldr r5, [r1, #8]
- 303 0020 43EA0533 orr r3, r3, r5, lsl #12
- 304 .LVL45:
-6881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_BREAK_INSTANCE(TIMx))
- 305 .loc 1 6882 0
- 306 0024 094D ldr r5, .L21
- 307 0026 A842 cmp r0, r5
- 308 0028 0AD0 beq .L18
- 309 .loc 1 6882 0 is_stmt 0 discriminator 1
- 310 002a 05F50065 add r5, r5, #2048
- 311 002e A842 cmp r0, r5
- 312 0030 06D0 beq .L18
- 313 .L19:
-6883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check parameters */
-6885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState));
-6886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the Output Compare IDLE State */
-6888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr2 &= ~TIM_CR2_OIS4;
-6889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Output Idle state */
-6891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr2 |= (OC_Config->OCIdleState << 6U);
-6892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx CR2 */
-6895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CR2 = tmpcr2;
- 314 .loc 1 6895 0 is_stmt 1
- 315 0032 4460 str r4, [r0, #4]
-6896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx CCMR2 */
-6898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCMR2 = tmpccmrx;
- 316 .loc 1 6898 0
- 317 0034 C261 str r2, [r0, #28]
-6899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Capture Compare Register value */
-6901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCR4 = OC_Config->Pulse;
- 318 .loc 1 6901 0
- 319 0036 4A68 ldr r2, [r1, #4]
- 320 .LVL46:
- 321 0038 0264 str r2, [r0, #64]
- 322 .LVL47:
-6902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx CCER */
-6904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCER = tmpccer;
- 323 .loc 1 6904 0
- 324 003a 0362 str r3, [r0, #32]
-6905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 325 .loc 1 6905 0
- 326 003c 30BC pop {r4, r5}
- 327 .LCFI7:
-ARM GAS /tmp/ccqsuCX7.s page 128
-
-
- 328 .cfi_remember_state
- 329 .cfi_restore 5
- 330 .cfi_restore 4
- 331 .cfi_def_cfa_offset 0
- 332 .LVL48:
- 333 003e 7047 bx lr
- 334 .LVL49:
- 335 .L18:
- 336 .LCFI8:
- 337 .cfi_restore_state
-6888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 338 .loc 1 6888 0
- 339 0040 24F48044 bic r4, r4, #16384
- 340 .LVL50:
-6891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 341 .loc 1 6891 0
- 342 0044 4D69 ldr r5, [r1, #20]
- 343 0046 44EA8514 orr r4, r4, r5, lsl #6
- 344 .LVL51:
- 345 004a F2E7 b .L19
- 346 .L22:
- 347 .align 2
- 348 .L21:
- 349 004c 002C0140 .word 1073818624
- 350 .cfi_endproc
- 351 .LFE173:
- 353 .section .text.TIM_TI1_ConfigInputStage,"ax",%progbits
- 354 .align 1
- 355 .syntax unified
- 356 .thumb
- 357 .thumb_func
- 358 .fpu softvfp
- 360 TIM_TI1_ConfigInputStage:
- 361 .LFB176:
-6906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-6908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Slave Timer configuration function
-6909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param htim TIM handle
-6910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param sSlaveConfig Slave timer configuration
-6911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-6912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-6913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static HAL_StatusTypeDef TIM_SlaveTimer_SetConfig(TIM_HandleTypeDef *htim,
-6914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_SlaveConfigTypeDef *sSlaveConfig)
-6915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
-6917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccmr1;
-6918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccer;
-6919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Get the TIMx SMCR register value */
-6921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr = htim->Instance->SMCR;
-6922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the Trigger Selection Bits */
-6924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr &= ~TIM_SMCR_TS;
-6925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Input Trigger source */
-6926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr |= sSlaveConfig->InputTrigger;
-6927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the slave mode Bits */
-ARM GAS /tmp/ccqsuCX7.s page 129
-
-
-6929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr &= ~TIM_SMCR_SMS;
-6930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the slave mode */
-6931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr |= sSlaveConfig->SlaveMode;
-6932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx SMCR */
-6934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->SMCR = tmpsmcr;
-6935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Configure the trigger prescaler, filter, and polarity */
-6937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** switch (sSlaveConfig->InputTrigger)
-6938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_TS_ETRF:
-6940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-6942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CLOCKSOURCE_ETRMODE1_INSTANCE(htim->Instance));
-6943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERPRESCALER(sSlaveConfig->TriggerPrescaler));
-6944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERPOLARITY(sSlaveConfig->TriggerPolarity));
-6945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERFILTER(sSlaveConfig->TriggerFilter));
-6946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Configure the ETR Trigger source */
-6947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_ETR_SetConfig(htim->Instance,
-6948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sSlaveConfig->TriggerPrescaler,
-6949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sSlaveConfig->TriggerPolarity,
-6950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sSlaveConfig->TriggerFilter);
-6951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_TS_TI1F_ED:
-6955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-6957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(htim->Instance));
-6958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERFILTER(sSlaveConfig->TriggerFilter));
-6959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (sSlaveConfig->SlaveMode == TIM_SLAVEMODE_GATED)
-6961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
-6963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Channel 1: Reset the CC1E Bit */
-6966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer = htim->Instance->CCER;
-6967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCER &= ~TIM_CCER_CC1E;
-6968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 = htim->Instance->CCMR1;
-6969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the filter */
-6971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 &= ~TIM_CCMR1_IC1F;
-6972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 |= ((sSlaveConfig->TriggerFilter) << 4U);
-6973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx CCMR1 and CCER registers */
-6975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR1 = tmpccmr1;
-6976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCER = tmpccer;
-6977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_TS_TI1FP1:
-6981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-6983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(htim->Instance));
-6984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERPOLARITY(sSlaveConfig->TriggerPolarity));
-6985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERFILTER(sSlaveConfig->TriggerFilter));
-ARM GAS /tmp/ccqsuCX7.s page 130
-
-
-6986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Configure TI1 Filter and Polarity */
-6988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_TI1_ConfigInputStage(htim->Instance,
-6989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sSlaveConfig->TriggerPolarity,
-6990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sSlaveConfig->TriggerFilter);
-6991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-6992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-6993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-6994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_TS_TI2FP2:
-6995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-6996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-6997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC2_INSTANCE(htim->Instance));
-6998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERPOLARITY(sSlaveConfig->TriggerPolarity));
-6999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_TRIGGERFILTER(sSlaveConfig->TriggerFilter));
-7000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Configure TI2 Filter and Polarity */
-7002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_TI2_ConfigInputStage(htim->Instance,
-7003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sSlaveConfig->TriggerPolarity,
-7004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sSlaveConfig->TriggerFilter);
-7005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-7006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-7007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_TS_ITR0:
-7009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_TS_ITR1:
-7010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_TS_ITR2:
-7011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** case TIM_TS_ITR3:
-7012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-7013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameter */
-7014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC2_INSTANCE(htim->Instance));
-7015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-7016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-7017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** default:
-7019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-7020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-7021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_OK;
-7022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-7023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-7025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Configure the TI1 as Input.
-7026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIMx to select the TIM peripheral.
-7027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIM_ICPolarity The Input Polarity.
-7028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-7029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICPOLARITY_RISING
-7030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICPOLARITY_FALLING
-7031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICPOLARITY_BOTHEDGE
-7032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIM_ICSelection specifies the input to be used.
-7033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-7034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICSELECTION_DIRECTTI: TIM Input 1 is selected to be connected to IC1.
-7035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICSELECTION_INDIRECTTI: TIM Input 1 is selected to be connected to IC2.
-7036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICSELECTION_TRC: TIM Input 1 is selected to be connected to TRC.
-7037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIM_ICFilter Specifies the Input Capture Filter.
-7038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter must be a value between 0x00 and 0x0F.
-7039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-7040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @note TIM_ICFilter and TIM_ICPolarity are not used in INDIRECT mode as TI2FP1
-7041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * (on channel2 path) is used as the input signal. Therefore CCMR1 must be
-7042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * protected against un-initialized filter and polarity values.
-ARM GAS /tmp/ccqsuCX7.s page 131
-
-
-7043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-7044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** void TIM_TI1_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection,
-7045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t TIM_ICFilter)
-7046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-7047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccmr1;
-7048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccer;
-7049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Channel 1: Reset the CC1E Bit */
-7051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC1E;
-7052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 = TIMx->CCMR1;
-7053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer = TIMx->CCER;
-7054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Select the Input */
-7056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (IS_TIM_CC2_INSTANCE(TIMx) != RESET)
-7057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-7058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 &= ~TIM_CCMR1_CC1S;
-7059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 |= TIM_ICSelection;
-7060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-7061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** else
-7062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-7063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 |= TIM_CCMR1_CC1S_0;
-7064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-7065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the filter */
-7067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 &= ~TIM_CCMR1_IC1F;
-7068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 |= ((TIM_ICFilter << 4U) & TIM_CCMR1_IC1F);
-7069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Select the Polarity and set the CC1E Bit */
-7071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC1P | TIM_CCER_CC1NP);
-7072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer |= (TIM_ICPolarity & (TIM_CCER_CC1P | TIM_CCER_CC1NP));
-7073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx CCMR1 and CCER registers */
-7075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCMR1 = tmpccmr1;
-7076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCER = tmpccer;
-7077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-7078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-7080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Configure the Polarity and Filter for TI1.
-7081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIMx to select the TIM peripheral.
-7082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIM_ICPolarity The Input Polarity.
-7083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-7084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICPOLARITY_RISING
-7085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICPOLARITY_FALLING
-7086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICPOLARITY_BOTHEDGE
-7087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIM_ICFilter Specifies the Input Capture Filter.
-7088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter must be a value between 0x00 and 0x0F.
-7089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-7090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-7091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_TI1_ConfigInputStage(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICFil
-7092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 362 .loc 1 7092 0
- 363 .cfi_startproc
- 364 @ args = 0, pretend = 0, frame = 0
- 365 @ frame_needed = 0, uses_anonymous_args = 0
- 366 @ link register save eliminated.
- 367 .LVL52:
- 368 0000 10B4 push {r4}
-ARM GAS /tmp/ccqsuCX7.s page 132
-
-
- 369 .LCFI9:
- 370 .cfi_def_cfa_offset 4
- 371 .cfi_offset 4, -4
-7093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccmr1;
-7094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccer;
-7095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Channel 1: Reset the CC1E Bit */
-7097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer = TIMx->CCER;
- 372 .loc 1 7097 0
- 373 0002 036A ldr r3, [r0, #32]
- 374 .LVL53:
-7098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC1E;
- 375 .loc 1 7098 0
- 376 0004 046A ldr r4, [r0, #32]
- 377 0006 24F00104 bic r4, r4, #1
- 378 000a 0462 str r4, [r0, #32]
-7099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 = TIMx->CCMR1;
- 379 .loc 1 7099 0
- 380 000c 8469 ldr r4, [r0, #24]
- 381 .LVL54:
-7100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the filter */
-7102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 &= ~TIM_CCMR1_IC1F;
- 382 .loc 1 7102 0
- 383 000e 24F0F004 bic r4, r4, #240
- 384 .LVL55:
-7103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 |= (TIM_ICFilter << 4U);
- 385 .loc 1 7103 0
- 386 0012 44EA0212 orr r2, r4, r2, lsl #4
- 387 .LVL56:
-7104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Select the Polarity and set the CC1E Bit */
-7106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC1P | TIM_CCER_CC1NP);
- 388 .loc 1 7106 0
- 389 0016 23F00A03 bic r3, r3, #10
- 390 .LVL57:
-7107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer |= TIM_ICPolarity;
- 391 .loc 1 7107 0
- 392 001a 0B43 orrs r3, r3, r1
- 393 .LVL58:
-7108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx CCMR1 and CCER registers */
-7110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCMR1 = tmpccmr1;
- 394 .loc 1 7110 0
- 395 001c 8261 str r2, [r0, #24]
-7111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCER = tmpccer;
- 396 .loc 1 7111 0
- 397 001e 0362 str r3, [r0, #32]
-7112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 398 .loc 1 7112 0
- 399 0020 10BC pop {r4}
- 400 .LCFI10:
- 401 .cfi_restore 4
- 402 .cfi_def_cfa_offset 0
- 403 0022 7047 bx lr
- 404 .cfi_endproc
- 405 .LFE176:
-ARM GAS /tmp/ccqsuCX7.s page 133
-
-
- 407 .section .text.TIM_TI2_SetConfig,"ax",%progbits
- 408 .align 1
- 409 .syntax unified
- 410 .thumb
- 411 .thumb_func
- 412 .fpu softvfp
- 414 TIM_TI2_SetConfig:
- 415 .LFB177:
-7113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-7115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Configure the TI2 as Input.
-7116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIMx to select the TIM peripheral
-7117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIM_ICPolarity The Input Polarity.
-7118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-7119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICPOLARITY_RISING
-7120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICPOLARITY_FALLING
-7121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICPOLARITY_BOTHEDGE
-7122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIM_ICSelection specifies the input to be used.
-7123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-7124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICSELECTION_DIRECTTI: TIM Input 2 is selected to be connected to IC2.
-7125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICSELECTION_INDIRECTTI: TIM Input 2 is selected to be connected to IC1.
-7126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICSELECTION_TRC: TIM Input 2 is selected to be connected to TRC.
-7127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIM_ICFilter Specifies the Input Capture Filter.
-7128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter must be a value between 0x00 and 0x0F.
-7129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-7130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @note TIM_ICFilter and TIM_ICPolarity are not used in INDIRECT mode as TI1FP2
-7131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * (on channel1 path) is used as the input signal. Therefore CCMR1 must be
-7132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * protected against un-initialized filter and polarity values.
-7133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-7134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_TI2_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection,
-7135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t TIM_ICFilter)
-7136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 416 .loc 1 7136 0
- 417 .cfi_startproc
- 418 @ args = 0, pretend = 0, frame = 0
- 419 @ frame_needed = 0, uses_anonymous_args = 0
- 420 @ link register save eliminated.
- 421 .LVL59:
- 422 0000 30B4 push {r4, r5}
- 423 .LCFI11:
- 424 .cfi_def_cfa_offset 8
- 425 .cfi_offset 4, -8
- 426 .cfi_offset 5, -4
-7137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccmr1;
-7138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccer;
-7139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Channel 2: Reset the CC2E Bit */
-7141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC2E;
- 427 .loc 1 7141 0
- 428 0002 046A ldr r4, [r0, #32]
- 429 0004 24F01004 bic r4, r4, #16
- 430 0008 0462 str r4, [r0, #32]
-7142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 = TIMx->CCMR1;
- 431 .loc 1 7142 0
- 432 000a 8469 ldr r4, [r0, #24]
- 433 .LVL60:
-7143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer = TIMx->CCER;
-ARM GAS /tmp/ccqsuCX7.s page 134
-
-
- 434 .loc 1 7143 0
- 435 000c 056A ldr r5, [r0, #32]
- 436 .LVL61:
-7144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Select the Input */
-7146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 &= ~TIM_CCMR1_CC2S;
- 437 .loc 1 7146 0
- 438 000e 24F44074 bic r4, r4, #768
- 439 .LVL62:
-7147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 |= (TIM_ICSelection << 8U);
- 440 .loc 1 7147 0
- 441 0012 44EA0222 orr r2, r4, r2, lsl #8
- 442 .LVL63:
-7148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the filter */
-7150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 &= ~TIM_CCMR1_IC2F;
- 443 .loc 1 7150 0
- 444 0016 22F47042 bic r2, r2, #61440
- 445 .LVL64:
-7151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 |= ((TIM_ICFilter << 12U) & TIM_CCMR1_IC2F);
- 446 .loc 1 7151 0
- 447 001a 1B03 lsls r3, r3, #12
- 448 .LVL65:
- 449 001c 9BB2 uxth r3, r3
- 450 001e 1A43 orrs r2, r2, r3
- 451 .LVL66:
-7152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Select the Polarity and set the CC2E Bit */
-7154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC2P | TIM_CCER_CC2NP);
- 452 .loc 1 7154 0
- 453 0020 25F0A005 bic r5, r5, #160
- 454 .LVL67:
-7155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer |= ((TIM_ICPolarity << 4U) & (TIM_CCER_CC2P | TIM_CCER_CC2NP));
- 455 .loc 1 7155 0
- 456 0024 0901 lsls r1, r1, #4
- 457 .LVL68:
- 458 0026 01F0A001 and r1, r1, #160
- 459 002a 0D43 orrs r5, r5, r1
- 460 .LVL69:
-7156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx CCMR1 and CCER registers */
-7158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCMR1 = tmpccmr1 ;
- 461 .loc 1 7158 0
- 462 002c 8261 str r2, [r0, #24]
-7159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCER = tmpccer;
- 463 .loc 1 7159 0
- 464 002e 0562 str r5, [r0, #32]
-7160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 465 .loc 1 7160 0
- 466 0030 30BC pop {r4, r5}
- 467 .LCFI12:
- 468 .cfi_restore 5
- 469 .cfi_restore 4
- 470 .cfi_def_cfa_offset 0
- 471 .LVL70:
- 472 0032 7047 bx lr
- 473 .cfi_endproc
-ARM GAS /tmp/ccqsuCX7.s page 135
-
-
- 474 .LFE177:
- 476 .section .text.TIM_TI2_ConfigInputStage,"ax",%progbits
- 477 .align 1
- 478 .syntax unified
- 479 .thumb
- 480 .thumb_func
- 481 .fpu softvfp
- 483 TIM_TI2_ConfigInputStage:
- 484 .LFB178:
-7161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-7163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Configure the Polarity and Filter for TI2.
-7164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIMx to select the TIM peripheral.
-7165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIM_ICPolarity The Input Polarity.
-7166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-7167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICPOLARITY_RISING
-7168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICPOLARITY_FALLING
-7169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICPOLARITY_BOTHEDGE
-7170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIM_ICFilter Specifies the Input Capture Filter.
-7171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter must be a value between 0x00 and 0x0F.
-7172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-7173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-7174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_TI2_ConfigInputStage(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICFil
-7175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 485 .loc 1 7175 0
- 486 .cfi_startproc
- 487 @ args = 0, pretend = 0, frame = 0
- 488 @ frame_needed = 0, uses_anonymous_args = 0
- 489 @ link register save eliminated.
- 490 .LVL71:
- 491 0000 10B4 push {r4}
- 492 .LCFI13:
- 493 .cfi_def_cfa_offset 4
- 494 .cfi_offset 4, -4
-7176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccmr1;
-7177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccer;
-7178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Channel 2: Reset the CC2E Bit */
-7180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC2E;
- 495 .loc 1 7180 0
- 496 0002 036A ldr r3, [r0, #32]
- 497 0004 23F01003 bic r3, r3, #16
- 498 0008 0362 str r3, [r0, #32]
-7181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 = TIMx->CCMR1;
- 499 .loc 1 7181 0
- 500 000a 8469 ldr r4, [r0, #24]
- 501 .LVL72:
-7182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer = TIMx->CCER;
- 502 .loc 1 7182 0
- 503 000c 036A ldr r3, [r0, #32]
- 504 .LVL73:
-7183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the filter */
-7185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 &= ~TIM_CCMR1_IC2F;
- 505 .loc 1 7185 0
- 506 000e 24F47044 bic r4, r4, #61440
- 507 .LVL74:
-ARM GAS /tmp/ccqsuCX7.s page 136
-
-
-7186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 |= (TIM_ICFilter << 12U);
- 508 .loc 1 7186 0
- 509 0012 44EA0232 orr r2, r4, r2, lsl #12
- 510 .LVL75:
-7187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Select the Polarity and set the CC2E Bit */
-7189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC2P | TIM_CCER_CC2NP);
- 511 .loc 1 7189 0
- 512 0016 23F0A003 bic r3, r3, #160
- 513 .LVL76:
-7190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer |= (TIM_ICPolarity << 4U);
- 514 .loc 1 7190 0
- 515 001a 43EA0113 orr r3, r3, r1, lsl #4
- 516 .LVL77:
-7191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx CCMR1 and CCER registers */
-7193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCMR1 = tmpccmr1 ;
- 517 .loc 1 7193 0
- 518 001e 8261 str r2, [r0, #24]
-7194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCER = tmpccer;
- 519 .loc 1 7194 0
- 520 0020 0362 str r3, [r0, #32]
-7195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 521 .loc 1 7195 0
- 522 0022 10BC pop {r4}
- 523 .LCFI14:
- 524 .cfi_restore 4
- 525 .cfi_def_cfa_offset 0
- 526 0024 7047 bx lr
- 527 .cfi_endproc
- 528 .LFE178:
- 530 .section .text.TIM_TI3_SetConfig,"ax",%progbits
- 531 .align 1
- 532 .syntax unified
- 533 .thumb
- 534 .thumb_func
- 535 .fpu softvfp
- 537 TIM_TI3_SetConfig:
- 538 .LFB179:
-7196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-7198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Configure the TI3 as Input.
-7199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIMx to select the TIM peripheral
-7200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIM_ICPolarity The Input Polarity.
-7201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-7202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICPOLARITY_RISING
-7203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICPOLARITY_FALLING
-7204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIM_ICSelection specifies the input to be used.
-7205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-7206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICSELECTION_DIRECTTI: TIM Input 3 is selected to be connected to IC3.
-7207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICSELECTION_INDIRECTTI: TIM Input 3 is selected to be connected to IC4.
-7208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICSELECTION_TRC: TIM Input 3 is selected to be connected to TRC.
-7209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIM_ICFilter Specifies the Input Capture Filter.
-7210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter must be a value between 0x00 and 0x0F.
-7211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-7212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @note TIM_ICFilter and TIM_ICPolarity are not used in INDIRECT mode as TI3FP4
-7213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * (on channel1 path) is used as the input signal. Therefore CCMR2 must be
-ARM GAS /tmp/ccqsuCX7.s page 137
-
-
-7214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * protected against un-initialized filter and polarity values.
-7215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-7216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_TI3_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection,
-7217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t TIM_ICFilter)
-7218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 539 .loc 1 7218 0
- 540 .cfi_startproc
- 541 @ args = 0, pretend = 0, frame = 0
- 542 @ frame_needed = 0, uses_anonymous_args = 0
- 543 @ link register save eliminated.
- 544 .LVL78:
- 545 0000 30B4 push {r4, r5}
- 546 .LCFI15:
- 547 .cfi_def_cfa_offset 8
- 548 .cfi_offset 4, -8
- 549 .cfi_offset 5, -4
-7219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccmr2;
-7220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccer;
-7221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Channel 3: Reset the CC3E Bit */
-7223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC3E;
- 550 .loc 1 7223 0
- 551 0002 046A ldr r4, [r0, #32]
- 552 0004 24F48074 bic r4, r4, #256
- 553 0008 0462 str r4, [r0, #32]
-7224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr2 = TIMx->CCMR2;
- 554 .loc 1 7224 0
- 555 000a C469 ldr r4, [r0, #28]
- 556 .LVL79:
-7225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer = TIMx->CCER;
- 557 .loc 1 7225 0
- 558 000c 056A ldr r5, [r0, #32]
- 559 .LVL80:
-7226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Select the Input */
-7228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr2 &= ~TIM_CCMR2_CC3S;
- 560 .loc 1 7228 0
- 561 000e 24F00304 bic r4, r4, #3
- 562 .LVL81:
-7229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr2 |= TIM_ICSelection;
- 563 .loc 1 7229 0
- 564 0012 2243 orrs r2, r2, r4
- 565 .LVL82:
-7230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the filter */
-7232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr2 &= ~TIM_CCMR2_IC3F;
- 566 .loc 1 7232 0
- 567 0014 22F0F002 bic r2, r2, #240
- 568 .LVL83:
-7233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr2 |= ((TIM_ICFilter << 4U) & TIM_CCMR2_IC3F);
- 569 .loc 1 7233 0
- 570 0018 1B01 lsls r3, r3, #4
- 571 .LVL84:
- 572 001a DBB2 uxtb r3, r3
- 573 001c 1A43 orrs r2, r2, r3
- 574 .LVL85:
-7234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 138
-
-
-7235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Select the Polarity and set the CC3E Bit */
-7236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC3P);
- 575 .loc 1 7236 0
- 576 001e 25F40075 bic r5, r5, #512
- 577 .LVL86:
-7237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer |= ((TIM_ICPolarity << 8U) & TIM_CCER_CC3P);
- 578 .loc 1 7237 0
- 579 0022 0902 lsls r1, r1, #8
- 580 .LVL87:
- 581 0024 01F40071 and r1, r1, #512
- 582 0028 0D43 orrs r5, r5, r1
- 583 .LVL88:
-7238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx CCMR2 and CCER registers */
-7240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCMR2 = tmpccmr2;
- 584 .loc 1 7240 0
- 585 002a C261 str r2, [r0, #28]
-7241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCER = tmpccer;
- 586 .loc 1 7241 0
- 587 002c 0562 str r5, [r0, #32]
-7242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 588 .loc 1 7242 0
- 589 002e 30BC pop {r4, r5}
- 590 .LCFI16:
- 591 .cfi_restore 5
- 592 .cfi_restore 4
- 593 .cfi_def_cfa_offset 0
- 594 .LVL89:
- 595 0030 7047 bx lr
- 596 .cfi_endproc
- 597 .LFE179:
- 599 .section .text.TIM_TI4_SetConfig,"ax",%progbits
- 600 .align 1
- 601 .syntax unified
- 602 .thumb
- 603 .thumb_func
- 604 .fpu softvfp
- 606 TIM_TI4_SetConfig:
- 607 .LFB180:
-7243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-7245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Configure the TI4 as Input.
-7246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIMx to select the TIM peripheral
-7247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIM_ICPolarity The Input Polarity.
-7248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-7249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICPOLARITY_RISING
-7250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICPOLARITY_FALLING
-7251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIM_ICSelection specifies the input to be used.
-7252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-7253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICSELECTION_DIRECTTI: TIM Input 4 is selected to be connected to IC4.
-7254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICSELECTION_INDIRECTTI: TIM Input 4 is selected to be connected to IC3.
-7255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ICSELECTION_TRC: TIM Input 4 is selected to be connected to TRC.
-7256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIM_ICFilter Specifies the Input Capture Filter.
-7257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter must be a value between 0x00 and 0x0F.
-7258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @note TIM_ICFilter and TIM_ICPolarity are not used in INDIRECT mode as TI4FP3
-7259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * (on channel1 path) is used as the input signal. Therefore CCMR2 must be
-7260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * protected against un-initialized filter and polarity values.
-ARM GAS /tmp/ccqsuCX7.s page 139
-
-
-7261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-7262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-7263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_TI4_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection,
-7264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t TIM_ICFilter)
-7265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 608 .loc 1 7265 0
- 609 .cfi_startproc
- 610 @ args = 0, pretend = 0, frame = 0
- 611 @ frame_needed = 0, uses_anonymous_args = 0
- 612 @ link register save eliminated.
- 613 .LVL90:
- 614 0000 30B4 push {r4, r5}
- 615 .LCFI17:
- 616 .cfi_def_cfa_offset 8
- 617 .cfi_offset 4, -8
- 618 .cfi_offset 5, -4
-7266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccmr2;
-7267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccer;
-7268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Disable the Channel 4: Reset the CC4E Bit */
-7270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCER &= ~TIM_CCER_CC4E;
- 619 .loc 1 7270 0
- 620 0002 046A ldr r4, [r0, #32]
- 621 0004 24F48054 bic r4, r4, #4096
- 622 0008 0462 str r4, [r0, #32]
-7271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr2 = TIMx->CCMR2;
- 623 .loc 1 7271 0
- 624 000a C469 ldr r4, [r0, #28]
- 625 .LVL91:
-7272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer = TIMx->CCER;
- 626 .loc 1 7272 0
- 627 000c 056A ldr r5, [r0, #32]
- 628 .LVL92:
-7273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Select the Input */
-7275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr2 &= ~TIM_CCMR2_CC4S;
- 629 .loc 1 7275 0
- 630 000e 24F44074 bic r4, r4, #768
- 631 .LVL93:
-7276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr2 |= (TIM_ICSelection << 8U);
- 632 .loc 1 7276 0
- 633 0012 44EA0222 orr r2, r4, r2, lsl #8
- 634 .LVL94:
-7277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the filter */
-7279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr2 &= ~TIM_CCMR2_IC4F;
- 635 .loc 1 7279 0
- 636 0016 22F47042 bic r2, r2, #61440
- 637 .LVL95:
-7280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr2 |= ((TIM_ICFilter << 12U) & TIM_CCMR2_IC4F);
- 638 .loc 1 7280 0
- 639 001a 1B03 lsls r3, r3, #12
- 640 .LVL96:
- 641 001c 9BB2 uxth r3, r3
- 642 001e 1A43 orrs r2, r2, r3
- 643 .LVL97:
-7281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 140
-
-
-7282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Select the Polarity and set the CC4E Bit */
-7283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer &= ~(TIM_CCER_CC4P);
- 644 .loc 1 7283 0
- 645 0020 25F40055 bic r5, r5, #8192
- 646 .LVL98:
-7284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer |= ((TIM_ICPolarity << 12U) & TIM_CCER_CC4P);
- 647 .loc 1 7284 0
- 648 0024 0903 lsls r1, r1, #12
- 649 .LVL99:
- 650 0026 01F40051 and r1, r1, #8192
- 651 002a 0D43 orrs r5, r5, r1
- 652 .LVL100:
-7285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx CCMR2 and CCER registers */
-7287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCMR2 = tmpccmr2;
- 653 .loc 1 7287 0
- 654 002c C261 str r2, [r0, #28]
-7288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCER = tmpccer ;
- 655 .loc 1 7288 0
- 656 002e 0562 str r5, [r0, #32]
-7289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 657 .loc 1 7289 0
- 658 0030 30BC pop {r4, r5}
- 659 .LCFI18:
- 660 .cfi_restore 5
- 661 .cfi_restore 4
- 662 .cfi_def_cfa_offset 0
- 663 .LVL101:
- 664 0032 7047 bx lr
- 665 .cfi_endproc
- 666 .LFE180:
- 668 .section .text.TIM_ITRx_SetConfig,"ax",%progbits
- 669 .align 1
- 670 .syntax unified
- 671 .thumb
- 672 .thumb_func
- 673 .fpu softvfp
- 675 TIM_ITRx_SetConfig:
- 676 .LFB181:
-7290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-7292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Selects the Input Trigger source
-7293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIMx to select the TIM peripheral
-7294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param InputTriggerSource The Input Trigger source.
-7295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-7296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_TS_ITR0: Internal Trigger 0
-7297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_TS_ITR1: Internal Trigger 1
-7298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_TS_ITR2: Internal Trigger 2
-7299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_TS_ITR3: Internal Trigger 3
-7300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_TS_TI1F_ED: TI1 Edge Detector
-7301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_TS_TI1FP1: Filtered Timer Input 1
-7302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_TS_TI2FP2: Filtered Timer Input 2
-7303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_TS_ETRF: External Trigger input
-7304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-7305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-7306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** static void TIM_ITRx_SetConfig(TIM_TypeDef *TIMx, uint32_t InputTriggerSource)
-7307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-ARM GAS /tmp/ccqsuCX7.s page 141
-
-
- 677 .loc 1 7307 0
- 678 .cfi_startproc
- 679 @ args = 0, pretend = 0, frame = 0
- 680 @ frame_needed = 0, uses_anonymous_args = 0
- 681 @ link register save eliminated.
- 682 .LVL102:
-7308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
-7309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Get the TIMx SMCR register value */
-7311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr = TIMx->SMCR;
- 683 .loc 1 7311 0
- 684 0000 8368 ldr r3, [r0, #8]
- 685 .LVL103:
-7312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the TS Bits */
-7313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr &= ~TIM_SMCR_TS;
- 686 .loc 1 7313 0
- 687 0002 23F07003 bic r3, r3, #112
- 688 .LVL104:
-7314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Input Trigger source and the slave mode*/
-7315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr |= (InputTriggerSource | TIM_SLAVEMODE_EXTERNAL1);
- 689 .loc 1 7315 0
- 690 0006 1943 orrs r1, r1, r3
- 691 .LVL105:
- 692 0008 41F00701 orr r1, r1, #7
- 693 .LVL106:
-7316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx SMCR */
-7317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->SMCR = tmpsmcr;
- 694 .loc 1 7317 0
- 695 000c 8160 str r1, [r0, #8]
- 696 000e 7047 bx lr
- 697 .cfi_endproc
- 698 .LFE181:
- 700 .section .text.HAL_TIM_Base_MspInit,"ax",%progbits
- 701 .align 1
- 702 .weak HAL_TIM_Base_MspInit
- 703 .syntax unified
- 704 .thumb
- 705 .thumb_func
- 706 .fpu softvfp
- 708 HAL_TIM_Base_MspInit:
- 709 .LFB67:
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 710 .loc 1 369 0
- 711 .cfi_startproc
- 712 @ args = 0, pretend = 0, frame = 0
- 713 @ frame_needed = 0, uses_anonymous_args = 0
- 714 @ link register save eliminated.
- 715 .LVL107:
- 716 0000 7047 bx lr
- 717 .cfi_endproc
- 718 .LFE67:
- 720 .section .text.HAL_TIM_Base_MspDeInit,"ax",%progbits
- 721 .align 1
- 722 .weak HAL_TIM_Base_MspDeInit
- 723 .syntax unified
- 724 .thumb
- 725 .thumb_func
-ARM GAS /tmp/ccqsuCX7.s page 142
-
-
- 726 .fpu softvfp
- 728 HAL_TIM_Base_MspDeInit:
- 729 .LFB68:
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 730 .loc 1 384 0
- 731 .cfi_startproc
- 732 @ args = 0, pretend = 0, frame = 0
- 733 @ frame_needed = 0, uses_anonymous_args = 0
- 734 @ link register save eliminated.
- 735 .LVL108:
- 736 0000 7047 bx lr
- 737 .cfi_endproc
- 738 .LFE68:
- 740 .section .text.HAL_TIM_Base_DeInit,"ax",%progbits
- 741 .align 1
- 742 .global HAL_TIM_Base_DeInit
- 743 .syntax unified
- 744 .thumb
- 745 .thumb_func
- 746 .fpu softvfp
- 748 HAL_TIM_Base_DeInit:
- 749 .LFB66:
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 750 .loc 1 326 0
- 751 .cfi_startproc
- 752 @ args = 0, pretend = 0, frame = 0
- 753 @ frame_needed = 0, uses_anonymous_args = 0
- 754 .LVL109:
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 755 .loc 1 326 0
- 756 0000 10B5 push {r4, lr}
- 757 .LCFI19:
- 758 .cfi_def_cfa_offset 8
- 759 .cfi_offset 4, -8
- 760 .cfi_offset 14, -4
- 761 0002 0446 mov r4, r0
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 762 .loc 1 330 0
- 763 0004 0223 movs r3, #2
- 764 0006 80F83D30 strb r3, [r0, #61]
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 765 .loc 1 333 0
- 766 000a 0368 ldr r3, [r0]
- 767 000c 196A ldr r1, [r3, #32]
- 768 000e 41F21112 movw r2, #4369
- 769 0012 1142 tst r1, r2
- 770 0014 08D1 bne .L37
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 771 .loc 1 333 0 is_stmt 0 discriminator 1
- 772 0016 196A ldr r1, [r3, #32]
- 773 0018 40F24442 movw r2, #1092
- 774 001c 1142 tst r1, r2
- 775 001e 03D1 bne .L37
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 776 .loc 1 333 0 discriminator 2
- 777 0020 1A68 ldr r2, [r3]
- 778 0022 22F00102 bic r2, r2, #1
-ARM GAS /tmp/ccqsuCX7.s page 143
-
-
- 779 0026 1A60 str r2, [r3]
- 780 .L37:
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 781 .loc 1 344 0 is_stmt 1
- 782 0028 2046 mov r0, r4
- 783 .LVL110:
- 784 002a FFF7FEFF bl HAL_TIM_Base_MspDeInit
- 785 .LVL111:
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 786 .loc 1 348 0
- 787 002e 0020 movs r0, #0
- 788 0030 84F84600 strb r0, [r4, #70]
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET);
- 789 .loc 1 351 0
- 790 0034 84F83E00 strb r0, [r4, #62]
- 791 0038 84F83F00 strb r0, [r4, #63]
- 792 003c 84F84000 strb r0, [r4, #64]
- 793 0040 84F84100 strb r0, [r4, #65]
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 794 .loc 1 352 0
- 795 0044 84F84200 strb r0, [r4, #66]
- 796 0048 84F84300 strb r0, [r4, #67]
- 797 004c 84F84400 strb r0, [r4, #68]
- 798 0050 84F84500 strb r0, [r4, #69]
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 799 .loc 1 355 0
- 800 0054 84F83D00 strb r0, [r4, #61]
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 801 .loc 1 358 0
- 802 0058 84F83C00 strb r0, [r4, #60]
- 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 803 .loc 1 361 0
- 804 005c 10BD pop {r4, pc}
- 805 .cfi_endproc
- 806 .LFE66:
- 808 .section .text.HAL_TIM_Base_Start,"ax",%progbits
- 809 .align 1
- 810 .global HAL_TIM_Base_Start
- 811 .syntax unified
- 812 .thumb
- 813 .thumb_func
- 814 .fpu softvfp
- 816 HAL_TIM_Base_Start:
- 817 .LFB69:
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 818 .loc 1 400 0
- 819 .cfi_startproc
- 820 @ args = 0, pretend = 0, frame = 0
- 821 @ frame_needed = 0, uses_anonymous_args = 0
- 822 @ link register save eliminated.
- 823 .LVL112:
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 824 .loc 1 407 0
- 825 0000 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 826 0004 DBB2 uxtb r3, r3
- 827 0006 012B cmp r3, #1
- 828 0008 01D0 beq .L45
-ARM GAS /tmp/ccqsuCX7.s page 144
-
-
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 829 .loc 1 409 0
- 830 000a 0120 movs r0, #1
- 831 .LVL113:
- 832 000c 7047 bx lr
- 833 .LVL114:
- 834 .L45:
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 835 .loc 1 413 0
- 836 000e 0223 movs r3, #2
- 837 0010 80F83D30 strb r3, [r0, #61]
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 838 .loc 1 416 0
- 839 0014 0368 ldr r3, [r0]
- 840 0016 144A ldr r2, .L46
- 841 0018 9342 cmp r3, r2
- 842 001a 18D0 beq .L41
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 843 .loc 1 416 0 is_stmt 0 discriminator 1
- 844 001c 02F50062 add r2, r2, #2048
- 845 0020 9342 cmp r3, r2
- 846 0022 14D0 beq .L41
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 847 .loc 1 416 0 discriminator 2
- 848 0024 B3F1804F cmp r3, #1073741824
- 849 0028 11D0 beq .L41
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 850 .loc 1 416 0 discriminator 3
- 851 002a A2F59832 sub r2, r2, #77824
- 852 002e 9342 cmp r3, r2
- 853 0030 0DD0 beq .L41
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 854 .loc 1 416 0 discriminator 4
- 855 0032 02F58062 add r2, r2, #1024
- 856 0036 9342 cmp r3, r2
- 857 0038 09D0 beq .L41
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 858 .loc 1 416 0 discriminator 5
- 859 003a 02F58062 add r2, r2, #1024
- 860 003e 9342 cmp r3, r2
- 861 0040 05D0 beq .L41
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 862 .loc 1 426 0 is_stmt 1
- 863 0042 1A68 ldr r2, [r3]
- 864 0044 42F00102 orr r2, r2, #1
- 865 0048 1A60 str r2, [r3]
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 866 .loc 1 430 0
- 867 004a 0020 movs r0, #0
- 868 .LVL115:
- 869 004c 7047 bx lr
- 870 .LVL116:
- 871 .L41:
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 872 .loc 1 418 0
- 873 004e 9A68 ldr r2, [r3, #8]
- 874 0050 02F00702 and r2, r2, #7
-ARM GAS /tmp/ccqsuCX7.s page 145
-
-
- 875 .LVL117:
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 876 .loc 1 419 0
- 877 0054 062A cmp r2, #6
- 878 0056 05D0 beq .L44
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 879 .loc 1 421 0
- 880 0058 1A68 ldr r2, [r3]
- 881 .LVL118:
- 882 005a 42F00102 orr r2, r2, #1
- 883 005e 1A60 str r2, [r3]
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 884 .loc 1 430 0
- 885 0060 0020 movs r0, #0
- 886 .LVL119:
- 887 0062 7047 bx lr
- 888 .LVL120:
- 889 .L44:
- 890 0064 0020 movs r0, #0
- 891 .LVL121:
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 892 .loc 1 431 0
- 893 0066 7047 bx lr
- 894 .L47:
- 895 .align 2
- 896 .L46:
- 897 0068 002C0140 .word 1073818624
- 898 .cfi_endproc
- 899 .LFE69:
- 901 .section .text.HAL_TIM_Base_Stop,"ax",%progbits
- 902 .align 1
- 903 .global HAL_TIM_Base_Stop
- 904 .syntax unified
- 905 .thumb
- 906 .thumb_func
- 907 .fpu softvfp
- 909 HAL_TIM_Base_Stop:
- 910 .LFB70:
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 911 .loc 1 439 0
- 912 .cfi_startproc
- 913 @ args = 0, pretend = 0, frame = 0
- 914 @ frame_needed = 0, uses_anonymous_args = 0
- 915 @ link register save eliminated.
- 916 .LVL122:
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 917 .loc 1 444 0
- 918 0000 0368 ldr r3, [r0]
- 919 0002 196A ldr r1, [r3, #32]
- 920 0004 41F21112 movw r2, #4369
- 921 0008 1142 tst r1, r2
- 922 000a 08D1 bne .L49
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 923 .loc 1 444 0 is_stmt 0 discriminator 1
- 924 000c 196A ldr r1, [r3, #32]
- 925 000e 40F24442 movw r2, #1092
- 926 0012 1142 tst r1, r2
-ARM GAS /tmp/ccqsuCX7.s page 146
-
-
- 927 0014 03D1 bne .L49
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 928 .loc 1 444 0 discriminator 2
- 929 0016 1A68 ldr r2, [r3]
- 930 0018 22F00102 bic r2, r2, #1
- 931 001c 1A60 str r2, [r3]
- 932 .L49:
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 933 .loc 1 447 0 is_stmt 1
- 934 001e 0123 movs r3, #1
- 935 0020 80F83D30 strb r3, [r0, #61]
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 936 .loc 1 451 0
- 937 0024 0020 movs r0, #0
- 938 .LVL123:
- 939 0026 7047 bx lr
- 940 .cfi_endproc
- 941 .LFE70:
- 943 .section .text.HAL_TIM_Base_Start_IT,"ax",%progbits
- 944 .align 1
- 945 .global HAL_TIM_Base_Start_IT
- 946 .syntax unified
- 947 .thumb
- 948 .thumb_func
- 949 .fpu softvfp
- 951 HAL_TIM_Base_Start_IT:
- 952 .LFB71:
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 953 .loc 1 459 0
- 954 .cfi_startproc
- 955 @ args = 0, pretend = 0, frame = 0
- 956 @ frame_needed = 0, uses_anonymous_args = 0
- 957 @ link register save eliminated.
- 958 .LVL124:
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 959 .loc 1 466 0
- 960 0000 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 961 0004 DBB2 uxtb r3, r3
- 962 0006 012B cmp r3, #1
- 963 0008 01D0 beq .L56
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 964 .loc 1 468 0
- 965 000a 0120 movs r0, #1
- 966 .LVL125:
- 967 000c 7047 bx lr
- 968 .LVL126:
- 969 .L56:
- 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 970 .loc 1 472 0
- 971 000e 0223 movs r3, #2
- 972 0010 80F83D30 strb r3, [r0, #61]
- 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 973 .loc 1 475 0
- 974 0014 0268 ldr r2, [r0]
- 975 0016 D368 ldr r3, [r2, #12]
- 976 0018 43F00103 orr r3, r3, #1
- 977 001c D360 str r3, [r2, #12]
-ARM GAS /tmp/ccqsuCX7.s page 147
-
-
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 978 .loc 1 478 0
- 979 001e 0368 ldr r3, [r0]
- 980 0020 144A ldr r2, .L57
- 981 0022 9342 cmp r3, r2
- 982 0024 18D0 beq .L52
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 983 .loc 1 478 0 is_stmt 0 discriminator 1
- 984 0026 02F50062 add r2, r2, #2048
- 985 002a 9342 cmp r3, r2
- 986 002c 14D0 beq .L52
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 987 .loc 1 478 0 discriminator 2
- 988 002e B3F1804F cmp r3, #1073741824
- 989 0032 11D0 beq .L52
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 990 .loc 1 478 0 discriminator 3
- 991 0034 A2F59832 sub r2, r2, #77824
- 992 0038 9342 cmp r3, r2
- 993 003a 0DD0 beq .L52
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 994 .loc 1 478 0 discriminator 4
- 995 003c 02F58062 add r2, r2, #1024
- 996 0040 9342 cmp r3, r2
- 997 0042 09D0 beq .L52
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 998 .loc 1 478 0 discriminator 5
- 999 0044 02F58062 add r2, r2, #1024
- 1000 0048 9342 cmp r3, r2
- 1001 004a 05D0 beq .L52
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 1002 .loc 1 488 0 is_stmt 1
- 1003 004c 1A68 ldr r2, [r3]
- 1004 004e 42F00102 orr r2, r2, #1
- 1005 0052 1A60 str r2, [r3]
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 1006 .loc 1 492 0
- 1007 0054 0020 movs r0, #0
- 1008 .LVL127:
- 1009 0056 7047 bx lr
- 1010 .LVL128:
- 1011 .L52:
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 1012 .loc 1 480 0
- 1013 0058 9A68 ldr r2, [r3, #8]
- 1014 005a 02F00702 and r2, r2, #7
- 1015 .LVL129:
- 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 1016 .loc 1 481 0
- 1017 005e 062A cmp r2, #6
- 1018 0060 05D0 beq .L55
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 1019 .loc 1 483 0
- 1020 0062 1A68 ldr r2, [r3]
- 1021 .LVL130:
- 1022 0064 42F00102 orr r2, r2, #1
- 1023 0068 1A60 str r2, [r3]
-ARM GAS /tmp/ccqsuCX7.s page 148
-
-
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 1024 .loc 1 492 0
- 1025 006a 0020 movs r0, #0
- 1026 .LVL131:
- 1027 006c 7047 bx lr
- 1028 .LVL132:
- 1029 .L55:
- 1030 006e 0020 movs r0, #0
- 1031 .LVL133:
- 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1032 .loc 1 493 0
- 1033 0070 7047 bx lr
- 1034 .L58:
- 1035 0072 00BF .align 2
- 1036 .L57:
- 1037 0074 002C0140 .word 1073818624
- 1038 .cfi_endproc
- 1039 .LFE71:
- 1041 .section .text.HAL_TIM_Base_Stop_IT,"ax",%progbits
- 1042 .align 1
- 1043 .global HAL_TIM_Base_Stop_IT
- 1044 .syntax unified
- 1045 .thumb
- 1046 .thumb_func
- 1047 .fpu softvfp
- 1049 HAL_TIM_Base_Stop_IT:
- 1050 .LFB72:
- 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 1051 .loc 1 501 0
- 1052 .cfi_startproc
- 1053 @ args = 0, pretend = 0, frame = 0
- 1054 @ frame_needed = 0, uses_anonymous_args = 0
- 1055 @ link register save eliminated.
- 1056 .LVL134:
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1057 .loc 1 506 0
- 1058 0000 0268 ldr r2, [r0]
- 1059 0002 D368 ldr r3, [r2, #12]
- 1060 0004 23F00103 bic r3, r3, #1
- 1061 0008 D360 str r3, [r2, #12]
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1062 .loc 1 509 0
- 1063 000a 0368 ldr r3, [r0]
- 1064 000c 196A ldr r1, [r3, #32]
- 1065 000e 41F21112 movw r2, #4369
- 1066 0012 1142 tst r1, r2
- 1067 0014 08D1 bne .L60
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1068 .loc 1 509 0 is_stmt 0 discriminator 1
- 1069 0016 196A ldr r1, [r3, #32]
- 1070 0018 40F24442 movw r2, #1092
- 1071 001c 1142 tst r1, r2
- 1072 001e 03D1 bne .L60
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1073 .loc 1 509 0 discriminator 2
- 1074 0020 1A68 ldr r2, [r3]
- 1075 0022 22F00102 bic r2, r2, #1
-ARM GAS /tmp/ccqsuCX7.s page 149
-
-
- 1076 0026 1A60 str r2, [r3]
- 1077 .L60:
- 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1078 .loc 1 512 0 is_stmt 1
- 1079 0028 0123 movs r3, #1
- 1080 002a 80F83D30 strb r3, [r0, #61]
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1081 .loc 1 516 0
- 1082 002e 0020 movs r0, #0
- 1083 .LVL135:
- 1084 0030 7047 bx lr
- 1085 .cfi_endproc
- 1086 .LFE72:
- 1088 .section .text.HAL_TIM_Base_Start_DMA,"ax",%progbits
- 1089 .align 1
- 1090 .global HAL_TIM_Base_Start_DMA
- 1091 .syntax unified
- 1092 .thumb
- 1093 .thumb_func
- 1094 .fpu softvfp
- 1096 HAL_TIM_Base_Start_DMA:
- 1097 .LFB73:
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 1098 .loc 1 526 0
- 1099 .cfi_startproc
- 1100 @ args = 0, pretend = 0, frame = 0
- 1101 @ frame_needed = 0, uses_anonymous_args = 0
- 1102 .LVL136:
- 1103 0000 10B5 push {r4, lr}
- 1104 .LCFI20:
- 1105 .cfi_def_cfa_offset 8
- 1106 .cfi_offset 4, -8
- 1107 .cfi_offset 14, -4
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 1108 .loc 1 533 0
- 1109 0002 90F83D40 ldrb r4, [r0, #61] @ zero_extendqisi2
- 1110 0006 E4B2 uxtb r4, r4
- 1111 0008 022C cmp r4, #2
- 1112 000a 4CD0 beq .L66
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 1113 .loc 1 537 0
- 1114 000c 90F83D40 ldrb r4, [r0, #61] @ zero_extendqisi2
- 1115 0010 E4B2 uxtb r4, r4
- 1116 0012 012C cmp r4, #1
- 1117 0014 01D0 beq .L71
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 1118 .loc 1 550 0
- 1119 0016 0123 movs r3, #1
- 1120 0018 46E0 b .L62
- 1121 .L71:
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 1122 .loc 1 539 0
- 1123 001a 0029 cmp r1, #0
- 1124 001c 35D0 beq .L72
- 1125 .L63:
- 1126 001e 1346 mov r3, r2
- 1127 0020 0446 mov r4, r0
-ARM GAS /tmp/ccqsuCX7.s page 150
-
-
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 1128 .loc 1 545 0
- 1129 0022 0222 movs r2, #2
- 1130 .LVL137:
- 1131 0024 80F83D20 strb r2, [r0, #61]
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt;
- 1132 .loc 1 554 0
- 1133 0028 026A ldr r2, [r0, #32]
- 1134 002a 2148 ldr r0, .L73
- 1135 .LVL138:
- 1136 002c 9062 str r0, [r2, #40]
- 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1137 .loc 1 555 0
- 1138 002e 226A ldr r2, [r4, #32]
- 1139 0030 2048 ldr r0, .L73+4
- 1140 0032 D062 str r0, [r2, #44]
- 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1141 .loc 1 558 0
- 1142 0034 226A ldr r2, [r4, #32]
- 1143 0036 2048 ldr r0, .L73+8
- 1144 0038 1063 str r0, [r2, #48]
- 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 1145 .loc 1 561 0
- 1146 003a 2268 ldr r2, [r4]
- 1147 003c 2C32 adds r2, r2, #44
- 1148 003e 206A ldr r0, [r4, #32]
- 1149 0040 FFF7FEFF bl HAL_DMA_Start_IT
- 1150 .LVL139:
- 1151 0044 0346 mov r3, r0
- 1152 0046 88BB cbnz r0, .L69
- 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1153 .loc 1 568 0
- 1154 0048 2168 ldr r1, [r4]
- 1155 004a CA68 ldr r2, [r1, #12]
- 1156 004c 42F48072 orr r2, r2, #256
- 1157 0050 CA60 str r2, [r1, #12]
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 1158 .loc 1 571 0
- 1159 0052 2268 ldr r2, [r4]
- 1160 0054 1949 ldr r1, .L73+12
- 1161 0056 8A42 cmp r2, r1
- 1162 0058 1BD0 beq .L64
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 1163 .loc 1 571 0 is_stmt 0 discriminator 1
- 1164 005a 01F50061 add r1, r1, #2048
- 1165 005e 8A42 cmp r2, r1
- 1166 0060 17D0 beq .L64
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 1167 .loc 1 571 0 discriminator 2
- 1168 0062 B2F1804F cmp r2, #1073741824
- 1169 0066 14D0 beq .L64
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 1170 .loc 1 571 0 discriminator 3
- 1171 0068 A1F59831 sub r1, r1, #77824
- 1172 006c 8A42 cmp r2, r1
- 1173 006e 10D0 beq .L64
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-ARM GAS /tmp/ccqsuCX7.s page 151
-
-
- 1174 .loc 1 571 0 discriminator 4
- 1175 0070 01F58061 add r1, r1, #1024
- 1176 0074 8A42 cmp r2, r1
- 1177 0076 0CD0 beq .L64
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 1178 .loc 1 571 0 discriminator 5
- 1179 0078 01F58061 add r1, r1, #1024
- 1180 007c 8A42 cmp r2, r1
- 1181 007e 08D0 beq .L64
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 1182 .loc 1 581 0 is_stmt 1
- 1183 0080 1168 ldr r1, [r2]
- 1184 0082 41F00101 orr r1, r1, #1
- 1185 0086 1160 str r1, [r2]
- 1186 0088 0EE0 b .L62
- 1187 .LVL140:
- 1188 .L72:
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 1189 .loc 1 539 0 discriminator 1
- 1190 008a 002A cmp r2, #0
- 1191 008c C7D0 beq .L63
- 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 1192 .loc 1 541 0
- 1193 008e 0123 movs r3, #1
- 1194 0090 0AE0 b .L62
- 1195 .LVL141:
- 1196 .L64:
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 1197 .loc 1 573 0
- 1198 0092 9168 ldr r1, [r2, #8]
- 1199 0094 01F00701 and r1, r1, #7
- 1200 .LVL142:
- 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 1201 .loc 1 574 0
- 1202 0098 0629 cmp r1, #6
- 1203 009a 05D0 beq .L62
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 1204 .loc 1 576 0
- 1205 009c 1168 ldr r1, [r2]
- 1206 .LVL143:
- 1207 009e 41F00101 orr r1, r1, #1
- 1208 00a2 1160 str r1, [r2]
- 1209 00a4 00E0 b .L62
- 1210 .LVL144:
- 1211 .L66:
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 1212 .loc 1 535 0
- 1213 00a6 0223 movs r3, #2
- 1214 .LVL145:
- 1215 .L62:
- 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1216 .loc 1 586 0
- 1217 00a8 1846 mov r0, r3
- 1218 00aa 10BD pop {r4, pc}
- 1219 .LVL146:
- 1220 .L69:
- 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-ARM GAS /tmp/ccqsuCX7.s page 152
-
-
- 1221 .loc 1 564 0
- 1222 00ac 0123 movs r3, #1
- 1223 00ae FBE7 b .L62
- 1224 .L74:
- 1225 .align 2
- 1226 .L73:
- 1227 00b0 00000000 .word TIM_DMAPeriodElapsedCplt
- 1228 00b4 00000000 .word TIM_DMAPeriodElapsedHalfCplt
- 1229 00b8 00000000 .word TIM_DMAError
- 1230 00bc 002C0140 .word 1073818624
- 1231 .cfi_endproc
- 1232 .LFE73:
- 1234 .section .text.HAL_TIM_Base_Stop_DMA,"ax",%progbits
- 1235 .align 1
- 1236 .global HAL_TIM_Base_Stop_DMA
- 1237 .syntax unified
- 1238 .thumb
- 1239 .thumb_func
- 1240 .fpu softvfp
- 1242 HAL_TIM_Base_Stop_DMA:
- 1243 .LFB74:
- 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 1244 .loc 1 594 0
- 1245 .cfi_startproc
- 1246 @ args = 0, pretend = 0, frame = 0
- 1247 @ frame_needed = 0, uses_anonymous_args = 0
- 1248 .LVL147:
- 1249 0000 10B5 push {r4, lr}
- 1250 .LCFI21:
- 1251 .cfi_def_cfa_offset 8
- 1252 .cfi_offset 4, -8
- 1253 .cfi_offset 14, -4
- 1254 0002 0446 mov r4, r0
- 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1255 .loc 1 599 0
- 1256 0004 0268 ldr r2, [r0]
- 1257 0006 D368 ldr r3, [r2, #12]
- 1258 0008 23F48073 bic r3, r3, #256
- 1259 000c D360 str r3, [r2, #12]
- 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1260 .loc 1 601 0
- 1261 000e 006A ldr r0, [r0, #32]
- 1262 .LVL148:
- 1263 0010 FFF7FEFF bl HAL_DMA_Abort_IT
- 1264 .LVL149:
- 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1265 .loc 1 604 0
- 1266 0014 2368 ldr r3, [r4]
- 1267 0016 196A ldr r1, [r3, #32]
- 1268 0018 41F21112 movw r2, #4369
- 1269 001c 1142 tst r1, r2
- 1270 001e 08D1 bne .L76
- 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1271 .loc 1 604 0 is_stmt 0 discriminator 1
- 1272 0020 196A ldr r1, [r3, #32]
- 1273 0022 40F24442 movw r2, #1092
- 1274 0026 1142 tst r1, r2
-ARM GAS /tmp/ccqsuCX7.s page 153
-
-
- 1275 0028 03D1 bne .L76
- 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1276 .loc 1 604 0 discriminator 2
- 1277 002a 1A68 ldr r2, [r3]
- 1278 002c 22F00102 bic r2, r2, #1
- 1279 0030 1A60 str r2, [r3]
- 1280 .L76:
- 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1281 .loc 1 607 0 is_stmt 1
- 1282 0032 0123 movs r3, #1
- 1283 0034 84F83D30 strb r3, [r4, #61]
- 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1284 .loc 1 611 0
- 1285 0038 0020 movs r0, #0
- 1286 003a 10BD pop {r4, pc}
- 1287 .cfi_endproc
- 1288 .LFE74:
- 1290 .section .text.HAL_TIM_OC_MspInit,"ax",%progbits
- 1291 .align 1
- 1292 .weak HAL_TIM_OC_MspInit
- 1293 .syntax unified
- 1294 .thumb
- 1295 .thumb_func
- 1296 .fpu softvfp
- 1298 HAL_TIM_OC_MspInit:
- 1299 .LFB77:
- 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 1300 .loc 1 751 0
- 1301 .cfi_startproc
- 1302 @ args = 0, pretend = 0, frame = 0
- 1303 @ frame_needed = 0, uses_anonymous_args = 0
- 1304 @ link register save eliminated.
- 1305 .LVL150:
- 1306 0000 7047 bx lr
- 1307 .cfi_endproc
- 1308 .LFE77:
- 1310 .section .text.HAL_TIM_OC_MspDeInit,"ax",%progbits
- 1311 .align 1
- 1312 .weak HAL_TIM_OC_MspDeInit
- 1313 .syntax unified
- 1314 .thumb
- 1315 .thumb_func
- 1316 .fpu softvfp
- 1318 HAL_TIM_OC_MspDeInit:
- 1319 .LFB78:
- 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 1320 .loc 1 766 0
- 1321 .cfi_startproc
- 1322 @ args = 0, pretend = 0, frame = 0
- 1323 @ frame_needed = 0, uses_anonymous_args = 0
- 1324 @ link register save eliminated.
- 1325 .LVL151:
- 1326 0000 7047 bx lr
- 1327 .cfi_endproc
- 1328 .LFE78:
- 1330 .section .text.HAL_TIM_OC_DeInit,"ax",%progbits
- 1331 .align 1
-ARM GAS /tmp/ccqsuCX7.s page 154
-
-
- 1332 .global HAL_TIM_OC_DeInit
- 1333 .syntax unified
- 1334 .thumb
- 1335 .thumb_func
- 1336 .fpu softvfp
- 1338 HAL_TIM_OC_DeInit:
- 1339 .LFB76:
- 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 1340 .loc 1 708 0
- 1341 .cfi_startproc
- 1342 @ args = 0, pretend = 0, frame = 0
- 1343 @ frame_needed = 0, uses_anonymous_args = 0
- 1344 .LVL152:
- 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 1345 .loc 1 708 0
- 1346 0000 10B5 push {r4, lr}
- 1347 .LCFI22:
- 1348 .cfi_def_cfa_offset 8
- 1349 .cfi_offset 4, -8
- 1350 .cfi_offset 14, -4
- 1351 0002 0446 mov r4, r0
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1352 .loc 1 712 0
- 1353 0004 0223 movs r3, #2
- 1354 0006 80F83D30 strb r3, [r0, #61]
- 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1355 .loc 1 715 0
- 1356 000a 0368 ldr r3, [r0]
- 1357 000c 196A ldr r1, [r3, #32]
- 1358 000e 41F21112 movw r2, #4369
- 1359 0012 1142 tst r1, r2
- 1360 0014 08D1 bne .L81
- 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1361 .loc 1 715 0 is_stmt 0 discriminator 1
- 1362 0016 196A ldr r1, [r3, #32]
- 1363 0018 40F24442 movw r2, #1092
- 1364 001c 1142 tst r1, r2
- 1365 001e 03D1 bne .L81
- 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1366 .loc 1 715 0 discriminator 2
- 1367 0020 1A68 ldr r2, [r3]
- 1368 0022 22F00102 bic r2, r2, #1
- 1369 0026 1A60 str r2, [r3]
- 1370 .L81:
- 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 1371 .loc 1 726 0 is_stmt 1
- 1372 0028 2046 mov r0, r4
- 1373 .LVL153:
- 1374 002a FFF7FEFF bl HAL_TIM_OC_MspDeInit
- 1375 .LVL154:
- 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1376 .loc 1 730 0
- 1377 002e 0020 movs r0, #0
- 1378 0030 84F84600 strb r0, [r4, #70]
- 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET);
- 1379 .loc 1 733 0
- 1380 0034 84F83E00 strb r0, [r4, #62]
-ARM GAS /tmp/ccqsuCX7.s page 155
-
-
- 1381 0038 84F83F00 strb r0, [r4, #63]
- 1382 003c 84F84000 strb r0, [r4, #64]
- 1383 0040 84F84100 strb r0, [r4, #65]
- 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1384 .loc 1 734 0
- 1385 0044 84F84200 strb r0, [r4, #66]
- 1386 0048 84F84300 strb r0, [r4, #67]
- 1387 004c 84F84400 strb r0, [r4, #68]
- 1388 0050 84F84500 strb r0, [r4, #69]
- 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1389 .loc 1 737 0
- 1390 0054 84F83D00 strb r0, [r4, #61]
- 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1391 .loc 1 740 0
- 1392 0058 84F83C00 strb r0, [r4, #60]
- 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1393 .loc 1 743 0
- 1394 005c 10BD pop {r4, pc}
- 1395 .cfi_endproc
- 1396 .LFE76:
- 1398 .section .text.HAL_TIM_PWM_MspInit,"ax",%progbits
- 1399 .align 1
- 1400 .weak HAL_TIM_PWM_MspInit
- 1401 .syntax unified
- 1402 .thumb
- 1403 .thumb_func
- 1404 .fpu softvfp
- 1406 HAL_TIM_PWM_MspInit:
- 1407 .LFB87:
-1388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 1408 .loc 1 1388 0
- 1409 .cfi_startproc
- 1410 @ args = 0, pretend = 0, frame = 0
- 1411 @ frame_needed = 0, uses_anonymous_args = 0
- 1412 @ link register save eliminated.
- 1413 .LVL155:
- 1414 0000 7047 bx lr
- 1415 .cfi_endproc
- 1416 .LFE87:
- 1418 .section .text.HAL_TIM_PWM_MspDeInit,"ax",%progbits
- 1419 .align 1
- 1420 .weak HAL_TIM_PWM_MspDeInit
- 1421 .syntax unified
- 1422 .thumb
- 1423 .thumb_func
- 1424 .fpu softvfp
- 1426 HAL_TIM_PWM_MspDeInit:
- 1427 .LFB88:
-1403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 1428 .loc 1 1403 0
- 1429 .cfi_startproc
- 1430 @ args = 0, pretend = 0, frame = 0
- 1431 @ frame_needed = 0, uses_anonymous_args = 0
- 1432 @ link register save eliminated.
- 1433 .LVL156:
- 1434 0000 7047 bx lr
- 1435 .cfi_endproc
-ARM GAS /tmp/ccqsuCX7.s page 156
-
-
- 1436 .LFE88:
- 1438 .section .text.HAL_TIM_PWM_DeInit,"ax",%progbits
- 1439 .align 1
- 1440 .global HAL_TIM_PWM_DeInit
- 1441 .syntax unified
- 1442 .thumb
- 1443 .thumb_func
- 1444 .fpu softvfp
- 1446 HAL_TIM_PWM_DeInit:
- 1447 .LFB86:
-1345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 1448 .loc 1 1345 0
- 1449 .cfi_startproc
- 1450 @ args = 0, pretend = 0, frame = 0
- 1451 @ frame_needed = 0, uses_anonymous_args = 0
- 1452 .LVL157:
-1345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 1453 .loc 1 1345 0
- 1454 0000 10B5 push {r4, lr}
- 1455 .LCFI23:
- 1456 .cfi_def_cfa_offset 8
- 1457 .cfi_offset 4, -8
- 1458 .cfi_offset 14, -4
- 1459 0002 0446 mov r4, r0
-1349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1460 .loc 1 1349 0
- 1461 0004 0223 movs r3, #2
- 1462 0006 80F83D30 strb r3, [r0, #61]
-1352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1463 .loc 1 1352 0
- 1464 000a 0368 ldr r3, [r0]
- 1465 000c 196A ldr r1, [r3, #32]
- 1466 000e 41F21112 movw r2, #4369
- 1467 0012 1142 tst r1, r2
- 1468 0014 08D1 bne .L86
-1352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1469 .loc 1 1352 0 is_stmt 0 discriminator 1
- 1470 0016 196A ldr r1, [r3, #32]
- 1471 0018 40F24442 movw r2, #1092
- 1472 001c 1142 tst r1, r2
- 1473 001e 03D1 bne .L86
-1352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1474 .loc 1 1352 0 discriminator 2
- 1475 0020 1A68 ldr r2, [r3]
- 1476 0022 22F00102 bic r2, r2, #1
- 1477 0026 1A60 str r2, [r3]
- 1478 .L86:
-1363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 1479 .loc 1 1363 0 is_stmt 1
- 1480 0028 2046 mov r0, r4
- 1481 .LVL158:
- 1482 002a FFF7FEFF bl HAL_TIM_PWM_MspDeInit
- 1483 .LVL159:
-1367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1484 .loc 1 1367 0
- 1485 002e 0020 movs r0, #0
- 1486 0030 84F84600 strb r0, [r4, #70]
-ARM GAS /tmp/ccqsuCX7.s page 157
-
-
-1370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET);
- 1487 .loc 1 1370 0
- 1488 0034 84F83E00 strb r0, [r4, #62]
- 1489 0038 84F83F00 strb r0, [r4, #63]
- 1490 003c 84F84000 strb r0, [r4, #64]
- 1491 0040 84F84100 strb r0, [r4, #65]
-1371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1492 .loc 1 1371 0
- 1493 0044 84F84200 strb r0, [r4, #66]
- 1494 0048 84F84300 strb r0, [r4, #67]
- 1495 004c 84F84400 strb r0, [r4, #68]
- 1496 0050 84F84500 strb r0, [r4, #69]
-1374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1497 .loc 1 1374 0
- 1498 0054 84F83D00 strb r0, [r4, #61]
-1377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1499 .loc 1 1377 0
- 1500 0058 84F83C00 strb r0, [r4, #60]
-1380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1501 .loc 1 1380 0
- 1502 005c 10BD pop {r4, pc}
- 1503 .cfi_endproc
- 1504 .LFE86:
- 1506 .section .text.HAL_TIM_IC_MspInit,"ax",%progbits
- 1507 .align 1
- 1508 .weak HAL_TIM_IC_MspInit
- 1509 .syntax unified
- 1510 .thumb
- 1511 .thumb_func
- 1512 .fpu softvfp
- 1514 HAL_TIM_IC_MspInit:
- 1515 .LFB97:
-2023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 1516 .loc 1 2023 0
- 1517 .cfi_startproc
- 1518 @ args = 0, pretend = 0, frame = 0
- 1519 @ frame_needed = 0, uses_anonymous_args = 0
- 1520 @ link register save eliminated.
- 1521 .LVL160:
- 1522 0000 7047 bx lr
- 1523 .cfi_endproc
- 1524 .LFE97:
- 1526 .section .text.HAL_TIM_IC_MspDeInit,"ax",%progbits
- 1527 .align 1
- 1528 .weak HAL_TIM_IC_MspDeInit
- 1529 .syntax unified
- 1530 .thumb
- 1531 .thumb_func
- 1532 .fpu softvfp
- 1534 HAL_TIM_IC_MspDeInit:
- 1535 .LFB98:
-2038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 1536 .loc 1 2038 0
- 1537 .cfi_startproc
- 1538 @ args = 0, pretend = 0, frame = 0
- 1539 @ frame_needed = 0, uses_anonymous_args = 0
- 1540 @ link register save eliminated.
-ARM GAS /tmp/ccqsuCX7.s page 158
-
-
- 1541 .LVL161:
- 1542 0000 7047 bx lr
- 1543 .cfi_endproc
- 1544 .LFE98:
- 1546 .section .text.HAL_TIM_IC_DeInit,"ax",%progbits
- 1547 .align 1
- 1548 .global HAL_TIM_IC_DeInit
- 1549 .syntax unified
- 1550 .thumb
- 1551 .thumb_func
- 1552 .fpu softvfp
- 1554 HAL_TIM_IC_DeInit:
- 1555 .LFB96:
-1980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 1556 .loc 1 1980 0
- 1557 .cfi_startproc
- 1558 @ args = 0, pretend = 0, frame = 0
- 1559 @ frame_needed = 0, uses_anonymous_args = 0
- 1560 .LVL162:
-1980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 1561 .loc 1 1980 0
- 1562 0000 10B5 push {r4, lr}
- 1563 .LCFI24:
- 1564 .cfi_def_cfa_offset 8
- 1565 .cfi_offset 4, -8
- 1566 .cfi_offset 14, -4
- 1567 0002 0446 mov r4, r0
-1984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1568 .loc 1 1984 0
- 1569 0004 0223 movs r3, #2
- 1570 0006 80F83D30 strb r3, [r0, #61]
-1987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1571 .loc 1 1987 0
- 1572 000a 0368 ldr r3, [r0]
- 1573 000c 196A ldr r1, [r3, #32]
- 1574 000e 41F21112 movw r2, #4369
- 1575 0012 1142 tst r1, r2
- 1576 0014 08D1 bne .L91
-1987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1577 .loc 1 1987 0 is_stmt 0 discriminator 1
- 1578 0016 196A ldr r1, [r3, #32]
- 1579 0018 40F24442 movw r2, #1092
- 1580 001c 1142 tst r1, r2
- 1581 001e 03D1 bne .L91
-1987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1582 .loc 1 1987 0 discriminator 2
- 1583 0020 1A68 ldr r2, [r3]
- 1584 0022 22F00102 bic r2, r2, #1
- 1585 0026 1A60 str r2, [r3]
- 1586 .L91:
-1998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 1587 .loc 1 1998 0 is_stmt 1
- 1588 0028 2046 mov r0, r4
- 1589 .LVL163:
- 1590 002a FFF7FEFF bl HAL_TIM_IC_MspDeInit
- 1591 .LVL164:
-2002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 159
-
-
- 1592 .loc 1 2002 0
- 1593 002e 0020 movs r0, #0
- 1594 0030 84F84600 strb r0, [r4, #70]
-2005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_RESET);
- 1595 .loc 1 2005 0
- 1596 0034 84F83E00 strb r0, [r4, #62]
- 1597 0038 84F83F00 strb r0, [r4, #63]
- 1598 003c 84F84000 strb r0, [r4, #64]
- 1599 0040 84F84100 strb r0, [r4, #65]
-2006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1600 .loc 1 2006 0
- 1601 0044 84F84200 strb r0, [r4, #66]
- 1602 0048 84F84300 strb r0, [r4, #67]
- 1603 004c 84F84400 strb r0, [r4, #68]
- 1604 0050 84F84500 strb r0, [r4, #69]
-2009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1605 .loc 1 2009 0
- 1606 0054 84F83D00 strb r0, [r4, #61]
-2012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1607 .loc 1 2012 0
- 1608 0058 84F83C00 strb r0, [r4, #60]
-2015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1609 .loc 1 2015 0
- 1610 005c 10BD pop {r4, pc}
- 1611 .cfi_endproc
- 1612 .LFE96:
- 1614 .section .text.HAL_TIM_OnePulse_MspInit,"ax",%progbits
- 1615 .align 1
- 1616 .weak HAL_TIM_OnePulse_MspInit
- 1617 .syntax unified
- 1618 .thumb
- 1619 .thumb_func
- 1620 .fpu softvfp
- 1622 HAL_TIM_OnePulse_MspInit:
- 1623 .LFB107:
-2656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 1624 .loc 1 2656 0
- 1625 .cfi_startproc
- 1626 @ args = 0, pretend = 0, frame = 0
- 1627 @ frame_needed = 0, uses_anonymous_args = 0
- 1628 @ link register save eliminated.
- 1629 .LVL165:
- 1630 0000 7047 bx lr
- 1631 .cfi_endproc
- 1632 .LFE107:
- 1634 .section .text.HAL_TIM_OnePulse_MspDeInit,"ax",%progbits
- 1635 .align 1
- 1636 .weak HAL_TIM_OnePulse_MspDeInit
- 1637 .syntax unified
- 1638 .thumb
- 1639 .thumb_func
- 1640 .fpu softvfp
- 1642 HAL_TIM_OnePulse_MspDeInit:
- 1643 .LFB108:
-2671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 1644 .loc 1 2671 0
- 1645 .cfi_startproc
-ARM GAS /tmp/ccqsuCX7.s page 160
-
-
- 1646 @ args = 0, pretend = 0, frame = 0
- 1647 @ frame_needed = 0, uses_anonymous_args = 0
- 1648 @ link register save eliminated.
- 1649 .LVL166:
- 1650 0000 7047 bx lr
- 1651 .cfi_endproc
- 1652 .LFE108:
- 1654 .section .text.HAL_TIM_OnePulse_DeInit,"ax",%progbits
- 1655 .align 1
- 1656 .global HAL_TIM_OnePulse_DeInit
- 1657 .syntax unified
- 1658 .thumb
- 1659 .thumb_func
- 1660 .fpu softvfp
- 1662 HAL_TIM_OnePulse_DeInit:
- 1663 .LFB106:
-2611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 1664 .loc 1 2611 0
- 1665 .cfi_startproc
- 1666 @ args = 0, pretend = 0, frame = 0
- 1667 @ frame_needed = 0, uses_anonymous_args = 0
- 1668 .LVL167:
-2611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 1669 .loc 1 2611 0
- 1670 0000 10B5 push {r4, lr}
- 1671 .LCFI25:
- 1672 .cfi_def_cfa_offset 8
- 1673 .cfi_offset 4, -8
- 1674 .cfi_offset 14, -4
- 1675 0002 0446 mov r4, r0
-2615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1676 .loc 1 2615 0
- 1677 0004 0223 movs r3, #2
- 1678 0006 80F83D30 strb r3, [r0, #61]
-2618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1679 .loc 1 2618 0
- 1680 000a 0368 ldr r3, [r0]
- 1681 000c 196A ldr r1, [r3, #32]
- 1682 000e 41F21112 movw r2, #4369
- 1683 0012 1142 tst r1, r2
- 1684 0014 08D1 bne .L96
-2618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1685 .loc 1 2618 0 is_stmt 0 discriminator 1
- 1686 0016 196A ldr r1, [r3, #32]
- 1687 0018 40F24442 movw r2, #1092
- 1688 001c 1142 tst r1, r2
- 1689 001e 03D1 bne .L96
-2618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1690 .loc 1 2618 0 discriminator 2
- 1691 0020 1A68 ldr r2, [r3]
- 1692 0022 22F00102 bic r2, r2, #1
- 1693 0026 1A60 str r2, [r3]
- 1694 .L96:
-2629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 1695 .loc 1 2629 0 is_stmt 1
- 1696 0028 2046 mov r0, r4
- 1697 .LVL168:
-ARM GAS /tmp/ccqsuCX7.s page 161
-
-
- 1698 002a FFF7FEFF bl HAL_TIM_OnePulse_MspDeInit
- 1699 .LVL169:
-2633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1700 .loc 1 2633 0
- 1701 002e 0020 movs r0, #0
- 1702 0030 84F84600 strb r0, [r4, #70]
-2636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET);
- 1703 .loc 1 2636 0
- 1704 0034 84F83E00 strb r0, [r4, #62]
-2637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET);
- 1705 .loc 1 2637 0
- 1706 0038 84F83F00 strb r0, [r4, #63]
-2638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET);
- 1707 .loc 1 2638 0
- 1708 003c 84F84200 strb r0, [r4, #66]
-2639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1709 .loc 1 2639 0
- 1710 0040 84F84300 strb r0, [r4, #67]
-2642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1711 .loc 1 2642 0
- 1712 0044 84F83D00 strb r0, [r4, #61]
-2645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1713 .loc 1 2645 0
- 1714 0048 84F83C00 strb r0, [r4, #60]
-2648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1715 .loc 1 2648 0
- 1716 004c 10BD pop {r4, pc}
- 1717 .cfi_endproc
- 1718 .LFE106:
- 1720 .section .text.HAL_TIM_Encoder_MspInit,"ax",%progbits
- 1721 .align 1
- 1722 .weak HAL_TIM_Encoder_MspInit
- 1723 .syntax unified
- 1724 .thumb
- 1725 .thumb_func
- 1726 .fpu softvfp
- 1728 HAL_TIM_Encoder_MspInit:
- 1729 .LFB115:
-3087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 1730 .loc 1 3087 0
- 1731 .cfi_startproc
- 1732 @ args = 0, pretend = 0, frame = 0
- 1733 @ frame_needed = 0, uses_anonymous_args = 0
- 1734 @ link register save eliminated.
- 1735 .LVL170:
- 1736 0000 7047 bx lr
- 1737 .cfi_endproc
- 1738 .LFE115:
- 1740 .section .text.HAL_TIM_Encoder_MspDeInit,"ax",%progbits
- 1741 .align 1
- 1742 .weak HAL_TIM_Encoder_MspDeInit
- 1743 .syntax unified
- 1744 .thumb
- 1745 .thumb_func
- 1746 .fpu softvfp
- 1748 HAL_TIM_Encoder_MspDeInit:
- 1749 .LFB116:
-ARM GAS /tmp/ccqsuCX7.s page 162
-
-
-3102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 1750 .loc 1 3102 0
- 1751 .cfi_startproc
- 1752 @ args = 0, pretend = 0, frame = 0
- 1753 @ frame_needed = 0, uses_anonymous_args = 0
- 1754 @ link register save eliminated.
- 1755 .LVL171:
- 1756 0000 7047 bx lr
- 1757 .cfi_endproc
- 1758 .LFE116:
- 1760 .section .text.HAL_TIM_Encoder_DeInit,"ax",%progbits
- 1761 .align 1
- 1762 .global HAL_TIM_Encoder_DeInit
- 1763 .syntax unified
- 1764 .thumb
- 1765 .thumb_func
- 1766 .fpu softvfp
- 1768 HAL_TIM_Encoder_DeInit:
- 1769 .LFB114:
-3042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 1770 .loc 1 3042 0
- 1771 .cfi_startproc
- 1772 @ args = 0, pretend = 0, frame = 0
- 1773 @ frame_needed = 0, uses_anonymous_args = 0
- 1774 .LVL172:
-3042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 1775 .loc 1 3042 0
- 1776 0000 10B5 push {r4, lr}
- 1777 .LCFI26:
- 1778 .cfi_def_cfa_offset 8
- 1779 .cfi_offset 4, -8
- 1780 .cfi_offset 14, -4
- 1781 0002 0446 mov r4, r0
-3046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1782 .loc 1 3046 0
- 1783 0004 0223 movs r3, #2
- 1784 0006 80F83D30 strb r3, [r0, #61]
-3049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1785 .loc 1 3049 0
- 1786 000a 0368 ldr r3, [r0]
- 1787 000c 196A ldr r1, [r3, #32]
- 1788 000e 41F21112 movw r2, #4369
- 1789 0012 1142 tst r1, r2
- 1790 0014 08D1 bne .L101
-3049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1791 .loc 1 3049 0 is_stmt 0 discriminator 1
- 1792 0016 196A ldr r1, [r3, #32]
- 1793 0018 40F24442 movw r2, #1092
- 1794 001c 1142 tst r1, r2
- 1795 001e 03D1 bne .L101
-3049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1796 .loc 1 3049 0 discriminator 2
- 1797 0020 1A68 ldr r2, [r3]
- 1798 0022 22F00102 bic r2, r2, #1
- 1799 0026 1A60 str r2, [r3]
- 1800 .L101:
-3060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-ARM GAS /tmp/ccqsuCX7.s page 163
-
-
- 1801 .loc 1 3060 0 is_stmt 1
- 1802 0028 2046 mov r0, r4
- 1803 .LVL173:
- 1804 002a FFF7FEFF bl HAL_TIM_Encoder_MspDeInit
- 1805 .LVL174:
-3064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1806 .loc 1 3064 0
- 1807 002e 0020 movs r0, #0
- 1808 0030 84F84600 strb r0, [r4, #70]
-3067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET);
- 1809 .loc 1 3067 0
- 1810 0034 84F83E00 strb r0, [r4, #62]
-3068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET);
- 1811 .loc 1 3068 0
- 1812 0038 84F83F00 strb r0, [r4, #63]
-3069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET);
- 1813 .loc 1 3069 0
- 1814 003c 84F84200 strb r0, [r4, #66]
-3070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1815 .loc 1 3070 0
- 1816 0040 84F84300 strb r0, [r4, #67]
-3073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1817 .loc 1 3073 0
- 1818 0044 84F83D00 strb r0, [r4, #61]
-3076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1819 .loc 1 3076 0
- 1820 0048 84F83C00 strb r0, [r4, #60]
-3079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1821 .loc 1 3079 0
- 1822 004c 10BD pop {r4, pc}
- 1823 .cfi_endproc
- 1824 .LFE114:
- 1826 .section .text.HAL_TIM_DMABurst_MultiWriteStart,"ax",%progbits
- 1827 .align 1
- 1828 .global HAL_TIM_DMABurst_MultiWriteStart
- 1829 .syntax unified
- 1830 .thumb
- 1831 .thumb_func
- 1832 .fpu softvfp
- 1834 HAL_TIM_DMABurst_MultiWriteStart:
- 1835 .LFB129:
-4408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 1836 .loc 1 4408 0
- 1837 .cfi_startproc
- 1838 @ args = 8, pretend = 0, frame = 0
- 1839 @ frame_needed = 0, uses_anonymous_args = 0
- 1840 .LVL175:
- 1841 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
- 1842 .LCFI27:
- 1843 .cfi_def_cfa_offset 24
- 1844 .cfi_offset 3, -24
- 1845 .cfi_offset 4, -20
- 1846 .cfi_offset 5, -16
- 1847 .cfi_offset 6, -12
- 1848 .cfi_offset 7, -8
- 1849 .cfi_offset 14, -4
-4416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-ARM GAS /tmp/ccqsuCX7.s page 164
-
-
- 1850 .loc 1 4416 0
- 1851 0002 90F84640 ldrb r4, [r0, #70] @ zero_extendqisi2
- 1852 0006 E4B2 uxtb r4, r4
- 1853 0008 022C cmp r4, #2
- 1854 000a 00F0C180 beq .L116
-4420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 1855 .loc 1 4420 0
- 1856 000e 90F84640 ldrb r4, [r0, #70] @ zero_extendqisi2
- 1857 0012 E4B2 uxtb r4, r4
- 1858 0014 012C cmp r4, #1
- 1859 0016 1AD0 beq .L126
- 1860 .L105:
- 1861 0018 1E46 mov r6, r3
- 1862 001a 1546 mov r5, r2
- 1863 001c 0F46 mov r7, r1
- 1864 001e 0446 mov r4, r0
-4435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 1865 .loc 1 4435 0
- 1866 0020 B2F5006F cmp r2, #2048
- 1867 0024 76D0 beq .L108
- 1868 0026 1CD8 bhi .L109
- 1869 0028 B2F5007F cmp r2, #512
- 1870 002c 4AD0 beq .L110
- 1871 002e B2F5806F cmp r2, #1024
- 1872 0032 5BD0 beq .L111
- 1873 0034 B2F5807F cmp r2, #256
- 1874 0038 30D0 beq .L127
- 1875 .LVL176:
- 1876 .L107:
-4568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM DMA Request */
- 1877 .loc 1 4568 0
- 1878 003a 2368 ldr r3, [r4]
- 1879 003c 069A ldr r2, [sp, #24]
- 1880 003e 1743 orrs r7, r7, r2
- 1881 .LVL177:
- 1882 0040 9F64 str r7, [r3, #72]
-4570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1883 .loc 1 4570 0
- 1884 0042 2368 ldr r3, [r4]
- 1885 0044 DA68 ldr r2, [r3, #12]
- 1886 0046 2A43 orrs r2, r2, r5
- 1887 0048 DA60 str r2, [r3, #12]
-4573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 1888 .loc 1 4573 0
- 1889 004a 0020 movs r0, #0
- 1890 004c F8BD pop {r3, r4, r5, r6, r7, pc}
- 1891 .LVL178:
- 1892 .L126:
-4422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 1893 .loc 1 4422 0
- 1894 004e 1BB1 cbz r3, .L128
- 1895 .L106:
-4428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 1896 .loc 1 4428 0
- 1897 0050 0224 movs r4, #2
- 1898 0052 80F84640 strb r4, [r0, #70]
- 1899 0056 DFE7 b .L105
-ARM GAS /tmp/ccqsuCX7.s page 165
-
-
- 1900 .L128:
-4422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 1901 .loc 1 4422 0 discriminator 1
- 1902 0058 069C ldr r4, [sp, #24]
- 1903 005a 002C cmp r4, #0
- 1904 005c F8D0 beq .L106
-4424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 1905 .loc 1 4424 0
- 1906 005e 0120 movs r0, #1
- 1907 .LVL179:
- 1908 0060 F8BD pop {r3, r4, r5, r6, r7, pc}
- 1909 .LVL180:
- 1910 .L109:
-4435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 1911 .loc 1 4435 0
- 1912 0062 B2F5005F cmp r2, #8192
- 1913 0066 69D0 beq .L113
- 1914 0068 B2F5804F cmp r2, #16384
- 1915 006c 7BD0 beq .L114
- 1916 006e B2F5805F cmp r2, #4096
- 1917 0072 E2D1 bne .L107
-4512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
- 1918 .loc 1 4512 0
- 1919 0074 036B ldr r3, [r0, #48]
- 1920 .LVL181:
- 1921 0076 474A ldr r2, .L129
- 1922 .LVL182:
- 1923 0078 9A62 str r2, [r3, #40]
-4513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1924 .loc 1 4513 0
- 1925 007a 036B ldr r3, [r0, #48]
- 1926 007c 464A ldr r2, .L129+4
- 1927 007e DA62 str r2, [r3, #44]
-4516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1928 .loc 1 4516 0
- 1929 0080 036B ldr r3, [r0, #48]
- 1930 0082 464A ldr r2, .L129+8
- 1931 0084 1A63 str r2, [r3, #48]
-4520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 1932 .loc 1 4520 0
- 1933 0086 0268 ldr r2, [r0]
-4519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK)
- 1934 .loc 1 4519 0
- 1935 0088 079B ldr r3, [sp, #28]
- 1936 008a 4C32 adds r2, r2, #76
- 1937 008c 3146 mov r1, r6
- 1938 .LVL183:
- 1939 008e 006B ldr r0, [r0, #48]
- 1940 .LVL184:
- 1941 0090 FFF7FEFF bl HAL_DMA_Start_IT
- 1942 .LVL185:
- 1943 0094 0028 cmp r0, #0
- 1944 0096 D0D0 beq .L107
-4523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 1945 .loc 1 4523 0
- 1946 0098 0120 movs r0, #1
- 1947 009a F8BD pop {r3, r4, r5, r6, r7, pc}
-ARM GAS /tmp/ccqsuCX7.s page 166
-
-
- 1948 .LVL186:
- 1949 .L127:
-4440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt;
- 1950 .loc 1 4440 0
- 1951 009c 036A ldr r3, [r0, #32]
- 1952 .LVL187:
- 1953 009e 404A ldr r2, .L129+12
- 1954 .LVL188:
- 1955 00a0 9A62 str r2, [r3, #40]
-4441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1956 .loc 1 4441 0
- 1957 00a2 036A ldr r3, [r0, #32]
- 1958 00a4 3F4A ldr r2, .L129+16
- 1959 00a6 DA62 str r2, [r3, #44]
-4444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1960 .loc 1 4444 0
- 1961 00a8 036A ldr r3, [r0, #32]
- 1962 00aa 3C4A ldr r2, .L129+8
- 1963 00ac 1A63 str r2, [r3, #48]
-4448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 1964 .loc 1 4448 0
- 1965 00ae 0268 ldr r2, [r0]
-4447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK)
- 1966 .loc 1 4447 0
- 1967 00b0 079B ldr r3, [sp, #28]
- 1968 00b2 4C32 adds r2, r2, #76
- 1969 00b4 3146 mov r1, r6
- 1970 .LVL189:
- 1971 00b6 006A ldr r0, [r0, #32]
- 1972 .LVL190:
- 1973 00b8 FFF7FEFF bl HAL_DMA_Start_IT
- 1974 .LVL191:
- 1975 00bc 0028 cmp r0, #0
- 1976 00be BCD0 beq .L107
-4451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 1977 .loc 1 4451 0
- 1978 00c0 0120 movs r0, #1
- 1979 00c2 F8BD pop {r3, r4, r5, r6, r7, pc}
- 1980 .LVL192:
- 1981 .L110:
-4458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
- 1982 .loc 1 4458 0
- 1983 00c4 436A ldr r3, [r0, #36]
- 1984 .LVL193:
- 1985 00c6 334A ldr r2, .L129
- 1986 .LVL194:
- 1987 00c8 9A62 str r2, [r3, #40]
-4459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1988 .loc 1 4459 0
- 1989 00ca 436A ldr r3, [r0, #36]
- 1990 00cc 324A ldr r2, .L129+4
- 1991 00ce DA62 str r2, [r3, #44]
-4462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 1992 .loc 1 4462 0
- 1993 00d0 436A ldr r3, [r0, #36]
- 1994 00d2 324A ldr r2, .L129+8
- 1995 00d4 1A63 str r2, [r3, #48]
-ARM GAS /tmp/ccqsuCX7.s page 167
-
-
-4466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 1996 .loc 1 4466 0
- 1997 00d6 0268 ldr r2, [r0]
-4465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK)
- 1998 .loc 1 4465 0
- 1999 00d8 079B ldr r3, [sp, #28]
- 2000 00da 4C32 adds r2, r2, #76
- 2001 00dc 3146 mov r1, r6
- 2002 .LVL195:
- 2003 00de 406A ldr r0, [r0, #36]
- 2004 .LVL196:
- 2005 00e0 FFF7FEFF bl HAL_DMA_Start_IT
- 2006 .LVL197:
- 2007 00e4 0028 cmp r0, #0
- 2008 00e6 A8D0 beq .L107
-4469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2009 .loc 1 4469 0
- 2010 00e8 0120 movs r0, #1
- 2011 00ea F8BD pop {r3, r4, r5, r6, r7, pc}
- 2012 .LVL198:
- 2013 .L111:
-4476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
- 2014 .loc 1 4476 0
- 2015 00ec 836A ldr r3, [r0, #40]
- 2016 .LVL199:
- 2017 00ee 294A ldr r2, .L129
- 2018 .LVL200:
- 2019 00f0 9A62 str r2, [r3, #40]
-4477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2020 .loc 1 4477 0
- 2021 00f2 836A ldr r3, [r0, #40]
- 2022 00f4 284A ldr r2, .L129+4
- 2023 00f6 DA62 str r2, [r3, #44]
-4480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2024 .loc 1 4480 0
- 2025 00f8 836A ldr r3, [r0, #40]
- 2026 00fa 284A ldr r2, .L129+8
- 2027 00fc 1A63 str r2, [r3, #48]
-4484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 2028 .loc 1 4484 0
- 2029 00fe 0268 ldr r2, [r0]
-4483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK)
- 2030 .loc 1 4483 0
- 2031 0100 079B ldr r3, [sp, #28]
- 2032 0102 4C32 adds r2, r2, #76
- 2033 0104 3146 mov r1, r6
- 2034 .LVL201:
- 2035 0106 806A ldr r0, [r0, #40]
- 2036 .LVL202:
- 2037 0108 FFF7FEFF bl HAL_DMA_Start_IT
- 2038 .LVL203:
- 2039 010c 0028 cmp r0, #0
- 2040 010e 94D0 beq .L107
-4487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2041 .loc 1 4487 0
- 2042 0110 0120 movs r0, #1
- 2043 0112 F8BD pop {r3, r4, r5, r6, r7, pc}
-ARM GAS /tmp/ccqsuCX7.s page 168
-
-
- 2044 .LVL204:
- 2045 .L108:
-4494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
- 2046 .loc 1 4494 0
- 2047 0114 C36A ldr r3, [r0, #44]
- 2048 .LVL205:
- 2049 0116 1F4A ldr r2, .L129
- 2050 .LVL206:
- 2051 0118 9A62 str r2, [r3, #40]
-4495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2052 .loc 1 4495 0
- 2053 011a C36A ldr r3, [r0, #44]
- 2054 011c 1E4A ldr r2, .L129+4
- 2055 011e DA62 str r2, [r3, #44]
-4498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2056 .loc 1 4498 0
- 2057 0120 C36A ldr r3, [r0, #44]
- 2058 0122 1E4A ldr r2, .L129+8
- 2059 0124 1A63 str r2, [r3, #48]
-4502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 2060 .loc 1 4502 0
- 2061 0126 0268 ldr r2, [r0]
-4501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK)
- 2062 .loc 1 4501 0
- 2063 0128 079B ldr r3, [sp, #28]
- 2064 012a 4C32 adds r2, r2, #76
- 2065 012c 3146 mov r1, r6
- 2066 .LVL207:
- 2067 012e C06A ldr r0, [r0, #44]
- 2068 .LVL208:
- 2069 0130 FFF7FEFF bl HAL_DMA_Start_IT
- 2070 .LVL209:
- 2071 0134 0028 cmp r0, #0
- 2072 0136 80D0 beq .L107
-4505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2073 .loc 1 4505 0
- 2074 0138 0120 movs r0, #1
- 2075 013a F8BD pop {r3, r4, r5, r6, r7, pc}
- 2076 .LVL210:
- 2077 .L113:
-4530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt;
- 2078 .loc 1 4530 0
- 2079 013c 436B ldr r3, [r0, #52]
- 2080 .LVL211:
- 2081 013e 1A4A ldr r2, .L129+20
- 2082 .LVL212:
- 2083 0140 9A62 str r2, [r3, #40]
-4531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2084 .loc 1 4531 0
- 2085 0142 436B ldr r3, [r0, #52]
- 2086 0144 194A ldr r2, .L129+24
- 2087 0146 DA62 str r2, [r3, #44]
-4534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2088 .loc 1 4534 0
- 2089 0148 436B ldr r3, [r0, #52]
- 2090 014a 144A ldr r2, .L129+8
- 2091 014c 1A63 str r2, [r3, #48]
-ARM GAS /tmp/ccqsuCX7.s page 169
-
-
-4538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 2092 .loc 1 4538 0
- 2093 014e 0268 ldr r2, [r0]
-4537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK)
- 2094 .loc 1 4537 0
- 2095 0150 079B ldr r3, [sp, #28]
- 2096 0152 4C32 adds r2, r2, #76
- 2097 0154 3146 mov r1, r6
- 2098 .LVL213:
- 2099 0156 406B ldr r0, [r0, #52]
- 2100 .LVL214:
- 2101 0158 FFF7FEFF bl HAL_DMA_Start_IT
- 2102 .LVL215:
- 2103 015c 0028 cmp r0, #0
- 2104 015e 3FF46CAF beq .L107
-4541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2105 .loc 1 4541 0
- 2106 0162 0120 movs r0, #1
- 2107 0164 F8BD pop {r3, r4, r5, r6, r7, pc}
- 2108 .LVL216:
- 2109 .L114:
-4548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt;
- 2110 .loc 1 4548 0
- 2111 0166 836B ldr r3, [r0, #56]
- 2112 .LVL217:
- 2113 0168 114A ldr r2, .L129+28
- 2114 .LVL218:
- 2115 016a 9A62 str r2, [r3, #40]
-4549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2116 .loc 1 4549 0
- 2117 016c 836B ldr r3, [r0, #56]
- 2118 016e 114A ldr r2, .L129+32
- 2119 0170 DA62 str r2, [r3, #44]
-4552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2120 .loc 1 4552 0
- 2121 0172 836B ldr r3, [r0, #56]
- 2122 0174 094A ldr r2, .L129+8
- 2123 0176 1A63 str r2, [r3, #48]
-4556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 2124 .loc 1 4556 0
- 2125 0178 0268 ldr r2, [r0]
-4555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (uint32_t)&htim->Instance->DMAR, DataLength) != HAL_OK)
- 2126 .loc 1 4555 0
- 2127 017a 079B ldr r3, [sp, #28]
- 2128 017c 4C32 adds r2, r2, #76
- 2129 017e 3146 mov r1, r6
- 2130 .LVL219:
- 2131 0180 806B ldr r0, [r0, #56]
- 2132 .LVL220:
- 2133 0182 FFF7FEFF bl HAL_DMA_Start_IT
- 2134 .LVL221:
- 2135 0186 0028 cmp r0, #0
- 2136 0188 3FF457AF beq .L107
-4559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2137 .loc 1 4559 0
- 2138 018c 0120 movs r0, #1
-4574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 170
-
-
- 2139 .loc 1 4574 0
- 2140 018e F8BD pop {r3, r4, r5, r6, r7, pc}
- 2141 .LVL222:
- 2142 .L116:
-4418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2143 .loc 1 4418 0
- 2144 0190 0220 movs r0, #2
- 2145 .LVL223:
- 2146 0192 F8BD pop {r3, r4, r5, r6, r7, pc}
- 2147 .LVL224:
- 2148 .L130:
- 2149 .align 2
- 2150 .L129:
- 2151 0194 00000000 .word TIM_DMADelayPulseCplt
- 2152 0198 00000000 .word TIM_DMADelayPulseHalfCplt
- 2153 019c 00000000 .word TIM_DMAError
- 2154 01a0 00000000 .word TIM_DMAPeriodElapsedCplt
- 2155 01a4 00000000 .word TIM_DMAPeriodElapsedHalfCplt
- 2156 01a8 00000000 .word TIMEx_DMACommutationCplt
- 2157 01ac 00000000 .word TIMEx_DMACommutationHalfCplt
- 2158 01b0 00000000 .word TIM_DMATriggerCplt
- 2159 01b4 00000000 .word TIM_DMATriggerHalfCplt
- 2160 .cfi_endproc
- 2161 .LFE129:
- 2163 .section .text.HAL_TIM_DMABurst_WriteStart,"ax",%progbits
- 2164 .align 1
- 2165 .global HAL_TIM_DMABurst_WriteStart
- 2166 .syntax unified
- 2167 .thumb
- 2168 .thumb_func
- 2169 .fpu softvfp
- 2171 HAL_TIM_DMABurst_WriteStart:
- 2172 .LFB128:
-4361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_TIM_DMABurst_MultiWriteStart(htim, BurstBaseAddress, BurstRequestSrc, BurstBuffer, Bur
- 2173 .loc 1 4361 0
- 2174 .cfi_startproc
- 2175 @ args = 4, pretend = 0, frame = 0
- 2176 @ frame_needed = 0, uses_anonymous_args = 0
- 2177 .LVL225:
- 2178 0000 30B5 push {r4, r5, lr}
- 2179 .LCFI28:
- 2180 .cfi_def_cfa_offset 12
- 2181 .cfi_offset 4, -12
- 2182 .cfi_offset 5, -8
- 2183 .cfi_offset 14, -4
- 2184 0002 83B0 sub sp, sp, #12
- 2185 .LCFI29:
- 2186 .cfi_def_cfa_offset 24
- 2187 0004 069D ldr r5, [sp, #24]
-4363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2188 .loc 1 4363 0
- 2189 0006 2C0A lsrs r4, r5, #8
-4362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ((BurstLength) >> 8U) + 1U);
- 2190 .loc 1 4362 0
- 2191 0008 0134 adds r4, r4, #1
- 2192 000a 0194 str r4, [sp, #4]
- 2193 000c 0095 str r5, [sp]
-ARM GAS /tmp/ccqsuCX7.s page 171
-
-
- 2194 000e FFF7FEFF bl HAL_TIM_DMABurst_MultiWriteStart
- 2195 .LVL226:
-4364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2196 .loc 1 4364 0
- 2197 0012 03B0 add sp, sp, #12
- 2198 .LCFI30:
- 2199 .cfi_def_cfa_offset 12
- 2200 @ sp needed
- 2201 0014 30BD pop {r4, r5, pc}
- 2202 .cfi_endproc
- 2203 .LFE128:
- 2205 .section .text.HAL_TIM_DMABurst_WriteStop,"ax",%progbits
- 2206 .align 1
- 2207 .global HAL_TIM_DMABurst_WriteStop
- 2208 .syntax unified
- 2209 .thumb
- 2210 .thumb_func
- 2211 .fpu softvfp
- 2213 HAL_TIM_DMABurst_WriteStop:
- 2214 .LFB130:
-4583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 2215 .loc 1 4583 0
- 2216 .cfi_startproc
- 2217 @ args = 0, pretend = 0, frame = 0
- 2218 @ frame_needed = 0, uses_anonymous_args = 0
- 2219 .LVL227:
- 2220 0000 38B5 push {r3, r4, r5, lr}
- 2221 .LCFI31:
- 2222 .cfi_def_cfa_offset 16
- 2223 .cfi_offset 3, -16
- 2224 .cfi_offset 4, -12
- 2225 .cfi_offset 5, -8
- 2226 .cfi_offset 14, -4
- 2227 0002 0546 mov r5, r0
- 2228 0004 0C46 mov r4, r1
-4588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 2229 .loc 1 4588 0
- 2230 0006 B1F5006F cmp r1, #2048
- 2231 000a 2BD0 beq .L135
- 2232 000c 15D8 bhi .L136
- 2233 000e B1F5007F cmp r1, #512
- 2234 0012 1FD0 beq .L137
- 2235 0014 B1F5806F cmp r1, #1024
- 2236 0018 20D0 beq .L138
- 2237 001a B1F5807F cmp r1, #256
- 2238 001e 02D1 bne .L134
-4592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 2239 .loc 1 4592 0
- 2240 0020 006A ldr r0, [r0, #32]
- 2241 .LVL228:
- 2242 0022 FFF7FEFF bl HAL_DMA_Abort_IT
- 2243 .LVL229:
- 2244 .L134:
-4630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2245 .loc 1 4630 0
- 2246 0026 2A68 ldr r2, [r5]
- 2247 0028 D368 ldr r3, [r2, #12]
-ARM GAS /tmp/ccqsuCX7.s page 172
-
-
- 2248 002a 23EA0404 bic r4, r3, r4
- 2249 .LVL230:
- 2250 002e D460 str r4, [r2, #12]
-4633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2251 .loc 1 4633 0
- 2252 0030 0123 movs r3, #1
- 2253 0032 85F84630 strb r3, [r5, #70]
-4637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2254 .loc 1 4637 0
- 2255 0036 0020 movs r0, #0
- 2256 0038 38BD pop {r3, r4, r5, pc}
- 2257 .LVL231:
- 2258 .L136:
-4588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 2259 .loc 1 4588 0
- 2260 003a B1F5005F cmp r1, #8192
- 2261 003e 15D0 beq .L140
- 2262 0040 B1F5804F cmp r1, #16384
- 2263 0044 16D0 beq .L141
- 2264 0046 B1F5805F cmp r1, #4096
- 2265 004a ECD1 bne .L134
-4612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 2266 .loc 1 4612 0
- 2267 004c 006B ldr r0, [r0, #48]
- 2268 .LVL232:
- 2269 004e FFF7FEFF bl HAL_DMA_Abort_IT
- 2270 .LVL233:
-4613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2271 .loc 1 4613 0
- 2272 0052 E8E7 b .L134
- 2273 .LVL234:
- 2274 .L137:
-4597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 2275 .loc 1 4597 0
- 2276 0054 406A ldr r0, [r0, #36]
- 2277 .LVL235:
- 2278 0056 FFF7FEFF bl HAL_DMA_Abort_IT
- 2279 .LVL236:
-4598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2280 .loc 1 4598 0
- 2281 005a E4E7 b .L134
- 2282 .LVL237:
- 2283 .L138:
-4602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 2284 .loc 1 4602 0
- 2285 005c 806A ldr r0, [r0, #40]
- 2286 .LVL238:
- 2287 005e FFF7FEFF bl HAL_DMA_Abort_IT
- 2288 .LVL239:
-4603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2289 .loc 1 4603 0
- 2290 0062 E0E7 b .L134
- 2291 .LVL240:
- 2292 .L135:
-4607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 2293 .loc 1 4607 0
- 2294 0064 C06A ldr r0, [r0, #44]
-ARM GAS /tmp/ccqsuCX7.s page 173
-
-
- 2295 .LVL241:
- 2296 0066 FFF7FEFF bl HAL_DMA_Abort_IT
- 2297 .LVL242:
-4608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2298 .loc 1 4608 0
- 2299 006a DCE7 b .L134
- 2300 .LVL243:
- 2301 .L140:
-4617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 2302 .loc 1 4617 0
- 2303 006c 406B ldr r0, [r0, #52]
- 2304 .LVL244:
- 2305 006e FFF7FEFF bl HAL_DMA_Abort_IT
- 2306 .LVL245:
-4618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2307 .loc 1 4618 0
- 2308 0072 D8E7 b .L134
- 2309 .LVL246:
- 2310 .L141:
-4622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 2311 .loc 1 4622 0
- 2312 0074 806B ldr r0, [r0, #56]
- 2313 .LVL247:
- 2314 0076 FFF7FEFF bl HAL_DMA_Abort_IT
- 2315 .LVL248:
-4623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2316 .loc 1 4623 0
- 2317 007a D4E7 b .L134
- 2318 .cfi_endproc
- 2319 .LFE130:
- 2321 .section .text.HAL_TIM_DMABurst_MultiReadStart,"ax",%progbits
- 2322 .align 1
- 2323 .global HAL_TIM_DMABurst_MultiReadStart
- 2324 .syntax unified
- 2325 .thumb
- 2326 .thumb_func
- 2327 .fpu softvfp
- 2329 HAL_TIM_DMABurst_MultiReadStart:
- 2330 .LFB132:
-4726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 2331 .loc 1 4726 0
- 2332 .cfi_startproc
- 2333 @ args = 8, pretend = 0, frame = 0
- 2334 @ frame_needed = 0, uses_anonymous_args = 0
- 2335 .LVL249:
- 2336 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
- 2337 .LCFI32:
- 2338 .cfi_def_cfa_offset 24
- 2339 .cfi_offset 3, -24
- 2340 .cfi_offset 4, -20
- 2341 .cfi_offset 5, -16
- 2342 .cfi_offset 6, -12
- 2343 .cfi_offset 7, -8
- 2344 .cfi_offset 14, -4
-4734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 2345 .loc 1 4734 0
- 2346 0002 90F84640 ldrb r4, [r0, #70] @ zero_extendqisi2
-ARM GAS /tmp/ccqsuCX7.s page 174
-
-
- 2347 0006 E4B2 uxtb r4, r4
- 2348 0008 022C cmp r4, #2
- 2349 000a 00F0C180 beq .L157
-4738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 2350 .loc 1 4738 0
- 2351 000e 90F84640 ldrb r4, [r0, #70] @ zero_extendqisi2
- 2352 0012 E4B2 uxtb r4, r4
- 2353 0014 012C cmp r4, #1
- 2354 0016 1AD0 beq .L167
- 2355 .L146:
- 2356 0018 1E46 mov r6, r3
- 2357 001a 1546 mov r5, r2
- 2358 001c 0F46 mov r7, r1
- 2359 001e 0446 mov r4, r0
-4753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 2360 .loc 1 4753 0
- 2361 0020 B2F5006F cmp r2, #2048
- 2362 0024 76D0 beq .L149
- 2363 0026 1CD8 bhi .L150
- 2364 0028 B2F5007F cmp r2, #512
- 2365 002c 4AD0 beq .L151
- 2366 002e B2F5806F cmp r2, #1024
- 2367 0032 5BD0 beq .L152
- 2368 0034 B2F5807F cmp r2, #256
- 2369 0038 30D0 beq .L168
- 2370 .LVL250:
- 2371 .L148:
-4886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2372 .loc 1 4886 0
- 2373 003a 2368 ldr r3, [r4]
- 2374 003c 069A ldr r2, [sp, #24]
- 2375 003e 1743 orrs r7, r7, r2
- 2376 .LVL251:
- 2377 0040 9F64 str r7, [r3, #72]
-4889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2378 .loc 1 4889 0
- 2379 0042 2368 ldr r3, [r4]
- 2380 0044 DA68 ldr r2, [r3, #12]
- 2381 0046 2A43 orrs r2, r2, r5
- 2382 0048 DA60 str r2, [r3, #12]
-4892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2383 .loc 1 4892 0
- 2384 004a 0020 movs r0, #0
- 2385 004c F8BD pop {r3, r4, r5, r6, r7, pc}
- 2386 .LVL252:
- 2387 .L167:
-4740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 2388 .loc 1 4740 0
- 2389 004e 1BB1 cbz r3, .L169
- 2390 .L147:
-4746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2391 .loc 1 4746 0
- 2392 0050 0224 movs r4, #2
- 2393 0052 80F84640 strb r4, [r0, #70]
- 2394 0056 DFE7 b .L146
- 2395 .L169:
-4740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-ARM GAS /tmp/ccqsuCX7.s page 175
-
-
- 2396 .loc 1 4740 0 discriminator 1
- 2397 0058 069C ldr r4, [sp, #24]
- 2398 005a 002C cmp r4, #0
- 2399 005c F8D0 beq .L147
-4742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2400 .loc 1 4742 0
- 2401 005e 0120 movs r0, #1
- 2402 .LVL253:
- 2403 0060 F8BD pop {r3, r4, r5, r6, r7, pc}
- 2404 .LVL254:
- 2405 .L150:
-4753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 2406 .loc 1 4753 0
- 2407 0062 B2F5005F cmp r2, #8192
- 2408 0066 69D0 beq .L154
- 2409 0068 B2F5804F cmp r2, #16384
- 2410 006c 7BD0 beq .L155
- 2411 006e B2F5805F cmp r2, #4096
- 2412 0072 E2D1 bne .L148
-4830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
- 2413 .loc 1 4830 0
- 2414 0074 036B ldr r3, [r0, #48]
- 2415 .LVL255:
- 2416 0076 474A ldr r2, .L170
- 2417 .LVL256:
- 2418 0078 9A62 str r2, [r3, #40]
-4831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2419 .loc 1 4831 0
- 2420 007a 036B ldr r3, [r0, #48]
- 2421 007c 464A ldr r2, .L170+4
- 2422 007e DA62 str r2, [r3, #44]
-4834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2423 .loc 1 4834 0
- 2424 0080 036B ldr r3, [r0, #48]
- 2425 0082 464A ldr r2, .L170+8
- 2426 0084 1A63 str r2, [r3, #48]
-4837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** DataLength) != HAL_OK)
- 2427 .loc 1 4837 0
- 2428 0086 0168 ldr r1, [r0]
- 2429 .LVL257:
- 2430 0088 079B ldr r3, [sp, #28]
- 2431 008a 3246 mov r2, r6
- 2432 008c 4C31 adds r1, r1, #76
- 2433 008e 006B ldr r0, [r0, #48]
- 2434 .LVL258:
- 2435 0090 FFF7FEFF bl HAL_DMA_Start_IT
- 2436 .LVL259:
- 2437 0094 0028 cmp r0, #0
- 2438 0096 D0D0 beq .L148
-4841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2439 .loc 1 4841 0
- 2440 0098 0120 movs r0, #1
- 2441 009a F8BD pop {r3, r4, r5, r6, r7, pc}
- 2442 .LVL260:
- 2443 .L168:
-4758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_UPDATE]->XferHalfCpltCallback = TIM_DMAPeriodElapsedHalfCplt;
- 2444 .loc 1 4758 0
-ARM GAS /tmp/ccqsuCX7.s page 176
-
-
- 2445 009c 036A ldr r3, [r0, #32]
- 2446 .LVL261:
- 2447 009e 404A ldr r2, .L170+12
- 2448 .LVL262:
- 2449 00a0 9A62 str r2, [r3, #40]
-4759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2450 .loc 1 4759 0
- 2451 00a2 036A ldr r3, [r0, #32]
- 2452 00a4 3F4A ldr r2, .L170+16
- 2453 00a6 DA62 str r2, [r3, #44]
-4762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2454 .loc 1 4762 0
- 2455 00a8 036A ldr r3, [r0, #32]
- 2456 00aa 3C4A ldr r2, .L170+8
- 2457 00ac 1A63 str r2, [r3, #48]
-4765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** DataLength) != HAL_OK)
- 2458 .loc 1 4765 0
- 2459 00ae 0168 ldr r1, [r0]
- 2460 .LVL263:
- 2461 00b0 079B ldr r3, [sp, #28]
- 2462 00b2 3246 mov r2, r6
- 2463 00b4 4C31 adds r1, r1, #76
- 2464 00b6 006A ldr r0, [r0, #32]
- 2465 .LVL264:
- 2466 00b8 FFF7FEFF bl HAL_DMA_Start_IT
- 2467 .LVL265:
- 2468 00bc 0028 cmp r0, #0
- 2469 00be BCD0 beq .L148
-4769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2470 .loc 1 4769 0
- 2471 00c0 0120 movs r0, #1
- 2472 00c2 F8BD pop {r3, r4, r5, r6, r7, pc}
- 2473 .LVL266:
- 2474 .L151:
-4776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
- 2475 .loc 1 4776 0
- 2476 00c4 436A ldr r3, [r0, #36]
- 2477 .LVL267:
- 2478 00c6 334A ldr r2, .L170
- 2479 .LVL268:
- 2480 00c8 9A62 str r2, [r3, #40]
-4777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2481 .loc 1 4777 0
- 2482 00ca 436A ldr r3, [r0, #36]
- 2483 00cc 324A ldr r2, .L170+4
- 2484 00ce DA62 str r2, [r3, #44]
-4780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2485 .loc 1 4780 0
- 2486 00d0 436A ldr r3, [r0, #36]
- 2487 00d2 324A ldr r2, .L170+8
- 2488 00d4 1A63 str r2, [r3, #48]
-4783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** DataLength) != HAL_OK)
- 2489 .loc 1 4783 0
- 2490 00d6 0168 ldr r1, [r0]
- 2491 .LVL269:
- 2492 00d8 079B ldr r3, [sp, #28]
- 2493 00da 3246 mov r2, r6
-ARM GAS /tmp/ccqsuCX7.s page 177
-
-
- 2494 00dc 4C31 adds r1, r1, #76
- 2495 00de 406A ldr r0, [r0, #36]
- 2496 .LVL270:
- 2497 00e0 FFF7FEFF bl HAL_DMA_Start_IT
- 2498 .LVL271:
- 2499 00e4 0028 cmp r0, #0
- 2500 00e6 A8D0 beq .L148
-4787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2501 .loc 1 4787 0
- 2502 00e8 0120 movs r0, #1
- 2503 00ea F8BD pop {r3, r4, r5, r6, r7, pc}
- 2504 .LVL272:
- 2505 .L152:
-4794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
- 2506 .loc 1 4794 0
- 2507 00ec 836A ldr r3, [r0, #40]
- 2508 .LVL273:
- 2509 00ee 294A ldr r2, .L170
- 2510 .LVL274:
- 2511 00f0 9A62 str r2, [r3, #40]
-4795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2512 .loc 1 4795 0
- 2513 00f2 836A ldr r3, [r0, #40]
- 2514 00f4 284A ldr r2, .L170+4
- 2515 00f6 DA62 str r2, [r3, #44]
-4798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2516 .loc 1 4798 0
- 2517 00f8 836A ldr r3, [r0, #40]
- 2518 00fa 284A ldr r2, .L170+8
- 2519 00fc 1A63 str r2, [r3, #48]
-4801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** DataLength) != HAL_OK)
- 2520 .loc 1 4801 0
- 2521 00fe 0168 ldr r1, [r0]
- 2522 .LVL275:
- 2523 0100 079B ldr r3, [sp, #28]
- 2524 0102 3246 mov r2, r6
- 2525 0104 4C31 adds r1, r1, #76
- 2526 0106 806A ldr r0, [r0, #40]
- 2527 .LVL276:
- 2528 0108 FFF7FEFF bl HAL_DMA_Start_IT
- 2529 .LVL277:
- 2530 010c 0028 cmp r0, #0
- 2531 010e 94D0 beq .L148
-4805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2532 .loc 1 4805 0
- 2533 0110 0120 movs r0, #1
- 2534 0112 F8BD pop {r3, r4, r5, r6, r7, pc}
- 2535 .LVL278:
- 2536 .L149:
-4812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
- 2537 .loc 1 4812 0
- 2538 0114 C36A ldr r3, [r0, #44]
- 2539 .LVL279:
- 2540 0116 1F4A ldr r2, .L170
- 2541 .LVL280:
- 2542 0118 9A62 str r2, [r3, #40]
-4813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 178
-
-
- 2543 .loc 1 4813 0
- 2544 011a C36A ldr r3, [r0, #44]
- 2545 011c 1E4A ldr r2, .L170+4
- 2546 011e DA62 str r2, [r3, #44]
-4816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2547 .loc 1 4816 0
- 2548 0120 C36A ldr r3, [r0, #44]
- 2549 0122 1E4A ldr r2, .L170+8
- 2550 0124 1A63 str r2, [r3, #48]
-4819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** DataLength) != HAL_OK)
- 2551 .loc 1 4819 0
- 2552 0126 0168 ldr r1, [r0]
- 2553 .LVL281:
- 2554 0128 079B ldr r3, [sp, #28]
- 2555 012a 3246 mov r2, r6
- 2556 012c 4C31 adds r1, r1, #76
- 2557 012e C06A ldr r0, [r0, #44]
- 2558 .LVL282:
- 2559 0130 FFF7FEFF bl HAL_DMA_Start_IT
- 2560 .LVL283:
- 2561 0134 0028 cmp r0, #0
- 2562 0136 80D0 beq .L148
-4823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2563 .loc 1 4823 0
- 2564 0138 0120 movs r0, #1
- 2565 013a F8BD pop {r3, r4, r5, r6, r7, pc}
- 2566 .LVL284:
- 2567 .L154:
-4848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt;
- 2568 .loc 1 4848 0
- 2569 013c 436B ldr r3, [r0, #52]
- 2570 .LVL285:
- 2571 013e 1A4A ldr r2, .L170+20
- 2572 .LVL286:
- 2573 0140 9A62 str r2, [r3, #40]
-4849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2574 .loc 1 4849 0
- 2575 0142 436B ldr r3, [r0, #52]
- 2576 0144 194A ldr r2, .L170+24
- 2577 0146 DA62 str r2, [r3, #44]
-4852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2578 .loc 1 4852 0
- 2579 0148 436B ldr r3, [r0, #52]
- 2580 014a 144A ldr r2, .L170+8
- 2581 014c 1A63 str r2, [r3, #48]
-4855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** DataLength) != HAL_OK)
- 2582 .loc 1 4855 0
- 2583 014e 0168 ldr r1, [r0]
- 2584 .LVL287:
- 2585 0150 079B ldr r3, [sp, #28]
- 2586 0152 3246 mov r2, r6
- 2587 0154 4C31 adds r1, r1, #76
- 2588 0156 406B ldr r0, [r0, #52]
- 2589 .LVL288:
- 2590 0158 FFF7FEFF bl HAL_DMA_Start_IT
- 2591 .LVL289:
- 2592 015c 0028 cmp r0, #0
-ARM GAS /tmp/ccqsuCX7.s page 179
-
-
- 2593 015e 3FF46CAF beq .L148
-4859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2594 .loc 1 4859 0
- 2595 0162 0120 movs r0, #1
- 2596 0164 F8BD pop {r3, r4, r5, r6, r7, pc}
- 2597 .LVL290:
- 2598 .L155:
-4866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_TRIGGER]->XferHalfCpltCallback = TIM_DMATriggerHalfCplt;
- 2599 .loc 1 4866 0
- 2600 0166 836B ldr r3, [r0, #56]
- 2601 .LVL291:
- 2602 0168 114A ldr r2, .L170+28
- 2603 .LVL292:
- 2604 016a 9A62 str r2, [r3, #40]
-4867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2605 .loc 1 4867 0
- 2606 016c 836B ldr r3, [r0, #56]
- 2607 016e 114A ldr r2, .L170+32
- 2608 0170 DA62 str r2, [r3, #44]
-4870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2609 .loc 1 4870 0
- 2610 0172 836B ldr r3, [r0, #56]
- 2611 0174 094A ldr r2, .L170+8
- 2612 0176 1A63 str r2, [r3, #48]
-4873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** DataLength) != HAL_OK)
- 2613 .loc 1 4873 0
- 2614 0178 0168 ldr r1, [r0]
- 2615 .LVL293:
- 2616 017a 079B ldr r3, [sp, #28]
- 2617 017c 3246 mov r2, r6
- 2618 017e 4C31 adds r1, r1, #76
- 2619 0180 806B ldr r0, [r0, #56]
- 2620 .LVL294:
- 2621 0182 FFF7FEFF bl HAL_DMA_Start_IT
- 2622 .LVL295:
- 2623 0186 0028 cmp r0, #0
- 2624 0188 3FF457AF beq .L148
-4877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2625 .loc 1 4877 0
- 2626 018c 0120 movs r0, #1
-4893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2627 .loc 1 4893 0
- 2628 018e F8BD pop {r3, r4, r5, r6, r7, pc}
- 2629 .LVL296:
- 2630 .L157:
-4736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2631 .loc 1 4736 0
- 2632 0190 0220 movs r0, #2
- 2633 .LVL297:
- 2634 0192 F8BD pop {r3, r4, r5, r6, r7, pc}
- 2635 .LVL298:
- 2636 .L171:
- 2637 .align 2
- 2638 .L170:
- 2639 0194 00000000 .word TIM_DMACaptureCplt
- 2640 0198 00000000 .word TIM_DMACaptureHalfCplt
- 2641 019c 00000000 .word TIM_DMAError
-ARM GAS /tmp/ccqsuCX7.s page 180
-
-
- 2642 01a0 00000000 .word TIM_DMAPeriodElapsedCplt
- 2643 01a4 00000000 .word TIM_DMAPeriodElapsedHalfCplt
- 2644 01a8 00000000 .word TIMEx_DMACommutationCplt
- 2645 01ac 00000000 .word TIMEx_DMACommutationHalfCplt
- 2646 01b0 00000000 .word TIM_DMATriggerCplt
- 2647 01b4 00000000 .word TIM_DMATriggerHalfCplt
- 2648 .cfi_endproc
- 2649 .LFE132:
- 2651 .section .text.HAL_TIM_DMABurst_ReadStart,"ax",%progbits
- 2652 .align 1
- 2653 .global HAL_TIM_DMABurst_ReadStart
- 2654 .syntax unified
- 2655 .thumb
- 2656 .thumb_func
- 2657 .fpu softvfp
- 2659 HAL_TIM_DMABurst_ReadStart:
- 2660 .LFB131:
-4679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_TIM_DMABurst_MultiReadStart(htim, BurstBaseAddress, BurstRequestSrc, BurstBuffer, Burs
- 2661 .loc 1 4679 0
- 2662 .cfi_startproc
- 2663 @ args = 4, pretend = 0, frame = 0
- 2664 @ frame_needed = 0, uses_anonymous_args = 0
- 2665 .LVL299:
- 2666 0000 30B5 push {r4, r5, lr}
- 2667 .LCFI33:
- 2668 .cfi_def_cfa_offset 12
- 2669 .cfi_offset 4, -12
- 2670 .cfi_offset 5, -8
- 2671 .cfi_offset 14, -4
- 2672 0002 83B0 sub sp, sp, #12
- 2673 .LCFI34:
- 2674 .cfi_def_cfa_offset 24
- 2675 0004 069D ldr r5, [sp, #24]
-4681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2676 .loc 1 4681 0
- 2677 0006 2C0A lsrs r4, r5, #8
-4680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** ((BurstLength) >> 8U) + 1U);
- 2678 .loc 1 4680 0
- 2679 0008 0134 adds r4, r4, #1
- 2680 000a 0194 str r4, [sp, #4]
- 2681 000c 0095 str r5, [sp]
- 2682 000e FFF7FEFF bl HAL_TIM_DMABurst_MultiReadStart
- 2683 .LVL300:
-4682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2684 .loc 1 4682 0
- 2685 0012 03B0 add sp, sp, #12
- 2686 .LCFI35:
- 2687 .cfi_def_cfa_offset 12
- 2688 @ sp needed
- 2689 0014 30BD pop {r4, r5, pc}
- 2690 .cfi_endproc
- 2691 .LFE131:
- 2693 .section .text.HAL_TIM_DMABurst_ReadStop,"ax",%progbits
- 2694 .align 1
- 2695 .global HAL_TIM_DMABurst_ReadStop
- 2696 .syntax unified
- 2697 .thumb
-ARM GAS /tmp/ccqsuCX7.s page 181
-
-
- 2698 .thumb_func
- 2699 .fpu softvfp
- 2701 HAL_TIM_DMABurst_ReadStop:
- 2702 .LFB133:
-4902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 2703 .loc 1 4902 0
- 2704 .cfi_startproc
- 2705 @ args = 0, pretend = 0, frame = 0
- 2706 @ frame_needed = 0, uses_anonymous_args = 0
- 2707 .LVL301:
- 2708 0000 38B5 push {r3, r4, r5, lr}
- 2709 .LCFI36:
- 2710 .cfi_def_cfa_offset 16
- 2711 .cfi_offset 3, -16
- 2712 .cfi_offset 4, -12
- 2713 .cfi_offset 5, -8
- 2714 .cfi_offset 14, -4
- 2715 0002 0546 mov r5, r0
- 2716 0004 0C46 mov r4, r1
-4907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 2717 .loc 1 4907 0
- 2718 0006 B1F5006F cmp r1, #2048
- 2719 000a 2BD0 beq .L176
- 2720 000c 15D8 bhi .L177
- 2721 000e B1F5007F cmp r1, #512
- 2722 0012 1FD0 beq .L178
- 2723 0014 B1F5806F cmp r1, #1024
- 2724 0018 20D0 beq .L179
- 2725 001a B1F5807F cmp r1, #256
- 2726 001e 02D1 bne .L175
-4911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 2727 .loc 1 4911 0
- 2728 0020 006A ldr r0, [r0, #32]
- 2729 .LVL302:
- 2730 0022 FFF7FEFF bl HAL_DMA_Abort_IT
- 2731 .LVL303:
- 2732 .L175:
-4949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2733 .loc 1 4949 0
- 2734 0026 2A68 ldr r2, [r5]
- 2735 0028 D368 ldr r3, [r2, #12]
- 2736 002a 23EA0404 bic r4, r3, r4
- 2737 .LVL304:
- 2738 002e D460 str r4, [r2, #12]
-4952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2739 .loc 1 4952 0
- 2740 0030 0123 movs r3, #1
- 2741 0032 85F84630 strb r3, [r5, #70]
-4956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2742 .loc 1 4956 0
- 2743 0036 0020 movs r0, #0
- 2744 0038 38BD pop {r3, r4, r5, pc}
- 2745 .LVL305:
- 2746 .L177:
-4907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 2747 .loc 1 4907 0
- 2748 003a B1F5005F cmp r1, #8192
-ARM GAS /tmp/ccqsuCX7.s page 182
-
-
- 2749 003e 15D0 beq .L181
- 2750 0040 B1F5804F cmp r1, #16384
- 2751 0044 16D0 beq .L182
- 2752 0046 B1F5805F cmp r1, #4096
- 2753 004a ECD1 bne .L175
-4931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 2754 .loc 1 4931 0
- 2755 004c 006B ldr r0, [r0, #48]
- 2756 .LVL306:
- 2757 004e FFF7FEFF bl HAL_DMA_Abort_IT
- 2758 .LVL307:
-4932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2759 .loc 1 4932 0
- 2760 0052 E8E7 b .L175
- 2761 .LVL308:
- 2762 .L178:
-4916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 2763 .loc 1 4916 0
- 2764 0054 406A ldr r0, [r0, #36]
- 2765 .LVL309:
- 2766 0056 FFF7FEFF bl HAL_DMA_Abort_IT
- 2767 .LVL310:
-4917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2768 .loc 1 4917 0
- 2769 005a E4E7 b .L175
- 2770 .LVL311:
- 2771 .L179:
-4921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 2772 .loc 1 4921 0
- 2773 005c 806A ldr r0, [r0, #40]
- 2774 .LVL312:
- 2775 005e FFF7FEFF bl HAL_DMA_Abort_IT
- 2776 .LVL313:
-4922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2777 .loc 1 4922 0
- 2778 0062 E0E7 b .L175
- 2779 .LVL314:
- 2780 .L176:
-4926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 2781 .loc 1 4926 0
- 2782 0064 C06A ldr r0, [r0, #44]
- 2783 .LVL315:
- 2784 0066 FFF7FEFF bl HAL_DMA_Abort_IT
- 2785 .LVL316:
-4927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2786 .loc 1 4927 0
- 2787 006a DCE7 b .L175
- 2788 .LVL317:
- 2789 .L181:
-4936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 2790 .loc 1 4936 0
- 2791 006c 406B ldr r0, [r0, #52]
- 2792 .LVL318:
- 2793 006e FFF7FEFF bl HAL_DMA_Abort_IT
- 2794 .LVL319:
-4937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2795 .loc 1 4937 0
-ARM GAS /tmp/ccqsuCX7.s page 183
-
-
- 2796 0072 D8E7 b .L175
- 2797 .LVL320:
- 2798 .L182:
-4941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 2799 .loc 1 4941 0
- 2800 0074 806B ldr r0, [r0, #56]
- 2801 .LVL321:
- 2802 0076 FFF7FEFF bl HAL_DMA_Abort_IT
- 2803 .LVL322:
-4942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2804 .loc 1 4942 0
- 2805 007a D4E7 b .L175
- 2806 .cfi_endproc
- 2807 .LFE133:
- 2809 .section .text.HAL_TIM_GenerateEvent,"ax",%progbits
- 2810 .align 1
- 2811 .global HAL_TIM_GenerateEvent
- 2812 .syntax unified
- 2813 .thumb
- 2814 .thumb_func
- 2815 .fpu softvfp
- 2817 HAL_TIM_GenerateEvent:
- 2818 .LFB134:
-4979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 2819 .loc 1 4979 0
- 2820 .cfi_startproc
- 2821 @ args = 0, pretend = 0, frame = 0
- 2822 @ frame_needed = 0, uses_anonymous_args = 0
- 2823 @ link register save eliminated.
- 2824 .LVL323:
-4985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2825 .loc 1 4985 0
- 2826 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
- 2827 0004 012B cmp r3, #1
- 2828 0006 0CD0 beq .L187
-4988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2829 .loc 1 4988 0 discriminator 2
- 2830 0008 0223 movs r3, #2
- 2831 000a 80F83D30 strb r3, [r0, #61]
-4991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2832 .loc 1 4991 0 discriminator 2
- 2833 000e 0368 ldr r3, [r0]
- 2834 0010 5961 str r1, [r3, #20]
-4994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2835 .loc 1 4994 0 discriminator 2
- 2836 0012 0123 movs r3, #1
- 2837 0014 80F83D30 strb r3, [r0, #61]
-4996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2838 .loc 1 4996 0 discriminator 2
- 2839 0018 0023 movs r3, #0
- 2840 001a 80F83C30 strb r3, [r0, #60]
-4999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2841 .loc 1 4999 0 discriminator 2
- 2842 001e 1846 mov r0, r3
- 2843 .LVL324:
- 2844 0020 7047 bx lr
- 2845 .LVL325:
-ARM GAS /tmp/ccqsuCX7.s page 184
-
-
- 2846 .L187:
-4985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2847 .loc 1 4985 0
- 2848 0022 0220 movs r0, #2
- 2849 .LVL326:
-5000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2850 .loc 1 5000 0
- 2851 0024 7047 bx lr
- 2852 .cfi_endproc
- 2853 .LFE134:
- 2855 .section .text.HAL_TIM_ConfigTI1Input,"ax",%progbits
- 2856 .align 1
- 2857 .global HAL_TIM_ConfigTI1Input
- 2858 .syntax unified
- 2859 .thumb
- 2860 .thumb_func
- 2861 .fpu softvfp
- 2863 HAL_TIM_ConfigTI1Input:
- 2864 .LFB137:
-5292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpcr2;
- 2865 .loc 1 5292 0
- 2866 .cfi_startproc
- 2867 @ args = 0, pretend = 0, frame = 0
- 2868 @ frame_needed = 0, uses_anonymous_args = 0
- 2869 @ link register save eliminated.
- 2870 .LVL327:
-5300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2871 .loc 1 5300 0
- 2872 0000 0268 ldr r2, [r0]
- 2873 0002 5368 ldr r3, [r2, #4]
- 2874 .LVL328:
-5303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2875 .loc 1 5303 0
- 2876 0004 23F08003 bic r3, r3, #128
- 2877 .LVL329:
-5306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2878 .loc 1 5306 0
- 2879 0008 1943 orrs r1, r1, r3
- 2880 .LVL330:
-5309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2881 .loc 1 5309 0
- 2882 000a 5160 str r1, [r2, #4]
-5312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2883 .loc 1 5312 0
- 2884 000c 0020 movs r0, #0
- 2885 .LVL331:
- 2886 000e 7047 bx lr
- 2887 .cfi_endproc
- 2888 .LFE137:
- 2890 .section .text.HAL_TIM_ReadCapturedValue,"ax",%progbits
- 2891 .align 1
- 2892 .global HAL_TIM_ReadCapturedValue
- 2893 .syntax unified
- 2894 .thumb
- 2895 .thumb_func
- 2896 .fpu softvfp
- 2898 HAL_TIM_ReadCapturedValue:
-ARM GAS /tmp/ccqsuCX7.s page 185
-
-
- 2899 .LFB140:
-5407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpreg = 0U;
- 2900 .loc 1 5407 0
- 2901 .cfi_startproc
- 2902 @ args = 0, pretend = 0, frame = 0
- 2903 @ frame_needed = 0, uses_anonymous_args = 0
- 2904 @ link register save eliminated.
- 2905 .LVL332:
-5410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 2906 .loc 1 5410 0
- 2907 0000 0C29 cmp r1, #12
- 2908 0002 14D8 bhi .L196
- 2909 0004 DFE801F0 tbb [pc, r1]
- 2910 .L192:
- 2911 0008 07 .byte (.L191-.L192)/2
- 2912 0009 13 .byte (.L196-.L192)/2
- 2913 000a 13 .byte (.L196-.L192)/2
- 2914 000b 13 .byte (.L196-.L192)/2
- 2915 000c 0A .byte (.L193-.L192)/2
- 2916 000d 13 .byte (.L196-.L192)/2
- 2917 000e 13 .byte (.L196-.L192)/2
- 2918 000f 13 .byte (.L196-.L192)/2
- 2919 0010 0D .byte (.L194-.L192)/2
- 2920 0011 13 .byte (.L196-.L192)/2
- 2921 0012 13 .byte (.L196-.L192)/2
- 2922 0013 13 .byte (.L196-.L192)/2
- 2923 0014 10 .byte (.L195-.L192)/2
- 2924 0015 00 .p2align 1
- 2925 .L191:
-5418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2926 .loc 1 5418 0
- 2927 0016 0368 ldr r3, [r0]
- 2928 0018 586B ldr r0, [r3, #52]
- 2929 .LVL333:
-5420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2930 .loc 1 5420 0
- 2931 001a 7047 bx lr
- 2932 .LVL334:
- 2933 .L193:
-5428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2934 .loc 1 5428 0
- 2935 001c 0368 ldr r3, [r0]
- 2936 001e 986B ldr r0, [r3, #56]
- 2937 .LVL335:
-5430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2938 .loc 1 5430 0
- 2939 0020 7047 bx lr
- 2940 .LVL336:
- 2941 .L194:
-5439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2942 .loc 1 5439 0
- 2943 0022 0368 ldr r3, [r0]
- 2944 0024 D86B ldr r0, [r3, #60]
- 2945 .LVL337:
-5441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2946 .loc 1 5441 0
- 2947 0026 7047 bx lr
-ARM GAS /tmp/ccqsuCX7.s page 186
-
-
- 2948 .LVL338:
- 2949 .L195:
-5450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2950 .loc 1 5450 0
- 2951 0028 0368 ldr r3, [r0]
- 2952 002a 186C ldr r0, [r3, #64]
- 2953 .LVL339:
-5452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 2954 .loc 1 5452 0
- 2955 002c 7047 bx lr
- 2956 .LVL340:
- 2957 .L196:
-5408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2958 .loc 1 5408 0
- 2959 002e 0020 movs r0, #0
- 2960 .LVL341:
-5460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 2961 .loc 1 5460 0
- 2962 0030 7047 bx lr
- 2963 .cfi_endproc
- 2964 .LFE140:
- 2966 .section .text.HAL_TIM_PeriodElapsedCallback,"ax",%progbits
- 2967 .align 1
- 2968 .weak HAL_TIM_PeriodElapsedCallback
- 2969 .syntax unified
- 2970 .thumb
- 2971 .thumb_func
- 2972 .fpu softvfp
- 2974 HAL_TIM_PeriodElapsedCallback:
- 2975 .LFB141:
-5491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 2976 .loc 1 5491 0
- 2977 .cfi_startproc
- 2978 @ args = 0, pretend = 0, frame = 0
- 2979 @ frame_needed = 0, uses_anonymous_args = 0
- 2980 @ link register save eliminated.
- 2981 .LVL342:
- 2982 0000 7047 bx lr
- 2983 .cfi_endproc
- 2984 .LFE141:
- 2986 .section .text.TIM_DMAPeriodElapsedCplt,"ax",%progbits
- 2987 .align 1
- 2988 .syntax unified
- 2989 .thumb
- 2990 .thumb_func
- 2991 .fpu softvfp
- 2993 TIM_DMAPeriodElapsedCplt:
- 2994 .LFB165:
-6506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 2995 .loc 1 6506 0
- 2996 .cfi_startproc
- 2997 @ args = 0, pretend = 0, frame = 0
- 2998 @ frame_needed = 0, uses_anonymous_args = 0
- 2999 .LVL343:
-6506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 3000 .loc 1 6506 0
- 3001 0000 08B5 push {r3, lr}
-ARM GAS /tmp/ccqsuCX7.s page 187
-
-
- 3002 .LCFI37:
- 3003 .cfi_def_cfa_offset 8
- 3004 .cfi_offset 3, -8
- 3005 .cfi_offset 14, -4
-6507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 3006 .loc 1 6507 0
- 3007 0002 406A ldr r0, [r0, #36]
- 3008 .LVL344:
-6509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3009 .loc 1 6509 0
- 3010 0004 036A ldr r3, [r0, #32]
- 3011 0006 9B69 ldr r3, [r3, #24]
- 3012 0008 13B9 cbnz r3, .L199
-6511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3013 .loc 1 6511 0
- 3014 000a 0123 movs r3, #1
- 3015 000c 80F83D30 strb r3, [r0, #61]
- 3016 .L199:
-6517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 3017 .loc 1 6517 0
- 3018 0010 FFF7FEFF bl HAL_TIM_PeriodElapsedCallback
- 3019 .LVL345:
- 3020 0014 08BD pop {r3, pc}
- 3021 .cfi_endproc
- 3022 .LFE165:
- 3024 .section .text.HAL_TIM_PeriodElapsedHalfCpltCallback,"ax",%progbits
- 3025 .align 1
- 3026 .weak HAL_TIM_PeriodElapsedHalfCpltCallback
- 3027 .syntax unified
- 3028 .thumb
- 3029 .thumb_func
- 3030 .fpu softvfp
- 3032 HAL_TIM_PeriodElapsedHalfCpltCallback:
- 3033 .LFB142:
-5506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 3034 .loc 1 5506 0
- 3035 .cfi_startproc
- 3036 @ args = 0, pretend = 0, frame = 0
- 3037 @ frame_needed = 0, uses_anonymous_args = 0
- 3038 @ link register save eliminated.
- 3039 .LVL346:
- 3040 0000 7047 bx lr
- 3041 .cfi_endproc
- 3042 .LFE142:
- 3044 .section .text.TIM_DMAPeriodElapsedHalfCplt,"ax",%progbits
- 3045 .align 1
- 3046 .syntax unified
- 3047 .thumb
- 3048 .thumb_func
- 3049 .fpu softvfp
- 3051 TIM_DMAPeriodElapsedHalfCplt:
- 3052 .LFB166:
-6527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 3053 .loc 1 6527 0
- 3054 .cfi_startproc
- 3055 @ args = 0, pretend = 0, frame = 0
- 3056 @ frame_needed = 0, uses_anonymous_args = 0
-ARM GAS /tmp/ccqsuCX7.s page 188
-
-
- 3057 .LVL347:
-6527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 3058 .loc 1 6527 0
- 3059 0000 08B5 push {r3, lr}
- 3060 .LCFI38:
- 3061 .cfi_def_cfa_offset 8
- 3062 .cfi_offset 3, -8
- 3063 .cfi_offset 14, -4
- 3064 .LVL348:
-6533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 3065 .loc 1 6533 0
- 3066 0002 406A ldr r0, [r0, #36]
- 3067 .LVL349:
- 3068 0004 FFF7FEFF bl HAL_TIM_PeriodElapsedHalfCpltCallback
- 3069 .LVL350:
- 3070 0008 08BD pop {r3, pc}
- 3071 .cfi_endproc
- 3072 .LFE166:
- 3074 .section .text.HAL_TIM_OC_DelayElapsedCallback,"ax",%progbits
- 3075 .align 1
- 3076 .weak HAL_TIM_OC_DelayElapsedCallback
- 3077 .syntax unified
- 3078 .thumb
- 3079 .thumb_func
- 3080 .fpu softvfp
- 3082 HAL_TIM_OC_DelayElapsedCallback:
- 3083 .LFB143:
-5521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 3084 .loc 1 5521 0
- 3085 .cfi_startproc
- 3086 @ args = 0, pretend = 0, frame = 0
- 3087 @ frame_needed = 0, uses_anonymous_args = 0
- 3088 @ link register save eliminated.
- 3089 .LVL351:
- 3090 0000 7047 bx lr
- 3091 .cfi_endproc
- 3092 .LFE143:
- 3094 .section .text.HAL_TIM_IC_CaptureCallback,"ax",%progbits
- 3095 .align 1
- 3096 .weak HAL_TIM_IC_CaptureCallback
- 3097 .syntax unified
- 3098 .thumb
- 3099 .thumb_func
- 3100 .fpu softvfp
- 3102 HAL_TIM_IC_CaptureCallback:
- 3103 .LFB144:
-5536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 3104 .loc 1 5536 0
- 3105 .cfi_startproc
- 3106 @ args = 0, pretend = 0, frame = 0
- 3107 @ frame_needed = 0, uses_anonymous_args = 0
- 3108 @ link register save eliminated.
- 3109 .LVL352:
- 3110 0000 7047 bx lr
- 3111 .cfi_endproc
- 3112 .LFE144:
- 3114 .section .text.TIM_DMACaptureCplt,"ax",%progbits
-ARM GAS /tmp/ccqsuCX7.s page 189
-
-
- 3115 .align 1
- 3116 .global TIM_DMACaptureCplt
- 3117 .syntax unified
- 3118 .thumb
- 3119 .thumb_func
- 3120 .fpu softvfp
- 3122 TIM_DMACaptureCplt:
- 3123 .LFB163:
-6404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 3124 .loc 1 6404 0
- 3125 .cfi_startproc
- 3126 @ args = 0, pretend = 0, frame = 0
- 3127 @ frame_needed = 0, uses_anonymous_args = 0
- 3128 .LVL353:
-6404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 3129 .loc 1 6404 0
- 3130 0000 10B5 push {r4, lr}
- 3131 .LCFI39:
- 3132 .cfi_def_cfa_offset 8
- 3133 .cfi_offset 4, -8
- 3134 .cfi_offset 14, -4
-6405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 3135 .loc 1 6405 0
- 3136 0002 446A ldr r4, [r0, #36]
- 3137 .LVL354:
-6407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3138 .loc 1 6407 0
- 3139 0004 636A ldr r3, [r4, #36]
- 3140 0006 9842 cmp r0, r3
- 3141 0008 0ED0 beq .L212
-6417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3142 .loc 1 6417 0
- 3143 000a A36A ldr r3, [r4, #40]
- 3144 000c 9842 cmp r0, r3
- 3145 000e 16D0 beq .L213
-6427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3146 .loc 1 6427 0
- 3147 0010 E36A ldr r3, [r4, #44]
- 3148 0012 9842 cmp r0, r3
- 3149 0014 1ED0 beq .L214
-6437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3150 .loc 1 6437 0
- 3151 0016 236B ldr r3, [r4, #48]
- 3152 0018 9842 cmp r0, r3
- 3153 001a 26D0 beq .L215
- 3154 .L208:
-6455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 3155 .loc 1 6455 0
- 3156 001c 2046 mov r0, r4
- 3157 .LVL355:
- 3158 001e FFF7FEFF bl HAL_TIM_IC_CaptureCallback
- 3159 .LVL356:
-6458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3160 .loc 1 6458 0
- 3161 0022 0023 movs r3, #0
- 3162 0024 2377 strb r3, [r4, #28]
- 3163 0026 10BD pop {r4, pc}
-ARM GAS /tmp/ccqsuCX7.s page 190
-
-
- 3164 .LVL357:
- 3165 .L212:
-6409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 3166 .loc 1 6409 0
- 3167 0028 0123 movs r3, #1
- 3168 002a 2377 strb r3, [r4, #28]
-6411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3169 .loc 1 6411 0
- 3170 002c 8369 ldr r3, [r0, #24]
- 3171 002e 002B cmp r3, #0
- 3172 0030 F4D1 bne .L208
-6413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
- 3173 .loc 1 6413 0
- 3174 0032 0123 movs r3, #1
- 3175 0034 84F83E30 strb r3, [r4, #62]
-6414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3176 .loc 1 6414 0
- 3177 0038 84F84230 strb r3, [r4, #66]
- 3178 003c EEE7 b .L208
- 3179 .L213:
-6419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 3180 .loc 1 6419 0
- 3181 003e 0223 movs r3, #2
- 3182 0040 2377 strb r3, [r4, #28]
-6421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3183 .loc 1 6421 0
- 3184 0042 8369 ldr r3, [r0, #24]
- 3185 0044 002B cmp r3, #0
- 3186 0046 E9D1 bne .L208
-6423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 3187 .loc 1 6423 0
- 3188 0048 0123 movs r3, #1
- 3189 004a 84F83F30 strb r3, [r4, #63]
-6424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3190 .loc 1 6424 0
- 3191 004e 84F84330 strb r3, [r4, #67]
- 3192 0052 E3E7 b .L208
- 3193 .L214:
-6429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 3194 .loc 1 6429 0
- 3195 0054 0423 movs r3, #4
- 3196 0056 2377 strb r3, [r4, #28]
-6431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3197 .loc 1 6431 0
- 3198 0058 8369 ldr r3, [r0, #24]
- 3199 005a 002B cmp r3, #0
- 3200 005c DED1 bne .L208
-6433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY);
- 3201 .loc 1 6433 0
- 3202 005e 0123 movs r3, #1
- 3203 0060 84F84030 strb r3, [r4, #64]
-6434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3204 .loc 1 6434 0
- 3205 0064 84F84430 strb r3, [r4, #68]
- 3206 0068 D8E7 b .L208
- 3207 .L215:
-6439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 191
-
-
- 3208 .loc 1 6439 0
- 3209 006a 0823 movs r3, #8
- 3210 006c 2377 strb r3, [r4, #28]
-6441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3211 .loc 1 6441 0
- 3212 006e 8369 ldr r3, [r0, #24]
- 3213 0070 002B cmp r3, #0
- 3214 0072 D3D1 bne .L208
-6443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY);
- 3215 .loc 1 6443 0
- 3216 0074 0123 movs r3, #1
- 3217 0076 84F84130 strb r3, [r4, #65]
-6444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3218 .loc 1 6444 0
- 3219 007a 84F84530 strb r3, [r4, #69]
- 3220 007e CDE7 b .L208
- 3221 .cfi_endproc
- 3222 .LFE163:
- 3224 .section .text.HAL_TIM_IC_CaptureHalfCpltCallback,"ax",%progbits
- 3225 .align 1
- 3226 .weak HAL_TIM_IC_CaptureHalfCpltCallback
- 3227 .syntax unified
- 3228 .thumb
- 3229 .thumb_func
- 3230 .fpu softvfp
- 3232 HAL_TIM_IC_CaptureHalfCpltCallback:
- 3233 .LFB145:
-5551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 3234 .loc 1 5551 0
- 3235 .cfi_startproc
- 3236 @ args = 0, pretend = 0, frame = 0
- 3237 @ frame_needed = 0, uses_anonymous_args = 0
- 3238 @ link register save eliminated.
- 3239 .LVL358:
- 3240 0000 7047 bx lr
- 3241 .cfi_endproc
- 3242 .LFE145:
- 3244 .section .text.TIM_DMACaptureHalfCplt,"ax",%progbits
- 3245 .align 1
- 3246 .global TIM_DMACaptureHalfCplt
- 3247 .syntax unified
- 3248 .thumb
- 3249 .thumb_func
- 3250 .fpu softvfp
- 3252 TIM_DMACaptureHalfCplt:
- 3253 .LFB164:
-6467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 3254 .loc 1 6467 0
- 3255 .cfi_startproc
- 3256 @ args = 0, pretend = 0, frame = 0
- 3257 @ frame_needed = 0, uses_anonymous_args = 0
- 3258 .LVL359:
-6467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 3259 .loc 1 6467 0
- 3260 0000 10B5 push {r4, lr}
- 3261 .LCFI40:
- 3262 .cfi_def_cfa_offset 8
-ARM GAS /tmp/ccqsuCX7.s page 192
-
-
- 3263 .cfi_offset 4, -8
- 3264 .cfi_offset 14, -4
-6468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 3265 .loc 1 6468 0
- 3266 0002 446A ldr r4, [r0, #36]
- 3267 .LVL360:
-6470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3268 .loc 1 6470 0
- 3269 0004 636A ldr r3, [r4, #36]
- 3270 0006 9842 cmp r0, r3
- 3271 0008 0ED0 beq .L223
-6474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3272 .loc 1 6474 0
- 3273 000a A36A ldr r3, [r4, #40]
- 3274 000c 9842 cmp r0, r3
- 3275 000e 0ED0 beq .L224
-6478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3276 .loc 1 6478 0
- 3277 0010 E36A ldr r3, [r4, #44]
- 3278 0012 9842 cmp r0, r3
- 3279 0014 0ED0 beq .L225
-6482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3280 .loc 1 6482 0
- 3281 0016 236B ldr r3, [r4, #48]
- 3282 0018 9842 cmp r0, r3
- 3283 001a 0ED0 beq .L226
- 3284 .L219:
-6494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 3285 .loc 1 6494 0
- 3286 001c 2046 mov r0, r4
- 3287 .LVL361:
- 3288 001e FFF7FEFF bl HAL_TIM_IC_CaptureHalfCpltCallback
- 3289 .LVL362:
-6497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3290 .loc 1 6497 0
- 3291 0022 0023 movs r3, #0
- 3292 0024 2377 strb r3, [r4, #28]
- 3293 0026 10BD pop {r4, pc}
- 3294 .LVL363:
- 3295 .L223:
-6472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3296 .loc 1 6472 0
- 3297 0028 0123 movs r3, #1
- 3298 002a 2377 strb r3, [r4, #28]
- 3299 002c F6E7 b .L219
- 3300 .L224:
-6476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3301 .loc 1 6476 0
- 3302 002e 0223 movs r3, #2
- 3303 0030 2377 strb r3, [r4, #28]
- 3304 0032 F3E7 b .L219
- 3305 .L225:
-6480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3306 .loc 1 6480 0
- 3307 0034 0423 movs r3, #4
- 3308 0036 2377 strb r3, [r4, #28]
- 3309 0038 F0E7 b .L219
-ARM GAS /tmp/ccqsuCX7.s page 193
-
-
- 3310 .L226:
-6484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3311 .loc 1 6484 0
- 3312 003a 0823 movs r3, #8
- 3313 003c 2377 strb r3, [r4, #28]
- 3314 003e EDE7 b .L219
- 3315 .cfi_endproc
- 3316 .LFE164:
- 3318 .section .text.HAL_TIM_PWM_PulseFinishedCallback,"ax",%progbits
- 3319 .align 1
- 3320 .weak HAL_TIM_PWM_PulseFinishedCallback
- 3321 .syntax unified
- 3322 .thumb
- 3323 .thumb_func
- 3324 .fpu softvfp
- 3326 HAL_TIM_PWM_PulseFinishedCallback:
- 3327 .LFB146:
-5566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 3328 .loc 1 5566 0
- 3329 .cfi_startproc
- 3330 @ args = 0, pretend = 0, frame = 0
- 3331 @ frame_needed = 0, uses_anonymous_args = 0
- 3332 @ link register save eliminated.
- 3333 .LVL364:
- 3334 0000 7047 bx lr
- 3335 .cfi_endproc
- 3336 .LFE146:
- 3338 .section .text.TIM_DMADelayPulseCplt,"ax",%progbits
- 3339 .align 1
- 3340 .syntax unified
- 3341 .thumb
- 3342 .thumb_func
- 3343 .fpu softvfp
- 3345 TIM_DMADelayPulseCplt:
- 3346 .LFB161:
-6306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 3347 .loc 1 6306 0
- 3348 .cfi_startproc
- 3349 @ args = 0, pretend = 0, frame = 0
- 3350 @ frame_needed = 0, uses_anonymous_args = 0
- 3351 .LVL365:
-6306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 3352 .loc 1 6306 0
- 3353 0000 10B5 push {r4, lr}
- 3354 .LCFI41:
- 3355 .cfi_def_cfa_offset 8
- 3356 .cfi_offset 4, -8
- 3357 .cfi_offset 14, -4
-6307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 3358 .loc 1 6307 0
- 3359 0002 446A ldr r4, [r0, #36]
- 3360 .LVL366:
-6309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3361 .loc 1 6309 0
- 3362 0004 636A ldr r3, [r4, #36]
- 3363 0006 9842 cmp r0, r3
- 3364 0008 0ED0 beq .L234
-ARM GAS /tmp/ccqsuCX7.s page 194
-
-
-6318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3365 .loc 1 6318 0
- 3366 000a A36A ldr r3, [r4, #40]
- 3367 000c 9842 cmp r0, r3
- 3368 000e 14D0 beq .L235
-6327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3369 .loc 1 6327 0
- 3370 0010 E36A ldr r3, [r4, #44]
- 3371 0012 9842 cmp r0, r3
- 3372 0014 1AD0 beq .L236
-6336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3373 .loc 1 6336 0
- 3374 0016 236B ldr r3, [r4, #48]
- 3375 0018 9842 cmp r0, r3
- 3376 001a 20D0 beq .L237
- 3377 .L230:
-6353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 3378 .loc 1 6353 0
- 3379 001c 2046 mov r0, r4
- 3380 .LVL367:
- 3381 001e FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback
- 3382 .LVL368:
-6356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3383 .loc 1 6356 0
- 3384 0022 0023 movs r3, #0
- 3385 0024 2377 strb r3, [r4, #28]
- 3386 0026 10BD pop {r4, pc}
- 3387 .LVL369:
- 3388 .L234:
-6311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 3389 .loc 1 6311 0
- 3390 0028 0123 movs r3, #1
- 3391 002a 2377 strb r3, [r4, #28]
-6313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3392 .loc 1 6313 0
- 3393 002c 8369 ldr r3, [r0, #24]
- 3394 002e 002B cmp r3, #0
- 3395 0030 F4D1 bne .L230
-6315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3396 .loc 1 6315 0
- 3397 0032 0123 movs r3, #1
- 3398 0034 84F83E30 strb r3, [r4, #62]
- 3399 0038 F0E7 b .L230
- 3400 .L235:
-6320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 3401 .loc 1 6320 0
- 3402 003a 0223 movs r3, #2
- 3403 003c 2377 strb r3, [r4, #28]
-6322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3404 .loc 1 6322 0
- 3405 003e 8369 ldr r3, [r0, #24]
- 3406 0040 002B cmp r3, #0
- 3407 0042 EBD1 bne .L230
-6324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3408 .loc 1 6324 0
- 3409 0044 0123 movs r3, #1
- 3410 0046 84F83F30 strb r3, [r4, #63]
-ARM GAS /tmp/ccqsuCX7.s page 195
-
-
- 3411 004a E7E7 b .L230
- 3412 .L236:
-6329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 3413 .loc 1 6329 0
- 3414 004c 0423 movs r3, #4
- 3415 004e 2377 strb r3, [r4, #28]
-6331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3416 .loc 1 6331 0
- 3417 0050 8369 ldr r3, [r0, #24]
- 3418 0052 002B cmp r3, #0
- 3419 0054 E2D1 bne .L230
-6333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3420 .loc 1 6333 0
- 3421 0056 0123 movs r3, #1
- 3422 0058 84F84030 strb r3, [r4, #64]
- 3423 005c DEE7 b .L230
- 3424 .L237:
-6338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 3425 .loc 1 6338 0
- 3426 005e 0823 movs r3, #8
- 3427 0060 2377 strb r3, [r4, #28]
-6340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3428 .loc 1 6340 0
- 3429 0062 8369 ldr r3, [r0, #24]
- 3430 0064 002B cmp r3, #0
- 3431 0066 D9D1 bne .L230
-6342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3432 .loc 1 6342 0
- 3433 0068 0123 movs r3, #1
- 3434 006a 84F84130 strb r3, [r4, #65]
- 3435 006e D5E7 b .L230
- 3436 .cfi_endproc
- 3437 .LFE161:
- 3439 .section .text.HAL_TIM_PWM_PulseFinishedHalfCpltCallback,"ax",%progbits
- 3440 .align 1
- 3441 .weak HAL_TIM_PWM_PulseFinishedHalfCpltCallback
- 3442 .syntax unified
- 3443 .thumb
- 3444 .thumb_func
- 3445 .fpu softvfp
- 3447 HAL_TIM_PWM_PulseFinishedHalfCpltCallback:
- 3448 .LFB147:
-5581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 3449 .loc 1 5581 0
- 3450 .cfi_startproc
- 3451 @ args = 0, pretend = 0, frame = 0
- 3452 @ frame_needed = 0, uses_anonymous_args = 0
- 3453 @ link register save eliminated.
- 3454 .LVL370:
- 3455 0000 7047 bx lr
- 3456 .cfi_endproc
- 3457 .LFE147:
- 3459 .section .text.TIM_DMADelayPulseHalfCplt,"ax",%progbits
- 3460 .align 1
- 3461 .global TIM_DMADelayPulseHalfCplt
- 3462 .syntax unified
- 3463 .thumb
-ARM GAS /tmp/ccqsuCX7.s page 196
-
-
- 3464 .thumb_func
- 3465 .fpu softvfp
- 3467 TIM_DMADelayPulseHalfCplt:
- 3468 .LFB162:
-6365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 3469 .loc 1 6365 0
- 3470 .cfi_startproc
- 3471 @ args = 0, pretend = 0, frame = 0
- 3472 @ frame_needed = 0, uses_anonymous_args = 0
- 3473 .LVL371:
-6365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 3474 .loc 1 6365 0
- 3475 0000 10B5 push {r4, lr}
- 3476 .LCFI42:
- 3477 .cfi_def_cfa_offset 8
- 3478 .cfi_offset 4, -8
- 3479 .cfi_offset 14, -4
-6366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 3480 .loc 1 6366 0
- 3481 0002 446A ldr r4, [r0, #36]
- 3482 .LVL372:
-6368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3483 .loc 1 6368 0
- 3484 0004 636A ldr r3, [r4, #36]
- 3485 0006 9842 cmp r0, r3
- 3486 0008 0ED0 beq .L245
-6372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3487 .loc 1 6372 0
- 3488 000a A36A ldr r3, [r4, #40]
- 3489 000c 9842 cmp r0, r3
- 3490 000e 0ED0 beq .L246
-6376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3491 .loc 1 6376 0
- 3492 0010 E36A ldr r3, [r4, #44]
- 3493 0012 9842 cmp r0, r3
- 3494 0014 0ED0 beq .L247
-6380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3495 .loc 1 6380 0
- 3496 0016 236B ldr r3, [r4, #48]
- 3497 0018 9842 cmp r0, r3
- 3498 001a 0ED0 beq .L248
- 3499 .L241:
-6392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 3500 .loc 1 6392 0
- 3501 001c 2046 mov r0, r4
- 3502 .LVL373:
- 3503 001e FFF7FEFF bl HAL_TIM_PWM_PulseFinishedHalfCpltCallback
- 3504 .LVL374:
-6395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3505 .loc 1 6395 0
- 3506 0022 0023 movs r3, #0
- 3507 0024 2377 strb r3, [r4, #28]
- 3508 0026 10BD pop {r4, pc}
- 3509 .LVL375:
- 3510 .L245:
-6370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3511 .loc 1 6370 0
-ARM GAS /tmp/ccqsuCX7.s page 197
-
-
- 3512 0028 0123 movs r3, #1
- 3513 002a 2377 strb r3, [r4, #28]
- 3514 002c F6E7 b .L241
- 3515 .L246:
-6374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3516 .loc 1 6374 0
- 3517 002e 0223 movs r3, #2
- 3518 0030 2377 strb r3, [r4, #28]
- 3519 0032 F3E7 b .L241
- 3520 .L247:
-6378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3521 .loc 1 6378 0
- 3522 0034 0423 movs r3, #4
- 3523 0036 2377 strb r3, [r4, #28]
- 3524 0038 F0E7 b .L241
- 3525 .L248:
-6382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3526 .loc 1 6382 0
- 3527 003a 0823 movs r3, #8
- 3528 003c 2377 strb r3, [r4, #28]
- 3529 003e EDE7 b .L241
- 3530 .cfi_endproc
- 3531 .LFE162:
- 3533 .section .text.HAL_TIM_TriggerCallback,"ax",%progbits
- 3534 .align 1
- 3535 .weak HAL_TIM_TriggerCallback
- 3536 .syntax unified
- 3537 .thumb
- 3538 .thumb_func
- 3539 .fpu softvfp
- 3541 HAL_TIM_TriggerCallback:
- 3542 .LFB148:
-5596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 3543 .loc 1 5596 0
- 3544 .cfi_startproc
- 3545 @ args = 0, pretend = 0, frame = 0
- 3546 @ frame_needed = 0, uses_anonymous_args = 0
- 3547 @ link register save eliminated.
- 3548 .LVL376:
- 3549 0000 7047 bx lr
- 3550 .cfi_endproc
- 3551 .LFE148:
- 3553 .section .text.HAL_TIM_IRQHandler,"ax",%progbits
- 3554 .align 1
- 3555 .global HAL_TIM_IRQHandler
- 3556 .syntax unified
- 3557 .thumb
- 3558 .thumb_func
- 3559 .fpu softvfp
- 3561 HAL_TIM_IRQHandler:
- 3562 .LFB123:
-3726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Capture compare 1 event */
- 3563 .loc 1 3726 0
- 3564 .cfi_startproc
- 3565 @ args = 0, pretend = 0, frame = 0
- 3566 @ frame_needed = 0, uses_anonymous_args = 0
- 3567 .LVL377:
-ARM GAS /tmp/ccqsuCX7.s page 198
-
-
-3726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Capture compare 1 event */
- 3568 .loc 1 3726 0
- 3569 0000 10B5 push {r4, lr}
- 3570 .LCFI43:
- 3571 .cfi_def_cfa_offset 8
- 3572 .cfi_offset 4, -8
- 3573 .cfi_offset 14, -4
- 3574 0002 0446 mov r4, r0
-3728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3575 .loc 1 3728 0
- 3576 0004 0368 ldr r3, [r0]
- 3577 0006 1A69 ldr r2, [r3, #16]
- 3578 0008 12F0020F tst r2, #2
- 3579 000c 11D0 beq .L251
-3730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3580 .loc 1 3730 0
- 3581 000e DA68 ldr r2, [r3, #12]
- 3582 0010 12F0020F tst r2, #2
- 3583 0014 0DD0 beq .L251
-3733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1;
- 3584 .loc 1 3733 0
- 3585 0016 6FF00202 mvn r2, #2
- 3586 001a 1A61 str r2, [r3, #16]
-3734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 3587 .loc 1 3734 0
- 3588 001c 0123 movs r3, #1
- 3589 001e 0377 strb r3, [r0, #28]
-3737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3590 .loc 1 3737 0
- 3591 0020 0368 ldr r3, [r0]
- 3592 0022 9B69 ldr r3, [r3, #24]
- 3593 0024 13F0030F tst r3, #3
- 3594 0028 70D0 beq .L252
-3742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 3595 .loc 1 3742 0
- 3596 002a FFF7FEFF bl HAL_TIM_IC_CaptureCallback
- 3597 .LVL378:
- 3598 .L253:
-3756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3599 .loc 1 3756 0
- 3600 002e 0023 movs r3, #0
- 3601 0030 2377 strb r3, [r4, #28]
- 3602 .L251:
-3761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3603 .loc 1 3761 0
- 3604 0032 2368 ldr r3, [r4]
- 3605 0034 1A69 ldr r2, [r3, #16]
- 3606 0036 12F0040F tst r2, #4
- 3607 003a 12D0 beq .L254
-3763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3608 .loc 1 3763 0
- 3609 003c DA68 ldr r2, [r3, #12]
- 3610 003e 12F0040F tst r2, #4
- 3611 0042 0ED0 beq .L254
-3765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2;
- 3612 .loc 1 3765 0
- 3613 0044 6FF00402 mvn r2, #4
-ARM GAS /tmp/ccqsuCX7.s page 199
-
-
- 3614 0048 1A61 str r2, [r3, #16]
-3766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Input capture event */
- 3615 .loc 1 3766 0
- 3616 004a 0223 movs r3, #2
- 3617 004c 2377 strb r3, [r4, #28]
-3768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3618 .loc 1 3768 0
- 3619 004e 2368 ldr r3, [r4]
- 3620 0050 9B69 ldr r3, [r3, #24]
- 3621 0052 13F4407F tst r3, #768
- 3622 0056 5FD0 beq .L255
-3773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 3623 .loc 1 3773 0
- 3624 0058 2046 mov r0, r4
- 3625 005a FFF7FEFF bl HAL_TIM_IC_CaptureCallback
- 3626 .LVL379:
- 3627 .L256:
-3787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3628 .loc 1 3787 0
- 3629 005e 0023 movs r3, #0
- 3630 0060 2377 strb r3, [r4, #28]
- 3631 .L254:
-3791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3632 .loc 1 3791 0
- 3633 0062 2368 ldr r3, [r4]
- 3634 0064 1A69 ldr r2, [r3, #16]
- 3635 0066 12F0080F tst r2, #8
- 3636 006a 12D0 beq .L257
-3793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3637 .loc 1 3793 0
- 3638 006c DA68 ldr r2, [r3, #12]
- 3639 006e 12F0080F tst r2, #8
- 3640 0072 0ED0 beq .L257
-3795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3;
- 3641 .loc 1 3795 0
- 3642 0074 6FF00802 mvn r2, #8
- 3643 0078 1A61 str r2, [r3, #16]
-3796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Input capture event */
- 3644 .loc 1 3796 0
- 3645 007a 0423 movs r3, #4
- 3646 007c 2377 strb r3, [r4, #28]
-3798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3647 .loc 1 3798 0
- 3648 007e 2368 ldr r3, [r4]
- 3649 0080 DB69 ldr r3, [r3, #28]
- 3650 0082 13F0030F tst r3, #3
- 3651 0086 4ED0 beq .L258
-3803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 3652 .loc 1 3803 0
- 3653 0088 2046 mov r0, r4
- 3654 008a FFF7FEFF bl HAL_TIM_IC_CaptureCallback
- 3655 .LVL380:
- 3656 .L259:
-3817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3657 .loc 1 3817 0
- 3658 008e 0023 movs r3, #0
- 3659 0090 2377 strb r3, [r4, #28]
-ARM GAS /tmp/ccqsuCX7.s page 200
-
-
- 3660 .L257:
-3821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3661 .loc 1 3821 0
- 3662 0092 2368 ldr r3, [r4]
- 3663 0094 1A69 ldr r2, [r3, #16]
- 3664 0096 12F0100F tst r2, #16
- 3665 009a 12D0 beq .L260
-3823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3666 .loc 1 3823 0
- 3667 009c DA68 ldr r2, [r3, #12]
- 3668 009e 12F0100F tst r2, #16
- 3669 00a2 0ED0 beq .L260
-3825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4;
- 3670 .loc 1 3825 0
- 3671 00a4 6FF01002 mvn r2, #16
- 3672 00a8 1A61 str r2, [r3, #16]
-3826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Input capture event */
- 3673 .loc 1 3826 0
- 3674 00aa 0823 movs r3, #8
- 3675 00ac 2377 strb r3, [r4, #28]
-3828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3676 .loc 1 3828 0
- 3677 00ae 2368 ldr r3, [r4]
- 3678 00b0 DB69 ldr r3, [r3, #28]
- 3679 00b2 13F4407F tst r3, #768
- 3680 00b6 3DD0 beq .L261
-3833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 3681 .loc 1 3833 0
- 3682 00b8 2046 mov r0, r4
- 3683 00ba FFF7FEFF bl HAL_TIM_IC_CaptureCallback
- 3684 .LVL381:
- 3685 .L262:
-3847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3686 .loc 1 3847 0
- 3687 00be 0023 movs r3, #0
- 3688 00c0 2377 strb r3, [r4, #28]
- 3689 .L260:
-3851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3690 .loc 1 3851 0
- 3691 00c2 2368 ldr r3, [r4]
- 3692 00c4 1A69 ldr r2, [r3, #16]
- 3693 00c6 12F0010F tst r2, #1
- 3694 00ca 03D0 beq .L263
-3853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3695 .loc 1 3853 0
- 3696 00cc DA68 ldr r2, [r3, #12]
- 3697 00ce 12F0010F tst r2, #1
- 3698 00d2 36D1 bne .L268
- 3699 .L263:
-3864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3700 .loc 1 3864 0
- 3701 00d4 2368 ldr r3, [r4]
- 3702 00d6 1A69 ldr r2, [r3, #16]
- 3703 00d8 12F0800F tst r2, #128
- 3704 00dc 03D0 beq .L264
-3866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3705 .loc 1 3866 0
-ARM GAS /tmp/ccqsuCX7.s page 201
-
-
- 3706 00de DA68 ldr r2, [r3, #12]
- 3707 00e0 12F0800F tst r2, #128
- 3708 00e4 34D1 bne .L269
- 3709 .L264:
-3877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3710 .loc 1 3877 0
- 3711 00e6 2368 ldr r3, [r4]
- 3712 00e8 1A69 ldr r2, [r3, #16]
- 3713 00ea 12F0400F tst r2, #64
- 3714 00ee 03D0 beq .L265
-3879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3715 .loc 1 3879 0
- 3716 00f0 DA68 ldr r2, [r3, #12]
- 3717 00f2 12F0400F tst r2, #64
- 3718 00f6 32D1 bne .L270
- 3719 .L265:
-3890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3720 .loc 1 3890 0
- 3721 00f8 2368 ldr r3, [r4]
- 3722 00fa 1A69 ldr r2, [r3, #16]
- 3723 00fc 12F0200F tst r2, #32
- 3724 0100 03D0 beq .L250
-3892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3725 .loc 1 3892 0
- 3726 0102 DA68 ldr r2, [r3, #12]
- 3727 0104 12F0200F tst r2, #32
- 3728 0108 30D1 bne .L271
- 3729 .L250:
- 3730 010a 10BD pop {r4, pc}
- 3731 .LVL382:
- 3732 .L252:
-3752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim);
- 3733 .loc 1 3752 0
- 3734 010c FFF7FEFF bl HAL_TIM_OC_DelayElapsedCallback
- 3735 .LVL383:
-3753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 3736 .loc 1 3753 0
- 3737 0110 2046 mov r0, r4
- 3738 0112 FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback
- 3739 .LVL384:
- 3740 0116 8AE7 b .L253
- 3741 .L255:
-3783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim);
- 3742 .loc 1 3783 0
- 3743 0118 2046 mov r0, r4
- 3744 011a FFF7FEFF bl HAL_TIM_OC_DelayElapsedCallback
- 3745 .LVL385:
-3784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 3746 .loc 1 3784 0
- 3747 011e 2046 mov r0, r4
- 3748 0120 FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback
- 3749 .LVL386:
- 3750 0124 9BE7 b .L256
- 3751 .L258:
-3813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim);
- 3752 .loc 1 3813 0
- 3753 0126 2046 mov r0, r4
-ARM GAS /tmp/ccqsuCX7.s page 202
-
-
- 3754 0128 FFF7FEFF bl HAL_TIM_OC_DelayElapsedCallback
- 3755 .LVL387:
-3814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 3756 .loc 1 3814 0
- 3757 012c 2046 mov r0, r4
- 3758 012e FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback
- 3759 .LVL388:
- 3760 0132 ACE7 b .L259
- 3761 .L261:
-3843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_PWM_PulseFinishedCallback(htim);
- 3762 .loc 1 3843 0
- 3763 0134 2046 mov r0, r4
- 3764 0136 FFF7FEFF bl HAL_TIM_OC_DelayElapsedCallback
- 3765 .LVL389:
-3844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 3766 .loc 1 3844 0
- 3767 013a 2046 mov r0, r4
- 3768 013c FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback
- 3769 .LVL390:
- 3770 0140 BDE7 b .L262
- 3771 .L268:
-3855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
- 3772 .loc 1 3855 0
- 3773 0142 6FF00102 mvn r2, #1
- 3774 0146 1A61 str r2, [r3, #16]
-3859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 3775 .loc 1 3859 0
- 3776 0148 2046 mov r0, r4
- 3777 014a FFF7FEFF bl HAL_TIM_PeriodElapsedCallback
- 3778 .LVL391:
- 3779 014e C1E7 b .L263
- 3780 .L269:
-3868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
- 3781 .loc 1 3868 0
- 3782 0150 6FF08002 mvn r2, #128
- 3783 0154 1A61 str r2, [r3, #16]
-3872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 3784 .loc 1 3872 0
- 3785 0156 2046 mov r0, r4
- 3786 0158 FFF7FEFF bl HAL_TIMEx_BreakCallback
- 3787 .LVL392:
- 3788 015c C3E7 b .L264
- 3789 .L270:
-3881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
- 3790 .loc 1 3881 0
- 3791 015e 6FF04002 mvn r2, #64
- 3792 0162 1A61 str r2, [r3, #16]
-3885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 3793 .loc 1 3885 0
- 3794 0164 2046 mov r0, r4
- 3795 0166 FFF7FEFF bl HAL_TIM_TriggerCallback
- 3796 .LVL393:
- 3797 016a C5E7 b .L265
- 3798 .L271:
-3894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
- 3799 .loc 1 3894 0
- 3800 016c 6FF02002 mvn r2, #32
-ARM GAS /tmp/ccqsuCX7.s page 203
-
-
- 3801 0170 1A61 str r2, [r3, #16]
-3898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 3802 .loc 1 3898 0
- 3803 0172 2046 mov r0, r4
- 3804 0174 FFF7FEFF bl HAL_TIMEx_CommutCallback
- 3805 .LVL394:
-3902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 3806 .loc 1 3902 0
- 3807 0178 C7E7 b .L250
- 3808 .cfi_endproc
- 3809 .LFE123:
- 3811 .section .text.TIM_DMATriggerCplt,"ax",%progbits
- 3812 .align 1
- 3813 .syntax unified
- 3814 .thumb
- 3815 .thumb_func
- 3816 .fpu softvfp
- 3818 TIM_DMATriggerCplt:
- 3819 .LFB167:
-6543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 3820 .loc 1 6543 0
- 3821 .cfi_startproc
- 3822 @ args = 0, pretend = 0, frame = 0
- 3823 @ frame_needed = 0, uses_anonymous_args = 0
- 3824 .LVL395:
- 3825 0000 08B5 push {r3, lr}
- 3826 .LCFI44:
- 3827 .cfi_def_cfa_offset 8
- 3828 .cfi_offset 3, -8
- 3829 .cfi_offset 14, -4
-6544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 3830 .loc 1 6544 0
- 3831 0002 406A ldr r0, [r0, #36]
- 3832 .LVL396:
-6546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3833 .loc 1 6546 0
- 3834 0004 836B ldr r3, [r0, #56]
- 3835 0006 9B69 ldr r3, [r3, #24]
- 3836 0008 13B9 cbnz r3, .L273
-6548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3837 .loc 1 6548 0
- 3838 000a 0123 movs r3, #1
- 3839 000c 80F83D30 strb r3, [r0, #61]
- 3840 .L273:
-6554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 3841 .loc 1 6554 0
- 3842 0010 FFF7FEFF bl HAL_TIM_TriggerCallback
- 3843 .LVL397:
- 3844 0014 08BD pop {r3, pc}
- 3845 .cfi_endproc
- 3846 .LFE167:
- 3848 .section .text.HAL_TIM_TriggerHalfCpltCallback,"ax",%progbits
- 3849 .align 1
- 3850 .weak HAL_TIM_TriggerHalfCpltCallback
- 3851 .syntax unified
- 3852 .thumb
- 3853 .thumb_func
-ARM GAS /tmp/ccqsuCX7.s page 204
-
-
- 3854 .fpu softvfp
- 3856 HAL_TIM_TriggerHalfCpltCallback:
- 3857 .LFB149:
-5611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 3858 .loc 1 5611 0
- 3859 .cfi_startproc
- 3860 @ args = 0, pretend = 0, frame = 0
- 3861 @ frame_needed = 0, uses_anonymous_args = 0
- 3862 @ link register save eliminated.
- 3863 .LVL398:
- 3864 0000 7047 bx lr
- 3865 .cfi_endproc
- 3866 .LFE149:
- 3868 .section .text.TIM_DMATriggerHalfCplt,"ax",%progbits
- 3869 .align 1
- 3870 .syntax unified
- 3871 .thumb
- 3872 .thumb_func
- 3873 .fpu softvfp
- 3875 TIM_DMATriggerHalfCplt:
- 3876 .LFB168:
-6564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 3877 .loc 1 6564 0
- 3878 .cfi_startproc
- 3879 @ args = 0, pretend = 0, frame = 0
- 3880 @ frame_needed = 0, uses_anonymous_args = 0
- 3881 .LVL399:
-6564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 3882 .loc 1 6564 0
- 3883 0000 08B5 push {r3, lr}
- 3884 .LCFI45:
- 3885 .cfi_def_cfa_offset 8
- 3886 .cfi_offset 3, -8
- 3887 .cfi_offset 14, -4
- 3888 .LVL400:
-6570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 3889 .loc 1 6570 0
- 3890 0002 406A ldr r0, [r0, #36]
- 3891 .LVL401:
- 3892 0004 FFF7FEFF bl HAL_TIM_TriggerHalfCpltCallback
- 3893 .LVL402:
- 3894 0008 08BD pop {r3, pc}
- 3895 .cfi_endproc
- 3896 .LFE168:
- 3898 .section .text.HAL_TIM_ErrorCallback,"ax",%progbits
- 3899 .align 1
- 3900 .weak HAL_TIM_ErrorCallback
- 3901 .syntax unified
- 3902 .thumb
- 3903 .thumb_func
- 3904 .fpu softvfp
- 3906 HAL_TIM_ErrorCallback:
- 3907 .LFB150:
-5626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 3908 .loc 1 5626 0
- 3909 .cfi_startproc
- 3910 @ args = 0, pretend = 0, frame = 0
-ARM GAS /tmp/ccqsuCX7.s page 205
-
-
- 3911 @ frame_needed = 0, uses_anonymous_args = 0
- 3912 @ link register save eliminated.
- 3913 .LVL403:
- 3914 0000 7047 bx lr
- 3915 .cfi_endproc
- 3916 .LFE150:
- 3918 .section .text.TIM_DMAError,"ax",%progbits
- 3919 .align 1
- 3920 .global TIM_DMAError
- 3921 .syntax unified
- 3922 .thumb
- 3923 .thumb_func
- 3924 .fpu softvfp
- 3926 TIM_DMAError:
- 3927 .LFB160:
-6263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 3928 .loc 1 6263 0
- 3929 .cfi_startproc
- 3930 @ args = 0, pretend = 0, frame = 0
- 3931 @ frame_needed = 0, uses_anonymous_args = 0
- 3932 .LVL404:
-6263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 3933 .loc 1 6263 0
- 3934 0000 10B5 push {r4, lr}
- 3935 .LCFI46:
- 3936 .cfi_def_cfa_offset 8
- 3937 .cfi_offset 4, -8
- 3938 .cfi_offset 14, -4
-6264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 3939 .loc 1 6264 0
- 3940 0002 446A ldr r4, [r0, #36]
- 3941 .LVL405:
-6266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3942 .loc 1 6266 0
- 3943 0004 636A ldr r3, [r4, #36]
- 3944 0006 9842 cmp r0, r3
- 3945 0008 11D0 beq .L286
-6271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3946 .loc 1 6271 0
- 3947 000a A36A ldr r3, [r4, #40]
- 3948 000c 9842 cmp r0, r3
- 3949 000e 13D0 beq .L287
-6276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3950 .loc 1 6276 0
- 3951 0010 E36A ldr r3, [r4, #44]
- 3952 0012 9842 cmp r0, r3
- 3953 0014 16D0 beq .L288
-6281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 3954 .loc 1 6281 0
- 3955 0016 236B ldr r3, [r4, #48]
- 3956 0018 9842 cmp r0, r3
- 3957 001a 19D0 beq .L289
-6288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3958 .loc 1 6288 0
- 3959 001c 0123 movs r3, #1
- 3960 001e 84F83D30 strb r3, [r4, #61]
- 3961 .L281:
-ARM GAS /tmp/ccqsuCX7.s page 206
-
-
-6294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 3962 .loc 1 6294 0
- 3963 0022 2046 mov r0, r4
- 3964 .LVL406:
- 3965 0024 FFF7FEFF bl HAL_TIM_ErrorCallback
- 3966 .LVL407:
-6297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3967 .loc 1 6297 0
- 3968 0028 0023 movs r3, #0
- 3969 002a 2377 strb r3, [r4, #28]
- 3970 002c 10BD pop {r4, pc}
- 3971 .LVL408:
- 3972 .L286:
-6268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
- 3973 .loc 1 6268 0
- 3974 002e 0123 movs r3, #1
- 3975 0030 2377 strb r3, [r4, #28]
-6269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3976 .loc 1 6269 0
- 3977 0032 84F83E30 strb r3, [r4, #62]
- 3978 0036 F4E7 b .L281
- 3979 .L287:
-6273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 3980 .loc 1 6273 0
- 3981 0038 0223 movs r3, #2
- 3982 003a 2377 strb r3, [r4, #28]
-6274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3983 .loc 1 6274 0
- 3984 003c 0123 movs r3, #1
- 3985 003e 84F83F30 strb r3, [r4, #63]
- 3986 0042 EEE7 b .L281
- 3987 .L288:
-6278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY);
- 3988 .loc 1 6278 0
- 3989 0044 0423 movs r3, #4
- 3990 0046 2377 strb r3, [r4, #28]
-6279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3991 .loc 1 6279 0
- 3992 0048 0123 movs r3, #1
- 3993 004a 84F84030 strb r3, [r4, #64]
- 3994 004e E8E7 b .L281
- 3995 .L289:
-6283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY);
- 3996 .loc 1 6283 0
- 3997 0050 0823 movs r3, #8
- 3998 0052 2377 strb r3, [r4, #28]
-6284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 3999 .loc 1 6284 0
- 4000 0054 0123 movs r3, #1
- 4001 0056 84F84130 strb r3, [r4, #65]
- 4002 005a E2E7 b .L281
- 4003 .cfi_endproc
- 4004 .LFE160:
- 4006 .section .text.HAL_TIM_Base_GetState,"ax",%progbits
- 4007 .align 1
- 4008 .global HAL_TIM_Base_GetState
- 4009 .syntax unified
-ARM GAS /tmp/ccqsuCX7.s page 207
-
-
- 4010 .thumb
- 4011 .thumb_func
- 4012 .fpu softvfp
- 4014 HAL_TIM_Base_GetState:
- 4015 .LFB151:
-6143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return htim->State;
- 4016 .loc 1 6143 0
- 4017 .cfi_startproc
- 4018 @ args = 0, pretend = 0, frame = 0
- 4019 @ frame_needed = 0, uses_anonymous_args = 0
- 4020 @ link register save eliminated.
- 4021 .LVL409:
-6144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 4022 .loc 1 6144 0
- 4023 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2
- 4024 .LVL410:
-6145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4025 .loc 1 6145 0
- 4026 0004 7047 bx lr
- 4027 .cfi_endproc
- 4028 .LFE151:
- 4030 .section .text.HAL_TIM_OC_GetState,"ax",%progbits
- 4031 .align 1
- 4032 .global HAL_TIM_OC_GetState
- 4033 .syntax unified
- 4034 .thumb
- 4035 .thumb_func
- 4036 .fpu softvfp
- 4038 HAL_TIM_OC_GetState:
- 4039 .LFB152:
-6153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return htim->State;
- 4040 .loc 1 6153 0
- 4041 .cfi_startproc
- 4042 @ args = 0, pretend = 0, frame = 0
- 4043 @ frame_needed = 0, uses_anonymous_args = 0
- 4044 @ link register save eliminated.
- 4045 .LVL411:
-6154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 4046 .loc 1 6154 0
- 4047 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2
- 4048 .LVL412:
-6155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4049 .loc 1 6155 0
- 4050 0004 7047 bx lr
- 4051 .cfi_endproc
- 4052 .LFE152:
- 4054 .section .text.HAL_TIM_PWM_GetState,"ax",%progbits
- 4055 .align 1
- 4056 .global HAL_TIM_PWM_GetState
- 4057 .syntax unified
- 4058 .thumb
- 4059 .thumb_func
- 4060 .fpu softvfp
- 4062 HAL_TIM_PWM_GetState:
- 4063 .LFB153:
-6163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return htim->State;
- 4064 .loc 1 6163 0
-ARM GAS /tmp/ccqsuCX7.s page 208
-
-
- 4065 .cfi_startproc
- 4066 @ args = 0, pretend = 0, frame = 0
- 4067 @ frame_needed = 0, uses_anonymous_args = 0
- 4068 @ link register save eliminated.
- 4069 .LVL413:
-6164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 4070 .loc 1 6164 0
- 4071 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2
- 4072 .LVL414:
-6165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4073 .loc 1 6165 0
- 4074 0004 7047 bx lr
- 4075 .cfi_endproc
- 4076 .LFE153:
- 4078 .section .text.HAL_TIM_IC_GetState,"ax",%progbits
- 4079 .align 1
- 4080 .global HAL_TIM_IC_GetState
- 4081 .syntax unified
- 4082 .thumb
- 4083 .thumb_func
- 4084 .fpu softvfp
- 4086 HAL_TIM_IC_GetState:
- 4087 .LFB154:
-6173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return htim->State;
- 4088 .loc 1 6173 0
- 4089 .cfi_startproc
- 4090 @ args = 0, pretend = 0, frame = 0
- 4091 @ frame_needed = 0, uses_anonymous_args = 0
- 4092 @ link register save eliminated.
- 4093 .LVL415:
-6174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 4094 .loc 1 6174 0
- 4095 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2
- 4096 .LVL416:
-6175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4097 .loc 1 6175 0
- 4098 0004 7047 bx lr
- 4099 .cfi_endproc
- 4100 .LFE154:
- 4102 .section .text.HAL_TIM_OnePulse_GetState,"ax",%progbits
- 4103 .align 1
- 4104 .global HAL_TIM_OnePulse_GetState
- 4105 .syntax unified
- 4106 .thumb
- 4107 .thumb_func
- 4108 .fpu softvfp
- 4110 HAL_TIM_OnePulse_GetState:
- 4111 .LFB155:
-6183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return htim->State;
- 4112 .loc 1 6183 0
- 4113 .cfi_startproc
- 4114 @ args = 0, pretend = 0, frame = 0
- 4115 @ frame_needed = 0, uses_anonymous_args = 0
- 4116 @ link register save eliminated.
- 4117 .LVL417:
-6184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 4118 .loc 1 6184 0
-ARM GAS /tmp/ccqsuCX7.s page 209
-
-
- 4119 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2
- 4120 .LVL418:
-6185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4121 .loc 1 6185 0
- 4122 0004 7047 bx lr
- 4123 .cfi_endproc
- 4124 .LFE155:
- 4126 .section .text.HAL_TIM_Encoder_GetState,"ax",%progbits
- 4127 .align 1
- 4128 .global HAL_TIM_Encoder_GetState
- 4129 .syntax unified
- 4130 .thumb
- 4131 .thumb_func
- 4132 .fpu softvfp
- 4134 HAL_TIM_Encoder_GetState:
- 4135 .LFB156:
-6193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return htim->State;
- 4136 .loc 1 6193 0
- 4137 .cfi_startproc
- 4138 @ args = 0, pretend = 0, frame = 0
- 4139 @ frame_needed = 0, uses_anonymous_args = 0
- 4140 @ link register save eliminated.
- 4141 .LVL419:
-6194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 4142 .loc 1 6194 0
- 4143 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2
- 4144 .LVL420:
-6195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4145 .loc 1 6195 0
- 4146 0004 7047 bx lr
- 4147 .cfi_endproc
- 4148 .LFE156:
- 4150 .section .text.HAL_TIM_GetActiveChannel,"ax",%progbits
- 4151 .align 1
- 4152 .global HAL_TIM_GetActiveChannel
- 4153 .syntax unified
- 4154 .thumb
- 4155 .thumb_func
- 4156 .fpu softvfp
- 4158 HAL_TIM_GetActiveChannel:
- 4159 .LFB157:
-6203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return htim->Channel;
- 4160 .loc 1 6203 0
- 4161 .cfi_startproc
- 4162 @ args = 0, pretend = 0, frame = 0
- 4163 @ frame_needed = 0, uses_anonymous_args = 0
- 4164 @ link register save eliminated.
- 4165 .LVL421:
-6205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4166 .loc 1 6205 0
- 4167 0000 007F ldrb r0, [r0, #28] @ zero_extendqisi2
- 4168 .LVL422:
- 4169 0002 7047 bx lr
- 4170 .cfi_endproc
- 4171 .LFE157:
- 4173 .section .text.HAL_TIM_GetChannelState,"ax",%progbits
- 4174 .align 1
-ARM GAS /tmp/ccqsuCX7.s page 210
-
-
- 4175 .global HAL_TIM_GetChannelState
- 4176 .syntax unified
- 4177 .thumb
- 4178 .thumb_func
- 4179 .fpu softvfp
- 4181 HAL_TIM_GetChannelState:
- 4182 .LFB158:
-6221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_state;
- 4183 .loc 1 6221 0
- 4184 .cfi_startproc
- 4185 @ args = 0, pretend = 0, frame = 0
- 4186 @ frame_needed = 0, uses_anonymous_args = 0
- 4187 @ link register save eliminated.
- 4188 .LVL423:
-6227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4189 .loc 1 6227 0
- 4190 0000 39B1 cbz r1, .L302
-6227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4191 .loc 1 6227 0 is_stmt 0 discriminator 2
- 4192 0002 0429 cmp r1, #4
- 4193 0004 09D0 beq .L303
-6227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4194 .loc 1 6227 0 discriminator 5
- 4195 0006 0829 cmp r1, #8
- 4196 0008 0BD0 beq .L304
-6227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4197 .loc 1 6227 0 discriminator 8
- 4198 000a 90F84100 ldrb r0, [r0, #65] @ zero_extendqisi2
- 4199 .LVL424:
- 4200 000e C0B2 uxtb r0, r0
- 4201 .LVL425:
-6230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4202 .loc 1 6230 0 is_stmt 1 discriminator 8
- 4203 0010 7047 bx lr
- 4204 .LVL426:
- 4205 .L302:
-6227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4206 .loc 1 6227 0 discriminator 1
- 4207 0012 90F83E00 ldrb r0, [r0, #62] @ zero_extendqisi2
- 4208 .LVL427:
- 4209 0016 C0B2 uxtb r0, r0
- 4210 0018 7047 bx lr
- 4211 .LVL428:
- 4212 .L303:
-6227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4213 .loc 1 6227 0 is_stmt 0 discriminator 4
- 4214 001a 90F83F00 ldrb r0, [r0, #63] @ zero_extendqisi2
- 4215 .LVL429:
- 4216 001e C0B2 uxtb r0, r0
- 4217 0020 7047 bx lr
- 4218 .LVL430:
- 4219 .L304:
-6227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4220 .loc 1 6227 0 discriminator 7
- 4221 0022 90F84000 ldrb r0, [r0, #64] @ zero_extendqisi2
- 4222 .LVL431:
- 4223 0026 C0B2 uxtb r0, r0
-ARM GAS /tmp/ccqsuCX7.s page 211
-
-
- 4224 0028 7047 bx lr
- 4225 .cfi_endproc
- 4226 .LFE158:
- 4228 .section .text.HAL_TIM_DMABurstState,"ax",%progbits
- 4229 .align 1
- 4230 .global HAL_TIM_DMABurstState
- 4231 .syntax unified
- 4232 .thumb
- 4233 .thumb_func
- 4234 .fpu softvfp
- 4236 HAL_TIM_DMABurstState:
- 4237 .LFB159:
-6238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 4238 .loc 1 6238 0 is_stmt 1
- 4239 .cfi_startproc
- 4240 @ args = 0, pretend = 0, frame = 0
- 4241 @ frame_needed = 0, uses_anonymous_args = 0
- 4242 @ link register save eliminated.
- 4243 .LVL432:
-6242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 4244 .loc 1 6242 0
- 4245 0000 90F84600 ldrb r0, [r0, #70] @ zero_extendqisi2
- 4246 .LVL433:
-6243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4247 .loc 1 6243 0
- 4248 0004 7047 bx lr
- 4249 .cfi_endproc
- 4250 .LFE159:
- 4252 .section .text.TIM_Base_SetConfig,"ax",%progbits
- 4253 .align 1
- 4254 .global TIM_Base_SetConfig
- 4255 .syntax unified
- 4256 .thumb
- 4257 .thumb_func
- 4258 .fpu softvfp
- 4260 TIM_Base_SetConfig:
- 4261 .LFB169:
-6581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpcr1;
- 4262 .loc 1 6581 0
- 4263 .cfi_startproc
- 4264 @ args = 0, pretend = 0, frame = 0
- 4265 @ frame_needed = 0, uses_anonymous_args = 0
- 4266 @ link register save eliminated.
- 4267 .LVL434:
-6583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4268 .loc 1 6583 0
- 4269 0000 0368 ldr r3, [r0]
- 4270 .LVL435:
-6586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4271 .loc 1 6586 0
- 4272 0002 254A ldr r2, .L313
- 4273 0004 9042 cmp r0, r2
- 4274 0006 12D0 beq .L307
-6586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4275 .loc 1 6586 0 is_stmt 0 discriminator 1
- 4276 0008 02F50062 add r2, r2, #2048
- 4277 000c 9042 cmp r0, r2
-ARM GAS /tmp/ccqsuCX7.s page 212
-
-
- 4278 000e 0ED0 beq .L307
-6586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4279 .loc 1 6586 0 discriminator 2
- 4280 0010 B0F1804F cmp r0, #1073741824
- 4281 0014 0BD0 beq .L307
-6586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4282 .loc 1 6586 0 discriminator 3
- 4283 0016 A2F59832 sub r2, r2, #77824
- 4284 001a 9042 cmp r0, r2
- 4285 001c 07D0 beq .L307
-6586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4286 .loc 1 6586 0 discriminator 4
- 4287 001e 02F58062 add r2, r2, #1024
- 4288 0022 9042 cmp r0, r2
- 4289 0024 03D0 beq .L307
-6586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4290 .loc 1 6586 0 discriminator 5
- 4291 0026 02F58062 add r2, r2, #1024
- 4292 002a 9042 cmp r0, r2
- 4293 002c 03D1 bne .L308
- 4294 .L307:
-6589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr1 |= Structure->CounterMode;
- 4295 .loc 1 6589 0 is_stmt 1
- 4296 002e 23F07003 bic r3, r3, #112
- 4297 .LVL436:
-6590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 4298 .loc 1 6590 0
- 4299 0032 4A68 ldr r2, [r1, #4]
- 4300 0034 1343 orrs r3, r3, r2
- 4301 .LVL437:
- 4302 .L308:
-6593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4303 .loc 1 6593 0
- 4304 0036 184A ldr r2, .L313
- 4305 0038 9042 cmp r0, r2
- 4306 003a 12D0 beq .L309
-6593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4307 .loc 1 6593 0 is_stmt 0 discriminator 1
- 4308 003c 02F50062 add r2, r2, #2048
- 4309 0040 9042 cmp r0, r2
- 4310 0042 0ED0 beq .L309
-6593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4311 .loc 1 6593 0 discriminator 2
- 4312 0044 B0F1804F cmp r0, #1073741824
- 4313 0048 0BD0 beq .L309
-6593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4314 .loc 1 6593 0 discriminator 3
- 4315 004a A2F59832 sub r2, r2, #77824
- 4316 004e 9042 cmp r0, r2
- 4317 0050 07D0 beq .L309
-6593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4318 .loc 1 6593 0 discriminator 4
- 4319 0052 02F58062 add r2, r2, #1024
- 4320 0056 9042 cmp r0, r2
- 4321 0058 03D0 beq .L309
-6593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4322 .loc 1 6593 0 discriminator 5
-ARM GAS /tmp/ccqsuCX7.s page 213
-
-
- 4323 005a 02F58062 add r2, r2, #1024
- 4324 005e 9042 cmp r0, r2
- 4325 0060 03D1 bne .L310
- 4326 .L309:
-6596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpcr1 |= (uint32_t)Structure->ClockDivision;
- 4327 .loc 1 6596 0 is_stmt 1
- 4328 0062 23F44073 bic r3, r3, #768
- 4329 .LVL438:
-6597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 4330 .loc 1 6597 0
- 4331 0066 CA68 ldr r2, [r1, #12]
- 4332 0068 1343 orrs r3, r3, r2
- 4333 .LVL439:
- 4334 .L310:
-6601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4335 .loc 1 6601 0
- 4336 006a 23F08003 bic r3, r3, #128
- 4337 .LVL440:
- 4338 006e 4A69 ldr r2, [r1, #20]
- 4339 0070 1343 orrs r3, r3, r2
- 4340 .LVL441:
-6603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4341 .loc 1 6603 0
- 4342 0072 0360 str r3, [r0]
-6606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4343 .loc 1 6606 0
- 4344 0074 8B68 ldr r3, [r1, #8]
- 4345 .LVL442:
- 4346 0076 C362 str r3, [r0, #44]
- 4347 .LVL443:
-6609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4348 .loc 1 6609 0
- 4349 0078 0B68 ldr r3, [r1]
- 4350 007a 8362 str r3, [r0, #40]
-6611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4351 .loc 1 6611 0
- 4352 007c 064B ldr r3, .L313
- 4353 007e 9842 cmp r0, r3
- 4354 0080 06D0 beq .L311
-6611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4355 .loc 1 6611 0 is_stmt 0 discriminator 1
- 4356 0082 03F50063 add r3, r3, #2048
- 4357 0086 9842 cmp r0, r3
- 4358 0088 02D0 beq .L311
- 4359 .L312:
-6619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 4360 .loc 1 6619 0 is_stmt 1
- 4361 008a 0123 movs r3, #1
- 4362 008c 4361 str r3, [r0, #20]
- 4363 008e 7047 bx lr
- 4364 .L311:
-6614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 4365 .loc 1 6614 0
- 4366 0090 0B69 ldr r3, [r1, #16]
- 4367 0092 0363 str r3, [r0, #48]
- 4368 0094 F9E7 b .L312
- 4369 .L314:
-ARM GAS /tmp/ccqsuCX7.s page 214
-
-
- 4370 0096 00BF .align 2
- 4371 .L313:
- 4372 0098 002C0140 .word 1073818624
- 4373 .cfi_endproc
- 4374 .LFE169:
- 4376 .section .text.HAL_TIM_Base_Init,"ax",%progbits
- 4377 .align 1
- 4378 .global HAL_TIM_Base_Init
- 4379 .syntax unified
- 4380 .thumb
- 4381 .thumb_func
- 4382 .fpu softvfp
- 4384 HAL_TIM_Base_Init:
- 4385 .LFB65:
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM handle allocation */
- 4386 .loc 1 267 0
- 4387 .cfi_startproc
- 4388 @ args = 0, pretend = 0, frame = 0
- 4389 @ frame_needed = 0, uses_anonymous_args = 0
- 4390 .LVL444:
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4391 .loc 1 269 0
- 4392 0000 38B3 cbz r0, .L318
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM handle allocation */
- 4393 .loc 1 267 0
- 4394 0002 10B5 push {r4, lr}
- 4395 .LCFI47:
- 4396 .cfi_def_cfa_offset 8
- 4397 .cfi_offset 4, -8
- 4398 .cfi_offset 14, -4
- 4399 0004 0446 mov r4, r0
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4400 .loc 1 280 0
- 4401 0006 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 4402 000a EBB1 cbz r3, .L323
- 4403 .LVL445:
- 4404 .L317:
- 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4405 .loc 1 302 0
- 4406 000c 0223 movs r3, #2
- 4407 000e 84F83D30 strb r3, [r4, #61]
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4408 .loc 1 305 0
- 4409 0012 211D adds r1, r4, #4
- 4410 0014 2068 ldr r0, [r4]
- 4411 0016 FFF7FEFF bl TIM_Base_SetConfig
- 4412 .LVL446:
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4413 .loc 1 308 0
- 4414 001a 0123 movs r3, #1
- 4415 001c 84F84630 strb r3, [r4, #70]
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY);
- 4416 .loc 1 311 0
- 4417 0020 84F83E30 strb r3, [r4, #62]
- 4418 0024 84F83F30 strb r3, [r4, #63]
- 4419 0028 84F84030 strb r3, [r4, #64]
- 4420 002c 84F84130 strb r3, [r4, #65]
-ARM GAS /tmp/ccqsuCX7.s page 215
-
-
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4421 .loc 1 312 0
- 4422 0030 84F84230 strb r3, [r4, #66]
- 4423 0034 84F84330 strb r3, [r4, #67]
- 4424 0038 84F84430 strb r3, [r4, #68]
- 4425 003c 84F84530 strb r3, [r4, #69]
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4426 .loc 1 315 0
- 4427 0040 84F83D30 strb r3, [r4, #61]
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 4428 .loc 1 317 0
- 4429 0044 0020 movs r0, #0
- 4430 0046 10BD pop {r4, pc}
- 4431 .LVL447:
- 4432 .L323:
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4433 .loc 1 283 0
- 4434 0048 80F83C30 strb r3, [r0, #60]
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 4435 .loc 1 297 0
- 4436 004c FFF7FEFF bl HAL_TIM_Base_MspInit
- 4437 .LVL448:
- 4438 0050 DCE7 b .L317
- 4439 .LVL449:
- 4440 .L318:
- 4441 .LCFI48:
- 4442 .cfi_def_cfa_offset 0
- 4443 .cfi_restore 4
- 4444 .cfi_restore 14
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 4445 .loc 1 271 0
- 4446 0052 0120 movs r0, #1
- 4447 .LVL450:
- 4448 0054 7047 bx lr
- 4449 .cfi_endproc
- 4450 .LFE65:
- 4452 .section .text.HAL_TIM_OC_Init,"ax",%progbits
- 4453 .align 1
- 4454 .global HAL_TIM_OC_Init
- 4455 .syntax unified
- 4456 .thumb
- 4457 .thumb_func
- 4458 .fpu softvfp
- 4460 HAL_TIM_OC_Init:
- 4461 .LFB75:
- 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM handle allocation */
- 4462 .loc 1 649 0
- 4463 .cfi_startproc
- 4464 @ args = 0, pretend = 0, frame = 0
- 4465 @ frame_needed = 0, uses_anonymous_args = 0
- 4466 .LVL451:
- 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4467 .loc 1 651 0
- 4468 0000 38B3 cbz r0, .L327
- 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM handle allocation */
- 4469 .loc 1 649 0
- 4470 0002 10B5 push {r4, lr}
-ARM GAS /tmp/ccqsuCX7.s page 216
-
-
- 4471 .LCFI49:
- 4472 .cfi_def_cfa_offset 8
- 4473 .cfi_offset 4, -8
- 4474 .cfi_offset 14, -4
- 4475 0004 0446 mov r4, r0
- 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4476 .loc 1 662 0
- 4477 0006 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 4478 000a EBB1 cbz r3, .L332
- 4479 .LVL452:
- 4480 .L326:
- 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4481 .loc 1 684 0
- 4482 000c 0223 movs r3, #2
- 4483 000e 84F83D30 strb r3, [r4, #61]
- 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4484 .loc 1 687 0
- 4485 0012 211D adds r1, r4, #4
- 4486 0014 2068 ldr r0, [r4]
- 4487 0016 FFF7FEFF bl TIM_Base_SetConfig
- 4488 .LVL453:
- 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4489 .loc 1 690 0
- 4490 001a 0123 movs r3, #1
- 4491 001c 84F84630 strb r3, [r4, #70]
- 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY);
- 4492 .loc 1 693 0
- 4493 0020 84F83E30 strb r3, [r4, #62]
- 4494 0024 84F83F30 strb r3, [r4, #63]
- 4495 0028 84F84030 strb r3, [r4, #64]
- 4496 002c 84F84130 strb r3, [r4, #65]
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4497 .loc 1 694 0
- 4498 0030 84F84230 strb r3, [r4, #66]
- 4499 0034 84F84330 strb r3, [r4, #67]
- 4500 0038 84F84430 strb r3, [r4, #68]
- 4501 003c 84F84530 strb r3, [r4, #69]
- 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4502 .loc 1 697 0
- 4503 0040 84F83D30 strb r3, [r4, #61]
- 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 4504 .loc 1 699 0
- 4505 0044 0020 movs r0, #0
- 4506 0046 10BD pop {r4, pc}
- 4507 .LVL454:
- 4508 .L332:
- 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4509 .loc 1 665 0
- 4510 0048 80F83C30 strb r3, [r0, #60]
- 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 4511 .loc 1 679 0
- 4512 004c FFF7FEFF bl HAL_TIM_OC_MspInit
- 4513 .LVL455:
- 4514 0050 DCE7 b .L326
- 4515 .LVL456:
- 4516 .L327:
- 4517 .LCFI50:
-ARM GAS /tmp/ccqsuCX7.s page 217
-
-
- 4518 .cfi_def_cfa_offset 0
- 4519 .cfi_restore 4
- 4520 .cfi_restore 14
- 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 4521 .loc 1 653 0
- 4522 0052 0120 movs r0, #1
- 4523 .LVL457:
- 4524 0054 7047 bx lr
- 4525 .cfi_endproc
- 4526 .LFE75:
- 4528 .section .text.HAL_TIM_PWM_Init,"ax",%progbits
- 4529 .align 1
- 4530 .global HAL_TIM_PWM_Init
- 4531 .syntax unified
- 4532 .thumb
- 4533 .thumb_func
- 4534 .fpu softvfp
- 4536 HAL_TIM_PWM_Init:
- 4537 .LFB85:
-1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM handle allocation */
- 4538 .loc 1 1286 0
- 4539 .cfi_startproc
- 4540 @ args = 0, pretend = 0, frame = 0
- 4541 @ frame_needed = 0, uses_anonymous_args = 0
- 4542 .LVL458:
-1288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4543 .loc 1 1288 0
- 4544 0000 38B3 cbz r0, .L336
-1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM handle allocation */
- 4545 .loc 1 1286 0
- 4546 0002 10B5 push {r4, lr}
- 4547 .LCFI51:
- 4548 .cfi_def_cfa_offset 8
- 4549 .cfi_offset 4, -8
- 4550 .cfi_offset 14, -4
- 4551 0004 0446 mov r4, r0
-1299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4552 .loc 1 1299 0
- 4553 0006 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 4554 000a EBB1 cbz r3, .L341
- 4555 .LVL459:
- 4556 .L335:
-1321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4557 .loc 1 1321 0
- 4558 000c 0223 movs r3, #2
- 4559 000e 84F83D30 strb r3, [r4, #61]
-1324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4560 .loc 1 1324 0
- 4561 0012 211D adds r1, r4, #4
- 4562 0014 2068 ldr r0, [r4]
- 4563 0016 FFF7FEFF bl TIM_Base_SetConfig
- 4564 .LVL460:
-1327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4565 .loc 1 1327 0
- 4566 001a 0123 movs r3, #1
- 4567 001c 84F84630 strb r3, [r4, #70]
-1330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY);
-ARM GAS /tmp/ccqsuCX7.s page 218
-
-
- 4568 .loc 1 1330 0
- 4569 0020 84F83E30 strb r3, [r4, #62]
- 4570 0024 84F83F30 strb r3, [r4, #63]
- 4571 0028 84F84030 strb r3, [r4, #64]
- 4572 002c 84F84130 strb r3, [r4, #65]
-1331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4573 .loc 1 1331 0
- 4574 0030 84F84230 strb r3, [r4, #66]
- 4575 0034 84F84330 strb r3, [r4, #67]
- 4576 0038 84F84430 strb r3, [r4, #68]
- 4577 003c 84F84530 strb r3, [r4, #69]
-1334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4578 .loc 1 1334 0
- 4579 0040 84F83D30 strb r3, [r4, #61]
-1336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 4580 .loc 1 1336 0
- 4581 0044 0020 movs r0, #0
- 4582 0046 10BD pop {r4, pc}
- 4583 .LVL461:
- 4584 .L341:
-1302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4585 .loc 1 1302 0
- 4586 0048 80F83C30 strb r3, [r0, #60]
-1316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 4587 .loc 1 1316 0
- 4588 004c FFF7FEFF bl HAL_TIM_PWM_MspInit
- 4589 .LVL462:
- 4590 0050 DCE7 b .L335
- 4591 .LVL463:
- 4592 .L336:
- 4593 .LCFI52:
- 4594 .cfi_def_cfa_offset 0
- 4595 .cfi_restore 4
- 4596 .cfi_restore 14
-1290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 4597 .loc 1 1290 0
- 4598 0052 0120 movs r0, #1
- 4599 .LVL464:
- 4600 0054 7047 bx lr
- 4601 .cfi_endproc
- 4602 .LFE85:
- 4604 .section .text.HAL_TIM_IC_Init,"ax",%progbits
- 4605 .align 1
- 4606 .global HAL_TIM_IC_Init
- 4607 .syntax unified
- 4608 .thumb
- 4609 .thumb_func
- 4610 .fpu softvfp
- 4612 HAL_TIM_IC_Init:
- 4613 .LFB95:
-1921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM handle allocation */
- 4614 .loc 1 1921 0
- 4615 .cfi_startproc
- 4616 @ args = 0, pretend = 0, frame = 0
- 4617 @ frame_needed = 0, uses_anonymous_args = 0
- 4618 .LVL465:
-1923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-ARM GAS /tmp/ccqsuCX7.s page 219
-
-
- 4619 .loc 1 1923 0
- 4620 0000 38B3 cbz r0, .L345
-1921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM handle allocation */
- 4621 .loc 1 1921 0
- 4622 0002 10B5 push {r4, lr}
- 4623 .LCFI53:
- 4624 .cfi_def_cfa_offset 8
- 4625 .cfi_offset 4, -8
- 4626 .cfi_offset 14, -4
- 4627 0004 0446 mov r4, r0
-1934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4628 .loc 1 1934 0
- 4629 0006 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 4630 000a EBB1 cbz r3, .L350
- 4631 .LVL466:
- 4632 .L344:
-1956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4633 .loc 1 1956 0
- 4634 000c 0223 movs r3, #2
- 4635 000e 84F83D30 strb r3, [r4, #61]
-1959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4636 .loc 1 1959 0
- 4637 0012 211D adds r1, r4, #4
- 4638 0014 2068 ldr r0, [r4]
- 4639 0016 FFF7FEFF bl TIM_Base_SetConfig
- 4640 .LVL467:
-1962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4641 .loc 1 1962 0
- 4642 001a 0123 movs r3, #1
- 4643 001c 84F84630 strb r3, [r4, #70]
-1965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY);
- 4644 .loc 1 1965 0
- 4645 0020 84F83E30 strb r3, [r4, #62]
- 4646 0024 84F83F30 strb r3, [r4, #63]
- 4647 0028 84F84030 strb r3, [r4, #64]
- 4648 002c 84F84130 strb r3, [r4, #65]
-1966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4649 .loc 1 1966 0
- 4650 0030 84F84230 strb r3, [r4, #66]
- 4651 0034 84F84330 strb r3, [r4, #67]
- 4652 0038 84F84430 strb r3, [r4, #68]
- 4653 003c 84F84530 strb r3, [r4, #69]
-1969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4654 .loc 1 1969 0
- 4655 0040 84F83D30 strb r3, [r4, #61]
-1971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 4656 .loc 1 1971 0
- 4657 0044 0020 movs r0, #0
- 4658 0046 10BD pop {r4, pc}
- 4659 .LVL468:
- 4660 .L350:
-1937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4661 .loc 1 1937 0
- 4662 0048 80F83C30 strb r3, [r0, #60]
-1951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 4663 .loc 1 1951 0
- 4664 004c FFF7FEFF bl HAL_TIM_IC_MspInit
-ARM GAS /tmp/ccqsuCX7.s page 220
-
-
- 4665 .LVL469:
- 4666 0050 DCE7 b .L344
- 4667 .LVL470:
- 4668 .L345:
- 4669 .LCFI54:
- 4670 .cfi_def_cfa_offset 0
- 4671 .cfi_restore 4
- 4672 .cfi_restore 14
-1925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 4673 .loc 1 1925 0
- 4674 0052 0120 movs r0, #1
- 4675 .LVL471:
- 4676 0054 7047 bx lr
- 4677 .cfi_endproc
- 4678 .LFE95:
- 4680 .section .text.HAL_TIM_OnePulse_Init,"ax",%progbits
- 4681 .align 1
- 4682 .global HAL_TIM_OnePulse_Init
- 4683 .syntax unified
- 4684 .thumb
- 4685 .thumb_func
- 4686 .fpu softvfp
- 4688 HAL_TIM_OnePulse_Init:
- 4689 .LFB105:
-2543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM handle allocation */
- 4690 .loc 1 2543 0
- 4691 .cfi_startproc
- 4692 @ args = 0, pretend = 0, frame = 0
- 4693 @ frame_needed = 0, uses_anonymous_args = 0
- 4694 .LVL472:
-2545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4695 .loc 1 2545 0
- 4696 0000 48B3 cbz r0, .L354
-2543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the TIM handle allocation */
- 4697 .loc 1 2543 0
- 4698 0002 38B5 push {r3, r4, r5, lr}
- 4699 .LCFI55:
- 4700 .cfi_def_cfa_offset 16
- 4701 .cfi_offset 3, -16
- 4702 .cfi_offset 4, -12
- 4703 .cfi_offset 5, -8
- 4704 .cfi_offset 14, -4
- 4705 0004 0446 mov r4, r0
- 4706 0006 0D46 mov r5, r1
-2557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4707 .loc 1 2557 0
- 4708 0008 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 4709 000c F3B1 cbz r3, .L359
- 4710 .LVL473:
- 4711 .L353:
-2579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4712 .loc 1 2579 0
- 4713 000e 0223 movs r3, #2
- 4714 0010 84F83D30 strb r3, [r4, #61]
-2582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4715 .loc 1 2582 0
- 4716 0014 211D adds r1, r4, #4
-ARM GAS /tmp/ccqsuCX7.s page 221
-
-
- 4717 0016 2068 ldr r0, [r4]
- 4718 0018 FFF7FEFF bl TIM_Base_SetConfig
- 4719 .LVL474:
-2585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4720 .loc 1 2585 0
- 4721 001c 2268 ldr r2, [r4]
- 4722 001e 1368 ldr r3, [r2]
- 4723 0020 23F00803 bic r3, r3, #8
- 4724 0024 1360 str r3, [r2]
-2588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4725 .loc 1 2588 0
- 4726 0026 2268 ldr r2, [r4]
- 4727 0028 1368 ldr r3, [r2]
- 4728 002a 2B43 orrs r3, r3, r5
- 4729 002c 1360 str r3, [r2]
-2591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4730 .loc 1 2591 0
- 4731 002e 0123 movs r3, #1
- 4732 0030 84F84630 strb r3, [r4, #70]
-2594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 4733 .loc 1 2594 0
- 4734 0034 84F83E30 strb r3, [r4, #62]
-2595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
- 4735 .loc 1 2595 0
- 4736 0038 84F83F30 strb r3, [r4, #63]
-2596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 4737 .loc 1 2596 0
- 4738 003c 84F84230 strb r3, [r4, #66]
-2597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4739 .loc 1 2597 0
- 4740 0040 84F84330 strb r3, [r4, #67]
-2600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4741 .loc 1 2600 0
- 4742 0044 84F83D30 strb r3, [r4, #61]
-2602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 4743 .loc 1 2602 0
- 4744 0048 0020 movs r0, #0
- 4745 004a 38BD pop {r3, r4, r5, pc}
- 4746 .LVL475:
- 4747 .L359:
-2560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4748 .loc 1 2560 0
- 4749 004c 80F83C30 strb r3, [r0, #60]
-2574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 4750 .loc 1 2574 0
- 4751 0050 FFF7FEFF bl HAL_TIM_OnePulse_MspInit
- 4752 .LVL476:
- 4753 0054 DBE7 b .L353
- 4754 .LVL477:
- 4755 .L354:
- 4756 .LCFI56:
- 4757 .cfi_def_cfa_offset 0
- 4758 .cfi_restore 3
- 4759 .cfi_restore 4
- 4760 .cfi_restore 5
- 4761 .cfi_restore 14
-2547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-ARM GAS /tmp/ccqsuCX7.s page 222
-
-
- 4762 .loc 1 2547 0
- 4763 0056 0120 movs r0, #1
- 4764 .LVL478:
- 4765 0058 7047 bx lr
- 4766 .cfi_endproc
- 4767 .LFE105:
- 4769 .section .text.HAL_TIM_Encoder_Init,"ax",%progbits
- 4770 .align 1
- 4771 .global HAL_TIM_Encoder_Init
- 4772 .syntax unified
- 4773 .thumb
- 4774 .thumb_func
- 4775 .fpu softvfp
- 4777 HAL_TIM_Encoder_Init:
- 4778 .LFB113:
-2929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 4779 .loc 1 2929 0
- 4780 .cfi_startproc
- 4781 @ args = 0, pretend = 0, frame = 0
- 4782 @ frame_needed = 0, uses_anonymous_args = 0
- 4783 .LVL479:
-2935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4784 .loc 1 2935 0
- 4785 0000 0028 cmp r0, #0
- 4786 0002 53D0 beq .L363
-2929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 4787 .loc 1 2929 0
- 4788 0004 F8B5 push {r3, r4, r5, r6, r7, lr}
- 4789 .LCFI57:
- 4790 .cfi_def_cfa_offset 24
- 4791 .cfi_offset 3, -24
- 4792 .cfi_offset 4, -20
- 4793 .cfi_offset 5, -16
- 4794 .cfi_offset 6, -12
- 4795 .cfi_offset 7, -8
- 4796 .cfi_offset 14, -4
- 4797 0006 0446 mov r4, r0
- 4798 0008 0D46 mov r5, r1
-2955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4799 .loc 1 2955 0
- 4800 000a 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 4801 000e 002B cmp r3, #0
- 4802 0010 47D0 beq .L368
- 4803 .LVL480:
- 4804 .L362:
-2977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4805 .loc 1 2977 0
- 4806 0012 0223 movs r3, #2
- 4807 0014 84F83D30 strb r3, [r4, #61]
-2980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4808 .loc 1 2980 0
- 4809 0018 2146 mov r1, r4
- 4810 001a 51F8042B ldr r2, [r1], #4
- 4811 001e 9368 ldr r3, [r2, #8]
- 4812 0020 23F48043 bic r3, r3, #16384
- 4813 0024 23F00703 bic r3, r3, #7
- 4814 0028 9360 str r3, [r2, #8]
-ARM GAS /tmp/ccqsuCX7.s page 223
-
-
-2983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4815 .loc 1 2983 0
- 4816 002a 2068 ldr r0, [r4]
- 4817 002c FFF7FEFF bl TIM_Base_SetConfig
- 4818 .LVL481:
-2986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4819 .loc 1 2986 0
- 4820 0030 2068 ldr r0, [r4]
- 4821 0032 8668 ldr r6, [r0, #8]
- 4822 .LVL482:
-2989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4823 .loc 1 2989 0
- 4824 0034 8369 ldr r3, [r0, #24]
- 4825 .LVL483:
-2992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4826 .loc 1 2992 0
- 4827 0036 026A ldr r2, [r0, #32]
- 4828 .LVL484:
-2995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4829 .loc 1 2995 0
- 4830 0038 2968 ldr r1, [r5]
- 4831 003a 0E43 orrs r6, r6, r1
- 4832 .LVL485:
-2998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Selection | (sConfig->IC2Selection << 8U));
- 4833 .loc 1 2998 0
- 4834 003c 23F44073 bic r3, r3, #768
- 4835 .LVL486:
- 4836 0040 23F00303 bic r3, r3, #3
- 4837 .LVL487:
-2999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4838 .loc 1 2999 0
- 4839 0044 A968 ldr r1, [r5, #8]
- 4840 0046 AF69 ldr r7, [r5, #24]
- 4841 0048 41EA0721 orr r1, r1, r7, lsl #8
- 4842 004c 0B43 orrs r3, r3, r1
- 4843 .LVL488:
-3003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 |= sConfig->IC1Prescaler | (sConfig->IC2Prescaler << 8U);
- 4844 .loc 1 3003 0
- 4845 004e 23F47C43 bic r3, r3, #64512
- 4846 .LVL489:
- 4847 0052 23F0FC03 bic r3, r3, #252
- 4848 .LVL490:
-3004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 |= (sConfig->IC1Filter << 4U) | (sConfig->IC2Filter << 12U);
- 4849 .loc 1 3004 0
- 4850 0056 E968 ldr r1, [r5, #12]
- 4851 0058 EF69 ldr r7, [r5, #28]
- 4852 005a 41EA0721 orr r1, r1, r7, lsl #8
- 4853 005e 0B43 orrs r3, r3, r1
- 4854 .LVL491:
-3005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4855 .loc 1 3005 0
- 4856 0060 2F69 ldr r7, [r5, #16]
- 4857 0062 296A ldr r1, [r5, #32]
- 4858 0064 0903 lsls r1, r1, #12
- 4859 0066 41EA0711 orr r1, r1, r7, lsl #4
- 4860 006a 0B43 orrs r3, r3, r1
- 4861 .LVL492:
-ARM GAS /tmp/ccqsuCX7.s page 224
-
-
-3008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer |= sConfig->IC1Polarity | (sConfig->IC2Polarity << 4U);
- 4862 .loc 1 3008 0
- 4863 006c 22F02202 bic r2, r2, #34
- 4864 .LVL493:
-3009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4865 .loc 1 3009 0
- 4866 0070 6968 ldr r1, [r5, #4]
- 4867 0072 6D69 ldr r5, [r5, #20]
- 4868 .LVL494:
- 4869 0074 41EA0511 orr r1, r1, r5, lsl #4
- 4870 0078 0A43 orrs r2, r2, r1
- 4871 .LVL495:
-3012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4872 .loc 1 3012 0
- 4873 007a 8660 str r6, [r0, #8]
-3015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4874 .loc 1 3015 0
- 4875 007c 2168 ldr r1, [r4]
- 4876 007e 8B61 str r3, [r1, #24]
-3018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4877 .loc 1 3018 0
- 4878 0080 2368 ldr r3, [r4]
- 4879 .LVL496:
- 4880 0082 1A62 str r2, [r3, #32]
- 4881 .LVL497:
-3021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4882 .loc 1 3021 0
- 4883 0084 0123 movs r3, #1
- 4884 0086 84F84630 strb r3, [r4, #70]
-3024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 4885 .loc 1 3024 0
- 4886 008a 84F83E30 strb r3, [r4, #62]
-3025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
- 4887 .loc 1 3025 0
- 4888 008e 84F83F30 strb r3, [r4, #63]
-3026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 4889 .loc 1 3026 0
- 4890 0092 84F84230 strb r3, [r4, #66]
-3027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4891 .loc 1 3027 0
- 4892 0096 84F84330 strb r3, [r4, #67]
-3030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4893 .loc 1 3030 0
- 4894 009a 84F83D30 strb r3, [r4, #61]
-3032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 4895 .loc 1 3032 0
- 4896 009e 0020 movs r0, #0
- 4897 00a0 F8BD pop {r3, r4, r5, r6, r7, pc}
- 4898 .LVL498:
- 4899 .L368:
-2958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4900 .loc 1 2958 0
- 4901 00a2 80F83C30 strb r3, [r0, #60]
-2972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 4902 .loc 1 2972 0
- 4903 00a6 FFF7FEFF bl HAL_TIM_Encoder_MspInit
- 4904 .LVL499:
-ARM GAS /tmp/ccqsuCX7.s page 225
-
-
- 4905 00aa B2E7 b .L362
- 4906 .LVL500:
- 4907 .L363:
- 4908 .LCFI58:
- 4909 .cfi_def_cfa_offset 0
- 4910 .cfi_restore 3
- 4911 .cfi_restore 4
- 4912 .cfi_restore 5
- 4913 .cfi_restore 6
- 4914 .cfi_restore 7
- 4915 .cfi_restore 14
-2937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 4916 .loc 1 2937 0
- 4917 00ac 0120 movs r0, #1
- 4918 .LVL501:
- 4919 00ae 7047 bx lr
- 4920 .cfi_endproc
- 4921 .LFE113:
- 4923 .section .text.TIM_OC2_SetConfig,"ax",%progbits
- 4924 .align 1
- 4925 .global TIM_OC2_SetConfig
- 4926 .syntax unified
- 4927 .thumb
- 4928 .thumb_func
- 4929 .fpu softvfp
- 4931 TIM_OC2_SetConfig:
- 4932 .LFB171:
-6704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccmrx;
- 4933 .loc 1 6704 0
- 4934 .cfi_startproc
- 4935 @ args = 0, pretend = 0, frame = 0
- 4936 @ frame_needed = 0, uses_anonymous_args = 0
- 4937 @ link register save eliminated.
- 4938 .LVL502:
- 4939 0000 30B4 push {r4, r5}
- 4940 .LCFI59:
- 4941 .cfi_def_cfa_offset 8
- 4942 .cfi_offset 4, -8
- 4943 .cfi_offset 5, -4
-6710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4944 .loc 1 6710 0
- 4945 0002 036A ldr r3, [r0, #32]
- 4946 0004 23F01003 bic r3, r3, #16
- 4947 0008 0362 str r3, [r0, #32]
-6713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Get the TIMx CR2 register value */
- 4948 .loc 1 6713 0
- 4949 000a 036A ldr r3, [r0, #32]
- 4950 .LVL503:
-6715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4951 .loc 1 6715 0
- 4952 000c 4468 ldr r4, [r0, #4]
- 4953 .LVL504:
-6718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4954 .loc 1 6718 0
- 4955 000e 8269 ldr r2, [r0, #24]
- 4956 .LVL505:
-6722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 226
-
-
- 4957 .loc 1 6722 0
- 4958 0010 22F4E642 bic r2, r2, #29440
- 4959 .LVL506:
-6725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4960 .loc 1 6725 0
- 4961 0014 0D68 ldr r5, [r1]
- 4962 0016 42EA0522 orr r2, r2, r5, lsl #8
- 4963 .LVL507:
-6728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Output Compare Polarity */
- 4964 .loc 1 6728 0
- 4965 001a 23F02003 bic r3, r3, #32
- 4966 .LVL508:
-6730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4967 .loc 1 6730 0
- 4968 001e 8D68 ldr r5, [r1, #8]
- 4969 0020 43EA0513 orr r3, r3, r5, lsl #4
- 4970 .LVL509:
-6732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4971 .loc 1 6732 0
- 4972 0024 124D ldr r5, .L375
- 4973 0026 A842 cmp r0, r5
- 4974 0028 11D0 beq .L370
-6732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4975 .loc 1 6732 0 is_stmt 0 discriminator 1
- 4976 002a 05F50065 add r5, r5, #2048
- 4977 002e A842 cmp r0, r5
- 4978 0030 0DD0 beq .L370
- 4979 .L371:
-6745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4980 .loc 1 6745 0 is_stmt 1
- 4981 0032 0F4D ldr r5, .L375
- 4982 0034 A842 cmp r0, r5
- 4983 0036 12D0 beq .L372
-6745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 4984 .loc 1 6745 0 is_stmt 0 discriminator 1
- 4985 0038 05F50065 add r5, r5, #2048
- 4986 003c A842 cmp r0, r5
- 4987 003e 0ED0 beq .L372
- 4988 .L373:
-6761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4989 .loc 1 6761 0 is_stmt 1
- 4990 0040 4460 str r4, [r0, #4]
-6764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4991 .loc 1 6764 0
- 4992 0042 8261 str r2, [r0, #24]
-6767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 4993 .loc 1 6767 0
- 4994 0044 4A68 ldr r2, [r1, #4]
- 4995 .LVL510:
- 4996 0046 8263 str r2, [r0, #56]
- 4997 .LVL511:
-6770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 4998 .loc 1 6770 0
- 4999 0048 0362 str r3, [r0, #32]
-6771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5000 .loc 1 6771 0
- 5001 004a 30BC pop {r4, r5}
-ARM GAS /tmp/ccqsuCX7.s page 227
-
-
- 5002 .LCFI60:
- 5003 .cfi_remember_state
- 5004 .cfi_restore 5
- 5005 .cfi_restore 4
- 5006 .cfi_def_cfa_offset 0
- 5007 .LVL512:
- 5008 004c 7047 bx lr
- 5009 .LVL513:
- 5010 .L370:
- 5011 .LCFI61:
- 5012 .cfi_restore_state
-6737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Output N Polarity */
- 5013 .loc 1 6737 0
- 5014 004e 23F08003 bic r3, r3, #128
- 5015 .LVL514:
-6739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the Output N State */
- 5016 .loc 1 6739 0
- 5017 0052 CD68 ldr r5, [r1, #12]
- 5018 0054 43EA0513 orr r3, r3, r5, lsl #4
- 5019 .LVL515:
-6741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5020 .loc 1 6741 0
- 5021 0058 23F04003 bic r3, r3, #64
- 5022 .LVL516:
- 5023 005c E9E7 b .L371
- 5024 .L372:
- 5025 .LVL517:
-6753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Output Idle state */
- 5026 .loc 1 6753 0
- 5027 005e 24F44064 bic r4, r4, #3072
- 5028 .LVL518:
-6755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Output N Idle state */
- 5029 .loc 1 6755 0
- 5030 0062 4D69 ldr r5, [r1, #20]
- 5031 0064 44EA8504 orr r4, r4, r5, lsl #2
- 5032 .LVL519:
-6757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5033 .loc 1 6757 0
- 5034 0068 8D69 ldr r5, [r1, #24]
- 5035 006a 44EA8504 orr r4, r4, r5, lsl #2
- 5036 .LVL520:
- 5037 006e E7E7 b .L373
- 5038 .L376:
- 5039 .align 2
- 5040 .L375:
- 5041 0070 002C0140 .word 1073818624
- 5042 .cfi_endproc
- 5043 .LFE171:
- 5045 .section .text.HAL_TIM_OC_ConfigChannel,"ax",%progbits
- 5046 .align 1
- 5047 .global HAL_TIM_OC_ConfigChannel
- 5048 .syntax unified
- 5049 .thumb
- 5050 .thumb_func
- 5051 .fpu softvfp
- 5053 HAL_TIM_OC_ConfigChannel:
- 5054 .LFB124:
-ARM GAS /tmp/ccqsuCX7.s page 228
-
-
-3943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 5055 .loc 1 3943 0
- 5056 .cfi_startproc
- 5057 @ args = 0, pretend = 0, frame = 0
- 5058 @ frame_needed = 0, uses_anonymous_args = 0
- 5059 .LVL521:
-3950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5060 .loc 1 3950 0
- 5061 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
- 5062 0004 012B cmp r3, #1
- 5063 0006 22D0 beq .L385
-3943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 5064 .loc 1 3943 0 discriminator 2
- 5065 0008 10B5 push {r4, lr}
- 5066 .LCFI62:
- 5067 .cfi_def_cfa_offset 8
- 5068 .cfi_offset 4, -8
- 5069 .cfi_offset 14, -4
- 5070 000a 0446 mov r4, r0
-3950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5071 .loc 1 3950 0 discriminator 2
- 5072 000c 0123 movs r3, #1
- 5073 000e 80F83C30 strb r3, [r0, #60]
-3952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 5074 .loc 1 3952 0 discriminator 2
- 5075 0012 0C2A cmp r2, #12
- 5076 0014 0BD8 bhi .L379
- 5077 0016 DFE802F0 tbb [pc, r2]
- 5078 .L381:
- 5079 001a 07 .byte (.L380-.L381)/2
- 5080 001b 0A .byte (.L379-.L381)/2
- 5081 001c 0A .byte (.L379-.L381)/2
- 5082 001d 0A .byte (.L379-.L381)/2
- 5083 001e 0E .byte (.L382-.L381)/2
- 5084 001f 0A .byte (.L379-.L381)/2
- 5085 0020 0A .byte (.L379-.L381)/2
- 5086 0021 0A .byte (.L379-.L381)/2
- 5087 0022 12 .byte (.L383-.L381)/2
- 5088 0023 0A .byte (.L379-.L381)/2
- 5089 0024 0A .byte (.L379-.L381)/2
- 5090 0025 0A .byte (.L379-.L381)/2
- 5091 0026 16 .byte (.L384-.L381)/2
- 5092 0027 00 .p2align 1
- 5093 .L380:
-3960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 5094 .loc 1 3960 0
- 5095 0028 0068 ldr r0, [r0]
- 5096 .LVL522:
- 5097 002a FFF7FEFF bl TIM_OC1_SetConfig
- 5098 .LVL523:
- 5099 .L379:
-3998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5100 .loc 1 3998 0
- 5101 002e 0020 movs r0, #0
- 5102 0030 84F83C00 strb r0, [r4, #60]
-4000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5103 .loc 1 4000 0
-ARM GAS /tmp/ccqsuCX7.s page 229
-
-
- 5104 0034 10BD pop {r4, pc}
- 5105 .LVL524:
- 5106 .L382:
-3970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 5107 .loc 1 3970 0
- 5108 0036 0068 ldr r0, [r0]
- 5109 .LVL525:
- 5110 0038 FFF7FEFF bl TIM_OC2_SetConfig
- 5111 .LVL526:
-3971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5112 .loc 1 3971 0
- 5113 003c F7E7 b .L379
- 5114 .LVL527:
- 5115 .L383:
-3980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 5116 .loc 1 3980 0
- 5117 003e 0068 ldr r0, [r0]
- 5118 .LVL528:
- 5119 0040 FFF7FEFF bl TIM_OC3_SetConfig
- 5120 .LVL529:
-3981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5121 .loc 1 3981 0
- 5122 0044 F3E7 b .L379
- 5123 .LVL530:
- 5124 .L384:
-3990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 5125 .loc 1 3990 0
- 5126 0046 0068 ldr r0, [r0]
- 5127 .LVL531:
- 5128 0048 FFF7FEFF bl TIM_OC4_SetConfig
- 5129 .LVL532:
-3991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5130 .loc 1 3991 0
- 5131 004c EFE7 b .L379
- 5132 .LVL533:
- 5133 .L385:
- 5134 .LCFI63:
- 5135 .cfi_def_cfa_offset 0
- 5136 .cfi_restore 4
- 5137 .cfi_restore 14
-3950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5138 .loc 1 3950 0
- 5139 004e 0220 movs r0, #2
- 5140 .LVL534:
- 5141 0050 7047 bx lr
- 5142 .cfi_endproc
- 5143 .LFE124:
- 5145 .section .text.HAL_TIM_PWM_ConfigChannel,"ax",%progbits
- 5146 .align 1
- 5147 .global HAL_TIM_PWM_ConfigChannel
- 5148 .syntax unified
- 5149 .thumb
- 5150 .thumb_func
- 5151 .fpu softvfp
- 5153 HAL_TIM_PWM_ConfigChannel:
- 5154 .LFB126:
-4112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-ARM GAS /tmp/ccqsuCX7.s page 230
-
-
- 5155 .loc 1 4112 0
- 5156 .cfi_startproc
- 5157 @ args = 0, pretend = 0, frame = 0
- 5158 @ frame_needed = 0, uses_anonymous_args = 0
- 5159 .LVL535:
- 5160 0000 38B5 push {r3, r4, r5, lr}
- 5161 .LCFI64:
- 5162 .cfi_def_cfa_offset 16
- 5163 .cfi_offset 3, -16
- 5164 .cfi_offset 4, -12
- 5165 .cfi_offset 5, -8
- 5166 .cfi_offset 14, -4
-4120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5167 .loc 1 4120 0
- 5168 0002 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
- 5169 0006 012B cmp r3, #1
- 5170 0008 60D0 beq .L398
- 5171 000a 0D46 mov r5, r1
- 5172 000c 0446 mov r4, r0
-4120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5173 .loc 1 4120 0 is_stmt 0 discriminator 2
- 5174 000e 0123 movs r3, #1
- 5175 0010 80F83C30 strb r3, [r0, #60]
-4122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 5176 .loc 1 4122 0 is_stmt 1 discriminator 2
- 5177 0014 0C2A cmp r2, #12
- 5178 0016 1AD8 bhi .L392
- 5179 0018 DFE802F0 tbb [pc, r2]
- 5180 .L394:
- 5181 001c 07 .byte (.L393-.L394)/2
- 5182 001d 19 .byte (.L392-.L394)/2
- 5183 001e 19 .byte (.L392-.L394)/2
- 5184 001f 19 .byte (.L392-.L394)/2
- 5185 0020 1D .byte (.L395-.L394)/2
- 5186 0021 19 .byte (.L392-.L394)/2
- 5187 0022 19 .byte (.L392-.L394)/2
- 5188 0023 19 .byte (.L392-.L394)/2
- 5189 0024 31 .byte (.L396-.L394)/2
- 5190 0025 19 .byte (.L392-.L394)/2
- 5191 0026 19 .byte (.L392-.L394)/2
- 5192 0027 19 .byte (.L392-.L394)/2
- 5193 0028 44 .byte (.L397-.L394)/2
- 5194 0029 00 .p2align 1
- 5195 .L393:
-4130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5196 .loc 1 4130 0
- 5197 002a 0068 ldr r0, [r0]
- 5198 .LVL536:
- 5199 002c FFF7FEFF bl TIM_OC1_SetConfig
- 5200 .LVL537:
-4133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5201 .loc 1 4133 0
- 5202 0030 2268 ldr r2, [r4]
- 5203 0032 9369 ldr r3, [r2, #24]
- 5204 0034 43F00803 orr r3, r3, #8
- 5205 0038 9361 str r3, [r2, #24]
-4136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode;
-ARM GAS /tmp/ccqsuCX7.s page 231
-
-
- 5206 .loc 1 4136 0
- 5207 003a 2268 ldr r2, [r4]
- 5208 003c 9369 ldr r3, [r2, #24]
- 5209 003e 23F00403 bic r3, r3, #4
- 5210 0042 9361 str r3, [r2, #24]
-4137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 5211 .loc 1 4137 0
- 5212 0044 2268 ldr r2, [r4]
- 5213 0046 9369 ldr r3, [r2, #24]
- 5214 0048 2969 ldr r1, [r5, #16]
- 5215 004a 0B43 orrs r3, r3, r1
- 5216 004c 9361 str r3, [r2, #24]
- 5217 .L392:
-4196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5218 .loc 1 4196 0
- 5219 004e 0020 movs r0, #0
- 5220 0050 84F83C00 strb r0, [r4, #60]
-4198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5221 .loc 1 4198 0
- 5222 0054 38BD pop {r3, r4, r5, pc}
- 5223 .LVL538:
- 5224 .L395:
-4147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5225 .loc 1 4147 0
- 5226 0056 0068 ldr r0, [r0]
- 5227 .LVL539:
- 5228 0058 FFF7FEFF bl TIM_OC2_SetConfig
- 5229 .LVL540:
-4150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5230 .loc 1 4150 0
- 5231 005c 2268 ldr r2, [r4]
- 5232 005e 9369 ldr r3, [r2, #24]
- 5233 0060 43F40063 orr r3, r3, #2048
- 5234 0064 9361 str r3, [r2, #24]
-4153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR1 |= sConfig->OCFastMode << 8U;
- 5235 .loc 1 4153 0
- 5236 0066 2268 ldr r2, [r4]
- 5237 0068 9369 ldr r3, [r2, #24]
- 5238 006a 23F48063 bic r3, r3, #1024
- 5239 006e 9361 str r3, [r2, #24]
-4154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 5240 .loc 1 4154 0
- 5241 0070 2268 ldr r2, [r4]
- 5242 0072 9369 ldr r3, [r2, #24]
- 5243 0074 2969 ldr r1, [r5, #16]
- 5244 0076 43EA0123 orr r3, r3, r1, lsl #8
- 5245 007a 9361 str r3, [r2, #24]
-4155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5246 .loc 1 4155 0
- 5247 007c E7E7 b .L392
- 5248 .LVL541:
- 5249 .L396:
-4164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5250 .loc 1 4164 0
- 5251 007e 0068 ldr r0, [r0]
- 5252 .LVL542:
- 5253 0080 FFF7FEFF bl TIM_OC3_SetConfig
-ARM GAS /tmp/ccqsuCX7.s page 232
-
-
- 5254 .LVL543:
-4167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5255 .loc 1 4167 0
- 5256 0084 2268 ldr r2, [r4]
- 5257 0086 D369 ldr r3, [r2, #28]
- 5258 0088 43F00803 orr r3, r3, #8
- 5259 008c D361 str r3, [r2, #28]
-4170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode;
- 5260 .loc 1 4170 0
- 5261 008e 2268 ldr r2, [r4]
- 5262 0090 D369 ldr r3, [r2, #28]
- 5263 0092 23F00403 bic r3, r3, #4
- 5264 0096 D361 str r3, [r2, #28]
-4171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 5265 .loc 1 4171 0
- 5266 0098 2268 ldr r2, [r4]
- 5267 009a D369 ldr r3, [r2, #28]
- 5268 009c 2969 ldr r1, [r5, #16]
- 5269 009e 0B43 orrs r3, r3, r1
- 5270 00a0 D361 str r3, [r2, #28]
-4172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5271 .loc 1 4172 0
- 5272 00a2 D4E7 b .L392
- 5273 .LVL544:
- 5274 .L397:
-4181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5275 .loc 1 4181 0
- 5276 00a4 0068 ldr r0, [r0]
- 5277 .LVL545:
- 5278 00a6 FFF7FEFF bl TIM_OC4_SetConfig
- 5279 .LVL546:
-4184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5280 .loc 1 4184 0
- 5281 00aa 2268 ldr r2, [r4]
- 5282 00ac D369 ldr r3, [r2, #28]
- 5283 00ae 43F40063 orr r3, r3, #2048
- 5284 00b2 D361 str r3, [r2, #28]
-4187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCMR2 |= sConfig->OCFastMode << 8U;
- 5285 .loc 1 4187 0
- 5286 00b4 2268 ldr r2, [r4]
- 5287 00b6 D369 ldr r3, [r2, #28]
- 5288 00b8 23F48063 bic r3, r3, #1024
- 5289 00bc D361 str r3, [r2, #28]
-4188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 5290 .loc 1 4188 0
- 5291 00be 2268 ldr r2, [r4]
- 5292 00c0 D369 ldr r3, [r2, #28]
- 5293 00c2 2969 ldr r1, [r5, #16]
- 5294 00c4 43EA0123 orr r3, r3, r1, lsl #8
- 5295 00c8 D361 str r3, [r2, #28]
-4189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5296 .loc 1 4189 0
- 5297 00ca C0E7 b .L392
- 5298 .LVL547:
- 5299 .L398:
-4120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5300 .loc 1 4120 0
-ARM GAS /tmp/ccqsuCX7.s page 233
-
-
- 5301 00cc 0220 movs r0, #2
- 5302 .LVL548:
-4199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5303 .loc 1 4199 0
- 5304 00ce 38BD pop {r3, r4, r5, pc}
- 5305 .cfi_endproc
- 5306 .LFE126:
- 5308 .section .text.TIM_TI1_SetConfig,"ax",%progbits
- 5309 .align 1
- 5310 .global TIM_TI1_SetConfig
- 5311 .syntax unified
- 5312 .thumb
- 5313 .thumb_func
- 5314 .fpu softvfp
- 5316 TIM_TI1_SetConfig:
- 5317 .LFB175:
-7046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpccmr1;
- 5318 .loc 1 7046 0
- 5319 .cfi_startproc
- 5320 @ args = 0, pretend = 0, frame = 0
- 5321 @ frame_needed = 0, uses_anonymous_args = 0
- 5322 @ link register save eliminated.
- 5323 .LVL549:
- 5324 0000 70B4 push {r4, r5, r6}
- 5325 .LCFI65:
- 5326 .cfi_def_cfa_offset 12
- 5327 .cfi_offset 4, -12
- 5328 .cfi_offset 5, -8
- 5329 .cfi_offset 6, -4
-7051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 = TIMx->CCMR1;
- 5330 .loc 1 7051 0
- 5331 0002 046A ldr r4, [r0, #32]
- 5332 0004 24F00104 bic r4, r4, #1
- 5333 0008 0462 str r4, [r0, #32]
-7052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer = TIMx->CCER;
- 5334 .loc 1 7052 0
- 5335 000a 8469 ldr r4, [r0, #24]
- 5336 .LVL550:
-7053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5337 .loc 1 7053 0
- 5338 000c 056A ldr r5, [r0, #32]
- 5339 .LVL551:
-7056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 5340 .loc 1 7056 0
- 5341 000e 1C4E ldr r6, .L413
- 5342 0010 B042 cmp r0, r6
- 5343 0012 26D0 beq .L404
-7056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 5344 .loc 1 7056 0 is_stmt 0 discriminator 2
- 5345 0014 06F50066 add r6, r6, #2048
- 5346 0018 B042 cmp r0, r6
- 5347 001a 24D0 beq .L405
-7056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 5348 .loc 1 7056 0 discriminator 4
- 5349 001c B0F1804F cmp r0, #1073741824
- 5350 0020 23D0 beq .L406
-7056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-ARM GAS /tmp/ccqsuCX7.s page 234
-
-
- 5351 .loc 1 7056 0 discriminator 6
- 5352 0022 A6F59836 sub r6, r6, #77824
- 5353 0026 B042 cmp r0, r6
- 5354 0028 21D0 beq .L407
-7056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 5355 .loc 1 7056 0 discriminator 8
- 5356 002a 06F58066 add r6, r6, #1024
- 5357 002e B042 cmp r0, r6
- 5358 0030 1FD0 beq .L408
-7056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 5359 .loc 1 7056 0 discriminator 10
- 5360 0032 06F58066 add r6, r6, #1024
- 5361 0036 B042 cmp r0, r6
- 5362 0038 11D0 beq .L411
-7056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 5363 .loc 1 7056 0
- 5364 003a 0026 movs r6, #0
- 5365 .L401:
-7056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 5366 .loc 1 7056 0 discriminator 14
- 5367 003c DEB9 cbnz r6, .L412
-7063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5368 .loc 1 7063 0 is_stmt 1
- 5369 003e 44F00102 orr r2, r4, #1
- 5370 .LVL552:
- 5371 .L403:
-7067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 |= ((TIM_ICFilter << 4U) & TIM_CCMR1_IC1F);
- 5372 .loc 1 7067 0
- 5373 0042 22F0F002 bic r2, r2, #240
- 5374 .LVL553:
-7068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5375 .loc 1 7068 0
- 5376 0046 1B01 lsls r3, r3, #4
- 5377 .LVL554:
- 5378 0048 DBB2 uxtb r3, r3
- 5379 004a 1343 orrs r3, r3, r2
- 5380 .LVL555:
-7071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccer |= (TIM_ICPolarity & (TIM_CCER_CC1P | TIM_CCER_CC1NP));
- 5381 .loc 1 7071 0
- 5382 004c 25F00A02 bic r2, r5, #10
- 5383 .LVL556:
-7072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5384 .loc 1 7072 0
- 5385 0050 01F00A01 and r1, r1, #10
- 5386 .LVL557:
- 5387 0054 1143 orrs r1, r1, r2
- 5388 .LVL558:
-7075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCER = tmpccer;
- 5389 .loc 1 7075 0
- 5390 0056 8361 str r3, [r0, #24]
-7076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5391 .loc 1 7076 0
- 5392 0058 0162 str r1, [r0, #32]
-7077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5393 .loc 1 7077 0
- 5394 005a 70BC pop {r4, r5, r6}
- 5395 .LCFI66:
-ARM GAS /tmp/ccqsuCX7.s page 235
-
-
- 5396 .cfi_remember_state
- 5397 .cfi_restore 6
- 5398 .cfi_restore 5
- 5399 .cfi_restore 4
- 5400 .cfi_def_cfa_offset 0
- 5401 005c 7047 bx lr
- 5402 .LVL559:
- 5403 .L411:
- 5404 .LCFI67:
- 5405 .cfi_restore_state
-7056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 5406 .loc 1 7056 0
- 5407 005e 0126 movs r6, #1
- 5408 0060 ECE7 b .L401
- 5409 .L404:
- 5410 0062 0126 movs r6, #1
- 5411 0064 EAE7 b .L401
- 5412 .L405:
- 5413 0066 0126 movs r6, #1
- 5414 0068 E8E7 b .L401
- 5415 .L406:
- 5416 006a 0126 movs r6, #1
- 5417 006c E6E7 b .L401
- 5418 .L407:
- 5419 006e 0126 movs r6, #1
- 5420 0070 E4E7 b .L401
- 5421 .L408:
- 5422 0072 0126 movs r6, #1
- 5423 0074 E2E7 b .L401
- 5424 .L412:
-7058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 |= TIM_ICSelection;
- 5425 .loc 1 7058 0
- 5426 0076 24F00304 bic r4, r4, #3
- 5427 .LVL560:
-7059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5428 .loc 1 7059 0
- 5429 007a 2243 orrs r2, r2, r4
- 5430 .LVL561:
- 5431 007c E1E7 b .L403
- 5432 .L414:
- 5433 007e 00BF .align 2
- 5434 .L413:
- 5435 0080 002C0140 .word 1073818624
- 5436 .cfi_endproc
- 5437 .LFE175:
- 5439 .section .text.HAL_TIM_IC_ConfigChannel,"ax",%progbits
- 5440 .align 1
- 5441 .global HAL_TIM_IC_ConfigChannel
- 5442 .syntax unified
- 5443 .thumb
- 5444 .thumb_func
- 5445 .fpu softvfp
- 5447 HAL_TIM_IC_ConfigChannel:
- 5448 .LFB125:
-4017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 5449 .loc 1 4017 0
- 5450 .cfi_startproc
-ARM GAS /tmp/ccqsuCX7.s page 236
-
-
- 5451 @ args = 0, pretend = 0, frame = 0
- 5452 @ frame_needed = 0, uses_anonymous_args = 0
- 5453 .LVL562:
- 5454 0000 38B5 push {r3, r4, r5, lr}
- 5455 .LCFI68:
- 5456 .cfi_def_cfa_offset 16
- 5457 .cfi_offset 3, -16
- 5458 .cfi_offset 4, -12
- 5459 .cfi_offset 5, -8
- 5460 .cfi_offset 14, -4
-4026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5461 .loc 1 4026 0
- 5462 0002 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
- 5463 0006 012B cmp r3, #1
- 5464 0008 52D0 beq .L421
- 5465 000a 0D46 mov r5, r1
- 5466 000c 0446 mov r4, r0
-4026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5467 .loc 1 4026 0 is_stmt 0 discriminator 2
- 5468 000e 0123 movs r3, #1
- 5469 0010 80F83C30 strb r3, [r0, #60]
-4028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 5470 .loc 1 4028 0 is_stmt 1 discriminator 2
- 5471 0014 C2B1 cbz r2, .L423
-4042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 5472 .loc 1 4042 0
- 5473 0016 042A cmp r2, #4
- 5474 0018 27D0 beq .L424
-4058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 5475 .loc 1 4058 0
- 5476 001a 082A cmp r2, #8
- 5477 001c 37D0 beq .L425
-4079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sConfig->ICPolarity,
- 5478 .loc 1 4079 0
- 5479 001e CB68 ldr r3, [r1, #12]
- 5480 0020 4A68 ldr r2, [r1, #4]
- 5481 .LVL563:
- 5482 0022 0968 ldr r1, [r1]
- 5483 .LVL564:
- 5484 0024 0068 ldr r0, [r0]
- 5485 .LVL565:
- 5486 0026 FFF7FEFF bl TIM_TI4_SetConfig
- 5487 .LVL566:
-4085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5488 .loc 1 4085 0
- 5489 002a 2268 ldr r2, [r4]
- 5490 002c D369 ldr r3, [r2, #28]
- 5491 002e 23F44063 bic r3, r3, #3072
- 5492 0032 D361 str r3, [r2, #28]
-4088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5493 .loc 1 4088 0
- 5494 0034 2268 ldr r2, [r4]
- 5495 0036 D369 ldr r3, [r2, #28]
- 5496 0038 A968 ldr r1, [r5, #8]
- 5497 003a 43EA0123 orr r3, r3, r1, lsl #8
- 5498 003e D361 str r3, [r2, #28]
- 5499 .L418:
-ARM GAS /tmp/ccqsuCX7.s page 237
-
-
-4091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5500 .loc 1 4091 0
- 5501 0040 0020 movs r0, #0
- 5502 0042 84F83C00 strb r0, [r4, #60]
-4093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5503 .loc 1 4093 0
- 5504 0046 38BD pop {r3, r4, r5, pc}
- 5505 .LVL567:
- 5506 .L423:
-4031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sConfig->ICPolarity,
- 5507 .loc 1 4031 0
- 5508 0048 CB68 ldr r3, [r1, #12]
- 5509 004a 4A68 ldr r2, [r1, #4]
- 5510 .LVL568:
- 5511 004c 0968 ldr r1, [r1]
- 5512 .LVL569:
- 5513 004e 0068 ldr r0, [r0]
- 5514 .LVL570:
- 5515 0050 FFF7FEFF bl TIM_TI1_SetConfig
- 5516 .LVL571:
-4037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5517 .loc 1 4037 0
- 5518 0054 2268 ldr r2, [r4]
- 5519 0056 9369 ldr r3, [r2, #24]
- 5520 0058 23F00C03 bic r3, r3, #12
- 5521 005c 9361 str r3, [r2, #24]
-4040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5522 .loc 1 4040 0
- 5523 005e 2268 ldr r2, [r4]
- 5524 0060 9369 ldr r3, [r2, #24]
- 5525 0062 A968 ldr r1, [r5, #8]
- 5526 0064 0B43 orrs r3, r3, r1
- 5527 0066 9361 str r3, [r2, #24]
- 5528 0068 EAE7 b .L418
- 5529 .LVL572:
- 5530 .L424:
-4047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sConfig->ICPolarity,
- 5531 .loc 1 4047 0
- 5532 006a CB68 ldr r3, [r1, #12]
- 5533 006c 4A68 ldr r2, [r1, #4]
- 5534 .LVL573:
- 5535 006e 0968 ldr r1, [r1]
- 5536 .LVL574:
- 5537 0070 0068 ldr r0, [r0]
- 5538 .LVL575:
- 5539 0072 FFF7FEFF bl TIM_TI2_SetConfig
- 5540 .LVL576:
-4053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5541 .loc 1 4053 0
- 5542 0076 2268 ldr r2, [r4]
- 5543 0078 9369 ldr r3, [r2, #24]
- 5544 007a 23F44063 bic r3, r3, #3072
- 5545 007e 9361 str r3, [r2, #24]
-4056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5546 .loc 1 4056 0
- 5547 0080 2268 ldr r2, [r4]
- 5548 0082 9369 ldr r3, [r2, #24]
-ARM GAS /tmp/ccqsuCX7.s page 238
-
-
- 5549 0084 A968 ldr r1, [r5, #8]
- 5550 0086 43EA0123 orr r3, r3, r1, lsl #8
- 5551 008a 9361 str r3, [r2, #24]
- 5552 008c D8E7 b .L418
- 5553 .LVL577:
- 5554 .L425:
-4063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sConfig->ICPolarity,
- 5555 .loc 1 4063 0
- 5556 008e CB68 ldr r3, [r1, #12]
- 5557 0090 4A68 ldr r2, [r1, #4]
- 5558 .LVL578:
- 5559 0092 0968 ldr r1, [r1]
- 5560 .LVL579:
- 5561 0094 0068 ldr r0, [r0]
- 5562 .LVL580:
- 5563 0096 FFF7FEFF bl TIM_TI3_SetConfig
- 5564 .LVL581:
-4069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5565 .loc 1 4069 0
- 5566 009a 2268 ldr r2, [r4]
- 5567 009c D369 ldr r3, [r2, #28]
- 5568 009e 23F00C03 bic r3, r3, #12
- 5569 00a2 D361 str r3, [r2, #28]
-4072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5570 .loc 1 4072 0
- 5571 00a4 2268 ldr r2, [r4]
- 5572 00a6 D369 ldr r3, [r2, #28]
- 5573 00a8 A968 ldr r1, [r5, #8]
- 5574 00aa 0B43 orrs r3, r3, r1
- 5575 00ac D361 str r3, [r2, #28]
- 5576 00ae C7E7 b .L418
- 5577 .LVL582:
- 5578 .L421:
-4026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5579 .loc 1 4026 0
- 5580 00b0 0220 movs r0, #2
- 5581 .LVL583:
-4094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5582 .loc 1 4094 0
- 5583 00b2 38BD pop {r3, r4, r5, pc}
- 5584 .cfi_endproc
- 5585 .LFE125:
- 5587 .section .text.HAL_TIM_OnePulse_ConfigChannel,"ax",%progbits
- 5588 .align 1
- 5589 .global HAL_TIM_OnePulse_ConfigChannel
- 5590 .syntax unified
- 5591 .thumb
- 5592 .thumb_func
- 5593 .fpu softvfp
- 5595 HAL_TIM_OnePulse_ConfigChannel:
- 5596 .LFB127:
-4222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_OC_InitTypeDef temp1;
- 5597 .loc 1 4222 0
- 5598 .cfi_startproc
- 5599 @ args = 0, pretend = 0, frame = 32
- 5600 @ frame_needed = 0, uses_anonymous_args = 0
- 5601 .LVL584:
-ARM GAS /tmp/ccqsuCX7.s page 239
-
-
-4229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 5602 .loc 1 4229 0
- 5603 0000 9A42 cmp r2, r3
- 5604 0002 72D0 beq .L434
-4222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_OC_InitTypeDef temp1;
- 5605 .loc 1 4222 0
- 5606 0004 70B5 push {r4, r5, r6, lr}
- 5607 .LCFI69:
- 5608 .cfi_def_cfa_offset 16
- 5609 .cfi_offset 4, -16
- 5610 .cfi_offset 5, -12
- 5611 .cfi_offset 6, -8
- 5612 .cfi_offset 14, -4
- 5613 0006 88B0 sub sp, sp, #32
- 5614 .LCFI70:
- 5615 .cfi_def_cfa_offset 48
-4232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5616 .loc 1 4232 0
- 5617 0008 90F83C40 ldrb r4, [r0, #60] @ zero_extendqisi2
- 5618 000c 012C cmp r4, #1
- 5619 000e 6ED0 beq .L435
- 5620 0010 1E46 mov r6, r3
- 5621 0012 0D46 mov r5, r1
- 5622 0014 0446 mov r4, r0
-4232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5623 .loc 1 4232 0 is_stmt 0 discriminator 2
- 5624 0016 0123 movs r3, #1
- 5625 .LVL585:
- 5626 0018 80F83C30 strb r3, [r0, #60]
-4234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5627 .loc 1 4234 0 is_stmt 1 discriminator 2
- 5628 001c 0223 movs r3, #2
- 5629 001e 80F83D30 strb r3, [r0, #61]
-4237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** temp1.Pulse = sConfig->Pulse;
- 5630 .loc 1 4237 0 discriminator 2
- 5631 0022 0B68 ldr r3, [r1]
- 5632 0024 0193 str r3, [sp, #4]
-4238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** temp1.OCPolarity = sConfig->OCPolarity;
- 5633 .loc 1 4238 0 discriminator 2
- 5634 0026 4B68 ldr r3, [r1, #4]
- 5635 0028 0293 str r3, [sp, #8]
-4239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** temp1.OCNPolarity = sConfig->OCNPolarity;
- 5636 .loc 1 4239 0 discriminator 2
- 5637 002a 8B68 ldr r3, [r1, #8]
- 5638 002c 0393 str r3, [sp, #12]
-4240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** temp1.OCIdleState = sConfig->OCIdleState;
- 5639 .loc 1 4240 0 discriminator 2
- 5640 002e CB68 ldr r3, [r1, #12]
- 5641 0030 0493 str r3, [sp, #16]
-4241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** temp1.OCNIdleState = sConfig->OCNIdleState;
- 5642 .loc 1 4241 0 discriminator 2
- 5643 0032 0B69 ldr r3, [r1, #16]
- 5644 0034 0693 str r3, [sp, #24]
-4242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5645 .loc 1 4242 0 discriminator 2
- 5646 0036 4B69 ldr r3, [r1, #20]
- 5647 0038 0793 str r3, [sp, #28]
-ARM GAS /tmp/ccqsuCX7.s page 240
-
-
-4244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 5648 .loc 1 4244 0 discriminator 2
- 5649 003a 62B1 cbz r2, .L429
- 5650 003c 042A cmp r2, #4
- 5651 003e 0FD0 beq .L430
- 5652 .LVL586:
- 5653 .L428:
-4264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 5654 .loc 1 4264 0
- 5655 0040 9EB1 cbz r6, .L432
- 5656 0042 042E cmp r6, #4
- 5657 0044 31D0 beq .L433
- 5658 .L431:
-4309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5659 .loc 1 4309 0
- 5660 0046 0123 movs r3, #1
- 5661 0048 84F83D30 strb r3, [r4, #61]
-4311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5662 .loc 1 4311 0
- 5663 004c 0020 movs r0, #0
- 5664 004e 84F83C00 strb r0, [r4, #60]
- 5665 .LVL587:
- 5666 .L427:
-4319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5667 .loc 1 4319 0
- 5668 0052 08B0 add sp, sp, #32
- 5669 .LCFI71:
- 5670 .cfi_remember_state
- 5671 .cfi_def_cfa_offset 16
- 5672 @ sp needed
- 5673 0054 70BD pop {r4, r5, r6, pc}
- 5674 .LVL588:
- 5675 .L429:
- 5676 .LCFI72:
- 5677 .cfi_restore_state
-4250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 5678 .loc 1 4250 0
- 5679 0056 01A9 add r1, sp, #4
- 5680 .LVL589:
- 5681 0058 0068 ldr r0, [r0]
- 5682 .LVL590:
- 5683 005a FFF7FEFF bl TIM_OC1_SetConfig
- 5684 .LVL591:
-4251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5685 .loc 1 4251 0
- 5686 005e EFE7 b .L428
- 5687 .LVL592:
- 5688 .L430:
-4257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 5689 .loc 1 4257 0
- 5690 0060 01A9 add r1, sp, #4
- 5691 .LVL593:
- 5692 0062 0068 ldr r0, [r0]
- 5693 .LVL594:
- 5694 0064 FFF7FEFF bl TIM_OC2_SetConfig
- 5695 .LVL595:
-4258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-ARM GAS /tmp/ccqsuCX7.s page 241
-
-
- 5696 .loc 1 4258 0
- 5697 0068 EAE7 b .L428
- 5698 .L432:
-4270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sConfig->ICSelection, sConfig->ICFilter);
- 5699 .loc 1 4270 0
- 5700 006a 2B6A ldr r3, [r5, #32]
- 5701 006c EA69 ldr r2, [r5, #28]
- 5702 006e A969 ldr r1, [r5, #24]
- 5703 0070 2068 ldr r0, [r4]
- 5704 0072 FFF7FEFF bl TIM_TI1_SetConfig
- 5705 .LVL596:
-4274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5706 .loc 1 4274 0
- 5707 0076 2268 ldr r2, [r4]
- 5708 0078 9369 ldr r3, [r2, #24]
- 5709 007a 23F00C03 bic r3, r3, #12
- 5710 007e 9361 str r3, [r2, #24]
-4277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI1FP1;
- 5711 .loc 1 4277 0
- 5712 0080 2268 ldr r2, [r4]
- 5713 0082 9368 ldr r3, [r2, #8]
- 5714 0084 23F07003 bic r3, r3, #112
- 5715 0088 9360 str r3, [r2, #8]
-4278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5716 .loc 1 4278 0
- 5717 008a 2268 ldr r2, [r4]
- 5718 008c 9368 ldr r3, [r2, #8]
- 5719 008e 43F05003 orr r3, r3, #80
- 5720 0092 9360 str r3, [r2, #8]
-4281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER;
- 5721 .loc 1 4281 0
- 5722 0094 2268 ldr r2, [r4]
- 5723 0096 9368 ldr r3, [r2, #8]
- 5724 0098 23F00703 bic r3, r3, #7
- 5725 009c 9360 str r3, [r2, #8]
-4282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 5726 .loc 1 4282 0
- 5727 009e 2268 ldr r2, [r4]
- 5728 00a0 9368 ldr r3, [r2, #8]
- 5729 00a2 43F00603 orr r3, r3, #6
- 5730 00a6 9360 str r3, [r2, #8]
-4283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5731 .loc 1 4283 0
- 5732 00a8 CDE7 b .L431
- 5733 .L433:
-4289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sConfig->ICSelection, sConfig->ICFilter);
- 5734 .loc 1 4289 0
- 5735 00aa 2B6A ldr r3, [r5, #32]
- 5736 00ac EA69 ldr r2, [r5, #28]
- 5737 00ae A969 ldr r1, [r5, #24]
- 5738 00b0 2068 ldr r0, [r4]
- 5739 00b2 FFF7FEFF bl TIM_TI2_SetConfig
- 5740 .LVL597:
-4293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5741 .loc 1 4293 0
- 5742 00b6 2268 ldr r2, [r4]
- 5743 00b8 9369 ldr r3, [r2, #24]
-ARM GAS /tmp/ccqsuCX7.s page 242
-
-
- 5744 00ba 23F44063 bic r3, r3, #3072
- 5745 00be 9361 str r3, [r2, #24]
-4296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->SMCR |= TIM_TS_TI2FP2;
- 5746 .loc 1 4296 0
- 5747 00c0 2268 ldr r2, [r4]
- 5748 00c2 9368 ldr r3, [r2, #8]
- 5749 00c4 23F07003 bic r3, r3, #112
- 5750 00c8 9360 str r3, [r2, #8]
-4297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5751 .loc 1 4297 0
- 5752 00ca 2268 ldr r2, [r4]
- 5753 00cc 9368 ldr r3, [r2, #8]
- 5754 00ce 43F06003 orr r3, r3, #96
- 5755 00d2 9360 str r3, [r2, #8]
-4300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_TRIGGER;
- 5756 .loc 1 4300 0
- 5757 00d4 2268 ldr r2, [r4]
- 5758 00d6 9368 ldr r3, [r2, #8]
- 5759 00d8 23F00703 bic r3, r3, #7
- 5760 00dc 9360 str r3, [r2, #8]
-4301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 5761 .loc 1 4301 0
- 5762 00de 2268 ldr r2, [r4]
- 5763 00e0 9368 ldr r3, [r2, #8]
- 5764 00e2 43F00603 orr r3, r3, #6
- 5765 00e6 9360 str r3, [r2, #8]
-4302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5766 .loc 1 4302 0
- 5767 00e8 ADE7 b .L431
- 5768 .LVL598:
- 5769 .L434:
- 5770 .LCFI73:
- 5771 .cfi_def_cfa_offset 0
- 5772 .cfi_restore 4
- 5773 .cfi_restore 5
- 5774 .cfi_restore 6
- 5775 .cfi_restore 14
-4317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5776 .loc 1 4317 0
- 5777 00ea 0120 movs r0, #1
- 5778 .LVL599:
- 5779 00ec 7047 bx lr
- 5780 .LVL600:
- 5781 .L435:
- 5782 .LCFI74:
- 5783 .cfi_def_cfa_offset 48
- 5784 .cfi_offset 4, -16
- 5785 .cfi_offset 5, -12
- 5786 .cfi_offset 6, -8
- 5787 .cfi_offset 14, -4
-4232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5788 .loc 1 4232 0
- 5789 00ee 0220 movs r0, #2
- 5790 .LVL601:
- 5791 00f0 AFE7 b .L427
- 5792 .cfi_endproc
- 5793 .LFE127:
-ARM GAS /tmp/ccqsuCX7.s page 243
-
-
- 5795 .section .text.TIM_ETR_SetConfig,"ax",%progbits
- 5796 .align 1
- 5797 .global TIM_ETR_SetConfig
- 5798 .syntax unified
- 5799 .thumb
- 5800 .thumb_func
- 5801 .fpu softvfp
- 5803 TIM_ETR_SetConfig:
- 5804 .LFB182:
-7318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-7319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-7320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Configures the TIMx External Trigger (ETR).
-7321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIMx to select the TIM peripheral
-7322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIM_ExtTRGPrescaler The external Trigger Prescaler.
-7323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-7324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ETRPRESCALER_DIV1: ETRP Prescaler OFF.
-7325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ETRPRESCALER_DIV2: ETRP frequency divided by 2.
-7326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ETRPRESCALER_DIV4: ETRP frequency divided by 4.
-7327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ETRPRESCALER_DIV8: ETRP frequency divided by 8.
-7328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIM_ExtTRGPolarity The external Trigger Polarity.
-7329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-7330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ETRPOLARITY_INVERTED: active low or falling edge active.
-7331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_ETRPOLARITY_NONINVERTED: active high or rising edge active.
-7332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param ExtTRGFilter External Trigger Filter.
-7333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter must be a value between 0x00 and 0x0F
-7334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-7335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-7336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** void TIM_ETR_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ExtTRGPrescaler,
-7337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t TIM_ExtTRGPolarity, uint32_t ExtTRGFilter)
-7338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 5805 .loc 1 7338 0
- 5806 .cfi_startproc
- 5807 @ args = 0, pretend = 0, frame = 0
- 5808 @ frame_needed = 0, uses_anonymous_args = 0
- 5809 @ link register save eliminated.
- 5810 .LVL602:
- 5811 0000 10B4 push {r4}
- 5812 .LCFI75:
- 5813 .cfi_def_cfa_offset 4
- 5814 .cfi_offset 4, -4
-7339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
-7340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr = TIMx->SMCR;
- 5815 .loc 1 7341 0
- 5816 0002 8468 ldr r4, [r0, #8]
- 5817 .LVL603:
-7342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the ETR Bits */
-7344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr &= ~(TIM_SMCR_ETF | TIM_SMCR_ETPS | TIM_SMCR_ECE | TIM_SMCR_ETP);
- 5818 .loc 1 7344 0
- 5819 0004 24F47F44 bic r4, r4, #65280
- 5820 .LVL604:
-7345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Prescaler, the Filter value and the Polarity */
-7347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr |= (uint32_t)(TIM_ExtTRGPrescaler | (TIM_ExtTRGPolarity | (ExtTRGFilter << 8U)));
- 5821 .loc 1 7347 0
- 5822 0008 42EA0323 orr r3, r2, r3, lsl #8
-ARM GAS /tmp/ccqsuCX7.s page 244
-
-
- 5823 .LVL605:
- 5824 000c 1943 orrs r1, r1, r3
- 5825 .LVL606:
- 5826 000e 0C43 orrs r4, r4, r1
- 5827 .LVL607:
-7348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx SMCR */
-7350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->SMCR = tmpsmcr;
- 5828 .loc 1 7350 0
- 5829 0010 8460 str r4, [r0, #8]
-7351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5830 .loc 1 7351 0
- 5831 0012 10BC pop {r4}
- 5832 .LCFI76:
- 5833 .cfi_restore 4
- 5834 .cfi_def_cfa_offset 0
- 5835 .LVL608:
- 5836 0014 7047 bx lr
- 5837 .cfi_endproc
- 5838 .LFE182:
- 5840 .section .text.HAL_TIM_ConfigOCrefClear,"ax",%progbits
- 5841 .align 1
- 5842 .global HAL_TIM_ConfigOCrefClear
- 5843 .syntax unified
- 5844 .thumb
- 5845 .thumb_func
- 5846 .fpu softvfp
- 5848 HAL_TIM_ConfigOCrefClear:
- 5849 .LFB135:
-5018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 5850 .loc 1 5018 0
- 5851 .cfi_startproc
- 5852 @ args = 0, pretend = 0, frame = 0
- 5853 @ frame_needed = 0, uses_anonymous_args = 0
- 5854 .LVL609:
-5024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5855 .loc 1 5024 0
- 5856 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
- 5857 0004 012B cmp r3, #1
- 5858 0006 6BD0 beq .L458
-5018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 5859 .loc 1 5018 0 discriminator 2
- 5860 0008 70B5 push {r4, r5, r6, lr}
- 5861 .LCFI77:
- 5862 .cfi_def_cfa_offset 16
- 5863 .cfi_offset 4, -16
- 5864 .cfi_offset 5, -12
- 5865 .cfi_offset 6, -8
- 5866 .cfi_offset 14, -4
- 5867 000a 1646 mov r6, r2
- 5868 000c 0D46 mov r5, r1
- 5869 000e 0446 mov r4, r0
-5024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5870 .loc 1 5024 0 discriminator 2
- 5871 0010 0123 movs r3, #1
- 5872 0012 80F83C30 strb r3, [r0, #60]
-5026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 245
-
-
- 5873 .loc 1 5026 0 discriminator 2
- 5874 0016 0223 movs r3, #2
- 5875 0018 80F83D30 strb r3, [r0, #61]
-5028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 5876 .loc 1 5028 0 discriminator 2
- 5877 001c 4B68 ldr r3, [r1, #4]
- 5878 001e 63B1 cbz r3, .L445
- 5879 0020 012B cmp r3, #1
- 5880 0022 10D0 beq .L446
- 5881 .LVL610:
- 5882 .L444:
-5063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 5883 .loc 1 5063 0
- 5884 0024 0C2E cmp r6, #12
- 5885 0026 24D8 bhi .L448
- 5886 0028 DFE806F0 tbb [pc, r6]
- 5887 .L450:
- 5888 002c 1C .byte (.L449-.L450)/2
- 5889 002d 23 .byte (.L448-.L450)/2
- 5890 002e 23 .byte (.L448-.L450)/2
- 5891 002f 23 .byte (.L448-.L450)/2
- 5892 0030 30 .byte (.L451-.L450)/2
- 5893 0031 23 .byte (.L448-.L450)/2
- 5894 0032 23 .byte (.L448-.L450)/2
- 5895 0033 23 .byte (.L448-.L450)/2
- 5896 0034 3E .byte (.L452-.L450)/2
- 5897 0035 23 .byte (.L448-.L450)/2
- 5898 0036 23 .byte (.L448-.L450)/2
- 5899 0037 23 .byte (.L448-.L450)/2
- 5900 0038 4C .byte (.L453-.L450)/2
- 5901 .LVL611:
- 5902 0039 00 .p2align 1
- 5903 .L445:
-5033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 5904 .loc 1 5033 0
- 5905 003a 0268 ldr r2, [r0]
- 5906 .LVL612:
- 5907 003c 9368 ldr r3, [r2, #8]
- 5908 003e 23F47F43 bic r3, r3, #65280
- 5909 0042 9360 str r3, [r2, #8]
-5034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5910 .loc 1 5034 0
- 5911 0044 EEE7 b .L444
- 5912 .LVL613:
- 5913 .L446:
-5045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 5914 .loc 1 5045 0
- 5915 0046 C968 ldr r1, [r1, #12]
- 5916 .LVL614:
- 5917 0048 31B1 cbz r1, .L447
-5047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_UNLOCK(htim);
- 5918 .loc 1 5047 0
- 5919 004a 0120 movs r0, #1
- 5920 .LVL615:
- 5921 004c 84F83D00 strb r0, [r4, #61]
-5048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
- 5922 .loc 1 5048 0
-ARM GAS /tmp/ccqsuCX7.s page 246
-
-
- 5923 0050 0023 movs r3, #0
- 5924 0052 84F83C30 strb r3, [r4, #60]
-5049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5925 .loc 1 5049 0
- 5926 0056 70BD pop {r4, r5, r6, pc}
- 5927 .LVL616:
- 5928 .L447:
-5052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sClearInputConfig->ClearInputPrescaler,
- 5929 .loc 1 5052 0
- 5930 0058 2B69 ldr r3, [r5, #16]
- 5931 005a AA68 ldr r2, [r5, #8]
- 5932 .LVL617:
- 5933 005c 0068 ldr r0, [r0]
- 5934 .LVL618:
- 5935 005e FFF7FEFF bl TIM_ETR_SetConfig
- 5936 .LVL619:
-5056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5937 .loc 1 5056 0
- 5938 0062 DFE7 b .L444
- 5939 .L449:
-5067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 5940 .loc 1 5067 0
- 5941 0064 2B68 ldr r3, [r5]
- 5942 0066 5BB1 cbz r3, .L454
-5070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5943 .loc 1 5070 0
- 5944 0068 2268 ldr r2, [r4]
- 5945 006a 9369 ldr r3, [r2, #24]
- 5946 006c 43F08003 orr r3, r3, #128
- 5947 0070 9361 str r3, [r2, #24]
- 5948 .L448:
-5125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5949 .loc 1 5125 0
- 5950 0072 0123 movs r3, #1
- 5951 0074 84F83D30 strb r3, [r4, #61]
-5127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 5952 .loc 1 5127 0
- 5953 0078 0020 movs r0, #0
- 5954 007a 84F83C00 strb r0, [r4, #60]
-5129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5955 .loc 1 5129 0
- 5956 007e 70BD pop {r4, r5, r6, pc}
- 5957 .LVL620:
- 5958 .L454:
-5075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5959 .loc 1 5075 0
- 5960 0080 2268 ldr r2, [r4]
- 5961 0082 9369 ldr r3, [r2, #24]
- 5962 0084 23F08003 bic r3, r3, #128
- 5963 0088 9361 str r3, [r2, #24]
- 5964 008a F2E7 b .L448
- 5965 .L451:
-5081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 5966 .loc 1 5081 0
- 5967 008c 2B68 ldr r3, [r5]
- 5968 008e 2BB1 cbz r3, .L455
-5084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-ARM GAS /tmp/ccqsuCX7.s page 247
-
-
- 5969 .loc 1 5084 0
- 5970 0090 2268 ldr r2, [r4]
- 5971 0092 9369 ldr r3, [r2, #24]
- 5972 0094 43F40043 orr r3, r3, #32768
- 5973 0098 9361 str r3, [r2, #24]
- 5974 009a EAE7 b .L448
- 5975 .L455:
-5089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5976 .loc 1 5089 0
- 5977 009c 2268 ldr r2, [r4]
- 5978 009e 9369 ldr r3, [r2, #24]
- 5979 00a0 23F40043 bic r3, r3, #32768
- 5980 00a4 9361 str r3, [r2, #24]
- 5981 00a6 E4E7 b .L448
- 5982 .L452:
-5095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 5983 .loc 1 5095 0
- 5984 00a8 2B68 ldr r3, [r5]
- 5985 00aa 2BB1 cbz r3, .L456
-5098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5986 .loc 1 5098 0
- 5987 00ac 2268 ldr r2, [r4]
- 5988 00ae D369 ldr r3, [r2, #28]
- 5989 00b0 43F08003 orr r3, r3, #128
- 5990 00b4 D361 str r3, [r2, #28]
- 5991 00b6 DCE7 b .L448
- 5992 .L456:
-5103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 5993 .loc 1 5103 0
- 5994 00b8 2268 ldr r2, [r4]
- 5995 00ba D369 ldr r3, [r2, #28]
- 5996 00bc 23F08003 bic r3, r3, #128
- 5997 00c0 D361 str r3, [r2, #28]
- 5998 00c2 D6E7 b .L448
- 5999 .L453:
-5109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6000 .loc 1 5109 0
- 6001 00c4 2B68 ldr r3, [r5]
- 6002 00c6 2BB1 cbz r3, .L457
-5112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6003 .loc 1 5112 0
- 6004 00c8 2268 ldr r2, [r4]
- 6005 00ca D369 ldr r3, [r2, #28]
- 6006 00cc 43F40043 orr r3, r3, #32768
- 6007 00d0 D361 str r3, [r2, #28]
- 6008 00d2 CEE7 b .L448
- 6009 .L457:
-5117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6010 .loc 1 5117 0
- 6011 00d4 2268 ldr r2, [r4]
- 6012 00d6 D369 ldr r3, [r2, #28]
- 6013 00d8 23F40043 bic r3, r3, #32768
- 6014 00dc D361 str r3, [r2, #28]
- 6015 00de C8E7 b .L448
- 6016 .LVL621:
- 6017 .L458:
- 6018 .LCFI78:
-ARM GAS /tmp/ccqsuCX7.s page 248
-
-
- 6019 .cfi_def_cfa_offset 0
- 6020 .cfi_restore 4
- 6021 .cfi_restore 5
- 6022 .cfi_restore 6
- 6023 .cfi_restore 14
-5024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6024 .loc 1 5024 0
- 6025 00e0 0220 movs r0, #2
- 6026 .LVL622:
- 6027 00e2 7047 bx lr
- 6028 .cfi_endproc
- 6029 .LFE135:
- 6031 .section .text.HAL_TIM_ConfigClockSource,"ax",%progbits
- 6032 .align 1
- 6033 .global HAL_TIM_ConfigClockSource
- 6034 .syntax unified
- 6035 .thumb
- 6036 .thumb_func
- 6037 .fpu softvfp
- 6039 HAL_TIM_ConfigClockSource:
- 6040 .LFB136:
-5140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 6041 .loc 1 5140 0
- 6042 .cfi_startproc
- 6043 @ args = 0, pretend = 0, frame = 0
- 6044 @ frame_needed = 0, uses_anonymous_args = 0
- 6045 .LVL623:
-5144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6046 .loc 1 5144 0
- 6047 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
- 6048 0004 012B cmp r3, #1
- 6049 0006 66D0 beq .L475
-5140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 6050 .loc 1 5140 0 discriminator 2
- 6051 0008 10B5 push {r4, lr}
- 6052 .LCFI79:
- 6053 .cfi_def_cfa_offset 8
- 6054 .cfi_offset 4, -8
- 6055 .cfi_offset 14, -4
- 6056 000a 0446 mov r4, r0
-5144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6057 .loc 1 5144 0 discriminator 2
- 6058 000c 0123 movs r3, #1
- 6059 000e 80F83C30 strb r3, [r0, #60]
-5146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6060 .loc 1 5146 0 discriminator 2
- 6061 0012 0223 movs r3, #2
- 6062 0014 80F83D30 strb r3, [r0, #61]
-5152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr &= ~(TIM_SMCR_SMS | TIM_SMCR_TS);
- 6063 .loc 1 5152 0 discriminator 2
- 6064 0018 0268 ldr r2, [r0]
- 6065 001a 9368 ldr r3, [r2, #8]
- 6066 .LVL624:
-5154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->SMCR = tmpsmcr;
- 6067 .loc 1 5154 0 discriminator 2
- 6068 001c 23F47F43 bic r3, r3, #65280
- 6069 .LVL625:
-ARM GAS /tmp/ccqsuCX7.s page 249
-
-
- 6070 0020 23F07703 bic r3, r3, #119
- 6071 .LVL626:
-5155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6072 .loc 1 5155 0 discriminator 2
- 6073 0024 9360 str r3, [r2, #8]
-5157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6074 .loc 1 5157 0 discriminator 2
- 6075 0026 0B68 ldr r3, [r1]
- 6076 .LVL627:
- 6077 0028 402B cmp r3, #64
- 6078 002a 4AD0 beq .L466
- 6079 002c 13D9 bls .L480
- 6080 002e 602B cmp r3, #96
- 6081 0030 3DD0 beq .L470
- 6082 0032 1ED9 bls .L481
- 6083 0034 702B cmp r3, #112
- 6084 0036 28D0 beq .L473
- 6085 0038 B3F5005F cmp r3, #8192
- 6086 003c 30D1 bne .L465
-5200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler,
- 6087 .loc 1 5200 0
- 6088 003e CB68 ldr r3, [r1, #12]
- 6089 0040 4A68 ldr r2, [r1, #4]
- 6090 .LVL628:
- 6091 0042 8968 ldr r1, [r1, #8]
- 6092 .LVL629:
- 6093 0044 0068 ldr r0, [r0]
- 6094 .LVL630:
- 6095 0046 FFF7FEFF bl TIM_ETR_SetConfig
- 6096 .LVL631:
-5205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 6097 .loc 1 5205 0
- 6098 004a 2268 ldr r2, [r4]
- 6099 004c 9368 ldr r3, [r2, #8]
- 6100 004e 43F48043 orr r3, r3, #16384
- 6101 0052 9360 str r3, [r2, #8]
-5206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6102 .loc 1 5206 0
- 6103 0054 24E0 b .L465
- 6104 .LVL632:
- 6105 .L480:
-5157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6106 .loc 1 5157 0 discriminator 2
- 6107 0056 102B cmp r3, #16
- 6108 0058 06D0 beq .L468
- 6109 005a 04D9 bls .L482
- 6110 005c 202B cmp r3, #32
- 6111 005e 03D0 beq .L468
- 6112 0060 302B cmp r3, #48
- 6113 0062 01D0 beq .L468
- 6114 0064 1CE0 b .L465
- 6115 .L482:
- 6116 0066 DBB9 cbnz r3, .L465
- 6117 .L468:
-5265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 6118 .loc 1 5265 0
- 6119 0068 1946 mov r1, r3
-ARM GAS /tmp/ccqsuCX7.s page 250
-
-
- 6120 .LVL633:
- 6121 006a 2068 ldr r0, [r4]
- 6122 .LVL634:
- 6123 006c FFF7FEFF bl TIM_ITRx_SetConfig
- 6124 .LVL635:
-5266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6125 .loc 1 5266 0
- 6126 0070 16E0 b .L465
- 6127 .LVL636:
- 6128 .L481:
-5157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6129 .loc 1 5157 0 discriminator 2
- 6130 0072 502B cmp r3, #80
- 6131 0074 14D1 bne .L465
-5218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sClockSourceConfig->ClockPolarity,
- 6132 .loc 1 5218 0
- 6133 0076 CA68 ldr r2, [r1, #12]
- 6134 .LVL637:
- 6135 0078 4968 ldr r1, [r1, #4]
- 6136 .LVL638:
- 6137 007a 0068 ldr r0, [r0]
- 6138 .LVL639:
- 6139 007c FFF7FEFF bl TIM_TI1_ConfigInputStage
- 6140 .LVL640:
-5221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 6141 .loc 1 5221 0
- 6142 0080 5021 movs r1, #80
- 6143 0082 2068 ldr r0, [r4]
- 6144 0084 FFF7FEFF bl TIM_ITRx_SetConfig
- 6145 .LVL641:
-5222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6146 .loc 1 5222 0
- 6147 0088 0AE0 b .L465
- 6148 .LVL642:
- 6149 .L473:
-5176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sClockSourceConfig->ClockPrescaler,
- 6150 .loc 1 5176 0
- 6151 008a CB68 ldr r3, [r1, #12]
- 6152 008c 4A68 ldr r2, [r1, #4]
- 6153 .LVL643:
- 6154 008e 8968 ldr r1, [r1, #8]
- 6155 .LVL644:
- 6156 0090 0068 ldr r0, [r0]
- 6157 .LVL645:
- 6158 0092 FFF7FEFF bl TIM_ETR_SetConfig
- 6159 .LVL646:
-5182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpsmcr |= (TIM_SLAVEMODE_EXTERNAL1 | TIM_CLOCKSOURCE_ETRMODE1);
- 6160 .loc 1 5182 0
- 6161 0096 2268 ldr r2, [r4]
- 6162 0098 9368 ldr r3, [r2, #8]
- 6163 .LVL647:
-5183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Write to TIMx SMCR */
- 6164 .loc 1 5183 0
- 6165 009a 43F07703 orr r3, r3, #119
- 6166 .LVL648:
-5185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 6167 .loc 1 5185 0
-ARM GAS /tmp/ccqsuCX7.s page 251
-
-
- 6168 009e 9360 str r3, [r2, #8]
- 6169 .LVL649:
- 6170 .L465:
-5272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6171 .loc 1 5272 0
- 6172 00a0 0123 movs r3, #1
- 6173 00a2 84F83D30 strb r3, [r4, #61]
-5274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6174 .loc 1 5274 0
- 6175 00a6 0020 movs r0, #0
- 6176 00a8 84F83C00 strb r0, [r4, #60]
-5276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6177 .loc 1 5276 0
- 6178 00ac 10BD pop {r4, pc}
- 6179 .LVL650:
- 6180 .L470:
-5234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sClockSourceConfig->ClockPolarity,
- 6181 .loc 1 5234 0
- 6182 00ae CA68 ldr r2, [r1, #12]
- 6183 .LVL651:
- 6184 00b0 4968 ldr r1, [r1, #4]
- 6185 .LVL652:
- 6186 00b2 0068 ldr r0, [r0]
- 6187 .LVL653:
- 6188 00b4 FFF7FEFF bl TIM_TI2_ConfigInputStage
- 6189 .LVL654:
-5237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 6190 .loc 1 5237 0
- 6191 00b8 6021 movs r1, #96
- 6192 00ba 2068 ldr r0, [r4]
- 6193 00bc FFF7FEFF bl TIM_ITRx_SetConfig
- 6194 .LVL655:
-5238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6195 .loc 1 5238 0
- 6196 00c0 EEE7 b .L465
- 6197 .LVL656:
- 6198 .L466:
-5250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sClockSourceConfig->ClockPolarity,
- 6199 .loc 1 5250 0
- 6200 00c2 CA68 ldr r2, [r1, #12]
- 6201 .LVL657:
- 6202 00c4 4968 ldr r1, [r1, #4]
- 6203 .LVL658:
- 6204 00c6 0068 ldr r0, [r0]
- 6205 .LVL659:
- 6206 00c8 FFF7FEFF bl TIM_TI1_ConfigInputStage
- 6207 .LVL660:
-5253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 6208 .loc 1 5253 0
- 6209 00cc 4021 movs r1, #64
- 6210 00ce 2068 ldr r0, [r4]
- 6211 00d0 FFF7FEFF bl TIM_ITRx_SetConfig
- 6212 .LVL661:
-5254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6213 .loc 1 5254 0
- 6214 00d4 E4E7 b .L465
- 6215 .LVL662:
-ARM GAS /tmp/ccqsuCX7.s page 252
-
-
- 6216 .L475:
- 6217 .LCFI80:
- 6218 .cfi_def_cfa_offset 0
- 6219 .cfi_restore 4
- 6220 .cfi_restore 14
-5144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6221 .loc 1 5144 0
- 6222 00d6 0220 movs r0, #2
- 6223 .LVL663:
- 6224 00d8 7047 bx lr
- 6225 .cfi_endproc
- 6226 .LFE136:
- 6228 .section .text.TIM_SlaveTimer_SetConfig,"ax",%progbits
- 6229 .align 1
- 6230 .syntax unified
- 6231 .thumb
- 6232 .thumb_func
- 6233 .fpu softvfp
- 6235 TIM_SlaveTimer_SetConfig:
- 6236 .LFB174:
-6915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 6237 .loc 1 6915 0
- 6238 .cfi_startproc
- 6239 @ args = 0, pretend = 0, frame = 0
- 6240 @ frame_needed = 0, uses_anonymous_args = 0
- 6241 .LVL664:
- 6242 0000 10B5 push {r4, lr}
- 6243 .LCFI81:
- 6244 .cfi_def_cfa_offset 8
- 6245 .cfi_offset 4, -8
- 6246 .cfi_offset 14, -4
-6921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6247 .loc 1 6921 0
- 6248 0002 0268 ldr r2, [r0]
- 6249 0004 9368 ldr r3, [r2, #8]
- 6250 .LVL665:
-6924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the Input Trigger source */
- 6251 .loc 1 6924 0
- 6252 0006 23F07003 bic r3, r3, #112
- 6253 .LVL666:
-6926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6254 .loc 1 6926 0
- 6255 000a 4C68 ldr r4, [r1, #4]
- 6256 000c 2343 orrs r3, r3, r4
- 6257 .LVL667:
-6929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set the slave mode */
- 6258 .loc 1 6929 0
- 6259 000e 23F00703 bic r3, r3, #7
- 6260 .LVL668:
-6931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6261 .loc 1 6931 0
- 6262 0012 0C68 ldr r4, [r1]
- 6263 0014 2343 orrs r3, r3, r4
- 6264 .LVL669:
-6934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6265 .loc 1 6934 0
- 6266 0016 9360 str r3, [r2, #8]
-ARM GAS /tmp/ccqsuCX7.s page 253
-
-
-6937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6267 .loc 1 6937 0
- 6268 0018 4B68 ldr r3, [r1, #4]
- 6269 .LVL670:
- 6270 001a 502B cmp r3, #80
- 6271 001c 23D0 beq .L485
- 6272 001e 0BD9 bls .L493
- 6273 0020 602B cmp r3, #96
- 6274 0022 27D0 beq .L488
- 6275 0024 702B cmp r3, #112
- 6276 0026 2CD1 bne .L490
-6947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sSlaveConfig->TriggerPrescaler,
- 6277 .loc 1 6947 0
- 6278 0028 0B69 ldr r3, [r1, #16]
- 6279 002a 8A68 ldr r2, [r1, #8]
- 6280 .LVL671:
- 6281 002c C968 ldr r1, [r1, #12]
- 6282 .LVL672:
- 6283 002e 0068 ldr r0, [r0]
- 6284 .LVL673:
- 6285 0030 FFF7FEFF bl TIM_ETR_SetConfig
- 6286 .LVL674:
-7021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6287 .loc 1 7021 0
- 6288 0034 0020 movs r0, #0
-6951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6289 .loc 1 6951 0
- 6290 0036 10BD pop {r4, pc}
- 6291 .LVL675:
- 6292 .L493:
-6937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6293 .loc 1 6937 0
- 6294 0038 402B cmp r3, #64
- 6295 003a 22D1 bne .L490
-6960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6296 .loc 1 6960 0
- 6297 003c 0B68 ldr r3, [r1]
- 6298 003e 052B cmp r3, #5
- 6299 0040 21D0 beq .L491
-6966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCER &= ~TIM_CCER_CC1E;
- 6300 .loc 1 6966 0
- 6301 0042 0368 ldr r3, [r0]
- 6302 0044 1C6A ldr r4, [r3, #32]
- 6303 .LVL676:
-6967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 = htim->Instance->CCMR1;
- 6304 .loc 1 6967 0
- 6305 0046 1A6A ldr r2, [r3, #32]
- 6306 .LVL677:
- 6307 0048 22F00102 bic r2, r2, #1
- 6308 004c 1A62 str r2, [r3, #32]
-6968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6309 .loc 1 6968 0
- 6310 004e 0268 ldr r2, [r0]
- 6311 0050 9369 ldr r3, [r2, #24]
- 6312 .LVL678:
-6971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmpccmr1 |= ((sSlaveConfig->TriggerFilter) << 4U);
- 6313 .loc 1 6971 0
-ARM GAS /tmp/ccqsuCX7.s page 254
-
-
- 6314 0052 23F0F003 bic r3, r3, #240
- 6315 .LVL679:
-6972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6316 .loc 1 6972 0
- 6317 0056 0969 ldr r1, [r1, #16]
- 6318 .LVL680:
- 6319 0058 43EA0113 orr r3, r3, r1, lsl #4
- 6320 .LVL681:
-6975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->Instance->CCER = tmpccer;
- 6321 .loc 1 6975 0
- 6322 005c 9361 str r3, [r2, #24]
-6976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 6323 .loc 1 6976 0
- 6324 005e 0368 ldr r3, [r0]
- 6325 .LVL682:
- 6326 0060 1C62 str r4, [r3, #32]
- 6327 .LVL683:
-7021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6328 .loc 1 7021 0
- 6329 0062 0020 movs r0, #0
- 6330 .LVL684:
-6977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6331 .loc 1 6977 0
- 6332 0064 10BD pop {r4, pc}
- 6333 .LVL685:
- 6334 .L485:
-6988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sSlaveConfig->TriggerPolarity,
- 6335 .loc 1 6988 0
- 6336 0066 0A69 ldr r2, [r1, #16]
- 6337 .LVL686:
- 6338 0068 8968 ldr r1, [r1, #8]
- 6339 .LVL687:
- 6340 006a 0068 ldr r0, [r0]
- 6341 .LVL688:
- 6342 006c FFF7FEFF bl TIM_TI1_ConfigInputStage
- 6343 .LVL689:
-7021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6344 .loc 1 7021 0
- 6345 0070 0020 movs r0, #0
-6991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6346 .loc 1 6991 0
- 6347 0072 10BD pop {r4, pc}
- 6348 .LVL690:
- 6349 .L488:
-7002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** sSlaveConfig->TriggerPolarity,
- 6350 .loc 1 7002 0
- 6351 0074 0A69 ldr r2, [r1, #16]
- 6352 .LVL691:
- 6353 0076 8968 ldr r1, [r1, #8]
- 6354 .LVL692:
- 6355 0078 0068 ldr r0, [r0]
- 6356 .LVL693:
- 6357 007a FFF7FEFF bl TIM_TI2_ConfigInputStage
- 6358 .LVL694:
-7021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6359 .loc 1 7021 0
- 6360 007e 0020 movs r0, #0
-ARM GAS /tmp/ccqsuCX7.s page 255
-
-
-7005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6361 .loc 1 7005 0
- 6362 0080 10BD pop {r4, pc}
- 6363 .LVL695:
- 6364 .L490:
-7021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6365 .loc 1 7021 0
- 6366 0082 0020 movs r0, #0
- 6367 .LVL696:
- 6368 0084 10BD pop {r4, pc}
- 6369 .LVL697:
- 6370 .L491:
-6962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6371 .loc 1 6962 0
- 6372 0086 0120 movs r0, #1
- 6373 .LVL698:
-7022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6374 .loc 1 7022 0
- 6375 0088 10BD pop {r4, pc}
- 6376 .cfi_endproc
- 6377 .LFE174:
- 6379 .section .text.HAL_TIM_SlaveConfigSynchro,"ax",%progbits
- 6380 .align 1
- 6381 .global HAL_TIM_SlaveConfigSynchro
- 6382 .syntax unified
- 6383 .thumb
- 6384 .thumb_func
- 6385 .fpu softvfp
- 6387 HAL_TIM_SlaveConfigSynchro:
- 6388 .LFB138:
-5324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 6389 .loc 1 5324 0
- 6390 .cfi_startproc
- 6391 @ args = 0, pretend = 0, frame = 0
- 6392 @ frame_needed = 0, uses_anonymous_args = 0
- 6393 .LVL699:
-5330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6394 .loc 1 5330 0
- 6395 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
- 6396 0004 012B cmp r3, #1
- 6397 0006 02D1 bne .L502
- 6398 0008 0223 movs r3, #2
-5352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6399 .loc 1 5352 0
- 6400 000a 1846 mov r0, r3
- 6401 .LVL700:
- 6402 000c 7047 bx lr
- 6403 .LVL701:
- 6404 .L502:
-5324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 6405 .loc 1 5324 0 discriminator 2
- 6406 000e 10B5 push {r4, lr}
- 6407 .LCFI82:
- 6408 .cfi_def_cfa_offset 8
- 6409 .cfi_offset 4, -8
- 6410 .cfi_offset 14, -4
- 6411 0010 0446 mov r4, r0
-ARM GAS /tmp/ccqsuCX7.s page 256
-
-
-5330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6412 .loc 1 5330 0 discriminator 2
- 6413 0012 0123 movs r3, #1
- 6414 0014 80F83C30 strb r3, [r0, #60]
-5332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6415 .loc 1 5332 0 discriminator 2
- 6416 0018 0223 movs r3, #2
- 6417 001a 80F83D30 strb r3, [r0, #61]
-5334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6418 .loc 1 5334 0 discriminator 2
- 6419 001e FFF7FEFF bl TIM_SlaveTimer_SetConfig
- 6420 .LVL702:
- 6421 0022 0346 mov r3, r0
- 6422 0024 88B9 cbnz r0, .L503
-5342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6423 .loc 1 5342 0
- 6424 0026 2168 ldr r1, [r4]
- 6425 0028 CA68 ldr r2, [r1, #12]
- 6426 002a 22F04002 bic r2, r2, #64
- 6427 002e CA60 str r2, [r1, #12]
-5345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6428 .loc 1 5345 0
- 6429 0030 2168 ldr r1, [r4]
- 6430 0032 CA68 ldr r2, [r1, #12]
- 6431 0034 22F48042 bic r2, r2, #16384
- 6432 0038 CA60 str r2, [r1, #12]
-5347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6433 .loc 1 5347 0
- 6434 003a 0122 movs r2, #1
- 6435 003c 84F83D20 strb r2, [r4, #61]
-5349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6436 .loc 1 5349 0
- 6437 0040 0022 movs r2, #0
- 6438 0042 84F83C20 strb r2, [r4, #60]
- 6439 .L495:
-5352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6440 .loc 1 5352 0
- 6441 0046 1846 mov r0, r3
- 6442 0048 10BD pop {r4, pc}
- 6443 .LVL703:
- 6444 .L503:
-5336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_UNLOCK(htim);
- 6445 .loc 1 5336 0
- 6446 004a 0123 movs r3, #1
- 6447 004c 84F83D30 strb r3, [r4, #61]
-5337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
- 6448 .loc 1 5337 0
- 6449 0050 0022 movs r2, #0
- 6450 0052 84F83C20 strb r2, [r4, #60]
-5338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6451 .loc 1 5338 0
- 6452 0056 F6E7 b .L495
- 6453 .cfi_endproc
- 6454 .LFE138:
- 6456 .section .text.HAL_TIM_SlaveConfigSynchro_IT,"ax",%progbits
- 6457 .align 1
- 6458 .global HAL_TIM_SlaveConfigSynchro_IT
-ARM GAS /tmp/ccqsuCX7.s page 257
-
-
- 6459 .syntax unified
- 6460 .thumb
- 6461 .thumb_func
- 6462 .fpu softvfp
- 6464 HAL_TIM_SlaveConfigSynchro_IT:
- 6465 .LFB139:
-5365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 6466 .loc 1 5365 0
- 6467 .cfi_startproc
- 6468 @ args = 0, pretend = 0, frame = 0
- 6469 @ frame_needed = 0, uses_anonymous_args = 0
- 6470 .LVL704:
-5371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6471 .loc 1 5371 0
- 6472 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
- 6473 0004 012B cmp r3, #1
- 6474 0006 02D1 bne .L512
- 6475 0008 0223 movs r3, #2
-5393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6476 .loc 1 5393 0
- 6477 000a 1846 mov r0, r3
- 6478 .LVL705:
- 6479 000c 7047 bx lr
- 6480 .LVL706:
- 6481 .L512:
-5365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 6482 .loc 1 5365 0 discriminator 2
- 6483 000e 10B5 push {r4, lr}
- 6484 .LCFI83:
- 6485 .cfi_def_cfa_offset 8
- 6486 .cfi_offset 4, -8
- 6487 .cfi_offset 14, -4
- 6488 0010 0446 mov r4, r0
-5371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6489 .loc 1 5371 0 discriminator 2
- 6490 0012 0123 movs r3, #1
- 6491 0014 80F83C30 strb r3, [r0, #60]
-5373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6492 .loc 1 5373 0 discriminator 2
- 6493 0018 0223 movs r3, #2
- 6494 001a 80F83D30 strb r3, [r0, #61]
-5375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6495 .loc 1 5375 0 discriminator 2
- 6496 001e FFF7FEFF bl TIM_SlaveTimer_SetConfig
- 6497 .LVL707:
- 6498 0022 0346 mov r3, r0
- 6499 0024 88B9 cbnz r0, .L513
-5383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6500 .loc 1 5383 0
- 6501 0026 2168 ldr r1, [r4]
- 6502 0028 CA68 ldr r2, [r1, #12]
- 6503 002a 42F04002 orr r2, r2, #64
- 6504 002e CA60 str r2, [r1, #12]
-5386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6505 .loc 1 5386 0
- 6506 0030 2168 ldr r1, [r4]
- 6507 0032 CA68 ldr r2, [r1, #12]
-ARM GAS /tmp/ccqsuCX7.s page 258
-
-
- 6508 0034 22F48042 bic r2, r2, #16384
- 6509 0038 CA60 str r2, [r1, #12]
-5388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6510 .loc 1 5388 0
- 6511 003a 0122 movs r2, #1
- 6512 003c 84F83D20 strb r2, [r4, #61]
-5390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6513 .loc 1 5390 0
- 6514 0040 0022 movs r2, #0
- 6515 0042 84F83C20 strb r2, [r4, #60]
- 6516 .L505:
-5393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6517 .loc 1 5393 0
- 6518 0046 1846 mov r0, r3
- 6519 0048 10BD pop {r4, pc}
- 6520 .LVL708:
- 6521 .L513:
-5377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_UNLOCK(htim);
- 6522 .loc 1 5377 0
- 6523 004a 0123 movs r3, #1
- 6524 004c 84F83D30 strb r3, [r4, #61]
-5378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** return HAL_ERROR;
- 6525 .loc 1 5378 0
- 6526 0050 0022 movs r2, #0
- 6527 0052 84F83C20 strb r2, [r4, #60]
-5379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6528 .loc 1 5379 0
- 6529 0056 F6E7 b .L505
- 6530 .cfi_endproc
- 6531 .LFE139:
- 6533 .section .text.TIM_CCxChannelCmd,"ax",%progbits
- 6534 .align 1
- 6535 .global TIM_CCxChannelCmd
- 6536 .syntax unified
- 6537 .thumb
- 6538 .thumb_func
- 6539 .fpu softvfp
- 6541 TIM_CCxChannelCmd:
- 6542 .LFB183:
-7352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
-7354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @brief Enables or disables the TIM Capture Compare Channel x.
-7355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param TIMx to select the TIM peripheral
-7356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param Channel specifies the TIM Channel
-7357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be one of the following values:
-7358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_1: TIM Channel 1
-7359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_2: TIM Channel 2
-7360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_3: TIM Channel 3
-7361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @arg TIM_CHANNEL_4: TIM Channel 4
-7362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @param ChannelState specifies the TIM Channel CCxE bit new state.
-7363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * This parameter can be: TIM_CCx_ENABLE or TIM_CCx_DISABLE.
-7364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** * @retval None
-7365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** */
-7366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** void TIM_CCxChannelCmd(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ChannelState)
-7367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6543 .loc 1 7367 0
- 6544 .cfi_startproc
-ARM GAS /tmp/ccqsuCX7.s page 259
-
-
- 6545 @ args = 0, pretend = 0, frame = 0
- 6546 @ frame_needed = 0, uses_anonymous_args = 0
- 6547 @ link register save eliminated.
- 6548 .LVL709:
- 6549 0000 10B4 push {r4}
- 6550 .LCFI84:
- 6551 .cfi_def_cfa_offset 4
- 6552 .cfi_offset 4, -4
-7368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmp;
-7369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
-7371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CC1_INSTANCE(TIMx));
-7372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** assert_param(IS_TIM_CHANNELS(Channel));
-7373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** tmp = TIM_CCER_CC1E << (Channel & 0x1FU); /* 0x1FU = 31 bits max shift */
- 6553 .loc 1 7374 0
- 6554 0002 01F01F01 and r1, r1, #31
- 6555 .LVL710:
- 6556 0006 0123 movs r3, #1
- 6557 0008 03FA01F4 lsl r4, r3, r1
- 6558 .LVL711:
-7375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Reset the CCxE Bit */
-7377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCER &= ~tmp;
- 6559 .loc 1 7377 0
- 6560 000c 036A ldr r3, [r0, #32]
- 6561 000e 23EA0403 bic r3, r3, r4
- 6562 0012 0362 str r3, [r0, #32]
-7378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-7379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Set or reset the CCxE Bit */
-7380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIMx->CCER |= (uint32_t)(ChannelState << (Channel & 0x1FU)); /* 0x1FU = 31 bits max shift */
- 6563 .loc 1 7380 0
- 6564 0014 036A ldr r3, [r0, #32]
- 6565 0016 8A40 lsls r2, r2, r1
- 6566 .LVL712:
- 6567 0018 1343 orrs r3, r3, r2
- 6568 001a 0362 str r3, [r0, #32]
-7381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6569 .loc 1 7381 0
- 6570 001c 10BC pop {r4}
- 6571 .LCFI85:
- 6572 .cfi_restore 4
- 6573 .cfi_def_cfa_offset 0
- 6574 .LVL713:
- 6575 001e 7047 bx lr
- 6576 .cfi_endproc
- 6577 .LFE183:
- 6579 .section .text.HAL_TIM_OC_Start,"ax",%progbits
- 6580 .align 1
- 6581 .global HAL_TIM_OC_Start
- 6582 .syntax unified
- 6583 .thumb
- 6584 .thumb_func
- 6585 .fpu softvfp
- 6587 HAL_TIM_OC_Start:
- 6588 .LFB79:
- 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
-ARM GAS /tmp/ccqsuCX7.s page 260
-
-
- 6589 .loc 1 787 0
- 6590 .cfi_startproc
- 6591 @ args = 0, pretend = 0, frame = 0
- 6592 @ frame_needed = 0, uses_anonymous_args = 0
- 6593 .LVL714:
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6594 .loc 1 794 0
- 6595 0000 0A46 mov r2, r1
- 6596 0002 0029 cmp r1, #0
- 6597 0004 3FD1 bne .L517
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6598 .loc 1 794 0 is_stmt 0 discriminator 1
- 6599 0006 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2
- 6600 000a DBB2 uxtb r3, r3
- 6601 000c 13F1FF33 adds r3, r3, #-1
- 6602 0010 18BF it ne
- 6603 0012 0123 movne r3, #1
- 6604 .L518:
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6605 .loc 1 794 0 discriminator 12
- 6606 0014 002B cmp r3, #0
- 6607 0016 71D1 bne .L530
- 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 6608 .loc 1 787 0 is_stmt 1
- 6609 0018 10B5 push {r4, lr}
- 6610 .LCFI86:
- 6611 .cfi_def_cfa_offset 8
- 6612 .cfi_offset 4, -8
- 6613 .cfi_offset 14, -4
- 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6614 .loc 1 800 0
- 6615 001a 002A cmp r2, #0
- 6616 001c 4FD1 bne .L522
- 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6617 .loc 1 800 0 is_stmt 0 discriminator 1
- 6618 001e 0223 movs r3, #2
- 6619 0020 80F83E30 strb r3, [r0, #62]
- 6620 .L523:
- 6621 0024 1146 mov r1, r2
- 6622 .LVL715:
- 6623 0026 0446 mov r4, r0
- 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6624 .loc 1 803 0 is_stmt 1
- 6625 0028 0122 movs r2, #1
- 6626 .LVL716:
- 6627 002a 0068 ldr r0, [r0]
- 6628 .LVL717:
- 6629 002c FFF7FEFF bl TIM_CCxChannelCmd
- 6630 .LVL718:
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6631 .loc 1 805 0
- 6632 0030 2368 ldr r3, [r4]
- 6633 0032 344A ldr r2, .L543
- 6634 0034 9342 cmp r3, r2
- 6635 0036 54D0 beq .L531
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6636 .loc 1 805 0 is_stmt 0 discriminator 2
-ARM GAS /tmp/ccqsuCX7.s page 261
-
-
- 6637 0038 02F50062 add r2, r2, #2048
- 6638 003c 9342 cmp r3, r2
- 6639 003e 4ED0 beq .L538
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6640 .loc 1 805 0
- 6641 0040 0022 movs r2, #0
- 6642 .L526:
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6643 .loc 1 805 0 discriminator 6
- 6644 0042 1AB1 cbz r2, .L527
- 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6645 .loc 1 808 0 is_stmt 1
- 6646 0044 5A6C ldr r2, [r3, #68]
- 6647 0046 42F40042 orr r2, r2, #32768
- 6648 004a 5A64 str r2, [r3, #68]
- 6649 .L527:
- 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6650 .loc 1 812 0
- 6651 004c 2368 ldr r3, [r4]
- 6652 004e 2D4A ldr r2, .L543
- 6653 0050 9342 cmp r3, r2
- 6654 0052 48D0 beq .L528
- 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6655 .loc 1 812 0 is_stmt 0 discriminator 1
- 6656 0054 02F50062 add r2, r2, #2048
- 6657 0058 9342 cmp r3, r2
- 6658 005a 44D0 beq .L528
- 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6659 .loc 1 812 0 discriminator 2
- 6660 005c B3F1804F cmp r3, #1073741824
- 6661 0060 41D0 beq .L528
- 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6662 .loc 1 812 0 discriminator 3
- 6663 0062 A2F59832 sub r2, r2, #77824
- 6664 0066 9342 cmp r3, r2
- 6665 0068 3DD0 beq .L528
- 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6666 .loc 1 812 0 discriminator 4
- 6667 006a 02F58062 add r2, r2, #1024
- 6668 006e 9342 cmp r3, r2
- 6669 0070 39D0 beq .L528
- 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6670 .loc 1 812 0 discriminator 5
- 6671 0072 02F58062 add r2, r2, #1024
- 6672 0076 9342 cmp r3, r2
- 6673 0078 35D0 beq .L528
- 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6674 .loc 1 822 0 is_stmt 1
- 6675 007a 1A68 ldr r2, [r3]
- 6676 007c 42F00102 orr r2, r2, #1
- 6677 0080 1A60 str r2, [r3]
- 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6678 .loc 1 826 0
- 6679 0082 0020 movs r0, #0
- 6680 0084 10BD pop {r4, pc}
- 6681 .LVL719:
- 6682 .L517:
-ARM GAS /tmp/ccqsuCX7.s page 262
-
-
- 6683 .LCFI87:
- 6684 .cfi_def_cfa_offset 0
- 6685 .cfi_restore 4
- 6686 .cfi_restore 14
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6687 .loc 1 794 0 discriminator 2
- 6688 0086 0429 cmp r1, #4
- 6689 0088 09D0 beq .L539
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6690 .loc 1 794 0 is_stmt 0 discriminator 5
- 6691 008a 0829 cmp r1, #8
- 6692 008c 0FD0 beq .L540
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6693 .loc 1 794 0 discriminator 8
- 6694 008e 90F84130 ldrb r3, [r0, #65] @ zero_extendqisi2
- 6695 0092 DBB2 uxtb r3, r3
- 6696 0094 13F1FF33 adds r3, r3, #-1
- 6697 0098 18BF it ne
- 6698 009a 0123 movne r3, #1
- 6699 009c BAE7 b .L518
- 6700 .L539:
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6701 .loc 1 794 0 discriminator 4
- 6702 009e 90F83F30 ldrb r3, [r0, #63] @ zero_extendqisi2
- 6703 00a2 DBB2 uxtb r3, r3
- 6704 00a4 13F1FF33 adds r3, r3, #-1
- 6705 00a8 18BF it ne
- 6706 00aa 0123 movne r3, #1
- 6707 00ac B2E7 b .L518
- 6708 .L540:
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6709 .loc 1 794 0 discriminator 7
- 6710 00ae 90F84030 ldrb r3, [r0, #64] @ zero_extendqisi2
- 6711 00b2 DBB2 uxtb r3, r3
- 6712 00b4 13F1FF33 adds r3, r3, #-1
- 6713 00b8 18BF it ne
- 6714 00ba 0123 movne r3, #1
- 6715 00bc AAE7 b .L518
- 6716 .L522:
- 6717 .LCFI88:
- 6718 .cfi_def_cfa_offset 8
- 6719 .cfi_offset 4, -8
- 6720 .cfi_offset 14, -4
- 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6721 .loc 1 800 0 is_stmt 1 discriminator 2
- 6722 00be 042A cmp r2, #4
- 6723 00c0 05D0 beq .L541
- 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6724 .loc 1 800 0 is_stmt 0 discriminator 4
- 6725 00c2 082A cmp r2, #8
- 6726 00c4 07D0 beq .L542
- 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6727 .loc 1 800 0 discriminator 7
- 6728 00c6 0223 movs r3, #2
- 6729 00c8 80F84130 strb r3, [r0, #65]
- 6730 00cc AAE7 b .L523
- 6731 .L541:
-ARM GAS /tmp/ccqsuCX7.s page 263
-
-
- 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6732 .loc 1 800 0 discriminator 3
- 6733 00ce 0223 movs r3, #2
- 6734 00d0 80F83F30 strb r3, [r0, #63]
- 6735 00d4 A6E7 b .L523
- 6736 .L542:
- 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6737 .loc 1 800 0 discriminator 6
- 6738 00d6 0223 movs r3, #2
- 6739 00d8 80F84030 strb r3, [r0, #64]
- 6740 00dc A2E7 b .L523
- 6741 .LVL720:
- 6742 .L538:
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6743 .loc 1 805 0 is_stmt 1
- 6744 00de 0122 movs r2, #1
- 6745 00e0 AFE7 b .L526
- 6746 .L531:
- 6747 00e2 0122 movs r2, #1
- 6748 00e4 ADE7 b .L526
- 6749 .L528:
- 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 6750 .loc 1 814 0
- 6751 00e6 9A68 ldr r2, [r3, #8]
- 6752 00e8 02F00702 and r2, r2, #7
- 6753 .LVL721:
- 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6754 .loc 1 815 0
- 6755 00ec 062A cmp r2, #6
- 6756 00ee 07D0 beq .L533
- 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6757 .loc 1 817 0
- 6758 00f0 1A68 ldr r2, [r3]
- 6759 .LVL722:
- 6760 00f2 42F00102 orr r2, r2, #1
- 6761 00f6 1A60 str r2, [r3]
- 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6762 .loc 1 826 0
- 6763 00f8 0020 movs r0, #0
- 6764 00fa 10BD pop {r4, pc}
- 6765 .LVL723:
- 6766 .L530:
- 6767 .LCFI89:
- 6768 .cfi_def_cfa_offset 0
- 6769 .cfi_restore 4
- 6770 .cfi_restore 14
- 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6771 .loc 1 796 0
- 6772 00fc 0120 movs r0, #1
- 6773 .LVL724:
- 6774 00fe 7047 bx lr
- 6775 .LVL725:
- 6776 .L533:
- 6777 .LCFI90:
- 6778 .cfi_def_cfa_offset 8
- 6779 .cfi_offset 4, -8
- 6780 .cfi_offset 14, -4
-ARM GAS /tmp/ccqsuCX7.s page 264
-
-
- 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6781 .loc 1 826 0
- 6782 0100 0020 movs r0, #0
- 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6783 .loc 1 827 0
- 6784 0102 10BD pop {r4, pc}
- 6785 .LVL726:
- 6786 .L544:
- 6787 .align 2
- 6788 .L543:
- 6789 0104 002C0140 .word 1073818624
- 6790 .cfi_endproc
- 6791 .LFE79:
- 6793 .section .text.HAL_TIM_OC_Stop,"ax",%progbits
- 6794 .align 1
- 6795 .global HAL_TIM_OC_Stop
- 6796 .syntax unified
- 6797 .thumb
- 6798 .thumb_func
- 6799 .fpu softvfp
- 6801 HAL_TIM_OC_Stop:
- 6802 .LFB80:
- 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 6803 .loc 1 841 0
- 6804 .cfi_startproc
- 6805 @ args = 0, pretend = 0, frame = 0
- 6806 @ frame_needed = 0, uses_anonymous_args = 0
- 6807 .LVL727:
- 6808 0000 38B5 push {r3, r4, r5, lr}
- 6809 .LCFI91:
- 6810 .cfi_def_cfa_offset 16
- 6811 .cfi_offset 3, -16
- 6812 .cfi_offset 4, -12
- 6813 .cfi_offset 5, -8
- 6814 .cfi_offset 14, -4
- 6815 0002 0446 mov r4, r0
- 6816 0004 0D46 mov r5, r1
- 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6817 .loc 1 846 0
- 6818 0006 0022 movs r2, #0
- 6819 0008 0068 ldr r0, [r0]
- 6820 .LVL728:
- 6821 000a FFF7FEFF bl TIM_CCxChannelCmd
- 6822 .LVL729:
- 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6823 .loc 1 848 0
- 6824 000e 2368 ldr r3, [r4]
- 6825 0010 1F4A ldr r2, .L560
- 6826 0012 9342 cmp r3, r2
- 6827 0014 2ED0 beq .L553
- 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6828 .loc 1 848 0 is_stmt 0 discriminator 2
- 6829 0016 02F50062 add r2, r2, #2048
- 6830 001a 9342 cmp r3, r2
- 6831 001c 28D0 beq .L556
- 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6832 .loc 1 848 0
-ARM GAS /tmp/ccqsuCX7.s page 265
-
-
- 6833 001e 0022 movs r2, #0
- 6834 .L546:
- 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6835 .loc 1 848 0 discriminator 6
- 6836 0020 6AB1 cbz r2, .L547
- 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6837 .loc 1 851 0 is_stmt 1
- 6838 0022 196A ldr r1, [r3, #32]
- 6839 0024 41F21112 movw r2, #4369
- 6840 0028 1142 tst r1, r2
- 6841 002a 08D1 bne .L547
- 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6842 .loc 1 851 0 is_stmt 0 discriminator 1
- 6843 002c 196A ldr r1, [r3, #32]
- 6844 002e 40F24442 movw r2, #1092
- 6845 0032 1142 tst r1, r2
- 6846 0034 03D1 bne .L547
- 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 6847 .loc 1 851 0 discriminator 2
- 6848 0036 5A6C ldr r2, [r3, #68]
- 6849 0038 22F40042 bic r2, r2, #32768
- 6850 003c 5A64 str r2, [r3, #68]
- 6851 .L547:
- 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6852 .loc 1 855 0 is_stmt 1
- 6853 003e 2368 ldr r3, [r4]
- 6854 0040 196A ldr r1, [r3, #32]
- 6855 0042 41F21112 movw r2, #4369
- 6856 0046 1142 tst r1, r2
- 6857 0048 08D1 bne .L548
- 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6858 .loc 1 855 0 is_stmt 0 discriminator 1
- 6859 004a 196A ldr r1, [r3, #32]
- 6860 004c 40F24442 movw r2, #1092
- 6861 0050 1142 tst r1, r2
- 6862 0052 03D1 bne .L548
- 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6863 .loc 1 855 0 discriminator 2
- 6864 0054 1A68 ldr r2, [r3]
- 6865 0056 22F00102 bic r2, r2, #1
- 6866 005a 1A60 str r2, [r3]
- 6867 .L548:
- 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6868 .loc 1 858 0 is_stmt 1
- 6869 005c 65B1 cbz r5, .L557
- 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6870 .loc 1 858 0 is_stmt 0 discriminator 2
- 6871 005e 042D cmp r5, #4
- 6872 0060 0ED0 beq .L558
- 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6873 .loc 1 858 0 discriminator 4
- 6874 0062 082D cmp r5, #8
- 6875 0064 10D0 beq .L559
- 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6876 .loc 1 858 0 discriminator 7
- 6877 0066 0123 movs r3, #1
- 6878 0068 84F84130 strb r3, [r4, #65]
-ARM GAS /tmp/ccqsuCX7.s page 266
-
-
- 6879 .L550:
- 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6880 .loc 1 862 0 is_stmt 1
- 6881 006c 0020 movs r0, #0
- 6882 006e 38BD pop {r3, r4, r5, pc}
- 6883 .LVL730:
- 6884 .L556:
- 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6885 .loc 1 848 0
- 6886 0070 0122 movs r2, #1
- 6887 0072 D5E7 b .L546
- 6888 .L553:
- 6889 0074 0122 movs r2, #1
- 6890 0076 D3E7 b .L546
- 6891 .L557:
- 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6892 .loc 1 858 0 discriminator 1
- 6893 0078 0123 movs r3, #1
- 6894 007a 84F83E30 strb r3, [r4, #62]
- 6895 007e F5E7 b .L550
- 6896 .L558:
- 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6897 .loc 1 858 0 is_stmt 0 discriminator 3
- 6898 0080 0123 movs r3, #1
- 6899 0082 84F83F30 strb r3, [r4, #63]
- 6900 0086 F1E7 b .L550
- 6901 .L559:
- 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6902 .loc 1 858 0 discriminator 6
- 6903 0088 0123 movs r3, #1
- 6904 008a 84F84030 strb r3, [r4, #64]
- 6905 008e EDE7 b .L550
- 6906 .L561:
- 6907 .align 2
- 6908 .L560:
- 6909 0090 002C0140 .word 1073818624
- 6910 .cfi_endproc
- 6911 .LFE80:
- 6913 .section .text.HAL_TIM_OC_Start_IT,"ax",%progbits
- 6914 .align 1
- 6915 .global HAL_TIM_OC_Start_IT
- 6916 .syntax unified
- 6917 .thumb
- 6918 .thumb_func
- 6919 .fpu softvfp
- 6921 HAL_TIM_OC_Start_IT:
- 6922 .LFB81:
- 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 6923 .loc 1 876 0 is_stmt 1
- 6924 .cfi_startproc
- 6925 @ args = 0, pretend = 0, frame = 0
- 6926 @ frame_needed = 0, uses_anonymous_args = 0
- 6927 .LVL731:
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6928 .loc 1 883 0
- 6929 0000 0B46 mov r3, r1
- 6930 0002 C9B9 cbnz r1, .L563
-ARM GAS /tmp/ccqsuCX7.s page 267
-
-
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6931 .loc 1 883 0 is_stmt 0 discriminator 1
- 6932 0004 90F83E20 ldrb r2, [r0, #62] @ zero_extendqisi2
- 6933 0008 D2B2 uxtb r2, r2
- 6934 000a 12F1FF32 adds r2, r2, #-1
- 6935 000e 18BF it ne
- 6936 0010 0122 movne r2, #1
- 6937 .L564:
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6938 .loc 1 883 0 discriminator 12
- 6939 0012 002A cmp r2, #0
- 6940 0014 40F09380 bne .L582
- 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 6941 .loc 1 876 0 is_stmt 1
- 6942 0018 10B5 push {r4, lr}
- 6943 .LCFI92:
- 6944 .cfi_def_cfa_offset 8
- 6945 .cfi_offset 4, -8
- 6946 .cfi_offset 14, -4
- 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6947 .loc 1 889 0
- 6948 001a 4BBB cbnz r3, .L568
- 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 6949 .loc 1 889 0 is_stmt 0 discriminator 1
- 6950 001c 0222 movs r2, #2
- 6951 001e 80F83E20 strb r2, [r0, #62]
- 6952 .L569:
- 891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6953 .loc 1 891 0 is_stmt 1
- 6954 0022 0C2B cmp r3, #12
- 6955 0024 39D8 bhi .L572
- 6956 0026 DFE803F0 tbb [pc, r3]
- 6957 .L574:
- 6958 002a 33 .byte (.L573-.L574)/2
- 6959 002b 38 .byte (.L572-.L574)/2
- 6960 002c 38 .byte (.L572-.L574)/2
- 6961 002d 38 .byte (.L572-.L574)/2
- 6962 002e 69 .byte (.L575-.L574)/2
- 6963 002f 38 .byte (.L572-.L574)/2
- 6964 0030 38 .byte (.L572-.L574)/2
- 6965 0031 38 .byte (.L572-.L574)/2
- 6966 0032 6F .byte (.L576-.L574)/2
- 6967 0033 38 .byte (.L572-.L574)/2
- 6968 0034 38 .byte (.L572-.L574)/2
- 6969 0035 38 .byte (.L572-.L574)/2
- 6970 0036 75 .byte (.L577-.L574)/2
- 6971 0037 00 .p2align 1
- 6972 .L563:
- 6973 .LCFI93:
- 6974 .cfi_def_cfa_offset 0
- 6975 .cfi_restore 4
- 6976 .cfi_restore 14
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6977 .loc 1 883 0 discriminator 2
- 6978 0038 0429 cmp r1, #4
- 6979 003a 09D0 beq .L590
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-ARM GAS /tmp/ccqsuCX7.s page 268
-
-
- 6980 .loc 1 883 0 is_stmt 0 discriminator 5
- 6981 003c 0829 cmp r1, #8
- 6982 003e 0FD0 beq .L591
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6983 .loc 1 883 0 discriminator 8
- 6984 0040 90F84120 ldrb r2, [r0, #65] @ zero_extendqisi2
- 6985 0044 D2B2 uxtb r2, r2
- 6986 0046 12F1FF32 adds r2, r2, #-1
- 6987 004a 18BF it ne
- 6988 004c 0122 movne r2, #1
- 6989 004e E0E7 b .L564
- 6990 .L590:
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6991 .loc 1 883 0 discriminator 4
- 6992 0050 90F83F20 ldrb r2, [r0, #63] @ zero_extendqisi2
- 6993 0054 D2B2 uxtb r2, r2
- 6994 0056 12F1FF32 adds r2, r2, #-1
- 6995 005a 18BF it ne
- 6996 005c 0122 movne r2, #1
- 6997 005e D8E7 b .L564
- 6998 .L591:
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 6999 .loc 1 883 0 discriminator 7
- 7000 0060 90F84020 ldrb r2, [r0, #64] @ zero_extendqisi2
- 7001 0064 D2B2 uxtb r2, r2
- 7002 0066 12F1FF32 adds r2, r2, #-1
- 7003 006a 18BF it ne
- 7004 006c 0122 movne r2, #1
- 7005 006e D0E7 b .L564
- 7006 .L568:
- 7007 .LCFI94:
- 7008 .cfi_def_cfa_offset 8
- 7009 .cfi_offset 4, -8
- 7010 .cfi_offset 14, -4
- 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7011 .loc 1 889 0 is_stmt 1 discriminator 2
- 7012 0070 042B cmp r3, #4
- 7013 0072 05D0 beq .L592
- 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7014 .loc 1 889 0 is_stmt 0 discriminator 4
- 7015 0074 082B cmp r3, #8
- 7016 0076 07D0 beq .L593
- 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7017 .loc 1 889 0 discriminator 7
- 7018 0078 0222 movs r2, #2
- 7019 007a 80F84120 strb r2, [r0, #65]
- 7020 007e D0E7 b .L569
- 7021 .L592:
- 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7022 .loc 1 889 0 discriminator 3
- 7023 0080 0222 movs r2, #2
- 7024 0082 80F83F20 strb r2, [r0, #63]
- 7025 0086 CCE7 b .L569
- 7026 .L593:
- 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7027 .loc 1 889 0 discriminator 6
- 7028 0088 0222 movs r2, #2
-ARM GAS /tmp/ccqsuCX7.s page 269
-
-
- 7029 008a 80F84020 strb r2, [r0, #64]
- 7030 008e C8E7 b .L569
- 7031 .L573:
- 896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 7032 .loc 1 896 0 is_stmt 1
- 7033 0090 0168 ldr r1, [r0]
- 7034 .LVL732:
- 7035 0092 CA68 ldr r2, [r1, #12]
- 7036 0094 42F00202 orr r2, r2, #2
- 7037 0098 CA60 str r2, [r1, #12]
- 7038 .L572:
- 7039 009a 1946 mov r1, r3
- 7040 009c 0446 mov r4, r0
- 926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7041 .loc 1 926 0
- 7042 009e 0122 movs r2, #1
- 7043 00a0 0068 ldr r0, [r0]
- 7044 .LVL733:
- 7045 00a2 FFF7FEFF bl TIM_CCxChannelCmd
- 7046 .LVL734:
- 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7047 .loc 1 928 0
- 7048 00a6 2368 ldr r3, [r4]
- 7049 00a8 274A ldr r2, .L595
- 7050 00aa 9342 cmp r3, r2
- 7051 00ac 3AD0 beq .L583
- 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7052 .loc 1 928 0 is_stmt 0 discriminator 2
- 7053 00ae 02F50062 add r2, r2, #2048
- 7054 00b2 9342 cmp r3, r2
- 7055 00b4 34D0 beq .L594
- 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7056 .loc 1 928 0
- 7057 00b6 0022 movs r2, #0
- 7058 .L578:
- 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7059 .loc 1 928 0 discriminator 6
- 7060 00b8 1AB1 cbz r2, .L579
- 931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7061 .loc 1 931 0 is_stmt 1
- 7062 00ba 5A6C ldr r2, [r3, #68]
- 7063 00bc 42F40042 orr r2, r2, #32768
- 7064 00c0 5A64 str r2, [r3, #68]
- 7065 .L579:
- 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7066 .loc 1 935 0
- 7067 00c2 2368 ldr r3, [r4]
- 7068 00c4 204A ldr r2, .L595
- 7069 00c6 9342 cmp r3, r2
- 7070 00c8 2ED0 beq .L580
- 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7071 .loc 1 935 0 is_stmt 0 discriminator 1
- 7072 00ca 02F50062 add r2, r2, #2048
- 7073 00ce 9342 cmp r3, r2
- 7074 00d0 2AD0 beq .L580
- 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7075 .loc 1 935 0 discriminator 2
-ARM GAS /tmp/ccqsuCX7.s page 270
-
-
- 7076 00d2 B3F1804F cmp r3, #1073741824
- 7077 00d6 27D0 beq .L580
- 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7078 .loc 1 935 0 discriminator 3
- 7079 00d8 A2F59832 sub r2, r2, #77824
- 7080 00dc 9342 cmp r3, r2
- 7081 00de 23D0 beq .L580
- 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7082 .loc 1 935 0 discriminator 4
- 7083 00e0 02F58062 add r2, r2, #1024
- 7084 00e4 9342 cmp r3, r2
- 7085 00e6 1FD0 beq .L580
- 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7086 .loc 1 935 0 discriminator 5
- 7087 00e8 02F58062 add r2, r2, #1024
- 7088 00ec 9342 cmp r3, r2
- 7089 00ee 1BD0 beq .L580
- 945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7090 .loc 1 945 0 is_stmt 1
- 7091 00f0 1A68 ldr r2, [r3]
- 7092 00f2 42F00102 orr r2, r2, #1
- 7093 00f6 1A60 str r2, [r3]
- 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7094 .loc 1 949 0
- 7095 00f8 0020 movs r0, #0
- 7096 00fa 10BD pop {r4, pc}
- 7097 .LVL735:
- 7098 .L575:
- 903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 7099 .loc 1 903 0
- 7100 00fc 0168 ldr r1, [r0]
- 7101 .LVL736:
- 7102 00fe CA68 ldr r2, [r1, #12]
- 7103 0100 42F00402 orr r2, r2, #4
- 7104 0104 CA60 str r2, [r1, #12]
- 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7105 .loc 1 904 0
- 7106 0106 C8E7 b .L572
- 7107 .LVL737:
- 7108 .L576:
- 910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 7109 .loc 1 910 0
- 7110 0108 0168 ldr r1, [r0]
- 7111 .LVL738:
- 7112 010a CA68 ldr r2, [r1, #12]
- 7113 010c 42F00802 orr r2, r2, #8
- 7114 0110 CA60 str r2, [r1, #12]
- 911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7115 .loc 1 911 0
- 7116 0112 C2E7 b .L572
- 7117 .LVL739:
- 7118 .L577:
- 917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 7119 .loc 1 917 0
- 7120 0114 0168 ldr r1, [r0]
- 7121 .LVL740:
- 7122 0116 CA68 ldr r2, [r1, #12]
-ARM GAS /tmp/ccqsuCX7.s page 271
-
-
- 7123 0118 42F01002 orr r2, r2, #16
- 7124 011c CA60 str r2, [r1, #12]
- 918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7125 .loc 1 918 0
- 7126 011e BCE7 b .L572
- 7127 .LVL741:
- 7128 .L594:
- 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7129 .loc 1 928 0
- 7130 0120 0122 movs r2, #1
- 7131 0122 C9E7 b .L578
- 7132 .L583:
- 7133 0124 0122 movs r2, #1
- 7134 0126 C7E7 b .L578
- 7135 .L580:
- 937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 7136 .loc 1 937 0
- 7137 0128 9A68 ldr r2, [r3, #8]
- 7138 012a 02F00702 and r2, r2, #7
- 7139 .LVL742:
- 938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7140 .loc 1 938 0
- 7141 012e 062A cmp r2, #6
- 7142 0130 07D0 beq .L585
- 940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7143 .loc 1 940 0
- 7144 0132 1A68 ldr r2, [r3]
- 7145 .LVL743:
- 7146 0134 42F00102 orr r2, r2, #1
- 7147 0138 1A60 str r2, [r3]
- 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7148 .loc 1 949 0
- 7149 013a 0020 movs r0, #0
- 7150 013c 10BD pop {r4, pc}
- 7151 .LVL744:
- 7152 .L582:
- 7153 .LCFI95:
- 7154 .cfi_def_cfa_offset 0
- 7155 .cfi_restore 4
- 7156 .cfi_restore 14
- 885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7157 .loc 1 885 0
- 7158 013e 0120 movs r0, #1
- 7159 .LVL745:
- 7160 0140 7047 bx lr
- 7161 .LVL746:
- 7162 .L585:
- 7163 .LCFI96:
- 7164 .cfi_def_cfa_offset 8
- 7165 .cfi_offset 4, -8
- 7166 .cfi_offset 14, -4
- 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7167 .loc 1 949 0
- 7168 0142 0020 movs r0, #0
- 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7169 .loc 1 950 0
- 7170 0144 10BD pop {r4, pc}
-ARM GAS /tmp/ccqsuCX7.s page 272
-
-
- 7171 .LVL747:
- 7172 .L596:
- 7173 0146 00BF .align 2
- 7174 .L595:
- 7175 0148 002C0140 .word 1073818624
- 7176 .cfi_endproc
- 7177 .LFE81:
- 7179 .section .text.HAL_TIM_OC_Stop_IT,"ax",%progbits
- 7180 .align 1
- 7181 .global HAL_TIM_OC_Stop_IT
- 7182 .syntax unified
- 7183 .thumb
- 7184 .thumb_func
- 7185 .fpu softvfp
- 7187 HAL_TIM_OC_Stop_IT:
- 7188 .LFB82:
- 964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 7189 .loc 1 964 0
- 7190 .cfi_startproc
- 7191 @ args = 0, pretend = 0, frame = 0
- 7192 @ frame_needed = 0, uses_anonymous_args = 0
- 7193 .LVL748:
- 7194 0000 38B5 push {r3, r4, r5, lr}
- 7195 .LCFI97:
- 7196 .cfi_def_cfa_offset 16
- 7197 .cfi_offset 3, -16
- 7198 .cfi_offset 4, -12
- 7199 .cfi_offset 5, -8
- 7200 .cfi_offset 14, -4
- 7201 0002 0546 mov r5, r0
- 7202 0004 0C46 mov r4, r1
- 968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7203 .loc 1 968 0
- 7204 0006 0C29 cmp r1, #12
- 7205 0008 0DD8 bhi .L598
- 7206 000a DFE801F0 tbb [pc, r1]
- 7207 .L600:
- 7208 000e 07 .byte (.L599-.L600)/2
- 7209 000f 0C .byte (.L598-.L600)/2
- 7210 0010 0C .byte (.L598-.L600)/2
- 7211 0011 0C .byte (.L598-.L600)/2
- 7212 0012 42 .byte (.L601-.L600)/2
- 7213 0013 0C .byte (.L598-.L600)/2
- 7214 0014 0C .byte (.L598-.L600)/2
- 7215 0015 0C .byte (.L598-.L600)/2
- 7216 0016 48 .byte (.L602-.L600)/2
- 7217 0017 0C .byte (.L598-.L600)/2
- 7218 0018 0C .byte (.L598-.L600)/2
- 7219 0019 0C .byte (.L598-.L600)/2
- 7220 001a 4E .byte (.L603-.L600)/2
- 7221 001b 00 .p2align 1
- 7222 .L599:
- 973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 7223 .loc 1 973 0
- 7224 001c 0268 ldr r2, [r0]
- 7225 001e D368 ldr r3, [r2, #12]
- 7226 0020 23F00203 bic r3, r3, #2
-ARM GAS /tmp/ccqsuCX7.s page 273
-
-
- 7227 0024 D360 str r3, [r2, #12]
- 7228 .L598:
-1003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7229 .loc 1 1003 0
- 7230 0026 0022 movs r2, #0
- 7231 0028 2146 mov r1, r4
- 7232 .LVL749:
- 7233 002a 2868 ldr r0, [r5]
- 7234 .LVL750:
- 7235 002c FFF7FEFF bl TIM_CCxChannelCmd
- 7236 .LVL751:
-1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7237 .loc 1 1005 0
- 7238 0030 2B68 ldr r3, [r5]
- 7239 0032 294A ldr r2, .L618
- 7240 0034 9342 cmp r3, r2
- 7241 0036 40D0 beq .L611
-1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7242 .loc 1 1005 0 is_stmt 0 discriminator 2
- 7243 0038 02F50062 add r2, r2, #2048
- 7244 003c 9342 cmp r3, r2
- 7245 003e 3AD0 beq .L614
-1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7246 .loc 1 1005 0
- 7247 0040 0022 movs r2, #0
- 7248 .L604:
-1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7249 .loc 1 1005 0 discriminator 6
- 7250 0042 6AB1 cbz r2, .L605
-1008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7251 .loc 1 1008 0 is_stmt 1
- 7252 0044 196A ldr r1, [r3, #32]
- 7253 0046 41F21112 movw r2, #4369
- 7254 004a 1142 tst r1, r2
- 7255 004c 08D1 bne .L605
-1008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7256 .loc 1 1008 0 is_stmt 0 discriminator 1
- 7257 004e 196A ldr r1, [r3, #32]
- 7258 0050 40F24442 movw r2, #1092
- 7259 0054 1142 tst r1, r2
- 7260 0056 03D1 bne .L605
-1008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7261 .loc 1 1008 0 discriminator 2
- 7262 0058 5A6C ldr r2, [r3, #68]
- 7263 005a 22F40042 bic r2, r2, #32768
- 7264 005e 5A64 str r2, [r3, #68]
- 7265 .L605:
-1012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7266 .loc 1 1012 0 is_stmt 1
- 7267 0060 2B68 ldr r3, [r5]
- 7268 0062 196A ldr r1, [r3, #32]
- 7269 0064 41F21112 movw r2, #4369
- 7270 0068 1142 tst r1, r2
- 7271 006a 08D1 bne .L606
-1012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7272 .loc 1 1012 0 is_stmt 0 discriminator 1
- 7273 006c 196A ldr r1, [r3, #32]
-ARM GAS /tmp/ccqsuCX7.s page 274
-
-
- 7274 006e 40F24442 movw r2, #1092
- 7275 0072 1142 tst r1, r2
- 7276 0074 03D1 bne .L606
-1012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7277 .loc 1 1012 0 discriminator 2
- 7278 0076 1A68 ldr r2, [r3]
- 7279 0078 22F00102 bic r2, r2, #1
- 7280 007c 1A60 str r2, [r3]
- 7281 .L606:
-1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7282 .loc 1 1015 0 is_stmt 1
- 7283 007e F4B1 cbz r4, .L615
-1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7284 .loc 1 1015 0 is_stmt 0 discriminator 2
- 7285 0080 042C cmp r4, #4
- 7286 0082 20D0 beq .L616
-1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7287 .loc 1 1015 0 discriminator 4
- 7288 0084 082C cmp r4, #8
- 7289 0086 22D0 beq .L617
-1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7290 .loc 1 1015 0 discriminator 7
- 7291 0088 0123 movs r3, #1
- 7292 008a 85F84130 strb r3, [r5, #65]
- 7293 .L608:
-1019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7294 .loc 1 1019 0 is_stmt 1
- 7295 008e 0020 movs r0, #0
- 7296 0090 38BD pop {r3, r4, r5, pc}
- 7297 .LVL752:
- 7298 .L601:
- 980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 7299 .loc 1 980 0
- 7300 0092 0268 ldr r2, [r0]
- 7301 0094 D368 ldr r3, [r2, #12]
- 7302 0096 23F00403 bic r3, r3, #4
- 7303 009a D360 str r3, [r2, #12]
- 981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7304 .loc 1 981 0
- 7305 009c C3E7 b .L598
- 7306 .L602:
- 987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 7307 .loc 1 987 0
- 7308 009e 0268 ldr r2, [r0]
- 7309 00a0 D368 ldr r3, [r2, #12]
- 7310 00a2 23F00803 bic r3, r3, #8
- 7311 00a6 D360 str r3, [r2, #12]
- 988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7312 .loc 1 988 0
- 7313 00a8 BDE7 b .L598
- 7314 .L603:
- 994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 7315 .loc 1 994 0
- 7316 00aa 0268 ldr r2, [r0]
- 7317 00ac D368 ldr r3, [r2, #12]
- 7318 00ae 23F01003 bic r3, r3, #16
- 7319 00b2 D360 str r3, [r2, #12]
-ARM GAS /tmp/ccqsuCX7.s page 275
-
-
- 995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7320 .loc 1 995 0
- 7321 00b4 B7E7 b .L598
- 7322 .LVL753:
- 7323 .L614:
-1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7324 .loc 1 1005 0
- 7325 00b6 0122 movs r2, #1
- 7326 00b8 C3E7 b .L604
- 7327 .L611:
- 7328 00ba 0122 movs r2, #1
- 7329 00bc C1E7 b .L604
- 7330 .L615:
-1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7331 .loc 1 1015 0 discriminator 1
- 7332 00be 0123 movs r3, #1
- 7333 00c0 85F83E30 strb r3, [r5, #62]
- 7334 00c4 E3E7 b .L608
- 7335 .L616:
-1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7336 .loc 1 1015 0 is_stmt 0 discriminator 3
- 7337 00c6 0123 movs r3, #1
- 7338 00c8 85F83F30 strb r3, [r5, #63]
- 7339 00cc DFE7 b .L608
- 7340 .L617:
-1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7341 .loc 1 1015 0 discriminator 6
- 7342 00ce 0123 movs r3, #1
- 7343 00d0 85F84030 strb r3, [r5, #64]
- 7344 00d4 DBE7 b .L608
- 7345 .L619:
- 7346 00d6 00BF .align 2
- 7347 .L618:
- 7348 00d8 002C0140 .word 1073818624
- 7349 .cfi_endproc
- 7350 .LFE82:
- 7352 .section .text.HAL_TIM_OC_Start_DMA,"ax",%progbits
- 7353 .align 1
- 7354 .global HAL_TIM_OC_Start_DMA
- 7355 .syntax unified
- 7356 .thumb
- 7357 .thumb_func
- 7358 .fpu softvfp
- 7360 HAL_TIM_OC_Start_DMA:
- 7361 .LFB83:
-1035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 7362 .loc 1 1035 0 is_stmt 1
- 7363 .cfi_startproc
- 7364 @ args = 0, pretend = 0, frame = 0
- 7365 @ frame_needed = 0, uses_anonymous_args = 0
- 7366 .LVL754:
- 7367 0000 38B5 push {r3, r4, r5, lr}
- 7368 .LCFI98:
- 7369 .cfi_def_cfa_offset 16
- 7370 .cfi_offset 3, -16
- 7371 .cfi_offset 4, -12
- 7372 .cfi_offset 5, -8
-ARM GAS /tmp/ccqsuCX7.s page 276
-
-
- 7373 .cfi_offset 14, -4
-1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7374 .loc 1 1042 0
- 7375 0002 0D46 mov r5, r1
- 7376 0004 49B9 cbnz r1, .L621
-1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7377 .loc 1 1042 0 is_stmt 0 discriminator 1
- 7378 0006 90F83E40 ldrb r4, [r0, #62] @ zero_extendqisi2
- 7379 000a E4B2 uxtb r4, r4
- 7380 000c 022C cmp r4, #2
- 7381 000e 14BF ite ne
- 7382 0010 0024 movne r4, #0
- 7383 0012 0124 moveq r4, #1
- 7384 .L622:
-1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7385 .loc 1 1042 0 discriminator 12
- 7386 0014 ECB1 cbz r4, .L656
-1044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7387 .loc 1 1044 0 is_stmt 1
- 7388 0016 0220 movs r0, #2
- 7389 .LVL755:
- 7390 0018 38BD pop {r3, r4, r5, pc}
- 7391 .LVL756:
- 7392 .L621:
-1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7393 .loc 1 1042 0 discriminator 2
- 7394 001a 0429 cmp r1, #4
- 7395 001c 09D0 beq .L657
-1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7396 .loc 1 1042 0 is_stmt 0 discriminator 5
- 7397 001e 0829 cmp r1, #8
- 7398 0020 0FD0 beq .L658
-1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7399 .loc 1 1042 0 discriminator 8
- 7400 0022 90F84140 ldrb r4, [r0, #65] @ zero_extendqisi2
- 7401 0026 E4B2 uxtb r4, r4
- 7402 0028 022C cmp r4, #2
- 7403 002a 14BF ite ne
- 7404 002c 0024 movne r4, #0
- 7405 002e 0124 moveq r4, #1
- 7406 0030 F0E7 b .L622
- 7407 .L657:
-1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7408 .loc 1 1042 0 discriminator 4
- 7409 0032 90F83F40 ldrb r4, [r0, #63] @ zero_extendqisi2
- 7410 0036 E4B2 uxtb r4, r4
- 7411 0038 022C cmp r4, #2
- 7412 003a 14BF ite ne
- 7413 003c 0024 movne r4, #0
- 7414 003e 0124 moveq r4, #1
- 7415 0040 E8E7 b .L622
- 7416 .L658:
-1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7417 .loc 1 1042 0 discriminator 7
- 7418 0042 90F84040 ldrb r4, [r0, #64] @ zero_extendqisi2
- 7419 0046 E4B2 uxtb r4, r4
- 7420 0048 022C cmp r4, #2
-ARM GAS /tmp/ccqsuCX7.s page 277
-
-
- 7421 004a 14BF ite ne
- 7422 004c 0024 movne r4, #0
- 7423 004e 0124 moveq r4, #1
- 7424 0050 E0E7 b .L622
- 7425 .L656:
-1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7426 .loc 1 1046 0 is_stmt 1
- 7427 0052 E5B9 cbnz r5, .L626
-1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7428 .loc 1 1046 0 is_stmt 0 discriminator 1
- 7429 0054 90F83E10 ldrb r1, [r0, #62] @ zero_extendqisi2
- 7430 .LVL757:
- 7431 0058 C9B2 uxtb r1, r1
- 7432 005a 0129 cmp r1, #1
- 7433 005c 14BF ite ne
- 7434 005e 0021 movne r1, #0
- 7435 0060 0121 moveq r1, #1
- 7436 .L627:
-1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7437 .loc 1 1046 0 discriminator 12
- 7438 0062 0029 cmp r1, #0
- 7439 0064 00F0D980 beq .L646
-1048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7440 .loc 1 1048 0 is_stmt 1
- 7441 0068 6AB3 cbz r2, .L659
- 7442 .L630:
-1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7443 .loc 1 1054 0
- 7444 006a 002D cmp r5, #0
- 7445 006c 2FD1 bne .L631
-1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7446 .loc 1 1054 0 is_stmt 0 discriminator 1
- 7447 006e 0221 movs r1, #2
- 7448 0070 80F83E10 strb r1, [r0, #62]
- 7449 .L632:
- 7450 0074 1146 mov r1, r2
- 7451 0076 0446 mov r4, r0
-1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7452 .loc 1 1062 0 is_stmt 1
- 7453 0078 0C2D cmp r5, #12
- 7454 007a 4ED8 bhi .L635
- 7455 007c DFE805F0 tbb [pc, r5]
- 7456 .LVL758:
- 7457 .L637:
- 7458 0080 37 .byte (.L636-.L637)/2
- 7459 0081 4D .byte (.L635-.L637)/2
- 7460 0082 4D .byte (.L635-.L637)/2
- 7461 0083 4D .byte (.L635-.L637)/2
- 7462 0084 7D .byte (.L638-.L637)/2
- 7463 0085 4D .byte (.L635-.L637)/2
- 7464 0086 4D .byte (.L635-.L637)/2
- 7465 0087 4D .byte (.L635-.L637)/2
- 7466 0088 93 .byte (.L639-.L637)/2
- 7467 0089 4D .byte (.L635-.L637)/2
- 7468 008a 4D .byte (.L635-.L637)/2
- 7469 008b 4D .byte (.L635-.L637)/2
- 7470 008c A9 .byte (.L640-.L637)/2
-ARM GAS /tmp/ccqsuCX7.s page 278
-
-
- 7471 008d 00 .p2align 1
- 7472 .L626:
-1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7473 .loc 1 1046 0 discriminator 2
- 7474 008e 042D cmp r5, #4
- 7475 0090 09D0 beq .L660
-1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7476 .loc 1 1046 0 is_stmt 0 discriminator 5
- 7477 0092 082D cmp r5, #8
- 7478 0094 0FD0 beq .L661
-1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7479 .loc 1 1046 0 discriminator 8
- 7480 0096 90F84110 ldrb r1, [r0, #65] @ zero_extendqisi2
- 7481 .LVL759:
- 7482 009a C9B2 uxtb r1, r1
- 7483 009c 0129 cmp r1, #1
- 7484 009e 14BF ite ne
- 7485 00a0 0021 movne r1, #0
- 7486 00a2 0121 moveq r1, #1
- 7487 00a4 DDE7 b .L627
- 7488 .LVL760:
- 7489 .L660:
-1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7490 .loc 1 1046 0 discriminator 4
- 7491 00a6 90F83F10 ldrb r1, [r0, #63] @ zero_extendqisi2
- 7492 .LVL761:
- 7493 00aa C9B2 uxtb r1, r1
- 7494 00ac 0129 cmp r1, #1
- 7495 00ae 14BF ite ne
- 7496 00b0 0021 movne r1, #0
- 7497 00b2 0121 moveq r1, #1
- 7498 00b4 D5E7 b .L627
- 7499 .LVL762:
- 7500 .L661:
-1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7501 .loc 1 1046 0 discriminator 7
- 7502 00b6 90F84010 ldrb r1, [r0, #64] @ zero_extendqisi2
- 7503 .LVL763:
- 7504 00ba C9B2 uxtb r1, r1
- 7505 00bc 0129 cmp r1, #1
- 7506 00be 14BF ite ne
- 7507 00c0 0021 movne r1, #0
- 7508 00c2 0121 moveq r1, #1
- 7509 00c4 CDE7 b .L627
- 7510 .L659:
-1048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7511 .loc 1 1048 0 is_stmt 1 discriminator 1
- 7512 00c6 002B cmp r3, #0
- 7513 00c8 CFD0 beq .L630
-1050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7514 .loc 1 1050 0
- 7515 00ca 0120 movs r0, #1
- 7516 .LVL764:
- 7517 00cc 38BD pop {r3, r4, r5, pc}
- 7518 .LVL765:
- 7519 .L631:
-1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-ARM GAS /tmp/ccqsuCX7.s page 279
-
-
- 7520 .loc 1 1054 0 discriminator 2
- 7521 00ce 042D cmp r5, #4
- 7522 00d0 05D0 beq .L662
-1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7523 .loc 1 1054 0 is_stmt 0 discriminator 4
- 7524 00d2 082D cmp r5, #8
- 7525 00d4 07D0 beq .L663
-1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7526 .loc 1 1054 0 discriminator 7
- 7527 00d6 0221 movs r1, #2
- 7528 00d8 80F84110 strb r1, [r0, #65]
- 7529 00dc CAE7 b .L632
- 7530 .L662:
-1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7531 .loc 1 1054 0 discriminator 3
- 7532 00de 0221 movs r1, #2
- 7533 00e0 80F83F10 strb r1, [r0, #63]
- 7534 00e4 C6E7 b .L632
- 7535 .L663:
-1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7536 .loc 1 1054 0 discriminator 6
- 7537 00e6 0221 movs r1, #2
- 7538 00e8 80F84010 strb r1, [r0, #64]
- 7539 00ec C2E7 b .L632
- 7540 .LVL766:
- 7541 .L636:
-1067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
- 7542 .loc 1 1067 0 is_stmt 1
- 7543 00ee 426A ldr r2, [r0, #36]
- 7544 00f0 5048 ldr r0, .L665
- 7545 .LVL767:
- 7546 00f2 9062 str r0, [r2, #40]
-1068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7547 .loc 1 1068 0
- 7548 00f4 626A ldr r2, [r4, #36]
- 7549 00f6 5048 ldr r0, .L665+4
- 7550 00f8 D062 str r0, [r2, #44]
-1071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7551 .loc 1 1071 0
- 7552 00fa 626A ldr r2, [r4, #36]
- 7553 00fc 4F48 ldr r0, .L665+8
- 7554 00fe 1063 str r0, [r2, #48]
-1074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7555 .loc 1 1074 0
- 7556 0100 2268 ldr r2, [r4]
- 7557 0102 3432 adds r2, r2, #52
- 7558 0104 606A ldr r0, [r4, #36]
- 7559 0106 FFF7FEFF bl HAL_DMA_Start_IT
- 7560 .LVL768:
- 7561 010a 0028 cmp r0, #0
- 7562 010c 40F08780 bne .L648
-1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 7563 .loc 1 1081 0
- 7564 0110 2268 ldr r2, [r4]
- 7565 0112 D368 ldr r3, [r2, #12]
- 7566 0114 43F40073 orr r3, r3, #512
- 7567 0118 D360 str r3, [r2, #12]
-ARM GAS /tmp/ccqsuCX7.s page 280
-
-
- 7568 .L635:
-1151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7569 .loc 1 1151 0
- 7570 011a 0122 movs r2, #1
- 7571 011c 2946 mov r1, r5
- 7572 011e 2068 ldr r0, [r4]
- 7573 0120 FFF7FEFF bl TIM_CCxChannelCmd
- 7574 .LVL769:
-1153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7575 .loc 1 1153 0
- 7576 0124 2368 ldr r3, [r4]
- 7577 0126 464A ldr r2, .L665+12
- 7578 0128 9342 cmp r3, r2
- 7579 012a 69D0 beq .L652
-1153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7580 .loc 1 1153 0 is_stmt 0 discriminator 2
- 7581 012c 02F50062 add r2, r2, #2048
- 7582 0130 9342 cmp r3, r2
- 7583 0132 63D0 beq .L664
-1153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7584 .loc 1 1153 0
- 7585 0134 0022 movs r2, #0
- 7586 .L641:
-1153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7587 .loc 1 1153 0 discriminator 6
- 7588 0136 1AB1 cbz r2, .L642
-1156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7589 .loc 1 1156 0 is_stmt 1
- 7590 0138 5A6C ldr r2, [r3, #68]
- 7591 013a 42F40042 orr r2, r2, #32768
- 7592 013e 5A64 str r2, [r3, #68]
- 7593 .L642:
-1160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7594 .loc 1 1160 0
- 7595 0140 2368 ldr r3, [r4]
- 7596 0142 3F4A ldr r2, .L665+12
- 7597 0144 9342 cmp r3, r2
- 7598 0146 5DD0 beq .L643
-1160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7599 .loc 1 1160 0 is_stmt 0 discriminator 1
- 7600 0148 02F50062 add r2, r2, #2048
- 7601 014c 9342 cmp r3, r2
- 7602 014e 59D0 beq .L643
-1160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7603 .loc 1 1160 0 discriminator 2
- 7604 0150 B3F1804F cmp r3, #1073741824
- 7605 0154 56D0 beq .L643
-1160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7606 .loc 1 1160 0 discriminator 3
- 7607 0156 A2F59832 sub r2, r2, #77824
- 7608 015a 9342 cmp r3, r2
- 7609 015c 52D0 beq .L643
-1160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7610 .loc 1 1160 0 discriminator 4
- 7611 015e 02F58062 add r2, r2, #1024
- 7612 0162 9342 cmp r3, r2
- 7613 0164 4ED0 beq .L643
-ARM GAS /tmp/ccqsuCX7.s page 281
-
-
-1160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7614 .loc 1 1160 0 discriminator 5
- 7615 0166 02F58062 add r2, r2, #1024
- 7616 016a 9342 cmp r3, r2
- 7617 016c 4AD0 beq .L643
-1170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7618 .loc 1 1170 0 is_stmt 1
- 7619 016e 1A68 ldr r2, [r3]
- 7620 0170 42F00102 orr r2, r2, #1
- 7621 0174 1A60 str r2, [r3]
-1174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7622 .loc 1 1174 0
- 7623 0176 0020 movs r0, #0
- 7624 0178 38BD pop {r3, r4, r5, pc}
- 7625 .LVL770:
- 7626 .L638:
-1088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
- 7627 .loc 1 1088 0
- 7628 017a 826A ldr r2, [r0, #40]
- 7629 017c 2D48 ldr r0, .L665
- 7630 .LVL771:
- 7631 017e 9062 str r0, [r2, #40]
-1089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7632 .loc 1 1089 0
- 7633 0180 A26A ldr r2, [r4, #40]
- 7634 0182 2D48 ldr r0, .L665+4
- 7635 0184 D062 str r0, [r2, #44]
-1092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7636 .loc 1 1092 0
- 7637 0186 A26A ldr r2, [r4, #40]
- 7638 0188 2C48 ldr r0, .L665+8
- 7639 018a 1063 str r0, [r2, #48]
-1095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7640 .loc 1 1095 0
- 7641 018c 2268 ldr r2, [r4]
- 7642 018e 3832 adds r2, r2, #56
- 7643 0190 A06A ldr r0, [r4, #40]
- 7644 0192 FFF7FEFF bl HAL_DMA_Start_IT
- 7645 .LVL772:
- 7646 0196 0028 cmp r0, #0
- 7647 0198 43D1 bne .L649
-1102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 7648 .loc 1 1102 0
- 7649 019a 2268 ldr r2, [r4]
- 7650 019c D368 ldr r3, [r2, #12]
- 7651 019e 43F48063 orr r3, r3, #1024
- 7652 01a2 D360 str r3, [r2, #12]
-1103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7653 .loc 1 1103 0
- 7654 01a4 B9E7 b .L635
- 7655 .LVL773:
- 7656 .L639:
-1109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
- 7657 .loc 1 1109 0
- 7658 01a6 C26A ldr r2, [r0, #44]
- 7659 01a8 2248 ldr r0, .L665
- 7660 .LVL774:
-ARM GAS /tmp/ccqsuCX7.s page 282
-
-
- 7661 01aa 9062 str r0, [r2, #40]
-1110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7662 .loc 1 1110 0
- 7663 01ac E26A ldr r2, [r4, #44]
- 7664 01ae 2248 ldr r0, .L665+4
- 7665 01b0 D062 str r0, [r2, #44]
-1113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7666 .loc 1 1113 0
- 7667 01b2 E26A ldr r2, [r4, #44]
- 7668 01b4 2148 ldr r0, .L665+8
- 7669 01b6 1063 str r0, [r2, #48]
-1116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7670 .loc 1 1116 0
- 7671 01b8 2268 ldr r2, [r4]
- 7672 01ba 3C32 adds r2, r2, #60
- 7673 01bc E06A ldr r0, [r4, #44]
- 7674 01be FFF7FEFF bl HAL_DMA_Start_IT
- 7675 .LVL775:
- 7676 01c2 0028 cmp r0, #0
- 7677 01c4 2FD1 bne .L650
-1122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 7678 .loc 1 1122 0
- 7679 01c6 2268 ldr r2, [r4]
- 7680 01c8 D368 ldr r3, [r2, #12]
- 7681 01ca 43F40063 orr r3, r3, #2048
- 7682 01ce D360 str r3, [r2, #12]
-1123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7683 .loc 1 1123 0
- 7684 01d0 A3E7 b .L635
- 7685 .LVL776:
- 7686 .L640:
-1129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
- 7687 .loc 1 1129 0
- 7688 01d2 026B ldr r2, [r0, #48]
- 7689 01d4 1748 ldr r0, .L665
- 7690 .LVL777:
- 7691 01d6 9062 str r0, [r2, #40]
-1130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7692 .loc 1 1130 0
- 7693 01d8 226B ldr r2, [r4, #48]
- 7694 01da 1748 ldr r0, .L665+4
- 7695 01dc D062 str r0, [r2, #44]
-1133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7696 .loc 1 1133 0
- 7697 01de 226B ldr r2, [r4, #48]
- 7698 01e0 1648 ldr r0, .L665+8
- 7699 01e2 1063 str r0, [r2, #48]
-1136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7700 .loc 1 1136 0
- 7701 01e4 2268 ldr r2, [r4]
- 7702 01e6 4032 adds r2, r2, #64
- 7703 01e8 206B ldr r0, [r4, #48]
- 7704 01ea FFF7FEFF bl HAL_DMA_Start_IT
- 7705 .LVL778:
- 7706 01ee E0B9 cbnz r0, .L651
-1142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 7707 .loc 1 1142 0
-ARM GAS /tmp/ccqsuCX7.s page 283
-
-
- 7708 01f0 2268 ldr r2, [r4]
- 7709 01f2 D368 ldr r3, [r2, #12]
- 7710 01f4 43F48053 orr r3, r3, #4096
- 7711 01f8 D360 str r3, [r2, #12]
-1143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7712 .loc 1 1143 0
- 7713 01fa 8EE7 b .L635
- 7714 .L664:
-1153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7715 .loc 1 1153 0
- 7716 01fc 0122 movs r2, #1
- 7717 01fe 9AE7 b .L641
- 7718 .L652:
- 7719 0200 0122 movs r2, #1
- 7720 0202 98E7 b .L641
- 7721 .L643:
-1162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 7722 .loc 1 1162 0
- 7723 0204 9A68 ldr r2, [r3, #8]
- 7724 0206 02F00702 and r2, r2, #7
- 7725 .LVL779:
-1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7726 .loc 1 1163 0
- 7727 020a 062A cmp r2, #6
- 7728 020c 0FD0 beq .L654
-1165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7729 .loc 1 1165 0
- 7730 020e 1A68 ldr r2, [r3]
- 7731 .LVL780:
- 7732 0210 42F00102 orr r2, r2, #1
- 7733 0214 1A60 str r2, [r3]
-1174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7734 .loc 1 1174 0
- 7735 0216 0020 movs r0, #0
- 7736 0218 38BD pop {r3, r4, r5, pc}
- 7737 .LVL781:
- 7738 .L646:
-1059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7739 .loc 1 1059 0
- 7740 021a 0120 movs r0, #1
- 7741 .LVL782:
- 7742 021c 38BD pop {r3, r4, r5, pc}
- 7743 .LVL783:
- 7744 .L648:
-1077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7745 .loc 1 1077 0
- 7746 021e 0120 movs r0, #1
- 7747 0220 38BD pop {r3, r4, r5, pc}
- 7748 .LVL784:
- 7749 .L649:
-1098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7750 .loc 1 1098 0
- 7751 0222 0120 movs r0, #1
- 7752 0224 38BD pop {r3, r4, r5, pc}
- 7753 .LVL785:
- 7754 .L650:
-1119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-ARM GAS /tmp/ccqsuCX7.s page 284
-
-
- 7755 .loc 1 1119 0
- 7756 0226 0120 movs r0, #1
- 7757 0228 38BD pop {r3, r4, r5, pc}
- 7758 .LVL786:
- 7759 .L651:
-1139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7760 .loc 1 1139 0
- 7761 022a 0120 movs r0, #1
- 7762 022c 38BD pop {r3, r4, r5, pc}
- 7763 .LVL787:
- 7764 .L654:
-1174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7765 .loc 1 1174 0
- 7766 022e 0020 movs r0, #0
-1175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7767 .loc 1 1175 0
- 7768 0230 38BD pop {r3, r4, r5, pc}
- 7769 .LVL788:
- 7770 .L666:
- 7771 0232 00BF .align 2
- 7772 .L665:
- 7773 0234 00000000 .word TIM_DMADelayPulseCplt
- 7774 0238 00000000 .word TIM_DMADelayPulseHalfCplt
- 7775 023c 00000000 .word TIM_DMAError
- 7776 0240 002C0140 .word 1073818624
- 7777 .cfi_endproc
- 7778 .LFE83:
- 7780 .section .text.HAL_TIM_OC_Stop_DMA,"ax",%progbits
- 7781 .align 1
- 7782 .global HAL_TIM_OC_Stop_DMA
- 7783 .syntax unified
- 7784 .thumb
- 7785 .thumb_func
- 7786 .fpu softvfp
- 7788 HAL_TIM_OC_Stop_DMA:
- 7789 .LFB84:
-1189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 7790 .loc 1 1189 0
- 7791 .cfi_startproc
- 7792 @ args = 0, pretend = 0, frame = 0
- 7793 @ frame_needed = 0, uses_anonymous_args = 0
- 7794 .LVL789:
- 7795 0000 38B5 push {r3, r4, r5, lr}
- 7796 .LCFI99:
- 7797 .cfi_def_cfa_offset 16
- 7798 .cfi_offset 3, -16
- 7799 .cfi_offset 4, -12
- 7800 .cfi_offset 5, -8
- 7801 .cfi_offset 14, -4
- 7802 0002 0446 mov r4, r0
- 7803 0004 0D46 mov r5, r1
-1193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7804 .loc 1 1193 0
- 7805 0006 0C29 cmp r1, #12
- 7806 0008 10D8 bhi .L668
- 7807 000a DFE801F0 tbb [pc, r1]
- 7808 .L670:
-ARM GAS /tmp/ccqsuCX7.s page 285
-
-
- 7809 000e 07 .byte (.L669-.L670)/2
- 7810 000f 0F .byte (.L668-.L670)/2
- 7811 0010 0F .byte (.L668-.L670)/2
- 7812 0011 0F .byte (.L668-.L670)/2
- 7813 0012 45 .byte (.L671-.L670)/2
- 7814 0013 0F .byte (.L668-.L670)/2
- 7815 0014 0F .byte (.L668-.L670)/2
- 7816 0015 0F .byte (.L668-.L670)/2
- 7817 0016 4E .byte (.L672-.L670)/2
- 7818 0017 0F .byte (.L668-.L670)/2
- 7819 0018 0F .byte (.L668-.L670)/2
- 7820 0019 0F .byte (.L668-.L670)/2
- 7821 001a 57 .byte (.L673-.L670)/2
- 7822 001b 00 .p2align 1
- 7823 .L669:
-1198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
- 7824 .loc 1 1198 0
- 7825 001c 0268 ldr r2, [r0]
- 7826 001e D368 ldr r3, [r2, #12]
- 7827 0020 23F40073 bic r3, r3, #512
- 7828 0024 D360 str r3, [r2, #12]
-1199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 7829 .loc 1 1199 0
- 7830 0026 406A ldr r0, [r0, #36]
- 7831 .LVL790:
- 7832 0028 FFF7FEFF bl HAL_DMA_Abort_IT
- 7833 .LVL791:
- 7834 .L668:
-1232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7835 .loc 1 1232 0
- 7836 002c 0022 movs r2, #0
- 7837 002e 2946 mov r1, r5
- 7838 0030 2068 ldr r0, [r4]
- 7839 0032 FFF7FEFF bl TIM_CCxChannelCmd
- 7840 .LVL792:
-1234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7841 .loc 1 1234 0
- 7842 0036 2368 ldr r3, [r4]
- 7843 0038 2D4A ldr r2, .L688
- 7844 003a 9342 cmp r3, r2
- 7845 003c 49D0 beq .L681
-1234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7846 .loc 1 1234 0 is_stmt 0 discriminator 2
- 7847 003e 02F50062 add r2, r2, #2048
- 7848 0042 9342 cmp r3, r2
- 7849 0044 43D0 beq .L684
-1234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7850 .loc 1 1234 0
- 7851 0046 0022 movs r2, #0
- 7852 .L674:
-1234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7853 .loc 1 1234 0 discriminator 6
- 7854 0048 6AB1 cbz r2, .L675
-1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7855 .loc 1 1237 0 is_stmt 1
- 7856 004a 196A ldr r1, [r3, #32]
- 7857 004c 41F21112 movw r2, #4369
-ARM GAS /tmp/ccqsuCX7.s page 286
-
-
- 7858 0050 1142 tst r1, r2
- 7859 0052 08D1 bne .L675
-1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7860 .loc 1 1237 0 is_stmt 0 discriminator 1
- 7861 0054 196A ldr r1, [r3, #32]
- 7862 0056 40F24442 movw r2, #1092
- 7863 005a 1142 tst r1, r2
- 7864 005c 03D1 bne .L675
-1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7865 .loc 1 1237 0 discriminator 2
- 7866 005e 5A6C ldr r2, [r3, #68]
- 7867 0060 22F40042 bic r2, r2, #32768
- 7868 0064 5A64 str r2, [r3, #68]
- 7869 .L675:
-1241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7870 .loc 1 1241 0 is_stmt 1
- 7871 0066 2368 ldr r3, [r4]
- 7872 0068 196A ldr r1, [r3, #32]
- 7873 006a 41F21112 movw r2, #4369
- 7874 006e 1142 tst r1, r2
- 7875 0070 08D1 bne .L676
-1241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7876 .loc 1 1241 0 is_stmt 0 discriminator 1
- 7877 0072 196A ldr r1, [r3, #32]
- 7878 0074 40F24442 movw r2, #1092
- 7879 0078 1142 tst r1, r2
- 7880 007a 03D1 bne .L676
-1241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7881 .loc 1 1241 0 discriminator 2
- 7882 007c 1A68 ldr r2, [r3]
- 7883 007e 22F00102 bic r2, r2, #1
- 7884 0082 1A60 str r2, [r3]
- 7885 .L676:
-1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7886 .loc 1 1244 0 is_stmt 1
- 7887 0084 3DB3 cbz r5, .L685
-1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7888 .loc 1 1244 0 is_stmt 0 discriminator 2
- 7889 0086 042D cmp r5, #4
- 7890 0088 29D0 beq .L686
-1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7891 .loc 1 1244 0 discriminator 4
- 7892 008a 082D cmp r5, #8
- 7893 008c 2BD0 beq .L687
-1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7894 .loc 1 1244 0 discriminator 7
- 7895 008e 0123 movs r3, #1
- 7896 0090 84F84130 strb r3, [r4, #65]
- 7897 .L678:
-1248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7898 .loc 1 1248 0 is_stmt 1
- 7899 0094 0020 movs r0, #0
- 7900 0096 38BD pop {r3, r4, r5, pc}
- 7901 .LVL793:
- 7902 .L671:
-1206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]);
- 7903 .loc 1 1206 0
-ARM GAS /tmp/ccqsuCX7.s page 287
-
-
- 7904 0098 0268 ldr r2, [r0]
- 7905 009a D368 ldr r3, [r2, #12]
- 7906 009c 23F48063 bic r3, r3, #1024
- 7907 00a0 D360 str r3, [r2, #12]
-1207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 7908 .loc 1 1207 0
- 7909 00a2 806A ldr r0, [r0, #40]
- 7910 .LVL794:
- 7911 00a4 FFF7FEFF bl HAL_DMA_Abort_IT
- 7912 .LVL795:
-1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7913 .loc 1 1208 0
- 7914 00a8 C0E7 b .L668
- 7915 .LVL796:
- 7916 .L672:
-1214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]);
- 7917 .loc 1 1214 0
- 7918 00aa 0268 ldr r2, [r0]
- 7919 00ac D368 ldr r3, [r2, #12]
- 7920 00ae 23F40063 bic r3, r3, #2048
- 7921 00b2 D360 str r3, [r2, #12]
-1215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 7922 .loc 1 1215 0
- 7923 00b4 C06A ldr r0, [r0, #44]
- 7924 .LVL797:
- 7925 00b6 FFF7FEFF bl HAL_DMA_Abort_IT
- 7926 .LVL798:
-1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7927 .loc 1 1216 0
- 7928 00ba B7E7 b .L668
- 7929 .LVL799:
- 7930 .L673:
-1222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]);
- 7931 .loc 1 1222 0
- 7932 00bc 0268 ldr r2, [r0]
- 7933 00be D368 ldr r3, [r2, #12]
- 7934 00c0 23F48053 bic r3, r3, #4096
- 7935 00c4 D360 str r3, [r2, #12]
-1223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 7936 .loc 1 1223 0
- 7937 00c6 006B ldr r0, [r0, #48]
- 7938 .LVL800:
- 7939 00c8 FFF7FEFF bl HAL_DMA_Abort_IT
- 7940 .LVL801:
-1224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 7941 .loc 1 1224 0
- 7942 00cc AEE7 b .L668
- 7943 .L684:
-1234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7944 .loc 1 1234 0
- 7945 00ce 0122 movs r2, #1
- 7946 00d0 BAE7 b .L674
- 7947 .L681:
- 7948 00d2 0122 movs r2, #1
- 7949 00d4 B8E7 b .L674
- 7950 .L685:
-1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 288
-
-
- 7951 .loc 1 1244 0 discriminator 1
- 7952 00d6 0123 movs r3, #1
- 7953 00d8 84F83E30 strb r3, [r4, #62]
- 7954 00dc DAE7 b .L678
- 7955 .L686:
-1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7956 .loc 1 1244 0 is_stmt 0 discriminator 3
- 7957 00de 0123 movs r3, #1
- 7958 00e0 84F83F30 strb r3, [r4, #63]
- 7959 00e4 D6E7 b .L678
- 7960 .L687:
-1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 7961 .loc 1 1244 0 discriminator 6
- 7962 00e6 0123 movs r3, #1
- 7963 00e8 84F84030 strb r3, [r4, #64]
- 7964 00ec D2E7 b .L678
- 7965 .L689:
- 7966 00ee 00BF .align 2
- 7967 .L688:
- 7968 00f0 002C0140 .word 1073818624
- 7969 .cfi_endproc
- 7970 .LFE84:
- 7972 .section .text.HAL_TIM_PWM_Start,"ax",%progbits
- 7973 .align 1
- 7974 .global HAL_TIM_PWM_Start
- 7975 .syntax unified
- 7976 .thumb
- 7977 .thumb_func
- 7978 .fpu softvfp
- 7980 HAL_TIM_PWM_Start:
- 7981 .LFB89:
-1424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 7982 .loc 1 1424 0 is_stmt 1
- 7983 .cfi_startproc
- 7984 @ args = 0, pretend = 0, frame = 0
- 7985 @ frame_needed = 0, uses_anonymous_args = 0
- 7986 .LVL802:
-1431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7987 .loc 1 1431 0
- 7988 0000 0A46 mov r2, r1
- 7989 0002 0029 cmp r1, #0
- 7990 0004 3FD1 bne .L691
-1431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7991 .loc 1 1431 0 is_stmt 0 discriminator 1
- 7992 0006 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2
- 7993 000a DBB2 uxtb r3, r3
- 7994 000c 13F1FF33 adds r3, r3, #-1
- 7995 0010 18BF it ne
- 7996 0012 0123 movne r3, #1
- 7997 .L692:
-1431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 7998 .loc 1 1431 0 discriminator 12
- 7999 0014 002B cmp r3, #0
- 8000 0016 71D1 bne .L704
-1424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 8001 .loc 1 1424 0 is_stmt 1
- 8002 0018 10B5 push {r4, lr}
-ARM GAS /tmp/ccqsuCX7.s page 289
-
-
- 8003 .LCFI100:
- 8004 .cfi_def_cfa_offset 8
- 8005 .cfi_offset 4, -8
- 8006 .cfi_offset 14, -4
-1437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8007 .loc 1 1437 0
- 8008 001a 002A cmp r2, #0
- 8009 001c 4FD1 bne .L696
-1437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8010 .loc 1 1437 0 is_stmt 0 discriminator 1
- 8011 001e 0223 movs r3, #2
- 8012 0020 80F83E30 strb r3, [r0, #62]
- 8013 .L697:
- 8014 0024 1146 mov r1, r2
- 8015 .LVL803:
- 8016 0026 0446 mov r4, r0
-1440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8017 .loc 1 1440 0 is_stmt 1
- 8018 0028 0122 movs r2, #1
- 8019 .LVL804:
- 8020 002a 0068 ldr r0, [r0]
- 8021 .LVL805:
- 8022 002c FFF7FEFF bl TIM_CCxChannelCmd
- 8023 .LVL806:
-1442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8024 .loc 1 1442 0
- 8025 0030 2368 ldr r3, [r4]
- 8026 0032 344A ldr r2, .L717
- 8027 0034 9342 cmp r3, r2
- 8028 0036 54D0 beq .L705
-1442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8029 .loc 1 1442 0 is_stmt 0 discriminator 2
- 8030 0038 02F50062 add r2, r2, #2048
- 8031 003c 9342 cmp r3, r2
- 8032 003e 4ED0 beq .L712
-1442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8033 .loc 1 1442 0
- 8034 0040 0022 movs r2, #0
- 8035 .L700:
-1442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8036 .loc 1 1442 0 discriminator 6
- 8037 0042 1AB1 cbz r2, .L701
-1445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8038 .loc 1 1445 0 is_stmt 1
- 8039 0044 5A6C ldr r2, [r3, #68]
- 8040 0046 42F40042 orr r2, r2, #32768
- 8041 004a 5A64 str r2, [r3, #68]
- 8042 .L701:
-1449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8043 .loc 1 1449 0
- 8044 004c 2368 ldr r3, [r4]
- 8045 004e 2D4A ldr r2, .L717
- 8046 0050 9342 cmp r3, r2
- 8047 0052 48D0 beq .L702
-1449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8048 .loc 1 1449 0 is_stmt 0 discriminator 1
- 8049 0054 02F50062 add r2, r2, #2048
-ARM GAS /tmp/ccqsuCX7.s page 290
-
-
- 8050 0058 9342 cmp r3, r2
- 8051 005a 44D0 beq .L702
-1449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8052 .loc 1 1449 0 discriminator 2
- 8053 005c B3F1804F cmp r3, #1073741824
- 8054 0060 41D0 beq .L702
-1449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8055 .loc 1 1449 0 discriminator 3
- 8056 0062 A2F59832 sub r2, r2, #77824
- 8057 0066 9342 cmp r3, r2
- 8058 0068 3DD0 beq .L702
-1449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8059 .loc 1 1449 0 discriminator 4
- 8060 006a 02F58062 add r2, r2, #1024
- 8061 006e 9342 cmp r3, r2
- 8062 0070 39D0 beq .L702
-1449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8063 .loc 1 1449 0 discriminator 5
- 8064 0072 02F58062 add r2, r2, #1024
- 8065 0076 9342 cmp r3, r2
- 8066 0078 35D0 beq .L702
-1459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8067 .loc 1 1459 0 is_stmt 1
- 8068 007a 1A68 ldr r2, [r3]
- 8069 007c 42F00102 orr r2, r2, #1
- 8070 0080 1A60 str r2, [r3]
-1463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8071 .loc 1 1463 0
- 8072 0082 0020 movs r0, #0
- 8073 0084 10BD pop {r4, pc}
- 8074 .LVL807:
- 8075 .L691:
- 8076 .LCFI101:
- 8077 .cfi_def_cfa_offset 0
- 8078 .cfi_restore 4
- 8079 .cfi_restore 14
-1431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8080 .loc 1 1431 0 discriminator 2
- 8081 0086 0429 cmp r1, #4
- 8082 0088 09D0 beq .L713
-1431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8083 .loc 1 1431 0 is_stmt 0 discriminator 5
- 8084 008a 0829 cmp r1, #8
- 8085 008c 0FD0 beq .L714
-1431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8086 .loc 1 1431 0 discriminator 8
- 8087 008e 90F84130 ldrb r3, [r0, #65] @ zero_extendqisi2
- 8088 0092 DBB2 uxtb r3, r3
- 8089 0094 13F1FF33 adds r3, r3, #-1
- 8090 0098 18BF it ne
- 8091 009a 0123 movne r3, #1
- 8092 009c BAE7 b .L692
- 8093 .L713:
-1431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8094 .loc 1 1431 0 discriminator 4
- 8095 009e 90F83F30 ldrb r3, [r0, #63] @ zero_extendqisi2
- 8096 00a2 DBB2 uxtb r3, r3
-ARM GAS /tmp/ccqsuCX7.s page 291
-
-
- 8097 00a4 13F1FF33 adds r3, r3, #-1
- 8098 00a8 18BF it ne
- 8099 00aa 0123 movne r3, #1
- 8100 00ac B2E7 b .L692
- 8101 .L714:
-1431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8102 .loc 1 1431 0 discriminator 7
- 8103 00ae 90F84030 ldrb r3, [r0, #64] @ zero_extendqisi2
- 8104 00b2 DBB2 uxtb r3, r3
- 8105 00b4 13F1FF33 adds r3, r3, #-1
- 8106 00b8 18BF it ne
- 8107 00ba 0123 movne r3, #1
- 8108 00bc AAE7 b .L692
- 8109 .L696:
- 8110 .LCFI102:
- 8111 .cfi_def_cfa_offset 8
- 8112 .cfi_offset 4, -8
- 8113 .cfi_offset 14, -4
-1437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8114 .loc 1 1437 0 is_stmt 1 discriminator 2
- 8115 00be 042A cmp r2, #4
- 8116 00c0 05D0 beq .L715
-1437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8117 .loc 1 1437 0 is_stmt 0 discriminator 4
- 8118 00c2 082A cmp r2, #8
- 8119 00c4 07D0 beq .L716
-1437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8120 .loc 1 1437 0 discriminator 7
- 8121 00c6 0223 movs r3, #2
- 8122 00c8 80F84130 strb r3, [r0, #65]
- 8123 00cc AAE7 b .L697
- 8124 .L715:
-1437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8125 .loc 1 1437 0 discriminator 3
- 8126 00ce 0223 movs r3, #2
- 8127 00d0 80F83F30 strb r3, [r0, #63]
- 8128 00d4 A6E7 b .L697
- 8129 .L716:
-1437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8130 .loc 1 1437 0 discriminator 6
- 8131 00d6 0223 movs r3, #2
- 8132 00d8 80F84030 strb r3, [r0, #64]
- 8133 00dc A2E7 b .L697
- 8134 .LVL808:
- 8135 .L712:
-1442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8136 .loc 1 1442 0 is_stmt 1
- 8137 00de 0122 movs r2, #1
- 8138 00e0 AFE7 b .L700
- 8139 .L705:
- 8140 00e2 0122 movs r2, #1
- 8141 00e4 ADE7 b .L700
- 8142 .L702:
-1451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 8143 .loc 1 1451 0
- 8144 00e6 9A68 ldr r2, [r3, #8]
- 8145 00e8 02F00702 and r2, r2, #7
-ARM GAS /tmp/ccqsuCX7.s page 292
-
-
- 8146 .LVL809:
-1452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8147 .loc 1 1452 0
- 8148 00ec 062A cmp r2, #6
- 8149 00ee 07D0 beq .L707
-1454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8150 .loc 1 1454 0
- 8151 00f0 1A68 ldr r2, [r3]
- 8152 .LVL810:
- 8153 00f2 42F00102 orr r2, r2, #1
- 8154 00f6 1A60 str r2, [r3]
-1463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8155 .loc 1 1463 0
- 8156 00f8 0020 movs r0, #0
- 8157 00fa 10BD pop {r4, pc}
- 8158 .LVL811:
- 8159 .L704:
- 8160 .LCFI103:
- 8161 .cfi_def_cfa_offset 0
- 8162 .cfi_restore 4
- 8163 .cfi_restore 14
-1433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8164 .loc 1 1433 0
- 8165 00fc 0120 movs r0, #1
- 8166 .LVL812:
- 8167 00fe 7047 bx lr
- 8168 .LVL813:
- 8169 .L707:
- 8170 .LCFI104:
- 8171 .cfi_def_cfa_offset 8
- 8172 .cfi_offset 4, -8
- 8173 .cfi_offset 14, -4
-1463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8174 .loc 1 1463 0
- 8175 0100 0020 movs r0, #0
-1464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8176 .loc 1 1464 0
- 8177 0102 10BD pop {r4, pc}
- 8178 .LVL814:
- 8179 .L718:
- 8180 .align 2
- 8181 .L717:
- 8182 0104 002C0140 .word 1073818624
- 8183 .cfi_endproc
- 8184 .LFE89:
- 8186 .section .text.HAL_TIM_PWM_Stop,"ax",%progbits
- 8187 .align 1
- 8188 .global HAL_TIM_PWM_Stop
- 8189 .syntax unified
- 8190 .thumb
- 8191 .thumb_func
- 8192 .fpu softvfp
- 8194 HAL_TIM_PWM_Stop:
- 8195 .LFB90:
-1478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 8196 .loc 1 1478 0
- 8197 .cfi_startproc
-ARM GAS /tmp/ccqsuCX7.s page 293
-
-
- 8198 @ args = 0, pretend = 0, frame = 0
- 8199 @ frame_needed = 0, uses_anonymous_args = 0
- 8200 .LVL815:
- 8201 0000 38B5 push {r3, r4, r5, lr}
- 8202 .LCFI105:
- 8203 .cfi_def_cfa_offset 16
- 8204 .cfi_offset 3, -16
- 8205 .cfi_offset 4, -12
- 8206 .cfi_offset 5, -8
- 8207 .cfi_offset 14, -4
- 8208 0002 0446 mov r4, r0
- 8209 0004 0D46 mov r5, r1
-1483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8210 .loc 1 1483 0
- 8211 0006 0022 movs r2, #0
- 8212 0008 0068 ldr r0, [r0]
- 8213 .LVL816:
- 8214 000a FFF7FEFF bl TIM_CCxChannelCmd
- 8215 .LVL817:
-1485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8216 .loc 1 1485 0
- 8217 000e 2368 ldr r3, [r4]
- 8218 0010 1F4A ldr r2, .L734
- 8219 0012 9342 cmp r3, r2
- 8220 0014 2ED0 beq .L727
-1485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8221 .loc 1 1485 0 is_stmt 0 discriminator 2
- 8222 0016 02F50062 add r2, r2, #2048
- 8223 001a 9342 cmp r3, r2
- 8224 001c 28D0 beq .L730
-1485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8225 .loc 1 1485 0
- 8226 001e 0022 movs r2, #0
- 8227 .L720:
-1485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8228 .loc 1 1485 0 discriminator 6
- 8229 0020 6AB1 cbz r2, .L721
-1488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8230 .loc 1 1488 0 is_stmt 1
- 8231 0022 196A ldr r1, [r3, #32]
- 8232 0024 41F21112 movw r2, #4369
- 8233 0028 1142 tst r1, r2
- 8234 002a 08D1 bne .L721
-1488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8235 .loc 1 1488 0 is_stmt 0 discriminator 1
- 8236 002c 196A ldr r1, [r3, #32]
- 8237 002e 40F24442 movw r2, #1092
- 8238 0032 1142 tst r1, r2
- 8239 0034 03D1 bne .L721
-1488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8240 .loc 1 1488 0 discriminator 2
- 8241 0036 5A6C ldr r2, [r3, #68]
- 8242 0038 22F40042 bic r2, r2, #32768
- 8243 003c 5A64 str r2, [r3, #68]
- 8244 .L721:
-1492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8245 .loc 1 1492 0 is_stmt 1
-ARM GAS /tmp/ccqsuCX7.s page 294
-
-
- 8246 003e 2368 ldr r3, [r4]
- 8247 0040 196A ldr r1, [r3, #32]
- 8248 0042 41F21112 movw r2, #4369
- 8249 0046 1142 tst r1, r2
- 8250 0048 08D1 bne .L722
-1492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8251 .loc 1 1492 0 is_stmt 0 discriminator 1
- 8252 004a 196A ldr r1, [r3, #32]
- 8253 004c 40F24442 movw r2, #1092
- 8254 0050 1142 tst r1, r2
- 8255 0052 03D1 bne .L722
-1492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8256 .loc 1 1492 0 discriminator 2
- 8257 0054 1A68 ldr r2, [r3]
- 8258 0056 22F00102 bic r2, r2, #1
- 8259 005a 1A60 str r2, [r3]
- 8260 .L722:
-1495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8261 .loc 1 1495 0 is_stmt 1
- 8262 005c 65B1 cbz r5, .L731
-1495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8263 .loc 1 1495 0 is_stmt 0 discriminator 2
- 8264 005e 042D cmp r5, #4
- 8265 0060 0ED0 beq .L732
-1495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8266 .loc 1 1495 0 discriminator 4
- 8267 0062 082D cmp r5, #8
- 8268 0064 10D0 beq .L733
-1495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8269 .loc 1 1495 0 discriminator 7
- 8270 0066 0123 movs r3, #1
- 8271 0068 84F84130 strb r3, [r4, #65]
- 8272 .L724:
-1499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8273 .loc 1 1499 0 is_stmt 1
- 8274 006c 0020 movs r0, #0
- 8275 006e 38BD pop {r3, r4, r5, pc}
- 8276 .LVL818:
- 8277 .L730:
-1485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8278 .loc 1 1485 0
- 8279 0070 0122 movs r2, #1
- 8280 0072 D5E7 b .L720
- 8281 .L727:
- 8282 0074 0122 movs r2, #1
- 8283 0076 D3E7 b .L720
- 8284 .L731:
-1495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8285 .loc 1 1495 0 discriminator 1
- 8286 0078 0123 movs r3, #1
- 8287 007a 84F83E30 strb r3, [r4, #62]
- 8288 007e F5E7 b .L724
- 8289 .L732:
-1495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8290 .loc 1 1495 0 is_stmt 0 discriminator 3
- 8291 0080 0123 movs r3, #1
- 8292 0082 84F83F30 strb r3, [r4, #63]
-ARM GAS /tmp/ccqsuCX7.s page 295
-
-
- 8293 0086 F1E7 b .L724
- 8294 .L733:
-1495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8295 .loc 1 1495 0 discriminator 6
- 8296 0088 0123 movs r3, #1
- 8297 008a 84F84030 strb r3, [r4, #64]
- 8298 008e EDE7 b .L724
- 8299 .L735:
- 8300 .align 2
- 8301 .L734:
- 8302 0090 002C0140 .word 1073818624
- 8303 .cfi_endproc
- 8304 .LFE90:
- 8306 .section .text.HAL_TIM_PWM_Start_IT,"ax",%progbits
- 8307 .align 1
- 8308 .global HAL_TIM_PWM_Start_IT
- 8309 .syntax unified
- 8310 .thumb
- 8311 .thumb_func
- 8312 .fpu softvfp
- 8314 HAL_TIM_PWM_Start_IT:
- 8315 .LFB91:
-1513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 8316 .loc 1 1513 0 is_stmt 1
- 8317 .cfi_startproc
- 8318 @ args = 0, pretend = 0, frame = 0
- 8319 @ frame_needed = 0, uses_anonymous_args = 0
- 8320 .LVL819:
-1519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8321 .loc 1 1519 0
- 8322 0000 0B46 mov r3, r1
- 8323 0002 C9B9 cbnz r1, .L737
-1519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8324 .loc 1 1519 0 is_stmt 0 discriminator 1
- 8325 0004 90F83E20 ldrb r2, [r0, #62] @ zero_extendqisi2
- 8326 0008 D2B2 uxtb r2, r2
- 8327 000a 12F1FF32 adds r2, r2, #-1
- 8328 000e 18BF it ne
- 8329 0010 0122 movne r2, #1
- 8330 .L738:
-1519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8331 .loc 1 1519 0 discriminator 12
- 8332 0012 002A cmp r2, #0
- 8333 0014 40F09380 bne .L756
-1513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 8334 .loc 1 1513 0 is_stmt 1
- 8335 0018 10B5 push {r4, lr}
- 8336 .LCFI106:
- 8337 .cfi_def_cfa_offset 8
- 8338 .cfi_offset 4, -8
- 8339 .cfi_offset 14, -4
-1525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8340 .loc 1 1525 0
- 8341 001a 4BBB cbnz r3, .L742
-1525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8342 .loc 1 1525 0 is_stmt 0 discriminator 1
- 8343 001c 0222 movs r2, #2
-ARM GAS /tmp/ccqsuCX7.s page 296
-
-
- 8344 001e 80F83E20 strb r2, [r0, #62]
- 8345 .L743:
-1527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8346 .loc 1 1527 0 is_stmt 1
- 8347 0022 0C2B cmp r3, #12
- 8348 0024 39D8 bhi .L746
- 8349 0026 DFE803F0 tbb [pc, r3]
- 8350 .L748:
- 8351 002a 33 .byte (.L747-.L748)/2
- 8352 002b 38 .byte (.L746-.L748)/2
- 8353 002c 38 .byte (.L746-.L748)/2
- 8354 002d 38 .byte (.L746-.L748)/2
- 8355 002e 69 .byte (.L749-.L748)/2
- 8356 002f 38 .byte (.L746-.L748)/2
- 8357 0030 38 .byte (.L746-.L748)/2
- 8358 0031 38 .byte (.L746-.L748)/2
- 8359 0032 6F .byte (.L750-.L748)/2
- 8360 0033 38 .byte (.L746-.L748)/2
- 8361 0034 38 .byte (.L746-.L748)/2
- 8362 0035 38 .byte (.L746-.L748)/2
- 8363 0036 75 .byte (.L751-.L748)/2
- 8364 0037 00 .p2align 1
- 8365 .L737:
- 8366 .LCFI107:
- 8367 .cfi_def_cfa_offset 0
- 8368 .cfi_restore 4
- 8369 .cfi_restore 14
-1519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8370 .loc 1 1519 0 discriminator 2
- 8371 0038 0429 cmp r1, #4
- 8372 003a 09D0 beq .L764
-1519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8373 .loc 1 1519 0 is_stmt 0 discriminator 5
- 8374 003c 0829 cmp r1, #8
- 8375 003e 0FD0 beq .L765
-1519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8376 .loc 1 1519 0 discriminator 8
- 8377 0040 90F84120 ldrb r2, [r0, #65] @ zero_extendqisi2
- 8378 0044 D2B2 uxtb r2, r2
- 8379 0046 12F1FF32 adds r2, r2, #-1
- 8380 004a 18BF it ne
- 8381 004c 0122 movne r2, #1
- 8382 004e E0E7 b .L738
- 8383 .L764:
-1519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8384 .loc 1 1519 0 discriminator 4
- 8385 0050 90F83F20 ldrb r2, [r0, #63] @ zero_extendqisi2
- 8386 0054 D2B2 uxtb r2, r2
- 8387 0056 12F1FF32 adds r2, r2, #-1
- 8388 005a 18BF it ne
- 8389 005c 0122 movne r2, #1
- 8390 005e D8E7 b .L738
- 8391 .L765:
-1519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8392 .loc 1 1519 0 discriminator 7
- 8393 0060 90F84020 ldrb r2, [r0, #64] @ zero_extendqisi2
- 8394 0064 D2B2 uxtb r2, r2
-ARM GAS /tmp/ccqsuCX7.s page 297
-
-
- 8395 0066 12F1FF32 adds r2, r2, #-1
- 8396 006a 18BF it ne
- 8397 006c 0122 movne r2, #1
- 8398 006e D0E7 b .L738
- 8399 .L742:
- 8400 .LCFI108:
- 8401 .cfi_def_cfa_offset 8
- 8402 .cfi_offset 4, -8
- 8403 .cfi_offset 14, -4
-1525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8404 .loc 1 1525 0 is_stmt 1 discriminator 2
- 8405 0070 042B cmp r3, #4
- 8406 0072 05D0 beq .L766
-1525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8407 .loc 1 1525 0 is_stmt 0 discriminator 4
- 8408 0074 082B cmp r3, #8
- 8409 0076 07D0 beq .L767
-1525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8410 .loc 1 1525 0 discriminator 7
- 8411 0078 0222 movs r2, #2
- 8412 007a 80F84120 strb r2, [r0, #65]
- 8413 007e D0E7 b .L743
- 8414 .L766:
-1525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8415 .loc 1 1525 0 discriminator 3
- 8416 0080 0222 movs r2, #2
- 8417 0082 80F83F20 strb r2, [r0, #63]
- 8418 0086 CCE7 b .L743
- 8419 .L767:
-1525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8420 .loc 1 1525 0 discriminator 6
- 8421 0088 0222 movs r2, #2
- 8422 008a 80F84020 strb r2, [r0, #64]
- 8423 008e C8E7 b .L743
- 8424 .L747:
-1532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 8425 .loc 1 1532 0 is_stmt 1
- 8426 0090 0168 ldr r1, [r0]
- 8427 .LVL820:
- 8428 0092 CA68 ldr r2, [r1, #12]
- 8429 0094 42F00202 orr r2, r2, #2
- 8430 0098 CA60 str r2, [r1, #12]
- 8431 .L746:
- 8432 009a 1946 mov r1, r3
- 8433 009c 0446 mov r4, r0
-1562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8434 .loc 1 1562 0
- 8435 009e 0122 movs r2, #1
- 8436 00a0 0068 ldr r0, [r0]
- 8437 .LVL821:
- 8438 00a2 FFF7FEFF bl TIM_CCxChannelCmd
- 8439 .LVL822:
-1564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8440 .loc 1 1564 0
- 8441 00a6 2368 ldr r3, [r4]
- 8442 00a8 274A ldr r2, .L769
- 8443 00aa 9342 cmp r3, r2
-ARM GAS /tmp/ccqsuCX7.s page 298
-
-
- 8444 00ac 3AD0 beq .L757
-1564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8445 .loc 1 1564 0 is_stmt 0 discriminator 2
- 8446 00ae 02F50062 add r2, r2, #2048
- 8447 00b2 9342 cmp r3, r2
- 8448 00b4 34D0 beq .L768
-1564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8449 .loc 1 1564 0
- 8450 00b6 0022 movs r2, #0
- 8451 .L752:
-1564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8452 .loc 1 1564 0 discriminator 6
- 8453 00b8 1AB1 cbz r2, .L753
-1567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8454 .loc 1 1567 0 is_stmt 1
- 8455 00ba 5A6C ldr r2, [r3, #68]
- 8456 00bc 42F40042 orr r2, r2, #32768
- 8457 00c0 5A64 str r2, [r3, #68]
- 8458 .L753:
-1571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8459 .loc 1 1571 0
- 8460 00c2 2368 ldr r3, [r4]
- 8461 00c4 204A ldr r2, .L769
- 8462 00c6 9342 cmp r3, r2
- 8463 00c8 2ED0 beq .L754
-1571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8464 .loc 1 1571 0 is_stmt 0 discriminator 1
- 8465 00ca 02F50062 add r2, r2, #2048
- 8466 00ce 9342 cmp r3, r2
- 8467 00d0 2AD0 beq .L754
-1571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8468 .loc 1 1571 0 discriminator 2
- 8469 00d2 B3F1804F cmp r3, #1073741824
- 8470 00d6 27D0 beq .L754
-1571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8471 .loc 1 1571 0 discriminator 3
- 8472 00d8 A2F59832 sub r2, r2, #77824
- 8473 00dc 9342 cmp r3, r2
- 8474 00de 23D0 beq .L754
-1571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8475 .loc 1 1571 0 discriminator 4
- 8476 00e0 02F58062 add r2, r2, #1024
- 8477 00e4 9342 cmp r3, r2
- 8478 00e6 1FD0 beq .L754
-1571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8479 .loc 1 1571 0 discriminator 5
- 8480 00e8 02F58062 add r2, r2, #1024
- 8481 00ec 9342 cmp r3, r2
- 8482 00ee 1BD0 beq .L754
-1581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8483 .loc 1 1581 0 is_stmt 1
- 8484 00f0 1A68 ldr r2, [r3]
- 8485 00f2 42F00102 orr r2, r2, #1
- 8486 00f6 1A60 str r2, [r3]
-1585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8487 .loc 1 1585 0
- 8488 00f8 0020 movs r0, #0
-ARM GAS /tmp/ccqsuCX7.s page 299
-
-
- 8489 00fa 10BD pop {r4, pc}
- 8490 .LVL823:
- 8491 .L749:
-1539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 8492 .loc 1 1539 0
- 8493 00fc 0168 ldr r1, [r0]
- 8494 .LVL824:
- 8495 00fe CA68 ldr r2, [r1, #12]
- 8496 0100 42F00402 orr r2, r2, #4
- 8497 0104 CA60 str r2, [r1, #12]
-1540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8498 .loc 1 1540 0
- 8499 0106 C8E7 b .L746
- 8500 .LVL825:
- 8501 .L750:
-1546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 8502 .loc 1 1546 0
- 8503 0108 0168 ldr r1, [r0]
- 8504 .LVL826:
- 8505 010a CA68 ldr r2, [r1, #12]
- 8506 010c 42F00802 orr r2, r2, #8
- 8507 0110 CA60 str r2, [r1, #12]
-1547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8508 .loc 1 1547 0
- 8509 0112 C2E7 b .L746
- 8510 .LVL827:
- 8511 .L751:
-1553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 8512 .loc 1 1553 0
- 8513 0114 0168 ldr r1, [r0]
- 8514 .LVL828:
- 8515 0116 CA68 ldr r2, [r1, #12]
- 8516 0118 42F01002 orr r2, r2, #16
- 8517 011c CA60 str r2, [r1, #12]
-1554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8518 .loc 1 1554 0
- 8519 011e BCE7 b .L746
- 8520 .LVL829:
- 8521 .L768:
-1564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8522 .loc 1 1564 0
- 8523 0120 0122 movs r2, #1
- 8524 0122 C9E7 b .L752
- 8525 .L757:
- 8526 0124 0122 movs r2, #1
- 8527 0126 C7E7 b .L752
- 8528 .L754:
-1573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 8529 .loc 1 1573 0
- 8530 0128 9A68 ldr r2, [r3, #8]
- 8531 012a 02F00702 and r2, r2, #7
- 8532 .LVL830:
-1574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8533 .loc 1 1574 0
- 8534 012e 062A cmp r2, #6
- 8535 0130 07D0 beq .L759
-1576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-ARM GAS /tmp/ccqsuCX7.s page 300
-
-
- 8536 .loc 1 1576 0
- 8537 0132 1A68 ldr r2, [r3]
- 8538 .LVL831:
- 8539 0134 42F00102 orr r2, r2, #1
- 8540 0138 1A60 str r2, [r3]
-1585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8541 .loc 1 1585 0
- 8542 013a 0020 movs r0, #0
- 8543 013c 10BD pop {r4, pc}
- 8544 .LVL832:
- 8545 .L756:
- 8546 .LCFI109:
- 8547 .cfi_def_cfa_offset 0
- 8548 .cfi_restore 4
- 8549 .cfi_restore 14
-1521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8550 .loc 1 1521 0
- 8551 013e 0120 movs r0, #1
- 8552 .LVL833:
- 8553 0140 7047 bx lr
- 8554 .LVL834:
- 8555 .L759:
- 8556 .LCFI110:
- 8557 .cfi_def_cfa_offset 8
- 8558 .cfi_offset 4, -8
- 8559 .cfi_offset 14, -4
-1585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8560 .loc 1 1585 0
- 8561 0142 0020 movs r0, #0
-1586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8562 .loc 1 1586 0
- 8563 0144 10BD pop {r4, pc}
- 8564 .LVL835:
- 8565 .L770:
- 8566 0146 00BF .align 2
- 8567 .L769:
- 8568 0148 002C0140 .word 1073818624
- 8569 .cfi_endproc
- 8570 .LFE91:
- 8572 .section .text.HAL_TIM_PWM_Stop_IT,"ax",%progbits
- 8573 .align 1
- 8574 .global HAL_TIM_PWM_Stop_IT
- 8575 .syntax unified
- 8576 .thumb
- 8577 .thumb_func
- 8578 .fpu softvfp
- 8580 HAL_TIM_PWM_Stop_IT:
- 8581 .LFB92:
-1600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 8582 .loc 1 1600 0
- 8583 .cfi_startproc
- 8584 @ args = 0, pretend = 0, frame = 0
- 8585 @ frame_needed = 0, uses_anonymous_args = 0
- 8586 .LVL836:
- 8587 0000 38B5 push {r3, r4, r5, lr}
- 8588 .LCFI111:
- 8589 .cfi_def_cfa_offset 16
-ARM GAS /tmp/ccqsuCX7.s page 301
-
-
- 8590 .cfi_offset 3, -16
- 8591 .cfi_offset 4, -12
- 8592 .cfi_offset 5, -8
- 8593 .cfi_offset 14, -4
- 8594 0002 0546 mov r5, r0
- 8595 0004 0C46 mov r4, r1
-1604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8596 .loc 1 1604 0
- 8597 0006 0C29 cmp r1, #12
- 8598 0008 0DD8 bhi .L772
- 8599 000a DFE801F0 tbb [pc, r1]
- 8600 .L774:
- 8601 000e 07 .byte (.L773-.L774)/2
- 8602 000f 0C .byte (.L772-.L774)/2
- 8603 0010 0C .byte (.L772-.L774)/2
- 8604 0011 0C .byte (.L772-.L774)/2
- 8605 0012 42 .byte (.L775-.L774)/2
- 8606 0013 0C .byte (.L772-.L774)/2
- 8607 0014 0C .byte (.L772-.L774)/2
- 8608 0015 0C .byte (.L772-.L774)/2
- 8609 0016 48 .byte (.L776-.L774)/2
- 8610 0017 0C .byte (.L772-.L774)/2
- 8611 0018 0C .byte (.L772-.L774)/2
- 8612 0019 0C .byte (.L772-.L774)/2
- 8613 001a 4E .byte (.L777-.L774)/2
- 8614 001b 00 .p2align 1
- 8615 .L773:
-1609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 8616 .loc 1 1609 0
- 8617 001c 0268 ldr r2, [r0]
- 8618 001e D368 ldr r3, [r2, #12]
- 8619 0020 23F00203 bic r3, r3, #2
- 8620 0024 D360 str r3, [r2, #12]
- 8621 .L772:
-1639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8622 .loc 1 1639 0
- 8623 0026 0022 movs r2, #0
- 8624 0028 2146 mov r1, r4
- 8625 .LVL837:
- 8626 002a 2868 ldr r0, [r5]
- 8627 .LVL838:
- 8628 002c FFF7FEFF bl TIM_CCxChannelCmd
- 8629 .LVL839:
-1641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8630 .loc 1 1641 0
- 8631 0030 2B68 ldr r3, [r5]
- 8632 0032 294A ldr r2, .L792
- 8633 0034 9342 cmp r3, r2
- 8634 0036 40D0 beq .L785
-1641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8635 .loc 1 1641 0 is_stmt 0 discriminator 2
- 8636 0038 02F50062 add r2, r2, #2048
- 8637 003c 9342 cmp r3, r2
- 8638 003e 3AD0 beq .L788
-1641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8639 .loc 1 1641 0
- 8640 0040 0022 movs r2, #0
-ARM GAS /tmp/ccqsuCX7.s page 302
-
-
- 8641 .L778:
-1641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8642 .loc 1 1641 0 discriminator 6
- 8643 0042 6AB1 cbz r2, .L779
-1644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8644 .loc 1 1644 0 is_stmt 1
- 8645 0044 196A ldr r1, [r3, #32]
- 8646 0046 41F21112 movw r2, #4369
- 8647 004a 1142 tst r1, r2
- 8648 004c 08D1 bne .L779
-1644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8649 .loc 1 1644 0 is_stmt 0 discriminator 1
- 8650 004e 196A ldr r1, [r3, #32]
- 8651 0050 40F24442 movw r2, #1092
- 8652 0054 1142 tst r1, r2
- 8653 0056 03D1 bne .L779
-1644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8654 .loc 1 1644 0 discriminator 2
- 8655 0058 5A6C ldr r2, [r3, #68]
- 8656 005a 22F40042 bic r2, r2, #32768
- 8657 005e 5A64 str r2, [r3, #68]
- 8658 .L779:
-1648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8659 .loc 1 1648 0 is_stmt 1
- 8660 0060 2B68 ldr r3, [r5]
- 8661 0062 196A ldr r1, [r3, #32]
- 8662 0064 41F21112 movw r2, #4369
- 8663 0068 1142 tst r1, r2
- 8664 006a 08D1 bne .L780
-1648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8665 .loc 1 1648 0 is_stmt 0 discriminator 1
- 8666 006c 196A ldr r1, [r3, #32]
- 8667 006e 40F24442 movw r2, #1092
- 8668 0072 1142 tst r1, r2
- 8669 0074 03D1 bne .L780
-1648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8670 .loc 1 1648 0 discriminator 2
- 8671 0076 1A68 ldr r2, [r3]
- 8672 0078 22F00102 bic r2, r2, #1
- 8673 007c 1A60 str r2, [r3]
- 8674 .L780:
-1651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8675 .loc 1 1651 0 is_stmt 1
- 8676 007e F4B1 cbz r4, .L789
-1651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8677 .loc 1 1651 0 is_stmt 0 discriminator 2
- 8678 0080 042C cmp r4, #4
- 8679 0082 20D0 beq .L790
-1651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8680 .loc 1 1651 0 discriminator 4
- 8681 0084 082C cmp r4, #8
- 8682 0086 22D0 beq .L791
-1651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8683 .loc 1 1651 0 discriminator 7
- 8684 0088 0123 movs r3, #1
- 8685 008a 85F84130 strb r3, [r5, #65]
- 8686 .L782:
-ARM GAS /tmp/ccqsuCX7.s page 303
-
-
-1655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8687 .loc 1 1655 0 is_stmt 1
- 8688 008e 0020 movs r0, #0
- 8689 0090 38BD pop {r3, r4, r5, pc}
- 8690 .LVL840:
- 8691 .L775:
-1616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 8692 .loc 1 1616 0
- 8693 0092 0268 ldr r2, [r0]
- 8694 0094 D368 ldr r3, [r2, #12]
- 8695 0096 23F00403 bic r3, r3, #4
- 8696 009a D360 str r3, [r2, #12]
-1617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8697 .loc 1 1617 0
- 8698 009c C3E7 b .L772
- 8699 .L776:
-1623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 8700 .loc 1 1623 0
- 8701 009e 0268 ldr r2, [r0]
- 8702 00a0 D368 ldr r3, [r2, #12]
- 8703 00a2 23F00803 bic r3, r3, #8
- 8704 00a6 D360 str r3, [r2, #12]
-1624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8705 .loc 1 1624 0
- 8706 00a8 BDE7 b .L772
- 8707 .L777:
-1630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 8708 .loc 1 1630 0
- 8709 00aa 0268 ldr r2, [r0]
- 8710 00ac D368 ldr r3, [r2, #12]
- 8711 00ae 23F01003 bic r3, r3, #16
- 8712 00b2 D360 str r3, [r2, #12]
-1631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8713 .loc 1 1631 0
- 8714 00b4 B7E7 b .L772
- 8715 .LVL841:
- 8716 .L788:
-1641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8717 .loc 1 1641 0
- 8718 00b6 0122 movs r2, #1
- 8719 00b8 C3E7 b .L778
- 8720 .L785:
- 8721 00ba 0122 movs r2, #1
- 8722 00bc C1E7 b .L778
- 8723 .L789:
-1651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8724 .loc 1 1651 0 discriminator 1
- 8725 00be 0123 movs r3, #1
- 8726 00c0 85F83E30 strb r3, [r5, #62]
- 8727 00c4 E3E7 b .L782
- 8728 .L790:
-1651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8729 .loc 1 1651 0 is_stmt 0 discriminator 3
- 8730 00c6 0123 movs r3, #1
- 8731 00c8 85F83F30 strb r3, [r5, #63]
- 8732 00cc DFE7 b .L782
- 8733 .L791:
-ARM GAS /tmp/ccqsuCX7.s page 304
-
-
-1651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8734 .loc 1 1651 0 discriminator 6
- 8735 00ce 0123 movs r3, #1
- 8736 00d0 85F84030 strb r3, [r5, #64]
- 8737 00d4 DBE7 b .L782
- 8738 .L793:
- 8739 00d6 00BF .align 2
- 8740 .L792:
- 8741 00d8 002C0140 .word 1073818624
- 8742 .cfi_endproc
- 8743 .LFE92:
- 8745 .section .text.HAL_TIM_PWM_Start_DMA,"ax",%progbits
- 8746 .align 1
- 8747 .global HAL_TIM_PWM_Start_DMA
- 8748 .syntax unified
- 8749 .thumb
- 8750 .thumb_func
- 8751 .fpu softvfp
- 8753 HAL_TIM_PWM_Start_DMA:
- 8754 .LFB93:
-1671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 8755 .loc 1 1671 0 is_stmt 1
- 8756 .cfi_startproc
- 8757 @ args = 0, pretend = 0, frame = 0
- 8758 @ frame_needed = 0, uses_anonymous_args = 0
- 8759 .LVL842:
- 8760 0000 38B5 push {r3, r4, r5, lr}
- 8761 .LCFI112:
- 8762 .cfi_def_cfa_offset 16
- 8763 .cfi_offset 3, -16
- 8764 .cfi_offset 4, -12
- 8765 .cfi_offset 5, -8
- 8766 .cfi_offset 14, -4
-1678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8767 .loc 1 1678 0
- 8768 0002 0D46 mov r5, r1
- 8769 0004 49B9 cbnz r1, .L795
-1678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8770 .loc 1 1678 0 is_stmt 0 discriminator 1
- 8771 0006 90F83E40 ldrb r4, [r0, #62] @ zero_extendqisi2
- 8772 000a E4B2 uxtb r4, r4
- 8773 000c 022C cmp r4, #2
- 8774 000e 14BF ite ne
- 8775 0010 0024 movne r4, #0
- 8776 0012 0124 moveq r4, #1
- 8777 .L796:
-1678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8778 .loc 1 1678 0 discriminator 12
- 8779 0014 ECB1 cbz r4, .L830
-1680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8780 .loc 1 1680 0 is_stmt 1
- 8781 0016 0220 movs r0, #2
- 8782 .LVL843:
- 8783 0018 38BD pop {r3, r4, r5, pc}
- 8784 .LVL844:
- 8785 .L795:
-1678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-ARM GAS /tmp/ccqsuCX7.s page 305
-
-
- 8786 .loc 1 1678 0 discriminator 2
- 8787 001a 0429 cmp r1, #4
- 8788 001c 09D0 beq .L831
-1678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8789 .loc 1 1678 0 is_stmt 0 discriminator 5
- 8790 001e 0829 cmp r1, #8
- 8791 0020 0FD0 beq .L832
-1678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8792 .loc 1 1678 0 discriminator 8
- 8793 0022 90F84140 ldrb r4, [r0, #65] @ zero_extendqisi2
- 8794 0026 E4B2 uxtb r4, r4
- 8795 0028 022C cmp r4, #2
- 8796 002a 14BF ite ne
- 8797 002c 0024 movne r4, #0
- 8798 002e 0124 moveq r4, #1
- 8799 0030 F0E7 b .L796
- 8800 .L831:
-1678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8801 .loc 1 1678 0 discriminator 4
- 8802 0032 90F83F40 ldrb r4, [r0, #63] @ zero_extendqisi2
- 8803 0036 E4B2 uxtb r4, r4
- 8804 0038 022C cmp r4, #2
- 8805 003a 14BF ite ne
- 8806 003c 0024 movne r4, #0
- 8807 003e 0124 moveq r4, #1
- 8808 0040 E8E7 b .L796
- 8809 .L832:
-1678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8810 .loc 1 1678 0 discriminator 7
- 8811 0042 90F84040 ldrb r4, [r0, #64] @ zero_extendqisi2
- 8812 0046 E4B2 uxtb r4, r4
- 8813 0048 022C cmp r4, #2
- 8814 004a 14BF ite ne
- 8815 004c 0024 movne r4, #0
- 8816 004e 0124 moveq r4, #1
- 8817 0050 E0E7 b .L796
- 8818 .L830:
-1682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8819 .loc 1 1682 0 is_stmt 1
- 8820 0052 E5B9 cbnz r5, .L800
-1682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8821 .loc 1 1682 0 is_stmt 0 discriminator 1
- 8822 0054 90F83E10 ldrb r1, [r0, #62] @ zero_extendqisi2
- 8823 .LVL845:
- 8824 0058 C9B2 uxtb r1, r1
- 8825 005a 0129 cmp r1, #1
- 8826 005c 14BF ite ne
- 8827 005e 0021 movne r1, #0
- 8828 0060 0121 moveq r1, #1
- 8829 .L801:
-1682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8830 .loc 1 1682 0 discriminator 12
- 8831 0062 0029 cmp r1, #0
- 8832 0064 00F0D980 beq .L820
-1684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8833 .loc 1 1684 0 is_stmt 1
- 8834 0068 6AB3 cbz r2, .L833
-ARM GAS /tmp/ccqsuCX7.s page 306
-
-
- 8835 .L804:
-1690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8836 .loc 1 1690 0
- 8837 006a 002D cmp r5, #0
- 8838 006c 2FD1 bne .L805
-1690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8839 .loc 1 1690 0 is_stmt 0 discriminator 1
- 8840 006e 0221 movs r1, #2
- 8841 0070 80F83E10 strb r1, [r0, #62]
- 8842 .L806:
- 8843 0074 1146 mov r1, r2
- 8844 0076 0446 mov r4, r0
-1698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8845 .loc 1 1698 0 is_stmt 1
- 8846 0078 0C2D cmp r5, #12
- 8847 007a 4ED8 bhi .L809
- 8848 007c DFE805F0 tbb [pc, r5]
- 8849 .LVL846:
- 8850 .L811:
- 8851 0080 37 .byte (.L810-.L811)/2
- 8852 0081 4D .byte (.L809-.L811)/2
- 8853 0082 4D .byte (.L809-.L811)/2
- 8854 0083 4D .byte (.L809-.L811)/2
- 8855 0084 7D .byte (.L812-.L811)/2
- 8856 0085 4D .byte (.L809-.L811)/2
- 8857 0086 4D .byte (.L809-.L811)/2
- 8858 0087 4D .byte (.L809-.L811)/2
- 8859 0088 93 .byte (.L813-.L811)/2
- 8860 0089 4D .byte (.L809-.L811)/2
- 8861 008a 4D .byte (.L809-.L811)/2
- 8862 008b 4D .byte (.L809-.L811)/2
- 8863 008c A9 .byte (.L814-.L811)/2
- 8864 008d 00 .p2align 1
- 8865 .L800:
-1682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8866 .loc 1 1682 0 discriminator 2
- 8867 008e 042D cmp r5, #4
- 8868 0090 09D0 beq .L834
-1682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8869 .loc 1 1682 0 is_stmt 0 discriminator 5
- 8870 0092 082D cmp r5, #8
- 8871 0094 0FD0 beq .L835
-1682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8872 .loc 1 1682 0 discriminator 8
- 8873 0096 90F84110 ldrb r1, [r0, #65] @ zero_extendqisi2
- 8874 .LVL847:
- 8875 009a C9B2 uxtb r1, r1
- 8876 009c 0129 cmp r1, #1
- 8877 009e 14BF ite ne
- 8878 00a0 0021 movne r1, #0
- 8879 00a2 0121 moveq r1, #1
- 8880 00a4 DDE7 b .L801
- 8881 .LVL848:
- 8882 .L834:
-1682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8883 .loc 1 1682 0 discriminator 4
- 8884 00a6 90F83F10 ldrb r1, [r0, #63] @ zero_extendqisi2
-ARM GAS /tmp/ccqsuCX7.s page 307
-
-
- 8885 .LVL849:
- 8886 00aa C9B2 uxtb r1, r1
- 8887 00ac 0129 cmp r1, #1
- 8888 00ae 14BF ite ne
- 8889 00b0 0021 movne r1, #0
- 8890 00b2 0121 moveq r1, #1
- 8891 00b4 D5E7 b .L801
- 8892 .LVL850:
- 8893 .L835:
-1682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8894 .loc 1 1682 0 discriminator 7
- 8895 00b6 90F84010 ldrb r1, [r0, #64] @ zero_extendqisi2
- 8896 .LVL851:
- 8897 00ba C9B2 uxtb r1, r1
- 8898 00bc 0129 cmp r1, #1
- 8899 00be 14BF ite ne
- 8900 00c0 0021 movne r1, #0
- 8901 00c2 0121 moveq r1, #1
- 8902 00c4 CDE7 b .L801
- 8903 .L833:
-1684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8904 .loc 1 1684 0 is_stmt 1 discriminator 1
- 8905 00c6 002B cmp r3, #0
- 8906 00c8 CFD0 beq .L804
-1686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8907 .loc 1 1686 0
- 8908 00ca 0120 movs r0, #1
- 8909 .LVL852:
- 8910 00cc 38BD pop {r3, r4, r5, pc}
- 8911 .LVL853:
- 8912 .L805:
-1690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8913 .loc 1 1690 0 discriminator 2
- 8914 00ce 042D cmp r5, #4
- 8915 00d0 05D0 beq .L836
-1690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8916 .loc 1 1690 0 is_stmt 0 discriminator 4
- 8917 00d2 082D cmp r5, #8
- 8918 00d4 07D0 beq .L837
-1690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8919 .loc 1 1690 0 discriminator 7
- 8920 00d6 0221 movs r1, #2
- 8921 00d8 80F84110 strb r1, [r0, #65]
- 8922 00dc CAE7 b .L806
- 8923 .L836:
-1690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8924 .loc 1 1690 0 discriminator 3
- 8925 00de 0221 movs r1, #2
- 8926 00e0 80F83F10 strb r1, [r0, #63]
- 8927 00e4 C6E7 b .L806
- 8928 .L837:
-1690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8929 .loc 1 1690 0 discriminator 6
- 8930 00e6 0221 movs r1, #2
- 8931 00e8 80F84010 strb r1, [r0, #64]
- 8932 00ec C2E7 b .L806
- 8933 .LVL854:
-ARM GAS /tmp/ccqsuCX7.s page 308
-
-
- 8934 .L810:
-1703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
- 8935 .loc 1 1703 0 is_stmt 1
- 8936 00ee 426A ldr r2, [r0, #36]
- 8937 00f0 5048 ldr r0, .L839
- 8938 .LVL855:
- 8939 00f2 9062 str r0, [r2, #40]
-1704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8940 .loc 1 1704 0
- 8941 00f4 626A ldr r2, [r4, #36]
- 8942 00f6 5048 ldr r0, .L839+4
- 8943 00f8 D062 str r0, [r2, #44]
-1707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8944 .loc 1 1707 0
- 8945 00fa 626A ldr r2, [r4, #36]
- 8946 00fc 4F48 ldr r0, .L839+8
- 8947 00fe 1063 str r0, [r2, #48]
-1710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8948 .loc 1 1710 0
- 8949 0100 2268 ldr r2, [r4]
- 8950 0102 3432 adds r2, r2, #52
- 8951 0104 606A ldr r0, [r4, #36]
- 8952 0106 FFF7FEFF bl HAL_DMA_Start_IT
- 8953 .LVL856:
- 8954 010a 0028 cmp r0, #0
- 8955 010c 40F08780 bne .L822
-1717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 8956 .loc 1 1717 0
- 8957 0110 2268 ldr r2, [r4]
- 8958 0112 D368 ldr r3, [r2, #12]
- 8959 0114 43F40073 orr r3, r3, #512
- 8960 0118 D360 str r3, [r2, #12]
- 8961 .L809:
-1786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 8962 .loc 1 1786 0
- 8963 011a 0122 movs r2, #1
- 8964 011c 2946 mov r1, r5
- 8965 011e 2068 ldr r0, [r4]
- 8966 0120 FFF7FEFF bl TIM_CCxChannelCmd
- 8967 .LVL857:
-1788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8968 .loc 1 1788 0
- 8969 0124 2368 ldr r3, [r4]
- 8970 0126 464A ldr r2, .L839+12
- 8971 0128 9342 cmp r3, r2
- 8972 012a 69D0 beq .L826
-1788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8973 .loc 1 1788 0 is_stmt 0 discriminator 2
- 8974 012c 02F50062 add r2, r2, #2048
- 8975 0130 9342 cmp r3, r2
- 8976 0132 63D0 beq .L838
-1788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8977 .loc 1 1788 0
- 8978 0134 0022 movs r2, #0
- 8979 .L815:
-1788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8980 .loc 1 1788 0 discriminator 6
-ARM GAS /tmp/ccqsuCX7.s page 309
-
-
- 8981 0136 1AB1 cbz r2, .L816
-1791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 8982 .loc 1 1791 0 is_stmt 1
- 8983 0138 5A6C ldr r2, [r3, #68]
- 8984 013a 42F40042 orr r2, r2, #32768
- 8985 013e 5A64 str r2, [r3, #68]
- 8986 .L816:
-1795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8987 .loc 1 1795 0
- 8988 0140 2368 ldr r3, [r4]
- 8989 0142 3F4A ldr r2, .L839+12
- 8990 0144 9342 cmp r3, r2
- 8991 0146 5DD0 beq .L817
-1795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8992 .loc 1 1795 0 is_stmt 0 discriminator 1
- 8993 0148 02F50062 add r2, r2, #2048
- 8994 014c 9342 cmp r3, r2
- 8995 014e 59D0 beq .L817
-1795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8996 .loc 1 1795 0 discriminator 2
- 8997 0150 B3F1804F cmp r3, #1073741824
- 8998 0154 56D0 beq .L817
-1795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 8999 .loc 1 1795 0 discriminator 3
- 9000 0156 A2F59832 sub r2, r2, #77824
- 9001 015a 9342 cmp r3, r2
- 9002 015c 52D0 beq .L817
-1795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9003 .loc 1 1795 0 discriminator 4
- 9004 015e 02F58062 add r2, r2, #1024
- 9005 0162 9342 cmp r3, r2
- 9006 0164 4ED0 beq .L817
-1795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9007 .loc 1 1795 0 discriminator 5
- 9008 0166 02F58062 add r2, r2, #1024
- 9009 016a 9342 cmp r3, r2
- 9010 016c 4AD0 beq .L817
-1805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9011 .loc 1 1805 0 is_stmt 1
- 9012 016e 1A68 ldr r2, [r3]
- 9013 0170 42F00102 orr r2, r2, #1
- 9014 0174 1A60 str r2, [r3]
-1809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9015 .loc 1 1809 0
- 9016 0176 0020 movs r0, #0
- 9017 0178 38BD pop {r3, r4, r5, pc}
- 9018 .LVL858:
- 9019 .L812:
-1724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
- 9020 .loc 1 1724 0
- 9021 017a 826A ldr r2, [r0, #40]
- 9022 017c 2D48 ldr r0, .L839
- 9023 .LVL859:
- 9024 017e 9062 str r0, [r2, #40]
-1725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9025 .loc 1 1725 0
- 9026 0180 A26A ldr r2, [r4, #40]
-ARM GAS /tmp/ccqsuCX7.s page 310
-
-
- 9027 0182 2D48 ldr r0, .L839+4
- 9028 0184 D062 str r0, [r2, #44]
-1728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9029 .loc 1 1728 0
- 9030 0186 A26A ldr r2, [r4, #40]
- 9031 0188 2C48 ldr r0, .L839+8
- 9032 018a 1063 str r0, [r2, #48]
-1731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9033 .loc 1 1731 0
- 9034 018c 2268 ldr r2, [r4]
- 9035 018e 3832 adds r2, r2, #56
- 9036 0190 A06A ldr r0, [r4, #40]
- 9037 0192 FFF7FEFF bl HAL_DMA_Start_IT
- 9038 .LVL860:
- 9039 0196 0028 cmp r0, #0
- 9040 0198 43D1 bne .L823
-1737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 9041 .loc 1 1737 0
- 9042 019a 2268 ldr r2, [r4]
- 9043 019c D368 ldr r3, [r2, #12]
- 9044 019e 43F48063 orr r3, r3, #1024
- 9045 01a2 D360 str r3, [r2, #12]
-1738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9046 .loc 1 1738 0
- 9047 01a4 B9E7 b .L809
- 9048 .LVL861:
- 9049 .L813:
-1744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
- 9050 .loc 1 1744 0
- 9051 01a6 C26A ldr r2, [r0, #44]
- 9052 01a8 2248 ldr r0, .L839
- 9053 .LVL862:
- 9054 01aa 9062 str r0, [r2, #40]
-1745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9055 .loc 1 1745 0
- 9056 01ac E26A ldr r2, [r4, #44]
- 9057 01ae 2248 ldr r0, .L839+4
- 9058 01b0 D062 str r0, [r2, #44]
-1748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9059 .loc 1 1748 0
- 9060 01b2 E26A ldr r2, [r4, #44]
- 9061 01b4 2148 ldr r0, .L839+8
- 9062 01b6 1063 str r0, [r2, #48]
-1751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9063 .loc 1 1751 0
- 9064 01b8 2268 ldr r2, [r4]
- 9065 01ba 3C32 adds r2, r2, #60
- 9066 01bc E06A ldr r0, [r4, #44]
- 9067 01be FFF7FEFF bl HAL_DMA_Start_IT
- 9068 .LVL863:
- 9069 01c2 0028 cmp r0, #0
- 9070 01c4 2FD1 bne .L824
-1757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 9071 .loc 1 1757 0
- 9072 01c6 2268 ldr r2, [r4]
- 9073 01c8 D368 ldr r3, [r2, #12]
- 9074 01ca 43F40063 orr r3, r3, #2048
-ARM GAS /tmp/ccqsuCX7.s page 311
-
-
- 9075 01ce D360 str r3, [r2, #12]
-1758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9076 .loc 1 1758 0
- 9077 01d0 A3E7 b .L809
- 9078 .LVL864:
- 9079 .L814:
-1764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
- 9080 .loc 1 1764 0
- 9081 01d2 026B ldr r2, [r0, #48]
- 9082 01d4 1748 ldr r0, .L839
- 9083 .LVL865:
- 9084 01d6 9062 str r0, [r2, #40]
-1765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9085 .loc 1 1765 0
- 9086 01d8 226B ldr r2, [r4, #48]
- 9087 01da 1748 ldr r0, .L839+4
- 9088 01dc D062 str r0, [r2, #44]
-1768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9089 .loc 1 1768 0
- 9090 01de 226B ldr r2, [r4, #48]
- 9091 01e0 1648 ldr r0, .L839+8
- 9092 01e2 1063 str r0, [r2, #48]
-1771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9093 .loc 1 1771 0
- 9094 01e4 2268 ldr r2, [r4]
- 9095 01e6 4032 adds r2, r2, #64
- 9096 01e8 206B ldr r0, [r4, #48]
- 9097 01ea FFF7FEFF bl HAL_DMA_Start_IT
- 9098 .LVL866:
- 9099 01ee E0B9 cbnz r0, .L825
-1777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 9100 .loc 1 1777 0
- 9101 01f0 2268 ldr r2, [r4]
- 9102 01f2 D368 ldr r3, [r2, #12]
- 9103 01f4 43F48053 orr r3, r3, #4096
- 9104 01f8 D360 str r3, [r2, #12]
-1778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9105 .loc 1 1778 0
- 9106 01fa 8EE7 b .L809
- 9107 .L838:
-1788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9108 .loc 1 1788 0
- 9109 01fc 0122 movs r2, #1
- 9110 01fe 9AE7 b .L815
- 9111 .L826:
- 9112 0200 0122 movs r2, #1
- 9113 0202 98E7 b .L815
- 9114 .L817:
-1797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 9115 .loc 1 1797 0
- 9116 0204 9A68 ldr r2, [r3, #8]
- 9117 0206 02F00702 and r2, r2, #7
- 9118 .LVL867:
-1798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9119 .loc 1 1798 0
- 9120 020a 062A cmp r2, #6
- 9121 020c 0FD0 beq .L828
-ARM GAS /tmp/ccqsuCX7.s page 312
-
-
-1800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9122 .loc 1 1800 0
- 9123 020e 1A68 ldr r2, [r3]
- 9124 .LVL868:
- 9125 0210 42F00102 orr r2, r2, #1
- 9126 0214 1A60 str r2, [r3]
-1809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9127 .loc 1 1809 0
- 9128 0216 0020 movs r0, #0
- 9129 0218 38BD pop {r3, r4, r5, pc}
- 9130 .LVL869:
- 9131 .L820:
-1695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9132 .loc 1 1695 0
- 9133 021a 0120 movs r0, #1
- 9134 .LVL870:
- 9135 021c 38BD pop {r3, r4, r5, pc}
- 9136 .LVL871:
- 9137 .L822:
-1713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9138 .loc 1 1713 0
- 9139 021e 0120 movs r0, #1
- 9140 0220 38BD pop {r3, r4, r5, pc}
- 9141 .LVL872:
- 9142 .L823:
-1734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9143 .loc 1 1734 0
- 9144 0222 0120 movs r0, #1
- 9145 0224 38BD pop {r3, r4, r5, pc}
- 9146 .LVL873:
- 9147 .L824:
-1754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9148 .loc 1 1754 0
- 9149 0226 0120 movs r0, #1
- 9150 0228 38BD pop {r3, r4, r5, pc}
- 9151 .LVL874:
- 9152 .L825:
-1774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9153 .loc 1 1774 0
- 9154 022a 0120 movs r0, #1
- 9155 022c 38BD pop {r3, r4, r5, pc}
- 9156 .LVL875:
- 9157 .L828:
-1809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9158 .loc 1 1809 0
- 9159 022e 0020 movs r0, #0
-1810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9160 .loc 1 1810 0
- 9161 0230 38BD pop {r3, r4, r5, pc}
- 9162 .LVL876:
- 9163 .L840:
- 9164 0232 00BF .align 2
- 9165 .L839:
- 9166 0234 00000000 .word TIM_DMADelayPulseCplt
- 9167 0238 00000000 .word TIM_DMADelayPulseHalfCplt
- 9168 023c 00000000 .word TIM_DMAError
- 9169 0240 002C0140 .word 1073818624
-ARM GAS /tmp/ccqsuCX7.s page 313
-
-
- 9170 .cfi_endproc
- 9171 .LFE93:
- 9173 .section .text.HAL_TIM_PWM_Stop_DMA,"ax",%progbits
- 9174 .align 1
- 9175 .global HAL_TIM_PWM_Stop_DMA
- 9176 .syntax unified
- 9177 .thumb
- 9178 .thumb_func
- 9179 .fpu softvfp
- 9181 HAL_TIM_PWM_Stop_DMA:
- 9182 .LFB94:
-1824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 9183 .loc 1 1824 0
- 9184 .cfi_startproc
- 9185 @ args = 0, pretend = 0, frame = 0
- 9186 @ frame_needed = 0, uses_anonymous_args = 0
- 9187 .LVL877:
- 9188 0000 38B5 push {r3, r4, r5, lr}
- 9189 .LCFI113:
- 9190 .cfi_def_cfa_offset 16
- 9191 .cfi_offset 3, -16
- 9192 .cfi_offset 4, -12
- 9193 .cfi_offset 5, -8
- 9194 .cfi_offset 14, -4
- 9195 0002 0446 mov r4, r0
- 9196 0004 0D46 mov r5, r1
-1828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9197 .loc 1 1828 0
- 9198 0006 0C29 cmp r1, #12
- 9199 0008 10D8 bhi .L842
- 9200 000a DFE801F0 tbb [pc, r1]
- 9201 .L844:
- 9202 000e 07 .byte (.L843-.L844)/2
- 9203 000f 0F .byte (.L842-.L844)/2
- 9204 0010 0F .byte (.L842-.L844)/2
- 9205 0011 0F .byte (.L842-.L844)/2
- 9206 0012 45 .byte (.L845-.L844)/2
- 9207 0013 0F .byte (.L842-.L844)/2
- 9208 0014 0F .byte (.L842-.L844)/2
- 9209 0015 0F .byte (.L842-.L844)/2
- 9210 0016 4E .byte (.L846-.L844)/2
- 9211 0017 0F .byte (.L842-.L844)/2
- 9212 0018 0F .byte (.L842-.L844)/2
- 9213 0019 0F .byte (.L842-.L844)/2
- 9214 001a 57 .byte (.L847-.L844)/2
- 9215 001b 00 .p2align 1
- 9216 .L843:
-1833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
- 9217 .loc 1 1833 0
- 9218 001c 0268 ldr r2, [r0]
- 9219 001e D368 ldr r3, [r2, #12]
- 9220 0020 23F40073 bic r3, r3, #512
- 9221 0024 D360 str r3, [r2, #12]
-1834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 9222 .loc 1 1834 0
- 9223 0026 406A ldr r0, [r0, #36]
- 9224 .LVL878:
-ARM GAS /tmp/ccqsuCX7.s page 314
-
-
- 9225 0028 FFF7FEFF bl HAL_DMA_Abort_IT
- 9226 .LVL879:
- 9227 .L842:
-1867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9228 .loc 1 1867 0
- 9229 002c 0022 movs r2, #0
- 9230 002e 2946 mov r1, r5
- 9231 0030 2068 ldr r0, [r4]
- 9232 0032 FFF7FEFF bl TIM_CCxChannelCmd
- 9233 .LVL880:
-1869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9234 .loc 1 1869 0
- 9235 0036 2368 ldr r3, [r4]
- 9236 0038 2D4A ldr r2, .L862
- 9237 003a 9342 cmp r3, r2
- 9238 003c 49D0 beq .L855
-1869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9239 .loc 1 1869 0 is_stmt 0 discriminator 2
- 9240 003e 02F50062 add r2, r2, #2048
- 9241 0042 9342 cmp r3, r2
- 9242 0044 43D0 beq .L858
-1869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9243 .loc 1 1869 0
- 9244 0046 0022 movs r2, #0
- 9245 .L848:
-1869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9246 .loc 1 1869 0 discriminator 6
- 9247 0048 6AB1 cbz r2, .L849
-1872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9248 .loc 1 1872 0 is_stmt 1
- 9249 004a 196A ldr r1, [r3, #32]
- 9250 004c 41F21112 movw r2, #4369
- 9251 0050 1142 tst r1, r2
- 9252 0052 08D1 bne .L849
-1872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9253 .loc 1 1872 0 is_stmt 0 discriminator 1
- 9254 0054 196A ldr r1, [r3, #32]
- 9255 0056 40F24442 movw r2, #1092
- 9256 005a 1142 tst r1, r2
- 9257 005c 03D1 bne .L849
-1872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9258 .loc 1 1872 0 discriminator 2
- 9259 005e 5A6C ldr r2, [r3, #68]
- 9260 0060 22F40042 bic r2, r2, #32768
- 9261 0064 5A64 str r2, [r3, #68]
- 9262 .L849:
-1876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9263 .loc 1 1876 0 is_stmt 1
- 9264 0066 2368 ldr r3, [r4]
- 9265 0068 196A ldr r1, [r3, #32]
- 9266 006a 41F21112 movw r2, #4369
- 9267 006e 1142 tst r1, r2
- 9268 0070 08D1 bne .L850
-1876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9269 .loc 1 1876 0 is_stmt 0 discriminator 1
- 9270 0072 196A ldr r1, [r3, #32]
- 9271 0074 40F24442 movw r2, #1092
-ARM GAS /tmp/ccqsuCX7.s page 315
-
-
- 9272 0078 1142 tst r1, r2
- 9273 007a 03D1 bne .L850
-1876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9274 .loc 1 1876 0 discriminator 2
- 9275 007c 1A68 ldr r2, [r3]
- 9276 007e 22F00102 bic r2, r2, #1
- 9277 0082 1A60 str r2, [r3]
- 9278 .L850:
-1879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9279 .loc 1 1879 0 is_stmt 1
- 9280 0084 3DB3 cbz r5, .L859
-1879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9281 .loc 1 1879 0 is_stmt 0 discriminator 2
- 9282 0086 042D cmp r5, #4
- 9283 0088 29D0 beq .L860
-1879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9284 .loc 1 1879 0 discriminator 4
- 9285 008a 082D cmp r5, #8
- 9286 008c 2BD0 beq .L861
-1879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9287 .loc 1 1879 0 discriminator 7
- 9288 008e 0123 movs r3, #1
- 9289 0090 84F84130 strb r3, [r4, #65]
- 9290 .L852:
-1883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9291 .loc 1 1883 0 is_stmt 1
- 9292 0094 0020 movs r0, #0
- 9293 0096 38BD pop {r3, r4, r5, pc}
- 9294 .LVL881:
- 9295 .L845:
-1841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]);
- 9296 .loc 1 1841 0
- 9297 0098 0268 ldr r2, [r0]
- 9298 009a D368 ldr r3, [r2, #12]
- 9299 009c 23F48063 bic r3, r3, #1024
- 9300 00a0 D360 str r3, [r2, #12]
-1842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 9301 .loc 1 1842 0
- 9302 00a2 806A ldr r0, [r0, #40]
- 9303 .LVL882:
- 9304 00a4 FFF7FEFF bl HAL_DMA_Abort_IT
- 9305 .LVL883:
-1843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9306 .loc 1 1843 0
- 9307 00a8 C0E7 b .L842
- 9308 .LVL884:
- 9309 .L846:
-1849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]);
- 9310 .loc 1 1849 0
- 9311 00aa 0268 ldr r2, [r0]
- 9312 00ac D368 ldr r3, [r2, #12]
- 9313 00ae 23F40063 bic r3, r3, #2048
- 9314 00b2 D360 str r3, [r2, #12]
-1850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 9315 .loc 1 1850 0
- 9316 00b4 C06A ldr r0, [r0, #44]
- 9317 .LVL885:
-ARM GAS /tmp/ccqsuCX7.s page 316
-
-
- 9318 00b6 FFF7FEFF bl HAL_DMA_Abort_IT
- 9319 .LVL886:
-1851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9320 .loc 1 1851 0
- 9321 00ba B7E7 b .L842
- 9322 .LVL887:
- 9323 .L847:
-1857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]);
- 9324 .loc 1 1857 0
- 9325 00bc 0268 ldr r2, [r0]
- 9326 00be D368 ldr r3, [r2, #12]
- 9327 00c0 23F48053 bic r3, r3, #4096
- 9328 00c4 D360 str r3, [r2, #12]
-1858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 9329 .loc 1 1858 0
- 9330 00c6 006B ldr r0, [r0, #48]
- 9331 .LVL888:
- 9332 00c8 FFF7FEFF bl HAL_DMA_Abort_IT
- 9333 .LVL889:
-1859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9334 .loc 1 1859 0
- 9335 00cc AEE7 b .L842
- 9336 .L858:
-1869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9337 .loc 1 1869 0
- 9338 00ce 0122 movs r2, #1
- 9339 00d0 BAE7 b .L848
- 9340 .L855:
- 9341 00d2 0122 movs r2, #1
- 9342 00d4 B8E7 b .L848
- 9343 .L859:
-1879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9344 .loc 1 1879 0 discriminator 1
- 9345 00d6 0123 movs r3, #1
- 9346 00d8 84F83E30 strb r3, [r4, #62]
- 9347 00dc DAE7 b .L852
- 9348 .L860:
-1879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9349 .loc 1 1879 0 is_stmt 0 discriminator 3
- 9350 00de 0123 movs r3, #1
- 9351 00e0 84F83F30 strb r3, [r4, #63]
- 9352 00e4 D6E7 b .L852
- 9353 .L861:
-1879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9354 .loc 1 1879 0 discriminator 6
- 9355 00e6 0123 movs r3, #1
- 9356 00e8 84F84030 strb r3, [r4, #64]
- 9357 00ec D2E7 b .L852
- 9358 .L863:
- 9359 00ee 00BF .align 2
- 9360 .L862:
- 9361 00f0 002C0140 .word 1073818624
- 9362 .cfi_endproc
- 9363 .LFE94:
- 9365 .section .text.HAL_TIM_IC_Start,"ax",%progbits
- 9366 .align 1
- 9367 .global HAL_TIM_IC_Start
-ARM GAS /tmp/ccqsuCX7.s page 317
-
-
- 9368 .syntax unified
- 9369 .thumb
- 9370 .thumb_func
- 9371 .fpu softvfp
- 9373 HAL_TIM_IC_Start:
- 9374 .LFB99:
-2059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 9375 .loc 1 2059 0 is_stmt 1
- 9376 .cfi_startproc
- 9377 @ args = 0, pretend = 0, frame = 0
- 9378 @ frame_needed = 0, uses_anonymous_args = 0
- 9379 .LVL890:
-2061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel);
- 9380 .loc 1 2061 0
- 9381 0000 0B46 mov r3, r1
- 9382 0002 51B9 cbnz r1, .L865
-2061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel);
- 9383 .loc 1 2061 0 is_stmt 0 discriminator 1
- 9384 0004 90F83E20 ldrb r2, [r0, #62] @ zero_extendqisi2
- 9385 0008 D2B2 uxtb r2, r2
- 9386 .L866:
- 9387 .LVL891:
-2062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9388 .loc 1 2062 0 is_stmt 1 discriminator 12
- 9389 000a B3B9 cbnz r3, .L869
-2062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9390 .loc 1 2062 0 is_stmt 0 discriminator 1
- 9391 000c 90F84210 ldrb r1, [r0, #66] @ zero_extendqisi2
- 9392 .LVL892:
- 9393 0010 C9B2 uxtb r1, r1
- 9394 .L870:
- 9395 .LVL893:
-2068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_state != HAL_TIM_CHANNEL_STATE_READY))
- 9396 .loc 1 2068 0 is_stmt 1 discriminator 12
- 9397 0012 012A cmp r2, #1
- 9398 0014 21D0 beq .L891
-2071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9399 .loc 1 2071 0
- 9400 0016 0120 movs r0, #1
- 9401 .LVL894:
- 9402 0018 7047 bx lr
- 9403 .LVL895:
- 9404 .L865:
-2061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel);
- 9405 .loc 1 2061 0 discriminator 2
- 9406 001a 0429 cmp r1, #4
- 9407 001c 05D0 beq .L892
-2061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel);
- 9408 .loc 1 2061 0 is_stmt 0 discriminator 5
- 9409 001e 0829 cmp r1, #8
- 9410 0020 07D0 beq .L893
-2061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel);
- 9411 .loc 1 2061 0 discriminator 8
- 9412 0022 90F84120 ldrb r2, [r0, #65] @ zero_extendqisi2
- 9413 0026 D2B2 uxtb r2, r2
- 9414 0028 EFE7 b .L866
- 9415 .L892:
-ARM GAS /tmp/ccqsuCX7.s page 318
-
-
-2061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel);
- 9416 .loc 1 2061 0 discriminator 4
- 9417 002a 90F83F20 ldrb r2, [r0, #63] @ zero_extendqisi2
- 9418 002e D2B2 uxtb r2, r2
- 9419 0030 EBE7 b .L866
- 9420 .L893:
-2061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel);
- 9421 .loc 1 2061 0 discriminator 7
- 9422 0032 90F84020 ldrb r2, [r0, #64] @ zero_extendqisi2
- 9423 0036 D2B2 uxtb r2, r2
- 9424 0038 E7E7 b .L866
- 9425 .LVL896:
- 9426 .L869:
-2062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9427 .loc 1 2062 0 is_stmt 1 discriminator 2
- 9428 003a 042B cmp r3, #4
- 9429 003c 05D0 beq .L894
-2062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9430 .loc 1 2062 0 is_stmt 0 discriminator 5
- 9431 003e 082B cmp r3, #8
- 9432 0040 07D0 beq .L895
-2062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9433 .loc 1 2062 0 discriminator 8
- 9434 0042 90F84510 ldrb r1, [r0, #69] @ zero_extendqisi2
- 9435 .LVL897:
- 9436 0046 C9B2 uxtb r1, r1
- 9437 0048 E3E7 b .L870
- 9438 .LVL898:
- 9439 .L894:
-2062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9440 .loc 1 2062 0 discriminator 4
- 9441 004a 90F84310 ldrb r1, [r0, #67] @ zero_extendqisi2
- 9442 .LVL899:
- 9443 004e C9B2 uxtb r1, r1
- 9444 0050 DFE7 b .L870
- 9445 .LVL900:
- 9446 .L895:
-2062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9447 .loc 1 2062 0 discriminator 7
- 9448 0052 90F84410 ldrb r1, [r0, #68] @ zero_extendqisi2
- 9449 .LVL901:
- 9450 0056 C9B2 uxtb r1, r1
- 9451 0058 DBE7 b .L870
- 9452 .LVL902:
- 9453 .L891:
-2069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9454 .loc 1 2069 0 is_stmt 1
- 9455 005a 0129 cmp r1, #1
- 9456 005c 01D0 beq .L896
-2071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9457 .loc 1 2071 0
- 9458 005e 0120 movs r0, #1
- 9459 .LVL903:
- 9460 0060 7047 bx lr
- 9461 .LVL904:
- 9462 .L896:
-2059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
-ARM GAS /tmp/ccqsuCX7.s page 319
-
-
- 9463 .loc 1 2059 0
- 9464 0062 10B5 push {r4, lr}
- 9465 .LCFI114:
- 9466 .cfi_def_cfa_offset 8
- 9467 .cfi_offset 4, -8
- 9468 .cfi_offset 14, -4
-2075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 9469 .loc 1 2075 0
- 9470 0064 4BBB cbnz r3, .L874
-2075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 9471 .loc 1 2075 0 is_stmt 0 discriminator 1
- 9472 0066 0222 movs r2, #2
- 9473 .LVL905:
- 9474 0068 80F83E20 strb r2, [r0, #62]
- 9475 .L875:
-2076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9476 .loc 1 2076 0 is_stmt 1
- 9477 006c ABBB cbnz r3, .L878
-2076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9478 .loc 1 2076 0 is_stmt 0 discriminator 1
- 9479 006e 0222 movs r2, #2
- 9480 0070 80F84220 strb r2, [r0, #66]
- 9481 .L879:
- 9482 0074 1946 mov r1, r3
- 9483 .LVL906:
- 9484 0076 0446 mov r4, r0
-2079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9485 .loc 1 2079 0 is_stmt 1
- 9486 0078 0122 movs r2, #1
- 9487 007a 0068 ldr r0, [r0]
- 9488 .LVL907:
- 9489 007c FFF7FEFF bl TIM_CCxChannelCmd
- 9490 .LVL908:
-2082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9491 .loc 1 2082 0
- 9492 0080 2368 ldr r3, [r4]
- 9493 0082 244A ldr r2, .L901
- 9494 0084 9342 cmp r3, r2
- 9495 0086 38D0 beq .L882
-2082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9496 .loc 1 2082 0 is_stmt 0 discriminator 1
- 9497 0088 02F50062 add r2, r2, #2048
- 9498 008c 9342 cmp r3, r2
- 9499 008e 34D0 beq .L882
-2082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9500 .loc 1 2082 0 discriminator 2
- 9501 0090 B3F1804F cmp r3, #1073741824
- 9502 0094 31D0 beq .L882
-2082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9503 .loc 1 2082 0 discriminator 3
- 9504 0096 A2F59832 sub r2, r2, #77824
- 9505 009a 9342 cmp r3, r2
- 9506 009c 2DD0 beq .L882
-2082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9507 .loc 1 2082 0 discriminator 4
- 9508 009e 02F58062 add r2, r2, #1024
- 9509 00a2 9342 cmp r3, r2
-ARM GAS /tmp/ccqsuCX7.s page 320
-
-
- 9510 00a4 29D0 beq .L882
-2082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9511 .loc 1 2082 0 discriminator 5
- 9512 00a6 02F58062 add r2, r2, #1024
- 9513 00aa 9342 cmp r3, r2
- 9514 00ac 25D0 beq .L882
-2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9515 .loc 1 2092 0 is_stmt 1
- 9516 00ae 1A68 ldr r2, [r3]
- 9517 00b0 42F00102 orr r2, r2, #1
- 9518 00b4 1A60 str r2, [r3]
-2096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9519 .loc 1 2096 0
- 9520 00b6 0020 movs r0, #0
- 9521 00b8 10BD pop {r4, pc}
- 9522 .LVL909:
- 9523 .L874:
-2075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 9524 .loc 1 2075 0 discriminator 2
- 9525 00ba 042B cmp r3, #4
- 9526 00bc 05D0 beq .L897
-2075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 9527 .loc 1 2075 0 is_stmt 0 discriminator 4
- 9528 00be 082B cmp r3, #8
- 9529 00c0 07D0 beq .L898
-2075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 9530 .loc 1 2075 0 discriminator 7
- 9531 00c2 0222 movs r2, #2
- 9532 .LVL910:
- 9533 00c4 80F84120 strb r2, [r0, #65]
- 9534 00c8 D0E7 b .L875
- 9535 .LVL911:
- 9536 .L897:
-2075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 9537 .loc 1 2075 0 discriminator 3
- 9538 00ca 0222 movs r2, #2
- 9539 .LVL912:
- 9540 00cc 80F83F20 strb r2, [r0, #63]
- 9541 00d0 CCE7 b .L875
- 9542 .LVL913:
- 9543 .L898:
-2075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 9544 .loc 1 2075 0 discriminator 6
- 9545 00d2 0222 movs r2, #2
- 9546 .LVL914:
- 9547 00d4 80F84020 strb r2, [r0, #64]
- 9548 00d8 C8E7 b .L875
- 9549 .L878:
-2076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9550 .loc 1 2076 0 is_stmt 1 discriminator 2
- 9551 00da 042B cmp r3, #4
- 9552 00dc 05D0 beq .L899
-2076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9553 .loc 1 2076 0 is_stmt 0 discriminator 4
- 9554 00de 082B cmp r3, #8
- 9555 00e0 07D0 beq .L900
-2076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 321
-
-
- 9556 .loc 1 2076 0 discriminator 7
- 9557 00e2 0222 movs r2, #2
- 9558 00e4 80F84520 strb r2, [r0, #69]
- 9559 00e8 C4E7 b .L879
- 9560 .L899:
-2076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9561 .loc 1 2076 0 discriminator 3
- 9562 00ea 0222 movs r2, #2
- 9563 00ec 80F84320 strb r2, [r0, #67]
- 9564 00f0 C0E7 b .L879
- 9565 .L900:
-2076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9566 .loc 1 2076 0 discriminator 6
- 9567 00f2 0222 movs r2, #2
- 9568 00f4 80F84420 strb r2, [r0, #68]
- 9569 00f8 BCE7 b .L879
- 9570 .LVL915:
- 9571 .L882:
-2084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 9572 .loc 1 2084 0 is_stmt 1
- 9573 00fa 9A68 ldr r2, [r3, #8]
- 9574 00fc 02F00702 and r2, r2, #7
- 9575 .LVL916:
-2085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9576 .loc 1 2085 0
- 9577 0100 062A cmp r2, #6
- 9578 0102 05D0 beq .L886
-2087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9579 .loc 1 2087 0
- 9580 0104 1A68 ldr r2, [r3]
- 9581 .LVL917:
- 9582 0106 42F00102 orr r2, r2, #1
- 9583 010a 1A60 str r2, [r3]
-2096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9584 .loc 1 2096 0
- 9585 010c 0020 movs r0, #0
- 9586 010e 10BD pop {r4, pc}
- 9587 .LVL918:
- 9588 .L886:
- 9589 0110 0020 movs r0, #0
-2097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9590 .loc 1 2097 0
- 9591 0112 10BD pop {r4, pc}
- 9592 .LVL919:
- 9593 .L902:
- 9594 .align 2
- 9595 .L901:
- 9596 0114 002C0140 .word 1073818624
- 9597 .cfi_endproc
- 9598 .LFE99:
- 9600 .section .text.HAL_TIM_IC_Stop,"ax",%progbits
- 9601 .align 1
- 9602 .global HAL_TIM_IC_Stop
- 9603 .syntax unified
- 9604 .thumb
- 9605 .thumb_func
- 9606 .fpu softvfp
-ARM GAS /tmp/ccqsuCX7.s page 322
-
-
- 9608 HAL_TIM_IC_Stop:
- 9609 .LFB100:
-2111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 9610 .loc 1 2111 0
- 9611 .cfi_startproc
- 9612 @ args = 0, pretend = 0, frame = 0
- 9613 @ frame_needed = 0, uses_anonymous_args = 0
- 9614 .LVL920:
- 9615 0000 38B5 push {r3, r4, r5, lr}
- 9616 .LCFI115:
- 9617 .cfi_def_cfa_offset 16
- 9618 .cfi_offset 3, -16
- 9619 .cfi_offset 4, -12
- 9620 .cfi_offset 5, -8
- 9621 .cfi_offset 14, -4
- 9622 0002 0446 mov r4, r0
- 9623 0004 0D46 mov r5, r1
-2116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9624 .loc 1 2116 0
- 9625 0006 0022 movs r2, #0
- 9626 0008 0068 ldr r0, [r0]
- 9627 .LVL921:
- 9628 000a FFF7FEFF bl TIM_CCxChannelCmd
- 9629 .LVL922:
-2119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9630 .loc 1 2119 0
- 9631 000e 2368 ldr r3, [r4]
- 9632 0010 196A ldr r1, [r3, #32]
- 9633 0012 41F21112 movw r2, #4369
- 9634 0016 1142 tst r1, r2
- 9635 0018 08D1 bne .L904
-2119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9636 .loc 1 2119 0 is_stmt 0 discriminator 1
- 9637 001a 196A ldr r1, [r3, #32]
- 9638 001c 40F24442 movw r2, #1092
- 9639 0020 1142 tst r1, r2
- 9640 0022 03D1 bne .L904
-2119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9641 .loc 1 2119 0 discriminator 2
- 9642 0024 1A68 ldr r2, [r3]
- 9643 0026 22F00102 bic r2, r2, #1
- 9644 002a 1A60 str r2, [r3]
- 9645 .L904:
-2122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 9646 .loc 1 2122 0 is_stmt 1
- 9647 002c 65B9 cbnz r5, .L905
-2122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 9648 .loc 1 2122 0 is_stmt 0 discriminator 1
- 9649 002e 0123 movs r3, #1
- 9650 0030 84F83E30 strb r3, [r4, #62]
- 9651 .L906:
-2123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9652 .loc 1 2123 0 is_stmt 1
- 9653 0034 C5B1 cbz r5, .L914
-2123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9654 .loc 1 2123 0 is_stmt 0 discriminator 2
- 9655 0036 042D cmp r5, #4
-ARM GAS /tmp/ccqsuCX7.s page 323
-
-
- 9656 0038 1AD0 beq .L915
-2123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9657 .loc 1 2123 0 discriminator 4
- 9658 003a 082D cmp r5, #8
- 9659 003c 1CD0 beq .L916
-2123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9660 .loc 1 2123 0 discriminator 7
- 9661 003e 0123 movs r3, #1
- 9662 0040 84F84530 strb r3, [r4, #69]
- 9663 .L910:
-2127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9664 .loc 1 2127 0 is_stmt 1
- 9665 0044 0020 movs r0, #0
- 9666 0046 38BD pop {r3, r4, r5, pc}
- 9667 .LVL923:
- 9668 .L905:
-2122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 9669 .loc 1 2122 0 discriminator 2
- 9670 0048 042D cmp r5, #4
- 9671 004a 05D0 beq .L917
-2122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 9672 .loc 1 2122 0 is_stmt 0 discriminator 4
- 9673 004c 082D cmp r5, #8
- 9674 004e 07D0 beq .L918
-2122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 9675 .loc 1 2122 0 discriminator 7
- 9676 0050 0123 movs r3, #1
- 9677 0052 84F84130 strb r3, [r4, #65]
- 9678 0056 EDE7 b .L906
- 9679 .L917:
-2122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 9680 .loc 1 2122 0 discriminator 3
- 9681 0058 0123 movs r3, #1
- 9682 005a 84F83F30 strb r3, [r4, #63]
- 9683 005e E9E7 b .L906
- 9684 .L918:
-2122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 9685 .loc 1 2122 0 discriminator 6
- 9686 0060 0123 movs r3, #1
- 9687 0062 84F84030 strb r3, [r4, #64]
- 9688 0066 E5E7 b .L906
- 9689 .L914:
-2123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9690 .loc 1 2123 0 is_stmt 1 discriminator 1
- 9691 0068 0123 movs r3, #1
- 9692 006a 84F84230 strb r3, [r4, #66]
- 9693 006e E9E7 b .L910
- 9694 .L915:
-2123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9695 .loc 1 2123 0 is_stmt 0 discriminator 3
- 9696 0070 0123 movs r3, #1
- 9697 0072 84F84330 strb r3, [r4, #67]
- 9698 0076 E5E7 b .L910
- 9699 .L916:
-2123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9700 .loc 1 2123 0 discriminator 6
- 9701 0078 0123 movs r3, #1
-ARM GAS /tmp/ccqsuCX7.s page 324
-
-
- 9702 007a 84F84430 strb r3, [r4, #68]
- 9703 007e E1E7 b .L910
- 9704 .cfi_endproc
- 9705 .LFE100:
- 9707 .section .text.HAL_TIM_IC_Start_IT,"ax",%progbits
- 9708 .align 1
- 9709 .global HAL_TIM_IC_Start_IT
- 9710 .syntax unified
- 9711 .thumb
- 9712 .thumb_func
- 9713 .fpu softvfp
- 9715 HAL_TIM_IC_Start_IT:
- 9716 .LFB101:
-2141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 9717 .loc 1 2141 0 is_stmt 1
- 9718 .cfi_startproc
- 9719 @ args = 0, pretend = 0, frame = 0
- 9720 @ frame_needed = 0, uses_anonymous_args = 0
- 9721 .LVL924:
-2143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel);
- 9722 .loc 1 2143 0
- 9723 0000 0B46 mov r3, r1
- 9724 0002 51B9 cbnz r1, .L920
-2143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel);
- 9725 .loc 1 2143 0 is_stmt 0 discriminator 1
- 9726 0004 90F83E20 ldrb r2, [r0, #62] @ zero_extendqisi2
- 9727 0008 D2B2 uxtb r2, r2
- 9728 .L921:
- 9729 .LVL925:
-2144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9730 .loc 1 2144 0 is_stmt 1 discriminator 12
- 9731 000a B3B9 cbnz r3, .L924
-2144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9732 .loc 1 2144 0 is_stmt 0 discriminator 1
- 9733 000c 90F84210 ldrb r1, [r0, #66] @ zero_extendqisi2
- 9734 .LVL926:
- 9735 0010 C9B2 uxtb r1, r1
- 9736 .L925:
- 9737 .LVL927:
-2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_state != HAL_TIM_CHANNEL_STATE_READY))
- 9738 .loc 1 2150 0 is_stmt 1 discriminator 12
- 9739 0012 012A cmp r2, #1
- 9740 0014 21D0 beq .L952
-2153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9741 .loc 1 2153 0
- 9742 0016 0120 movs r0, #1
- 9743 .LVL928:
- 9744 0018 7047 bx lr
- 9745 .LVL929:
- 9746 .L920:
-2143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel);
- 9747 .loc 1 2143 0 discriminator 2
- 9748 001a 0429 cmp r1, #4
- 9749 001c 05D0 beq .L953
-2143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel);
- 9750 .loc 1 2143 0 is_stmt 0 discriminator 5
- 9751 001e 0829 cmp r1, #8
-ARM GAS /tmp/ccqsuCX7.s page 325
-
-
- 9752 0020 07D0 beq .L954
-2143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel);
- 9753 .loc 1 2143 0 discriminator 8
- 9754 0022 90F84120 ldrb r2, [r0, #65] @ zero_extendqisi2
- 9755 0026 D2B2 uxtb r2, r2
- 9756 0028 EFE7 b .L921
- 9757 .L953:
-2143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel);
- 9758 .loc 1 2143 0 discriminator 4
- 9759 002a 90F83F20 ldrb r2, [r0, #63] @ zero_extendqisi2
- 9760 002e D2B2 uxtb r2, r2
- 9761 0030 EBE7 b .L921
- 9762 .L954:
-2143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel);
- 9763 .loc 1 2143 0 discriminator 7
- 9764 0032 90F84020 ldrb r2, [r0, #64] @ zero_extendqisi2
- 9765 0036 D2B2 uxtb r2, r2
- 9766 0038 E7E7 b .L921
- 9767 .LVL930:
- 9768 .L924:
-2144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9769 .loc 1 2144 0 is_stmt 1 discriminator 2
- 9770 003a 042B cmp r3, #4
- 9771 003c 05D0 beq .L955
-2144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9772 .loc 1 2144 0 is_stmt 0 discriminator 5
- 9773 003e 082B cmp r3, #8
- 9774 0040 07D0 beq .L956
-2144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9775 .loc 1 2144 0 discriminator 8
- 9776 0042 90F84510 ldrb r1, [r0, #69] @ zero_extendqisi2
- 9777 .LVL931:
- 9778 0046 C9B2 uxtb r1, r1
- 9779 0048 E3E7 b .L925
- 9780 .LVL932:
- 9781 .L955:
-2144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9782 .loc 1 2144 0 discriminator 4
- 9783 004a 90F84310 ldrb r1, [r0, #67] @ zero_extendqisi2
- 9784 .LVL933:
- 9785 004e C9B2 uxtb r1, r1
- 9786 0050 DFE7 b .L925
- 9787 .LVL934:
- 9788 .L956:
-2144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9789 .loc 1 2144 0 discriminator 7
- 9790 0052 90F84410 ldrb r1, [r0, #68] @ zero_extendqisi2
- 9791 .LVL935:
- 9792 0056 C9B2 uxtb r1, r1
- 9793 0058 DBE7 b .L925
- 9794 .LVL936:
- 9795 .L952:
-2151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9796 .loc 1 2151 0 is_stmt 1
- 9797 005a 0129 cmp r1, #1
- 9798 005c 01D0 beq .L957
-2153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-ARM GAS /tmp/ccqsuCX7.s page 326
-
-
- 9799 .loc 1 2153 0
- 9800 005e 0120 movs r0, #1
- 9801 .LVL937:
- 9802 0060 7047 bx lr
- 9803 .LVL938:
- 9804 .L957:
-2141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 9805 .loc 1 2141 0
- 9806 0062 10B5 push {r4, lr}
- 9807 .LCFI116:
- 9808 .cfi_def_cfa_offset 8
- 9809 .cfi_offset 4, -8
- 9810 .cfi_offset 14, -4
-2157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 9811 .loc 1 2157 0
- 9812 0064 8BB9 cbnz r3, .L929
-2157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 9813 .loc 1 2157 0 is_stmt 0 discriminator 1
- 9814 0066 0222 movs r2, #2
- 9815 .LVL939:
- 9816 0068 80F83E20 strb r2, [r0, #62]
- 9817 .L930:
-2158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9818 .loc 1 2158 0 is_stmt 1
- 9819 006c EBB9 cbnz r3, .L933
-2158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9820 .loc 1 2158 0 is_stmt 0 discriminator 1
- 9821 006e 0222 movs r2, #2
- 9822 0070 80F84220 strb r2, [r0, #66]
- 9823 .L934:
-2160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9824 .loc 1 2160 0 is_stmt 1
- 9825 0074 0C2B cmp r3, #12
- 9826 0076 2DD8 bhi .L937
- 9827 0078 DFE803F0 tbb [pc, r3]
- 9828 .L939:
- 9829 007c 27 .byte (.L938-.L939)/2
- 9830 007d 2C .byte (.L937-.L939)/2
- 9831 007e 2C .byte (.L937-.L939)/2
- 9832 007f 2C .byte (.L937-.L939)/2
- 9833 0080 4F .byte (.L940-.L939)/2
- 9834 0081 2C .byte (.L937-.L939)/2
- 9835 0082 2C .byte (.L937-.L939)/2
- 9836 0083 2C .byte (.L937-.L939)/2
- 9837 0084 55 .byte (.L941-.L939)/2
- 9838 0085 2C .byte (.L937-.L939)/2
- 9839 0086 2C .byte (.L937-.L939)/2
- 9840 0087 2C .byte (.L937-.L939)/2
- 9841 0088 5B .byte (.L942-.L939)/2
- 9842 .LVL940:
- 9843 0089 00 .p2align 1
- 9844 .L929:
-2157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 9845 .loc 1 2157 0 discriminator 2
- 9846 008a 042B cmp r3, #4
- 9847 008c 05D0 beq .L958
-2157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
-ARM GAS /tmp/ccqsuCX7.s page 327
-
-
- 9848 .loc 1 2157 0 is_stmt 0 discriminator 4
- 9849 008e 082B cmp r3, #8
- 9850 0090 07D0 beq .L959
-2157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 9851 .loc 1 2157 0 discriminator 7
- 9852 0092 0222 movs r2, #2
- 9853 .LVL941:
- 9854 0094 80F84120 strb r2, [r0, #65]
- 9855 0098 E8E7 b .L930
- 9856 .LVL942:
- 9857 .L958:
-2157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 9858 .loc 1 2157 0 discriminator 3
- 9859 009a 0222 movs r2, #2
- 9860 .LVL943:
- 9861 009c 80F83F20 strb r2, [r0, #63]
- 9862 00a0 E4E7 b .L930
- 9863 .LVL944:
- 9864 .L959:
-2157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 9865 .loc 1 2157 0 discriminator 6
- 9866 00a2 0222 movs r2, #2
- 9867 .LVL945:
- 9868 00a4 80F84020 strb r2, [r0, #64]
- 9869 00a8 E0E7 b .L930
- 9870 .L933:
-2158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9871 .loc 1 2158 0 is_stmt 1 discriminator 2
- 9872 00aa 042B cmp r3, #4
- 9873 00ac 05D0 beq .L960
-2158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9874 .loc 1 2158 0 is_stmt 0 discriminator 4
- 9875 00ae 082B cmp r3, #8
- 9876 00b0 07D0 beq .L961
-2158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9877 .loc 1 2158 0 discriminator 7
- 9878 00b2 0222 movs r2, #2
- 9879 00b4 80F84520 strb r2, [r0, #69]
- 9880 00b8 DCE7 b .L934
- 9881 .L960:
-2158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9882 .loc 1 2158 0 discriminator 3
- 9883 00ba 0222 movs r2, #2
- 9884 00bc 80F84320 strb r2, [r0, #67]
- 9885 00c0 D8E7 b .L934
- 9886 .L961:
-2158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9887 .loc 1 2158 0 discriminator 6
- 9888 00c2 0222 movs r2, #2
- 9889 00c4 80F84420 strb r2, [r0, #68]
- 9890 00c8 D4E7 b .L934
- 9891 .L938:
-2165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 9892 .loc 1 2165 0 is_stmt 1
- 9893 00ca 0168 ldr r1, [r0]
- 9894 .LVL946:
- 9895 00cc CA68 ldr r2, [r1, #12]
-ARM GAS /tmp/ccqsuCX7.s page 328
-
-
- 9896 00ce 42F00202 orr r2, r2, #2
- 9897 00d2 CA60 str r2, [r1, #12]
- 9898 .L937:
- 9899 00d4 1946 mov r1, r3
- 9900 00d6 0446 mov r4, r0
-2194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9901 .loc 1 2194 0
- 9902 00d8 0122 movs r2, #1
- 9903 00da 0068 ldr r0, [r0]
- 9904 .LVL947:
- 9905 00dc FFF7FEFF bl TIM_CCxChannelCmd
- 9906 .LVL948:
-2197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9907 .loc 1 2197 0
- 9908 00e0 2368 ldr r3, [r4]
- 9909 00e2 1D4A ldr r2, .L962
- 9910 00e4 9342 cmp r3, r2
- 9911 00e6 2AD0 beq .L943
-2197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9912 .loc 1 2197 0 is_stmt 0 discriminator 1
- 9913 00e8 02F50062 add r2, r2, #2048
- 9914 00ec 9342 cmp r3, r2
- 9915 00ee 26D0 beq .L943
-2197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9916 .loc 1 2197 0 discriminator 2
- 9917 00f0 B3F1804F cmp r3, #1073741824
- 9918 00f4 23D0 beq .L943
-2197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9919 .loc 1 2197 0 discriminator 3
- 9920 00f6 A2F59832 sub r2, r2, #77824
- 9921 00fa 9342 cmp r3, r2
- 9922 00fc 1FD0 beq .L943
-2197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9923 .loc 1 2197 0 discriminator 4
- 9924 00fe 02F58062 add r2, r2, #1024
- 9925 0102 9342 cmp r3, r2
- 9926 0104 1BD0 beq .L943
-2197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9927 .loc 1 2197 0 discriminator 5
- 9928 0106 02F58062 add r2, r2, #1024
- 9929 010a 9342 cmp r3, r2
- 9930 010c 17D0 beq .L943
-2207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9931 .loc 1 2207 0 is_stmt 1
- 9932 010e 1A68 ldr r2, [r3]
- 9933 0110 42F00102 orr r2, r2, #1
- 9934 0114 1A60 str r2, [r3]
-2211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9935 .loc 1 2211 0
- 9936 0116 0020 movs r0, #0
- 9937 0118 10BD pop {r4, pc}
- 9938 .LVL949:
- 9939 .L940:
-2172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 9940 .loc 1 2172 0
- 9941 011a 0168 ldr r1, [r0]
- 9942 .LVL950:
-ARM GAS /tmp/ccqsuCX7.s page 329
-
-
- 9943 011c CA68 ldr r2, [r1, #12]
- 9944 011e 42F00402 orr r2, r2, #4
- 9945 0122 CA60 str r2, [r1, #12]
-2173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9946 .loc 1 2173 0
- 9947 0124 D6E7 b .L937
- 9948 .LVL951:
- 9949 .L941:
-2179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 9950 .loc 1 2179 0
- 9951 0126 0168 ldr r1, [r0]
- 9952 .LVL952:
- 9953 0128 CA68 ldr r2, [r1, #12]
- 9954 012a 42F00802 orr r2, r2, #8
- 9955 012e CA60 str r2, [r1, #12]
-2180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9956 .loc 1 2180 0
- 9957 0130 D0E7 b .L937
- 9958 .LVL953:
- 9959 .L942:
-2186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 9960 .loc 1 2186 0
- 9961 0132 0168 ldr r1, [r0]
- 9962 .LVL954:
- 9963 0134 CA68 ldr r2, [r1, #12]
- 9964 0136 42F01002 orr r2, r2, #16
- 9965 013a CA60 str r2, [r1, #12]
-2187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9966 .loc 1 2187 0
- 9967 013c CAE7 b .L937
- 9968 .LVL955:
- 9969 .L943:
-2199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 9970 .loc 1 2199 0
- 9971 013e 9A68 ldr r2, [r3, #8]
- 9972 0140 02F00702 and r2, r2, #7
- 9973 .LVL956:
-2200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 9974 .loc 1 2200 0
- 9975 0144 062A cmp r2, #6
- 9976 0146 05D0 beq .L947
-2202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9977 .loc 1 2202 0
- 9978 0148 1A68 ldr r2, [r3]
- 9979 .LVL957:
- 9980 014a 42F00102 orr r2, r2, #1
- 9981 014e 1A60 str r2, [r3]
-2211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 9982 .loc 1 2211 0
- 9983 0150 0020 movs r0, #0
- 9984 0152 10BD pop {r4, pc}
- 9985 .LVL958:
- 9986 .L947:
- 9987 0154 0020 movs r0, #0
-2212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 9988 .loc 1 2212 0
- 9989 0156 10BD pop {r4, pc}
-ARM GAS /tmp/ccqsuCX7.s page 330
-
-
- 9990 .LVL959:
- 9991 .L963:
- 9992 .align 2
- 9993 .L962:
- 9994 0158 002C0140 .word 1073818624
- 9995 .cfi_endproc
- 9996 .LFE101:
- 9998 .section .text.HAL_TIM_IC_Stop_IT,"ax",%progbits
- 9999 .align 1
- 10000 .global HAL_TIM_IC_Stop_IT
- 10001 .syntax unified
- 10002 .thumb
- 10003 .thumb_func
- 10004 .fpu softvfp
- 10006 HAL_TIM_IC_Stop_IT:
- 10007 .LFB102:
-2226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 10008 .loc 1 2226 0
- 10009 .cfi_startproc
- 10010 @ args = 0, pretend = 0, frame = 0
- 10011 @ frame_needed = 0, uses_anonymous_args = 0
- 10012 .LVL960:
- 10013 0000 38B5 push {r3, r4, r5, lr}
- 10014 .LCFI117:
- 10015 .cfi_def_cfa_offset 16
- 10016 .cfi_offset 3, -16
- 10017 .cfi_offset 4, -12
- 10018 .cfi_offset 5, -8
- 10019 .cfi_offset 14, -4
- 10020 0002 0546 mov r5, r0
- 10021 0004 0C46 mov r4, r1
-2230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10022 .loc 1 2230 0
- 10023 0006 0C29 cmp r1, #12
- 10024 0008 0DD8 bhi .L965
- 10025 000a DFE801F0 tbb [pc, r1]
- 10026 .L967:
- 10027 000e 07 .byte (.L966-.L967)/2
- 10028 000f 0C .byte (.L965-.L967)/2
- 10029 0010 0C .byte (.L965-.L967)/2
- 10030 0011 0C .byte (.L965-.L967)/2
- 10031 0012 2E .byte (.L968-.L967)/2
- 10032 0013 0C .byte (.L965-.L967)/2
- 10033 0014 0C .byte (.L965-.L967)/2
- 10034 0015 0C .byte (.L965-.L967)/2
- 10035 0016 34 .byte (.L969-.L967)/2
- 10036 0017 0C .byte (.L965-.L967)/2
- 10037 0018 0C .byte (.L965-.L967)/2
- 10038 0019 0C .byte (.L965-.L967)/2
- 10039 001a 3A .byte (.L970-.L967)/2
- 10040 001b 00 .p2align 1
- 10041 .L966:
-2235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 10042 .loc 1 2235 0
- 10043 001c 0268 ldr r2, [r0]
- 10044 001e D368 ldr r3, [r2, #12]
- 10045 0020 23F00203 bic r3, r3, #2
-ARM GAS /tmp/ccqsuCX7.s page 331
-
-
- 10046 0024 D360 str r3, [r2, #12]
- 10047 .L965:
-2265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10048 .loc 1 2265 0
- 10049 0026 0022 movs r2, #0
- 10050 0028 2146 mov r1, r4
- 10051 .LVL961:
- 10052 002a 2868 ldr r0, [r5]
- 10053 .LVL962:
- 10054 002c FFF7FEFF bl TIM_CCxChannelCmd
- 10055 .LVL963:
-2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10056 .loc 1 2268 0
- 10057 0030 2B68 ldr r3, [r5]
- 10058 0032 196A ldr r1, [r3, #32]
- 10059 0034 41F21112 movw r2, #4369
- 10060 0038 1142 tst r1, r2
- 10061 003a 08D1 bne .L971
-2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10062 .loc 1 2268 0 is_stmt 0 discriminator 1
- 10063 003c 196A ldr r1, [r3, #32]
- 10064 003e 40F24442 movw r2, #1092
- 10065 0042 1142 tst r1, r2
- 10066 0044 03D1 bne .L971
-2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10067 .loc 1 2268 0 discriminator 2
- 10068 0046 1A68 ldr r2, [r3]
- 10069 0048 22F00102 bic r2, r2, #1
- 10070 004c 1A60 str r2, [r3]
- 10071 .L971:
-2271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 10072 .loc 1 2271 0 is_stmt 1
- 10073 004e F4B9 cbnz r4, .L972
-2271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 10074 .loc 1 2271 0 is_stmt 0 discriminator 1
- 10075 0050 0123 movs r3, #1
- 10076 0052 85F83E30 strb r3, [r5, #62]
- 10077 .L973:
-2272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10078 .loc 1 2272 0 is_stmt 1
- 10079 0056 54B3 cbz r4, .L981
-2272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10080 .loc 1 2272 0 is_stmt 0 discriminator 2
- 10081 0058 042C cmp r4, #4
- 10082 005a 2CD0 beq .L982
-2272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10083 .loc 1 2272 0 discriminator 4
- 10084 005c 082C cmp r4, #8
- 10085 005e 2ED0 beq .L983
-2272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10086 .loc 1 2272 0 discriminator 7
- 10087 0060 0123 movs r3, #1
- 10088 0062 85F84530 strb r3, [r5, #69]
- 10089 .L977:
-2276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10090 .loc 1 2276 0 is_stmt 1
- 10091 0066 0020 movs r0, #0
-ARM GAS /tmp/ccqsuCX7.s page 332
-
-
- 10092 0068 38BD pop {r3, r4, r5, pc}
- 10093 .LVL964:
- 10094 .L968:
-2242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 10095 .loc 1 2242 0
- 10096 006a 0268 ldr r2, [r0]
- 10097 006c D368 ldr r3, [r2, #12]
- 10098 006e 23F00403 bic r3, r3, #4
- 10099 0072 D360 str r3, [r2, #12]
-2243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10100 .loc 1 2243 0
- 10101 0074 D7E7 b .L965
- 10102 .L969:
-2249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 10103 .loc 1 2249 0
- 10104 0076 0268 ldr r2, [r0]
- 10105 0078 D368 ldr r3, [r2, #12]
- 10106 007a 23F00803 bic r3, r3, #8
- 10107 007e D360 str r3, [r2, #12]
-2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10108 .loc 1 2250 0
- 10109 0080 D1E7 b .L965
- 10110 .L970:
-2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 10111 .loc 1 2256 0
- 10112 0082 0268 ldr r2, [r0]
- 10113 0084 D368 ldr r3, [r2, #12]
- 10114 0086 23F01003 bic r3, r3, #16
- 10115 008a D360 str r3, [r2, #12]
-2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10116 .loc 1 2257 0
- 10117 008c CBE7 b .L965
- 10118 .LVL965:
- 10119 .L972:
-2271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 10120 .loc 1 2271 0 discriminator 2
- 10121 008e 042C cmp r4, #4
- 10122 0090 05D0 beq .L984
-2271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 10123 .loc 1 2271 0 is_stmt 0 discriminator 4
- 10124 0092 082C cmp r4, #8
- 10125 0094 07D0 beq .L985
-2271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 10126 .loc 1 2271 0 discriminator 7
- 10127 0096 0123 movs r3, #1
- 10128 0098 85F84130 strb r3, [r5, #65]
- 10129 009c DBE7 b .L973
- 10130 .L984:
-2271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 10131 .loc 1 2271 0 discriminator 3
- 10132 009e 0123 movs r3, #1
- 10133 00a0 85F83F30 strb r3, [r5, #63]
- 10134 00a4 D7E7 b .L973
- 10135 .L985:
-2271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 10136 .loc 1 2271 0 discriminator 6
- 10137 00a6 0123 movs r3, #1
-ARM GAS /tmp/ccqsuCX7.s page 333
-
-
- 10138 00a8 85F84030 strb r3, [r5, #64]
- 10139 00ac D3E7 b .L973
- 10140 .L981:
-2272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10141 .loc 1 2272 0 is_stmt 1 discriminator 1
- 10142 00ae 0123 movs r3, #1
- 10143 00b0 85F84230 strb r3, [r5, #66]
- 10144 00b4 D7E7 b .L977
- 10145 .L982:
-2272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10146 .loc 1 2272 0 is_stmt 0 discriminator 3
- 10147 00b6 0123 movs r3, #1
- 10148 00b8 85F84330 strb r3, [r5, #67]
- 10149 00bc D3E7 b .L977
- 10150 .L983:
-2272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10151 .loc 1 2272 0 discriminator 6
- 10152 00be 0123 movs r3, #1
- 10153 00c0 85F84430 strb r3, [r5, #68]
- 10154 00c4 CFE7 b .L977
- 10155 .cfi_endproc
- 10156 .LFE102:
- 10158 .section .text.HAL_TIM_IC_Start_DMA,"ax",%progbits
- 10159 .align 1
- 10160 .global HAL_TIM_IC_Start_DMA
- 10161 .syntax unified
- 10162 .thumb
- 10163 .thumb_func
- 10164 .fpu softvfp
- 10166 HAL_TIM_IC_Start_DMA:
- 10167 .LFB103:
-2292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** uint32_t tmpsmcr;
- 10168 .loc 1 2292 0 is_stmt 1
- 10169 .cfi_startproc
- 10170 @ args = 0, pretend = 0, frame = 0
- 10171 @ frame_needed = 0, uses_anonymous_args = 0
- 10172 .LVL966:
- 10173 0000 38B5 push {r3, r4, r5, lr}
- 10174 .LCFI118:
- 10175 .cfi_def_cfa_offset 16
- 10176 .cfi_offset 3, -16
- 10177 .cfi_offset 4, -12
- 10178 .cfi_offset 5, -8
- 10179 .cfi_offset 14, -4
-2294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel);
- 10180 .loc 1 2294 0
- 10181 0002 0D46 mov r5, r1
- 10182 0004 81B9 cbnz r1, .L987
-2294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel);
- 10183 .loc 1 2294 0 is_stmt 0 discriminator 1
- 10184 0006 90F83E40 ldrb r4, [r0, #62] @ zero_extendqisi2
- 10185 000a E4B2 uxtb r4, r4
- 10186 .L988:
- 10187 .LVL967:
-2295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10188 .loc 1 2295 0 is_stmt 1 discriminator 12
- 10189 000c E5B9 cbnz r5, .L991
-ARM GAS /tmp/ccqsuCX7.s page 334
-
-
-2295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10190 .loc 1 2295 0 is_stmt 0 discriminator 1
- 10191 000e 90F84210 ldrb r1, [r0, #66] @ zero_extendqisi2
- 10192 .LVL968:
- 10193 0012 C9B2 uxtb r1, r1
- 10194 .L992:
- 10195 .LVL969:
-2302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_state == HAL_TIM_CHANNEL_STATE_BUSY))
- 10196 .loc 1 2302 0 is_stmt 1 discriminator 12
- 10197 0014 022C cmp r4, #2
- 10198 0016 00F0E780 beq .L1013
-2303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10199 .loc 1 2303 0
- 10200 001a 0229 cmp r1, #2
- 10201 001c 00F0E680 beq .L1014
-2307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** && (complementary_channel_state == HAL_TIM_CHANNEL_STATE_READY))
- 10202 .loc 1 2307 0
- 10203 0020 012C cmp r4, #1
- 10204 0022 21D0 beq .L1024
-2322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10205 .loc 1 2322 0
- 10206 0024 0120 movs r0, #1
- 10207 .LVL970:
- 10208 0026 38BD pop {r3, r4, r5, pc}
- 10209 .LVL971:
- 10210 .L987:
-2294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel);
- 10211 .loc 1 2294 0 discriminator 2
- 10212 0028 0429 cmp r1, #4
- 10213 002a 05D0 beq .L1025
-2294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel);
- 10214 .loc 1 2294 0 is_stmt 0 discriminator 5
- 10215 002c 0829 cmp r1, #8
- 10216 002e 07D0 beq .L1026
-2294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel);
- 10217 .loc 1 2294 0 discriminator 8
- 10218 0030 90F84140 ldrb r4, [r0, #65] @ zero_extendqisi2
- 10219 0034 E4B2 uxtb r4, r4
- 10220 0036 E9E7 b .L988
- 10221 .L1025:
-2294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel);
- 10222 .loc 1 2294 0 discriminator 4
- 10223 0038 90F83F40 ldrb r4, [r0, #63] @ zero_extendqisi2
- 10224 003c E4B2 uxtb r4, r4
- 10225 003e E5E7 b .L988
- 10226 .L1026:
-2294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_state = TIM_CHANNEL_N_STATE_GET(htim, Channel);
- 10227 .loc 1 2294 0 discriminator 7
- 10228 0040 90F84040 ldrb r4, [r0, #64] @ zero_extendqisi2
- 10229 0044 E4B2 uxtb r4, r4
- 10230 0046 E1E7 b .L988
- 10231 .LVL972:
- 10232 .L991:
-2295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10233 .loc 1 2295 0 is_stmt 1 discriminator 2
- 10234 0048 042D cmp r5, #4
- 10235 004a 05D0 beq .L1027
-ARM GAS /tmp/ccqsuCX7.s page 335
-
-
-2295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10236 .loc 1 2295 0 is_stmt 0 discriminator 5
- 10237 004c 082D cmp r5, #8
- 10238 004e 07D0 beq .L1028
-2295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10239 .loc 1 2295 0 discriminator 8
- 10240 0050 90F84510 ldrb r1, [r0, #69] @ zero_extendqisi2
- 10241 .LVL973:
- 10242 0054 C9B2 uxtb r1, r1
- 10243 0056 DDE7 b .L992
- 10244 .LVL974:
- 10245 .L1027:
-2295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10246 .loc 1 2295 0 discriminator 4
- 10247 0058 90F84310 ldrb r1, [r0, #67] @ zero_extendqisi2
- 10248 .LVL975:
- 10249 005c C9B2 uxtb r1, r1
- 10250 005e D9E7 b .L992
- 10251 .LVL976:
- 10252 .L1028:
-2295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10253 .loc 1 2295 0 discriminator 7
- 10254 0060 90F84410 ldrb r1, [r0, #68] @ zero_extendqisi2
- 10255 .LVL977:
- 10256 0064 C9B2 uxtb r1, r1
- 10257 0066 D5E7 b .L992
- 10258 .LVL978:
- 10259 .L1024:
-2308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10260 .loc 1 2308 0 is_stmt 1
- 10261 0068 0129 cmp r1, #1
- 10262 006a 01D0 beq .L1029
-2322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10263 .loc 1 2322 0
- 10264 006c 0120 movs r0, #1
- 10265 .LVL979:
- 10266 006e 38BD pop {r3, r4, r5, pc}
- 10267 .LVL980:
- 10268 .L1029:
-2310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10269 .loc 1 2310 0
- 10270 0070 9AB1 cbz r2, .L1030
- 10271 .L996:
-2316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 10272 .loc 1 2316 0
- 10273 0072 B5B9 cbnz r5, .L997
-2316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 10274 .loc 1 2316 0 is_stmt 0 discriminator 1
- 10275 0074 0221 movs r1, #2
- 10276 .LVL981:
- 10277 0076 80F83E10 strb r1, [r0, #62]
- 10278 .L998:
-2317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10279 .loc 1 2317 0 is_stmt 1
- 10280 007a 15BB cbnz r5, .L1001
-2317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10281 .loc 1 2317 0 is_stmt 0 discriminator 1
-ARM GAS /tmp/ccqsuCX7.s page 336
-
-
- 10282 007c 0221 movs r1, #2
- 10283 007e 80F84210 strb r1, [r0, #66]
- 10284 .L1002:
- 10285 0082 0446 mov r4, r0
- 10286 .LVL982:
-2325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10287 .loc 1 2325 0 is_stmt 1
- 10288 0084 0C2D cmp r5, #12
- 10289 0086 41D8 bhi .L1005
- 10290 0088 DFE805F0 tbb [pc, r5]
- 10291 .L1007:
- 10292 008c 2B .byte (.L1006-.L1007)/2
- 10293 008d 40 .byte (.L1005-.L1007)/2
- 10294 008e 40 .byte (.L1005-.L1007)/2
- 10295 008f 40 .byte (.L1005-.L1007)/2
- 10296 0090 62 .byte (.L1008-.L1007)/2
- 10297 0091 40 .byte (.L1005-.L1007)/2
- 10298 0092 40 .byte (.L1005-.L1007)/2
- 10299 0093 40 .byte (.L1005-.L1007)/2
- 10300 0094 78 .byte (.L1009-.L1007)/2
- 10301 0095 40 .byte (.L1005-.L1007)/2
- 10302 0096 40 .byte (.L1005-.L1007)/2
- 10303 0097 40 .byte (.L1005-.L1007)/2
- 10304 0098 8E .byte (.L1010-.L1007)/2
- 10305 .LVL983:
- 10306 0099 00 .p2align 1
- 10307 .L1030:
-2310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10308 .loc 1 2310 0 discriminator 1
- 10309 009a 002B cmp r3, #0
- 10310 009c E9D0 beq .L996
-2312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10311 .loc 1 2312 0
- 10312 009e 0120 movs r0, #1
- 10313 .LVL984:
- 10314 00a0 38BD pop {r3, r4, r5, pc}
- 10315 .LVL985:
- 10316 .L997:
-2316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 10317 .loc 1 2316 0 discriminator 2
- 10318 00a2 042D cmp r5, #4
- 10319 00a4 05D0 beq .L1031
-2316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 10320 .loc 1 2316 0 is_stmt 0 discriminator 4
- 10321 00a6 082D cmp r5, #8
- 10322 00a8 07D0 beq .L1032
-2316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 10323 .loc 1 2316 0 discriminator 7
- 10324 00aa 0221 movs r1, #2
- 10325 .LVL986:
- 10326 00ac 80F84110 strb r1, [r0, #65]
- 10327 00b0 E3E7 b .L998
- 10328 .LVL987:
- 10329 .L1031:
-2316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 10330 .loc 1 2316 0 discriminator 3
- 10331 00b2 0221 movs r1, #2
-ARM GAS /tmp/ccqsuCX7.s page 337
-
-
- 10332 .LVL988:
- 10333 00b4 80F83F10 strb r1, [r0, #63]
- 10334 00b8 DFE7 b .L998
- 10335 .LVL989:
- 10336 .L1032:
-2316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 10337 .loc 1 2316 0 discriminator 6
- 10338 00ba 0221 movs r1, #2
- 10339 .LVL990:
- 10340 00bc 80F84010 strb r1, [r0, #64]
- 10341 00c0 DBE7 b .L998
- 10342 .L1001:
-2317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10343 .loc 1 2317 0 is_stmt 1 discriminator 2
- 10344 00c2 042D cmp r5, #4
- 10345 00c4 05D0 beq .L1033
-2317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10346 .loc 1 2317 0 is_stmt 0 discriminator 4
- 10347 00c6 082D cmp r5, #8
- 10348 00c8 07D0 beq .L1034
-2317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10349 .loc 1 2317 0 discriminator 7
- 10350 00ca 0221 movs r1, #2
- 10351 00cc 80F84510 strb r1, [r0, #69]
- 10352 00d0 D7E7 b .L1002
- 10353 .L1033:
-2317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10354 .loc 1 2317 0 discriminator 3
- 10355 00d2 0221 movs r1, #2
- 10356 00d4 80F84310 strb r1, [r0, #67]
- 10357 00d8 D3E7 b .L1002
- 10358 .L1034:
-2317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10359 .loc 1 2317 0 discriminator 6
- 10360 00da 0221 movs r1, #2
- 10361 00dc 80F84410 strb r1, [r0, #68]
- 10362 00e0 CFE7 b .L1002
- 10363 .LVL991:
- 10364 .L1006:
-2330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
- 10365 .loc 1 2330 0 is_stmt 1
- 10366 00e2 416A ldr r1, [r0, #36]
- 10367 00e4 4748 ldr r0, .L1035
- 10368 .LVL992:
- 10369 00e6 8862 str r0, [r1, #40]
-2331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10370 .loc 1 2331 0
- 10371 00e8 616A ldr r1, [r4, #36]
- 10372 00ea 4748 ldr r0, .L1035+4
- 10373 00ec C862 str r0, [r1, #44]
-2334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10374 .loc 1 2334 0
- 10375 00ee 616A ldr r1, [r4, #36]
- 10376 00f0 4648 ldr r0, .L1035+8
- 10377 00f2 0863 str r0, [r1, #48]
-2337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10378 .loc 1 2337 0
-ARM GAS /tmp/ccqsuCX7.s page 338
-
-
- 10379 00f4 2168 ldr r1, [r4]
- 10380 00f6 3431 adds r1, r1, #52
- 10381 00f8 606A ldr r0, [r4, #36]
- 10382 00fa FFF7FEFF bl HAL_DMA_Start_IT
- 10383 .LVL993:
- 10384 00fe 0028 cmp r0, #0
- 10385 0100 76D1 bne .L1018
-2343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 10386 .loc 1 2343 0
- 10387 0102 2268 ldr r2, [r4]
- 10388 0104 D368 ldr r3, [r2, #12]
- 10389 0106 43F40073 orr r3, r3, #512
- 10390 010a D360 str r3, [r2, #12]
- 10391 .L1005:
-2412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10392 .loc 1 2412 0
- 10393 010c 0122 movs r2, #1
- 10394 010e 2946 mov r1, r5
- 10395 0110 2068 ldr r0, [r4]
- 10396 0112 FFF7FEFF bl TIM_CCxChannelCmd
- 10397 .LVL994:
-2415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10398 .loc 1 2415 0
- 10399 0116 2368 ldr r3, [r4]
- 10400 0118 3D4A ldr r2, .L1035+12
- 10401 011a 9342 cmp r3, r2
- 10402 011c 59D0 beq .L1011
-2415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10403 .loc 1 2415 0 is_stmt 0 discriminator 1
- 10404 011e 02F50062 add r2, r2, #2048
- 10405 0122 9342 cmp r3, r2
- 10406 0124 55D0 beq .L1011
-2415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10407 .loc 1 2415 0 discriminator 2
- 10408 0126 B3F1804F cmp r3, #1073741824
- 10409 012a 52D0 beq .L1011
-2415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10410 .loc 1 2415 0 discriminator 3
- 10411 012c A2F59832 sub r2, r2, #77824
- 10412 0130 9342 cmp r3, r2
- 10413 0132 4ED0 beq .L1011
-2415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10414 .loc 1 2415 0 discriminator 4
- 10415 0134 02F58062 add r2, r2, #1024
- 10416 0138 9342 cmp r3, r2
- 10417 013a 4AD0 beq .L1011
-2415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10418 .loc 1 2415 0 discriminator 5
- 10419 013c 02F58062 add r2, r2, #1024
- 10420 0140 9342 cmp r3, r2
- 10421 0142 46D0 beq .L1011
-2425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10422 .loc 1 2425 0 is_stmt 1
- 10423 0144 1A68 ldr r2, [r3]
- 10424 0146 42F00102 orr r2, r2, #1
- 10425 014a 1A60 str r2, [r3]
-2429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-ARM GAS /tmp/ccqsuCX7.s page 339
-
-
- 10426 .loc 1 2429 0
- 10427 014c 0020 movs r0, #0
- 10428 014e 38BD pop {r3, r4, r5, pc}
- 10429 .LVL995:
- 10430 .L1008:
-2350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
- 10431 .loc 1 2350 0
- 10432 0150 816A ldr r1, [r0, #40]
- 10433 0152 2C48 ldr r0, .L1035
- 10434 .LVL996:
- 10435 0154 8862 str r0, [r1, #40]
-2351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10436 .loc 1 2351 0
- 10437 0156 A16A ldr r1, [r4, #40]
- 10438 0158 2B48 ldr r0, .L1035+4
- 10439 015a C862 str r0, [r1, #44]
-2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10440 .loc 1 2354 0
- 10441 015c A16A ldr r1, [r4, #40]
- 10442 015e 2B48 ldr r0, .L1035+8
- 10443 0160 0863 str r0, [r1, #48]
-2357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10444 .loc 1 2357 0
- 10445 0162 2168 ldr r1, [r4]
- 10446 0164 3831 adds r1, r1, #56
- 10447 0166 A06A ldr r0, [r4, #40]
- 10448 0168 FFF7FEFF bl HAL_DMA_Start_IT
- 10449 .LVL997:
- 10450 016c 0028 cmp r0, #0
- 10451 016e 41D1 bne .L1019
-2363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 10452 .loc 1 2363 0
- 10453 0170 2268 ldr r2, [r4]
- 10454 0172 D368 ldr r3, [r2, #12]
- 10455 0174 43F48063 orr r3, r3, #1024
- 10456 0178 D360 str r3, [r2, #12]
-2364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10457 .loc 1 2364 0
- 10458 017a C7E7 b .L1005
- 10459 .LVL998:
- 10460 .L1009:
-2370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
- 10461 .loc 1 2370 0
- 10462 017c C16A ldr r1, [r0, #44]
- 10463 017e 2148 ldr r0, .L1035
- 10464 .LVL999:
- 10465 0180 8862 str r0, [r1, #40]
-2371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10466 .loc 1 2371 0
- 10467 0182 E16A ldr r1, [r4, #44]
- 10468 0184 2048 ldr r0, .L1035+4
- 10469 0186 C862 str r0, [r1, #44]
-2374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10470 .loc 1 2374 0
- 10471 0188 E16A ldr r1, [r4, #44]
- 10472 018a 2048 ldr r0, .L1035+8
- 10473 018c 0863 str r0, [r1, #48]
-ARM GAS /tmp/ccqsuCX7.s page 340
-
-
-2377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10474 .loc 1 2377 0
- 10475 018e 2168 ldr r1, [r4]
- 10476 0190 3C31 adds r1, r1, #60
- 10477 0192 E06A ldr r0, [r4, #44]
- 10478 0194 FFF7FEFF bl HAL_DMA_Start_IT
- 10479 .LVL1000:
- 10480 0198 0028 cmp r0, #0
- 10481 019a 2DD1 bne .L1020
-2383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 10482 .loc 1 2383 0
- 10483 019c 2268 ldr r2, [r4]
- 10484 019e D368 ldr r3, [r2, #12]
- 10485 01a0 43F40063 orr r3, r3, #2048
- 10486 01a4 D360 str r3, [r2, #12]
-2384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10487 .loc 1 2384 0
- 10488 01a6 B1E7 b .L1005
- 10489 .LVL1001:
- 10490 .L1010:
-2390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC4]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
- 10491 .loc 1 2390 0
- 10492 01a8 016B ldr r1, [r0, #48]
- 10493 01aa 1648 ldr r0, .L1035
- 10494 .LVL1002:
- 10495 01ac 8862 str r0, [r1, #40]
-2391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10496 .loc 1 2391 0
- 10497 01ae 216B ldr r1, [r4, #48]
- 10498 01b0 1548 ldr r0, .L1035+4
- 10499 01b2 C862 str r0, [r1, #44]
-2394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10500 .loc 1 2394 0
- 10501 01b4 216B ldr r1, [r4, #48]
- 10502 01b6 1548 ldr r0, .L1035+8
- 10503 01b8 0863 str r0, [r1, #48]
-2397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10504 .loc 1 2397 0
- 10505 01ba 2168 ldr r1, [r4]
- 10506 01bc 4031 adds r1, r1, #64
- 10507 01be 206B ldr r0, [r4, #48]
- 10508 01c0 FFF7FEFF bl HAL_DMA_Start_IT
- 10509 .LVL1003:
- 10510 01c4 D0B9 cbnz r0, .L1021
-2403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 10511 .loc 1 2403 0
- 10512 01c6 2268 ldr r2, [r4]
- 10513 01c8 D368 ldr r3, [r2, #12]
- 10514 01ca 43F48053 orr r3, r3, #4096
- 10515 01ce D360 str r3, [r2, #12]
-2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10516 .loc 1 2404 0
- 10517 01d0 9CE7 b .L1005
- 10518 .L1011:
-2417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 10519 .loc 1 2417 0
- 10520 01d2 9A68 ldr r2, [r3, #8]
-ARM GAS /tmp/ccqsuCX7.s page 341
-
-
- 10521 01d4 02F00702 and r2, r2, #7
- 10522 .LVL1004:
-2418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10523 .loc 1 2418 0
- 10524 01d8 062A cmp r2, #6
- 10525 01da 11D0 beq .L1022
-2420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10526 .loc 1 2420 0
- 10527 01dc 1A68 ldr r2, [r3]
- 10528 .LVL1005:
- 10529 01de 42F00102 orr r2, r2, #1
- 10530 01e2 1A60 str r2, [r3]
-2429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10531 .loc 1 2429 0
- 10532 01e4 0020 movs r0, #0
- 10533 01e6 38BD pop {r3, r4, r5, pc}
- 10534 .LVL1006:
- 10535 .L1013:
-2305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10536 .loc 1 2305 0
- 10537 01e8 0220 movs r0, #2
- 10538 .LVL1007:
- 10539 01ea 38BD pop {r3, r4, r5, pc}
- 10540 .LVL1008:
- 10541 .L1014:
- 10542 01ec 0220 movs r0, #2
- 10543 .LVL1009:
- 10544 01ee 38BD pop {r3, r4, r5, pc}
- 10545 .LVL1010:
- 10546 .L1018:
-2340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10547 .loc 1 2340 0
- 10548 01f0 0120 movs r0, #1
- 10549 01f2 38BD pop {r3, r4, r5, pc}
- 10550 .LVL1011:
- 10551 .L1019:
-2360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10552 .loc 1 2360 0
- 10553 01f4 0120 movs r0, #1
- 10554 01f6 38BD pop {r3, r4, r5, pc}
- 10555 .LVL1012:
- 10556 .L1020:
-2380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10557 .loc 1 2380 0
- 10558 01f8 0120 movs r0, #1
- 10559 01fa 38BD pop {r3, r4, r5, pc}
- 10560 .LVL1013:
- 10561 .L1021:
-2400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10562 .loc 1 2400 0
- 10563 01fc 0120 movs r0, #1
- 10564 01fe 38BD pop {r3, r4, r5, pc}
- 10565 .LVL1014:
- 10566 .L1022:
-2429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10567 .loc 1 2429 0
- 10568 0200 0020 movs r0, #0
-ARM GAS /tmp/ccqsuCX7.s page 342
-
-
-2430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10569 .loc 1 2430 0
- 10570 0202 38BD pop {r3, r4, r5, pc}
- 10571 .LVL1015:
- 10572 .L1036:
- 10573 .align 2
- 10574 .L1035:
- 10575 0204 00000000 .word TIM_DMACaptureCplt
- 10576 0208 00000000 .word TIM_DMACaptureHalfCplt
- 10577 020c 00000000 .word TIM_DMAError
- 10578 0210 002C0140 .word 1073818624
- 10579 .cfi_endproc
- 10580 .LFE103:
- 10582 .section .text.HAL_TIM_IC_Stop_DMA,"ax",%progbits
- 10583 .align 1
- 10584 .global HAL_TIM_IC_Stop_DMA
- 10585 .syntax unified
- 10586 .thumb
- 10587 .thumb_func
- 10588 .fpu softvfp
- 10590 HAL_TIM_IC_Stop_DMA:
- 10591 .LFB104:
-2444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 10592 .loc 1 2444 0
- 10593 .cfi_startproc
- 10594 @ args = 0, pretend = 0, frame = 0
- 10595 @ frame_needed = 0, uses_anonymous_args = 0
- 10596 .LVL1016:
- 10597 0000 38B5 push {r3, r4, r5, lr}
- 10598 .LCFI119:
- 10599 .cfi_def_cfa_offset 16
- 10600 .cfi_offset 3, -16
- 10601 .cfi_offset 4, -12
- 10602 .cfi_offset 5, -8
- 10603 .cfi_offset 14, -4
- 10604 0002 0546 mov r5, r0
- 10605 0004 0C46 mov r4, r1
-2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10606 .loc 1 2450 0
- 10607 0006 0022 movs r2, #0
- 10608 0008 0068 ldr r0, [r0]
- 10609 .LVL1017:
- 10610 000a FFF7FEFF bl TIM_CCxChannelCmd
- 10611 .LVL1018:
-2452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10612 .loc 1 2452 0
- 10613 000e 0C2C cmp r4, #12
- 10614 0010 10D8 bhi .L1038
- 10615 0012 DFE804F0 tbb [pc, r4]
- 10616 .L1040:
- 10617 0016 07 .byte (.L1039-.L1040)/2
- 10618 0017 0F .byte (.L1038-.L1040)/2
- 10619 0018 0F .byte (.L1038-.L1040)/2
- 10620 0019 0F .byte (.L1038-.L1040)/2
- 10621 001a 2D .byte (.L1041-.L1040)/2
- 10622 001b 0F .byte (.L1038-.L1040)/2
- 10623 001c 0F .byte (.L1038-.L1040)/2
-ARM GAS /tmp/ccqsuCX7.s page 343
-
-
- 10624 001d 0F .byte (.L1038-.L1040)/2
- 10625 001e 36 .byte (.L1042-.L1040)/2
- 10626 001f 0F .byte (.L1038-.L1040)/2
- 10627 0020 0F .byte (.L1038-.L1040)/2
- 10628 0021 0F .byte (.L1038-.L1040)/2
- 10629 0022 3F .byte (.L1043-.L1040)/2
- 10630 0023 00 .p2align 1
- 10631 .L1039:
-2457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
- 10632 .loc 1 2457 0
- 10633 0024 2A68 ldr r2, [r5]
- 10634 0026 D368 ldr r3, [r2, #12]
- 10635 0028 23F40073 bic r3, r3, #512
- 10636 002c D360 str r3, [r2, #12]
-2458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 10637 .loc 1 2458 0
- 10638 002e 686A ldr r0, [r5, #36]
- 10639 0030 FFF7FEFF bl HAL_DMA_Abort_IT
- 10640 .LVL1019:
- 10641 .L1038:
-2491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10642 .loc 1 2491 0
- 10643 0034 2B68 ldr r3, [r5]
- 10644 0036 196A ldr r1, [r3, #32]
- 10645 0038 41F21112 movw r2, #4369
- 10646 003c 1142 tst r1, r2
- 10647 003e 08D1 bne .L1044
-2491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10648 .loc 1 2491 0 is_stmt 0 discriminator 1
- 10649 0040 196A ldr r1, [r3, #32]
- 10650 0042 40F24442 movw r2, #1092
- 10651 0046 1142 tst r1, r2
- 10652 0048 03D1 bne .L1044
-2491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10653 .loc 1 2491 0 discriminator 2
- 10654 004a 1A68 ldr r2, [r3]
- 10655 004c 22F00102 bic r2, r2, #1
- 10656 0050 1A60 str r2, [r3]
- 10657 .L1044:
-2494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 10658 .loc 1 2494 0 is_stmt 1
- 10659 0052 44BB cbnz r4, .L1045
-2494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 10660 .loc 1 2494 0 is_stmt 0 discriminator 1
- 10661 0054 0123 movs r3, #1
- 10662 0056 85F83E30 strb r3, [r5, #62]
- 10663 .L1046:
-2495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10664 .loc 1 2495 0 is_stmt 1
- 10665 005a 002C cmp r4, #0
- 10666 005c 33D0 beq .L1054
-2495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10667 .loc 1 2495 0 is_stmt 0 discriminator 2
- 10668 005e 042C cmp r4, #4
- 10669 0060 35D0 beq .L1055
-2495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10670 .loc 1 2495 0 discriminator 4
-ARM GAS /tmp/ccqsuCX7.s page 344
-
-
- 10671 0062 082C cmp r4, #8
- 10672 0064 37D0 beq .L1056
-2495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10673 .loc 1 2495 0 discriminator 7
- 10674 0066 0123 movs r3, #1
- 10675 0068 85F84530 strb r3, [r5, #69]
- 10676 .L1050:
-2499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /**
- 10677 .loc 1 2499 0 is_stmt 1
- 10678 006c 0020 movs r0, #0
- 10679 006e 38BD pop {r3, r4, r5, pc}
- 10680 .LVL1020:
- 10681 .L1041:
-2465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]);
- 10682 .loc 1 2465 0
- 10683 0070 2A68 ldr r2, [r5]
- 10684 0072 D368 ldr r3, [r2, #12]
- 10685 0074 23F48063 bic r3, r3, #1024
- 10686 0078 D360 str r3, [r2, #12]
-2466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 10687 .loc 1 2466 0
- 10688 007a A86A ldr r0, [r5, #40]
- 10689 007c FFF7FEFF bl HAL_DMA_Abort_IT
- 10690 .LVL1021:
-2467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10691 .loc 1 2467 0
- 10692 0080 D8E7 b .L1038
- 10693 .L1042:
-2473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]);
- 10694 .loc 1 2473 0
- 10695 0082 2A68 ldr r2, [r5]
- 10696 0084 D368 ldr r3, [r2, #12]
- 10697 0086 23F40063 bic r3, r3, #2048
- 10698 008a D360 str r3, [r2, #12]
-2474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 10699 .loc 1 2474 0
- 10700 008c E86A ldr r0, [r5, #44]
- 10701 008e FFF7FEFF bl HAL_DMA_Abort_IT
- 10702 .LVL1022:
-2475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10703 .loc 1 2475 0
- 10704 0092 CFE7 b .L1038
- 10705 .L1043:
-2481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC4]);
- 10706 .loc 1 2481 0
- 10707 0094 2A68 ldr r2, [r5]
- 10708 0096 D368 ldr r3, [r2, #12]
- 10709 0098 23F48053 bic r3, r3, #4096
- 10710 009c D360 str r3, [r2, #12]
-2482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 10711 .loc 1 2482 0
- 10712 009e 286B ldr r0, [r5, #48]
- 10713 00a0 FFF7FEFF bl HAL_DMA_Abort_IT
- 10714 .LVL1023:
-2483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10715 .loc 1 2483 0
- 10716 00a4 C6E7 b .L1038
-ARM GAS /tmp/ccqsuCX7.s page 345
-
-
- 10717 .L1045:
-2494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 10718 .loc 1 2494 0 discriminator 2
- 10719 00a6 042C cmp r4, #4
- 10720 00a8 05D0 beq .L1057
-2494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 10721 .loc 1 2494 0 is_stmt 0 discriminator 4
- 10722 00aa 082C cmp r4, #8
- 10723 00ac 07D0 beq .L1058
-2494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 10724 .loc 1 2494 0 discriminator 7
- 10725 00ae 0123 movs r3, #1
- 10726 00b0 85F84130 strb r3, [r5, #65]
- 10727 00b4 D1E7 b .L1046
- 10728 .L1057:
-2494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 10729 .loc 1 2494 0 discriminator 3
- 10730 00b6 0123 movs r3, #1
- 10731 00b8 85F83F30 strb r3, [r5, #63]
- 10732 00bc CDE7 b .L1046
- 10733 .L1058:
-2494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 10734 .loc 1 2494 0 discriminator 6
- 10735 00be 0123 movs r3, #1
- 10736 00c0 85F84030 strb r3, [r5, #64]
- 10737 00c4 C9E7 b .L1046
- 10738 .L1054:
-2495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10739 .loc 1 2495 0 is_stmt 1 discriminator 1
- 10740 00c6 0123 movs r3, #1
- 10741 00c8 85F84230 strb r3, [r5, #66]
- 10742 00cc CEE7 b .L1050
- 10743 .L1055:
-2495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10744 .loc 1 2495 0 is_stmt 0 discriminator 3
- 10745 00ce 0123 movs r3, #1
- 10746 00d0 85F84330 strb r3, [r5, #67]
- 10747 00d4 CAE7 b .L1050
- 10748 .L1056:
-2495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10749 .loc 1 2495 0 discriminator 6
- 10750 00d6 0123 movs r3, #1
- 10751 00d8 85F84430 strb r3, [r5, #68]
- 10752 00dc C6E7 b .L1050
- 10753 .cfi_endproc
- 10754 .LFE104:
- 10756 .section .text.HAL_TIM_OnePulse_Start,"ax",%progbits
- 10757 .align 1
- 10758 .global HAL_TIM_OnePulse_Start
- 10759 .syntax unified
- 10760 .thumb
- 10761 .thumb_func
- 10762 .fpu softvfp
- 10764 HAL_TIM_OnePulse_Start:
- 10765 .LFB109:
-2690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
- 10766 .loc 1 2690 0 is_stmt 1
-ARM GAS /tmp/ccqsuCX7.s page 346
-
-
- 10767 .cfi_startproc
- 10768 @ args = 0, pretend = 0, frame = 0
- 10769 @ frame_needed = 0, uses_anonymous_args = 0
- 10770 .LVL1024:
- 10771 0000 10B5 push {r4, lr}
- 10772 .LCFI120:
- 10773 .cfi_def_cfa_offset 8
- 10774 .cfi_offset 4, -8
- 10775 .cfi_offset 14, -4
-2691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
- 10776 .loc 1 2691 0
- 10777 0002 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2
- 10778 0006 DBB2 uxtb r3, r3
- 10779 .LVL1025:
-2692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
- 10780 .loc 1 2692 0
- 10781 0008 90F83F20 ldrb r2, [r0, #63] @ zero_extendqisi2
- 10782 .LVL1026:
-2693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
- 10783 .loc 1 2693 0
- 10784 000c 90F84210 ldrb r1, [r0, #66] @ zero_extendqisi2
- 10785 .LVL1027:
-2694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10786 .loc 1 2694 0
- 10787 0010 90F84340 ldrb r4, [r0, #67] @ zero_extendqisi2
- 10788 .LVL1028:
-2700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
- 10789 .loc 1 2700 0
- 10790 0014 012B cmp r3, #1
- 10791 0016 01D0 beq .L1070
-2705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10792 .loc 1 2705 0
- 10793 0018 0120 movs r0, #1
- 10794 .LVL1029:
- 10795 001a 10BD pop {r4, pc}
- 10796 .LVL1030:
- 10797 .L1070:
- 10798 001c D2B2 uxtb r2, r2
- 10799 001e C9B2 uxtb r1, r1
- 10800 0020 E4B2 uxtb r4, r4
-2701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
- 10801 .loc 1 2701 0
- 10802 0022 012A cmp r2, #1
- 10803 0024 01D0 beq .L1071
-2705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10804 .loc 1 2705 0
- 10805 0026 0120 movs r0, #1
- 10806 .LVL1031:
- 10807 0028 10BD pop {r4, pc}
- 10808 .LVL1032:
- 10809 .L1071:
-2702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
- 10810 .loc 1 2702 0
- 10811 002a 0129 cmp r1, #1
- 10812 002c 01D0 beq .L1072
-2705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10813 .loc 1 2705 0
-ARM GAS /tmp/ccqsuCX7.s page 347
-
-
- 10814 002e 0120 movs r0, #1
- 10815 .LVL1033:
- 10816 0030 10BD pop {r4, pc}
- 10817 .LVL1034:
- 10818 .L1072:
-2703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10819 .loc 1 2703 0
- 10820 0032 012C cmp r4, #1
- 10821 0034 01D0 beq .L1073
-2705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10822 .loc 1 2705 0
- 10823 0036 0120 movs r0, #1
- 10824 .LVL1035:
- 10825 0038 10BD pop {r4, pc}
- 10826 .LVL1036:
- 10827 .L1073:
- 10828 003a 0446 mov r4, r0
- 10829 .LVL1037:
-2709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
- 10830 .loc 1 2709 0
- 10831 003c 0223 movs r3, #2
- 10832 .LVL1038:
- 10833 003e 80F83E30 strb r3, [r0, #62]
-2710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
- 10834 .loc 1 2710 0
- 10835 0042 80F83F30 strb r3, [r0, #63]
-2711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
- 10836 .loc 1 2711 0
- 10837 0046 80F84230 strb r3, [r0, #66]
-2712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10838 .loc 1 2712 0
- 10839 004a 80F84330 strb r3, [r0, #67]
-2723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE);
- 10840 .loc 1 2723 0
- 10841 004e 0021 movs r1, #0
- 10842 .LVL1039:
- 10843 0050 0068 ldr r0, [r0]
- 10844 .LVL1040:
- 10845 0052 FFF7FEFF bl TIM_CCxChannelCmd
- 10846 .LVL1041:
-2724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10847 .loc 1 2724 0
- 10848 0056 0122 movs r2, #1
- 10849 0058 0421 movs r1, #4
- 10850 005a 2068 ldr r0, [r4]
- 10851 005c FFF7FEFF bl TIM_CCxChannelCmd
- 10852 .LVL1042:
-2726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10853 .loc 1 2726 0
- 10854 0060 2368 ldr r3, [r4]
- 10855 0062 0A4A ldr r2, .L1075
- 10856 0064 9342 cmp r3, r2
- 10857 0066 0DD0 beq .L1066
-2726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10858 .loc 1 2726 0 is_stmt 0 discriminator 2
- 10859 0068 02F50062 add r2, r2, #2048
- 10860 006c 9342 cmp r3, r2
-ARM GAS /tmp/ccqsuCX7.s page 348
-
-
- 10861 006e 07D0 beq .L1074
-2726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10862 .loc 1 2726 0
- 10863 0070 0022 movs r2, #0
- 10864 .L1061:
-2726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10865 .loc 1 2726 0 discriminator 6
- 10866 0072 4AB1 cbz r2, .L1068
-2729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10867 .loc 1 2729 0 is_stmt 1
- 10868 0074 5A6C ldr r2, [r3, #68]
- 10869 0076 42F40042 orr r2, r2, #32768
- 10870 007a 5A64 str r2, [r3, #68]
-2733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10871 .loc 1 2733 0
- 10872 007c 0020 movs r0, #0
- 10873 007e 10BD pop {r4, pc}
- 10874 .LVL1043:
- 10875 .L1074:
-2726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10876 .loc 1 2726 0
- 10877 0080 0122 movs r2, #1
- 10878 0082 F6E7 b .L1061
- 10879 .L1066:
- 10880 0084 0122 movs r2, #1
- 10881 0086 F4E7 b .L1061
- 10882 .L1068:
-2733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10883 .loc 1 2733 0
- 10884 0088 0020 movs r0, #0
-2734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10885 .loc 1 2734 0
- 10886 008a 10BD pop {r4, pc}
- 10887 .LVL1044:
- 10888 .L1076:
- 10889 .align 2
- 10890 .L1075:
- 10891 008c 002C0140 .word 1073818624
- 10892 .cfi_endproc
- 10893 .LFE109:
- 10895 .section .text.HAL_TIM_OnePulse_Stop,"ax",%progbits
- 10896 .align 1
- 10897 .global HAL_TIM_OnePulse_Stop
- 10898 .syntax unified
- 10899 .thumb
- 10900 .thumb_func
- 10901 .fpu softvfp
- 10903 HAL_TIM_OnePulse_Stop:
- 10904 .LFB110:
-2746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 10905 .loc 1 2746 0
- 10906 .cfi_startproc
- 10907 @ args = 0, pretend = 0, frame = 0
- 10908 @ frame_needed = 0, uses_anonymous_args = 0
- 10909 .LVL1045:
- 10910 0000 10B5 push {r4, lr}
- 10911 .LCFI121:
-ARM GAS /tmp/ccqsuCX7.s page 349
-
-
- 10912 .cfi_def_cfa_offset 8
- 10913 .cfi_offset 4, -8
- 10914 .cfi_offset 14, -4
- 10915 0002 0446 mov r4, r0
-2756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE);
- 10916 .loc 1 2756 0
- 10917 0004 0022 movs r2, #0
- 10918 0006 1146 mov r1, r2
- 10919 .LVL1046:
- 10920 0008 0068 ldr r0, [r0]
- 10921 .LVL1047:
- 10922 000a FFF7FEFF bl TIM_CCxChannelCmd
- 10923 .LVL1048:
-2757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10924 .loc 1 2757 0
- 10925 000e 0022 movs r2, #0
- 10926 0010 0421 movs r1, #4
- 10927 0012 2068 ldr r0, [r4]
- 10928 0014 FFF7FEFF bl TIM_CCxChannelCmd
- 10929 .LVL1049:
-2759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10930 .loc 1 2759 0
- 10931 0018 2368 ldr r3, [r4]
- 10932 001a 1A4A ldr r2, .L1085
- 10933 001c 9342 cmp r3, r2
- 10934 001e 2FD0 beq .L1081
-2759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10935 .loc 1 2759 0 is_stmt 0 discriminator 2
- 10936 0020 02F50062 add r2, r2, #2048
- 10937 0024 9342 cmp r3, r2
- 10938 0026 29D0 beq .L1084
-2759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10939 .loc 1 2759 0
- 10940 0028 0022 movs r2, #0
- 10941 .L1078:
-2759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10942 .loc 1 2759 0 discriminator 6
- 10943 002a 6AB1 cbz r2, .L1079
-2762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10944 .loc 1 2762 0 is_stmt 1
- 10945 002c 196A ldr r1, [r3, #32]
- 10946 002e 41F21112 movw r2, #4369
- 10947 0032 1142 tst r1, r2
- 10948 0034 08D1 bne .L1079
-2762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10949 .loc 1 2762 0 is_stmt 0 discriminator 1
- 10950 0036 196A ldr r1, [r3, #32]
- 10951 0038 40F24442 movw r2, #1092
- 10952 003c 1142 tst r1, r2
- 10953 003e 03D1 bne .L1079
-2762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 10954 .loc 1 2762 0 discriminator 2
- 10955 0040 5A6C ldr r2, [r3, #68]
- 10956 0042 22F40042 bic r2, r2, #32768
- 10957 0046 5A64 str r2, [r3, #68]
- 10958 .L1079:
-2766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 350
-
-
- 10959 .loc 1 2766 0 is_stmt 1
- 10960 0048 2368 ldr r3, [r4]
- 10961 004a 196A ldr r1, [r3, #32]
- 10962 004c 41F21112 movw r2, #4369
- 10963 0050 1142 tst r1, r2
- 10964 0052 08D1 bne .L1080
-2766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10965 .loc 1 2766 0 is_stmt 0 discriminator 1
- 10966 0054 196A ldr r1, [r3, #32]
- 10967 0056 40F24442 movw r2, #1092
- 10968 005a 1142 tst r1, r2
- 10969 005c 03D1 bne .L1080
-2766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10970 .loc 1 2766 0 discriminator 2
- 10971 005e 1A68 ldr r2, [r3]
- 10972 0060 22F00102 bic r2, r2, #1
- 10973 0064 1A60 str r2, [r3]
- 10974 .L1080:
-2769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 10975 .loc 1 2769 0 is_stmt 1
- 10976 0066 0123 movs r3, #1
- 10977 0068 84F83E30 strb r3, [r4, #62]
-2770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
- 10978 .loc 1 2770 0
- 10979 006c 84F83F30 strb r3, [r4, #63]
-2771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 10980 .loc 1 2771 0
- 10981 0070 84F84230 strb r3, [r4, #66]
-2772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10982 .loc 1 2772 0
- 10983 0074 84F84330 strb r3, [r4, #67]
-2776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 10984 .loc 1 2776 0
- 10985 0078 0020 movs r0, #0
- 10986 007a 10BD pop {r4, pc}
- 10987 .LVL1050:
- 10988 .L1084:
-2759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 10989 .loc 1 2759 0
- 10990 007c 0122 movs r2, #1
- 10991 007e D4E7 b .L1078
- 10992 .L1081:
- 10993 0080 0122 movs r2, #1
- 10994 0082 D2E7 b .L1078
- 10995 .L1086:
- 10996 .align 2
- 10997 .L1085:
- 10998 0084 002C0140 .word 1073818624
- 10999 .cfi_endproc
- 11000 .LFE110:
- 11002 .section .text.HAL_TIM_OnePulse_Start_IT,"ax",%progbits
- 11003 .align 1
- 11004 .global HAL_TIM_OnePulse_Start_IT
- 11005 .syntax unified
- 11006 .thumb
- 11007 .thumb_func
- 11008 .fpu softvfp
-ARM GAS /tmp/ccqsuCX7.s page 351
-
-
- 11010 HAL_TIM_OnePulse_Start_IT:
- 11011 .LFB111:
-2788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
- 11012 .loc 1 2788 0
- 11013 .cfi_startproc
- 11014 @ args = 0, pretend = 0, frame = 0
- 11015 @ frame_needed = 0, uses_anonymous_args = 0
- 11016 .LVL1051:
- 11017 0000 10B5 push {r4, lr}
- 11018 .LCFI122:
- 11019 .cfi_def_cfa_offset 8
- 11020 .cfi_offset 4, -8
- 11021 .cfi_offset 14, -4
-2789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
- 11022 .loc 1 2789 0
- 11023 0002 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2
- 11024 0006 DBB2 uxtb r3, r3
- 11025 .LVL1052:
-2790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
- 11026 .loc 1 2790 0
- 11027 0008 90F83F20 ldrb r2, [r0, #63] @ zero_extendqisi2
- 11028 .LVL1053:
-2791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
- 11029 .loc 1 2791 0
- 11030 000c 90F84210 ldrb r1, [r0, #66] @ zero_extendqisi2
- 11031 .LVL1054:
-2792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11032 .loc 1 2792 0
- 11033 0010 90F84340 ldrb r4, [r0, #67] @ zero_extendqisi2
- 11034 .LVL1055:
-2798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
- 11035 .loc 1 2798 0
- 11036 0014 012B cmp r3, #1
- 11037 0016 01D0 beq .L1098
-2803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11038 .loc 1 2803 0
- 11039 0018 0120 movs r0, #1
- 11040 .LVL1056:
- 11041 001a 10BD pop {r4, pc}
- 11042 .LVL1057:
- 11043 .L1098:
- 11044 001c D2B2 uxtb r2, r2
- 11045 001e C9B2 uxtb r1, r1
- 11046 0020 E4B2 uxtb r4, r4
-2799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
- 11047 .loc 1 2799 0
- 11048 0022 012A cmp r2, #1
- 11049 0024 01D0 beq .L1099
-2803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11050 .loc 1 2803 0
- 11051 0026 0120 movs r0, #1
- 11052 .LVL1058:
- 11053 0028 10BD pop {r4, pc}
- 11054 .LVL1059:
- 11055 .L1099:
-2800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
- 11056 .loc 1 2800 0
-ARM GAS /tmp/ccqsuCX7.s page 352
-
-
- 11057 002a 0129 cmp r1, #1
- 11058 002c 01D0 beq .L1100
-2803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11059 .loc 1 2803 0
- 11060 002e 0120 movs r0, #1
- 11061 .LVL1060:
- 11062 0030 10BD pop {r4, pc}
- 11063 .LVL1061:
- 11064 .L1100:
-2801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11065 .loc 1 2801 0
- 11066 0032 012C cmp r4, #1
- 11067 0034 01D0 beq .L1101
-2803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11068 .loc 1 2803 0
- 11069 0036 0120 movs r0, #1
- 11070 .LVL1062:
- 11071 0038 10BD pop {r4, pc}
- 11072 .LVL1063:
- 11073 .L1101:
- 11074 003a 0446 mov r4, r0
- 11075 .LVL1064:
-2807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
- 11076 .loc 1 2807 0
- 11077 003c 0223 movs r3, #2
- 11078 .LVL1065:
- 11079 003e 80F83E30 strb r3, [r0, #62]
-2808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
- 11080 .loc 1 2808 0
- 11081 0042 80F83F30 strb r3, [r0, #63]
-2809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
- 11082 .loc 1 2809 0
- 11083 0046 80F84230 strb r3, [r0, #66]
-2810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11084 .loc 1 2810 0
- 11085 004a 80F84330 strb r3, [r0, #67]
-2822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11086 .loc 1 2822 0
- 11087 004e 0268 ldr r2, [r0]
- 11088 .LVL1066:
- 11089 0050 D368 ldr r3, [r2, #12]
- 11090 0052 43F00203 orr r3, r3, #2
- 11091 0056 D360 str r3, [r2, #12]
-2825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11092 .loc 1 2825 0
- 11093 0058 0268 ldr r2, [r0]
- 11094 005a D368 ldr r3, [r2, #12]
- 11095 005c 43F00403 orr r3, r3, #4
- 11096 0060 D360 str r3, [r2, #12]
-2827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE);
- 11097 .loc 1 2827 0
- 11098 0062 0122 movs r2, #1
- 11099 0064 0021 movs r1, #0
- 11100 .LVL1067:
- 11101 0066 0068 ldr r0, [r0]
- 11102 .LVL1068:
- 11103 0068 FFF7FEFF bl TIM_CCxChannelCmd
-ARM GAS /tmp/ccqsuCX7.s page 353
-
-
- 11104 .LVL1069:
-2828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11105 .loc 1 2828 0
- 11106 006c 0122 movs r2, #1
- 11107 006e 0421 movs r1, #4
- 11108 0070 2068 ldr r0, [r4]
- 11109 0072 FFF7FEFF bl TIM_CCxChannelCmd
- 11110 .LVL1070:
-2830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11111 .loc 1 2830 0
- 11112 0076 2368 ldr r3, [r4]
- 11113 0078 0A4A ldr r2, .L1103
- 11114 007a 9342 cmp r3, r2
- 11115 007c 0DD0 beq .L1094
-2830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11116 .loc 1 2830 0 is_stmt 0 discriminator 2
- 11117 007e 02F50062 add r2, r2, #2048
- 11118 0082 9342 cmp r3, r2
- 11119 0084 07D0 beq .L1102
-2830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11120 .loc 1 2830 0
- 11121 0086 0022 movs r2, #0
- 11122 .L1089:
-2830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11123 .loc 1 2830 0 discriminator 6
- 11124 0088 4AB1 cbz r2, .L1096
-2833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11125 .loc 1 2833 0 is_stmt 1
- 11126 008a 5A6C ldr r2, [r3, #68]
- 11127 008c 42F40042 orr r2, r2, #32768
- 11128 0090 5A64 str r2, [r3, #68]
-2837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11129 .loc 1 2837 0
- 11130 0092 0020 movs r0, #0
- 11131 0094 10BD pop {r4, pc}
- 11132 .LVL1071:
- 11133 .L1102:
-2830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11134 .loc 1 2830 0
- 11135 0096 0122 movs r2, #1
- 11136 0098 F6E7 b .L1089
- 11137 .L1094:
- 11138 009a 0122 movs r2, #1
- 11139 009c F4E7 b .L1089
- 11140 .L1096:
-2837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11141 .loc 1 2837 0
- 11142 009e 0020 movs r0, #0
-2838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11143 .loc 1 2838 0
- 11144 00a0 10BD pop {r4, pc}
- 11145 .LVL1072:
- 11146 .L1104:
- 11147 00a2 00BF .align 2
- 11148 .L1103:
- 11149 00a4 002C0140 .word 1073818624
- 11150 .cfi_endproc
-ARM GAS /tmp/ccqsuCX7.s page 354
-
-
- 11151 .LFE111:
- 11153 .section .text.HAL_TIM_OnePulse_Stop_IT,"ax",%progbits
- 11154 .align 1
- 11155 .global HAL_TIM_OnePulse_Stop_IT
- 11156 .syntax unified
- 11157 .thumb
- 11158 .thumb_func
- 11159 .fpu softvfp
- 11161 HAL_TIM_OnePulse_Stop_IT:
- 11162 .LFB112:
-2850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Prevent unused argument(s) compilation warning */
- 11163 .loc 1 2850 0
- 11164 .cfi_startproc
- 11165 @ args = 0, pretend = 0, frame = 0
- 11166 @ frame_needed = 0, uses_anonymous_args = 0
- 11167 .LVL1073:
- 11168 0000 10B5 push {r4, lr}
- 11169 .LCFI123:
- 11170 .cfi_def_cfa_offset 8
- 11171 .cfi_offset 4, -8
- 11172 .cfi_offset 14, -4
- 11173 0002 0446 mov r4, r0
-2855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11174 .loc 1 2855 0
- 11175 0004 0268 ldr r2, [r0]
- 11176 0006 D368 ldr r3, [r2, #12]
- 11177 0008 23F00203 bic r3, r3, #2
- 11178 000c D360 str r3, [r2, #12]
-2858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11179 .loc 1 2858 0
- 11180 000e 0268 ldr r2, [r0]
- 11181 0010 D368 ldr r3, [r2, #12]
- 11182 0012 23F00403 bic r3, r3, #4
- 11183 0016 D360 str r3, [r2, #12]
-2865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE);
- 11184 .loc 1 2865 0
- 11185 0018 0022 movs r2, #0
- 11186 001a 1146 mov r1, r2
- 11187 .LVL1074:
- 11188 001c 0068 ldr r0, [r0]
- 11189 .LVL1075:
- 11190 001e FFF7FEFF bl TIM_CCxChannelCmd
- 11191 .LVL1076:
-2866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11192 .loc 1 2866 0
- 11193 0022 0022 movs r2, #0
- 11194 0024 0421 movs r1, #4
- 11195 0026 2068 ldr r0, [r4]
- 11196 0028 FFF7FEFF bl TIM_CCxChannelCmd
- 11197 .LVL1077:
-2868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11198 .loc 1 2868 0
- 11199 002c 2368 ldr r3, [r4]
- 11200 002e 1A4A ldr r2, .L1113
- 11201 0030 9342 cmp r3, r2
- 11202 0032 2FD0 beq .L1109
-2868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
-ARM GAS /tmp/ccqsuCX7.s page 355
-
-
- 11203 .loc 1 2868 0 is_stmt 0 discriminator 2
- 11204 0034 02F50062 add r2, r2, #2048
- 11205 0038 9342 cmp r3, r2
- 11206 003a 29D0 beq .L1112
-2868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11207 .loc 1 2868 0
- 11208 003c 0022 movs r2, #0
- 11209 .L1106:
-2868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11210 .loc 1 2868 0 discriminator 6
- 11211 003e 6AB1 cbz r2, .L1107
-2871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11212 .loc 1 2871 0 is_stmt 1
- 11213 0040 196A ldr r1, [r3, #32]
- 11214 0042 41F21112 movw r2, #4369
- 11215 0046 1142 tst r1, r2
- 11216 0048 08D1 bne .L1107
-2871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11217 .loc 1 2871 0 is_stmt 0 discriminator 1
- 11218 004a 196A ldr r1, [r3, #32]
- 11219 004c 40F24442 movw r2, #1092
- 11220 0050 1142 tst r1, r2
- 11221 0052 03D1 bne .L1107
-2871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11222 .loc 1 2871 0 discriminator 2
- 11223 0054 5A6C ldr r2, [r3, #68]
- 11224 0056 22F40042 bic r2, r2, #32768
- 11225 005a 5A64 str r2, [r3, #68]
- 11226 .L1107:
-2875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11227 .loc 1 2875 0 is_stmt 1
- 11228 005c 2368 ldr r3, [r4]
- 11229 005e 196A ldr r1, [r3, #32]
- 11230 0060 41F21112 movw r2, #4369
- 11231 0064 1142 tst r1, r2
- 11232 0066 08D1 bne .L1108
-2875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11233 .loc 1 2875 0 is_stmt 0 discriminator 1
- 11234 0068 196A ldr r1, [r3, #32]
- 11235 006a 40F24442 movw r2, #1092
- 11236 006e 1142 tst r1, r2
- 11237 0070 03D1 bne .L1108
-2875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11238 .loc 1 2875 0 discriminator 2
- 11239 0072 1A68 ldr r2, [r3]
- 11240 0074 22F00102 bic r2, r2, #1
- 11241 0078 1A60 str r2, [r3]
- 11242 .L1108:
-2878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 11243 .loc 1 2878 0 is_stmt 1
- 11244 007a 0123 movs r3, #1
- 11245 007c 84F83E30 strb r3, [r4, #62]
-2879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
- 11246 .loc 1 2879 0
- 11247 0080 84F83F30 strb r3, [r4, #63]
-2880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 11248 .loc 1 2880 0
-ARM GAS /tmp/ccqsuCX7.s page 356
-
-
- 11249 0084 84F84230 strb r3, [r4, #66]
-2881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11250 .loc 1 2881 0
- 11251 0088 84F84330 strb r3, [r4, #67]
-2885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11252 .loc 1 2885 0
- 11253 008c 0020 movs r0, #0
- 11254 008e 10BD pop {r4, pc}
- 11255 .LVL1078:
- 11256 .L1112:
-2868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11257 .loc 1 2868 0
- 11258 0090 0122 movs r2, #1
- 11259 0092 D4E7 b .L1106
- 11260 .L1109:
- 11261 0094 0122 movs r2, #1
- 11262 0096 D2E7 b .L1106
- 11263 .L1114:
- 11264 .align 2
- 11265 .L1113:
- 11266 0098 002C0140 .word 1073818624
- 11267 .cfi_endproc
- 11268 .LFE112:
- 11270 .section .text.HAL_TIM_Encoder_Start,"ax",%progbits
- 11271 .align 1
- 11272 .global HAL_TIM_Encoder_Start
- 11273 .syntax unified
- 11274 .thumb
- 11275 .thumb_func
- 11276 .fpu softvfp
- 11278 HAL_TIM_Encoder_Start:
- 11279 .LFB117:
-3122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
- 11280 .loc 1 3122 0
- 11281 .cfi_startproc
- 11282 @ args = 0, pretend = 0, frame = 0
- 11283 @ frame_needed = 0, uses_anonymous_args = 0
- 11284 .LVL1079:
- 11285 0000 70B5 push {r4, r5, r6, lr}
- 11286 .LCFI124:
- 11287 .cfi_def_cfa_offset 16
- 11288 .cfi_offset 4, -16
- 11289 .cfi_offset 5, -12
- 11290 .cfi_offset 6, -8
- 11291 .cfi_offset 14, -4
-3123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
- 11292 .loc 1 3123 0
- 11293 0002 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2
- 11294 0006 DBB2 uxtb r3, r3
- 11295 .LVL1080:
-3124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
- 11296 .loc 1 3124 0
- 11297 0008 90F83F20 ldrb r2, [r0, #63] @ zero_extendqisi2
- 11298 .LVL1081:
-3125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
- 11299 .loc 1 3125 0
- 11300 000c 90F84240 ldrb r4, [r0, #66] @ zero_extendqisi2
-ARM GAS /tmp/ccqsuCX7.s page 357
-
-
- 11301 0010 E4B2 uxtb r4, r4
- 11302 .LVL1082:
-3126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11303 .loc 1 3126 0
- 11304 0012 90F84350 ldrb r5, [r0, #67] @ zero_extendqisi2
- 11305 .LVL1083:
-3132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11306 .loc 1 3132 0
- 11307 0016 0E46 mov r6, r1
- 11308 0018 E1B9 cbnz r1, .L1116
-3134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY))
- 11309 .loc 1 3134 0
- 11310 001a 012B cmp r3, #1
- 11311 001c 01D0 beq .L1134
-3137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11312 .loc 1 3137 0
- 11313 001e 0120 movs r0, #1
- 11314 .LVL1084:
- 11315 0020 70BD pop {r4, r5, r6, pc}
- 11316 .LVL1085:
- 11317 .L1134:
-3135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11318 .loc 1 3135 0
- 11319 0022 012C cmp r4, #1
- 11320 0024 01D0 beq .L1135
-3137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11321 .loc 1 3137 0
- 11322 0026 0120 movs r0, #1
- 11323 .LVL1086:
- 11324 0028 70BD pop {r4, r5, r6, pc}
- 11325 .LVL1087:
- 11326 .L1135:
-3141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
- 11327 .loc 1 3141 0
- 11328 002a 0223 movs r3, #2
- 11329 .LVL1088:
- 11330 002c 80F83E30 strb r3, [r0, #62]
-3142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11331 .loc 1 3142 0
- 11332 0030 80F84230 strb r3, [r0, #66]
- 11333 .LVL1089:
- 11334 .L1118:
- 11335 0034 0446 mov r4, r0
- 11336 .LVL1090:
-3177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11337 .loc 1 3177 0
- 11338 0036 002E cmp r6, #0
- 11339 0038 38D0 beq .L1121
- 11340 003a 042E cmp r6, #4
- 11341 003c 42D0 beq .L1122
-3193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE);
- 11342 .loc 1 3193 0
- 11343 003e 0122 movs r2, #1
- 11344 0040 0021 movs r1, #0
- 11345 .LVL1091:
- 11346 0042 0068 ldr r0, [r0]
- 11347 .LVL1092:
-ARM GAS /tmp/ccqsuCX7.s page 358
-
-
- 11348 0044 FFF7FEFF bl TIM_CCxChannelCmd
- 11349 .LVL1093:
-3194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 11350 .loc 1 3194 0
- 11351 0048 0122 movs r2, #1
- 11352 004a 0421 movs r1, #4
- 11353 004c 2068 ldr r0, [r4]
- 11354 004e FFF7FEFF bl TIM_CCxChannelCmd
- 11355 .LVL1094:
-3195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11356 .loc 1 3195 0
- 11357 0052 30E0 b .L1123
- 11358 .LVL1095:
- 11359 .L1116:
- 11360 0054 D2B2 uxtb r2, r2
- 11361 0056 EDB2 uxtb r5, r5
-3145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11362 .loc 1 3145 0
- 11363 0058 0429 cmp r1, #4
- 11364 005a 03D0 beq .L1136
-3160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
- 11365 .loc 1 3160 0
- 11366 005c 012B cmp r3, #1
- 11367 005e 0FD0 beq .L1137
-3165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11368 .loc 1 3165 0
- 11369 0060 0120 movs r0, #1
- 11370 .LVL1096:
- 11371 0062 70BD pop {r4, r5, r6, pc}
- 11372 .LVL1097:
- 11373 .L1136:
-3147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
- 11374 .loc 1 3147 0
- 11375 0064 012A cmp r2, #1
- 11376 0066 01D0 beq .L1138
-3150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11377 .loc 1 3150 0
- 11378 0068 0120 movs r0, #1
- 11379 .LVL1098:
- 11380 006a 70BD pop {r4, r5, r6, pc}
- 11381 .LVL1099:
- 11382 .L1138:
-3148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11383 .loc 1 3148 0
- 11384 006c 012D cmp r5, #1
- 11385 006e 01D0 beq .L1139
-3150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11386 .loc 1 3150 0
- 11387 0070 0120 movs r0, #1
- 11388 .LVL1100:
- 11389 0072 70BD pop {r4, r5, r6, pc}
- 11390 .LVL1101:
- 11391 .L1139:
-3154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
- 11392 .loc 1 3154 0
- 11393 0074 0223 movs r3, #2
- 11394 .LVL1102:
-ARM GAS /tmp/ccqsuCX7.s page 359
-
-
- 11395 0076 80F83F30 strb r3, [r0, #63]
-3155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11396 .loc 1 3155 0
- 11397 007a 80F84330 strb r3, [r0, #67]
- 11398 007e D9E7 b .L1118
- 11399 .LVL1103:
- 11400 .L1137:
-3161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
- 11401 .loc 1 3161 0
- 11402 0080 012A cmp r2, #1
- 11403 0082 01D0 beq .L1140
-3165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11404 .loc 1 3165 0
- 11405 0084 0120 movs r0, #1
- 11406 .LVL1104:
- 11407 0086 70BD pop {r4, r5, r6, pc}
- 11408 .LVL1105:
- 11409 .L1140:
-3162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
- 11410 .loc 1 3162 0
- 11411 0088 012C cmp r4, #1
- 11412 008a 01D0 beq .L1141
-3165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11413 .loc 1 3165 0
- 11414 008c 0120 movs r0, #1
- 11415 .LVL1106:
- 11416 008e 70BD pop {r4, r5, r6, pc}
- 11417 .LVL1107:
- 11418 .L1141:
-3163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11419 .loc 1 3163 0
- 11420 0090 012D cmp r5, #1
- 11421 0092 01D0 beq .L1142
-3165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11422 .loc 1 3165 0
- 11423 0094 0120 movs r0, #1
- 11424 .LVL1108:
-3203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11425 .loc 1 3203 0
- 11426 0096 70BD pop {r4, r5, r6, pc}
- 11427 .LVL1109:
- 11428 .L1142:
-3169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
- 11429 .loc 1 3169 0
- 11430 0098 0223 movs r3, #2
- 11431 .LVL1110:
- 11432 009a 80F83E30 strb r3, [r0, #62]
-3170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
- 11433 .loc 1 3170 0
- 11434 009e 80F83F30 strb r3, [r0, #63]
-3171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
- 11435 .loc 1 3171 0
- 11436 00a2 80F84230 strb r3, [r0, #66]
-3172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11437 .loc 1 3172 0
- 11438 00a6 80F84330 strb r3, [r0, #67]
- 11439 00aa C3E7 b .L1118
-ARM GAS /tmp/ccqsuCX7.s page 360
-
-
- 11440 .LVL1111:
- 11441 .L1121:
-3181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 11442 .loc 1 3181 0
- 11443 00ac 0122 movs r2, #1
- 11444 00ae 0021 movs r1, #0
- 11445 .LVL1112:
- 11446 00b0 0068 ldr r0, [r0]
- 11447 .LVL1113:
- 11448 00b2 FFF7FEFF bl TIM_CCxChannelCmd
- 11449 .LVL1114:
- 11450 .L1123:
-3199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11451 .loc 1 3199 0
- 11452 00b6 2268 ldr r2, [r4]
- 11453 00b8 1368 ldr r3, [r2]
- 11454 00ba 43F00103 orr r3, r3, #1
- 11455 00be 1360 str r3, [r2]
-3202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11456 .loc 1 3202 0
- 11457 00c0 0020 movs r0, #0
- 11458 00c2 70BD pop {r4, r5, r6, pc}
- 11459 .LVL1115:
- 11460 .L1122:
-3187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 11461 .loc 1 3187 0
- 11462 00c4 0122 movs r2, #1
- 11463 00c6 0421 movs r1, #4
- 11464 .LVL1116:
- 11465 00c8 0068 ldr r0, [r0]
- 11466 .LVL1117:
- 11467 00ca FFF7FEFF bl TIM_CCxChannelCmd
- 11468 .LVL1118:
-3188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11469 .loc 1 3188 0
- 11470 00ce F2E7 b .L1123
- 11471 .cfi_endproc
- 11472 .LFE117:
- 11474 .section .text.HAL_TIM_Encoder_Stop,"ax",%progbits
- 11475 .align 1
- 11476 .global HAL_TIM_Encoder_Stop
- 11477 .syntax unified
- 11478 .thumb
- 11479 .thumb_func
- 11480 .fpu softvfp
- 11482 HAL_TIM_Encoder_Stop:
- 11483 .LFB118:
-3216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 11484 .loc 1 3216 0
- 11485 .cfi_startproc
- 11486 @ args = 0, pretend = 0, frame = 0
- 11487 @ frame_needed = 0, uses_anonymous_args = 0
- 11488 .LVL1119:
- 11489 0000 38B5 push {r3, r4, r5, lr}
- 11490 .LCFI125:
- 11491 .cfi_def_cfa_offset 16
- 11492 .cfi_offset 3, -16
-ARM GAS /tmp/ccqsuCX7.s page 361
-
-
- 11493 .cfi_offset 4, -12
- 11494 .cfi_offset 5, -8
- 11495 .cfi_offset 14, -4
- 11496 0002 0446 mov r4, r0
-3222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11497 .loc 1 3222 0
- 11498 0004 0D46 mov r5, r1
- 11499 0006 61B1 cbz r1, .L1145
- 11500 0008 0429 cmp r1, #4
- 11501 000a 2CD0 beq .L1146
-3238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE);
- 11502 .loc 1 3238 0
- 11503 000c 0022 movs r2, #0
- 11504 000e 1146 mov r1, r2
- 11505 .LVL1120:
- 11506 0010 0068 ldr r0, [r0]
- 11507 .LVL1121:
- 11508 0012 FFF7FEFF bl TIM_CCxChannelCmd
- 11509 .LVL1122:
-3239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 11510 .loc 1 3239 0
- 11511 0016 0022 movs r2, #0
- 11512 0018 0421 movs r1, #4
- 11513 001a 2068 ldr r0, [r4]
- 11514 001c FFF7FEFF bl TIM_CCxChannelCmd
- 11515 .LVL1123:
-3240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11516 .loc 1 3240 0
- 11517 0020 04E0 b .L1147
- 11518 .LVL1124:
- 11519 .L1145:
-3226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 11520 .loc 1 3226 0
- 11521 0022 0022 movs r2, #0
- 11522 0024 1146 mov r1, r2
- 11523 .LVL1125:
- 11524 0026 0068 ldr r0, [r0]
- 11525 .LVL1126:
- 11526 0028 FFF7FEFF bl TIM_CCxChannelCmd
- 11527 .LVL1127:
- 11528 .L1147:
-3245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11529 .loc 1 3245 0
- 11530 002c 2368 ldr r3, [r4]
- 11531 002e 196A ldr r1, [r3, #32]
- 11532 0030 41F21112 movw r2, #4369
- 11533 0034 1142 tst r1, r2
- 11534 0036 08D1 bne .L1148
-3245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11535 .loc 1 3245 0 is_stmt 0 discriminator 1
- 11536 0038 196A ldr r1, [r3, #32]
- 11537 003a 40F24442 movw r2, #1092
- 11538 003e 1142 tst r1, r2
- 11539 0040 03D1 bne .L1148
-3245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11540 .loc 1 3245 0 discriminator 2
- 11541 0042 1A68 ldr r2, [r3]
-ARM GAS /tmp/ccqsuCX7.s page 362
-
-
- 11542 0044 22F00102 bic r2, r2, #1
- 11543 0048 1A60 str r2, [r3]
- 11544 .L1148:
-3248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11545 .loc 1 3248 0 is_stmt 1
- 11546 004a 95B1 cbz r5, .L1149
-3248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11547 .loc 1 3248 0 is_stmt 0 discriminator 1
- 11548 004c 042D cmp r5, #4
- 11549 004e 10D0 beq .L1149
-3255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 11550 .loc 1 3255 0 is_stmt 1
- 11551 0050 0123 movs r3, #1
- 11552 0052 84F83E30 strb r3, [r4, #62]
-3256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
- 11553 .loc 1 3256 0
- 11554 0056 84F83F30 strb r3, [r4, #63]
-3257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 11555 .loc 1 3257 0
- 11556 005a 84F84230 strb r3, [r4, #66]
-3258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11557 .loc 1 3258 0
- 11558 005e 84F84330 strb r3, [r4, #67]
- 11559 .L1156:
-3263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11560 .loc 1 3263 0
- 11561 0062 0020 movs r0, #0
- 11562 0064 38BD pop {r3, r4, r5, pc}
- 11563 .LVL1128:
- 11564 .L1146:
-3232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 11565 .loc 1 3232 0
- 11566 0066 0022 movs r2, #0
- 11567 0068 0421 movs r1, #4
- 11568 .LVL1129:
- 11569 006a 0068 ldr r0, [r0]
- 11570 .LVL1130:
- 11571 006c FFF7FEFF bl TIM_CCxChannelCmd
- 11572 .LVL1131:
-3233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11573 .loc 1 3233 0
- 11574 0070 DCE7 b .L1147
- 11575 .L1149:
-3250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 11576 .loc 1 3250 0
- 11577 0072 5DB9 cbnz r5, .L1151
-3250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 11578 .loc 1 3250 0 is_stmt 0 discriminator 1
- 11579 0074 0123 movs r3, #1
- 11580 0076 84F83E30 strb r3, [r4, #62]
- 11581 .L1152:
-3251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11582 .loc 1 3251 0 is_stmt 1
- 11583 007a BDB1 cbz r5, .L1161
-3251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11584 .loc 1 3251 0 is_stmt 0 discriminator 2
- 11585 007c 042D cmp r5, #4
-ARM GAS /tmp/ccqsuCX7.s page 363
-
-
- 11586 007e 19D0 beq .L1162
-3251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11587 .loc 1 3251 0 discriminator 4
- 11588 0080 082D cmp r5, #8
- 11589 0082 1BD0 beq .L1163
-3251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11590 .loc 1 3251 0 discriminator 7
- 11591 0084 0123 movs r3, #1
- 11592 0086 84F84530 strb r3, [r4, #69]
- 11593 008a EAE7 b .L1156
- 11594 .L1151:
-3250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 11595 .loc 1 3250 0 is_stmt 1 discriminator 2
- 11596 008c 042D cmp r5, #4
- 11597 008e 05D0 beq .L1164
-3250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 11598 .loc 1 3250 0 is_stmt 0 discriminator 4
- 11599 0090 082D cmp r5, #8
- 11600 0092 07D0 beq .L1165
-3250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 11601 .loc 1 3250 0 discriminator 7
- 11602 0094 0123 movs r3, #1
- 11603 0096 84F84130 strb r3, [r4, #65]
- 11604 009a EEE7 b .L1152
- 11605 .L1164:
-3250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 11606 .loc 1 3250 0 discriminator 3
- 11607 009c 0123 movs r3, #1
- 11608 009e 84F83F30 strb r3, [r4, #63]
- 11609 00a2 EAE7 b .L1152
- 11610 .L1165:
-3250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 11611 .loc 1 3250 0 discriminator 6
- 11612 00a4 0123 movs r3, #1
- 11613 00a6 84F84030 strb r3, [r4, #64]
- 11614 00aa E6E7 b .L1152
- 11615 .L1161:
-3251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11616 .loc 1 3251 0 is_stmt 1 discriminator 1
- 11617 00ac 0123 movs r3, #1
- 11618 00ae 84F84230 strb r3, [r4, #66]
- 11619 00b2 D6E7 b .L1156
- 11620 .L1162:
-3251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11621 .loc 1 3251 0 is_stmt 0 discriminator 3
- 11622 00b4 0123 movs r3, #1
- 11623 00b6 84F84330 strb r3, [r4, #67]
- 11624 00ba D2E7 b .L1156
- 11625 .L1163:
-3251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11626 .loc 1 3251 0 discriminator 6
- 11627 00bc 0123 movs r3, #1
- 11628 00be 84F84430 strb r3, [r4, #68]
- 11629 00c2 CEE7 b .L1156
- 11630 .cfi_endproc
- 11631 .LFE118:
- 11633 .section .text.HAL_TIM_Encoder_Start_IT,"ax",%progbits
-ARM GAS /tmp/ccqsuCX7.s page 364
-
-
- 11634 .align 1
- 11635 .global HAL_TIM_Encoder_Start_IT
- 11636 .syntax unified
- 11637 .thumb
- 11638 .thumb_func
- 11639 .fpu softvfp
- 11641 HAL_TIM_Encoder_Start_IT:
- 11642 .LFB119:
-3276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
- 11643 .loc 1 3276 0 is_stmt 1
- 11644 .cfi_startproc
- 11645 @ args = 0, pretend = 0, frame = 0
- 11646 @ frame_needed = 0, uses_anonymous_args = 0
- 11647 .LVL1132:
- 11648 0000 70B5 push {r4, r5, r6, lr}
- 11649 .LCFI126:
- 11650 .cfi_def_cfa_offset 16
- 11651 .cfi_offset 4, -16
- 11652 .cfi_offset 5, -12
- 11653 .cfi_offset 6, -8
- 11654 .cfi_offset 14, -4
-3277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
- 11655 .loc 1 3277 0
- 11656 0002 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2
- 11657 0006 DBB2 uxtb r3, r3
- 11658 .LVL1133:
-3278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
- 11659 .loc 1 3278 0
- 11660 0008 90F83F20 ldrb r2, [r0, #63] @ zero_extendqisi2
- 11661 .LVL1134:
-3279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
- 11662 .loc 1 3279 0
- 11663 000c 90F84240 ldrb r4, [r0, #66] @ zero_extendqisi2
- 11664 0010 E4B2 uxtb r4, r4
- 11665 .LVL1135:
-3280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11666 .loc 1 3280 0
- 11667 0012 90F84350 ldrb r5, [r0, #67] @ zero_extendqisi2
- 11668 .LVL1136:
-3286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11669 .loc 1 3286 0
- 11670 0016 0E46 mov r6, r1
- 11671 0018 31BB cbnz r1, .L1167
-3288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY))
- 11672 .loc 1 3288 0
- 11673 001a 012B cmp r3, #1
- 11674 001c 01D0 beq .L1185
-3291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11675 .loc 1 3291 0
- 11676 001e 0120 movs r0, #1
- 11677 .LVL1137:
- 11678 0020 70BD pop {r4, r5, r6, pc}
- 11679 .LVL1138:
- 11680 .L1185:
-3289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11681 .loc 1 3289 0
- 11682 0022 012C cmp r4, #1
-ARM GAS /tmp/ccqsuCX7.s page 365
-
-
- 11683 0024 01D0 beq .L1186
-3291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11684 .loc 1 3291 0
- 11685 0026 0120 movs r0, #1
- 11686 .LVL1139:
- 11687 0028 70BD pop {r4, r5, r6, pc}
- 11688 .LVL1140:
- 11689 .L1186:
-3295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
- 11690 .loc 1 3295 0
- 11691 002a 0223 movs r3, #2
- 11692 .LVL1141:
- 11693 002c 80F83E30 strb r3, [r0, #62]
-3296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11694 .loc 1 3296 0
- 11695 0030 80F84230 strb r3, [r0, #66]
- 11696 .LVL1142:
- 11697 .L1169:
- 11698 0034 0446 mov r4, r0
- 11699 .LVL1143:
-3332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11700 .loc 1 3332 0
- 11701 0036 002E cmp r6, #0
- 11702 0038 42D0 beq .L1172
- 11703 003a 042E cmp r6, #4
- 11704 003c 51D0 beq .L1173
-3350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE);
- 11705 .loc 1 3350 0
- 11706 003e 0122 movs r2, #1
- 11707 0040 0021 movs r1, #0
- 11708 .LVL1144:
- 11709 0042 0068 ldr r0, [r0]
- 11710 .LVL1145:
- 11711 0044 FFF7FEFF bl TIM_CCxChannelCmd
- 11712 .LVL1146:
-3351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1);
- 11713 .loc 1 3351 0
- 11714 0048 0122 movs r2, #1
- 11715 004a 0421 movs r1, #4
- 11716 004c 2068 ldr r0, [r4]
- 11717 004e FFF7FEFF bl TIM_CCxChannelCmd
- 11718 .LVL1147:
-3352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2);
- 11719 .loc 1 3352 0
- 11720 0052 2268 ldr r2, [r4]
- 11721 0054 D368 ldr r3, [r2, #12]
- 11722 0056 43F00203 orr r3, r3, #2
- 11723 005a D360 str r3, [r2, #12]
-3353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 11724 .loc 1 3353 0
- 11725 005c 2268 ldr r2, [r4]
- 11726 005e D368 ldr r3, [r2, #12]
- 11727 0060 43F00403 orr r3, r3, #4
- 11728 0064 D360 str r3, [r2, #12]
-3354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11729 .loc 1 3354 0
- 11730 0066 35E0 b .L1174
-ARM GAS /tmp/ccqsuCX7.s page 366
-
-
- 11731 .LVL1148:
- 11732 .L1167:
- 11733 0068 D2B2 uxtb r2, r2
- 11734 006a EDB2 uxtb r5, r5
-3299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11735 .loc 1 3299 0
- 11736 006c 0429 cmp r1, #4
- 11737 006e 03D0 beq .L1187
-3314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
- 11738 .loc 1 3314 0
- 11739 0070 012B cmp r3, #1
- 11740 0072 0FD0 beq .L1188
-3319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11741 .loc 1 3319 0
- 11742 0074 0120 movs r0, #1
- 11743 .LVL1149:
- 11744 0076 70BD pop {r4, r5, r6, pc}
- 11745 .LVL1150:
- 11746 .L1187:
-3301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
- 11747 .loc 1 3301 0
- 11748 0078 012A cmp r2, #1
- 11749 007a 01D0 beq .L1189
-3304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11750 .loc 1 3304 0
- 11751 007c 0120 movs r0, #1
- 11752 .LVL1151:
- 11753 007e 70BD pop {r4, r5, r6, pc}
- 11754 .LVL1152:
- 11755 .L1189:
-3302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11756 .loc 1 3302 0
- 11757 0080 012D cmp r5, #1
- 11758 0082 01D0 beq .L1190
-3304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11759 .loc 1 3304 0
- 11760 0084 0120 movs r0, #1
- 11761 .LVL1153:
- 11762 0086 70BD pop {r4, r5, r6, pc}
- 11763 .LVL1154:
- 11764 .L1190:
-3308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
- 11765 .loc 1 3308 0
- 11766 0088 0223 movs r3, #2
- 11767 .LVL1155:
- 11768 008a 80F83F30 strb r3, [r0, #63]
-3309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11769 .loc 1 3309 0
- 11770 008e 80F84330 strb r3, [r0, #67]
- 11771 0092 CFE7 b .L1169
- 11772 .LVL1156:
- 11773 .L1188:
-3315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
- 11774 .loc 1 3315 0
- 11775 0094 012A cmp r2, #1
- 11776 0096 01D0 beq .L1191
-3319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
-ARM GAS /tmp/ccqsuCX7.s page 367
-
-
- 11777 .loc 1 3319 0
- 11778 0098 0120 movs r0, #1
- 11779 .LVL1157:
- 11780 009a 70BD pop {r4, r5, r6, pc}
- 11781 .LVL1158:
- 11782 .L1191:
-3316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
- 11783 .loc 1 3316 0
- 11784 009c 012C cmp r4, #1
- 11785 009e 01D0 beq .L1192
-3319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11786 .loc 1 3319 0
- 11787 00a0 0120 movs r0, #1
- 11788 .LVL1159:
- 11789 00a2 70BD pop {r4, r5, r6, pc}
- 11790 .LVL1160:
- 11791 .L1192:
-3317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11792 .loc 1 3317 0
- 11793 00a4 012D cmp r5, #1
- 11794 00a6 01D0 beq .L1193
-3319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11795 .loc 1 3319 0
- 11796 00a8 0120 movs r0, #1
- 11797 .LVL1161:
-3363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11798 .loc 1 3363 0
- 11799 00aa 70BD pop {r4, r5, r6, pc}
- 11800 .LVL1162:
- 11801 .L1193:
-3323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
- 11802 .loc 1 3323 0
- 11803 00ac 0223 movs r3, #2
- 11804 .LVL1163:
- 11805 00ae 80F83E30 strb r3, [r0, #62]
-3324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
- 11806 .loc 1 3324 0
- 11807 00b2 80F83F30 strb r3, [r0, #63]
-3325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
- 11808 .loc 1 3325 0
- 11809 00b6 80F84230 strb r3, [r0, #66]
-3326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11810 .loc 1 3326 0
- 11811 00ba 80F84330 strb r3, [r0, #67]
- 11812 00be B9E7 b .L1169
- 11813 .LVL1164:
- 11814 .L1172:
-3336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1);
- 11815 .loc 1 3336 0
- 11816 00c0 0122 movs r2, #1
- 11817 00c2 0021 movs r1, #0
- 11818 .LVL1165:
- 11819 00c4 0068 ldr r0, [r0]
- 11820 .LVL1166:
- 11821 00c6 FFF7FEFF bl TIM_CCxChannelCmd
- 11822 .LVL1167:
-3337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
-ARM GAS /tmp/ccqsuCX7.s page 368
-
-
- 11823 .loc 1 3337 0
- 11824 00ca 2268 ldr r2, [r4]
- 11825 00cc D368 ldr r3, [r2, #12]
- 11826 00ce 43F00203 orr r3, r3, #2
- 11827 00d2 D360 str r3, [r2, #12]
- 11828 .L1174:
-3359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11829 .loc 1 3359 0
- 11830 00d4 2268 ldr r2, [r4]
- 11831 00d6 1368 ldr r3, [r2]
- 11832 00d8 43F00103 orr r3, r3, #1
- 11833 00dc 1360 str r3, [r2]
-3362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11834 .loc 1 3362 0
- 11835 00de 0020 movs r0, #0
- 11836 00e0 70BD pop {r4, r5, r6, pc}
- 11837 .LVL1168:
- 11838 .L1173:
-3343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2);
- 11839 .loc 1 3343 0
- 11840 00e2 0122 movs r2, #1
- 11841 00e4 0421 movs r1, #4
- 11842 .LVL1169:
- 11843 00e6 0068 ldr r0, [r0]
- 11844 .LVL1170:
- 11845 00e8 FFF7FEFF bl TIM_CCxChannelCmd
- 11846 .LVL1171:
-3344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 11847 .loc 1 3344 0
- 11848 00ec 2268 ldr r2, [r4]
- 11849 00ee D368 ldr r3, [r2, #12]
- 11850 00f0 43F00403 orr r3, r3, #4
- 11851 00f4 D360 str r3, [r2, #12]
-3345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11852 .loc 1 3345 0
- 11853 00f6 EDE7 b .L1174
- 11854 .cfi_endproc
- 11855 .LFE119:
- 11857 .section .text.HAL_TIM_Encoder_Stop_IT,"ax",%progbits
- 11858 .align 1
- 11859 .global HAL_TIM_Encoder_Stop_IT
- 11860 .syntax unified
- 11861 .thumb
- 11862 .thumb_func
- 11863 .fpu softvfp
- 11865 HAL_TIM_Encoder_Stop_IT:
- 11866 .LFB120:
-3376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 11867 .loc 1 3376 0
- 11868 .cfi_startproc
- 11869 @ args = 0, pretend = 0, frame = 0
- 11870 @ frame_needed = 0, uses_anonymous_args = 0
- 11871 .LVL1172:
- 11872 0000 38B5 push {r3, r4, r5, lr}
- 11873 .LCFI127:
- 11874 .cfi_def_cfa_offset 16
- 11875 .cfi_offset 3, -16
-ARM GAS /tmp/ccqsuCX7.s page 369
-
-
- 11876 .cfi_offset 4, -12
- 11877 .cfi_offset 5, -8
- 11878 .cfi_offset 14, -4
- 11879 0002 0446 mov r4, r0
-3382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11880 .loc 1 3382 0
- 11881 0004 0D46 mov r5, r1
- 11882 0006 0029 cmp r1, #0
- 11883 0008 32D0 beq .L1210
-3389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11884 .loc 1 3389 0
- 11885 000a 0429 cmp r1, #4
- 11886 000c 3BD0 beq .L1211
-3398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE);
- 11887 .loc 1 3398 0
- 11888 000e 0022 movs r2, #0
- 11889 0010 1146 mov r1, r2
- 11890 .LVL1173:
- 11891 0012 0068 ldr r0, [r0]
- 11892 .LVL1174:
- 11893 0014 FFF7FEFF bl TIM_CCxChannelCmd
- 11894 .LVL1175:
-3399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11895 .loc 1 3399 0
- 11896 0018 0022 movs r2, #0
- 11897 001a 0421 movs r1, #4
- 11898 001c 2068 ldr r0, [r4]
- 11899 001e FFF7FEFF bl TIM_CCxChannelCmd
- 11900 .LVL1176:
-3402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2);
- 11901 .loc 1 3402 0
- 11902 0022 2268 ldr r2, [r4]
- 11903 0024 D368 ldr r3, [r2, #12]
- 11904 0026 23F00203 bic r3, r3, #2
- 11905 002a D360 str r3, [r2, #12]
-3403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11906 .loc 1 3403 0
- 11907 002c 2268 ldr r2, [r4]
- 11908 002e D368 ldr r3, [r2, #12]
- 11909 0030 23F00403 bic r3, r3, #4
- 11910 0034 D360 str r3, [r2, #12]
- 11911 .L1196:
-3407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11912 .loc 1 3407 0
- 11913 0036 2368 ldr r3, [r4]
- 11914 0038 196A ldr r1, [r3, #32]
- 11915 003a 41F21112 movw r2, #4369
- 11916 003e 1142 tst r1, r2
- 11917 0040 08D1 bne .L1198
-3407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11918 .loc 1 3407 0 is_stmt 0 discriminator 1
- 11919 0042 196A ldr r1, [r3, #32]
- 11920 0044 40F24442 movw r2, #1092
- 11921 0048 1142 tst r1, r2
- 11922 004a 03D1 bne .L1198
-3407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11923 .loc 1 3407 0 discriminator 2
-ARM GAS /tmp/ccqsuCX7.s page 370
-
-
- 11924 004c 1A68 ldr r2, [r3]
- 11925 004e 22F00102 bic r2, r2, #1
- 11926 0052 1A60 str r2, [r3]
- 11927 .L1198:
-3410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11928 .loc 1 3410 0 is_stmt 1
- 11929 0054 15B3 cbz r5, .L1199
-3410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 11930 .loc 1 3410 0 is_stmt 0 discriminator 1
- 11931 0056 042D cmp r5, #4
- 11932 0058 20D0 beq .L1199
-3417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 11933 .loc 1 3417 0 is_stmt 1
- 11934 005a 0123 movs r3, #1
- 11935 005c 84F83E30 strb r3, [r4, #62]
-3418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
- 11936 .loc 1 3418 0
- 11937 0060 84F83F30 strb r3, [r4, #63]
-3419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 11938 .loc 1 3419 0
- 11939 0064 84F84230 strb r3, [r4, #66]
-3420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11940 .loc 1 3420 0
- 11941 0068 84F84330 strb r3, [r4, #67]
- 11942 .L1206:
-3425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11943 .loc 1 3425 0
- 11944 006c 0020 movs r0, #0
- 11945 006e 38BD pop {r3, r4, r5, pc}
- 11946 .LVL1177:
- 11947 .L1210:
-3384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11948 .loc 1 3384 0
- 11949 0070 0022 movs r2, #0
- 11950 0072 1146 mov r1, r2
- 11951 .LVL1178:
- 11952 0074 0068 ldr r0, [r0]
- 11953 .LVL1179:
- 11954 0076 FFF7FEFF bl TIM_CCxChannelCmd
- 11955 .LVL1180:
-3387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11956 .loc 1 3387 0
- 11957 007a 2268 ldr r2, [r4]
- 11958 007c D368 ldr r3, [r2, #12]
- 11959 007e 23F00203 bic r3, r3, #2
- 11960 0082 D360 str r3, [r2, #12]
- 11961 0084 D7E7 b .L1196
- 11962 .LVL1181:
- 11963 .L1211:
-3391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 11964 .loc 1 3391 0
- 11965 0086 0022 movs r2, #0
- 11966 0088 0421 movs r1, #4
- 11967 .LVL1182:
- 11968 008a 0068 ldr r0, [r0]
- 11969 .LVL1183:
- 11970 008c FFF7FEFF bl TIM_CCxChannelCmd
-ARM GAS /tmp/ccqsuCX7.s page 371
-
-
- 11971 .LVL1184:
-3394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11972 .loc 1 3394 0
- 11973 0090 2268 ldr r2, [r4]
- 11974 0092 D368 ldr r3, [r2, #12]
- 11975 0094 23F00403 bic r3, r3, #4
- 11976 0098 D360 str r3, [r2, #12]
- 11977 009a CCE7 b .L1196
- 11978 .L1199:
-3412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 11979 .loc 1 3412 0
- 11980 009c 5DB9 cbnz r5, .L1201
-3412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 11981 .loc 1 3412 0 is_stmt 0 discriminator 1
- 11982 009e 0123 movs r3, #1
- 11983 00a0 84F83E30 strb r3, [r4, #62]
- 11984 .L1202:
-3413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11985 .loc 1 3413 0 is_stmt 1
- 11986 00a4 BDB1 cbz r5, .L1212
-3413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11987 .loc 1 3413 0 is_stmt 0 discriminator 2
- 11988 00a6 042D cmp r5, #4
- 11989 00a8 19D0 beq .L1213
-3413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11990 .loc 1 3413 0 discriminator 4
- 11991 00aa 082D cmp r5, #8
- 11992 00ac 1BD0 beq .L1214
-3413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 11993 .loc 1 3413 0 discriminator 7
- 11994 00ae 0123 movs r3, #1
- 11995 00b0 84F84530 strb r3, [r4, #69]
- 11996 00b4 DAE7 b .L1206
- 11997 .L1201:
-3412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 11998 .loc 1 3412 0 is_stmt 1 discriminator 2
- 11999 00b6 042D cmp r5, #4
- 12000 00b8 05D0 beq .L1215
-3412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 12001 .loc 1 3412 0 is_stmt 0 discriminator 4
- 12002 00ba 082D cmp r5, #8
- 12003 00bc 07D0 beq .L1216
-3412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 12004 .loc 1 3412 0 discriminator 7
- 12005 00be 0123 movs r3, #1
- 12006 00c0 84F84130 strb r3, [r4, #65]
- 12007 00c4 EEE7 b .L1202
- 12008 .L1215:
-3412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 12009 .loc 1 3412 0 discriminator 3
- 12010 00c6 0123 movs r3, #1
- 12011 00c8 84F83F30 strb r3, [r4, #63]
- 12012 00cc EAE7 b .L1202
- 12013 .L1216:
-3412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 12014 .loc 1 3412 0 discriminator 6
- 12015 00ce 0123 movs r3, #1
-ARM GAS /tmp/ccqsuCX7.s page 372
-
-
- 12016 00d0 84F84030 strb r3, [r4, #64]
- 12017 00d4 E6E7 b .L1202
- 12018 .L1212:
-3413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12019 .loc 1 3413 0 is_stmt 1 discriminator 1
- 12020 00d6 0123 movs r3, #1
- 12021 00d8 84F84230 strb r3, [r4, #66]
- 12022 00dc C6E7 b .L1206
- 12023 .L1213:
-3413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12024 .loc 1 3413 0 is_stmt 0 discriminator 3
- 12025 00de 0123 movs r3, #1
- 12026 00e0 84F84330 strb r3, [r4, #67]
- 12027 00e4 C2E7 b .L1206
- 12028 .L1214:
-3413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12029 .loc 1 3413 0 discriminator 6
- 12030 00e6 0123 movs r3, #1
- 12031 00e8 84F84430 strb r3, [r4, #68]
- 12032 00ec BEE7 b .L1206
- 12033 .cfi_endproc
- 12034 .LFE120:
- 12036 .section .text.HAL_TIM_Encoder_Start_DMA,"ax",%progbits
- 12037 .align 1
- 12038 .global HAL_TIM_Encoder_Start_DMA
- 12039 .syntax unified
- 12040 .thumb
- 12041 .thumb_func
- 12042 .fpu softvfp
- 12044 HAL_TIM_Encoder_Start_DMA:
- 12045 .LFB121:
-3442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
- 12046 .loc 1 3442 0 is_stmt 1
- 12047 .cfi_startproc
- 12048 @ args = 4, pretend = 0, frame = 0
- 12049 @ frame_needed = 0, uses_anonymous_args = 0
- 12050 .LVL1185:
- 12051 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
- 12052 .LCFI128:
- 12053 .cfi_def_cfa_offset 24
- 12054 .cfi_offset 3, -24
- 12055 .cfi_offset 4, -20
- 12056 .cfi_offset 5, -16
- 12057 .cfi_offset 6, -12
- 12058 .cfi_offset 7, -8
- 12059 .cfi_offset 14, -4
- 12060 0002 BDF81870 ldrh r7, [sp, #24]
-3443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
- 12061 .loc 1 3443 0
- 12062 0006 90F83E40 ldrb r4, [r0, #62] @ zero_extendqisi2
- 12063 000a E4B2 uxtb r4, r4
- 12064 .LVL1186:
-3444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
- 12065 .loc 1 3444 0
- 12066 000c 90F83F50 ldrb r5, [r0, #63] @ zero_extendqisi2
- 12067 0010 EEB2 uxtb r6, r5
- 12068 .LVL1187:
-ARM GAS /tmp/ccqsuCX7.s page 373
-
-
-3445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
- 12069 .loc 1 3445 0
- 12070 0012 90F84250 ldrb r5, [r0, #66] @ zero_extendqisi2
- 12071 0016 EDB2 uxtb r5, r5
- 12072 .LVL1188:
-3446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 12073 .loc 1 3446 0
- 12074 0018 90F843E0 ldrb lr, [r0, #67] @ zero_extendqisi2
- 12075 .LVL1189:
-3452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12076 .loc 1 3452 0
- 12077 001c 8C46 mov ip, r1
- 12078 001e 29BB cbnz r1, .L1218
-3454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY))
- 12079 .loc 1 3454 0
- 12080 0020 022C cmp r4, #2
- 12081 0022 00F0F780 beq .L1229
-3455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12082 .loc 1 3455 0
- 12083 0026 022D cmp r5, #2
- 12084 0028 00F0F780 beq .L1230
-3459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY))
- 12085 .loc 1 3459 0
- 12086 002c 012C cmp r4, #1
- 12087 002e 01D0 beq .L1255
-3474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12088 .loc 1 3474 0
- 12089 0030 0124 movs r4, #1
- 12090 .LVL1190:
- 12091 0032 F0E0 b .L1219
- 12092 .LVL1191:
- 12093 .L1255:
-3460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12094 .loc 1 3460 0
- 12095 0034 012D cmp r5, #1
- 12096 0036 01D0 beq .L1256
-3474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12097 .loc 1 3474 0
- 12098 0038 0124 movs r4, #1
- 12099 .LVL1192:
- 12100 003a ECE0 b .L1219
- 12101 .LVL1193:
- 12102 .L1256:
-3462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12103 .loc 1 3462 0
- 12104 003c 92B1 cbz r2, .L1257
- 12105 .L1220:
-3468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
- 12106 .loc 1 3468 0
- 12107 003e 0221 movs r1, #2
- 12108 .LVL1194:
- 12109 0040 80F83E10 strb r1, [r0, #62]
-3469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12110 .loc 1 3469 0
- 12111 0044 80F84210 strb r1, [r0, #66]
- 12112 .LVL1195:
- 12113 .L1221:
-ARM GAS /tmp/ccqsuCX7.s page 374
-
-
- 12114 0048 1C46 mov r4, r3
- 12115 .LVL1196:
- 12116 004a 0546 mov r5, r0
- 12117 .LVL1197:
-3534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12118 .loc 1 3534 0
- 12119 004c BCF1040F cmp ip, #4
- 12120 0050 7CD0 beq .L1226
- 12121 0052 BCF13C0F cmp ip, #60
- 12122 0056 00F09D80 beq .L1227
- 12123 005a BCF1000F cmp ip, #0
- 12124 005e 52D0 beq .L1258
-3635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12125 .loc 1 3635 0
- 12126 0060 0024 movs r4, #0
- 12127 0062 D8E0 b .L1219
- 12128 .LVL1198:
- 12129 .L1257:
-3462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12130 .loc 1 3462 0 discriminator 1
- 12131 0064 002F cmp r7, #0
- 12132 0066 EAD0 beq .L1220
-3464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12133 .loc 1 3464 0
- 12134 0068 0124 movs r4, #1
- 12135 .LVL1199:
- 12136 006a D4E0 b .L1219
- 12137 .LVL1200:
- 12138 .L1218:
- 12139 006c 5FFA8EFE uxtb lr, lr
-3477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12140 .loc 1 3477 0
- 12141 0070 0429 cmp r1, #4
- 12142 0072 10D0 beq .L1259
-3504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY)
- 12143 .loc 1 3504 0
- 12144 0074 022C cmp r4, #2
- 12145 0076 00F0D680 beq .L1239
-3505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY)
- 12146 .loc 1 3505 0
- 12147 007a 022E cmp r6, #2
- 12148 007c 00F0D580 beq .L1240
-3506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY))
- 12149 .loc 1 3506 0
- 12150 0080 022D cmp r5, #2
- 12151 0082 00F0D480 beq .L1241
-3507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12152 .loc 1 3507 0
- 12153 0086 BEF1020F cmp lr, #2
- 12154 008a 00F0D280 beq .L1242
-3511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** && (channel_2_state == HAL_TIM_CHANNEL_STATE_READY)
- 12155 .loc 1 3511 0
- 12156 008e 012C cmp r4, #1
- 12157 0090 1CD0 beq .L1260
-3530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12158 .loc 1 3530 0
- 12159 0092 0124 movs r4, #1
-ARM GAS /tmp/ccqsuCX7.s page 375
-
-
- 12160 .LVL1201:
- 12161 0094 BFE0 b .L1219
- 12162 .LVL1202:
- 12163 .L1259:
-3479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** || (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_BUSY))
- 12164 .loc 1 3479 0
- 12165 0096 022E cmp r6, #2
- 12166 0098 00F0C180 beq .L1234
-3480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12167 .loc 1 3480 0
- 12168 009c BEF1020F cmp lr, #2
- 12169 00a0 00F0BF80 beq .L1235
-3484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** && (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_READY))
- 12170 .loc 1 3484 0
- 12171 00a4 012E cmp r6, #1
- 12172 00a6 01D0 beq .L1261
-3499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12173 .loc 1 3499 0
- 12174 00a8 0124 movs r4, #1
- 12175 .LVL1203:
- 12176 00aa B4E0 b .L1219
- 12177 .LVL1204:
- 12178 .L1261:
-3485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12179 .loc 1 3485 0
- 12180 00ac BEF1010F cmp lr, #1
- 12181 00b0 01D0 beq .L1262
-3499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12182 .loc 1 3499 0
- 12183 00b2 0124 movs r4, #1
- 12184 .LVL1205:
- 12185 00b4 AFE0 b .L1219
- 12186 .LVL1206:
- 12187 .L1262:
-3487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12188 .loc 1 3487 0
- 12189 00b6 2BB1 cbz r3, .L1263
- 12190 .L1223:
-3493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
- 12191 .loc 1 3493 0
- 12192 00b8 0221 movs r1, #2
- 12193 .LVL1207:
- 12194 00ba 80F83F10 strb r1, [r0, #63]
-3494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12195 .loc 1 3494 0
- 12196 00be 80F84310 strb r1, [r0, #67]
- 12197 00c2 C1E7 b .L1221
- 12198 .LVL1208:
- 12199 .L1263:
-3487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12200 .loc 1 3487 0 discriminator 1
- 12201 00c4 002F cmp r7, #0
- 12202 00c6 F7D0 beq .L1223
-3489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12203 .loc 1 3489 0
- 12204 00c8 0124 movs r4, #1
- 12205 .LVL1209:
-ARM GAS /tmp/ccqsuCX7.s page 376
-
-
- 12206 00ca A4E0 b .L1219
- 12207 .LVL1210:
- 12208 .L1260:
-3512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY)
- 12209 .loc 1 3512 0
- 12210 00cc 012E cmp r6, #1
- 12211 00ce 01D0 beq .L1264
-3530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12212 .loc 1 3530 0
- 12213 00d0 0124 movs r4, #1
- 12214 .LVL1211:
- 12215 00d2 A0E0 b .L1219
- 12216 .LVL1212:
- 12217 .L1264:
-3513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** && (complementary_channel_2_state == HAL_TIM_CHANNEL_STATE_READY))
- 12218 .loc 1 3513 0
- 12219 00d4 012D cmp r5, #1
- 12220 00d6 01D0 beq .L1265
-3530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12221 .loc 1 3530 0
- 12222 00d8 0124 movs r4, #1
- 12223 .LVL1213:
- 12224 00da 9CE0 b .L1219
- 12225 .LVL1214:
- 12226 .L1265:
-3514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12227 .loc 1 3514 0
- 12228 00dc BEF1010F cmp lr, #1
- 12229 00e0 01D0 beq .L1266
-3530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12230 .loc 1 3530 0
- 12231 00e2 0124 movs r4, #1
- 12232 .LVL1215:
- 12233 00e4 97E0 b .L1219
- 12234 .LVL1216:
- 12235 .L1266:
-3516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12236 .loc 1 3516 0
- 12237 00e6 52B1 cbz r2, .L1224
-3516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12238 .loc 1 3516 0 is_stmt 0 discriminator 2
- 12239 00e8 4BB1 cbz r3, .L1224
- 12240 .L1225:
-3522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
- 12241 .loc 1 3522 0 is_stmt 1
- 12242 00ea 0221 movs r1, #2
- 12243 .LVL1217:
- 12244 00ec 80F83E10 strb r1, [r0, #62]
-3523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
- 12245 .loc 1 3523 0
- 12246 00f0 80F83F10 strb r1, [r0, #63]
-3524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
- 12247 .loc 1 3524 0
- 12248 00f4 80F84210 strb r1, [r0, #66]
-3525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12249 .loc 1 3525 0
- 12250 00f8 80F84310 strb r1, [r0, #67]
-ARM GAS /tmp/ccqsuCX7.s page 377
-
-
-3516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12251 .loc 1 3516 0
- 12252 00fc A4E7 b .L1221
- 12253 .LVL1218:
- 12254 .L1224:
-3516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12255 .loc 1 3516 0 is_stmt 0 discriminator 3
- 12256 00fe 002F cmp r7, #0
- 12257 0100 F3D0 beq .L1225
-3518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12258 .loc 1 3518 0 is_stmt 1
- 12259 0102 0124 movs r4, #1
- 12260 .LVL1219:
- 12261 0104 87E0 b .L1219
- 12262 .LVL1220:
- 12263 .L1258:
-3539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
- 12264 .loc 1 3539 0
- 12265 0106 436A ldr r3, [r0, #36]
- 12266 .LVL1221:
- 12267 0108 4B49 ldr r1, .L1271
- 12268 010a 9962 str r1, [r3, #40]
-3540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 12269 .loc 1 3540 0
- 12270 010c 436A ldr r3, [r0, #36]
- 12271 010e 4B49 ldr r1, .L1271+4
- 12272 0110 D962 str r1, [r3, #44]
-3543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 12273 .loc 1 3543 0
- 12274 0112 436A ldr r3, [r0, #36]
- 12275 0114 4A49 ldr r1, .L1271+8
- 12276 0116 1963 str r1, [r3, #48]
-3546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12277 .loc 1 3546 0
- 12278 0118 0168 ldr r1, [r0]
- 12279 011a 3B46 mov r3, r7
- 12280 011c 3431 adds r1, r1, #52
- 12281 011e 406A ldr r0, [r0, #36]
- 12282 .LVL1222:
- 12283 0120 FFF7FEFF bl HAL_DMA_Start_IT
- 12284 .LVL1223:
- 12285 0124 0446 mov r4, r0
- 12286 .LVL1224:
- 12287 0126 08B1 cbz r0, .L1267
-3549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12288 .loc 1 3549 0
- 12289 0128 0124 movs r4, #1
- 12290 012a 74E0 b .L1219
- 12291 .L1267:
-3552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 12292 .loc 1 3552 0
- 12293 012c 2A68 ldr r2, [r5]
- 12294 012e D368 ldr r3, [r2, #12]
- 12295 0130 43F40073 orr r3, r3, #512
- 12296 0134 D360 str r3, [r2, #12]
-3555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 12297 .loc 1 3555 0
-ARM GAS /tmp/ccqsuCX7.s page 378
-
-
- 12298 0136 2A68 ldr r2, [r5]
- 12299 0138 1368 ldr r3, [r2]
- 12300 013a 43F00103 orr r3, r3, #1
- 12301 013e 1360 str r3, [r2]
-3558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 12302 .loc 1 3558 0
- 12303 0140 0122 movs r2, #1
- 12304 0142 0021 movs r1, #0
- 12305 0144 2868 ldr r0, [r5]
- 12306 0146 FFF7FEFF bl TIM_CCxChannelCmd
- 12307 .LVL1225:
-3559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12308 .loc 1 3559 0
- 12309 014a 64E0 b .L1219
- 12310 .LVL1226:
- 12311 .L1226:
-3565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
- 12312 .loc 1 3565 0
- 12313 014c 836A ldr r3, [r0, #40]
- 12314 .LVL1227:
- 12315 014e 3A4A ldr r2, .L1271
- 12316 .LVL1228:
- 12317 0150 9A62 str r2, [r3, #40]
-3566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 12318 .loc 1 3566 0
- 12319 0152 836A ldr r3, [r0, #40]
- 12320 0154 394A ldr r2, .L1271+4
- 12321 0156 DA62 str r2, [r3, #44]
-3569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the DMA channel */
- 12322 .loc 1 3569 0
- 12323 0158 836A ldr r3, [r0, #40]
- 12324 015a 394A ldr r2, .L1271+8
- 12325 015c 1A63 str r2, [r3, #48]
-3571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12326 .loc 1 3571 0
- 12327 015e 0168 ldr r1, [r0]
- 12328 0160 3B46 mov r3, r7
- 12329 0162 2246 mov r2, r4
- 12330 0164 3831 adds r1, r1, #56
- 12331 0166 806A ldr r0, [r0, #40]
- 12332 .LVL1229:
- 12333 0168 FFF7FEFF bl HAL_DMA_Start_IT
- 12334 .LVL1230:
- 12335 016c 0446 mov r4, r0
- 12336 .LVL1231:
- 12337 016e 08B1 cbz r0, .L1268
-3574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12338 .loc 1 3574 0
- 12339 0170 0124 movs r4, #1
- 12340 0172 50E0 b .L1219
- 12341 .L1268:
-3577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 12342 .loc 1 3577 0
- 12343 0174 2A68 ldr r2, [r5]
- 12344 0176 D368 ldr r3, [r2, #12]
- 12345 0178 43F48063 orr r3, r3, #1024
- 12346 017c D360 str r3, [r2, #12]
-ARM GAS /tmp/ccqsuCX7.s page 379
-
-
-3580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 12347 .loc 1 3580 0
- 12348 017e 2A68 ldr r2, [r5]
- 12349 0180 1368 ldr r3, [r2]
- 12350 0182 43F00103 orr r3, r3, #1
- 12351 0186 1360 str r3, [r2]
-3583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 12352 .loc 1 3583 0
- 12353 0188 0122 movs r2, #1
- 12354 018a 0421 movs r1, #4
- 12355 018c 2868 ldr r0, [r5]
- 12356 018e FFF7FEFF bl TIM_CCxChannelCmd
- 12357 .LVL1232:
-3584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12358 .loc 1 3584 0
- 12359 0192 40E0 b .L1219
- 12360 .LVL1233:
- 12361 .L1227:
-3590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
- 12362 .loc 1 3590 0
- 12363 0194 436A ldr r3, [r0, #36]
- 12364 .LVL1234:
- 12365 0196 2849 ldr r1, .L1271
- 12366 0198 9962 str r1, [r3, #40]
-3591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 12367 .loc 1 3591 0
- 12368 019a 436A ldr r3, [r0, #36]
- 12369 019c 2749 ldr r1, .L1271+4
- 12370 019e D962 str r1, [r3, #44]
-3594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 12371 .loc 1 3594 0
- 12372 01a0 436A ldr r3, [r0, #36]
- 12373 01a2 2749 ldr r1, .L1271+8
- 12374 01a4 1963 str r1, [r3, #48]
-3597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12375 .loc 1 3597 0
- 12376 01a6 0168 ldr r1, [r0]
- 12377 01a8 3B46 mov r3, r7
- 12378 01aa 3431 adds r1, r1, #52
- 12379 01ac 406A ldr r0, [r0, #36]
- 12380 .LVL1235:
- 12381 01ae FFF7FEFF bl HAL_DMA_Start_IT
- 12382 .LVL1236:
- 12383 01b2 08B1 cbz r0, .L1269
-3600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12384 .loc 1 3600 0
- 12385 01b4 0124 movs r4, #1
- 12386 .LVL1237:
- 12387 01b6 2EE0 b .L1219
- 12388 .LVL1238:
- 12389 .L1269:
-3604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
- 12390 .loc 1 3604 0
- 12391 01b8 AB6A ldr r3, [r5, #40]
- 12392 01ba 1F4A ldr r2, .L1271
- 12393 01bc 9A62 str r2, [r3, #40]
-3605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
-ARM GAS /tmp/ccqsuCX7.s page 380
-
-
- 12394 .loc 1 3605 0
- 12395 01be AB6A ldr r3, [r5, #40]
- 12396 01c0 1E4A ldr r2, .L1271+4
- 12397 01c2 DA62 str r2, [r3, #44]
-3608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 12398 .loc 1 3608 0
- 12399 01c4 AB6A ldr r3, [r5, #40]
- 12400 01c6 1E4A ldr r2, .L1271+8
- 12401 01c8 1A63 str r2, [r3, #48]
-3611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12402 .loc 1 3611 0
- 12403 01ca 2968 ldr r1, [r5]
- 12404 01cc 3B46 mov r3, r7
- 12405 01ce 2246 mov r2, r4
- 12406 01d0 3831 adds r1, r1, #56
- 12407 01d2 A86A ldr r0, [r5, #40]
- 12408 01d4 FFF7FEFF bl HAL_DMA_Start_IT
- 12409 .LVL1239:
- 12410 01d8 0446 mov r4, r0
- 12411 .LVL1240:
- 12412 01da 08B1 cbz r0, .L1270
-3614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12413 .loc 1 3614 0
- 12414 01dc 0124 movs r4, #1
- 12415 01de 1AE0 b .L1219
- 12416 .L1270:
-3617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 12417 .loc 1 3617 0
- 12418 01e0 2A68 ldr r2, [r5]
- 12419 01e2 1368 ldr r3, [r2]
- 12420 01e4 43F00103 orr r3, r3, #1
- 12421 01e8 1360 str r3, [r2]
-3620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_ENABLE);
- 12422 .loc 1 3620 0
- 12423 01ea 0122 movs r2, #1
- 12424 01ec 0021 movs r1, #0
- 12425 01ee 2868 ldr r0, [r5]
- 12426 01f0 FFF7FEFF bl TIM_CCxChannelCmd
- 12427 .LVL1241:
-3621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 12428 .loc 1 3621 0
- 12429 01f4 0122 movs r2, #1
- 12430 01f6 0421 movs r1, #4
- 12431 01f8 2868 ldr r0, [r5]
- 12432 01fa FFF7FEFF bl TIM_CCxChannelCmd
- 12433 .LVL1242:
-3624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Enable the TIM Input Capture DMA request */
- 12434 .loc 1 3624 0
- 12435 01fe 2A68 ldr r2, [r5]
- 12436 0200 D368 ldr r3, [r2, #12]
- 12437 0202 43F40073 orr r3, r3, #512
- 12438 0206 D360 str r3, [r2, #12]
-3626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** break;
- 12439 .loc 1 3626 0
- 12440 0208 2A68 ldr r2, [r5]
- 12441 020a D368 ldr r3, [r2, #12]
- 12442 020c 43F48063 orr r3, r3, #1024
-ARM GAS /tmp/ccqsuCX7.s page 381
-
-
- 12443 0210 D360 str r3, [r2, #12]
-3627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12444 .loc 1 3627 0
- 12445 0212 00E0 b .L1219
- 12446 .LVL1243:
- 12447 .L1229:
-3457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12448 .loc 1 3457 0
- 12449 0214 0224 movs r4, #2
- 12450 .LVL1244:
- 12451 .L1219:
-3636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 12452 .loc 1 3636 0
- 12453 0216 2046 mov r0, r4
- 12454 0218 F8BD pop {r3, r4, r5, r6, r7, pc}
- 12455 .LVL1245:
- 12456 .L1230:
-3457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12457 .loc 1 3457 0
- 12458 021a 0224 movs r4, #2
- 12459 .LVL1246:
- 12460 021c FBE7 b .L1219
- 12461 .LVL1247:
- 12462 .L1234:
-3482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12463 .loc 1 3482 0
- 12464 021e 0224 movs r4, #2
- 12465 .LVL1248:
- 12466 0220 F9E7 b .L1219
- 12467 .LVL1249:
- 12468 .L1235:
- 12469 0222 0224 movs r4, #2
- 12470 .LVL1250:
- 12471 0224 F7E7 b .L1219
- 12472 .LVL1251:
- 12473 .L1239:
-3509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12474 .loc 1 3509 0
- 12475 0226 0224 movs r4, #2
- 12476 .LVL1252:
- 12477 0228 F5E7 b .L1219
- 12478 .LVL1253:
- 12479 .L1240:
- 12480 022a 0224 movs r4, #2
- 12481 .LVL1254:
- 12482 022c F3E7 b .L1219
- 12483 .LVL1255:
- 12484 .L1241:
- 12485 022e 0224 movs r4, #2
- 12486 .LVL1256:
- 12487 0230 F1E7 b .L1219
- 12488 .LVL1257:
- 12489 .L1242:
- 12490 0232 0224 movs r4, #2
- 12491 .LVL1258:
- 12492 0234 EFE7 b .L1219
- 12493 .L1272:
-ARM GAS /tmp/ccqsuCX7.s page 382
-
-
- 12494 0236 00BF .align 2
- 12495 .L1271:
- 12496 0238 00000000 .word TIM_DMACaptureCplt
- 12497 023c 00000000 .word TIM_DMACaptureHalfCplt
- 12498 0240 00000000 .word TIM_DMAError
- 12499 .cfi_endproc
- 12500 .LFE121:
- 12502 .section .text.HAL_TIM_Encoder_Stop_DMA,"ax",%progbits
- 12503 .align 1
- 12504 .global HAL_TIM_Encoder_Stop_DMA
- 12505 .syntax unified
- 12506 .thumb
- 12507 .thumb_func
- 12508 .fpu softvfp
- 12510 HAL_TIM_Encoder_Stop_DMA:
- 12511 .LFB122:
-3649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** /* Check the parameters */
- 12512 .loc 1 3649 0
- 12513 .cfi_startproc
- 12514 @ args = 0, pretend = 0, frame = 0
- 12515 @ frame_needed = 0, uses_anonymous_args = 0
- 12516 .LVL1259:
- 12517 0000 38B5 push {r3, r4, r5, lr}
- 12518 .LCFI129:
- 12519 .cfi_def_cfa_offset 16
- 12520 .cfi_offset 3, -16
- 12521 .cfi_offset 4, -12
- 12522 .cfi_offset 5, -8
- 12523 .cfi_offset 14, -4
- 12524 0002 0446 mov r4, r0
-3655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12525 .loc 1 3655 0
- 12526 0004 0D46 mov r5, r1
- 12527 0006 0029 cmp r1, #0
- 12528 0008 38D0 beq .L1289
-3663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12529 .loc 1 3663 0
- 12530 000a 0429 cmp r1, #4
- 12531 000c 44D0 beq .L1290
-3673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_2, TIM_CCx_DISABLE);
- 12532 .loc 1 3673 0
- 12533 000e 0022 movs r2, #0
- 12534 0010 1146 mov r1, r2
- 12535 .LVL1260:
- 12536 0012 0068 ldr r0, [r0]
- 12537 .LVL1261:
- 12538 0014 FFF7FEFF bl TIM_CCxChannelCmd
- 12539 .LVL1262:
-3674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 12540 .loc 1 3674 0
- 12541 0018 0022 movs r2, #0
- 12542 001a 0421 movs r1, #4
- 12543 001c 2068 ldr r0, [r4]
- 12544 001e FFF7FEFF bl TIM_CCxChannelCmd
- 12545 .LVL1263:
-3677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2);
- 12546 .loc 1 3677 0
-ARM GAS /tmp/ccqsuCX7.s page 383
-
-
- 12547 0022 2268 ldr r2, [r4]
- 12548 0024 D368 ldr r3, [r2, #12]
- 12549 0026 23F40073 bic r3, r3, #512
- 12550 002a D360 str r3, [r2, #12]
-3678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
- 12551 .loc 1 3678 0
- 12552 002c 2268 ldr r2, [r4]
- 12553 002e D368 ldr r3, [r2, #12]
- 12554 0030 23F48063 bic r3, r3, #1024
- 12555 0034 D360 str r3, [r2, #12]
-3679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]);
- 12556 .loc 1 3679 0
- 12557 0036 606A ldr r0, [r4, #36]
- 12558 0038 FFF7FEFF bl HAL_DMA_Abort_IT
- 12559 .LVL1264:
-3680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12560 .loc 1 3680 0
- 12561 003c A06A ldr r0, [r4, #40]
- 12562 003e FFF7FEFF bl HAL_DMA_Abort_IT
- 12563 .LVL1265:
- 12564 .L1275:
-3684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 12565 .loc 1 3684 0
- 12566 0042 2368 ldr r3, [r4]
- 12567 0044 196A ldr r1, [r3, #32]
- 12568 0046 41F21112 movw r2, #4369
- 12569 004a 1142 tst r1, r2
- 12570 004c 08D1 bne .L1277
-3684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 12571 .loc 1 3684 0 is_stmt 0 discriminator 1
- 12572 004e 196A ldr r1, [r3, #32]
- 12573 0050 40F24442 movw r2, #1092
- 12574 0054 1142 tst r1, r2
- 12575 0056 03D1 bne .L1277
-3684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 12576 .loc 1 3684 0 discriminator 2
- 12577 0058 1A68 ldr r2, [r3]
- 12578 005a 22F00102 bic r2, r2, #1
- 12579 005e 1A60 str r2, [r3]
- 12580 .L1277:
-3687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12581 .loc 1 3687 0 is_stmt 1
- 12582 0060 45B3 cbz r5, .L1278
-3687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** {
- 12583 .loc 1 3687 0 is_stmt 0 discriminator 1
- 12584 0062 042D cmp r5, #4
- 12585 0064 26D0 beq .L1278
-3694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 12586 .loc 1 3694 0 is_stmt 1
- 12587 0066 0123 movs r3, #1
- 12588 0068 84F83E30 strb r3, [r4, #62]
-3695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
- 12589 .loc 1 3695 0
- 12590 006c 84F83F30 strb r3, [r4, #63]
-3696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 12591 .loc 1 3696 0
- 12592 0070 84F84230 strb r3, [r4, #66]
-ARM GAS /tmp/ccqsuCX7.s page 384
-
-
-3697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12593 .loc 1 3697 0
- 12594 0074 84F84330 strb r3, [r4, #67]
- 12595 .L1285:
-3702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 12596 .loc 1 3702 0
- 12597 0078 0020 movs r0, #0
- 12598 007a 38BD pop {r3, r4, r5, pc}
- 12599 .LVL1266:
- 12600 .L1289:
-3657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 12601 .loc 1 3657 0
- 12602 007c 0022 movs r2, #0
- 12603 007e 1146 mov r1, r2
- 12604 .LVL1267:
- 12605 0080 0068 ldr r0, [r0]
- 12606 .LVL1268:
- 12607 0082 FFF7FEFF bl TIM_CCxChannelCmd
- 12608 .LVL1269:
-3660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
- 12609 .loc 1 3660 0
- 12610 0086 2268 ldr r2, [r4]
- 12611 0088 D368 ldr r3, [r2, #12]
- 12612 008a 23F40073 bic r3, r3, #512
- 12613 008e D360 str r3, [r2, #12]
-3661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12614 .loc 1 3661 0
- 12615 0090 606A ldr r0, [r4, #36]
- 12616 0092 FFF7FEFF bl HAL_DMA_Abort_IT
- 12617 .LVL1270:
- 12618 0096 D4E7 b .L1275
- 12619 .LVL1271:
- 12620 .L1290:
-3665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c ****
- 12621 .loc 1 3665 0
- 12622 0098 0022 movs r2, #0
- 12623 009a 0421 movs r1, #4
- 12624 .LVL1272:
- 12625 009c 0068 ldr r0, [r0]
- 12626 .LVL1273:
- 12627 009e FFF7FEFF bl TIM_CCxChannelCmd
- 12628 .LVL1274:
-3668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]);
- 12629 .loc 1 3668 0
- 12630 00a2 2268 ldr r2, [r4]
- 12631 00a4 D368 ldr r3, [r2, #12]
- 12632 00a6 23F48063 bic r3, r3, #1024
- 12633 00aa D360 str r3, [r2, #12]
-3669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12634 .loc 1 3669 0
- 12635 00ac A06A ldr r0, [r4, #40]
- 12636 00ae FFF7FEFF bl HAL_DMA_Abort_IT
- 12637 .LVL1275:
- 12638 00b2 C6E7 b .L1275
- 12639 .L1278:
-3689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 12640 .loc 1 3689 0
-ARM GAS /tmp/ccqsuCX7.s page 385
-
-
- 12641 00b4 5DB9 cbnz r5, .L1280
-3689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 12642 .loc 1 3689 0 is_stmt 0 discriminator 1
- 12643 00b6 0123 movs r3, #1
- 12644 00b8 84F83E30 strb r3, [r4, #62]
- 12645 .L1281:
-3690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12646 .loc 1 3690 0 is_stmt 1
- 12647 00bc BDB1 cbz r5, .L1291
-3690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12648 .loc 1 3690 0 is_stmt 0 discriminator 2
- 12649 00be 042D cmp r5, #4
- 12650 00c0 19D0 beq .L1292
-3690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12651 .loc 1 3690 0 discriminator 4
- 12652 00c2 082D cmp r5, #8
- 12653 00c4 1BD0 beq .L1293
-3690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12654 .loc 1 3690 0 discriminator 7
- 12655 00c6 0123 movs r3, #1
- 12656 00c8 84F84530 strb r3, [r4, #69]
- 12657 00cc D4E7 b .L1285
- 12658 .L1280:
-3689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 12659 .loc 1 3689 0 is_stmt 1 discriminator 2
- 12660 00ce 042D cmp r5, #4
- 12661 00d0 05D0 beq .L1294
-3689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 12662 .loc 1 3689 0 is_stmt 0 discriminator 4
- 12663 00d2 082D cmp r5, #8
- 12664 00d4 07D0 beq .L1295
-3689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 12665 .loc 1 3689 0 discriminator 7
- 12666 00d6 0123 movs r3, #1
- 12667 00d8 84F84130 strb r3, [r4, #65]
- 12668 00dc EEE7 b .L1281
- 12669 .L1294:
-3689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 12670 .loc 1 3689 0 discriminator 3
- 12671 00de 0123 movs r3, #1
- 12672 00e0 84F83F30 strb r3, [r4, #63]
- 12673 00e4 EAE7 b .L1281
- 12674 .L1295:
-3689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 12675 .loc 1 3689 0 discriminator 6
- 12676 00e6 0123 movs r3, #1
- 12677 00e8 84F84030 strb r3, [r4, #64]
- 12678 00ec E6E7 b .L1281
- 12679 .L1291:
-3690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12680 .loc 1 3690 0 is_stmt 1 discriminator 1
- 12681 00ee 0123 movs r3, #1
- 12682 00f0 84F84230 strb r3, [r4, #66]
- 12683 00f4 C0E7 b .L1285
- 12684 .L1292:
-3690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12685 .loc 1 3690 0 is_stmt 0 discriminator 3
-ARM GAS /tmp/ccqsuCX7.s page 386
-
-
- 12686 00f6 0123 movs r3, #1
- 12687 00f8 84F84330 strb r3, [r4, #67]
- 12688 00fc BCE7 b .L1285
- 12689 .L1293:
-3690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim.c **** }
- 12690 .loc 1 3690 0 discriminator 6
- 12691 00fe 0123 movs r3, #1
- 12692 0100 84F84430 strb r3, [r4, #68]
- 12693 0104 B8E7 b .L1285
- 12694 .cfi_endproc
- 12695 .LFE122:
- 12697 .text
- 12698 .Letext0:
- 12699 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 12700 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 12701 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 12702 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 12703 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 12704 .file 7 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h"
- 12705 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 12706 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
- 12707 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h"
- 12708 .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
- 12709 .file 12 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h"
-ARM GAS /tmp/ccqsuCX7.s page 387
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_hal_tim.c
- /tmp/ccqsuCX7.s:16 .text.TIM_OC1_SetConfig:0000000000000000 $t
- /tmp/ccqsuCX7.s:22 .text.TIM_OC1_SetConfig:0000000000000000 TIM_OC1_SetConfig
- /tmp/ccqsuCX7.s:133 .text.TIM_OC1_SetConfig:0000000000000068 $d
- /tmp/ccqsuCX7.s:138 .text.TIM_OC3_SetConfig:0000000000000000 $t
- /tmp/ccqsuCX7.s:144 .text.TIM_OC3_SetConfig:0000000000000000 TIM_OC3_SetConfig
- /tmp/ccqsuCX7.s:254 .text.TIM_OC3_SetConfig:0000000000000070 $d
- /tmp/ccqsuCX7.s:259 .text.TIM_OC4_SetConfig:0000000000000000 $t
- /tmp/ccqsuCX7.s:265 .text.TIM_OC4_SetConfig:0000000000000000 TIM_OC4_SetConfig
- /tmp/ccqsuCX7.s:349 .text.TIM_OC4_SetConfig:000000000000004c $d
- /tmp/ccqsuCX7.s:354 .text.TIM_TI1_ConfigInputStage:0000000000000000 $t
- /tmp/ccqsuCX7.s:360 .text.TIM_TI1_ConfigInputStage:0000000000000000 TIM_TI1_ConfigInputStage
- /tmp/ccqsuCX7.s:408 .text.TIM_TI2_SetConfig:0000000000000000 $t
- /tmp/ccqsuCX7.s:414 .text.TIM_TI2_SetConfig:0000000000000000 TIM_TI2_SetConfig
- /tmp/ccqsuCX7.s:477 .text.TIM_TI2_ConfigInputStage:0000000000000000 $t
- /tmp/ccqsuCX7.s:483 .text.TIM_TI2_ConfigInputStage:0000000000000000 TIM_TI2_ConfigInputStage
- /tmp/ccqsuCX7.s:531 .text.TIM_TI3_SetConfig:0000000000000000 $t
- /tmp/ccqsuCX7.s:537 .text.TIM_TI3_SetConfig:0000000000000000 TIM_TI3_SetConfig
- /tmp/ccqsuCX7.s:600 .text.TIM_TI4_SetConfig:0000000000000000 $t
- /tmp/ccqsuCX7.s:606 .text.TIM_TI4_SetConfig:0000000000000000 TIM_TI4_SetConfig
- /tmp/ccqsuCX7.s:669 .text.TIM_ITRx_SetConfig:0000000000000000 $t
- /tmp/ccqsuCX7.s:675 .text.TIM_ITRx_SetConfig:0000000000000000 TIM_ITRx_SetConfig
- /tmp/ccqsuCX7.s:701 .text.HAL_TIM_Base_MspInit:0000000000000000 $t
- /tmp/ccqsuCX7.s:708 .text.HAL_TIM_Base_MspInit:0000000000000000 HAL_TIM_Base_MspInit
- /tmp/ccqsuCX7.s:721 .text.HAL_TIM_Base_MspDeInit:0000000000000000 $t
- /tmp/ccqsuCX7.s:728 .text.HAL_TIM_Base_MspDeInit:0000000000000000 HAL_TIM_Base_MspDeInit
- /tmp/ccqsuCX7.s:741 .text.HAL_TIM_Base_DeInit:0000000000000000 $t
- /tmp/ccqsuCX7.s:748 .text.HAL_TIM_Base_DeInit:0000000000000000 HAL_TIM_Base_DeInit
- /tmp/ccqsuCX7.s:809 .text.HAL_TIM_Base_Start:0000000000000000 $t
- /tmp/ccqsuCX7.s:816 .text.HAL_TIM_Base_Start:0000000000000000 HAL_TIM_Base_Start
- /tmp/ccqsuCX7.s:897 .text.HAL_TIM_Base_Start:0000000000000068 $d
- /tmp/ccqsuCX7.s:902 .text.HAL_TIM_Base_Stop:0000000000000000 $t
- /tmp/ccqsuCX7.s:909 .text.HAL_TIM_Base_Stop:0000000000000000 HAL_TIM_Base_Stop
- /tmp/ccqsuCX7.s:944 .text.HAL_TIM_Base_Start_IT:0000000000000000 $t
- /tmp/ccqsuCX7.s:951 .text.HAL_TIM_Base_Start_IT:0000000000000000 HAL_TIM_Base_Start_IT
- /tmp/ccqsuCX7.s:1037 .text.HAL_TIM_Base_Start_IT:0000000000000074 $d
- /tmp/ccqsuCX7.s:1042 .text.HAL_TIM_Base_Stop_IT:0000000000000000 $t
- /tmp/ccqsuCX7.s:1049 .text.HAL_TIM_Base_Stop_IT:0000000000000000 HAL_TIM_Base_Stop_IT
- /tmp/ccqsuCX7.s:1089 .text.HAL_TIM_Base_Start_DMA:0000000000000000 $t
- /tmp/ccqsuCX7.s:1096 .text.HAL_TIM_Base_Start_DMA:0000000000000000 HAL_TIM_Base_Start_DMA
- /tmp/ccqsuCX7.s:1227 .text.HAL_TIM_Base_Start_DMA:00000000000000b0 $d
- /tmp/ccqsuCX7.s:2993 .text.TIM_DMAPeriodElapsedCplt:0000000000000000 TIM_DMAPeriodElapsedCplt
- /tmp/ccqsuCX7.s:3051 .text.TIM_DMAPeriodElapsedHalfCplt:0000000000000000 TIM_DMAPeriodElapsedHalfCplt
- /tmp/ccqsuCX7.s:3926 .text.TIM_DMAError:0000000000000000 TIM_DMAError
- /tmp/ccqsuCX7.s:1235 .text.HAL_TIM_Base_Stop_DMA:0000000000000000 $t
- /tmp/ccqsuCX7.s:1242 .text.HAL_TIM_Base_Stop_DMA:0000000000000000 HAL_TIM_Base_Stop_DMA
- /tmp/ccqsuCX7.s:1291 .text.HAL_TIM_OC_MspInit:0000000000000000 $t
- /tmp/ccqsuCX7.s:1298 .text.HAL_TIM_OC_MspInit:0000000000000000 HAL_TIM_OC_MspInit
- /tmp/ccqsuCX7.s:1311 .text.HAL_TIM_OC_MspDeInit:0000000000000000 $t
- /tmp/ccqsuCX7.s:1318 .text.HAL_TIM_OC_MspDeInit:0000000000000000 HAL_TIM_OC_MspDeInit
- /tmp/ccqsuCX7.s:1331 .text.HAL_TIM_OC_DeInit:0000000000000000 $t
- /tmp/ccqsuCX7.s:1338 .text.HAL_TIM_OC_DeInit:0000000000000000 HAL_TIM_OC_DeInit
- /tmp/ccqsuCX7.s:1399 .text.HAL_TIM_PWM_MspInit:0000000000000000 $t
- /tmp/ccqsuCX7.s:1406 .text.HAL_TIM_PWM_MspInit:0000000000000000 HAL_TIM_PWM_MspInit
- /tmp/ccqsuCX7.s:1419 .text.HAL_TIM_PWM_MspDeInit:0000000000000000 $t
- /tmp/ccqsuCX7.s:1426 .text.HAL_TIM_PWM_MspDeInit:0000000000000000 HAL_TIM_PWM_MspDeInit
-ARM GAS /tmp/ccqsuCX7.s page 388
-
-
- /tmp/ccqsuCX7.s:1439 .text.HAL_TIM_PWM_DeInit:0000000000000000 $t
- /tmp/ccqsuCX7.s:1446 .text.HAL_TIM_PWM_DeInit:0000000000000000 HAL_TIM_PWM_DeInit
- /tmp/ccqsuCX7.s:1507 .text.HAL_TIM_IC_MspInit:0000000000000000 $t
- /tmp/ccqsuCX7.s:1514 .text.HAL_TIM_IC_MspInit:0000000000000000 HAL_TIM_IC_MspInit
- /tmp/ccqsuCX7.s:1527 .text.HAL_TIM_IC_MspDeInit:0000000000000000 $t
- /tmp/ccqsuCX7.s:1534 .text.HAL_TIM_IC_MspDeInit:0000000000000000 HAL_TIM_IC_MspDeInit
- /tmp/ccqsuCX7.s:1547 .text.HAL_TIM_IC_DeInit:0000000000000000 $t
- /tmp/ccqsuCX7.s:1554 .text.HAL_TIM_IC_DeInit:0000000000000000 HAL_TIM_IC_DeInit
- /tmp/ccqsuCX7.s:1615 .text.HAL_TIM_OnePulse_MspInit:0000000000000000 $t
- /tmp/ccqsuCX7.s:1622 .text.HAL_TIM_OnePulse_MspInit:0000000000000000 HAL_TIM_OnePulse_MspInit
- /tmp/ccqsuCX7.s:1635 .text.HAL_TIM_OnePulse_MspDeInit:0000000000000000 $t
- /tmp/ccqsuCX7.s:1642 .text.HAL_TIM_OnePulse_MspDeInit:0000000000000000 HAL_TIM_OnePulse_MspDeInit
- /tmp/ccqsuCX7.s:1655 .text.HAL_TIM_OnePulse_DeInit:0000000000000000 $t
- /tmp/ccqsuCX7.s:1662 .text.HAL_TIM_OnePulse_DeInit:0000000000000000 HAL_TIM_OnePulse_DeInit
- /tmp/ccqsuCX7.s:1721 .text.HAL_TIM_Encoder_MspInit:0000000000000000 $t
- /tmp/ccqsuCX7.s:1728 .text.HAL_TIM_Encoder_MspInit:0000000000000000 HAL_TIM_Encoder_MspInit
- /tmp/ccqsuCX7.s:1741 .text.HAL_TIM_Encoder_MspDeInit:0000000000000000 $t
- /tmp/ccqsuCX7.s:1748 .text.HAL_TIM_Encoder_MspDeInit:0000000000000000 HAL_TIM_Encoder_MspDeInit
- /tmp/ccqsuCX7.s:1761 .text.HAL_TIM_Encoder_DeInit:0000000000000000 $t
- /tmp/ccqsuCX7.s:1768 .text.HAL_TIM_Encoder_DeInit:0000000000000000 HAL_TIM_Encoder_DeInit
- /tmp/ccqsuCX7.s:1827 .text.HAL_TIM_DMABurst_MultiWriteStart:0000000000000000 $t
- /tmp/ccqsuCX7.s:1834 .text.HAL_TIM_DMABurst_MultiWriteStart:0000000000000000 HAL_TIM_DMABurst_MultiWriteStart
- /tmp/ccqsuCX7.s:2151 .text.HAL_TIM_DMABurst_MultiWriteStart:0000000000000194 $d
- /tmp/ccqsuCX7.s:3345 .text.TIM_DMADelayPulseCplt:0000000000000000 TIM_DMADelayPulseCplt
- /tmp/ccqsuCX7.s:3467 .text.TIM_DMADelayPulseHalfCplt:0000000000000000 TIM_DMADelayPulseHalfCplt
- /tmp/ccqsuCX7.s:3818 .text.TIM_DMATriggerCplt:0000000000000000 TIM_DMATriggerCplt
- /tmp/ccqsuCX7.s:3875 .text.TIM_DMATriggerHalfCplt:0000000000000000 TIM_DMATriggerHalfCplt
- /tmp/ccqsuCX7.s:2164 .text.HAL_TIM_DMABurst_WriteStart:0000000000000000 $t
- /tmp/ccqsuCX7.s:2171 .text.HAL_TIM_DMABurst_WriteStart:0000000000000000 HAL_TIM_DMABurst_WriteStart
- /tmp/ccqsuCX7.s:2206 .text.HAL_TIM_DMABurst_WriteStop:0000000000000000 $t
- /tmp/ccqsuCX7.s:2213 .text.HAL_TIM_DMABurst_WriteStop:0000000000000000 HAL_TIM_DMABurst_WriteStop
- /tmp/ccqsuCX7.s:2322 .text.HAL_TIM_DMABurst_MultiReadStart:0000000000000000 $t
- /tmp/ccqsuCX7.s:2329 .text.HAL_TIM_DMABurst_MultiReadStart:0000000000000000 HAL_TIM_DMABurst_MultiReadStart
- /tmp/ccqsuCX7.s:2639 .text.HAL_TIM_DMABurst_MultiReadStart:0000000000000194 $d
- /tmp/ccqsuCX7.s:3122 .text.TIM_DMACaptureCplt:0000000000000000 TIM_DMACaptureCplt
- /tmp/ccqsuCX7.s:3252 .text.TIM_DMACaptureHalfCplt:0000000000000000 TIM_DMACaptureHalfCplt
- /tmp/ccqsuCX7.s:2652 .text.HAL_TIM_DMABurst_ReadStart:0000000000000000 $t
- /tmp/ccqsuCX7.s:2659 .text.HAL_TIM_DMABurst_ReadStart:0000000000000000 HAL_TIM_DMABurst_ReadStart
- /tmp/ccqsuCX7.s:2694 .text.HAL_TIM_DMABurst_ReadStop:0000000000000000 $t
- /tmp/ccqsuCX7.s:2701 .text.HAL_TIM_DMABurst_ReadStop:0000000000000000 HAL_TIM_DMABurst_ReadStop
- /tmp/ccqsuCX7.s:2810 .text.HAL_TIM_GenerateEvent:0000000000000000 $t
- /tmp/ccqsuCX7.s:2817 .text.HAL_TIM_GenerateEvent:0000000000000000 HAL_TIM_GenerateEvent
- /tmp/ccqsuCX7.s:2856 .text.HAL_TIM_ConfigTI1Input:0000000000000000 $t
- /tmp/ccqsuCX7.s:2863 .text.HAL_TIM_ConfigTI1Input:0000000000000000 HAL_TIM_ConfigTI1Input
- /tmp/ccqsuCX7.s:2891 .text.HAL_TIM_ReadCapturedValue:0000000000000000 $t
- /tmp/ccqsuCX7.s:2898 .text.HAL_TIM_ReadCapturedValue:0000000000000000 HAL_TIM_ReadCapturedValue
- /tmp/ccqsuCX7.s:2911 .text.HAL_TIM_ReadCapturedValue:0000000000000008 $d
- /tmp/ccqsuCX7.s:2967 .text.HAL_TIM_PeriodElapsedCallback:0000000000000000 $t
- /tmp/ccqsuCX7.s:2974 .text.HAL_TIM_PeriodElapsedCallback:0000000000000000 HAL_TIM_PeriodElapsedCallback
- /tmp/ccqsuCX7.s:2987 .text.TIM_DMAPeriodElapsedCplt:0000000000000000 $t
- /tmp/ccqsuCX7.s:3025 .text.HAL_TIM_PeriodElapsedHalfCpltCallback:0000000000000000 $t
- /tmp/ccqsuCX7.s:3032 .text.HAL_TIM_PeriodElapsedHalfCpltCallback:0000000000000000 HAL_TIM_PeriodElapsedHalfCpltCallback
- /tmp/ccqsuCX7.s:3045 .text.TIM_DMAPeriodElapsedHalfCplt:0000000000000000 $t
- /tmp/ccqsuCX7.s:3075 .text.HAL_TIM_OC_DelayElapsedCallback:0000000000000000 $t
- /tmp/ccqsuCX7.s:3082 .text.HAL_TIM_OC_DelayElapsedCallback:0000000000000000 HAL_TIM_OC_DelayElapsedCallback
- /tmp/ccqsuCX7.s:3095 .text.HAL_TIM_IC_CaptureCallback:0000000000000000 $t
- /tmp/ccqsuCX7.s:3102 .text.HAL_TIM_IC_CaptureCallback:0000000000000000 HAL_TIM_IC_CaptureCallback
-ARM GAS /tmp/ccqsuCX7.s page 389
-
-
- /tmp/ccqsuCX7.s:3115 .text.TIM_DMACaptureCplt:0000000000000000 $t
- /tmp/ccqsuCX7.s:3225 .text.HAL_TIM_IC_CaptureHalfCpltCallback:0000000000000000 $t
- /tmp/ccqsuCX7.s:3232 .text.HAL_TIM_IC_CaptureHalfCpltCallback:0000000000000000 HAL_TIM_IC_CaptureHalfCpltCallback
- /tmp/ccqsuCX7.s:3245 .text.TIM_DMACaptureHalfCplt:0000000000000000 $t
- /tmp/ccqsuCX7.s:3319 .text.HAL_TIM_PWM_PulseFinishedCallback:0000000000000000 $t
- /tmp/ccqsuCX7.s:3326 .text.HAL_TIM_PWM_PulseFinishedCallback:0000000000000000 HAL_TIM_PWM_PulseFinishedCallback
- /tmp/ccqsuCX7.s:3339 .text.TIM_DMADelayPulseCplt:0000000000000000 $t
- /tmp/ccqsuCX7.s:3440 .text.HAL_TIM_PWM_PulseFinishedHalfCpltCallback:0000000000000000 $t
- /tmp/ccqsuCX7.s:3447 .text.HAL_TIM_PWM_PulseFinishedHalfCpltCallback:0000000000000000 HAL_TIM_PWM_PulseFinishedHalfCpltCallback
- /tmp/ccqsuCX7.s:3460 .text.TIM_DMADelayPulseHalfCplt:0000000000000000 $t
- /tmp/ccqsuCX7.s:3534 .text.HAL_TIM_TriggerCallback:0000000000000000 $t
- /tmp/ccqsuCX7.s:3541 .text.HAL_TIM_TriggerCallback:0000000000000000 HAL_TIM_TriggerCallback
- /tmp/ccqsuCX7.s:3554 .text.HAL_TIM_IRQHandler:0000000000000000 $t
- /tmp/ccqsuCX7.s:3561 .text.HAL_TIM_IRQHandler:0000000000000000 HAL_TIM_IRQHandler
- /tmp/ccqsuCX7.s:3812 .text.TIM_DMATriggerCplt:0000000000000000 $t
- /tmp/ccqsuCX7.s:3849 .text.HAL_TIM_TriggerHalfCpltCallback:0000000000000000 $t
- /tmp/ccqsuCX7.s:3856 .text.HAL_TIM_TriggerHalfCpltCallback:0000000000000000 HAL_TIM_TriggerHalfCpltCallback
- /tmp/ccqsuCX7.s:3869 .text.TIM_DMATriggerHalfCplt:0000000000000000 $t
- /tmp/ccqsuCX7.s:3899 .text.HAL_TIM_ErrorCallback:0000000000000000 $t
- /tmp/ccqsuCX7.s:3906 .text.HAL_TIM_ErrorCallback:0000000000000000 HAL_TIM_ErrorCallback
- /tmp/ccqsuCX7.s:3919 .text.TIM_DMAError:0000000000000000 $t
- /tmp/ccqsuCX7.s:4007 .text.HAL_TIM_Base_GetState:0000000000000000 $t
- /tmp/ccqsuCX7.s:4014 .text.HAL_TIM_Base_GetState:0000000000000000 HAL_TIM_Base_GetState
- /tmp/ccqsuCX7.s:4031 .text.HAL_TIM_OC_GetState:0000000000000000 $t
- /tmp/ccqsuCX7.s:4038 .text.HAL_TIM_OC_GetState:0000000000000000 HAL_TIM_OC_GetState
- /tmp/ccqsuCX7.s:4055 .text.HAL_TIM_PWM_GetState:0000000000000000 $t
- /tmp/ccqsuCX7.s:4062 .text.HAL_TIM_PWM_GetState:0000000000000000 HAL_TIM_PWM_GetState
- /tmp/ccqsuCX7.s:4079 .text.HAL_TIM_IC_GetState:0000000000000000 $t
- /tmp/ccqsuCX7.s:4086 .text.HAL_TIM_IC_GetState:0000000000000000 HAL_TIM_IC_GetState
- /tmp/ccqsuCX7.s:4103 .text.HAL_TIM_OnePulse_GetState:0000000000000000 $t
- /tmp/ccqsuCX7.s:4110 .text.HAL_TIM_OnePulse_GetState:0000000000000000 HAL_TIM_OnePulse_GetState
- /tmp/ccqsuCX7.s:4127 .text.HAL_TIM_Encoder_GetState:0000000000000000 $t
- /tmp/ccqsuCX7.s:4134 .text.HAL_TIM_Encoder_GetState:0000000000000000 HAL_TIM_Encoder_GetState
- /tmp/ccqsuCX7.s:4151 .text.HAL_TIM_GetActiveChannel:0000000000000000 $t
- /tmp/ccqsuCX7.s:4158 .text.HAL_TIM_GetActiveChannel:0000000000000000 HAL_TIM_GetActiveChannel
- /tmp/ccqsuCX7.s:4174 .text.HAL_TIM_GetChannelState:0000000000000000 $t
- /tmp/ccqsuCX7.s:4181 .text.HAL_TIM_GetChannelState:0000000000000000 HAL_TIM_GetChannelState
- /tmp/ccqsuCX7.s:4229 .text.HAL_TIM_DMABurstState:0000000000000000 $t
- /tmp/ccqsuCX7.s:4236 .text.HAL_TIM_DMABurstState:0000000000000000 HAL_TIM_DMABurstState
- /tmp/ccqsuCX7.s:4253 .text.TIM_Base_SetConfig:0000000000000000 $t
- /tmp/ccqsuCX7.s:4260 .text.TIM_Base_SetConfig:0000000000000000 TIM_Base_SetConfig
- /tmp/ccqsuCX7.s:4372 .text.TIM_Base_SetConfig:0000000000000098 $d
- /tmp/ccqsuCX7.s:4377 .text.HAL_TIM_Base_Init:0000000000000000 $t
- /tmp/ccqsuCX7.s:4384 .text.HAL_TIM_Base_Init:0000000000000000 HAL_TIM_Base_Init
- /tmp/ccqsuCX7.s:4453 .text.HAL_TIM_OC_Init:0000000000000000 $t
- /tmp/ccqsuCX7.s:4460 .text.HAL_TIM_OC_Init:0000000000000000 HAL_TIM_OC_Init
- /tmp/ccqsuCX7.s:4529 .text.HAL_TIM_PWM_Init:0000000000000000 $t
- /tmp/ccqsuCX7.s:4536 .text.HAL_TIM_PWM_Init:0000000000000000 HAL_TIM_PWM_Init
- /tmp/ccqsuCX7.s:4605 .text.HAL_TIM_IC_Init:0000000000000000 $t
- /tmp/ccqsuCX7.s:4612 .text.HAL_TIM_IC_Init:0000000000000000 HAL_TIM_IC_Init
- /tmp/ccqsuCX7.s:4681 .text.HAL_TIM_OnePulse_Init:0000000000000000 $t
- /tmp/ccqsuCX7.s:4688 .text.HAL_TIM_OnePulse_Init:0000000000000000 HAL_TIM_OnePulse_Init
- /tmp/ccqsuCX7.s:4770 .text.HAL_TIM_Encoder_Init:0000000000000000 $t
- /tmp/ccqsuCX7.s:4777 .text.HAL_TIM_Encoder_Init:0000000000000000 HAL_TIM_Encoder_Init
- /tmp/ccqsuCX7.s:4924 .text.TIM_OC2_SetConfig:0000000000000000 $t
- /tmp/ccqsuCX7.s:4931 .text.TIM_OC2_SetConfig:0000000000000000 TIM_OC2_SetConfig
- /tmp/ccqsuCX7.s:5041 .text.TIM_OC2_SetConfig:0000000000000070 $d
-ARM GAS /tmp/ccqsuCX7.s page 390
-
-
- /tmp/ccqsuCX7.s:5046 .text.HAL_TIM_OC_ConfigChannel:0000000000000000 $t
- /tmp/ccqsuCX7.s:5053 .text.HAL_TIM_OC_ConfigChannel:0000000000000000 HAL_TIM_OC_ConfigChannel
- /tmp/ccqsuCX7.s:5079 .text.HAL_TIM_OC_ConfigChannel:000000000000001a $d
- /tmp/ccqsuCX7.s:5146 .text.HAL_TIM_PWM_ConfigChannel:0000000000000000 $t
- /tmp/ccqsuCX7.s:5153 .text.HAL_TIM_PWM_ConfigChannel:0000000000000000 HAL_TIM_PWM_ConfigChannel
- /tmp/ccqsuCX7.s:5181 .text.HAL_TIM_PWM_ConfigChannel:000000000000001c $d
- /tmp/ccqsuCX7.s:5309 .text.TIM_TI1_SetConfig:0000000000000000 $t
- /tmp/ccqsuCX7.s:5316 .text.TIM_TI1_SetConfig:0000000000000000 TIM_TI1_SetConfig
- /tmp/ccqsuCX7.s:5435 .text.TIM_TI1_SetConfig:0000000000000080 $d
- /tmp/ccqsuCX7.s:5440 .text.HAL_TIM_IC_ConfigChannel:0000000000000000 $t
- /tmp/ccqsuCX7.s:5447 .text.HAL_TIM_IC_ConfigChannel:0000000000000000 HAL_TIM_IC_ConfigChannel
- /tmp/ccqsuCX7.s:5588 .text.HAL_TIM_OnePulse_ConfigChannel:0000000000000000 $t
- /tmp/ccqsuCX7.s:5595 .text.HAL_TIM_OnePulse_ConfigChannel:0000000000000000 HAL_TIM_OnePulse_ConfigChannel
- /tmp/ccqsuCX7.s:5796 .text.TIM_ETR_SetConfig:0000000000000000 $t
- /tmp/ccqsuCX7.s:5803 .text.TIM_ETR_SetConfig:0000000000000000 TIM_ETR_SetConfig
- /tmp/ccqsuCX7.s:5841 .text.HAL_TIM_ConfigOCrefClear:0000000000000000 $t
- /tmp/ccqsuCX7.s:5848 .text.HAL_TIM_ConfigOCrefClear:0000000000000000 HAL_TIM_ConfigOCrefClear
- /tmp/ccqsuCX7.s:5888 .text.HAL_TIM_ConfigOCrefClear:000000000000002c $d
- /tmp/ccqsuCX7.s:6032 .text.HAL_TIM_ConfigClockSource:0000000000000000 $t
- /tmp/ccqsuCX7.s:6039 .text.HAL_TIM_ConfigClockSource:0000000000000000 HAL_TIM_ConfigClockSource
- /tmp/ccqsuCX7.s:6229 .text.TIM_SlaveTimer_SetConfig:0000000000000000 $t
- /tmp/ccqsuCX7.s:6235 .text.TIM_SlaveTimer_SetConfig:0000000000000000 TIM_SlaveTimer_SetConfig
- /tmp/ccqsuCX7.s:6380 .text.HAL_TIM_SlaveConfigSynchro:0000000000000000 $t
- /tmp/ccqsuCX7.s:6387 .text.HAL_TIM_SlaveConfigSynchro:0000000000000000 HAL_TIM_SlaveConfigSynchro
- /tmp/ccqsuCX7.s:6457 .text.HAL_TIM_SlaveConfigSynchro_IT:0000000000000000 $t
- /tmp/ccqsuCX7.s:6464 .text.HAL_TIM_SlaveConfigSynchro_IT:0000000000000000 HAL_TIM_SlaveConfigSynchro_IT
- /tmp/ccqsuCX7.s:6534 .text.TIM_CCxChannelCmd:0000000000000000 $t
- /tmp/ccqsuCX7.s:6541 .text.TIM_CCxChannelCmd:0000000000000000 TIM_CCxChannelCmd
- /tmp/ccqsuCX7.s:6580 .text.HAL_TIM_OC_Start:0000000000000000 $t
- /tmp/ccqsuCX7.s:6587 .text.HAL_TIM_OC_Start:0000000000000000 HAL_TIM_OC_Start
- /tmp/ccqsuCX7.s:6789 .text.HAL_TIM_OC_Start:0000000000000104 $d
- /tmp/ccqsuCX7.s:6794 .text.HAL_TIM_OC_Stop:0000000000000000 $t
- /tmp/ccqsuCX7.s:6801 .text.HAL_TIM_OC_Stop:0000000000000000 HAL_TIM_OC_Stop
- /tmp/ccqsuCX7.s:6909 .text.HAL_TIM_OC_Stop:0000000000000090 $d
- /tmp/ccqsuCX7.s:6914 .text.HAL_TIM_OC_Start_IT:0000000000000000 $t
- /tmp/ccqsuCX7.s:6921 .text.HAL_TIM_OC_Start_IT:0000000000000000 HAL_TIM_OC_Start_IT
- /tmp/ccqsuCX7.s:6958 .text.HAL_TIM_OC_Start_IT:000000000000002a $d
- /tmp/ccqsuCX7.s:7175 .text.HAL_TIM_OC_Start_IT:0000000000000148 $d
- /tmp/ccqsuCX7.s:7180 .text.HAL_TIM_OC_Stop_IT:0000000000000000 $t
- /tmp/ccqsuCX7.s:7187 .text.HAL_TIM_OC_Stop_IT:0000000000000000 HAL_TIM_OC_Stop_IT
- /tmp/ccqsuCX7.s:7208 .text.HAL_TIM_OC_Stop_IT:000000000000000e $d
- /tmp/ccqsuCX7.s:7348 .text.HAL_TIM_OC_Stop_IT:00000000000000d8 $d
- /tmp/ccqsuCX7.s:7353 .text.HAL_TIM_OC_Start_DMA:0000000000000000 $t
- /tmp/ccqsuCX7.s:7360 .text.HAL_TIM_OC_Start_DMA:0000000000000000 HAL_TIM_OC_Start_DMA
- /tmp/ccqsuCX7.s:7458 .text.HAL_TIM_OC_Start_DMA:0000000000000080 $d
- /tmp/ccqsuCX7.s:7773 .text.HAL_TIM_OC_Start_DMA:0000000000000234 $d
- /tmp/ccqsuCX7.s:7781 .text.HAL_TIM_OC_Stop_DMA:0000000000000000 $t
- /tmp/ccqsuCX7.s:7788 .text.HAL_TIM_OC_Stop_DMA:0000000000000000 HAL_TIM_OC_Stop_DMA
- /tmp/ccqsuCX7.s:7809 .text.HAL_TIM_OC_Stop_DMA:000000000000000e $d
- /tmp/ccqsuCX7.s:7968 .text.HAL_TIM_OC_Stop_DMA:00000000000000f0 $d
- /tmp/ccqsuCX7.s:7973 .text.HAL_TIM_PWM_Start:0000000000000000 $t
- /tmp/ccqsuCX7.s:7980 .text.HAL_TIM_PWM_Start:0000000000000000 HAL_TIM_PWM_Start
- /tmp/ccqsuCX7.s:8182 .text.HAL_TIM_PWM_Start:0000000000000104 $d
- /tmp/ccqsuCX7.s:8187 .text.HAL_TIM_PWM_Stop:0000000000000000 $t
- /tmp/ccqsuCX7.s:8194 .text.HAL_TIM_PWM_Stop:0000000000000000 HAL_TIM_PWM_Stop
- /tmp/ccqsuCX7.s:8302 .text.HAL_TIM_PWM_Stop:0000000000000090 $d
- /tmp/ccqsuCX7.s:8307 .text.HAL_TIM_PWM_Start_IT:0000000000000000 $t
-ARM GAS /tmp/ccqsuCX7.s page 391
-
-
- /tmp/ccqsuCX7.s:8314 .text.HAL_TIM_PWM_Start_IT:0000000000000000 HAL_TIM_PWM_Start_IT
- /tmp/ccqsuCX7.s:8351 .text.HAL_TIM_PWM_Start_IT:000000000000002a $d
- /tmp/ccqsuCX7.s:8568 .text.HAL_TIM_PWM_Start_IT:0000000000000148 $d
- /tmp/ccqsuCX7.s:8573 .text.HAL_TIM_PWM_Stop_IT:0000000000000000 $t
- /tmp/ccqsuCX7.s:8580 .text.HAL_TIM_PWM_Stop_IT:0000000000000000 HAL_TIM_PWM_Stop_IT
- /tmp/ccqsuCX7.s:8601 .text.HAL_TIM_PWM_Stop_IT:000000000000000e $d
- /tmp/ccqsuCX7.s:8741 .text.HAL_TIM_PWM_Stop_IT:00000000000000d8 $d
- /tmp/ccqsuCX7.s:8746 .text.HAL_TIM_PWM_Start_DMA:0000000000000000 $t
- /tmp/ccqsuCX7.s:8753 .text.HAL_TIM_PWM_Start_DMA:0000000000000000 HAL_TIM_PWM_Start_DMA
- /tmp/ccqsuCX7.s:8851 .text.HAL_TIM_PWM_Start_DMA:0000000000000080 $d
- /tmp/ccqsuCX7.s:9166 .text.HAL_TIM_PWM_Start_DMA:0000000000000234 $d
- /tmp/ccqsuCX7.s:9174 .text.HAL_TIM_PWM_Stop_DMA:0000000000000000 $t
- /tmp/ccqsuCX7.s:9181 .text.HAL_TIM_PWM_Stop_DMA:0000000000000000 HAL_TIM_PWM_Stop_DMA
- /tmp/ccqsuCX7.s:9202 .text.HAL_TIM_PWM_Stop_DMA:000000000000000e $d
- /tmp/ccqsuCX7.s:9361 .text.HAL_TIM_PWM_Stop_DMA:00000000000000f0 $d
- /tmp/ccqsuCX7.s:9366 .text.HAL_TIM_IC_Start:0000000000000000 $t
- /tmp/ccqsuCX7.s:9373 .text.HAL_TIM_IC_Start:0000000000000000 HAL_TIM_IC_Start
- /tmp/ccqsuCX7.s:9596 .text.HAL_TIM_IC_Start:0000000000000114 $d
- /tmp/ccqsuCX7.s:9601 .text.HAL_TIM_IC_Stop:0000000000000000 $t
- /tmp/ccqsuCX7.s:9608 .text.HAL_TIM_IC_Stop:0000000000000000 HAL_TIM_IC_Stop
- /tmp/ccqsuCX7.s:9708 .text.HAL_TIM_IC_Start_IT:0000000000000000 $t
- /tmp/ccqsuCX7.s:9715 .text.HAL_TIM_IC_Start_IT:0000000000000000 HAL_TIM_IC_Start_IT
- /tmp/ccqsuCX7.s:9829 .text.HAL_TIM_IC_Start_IT:000000000000007c $d
- /tmp/ccqsuCX7.s:9994 .text.HAL_TIM_IC_Start_IT:0000000000000158 $d
- /tmp/ccqsuCX7.s:9999 .text.HAL_TIM_IC_Stop_IT:0000000000000000 $t
- /tmp/ccqsuCX7.s:10006 .text.HAL_TIM_IC_Stop_IT:0000000000000000 HAL_TIM_IC_Stop_IT
- /tmp/ccqsuCX7.s:10027 .text.HAL_TIM_IC_Stop_IT:000000000000000e $d
- /tmp/ccqsuCX7.s:10159 .text.HAL_TIM_IC_Start_DMA:0000000000000000 $t
- /tmp/ccqsuCX7.s:10166 .text.HAL_TIM_IC_Start_DMA:0000000000000000 HAL_TIM_IC_Start_DMA
- /tmp/ccqsuCX7.s:10292 .text.HAL_TIM_IC_Start_DMA:000000000000008c $d
- /tmp/ccqsuCX7.s:10575 .text.HAL_TIM_IC_Start_DMA:0000000000000204 $d
- /tmp/ccqsuCX7.s:10583 .text.HAL_TIM_IC_Stop_DMA:0000000000000000 $t
- /tmp/ccqsuCX7.s:10590 .text.HAL_TIM_IC_Stop_DMA:0000000000000000 HAL_TIM_IC_Stop_DMA
- /tmp/ccqsuCX7.s:10617 .text.HAL_TIM_IC_Stop_DMA:0000000000000016 $d
- /tmp/ccqsuCX7.s:10757 .text.HAL_TIM_OnePulse_Start:0000000000000000 $t
- /tmp/ccqsuCX7.s:10764 .text.HAL_TIM_OnePulse_Start:0000000000000000 HAL_TIM_OnePulse_Start
- /tmp/ccqsuCX7.s:10891 .text.HAL_TIM_OnePulse_Start:000000000000008c $d
- /tmp/ccqsuCX7.s:10896 .text.HAL_TIM_OnePulse_Stop:0000000000000000 $t
- /tmp/ccqsuCX7.s:10903 .text.HAL_TIM_OnePulse_Stop:0000000000000000 HAL_TIM_OnePulse_Stop
- /tmp/ccqsuCX7.s:10998 .text.HAL_TIM_OnePulse_Stop:0000000000000084 $d
- /tmp/ccqsuCX7.s:11003 .text.HAL_TIM_OnePulse_Start_IT:0000000000000000 $t
- /tmp/ccqsuCX7.s:11010 .text.HAL_TIM_OnePulse_Start_IT:0000000000000000 HAL_TIM_OnePulse_Start_IT
- /tmp/ccqsuCX7.s:11149 .text.HAL_TIM_OnePulse_Start_IT:00000000000000a4 $d
- /tmp/ccqsuCX7.s:11154 .text.HAL_TIM_OnePulse_Stop_IT:0000000000000000 $t
- /tmp/ccqsuCX7.s:11161 .text.HAL_TIM_OnePulse_Stop_IT:0000000000000000 HAL_TIM_OnePulse_Stop_IT
- /tmp/ccqsuCX7.s:11266 .text.HAL_TIM_OnePulse_Stop_IT:0000000000000098 $d
- /tmp/ccqsuCX7.s:11271 .text.HAL_TIM_Encoder_Start:0000000000000000 $t
- /tmp/ccqsuCX7.s:11278 .text.HAL_TIM_Encoder_Start:0000000000000000 HAL_TIM_Encoder_Start
- /tmp/ccqsuCX7.s:11475 .text.HAL_TIM_Encoder_Stop:0000000000000000 $t
- /tmp/ccqsuCX7.s:11482 .text.HAL_TIM_Encoder_Stop:0000000000000000 HAL_TIM_Encoder_Stop
- /tmp/ccqsuCX7.s:11634 .text.HAL_TIM_Encoder_Start_IT:0000000000000000 $t
- /tmp/ccqsuCX7.s:11641 .text.HAL_TIM_Encoder_Start_IT:0000000000000000 HAL_TIM_Encoder_Start_IT
- /tmp/ccqsuCX7.s:11858 .text.HAL_TIM_Encoder_Stop_IT:0000000000000000 $t
- /tmp/ccqsuCX7.s:11865 .text.HAL_TIM_Encoder_Stop_IT:0000000000000000 HAL_TIM_Encoder_Stop_IT
- /tmp/ccqsuCX7.s:12037 .text.HAL_TIM_Encoder_Start_DMA:0000000000000000 $t
- /tmp/ccqsuCX7.s:12044 .text.HAL_TIM_Encoder_Start_DMA:0000000000000000 HAL_TIM_Encoder_Start_DMA
- /tmp/ccqsuCX7.s:12496 .text.HAL_TIM_Encoder_Start_DMA:0000000000000238 $d
-ARM GAS /tmp/ccqsuCX7.s page 392
-
-
- /tmp/ccqsuCX7.s:12503 .text.HAL_TIM_Encoder_Stop_DMA:0000000000000000 $t
- /tmp/ccqsuCX7.s:12510 .text.HAL_TIM_Encoder_Stop_DMA:0000000000000000 HAL_TIM_Encoder_Stop_DMA
- .debug_frame:0000000000000010 $d
- /tmp/ccqsuCX7.s:2924 .text.HAL_TIM_ReadCapturedValue:0000000000000015 $d
- /tmp/ccqsuCX7.s:2924 .text.HAL_TIM_ReadCapturedValue:0000000000000016 $t
- /tmp/ccqsuCX7.s:5092 .text.HAL_TIM_OC_ConfigChannel:0000000000000027 $d
- /tmp/ccqsuCX7.s:5092 .text.HAL_TIM_OC_ConfigChannel:0000000000000028 $t
- /tmp/ccqsuCX7.s:5194 .text.HAL_TIM_PWM_ConfigChannel:0000000000000029 $d
- /tmp/ccqsuCX7.s:5194 .text.HAL_TIM_PWM_ConfigChannel:000000000000002a $t
- /tmp/ccqsuCX7.s:5902 .text.HAL_TIM_ConfigOCrefClear:0000000000000039 $d
- /tmp/ccqsuCX7.s:5902 .text.HAL_TIM_ConfigOCrefClear:000000000000003a $t
- /tmp/ccqsuCX7.s:6971 .text.HAL_TIM_OC_Start_IT:0000000000000037 $d
- /tmp/ccqsuCX7.s:6971 .text.HAL_TIM_OC_Start_IT:0000000000000038 $t
- /tmp/ccqsuCX7.s:7221 .text.HAL_TIM_OC_Stop_IT:000000000000001b $d
- /tmp/ccqsuCX7.s:7221 .text.HAL_TIM_OC_Stop_IT:000000000000001c $t
- /tmp/ccqsuCX7.s:7471 .text.HAL_TIM_OC_Start_DMA:000000000000008d $d
- /tmp/ccqsuCX7.s:7471 .text.HAL_TIM_OC_Start_DMA:000000000000008e $t
- /tmp/ccqsuCX7.s:7822 .text.HAL_TIM_OC_Stop_DMA:000000000000001b $d
- /tmp/ccqsuCX7.s:7822 .text.HAL_TIM_OC_Stop_DMA:000000000000001c $t
- /tmp/ccqsuCX7.s:8364 .text.HAL_TIM_PWM_Start_IT:0000000000000037 $d
- /tmp/ccqsuCX7.s:8364 .text.HAL_TIM_PWM_Start_IT:0000000000000038 $t
- /tmp/ccqsuCX7.s:8614 .text.HAL_TIM_PWM_Stop_IT:000000000000001b $d
- /tmp/ccqsuCX7.s:8614 .text.HAL_TIM_PWM_Stop_IT:000000000000001c $t
- /tmp/ccqsuCX7.s:8864 .text.HAL_TIM_PWM_Start_DMA:000000000000008d $d
- /tmp/ccqsuCX7.s:8864 .text.HAL_TIM_PWM_Start_DMA:000000000000008e $t
- /tmp/ccqsuCX7.s:9215 .text.HAL_TIM_PWM_Stop_DMA:000000000000001b $d
- /tmp/ccqsuCX7.s:9215 .text.HAL_TIM_PWM_Stop_DMA:000000000000001c $t
- /tmp/ccqsuCX7.s:9843 .text.HAL_TIM_IC_Start_IT:0000000000000089 $d
- /tmp/ccqsuCX7.s:9843 .text.HAL_TIM_IC_Start_IT:000000000000008a $t
- /tmp/ccqsuCX7.s:10040 .text.HAL_TIM_IC_Stop_IT:000000000000001b $d
- /tmp/ccqsuCX7.s:10040 .text.HAL_TIM_IC_Stop_IT:000000000000001c $t
- /tmp/ccqsuCX7.s:10306 .text.HAL_TIM_IC_Start_DMA:0000000000000099 $d
- /tmp/ccqsuCX7.s:10306 .text.HAL_TIM_IC_Start_DMA:000000000000009a $t
- /tmp/ccqsuCX7.s:10630 .text.HAL_TIM_IC_Stop_DMA:0000000000000023 $d
- /tmp/ccqsuCX7.s:10630 .text.HAL_TIM_IC_Stop_DMA:0000000000000024 $t
-
-UNDEFINED SYMBOLS
-HAL_DMA_Start_IT
-HAL_DMA_Abort_IT
-TIMEx_DMACommutationCplt
-TIMEx_DMACommutationHalfCplt
-HAL_TIMEx_BreakCallback
-HAL_TIMEx_CommutCallback
diff --git a/build/stm32f1xx_hal_tim.o b/build/stm32f1xx_hal_tim.o
deleted file mode 100644
index 173978b..0000000
Binary files a/build/stm32f1xx_hal_tim.o and /dev/null differ
diff --git a/build/stm32f1xx_hal_tim_ex.d b/build/stm32f1xx_hal_tim_ex.d
deleted file mode 100644
index 34aa5b9..0000000
--- a/build/stm32f1xx_hal_tim_ex.d
+++ /dev/null
@@ -1,93 +0,0 @@
-build/stm32f1xx_hal_tim_ex.o: \
- Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/stm32f1xx_hal_tim_ex.lst b/build/stm32f1xx_hal_tim_ex.lst
deleted file mode 100644
index b4571a7..0000000
--- a/build/stm32f1xx_hal_tim_ex.lst
+++ /dev/null
@@ -1,8587 +0,0 @@
-ARM GAS /tmp/cc32U6bv.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "stm32f1xx_hal_tim_ex.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.TIM_CCxNChannelCmd,"ax",%progbits
- 16 .align 1
- 17 .syntax unified
- 18 .thumb
- 19 .thumb_func
- 20 .fpu softvfp
- 22 TIM_CCxNChannelCmd:
- 23 .LFB106:
- 24 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c"
- 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
- 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ******************************************************************************
- 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @file stm32f1xx_hal_tim_ex.c
- 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @author MCD Application Team
- 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief TIM HAL module driver.
- 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This file provides firmware functions to manage the following
- 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * functionalities of the Timer Extended peripheral:
- 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * + Time Hall Sensor Interface Initialization
- 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * + Time Hall Sensor Interface Start
- 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * + Time Complementary signal break and dead time configuration
- 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * + Time Master and Slave synchronization configuration
- 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * + Timer remapping capabilities configuration
- 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** @verbatim
- 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ==============================================================================
- 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ##### TIMER Extended features #####
- 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ==============================================================================
- 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** [..]
- 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** The Timer Extended features include:
- 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (#) Complementary outputs with programmable dead-time for :
- 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (++) Output Compare
- 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (++) PWM generation (Edge and Center-aligned Mode)
- 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (++) One-pulse mode output
- 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (#) Synchronization circuit to control the timer with external signals and to
- 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** interconnect several timers together.
- 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (#) Break input to put the timer output signals in reset state or in a known state.
- 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (#) Supports incremental (quadrature) encoder and hall-sensor circuitry for
- 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** positioning purposes
- 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ##### How to use this driver #####
- 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ==============================================================================
- 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** [..]
- 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (#) Initialize the TIM low level resources by implementing the following functions
- 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** depending on the selected feature:
- 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (++) Hall Sensor output : HAL_TIMEx_HallSensor_MspInit()
-ARM GAS /tmp/cc32U6bv.s page 2
-
-
- 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (#) Initialize the TIM low level resources :
- 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (##) Enable the TIM interface clock using __HAL_RCC_TIMx_CLK_ENABLE();
- 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (##) TIM pins configuration
- 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+++) Enable the clock for the TIM GPIOs using the following function:
- 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_RCC_GPIOx_CLK_ENABLE();
- 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+++) Configure these TIM pins in Alternate function mode using HAL_GPIO_Init();
- 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (#) The external Clock can be configured, if needed (the default clock is the
- 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** internal clock from the APBx), using the following function:
- 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ConfigClockSource, the clock configuration should be done before
- 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** any start function.
- 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (#) Configure the TIM in the desired functioning mode using one of the
- 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** initialization function of this driver:
- 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (++) HAL_TIMEx_HallSensor_Init() and HAL_TIMEx_ConfigCommutEvent(): to use the
- 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** Timer Hall Sensor Interface and the commutation event with the corresponding
- 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** Interrupt and DMA request if needed (Note that One Timer is used to interface
- 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** with the Hall sensor Interface and another Timer should be used to use
- 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** the commutation event).
- 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (#) Activate the TIM peripheral using one of the start functions:
- 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (++) Complementary Output Compare : HAL_TIMEx_OCN_Start(), HAL_TIMEx_OCN_Start_DMA(), HA
- 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (++) Complementary PWM generation : HAL_TIMEx_PWMN_Start(), HAL_TIMEx_PWMN_Start_DMA(),
- 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (++) Complementary One-pulse mode output : HAL_TIMEx_OnePulseN_Start(), HAL_TIMEx_OnePul
- 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (++) Hall Sensor output : HAL_TIMEx_HallSensor_Start(), HAL_TIMEx_HallSensor_Start_DMA()
- 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** @endverbatim
- 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ******************************************************************************
- 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @attention
- 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** *
- 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * © Copyright (c) 2016 STMicroelectronics.
- 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * All rights reserved.
- 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** *
- 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * the "License"; You may not use this file except in compliance with the
- 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * License. You may obtain a copy of the License at:
- 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * opensource.org/licenses/BSD-3-Clause
- 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** *
- 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ******************************************************************************
- 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Includes ------------------------------------------------------------------*/
- 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #include "stm32f1xx_hal.h"
- 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /** @addtogroup STM32F1xx_HAL_Driver
- 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @{
- 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /** @defgroup TIMEx TIMEx
- 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief TIM Extended HAL module driver
- 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @{
- 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #ifdef HAL_TIM_MODULE_ENABLED
- 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Private typedef -----------------------------------------------------------*/
-ARM GAS /tmp/cc32U6bv.s page 3
-
-
- 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Private define ------------------------------------------------------------*/
- 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Private macros ------------------------------------------------------------*/
- 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Private variables ---------------------------------------------------------*/
- 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Private function prototypes -----------------------------------------------*/
- 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** static void TIM_DMADelayPulseNCplt(DMA_HandleTypeDef *hdma);
- 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** static void TIM_DMAErrorCCxN(DMA_HandleTypeDef *hdma);
- 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** static void TIM_CCxNChannelCmd(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ChannelNState);
- 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Exported functions --------------------------------------------------------*/
- 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions TIM Extended Exported Functions
- 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @{
- 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group1 Extended Timer Hall Sensor functions
- 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Timer Hall Sensor functions
- 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** *
- 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** @verbatim
- 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ==============================================================================
- 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ##### Timer Hall Sensor functions #####
- 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ==============================================================================
- 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** [..]
- 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** This section provides functions allowing to:
- 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Initialize and configure TIM HAL Sensor.
- 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) De-initialize TIM HAL Sensor.
- 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Start the Hall Sensor Interface.
- 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Stop the Hall Sensor Interface.
- 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Start the Hall Sensor Interface and enable interrupts.
- 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Stop the Hall Sensor Interface and disable interrupts.
- 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Start the Hall Sensor Interface and enable DMA transfers.
- 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Stop the Hall Sensor Interface and disable DMA transfers.
- 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** @endverbatim
- 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @{
- 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
- 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Initializes the TIM Hall Sensor Interface and initialize the associated handle.
- 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @note When the timer instance is initialized in Hall Sensor Interface mode,
- 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * timer channels 1 and channel 2 are reserved and cannot be used for
- 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * other purpose.
- 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
- 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param sConfig TIM Hall Sensor configuration structure
- 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
- 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Init(TIM_HandleTypeDef *htim, TIM_HallSensor_InitTypeDef *sC
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_OC_InitTypeDef OC_Config;
- 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the TIM handle allocation */
- 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (htim == NULL)
- 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_ERROR;
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance));
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode));
- 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision));
-ARM GAS /tmp/cc32U6bv.s page 4
-
-
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload));
- 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_IC_POLARITY(sConfig->IC1Polarity));
- 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_IC_PRESCALER(sConfig->IC1Prescaler));
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_IC_FILTER(sConfig->IC1Filter));
- 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (htim->State == HAL_TIM_STATE_RESET)
- 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Allocate lock resource and initialize it */
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Lock = HAL_UNLOCKED;
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Reset interrupt callbacks to legacy week callbacks */
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_ResetCallback(htim);
- 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (htim->HallSensor_MspInitCallback == NULL)
- 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->HallSensor_MspInitCallback = HAL_TIMEx_HallSensor_MspInit;
- 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC */
- 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->HallSensor_MspInitCallback(htim);
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #else
- 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Init the low level hardware : GPIO, CLOCK, NVIC and DMA */
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIMEx_HallSensor_MspInit(htim);
- 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the TIM state */
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_BUSY;
- 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Configure the Time base in the Encoder Mode */
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_Base_SetConfig(htim->Instance, &htim->Init);
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Configure the Channel 1 as Input Channel to interface with the three Outputs of the Hall sens
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_TI1_SetConfig(htim->Instance, sConfig->IC1Polarity, TIM_ICSELECTION_TRC, sConfig->IC1Filter);
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Reset the IC1PSC Bits */
- 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->CCMR1 &= ~TIM_CCMR1_IC1PSC;
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the IC1PSC value */
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->CCMR1 |= sConfig->IC1Prescaler;
- 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Hall sensor interface (XOR function of the three inputs) */
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_CR2_TI1S;
- 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Select the TIM_TS_TI1F_ED signal as Input trigger for the TIM */
- 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS;
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_TS_TI1F_ED;
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Use the TIM_TS_TI1F_ED signal to reset the TIM counter each edge detection */
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_SMS;
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_RESET;
- 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Program channel 2 in PWM 2 mode with the desired Commutation_Delay*/
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** OC_Config.OCFastMode = TIM_OCFAST_DISABLE;
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** OC_Config.OCIdleState = TIM_OCIDLESTATE_RESET;
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** OC_Config.OCMode = TIM_OCMODE_PWM2;
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** OC_Config.OCNIdleState = TIM_OCNIDLESTATE_RESET;
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** OC_Config.OCNPolarity = TIM_OCNPOLARITY_HIGH;
-ARM GAS /tmp/cc32U6bv.s page 5
-
-
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** OC_Config.OCPolarity = TIM_OCPOLARITY_HIGH;
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** OC_Config.Pulse = sConfig->Commutation_Delay;
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_OC2_SetConfig(htim->Instance, &OC_Config);
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Select OC2REF as trigger output on TRGO: write the MMS bits in the TIMx_CR2
- 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** register to 101 */
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->CR2 &= ~TIM_CR2_MMS;
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_TRGO_OC2REF;
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Initialize the DMA burst operation state */
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_READY;
- 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Initialize the TIM channels state */
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Initialize the TIM state*/
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY;
- 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
- 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief DeInitializes the TIM Hall Sensor interface
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_DeInit(TIM_HandleTypeDef *htim)
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_INSTANCE(htim->Instance));
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_BUSY;
- 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the TIM Peripheral Clock */
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (htim->HallSensor_MspDeInitCallback == NULL)
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->HallSensor_MspDeInitCallback = HAL_TIMEx_HallSensor_MspDeInit;
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* DeInit the low level hardware */
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->HallSensor_MspDeInitCallback(htim);
- 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #else
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* DeInit the low level hardware: GPIO, CLOCK, NVIC */
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIMEx_HallSensor_MspDeInit(htim);
- 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Change the DMA burst operation state */
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->DMABurstState = HAL_DMA_BURST_STATE_RESET;
- 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Change the TIM channels state */
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET);
-ARM GAS /tmp/cc32U6bv.s page 6
-
-
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET);
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET);
- 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET);
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Change TIM state */
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_RESET;
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Release Lock */
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
- 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
- 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Initializes the TIM Hall Sensor MSP.
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval None
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __weak void HAL_TIMEx_HallSensor_MspInit(TIM_HandleTypeDef *htim)
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** UNUSED(htim);
- 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
- 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** the HAL_TIMEx_HallSensor_MspInit could be implemented in the user file
- 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
- 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief DeInitializes TIM Hall Sensor MSP.
- 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval None
- 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __weak void HAL_TIMEx_HallSensor_MspDeInit(TIM_HandleTypeDef *htim)
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** UNUSED(htim);
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
- 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** the HAL_TIMEx_HallSensor_MspDeInit could be implemented in the user file
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
- 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Starts the TIM Hall Sensor Interface.
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
- 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
- 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start(TIM_HandleTypeDef *htim)
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpsmcr;
- 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
- 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
-ARM GAS /tmp/cc32U6bv.s page 7
-
-
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance));
- 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the TIM channels state */
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_ERROR;
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the TIM channels state */
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
- 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Input Capture channel 1
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (in the Hall Sensor Interface the three possible channels that can be used are TIM_CHANNEL_1, TIM
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE);
- 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
- 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return function status */
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Stops the TIM Hall sensor Interface.
- 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop(TIM_HandleTypeDef *htim)
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance));
- 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Input Capture channels 1, 2 and 3
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (in the Hall Sensor Interface the three possible channels that can be used are TIM_CHANNEL_1, T
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE);
- 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Peripheral */
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the TIM channels state */
-ARM GAS /tmp/cc32U6bv.s page 8
-
-
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return function status */
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Starts the TIM Hall Sensor Interface in interrupt mode.
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_IT(TIM_HandleTypeDef *htim)
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpsmcr;
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
- 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance));
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the TIM channels state */
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if ((channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_ERROR;
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the TIM channels state */
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
- 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the capture compare Interrupts 1 event */
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1);
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Input Capture channel 1
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (in the Hall Sensor Interface the three possible channels that can be used are TIM_CHANNEL_1, T
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE);
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
- 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else
-ARM GAS /tmp/cc32U6bv.s page 9
-
-
- 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
- 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return function status */
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
- 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Stops the TIM Hall Sensor Interface in interrupt mode.
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
- 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_IT(TIM_HandleTypeDef *htim)
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance));
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Input Capture channel 1
- 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (in the Hall Sensor Interface the three possible channels that can be used are TIM_CHANNEL_1, T
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE);
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the capture compare Interrupts event */
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1);
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Peripheral */
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the TIM channels state */
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return function status */
- 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Starts the TIM Hall Sensor Interface in DMA mode.
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
- 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param pData The destination Buffer address.
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param Length The length of data to be transferred from TIM peripheral to memory.
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_DMA(TIM_HandleTypeDef *htim, uint32_t *pData, uint16_t
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpsmcr;
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_1_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_1);
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
- 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance));
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the TIM channel state */
- 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if ((channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY)
- 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY))
-ARM GAS /tmp/cc32U6bv.s page 10
-
-
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_BUSY;
- 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else if ((channel_1_state == HAL_TIM_CHANNEL_STATE_READY)
- 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY))
- 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if ((pData == NULL) && (Length > 0U))
- 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_ERROR;
- 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else
- 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
- 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
- 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else
- 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_ERROR;
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Input Capture channel 1
- 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (in the Hall Sensor Interface the three possible channels that can be used are TIM_CHANNEL_1, T
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_ENABLE);
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the DMA Input Capture 1 Callbacks */
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMACaptureCplt;
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the DMA error callback */
- 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAError ;
- 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the DMA channel for Capture 1*/
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)&htim->Instance->CCR1, (uint32_t)pData
- 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return error status */
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_ERROR;
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the capture compare 1 Interrupt */
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1);
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else
- 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return function status */
- 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-ARM GAS /tmp/cc32U6bv.s page 11
-
-
- 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Stops the TIM Hall Sensor Interface in DMA mode.
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor Interface handle
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
- 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_DMA(TIM_HandleTypeDef *htim)
- 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_HALL_SENSOR_INTERFACE_INSTANCE(htim->Instance));
- 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Input Capture channel 1
- 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (in the Hall Sensor Interface the three possible channels that can be used are TIM_CHANNEL_1, T
- 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, TIM_CHANNEL_1, TIM_CCx_DISABLE);
- 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the capture compare Interrupts 1 event */
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1);
- 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
- 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Peripheral */
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the TIM channel state */
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
- 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
- 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return function status */
- 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @}
- 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group2 Extended Timer Complementary Output Compare functions
- 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Timer Complementary Output Compare functions
- 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** *
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** @verbatim
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ==============================================================================
- 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ##### Timer Complementary Output Compare functions #####
- 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ==============================================================================
- 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** [..]
- 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** This section provides functions allowing to:
- 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Start the Complementary Output Compare/PWM.
- 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Stop the Complementary Output Compare/PWM.
- 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Start the Complementary Output Compare/PWM and enable interrupts.
- 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Stop the Complementary Output Compare/PWM and disable interrupts.
- 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Start the Complementary Output Compare/PWM and enable DMA transfers.
- 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Stop the Complementary Output Compare/PWM and disable DMA transfers.
- 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** @endverbatim
- 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @{
- 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-ARM GAS /tmp/cc32U6bv.s page 12
-
-
- 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Starts the TIM Output Compare signal generation on the complementary
- 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * output.
- 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM Output Compare handle
- 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled
- 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be one of the following values:
- 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
- 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
- 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
- 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
- 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Start(TIM_HandleTypeDef *htim, uint32_t Channel)
- 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpsmcr;
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
- 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the TIM complementary channel state */
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY)
- 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_ERROR;
- 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Capture compare channel N */
- 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE);
- 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Main Output */
- 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim);
- 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
- 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
- 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
- 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else
- 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
- 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return function status */
- 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
- 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
- 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Stops the TIM Output Compare signal generation on the complementary
- 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * output.
- 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM handle
- 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled
- 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be one of the following values:
- 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-ARM GAS /tmp/cc32U6bv.s page 13
-
-
- 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
- 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
- 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
- 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel)
- 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
- 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Capture compare channel N */
- 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE);
- 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Main Output */
- 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim);
- 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Peripheral */
- 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
- 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
- 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return function status */
- 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
- 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
- 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Starts the TIM Output Compare signal generation in interrupt mode
- 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * on the complementary output.
- 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM OC handle
- 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled
- 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be one of the following values:
- 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
- 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
- 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
- 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel)
- 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpsmcr;
- 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
- 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the TIM complementary channel state */
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY)
- 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_ERROR;
- 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** switch (Channel)
- 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
- 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the TIM Output Compare interrupt */
-ARM GAS /tmp/cc32U6bv.s page 14
-
-
- 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1);
- 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
- 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the TIM Output Compare interrupt */
- 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2);
- 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
- 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the TIM Output Compare interrupt */
- 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC3);
- 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** default:
- 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the TIM Break interrupt */
- 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_BREAK);
- 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Capture compare channel N */
- 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE);
- 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Main Output */
- 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim);
- 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
- 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
- 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
- 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else
- 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
- 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return function status */
- 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
- 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
- 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Stops the TIM Output Compare signal generation in interrupt mode
- 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * on the complementary output.
- 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM Output Compare handle
- 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled
- 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be one of the following values:
- 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-ARM GAS /tmp/cc32U6bv.s page 15
-
-
- 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
- 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
- 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
- 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel)
- 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpccer;
- 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
- 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** switch (Channel)
- 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
- 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the TIM Output Compare interrupt */
- 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1);
- 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
- 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the TIM Output Compare interrupt */
- 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2);
- 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
- 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the TIM Output Compare interrupt */
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC3);
- 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** default:
- 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Capture compare channel N */
- 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE);
- 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the TIM Break interrupt (only if no more channel is active) */
- 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** tmpccer = htim->Instance->CCER;
- 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if ((tmpccer & (TIM_CCER_CC1NE | TIM_CCER_CC2NE | TIM_CCER_CC3NE)) == (uint32_t)RESET)
- 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_BREAK);
- 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Main Output */
- 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim);
- 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Peripheral */
- 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
- 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
- 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
- 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return function status */
-ARM GAS /tmp/cc32U6bv.s page 16
-
-
- 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
- 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
- 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Starts the TIM Output Compare signal generation in DMA mode
- 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * on the complementary output.
- 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM Output Compare handle
- 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled
- 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be one of the following values:
- 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
- 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
- 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
- 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param pData The source Buffer address.
- 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param Length The length of data to be transferred from memory to TIM peripheral
- 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
- 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pDat
- 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpsmcr;
- 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
- 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_BUSY)
- 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_BUSY;
- 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_READY)
- 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if ((pData == NULL) && (Length > 0U))
- 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_ERROR;
- 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else
- 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else
- 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_ERROR;
- 875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** switch (Channel)
- 878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
- 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */
- 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMADelayPulseNCplt;
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
- 884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the DMA error callback */
- 886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAErrorCCxN ;
- 887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the DMA channel */
- 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)pData, (uint32_t)&htim->Instance->
-ARM GAS /tmp/cc32U6bv.s page 17
-
-
- 890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return error status */
- 892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_ERROR;
- 893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the TIM Output Compare DMA request */
- 895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1);
- 896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
- 900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */
- 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMADelayPulseNCplt;
- 903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
- 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the DMA error callback */
- 906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAErrorCCxN ;
- 907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the DMA channel */
- 909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)pData, (uint32_t)&htim->Instance->
- 910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return error status */
- 912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_ERROR;
- 913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the TIM Output Compare DMA request */
- 915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2);
- 916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
- 920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */
- 922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMADelayPulseNCplt;
- 923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
- 924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the DMA error callback */
- 926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAErrorCCxN ;
- 927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the DMA channel */
- 929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)pData, (uint32_t)&htim->Instance->
- 930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return error status */
- 932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_ERROR;
- 933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the TIM Output Compare DMA request */
- 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC3);
- 936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** default:
- 940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Capture compare channel N */
- 944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE);
- 945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Main Output */
-ARM GAS /tmp/cc32U6bv.s page 18
-
-
- 947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim);
- 948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
- 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
- 951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
- 953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
- 956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else
- 959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
- 961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return function status */
- 964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
- 965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
- 968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Stops the TIM Output Compare signal generation in DMA mode
- 969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * on the complementary output.
- 970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM Output Compare handle
- 971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled
- 972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be one of the following values:
- 973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
- 974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
- 975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
- 976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
- 977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
- 978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel)
- 979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
- 982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** switch (Channel)
- 984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
- 986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the TIM Output Compare DMA request */
- 988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1);
- 989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
- 990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
- 994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the TIM Output Compare DMA request */
- 996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2);
- 997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]);
- 998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
-1002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the TIM Output Compare DMA request */
-ARM GAS /tmp/cc32U6bv.s page 19
-
-
-1004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC3);
-1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]);
-1006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
-1007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** default:
-1010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
-1011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Capture compare channel N */
-1014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE);
-1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Main Output */
-1017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim);
-1018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Peripheral */
-1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
-1021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
-1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
-1024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return function status */
-1026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
-1027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-1030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @}
-1031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-1032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group3 Extended Timer Complementary PWM functions
-1034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Timer Complementary PWM functions
-1035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** *
-1036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** @verbatim
-1037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ==============================================================================
-1038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ##### Timer Complementary PWM functions #####
-1039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ==============================================================================
-1040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** [..]
-1041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** This section provides functions allowing to:
-1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Start the Complementary PWM.
-1043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Stop the Complementary PWM.
-1044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Start the Complementary PWM and enable interrupts.
-1045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Stop the Complementary PWM and disable interrupts.
-1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Start the Complementary PWM and enable DMA transfers.
-1047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Stop the Complementary PWM and disable DMA transfers.
-1048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Start the Complementary Input Capture measurement.
-1049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Stop the Complementary Input Capture.
-1050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Start the Complementary Input Capture and enable interrupts.
-1051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Stop the Complementary Input Capture and disable interrupts.
-1052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Start the Complementary Input Capture and enable DMA transfers.
-1053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Stop the Complementary Input Capture and disable DMA transfers.
-1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Start the Complementary One Pulse generation.
-1055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Stop the Complementary One Pulse.
-1056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Start the Complementary One Pulse and enable interrupts.
-1057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Stop the Complementary One Pulse and disable interrupts.
-1058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** @endverbatim
-1060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @{
-ARM GAS /tmp/cc32U6bv.s page 20
-
-
-1061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-1064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Starts the PWM signal generation on the complementary output.
-1065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM handle
-1066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled
-1067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be one of the following values:
-1068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-1069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-1070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
-1071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
-1072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-1073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Start(TIM_HandleTypeDef *htim, uint32_t Channel)
-1074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpsmcr;
-1076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
-1078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
-1079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the TIM complementary channel state */
-1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY)
-1082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_ERROR;
-1084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
-1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
-1088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the complementary PWM output */
-1090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE);
-1091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Main Output */
-1093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim);
-1094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
-1096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
-1097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
-1099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
-1100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
-1102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else
-1105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
-1107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return function status */
-1110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
-1111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-1114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Stops the PWM signal generation on the complementary output.
-1115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM handle
-1116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled
-1117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be one of the following values:
-ARM GAS /tmp/cc32U6bv.s page 21
-
-
-1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-1119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-1120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
-1121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
-1122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-1123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel)
-1124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
-1126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
-1127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the complementary PWM output */
-1129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE);
-1130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Main Output */
-1132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim);
-1133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Peripheral */
-1135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
-1136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
-1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
-1139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return function status */
-1141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
-1142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-1145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Starts the PWM signal generation in interrupt mode on the
-1146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * complementary output.
-1147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM handle
-1148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled
-1149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be one of the following values:
-1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-1151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-1152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
-1153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
-1154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-1155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel)
-1156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpsmcr;
-1158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
-1160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
-1161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the TIM complementary channel state */
-1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) != HAL_TIM_CHANNEL_STATE_READY)
-1164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_ERROR;
-1166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
-1169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
-1170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** switch (Channel)
-1172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
-1174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-ARM GAS /tmp/cc32U6bv.s page 22
-
-
-1175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 1 interrupt */
-1176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1);
-1177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
-1178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
-1181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 2 interrupt */
-1183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2);
-1184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
-1185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
-1188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 3 interrupt */
-1190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC3);
-1191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
-1192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** default:
-1195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
-1196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the TIM Break interrupt */
-1199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_BREAK);
-1200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the complementary PWM output */
-1202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE);
-1203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Main Output */
-1205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim);
-1206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
-1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
-1209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
-1211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
-1212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
-1214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else
-1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
-1219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return function status */
-1222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
-1223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-1226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Stops the PWM signal generation in interrupt mode on the
-1227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * complementary output.
-1228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM handle
-1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled
-1230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be one of the following values:
-1231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-ARM GAS /tmp/cc32U6bv.s page 23
-
-
-1232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-1233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
-1234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
-1235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-1236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel)
-1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpccer;
-1239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
-1241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
-1242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** switch (Channel)
-1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
-1246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 1 interrupt */
-1248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1);
-1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
-1250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
-1253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 2 interrupt */
-1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2);
-1256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
-1257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
-1260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 3 interrupt */
-1262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC3);
-1263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
-1264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** default:
-1267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
-1268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the complementary PWM output */
-1271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE);
-1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the TIM Break interrupt (only if no more channel is active) */
-1274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** tmpccer = htim->Instance->CCER;
-1275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if ((tmpccer & (TIM_CCER_CC1NE | TIM_CCER_CC2NE | TIM_CCER_CC3NE)) == (uint32_t)RESET)
-1276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_BREAK);
-1278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Main Output */
-1281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim);
-1282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Peripheral */
-1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
-1285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
-1287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
-1288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-ARM GAS /tmp/cc32U6bv.s page 24
-
-
-1289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return function status */
-1290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
-1291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-1294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Starts the TIM PWM signal generation in DMA mode on the
-1295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * complementary output
-1296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM handle
-1297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param Channel TIM Channel to be enabled
-1298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be one of the following values:
-1299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-1300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-1301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
-1302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param pData The source Buffer address.
-1303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param Length The length of data to be transferred from memory to TIM peripheral
-1304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
-1305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-1306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pDa
-1307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpsmcr;
-1309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
-1311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
-1312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
-1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_BUSY)
-1315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_BUSY;
-1317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else if (TIM_CHANNEL_N_STATE_GET(htim, Channel) == HAL_TIM_CHANNEL_STATE_READY)
-1319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if ((pData == NULL) && (Length > 0U))
-1321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_ERROR;
-1323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else
-1325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_BUSY);
-1327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else
-1330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_ERROR;
-1332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** switch (Channel)
-1335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
-1337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */
-1339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferCpltCallback = TIM_DMADelayPulseNCplt;
-1340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
-1341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the DMA error callback */
-1343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferErrorCallback = TIM_DMAErrorCCxN ;
-1344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the DMA channel */
-ARM GAS /tmp/cc32U6bv.s page 25
-
-
-1346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)pData, (uint32_t)&htim->Instance->
-1347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return error status */
-1349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_ERROR;
-1350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 1 DMA request */
-1352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC1);
-1353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
-1354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
-1357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */
-1359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferCpltCallback = TIM_DMADelayPulseNCplt;
-1360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
-1361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the DMA error callback */
-1363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferErrorCallback = TIM_DMAErrorCCxN ;
-1364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the DMA channel */
-1366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)pData, (uint32_t)&htim->Instance->
-1367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return error status */
-1369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_ERROR;
-1370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 2 DMA request */
-1372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC2);
-1373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
-1374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
-1377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the DMA compare callbacks */
-1379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferCpltCallback = TIM_DMADelayPulseNCplt;
-1380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
-1381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the DMA error callback */
-1383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferErrorCallback = TIM_DMAErrorCCxN ;
-1384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the DMA channel */
-1386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (HAL_DMA_Start_IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)pData, (uint32_t)&htim->Instance->
-1387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return error status */
-1389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_ERROR;
-1390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 3 DMA request */
-1392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_CC3);
-1393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
-1394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** default:
-1397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
-1398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the complementary PWM output */
-1401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_ENABLE);
-1402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-ARM GAS /tmp/cc32U6bv.s page 26
-
-
-1403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Main Output */
-1404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim);
-1405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger
-1407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
-1408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
-1410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
-1411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
-1413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else
-1416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE(htim);
-1418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return function status */
-1421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
-1422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-1425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Stops the TIM PWM signal generation in DMA mode on the complementary
-1426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * output
-1427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM handle
-1428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param Channel TIM Channel to be disabled
-1429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be one of the following values:
-1430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-1431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-1432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3 selected
-1433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
-1434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-1435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel)
-1436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
-1438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, Channel));
-1439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** switch (Channel)
-1441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** case TIM_CHANNEL_1:
-1443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 1 DMA request */
-1445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC1);
-1446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
-1447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
-1448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** case TIM_CHANNEL_2:
-1451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 2 DMA request */
-1453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC2);
-1454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]);
-1455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
-1456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** case TIM_CHANNEL_3:
-1459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-ARM GAS /tmp/cc32U6bv.s page 27
-
-
-1460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 3 DMA request */
-1461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_CC3);
-1462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]);
-1463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
-1464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** default:
-1467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
-1468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the complementary PWM output */
-1471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, Channel, TIM_CCxN_DISABLE);
-1472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Main Output */
-1474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim);
-1475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Peripheral */
-1477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
-1478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the TIM complementary channel state */
-1480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, Channel, HAL_TIM_CHANNEL_STATE_READY);
-1481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return function status */
-1483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
-1484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-1487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @}
-1488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-1489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group4 Extended Timer Complementary One Pulse functions
-1491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Timer Complementary One Pulse functions
-1492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** *
-1493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** @verbatim
-1494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ==============================================================================
-1495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ##### Timer Complementary One Pulse functions #####
-1496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ==============================================================================
-1497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** [..]
-1498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** This section provides functions allowing to:
-1499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Start the Complementary One Pulse generation.
-1500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Stop the Complementary One Pulse.
-1501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Start the Complementary One Pulse and enable interrupts.
-1502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Stop the Complementary One Pulse and disable interrupts.
-1503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** @endverbatim
-1505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @{
-1506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-1507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-1509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Starts the TIM One Pulse signal generation on the complementary
-1510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * output.
-1511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM One Pulse handle
-1512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param OutputChannel TIM Channel to be enabled
-1513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be one of the following values:
-1514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-1515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-1516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
-ARM GAS /tmp/cc32U6bv.s page 28
-
-
-1517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-1518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start(TIM_HandleTypeDef *htim, uint32_t OutputChannel)
-1519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
-1521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef input_channel_state = TIM_CHANNEL_STATE_GET(htim, input_channel);
-1522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef output_channel_state = TIM_CHANNEL_N_STATE_GET(htim, OutputChannel);
-1523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
-1525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, OutputChannel));
-1526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the TIM channels state */
-1528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if ((output_channel_state != HAL_TIM_CHANNEL_STATE_READY)
-1529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** || (input_channel_state != HAL_TIM_CHANNEL_STATE_READY))
-1530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_ERROR;
-1532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the TIM channels state */
-1535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, OutputChannel, HAL_TIM_CHANNEL_STATE_BUSY);
-1536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_BUSY);
-1537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the complementary One Pulse output channel and the Input Capture channel */
-1539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, OutputChannel, TIM_CCxN_ENABLE);
-1540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE);
-1541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Main Output */
-1543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim);
-1544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return function status */
-1546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
-1547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-1550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Stops the TIM One Pulse signal generation on the complementary
-1551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * output.
-1552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM One Pulse handle
-1553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param OutputChannel TIM Channel to be disabled
-1554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be one of the following values:
-1555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-1556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-1557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
-1558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-1559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop(TIM_HandleTypeDef *htim, uint32_t OutputChannel)
-1560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
-1562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
-1564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, OutputChannel));
-1565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the complementary One Pulse output channel and the Input Capture channel */
-1567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, OutputChannel, TIM_CCxN_DISABLE);
-1568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE);
-1569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Main Output */
-1571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim);
-1572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Peripheral */
-ARM GAS /tmp/cc32U6bv.s page 29
-
-
-1574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
-1575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the TIM channels state */
-1577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, OutputChannel, HAL_TIM_CHANNEL_STATE_READY);
-1578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_READY);
-1579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return function status */
-1581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
-1582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-1585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Starts the TIM One Pulse signal generation in interrupt mode on the
-1586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * complementary channel.
-1587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM One Pulse handle
-1588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param OutputChannel TIM Channel to be enabled
-1589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be one of the following values:
-1590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-1591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-1592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
-1593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-1594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel)
-1595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
-1597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef input_channel_state = TIM_CHANNEL_STATE_GET(htim, input_channel);
-1598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef output_channel_state = TIM_CHANNEL_N_STATE_GET(htim, OutputChannel);
-1599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
-1601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, OutputChannel));
-1602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the TIM channels state */
-1604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if ((output_channel_state != HAL_TIM_CHANNEL_STATE_READY)
-1605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** || (input_channel_state != HAL_TIM_CHANNEL_STATE_READY))
-1606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_ERROR;
-1608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the TIM channels state */
-1611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, OutputChannel, HAL_TIM_CHANNEL_STATE_BUSY);
-1612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_BUSY);
-1613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 1 interrupt */
-1615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC1);
-1616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the TIM Capture/Compare 2 interrupt */
-1618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_CC2);
-1619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the complementary One Pulse output channel and the Input Capture channel */
-1621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, OutputChannel, TIM_CCxN_ENABLE);
-1622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE);
-1623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Main Output */
-1625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_MOE_ENABLE(htim);
-1626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return function status */
-1628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
-1629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-ARM GAS /tmp/cc32U6bv.s page 30
-
-
-1631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-1632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Stops the TIM One Pulse signal generation in interrupt mode on the
-1633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * complementary channel.
-1634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM One Pulse handle
-1635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param OutputChannel TIM Channel to be disabled
-1636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be one of the following values:
-1637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1 selected
-1638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2 selected
-1639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
-1640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-1641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel)
-1642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
-1644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
-1646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, OutputChannel));
-1647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 1 interrupt */
-1649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC1);
-1650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the TIM Capture/Compare 2 interrupt */
-1652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_CC2);
-1653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the complementary One Pulse output channel and the Input Capture channel */
-1655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxNChannelCmd(htim->Instance, OutputChannel, TIM_CCxN_DISABLE);
-1656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE);
-1657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Main Output */
-1659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_MOE_DISABLE(htim);
-1660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable the Peripheral */
-1662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE(htim);
-1663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the TIM channels state */
-1665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, OutputChannel, HAL_TIM_CHANNEL_STATE_READY);
-1666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_READY);
-1667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Return function status */
-1669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
-1670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-1673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @}
-1674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-1675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group5 Extended Peripheral Control functions
-1677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Peripheral Control functions
-1678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** *
-1679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** @verbatim
-1680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ==============================================================================
-1681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ##### Peripheral Control functions #####
-1682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ==============================================================================
-1683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** [..]
-1684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** This section provides functions allowing to:
-1685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Configure the commutation event in case of use of the Hall sensor interface.
-1686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Configure Output channels for OC and PWM mode.
-1687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-ARM GAS /tmp/cc32U6bv.s page 31
-
-
-1688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Configure Complementary channels, break features and dead time.
-1689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Configure Master synchronization.
-1690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Configure timer remapping capabilities.
-1691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** @endverbatim
-1693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @{
-1694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-1695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-1697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Configure the TIM commutation event sequence.
-1698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @note This function is mandatory to use the commutation event in order to
-1699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * update the configuration at each commutation detection on the TRGI input of the Timer,
-1700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * the typical use of this feature is with the use of another Timer(interface Timer)
-1701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * configured in Hall sensor interface, this interface Timer will generate the
-1702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * commutation at its TRGO output (connected to Timer used in this function) each time
-1703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * the TI1 of the Interface Timer detect a commutation at its input TI1.
-1704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM handle
-1705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param InputTrigger the Internal trigger corresponding to the Timer Interfacing with the Hall
-1706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be one of the following values:
-1707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_TS_ITR0: Internal trigger 0 selected
-1708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_TS_ITR1: Internal trigger 1 selected
-1709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_TS_ITR2: Internal trigger 2 selected
-1710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_TS_ITR3: Internal trigger 3 selected
-1711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_TS_NONE: No trigger is needed
-1712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param CommutationSource the Commutation Event source
-1713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be one of the following values:
-1714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_TRGI: Commutation source is the TRGI of the Interface Timer
-1715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_SOFTWARE: Commutation source is set by software using the COMG
-1716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
-1717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-1718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent(TIM_HandleTypeDef *htim, uint32_t InputTrigger,
-1719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t CommutationSource)
-1720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
-1722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_COMMUTATION_EVENT_INSTANCE(htim->Instance));
-1723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_SELECTION(InputTrigger));
-1724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_LOCK(htim);
-1726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
-1728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3))
-1729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Select the Input trigger */
-1731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS;
-1732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
-1733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Select the Capture Compare preload feature */
-1736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_CR2_CCPC;
-1737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Select the Commutation event source */
-1738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->CR2 &= ~TIM_CR2_CCUS;
-1739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
-1740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable Commutation Interrupt */
-1742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_COM);
-1743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable Commutation DMA request */
-ARM GAS /tmp/cc32U6bv.s page 32
-
-
-1745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_COM);
-1746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
-1748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
-1750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-1753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Configure the TIM commutation event sequence with interrupt.
-1754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @note This function is mandatory to use the commutation event in order to
-1755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * update the configuration at each commutation detection on the TRGI input of the Timer,
-1756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * the typical use of this feature is with the use of another Timer(interface Timer)
-1757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * configured in Hall sensor interface, this interface Timer will generate the
-1758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * commutation at its TRGO output (connected to Timer used in this function) each time
-1759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * the TI1 of the Interface Timer detect a commutation at its input TI1.
-1760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM handle
-1761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param InputTrigger the Internal trigger corresponding to the Timer Interfacing with the Hall
-1762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be one of the following values:
-1763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_TS_ITR0: Internal trigger 0 selected
-1764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_TS_ITR1: Internal trigger 1 selected
-1765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_TS_ITR2: Internal trigger 2 selected
-1766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_TS_ITR3: Internal trigger 3 selected
-1767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_TS_NONE: No trigger is needed
-1768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param CommutationSource the Commutation Event source
-1769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be one of the following values:
-1770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_TRGI: Commutation source is the TRGI of the Interface Timer
-1771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_SOFTWARE: Commutation source is set by software using the COMG
-1772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
-1773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-1774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent_IT(TIM_HandleTypeDef *htim, uint32_t InputTrigger,
-1775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t CommutationSource)
-1776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
-1778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_COMMUTATION_EVENT_INSTANCE(htim->Instance));
-1779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_SELECTION(InputTrigger));
-1780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_LOCK(htim);
-1782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
-1784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3))
-1785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Select the Input trigger */
-1787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS;
-1788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
-1789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Select the Capture Compare preload feature */
-1792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_CR2_CCPC;
-1793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Select the Commutation event source */
-1794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->CR2 &= ~TIM_CR2_CCUS;
-1795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
-1796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable Commutation DMA request */
-1798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_DMA(htim, TIM_DMA_COM);
-1799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Commutation Interrupt */
-1801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_IT(htim, TIM_IT_COM);
-ARM GAS /tmp/cc32U6bv.s page 33
-
-
-1802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
-1804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
-1806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-1809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Configure the TIM commutation event sequence with DMA.
-1810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @note This function is mandatory to use the commutation event in order to
-1811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * update the configuration at each commutation detection on the TRGI input of the Timer,
-1812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * the typical use of this feature is with the use of another Timer(interface Timer)
-1813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * configured in Hall sensor interface, this interface Timer will generate the
-1814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * commutation at its TRGO output (connected to Timer used in this function) each time
-1815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * the TI1 of the Interface Timer detect a commutation at its input TI1.
-1816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @note The user should configure the DMA in his own software, in This function only the COMDE b
-1817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM handle
-1818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param InputTrigger the Internal trigger corresponding to the Timer Interfacing with the Hall
-1819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be one of the following values:
-1820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_TS_ITR0: Internal trigger 0 selected
-1821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_TS_ITR1: Internal trigger 1 selected
-1822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_TS_ITR2: Internal trigger 2 selected
-1823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_TS_ITR3: Internal trigger 3 selected
-1824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_TS_NONE: No trigger is needed
-1825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param CommutationSource the Commutation Event source
-1826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be one of the following values:
-1827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_TRGI: Commutation source is the TRGI of the Interface Timer
-1828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_COMMUTATION_SOFTWARE: Commutation source is set by software using the COMG
-1829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
-1830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-1831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent_DMA(TIM_HandleTypeDef *htim, uint32_t InputTrigger,
-1832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t CommutationSource)
-1833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
-1835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_COMMUTATION_EVENT_INSTANCE(htim->Instance));
-1836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_INTERNAL_TRIGGEREVENT_SELECTION(InputTrigger));
-1837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_LOCK(htim);
-1839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if ((InputTrigger == TIM_TS_ITR0) || (InputTrigger == TIM_TS_ITR1) ||
-1841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3))
-1842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Select the Input trigger */
-1844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->SMCR &= ~TIM_SMCR_TS;
-1845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
-1846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Select the Capture Compare preload feature */
-1849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_CR2_CCPC;
-1850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Select the Commutation event source */
-1851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->CR2 &= ~TIM_CR2_CCUS;
-1852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
-1853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Commutation DMA Request */
-1855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the DMA Commutation Callback */
-1856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferCpltCallback = TIMEx_DMACommutationCplt;
-1857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt;
-1858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the DMA error callback */
-ARM GAS /tmp/cc32U6bv.s page 34
-
-
-1859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferErrorCallback = TIM_DMAError;
-1860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Disable Commutation Interrupt */
-1862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_DISABLE_IT(htim, TIM_IT_COM);
-1863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Enable the Commutation DMA Request */
-1865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_TIM_ENABLE_DMA(htim, TIM_DMA_COM);
-1866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
-1868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
-1870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-1873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Configures the TIM in master mode.
-1874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM handle.
-1875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param sMasterConfig pointer to a TIM_MasterConfigTypeDef structure that
-1876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * contains the selected trigger output (TRGO) and the Master/Slave
-1877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * mode.
-1878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
-1879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-1880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_MasterConfigSynchronization(TIM_HandleTypeDef *htim,
-1881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_MasterConfigTypeDef *sMasterConfig)
-1882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpcr2;
-1884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpsmcr;
-1885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
-1887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_MASTER_INSTANCE(htim->Instance));
-1888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_TRGO_SOURCE(sMasterConfig->MasterOutputTrigger));
-1889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_MSM_STATE(sMasterConfig->MasterSlaveMode));
-1890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check input state */
-1892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_LOCK(htim);
-1893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Change the handler state */
-1895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_BUSY;
-1896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Get the TIMx CR2 register value */
-1898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** tmpcr2 = htim->Instance->CR2;
-1899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Get the TIMx SMCR register value */
-1901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** tmpsmcr = htim->Instance->SMCR;
-1902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Reset the MMS Bits */
-1904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** tmpcr2 &= ~TIM_CR2_MMS;
-1905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Select the TRGO source */
-1906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** tmpcr2 |= sMasterConfig->MasterOutputTrigger;
-1907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Update TIMx CR2 */
-1909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->CR2 = tmpcr2;
-1910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
-1912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Reset the MSM Bit */
-1914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** tmpsmcr &= ~TIM_SMCR_MSM;
-1915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set master mode */
-ARM GAS /tmp/cc32U6bv.s page 35
-
-
-1916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** tmpsmcr |= sMasterConfig->MasterSlaveMode;
-1917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Update TIMx SMCR */
-1919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->SMCR = tmpsmcr;
-1920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Change the htim state */
-1923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY;
-1924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
-1926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
-1928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-1931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Configures the Break feature, dead time, Lock level, OSSI/OSSR State
-1932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * and the AOE(automatic output enable).
-1933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM handle
-1934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param sBreakDeadTimeConfig pointer to a TIM_ConfigBreakDeadConfigTypeDef structure that
-1935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * contains the BDTR Register configuration information for the TIM peripheral.
-1936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @note Interrupts can be generated when an active level is detected on the
-1937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * break input, the break 2 input or the system break input. Break
-1938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * interrupt can be enabled by calling the @ref __HAL_TIM_ENABLE_IT macro.
-1939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
-1940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-1941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_ConfigBreakDeadTime(TIM_HandleTypeDef *htim,
-1942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_BreakDeadTimeConfigTypeDef *sBreakDeadTimeConfi
-1943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Keep this variable initialized to 0 as it is used to configure BDTR register */
-1945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpbdtr = 0U;
-1946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
-1948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_INSTANCE(htim->Instance));
-1949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_OSSR_STATE(sBreakDeadTimeConfig->OffStateRunMode));
-1950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_OSSI_STATE(sBreakDeadTimeConfig->OffStateIDLEMode));
-1951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_LOCK_LEVEL(sBreakDeadTimeConfig->LockLevel));
-1952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_DEADTIME(sBreakDeadTimeConfig->DeadTime));
-1953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_STATE(sBreakDeadTimeConfig->BreakState));
-1954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_BREAK_POLARITY(sBreakDeadTimeConfig->BreakPolarity));
-1955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_AUTOMATIC_OUTPUT_STATE(sBreakDeadTimeConfig->AutomaticOutput));
-1956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check input state */
-1958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_LOCK(htim);
-1959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the Lock level, the Break enable Bit and the Polarity, the OSSR State,
-1961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** the OSSI State, the dead time value and the Automatic Output Enable Bit */
-1962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the BDTR bits */
-1964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_DTG, sBreakDeadTimeConfig->DeadTime);
-1965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_LOCK, sBreakDeadTimeConfig->LockLevel);
-1966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSI, sBreakDeadTimeConfig->OffStateIDLEMode);
-1967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSR, sBreakDeadTimeConfig->OffStateRunMode);
-1968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKE, sBreakDeadTimeConfig->BreakState);
-1969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKP, sBreakDeadTimeConfig->BreakPolarity);
-1970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_AOE, sBreakDeadTimeConfig->AutomaticOutput);
-1971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-ARM GAS /tmp/cc32U6bv.s page 36
-
-
-1973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set TIMx_BDTR */
-1974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->BDTR = tmpbdtr;
-1975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __HAL_UNLOCK(htim);
-1977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
-1979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-1982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Configures the TIMx Remapping input capabilities.
-1983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM handle.
-1984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param Remap specifies the TIM remapping source.
-1985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** *
-1986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL status
-1987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-1988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_StatusTypeDef HAL_TIMEx_RemapConfig(TIM_HandleTypeDef *htim, uint32_t Remap)
-1989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-1990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
-1991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** UNUSED(htim);
-1992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** UNUSED(Remap);
-1993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return HAL_OK;
-1995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-1996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-1997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-1998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @}
-1999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-2000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group6 Extended Callbacks functions
-2002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Extended Callbacks functions
-2003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** *
-2004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** @verbatim
-2005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ==============================================================================
-2006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ##### Extended Callbacks functions #####
-2007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ==============================================================================
-2008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** [..]
-2009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** This section provides Extended TIM callback functions:
-2010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Timer Commutation callback
-2011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (+) Timer Break callback
-2012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** @endverbatim
-2014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @{
-2015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-2016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-2018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Hall commutation changed callback in non-blocking mode
-2019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM handle
-2020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval None
-2021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-2022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __weak void HAL_TIMEx_CommutCallback(TIM_HandleTypeDef *htim)
-2023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-2024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
-2025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** UNUSED(htim);
-2026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
-2028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** the HAL_TIMEx_CommutCallback could be implemented in the user file
-2029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-ARM GAS /tmp/cc32U6bv.s page 37
-
-
-2030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-2031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-2032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Hall commutation changed half complete callback in non-blocking mode
-2033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM handle
-2034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval None
-2035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-2036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __weak void HAL_TIMEx_CommutHalfCpltCallback(TIM_HandleTypeDef *htim)
-2037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-2038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
-2039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** UNUSED(htim);
-2040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
-2042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** the HAL_TIMEx_CommutHalfCpltCallback could be implemented in the user file
-2043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-2044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-2045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-2047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Hall Break detection callback in non-blocking mode
-2048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM handle
-2049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval None
-2050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-2051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** __weak void HAL_TIMEx_BreakCallback(TIM_HandleTypeDef *htim)
-2052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-2053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
-2054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** UNUSED(htim);
-2055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
-2057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** the HAL_TIMEx_BreakCallback could be implemented in the user file
-2058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-2059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-2060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-2061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @}
-2062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-2063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /** @defgroup TIMEx_Exported_Functions_Group7 Extended Peripheral State functions
-2065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Extended Peripheral State functions
-2066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** *
-2067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** @verbatim
-2068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ==============================================================================
-2069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ##### Extended Peripheral State functions #####
-2070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** ==============================================================================
-2071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** [..]
-2072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** This subsection permits to get in run-time the status of the peripheral
-2073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** and the data flow.
-2074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** @endverbatim
-2076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @{
-2077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-2078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-2080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Return the TIM Hall Sensor interface handle state.
-2081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM Hall Sensor handle
-2082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval HAL state
-2083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-2084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_StateTypeDef HAL_TIMEx_HallSensor_GetState(TIM_HandleTypeDef *htim)
-2085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-2086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return htim->State;
-ARM GAS /tmp/cc32U6bv.s page 38
-
-
-2087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-2088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-2090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Return actual state of the TIM complementary channel.
-2091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param htim TIM handle
-2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param ChannelN TIM Complementary channel
-2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be one of the following values:
-2094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1
-2095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2
-2096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3
-2097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval TIM Complementary channel state
-2098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-2099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef HAL_TIMEx_GetChannelNState(TIM_HandleTypeDef *htim, uint32_t ChannelN)
-2100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-2101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_state;
-2102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
-2104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** assert_param(IS_TIM_CCXN_INSTANCE(htim->Instance, ChannelN));
-2105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** channel_state = TIM_CHANNEL_N_STATE_GET(htim, ChannelN);
-2107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return channel_state;
-2109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-2110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-2111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @}
-2112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-2113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-2115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @}
-2116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-2117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Private functions ---------------------------------------------------------*/
-2119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /** @defgroup TIMEx_Private_Functions TIMEx Private Functions
-2120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @{
-2121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-2122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-2124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief TIM DMA Commutation callback.
-2125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param hdma pointer to DMA handle.
-2126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval None
-2127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-2128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** void TIMEx_DMACommutationCplt(DMA_HandleTypeDef *hdma)
-2129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-2130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
-2131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Change the htim state */
-2133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY;
-2134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-2136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->CommutationCallback(htim);
-2137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #else
-2138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIMEx_CommutCallback(htim);
-2139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-2140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-2141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-2143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief TIM DMA Commutation half complete callback.
-ARM GAS /tmp/cc32U6bv.s page 39
-
-
-2144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param hdma pointer to DMA handle.
-2145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval None
-2146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-2147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** void TIMEx_DMACommutationHalfCplt(DMA_HandleTypeDef *hdma)
-2148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-2149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
-2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Change the htim state */
-2152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->State = HAL_TIM_STATE_READY;
-2153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-2155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->CommutationHalfCpltCallback(htim);
-2156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #else
-2157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIMEx_CommutHalfCpltCallback(htim);
-2158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-2159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-2160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-2163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief TIM DMA Delay Pulse complete callback (complementary channel).
-2164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param hdma pointer to DMA handle.
-2165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval None
-2166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-2167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** static void TIM_DMADelayPulseNCplt(DMA_HandleTypeDef *hdma)
-2168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-2169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
-2170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (hdma == htim->hdma[TIM_DMA_ID_CC1])
-2172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-2173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1;
-2174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (hdma->Init.Mode == DMA_NORMAL)
-2176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-2177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
-2178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-2179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-2180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2])
-2181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-2182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2;
-2183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (hdma->Init.Mode == DMA_NORMAL)
-2185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-2186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
-2187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-2188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-2189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC3])
-2190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-2191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3;
-2192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (hdma->Init.Mode == DMA_NORMAL)
-2194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY);
-2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-2197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-2198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC4])
-2199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-2200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4;
-ARM GAS /tmp/cc32U6bv.s page 40
-
-
-2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (hdma->Init.Mode == DMA_NORMAL)
-2203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-2204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_4, HAL_TIM_CHANNEL_STATE_READY);
-2205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-2207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else
-2208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* nothing to do */
-2210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-2211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-2213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->PWM_PulseFinishedCallback(htim);
-2214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #else
-2215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_PWM_PulseFinishedCallback(htim);
-2216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-2217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED;
-2219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-2220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-2222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief TIM DMA error callback (complementary channel)
-2223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param hdma pointer to DMA handle.
-2224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval None
-2225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-2226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** static void TIM_DMAErrorCCxN(DMA_HandleTypeDef *hdma)
-2227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-2228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
-2229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (hdma == htim->hdma[TIM_DMA_ID_CC1])
-2231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-2232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1;
-2233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
-2234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-2235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC2])
-2236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2;
-2238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
-2239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else if (hdma == htim->hdma[TIM_DMA_ID_CC3])
-2241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-2242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3;
-2243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY);
-2244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-2245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** else
-2246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-2247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* nothing to do */
-2248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-2249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
-2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->ErrorCallback(htim);
-2252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #else
-2253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ErrorCallback(htim);
-2254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
-2255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED;
-2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-ARM GAS /tmp/cc32U6bv.s page 41
-
-
-2258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
-2260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @brief Enables or disables the TIM Capture Compare Channel xN.
-2261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param TIMx to select the TIM peripheral
-2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param Channel specifies the TIM Channel
-2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be one of the following values:
-2264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_1: TIM Channel 1
-2265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_2: TIM Channel 2
-2266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @arg TIM_CHANNEL_3: TIM Channel 3
-2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @param ChannelNState specifies the TIM Channel CCxNE bit new state.
-2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * This parameter can be: TIM_CCxN_ENABLE or TIM_CCxN_Disable.
-2269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** * @retval None
-2270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** */
-2271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** static void TIM_CCxNChannelCmd(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ChannelNState)
-2272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 25 .loc 1 2272 0
- 26 .cfi_startproc
- 27 @ args = 0, pretend = 0, frame = 0
- 28 @ frame_needed = 0, uses_anonymous_args = 0
- 29 @ link register save eliminated.
- 30 .LVL0:
- 31 0000 10B4 push {r4}
- 32 .LCFI0:
- 33 .cfi_def_cfa_offset 4
- 34 .cfi_offset 4, -4
-2273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmp;
-2274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** tmp = TIM_CCER_CC1NE << (Channel & 0x1FU); /* 0x1FU = 31 bits max shift */
- 35 .loc 1 2275 0
- 36 0002 01F01F01 and r1, r1, #31
- 37 .LVL1:
- 38 0006 0423 movs r3, #4
- 39 0008 03FA01F4 lsl r4, r3, r1
- 40 .LVL2:
-2276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Reset the CCxNE Bit */
-2278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIMx->CCER &= ~tmp;
- 41 .loc 1 2278 0
- 42 000c 036A ldr r3, [r0, #32]
- 43 000e 23EA0403 bic r3, r3, r4
- 44 0012 0362 str r3, [r0, #32]
-2279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-2280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set or reset the CCxNE Bit */
-2281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIMx->CCER |= (uint32_t)(ChannelNState << (Channel & 0x1FU)); /* 0x1FU = 31 bits max shift */
- 45 .loc 1 2281 0
- 46 0014 036A ldr r3, [r0, #32]
- 47 0016 8A40 lsls r2, r2, r1
- 48 .LVL3:
- 49 0018 1343 orrs r3, r3, r2
- 50 001a 0362 str r3, [r0, #32]
-2282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 51 .loc 1 2282 0
- 52 001c 10BC pop {r4}
- 53 .LCFI1:
- 54 .cfi_restore 4
- 55 .cfi_def_cfa_offset 0
- 56 .LVL4:
-ARM GAS /tmp/cc32U6bv.s page 42
-
-
- 57 001e 7047 bx lr
- 58 .cfi_endproc
- 59 .LFE106:
- 61 .section .text.TIM_DMAErrorCCxN,"ax",%progbits
- 62 .align 1
- 63 .syntax unified
- 64 .thumb
- 65 .thumb_func
- 66 .fpu softvfp
- 68 TIM_DMAErrorCCxN:
- 69 .LFB105:
-2227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 70 .loc 1 2227 0
- 71 .cfi_startproc
- 72 @ args = 0, pretend = 0, frame = 0
- 73 @ frame_needed = 0, uses_anonymous_args = 0
- 74 .LVL5:
- 75 0000 10B5 push {r4, lr}
- 76 .LCFI2:
- 77 .cfi_def_cfa_offset 8
- 78 .cfi_offset 4, -8
- 79 .cfi_offset 14, -4
-2228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 80 .loc 1 2228 0
- 81 0002 446A ldr r4, [r0, #36]
- 82 .LVL6:
-2230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 83 .loc 1 2230 0
- 84 0004 636A ldr r3, [r4, #36]
- 85 0006 9842 cmp r0, r3
- 86 0008 0BD0 beq .L8
-2235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 87 .loc 1 2235 0
- 88 000a A36A ldr r3, [r4, #40]
- 89 000c 9842 cmp r0, r3
- 90 000e 0DD0 beq .L9
-2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 91 .loc 1 2240 0
- 92 0010 E36A ldr r3, [r4, #44]
- 93 0012 9842 cmp r0, r3
- 94 0014 10D0 beq .L10
- 95 .L5:
-2253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 96 .loc 1 2253 0
- 97 0016 2046 mov r0, r4
- 98 .LVL7:
- 99 0018 FFF7FEFF bl HAL_TIM_ErrorCallback
- 100 .LVL8:
-2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 101 .loc 1 2256 0
- 102 001c 0023 movs r3, #0
- 103 001e 2377 strb r3, [r4, #28]
- 104 0020 10BD pop {r4, pc}
- 105 .LVL9:
- 106 .L8:
-2232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
- 107 .loc 1 2232 0
-ARM GAS /tmp/cc32U6bv.s page 43
-
-
- 108 0022 0123 movs r3, #1
- 109 0024 2377 strb r3, [r4, #28]
-2233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 110 .loc 1 2233 0
- 111 0026 84F84230 strb r3, [r4, #66]
- 112 002a F4E7 b .L5
- 113 .L9:
-2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 114 .loc 1 2237 0
- 115 002c 0223 movs r3, #2
- 116 002e 2377 strb r3, [r4, #28]
-2238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 117 .loc 1 2238 0
- 118 0030 0123 movs r3, #1
- 119 0032 84F84330 strb r3, [r4, #67]
- 120 0036 EEE7 b .L5
- 121 .L10:
-2242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_3, HAL_TIM_CHANNEL_STATE_READY);
- 122 .loc 1 2242 0
- 123 0038 0423 movs r3, #4
- 124 003a 2377 strb r3, [r4, #28]
-2243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 125 .loc 1 2243 0
- 126 003c 0123 movs r3, #1
- 127 003e 84F84430 strb r3, [r4, #68]
- 128 0042 E8E7 b .L5
- 129 .cfi_endproc
- 130 .LFE105:
- 132 .section .text.TIM_DMADelayPulseNCplt,"ax",%progbits
- 133 .align 1
- 134 .syntax unified
- 135 .thumb
- 136 .thumb_func
- 137 .fpu softvfp
- 139 TIM_DMADelayPulseNCplt:
- 140 .LFB104:
-2168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 141 .loc 1 2168 0
- 142 .cfi_startproc
- 143 @ args = 0, pretend = 0, frame = 0
- 144 @ frame_needed = 0, uses_anonymous_args = 0
- 145 .LVL10:
- 146 0000 10B5 push {r4, lr}
- 147 .LCFI3:
- 148 .cfi_def_cfa_offset 8
- 149 .cfi_offset 4, -8
- 150 .cfi_offset 14, -4
-2169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 151 .loc 1 2169 0
- 152 0002 446A ldr r4, [r0, #36]
- 153 .LVL11:
-2171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 154 .loc 1 2171 0
- 155 0004 636A ldr r3, [r4, #36]
- 156 0006 9842 cmp r0, r3
- 157 0008 0ED0 beq .L17
-2180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
-ARM GAS /tmp/cc32U6bv.s page 44
-
-
- 158 .loc 1 2180 0
- 159 000a A36A ldr r3, [r4, #40]
- 160 000c 9842 cmp r0, r3
- 161 000e 14D0 beq .L18
-2189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 162 .loc 1 2189 0
- 163 0010 E36A ldr r3, [r4, #44]
- 164 0012 9842 cmp r0, r3
- 165 0014 1AD0 beq .L19
-2198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 166 .loc 1 2198 0
- 167 0016 236B ldr r3, [r4, #48]
- 168 0018 9842 cmp r0, r3
- 169 001a 20D0 beq .L20
- 170 .L13:
-2215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 171 .loc 1 2215 0
- 172 001c 2046 mov r0, r4
- 173 .LVL12:
- 174 001e FFF7FEFF bl HAL_TIM_PWM_PulseFinishedCallback
- 175 .LVL13:
-2218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 176 .loc 1 2218 0
- 177 0022 0023 movs r3, #0
- 178 0024 2377 strb r3, [r4, #28]
- 179 0026 10BD pop {r4, pc}
- 180 .LVL14:
- 181 .L17:
-2173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 182 .loc 1 2173 0
- 183 0028 0123 movs r3, #1
- 184 002a 2377 strb r3, [r4, #28]
-2175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 185 .loc 1 2175 0
- 186 002c 8369 ldr r3, [r0, #24]
- 187 002e 002B cmp r3, #0
- 188 0030 F4D1 bne .L13
-2177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 189 .loc 1 2177 0
- 190 0032 0123 movs r3, #1
- 191 0034 84F84230 strb r3, [r4, #66]
- 192 0038 F0E7 b .L13
- 193 .L18:
-2182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 194 .loc 1 2182 0
- 195 003a 0223 movs r3, #2
- 196 003c 2377 strb r3, [r4, #28]
-2184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 197 .loc 1 2184 0
- 198 003e 8369 ldr r3, [r0, #24]
- 199 0040 002B cmp r3, #0
- 200 0042 EBD1 bne .L13
-2186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 201 .loc 1 2186 0
- 202 0044 0123 movs r3, #1
- 203 0046 84F84330 strb r3, [r4, #67]
- 204 004a E7E7 b .L13
-ARM GAS /tmp/cc32U6bv.s page 45
-
-
- 205 .L19:
-2191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 206 .loc 1 2191 0
- 207 004c 0423 movs r3, #4
- 208 004e 2377 strb r3, [r4, #28]
-2193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 209 .loc 1 2193 0
- 210 0050 8369 ldr r3, [r0, #24]
- 211 0052 002B cmp r3, #0
- 212 0054 E2D1 bne .L13
-2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 213 .loc 1 2195 0
- 214 0056 0123 movs r3, #1
- 215 0058 84F84430 strb r3, [r4, #68]
- 216 005c DEE7 b .L13
- 217 .L20:
-2200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 218 .loc 1 2200 0
- 219 005e 0823 movs r3, #8
- 220 0060 2377 strb r3, [r4, #28]
-2202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 221 .loc 1 2202 0
- 222 0062 8369 ldr r3, [r0, #24]
- 223 0064 002B cmp r3, #0
- 224 0066 D9D1 bne .L13
-2204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 225 .loc 1 2204 0
- 226 0068 0123 movs r3, #1
- 227 006a 84F84530 strb r3, [r4, #69]
- 228 006e D5E7 b .L13
- 229 .cfi_endproc
- 230 .LFE104:
- 232 .section .text.HAL_TIMEx_HallSensor_MspInit,"ax",%progbits
- 233 .align 1
- 234 .weak HAL_TIMEx_HallSensor_MspInit
- 235 .syntax unified
- 236 .thumb
- 237 .thumb_func
- 238 .fpu softvfp
- 240 HAL_TIMEx_HallSensor_MspInit:
- 241 .LFB67:
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
- 242 .loc 1 282 0
- 243 .cfi_startproc
- 244 @ args = 0, pretend = 0, frame = 0
- 245 @ frame_needed = 0, uses_anonymous_args = 0
- 246 @ link register save eliminated.
- 247 .LVL15:
- 248 0000 7047 bx lr
- 249 .cfi_endproc
- 250 .LFE67:
- 252 .section .text.HAL_TIMEx_HallSensor_Init,"ax",%progbits
- 253 .align 1
- 254 .global HAL_TIMEx_HallSensor_Init
- 255 .syntax unified
- 256 .thumb
- 257 .thumb_func
-ARM GAS /tmp/cc32U6bv.s page 46
-
-
- 258 .fpu softvfp
- 260 HAL_TIMEx_HallSensor_Init:
- 261 .LFB65:
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_OC_InitTypeDef OC_Config;
- 262 .loc 1 136 0
- 263 .cfi_startproc
- 264 @ args = 0, pretend = 0, frame = 32
- 265 @ frame_needed = 0, uses_anonymous_args = 0
- 266 .LVL16:
- 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 267 .loc 1 140 0
- 268 0000 0028 cmp r0, #0
- 269 0002 64D0 beq .L25
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_OC_InitTypeDef OC_Config;
- 270 .loc 1 136 0
- 271 0004 70B5 push {r4, r5, r6, lr}
- 272 .LCFI4:
- 273 .cfi_def_cfa_offset 16
- 274 .cfi_offset 4, -16
- 275 .cfi_offset 5, -12
- 276 .cfi_offset 6, -8
- 277 .cfi_offset 14, -4
- 278 0006 88B0 sub sp, sp, #32
- 279 .LCFI5:
- 280 .cfi_def_cfa_offset 48
- 281 0008 0446 mov r4, r0
- 282 000a 0E46 mov r6, r1
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 283 .loc 1 154 0
- 284 000c 90F83D30 ldrb r3, [r0, #61] @ zero_extendqisi2
- 285 0010 002B cmp r3, #0
- 286 0012 57D0 beq .L30
- 287 .LVL17:
- 288 .L24:
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 289 .loc 1 176 0
- 290 0014 0223 movs r3, #2
- 291 0016 84F83D30 strb r3, [r4, #61]
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 292 .loc 1 179 0
- 293 001a 211D adds r1, r4, #4
- 294 001c 2068 ldr r0, [r4]
- 295 001e FFF7FEFF bl TIM_Base_SetConfig
- 296 .LVL18:
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 297 .loc 1 182 0
- 298 0022 B368 ldr r3, [r6, #8]
- 299 0024 0322 movs r2, #3
- 300 0026 3168 ldr r1, [r6]
- 301 0028 2068 ldr r0, [r4]
- 302 002a FFF7FEFF bl TIM_TI1_SetConfig
- 303 .LVL19:
- 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the IC1PSC value */
- 304 .loc 1 185 0
- 305 002e 2268 ldr r2, [r4]
- 306 0030 9369 ldr r3, [r2, #24]
- 307 0032 23F00C03 bic r3, r3, #12
-ARM GAS /tmp/cc32U6bv.s page 47
-
-
- 308 0036 9361 str r3, [r2, #24]
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 309 .loc 1 187 0
- 310 0038 2268 ldr r2, [r4]
- 311 003a 9369 ldr r3, [r2, #24]
- 312 003c 7168 ldr r1, [r6, #4]
- 313 003e 0B43 orrs r3, r3, r1
- 314 0040 9361 str r3, [r2, #24]
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 315 .loc 1 190 0
- 316 0042 2268 ldr r2, [r4]
- 317 0044 5368 ldr r3, [r2, #4]
- 318 0046 43F08003 orr r3, r3, #128
- 319 004a 5360 str r3, [r2, #4]
- 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_TS_TI1F_ED;
- 320 .loc 1 193 0
- 321 004c 2268 ldr r2, [r4]
- 322 004e 9368 ldr r3, [r2, #8]
- 323 0050 23F07003 bic r3, r3, #112
- 324 0054 9360 str r3, [r2, #8]
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 325 .loc 1 194 0
- 326 0056 2268 ldr r2, [r4]
- 327 0058 9368 ldr r3, [r2, #8]
- 328 005a 43F04003 orr r3, r3, #64
- 329 005e 9360 str r3, [r2, #8]
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->SMCR |= TIM_SLAVEMODE_RESET;
- 330 .loc 1 197 0
- 331 0060 2268 ldr r2, [r4]
- 332 0062 9368 ldr r3, [r2, #8]
- 333 0064 23F00703 bic r3, r3, #7
- 334 0068 9360 str r3, [r2, #8]
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 335 .loc 1 198 0
- 336 006a 2268 ldr r2, [r4]
- 337 006c 9368 ldr r3, [r2, #8]
- 338 006e 43F00403 orr r3, r3, #4
- 339 0072 9360 str r3, [r2, #8]
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** OC_Config.OCIdleState = TIM_OCIDLESTATE_RESET;
- 340 .loc 1 201 0
- 341 0074 0025 movs r5, #0
- 342 0076 0595 str r5, [sp, #20]
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** OC_Config.OCMode = TIM_OCMODE_PWM2;
- 343 .loc 1 202 0
- 344 0078 0695 str r5, [sp, #24]
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** OC_Config.OCNIdleState = TIM_OCNIDLESTATE_RESET;
- 345 .loc 1 203 0
- 346 007a 7023 movs r3, #112
- 347 007c 0193 str r3, [sp, #4]
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** OC_Config.OCNPolarity = TIM_OCNPOLARITY_HIGH;
- 348 .loc 1 204 0
- 349 007e 0795 str r5, [sp, #28]
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** OC_Config.OCPolarity = TIM_OCPOLARITY_HIGH;
- 350 .loc 1 205 0
- 351 0080 0495 str r5, [sp, #16]
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** OC_Config.Pulse = sConfig->Commutation_Delay;
- 352 .loc 1 206 0
-ARM GAS /tmp/cc32U6bv.s page 48
-
-
- 353 0082 0395 str r5, [sp, #12]
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 354 .loc 1 207 0
- 355 0084 F368 ldr r3, [r6, #12]
- 356 0086 0293 str r3, [sp, #8]
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 357 .loc 1 209 0
- 358 0088 01A9 add r1, sp, #4
- 359 008a 2068 ldr r0, [r4]
- 360 008c FFF7FEFF bl TIM_OC2_SetConfig
- 361 .LVL20:
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->CR2 |= TIM_TRGO_OC2REF;
- 362 .loc 1 213 0
- 363 0090 2268 ldr r2, [r4]
- 364 0092 5368 ldr r3, [r2, #4]
- 365 0094 23F07003 bic r3, r3, #112
- 366 0098 5360 str r3, [r2, #4]
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 367 .loc 1 214 0
- 368 009a 2268 ldr r2, [r4]
- 369 009c 5368 ldr r3, [r2, #4]
- 370 009e 43F05003 orr r3, r3, #80
- 371 00a2 5360 str r3, [r2, #4]
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 372 .loc 1 217 0
- 373 00a4 0123 movs r3, #1
- 374 00a6 84F84630 strb r3, [r4, #70]
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 375 .loc 1 220 0
- 376 00aa 84F83E30 strb r3, [r4, #62]
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
- 377 .loc 1 221 0
- 378 00ae 84F83F30 strb r3, [r4, #63]
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 379 .loc 1 222 0
- 380 00b2 84F84230 strb r3, [r4, #66]
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 381 .loc 1 223 0
- 382 00b6 84F84330 strb r3, [r4, #67]
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 383 .loc 1 226 0
- 384 00ba 84F83D30 strb r3, [r4, #61]
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 385 .loc 1 228 0
- 386 00be 2846 mov r0, r5
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 387 .loc 1 229 0
- 388 00c0 08B0 add sp, sp, #32
- 389 .LCFI6:
- 390 .cfi_remember_state
- 391 .cfi_def_cfa_offset 16
- 392 @ sp needed
- 393 00c2 70BD pop {r4, r5, r6, pc}
- 394 .LVL21:
- 395 .L30:
- 396 .LCFI7:
- 397 .cfi_restore_state
-ARM GAS /tmp/cc32U6bv.s page 49
-
-
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 398 .loc 1 157 0
- 399 00c4 80F83C30 strb r3, [r0, #60]
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 400 .loc 1 171 0
- 401 00c8 FFF7FEFF bl HAL_TIMEx_HallSensor_MspInit
- 402 .LVL22:
- 403 00cc A2E7 b .L24
- 404 .LVL23:
- 405 .L25:
- 406 .LCFI8:
- 407 .cfi_def_cfa_offset 0
- 408 .cfi_restore 4
- 409 .cfi_restore 5
- 410 .cfi_restore 6
- 411 .cfi_restore 14
- 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 412 .loc 1 142 0
- 413 00ce 0120 movs r0, #1
- 414 .LVL24:
- 415 00d0 7047 bx lr
- 416 .cfi_endproc
- 417 .LFE65:
- 419 .section .text.HAL_TIMEx_HallSensor_MspDeInit,"ax",%progbits
- 420 .align 1
- 421 .weak HAL_TIMEx_HallSensor_MspDeInit
- 422 .syntax unified
- 423 .thumb
- 424 .thumb_func
- 425 .fpu softvfp
- 427 HAL_TIMEx_HallSensor_MspDeInit:
- 428 .LFB68:
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
- 429 .loc 1 297 0
- 430 .cfi_startproc
- 431 @ args = 0, pretend = 0, frame = 0
- 432 @ frame_needed = 0, uses_anonymous_args = 0
- 433 @ link register save eliminated.
- 434 .LVL25:
- 435 0000 7047 bx lr
- 436 .cfi_endproc
- 437 .LFE68:
- 439 .section .text.HAL_TIMEx_HallSensor_DeInit,"ax",%progbits
- 440 .align 1
- 441 .global HAL_TIMEx_HallSensor_DeInit
- 442 .syntax unified
- 443 .thumb
- 444 .thumb_func
- 445 .fpu softvfp
- 447 HAL_TIMEx_HallSensor_DeInit:
- 448 .LFB66:
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 449 .loc 1 237 0
- 450 .cfi_startproc
- 451 @ args = 0, pretend = 0, frame = 0
- 452 @ frame_needed = 0, uses_anonymous_args = 0
- 453 .LVL26:
-ARM GAS /tmp/cc32U6bv.s page 50
-
-
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 454 .loc 1 237 0
- 455 0000 10B5 push {r4, lr}
- 456 .LCFI9:
- 457 .cfi_def_cfa_offset 8
- 458 .cfi_offset 4, -8
- 459 .cfi_offset 14, -4
- 460 0002 0446 mov r4, r0
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 461 .loc 1 241 0
- 462 0004 0223 movs r3, #2
- 463 0006 80F83D30 strb r3, [r0, #61]
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 464 .loc 1 244 0
- 465 000a 0368 ldr r3, [r0]
- 466 000c 196A ldr r1, [r3, #32]
- 467 000e 41F21112 movw r2, #4369
- 468 0012 1142 tst r1, r2
- 469 0014 08D1 bne .L33
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 470 .loc 1 244 0 is_stmt 0 discriminator 1
- 471 0016 196A ldr r1, [r3, #32]
- 472 0018 40F24442 movw r2, #1092
- 473 001c 1142 tst r1, r2
- 474 001e 03D1 bne .L33
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 475 .loc 1 244 0 discriminator 2
- 476 0020 1A68 ldr r2, [r3]
- 477 0022 22F00102 bic r2, r2, #1
- 478 0026 1A60 str r2, [r3]
- 479 .L33:
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 480 .loc 1 255 0 is_stmt 1
- 481 0028 2046 mov r0, r4
- 482 .LVL27:
- 483 002a FFF7FEFF bl HAL_TIMEx_HallSensor_MspDeInit
- 484 .LVL28:
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 485 .loc 1 259 0
- 486 002e 0020 movs r0, #0
- 487 0030 84F84600 strb r0, [r4, #70]
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET);
- 488 .loc 1 262 0
- 489 0034 84F83E00 strb r0, [r4, #62]
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_RESET);
- 490 .loc 1 263 0
- 491 0038 84F83F00 strb r0, [r4, #63]
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_RESET);
- 492 .loc 1 264 0
- 493 003c 84F84200 strb r0, [r4, #66]
- 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 494 .loc 1 265 0
- 495 0040 84F84300 strb r0, [r4, #67]
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 496 .loc 1 268 0
- 497 0044 84F83D00 strb r0, [r4, #61]
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-ARM GAS /tmp/cc32U6bv.s page 51
-
-
- 498 .loc 1 271 0
- 499 0048 84F83C00 strb r0, [r4, #60]
- 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 500 .loc 1 274 0
- 501 004c 10BD pop {r4, pc}
- 502 .cfi_endproc
- 503 .LFE66:
- 505 .section .text.HAL_TIMEx_HallSensor_Start,"ax",%progbits
- 506 .align 1
- 507 .global HAL_TIMEx_HallSensor_Start
- 508 .syntax unified
- 509 .thumb
- 510 .thumb_func
- 511 .fpu softvfp
- 513 HAL_TIMEx_HallSensor_Start:
- 514 .LFB69:
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpsmcr;
- 515 .loc 1 312 0
- 516 .cfi_startproc
- 517 @ args = 0, pretend = 0, frame = 0
- 518 @ frame_needed = 0, uses_anonymous_args = 0
- 519 .LVL29:
- 520 0000 10B5 push {r4, lr}
- 521 .LCFI10:
- 522 .cfi_def_cfa_offset 8
- 523 .cfi_offset 4, -8
- 524 .cfi_offset 14, -4
- 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
- 525 .loc 1 314 0
- 526 0002 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2
- 527 0006 DBB2 uxtb r3, r3
- 528 .LVL30:
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
- 529 .loc 1 315 0
- 530 0008 90F83F20 ldrb r2, [r0, #63] @ zero_extendqisi2
- 531 .LVL31:
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
- 532 .loc 1 316 0
- 533 000c 90F84210 ldrb r1, [r0, #66] @ zero_extendqisi2
- 534 .LVL32:
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 535 .loc 1 317 0
- 536 0010 90F84340 ldrb r4, [r0, #67] @ zero_extendqisi2
- 537 .LVL33:
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
- 538 .loc 1 323 0
- 539 0014 012B cmp r3, #1
- 540 0016 01D0 beq .L45
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 541 .loc 1 328 0
- 542 0018 0120 movs r0, #1
- 543 .LVL34:
- 544 001a 10BD pop {r4, pc}
- 545 .LVL35:
- 546 .L45:
- 547 001c D2B2 uxtb r2, r2
- 548 001e C9B2 uxtb r1, r1
-ARM GAS /tmp/cc32U6bv.s page 52
-
-
- 549 0020 E4B2 uxtb r4, r4
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
- 550 .loc 1 324 0
- 551 0022 012A cmp r2, #1
- 552 0024 01D0 beq .L46
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 553 .loc 1 328 0
- 554 0026 0120 movs r0, #1
- 555 .LVL36:
- 556 0028 10BD pop {r4, pc}
- 557 .LVL37:
- 558 .L46:
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
- 559 .loc 1 325 0
- 560 002a 0129 cmp r1, #1
- 561 002c 01D0 beq .L47
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 562 .loc 1 328 0
- 563 002e 0120 movs r0, #1
- 564 .LVL38:
- 565 0030 10BD pop {r4, pc}
- 566 .LVL39:
- 567 .L47:
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 568 .loc 1 326 0
- 569 0032 012C cmp r4, #1
- 570 0034 01D0 beq .L48
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 571 .loc 1 328 0
- 572 0036 0120 movs r0, #1
- 573 .LVL40:
- 574 0038 10BD pop {r4, pc}
- 575 .LVL41:
- 576 .L48:
- 577 003a 0446 mov r4, r0
- 578 .LVL42:
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
- 579 .loc 1 332 0
- 580 003c 0223 movs r3, #2
- 581 .LVL43:
- 582 003e 80F83E30 strb r3, [r0, #62]
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
- 583 .loc 1 333 0
- 584 0042 80F83F30 strb r3, [r0, #63]
- 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
- 585 .loc 1 334 0
- 586 0046 80F84230 strb r3, [r0, #66]
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 587 .loc 1 335 0
- 588 004a 80F84330 strb r3, [r0, #67]
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 589 .loc 1 339 0
- 590 004e 0021 movs r1, #0
- 591 .LVL44:
- 592 0050 0068 ldr r0, [r0]
- 593 .LVL45:
- 594 0052 FFF7FEFF bl TIM_CCxChannelCmd
-ARM GAS /tmp/cc32U6bv.s page 53
-
-
- 595 .LVL46:
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 596 .loc 1 342 0
- 597 0056 2368 ldr r3, [r4]
- 598 0058 144A ldr r2, .L49
- 599 005a 9342 cmp r3, r2
- 600 005c 18D0 beq .L37
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 601 .loc 1 342 0 is_stmt 0 discriminator 1
- 602 005e 02F50062 add r2, r2, #2048
- 603 0062 9342 cmp r3, r2
- 604 0064 14D0 beq .L37
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 605 .loc 1 342 0 discriminator 2
- 606 0066 B3F1804F cmp r3, #1073741824
- 607 006a 11D0 beq .L37
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 608 .loc 1 342 0 discriminator 3
- 609 006c A2F59832 sub r2, r2, #77824
- 610 0070 9342 cmp r3, r2
- 611 0072 0DD0 beq .L37
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 612 .loc 1 342 0 discriminator 4
- 613 0074 02F58062 add r2, r2, #1024
- 614 0078 9342 cmp r3, r2
- 615 007a 09D0 beq .L37
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 616 .loc 1 342 0 discriminator 5
- 617 007c 02F58062 add r2, r2, #1024
- 618 0080 9342 cmp r3, r2
- 619 0082 05D0 beq .L37
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 620 .loc 1 352 0 is_stmt 1
- 621 0084 1A68 ldr r2, [r3]
- 622 0086 42F00102 orr r2, r2, #1
- 623 008a 1A60 str r2, [r3]
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 624 .loc 1 356 0
- 625 008c 0020 movs r0, #0
- 626 008e 10BD pop {r4, pc}
- 627 .LVL47:
- 628 .L37:
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 629 .loc 1 344 0
- 630 0090 9A68 ldr r2, [r3, #8]
- 631 0092 02F00702 and r2, r2, #7
- 632 .LVL48:
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 633 .loc 1 345 0
- 634 0096 062A cmp r2, #6
- 635 0098 05D0 beq .L43
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 636 .loc 1 347 0
- 637 009a 1A68 ldr r2, [r3]
- 638 .LVL49:
- 639 009c 42F00102 orr r2, r2, #1
- 640 00a0 1A60 str r2, [r3]
-ARM GAS /tmp/cc32U6bv.s page 54
-
-
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 641 .loc 1 356 0
- 642 00a2 0020 movs r0, #0
- 643 00a4 10BD pop {r4, pc}
- 644 .LVL50:
- 645 .L43:
- 646 00a6 0020 movs r0, #0
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 647 .loc 1 357 0
- 648 00a8 10BD pop {r4, pc}
- 649 .LVL51:
- 650 .L50:
- 651 00aa 00BF .align 2
- 652 .L49:
- 653 00ac 002C0140 .word 1073818624
- 654 .cfi_endproc
- 655 .LFE69:
- 657 .section .text.HAL_TIMEx_HallSensor_Stop,"ax",%progbits
- 658 .align 1
- 659 .global HAL_TIMEx_HallSensor_Stop
- 660 .syntax unified
- 661 .thumb
- 662 .thumb_func
- 663 .fpu softvfp
- 665 HAL_TIMEx_HallSensor_Stop:
- 666 .LFB70:
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 667 .loc 1 365 0
- 668 .cfi_startproc
- 669 @ args = 0, pretend = 0, frame = 0
- 670 @ frame_needed = 0, uses_anonymous_args = 0
- 671 .LVL52:
- 672 0000 10B5 push {r4, lr}
- 673 .LCFI11:
- 674 .cfi_def_cfa_offset 8
- 675 .cfi_offset 4, -8
- 676 .cfi_offset 14, -4
- 677 0002 0446 mov r4, r0
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 678 .loc 1 371 0
- 679 0004 0022 movs r2, #0
- 680 0006 1146 mov r1, r2
- 681 0008 0068 ldr r0, [r0]
- 682 .LVL53:
- 683 000a FFF7FEFF bl TIM_CCxChannelCmd
- 684 .LVL54:
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 685 .loc 1 374 0
- 686 000e 2368 ldr r3, [r4]
- 687 0010 196A ldr r1, [r3, #32]
- 688 0012 41F21112 movw r2, #4369
- 689 0016 1142 tst r1, r2
- 690 0018 08D1 bne .L52
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 691 .loc 1 374 0 is_stmt 0 discriminator 1
- 692 001a 196A ldr r1, [r3, #32]
- 693 001c 40F24442 movw r2, #1092
-ARM GAS /tmp/cc32U6bv.s page 55
-
-
- 694 0020 1142 tst r1, r2
- 695 0022 03D1 bne .L52
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 696 .loc 1 374 0 discriminator 2
- 697 0024 1A68 ldr r2, [r3]
- 698 0026 22F00102 bic r2, r2, #1
- 699 002a 1A60 str r2, [r3]
- 700 .L52:
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 701 .loc 1 377 0 is_stmt 1
- 702 002c 0123 movs r3, #1
- 703 002e 84F83E30 strb r3, [r4, #62]
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
- 704 .loc 1 378 0
- 705 0032 84F83F30 strb r3, [r4, #63]
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 706 .loc 1 379 0
- 707 0036 84F84230 strb r3, [r4, #66]
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 708 .loc 1 380 0
- 709 003a 84F84330 strb r3, [r4, #67]
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 710 .loc 1 384 0
- 711 003e 0020 movs r0, #0
- 712 0040 10BD pop {r4, pc}
- 713 .cfi_endproc
- 714 .LFE70:
- 716 .section .text.HAL_TIMEx_HallSensor_Start_IT,"ax",%progbits
- 717 .align 1
- 718 .global HAL_TIMEx_HallSensor_Start_IT
- 719 .syntax unified
- 720 .thumb
- 721 .thumb_func
- 722 .fpu softvfp
- 724 HAL_TIMEx_HallSensor_Start_IT:
- 725 .LFB71:
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpsmcr;
- 726 .loc 1 392 0
- 727 .cfi_startproc
- 728 @ args = 0, pretend = 0, frame = 0
- 729 @ frame_needed = 0, uses_anonymous_args = 0
- 730 .LVL55:
- 731 0000 10B5 push {r4, lr}
- 732 .LCFI12:
- 733 .cfi_def_cfa_offset 8
- 734 .cfi_offset 4, -8
- 735 .cfi_offset 14, -4
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_2_state = TIM_CHANNEL_STATE_GET(htim, TIM_CHANNEL_2);
- 736 .loc 1 394 0
- 737 0002 90F83E30 ldrb r3, [r0, #62] @ zero_extendqisi2
- 738 0006 DBB2 uxtb r3, r3
- 739 .LVL56:
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
- 740 .loc 1 395 0
- 741 0008 90F83F20 ldrb r2, [r0, #63] @ zero_extendqisi2
- 742 .LVL57:
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_2_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
-ARM GAS /tmp/cc32U6bv.s page 56
-
-
- 743 .loc 1 396 0
- 744 000c 90F84210 ldrb r1, [r0, #66] @ zero_extendqisi2
- 745 .LVL58:
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 746 .loc 1 397 0
- 747 0010 90F84340 ldrb r4, [r0, #67] @ zero_extendqisi2
- 748 .LVL59:
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** || (channel_2_state != HAL_TIM_CHANNEL_STATE_READY)
- 749 .loc 1 403 0
- 750 0014 012B cmp r3, #1
- 751 0016 01D0 beq .L64
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 752 .loc 1 408 0
- 753 0018 0120 movs r0, #1
- 754 .LVL60:
- 755 001a 10BD pop {r4, pc}
- 756 .LVL61:
- 757 .L64:
- 758 001c D2B2 uxtb r2, r2
- 759 001e C9B2 uxtb r1, r1
- 760 0020 E4B2 uxtb r4, r4
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** || (complementary_channel_1_state != HAL_TIM_CHANNEL_STATE_READY)
- 761 .loc 1 404 0
- 762 0022 012A cmp r2, #1
- 763 0024 01D0 beq .L65
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 764 .loc 1 408 0
- 765 0026 0120 movs r0, #1
- 766 .LVL62:
- 767 0028 10BD pop {r4, pc}
- 768 .LVL63:
- 769 .L65:
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** || (complementary_channel_2_state != HAL_TIM_CHANNEL_STATE_READY))
- 770 .loc 1 405 0
- 771 002a 0129 cmp r1, #1
- 772 002c 01D0 beq .L66
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 773 .loc 1 408 0
- 774 002e 0120 movs r0, #1
- 775 .LVL64:
- 776 0030 10BD pop {r4, pc}
- 777 .LVL65:
- 778 .L66:
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 779 .loc 1 406 0
- 780 0032 012C cmp r4, #1
- 781 0034 01D0 beq .L67
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 782 .loc 1 408 0
- 783 0036 0120 movs r0, #1
- 784 .LVL66:
- 785 0038 10BD pop {r4, pc}
- 786 .LVL67:
- 787 .L67:
- 788 003a 0446 mov r4, r0
- 789 .LVL68:
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
-ARM GAS /tmp/cc32U6bv.s page 57
-
-
- 790 .loc 1 412 0
- 791 003c 0223 movs r3, #2
- 792 .LVL69:
- 793 003e 80F83E30 strb r3, [r0, #62]
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
- 794 .loc 1 413 0
- 795 0042 80F83F30 strb r3, [r0, #63]
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_BUSY);
- 796 .loc 1 414 0
- 797 0046 80F84230 strb r3, [r0, #66]
- 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 798 .loc 1 415 0
- 799 004a 80F84330 strb r3, [r0, #67]
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 800 .loc 1 418 0
- 801 004e 0268 ldr r2, [r0]
- 802 .LVL70:
- 803 0050 D368 ldr r3, [r2, #12]
- 804 0052 43F00203 orr r3, r3, #2
- 805 0056 D360 str r3, [r2, #12]
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 806 .loc 1 422 0
- 807 0058 0122 movs r2, #1
- 808 005a 0021 movs r1, #0
- 809 .LVL71:
- 810 005c 0068 ldr r0, [r0]
- 811 .LVL72:
- 812 005e FFF7FEFF bl TIM_CCxChannelCmd
- 813 .LVL73:
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 814 .loc 1 425 0
- 815 0062 2368 ldr r3, [r4]
- 816 0064 144A ldr r2, .L68
- 817 0066 9342 cmp r3, r2
- 818 0068 18D0 beq .L56
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 819 .loc 1 425 0 is_stmt 0 discriminator 1
- 820 006a 02F50062 add r2, r2, #2048
- 821 006e 9342 cmp r3, r2
- 822 0070 14D0 beq .L56
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 823 .loc 1 425 0 discriminator 2
- 824 0072 B3F1804F cmp r3, #1073741824
- 825 0076 11D0 beq .L56
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 826 .loc 1 425 0 discriminator 3
- 827 0078 A2F59832 sub r2, r2, #77824
- 828 007c 9342 cmp r3, r2
- 829 007e 0DD0 beq .L56
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 830 .loc 1 425 0 discriminator 4
- 831 0080 02F58062 add r2, r2, #1024
- 832 0084 9342 cmp r3, r2
- 833 0086 09D0 beq .L56
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 834 .loc 1 425 0 discriminator 5
- 835 0088 02F58062 add r2, r2, #1024
-ARM GAS /tmp/cc32U6bv.s page 58
-
-
- 836 008c 9342 cmp r3, r2
- 837 008e 05D0 beq .L56
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 838 .loc 1 435 0 is_stmt 1
- 839 0090 1A68 ldr r2, [r3]
- 840 0092 42F00102 orr r2, r2, #1
- 841 0096 1A60 str r2, [r3]
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 842 .loc 1 439 0
- 843 0098 0020 movs r0, #0
- 844 009a 10BD pop {r4, pc}
- 845 .LVL74:
- 846 .L56:
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 847 .loc 1 427 0
- 848 009c 9A68 ldr r2, [r3, #8]
- 849 009e 02F00702 and r2, r2, #7
- 850 .LVL75:
- 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 851 .loc 1 428 0
- 852 00a2 062A cmp r2, #6
- 853 00a4 05D0 beq .L62
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 854 .loc 1 430 0
- 855 00a6 1A68 ldr r2, [r3]
- 856 .LVL76:
- 857 00a8 42F00102 orr r2, r2, #1
- 858 00ac 1A60 str r2, [r3]
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 859 .loc 1 439 0
- 860 00ae 0020 movs r0, #0
- 861 00b0 10BD pop {r4, pc}
- 862 .LVL77:
- 863 .L62:
- 864 00b2 0020 movs r0, #0
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 865 .loc 1 440 0
- 866 00b4 10BD pop {r4, pc}
- 867 .LVL78:
- 868 .L69:
- 869 00b6 00BF .align 2
- 870 .L68:
- 871 00b8 002C0140 .word 1073818624
- 872 .cfi_endproc
- 873 .LFE71:
- 875 .section .text.HAL_TIMEx_HallSensor_Stop_IT,"ax",%progbits
- 876 .align 1
- 877 .global HAL_TIMEx_HallSensor_Stop_IT
- 878 .syntax unified
- 879 .thumb
- 880 .thumb_func
- 881 .fpu softvfp
- 883 HAL_TIMEx_HallSensor_Stop_IT:
- 884 .LFB72:
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 885 .loc 1 448 0
- 886 .cfi_startproc
-ARM GAS /tmp/cc32U6bv.s page 59
-
-
- 887 @ args = 0, pretend = 0, frame = 0
- 888 @ frame_needed = 0, uses_anonymous_args = 0
- 889 .LVL79:
- 890 0000 10B5 push {r4, lr}
- 891 .LCFI13:
- 892 .cfi_def_cfa_offset 8
- 893 .cfi_offset 4, -8
- 894 .cfi_offset 14, -4
- 895 0002 0446 mov r4, r0
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 896 .loc 1 454 0
- 897 0004 0022 movs r2, #0
- 898 0006 1146 mov r1, r2
- 899 0008 0068 ldr r0, [r0]
- 900 .LVL80:
- 901 000a FFF7FEFF bl TIM_CCxChannelCmd
- 902 .LVL81:
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 903 .loc 1 457 0
- 904 000e 2268 ldr r2, [r4]
- 905 0010 D368 ldr r3, [r2, #12]
- 906 0012 23F00203 bic r3, r3, #2
- 907 0016 D360 str r3, [r2, #12]
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 908 .loc 1 460 0
- 909 0018 2368 ldr r3, [r4]
- 910 001a 196A ldr r1, [r3, #32]
- 911 001c 41F21112 movw r2, #4369
- 912 0020 1142 tst r1, r2
- 913 0022 08D1 bne .L71
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 914 .loc 1 460 0 is_stmt 0 discriminator 1
- 915 0024 196A ldr r1, [r3, #32]
- 916 0026 40F24442 movw r2, #1092
- 917 002a 1142 tst r1, r2
- 918 002c 03D1 bne .L71
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 919 .loc 1 460 0 discriminator 2
- 920 002e 1A68 ldr r2, [r3]
- 921 0030 22F00102 bic r2, r2, #1
- 922 0034 1A60 str r2, [r3]
- 923 .L71:
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 924 .loc 1 463 0 is_stmt 1
- 925 0036 0123 movs r3, #1
- 926 0038 84F83E30 strb r3, [r4, #62]
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
- 927 .loc 1 464 0
- 928 003c 84F83F30 strb r3, [r4, #63]
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY);
- 929 .loc 1 465 0
- 930 0040 84F84230 strb r3, [r4, #66]
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 931 .loc 1 466 0
- 932 0044 84F84330 strb r3, [r4, #67]
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 933 .loc 1 470 0
-ARM GAS /tmp/cc32U6bv.s page 60
-
-
- 934 0048 0020 movs r0, #0
- 935 004a 10BD pop {r4, pc}
- 936 .cfi_endproc
- 937 .LFE72:
- 939 .section .text.HAL_TIMEx_HallSensor_Start_DMA,"ax",%progbits
- 940 .align 1
- 941 .global HAL_TIMEx_HallSensor_Start_DMA
- 942 .syntax unified
- 943 .thumb
- 944 .thumb_func
- 945 .fpu softvfp
- 947 HAL_TIMEx_HallSensor_Start_DMA:
- 948 .LFB73:
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpsmcr;
- 949 .loc 1 480 0
- 950 .cfi_startproc
- 951 @ args = 0, pretend = 0, frame = 0
- 952 @ frame_needed = 0, uses_anonymous_args = 0
- 953 .LVL82:
- 954 0000 70B5 push {r4, r5, r6, lr}
- 955 .LCFI14:
- 956 .cfi_def_cfa_offset 16
- 957 .cfi_offset 4, -16
- 958 .cfi_offset 5, -12
- 959 .cfi_offset 6, -8
- 960 .cfi_offset 14, -4
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef complementary_channel_1_state = TIM_CHANNEL_N_STATE_GET(htim, TIM_CHA
- 961 .loc 1 482 0
- 962 0002 90F83E40 ldrb r4, [r0, #62] @ zero_extendqisi2
- 963 0006 E4B2 uxtb r4, r4
- 964 .LVL83:
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 965 .loc 1 483 0
- 966 0008 90F84250 ldrb r5, [r0, #66] @ zero_extendqisi2
- 967 .LVL84:
- 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** || (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_BUSY))
- 968 .loc 1 489 0
- 969 000c 022C cmp r4, #2
- 970 000e 5BD0 beq .L78
- 971 0010 EDB2 uxtb r5, r5
- 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 972 .loc 1 490 0
- 973 0012 022D cmp r5, #2
- 974 0014 5BD0 beq .L79
- 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** && (complementary_channel_1_state == HAL_TIM_CHANNEL_STATE_READY))
- 975 .loc 1 494 0
- 976 0016 012C cmp r4, #1
- 977 0018 01D0 beq .L85
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 978 .loc 1 509 0
- 979 001a 0123 movs r3, #1
- 980 001c 55E0 b .L74
- 981 .L85:
- 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 982 .loc 1 495 0
- 983 001e 012D cmp r5, #1
- 984 0020 01D0 beq .L86
-ARM GAS /tmp/cc32U6bv.s page 61
-
-
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 985 .loc 1 509 0
- 986 0022 0123 movs r3, #1
- 987 0024 51E0 b .L74
- 988 .L86:
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 989 .loc 1 497 0
- 990 0026 0029 cmp r1, #0
- 991 0028 40D0 beq .L87
- 992 .L75:
- 993 002a 1646 mov r6, r2
- 994 002c 0D46 mov r5, r1
- 995 .LVL85:
- 996 002e 0446 mov r4, r0
- 997 .LVL86:
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_BUSY);
- 998 .loc 1 503 0
- 999 0030 0223 movs r3, #2
- 1000 0032 80F83E30 strb r3, [r0, #62]
- 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1001 .loc 1 504 0
- 1002 0036 80F84230 strb r3, [r0, #66]
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1003 .loc 1 514 0
- 1004 003a 0122 movs r2, #1
- 1005 .LVL87:
- 1006 003c 0021 movs r1, #0
- 1007 .LVL88:
- 1008 003e 0068 ldr r0, [r0]
- 1009 .LVL89:
- 1010 0040 FFF7FEFF bl TIM_CCxChannelCmd
- 1011 .LVL90:
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMACaptureHalfCplt;
- 1012 .loc 1 517 0
- 1013 0044 636A ldr r3, [r4, #36]
- 1014 0046 244A ldr r2, .L88
- 1015 0048 9A62 str r2, [r3, #40]
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the DMA error callback */
- 1016 .loc 1 518 0
- 1017 004a 636A ldr r3, [r4, #36]
- 1018 004c 234A ldr r2, .L88+4
- 1019 004e DA62 str r2, [r3, #44]
- 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1020 .loc 1 520 0
- 1021 0050 636A ldr r3, [r4, #36]
- 1022 0052 234A ldr r2, .L88+8
- 1023 0054 1A63 str r2, [r3, #48]
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1024 .loc 1 523 0
- 1025 0056 2168 ldr r1, [r4]
- 1026 0058 3346 mov r3, r6
- 1027 005a 2A46 mov r2, r5
- 1028 005c 3431 adds r1, r1, #52
- 1029 005e 606A ldr r0, [r4, #36]
- 1030 0060 FFF7FEFF bl HAL_DMA_Start_IT
- 1031 .LVL91:
- 1032 0064 0346 mov r3, r0
-ARM GAS /tmp/cc32U6bv.s page 62
-
-
- 1033 0066 0028 cmp r0, #0
- 1034 0068 33D1 bne .L83
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1035 .loc 1 529 0
- 1036 006a 2168 ldr r1, [r4]
- 1037 006c CA68 ldr r2, [r1, #12]
- 1038 006e 42F40072 orr r2, r2, #512
- 1039 0072 CA60 str r2, [r1, #12]
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1040 .loc 1 532 0
- 1041 0074 2268 ldr r2, [r4]
- 1042 0076 1B49 ldr r1, .L88+12
- 1043 0078 8A42 cmp r2, r1
- 1044 007a 1BD0 beq .L76
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1045 .loc 1 532 0 is_stmt 0 discriminator 1
- 1046 007c 01F50061 add r1, r1, #2048
- 1047 0080 8A42 cmp r2, r1
- 1048 0082 17D0 beq .L76
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1049 .loc 1 532 0 discriminator 2
- 1050 0084 B2F1804F cmp r2, #1073741824
- 1051 0088 14D0 beq .L76
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1052 .loc 1 532 0 discriminator 3
- 1053 008a A1F59831 sub r1, r1, #77824
- 1054 008e 8A42 cmp r2, r1
- 1055 0090 10D0 beq .L76
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1056 .loc 1 532 0 discriminator 4
- 1057 0092 01F58061 add r1, r1, #1024
- 1058 0096 8A42 cmp r2, r1
- 1059 0098 0CD0 beq .L76
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1060 .loc 1 532 0 discriminator 5
- 1061 009a 01F58061 add r1, r1, #1024
- 1062 009e 8A42 cmp r2, r1
- 1063 00a0 08D0 beq .L76
- 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1064 .loc 1 542 0 is_stmt 1
- 1065 00a2 1168 ldr r1, [r2]
- 1066 00a4 41F00101 orr r1, r1, #1
- 1067 00a8 1160 str r1, [r2]
- 1068 00aa 0EE0 b .L74
- 1069 .LVL92:
- 1070 .L87:
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1071 .loc 1 497 0 discriminator 1
- 1072 00ac 002A cmp r2, #0
- 1073 00ae BCD0 beq .L75
- 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1074 .loc 1 499 0
- 1075 00b0 0123 movs r3, #1
- 1076 00b2 0AE0 b .L74
- 1077 .LVL93:
- 1078 .L76:
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
-ARM GAS /tmp/cc32U6bv.s page 63
-
-
- 1079 .loc 1 534 0
- 1080 00b4 9168 ldr r1, [r2, #8]
- 1081 00b6 01F00701 and r1, r1, #7
- 1082 .LVL94:
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1083 .loc 1 535 0
- 1084 00ba 0629 cmp r1, #6
- 1085 00bc 05D0 beq .L74
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1086 .loc 1 537 0
- 1087 00be 1168 ldr r1, [r2]
- 1088 .LVL95:
- 1089 00c0 41F00101 orr r1, r1, #1
- 1090 00c4 1160 str r1, [r2]
- 1091 00c6 00E0 b .L74
- 1092 .LVL96:
- 1093 .L78:
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1094 .loc 1 492 0
- 1095 00c8 0223 movs r3, #2
- 1096 .LVL97:
- 1097 .L74:
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1098 .loc 1 547 0
- 1099 00ca 1846 mov r0, r3
- 1100 00cc 70BD pop {r4, r5, r6, pc}
- 1101 .LVL98:
- 1102 .L79:
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1103 .loc 1 492 0
- 1104 00ce 0223 movs r3, #2
- 1105 00d0 FBE7 b .L74
- 1106 .LVL99:
- 1107 .L83:
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1108 .loc 1 526 0
- 1109 00d2 0123 movs r3, #1
- 1110 00d4 F9E7 b .L74
- 1111 .L89:
- 1112 00d6 00BF .align 2
- 1113 .L88:
- 1114 00d8 00000000 .word TIM_DMACaptureCplt
- 1115 00dc 00000000 .word TIM_DMACaptureHalfCplt
- 1116 00e0 00000000 .word TIM_DMAError
- 1117 00e4 002C0140 .word 1073818624
- 1118 .cfi_endproc
- 1119 .LFE73:
- 1121 .section .text.HAL_TIMEx_HallSensor_Stop_DMA,"ax",%progbits
- 1122 .align 1
- 1123 .global HAL_TIMEx_HallSensor_Stop_DMA
- 1124 .syntax unified
- 1125 .thumb
- 1126 .thumb_func
- 1127 .fpu softvfp
- 1129 HAL_TIMEx_HallSensor_Stop_DMA:
- 1130 .LFB74:
- 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
-ARM GAS /tmp/cc32U6bv.s page 64
-
-
- 1131 .loc 1 555 0
- 1132 .cfi_startproc
- 1133 @ args = 0, pretend = 0, frame = 0
- 1134 @ frame_needed = 0, uses_anonymous_args = 0
- 1135 .LVL100:
- 1136 0000 10B5 push {r4, lr}
- 1137 .LCFI15:
- 1138 .cfi_def_cfa_offset 8
- 1139 .cfi_offset 4, -8
- 1140 .cfi_offset 14, -4
- 1141 0002 0446 mov r4, r0
- 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1142 .loc 1 561 0
- 1143 0004 0022 movs r2, #0
- 1144 0006 1146 mov r1, r2
- 1145 0008 0068 ldr r0, [r0]
- 1146 .LVL101:
- 1147 000a FFF7FEFF bl TIM_CCxChannelCmd
- 1148 .LVL102:
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1149 .loc 1 565 0
- 1150 000e 2268 ldr r2, [r4]
- 1151 0010 D368 ldr r3, [r2, #12]
- 1152 0012 23F40073 bic r3, r3, #512
- 1153 0016 D360 str r3, [r2, #12]
- 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1154 .loc 1 567 0
- 1155 0018 606A ldr r0, [r4, #36]
- 1156 001a FFF7FEFF bl HAL_DMA_Abort_IT
- 1157 .LVL103:
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1158 .loc 1 570 0
- 1159 001e 2368 ldr r3, [r4]
- 1160 0020 196A ldr r1, [r3, #32]
- 1161 0022 41F21112 movw r2, #4369
- 1162 0026 1142 tst r1, r2
- 1163 0028 08D1 bne .L91
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1164 .loc 1 570 0 is_stmt 0 discriminator 1
- 1165 002a 196A ldr r1, [r3, #32]
- 1166 002c 40F24442 movw r2, #1092
- 1167 0030 1142 tst r1, r2
- 1168 0032 03D1 bne .L91
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1169 .loc 1 570 0 discriminator 2
- 1170 0034 1A68 ldr r2, [r3]
- 1171 0036 22F00102 bic r2, r2, #1
- 1172 003a 1A60 str r2, [r3]
- 1173 .L91:
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY);
- 1174 .loc 1 573 0 is_stmt 1
- 1175 003c 0123 movs r3, #1
- 1176 003e 84F83E30 strb r3, [r4, #62]
- 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1177 .loc 1 574 0
- 1178 0042 84F84230 strb r3, [r4, #66]
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-ARM GAS /tmp/cc32U6bv.s page 65
-
-
- 1179 .loc 1 578 0
- 1180 0046 0020 movs r0, #0
- 1181 0048 10BD pop {r4, pc}
- 1182 .cfi_endproc
- 1183 .LFE74:
- 1185 .section .text.HAL_TIMEx_OCN_Start,"ax",%progbits
- 1186 .align 1
- 1187 .global HAL_TIMEx_OCN_Start
- 1188 .syntax unified
- 1189 .thumb
- 1190 .thumb_func
- 1191 .fpu softvfp
- 1193 HAL_TIMEx_OCN_Start:
- 1194 .LFB75:
- 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpsmcr;
- 1195 .loc 1 616 0
- 1196 .cfi_startproc
- 1197 @ args = 0, pretend = 0, frame = 0
- 1198 @ frame_needed = 0, uses_anonymous_args = 0
- 1199 .LVL104:
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1200 .loc 1 623 0
- 1201 0000 0A46 mov r2, r1
- 1202 0002 0029 cmp r1, #0
- 1203 0004 36D1 bne .L94
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1204 .loc 1 623 0 is_stmt 0 discriminator 1
- 1205 0006 90F84230 ldrb r3, [r0, #66] @ zero_extendqisi2
- 1206 000a DBB2 uxtb r3, r3
- 1207 000c 13F1FF33 adds r3, r3, #-1
- 1208 0010 18BF it ne
- 1209 0012 0123 movne r3, #1
- 1210 .L95:
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1211 .loc 1 623 0 discriminator 12
- 1212 0014 002B cmp r3, #0
- 1213 0016 64D1 bne .L105
- 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpsmcr;
- 1214 .loc 1 616 0 is_stmt 1
- 1215 0018 10B5 push {r4, lr}
- 1216 .LCFI16:
- 1217 .cfi_def_cfa_offset 8
- 1218 .cfi_offset 4, -8
- 1219 .cfi_offset 14, -4
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1220 .loc 1 629 0
- 1221 001a 002A cmp r2, #0
- 1222 001c 46D1 bne .L99
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1223 .loc 1 629 0 is_stmt 0 discriminator 1
- 1224 001e 0223 movs r3, #2
- 1225 0020 80F84230 strb r3, [r0, #66]
- 1226 .L100:
- 1227 0024 1146 mov r1, r2
- 1228 .LVL105:
- 1229 0026 0446 mov r4, r0
- 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-ARM GAS /tmp/cc32U6bv.s page 66
-
-
- 1230 .loc 1 632 0 is_stmt 1
- 1231 0028 0422 movs r2, #4
- 1232 .LVL106:
- 1233 002a 0068 ldr r0, [r0]
- 1234 .LVL107:
- 1235 002c FFF7FEFF bl TIM_CCxNChannelCmd
- 1236 .LVL108:
- 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1237 .loc 1 635 0
- 1238 0030 2268 ldr r2, [r4]
- 1239 0032 536C ldr r3, [r2, #68]
- 1240 0034 43F40043 orr r3, r3, #32768
- 1241 0038 5364 str r3, [r2, #68]
- 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1242 .loc 1 638 0
- 1243 003a 2368 ldr r3, [r4]
- 1244 003c 2B4A ldr r2, .L115
- 1245 003e 9342 cmp r3, r2
- 1246 0040 44D0 beq .L103
- 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1247 .loc 1 638 0 is_stmt 0 discriminator 1
- 1248 0042 02F50062 add r2, r2, #2048
- 1249 0046 9342 cmp r3, r2
- 1250 0048 40D0 beq .L103
- 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1251 .loc 1 638 0 discriminator 2
- 1252 004a B3F1804F cmp r3, #1073741824
- 1253 004e 3DD0 beq .L103
- 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1254 .loc 1 638 0 discriminator 3
- 1255 0050 A2F59832 sub r2, r2, #77824
- 1256 0054 9342 cmp r3, r2
- 1257 0056 39D0 beq .L103
- 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1258 .loc 1 638 0 discriminator 4
- 1259 0058 02F58062 add r2, r2, #1024
- 1260 005c 9342 cmp r3, r2
- 1261 005e 35D0 beq .L103
- 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1262 .loc 1 638 0 discriminator 5
- 1263 0060 02F58062 add r2, r2, #1024
- 1264 0064 9342 cmp r3, r2
- 1265 0066 31D0 beq .L103
- 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1266 .loc 1 648 0 is_stmt 1
- 1267 0068 1A68 ldr r2, [r3]
- 1268 006a 42F00102 orr r2, r2, #1
- 1269 006e 1A60 str r2, [r3]
- 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1270 .loc 1 652 0
- 1271 0070 0020 movs r0, #0
- 1272 0072 10BD pop {r4, pc}
- 1273 .LVL109:
- 1274 .L94:
- 1275 .LCFI17:
- 1276 .cfi_def_cfa_offset 0
- 1277 .cfi_restore 4
-ARM GAS /tmp/cc32U6bv.s page 67
-
-
- 1278 .cfi_restore 14
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1279 .loc 1 623 0 discriminator 2
- 1280 0074 0429 cmp r1, #4
- 1281 0076 09D0 beq .L111
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1282 .loc 1 623 0 is_stmt 0 discriminator 5
- 1283 0078 0829 cmp r1, #8
- 1284 007a 0FD0 beq .L112
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1285 .loc 1 623 0 discriminator 8
- 1286 007c 90F84530 ldrb r3, [r0, #69] @ zero_extendqisi2
- 1287 0080 DBB2 uxtb r3, r3
- 1288 0082 13F1FF33 adds r3, r3, #-1
- 1289 0086 18BF it ne
- 1290 0088 0123 movne r3, #1
- 1291 008a C3E7 b .L95
- 1292 .L111:
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1293 .loc 1 623 0 discriminator 4
- 1294 008c 90F84330 ldrb r3, [r0, #67] @ zero_extendqisi2
- 1295 0090 DBB2 uxtb r3, r3
- 1296 0092 13F1FF33 adds r3, r3, #-1
- 1297 0096 18BF it ne
- 1298 0098 0123 movne r3, #1
- 1299 009a BBE7 b .L95
- 1300 .L112:
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1301 .loc 1 623 0 discriminator 7
- 1302 009c 90F84430 ldrb r3, [r0, #68] @ zero_extendqisi2
- 1303 00a0 DBB2 uxtb r3, r3
- 1304 00a2 13F1FF33 adds r3, r3, #-1
- 1305 00a6 18BF it ne
- 1306 00a8 0123 movne r3, #1
- 1307 00aa B3E7 b .L95
- 1308 .L99:
- 1309 .LCFI18:
- 1310 .cfi_def_cfa_offset 8
- 1311 .cfi_offset 4, -8
- 1312 .cfi_offset 14, -4
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1313 .loc 1 629 0 is_stmt 1 discriminator 2
- 1314 00ac 042A cmp r2, #4
- 1315 00ae 05D0 beq .L113
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1316 .loc 1 629 0 is_stmt 0 discriminator 4
- 1317 00b0 082A cmp r2, #8
- 1318 00b2 07D0 beq .L114
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1319 .loc 1 629 0 discriminator 7
- 1320 00b4 0223 movs r3, #2
- 1321 00b6 80F84530 strb r3, [r0, #69]
- 1322 00ba B3E7 b .L100
- 1323 .L113:
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1324 .loc 1 629 0 discriminator 3
- 1325 00bc 0223 movs r3, #2
-ARM GAS /tmp/cc32U6bv.s page 68
-
-
- 1326 00be 80F84330 strb r3, [r0, #67]
- 1327 00c2 AFE7 b .L100
- 1328 .L114:
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1329 .loc 1 629 0 discriminator 6
- 1330 00c4 0223 movs r3, #2
- 1331 00c6 80F84430 strb r3, [r0, #68]
- 1332 00ca ABE7 b .L100
- 1333 .LVL110:
- 1334 .L103:
- 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 1335 .loc 1 640 0 is_stmt 1
- 1336 00cc 9A68 ldr r2, [r3, #8]
- 1337 00ce 02F00702 and r2, r2, #7
- 1338 .LVL111:
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1339 .loc 1 641 0
- 1340 00d2 062A cmp r2, #6
- 1341 00d4 07D0 beq .L106
- 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1342 .loc 1 643 0
- 1343 00d6 1A68 ldr r2, [r3]
- 1344 .LVL112:
- 1345 00d8 42F00102 orr r2, r2, #1
- 1346 00dc 1A60 str r2, [r3]
- 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1347 .loc 1 652 0
- 1348 00de 0020 movs r0, #0
- 1349 00e0 10BD pop {r4, pc}
- 1350 .LVL113:
- 1351 .L105:
- 1352 .LCFI19:
- 1353 .cfi_def_cfa_offset 0
- 1354 .cfi_restore 4
- 1355 .cfi_restore 14
- 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1356 .loc 1 625 0
- 1357 00e2 0120 movs r0, #1
- 1358 .LVL114:
- 1359 00e4 7047 bx lr
- 1360 .LVL115:
- 1361 .L106:
- 1362 .LCFI20:
- 1363 .cfi_def_cfa_offset 8
- 1364 .cfi_offset 4, -8
- 1365 .cfi_offset 14, -4
- 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1366 .loc 1 652 0
- 1367 00e6 0020 movs r0, #0
- 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1368 .loc 1 653 0
- 1369 00e8 10BD pop {r4, pc}
- 1370 .LVL116:
- 1371 .L116:
- 1372 00ea 00BF .align 2
- 1373 .L115:
- 1374 00ec 002C0140 .word 1073818624
-ARM GAS /tmp/cc32U6bv.s page 69
-
-
- 1375 .cfi_endproc
- 1376 .LFE75:
- 1378 .section .text.HAL_TIMEx_OCN_Stop,"ax",%progbits
- 1379 .align 1
- 1380 .global HAL_TIMEx_OCN_Stop
- 1381 .syntax unified
- 1382 .thumb
- 1383 .thumb_func
- 1384 .fpu softvfp
- 1386 HAL_TIMEx_OCN_Stop:
- 1387 .LFB76:
- 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 1388 .loc 1 667 0
- 1389 .cfi_startproc
- 1390 @ args = 0, pretend = 0, frame = 0
- 1391 @ frame_needed = 0, uses_anonymous_args = 0
- 1392 .LVL117:
- 1393 0000 38B5 push {r3, r4, r5, lr}
- 1394 .LCFI21:
- 1395 .cfi_def_cfa_offset 16
- 1396 .cfi_offset 3, -16
- 1397 .cfi_offset 4, -12
- 1398 .cfi_offset 5, -8
- 1399 .cfi_offset 14, -4
- 1400 0002 0446 mov r4, r0
- 1401 0004 0D46 mov r5, r1
- 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1402 .loc 1 672 0
- 1403 0006 0022 movs r2, #0
- 1404 0008 0068 ldr r0, [r0]
- 1405 .LVL118:
- 1406 000a FFF7FEFF bl TIM_CCxNChannelCmd
- 1407 .LVL119:
- 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1408 .loc 1 675 0
- 1409 000e 2368 ldr r3, [r4]
- 1410 0010 196A ldr r1, [r3, #32]
- 1411 0012 41F21112 movw r2, #4369
- 1412 0016 1142 tst r1, r2
- 1413 0018 08D1 bne .L118
- 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1414 .loc 1 675 0 is_stmt 0 discriminator 1
- 1415 001a 196A ldr r1, [r3, #32]
- 1416 001c 40F24442 movw r2, #1092
- 1417 0020 1142 tst r1, r2
- 1418 0022 03D1 bne .L118
- 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1419 .loc 1 675 0 discriminator 2
- 1420 0024 5A6C ldr r2, [r3, #68]
- 1421 0026 22F40042 bic r2, r2, #32768
- 1422 002a 5A64 str r2, [r3, #68]
- 1423 .L118:
- 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1424 .loc 1 678 0 is_stmt 1
- 1425 002c 2368 ldr r3, [r4]
- 1426 002e 196A ldr r1, [r3, #32]
- 1427 0030 41F21112 movw r2, #4369
-ARM GAS /tmp/cc32U6bv.s page 70
-
-
- 1428 0034 1142 tst r1, r2
- 1429 0036 08D1 bne .L119
- 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1430 .loc 1 678 0 is_stmt 0 discriminator 1
- 1431 0038 196A ldr r1, [r3, #32]
- 1432 003a 40F24442 movw r2, #1092
- 1433 003e 1142 tst r1, r2
- 1434 0040 03D1 bne .L119
- 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1435 .loc 1 678 0 discriminator 2
- 1436 0042 1A68 ldr r2, [r3]
- 1437 0044 22F00102 bic r2, r2, #1
- 1438 0048 1A60 str r2, [r3]
- 1439 .L119:
- 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1440 .loc 1 681 0 is_stmt 1
- 1441 004a 45B1 cbz r5, .L125
- 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1442 .loc 1 681 0 is_stmt 0 discriminator 2
- 1443 004c 042D cmp r5, #4
- 1444 004e 0AD0 beq .L126
- 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1445 .loc 1 681 0 discriminator 4
- 1446 0050 082D cmp r5, #8
- 1447 0052 0CD0 beq .L127
- 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1448 .loc 1 681 0 discriminator 7
- 1449 0054 0123 movs r3, #1
- 1450 0056 84F84530 strb r3, [r4, #69]
- 1451 .L121:
- 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1452 .loc 1 685 0 is_stmt 1
- 1453 005a 0020 movs r0, #0
- 1454 005c 38BD pop {r3, r4, r5, pc}
- 1455 .LVL120:
- 1456 .L125:
- 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1457 .loc 1 681 0 discriminator 1
- 1458 005e 0123 movs r3, #1
- 1459 0060 84F84230 strb r3, [r4, #66]
- 1460 0064 F9E7 b .L121
- 1461 .L126:
- 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1462 .loc 1 681 0 is_stmt 0 discriminator 3
- 1463 0066 0123 movs r3, #1
- 1464 0068 84F84330 strb r3, [r4, #67]
- 1465 006c F5E7 b .L121
- 1466 .L127:
- 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1467 .loc 1 681 0 discriminator 6
- 1468 006e 0123 movs r3, #1
- 1469 0070 84F84430 strb r3, [r4, #68]
- 1470 0074 F1E7 b .L121
- 1471 .cfi_endproc
- 1472 .LFE76:
- 1474 .section .text.HAL_TIMEx_OCN_Start_IT,"ax",%progbits
- 1475 .align 1
-ARM GAS /tmp/cc32U6bv.s page 71
-
-
- 1476 .global HAL_TIMEx_OCN_Start_IT
- 1477 .syntax unified
- 1478 .thumb
- 1479 .thumb_func
- 1480 .fpu softvfp
- 1482 HAL_TIMEx_OCN_Start_IT:
- 1483 .LFB77:
- 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpsmcr;
- 1484 .loc 1 699 0 is_stmt 1
- 1485 .cfi_startproc
- 1486 @ args = 0, pretend = 0, frame = 0
- 1487 @ frame_needed = 0, uses_anonymous_args = 0
- 1488 .LVL121:
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1489 .loc 1 706 0
- 1490 0000 0B46 mov r3, r1
- 1491 0002 0029 cmp r1, #0
- 1492 0004 42D1 bne .L129
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1493 .loc 1 706 0 is_stmt 0 discriminator 1
- 1494 0006 90F84220 ldrb r2, [r0, #66] @ zero_extendqisi2
- 1495 000a D2B2 uxtb r2, r2
- 1496 000c 12F1FF32 adds r2, r2, #-1
- 1497 0010 18BF it ne
- 1498 0012 0122 movne r2, #1
- 1499 .L130:
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1500 .loc 1 706 0 discriminator 12
- 1501 0014 002A cmp r2, #0
- 1502 0016 40F08280 bne .L144
- 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpsmcr;
- 1503 .loc 1 699 0 is_stmt 1
- 1504 001a 10B5 push {r4, lr}
- 1505 .LCFI22:
- 1506 .cfi_def_cfa_offset 8
- 1507 .cfi_offset 4, -8
- 1508 .cfi_offset 14, -4
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1509 .loc 1 712 0
- 1510 001c 002B cmp r3, #0
- 1511 001e 51D1 bne .L134
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1512 .loc 1 712 0 is_stmt 0 discriminator 1
- 1513 0020 0222 movs r2, #2
- 1514 0022 80F84220 strb r2, [r0, #66]
- 1515 .L135:
- 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1516 .loc 1 714 0 is_stmt 1
- 1517 0026 042B cmp r3, #4
- 1518 0028 62D0 beq .L139
- 1519 002a 082B cmp r3, #8
- 1520 002c 66D0 beq .L140
- 1521 002e 002B cmp r3, #0
- 1522 0030 58D0 beq .L150
- 1523 .LVL122:
- 1524 .L138:
- 1525 0032 1946 mov r1, r3
-ARM GAS /tmp/cc32U6bv.s page 72
-
-
- 1526 0034 0446 mov r4, r0
- 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1527 .loc 1 743 0
- 1528 0036 0268 ldr r2, [r0]
- 1529 0038 D368 ldr r3, [r2, #12]
- 1530 .LVL123:
- 1531 003a 43F08003 orr r3, r3, #128
- 1532 003e D360 str r3, [r2, #12]
- 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1533 .loc 1 746 0
- 1534 0040 0422 movs r2, #4
- 1535 0042 0068 ldr r0, [r0]
- 1536 .LVL124:
- 1537 0044 FFF7FEFF bl TIM_CCxNChannelCmd
- 1538 .LVL125:
- 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1539 .loc 1 749 0
- 1540 0048 2268 ldr r2, [r4]
- 1541 004a 536C ldr r3, [r2, #68]
- 1542 004c 43F40043 orr r3, r3, #32768
- 1543 0050 5364 str r3, [r2, #68]
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1544 .loc 1 752 0
- 1545 0052 2368 ldr r3, [r4]
- 1546 0054 344A ldr r2, .L155
- 1547 0056 9342 cmp r3, r2
- 1548 0058 56D0 beq .L142
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1549 .loc 1 752 0 is_stmt 0 discriminator 1
- 1550 005a 02F50062 add r2, r2, #2048
- 1551 005e 9342 cmp r3, r2
- 1552 0060 52D0 beq .L142
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1553 .loc 1 752 0 discriminator 2
- 1554 0062 B3F1804F cmp r3, #1073741824
- 1555 0066 4FD0 beq .L142
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1556 .loc 1 752 0 discriminator 3
- 1557 0068 A2F59832 sub r2, r2, #77824
- 1558 006c 9342 cmp r3, r2
- 1559 006e 4BD0 beq .L142
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1560 .loc 1 752 0 discriminator 4
- 1561 0070 02F58062 add r2, r2, #1024
- 1562 0074 9342 cmp r3, r2
- 1563 0076 47D0 beq .L142
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1564 .loc 1 752 0 discriminator 5
- 1565 0078 02F58062 add r2, r2, #1024
- 1566 007c 9342 cmp r3, r2
- 1567 007e 43D0 beq .L142
- 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1568 .loc 1 762 0 is_stmt 1
- 1569 0080 1A68 ldr r2, [r3]
- 1570 0082 42F00102 orr r2, r2, #1
- 1571 0086 1A60 str r2, [r3]
- 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-ARM GAS /tmp/cc32U6bv.s page 73
-
-
- 1572 .loc 1 766 0
- 1573 0088 0020 movs r0, #0
- 1574 008a 10BD pop {r4, pc}
- 1575 .LVL126:
- 1576 .L129:
- 1577 .LCFI23:
- 1578 .cfi_def_cfa_offset 0
- 1579 .cfi_restore 4
- 1580 .cfi_restore 14
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1581 .loc 1 706 0 discriminator 2
- 1582 008c 0429 cmp r1, #4
- 1583 008e 09D0 beq .L151
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1584 .loc 1 706 0 is_stmt 0 discriminator 5
- 1585 0090 0829 cmp r1, #8
- 1586 0092 0FD0 beq .L152
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1587 .loc 1 706 0 discriminator 8
- 1588 0094 90F84520 ldrb r2, [r0, #69] @ zero_extendqisi2
- 1589 0098 D2B2 uxtb r2, r2
- 1590 009a 12F1FF32 adds r2, r2, #-1
- 1591 009e 18BF it ne
- 1592 00a0 0122 movne r2, #1
- 1593 00a2 B7E7 b .L130
- 1594 .L151:
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1595 .loc 1 706 0 discriminator 4
- 1596 00a4 90F84320 ldrb r2, [r0, #67] @ zero_extendqisi2
- 1597 00a8 D2B2 uxtb r2, r2
- 1598 00aa 12F1FF32 adds r2, r2, #-1
- 1599 00ae 18BF it ne
- 1600 00b0 0122 movne r2, #1
- 1601 00b2 AFE7 b .L130
- 1602 .L152:
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1603 .loc 1 706 0 discriminator 7
- 1604 00b4 90F84420 ldrb r2, [r0, #68] @ zero_extendqisi2
- 1605 00b8 D2B2 uxtb r2, r2
- 1606 00ba 12F1FF32 adds r2, r2, #-1
- 1607 00be 18BF it ne
- 1608 00c0 0122 movne r2, #1
- 1609 00c2 A7E7 b .L130
- 1610 .L134:
- 1611 .LCFI24:
- 1612 .cfi_def_cfa_offset 8
- 1613 .cfi_offset 4, -8
- 1614 .cfi_offset 14, -4
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1615 .loc 1 712 0 is_stmt 1 discriminator 2
- 1616 00c4 042B cmp r3, #4
- 1617 00c6 05D0 beq .L153
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1618 .loc 1 712 0 is_stmt 0 discriminator 4
- 1619 00c8 082B cmp r3, #8
- 1620 00ca 07D0 beq .L154
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-ARM GAS /tmp/cc32U6bv.s page 74
-
-
- 1621 .loc 1 712 0 discriminator 7
- 1622 00cc 0222 movs r2, #2
- 1623 00ce 80F84520 strb r2, [r0, #69]
- 1624 00d2 A8E7 b .L135
- 1625 .L153:
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1626 .loc 1 712 0 discriminator 3
- 1627 00d4 0222 movs r2, #2
- 1628 00d6 80F84320 strb r2, [r0, #67]
- 1629 00da A4E7 b .L135
- 1630 .L154:
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1631 .loc 1 712 0 discriminator 6
- 1632 00dc 0222 movs r2, #2
- 1633 00de 80F84420 strb r2, [r0, #68]
- 1634 00e2 A0E7 b .L135
- 1635 .L150:
- 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 1636 .loc 1 719 0 is_stmt 1
- 1637 00e4 0168 ldr r1, [r0]
- 1638 .LVL127:
- 1639 00e6 CA68 ldr r2, [r1, #12]
- 1640 00e8 42F00202 orr r2, r2, #2
- 1641 00ec CA60 str r2, [r1, #12]
- 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1642 .loc 1 720 0
- 1643 00ee A0E7 b .L138
- 1644 .LVL128:
- 1645 .L139:
- 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 1646 .loc 1 726 0
- 1647 00f0 0168 ldr r1, [r0]
- 1648 .LVL129:
- 1649 00f2 CA68 ldr r2, [r1, #12]
- 1650 00f4 42F00402 orr r2, r2, #4
- 1651 00f8 CA60 str r2, [r1, #12]
- 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1652 .loc 1 727 0
- 1653 00fa 9AE7 b .L138
- 1654 .LVL130:
- 1655 .L140:
- 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 1656 .loc 1 733 0
- 1657 00fc 0168 ldr r1, [r0]
- 1658 .LVL131:
- 1659 00fe CA68 ldr r2, [r1, #12]
- 1660 0100 42F00802 orr r2, r2, #8
- 1661 0104 CA60 str r2, [r1, #12]
- 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1662 .loc 1 734 0
- 1663 0106 94E7 b .L138
- 1664 .LVL132:
- 1665 .L142:
- 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 1666 .loc 1 754 0
- 1667 0108 9A68 ldr r2, [r3, #8]
- 1668 010a 02F00702 and r2, r2, #7
-ARM GAS /tmp/cc32U6bv.s page 75
-
-
- 1669 .LVL133:
- 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1670 .loc 1 755 0
- 1671 010e 062A cmp r2, #6
- 1672 0110 07D0 beq .L145
- 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1673 .loc 1 757 0
- 1674 0112 1A68 ldr r2, [r3]
- 1675 .LVL134:
- 1676 0114 42F00102 orr r2, r2, #1
- 1677 0118 1A60 str r2, [r3]
- 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1678 .loc 1 766 0
- 1679 011a 0020 movs r0, #0
- 1680 011c 10BD pop {r4, pc}
- 1681 .LVL135:
- 1682 .L144:
- 1683 .LCFI25:
- 1684 .cfi_def_cfa_offset 0
- 1685 .cfi_restore 4
- 1686 .cfi_restore 14
- 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1687 .loc 1 708 0
- 1688 011e 0120 movs r0, #1
- 1689 .LVL136:
- 1690 0120 7047 bx lr
- 1691 .LVL137:
- 1692 .L145:
- 1693 .LCFI26:
- 1694 .cfi_def_cfa_offset 8
- 1695 .cfi_offset 4, -8
- 1696 .cfi_offset 14, -4
- 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1697 .loc 1 766 0
- 1698 0122 0020 movs r0, #0
- 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1699 .loc 1 767 0
- 1700 0124 10BD pop {r4, pc}
- 1701 .LVL138:
- 1702 .L156:
- 1703 0126 00BF .align 2
- 1704 .L155:
- 1705 0128 002C0140 .word 1073818624
- 1706 .cfi_endproc
- 1707 .LFE77:
- 1709 .section .text.HAL_TIMEx_OCN_Stop_IT,"ax",%progbits
- 1710 .align 1
- 1711 .global HAL_TIMEx_OCN_Stop_IT
- 1712 .syntax unified
- 1713 .thumb
- 1714 .thumb_func
- 1715 .fpu softvfp
- 1717 HAL_TIMEx_OCN_Stop_IT:
- 1718 .LFB78:
- 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpccer;
- 1719 .loc 1 781 0
- 1720 .cfi_startproc
-ARM GAS /tmp/cc32U6bv.s page 76
-
-
- 1721 @ args = 0, pretend = 0, frame = 0
- 1722 @ frame_needed = 0, uses_anonymous_args = 0
- 1723 .LVL139:
- 1724 0000 38B5 push {r3, r4, r5, lr}
- 1725 .LCFI27:
- 1726 .cfi_def_cfa_offset 16
- 1727 .cfi_offset 3, -16
- 1728 .cfi_offset 4, -12
- 1729 .cfi_offset 5, -8
- 1730 .cfi_offset 14, -4
- 1731 0002 0446 mov r4, r0
- 1732 0004 0D46 mov r5, r1
- 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1733 .loc 1 786 0
- 1734 0006 0429 cmp r1, #4
- 1735 0008 40D0 beq .L159
- 1736 000a 0829 cmp r1, #8
- 1737 000c 44D0 beq .L160
- 1738 000e 0029 cmp r1, #0
- 1739 0010 36D0 beq .L170
- 1740 .L158:
- 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1741 .loc 1 814 0
- 1742 0012 0022 movs r2, #0
- 1743 0014 2946 mov r1, r5
- 1744 .LVL140:
- 1745 0016 2068 ldr r0, [r4]
- 1746 .LVL141:
- 1747 0018 FFF7FEFF bl TIM_CCxNChannelCmd
- 1748 .LVL142:
- 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if ((tmpccer & (TIM_CCER_CC1NE | TIM_CCER_CC2NE | TIM_CCER_CC3NE)) == (uint32_t)RESET)
- 1749 .loc 1 817 0
- 1750 001c 2368 ldr r3, [r4]
- 1751 001e 196A ldr r1, [r3, #32]
- 1752 .LVL143:
- 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1753 .loc 1 818 0
- 1754 0020 40F24442 movw r2, #1092
- 1755 0024 1142 tst r1, r2
- 1756 0026 03D1 bne .L162
- 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1757 .loc 1 820 0
- 1758 0028 DA68 ldr r2, [r3, #12]
- 1759 002a 22F08002 bic r2, r2, #128
- 1760 002e DA60 str r2, [r3, #12]
- 1761 .L162:
- 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1762 .loc 1 824 0
- 1763 0030 2368 ldr r3, [r4]
- 1764 0032 196A ldr r1, [r3, #32]
- 1765 .LVL144:
- 1766 0034 41F21112 movw r2, #4369
- 1767 0038 1142 tst r1, r2
- 1768 003a 08D1 bne .L163
- 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1769 .loc 1 824 0 is_stmt 0 discriminator 1
- 1770 003c 196A ldr r1, [r3, #32]
-ARM GAS /tmp/cc32U6bv.s page 77
-
-
- 1771 003e 40F24442 movw r2, #1092
- 1772 0042 1142 tst r1, r2
- 1773 0044 03D1 bne .L163
- 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1774 .loc 1 824 0 discriminator 2
- 1775 0046 5A6C ldr r2, [r3, #68]
- 1776 0048 22F40042 bic r2, r2, #32768
- 1777 004c 5A64 str r2, [r3, #68]
- 1778 .L163:
- 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1779 .loc 1 827 0 is_stmt 1
- 1780 004e 2368 ldr r3, [r4]
- 1781 0050 196A ldr r1, [r3, #32]
- 1782 0052 41F21112 movw r2, #4369
- 1783 0056 1142 tst r1, r2
- 1784 0058 08D1 bne .L164
- 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1785 .loc 1 827 0 is_stmt 0 discriminator 1
- 1786 005a 196A ldr r1, [r3, #32]
- 1787 005c 40F24442 movw r2, #1092
- 1788 0060 1142 tst r1, r2
- 1789 0062 03D1 bne .L164
- 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1790 .loc 1 827 0 discriminator 2
- 1791 0064 1A68 ldr r2, [r3]
- 1792 0066 22F00102 bic r2, r2, #1
- 1793 006a 1A60 str r2, [r3]
- 1794 .L164:
- 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1795 .loc 1 830 0 is_stmt 1
- 1796 006c D5B1 cbz r5, .L171
- 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1797 .loc 1 830 0 is_stmt 0 discriminator 2
- 1798 006e 042D cmp r5, #4
- 1799 0070 1CD0 beq .L172
- 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1800 .loc 1 830 0 discriminator 4
- 1801 0072 082D cmp r5, #8
- 1802 0074 1ED0 beq .L173
- 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1803 .loc 1 830 0 discriminator 7
- 1804 0076 0123 movs r3, #1
- 1805 0078 84F84530 strb r3, [r4, #69]
- 1806 .L166:
- 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1807 .loc 1 834 0 is_stmt 1
- 1808 007c 0020 movs r0, #0
- 1809 007e 38BD pop {r3, r4, r5, pc}
- 1810 .LVL145:
- 1811 .L170:
- 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 1812 .loc 1 791 0
- 1813 0080 0268 ldr r2, [r0]
- 1814 0082 D368 ldr r3, [r2, #12]
- 1815 0084 23F00203 bic r3, r3, #2
- 1816 0088 D360 str r3, [r2, #12]
- 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-ARM GAS /tmp/cc32U6bv.s page 78
-
-
- 1817 .loc 1 792 0
- 1818 008a C2E7 b .L158
- 1819 .L159:
- 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 1820 .loc 1 798 0
- 1821 008c 0268 ldr r2, [r0]
- 1822 008e D368 ldr r3, [r2, #12]
- 1823 0090 23F00403 bic r3, r3, #4
- 1824 0094 D360 str r3, [r2, #12]
- 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1825 .loc 1 799 0
- 1826 0096 BCE7 b .L158
- 1827 .L160:
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 1828 .loc 1 805 0
- 1829 0098 0268 ldr r2, [r0]
- 1830 009a D368 ldr r3, [r2, #12]
- 1831 009c 23F00803 bic r3, r3, #8
- 1832 00a0 D360 str r3, [r2, #12]
- 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1833 .loc 1 806 0
- 1834 00a2 B6E7 b .L158
- 1835 .LVL146:
- 1836 .L171:
- 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1837 .loc 1 830 0 discriminator 1
- 1838 00a4 0123 movs r3, #1
- 1839 00a6 84F84230 strb r3, [r4, #66]
- 1840 00aa E7E7 b .L166
- 1841 .L172:
- 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1842 .loc 1 830 0 is_stmt 0 discriminator 3
- 1843 00ac 0123 movs r3, #1
- 1844 00ae 84F84330 strb r3, [r4, #67]
- 1845 00b2 E3E7 b .L166
- 1846 .L173:
- 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1847 .loc 1 830 0 discriminator 6
- 1848 00b4 0123 movs r3, #1
- 1849 00b6 84F84430 strb r3, [r4, #68]
- 1850 00ba DFE7 b .L166
- 1851 .cfi_endproc
- 1852 .LFE78:
- 1854 .section .text.HAL_TIMEx_OCN_Start_DMA,"ax",%progbits
- 1855 .align 1
- 1856 .global HAL_TIMEx_OCN_Start_DMA
- 1857 .syntax unified
- 1858 .thumb
- 1859 .thumb_func
- 1860 .fpu softvfp
- 1862 HAL_TIMEx_OCN_Start_DMA:
- 1863 .LFB79:
- 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpsmcr;
- 1864 .loc 1 850 0 is_stmt 1
- 1865 .cfi_startproc
- 1866 @ args = 0, pretend = 0, frame = 0
- 1867 @ frame_needed = 0, uses_anonymous_args = 0
-ARM GAS /tmp/cc32U6bv.s page 79
-
-
- 1868 .LVL147:
- 1869 0000 38B5 push {r3, r4, r5, lr}
- 1870 .LCFI28:
- 1871 .cfi_def_cfa_offset 16
- 1872 .cfi_offset 3, -16
- 1873 .cfi_offset 4, -12
- 1874 .cfi_offset 5, -8
- 1875 .cfi_offset 14, -4
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1876 .loc 1 857 0
- 1877 0002 0D46 mov r5, r1
- 1878 0004 49B9 cbnz r1, .L175
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1879 .loc 1 857 0 is_stmt 0 discriminator 1
- 1880 0006 90F84240 ldrb r4, [r0, #66] @ zero_extendqisi2
- 1881 000a E4B2 uxtb r4, r4
- 1882 000c 022C cmp r4, #2
- 1883 000e 14BF ite ne
- 1884 0010 0024 movne r4, #0
- 1885 0012 0124 moveq r4, #1
- 1886 .L176:
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1887 .loc 1 857 0 discriminator 12
- 1888 0014 ECB1 cbz r4, .L203
- 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1889 .loc 1 859 0 is_stmt 1
- 1890 0016 0220 movs r0, #2
- 1891 .LVL148:
- 1892 0018 38BD pop {r3, r4, r5, pc}
- 1893 .LVL149:
- 1894 .L175:
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1895 .loc 1 857 0 discriminator 2
- 1896 001a 0429 cmp r1, #4
- 1897 001c 09D0 beq .L204
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1898 .loc 1 857 0 is_stmt 0 discriminator 5
- 1899 001e 0829 cmp r1, #8
- 1900 0020 0FD0 beq .L205
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1901 .loc 1 857 0 discriminator 8
- 1902 0022 90F84540 ldrb r4, [r0, #69] @ zero_extendqisi2
- 1903 0026 E4B2 uxtb r4, r4
- 1904 0028 022C cmp r4, #2
- 1905 002a 14BF ite ne
- 1906 002c 0024 movne r4, #0
- 1907 002e 0124 moveq r4, #1
- 1908 0030 F0E7 b .L176
- 1909 .L204:
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1910 .loc 1 857 0 discriminator 4
- 1911 0032 90F84340 ldrb r4, [r0, #67] @ zero_extendqisi2
- 1912 0036 E4B2 uxtb r4, r4
- 1913 0038 022C cmp r4, #2
- 1914 003a 14BF ite ne
- 1915 003c 0024 movne r4, #0
- 1916 003e 0124 moveq r4, #1
-ARM GAS /tmp/cc32U6bv.s page 80
-
-
- 1917 0040 E8E7 b .L176
- 1918 .L205:
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1919 .loc 1 857 0 discriminator 7
- 1920 0042 90F84440 ldrb r4, [r0, #68] @ zero_extendqisi2
- 1921 0046 E4B2 uxtb r4, r4
- 1922 0048 022C cmp r4, #2
- 1923 004a 14BF ite ne
- 1924 004c 0024 movne r4, #0
- 1925 004e 0124 moveq r4, #1
- 1926 0050 E0E7 b .L176
- 1927 .L203:
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1928 .loc 1 861 0 is_stmt 1
- 1929 0052 002D cmp r5, #0
- 1930 0054 43D1 bne .L180
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1931 .loc 1 861 0 is_stmt 0 discriminator 1
- 1932 0056 90F84210 ldrb r1, [r0, #66] @ zero_extendqisi2
- 1933 .LVL150:
- 1934 005a C9B2 uxtb r1, r1
- 1935 005c 0129 cmp r1, #1
- 1936 005e 14BF ite ne
- 1937 0060 0021 movne r1, #0
- 1938 0062 0121 moveq r1, #1
- 1939 .L181:
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1940 .loc 1 861 0 discriminator 12
- 1941 0064 0029 cmp r1, #0
- 1942 0066 00F0B680 beq .L196
- 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1943 .loc 1 863 0 is_stmt 1
- 1944 006a 002A cmp r2, #0
- 1945 006c 53D0 beq .L206
- 1946 .L184:
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1947 .loc 1 869 0
- 1948 006e 002D cmp r5, #0
- 1949 0070 55D1 bne .L185
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 1950 .loc 1 869 0 is_stmt 0 discriminator 1
- 1951 0072 0221 movs r1, #2
- 1952 0074 80F84210 strb r1, [r0, #66]
- 1953 .L186:
- 1954 0078 1146 mov r1, r2
- 1955 007a 0446 mov r4, r0
- 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1956 .loc 1 877 0 is_stmt 1
- 1957 007c 042D cmp r5, #4
- 1958 007e 74D0 beq .L190
- 1959 .LVL151:
- 1960 0080 082D cmp r5, #8
- 1961 0082 00F08880 beq .L191
- 1962 0086 002D cmp r5, #0
- 1963 0088 59D0 beq .L207
- 1964 .LVL152:
- 1965 .L189:
-ARM GAS /tmp/cc32U6bv.s page 81
-
-
- 944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1966 .loc 1 944 0
- 1967 008a 0422 movs r2, #4
- 1968 008c 2946 mov r1, r5
- 1969 008e 2068 ldr r0, [r4]
- 1970 0090 FFF7FEFF bl TIM_CCxNChannelCmd
- 1971 .LVL153:
- 947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 1972 .loc 1 947 0
- 1973 0094 2268 ldr r2, [r4]
- 1974 0096 536C ldr r3, [r2, #68]
- 1975 0098 43F40043 orr r3, r3, #32768
- 1976 009c 5364 str r3, [r2, #68]
- 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1977 .loc 1 950 0
- 1978 009e 2368 ldr r3, [r4]
- 1979 00a0 524A ldr r2, .L212
- 1980 00a2 9342 cmp r3, r2
- 1981 00a4 00F08C80 beq .L193
- 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1982 .loc 1 950 0 is_stmt 0 discriminator 1
- 1983 00a8 02F50062 add r2, r2, #2048
- 1984 00ac 9342 cmp r3, r2
- 1985 00ae 00F08780 beq .L193
- 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1986 .loc 1 950 0 discriminator 2
- 1987 00b2 B3F1804F cmp r3, #1073741824
- 1988 00b6 00F08380 beq .L193
- 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1989 .loc 1 950 0 discriminator 3
- 1990 00ba A2F59832 sub r2, r2, #77824
- 1991 00be 9342 cmp r3, r2
- 1992 00c0 7ED0 beq .L193
- 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1993 .loc 1 950 0 discriminator 4
- 1994 00c2 02F58062 add r2, r2, #1024
- 1995 00c6 9342 cmp r3, r2
- 1996 00c8 7AD0 beq .L193
- 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 1997 .loc 1 950 0 discriminator 5
- 1998 00ca 02F58062 add r2, r2, #1024
- 1999 00ce 9342 cmp r3, r2
- 2000 00d0 76D0 beq .L193
- 960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2001 .loc 1 960 0 is_stmt 1
- 2002 00d2 1A68 ldr r2, [r3]
- 2003 00d4 42F00102 orr r2, r2, #1
- 2004 00d8 1A60 str r2, [r3]
- 964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2005 .loc 1 964 0
- 2006 00da 0020 movs r0, #0
- 2007 00dc 38BD pop {r3, r4, r5, pc}
- 2008 .LVL154:
- 2009 .L180:
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2010 .loc 1 861 0 discriminator 2
- 2011 00de 042D cmp r5, #4
-ARM GAS /tmp/cc32U6bv.s page 82
-
-
- 2012 00e0 09D0 beq .L208
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2013 .loc 1 861 0 is_stmt 0 discriminator 5
- 2014 00e2 082D cmp r5, #8
- 2015 00e4 0FD0 beq .L209
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2016 .loc 1 861 0 discriminator 8
- 2017 00e6 90F84510 ldrb r1, [r0, #69] @ zero_extendqisi2
- 2018 .LVL155:
- 2019 00ea C9B2 uxtb r1, r1
- 2020 00ec 0129 cmp r1, #1
- 2021 00ee 14BF ite ne
- 2022 00f0 0021 movne r1, #0
- 2023 00f2 0121 moveq r1, #1
- 2024 00f4 B6E7 b .L181
- 2025 .LVL156:
- 2026 .L208:
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2027 .loc 1 861 0 discriminator 4
- 2028 00f6 90F84310 ldrb r1, [r0, #67] @ zero_extendqisi2
- 2029 .LVL157:
- 2030 00fa C9B2 uxtb r1, r1
- 2031 00fc 0129 cmp r1, #1
- 2032 00fe 14BF ite ne
- 2033 0100 0021 movne r1, #0
- 2034 0102 0121 moveq r1, #1
- 2035 0104 AEE7 b .L181
- 2036 .LVL158:
- 2037 .L209:
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2038 .loc 1 861 0 discriminator 7
- 2039 0106 90F84410 ldrb r1, [r0, #68] @ zero_extendqisi2
- 2040 .LVL159:
- 2041 010a C9B2 uxtb r1, r1
- 2042 010c 0129 cmp r1, #1
- 2043 010e 14BF ite ne
- 2044 0110 0021 movne r1, #0
- 2045 0112 0121 moveq r1, #1
- 2046 0114 A6E7 b .L181
- 2047 .L206:
- 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2048 .loc 1 863 0 is_stmt 1 discriminator 1
- 2049 0116 002B cmp r3, #0
- 2050 0118 A9D0 beq .L184
- 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2051 .loc 1 865 0
- 2052 011a 0120 movs r0, #1
- 2053 .LVL160:
- 2054 011c 38BD pop {r3, r4, r5, pc}
- 2055 .LVL161:
- 2056 .L185:
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2057 .loc 1 869 0 discriminator 2
- 2058 011e 042D cmp r5, #4
- 2059 0120 05D0 beq .L210
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2060 .loc 1 869 0 is_stmt 0 discriminator 4
-ARM GAS /tmp/cc32U6bv.s page 83
-
-
- 2061 0122 082D cmp r5, #8
- 2062 0124 07D0 beq .L211
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2063 .loc 1 869 0 discriminator 7
- 2064 0126 0221 movs r1, #2
- 2065 0128 80F84510 strb r1, [r0, #69]
- 2066 012c A4E7 b .L186
- 2067 .L210:
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2068 .loc 1 869 0 discriminator 3
- 2069 012e 0221 movs r1, #2
- 2070 0130 80F84310 strb r1, [r0, #67]
- 2071 0134 A0E7 b .L186
- 2072 .L211:
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2073 .loc 1 869 0 discriminator 6
- 2074 0136 0221 movs r1, #2
- 2075 0138 80F84410 strb r1, [r0, #68]
- 2076 013c 9CE7 b .L186
- 2077 .LVL162:
- 2078 .L207:
- 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
- 2079 .loc 1 882 0 is_stmt 1
- 2080 013e 426A ldr r2, [r0, #36]
- 2081 0140 2B48 ldr r0, .L212+4
- 2082 .LVL163:
- 2083 0142 9062 str r0, [r2, #40]
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2084 .loc 1 883 0
- 2085 0144 626A ldr r2, [r4, #36]
- 2086 0146 2B48 ldr r0, .L212+8
- 2087 0148 D062 str r0, [r2, #44]
- 886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2088 .loc 1 886 0
- 2089 014a 626A ldr r2, [r4, #36]
- 2090 014c 2A48 ldr r0, .L212+12
- 2091 014e 1063 str r0, [r2, #48]
- 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2092 .loc 1 889 0
- 2093 0150 2268 ldr r2, [r4]
- 2094 0152 3432 adds r2, r2, #52
- 2095 0154 606A ldr r0, [r4, #36]
- 2096 0156 FFF7FEFF bl HAL_DMA_Start_IT
- 2097 .LVL164:
- 2098 015a 0028 cmp r0, #0
- 2099 015c 3DD1 bne .L198
- 895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 2100 .loc 1 895 0
- 2101 015e 2268 ldr r2, [r4]
- 2102 0160 D368 ldr r3, [r2, #12]
- 2103 0162 43F40073 orr r3, r3, #512
- 2104 0166 D360 str r3, [r2, #12]
- 896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2105 .loc 1 896 0
- 2106 0168 8FE7 b .L189
- 2107 .LVL165:
- 2108 .L190:
-ARM GAS /tmp/cc32U6bv.s page 84
-
-
- 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
- 2109 .loc 1 902 0
- 2110 016a 826A ldr r2, [r0, #40]
- 2111 016c 2048 ldr r0, .L212+4
- 2112 .LVL166:
- 2113 016e 9062 str r0, [r2, #40]
- 903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2114 .loc 1 903 0
- 2115 0170 A26A ldr r2, [r4, #40]
- 2116 0172 2048 ldr r0, .L212+8
- 2117 0174 D062 str r0, [r2, #44]
- 906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2118 .loc 1 906 0
- 2119 0176 A26A ldr r2, [r4, #40]
- 2120 0178 1F48 ldr r0, .L212+12
- 2121 017a 1063 str r0, [r2, #48]
- 909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2122 .loc 1 909 0
- 2123 017c 2268 ldr r2, [r4]
- 2124 017e 3832 adds r2, r2, #56
- 2125 0180 A06A ldr r0, [r4, #40]
- 2126 0182 FFF7FEFF bl HAL_DMA_Start_IT
- 2127 .LVL167:
- 2128 0186 0028 cmp r0, #0
- 2129 0188 29D1 bne .L199
- 915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 2130 .loc 1 915 0
- 2131 018a 2268 ldr r2, [r4]
- 2132 018c D368 ldr r3, [r2, #12]
- 2133 018e 43F48063 orr r3, r3, #1024
- 2134 0192 D360 str r3, [r2, #12]
- 916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2135 .loc 1 916 0
- 2136 0194 79E7 b .L189
- 2137 .LVL168:
- 2138 .L191:
- 922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
- 2139 .loc 1 922 0
- 2140 0196 C26A ldr r2, [r0, #44]
- 2141 0198 1548 ldr r0, .L212+4
- 2142 .LVL169:
- 2143 019a 9062 str r0, [r2, #40]
- 923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2144 .loc 1 923 0
- 2145 019c E26A ldr r2, [r4, #44]
- 2146 019e 1548 ldr r0, .L212+8
- 2147 01a0 D062 str r0, [r2, #44]
- 926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2148 .loc 1 926 0
- 2149 01a2 E26A ldr r2, [r4, #44]
- 2150 01a4 1448 ldr r0, .L212+12
- 2151 01a6 1063 str r0, [r2, #48]
- 929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2152 .loc 1 929 0
- 2153 01a8 2268 ldr r2, [r4]
- 2154 01aa 3C32 adds r2, r2, #60
- 2155 01ac E06A ldr r0, [r4, #44]
-ARM GAS /tmp/cc32U6bv.s page 85
-
-
- 2156 01ae FFF7FEFF bl HAL_DMA_Start_IT
- 2157 .LVL170:
- 2158 01b2 B0B9 cbnz r0, .L200
- 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 2159 .loc 1 935 0
- 2160 01b4 2268 ldr r2, [r4]
- 2161 01b6 D368 ldr r3, [r2, #12]
- 2162 01b8 43F40063 orr r3, r3, #2048
- 2163 01bc D360 str r3, [r2, #12]
- 936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2164 .loc 1 936 0
- 2165 01be 64E7 b .L189
- 2166 .L193:
- 952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 2167 .loc 1 952 0
- 2168 01c0 9A68 ldr r2, [r3, #8]
- 2169 01c2 02F00702 and r2, r2, #7
- 2170 .LVL171:
- 953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2171 .loc 1 953 0
- 2172 01c6 062A cmp r2, #6
- 2173 01c8 0DD0 beq .L201
- 955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2174 .loc 1 955 0
- 2175 01ca 1A68 ldr r2, [r3]
- 2176 .LVL172:
- 2177 01cc 42F00102 orr r2, r2, #1
- 2178 01d0 1A60 str r2, [r3]
- 964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2179 .loc 1 964 0
- 2180 01d2 0020 movs r0, #0
- 2181 01d4 38BD pop {r3, r4, r5, pc}
- 2182 .LVL173:
- 2183 .L196:
- 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2184 .loc 1 874 0
- 2185 01d6 0120 movs r0, #1
- 2186 .LVL174:
- 2187 01d8 38BD pop {r3, r4, r5, pc}
- 2188 .LVL175:
- 2189 .L198:
- 892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2190 .loc 1 892 0
- 2191 01da 0120 movs r0, #1
- 2192 01dc 38BD pop {r3, r4, r5, pc}
- 2193 .LVL176:
- 2194 .L199:
- 912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2195 .loc 1 912 0
- 2196 01de 0120 movs r0, #1
- 2197 01e0 38BD pop {r3, r4, r5, pc}
- 2198 .LVL177:
- 2199 .L200:
- 932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2200 .loc 1 932 0
- 2201 01e2 0120 movs r0, #1
- 2202 01e4 38BD pop {r3, r4, r5, pc}
-ARM GAS /tmp/cc32U6bv.s page 86
-
-
- 2203 .LVL178:
- 2204 .L201:
- 964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2205 .loc 1 964 0
- 2206 01e6 0020 movs r0, #0
- 965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2207 .loc 1 965 0
- 2208 01e8 38BD pop {r3, r4, r5, pc}
- 2209 .LVL179:
- 2210 .L213:
- 2211 01ea 00BF .align 2
- 2212 .L212:
- 2213 01ec 002C0140 .word 1073818624
- 2214 01f0 00000000 .word TIM_DMADelayPulseNCplt
- 2215 01f4 00000000 .word TIM_DMADelayPulseHalfCplt
- 2216 01f8 00000000 .word TIM_DMAErrorCCxN
- 2217 .cfi_endproc
- 2218 .LFE79:
- 2220 .section .text.HAL_TIMEx_OCN_Stop_DMA,"ax",%progbits
- 2221 .align 1
- 2222 .global HAL_TIMEx_OCN_Stop_DMA
- 2223 .syntax unified
- 2224 .thumb
- 2225 .thumb_func
- 2226 .fpu softvfp
- 2228 HAL_TIMEx_OCN_Stop_DMA:
- 2229 .LFB80:
- 979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 2230 .loc 1 979 0
- 2231 .cfi_startproc
- 2232 @ args = 0, pretend = 0, frame = 0
- 2233 @ frame_needed = 0, uses_anonymous_args = 0
- 2234 .LVL180:
- 2235 0000 38B5 push {r3, r4, r5, lr}
- 2236 .LCFI29:
- 2237 .cfi_def_cfa_offset 16
- 2238 .cfi_offset 3, -16
- 2239 .cfi_offset 4, -12
- 2240 .cfi_offset 5, -8
- 2241 .cfi_offset 14, -4
- 2242 0002 0446 mov r4, r0
- 2243 0004 0D46 mov r5, r1
- 983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2244 .loc 1 983 0
- 2245 0006 0429 cmp r1, #4
- 2246 0008 38D0 beq .L216
- 2247 000a 0829 cmp r1, #8
- 2248 000c 3FD0 beq .L217
- 2249 000e 61B3 cbz r1, .L226
- 2250 .LVL181:
- 2251 .L215:
-1014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2252 .loc 1 1014 0
- 2253 0010 0022 movs r2, #0
- 2254 0012 2946 mov r1, r5
- 2255 0014 2068 ldr r0, [r4]
- 2256 0016 FFF7FEFF bl TIM_CCxNChannelCmd
-ARM GAS /tmp/cc32U6bv.s page 87
-
-
- 2257 .LVL182:
-1017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2258 .loc 1 1017 0
- 2259 001a 2368 ldr r3, [r4]
- 2260 001c 196A ldr r1, [r3, #32]
- 2261 001e 41F21112 movw r2, #4369
- 2262 0022 1142 tst r1, r2
- 2263 0024 08D1 bne .L219
-1017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2264 .loc 1 1017 0 is_stmt 0 discriminator 1
- 2265 0026 196A ldr r1, [r3, #32]
- 2266 0028 40F24442 movw r2, #1092
- 2267 002c 1142 tst r1, r2
- 2268 002e 03D1 bne .L219
-1017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2269 .loc 1 1017 0 discriminator 2
- 2270 0030 5A6C ldr r2, [r3, #68]
- 2271 0032 22F40042 bic r2, r2, #32768
- 2272 0036 5A64 str r2, [r3, #68]
- 2273 .L219:
-1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2274 .loc 1 1020 0 is_stmt 1
- 2275 0038 2368 ldr r3, [r4]
- 2276 003a 196A ldr r1, [r3, #32]
- 2277 003c 41F21112 movw r2, #4369
- 2278 0040 1142 tst r1, r2
- 2279 0042 08D1 bne .L220
-1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2280 .loc 1 1020 0 is_stmt 0 discriminator 1
- 2281 0044 196A ldr r1, [r3, #32]
- 2282 0046 40F24442 movw r2, #1092
- 2283 004a 1142 tst r1, r2
- 2284 004c 03D1 bne .L220
-1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2285 .loc 1 1020 0 discriminator 2
- 2286 004e 1A68 ldr r2, [r3]
- 2287 0050 22F00102 bic r2, r2, #1
- 2288 0054 1A60 str r2, [r3]
- 2289 .L220:
-1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2290 .loc 1 1023 0 is_stmt 1
- 2291 0056 1DB3 cbz r5, .L227
-1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2292 .loc 1 1023 0 is_stmt 0 discriminator 2
- 2293 0058 042D cmp r5, #4
- 2294 005a 25D0 beq .L228
-1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2295 .loc 1 1023 0 discriminator 4
- 2296 005c 082D cmp r5, #8
- 2297 005e 27D0 beq .L229
-1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2298 .loc 1 1023 0 discriminator 7
- 2299 0060 0123 movs r3, #1
- 2300 0062 84F84530 strb r3, [r4, #69]
- 2301 .L222:
-1027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2302 .loc 1 1027 0 is_stmt 1
-ARM GAS /tmp/cc32U6bv.s page 88
-
-
- 2303 0066 0020 movs r0, #0
- 2304 0068 38BD pop {r3, r4, r5, pc}
- 2305 .LVL183:
- 2306 .L226:
- 988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
- 2307 .loc 1 988 0
- 2308 006a 0268 ldr r2, [r0]
- 2309 006c D368 ldr r3, [r2, #12]
- 2310 006e 23F40073 bic r3, r3, #512
- 2311 0072 D360 str r3, [r2, #12]
- 989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 2312 .loc 1 989 0
- 2313 0074 406A ldr r0, [r0, #36]
- 2314 .LVL184:
- 2315 0076 FFF7FEFF bl HAL_DMA_Abort_IT
- 2316 .LVL185:
- 990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2317 .loc 1 990 0
- 2318 007a C9E7 b .L215
- 2319 .LVL186:
- 2320 .L216:
- 996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]);
- 2321 .loc 1 996 0
- 2322 007c 0268 ldr r2, [r0]
- 2323 007e D368 ldr r3, [r2, #12]
- 2324 0080 23F48063 bic r3, r3, #1024
- 2325 0084 D360 str r3, [r2, #12]
- 997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 2326 .loc 1 997 0
- 2327 0086 806A ldr r0, [r0, #40]
- 2328 .LVL187:
- 2329 0088 FFF7FEFF bl HAL_DMA_Abort_IT
- 2330 .LVL188:
- 998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2331 .loc 1 998 0
- 2332 008c C0E7 b .L215
- 2333 .LVL189:
- 2334 .L217:
-1004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]);
- 2335 .loc 1 1004 0
- 2336 008e 0268 ldr r2, [r0]
- 2337 0090 D368 ldr r3, [r2, #12]
- 2338 0092 23F40063 bic r3, r3, #2048
- 2339 0096 D360 str r3, [r2, #12]
-1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 2340 .loc 1 1005 0
- 2341 0098 C06A ldr r0, [r0, #44]
- 2342 .LVL190:
- 2343 009a FFF7FEFF bl HAL_DMA_Abort_IT
- 2344 .LVL191:
-1006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2345 .loc 1 1006 0
- 2346 009e B7E7 b .L215
- 2347 .L227:
-1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2348 .loc 1 1023 0 discriminator 1
- 2349 00a0 0123 movs r3, #1
-ARM GAS /tmp/cc32U6bv.s page 89
-
-
- 2350 00a2 84F84230 strb r3, [r4, #66]
- 2351 00a6 DEE7 b .L222
- 2352 .L228:
-1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2353 .loc 1 1023 0 is_stmt 0 discriminator 3
- 2354 00a8 0123 movs r3, #1
- 2355 00aa 84F84330 strb r3, [r4, #67]
- 2356 00ae DAE7 b .L222
- 2357 .L229:
-1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2358 .loc 1 1023 0 discriminator 6
- 2359 00b0 0123 movs r3, #1
- 2360 00b2 84F84430 strb r3, [r4, #68]
- 2361 00b6 D6E7 b .L222
- 2362 .cfi_endproc
- 2363 .LFE80:
- 2365 .section .text.HAL_TIMEx_PWMN_Start,"ax",%progbits
- 2366 .align 1
- 2367 .global HAL_TIMEx_PWMN_Start
- 2368 .syntax unified
- 2369 .thumb
- 2370 .thumb_func
- 2371 .fpu softvfp
- 2373 HAL_TIMEx_PWMN_Start:
- 2374 .LFB81:
-1074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpsmcr;
- 2375 .loc 1 1074 0 is_stmt 1
- 2376 .cfi_startproc
- 2377 @ args = 0, pretend = 0, frame = 0
- 2378 @ frame_needed = 0, uses_anonymous_args = 0
- 2379 .LVL192:
-1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2380 .loc 1 1081 0
- 2381 0000 0A46 mov r2, r1
- 2382 0002 0029 cmp r1, #0
- 2383 0004 36D1 bne .L231
-1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2384 .loc 1 1081 0 is_stmt 0 discriminator 1
- 2385 0006 90F84230 ldrb r3, [r0, #66] @ zero_extendqisi2
- 2386 000a DBB2 uxtb r3, r3
- 2387 000c 13F1FF33 adds r3, r3, #-1
- 2388 0010 18BF it ne
- 2389 0012 0123 movne r3, #1
- 2390 .L232:
-1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2391 .loc 1 1081 0 discriminator 12
- 2392 0014 002B cmp r3, #0
- 2393 0016 64D1 bne .L242
-1074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpsmcr;
- 2394 .loc 1 1074 0 is_stmt 1
- 2395 0018 10B5 push {r4, lr}
- 2396 .LCFI30:
- 2397 .cfi_def_cfa_offset 8
- 2398 .cfi_offset 4, -8
- 2399 .cfi_offset 14, -4
-1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2400 .loc 1 1087 0
-ARM GAS /tmp/cc32U6bv.s page 90
-
-
- 2401 001a 002A cmp r2, #0
- 2402 001c 46D1 bne .L236
-1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2403 .loc 1 1087 0 is_stmt 0 discriminator 1
- 2404 001e 0223 movs r3, #2
- 2405 0020 80F84230 strb r3, [r0, #66]
- 2406 .L237:
- 2407 0024 1146 mov r1, r2
- 2408 .LVL193:
- 2409 0026 0446 mov r4, r0
-1090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2410 .loc 1 1090 0 is_stmt 1
- 2411 0028 0422 movs r2, #4
- 2412 .LVL194:
- 2413 002a 0068 ldr r0, [r0]
- 2414 .LVL195:
- 2415 002c FFF7FEFF bl TIM_CCxNChannelCmd
- 2416 .LVL196:
-1093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2417 .loc 1 1093 0
- 2418 0030 2268 ldr r2, [r4]
- 2419 0032 536C ldr r3, [r2, #68]
- 2420 0034 43F40043 orr r3, r3, #32768
- 2421 0038 5364 str r3, [r2, #68]
-1096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2422 .loc 1 1096 0
- 2423 003a 2368 ldr r3, [r4]
- 2424 003c 2B4A ldr r2, .L252
- 2425 003e 9342 cmp r3, r2
- 2426 0040 44D0 beq .L240
-1096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2427 .loc 1 1096 0 is_stmt 0 discriminator 1
- 2428 0042 02F50062 add r2, r2, #2048
- 2429 0046 9342 cmp r3, r2
- 2430 0048 40D0 beq .L240
-1096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2431 .loc 1 1096 0 discriminator 2
- 2432 004a B3F1804F cmp r3, #1073741824
- 2433 004e 3DD0 beq .L240
-1096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2434 .loc 1 1096 0 discriminator 3
- 2435 0050 A2F59832 sub r2, r2, #77824
- 2436 0054 9342 cmp r3, r2
- 2437 0056 39D0 beq .L240
-1096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2438 .loc 1 1096 0 discriminator 4
- 2439 0058 02F58062 add r2, r2, #1024
- 2440 005c 9342 cmp r3, r2
- 2441 005e 35D0 beq .L240
-1096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2442 .loc 1 1096 0 discriminator 5
- 2443 0060 02F58062 add r2, r2, #1024
- 2444 0064 9342 cmp r3, r2
- 2445 0066 31D0 beq .L240
-1106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2446 .loc 1 1106 0 is_stmt 1
- 2447 0068 1A68 ldr r2, [r3]
-ARM GAS /tmp/cc32U6bv.s page 91
-
-
- 2448 006a 42F00102 orr r2, r2, #1
- 2449 006e 1A60 str r2, [r3]
-1110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2450 .loc 1 1110 0
- 2451 0070 0020 movs r0, #0
- 2452 0072 10BD pop {r4, pc}
- 2453 .LVL197:
- 2454 .L231:
- 2455 .LCFI31:
- 2456 .cfi_def_cfa_offset 0
- 2457 .cfi_restore 4
- 2458 .cfi_restore 14
-1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2459 .loc 1 1081 0 discriminator 2
- 2460 0074 0429 cmp r1, #4
- 2461 0076 09D0 beq .L248
-1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2462 .loc 1 1081 0 is_stmt 0 discriminator 5
- 2463 0078 0829 cmp r1, #8
- 2464 007a 0FD0 beq .L249
-1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2465 .loc 1 1081 0 discriminator 8
- 2466 007c 90F84530 ldrb r3, [r0, #69] @ zero_extendqisi2
- 2467 0080 DBB2 uxtb r3, r3
- 2468 0082 13F1FF33 adds r3, r3, #-1
- 2469 0086 18BF it ne
- 2470 0088 0123 movne r3, #1
- 2471 008a C3E7 b .L232
- 2472 .L248:
-1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2473 .loc 1 1081 0 discriminator 4
- 2474 008c 90F84330 ldrb r3, [r0, #67] @ zero_extendqisi2
- 2475 0090 DBB2 uxtb r3, r3
- 2476 0092 13F1FF33 adds r3, r3, #-1
- 2477 0096 18BF it ne
- 2478 0098 0123 movne r3, #1
- 2479 009a BBE7 b .L232
- 2480 .L249:
-1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2481 .loc 1 1081 0 discriminator 7
- 2482 009c 90F84430 ldrb r3, [r0, #68] @ zero_extendqisi2
- 2483 00a0 DBB2 uxtb r3, r3
- 2484 00a2 13F1FF33 adds r3, r3, #-1
- 2485 00a6 18BF it ne
- 2486 00a8 0123 movne r3, #1
- 2487 00aa B3E7 b .L232
- 2488 .L236:
- 2489 .LCFI32:
- 2490 .cfi_def_cfa_offset 8
- 2491 .cfi_offset 4, -8
- 2492 .cfi_offset 14, -4
-1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2493 .loc 1 1087 0 is_stmt 1 discriminator 2
- 2494 00ac 042A cmp r2, #4
- 2495 00ae 05D0 beq .L250
-1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2496 .loc 1 1087 0 is_stmt 0 discriminator 4
-ARM GAS /tmp/cc32U6bv.s page 92
-
-
- 2497 00b0 082A cmp r2, #8
- 2498 00b2 07D0 beq .L251
-1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2499 .loc 1 1087 0 discriminator 7
- 2500 00b4 0223 movs r3, #2
- 2501 00b6 80F84530 strb r3, [r0, #69]
- 2502 00ba B3E7 b .L237
- 2503 .L250:
-1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2504 .loc 1 1087 0 discriminator 3
- 2505 00bc 0223 movs r3, #2
- 2506 00be 80F84330 strb r3, [r0, #67]
- 2507 00c2 AFE7 b .L237
- 2508 .L251:
-1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2509 .loc 1 1087 0 discriminator 6
- 2510 00c4 0223 movs r3, #2
- 2511 00c6 80F84430 strb r3, [r0, #68]
- 2512 00ca ABE7 b .L237
- 2513 .LVL198:
- 2514 .L240:
-1098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 2515 .loc 1 1098 0 is_stmt 1
- 2516 00cc 9A68 ldr r2, [r3, #8]
- 2517 00ce 02F00702 and r2, r2, #7
- 2518 .LVL199:
-1099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2519 .loc 1 1099 0
- 2520 00d2 062A cmp r2, #6
- 2521 00d4 07D0 beq .L243
-1101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2522 .loc 1 1101 0
- 2523 00d6 1A68 ldr r2, [r3]
- 2524 .LVL200:
- 2525 00d8 42F00102 orr r2, r2, #1
- 2526 00dc 1A60 str r2, [r3]
-1110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2527 .loc 1 1110 0
- 2528 00de 0020 movs r0, #0
- 2529 00e0 10BD pop {r4, pc}
- 2530 .LVL201:
- 2531 .L242:
- 2532 .LCFI33:
- 2533 .cfi_def_cfa_offset 0
- 2534 .cfi_restore 4
- 2535 .cfi_restore 14
-1083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2536 .loc 1 1083 0
- 2537 00e2 0120 movs r0, #1
- 2538 .LVL202:
- 2539 00e4 7047 bx lr
- 2540 .LVL203:
- 2541 .L243:
- 2542 .LCFI34:
- 2543 .cfi_def_cfa_offset 8
- 2544 .cfi_offset 4, -8
- 2545 .cfi_offset 14, -4
-ARM GAS /tmp/cc32U6bv.s page 93
-
-
-1110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2546 .loc 1 1110 0
- 2547 00e6 0020 movs r0, #0
-1111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2548 .loc 1 1111 0
- 2549 00e8 10BD pop {r4, pc}
- 2550 .LVL204:
- 2551 .L253:
- 2552 00ea 00BF .align 2
- 2553 .L252:
- 2554 00ec 002C0140 .word 1073818624
- 2555 .cfi_endproc
- 2556 .LFE81:
- 2558 .section .text.HAL_TIMEx_PWMN_Stop,"ax",%progbits
- 2559 .align 1
- 2560 .global HAL_TIMEx_PWMN_Stop
- 2561 .syntax unified
- 2562 .thumb
- 2563 .thumb_func
- 2564 .fpu softvfp
- 2566 HAL_TIMEx_PWMN_Stop:
- 2567 .LFB82:
-1124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 2568 .loc 1 1124 0
- 2569 .cfi_startproc
- 2570 @ args = 0, pretend = 0, frame = 0
- 2571 @ frame_needed = 0, uses_anonymous_args = 0
- 2572 .LVL205:
- 2573 0000 38B5 push {r3, r4, r5, lr}
- 2574 .LCFI35:
- 2575 .cfi_def_cfa_offset 16
- 2576 .cfi_offset 3, -16
- 2577 .cfi_offset 4, -12
- 2578 .cfi_offset 5, -8
- 2579 .cfi_offset 14, -4
- 2580 0002 0446 mov r4, r0
- 2581 0004 0D46 mov r5, r1
-1129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2582 .loc 1 1129 0
- 2583 0006 0022 movs r2, #0
- 2584 0008 0068 ldr r0, [r0]
- 2585 .LVL206:
- 2586 000a FFF7FEFF bl TIM_CCxNChannelCmd
- 2587 .LVL207:
-1132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2588 .loc 1 1132 0
- 2589 000e 2368 ldr r3, [r4]
- 2590 0010 196A ldr r1, [r3, #32]
- 2591 0012 41F21112 movw r2, #4369
- 2592 0016 1142 tst r1, r2
- 2593 0018 08D1 bne .L255
-1132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2594 .loc 1 1132 0 is_stmt 0 discriminator 1
- 2595 001a 196A ldr r1, [r3, #32]
- 2596 001c 40F24442 movw r2, #1092
- 2597 0020 1142 tst r1, r2
- 2598 0022 03D1 bne .L255
-ARM GAS /tmp/cc32U6bv.s page 94
-
-
-1132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2599 .loc 1 1132 0 discriminator 2
- 2600 0024 5A6C ldr r2, [r3, #68]
- 2601 0026 22F40042 bic r2, r2, #32768
- 2602 002a 5A64 str r2, [r3, #68]
- 2603 .L255:
-1135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2604 .loc 1 1135 0 is_stmt 1
- 2605 002c 2368 ldr r3, [r4]
- 2606 002e 196A ldr r1, [r3, #32]
- 2607 0030 41F21112 movw r2, #4369
- 2608 0034 1142 tst r1, r2
- 2609 0036 08D1 bne .L256
-1135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2610 .loc 1 1135 0 is_stmt 0 discriminator 1
- 2611 0038 196A ldr r1, [r3, #32]
- 2612 003a 40F24442 movw r2, #1092
- 2613 003e 1142 tst r1, r2
- 2614 0040 03D1 bne .L256
-1135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2615 .loc 1 1135 0 discriminator 2
- 2616 0042 1A68 ldr r2, [r3]
- 2617 0044 22F00102 bic r2, r2, #1
- 2618 0048 1A60 str r2, [r3]
- 2619 .L256:
-1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2620 .loc 1 1138 0 is_stmt 1
- 2621 004a 45B1 cbz r5, .L262
-1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2622 .loc 1 1138 0 is_stmt 0 discriminator 2
- 2623 004c 042D cmp r5, #4
- 2624 004e 0AD0 beq .L263
-1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2625 .loc 1 1138 0 discriminator 4
- 2626 0050 082D cmp r5, #8
- 2627 0052 0CD0 beq .L264
-1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2628 .loc 1 1138 0 discriminator 7
- 2629 0054 0123 movs r3, #1
- 2630 0056 84F84530 strb r3, [r4, #69]
- 2631 .L258:
-1142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2632 .loc 1 1142 0 is_stmt 1
- 2633 005a 0020 movs r0, #0
- 2634 005c 38BD pop {r3, r4, r5, pc}
- 2635 .LVL208:
- 2636 .L262:
-1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2637 .loc 1 1138 0 discriminator 1
- 2638 005e 0123 movs r3, #1
- 2639 0060 84F84230 strb r3, [r4, #66]
- 2640 0064 F9E7 b .L258
- 2641 .L263:
-1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2642 .loc 1 1138 0 is_stmt 0 discriminator 3
- 2643 0066 0123 movs r3, #1
- 2644 0068 84F84330 strb r3, [r4, #67]
-ARM GAS /tmp/cc32U6bv.s page 95
-
-
- 2645 006c F5E7 b .L258
- 2646 .L264:
-1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2647 .loc 1 1138 0 discriminator 6
- 2648 006e 0123 movs r3, #1
- 2649 0070 84F84430 strb r3, [r4, #68]
- 2650 0074 F1E7 b .L258
- 2651 .cfi_endproc
- 2652 .LFE82:
- 2654 .section .text.HAL_TIMEx_PWMN_Start_IT,"ax",%progbits
- 2655 .align 1
- 2656 .global HAL_TIMEx_PWMN_Start_IT
- 2657 .syntax unified
- 2658 .thumb
- 2659 .thumb_func
- 2660 .fpu softvfp
- 2662 HAL_TIMEx_PWMN_Start_IT:
- 2663 .LFB83:
-1156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpsmcr;
- 2664 .loc 1 1156 0 is_stmt 1
- 2665 .cfi_startproc
- 2666 @ args = 0, pretend = 0, frame = 0
- 2667 @ frame_needed = 0, uses_anonymous_args = 0
- 2668 .LVL209:
-1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2669 .loc 1 1163 0
- 2670 0000 0B46 mov r3, r1
- 2671 0002 0029 cmp r1, #0
- 2672 0004 42D1 bne .L266
-1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2673 .loc 1 1163 0 is_stmt 0 discriminator 1
- 2674 0006 90F84220 ldrb r2, [r0, #66] @ zero_extendqisi2
- 2675 000a D2B2 uxtb r2, r2
- 2676 000c 12F1FF32 adds r2, r2, #-1
- 2677 0010 18BF it ne
- 2678 0012 0122 movne r2, #1
- 2679 .L267:
-1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2680 .loc 1 1163 0 discriminator 12
- 2681 0014 002A cmp r2, #0
- 2682 0016 40F08280 bne .L281
-1156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpsmcr;
- 2683 .loc 1 1156 0 is_stmt 1
- 2684 001a 10B5 push {r4, lr}
- 2685 .LCFI36:
- 2686 .cfi_def_cfa_offset 8
- 2687 .cfi_offset 4, -8
- 2688 .cfi_offset 14, -4
-1169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2689 .loc 1 1169 0
- 2690 001c 002B cmp r3, #0
- 2691 001e 51D1 bne .L271
-1169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2692 .loc 1 1169 0 is_stmt 0 discriminator 1
- 2693 0020 0222 movs r2, #2
- 2694 0022 80F84220 strb r2, [r0, #66]
- 2695 .L272:
-ARM GAS /tmp/cc32U6bv.s page 96
-
-
-1171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2696 .loc 1 1171 0 is_stmt 1
- 2697 0026 042B cmp r3, #4
- 2698 0028 62D0 beq .L276
- 2699 002a 082B cmp r3, #8
- 2700 002c 66D0 beq .L277
- 2701 002e 002B cmp r3, #0
- 2702 0030 58D0 beq .L287
- 2703 .LVL210:
- 2704 .L275:
- 2705 0032 1946 mov r1, r3
- 2706 0034 0446 mov r4, r0
-1199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2707 .loc 1 1199 0
- 2708 0036 0268 ldr r2, [r0]
- 2709 0038 D368 ldr r3, [r2, #12]
- 2710 .LVL211:
- 2711 003a 43F08003 orr r3, r3, #128
- 2712 003e D360 str r3, [r2, #12]
-1202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2713 .loc 1 1202 0
- 2714 0040 0422 movs r2, #4
- 2715 0042 0068 ldr r0, [r0]
- 2716 .LVL212:
- 2717 0044 FFF7FEFF bl TIM_CCxNChannelCmd
- 2718 .LVL213:
-1205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2719 .loc 1 1205 0
- 2720 0048 2268 ldr r2, [r4]
- 2721 004a 536C ldr r3, [r2, #68]
- 2722 004c 43F40043 orr r3, r3, #32768
- 2723 0050 5364 str r3, [r2, #68]
-1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2724 .loc 1 1208 0
- 2725 0052 2368 ldr r3, [r4]
- 2726 0054 344A ldr r2, .L292
- 2727 0056 9342 cmp r3, r2
- 2728 0058 56D0 beq .L279
-1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2729 .loc 1 1208 0 is_stmt 0 discriminator 1
- 2730 005a 02F50062 add r2, r2, #2048
- 2731 005e 9342 cmp r3, r2
- 2732 0060 52D0 beq .L279
-1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2733 .loc 1 1208 0 discriminator 2
- 2734 0062 B3F1804F cmp r3, #1073741824
- 2735 0066 4FD0 beq .L279
-1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2736 .loc 1 1208 0 discriminator 3
- 2737 0068 A2F59832 sub r2, r2, #77824
- 2738 006c 9342 cmp r3, r2
- 2739 006e 4BD0 beq .L279
-1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2740 .loc 1 1208 0 discriminator 4
- 2741 0070 02F58062 add r2, r2, #1024
- 2742 0074 9342 cmp r3, r2
- 2743 0076 47D0 beq .L279
-ARM GAS /tmp/cc32U6bv.s page 97
-
-
-1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2744 .loc 1 1208 0 discriminator 5
- 2745 0078 02F58062 add r2, r2, #1024
- 2746 007c 9342 cmp r3, r2
- 2747 007e 43D0 beq .L279
-1218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2748 .loc 1 1218 0 is_stmt 1
- 2749 0080 1A68 ldr r2, [r3]
- 2750 0082 42F00102 orr r2, r2, #1
- 2751 0086 1A60 str r2, [r3]
-1222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2752 .loc 1 1222 0
- 2753 0088 0020 movs r0, #0
- 2754 008a 10BD pop {r4, pc}
- 2755 .LVL214:
- 2756 .L266:
- 2757 .LCFI37:
- 2758 .cfi_def_cfa_offset 0
- 2759 .cfi_restore 4
- 2760 .cfi_restore 14
-1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2761 .loc 1 1163 0 discriminator 2
- 2762 008c 0429 cmp r1, #4
- 2763 008e 09D0 beq .L288
-1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2764 .loc 1 1163 0 is_stmt 0 discriminator 5
- 2765 0090 0829 cmp r1, #8
- 2766 0092 0FD0 beq .L289
-1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2767 .loc 1 1163 0 discriminator 8
- 2768 0094 90F84520 ldrb r2, [r0, #69] @ zero_extendqisi2
- 2769 0098 D2B2 uxtb r2, r2
- 2770 009a 12F1FF32 adds r2, r2, #-1
- 2771 009e 18BF it ne
- 2772 00a0 0122 movne r2, #1
- 2773 00a2 B7E7 b .L267
- 2774 .L288:
-1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2775 .loc 1 1163 0 discriminator 4
- 2776 00a4 90F84320 ldrb r2, [r0, #67] @ zero_extendqisi2
- 2777 00a8 D2B2 uxtb r2, r2
- 2778 00aa 12F1FF32 adds r2, r2, #-1
- 2779 00ae 18BF it ne
- 2780 00b0 0122 movne r2, #1
- 2781 00b2 AFE7 b .L267
- 2782 .L289:
-1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2783 .loc 1 1163 0 discriminator 7
- 2784 00b4 90F84420 ldrb r2, [r0, #68] @ zero_extendqisi2
- 2785 00b8 D2B2 uxtb r2, r2
- 2786 00ba 12F1FF32 adds r2, r2, #-1
- 2787 00be 18BF it ne
- 2788 00c0 0122 movne r2, #1
- 2789 00c2 A7E7 b .L267
- 2790 .L271:
- 2791 .LCFI38:
- 2792 .cfi_def_cfa_offset 8
-ARM GAS /tmp/cc32U6bv.s page 98
-
-
- 2793 .cfi_offset 4, -8
- 2794 .cfi_offset 14, -4
-1169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2795 .loc 1 1169 0 is_stmt 1 discriminator 2
- 2796 00c4 042B cmp r3, #4
- 2797 00c6 05D0 beq .L290
-1169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2798 .loc 1 1169 0 is_stmt 0 discriminator 4
- 2799 00c8 082B cmp r3, #8
- 2800 00ca 07D0 beq .L291
-1169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2801 .loc 1 1169 0 discriminator 7
- 2802 00cc 0222 movs r2, #2
- 2803 00ce 80F84520 strb r2, [r0, #69]
- 2804 00d2 A8E7 b .L272
- 2805 .L290:
-1169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2806 .loc 1 1169 0 discriminator 3
- 2807 00d4 0222 movs r2, #2
- 2808 00d6 80F84320 strb r2, [r0, #67]
- 2809 00da A4E7 b .L272
- 2810 .L291:
-1169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2811 .loc 1 1169 0 discriminator 6
- 2812 00dc 0222 movs r2, #2
- 2813 00de 80F84420 strb r2, [r0, #68]
- 2814 00e2 A0E7 b .L272
- 2815 .L287:
-1176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 2816 .loc 1 1176 0 is_stmt 1
- 2817 00e4 0168 ldr r1, [r0]
- 2818 .LVL215:
- 2819 00e6 CA68 ldr r2, [r1, #12]
- 2820 00e8 42F00202 orr r2, r2, #2
- 2821 00ec CA60 str r2, [r1, #12]
-1177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2822 .loc 1 1177 0
- 2823 00ee A0E7 b .L275
- 2824 .LVL216:
- 2825 .L276:
-1183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 2826 .loc 1 1183 0
- 2827 00f0 0168 ldr r1, [r0]
- 2828 .LVL217:
- 2829 00f2 CA68 ldr r2, [r1, #12]
- 2830 00f4 42F00402 orr r2, r2, #4
- 2831 00f8 CA60 str r2, [r1, #12]
-1184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2832 .loc 1 1184 0
- 2833 00fa 9AE7 b .L275
- 2834 .LVL218:
- 2835 .L277:
-1190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 2836 .loc 1 1190 0
- 2837 00fc 0168 ldr r1, [r0]
- 2838 .LVL219:
- 2839 00fe CA68 ldr r2, [r1, #12]
-ARM GAS /tmp/cc32U6bv.s page 99
-
-
- 2840 0100 42F00802 orr r2, r2, #8
- 2841 0104 CA60 str r2, [r1, #12]
-1191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2842 .loc 1 1191 0
- 2843 0106 94E7 b .L275
- 2844 .LVL220:
- 2845 .L279:
-1210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 2846 .loc 1 1210 0
- 2847 0108 9A68 ldr r2, [r3, #8]
- 2848 010a 02F00702 and r2, r2, #7
- 2849 .LVL221:
-1211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2850 .loc 1 1211 0
- 2851 010e 062A cmp r2, #6
- 2852 0110 07D0 beq .L282
-1213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2853 .loc 1 1213 0
- 2854 0112 1A68 ldr r2, [r3]
- 2855 .LVL222:
- 2856 0114 42F00102 orr r2, r2, #1
- 2857 0118 1A60 str r2, [r3]
-1222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2858 .loc 1 1222 0
- 2859 011a 0020 movs r0, #0
- 2860 011c 10BD pop {r4, pc}
- 2861 .LVL223:
- 2862 .L281:
- 2863 .LCFI39:
- 2864 .cfi_def_cfa_offset 0
- 2865 .cfi_restore 4
- 2866 .cfi_restore 14
-1165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2867 .loc 1 1165 0
- 2868 011e 0120 movs r0, #1
- 2869 .LVL224:
- 2870 0120 7047 bx lr
- 2871 .LVL225:
- 2872 .L282:
- 2873 .LCFI40:
- 2874 .cfi_def_cfa_offset 8
- 2875 .cfi_offset 4, -8
- 2876 .cfi_offset 14, -4
-1222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2877 .loc 1 1222 0
- 2878 0122 0020 movs r0, #0
-1223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2879 .loc 1 1223 0
- 2880 0124 10BD pop {r4, pc}
- 2881 .LVL226:
- 2882 .L293:
- 2883 0126 00BF .align 2
- 2884 .L292:
- 2885 0128 002C0140 .word 1073818624
- 2886 .cfi_endproc
- 2887 .LFE83:
- 2889 .section .text.HAL_TIMEx_PWMN_Stop_IT,"ax",%progbits
-ARM GAS /tmp/cc32U6bv.s page 100
-
-
- 2890 .align 1
- 2891 .global HAL_TIMEx_PWMN_Stop_IT
- 2892 .syntax unified
- 2893 .thumb
- 2894 .thumb_func
- 2895 .fpu softvfp
- 2897 HAL_TIMEx_PWMN_Stop_IT:
- 2898 .LFB84:
-1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpccer;
- 2899 .loc 1 1237 0
- 2900 .cfi_startproc
- 2901 @ args = 0, pretend = 0, frame = 0
- 2902 @ frame_needed = 0, uses_anonymous_args = 0
- 2903 .LVL227:
- 2904 0000 38B5 push {r3, r4, r5, lr}
- 2905 .LCFI41:
- 2906 .cfi_def_cfa_offset 16
- 2907 .cfi_offset 3, -16
- 2908 .cfi_offset 4, -12
- 2909 .cfi_offset 5, -8
- 2910 .cfi_offset 14, -4
- 2911 0002 0446 mov r4, r0
- 2912 0004 0D46 mov r5, r1
-1243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2913 .loc 1 1243 0
- 2914 0006 0429 cmp r1, #4
- 2915 0008 40D0 beq .L296
- 2916 000a 0829 cmp r1, #8
- 2917 000c 44D0 beq .L297
- 2918 000e 0029 cmp r1, #0
- 2919 0010 36D0 beq .L307
- 2920 .L295:
-1271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2921 .loc 1 1271 0
- 2922 0012 0022 movs r2, #0
- 2923 0014 2946 mov r1, r5
- 2924 .LVL228:
- 2925 0016 2068 ldr r0, [r4]
- 2926 .LVL229:
- 2927 0018 FFF7FEFF bl TIM_CCxNChannelCmd
- 2928 .LVL230:
-1274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if ((tmpccer & (TIM_CCER_CC1NE | TIM_CCER_CC2NE | TIM_CCER_CC3NE)) == (uint32_t)RESET)
- 2929 .loc 1 1274 0
- 2930 001c 2368 ldr r3, [r4]
- 2931 001e 196A ldr r1, [r3, #32]
- 2932 .LVL231:
-1275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 2933 .loc 1 1275 0
- 2934 0020 40F24442 movw r2, #1092
- 2935 0024 1142 tst r1, r2
- 2936 0026 03D1 bne .L299
-1277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2937 .loc 1 1277 0
- 2938 0028 DA68 ldr r2, [r3, #12]
- 2939 002a 22F08002 bic r2, r2, #128
- 2940 002e DA60 str r2, [r3, #12]
- 2941 .L299:
-ARM GAS /tmp/cc32U6bv.s page 101
-
-
-1281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2942 .loc 1 1281 0
- 2943 0030 2368 ldr r3, [r4]
- 2944 0032 196A ldr r1, [r3, #32]
- 2945 .LVL232:
- 2946 0034 41F21112 movw r2, #4369
- 2947 0038 1142 tst r1, r2
- 2948 003a 08D1 bne .L300
-1281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2949 .loc 1 1281 0 is_stmt 0 discriminator 1
- 2950 003c 196A ldr r1, [r3, #32]
- 2951 003e 40F24442 movw r2, #1092
- 2952 0042 1142 tst r1, r2
- 2953 0044 03D1 bne .L300
-1281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2954 .loc 1 1281 0 discriminator 2
- 2955 0046 5A6C ldr r2, [r3, #68]
- 2956 0048 22F40042 bic r2, r2, #32768
- 2957 004c 5A64 str r2, [r3, #68]
- 2958 .L300:
-1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2959 .loc 1 1284 0 is_stmt 1
- 2960 004e 2368 ldr r3, [r4]
- 2961 0050 196A ldr r1, [r3, #32]
- 2962 0052 41F21112 movw r2, #4369
- 2963 0056 1142 tst r1, r2
- 2964 0058 08D1 bne .L301
-1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2965 .loc 1 1284 0 is_stmt 0 discriminator 1
- 2966 005a 196A ldr r1, [r3, #32]
- 2967 005c 40F24442 movw r2, #1092
- 2968 0060 1142 tst r1, r2
- 2969 0062 03D1 bne .L301
-1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2970 .loc 1 1284 0 discriminator 2
- 2971 0064 1A68 ldr r2, [r3]
- 2972 0066 22F00102 bic r2, r2, #1
- 2973 006a 1A60 str r2, [r3]
- 2974 .L301:
-1287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2975 .loc 1 1287 0 is_stmt 1
- 2976 006c D5B1 cbz r5, .L308
-1287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2977 .loc 1 1287 0 is_stmt 0 discriminator 2
- 2978 006e 042D cmp r5, #4
- 2979 0070 1CD0 beq .L309
-1287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2980 .loc 1 1287 0 discriminator 4
- 2981 0072 082D cmp r5, #8
- 2982 0074 1ED0 beq .L310
-1287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2983 .loc 1 1287 0 discriminator 7
- 2984 0076 0123 movs r3, #1
- 2985 0078 84F84530 strb r3, [r4, #69]
- 2986 .L303:
-1291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 2987 .loc 1 1291 0 is_stmt 1
-ARM GAS /tmp/cc32U6bv.s page 102
-
-
- 2988 007c 0020 movs r0, #0
- 2989 007e 38BD pop {r3, r4, r5, pc}
- 2990 .LVL233:
- 2991 .L307:
-1248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 2992 .loc 1 1248 0
- 2993 0080 0268 ldr r2, [r0]
- 2994 0082 D368 ldr r3, [r2, #12]
- 2995 0084 23F00203 bic r3, r3, #2
- 2996 0088 D360 str r3, [r2, #12]
-1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 2997 .loc 1 1249 0
- 2998 008a C2E7 b .L295
- 2999 .L296:
-1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 3000 .loc 1 1255 0
- 3001 008c 0268 ldr r2, [r0]
- 3002 008e D368 ldr r3, [r2, #12]
- 3003 0090 23F00403 bic r3, r3, #4
- 3004 0094 D360 str r3, [r2, #12]
-1256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3005 .loc 1 1256 0
- 3006 0096 BCE7 b .L295
- 3007 .L297:
-1262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 3008 .loc 1 1262 0
- 3009 0098 0268 ldr r2, [r0]
- 3010 009a D368 ldr r3, [r2, #12]
- 3011 009c 23F00803 bic r3, r3, #8
- 3012 00a0 D360 str r3, [r2, #12]
-1263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3013 .loc 1 1263 0
- 3014 00a2 B6E7 b .L295
- 3015 .LVL234:
- 3016 .L308:
-1287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3017 .loc 1 1287 0 discriminator 1
- 3018 00a4 0123 movs r3, #1
- 3019 00a6 84F84230 strb r3, [r4, #66]
- 3020 00aa E7E7 b .L303
- 3021 .L309:
-1287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3022 .loc 1 1287 0 is_stmt 0 discriminator 3
- 3023 00ac 0123 movs r3, #1
- 3024 00ae 84F84330 strb r3, [r4, #67]
- 3025 00b2 E3E7 b .L303
- 3026 .L310:
-1287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3027 .loc 1 1287 0 discriminator 6
- 3028 00b4 0123 movs r3, #1
- 3029 00b6 84F84430 strb r3, [r4, #68]
- 3030 00ba DFE7 b .L303
- 3031 .cfi_endproc
- 3032 .LFE84:
- 3034 .section .text.HAL_TIMEx_PWMN_Start_DMA,"ax",%progbits
- 3035 .align 1
- 3036 .global HAL_TIMEx_PWMN_Start_DMA
-ARM GAS /tmp/cc32U6bv.s page 103
-
-
- 3037 .syntax unified
- 3038 .thumb
- 3039 .thumb_func
- 3040 .fpu softvfp
- 3042 HAL_TIMEx_PWMN_Start_DMA:
- 3043 .LFB85:
-1307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpsmcr;
- 3044 .loc 1 1307 0 is_stmt 1
- 3045 .cfi_startproc
- 3046 @ args = 0, pretend = 0, frame = 0
- 3047 @ frame_needed = 0, uses_anonymous_args = 0
- 3048 .LVL235:
- 3049 0000 38B5 push {r3, r4, r5, lr}
- 3050 .LCFI42:
- 3051 .cfi_def_cfa_offset 16
- 3052 .cfi_offset 3, -16
- 3053 .cfi_offset 4, -12
- 3054 .cfi_offset 5, -8
- 3055 .cfi_offset 14, -4
-1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3056 .loc 1 1314 0
- 3057 0002 0D46 mov r5, r1
- 3058 0004 49B9 cbnz r1, .L312
-1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3059 .loc 1 1314 0 is_stmt 0 discriminator 1
- 3060 0006 90F84240 ldrb r4, [r0, #66] @ zero_extendqisi2
- 3061 000a E4B2 uxtb r4, r4
- 3062 000c 022C cmp r4, #2
- 3063 000e 14BF ite ne
- 3064 0010 0024 movne r4, #0
- 3065 0012 0124 moveq r4, #1
- 3066 .L313:
-1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3067 .loc 1 1314 0 discriminator 12
- 3068 0014 ECB1 cbz r4, .L340
-1316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3069 .loc 1 1316 0 is_stmt 1
- 3070 0016 0220 movs r0, #2
- 3071 .LVL236:
- 3072 0018 38BD pop {r3, r4, r5, pc}
- 3073 .LVL237:
- 3074 .L312:
-1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3075 .loc 1 1314 0 discriminator 2
- 3076 001a 0429 cmp r1, #4
- 3077 001c 09D0 beq .L341
-1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3078 .loc 1 1314 0 is_stmt 0 discriminator 5
- 3079 001e 0829 cmp r1, #8
- 3080 0020 0FD0 beq .L342
-1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3081 .loc 1 1314 0 discriminator 8
- 3082 0022 90F84540 ldrb r4, [r0, #69] @ zero_extendqisi2
- 3083 0026 E4B2 uxtb r4, r4
- 3084 0028 022C cmp r4, #2
- 3085 002a 14BF ite ne
- 3086 002c 0024 movne r4, #0
-ARM GAS /tmp/cc32U6bv.s page 104
-
-
- 3087 002e 0124 moveq r4, #1
- 3088 0030 F0E7 b .L313
- 3089 .L341:
-1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3090 .loc 1 1314 0 discriminator 4
- 3091 0032 90F84340 ldrb r4, [r0, #67] @ zero_extendqisi2
- 3092 0036 E4B2 uxtb r4, r4
- 3093 0038 022C cmp r4, #2
- 3094 003a 14BF ite ne
- 3095 003c 0024 movne r4, #0
- 3096 003e 0124 moveq r4, #1
- 3097 0040 E8E7 b .L313
- 3098 .L342:
-1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3099 .loc 1 1314 0 discriminator 7
- 3100 0042 90F84440 ldrb r4, [r0, #68] @ zero_extendqisi2
- 3101 0046 E4B2 uxtb r4, r4
- 3102 0048 022C cmp r4, #2
- 3103 004a 14BF ite ne
- 3104 004c 0024 movne r4, #0
- 3105 004e 0124 moveq r4, #1
- 3106 0050 E0E7 b .L313
- 3107 .L340:
-1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3108 .loc 1 1318 0 is_stmt 1
- 3109 0052 002D cmp r5, #0
- 3110 0054 43D1 bne .L317
-1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3111 .loc 1 1318 0 is_stmt 0 discriminator 1
- 3112 0056 90F84210 ldrb r1, [r0, #66] @ zero_extendqisi2
- 3113 .LVL238:
- 3114 005a C9B2 uxtb r1, r1
- 3115 005c 0129 cmp r1, #1
- 3116 005e 14BF ite ne
- 3117 0060 0021 movne r1, #0
- 3118 0062 0121 moveq r1, #1
- 3119 .L318:
-1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3120 .loc 1 1318 0 discriminator 12
- 3121 0064 0029 cmp r1, #0
- 3122 0066 00F0B680 beq .L333
-1320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3123 .loc 1 1320 0 is_stmt 1
- 3124 006a 002A cmp r2, #0
- 3125 006c 53D0 beq .L343
- 3126 .L321:
-1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3127 .loc 1 1326 0
- 3128 006e 002D cmp r5, #0
- 3129 0070 55D1 bne .L322
-1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3130 .loc 1 1326 0 is_stmt 0 discriminator 1
- 3131 0072 0221 movs r1, #2
- 3132 0074 80F84210 strb r1, [r0, #66]
- 3133 .L323:
- 3134 0078 1146 mov r1, r2
- 3135 007a 0446 mov r4, r0
-ARM GAS /tmp/cc32U6bv.s page 105
-
-
-1334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3136 .loc 1 1334 0 is_stmt 1
- 3137 007c 042D cmp r5, #4
- 3138 007e 74D0 beq .L327
- 3139 .LVL239:
- 3140 0080 082D cmp r5, #8
- 3141 0082 00F08880 beq .L328
- 3142 0086 002D cmp r5, #0
- 3143 0088 59D0 beq .L344
- 3144 .LVL240:
- 3145 .L326:
-1401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3146 .loc 1 1401 0
- 3147 008a 0422 movs r2, #4
- 3148 008c 2946 mov r1, r5
- 3149 008e 2068 ldr r0, [r4]
- 3150 0090 FFF7FEFF bl TIM_CCxNChannelCmd
- 3151 .LVL241:
-1404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3152 .loc 1 1404 0
- 3153 0094 2268 ldr r2, [r4]
- 3154 0096 536C ldr r3, [r2, #68]
- 3155 0098 43F40043 orr r3, r3, #32768
- 3156 009c 5364 str r3, [r2, #68]
-1407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3157 .loc 1 1407 0
- 3158 009e 2368 ldr r3, [r4]
- 3159 00a0 524A ldr r2, .L349
- 3160 00a2 9342 cmp r3, r2
- 3161 00a4 00F08C80 beq .L330
-1407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3162 .loc 1 1407 0 is_stmt 0 discriminator 1
- 3163 00a8 02F50062 add r2, r2, #2048
- 3164 00ac 9342 cmp r3, r2
- 3165 00ae 00F08780 beq .L330
-1407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3166 .loc 1 1407 0 discriminator 2
- 3167 00b2 B3F1804F cmp r3, #1073741824
- 3168 00b6 00F08380 beq .L330
-1407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3169 .loc 1 1407 0 discriminator 3
- 3170 00ba A2F59832 sub r2, r2, #77824
- 3171 00be 9342 cmp r3, r2
- 3172 00c0 7ED0 beq .L330
-1407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3173 .loc 1 1407 0 discriminator 4
- 3174 00c2 02F58062 add r2, r2, #1024
- 3175 00c6 9342 cmp r3, r2
- 3176 00c8 7AD0 beq .L330
-1407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3177 .loc 1 1407 0 discriminator 5
- 3178 00ca 02F58062 add r2, r2, #1024
- 3179 00ce 9342 cmp r3, r2
- 3180 00d0 76D0 beq .L330
-1417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3181 .loc 1 1417 0 is_stmt 1
- 3182 00d2 1A68 ldr r2, [r3]
-ARM GAS /tmp/cc32U6bv.s page 106
-
-
- 3183 00d4 42F00102 orr r2, r2, #1
- 3184 00d8 1A60 str r2, [r3]
-1421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3185 .loc 1 1421 0
- 3186 00da 0020 movs r0, #0
- 3187 00dc 38BD pop {r3, r4, r5, pc}
- 3188 .LVL242:
- 3189 .L317:
-1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3190 .loc 1 1318 0 discriminator 2
- 3191 00de 042D cmp r5, #4
- 3192 00e0 09D0 beq .L345
-1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3193 .loc 1 1318 0 is_stmt 0 discriminator 5
- 3194 00e2 082D cmp r5, #8
- 3195 00e4 0FD0 beq .L346
-1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3196 .loc 1 1318 0 discriminator 8
- 3197 00e6 90F84510 ldrb r1, [r0, #69] @ zero_extendqisi2
- 3198 .LVL243:
- 3199 00ea C9B2 uxtb r1, r1
- 3200 00ec 0129 cmp r1, #1
- 3201 00ee 14BF ite ne
- 3202 00f0 0021 movne r1, #0
- 3203 00f2 0121 moveq r1, #1
- 3204 00f4 B6E7 b .L318
- 3205 .LVL244:
- 3206 .L345:
-1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3207 .loc 1 1318 0 discriminator 4
- 3208 00f6 90F84310 ldrb r1, [r0, #67] @ zero_extendqisi2
- 3209 .LVL245:
- 3210 00fa C9B2 uxtb r1, r1
- 3211 00fc 0129 cmp r1, #1
- 3212 00fe 14BF ite ne
- 3213 0100 0021 movne r1, #0
- 3214 0102 0121 moveq r1, #1
- 3215 0104 AEE7 b .L318
- 3216 .LVL246:
- 3217 .L346:
-1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3218 .loc 1 1318 0 discriminator 7
- 3219 0106 90F84410 ldrb r1, [r0, #68] @ zero_extendqisi2
- 3220 .LVL247:
- 3221 010a C9B2 uxtb r1, r1
- 3222 010c 0129 cmp r1, #1
- 3223 010e 14BF ite ne
- 3224 0110 0021 movne r1, #0
- 3225 0112 0121 moveq r1, #1
- 3226 0114 A6E7 b .L318
- 3227 .L343:
-1320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3228 .loc 1 1320 0 is_stmt 1 discriminator 1
- 3229 0116 002B cmp r3, #0
- 3230 0118 A9D0 beq .L321
-1322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3231 .loc 1 1322 0
-ARM GAS /tmp/cc32U6bv.s page 107
-
-
- 3232 011a 0120 movs r0, #1
- 3233 .LVL248:
- 3234 011c 38BD pop {r3, r4, r5, pc}
- 3235 .LVL249:
- 3236 .L322:
-1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3237 .loc 1 1326 0 discriminator 2
- 3238 011e 042D cmp r5, #4
- 3239 0120 05D0 beq .L347
-1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3240 .loc 1 1326 0 is_stmt 0 discriminator 4
- 3241 0122 082D cmp r5, #8
- 3242 0124 07D0 beq .L348
-1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3243 .loc 1 1326 0 discriminator 7
- 3244 0126 0221 movs r1, #2
- 3245 0128 80F84510 strb r1, [r0, #69]
- 3246 012c A4E7 b .L323
- 3247 .L347:
-1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3248 .loc 1 1326 0 discriminator 3
- 3249 012e 0221 movs r1, #2
- 3250 0130 80F84310 strb r1, [r0, #67]
- 3251 0134 A0E7 b .L323
- 3252 .L348:
-1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3253 .loc 1 1326 0 discriminator 6
- 3254 0136 0221 movs r1, #2
- 3255 0138 80F84410 strb r1, [r0, #68]
- 3256 013c 9CE7 b .L323
- 3257 .LVL250:
- 3258 .L344:
-1339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC1]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
- 3259 .loc 1 1339 0 is_stmt 1
- 3260 013e 426A ldr r2, [r0, #36]
- 3261 0140 2B48 ldr r0, .L349+4
- 3262 .LVL251:
- 3263 0142 9062 str r0, [r2, #40]
-1340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3264 .loc 1 1340 0
- 3265 0144 626A ldr r2, [r4, #36]
- 3266 0146 2B48 ldr r0, .L349+8
- 3267 0148 D062 str r0, [r2, #44]
-1343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3268 .loc 1 1343 0
- 3269 014a 626A ldr r2, [r4, #36]
- 3270 014c 2A48 ldr r0, .L349+12
- 3271 014e 1063 str r0, [r2, #48]
-1346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3272 .loc 1 1346 0
- 3273 0150 2268 ldr r2, [r4]
- 3274 0152 3432 adds r2, r2, #52
- 3275 0154 606A ldr r0, [r4, #36]
- 3276 0156 FFF7FEFF bl HAL_DMA_Start_IT
- 3277 .LVL252:
- 3278 015a 0028 cmp r0, #0
- 3279 015c 3DD1 bne .L335
-ARM GAS /tmp/cc32U6bv.s page 108
-
-
-1352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 3280 .loc 1 1352 0
- 3281 015e 2268 ldr r2, [r4]
- 3282 0160 D368 ldr r3, [r2, #12]
- 3283 0162 43F40073 orr r3, r3, #512
- 3284 0166 D360 str r3, [r2, #12]
-1353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3285 .loc 1 1353 0
- 3286 0168 8FE7 b .L326
- 3287 .LVL253:
- 3288 .L327:
-1359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC2]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
- 3289 .loc 1 1359 0
- 3290 016a 826A ldr r2, [r0, #40]
- 3291 016c 2048 ldr r0, .L349+4
- 3292 .LVL254:
- 3293 016e 9062 str r0, [r2, #40]
-1360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3294 .loc 1 1360 0
- 3295 0170 A26A ldr r2, [r4, #40]
- 3296 0172 2048 ldr r0, .L349+8
- 3297 0174 D062 str r0, [r2, #44]
-1363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3298 .loc 1 1363 0
- 3299 0176 A26A ldr r2, [r4, #40]
- 3300 0178 1F48 ldr r0, .L349+12
- 3301 017a 1063 str r0, [r2, #48]
-1366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3302 .loc 1 1366 0
- 3303 017c 2268 ldr r2, [r4]
- 3304 017e 3832 adds r2, r2, #56
- 3305 0180 A06A ldr r0, [r4, #40]
- 3306 0182 FFF7FEFF bl HAL_DMA_Start_IT
- 3307 .LVL255:
- 3308 0186 0028 cmp r0, #0
- 3309 0188 29D1 bne .L336
-1372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 3310 .loc 1 1372 0
- 3311 018a 2268 ldr r2, [r4]
- 3312 018c D368 ldr r3, [r2, #12]
- 3313 018e 43F48063 orr r3, r3, #1024
- 3314 0192 D360 str r3, [r2, #12]
-1373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3315 .loc 1 1373 0
- 3316 0194 79E7 b .L326
- 3317 .LVL256:
- 3318 .L328:
-1379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_CC3]->XferHalfCpltCallback = TIM_DMADelayPulseHalfCplt;
- 3319 .loc 1 1379 0
- 3320 0196 C26A ldr r2, [r0, #44]
- 3321 0198 1548 ldr r0, .L349+4
- 3322 .LVL257:
- 3323 019a 9062 str r0, [r2, #40]
-1380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3324 .loc 1 1380 0
- 3325 019c E26A ldr r2, [r4, #44]
- 3326 019e 1548 ldr r0, .L349+8
-ARM GAS /tmp/cc32U6bv.s page 109
-
-
- 3327 01a0 D062 str r0, [r2, #44]
-1383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3328 .loc 1 1383 0
- 3329 01a2 E26A ldr r2, [r4, #44]
- 3330 01a4 1448 ldr r0, .L349+12
- 3331 01a6 1063 str r0, [r2, #48]
-1386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3332 .loc 1 1386 0
- 3333 01a8 2268 ldr r2, [r4]
- 3334 01aa 3C32 adds r2, r2, #60
- 3335 01ac E06A ldr r0, [r4, #44]
- 3336 01ae FFF7FEFF bl HAL_DMA_Start_IT
- 3337 .LVL258:
- 3338 01b2 B0B9 cbnz r0, .L337
-1392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 3339 .loc 1 1392 0
- 3340 01b4 2268 ldr r2, [r4]
- 3341 01b6 D368 ldr r3, [r2, #12]
- 3342 01b8 43F40063 orr r3, r3, #2048
- 3343 01bc D360 str r3, [r2, #12]
-1393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3344 .loc 1 1393 0
- 3345 01be 64E7 b .L326
- 3346 .L330:
-1409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 3347 .loc 1 1409 0
- 3348 01c0 9A68 ldr r2, [r3, #8]
- 3349 01c2 02F00702 and r2, r2, #7
- 3350 .LVL259:
-1410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3351 .loc 1 1410 0
- 3352 01c6 062A cmp r2, #6
- 3353 01c8 0DD0 beq .L338
-1412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3354 .loc 1 1412 0
- 3355 01ca 1A68 ldr r2, [r3]
- 3356 .LVL260:
- 3357 01cc 42F00102 orr r2, r2, #1
- 3358 01d0 1A60 str r2, [r3]
-1421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3359 .loc 1 1421 0
- 3360 01d2 0020 movs r0, #0
- 3361 01d4 38BD pop {r3, r4, r5, pc}
- 3362 .LVL261:
- 3363 .L333:
-1331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3364 .loc 1 1331 0
- 3365 01d6 0120 movs r0, #1
- 3366 .LVL262:
- 3367 01d8 38BD pop {r3, r4, r5, pc}
- 3368 .LVL263:
- 3369 .L335:
-1349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3370 .loc 1 1349 0
- 3371 01da 0120 movs r0, #1
- 3372 01dc 38BD pop {r3, r4, r5, pc}
- 3373 .LVL264:
-ARM GAS /tmp/cc32U6bv.s page 110
-
-
- 3374 .L336:
-1369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3375 .loc 1 1369 0
- 3376 01de 0120 movs r0, #1
- 3377 01e0 38BD pop {r3, r4, r5, pc}
- 3378 .LVL265:
- 3379 .L337:
-1389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3380 .loc 1 1389 0
- 3381 01e2 0120 movs r0, #1
- 3382 01e4 38BD pop {r3, r4, r5, pc}
- 3383 .LVL266:
- 3384 .L338:
-1421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3385 .loc 1 1421 0
- 3386 01e6 0020 movs r0, #0
-1422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3387 .loc 1 1422 0
- 3388 01e8 38BD pop {r3, r4, r5, pc}
- 3389 .LVL267:
- 3390 .L350:
- 3391 01ea 00BF .align 2
- 3392 .L349:
- 3393 01ec 002C0140 .word 1073818624
- 3394 01f0 00000000 .word TIM_DMADelayPulseNCplt
- 3395 01f4 00000000 .word TIM_DMADelayPulseHalfCplt
- 3396 01f8 00000000 .word TIM_DMAErrorCCxN
- 3397 .cfi_endproc
- 3398 .LFE85:
- 3400 .section .text.HAL_TIMEx_PWMN_Stop_DMA,"ax",%progbits
- 3401 .align 1
- 3402 .global HAL_TIMEx_PWMN_Stop_DMA
- 3403 .syntax unified
- 3404 .thumb
- 3405 .thumb_func
- 3406 .fpu softvfp
- 3408 HAL_TIMEx_PWMN_Stop_DMA:
- 3409 .LFB86:
-1436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 3410 .loc 1 1436 0
- 3411 .cfi_startproc
- 3412 @ args = 0, pretend = 0, frame = 0
- 3413 @ frame_needed = 0, uses_anonymous_args = 0
- 3414 .LVL268:
- 3415 0000 38B5 push {r3, r4, r5, lr}
- 3416 .LCFI43:
- 3417 .cfi_def_cfa_offset 16
- 3418 .cfi_offset 3, -16
- 3419 .cfi_offset 4, -12
- 3420 .cfi_offset 5, -8
- 3421 .cfi_offset 14, -4
- 3422 0002 0446 mov r4, r0
- 3423 0004 0D46 mov r5, r1
-1440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3424 .loc 1 1440 0
- 3425 0006 0429 cmp r1, #4
- 3426 0008 38D0 beq .L353
-ARM GAS /tmp/cc32U6bv.s page 111
-
-
- 3427 000a 0829 cmp r1, #8
- 3428 000c 3FD0 beq .L354
- 3429 000e 61B3 cbz r1, .L363
- 3430 .LVL269:
- 3431 .L352:
-1471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3432 .loc 1 1471 0
- 3433 0010 0022 movs r2, #0
- 3434 0012 2946 mov r1, r5
- 3435 0014 2068 ldr r0, [r4]
- 3436 0016 FFF7FEFF bl TIM_CCxNChannelCmd
- 3437 .LVL270:
-1474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3438 .loc 1 1474 0
- 3439 001a 2368 ldr r3, [r4]
- 3440 001c 196A ldr r1, [r3, #32]
- 3441 001e 41F21112 movw r2, #4369
- 3442 0022 1142 tst r1, r2
- 3443 0024 08D1 bne .L356
-1474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3444 .loc 1 1474 0 is_stmt 0 discriminator 1
- 3445 0026 196A ldr r1, [r3, #32]
- 3446 0028 40F24442 movw r2, #1092
- 3447 002c 1142 tst r1, r2
- 3448 002e 03D1 bne .L356
-1474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3449 .loc 1 1474 0 discriminator 2
- 3450 0030 5A6C ldr r2, [r3, #68]
- 3451 0032 22F40042 bic r2, r2, #32768
- 3452 0036 5A64 str r2, [r3, #68]
- 3453 .L356:
-1477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3454 .loc 1 1477 0 is_stmt 1
- 3455 0038 2368 ldr r3, [r4]
- 3456 003a 196A ldr r1, [r3, #32]
- 3457 003c 41F21112 movw r2, #4369
- 3458 0040 1142 tst r1, r2
- 3459 0042 08D1 bne .L357
-1477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3460 .loc 1 1477 0 is_stmt 0 discriminator 1
- 3461 0044 196A ldr r1, [r3, #32]
- 3462 0046 40F24442 movw r2, #1092
- 3463 004a 1142 tst r1, r2
- 3464 004c 03D1 bne .L357
-1477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3465 .loc 1 1477 0 discriminator 2
- 3466 004e 1A68 ldr r2, [r3]
- 3467 0050 22F00102 bic r2, r2, #1
- 3468 0054 1A60 str r2, [r3]
- 3469 .L357:
-1480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3470 .loc 1 1480 0 is_stmt 1
- 3471 0056 1DB3 cbz r5, .L364
-1480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3472 .loc 1 1480 0 is_stmt 0 discriminator 2
- 3473 0058 042D cmp r5, #4
- 3474 005a 25D0 beq .L365
-ARM GAS /tmp/cc32U6bv.s page 112
-
-
-1480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3475 .loc 1 1480 0 discriminator 4
- 3476 005c 082D cmp r5, #8
- 3477 005e 27D0 beq .L366
-1480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3478 .loc 1 1480 0 discriminator 7
- 3479 0060 0123 movs r3, #1
- 3480 0062 84F84530 strb r3, [r4, #69]
- 3481 .L359:
-1484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3482 .loc 1 1484 0 is_stmt 1
- 3483 0066 0020 movs r0, #0
- 3484 0068 38BD pop {r3, r4, r5, pc}
- 3485 .LVL271:
- 3486 .L363:
-1445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC1]);
- 3487 .loc 1 1445 0
- 3488 006a 0268 ldr r2, [r0]
- 3489 006c D368 ldr r3, [r2, #12]
- 3490 006e 23F40073 bic r3, r3, #512
- 3491 0072 D360 str r3, [r2, #12]
-1446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 3492 .loc 1 1446 0
- 3493 0074 406A ldr r0, [r0, #36]
- 3494 .LVL272:
- 3495 0076 FFF7FEFF bl HAL_DMA_Abort_IT
- 3496 .LVL273:
-1447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3497 .loc 1 1447 0
- 3498 007a C9E7 b .L352
- 3499 .LVL274:
- 3500 .L353:
-1453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC2]);
- 3501 .loc 1 1453 0
- 3502 007c 0268 ldr r2, [r0]
- 3503 007e D368 ldr r3, [r2, #12]
- 3504 0080 23F48063 bic r3, r3, #1024
- 3505 0084 D360 str r3, [r2, #12]
-1454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 3506 .loc 1 1454 0
- 3507 0086 806A ldr r0, [r0, #40]
- 3508 .LVL275:
- 3509 0088 FFF7FEFF bl HAL_DMA_Abort_IT
- 3510 .LVL276:
-1455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3511 .loc 1 1455 0
- 3512 008c C0E7 b .L352
- 3513 .LVL277:
- 3514 .L354:
-1461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (void)HAL_DMA_Abort_IT(htim->hdma[TIM_DMA_ID_CC3]);
- 3515 .loc 1 1461 0
- 3516 008e 0268 ldr r2, [r0]
- 3517 0090 D368 ldr r3, [r2, #12]
- 3518 0092 23F40063 bic r3, r3, #2048
- 3519 0096 D360 str r3, [r2, #12]
-1462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** break;
- 3520 .loc 1 1462 0
-ARM GAS /tmp/cc32U6bv.s page 113
-
-
- 3521 0098 C06A ldr r0, [r0, #44]
- 3522 .LVL278:
- 3523 009a FFF7FEFF bl HAL_DMA_Abort_IT
- 3524 .LVL279:
-1463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3525 .loc 1 1463 0
- 3526 009e B7E7 b .L352
- 3527 .L364:
-1480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3528 .loc 1 1480 0 discriminator 1
- 3529 00a0 0123 movs r3, #1
- 3530 00a2 84F84230 strb r3, [r4, #66]
- 3531 00a6 DEE7 b .L359
- 3532 .L365:
-1480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3533 .loc 1 1480 0 is_stmt 0 discriminator 3
- 3534 00a8 0123 movs r3, #1
- 3535 00aa 84F84330 strb r3, [r4, #67]
- 3536 00ae DAE7 b .L359
- 3537 .L366:
-1480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3538 .loc 1 1480 0 discriminator 6
- 3539 00b0 0123 movs r3, #1
- 3540 00b2 84F84430 strb r3, [r4, #68]
- 3541 00b6 D6E7 b .L359
- 3542 .cfi_endproc
- 3543 .LFE86:
- 3545 .section .text.HAL_TIMEx_OnePulseN_Start,"ax",%progbits
- 3546 .align 1
- 3547 .global HAL_TIMEx_OnePulseN_Start
- 3548 .syntax unified
- 3549 .thumb
- 3550 .thumb_func
- 3551 .fpu softvfp
- 3553 HAL_TIMEx_OnePulseN_Start:
- 3554 .LFB87:
-1519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
- 3555 .loc 1 1519 0 is_stmt 1
- 3556 .cfi_startproc
- 3557 @ args = 0, pretend = 0, frame = 0
- 3558 @ frame_needed = 0, uses_anonymous_args = 0
- 3559 .LVL280:
- 3560 0000 38B5 push {r3, r4, r5, lr}
- 3561 .LCFI44:
- 3562 .cfi_def_cfa_offset 16
- 3563 .cfi_offset 3, -16
- 3564 .cfi_offset 4, -12
- 3565 .cfi_offset 5, -8
- 3566 .cfi_offset 14, -4
-1520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef input_channel_state = TIM_CHANNEL_STATE_GET(htim, input_channel);
- 3567 .loc 1 1520 0
- 3568 0002 0A46 mov r2, r1
- 3569 0004 61B9 cbnz r1, .L386
- 3570 0006 0425 movs r5, #4
- 3571 .L368:
- 3572 .LVL281:
-1521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef output_channel_state = TIM_CHANNEL_N_STATE_GET(htim, OutputChannel);
-ARM GAS /tmp/cc32U6bv.s page 114
-
-
- 3573 .loc 1 1521 0 discriminator 4
- 3574 0008 65B9 cbnz r5, .L369
-1521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef output_channel_state = TIM_CHANNEL_N_STATE_GET(htim, OutputChannel);
- 3575 .loc 1 1521 0 is_stmt 0 discriminator 1
- 3576 000a 90F83E10 ldrb r1, [r0, #62] @ zero_extendqisi2
- 3577 .LVL282:
- 3578 000e C9B2 uxtb r1, r1
- 3579 .L370:
- 3580 .LVL283:
-1522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3581 .loc 1 1522 0 is_stmt 1 discriminator 12
- 3582 0010 8AB9 cbnz r2, .L373
-1522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3583 .loc 1 1522 0 is_stmt 0 discriminator 1
- 3584 0012 90F84230 ldrb r3, [r0, #66] @ zero_extendqisi2
- 3585 0016 DBB2 uxtb r3, r3
- 3586 .L374:
- 3587 .LVL284:
-1528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** || (input_channel_state != HAL_TIM_CHANNEL_STATE_READY))
- 3588 .loc 1 1528 0 is_stmt 1 discriminator 12
- 3589 0018 012B cmp r3, #1
- 3590 001a 1CD0 beq .L390
-1531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3591 .loc 1 1531 0
- 3592 001c 0120 movs r0, #1
- 3593 .LVL285:
- 3594 001e 38BD pop {r3, r4, r5, pc}
- 3595 .LVL286:
- 3596 .L386:
-1520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef input_channel_state = TIM_CHANNEL_STATE_GET(htim, input_channel);
- 3597 .loc 1 1520 0
- 3598 0020 0025 movs r5, #0
- 3599 0022 F1E7 b .L368
- 3600 .LVL287:
- 3601 .L369:
-1521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef output_channel_state = TIM_CHANNEL_N_STATE_GET(htim, OutputChannel);
- 3602 .loc 1 1521 0 discriminator 2
- 3603 0024 1DB9 cbnz r5, .L391
-1521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef output_channel_state = TIM_CHANNEL_N_STATE_GET(htim, OutputChannel);
- 3604 .loc 1 1521 0 is_stmt 0 discriminator 8
- 3605 0026 90F84110 ldrb r1, [r0, #65] @ zero_extendqisi2
- 3606 .LVL288:
- 3607 002a C9B2 uxtb r1, r1
- 3608 002c F0E7 b .L370
- 3609 .LVL289:
- 3610 .L391:
-1521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef output_channel_state = TIM_CHANNEL_N_STATE_GET(htim, OutputChannel);
- 3611 .loc 1 1521 0 discriminator 4
- 3612 002e 90F83F10 ldrb r1, [r0, #63] @ zero_extendqisi2
- 3613 .LVL290:
- 3614 0032 C9B2 uxtb r1, r1
- 3615 0034 ECE7 b .L370
- 3616 .LVL291:
- 3617 .L373:
-1522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3618 .loc 1 1522 0 is_stmt 1 discriminator 2
- 3619 0036 042A cmp r2, #4
-ARM GAS /tmp/cc32U6bv.s page 115
-
-
- 3620 0038 05D0 beq .L392
-1522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3621 .loc 1 1522 0 is_stmt 0 discriminator 5
- 3622 003a 082A cmp r2, #8
- 3623 003c 07D0 beq .L393
-1522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3624 .loc 1 1522 0 discriminator 8
- 3625 003e 90F84530 ldrb r3, [r0, #69] @ zero_extendqisi2
- 3626 0042 DBB2 uxtb r3, r3
- 3627 0044 E8E7 b .L374
- 3628 .L392:
-1522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3629 .loc 1 1522 0 discriminator 4
- 3630 0046 90F84330 ldrb r3, [r0, #67] @ zero_extendqisi2
- 3631 004a DBB2 uxtb r3, r3
- 3632 004c E4E7 b .L374
- 3633 .L393:
-1522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3634 .loc 1 1522 0 discriminator 7
- 3635 004e 90F84430 ldrb r3, [r0, #68] @ zero_extendqisi2
- 3636 0052 DBB2 uxtb r3, r3
- 3637 0054 E0E7 b .L374
- 3638 .LVL292:
- 3639 .L390:
-1529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3640 .loc 1 1529 0 is_stmt 1
- 3641 0056 0129 cmp r1, #1
- 3642 0058 01D0 beq .L394
-1531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3643 .loc 1 1531 0
- 3644 005a 0120 movs r0, #1
- 3645 .LVL293:
-1547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3646 .loc 1 1547 0
- 3647 005c 38BD pop {r3, r4, r5, pc}
- 3648 .LVL294:
- 3649 .L394:
-1535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 3650 .loc 1 1535 0
- 3651 005e C2B9 cbnz r2, .L378
-1535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 3652 .loc 1 1535 0 is_stmt 0 discriminator 1
- 3653 0060 0223 movs r3, #2
- 3654 .LVL295:
- 3655 0062 80F84230 strb r3, [r0, #66]
- 3656 .L379:
-1536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3657 .loc 1 1536 0 is_stmt 1
- 3658 0066 25BB cbnz r5, .L382
-1536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3659 .loc 1 1536 0 is_stmt 0 discriminator 1
- 3660 0068 0223 movs r3, #2
- 3661 006a 80F83E30 strb r3, [r0, #62]
- 3662 .L383:
- 3663 006e 1146 mov r1, r2
- 3664 .LVL296:
- 3665 0070 0446 mov r4, r0
-ARM GAS /tmp/cc32U6bv.s page 116
-
-
-1539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE);
- 3666 .loc 1 1539 0 is_stmt 1
- 3667 0072 0422 movs r2, #4
- 3668 .LVL297:
- 3669 0074 0068 ldr r0, [r0]
- 3670 .LVL298:
- 3671 0076 FFF7FEFF bl TIM_CCxNChannelCmd
- 3672 .LVL299:
-1540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3673 .loc 1 1540 0
- 3674 007a 0122 movs r2, #1
- 3675 007c 2946 mov r1, r5
- 3676 007e 2068 ldr r0, [r4]
- 3677 0080 FFF7FEFF bl TIM_CCxChannelCmd
- 3678 .LVL300:
-1543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3679 .loc 1 1543 0
- 3680 0084 2268 ldr r2, [r4]
- 3681 0086 536C ldr r3, [r2, #68]
- 3682 0088 43F40043 orr r3, r3, #32768
- 3683 008c 5364 str r3, [r2, #68]
-1546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3684 .loc 1 1546 0
- 3685 008e 0020 movs r0, #0
- 3686 0090 38BD pop {r3, r4, r5, pc}
- 3687 .LVL301:
- 3688 .L378:
-1535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 3689 .loc 1 1535 0 discriminator 2
- 3690 0092 042A cmp r2, #4
- 3691 0094 05D0 beq .L395
-1535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 3692 .loc 1 1535 0 is_stmt 0 discriminator 4
- 3693 0096 082A cmp r2, #8
- 3694 0098 07D0 beq .L396
-1535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 3695 .loc 1 1535 0 discriminator 7
- 3696 009a 0223 movs r3, #2
- 3697 .LVL302:
- 3698 009c 80F84530 strb r3, [r0, #69]
- 3699 00a0 E1E7 b .L379
- 3700 .LVL303:
- 3701 .L395:
-1535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 3702 .loc 1 1535 0 discriminator 3
- 3703 00a2 0223 movs r3, #2
- 3704 .LVL304:
- 3705 00a4 80F84330 strb r3, [r0, #67]
- 3706 00a8 DDE7 b .L379
- 3707 .LVL305:
- 3708 .L396:
-1535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 3709 .loc 1 1535 0 discriminator 6
- 3710 00aa 0223 movs r3, #2
- 3711 .LVL306:
- 3712 00ac 80F84430 strb r3, [r0, #68]
- 3713 00b0 D9E7 b .L379
-ARM GAS /tmp/cc32U6bv.s page 117
-
-
- 3714 .L382:
-1536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3715 .loc 1 1536 0 is_stmt 1 discriminator 2
- 3716 00b2 1DB9 cbnz r5, .L397
-1536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3717 .loc 1 1536 0 is_stmt 0 discriminator 7
- 3718 00b4 0223 movs r3, #2
- 3719 00b6 80F84130 strb r3, [r0, #65]
- 3720 00ba D8E7 b .L383
- 3721 .L397:
-1536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3722 .loc 1 1536 0 discriminator 3
- 3723 00bc 0223 movs r3, #2
- 3724 00be 80F83F30 strb r3, [r0, #63]
- 3725 00c2 D4E7 b .L383
- 3726 .cfi_endproc
- 3727 .LFE87:
- 3729 .section .text.HAL_TIMEx_OnePulseN_Stop,"ax",%progbits
- 3730 .align 1
- 3731 .global HAL_TIMEx_OnePulseN_Stop
- 3732 .syntax unified
- 3733 .thumb
- 3734 .thumb_func
- 3735 .fpu softvfp
- 3737 HAL_TIMEx_OnePulseN_Stop:
- 3738 .LFB88:
-1560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
- 3739 .loc 1 1560 0 is_stmt 1
- 3740 .cfi_startproc
- 3741 @ args = 0, pretend = 0, frame = 0
- 3742 @ frame_needed = 0, uses_anonymous_args = 0
- 3743 .LVL307:
- 3744 0000 70B5 push {r4, r5, r6, lr}
- 3745 .LCFI45:
- 3746 .cfi_def_cfa_offset 16
- 3747 .cfi_offset 4, -16
- 3748 .cfi_offset 5, -12
- 3749 .cfi_offset 6, -8
- 3750 .cfi_offset 14, -4
- 3751 0002 0446 mov r4, r0
-1561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3752 .loc 1 1561 0
- 3753 0004 0D46 mov r5, r1
- 3754 0006 0029 cmp r1, #0
- 3755 0008 33D1 bne .L410
- 3756 000a 0426 movs r6, #4
- 3757 .L399:
- 3758 .LVL308:
-1567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE);
- 3759 .loc 1 1567 0 discriminator 4
- 3760 000c 0022 movs r2, #0
- 3761 000e 2946 mov r1, r5
- 3762 .LVL309:
- 3763 0010 2068 ldr r0, [r4]
- 3764 .LVL310:
- 3765 0012 FFF7FEFF bl TIM_CCxNChannelCmd
- 3766 .LVL311:
-ARM GAS /tmp/cc32U6bv.s page 118
-
-
-1568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3767 .loc 1 1568 0 discriminator 4
- 3768 0016 0022 movs r2, #0
- 3769 0018 3146 mov r1, r6
- 3770 001a 2068 ldr r0, [r4]
- 3771 001c FFF7FEFF bl TIM_CCxChannelCmd
- 3772 .LVL312:
-1571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3773 .loc 1 1571 0 discriminator 4
- 3774 0020 2368 ldr r3, [r4]
- 3775 0022 196A ldr r1, [r3, #32]
- 3776 0024 41F21112 movw r2, #4369
- 3777 0028 1142 tst r1, r2
- 3778 002a 08D1 bne .L400
-1571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3779 .loc 1 1571 0 is_stmt 0 discriminator 1
- 3780 002c 196A ldr r1, [r3, #32]
- 3781 002e 40F24442 movw r2, #1092
- 3782 0032 1142 tst r1, r2
- 3783 0034 03D1 bne .L400
-1571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3784 .loc 1 1571 0 discriminator 2
- 3785 0036 5A6C ldr r2, [r3, #68]
- 3786 0038 22F40042 bic r2, r2, #32768
- 3787 003c 5A64 str r2, [r3, #68]
- 3788 .L400:
-1574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3789 .loc 1 1574 0 is_stmt 1
- 3790 003e 2368 ldr r3, [r4]
- 3791 0040 196A ldr r1, [r3, #32]
- 3792 0042 41F21112 movw r2, #4369
- 3793 0046 1142 tst r1, r2
- 3794 0048 08D1 bne .L401
-1574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3795 .loc 1 1574 0 is_stmt 0 discriminator 1
- 3796 004a 196A ldr r1, [r3, #32]
- 3797 004c 40F24442 movw r2, #1092
- 3798 0050 1142 tst r1, r2
- 3799 0052 03D1 bne .L401
-1574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3800 .loc 1 1574 0 discriminator 2
- 3801 0054 1A68 ldr r2, [r3]
- 3802 0056 22F00102 bic r2, r2, #1
- 3803 005a 1A60 str r2, [r3]
- 3804 .L401:
-1577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_READY);
- 3805 .loc 1 1577 0 is_stmt 1
- 3806 005c 5DB9 cbnz r5, .L402
-1577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_READY);
- 3807 .loc 1 1577 0 is_stmt 0 discriminator 1
- 3808 005e 0123 movs r3, #1
- 3809 0060 84F84230 strb r3, [r4, #66]
- 3810 .L403:
-1578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3811 .loc 1 1578 0 is_stmt 1
- 3812 0064 BEB1 cbz r6, .L412
-1578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
-ARM GAS /tmp/cc32U6bv.s page 119
-
-
- 3813 .loc 1 1578 0 is_stmt 0 discriminator 2
- 3814 0066 D6B9 cbnz r6, .L413
-1578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3815 .loc 1 1578 0 discriminator 7
- 3816 0068 0123 movs r3, #1
- 3817 006a 84F84130 strb r3, [r4, #65]
- 3818 .L407:
-1582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3819 .loc 1 1582 0 is_stmt 1
- 3820 006e 0020 movs r0, #0
- 3821 0070 70BD pop {r4, r5, r6, pc}
- 3822 .LVL313:
- 3823 .L410:
-1561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3824 .loc 1 1561 0
- 3825 0072 0026 movs r6, #0
- 3826 0074 CAE7 b .L399
- 3827 .LVL314:
- 3828 .L402:
-1577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_READY);
- 3829 .loc 1 1577 0 discriminator 2
- 3830 0076 042D cmp r5, #4
- 3831 0078 05D0 beq .L414
-1577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_READY);
- 3832 .loc 1 1577 0 is_stmt 0 discriminator 4
- 3833 007a 082D cmp r5, #8
- 3834 007c 07D0 beq .L415
-1577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_READY);
- 3835 .loc 1 1577 0 discriminator 7
- 3836 007e 0123 movs r3, #1
- 3837 0080 84F84530 strb r3, [r4, #69]
- 3838 0084 EEE7 b .L403
- 3839 .L414:
-1577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_READY);
- 3840 .loc 1 1577 0 discriminator 3
- 3841 0086 0123 movs r3, #1
- 3842 0088 84F84330 strb r3, [r4, #67]
- 3843 008c EAE7 b .L403
- 3844 .L415:
-1577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_READY);
- 3845 .loc 1 1577 0 discriminator 6
- 3846 008e 0123 movs r3, #1
- 3847 0090 84F84430 strb r3, [r4, #68]
- 3848 0094 E6E7 b .L403
- 3849 .L412:
-1578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3850 .loc 1 1578 0 is_stmt 1 discriminator 1
- 3851 0096 0123 movs r3, #1
- 3852 0098 84F83E30 strb r3, [r4, #62]
- 3853 009c E7E7 b .L407
- 3854 .L413:
-1578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3855 .loc 1 1578 0 is_stmt 0 discriminator 3
- 3856 009e 0123 movs r3, #1
- 3857 00a0 84F83F30 strb r3, [r4, #63]
- 3858 00a4 E3E7 b .L407
- 3859 .cfi_endproc
-ARM GAS /tmp/cc32U6bv.s page 120
-
-
- 3860 .LFE88:
- 3862 .section .text.HAL_TIMEx_OnePulseN_Start_IT,"ax",%progbits
- 3863 .align 1
- 3864 .global HAL_TIMEx_OnePulseN_Start_IT
- 3865 .syntax unified
- 3866 .thumb
- 3867 .thumb_func
- 3868 .fpu softvfp
- 3870 HAL_TIMEx_OnePulseN_Start_IT:
- 3871 .LFB89:
-1595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
- 3872 .loc 1 1595 0 is_stmt 1
- 3873 .cfi_startproc
- 3874 @ args = 0, pretend = 0, frame = 0
- 3875 @ frame_needed = 0, uses_anonymous_args = 0
- 3876 .LVL315:
- 3877 0000 38B5 push {r3, r4, r5, lr}
- 3878 .LCFI46:
- 3879 .cfi_def_cfa_offset 16
- 3880 .cfi_offset 3, -16
- 3881 .cfi_offset 4, -12
- 3882 .cfi_offset 5, -8
- 3883 .cfi_offset 14, -4
-1596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef input_channel_state = TIM_CHANNEL_STATE_GET(htim, input_channel);
- 3884 .loc 1 1596 0
- 3885 0002 0A46 mov r2, r1
- 3886 0004 61B9 cbnz r1, .L435
- 3887 0006 0424 movs r4, #4
- 3888 .L417:
- 3889 .LVL316:
-1597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef output_channel_state = TIM_CHANNEL_N_STATE_GET(htim, OutputChannel);
- 3890 .loc 1 1597 0 discriminator 4
- 3891 0008 64B9 cbnz r4, .L418
-1597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef output_channel_state = TIM_CHANNEL_N_STATE_GET(htim, OutputChannel);
- 3892 .loc 1 1597 0 is_stmt 0 discriminator 1
- 3893 000a 90F83E10 ldrb r1, [r0, #62] @ zero_extendqisi2
- 3894 .LVL317:
- 3895 000e C9B2 uxtb r1, r1
- 3896 .L419:
- 3897 .LVL318:
-1598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3898 .loc 1 1598 0 is_stmt 1 discriminator 12
- 3899 0010 8AB9 cbnz r2, .L422
-1598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3900 .loc 1 1598 0 is_stmt 0 discriminator 1
- 3901 0012 90F84230 ldrb r3, [r0, #66] @ zero_extendqisi2
- 3902 0016 DBB2 uxtb r3, r3
- 3903 .L423:
- 3904 .LVL319:
-1604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** || (input_channel_state != HAL_TIM_CHANNEL_STATE_READY))
- 3905 .loc 1 1604 0 is_stmt 1 discriminator 12
- 3906 0018 012B cmp r3, #1
- 3907 001a 1CD0 beq .L439
-1607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3908 .loc 1 1607 0
- 3909 001c 0120 movs r0, #1
- 3910 .LVL320:
-ARM GAS /tmp/cc32U6bv.s page 121
-
-
- 3911 001e 38BD pop {r3, r4, r5, pc}
- 3912 .LVL321:
- 3913 .L435:
-1596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef input_channel_state = TIM_CHANNEL_STATE_GET(htim, input_channel);
- 3914 .loc 1 1596 0
- 3915 0020 0024 movs r4, #0
- 3916 0022 F1E7 b .L417
- 3917 .LVL322:
- 3918 .L418:
-1597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef output_channel_state = TIM_CHANNEL_N_STATE_GET(htim, OutputChannel);
- 3919 .loc 1 1597 0 discriminator 2
- 3920 0024 1CB9 cbnz r4, .L440
-1597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef output_channel_state = TIM_CHANNEL_N_STATE_GET(htim, OutputChannel);
- 3921 .loc 1 1597 0 is_stmt 0 discriminator 8
- 3922 0026 90F84110 ldrb r1, [r0, #65] @ zero_extendqisi2
- 3923 .LVL323:
- 3924 002a C9B2 uxtb r1, r1
- 3925 002c F0E7 b .L419
- 3926 .LVL324:
- 3927 .L440:
-1597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef output_channel_state = TIM_CHANNEL_N_STATE_GET(htim, OutputChannel);
- 3928 .loc 1 1597 0 discriminator 4
- 3929 002e 90F83F10 ldrb r1, [r0, #63] @ zero_extendqisi2
- 3930 .LVL325:
- 3931 0032 C9B2 uxtb r1, r1
- 3932 0034 ECE7 b .L419
- 3933 .LVL326:
- 3934 .L422:
-1598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3935 .loc 1 1598 0 is_stmt 1 discriminator 2
- 3936 0036 042A cmp r2, #4
- 3937 0038 05D0 beq .L441
-1598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3938 .loc 1 1598 0 is_stmt 0 discriminator 5
- 3939 003a 082A cmp r2, #8
- 3940 003c 07D0 beq .L442
-1598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3941 .loc 1 1598 0 discriminator 8
- 3942 003e 90F84530 ldrb r3, [r0, #69] @ zero_extendqisi2
- 3943 0042 DBB2 uxtb r3, r3
- 3944 0044 E8E7 b .L423
- 3945 .L441:
-1598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3946 .loc 1 1598 0 discriminator 4
- 3947 0046 90F84330 ldrb r3, [r0, #67] @ zero_extendqisi2
- 3948 004a DBB2 uxtb r3, r3
- 3949 004c E4E7 b .L423
- 3950 .L442:
-1598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3951 .loc 1 1598 0 discriminator 7
- 3952 004e 90F84430 ldrb r3, [r0, #68] @ zero_extendqisi2
- 3953 0052 DBB2 uxtb r3, r3
- 3954 0054 E0E7 b .L423
- 3955 .LVL327:
- 3956 .L439:
-1605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 3957 .loc 1 1605 0 is_stmt 1
-ARM GAS /tmp/cc32U6bv.s page 122
-
-
- 3958 0056 0129 cmp r1, #1
- 3959 0058 01D0 beq .L443
-1607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 3960 .loc 1 1607 0
- 3961 005a 0120 movs r0, #1
- 3962 .LVL328:
-1629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3963 .loc 1 1629 0
- 3964 005c 38BD pop {r3, r4, r5, pc}
- 3965 .LVL329:
- 3966 .L443:
-1611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 3967 .loc 1 1611 0
- 3968 005e 12BB cbnz r2, .L427
-1611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 3969 .loc 1 1611 0 is_stmt 0 discriminator 1
- 3970 0060 0223 movs r3, #2
- 3971 .LVL330:
- 3972 0062 80F84230 strb r3, [r0, #66]
- 3973 .L428:
-1612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3974 .loc 1 1612 0 is_stmt 1
- 3975 0066 74BB cbnz r4, .L431
-1612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3976 .loc 1 1612 0 is_stmt 0 discriminator 1
- 3977 0068 0223 movs r3, #2
- 3978 006a 80F83E30 strb r3, [r0, #62]
- 3979 .L432:
- 3980 006e 1146 mov r1, r2
- 3981 .LVL331:
- 3982 0070 0546 mov r5, r0
-1615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3983 .loc 1 1615 0 is_stmt 1
- 3984 0072 0268 ldr r2, [r0]
- 3985 .LVL332:
- 3986 0074 D368 ldr r3, [r2, #12]
- 3987 0076 43F00203 orr r3, r3, #2
- 3988 007a D360 str r3, [r2, #12]
-1618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 3989 .loc 1 1618 0
- 3990 007c 0268 ldr r2, [r0]
- 3991 007e D368 ldr r3, [r2, #12]
- 3992 0080 43F00403 orr r3, r3, #4
- 3993 0084 D360 str r3, [r2, #12]
-1621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_ENABLE);
- 3994 .loc 1 1621 0
- 3995 0086 0422 movs r2, #4
- 3996 0088 0068 ldr r0, [r0]
- 3997 .LVL333:
- 3998 008a FFF7FEFF bl TIM_CCxNChannelCmd
- 3999 .LVL334:
-1622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4000 .loc 1 1622 0
- 4001 008e 0122 movs r2, #1
- 4002 0090 2146 mov r1, r4
- 4003 0092 2868 ldr r0, [r5]
- 4004 0094 FFF7FEFF bl TIM_CCxChannelCmd
-ARM GAS /tmp/cc32U6bv.s page 123
-
-
- 4005 .LVL335:
-1625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4006 .loc 1 1625 0
- 4007 0098 2A68 ldr r2, [r5]
- 4008 009a 536C ldr r3, [r2, #68]
- 4009 009c 43F40043 orr r3, r3, #32768
- 4010 00a0 5364 str r3, [r2, #68]
-1628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 4011 .loc 1 1628 0
- 4012 00a2 0020 movs r0, #0
- 4013 00a4 38BD pop {r3, r4, r5, pc}
- 4014 .LVL336:
- 4015 .L427:
-1611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 4016 .loc 1 1611 0 discriminator 2
- 4017 00a6 042A cmp r2, #4
- 4018 00a8 05D0 beq .L444
-1611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 4019 .loc 1 1611 0 is_stmt 0 discriminator 4
- 4020 00aa 082A cmp r2, #8
- 4021 00ac 07D0 beq .L445
-1611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 4022 .loc 1 1611 0 discriminator 7
- 4023 00ae 0223 movs r3, #2
- 4024 .LVL337:
- 4025 00b0 80F84530 strb r3, [r0, #69]
- 4026 00b4 D7E7 b .L428
- 4027 .LVL338:
- 4028 .L444:
-1611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 4029 .loc 1 1611 0 discriminator 3
- 4030 00b6 0223 movs r3, #2
- 4031 .LVL339:
- 4032 00b8 80F84330 strb r3, [r0, #67]
- 4033 00bc D3E7 b .L428
- 4034 .LVL340:
- 4035 .L445:
-1611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_BUSY);
- 4036 .loc 1 1611 0 discriminator 6
- 4037 00be 0223 movs r3, #2
- 4038 .LVL341:
- 4039 00c0 80F84430 strb r3, [r0, #68]
- 4040 00c4 CFE7 b .L428
- 4041 .L431:
-1612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4042 .loc 1 1612 0 is_stmt 1 discriminator 2
- 4043 00c6 1CB9 cbnz r4, .L446
-1612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4044 .loc 1 1612 0 is_stmt 0 discriminator 7
- 4045 00c8 0223 movs r3, #2
- 4046 00ca 80F84130 strb r3, [r0, #65]
- 4047 00ce CEE7 b .L432
- 4048 .L446:
-1612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4049 .loc 1 1612 0 discriminator 3
- 4050 00d0 0223 movs r3, #2
- 4051 00d2 80F83F30 strb r3, [r0, #63]
-ARM GAS /tmp/cc32U6bv.s page 124
-
-
- 4052 00d6 CAE7 b .L432
- 4053 .cfi_endproc
- 4054 .LFE89:
- 4056 .section .text.HAL_TIMEx_OnePulseN_Stop_IT,"ax",%progbits
- 4057 .align 1
- 4058 .global HAL_TIMEx_OnePulseN_Stop_IT
- 4059 .syntax unified
- 4060 .thumb
- 4061 .thumb_func
- 4062 .fpu softvfp
- 4064 HAL_TIMEx_OnePulseN_Stop_IT:
- 4065 .LFB90:
-1642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t input_channel = (OutputChannel == TIM_CHANNEL_1) ? TIM_CHANNEL_2 : TIM_CHANNEL_1;
- 4066 .loc 1 1642 0 is_stmt 1
- 4067 .cfi_startproc
- 4068 @ args = 0, pretend = 0, frame = 0
- 4069 @ frame_needed = 0, uses_anonymous_args = 0
- 4070 .LVL342:
- 4071 0000 70B5 push {r4, r5, r6, lr}
- 4072 .LCFI47:
- 4073 .cfi_def_cfa_offset 16
- 4074 .cfi_offset 4, -16
- 4075 .cfi_offset 5, -12
- 4076 .cfi_offset 6, -8
- 4077 .cfi_offset 14, -4
- 4078 0002 0446 mov r4, r0
-1643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4079 .loc 1 1643 0
- 4080 0004 0D46 mov r5, r1
- 4081 0006 0029 cmp r1, #0
- 4082 0008 3DD1 bne .L459
- 4083 000a 0426 movs r6, #4
- 4084 .L448:
- 4085 .LVL343:
-1649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4086 .loc 1 1649 0 discriminator 4
- 4087 000c 2268 ldr r2, [r4]
- 4088 000e D368 ldr r3, [r2, #12]
- 4089 0010 23F00203 bic r3, r3, #2
- 4090 0014 D360 str r3, [r2, #12]
-1652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4091 .loc 1 1652 0 discriminator 4
- 4092 0016 2268 ldr r2, [r4]
- 4093 0018 D368 ldr r3, [r2, #12]
- 4094 001a 23F00403 bic r3, r3, #4
- 4095 001e D360 str r3, [r2, #12]
-1655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CCxChannelCmd(htim->Instance, input_channel, TIM_CCx_DISABLE);
- 4096 .loc 1 1655 0 discriminator 4
- 4097 0020 0022 movs r2, #0
- 4098 0022 2946 mov r1, r5
- 4099 .LVL344:
- 4100 0024 2068 ldr r0, [r4]
- 4101 .LVL345:
- 4102 0026 FFF7FEFF bl TIM_CCxNChannelCmd
- 4103 .LVL346:
-1656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4104 .loc 1 1656 0 discriminator 4
-ARM GAS /tmp/cc32U6bv.s page 125
-
-
- 4105 002a 0022 movs r2, #0
- 4106 002c 3146 mov r1, r6
- 4107 002e 2068 ldr r0, [r4]
- 4108 0030 FFF7FEFF bl TIM_CCxChannelCmd
- 4109 .LVL347:
-1659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4110 .loc 1 1659 0 discriminator 4
- 4111 0034 2368 ldr r3, [r4]
- 4112 0036 196A ldr r1, [r3, #32]
- 4113 0038 41F21112 movw r2, #4369
- 4114 003c 1142 tst r1, r2
- 4115 003e 08D1 bne .L449
-1659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4116 .loc 1 1659 0 is_stmt 0 discriminator 1
- 4117 0040 196A ldr r1, [r3, #32]
- 4118 0042 40F24442 movw r2, #1092
- 4119 0046 1142 tst r1, r2
- 4120 0048 03D1 bne .L449
-1659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4121 .loc 1 1659 0 discriminator 2
- 4122 004a 5A6C ldr r2, [r3, #68]
- 4123 004c 22F40042 bic r2, r2, #32768
- 4124 0050 5A64 str r2, [r3, #68]
- 4125 .L449:
-1662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4126 .loc 1 1662 0 is_stmt 1
- 4127 0052 2368 ldr r3, [r4]
- 4128 0054 196A ldr r1, [r3, #32]
- 4129 0056 41F21112 movw r2, #4369
- 4130 005a 1142 tst r1, r2
- 4131 005c 08D1 bne .L450
-1662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4132 .loc 1 1662 0 is_stmt 0 discriminator 1
- 4133 005e 196A ldr r1, [r3, #32]
- 4134 0060 40F24442 movw r2, #1092
- 4135 0064 1142 tst r1, r2
- 4136 0066 03D1 bne .L450
-1662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4137 .loc 1 1662 0 discriminator 2
- 4138 0068 1A68 ldr r2, [r3]
- 4139 006a 22F00102 bic r2, r2, #1
- 4140 006e 1A60 str r2, [r3]
- 4141 .L450:
-1665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_READY);
- 4142 .loc 1 1665 0 is_stmt 1
- 4143 0070 5DB9 cbnz r5, .L451
-1665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_READY);
- 4144 .loc 1 1665 0 is_stmt 0 discriminator 1
- 4145 0072 0123 movs r3, #1
- 4146 0074 84F84230 strb r3, [r4, #66]
- 4147 .L452:
-1666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4148 .loc 1 1666 0 is_stmt 1
- 4149 0078 BEB1 cbz r6, .L461
-1666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4150 .loc 1 1666 0 is_stmt 0 discriminator 2
- 4151 007a D6B9 cbnz r6, .L462
-ARM GAS /tmp/cc32U6bv.s page 126
-
-
-1666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4152 .loc 1 1666 0 discriminator 7
- 4153 007c 0123 movs r3, #1
- 4154 007e 84F84130 strb r3, [r4, #65]
- 4155 .L456:
-1670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4156 .loc 1 1670 0 is_stmt 1
- 4157 0082 0020 movs r0, #0
- 4158 0084 70BD pop {r4, r5, r6, pc}
- 4159 .LVL348:
- 4160 .L459:
-1643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4161 .loc 1 1643 0
- 4162 0086 0026 movs r6, #0
- 4163 0088 C0E7 b .L448
- 4164 .LVL349:
- 4165 .L451:
-1665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_READY);
- 4166 .loc 1 1665 0 discriminator 2
- 4167 008a 042D cmp r5, #4
- 4168 008c 05D0 beq .L463
-1665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_READY);
- 4169 .loc 1 1665 0 is_stmt 0 discriminator 4
- 4170 008e 082D cmp r5, #8
- 4171 0090 07D0 beq .L464
-1665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_READY);
- 4172 .loc 1 1665 0 discriminator 7
- 4173 0092 0123 movs r3, #1
- 4174 0094 84F84530 strb r3, [r4, #69]
- 4175 0098 EEE7 b .L452
- 4176 .L463:
-1665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_READY);
- 4177 .loc 1 1665 0 discriminator 3
- 4178 009a 0123 movs r3, #1
- 4179 009c 84F84330 strb r3, [r4, #67]
- 4180 00a0 EAE7 b .L452
- 4181 .L464:
-1665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_CHANNEL_STATE_SET(htim, input_channel, HAL_TIM_CHANNEL_STATE_READY);
- 4182 .loc 1 1665 0 discriminator 6
- 4183 00a2 0123 movs r3, #1
- 4184 00a4 84F84430 strb r3, [r4, #68]
- 4185 00a8 E6E7 b .L452
- 4186 .L461:
-1666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4187 .loc 1 1666 0 is_stmt 1 discriminator 1
- 4188 00aa 0123 movs r3, #1
- 4189 00ac 84F83E30 strb r3, [r4, #62]
- 4190 00b0 E7E7 b .L456
- 4191 .L462:
-1666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4192 .loc 1 1666 0 is_stmt 0 discriminator 3
- 4193 00b2 0123 movs r3, #1
- 4194 00b4 84F83F30 strb r3, [r4, #63]
- 4195 00b8 E3E7 b .L456
- 4196 .cfi_endproc
- 4197 .LFE90:
- 4199 .section .text.HAL_TIMEx_ConfigCommutEvent,"ax",%progbits
-ARM GAS /tmp/cc32U6bv.s page 127
-
-
- 4200 .align 1
- 4201 .global HAL_TIMEx_ConfigCommutEvent
- 4202 .syntax unified
- 4203 .thumb
- 4204 .thumb_func
- 4205 .fpu softvfp
- 4207 HAL_TIMEx_ConfigCommutEvent:
- 4208 .LFB91:
-1720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 4209 .loc 1 1720 0 is_stmt 1
- 4210 .cfi_startproc
- 4211 @ args = 0, pretend = 0, frame = 0
- 4212 @ frame_needed = 0, uses_anonymous_args = 0
- 4213 @ link register save eliminated.
- 4214 .LVL350:
-1725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4215 .loc 1 1725 0
- 4216 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
- 4217 0004 012B cmp r3, #1
- 4218 0006 31D0 beq .L469
-1720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 4219 .loc 1 1720 0 discriminator 2
- 4220 0008 10B4 push {r4}
- 4221 .LCFI48:
- 4222 .cfi_def_cfa_offset 4
- 4223 .cfi_offset 4, -4
-1725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4224 .loc 1 1725 0 discriminator 2
- 4225 000a 0123 movs r3, #1
- 4226 000c 80F83C30 strb r3, [r0, #60]
-1727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3))
- 4227 .loc 1 1727 0 discriminator 2
- 4228 0010 29B1 cbz r1, .L467
-1727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3))
- 4229 .loc 1 1727 0 is_stmt 0 discriminator 1
- 4230 0012 1029 cmp r1, #16
- 4231 0014 03D0 beq .L467
-1727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3))
- 4232 .loc 1 1727 0 discriminator 2
- 4233 0016 2029 cmp r1, #32
- 4234 0018 01D0 beq .L467
-1728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 4235 .loc 1 1728 0 is_stmt 1
- 4236 001a 3029 cmp r1, #48
- 4237 001c 08D1 bne .L468
- 4238 .L467:
-1731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
- 4239 .loc 1 1731 0
- 4240 001e 0468 ldr r4, [r0]
- 4241 0020 A368 ldr r3, [r4, #8]
- 4242 0022 23F07003 bic r3, r3, #112
- 4243 0026 A360 str r3, [r4, #8]
-1732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 4244 .loc 1 1732 0
- 4245 0028 0368 ldr r3, [r0]
- 4246 002a 9C68 ldr r4, [r3, #8]
- 4247 002c 2143 orrs r1, r1, r4
-ARM GAS /tmp/cc32U6bv.s page 128
-
-
- 4248 .LVL351:
- 4249 002e 9960 str r1, [r3, #8]
- 4250 .L468:
-1736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Select the Commutation event source */
- 4251 .loc 1 1736 0
- 4252 0030 0168 ldr r1, [r0]
- 4253 0032 4B68 ldr r3, [r1, #4]
- 4254 0034 43F00103 orr r3, r3, #1
- 4255 0038 4B60 str r3, [r1, #4]
-1738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
- 4256 .loc 1 1738 0
- 4257 003a 0168 ldr r1, [r0]
- 4258 003c 4B68 ldr r3, [r1, #4]
- 4259 003e 23F00403 bic r3, r3, #4
- 4260 0042 4B60 str r3, [r1, #4]
-1739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4261 .loc 1 1739 0
- 4262 0044 0168 ldr r1, [r0]
- 4263 0046 4B68 ldr r3, [r1, #4]
- 4264 0048 1A43 orrs r2, r2, r3
- 4265 .LVL352:
- 4266 004a 4A60 str r2, [r1, #4]
-1742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4267 .loc 1 1742 0
- 4268 004c 0268 ldr r2, [r0]
- 4269 004e D368 ldr r3, [r2, #12]
- 4270 0050 23F02003 bic r3, r3, #32
- 4271 0054 D360 str r3, [r2, #12]
-1745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4272 .loc 1 1745 0
- 4273 0056 0268 ldr r2, [r0]
- 4274 0058 D368 ldr r3, [r2, #12]
- 4275 005a 23F40053 bic r3, r3, #8192
- 4276 005e D360 str r3, [r2, #12]
-1747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4277 .loc 1 1747 0
- 4278 0060 0023 movs r3, #0
- 4279 0062 80F83C30 strb r3, [r0, #60]
-1749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 4280 .loc 1 1749 0
- 4281 0066 1846 mov r0, r3
- 4282 .LVL353:
-1750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4283 .loc 1 1750 0
- 4284 0068 10BC pop {r4}
- 4285 .LCFI49:
- 4286 .cfi_restore 4
- 4287 .cfi_def_cfa_offset 0
- 4288 006a 7047 bx lr
- 4289 .LVL354:
- 4290 .L469:
-1725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4291 .loc 1 1725 0
- 4292 006c 0220 movs r0, #2
- 4293 .LVL355:
- 4294 006e 7047 bx lr
- 4295 .cfi_endproc
-ARM GAS /tmp/cc32U6bv.s page 129
-
-
- 4296 .LFE91:
- 4298 .section .text.HAL_TIMEx_ConfigCommutEvent_IT,"ax",%progbits
- 4299 .align 1
- 4300 .global HAL_TIMEx_ConfigCommutEvent_IT
- 4301 .syntax unified
- 4302 .thumb
- 4303 .thumb_func
- 4304 .fpu softvfp
- 4306 HAL_TIMEx_ConfigCommutEvent_IT:
- 4307 .LFB92:
-1776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 4308 .loc 1 1776 0
- 4309 .cfi_startproc
- 4310 @ args = 0, pretend = 0, frame = 0
- 4311 @ frame_needed = 0, uses_anonymous_args = 0
- 4312 @ link register save eliminated.
- 4313 .LVL356:
-1781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4314 .loc 1 1781 0
- 4315 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
- 4316 0004 012B cmp r3, #1
- 4317 0006 31D0 beq .L478
-1776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 4318 .loc 1 1776 0 discriminator 2
- 4319 0008 10B4 push {r4}
- 4320 .LCFI50:
- 4321 .cfi_def_cfa_offset 4
- 4322 .cfi_offset 4, -4
-1781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4323 .loc 1 1781 0 discriminator 2
- 4324 000a 0123 movs r3, #1
- 4325 000c 80F83C30 strb r3, [r0, #60]
-1783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3))
- 4326 .loc 1 1783 0 discriminator 2
- 4327 0010 29B1 cbz r1, .L476
-1783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3))
- 4328 .loc 1 1783 0 is_stmt 0 discriminator 1
- 4329 0012 1029 cmp r1, #16
- 4330 0014 03D0 beq .L476
-1783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3))
- 4331 .loc 1 1783 0 discriminator 2
- 4332 0016 2029 cmp r1, #32
- 4333 0018 01D0 beq .L476
-1784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 4334 .loc 1 1784 0 is_stmt 1
- 4335 001a 3029 cmp r1, #48
- 4336 001c 08D1 bne .L477
- 4337 .L476:
-1787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
- 4338 .loc 1 1787 0
- 4339 001e 0468 ldr r4, [r0]
- 4340 0020 A368 ldr r3, [r4, #8]
- 4341 0022 23F07003 bic r3, r3, #112
- 4342 0026 A360 str r3, [r4, #8]
-1788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 4343 .loc 1 1788 0
- 4344 0028 0368 ldr r3, [r0]
-ARM GAS /tmp/cc32U6bv.s page 130
-
-
- 4345 002a 9C68 ldr r4, [r3, #8]
- 4346 002c 2143 orrs r1, r1, r4
- 4347 .LVL357:
- 4348 002e 9960 str r1, [r3, #8]
- 4349 .L477:
-1792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Select the Commutation event source */
- 4350 .loc 1 1792 0
- 4351 0030 0168 ldr r1, [r0]
- 4352 0032 4B68 ldr r3, [r1, #4]
- 4353 0034 43F00103 orr r3, r3, #1
- 4354 0038 4B60 str r3, [r1, #4]
-1794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
- 4355 .loc 1 1794 0
- 4356 003a 0168 ldr r1, [r0]
- 4357 003c 4B68 ldr r3, [r1, #4]
- 4358 003e 23F00403 bic r3, r3, #4
- 4359 0042 4B60 str r3, [r1, #4]
-1795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4360 .loc 1 1795 0
- 4361 0044 0168 ldr r1, [r0]
- 4362 0046 4B68 ldr r3, [r1, #4]
- 4363 0048 1A43 orrs r2, r2, r3
- 4364 .LVL358:
- 4365 004a 4A60 str r2, [r1, #4]
-1798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4366 .loc 1 1798 0
- 4367 004c 0268 ldr r2, [r0]
- 4368 004e D368 ldr r3, [r2, #12]
- 4369 0050 23F40053 bic r3, r3, #8192
- 4370 0054 D360 str r3, [r2, #12]
-1801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4371 .loc 1 1801 0
- 4372 0056 0268 ldr r2, [r0]
- 4373 0058 D368 ldr r3, [r2, #12]
- 4374 005a 43F02003 orr r3, r3, #32
- 4375 005e D360 str r3, [r2, #12]
-1803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4376 .loc 1 1803 0
- 4377 0060 0023 movs r3, #0
- 4378 0062 80F83C30 strb r3, [r0, #60]
-1805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 4379 .loc 1 1805 0
- 4380 0066 1846 mov r0, r3
- 4381 .LVL359:
-1806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4382 .loc 1 1806 0
- 4383 0068 10BC pop {r4}
- 4384 .LCFI51:
- 4385 .cfi_restore 4
- 4386 .cfi_def_cfa_offset 0
- 4387 006a 7047 bx lr
- 4388 .LVL360:
- 4389 .L478:
-1781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4390 .loc 1 1781 0
- 4391 006c 0220 movs r0, #2
- 4392 .LVL361:
-ARM GAS /tmp/cc32U6bv.s page 131
-
-
- 4393 006e 7047 bx lr
- 4394 .cfi_endproc
- 4395 .LFE92:
- 4397 .section .text.HAL_TIMEx_ConfigCommutEvent_DMA,"ax",%progbits
- 4398 .align 1
- 4399 .global HAL_TIMEx_ConfigCommutEvent_DMA
- 4400 .syntax unified
- 4401 .thumb
- 4402 .thumb_func
- 4403 .fpu softvfp
- 4405 HAL_TIMEx_ConfigCommutEvent_DMA:
- 4406 .LFB93:
-1833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 4407 .loc 1 1833 0
- 4408 .cfi_startproc
- 4409 @ args = 0, pretend = 0, frame = 0
- 4410 @ frame_needed = 0, uses_anonymous_args = 0
- 4411 @ link register save eliminated.
- 4412 .LVL362:
-1838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4413 .loc 1 1838 0
- 4414 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
- 4415 0004 012B cmp r3, #1
- 4416 0006 3AD0 beq .L487
-1833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Check the parameters */
- 4417 .loc 1 1833 0 discriminator 2
- 4418 0008 10B4 push {r4}
- 4419 .LCFI52:
- 4420 .cfi_def_cfa_offset 4
- 4421 .cfi_offset 4, -4
-1838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4422 .loc 1 1838 0 discriminator 2
- 4423 000a 0123 movs r3, #1
- 4424 000c 80F83C30 strb r3, [r0, #60]
-1840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3))
- 4425 .loc 1 1840 0 discriminator 2
- 4426 0010 29B1 cbz r1, .L485
-1840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3))
- 4427 .loc 1 1840 0 is_stmt 0 discriminator 1
- 4428 0012 1029 cmp r1, #16
- 4429 0014 03D0 beq .L485
-1840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** (InputTrigger == TIM_TS_ITR2) || (InputTrigger == TIM_TS_ITR3))
- 4430 .loc 1 1840 0 discriminator 2
- 4431 0016 2029 cmp r1, #32
- 4432 0018 01D0 beq .L485
-1841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 4433 .loc 1 1841 0 is_stmt 1
- 4434 001a 3029 cmp r1, #48
- 4435 001c 08D1 bne .L486
- 4436 .L485:
-1844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->SMCR |= InputTrigger;
- 4437 .loc 1 1844 0
- 4438 001e 0468 ldr r4, [r0]
- 4439 0020 A368 ldr r3, [r4, #8]
- 4440 0022 23F07003 bic r3, r3, #112
- 4441 0026 A360 str r3, [r4, #8]
-1845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
-ARM GAS /tmp/cc32U6bv.s page 132
-
-
- 4442 .loc 1 1845 0
- 4443 0028 0368 ldr r3, [r0]
- 4444 002a 9C68 ldr r4, [r3, #8]
- 4445 002c 2143 orrs r1, r1, r4
- 4446 .LVL363:
- 4447 002e 9960 str r1, [r3, #8]
- 4448 .L486:
-1849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Select the Commutation event source */
- 4449 .loc 1 1849 0
- 4450 0030 0168 ldr r1, [r0]
- 4451 0032 4B68 ldr r3, [r1, #4]
- 4452 0034 43F00103 orr r3, r3, #1
- 4453 0038 4B60 str r3, [r1, #4]
-1851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->Instance->CR2 |= CommutationSource;
- 4454 .loc 1 1851 0
- 4455 003a 0168 ldr r1, [r0]
- 4456 003c 4B68 ldr r3, [r1, #4]
- 4457 003e 23F00403 bic r3, r3, #4
- 4458 0042 4B60 str r3, [r1, #4]
-1852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4459 .loc 1 1852 0
- 4460 0044 0168 ldr r1, [r0]
- 4461 0046 4B68 ldr r3, [r1, #4]
- 4462 0048 1A43 orrs r2, r2, r3
- 4463 .LVL364:
- 4464 004a 4A60 str r2, [r1, #4]
-1856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** htim->hdma[TIM_DMA_ID_COMMUTATION]->XferHalfCpltCallback = TIMEx_DMACommutationHalfCplt;
- 4465 .loc 1 1856 0
- 4466 004c 436B ldr r3, [r0, #52]
- 4467 004e 0D4A ldr r2, .L492
- 4468 0050 9A62 str r2, [r3, #40]
-1857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set the DMA error callback */
- 4469 .loc 1 1857 0
- 4470 0052 436B ldr r3, [r0, #52]
- 4471 0054 0C4A ldr r2, .L492+4
- 4472 0056 DA62 str r2, [r3, #44]
-1859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4473 .loc 1 1859 0
- 4474 0058 436B ldr r3, [r0, #52]
- 4475 005a 0C4A ldr r2, .L492+8
- 4476 005c 1A63 str r2, [r3, #48]
-1862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4477 .loc 1 1862 0
- 4478 005e 0268 ldr r2, [r0]
- 4479 0060 D368 ldr r3, [r2, #12]
- 4480 0062 23F02003 bic r3, r3, #32
- 4481 0066 D360 str r3, [r2, #12]
-1865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4482 .loc 1 1865 0
- 4483 0068 0268 ldr r2, [r0]
- 4484 006a D368 ldr r3, [r2, #12]
- 4485 006c 43F40053 orr r3, r3, #8192
- 4486 0070 D360 str r3, [r2, #12]
-1867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4487 .loc 1 1867 0
- 4488 0072 0023 movs r3, #0
- 4489 0074 80F83C30 strb r3, [r0, #60]
-ARM GAS /tmp/cc32U6bv.s page 133
-
-
-1869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 4490 .loc 1 1869 0
- 4491 0078 1846 mov r0, r3
- 4492 .LVL365:
-1870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4493 .loc 1 1870 0
- 4494 007a 10BC pop {r4}
- 4495 .LCFI53:
- 4496 .cfi_restore 4
- 4497 .cfi_def_cfa_offset 0
- 4498 007c 7047 bx lr
- 4499 .LVL366:
- 4500 .L487:
-1838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4501 .loc 1 1838 0
- 4502 007e 0220 movs r0, #2
- 4503 .LVL367:
- 4504 0080 7047 bx lr
- 4505 .L493:
- 4506 0082 00BF .align 2
- 4507 .L492:
- 4508 0084 00000000 .word TIMEx_DMACommutationCplt
- 4509 0088 00000000 .word TIMEx_DMACommutationHalfCplt
- 4510 008c 00000000 .word TIM_DMAError
- 4511 .cfi_endproc
- 4512 .LFE93:
- 4514 .section .text.HAL_TIMEx_MasterConfigSynchronization,"ax",%progbits
- 4515 .align 1
- 4516 .global HAL_TIMEx_MasterConfigSynchronization
- 4517 .syntax unified
- 4518 .thumb
- 4519 .thumb_func
- 4520 .fpu softvfp
- 4522 HAL_TIMEx_MasterConfigSynchronization:
- 4523 .LFB94:
-1882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpcr2;
- 4524 .loc 1 1882 0
- 4525 .cfi_startproc
- 4526 @ args = 0, pretend = 0, frame = 0
- 4527 @ frame_needed = 0, uses_anonymous_args = 0
- 4528 @ link register save eliminated.
- 4529 .LVL368:
-1892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4530 .loc 1 1892 0
- 4531 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
- 4532 0004 012B cmp r3, #1
- 4533 0006 33D0 beq .L498
-1882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** uint32_t tmpcr2;
- 4534 .loc 1 1882 0 discriminator 2
- 4535 0008 30B4 push {r4, r5}
- 4536 .LCFI54:
- 4537 .cfi_def_cfa_offset 8
- 4538 .cfi_offset 4, -8
- 4539 .cfi_offset 5, -4
-1892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4540 .loc 1 1892 0 discriminator 2
- 4541 000a 0123 movs r3, #1
-ARM GAS /tmp/cc32U6bv.s page 134
-
-
- 4542 000c 80F83C30 strb r3, [r0, #60]
-1895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4543 .loc 1 1895 0 discriminator 2
- 4544 0010 0223 movs r3, #2
- 4545 0012 80F83D30 strb r3, [r0, #61]
-1898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4546 .loc 1 1898 0 discriminator 2
- 4547 0016 0468 ldr r4, [r0]
- 4548 0018 6368 ldr r3, [r4, #4]
- 4549 .LVL369:
-1901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4550 .loc 1 1901 0 discriminator 2
- 4551 001a A268 ldr r2, [r4, #8]
- 4552 .LVL370:
-1904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Select the TRGO source */
- 4553 .loc 1 1904 0 discriminator 2
- 4554 001c 23F07003 bic r3, r3, #112
- 4555 .LVL371:
-1906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4556 .loc 1 1906 0 discriminator 2
- 4557 0020 0D68 ldr r5, [r1]
- 4558 0022 2B43 orrs r3, r3, r5
- 4559 .LVL372:
-1909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4560 .loc 1 1909 0 discriminator 2
- 4561 0024 6360 str r3, [r4, #4]
-1911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 4562 .loc 1 1911 0 discriminator 2
- 4563 0026 0368 ldr r3, [r0]
- 4564 .LVL373:
- 4565 0028 124C ldr r4, .L503
- 4566 .LVL374:
- 4567 002a A342 cmp r3, r4
- 4568 002c 12D0 beq .L496
-1911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 4569 .loc 1 1911 0 is_stmt 0 discriminator 1
- 4570 002e 04F50064 add r4, r4, #2048
- 4571 0032 A342 cmp r3, r4
- 4572 0034 0ED0 beq .L496
-1911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 4573 .loc 1 1911 0 discriminator 2
- 4574 0036 B3F1804F cmp r3, #1073741824
- 4575 003a 0BD0 beq .L496
-1911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 4576 .loc 1 1911 0 discriminator 3
- 4577 003c A4F59834 sub r4, r4, #77824
- 4578 0040 A342 cmp r3, r4
- 4579 0042 07D0 beq .L496
-1911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 4580 .loc 1 1911 0 discriminator 4
- 4581 0044 04F58064 add r4, r4, #1024
- 4582 0048 A342 cmp r3, r4
- 4583 004a 03D0 beq .L496
-1911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** {
- 4584 .loc 1 1911 0 discriminator 5
- 4585 004c 04F58064 add r4, r4, #1024
- 4586 0050 A342 cmp r3, r4
-ARM GAS /tmp/cc32U6bv.s page 135
-
-
- 4587 0052 04D1 bne .L497
- 4588 .L496:
-1914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Set master mode */
- 4589 .loc 1 1914 0 is_stmt 1
- 4590 0054 22F08002 bic r2, r2, #128
- 4591 .LVL375:
-1916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4592 .loc 1 1916 0
- 4593 0058 4968 ldr r1, [r1, #4]
- 4594 .LVL376:
- 4595 005a 0A43 orrs r2, r2, r1
- 4596 .LVL377:
-1919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 4597 .loc 1 1919 0
- 4598 005c 9A60 str r2, [r3, #8]
- 4599 .L497:
-1923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4600 .loc 1 1923 0
- 4601 005e 0123 movs r3, #1
- 4602 0060 80F83D30 strb r3, [r0, #61]
-1925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4603 .loc 1 1925 0
- 4604 0064 0023 movs r3, #0
- 4605 0066 80F83C30 strb r3, [r0, #60]
-1927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 4606 .loc 1 1927 0
- 4607 006a 1846 mov r0, r3
- 4608 .LVL378:
-1928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4609 .loc 1 1928 0
- 4610 006c 30BC pop {r4, r5}
- 4611 .LCFI55:
- 4612 .cfi_restore 5
- 4613 .cfi_restore 4
- 4614 .cfi_def_cfa_offset 0
- 4615 006e 7047 bx lr
- 4616 .LVL379:
- 4617 .L498:
-1892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4618 .loc 1 1892 0
- 4619 0070 0220 movs r0, #2
- 4620 .LVL380:
- 4621 0072 7047 bx lr
- 4622 .L504:
- 4623 .align 2
- 4624 .L503:
- 4625 0074 002C0140 .word 1073818624
- 4626 .cfi_endproc
- 4627 .LFE94:
- 4629 .section .text.HAL_TIMEx_ConfigBreakDeadTime,"ax",%progbits
- 4630 .align 1
- 4631 .global HAL_TIMEx_ConfigBreakDeadTime
- 4632 .syntax unified
- 4633 .thumb
- 4634 .thumb_func
- 4635 .fpu softvfp
- 4637 HAL_TIMEx_ConfigBreakDeadTime:
-ARM GAS /tmp/cc32U6bv.s page 136
-
-
- 4638 .LFB95:
-1943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Keep this variable initialized to 0 as it is used to configure BDTR register */
- 4639 .loc 1 1943 0
- 4640 .cfi_startproc
- 4641 @ args = 0, pretend = 0, frame = 0
- 4642 @ frame_needed = 0, uses_anonymous_args = 0
- 4643 @ link register save eliminated.
- 4644 .LVL381:
-1958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4645 .loc 1 1958 0
- 4646 0000 90F83C30 ldrb r3, [r0, #60] @ zero_extendqisi2
- 4647 0004 012B cmp r3, #1
- 4648 0006 22D0 beq .L507
-1958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4649 .loc 1 1958 0 is_stmt 0 discriminator 2
- 4650 0008 0123 movs r3, #1
- 4651 000a 80F83C30 strb r3, [r0, #60]
-1964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_LOCK, sBreakDeadTimeConfig->LockLevel);
- 4652 .loc 1 1964 0 is_stmt 1 discriminator 2
- 4653 000e CB68 ldr r3, [r1, #12]
- 4654 .LVL382:
-1965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSI, sBreakDeadTimeConfig->OffStateIDLEMode);
- 4655 .loc 1 1965 0 discriminator 2
- 4656 0010 23F44073 bic r3, r3, #768
- 4657 .LVL383:
- 4658 0014 8A68 ldr r2, [r1, #8]
- 4659 0016 1343 orrs r3, r3, r2
- 4660 .LVL384:
-1966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_OSSR, sBreakDeadTimeConfig->OffStateRunMode);
- 4661 .loc 1 1966 0 discriminator 2
- 4662 0018 23F48063 bic r3, r3, #1024
- 4663 .LVL385:
- 4664 001c 4A68 ldr r2, [r1, #4]
- 4665 .LVL386:
- 4666 001e 1343 orrs r3, r3, r2
- 4667 .LVL387:
-1967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKE, sBreakDeadTimeConfig->BreakState);
- 4668 .loc 1 1967 0 discriminator 2
- 4669 0020 23F40063 bic r3, r3, #2048
- 4670 .LVL388:
- 4671 0024 0A68 ldr r2, [r1]
- 4672 .LVL389:
- 4673 0026 1343 orrs r3, r3, r2
- 4674 .LVL390:
-1968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_BKP, sBreakDeadTimeConfig->BreakPolarity);
- 4675 .loc 1 1968 0 discriminator 2
- 4676 0028 23F48053 bic r3, r3, #4096
- 4677 .LVL391:
- 4678 002c 0A69 ldr r2, [r1, #16]
- 4679 .LVL392:
- 4680 002e 1343 orrs r3, r3, r2
- 4681 .LVL393:
-1969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** MODIFY_REG(tmpbdtr, TIM_BDTR_AOE, sBreakDeadTimeConfig->AutomaticOutput);
- 4682 .loc 1 1969 0 discriminator 2
- 4683 0030 23F40053 bic r3, r3, #8192
- 4684 .LVL394:
- 4685 0034 4A69 ldr r2, [r1, #20]
-ARM GAS /tmp/cc32U6bv.s page 137
-
-
- 4686 .LVL395:
- 4687 0036 1343 orrs r3, r3, r2
- 4688 .LVL396:
-1970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4689 .loc 1 1970 0 discriminator 2
- 4690 0038 23F48043 bic r3, r3, #16384
- 4691 .LVL397:
- 4692 003c CA69 ldr r2, [r1, #28]
- 4693 .LVL398:
- 4694 003e 1343 orrs r3, r3, r2
- 4695 .LVL399:
-1974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4696 .loc 1 1974 0 discriminator 2
- 4697 0040 0268 ldr r2, [r0]
- 4698 0042 5364 str r3, [r2, #68]
-1976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4699 .loc 1 1976 0 discriminator 2
- 4700 0044 0023 movs r3, #0
- 4701 .LVL400:
- 4702 0046 80F83C30 strb r3, [r0, #60]
- 4703 .LVL401:
-1978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 4704 .loc 1 1978 0 discriminator 2
- 4705 004a 1846 mov r0, r3
- 4706 .LVL402:
- 4707 004c 7047 bx lr
- 4708 .LVL403:
- 4709 .L507:
-1958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4710 .loc 1 1958 0
- 4711 004e 0220 movs r0, #2
- 4712 .LVL404:
-1979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4713 .loc 1 1979 0
- 4714 0050 7047 bx lr
- 4715 .cfi_endproc
- 4716 .LFE95:
- 4718 .section .text.HAL_TIMEx_RemapConfig,"ax",%progbits
- 4719 .align 1
- 4720 .global HAL_TIMEx_RemapConfig
- 4721 .syntax unified
- 4722 .thumb
- 4723 .thumb_func
- 4724 .fpu softvfp
- 4726 HAL_TIMEx_RemapConfig:
- 4727 .LFB96:
-1989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
- 4728 .loc 1 1989 0
- 4729 .cfi_startproc
- 4730 @ args = 0, pretend = 0, frame = 0
- 4731 @ frame_needed = 0, uses_anonymous_args = 0
- 4732 @ link register save eliminated.
- 4733 .LVL405:
-1995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4734 .loc 1 1995 0
- 4735 0000 0020 movs r0, #0
- 4736 .LVL406:
-ARM GAS /tmp/cc32U6bv.s page 138
-
-
- 4737 0002 7047 bx lr
- 4738 .cfi_endproc
- 4739 .LFE96:
- 4741 .section .text.HAL_TIMEx_CommutCallback,"ax",%progbits
- 4742 .align 1
- 4743 .weak HAL_TIMEx_CommutCallback
- 4744 .syntax unified
- 4745 .thumb
- 4746 .thumb_func
- 4747 .fpu softvfp
- 4749 HAL_TIMEx_CommutCallback:
- 4750 .LFB97:
-2023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
- 4751 .loc 1 2023 0
- 4752 .cfi_startproc
- 4753 @ args = 0, pretend = 0, frame = 0
- 4754 @ frame_needed = 0, uses_anonymous_args = 0
- 4755 @ link register save eliminated.
- 4756 .LVL407:
- 4757 0000 7047 bx lr
- 4758 .cfi_endproc
- 4759 .LFE97:
- 4761 .section .text.TIMEx_DMACommutationCplt,"ax",%progbits
- 4762 .align 1
- 4763 .global TIMEx_DMACommutationCplt
- 4764 .syntax unified
- 4765 .thumb
- 4766 .thumb_func
- 4767 .fpu softvfp
- 4769 TIMEx_DMACommutationCplt:
- 4770 .LFB102:
-2129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 4771 .loc 1 2129 0
- 4772 .cfi_startproc
- 4773 @ args = 0, pretend = 0, frame = 0
- 4774 @ frame_needed = 0, uses_anonymous_args = 0
- 4775 .LVL408:
-2129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 4776 .loc 1 2129 0
- 4777 0000 08B5 push {r3, lr}
- 4778 .LCFI56:
- 4779 .cfi_def_cfa_offset 8
- 4780 .cfi_offset 3, -8
- 4781 .cfi_offset 14, -4
-2130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4782 .loc 1 2130 0
- 4783 0002 406A ldr r0, [r0, #36]
- 4784 .LVL409:
-2133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4785 .loc 1 2133 0
- 4786 0004 0123 movs r3, #1
- 4787 0006 80F83D30 strb r3, [r0, #61]
-2138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 4788 .loc 1 2138 0
- 4789 000a FFF7FEFF bl HAL_TIMEx_CommutCallback
- 4790 .LVL410:
- 4791 000e 08BD pop {r3, pc}
-ARM GAS /tmp/cc32U6bv.s page 139
-
-
- 4792 .cfi_endproc
- 4793 .LFE102:
- 4795 .section .text.HAL_TIMEx_CommutHalfCpltCallback,"ax",%progbits
- 4796 .align 1
- 4797 .weak HAL_TIMEx_CommutHalfCpltCallback
- 4798 .syntax unified
- 4799 .thumb
- 4800 .thumb_func
- 4801 .fpu softvfp
- 4803 HAL_TIMEx_CommutHalfCpltCallback:
- 4804 .LFB98:
-2037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
- 4805 .loc 1 2037 0
- 4806 .cfi_startproc
- 4807 @ args = 0, pretend = 0, frame = 0
- 4808 @ frame_needed = 0, uses_anonymous_args = 0
- 4809 @ link register save eliminated.
- 4810 .LVL411:
- 4811 0000 7047 bx lr
- 4812 .cfi_endproc
- 4813 .LFE98:
- 4815 .section .text.TIMEx_DMACommutationHalfCplt,"ax",%progbits
- 4816 .align 1
- 4817 .global TIMEx_DMACommutationHalfCplt
- 4818 .syntax unified
- 4819 .thumb
- 4820 .thumb_func
- 4821 .fpu softvfp
- 4823 TIMEx_DMACommutationHalfCplt:
- 4824 .LFB103:
-2148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 4825 .loc 1 2148 0
- 4826 .cfi_startproc
- 4827 @ args = 0, pretend = 0, frame = 0
- 4828 @ frame_needed = 0, uses_anonymous_args = 0
- 4829 .LVL412:
-2148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** TIM_HandleTypeDef *htim = (TIM_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 4830 .loc 1 2148 0
- 4831 0000 08B5 push {r3, lr}
- 4832 .LCFI57:
- 4833 .cfi_def_cfa_offset 8
- 4834 .cfi_offset 3, -8
- 4835 .cfi_offset 14, -4
-2149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4836 .loc 1 2149 0
- 4837 0002 406A ldr r0, [r0, #36]
- 4838 .LVL413:
-2152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4839 .loc 1 2152 0
- 4840 0004 0123 movs r3, #1
- 4841 0006 80F83D30 strb r3, [r0, #61]
-2157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- 4842 .loc 1 2157 0
- 4843 000a FFF7FEFF bl HAL_TIMEx_CommutHalfCpltCallback
- 4844 .LVL414:
- 4845 000e 08BD pop {r3, pc}
- 4846 .cfi_endproc
-ARM GAS /tmp/cc32U6bv.s page 140
-
-
- 4847 .LFE103:
- 4849 .section .text.HAL_TIMEx_BreakCallback,"ax",%progbits
- 4850 .align 1
- 4851 .weak HAL_TIMEx_BreakCallback
- 4852 .syntax unified
- 4853 .thumb
- 4854 .thumb_func
- 4855 .fpu softvfp
- 4857 HAL_TIMEx_BreakCallback:
- 4858 .LFB99:
-2052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /* Prevent unused argument(s) compilation warning */
- 4859 .loc 1 2052 0
- 4860 .cfi_startproc
- 4861 @ args = 0, pretend = 0, frame = 0
- 4862 @ frame_needed = 0, uses_anonymous_args = 0
- 4863 @ link register save eliminated.
- 4864 .LVL415:
- 4865 0000 7047 bx lr
- 4866 .cfi_endproc
- 4867 .LFE99:
- 4869 .section .text.HAL_TIMEx_HallSensor_GetState,"ax",%progbits
- 4870 .align 1
- 4871 .global HAL_TIMEx_HallSensor_GetState
- 4872 .syntax unified
- 4873 .thumb
- 4874 .thumb_func
- 4875 .fpu softvfp
- 4877 HAL_TIMEx_HallSensor_GetState:
- 4878 .LFB100:
-2085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** return htim->State;
- 4879 .loc 1 2085 0
- 4880 .cfi_startproc
- 4881 @ args = 0, pretend = 0, frame = 0
- 4882 @ frame_needed = 0, uses_anonymous_args = 0
- 4883 @ link register save eliminated.
- 4884 .LVL416:
-2086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** }
- 4885 .loc 1 2086 0
- 4886 0000 90F83D00 ldrb r0, [r0, #61] @ zero_extendqisi2
- 4887 .LVL417:
-2087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4888 .loc 1 2087 0
- 4889 0004 7047 bx lr
- 4890 .cfi_endproc
- 4891 .LFE100:
- 4893 .section .text.HAL_TIMEx_GetChannelNState,"ax",%progbits
- 4894 .align 1
- 4895 .global HAL_TIMEx_GetChannelNState
- 4896 .syntax unified
- 4897 .thumb
- 4898 .thumb_func
- 4899 .fpu softvfp
- 4901 HAL_TIMEx_GetChannelNState:
- 4902 .LFB101:
-2100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** HAL_TIM_ChannelStateTypeDef channel_state;
- 4903 .loc 1 2100 0
- 4904 .cfi_startproc
-ARM GAS /tmp/cc32U6bv.s page 141
-
-
- 4905 @ args = 0, pretend = 0, frame = 0
- 4906 @ frame_needed = 0, uses_anonymous_args = 0
- 4907 @ link register save eliminated.
- 4908 .LVL418:
-2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4909 .loc 1 2106 0
- 4910 0000 39B1 cbz r1, .L522
-2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4911 .loc 1 2106 0 is_stmt 0 discriminator 2
- 4912 0002 0429 cmp r1, #4
- 4913 0004 09D0 beq .L523
-2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4914 .loc 1 2106 0 discriminator 5
- 4915 0006 0829 cmp r1, #8
- 4916 0008 0BD0 beq .L524
-2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4917 .loc 1 2106 0 discriminator 8
- 4918 000a 90F84500 ldrb r0, [r0, #69] @ zero_extendqisi2
- 4919 .LVL419:
- 4920 000e C0B2 uxtb r0, r0
- 4921 .LVL420:
-2109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c **** /**
- 4922 .loc 1 2109 0 is_stmt 1 discriminator 8
- 4923 0010 7047 bx lr
- 4924 .LVL421:
- 4925 .L522:
-2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4926 .loc 1 2106 0 discriminator 1
- 4927 0012 90F84200 ldrb r0, [r0, #66] @ zero_extendqisi2
- 4928 .LVL422:
- 4929 0016 C0B2 uxtb r0, r0
- 4930 0018 7047 bx lr
- 4931 .LVL423:
- 4932 .L523:
-2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4933 .loc 1 2106 0 is_stmt 0 discriminator 4
- 4934 001a 90F84300 ldrb r0, [r0, #67] @ zero_extendqisi2
- 4935 .LVL424:
- 4936 001e C0B2 uxtb r0, r0
- 4937 0020 7047 bx lr
- 4938 .LVL425:
- 4939 .L524:
-2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.c ****
- 4940 .loc 1 2106 0 discriminator 7
- 4941 0022 90F84400 ldrb r0, [r0, #68] @ zero_extendqisi2
- 4942 .LVL426:
- 4943 0026 C0B2 uxtb r0, r0
- 4944 0028 7047 bx lr
- 4945 .cfi_endproc
- 4946 .LFE101:
- 4948 .text
- 4949 .Letext0:
- 4950 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 4951 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 4952 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 4953 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 4954 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
-ARM GAS /tmp/cc32U6bv.s page 142
-
-
- 4955 .file 7 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h"
- 4956 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 4957 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
- 4958 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h"
- 4959 .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h"
- 4960 .file 12 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
-ARM GAS /tmp/cc32U6bv.s page 143
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_hal_tim_ex.c
- /tmp/cc32U6bv.s:16 .text.TIM_CCxNChannelCmd:0000000000000000 $t
- /tmp/cc32U6bv.s:22 .text.TIM_CCxNChannelCmd:0000000000000000 TIM_CCxNChannelCmd
- /tmp/cc32U6bv.s:62 .text.TIM_DMAErrorCCxN:0000000000000000 $t
- /tmp/cc32U6bv.s:68 .text.TIM_DMAErrorCCxN:0000000000000000 TIM_DMAErrorCCxN
- /tmp/cc32U6bv.s:133 .text.TIM_DMADelayPulseNCplt:0000000000000000 $t
- /tmp/cc32U6bv.s:139 .text.TIM_DMADelayPulseNCplt:0000000000000000 TIM_DMADelayPulseNCplt
- /tmp/cc32U6bv.s:233 .text.HAL_TIMEx_HallSensor_MspInit:0000000000000000 $t
- /tmp/cc32U6bv.s:240 .text.HAL_TIMEx_HallSensor_MspInit:0000000000000000 HAL_TIMEx_HallSensor_MspInit
- /tmp/cc32U6bv.s:253 .text.HAL_TIMEx_HallSensor_Init:0000000000000000 $t
- /tmp/cc32U6bv.s:260 .text.HAL_TIMEx_HallSensor_Init:0000000000000000 HAL_TIMEx_HallSensor_Init
- /tmp/cc32U6bv.s:420 .text.HAL_TIMEx_HallSensor_MspDeInit:0000000000000000 $t
- /tmp/cc32U6bv.s:427 .text.HAL_TIMEx_HallSensor_MspDeInit:0000000000000000 HAL_TIMEx_HallSensor_MspDeInit
- /tmp/cc32U6bv.s:440 .text.HAL_TIMEx_HallSensor_DeInit:0000000000000000 $t
- /tmp/cc32U6bv.s:447 .text.HAL_TIMEx_HallSensor_DeInit:0000000000000000 HAL_TIMEx_HallSensor_DeInit
- /tmp/cc32U6bv.s:506 .text.HAL_TIMEx_HallSensor_Start:0000000000000000 $t
- /tmp/cc32U6bv.s:513 .text.HAL_TIMEx_HallSensor_Start:0000000000000000 HAL_TIMEx_HallSensor_Start
- /tmp/cc32U6bv.s:653 .text.HAL_TIMEx_HallSensor_Start:00000000000000ac $d
- /tmp/cc32U6bv.s:658 .text.HAL_TIMEx_HallSensor_Stop:0000000000000000 $t
- /tmp/cc32U6bv.s:665 .text.HAL_TIMEx_HallSensor_Stop:0000000000000000 HAL_TIMEx_HallSensor_Stop
- /tmp/cc32U6bv.s:717 .text.HAL_TIMEx_HallSensor_Start_IT:0000000000000000 $t
- /tmp/cc32U6bv.s:724 .text.HAL_TIMEx_HallSensor_Start_IT:0000000000000000 HAL_TIMEx_HallSensor_Start_IT
- /tmp/cc32U6bv.s:871 .text.HAL_TIMEx_HallSensor_Start_IT:00000000000000b8 $d
- /tmp/cc32U6bv.s:876 .text.HAL_TIMEx_HallSensor_Stop_IT:0000000000000000 $t
- /tmp/cc32U6bv.s:883 .text.HAL_TIMEx_HallSensor_Stop_IT:0000000000000000 HAL_TIMEx_HallSensor_Stop_IT
- /tmp/cc32U6bv.s:940 .text.HAL_TIMEx_HallSensor_Start_DMA:0000000000000000 $t
- /tmp/cc32U6bv.s:947 .text.HAL_TIMEx_HallSensor_Start_DMA:0000000000000000 HAL_TIMEx_HallSensor_Start_DMA
- /tmp/cc32U6bv.s:1114 .text.HAL_TIMEx_HallSensor_Start_DMA:00000000000000d8 $d
- /tmp/cc32U6bv.s:1122 .text.HAL_TIMEx_HallSensor_Stop_DMA:0000000000000000 $t
- /tmp/cc32U6bv.s:1129 .text.HAL_TIMEx_HallSensor_Stop_DMA:0000000000000000 HAL_TIMEx_HallSensor_Stop_DMA
- /tmp/cc32U6bv.s:1186 .text.HAL_TIMEx_OCN_Start:0000000000000000 $t
- /tmp/cc32U6bv.s:1193 .text.HAL_TIMEx_OCN_Start:0000000000000000 HAL_TIMEx_OCN_Start
- /tmp/cc32U6bv.s:1374 .text.HAL_TIMEx_OCN_Start:00000000000000ec $d
- /tmp/cc32U6bv.s:1379 .text.HAL_TIMEx_OCN_Stop:0000000000000000 $t
- /tmp/cc32U6bv.s:1386 .text.HAL_TIMEx_OCN_Stop:0000000000000000 HAL_TIMEx_OCN_Stop
- /tmp/cc32U6bv.s:1475 .text.HAL_TIMEx_OCN_Start_IT:0000000000000000 $t
- /tmp/cc32U6bv.s:1482 .text.HAL_TIMEx_OCN_Start_IT:0000000000000000 HAL_TIMEx_OCN_Start_IT
- /tmp/cc32U6bv.s:1705 .text.HAL_TIMEx_OCN_Start_IT:0000000000000128 $d
- /tmp/cc32U6bv.s:1710 .text.HAL_TIMEx_OCN_Stop_IT:0000000000000000 $t
- /tmp/cc32U6bv.s:1717 .text.HAL_TIMEx_OCN_Stop_IT:0000000000000000 HAL_TIMEx_OCN_Stop_IT
- /tmp/cc32U6bv.s:1855 .text.HAL_TIMEx_OCN_Start_DMA:0000000000000000 $t
- /tmp/cc32U6bv.s:1862 .text.HAL_TIMEx_OCN_Start_DMA:0000000000000000 HAL_TIMEx_OCN_Start_DMA
- /tmp/cc32U6bv.s:2213 .text.HAL_TIMEx_OCN_Start_DMA:00000000000001ec $d
- /tmp/cc32U6bv.s:2221 .text.HAL_TIMEx_OCN_Stop_DMA:0000000000000000 $t
- /tmp/cc32U6bv.s:2228 .text.HAL_TIMEx_OCN_Stop_DMA:0000000000000000 HAL_TIMEx_OCN_Stop_DMA
- /tmp/cc32U6bv.s:2366 .text.HAL_TIMEx_PWMN_Start:0000000000000000 $t
- /tmp/cc32U6bv.s:2373 .text.HAL_TIMEx_PWMN_Start:0000000000000000 HAL_TIMEx_PWMN_Start
- /tmp/cc32U6bv.s:2554 .text.HAL_TIMEx_PWMN_Start:00000000000000ec $d
- /tmp/cc32U6bv.s:2559 .text.HAL_TIMEx_PWMN_Stop:0000000000000000 $t
- /tmp/cc32U6bv.s:2566 .text.HAL_TIMEx_PWMN_Stop:0000000000000000 HAL_TIMEx_PWMN_Stop
- /tmp/cc32U6bv.s:2655 .text.HAL_TIMEx_PWMN_Start_IT:0000000000000000 $t
- /tmp/cc32U6bv.s:2662 .text.HAL_TIMEx_PWMN_Start_IT:0000000000000000 HAL_TIMEx_PWMN_Start_IT
- /tmp/cc32U6bv.s:2885 .text.HAL_TIMEx_PWMN_Start_IT:0000000000000128 $d
- /tmp/cc32U6bv.s:2890 .text.HAL_TIMEx_PWMN_Stop_IT:0000000000000000 $t
- /tmp/cc32U6bv.s:2897 .text.HAL_TIMEx_PWMN_Stop_IT:0000000000000000 HAL_TIMEx_PWMN_Stop_IT
- /tmp/cc32U6bv.s:3035 .text.HAL_TIMEx_PWMN_Start_DMA:0000000000000000 $t
-ARM GAS /tmp/cc32U6bv.s page 144
-
-
- /tmp/cc32U6bv.s:3042 .text.HAL_TIMEx_PWMN_Start_DMA:0000000000000000 HAL_TIMEx_PWMN_Start_DMA
- /tmp/cc32U6bv.s:3393 .text.HAL_TIMEx_PWMN_Start_DMA:00000000000001ec $d
- /tmp/cc32U6bv.s:3401 .text.HAL_TIMEx_PWMN_Stop_DMA:0000000000000000 $t
- /tmp/cc32U6bv.s:3408 .text.HAL_TIMEx_PWMN_Stop_DMA:0000000000000000 HAL_TIMEx_PWMN_Stop_DMA
- /tmp/cc32U6bv.s:3546 .text.HAL_TIMEx_OnePulseN_Start:0000000000000000 $t
- /tmp/cc32U6bv.s:3553 .text.HAL_TIMEx_OnePulseN_Start:0000000000000000 HAL_TIMEx_OnePulseN_Start
- /tmp/cc32U6bv.s:3730 .text.HAL_TIMEx_OnePulseN_Stop:0000000000000000 $t
- /tmp/cc32U6bv.s:3737 .text.HAL_TIMEx_OnePulseN_Stop:0000000000000000 HAL_TIMEx_OnePulseN_Stop
- /tmp/cc32U6bv.s:3863 .text.HAL_TIMEx_OnePulseN_Start_IT:0000000000000000 $t
- /tmp/cc32U6bv.s:3870 .text.HAL_TIMEx_OnePulseN_Start_IT:0000000000000000 HAL_TIMEx_OnePulseN_Start_IT
- /tmp/cc32U6bv.s:4057 .text.HAL_TIMEx_OnePulseN_Stop_IT:0000000000000000 $t
- /tmp/cc32U6bv.s:4064 .text.HAL_TIMEx_OnePulseN_Stop_IT:0000000000000000 HAL_TIMEx_OnePulseN_Stop_IT
- /tmp/cc32U6bv.s:4200 .text.HAL_TIMEx_ConfigCommutEvent:0000000000000000 $t
- /tmp/cc32U6bv.s:4207 .text.HAL_TIMEx_ConfigCommutEvent:0000000000000000 HAL_TIMEx_ConfigCommutEvent
- /tmp/cc32U6bv.s:4299 .text.HAL_TIMEx_ConfigCommutEvent_IT:0000000000000000 $t
- /tmp/cc32U6bv.s:4306 .text.HAL_TIMEx_ConfigCommutEvent_IT:0000000000000000 HAL_TIMEx_ConfigCommutEvent_IT
- /tmp/cc32U6bv.s:4398 .text.HAL_TIMEx_ConfigCommutEvent_DMA:0000000000000000 $t
- /tmp/cc32U6bv.s:4405 .text.HAL_TIMEx_ConfigCommutEvent_DMA:0000000000000000 HAL_TIMEx_ConfigCommutEvent_DMA
- /tmp/cc32U6bv.s:4508 .text.HAL_TIMEx_ConfigCommutEvent_DMA:0000000000000084 $d
- /tmp/cc32U6bv.s:4769 .text.TIMEx_DMACommutationCplt:0000000000000000 TIMEx_DMACommutationCplt
- /tmp/cc32U6bv.s:4823 .text.TIMEx_DMACommutationHalfCplt:0000000000000000 TIMEx_DMACommutationHalfCplt
- /tmp/cc32U6bv.s:4515 .text.HAL_TIMEx_MasterConfigSynchronization:0000000000000000 $t
- /tmp/cc32U6bv.s:4522 .text.HAL_TIMEx_MasterConfigSynchronization:0000000000000000 HAL_TIMEx_MasterConfigSynchronization
- /tmp/cc32U6bv.s:4625 .text.HAL_TIMEx_MasterConfigSynchronization:0000000000000074 $d
- /tmp/cc32U6bv.s:4630 .text.HAL_TIMEx_ConfigBreakDeadTime:0000000000000000 $t
- /tmp/cc32U6bv.s:4637 .text.HAL_TIMEx_ConfigBreakDeadTime:0000000000000000 HAL_TIMEx_ConfigBreakDeadTime
- /tmp/cc32U6bv.s:4719 .text.HAL_TIMEx_RemapConfig:0000000000000000 $t
- /tmp/cc32U6bv.s:4726 .text.HAL_TIMEx_RemapConfig:0000000000000000 HAL_TIMEx_RemapConfig
- /tmp/cc32U6bv.s:4742 .text.HAL_TIMEx_CommutCallback:0000000000000000 $t
- /tmp/cc32U6bv.s:4749 .text.HAL_TIMEx_CommutCallback:0000000000000000 HAL_TIMEx_CommutCallback
- /tmp/cc32U6bv.s:4762 .text.TIMEx_DMACommutationCplt:0000000000000000 $t
- /tmp/cc32U6bv.s:4796 .text.HAL_TIMEx_CommutHalfCpltCallback:0000000000000000 $t
- /tmp/cc32U6bv.s:4803 .text.HAL_TIMEx_CommutHalfCpltCallback:0000000000000000 HAL_TIMEx_CommutHalfCpltCallback
- /tmp/cc32U6bv.s:4816 .text.TIMEx_DMACommutationHalfCplt:0000000000000000 $t
- /tmp/cc32U6bv.s:4850 .text.HAL_TIMEx_BreakCallback:0000000000000000 $t
- /tmp/cc32U6bv.s:4857 .text.HAL_TIMEx_BreakCallback:0000000000000000 HAL_TIMEx_BreakCallback
- /tmp/cc32U6bv.s:4870 .text.HAL_TIMEx_HallSensor_GetState:0000000000000000 $t
- /tmp/cc32U6bv.s:4877 .text.HAL_TIMEx_HallSensor_GetState:0000000000000000 HAL_TIMEx_HallSensor_GetState
- /tmp/cc32U6bv.s:4894 .text.HAL_TIMEx_GetChannelNState:0000000000000000 $t
- /tmp/cc32U6bv.s:4901 .text.HAL_TIMEx_GetChannelNState:0000000000000000 HAL_TIMEx_GetChannelNState
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-HAL_TIM_ErrorCallback
-HAL_TIM_PWM_PulseFinishedCallback
-TIM_Base_SetConfig
-TIM_TI1_SetConfig
-TIM_OC2_SetConfig
-TIM_CCxChannelCmd
-HAL_DMA_Start_IT
-TIM_DMACaptureCplt
-TIM_DMACaptureHalfCplt
-TIM_DMAError
-HAL_DMA_Abort_IT
-TIM_DMADelayPulseHalfCplt
diff --git a/build/stm32f1xx_hal_tim_ex.o b/build/stm32f1xx_hal_tim_ex.o
deleted file mode 100644
index 8ce8cef..0000000
Binary files a/build/stm32f1xx_hal_tim_ex.o and /dev/null differ
diff --git a/build/stm32f1xx_hal_uart.d b/build/stm32f1xx_hal_uart.d
deleted file mode 100644
index 88bceb2..0000000
--- a/build/stm32f1xx_hal_uart.d
+++ /dev/null
@@ -1,93 +0,0 @@
-build/stm32f1xx_hal_uart.o: \
- Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/stm32f1xx_hal_uart.lst b/build/stm32f1xx_hal_uart.lst
deleted file mode 100644
index a52bc47..0000000
--- a/build/stm32f1xx_hal_uart.lst
+++ /dev/null
@@ -1,8192 +0,0 @@
-ARM GAS /tmp/ccFcN4UJ.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "stm32f1xx_hal_uart.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.UART_EndTxTransfer,"ax",%progbits
- 16 .align 1
- 17 .syntax unified
- 18 .thumb
- 19 .thumb_func
- 20 .fpu softvfp
- 22 UART_EndTxTransfer:
- 23 .LFB109:
- 24 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c"
- 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
- 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ******************************************************************************
- 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @file stm32f1xx_hal_uart.c
- 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @author MCD Application Team
- 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief UART HAL module driver.
- 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * This file provides firmware functions to manage the following
- 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * functionalities of the Universal Asynchronous Receiver Transmitter Peripheral (UART).
- 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * + Initialization and de-initialization functions
- 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * + IO operation functions
- 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * + Peripheral Control functions
- 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * + Peripheral State and Errors functions
- 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** @verbatim
- 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ==============================================================================
- 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ##### How to use this driver #####
- 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ==============================================================================
- 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..]
- 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** The UART HAL driver can be used as follows:
- 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) Declare a UART_HandleTypeDef handle structure (eg. UART_HandleTypeDef huart).
- 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) Initialize the UART low level resources by implementing the HAL_UART_MspInit() API:
- 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (##) Enable the USARTx interface clock.
- 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (##) UART pins configuration:
- 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+++) Enable the clock for the UART GPIOs.
- 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+++) Configure these UART pins (TX as alternate function pull-up, RX as alternate func
- 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (##) NVIC configuration if you need to use interrupt process (HAL_UART_Transmit_IT()
- 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** and HAL_UART_Receive_IT() APIs):
- 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+++) Configure the USARTx interrupt priority.
- 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+++) Enable the NVIC USART IRQ handle.
- 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (##) DMA Configuration if you need to use DMA process (HAL_UART_Transmit_DMA()
- 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** and HAL_UART_Receive_DMA() APIs):
- 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+++) Declare a DMA handle structure for the Tx/Rx channel.
- 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+++) Enable the DMAx interface clock.
- 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+++) Configure the declared DMA handle structure with the required
- 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Tx/Rx parameters.
-ARM GAS /tmp/ccFcN4UJ.s page 2
-
-
- 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+++) Configure the DMA Tx/Rx channel.
- 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+++) Associate the initialized DMA handle to the UART DMA Tx/Rx handle.
- 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+++) Configure the priority and enable the NVIC for the transfer complete
- 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** interrupt on the DMA Tx/Rx channel.
- 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+++) Configure the USARTx interrupt priority and enable the NVIC USART IRQ handle
- 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (used for last byte sending completion detection in DMA non circular mode)
- 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) Program the Baud Rate, Word Length, Stop Bit, Parity, Hardware
- 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** flow control and Mode(Receiver/Transmitter) in the huart Init structure.
- 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) For the UART asynchronous mode, initialize the UART registers by calling
- 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_UART_Init() API.
- 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) For the UART Half duplex mode, initialize the UART registers by calling
- 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_HalfDuplex_Init() API.
- 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) For the LIN mode, initialize the UART registers by calling the HAL_LIN_Init() API.
- 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) For the Multi-Processor mode, initialize the UART registers by calling
- 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_MultiProcessor_Init() API.
- 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..]
- 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (@) The specific UART interrupts (Transmission complete interrupt,
- 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** RXNE interrupt and Error Interrupts) will be managed using the macros
- 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_ENABLE_IT() and __HAL_UART_DISABLE_IT() inside the transmit
- 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** and receive process.
- 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..]
- 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (@) These APIs (HAL_UART_Init() and HAL_HalfDuplex_Init()) configure also the
- 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** low level Hardware GPIO, CLOCK, CORTEX...etc) by calling the customized
- 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_MspInit() API.
- 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ##### Callback registration #####
- 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ==================================
- 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..]
- 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** The compilation define USE_HAL_UART_REGISTER_CALLBACKS when set to 1
- 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** allows the user to configure dynamically the driver callbacks.
- 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..]
- 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Use Function @ref HAL_UART_RegisterCallback() to register a user callback.
- 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Function @ref HAL_UART_RegisterCallback() allows to register following callbacks:
- 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) TxHalfCpltCallback : Tx Half Complete Callback.
- 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) TxCpltCallback : Tx Complete Callback.
- 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) RxHalfCpltCallback : Rx Half Complete Callback.
- 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) RxCpltCallback : Rx Complete Callback.
- 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) ErrorCallback : Error Callback.
- 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) AbortCpltCallback : Abort Complete Callback.
- 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) AbortTransmitCpltCallback : Abort Transmit Complete Callback.
- 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) AbortReceiveCpltCallback : Abort Receive Complete Callback.
- 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) MspInitCallback : UART MspInit.
- 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) MspDeInitCallback : UART MspDeInit.
- 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** This function takes as parameters the HAL peripheral handle, the Callback ID
- 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** and a pointer to the user callback function.
- 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..]
- 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Use function @ref HAL_UART_UnRegisterCallback() to reset a callback to the default
-ARM GAS /tmp/ccFcN4UJ.s page 3
-
-
- 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** weak (surcharged) function.
- 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** @ref HAL_UART_UnRegisterCallback() takes as parameters the HAL peripheral handle,
- 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** and the Callback ID.
- 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** This function allows to reset following callbacks:
- 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) TxHalfCpltCallback : Tx Half Complete Callback.
- 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) TxCpltCallback : Tx Complete Callback.
- 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) RxHalfCpltCallback : Rx Half Complete Callback.
- 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) RxCpltCallback : Rx Complete Callback.
- 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) ErrorCallback : Error Callback.
- 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) AbortCpltCallback : Abort Complete Callback.
- 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) AbortTransmitCpltCallback : Abort Transmit Complete Callback.
- 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) AbortReceiveCpltCallback : Abort Receive Complete Callback.
- 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) MspInitCallback : UART MspInit.
- 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) MspDeInitCallback : UART MspDeInit.
- 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..]
- 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** By default, after the @ref HAL_UART_Init() and when the state is HAL_UART_STATE_RESET
- 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** all callbacks are set to the corresponding weak (surcharged) functions:
- 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** examples @ref HAL_UART_TxCpltCallback(), @ref HAL_UART_RxHalfCpltCallback().
- 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Exception done for MspInit and MspDeInit functions that are respectively
- 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** reset to the legacy weak (surcharged) functions in the @ref HAL_UART_Init()
- 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** and @ref HAL_UART_DeInit() only when these callbacks are null (not registered beforehand).
- 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** If not, MspInit or MspDeInit are not null, the @ref HAL_UART_Init() and @ref HAL_UART_DeInit()
- 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** keep and use the user MspInit/MspDeInit callbacks (registered beforehand).
- 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..]
- 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Callbacks can be registered/unregistered in HAL_UART_STATE_READY state only.
- 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Exception done MspInit/MspDeInit that can be registered/unregistered
- 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** in HAL_UART_STATE_READY or HAL_UART_STATE_RESET state, thus registered (user)
- 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** MspInit/DeInit callbacks can be used during the Init/DeInit.
- 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** In that case first register the MspInit/MspDeInit user callbacks
- 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** using @ref HAL_UART_RegisterCallback() before calling @ref HAL_UART_DeInit()
- 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** or @ref HAL_UART_Init() function.
- 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..]
- 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** When The compilation define USE_HAL_UART_REGISTER_CALLBACKS is set to 0 or
- 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** not defined, the callback registration feature is not available
- 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** and weak (surcharged) callbacks are used.
- 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..]
- 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Three operation modes are available within this driver :
- 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *** Polling mode IO operation ***
- 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** =================================
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..]
- 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Send an amount of data in blocking mode using HAL_UART_Transmit()
- 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Receive an amount of data in blocking mode using HAL_UART_Receive()
- 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *** Interrupt mode IO operation ***
- 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ===================================
- 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..]
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Send an amount of data in non blocking mode using HAL_UART_Transmit_IT()
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) At transmission end of transfer HAL_UART_TxCpltCallback is executed and user can
- 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** add his own code by customization of function pointer HAL_UART_TxCpltCallback
- 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Receive an amount of data in non blocking mode using HAL_UART_Receive_IT()
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) At reception end of transfer HAL_UART_RxCpltCallback is executed and user can
- 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** add his own code by customization of function pointer HAL_UART_RxCpltCallback
-ARM GAS /tmp/ccFcN4UJ.s page 4
-
-
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) In case of transfer Error, HAL_UART_ErrorCallback() function is executed and user can
- 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** add his own code by customization of function pointer HAL_UART_ErrorCallback
- 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *** DMA mode IO operation ***
- 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ==============================
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..]
- 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Send an amount of data in non blocking mode (DMA) using HAL_UART_Transmit_DMA()
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) At transmission end of half transfer HAL_UART_TxHalfCpltCallback is executed and user ca
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** add his own code by customization of function pointer HAL_UART_TxHalfCpltCallback
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) At transmission end of transfer HAL_UART_TxCpltCallback is executed and user can
- 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** add his own code by customization of function pointer HAL_UART_TxCpltCallback
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Receive an amount of data in non blocking mode (DMA) using HAL_UART_Receive_DMA()
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) At reception end of half transfer HAL_UART_RxHalfCpltCallback is executed and user can
- 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** add his own code by customization of function pointer HAL_UART_RxHalfCpltCallback
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) At reception end of transfer HAL_UART_RxCpltCallback is executed and user can
- 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** add his own code by customization of function pointer HAL_UART_RxCpltCallback
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) In case of transfer Error, HAL_UART_ErrorCallback() function is executed and user can
- 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** add his own code by customization of function pointer HAL_UART_ErrorCallback
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Pause the DMA Transfer using HAL_UART_DMAPause()
- 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Resume the DMA Transfer using HAL_UART_DMAResume()
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Stop the DMA Transfer using HAL_UART_DMAStop()
- 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *** UART HAL driver macros list ***
- 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** =============================================
- 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..]
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Below the list of most used macros in UART HAL driver.
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) __HAL_UART_ENABLE: Enable the UART peripheral
- 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) __HAL_UART_DISABLE: Disable the UART peripheral
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) __HAL_UART_GET_FLAG : Check whether the specified UART flag is set or not
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) __HAL_UART_CLEAR_FLAG : Clear the specified UART pending flag
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) __HAL_UART_ENABLE_IT: Enable the specified UART interrupt
- 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) __HAL_UART_DISABLE_IT: Disable the specified UART interrupt
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) __HAL_UART_GET_IT_SOURCE: Check whether the specified UART interrupt has occurred or not
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..]
- 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (@) You can refer to the UART HAL driver header file for more useful macros
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** @endverbatim
- 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..]
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (@) Additionnal remark: If the parity is enabled, then the MSB bit of the data written
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** in the data register is transmitted but is changed by the parity bit.
- 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Depending on the frame length defined by the M bit (8-bits or 9-bits),
- 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the possible UART frame formats are as listed in the following table:
- 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** +-------------------------------------------------------------+
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** | M bit | PCE bit | UART frame |
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |---------------------|---------------------------------------|
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** | 0 | 0 | | SB | 8 bit data | STB | |
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |---------|-----------|---------------------------------------|
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** | 0 | 1 | | SB | 7 bit data | PB | STB | |
- 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |---------|-----------|---------------------------------------|
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** | 1 | 0 | | SB | 9 bit data | STB | |
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** |---------|-----------|---------------------------------------|
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** | 1 | 1 | | SB | 8 bit data | PB | STB | |
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** +-------------------------------------------------------------+
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ******************************************************************************
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @attention
-ARM GAS /tmp/ccFcN4UJ.s page 5
-
-
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * © Copyright (c) 2016 STMicroelectronics.
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * All rights reserved.
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the "License"; You may not use this file except in compliance with the
- 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * License. You may obtain a copy of the License at:
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * opensource.org/licenses/BSD-3-Clause
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ******************************************************************************
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Includes ------------------------------------------------------------------*/
- 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #include "stm32f1xx_hal.h"
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** @addtogroup STM32F1xx_HAL_Driver
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @{
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
- 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** @defgroup UART UART
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief HAL UART module driver
- 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @{
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #ifdef HAL_UART_MODULE_ENABLED
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Private typedef -----------------------------------------------------------*/
- 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Private define ------------------------------------------------------------*/
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** @addtogroup UART_Private_Constants
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @{
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @}
- 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Private macro -------------------------------------------------------------*/
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Private variables ---------------------------------------------------------*/
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Private function prototypes -----------------------------------------------*/
- 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** @addtogroup UART_Private_Functions UART Private Functions
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @{
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** void UART_InitCallbacksToDefault(UART_HandleTypeDef *huart);
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_EndTxTransfer(UART_HandleTypeDef *huart);
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_EndRxTransfer(UART_HandleTypeDef *huart);
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMATransmitCplt(DMA_HandleTypeDef *hdma);
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMAReceiveCplt(DMA_HandleTypeDef *hdma);
- 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMATxHalfCplt(DMA_HandleTypeDef *hdma);
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMARxHalfCplt(DMA_HandleTypeDef *hdma);
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMAError(DMA_HandleTypeDef *hdma);
- 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMAAbortOnError(DMA_HandleTypeDef *hdma);
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMATxAbortCallback(DMA_HandleTypeDef *hdma);
- 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMARxAbortCallback(DMA_HandleTypeDef *hdma);
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMATxOnlyAbortCallback(DMA_HandleTypeDef *hdma);
- 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMARxOnlyAbortCallback(DMA_HandleTypeDef *hdma);
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static HAL_StatusTypeDef UART_Transmit_IT(UART_HandleTypeDef *huart);
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static HAL_StatusTypeDef UART_EndTransmit_IT(UART_HandleTypeDef *huart);
-ARM GAS /tmp/ccFcN4UJ.s page 6
-
-
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static HAL_StatusTypeDef UART_Receive_IT(UART_HandleTypeDef *huart);
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static HAL_StatusTypeDef UART_WaitOnFlagUntilTimeout(UART_HandleTypeDef *huart, uint32_t Flag, Flag
- 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_SetConfig(UART_HandleTypeDef *huart);
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @}
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Exported functions ---------------------------------------------------------*/
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** @defgroup UART_Exported_Functions UART Exported Functions
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @{
- 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** @defgroup UART_Exported_Functions_Group1 Initialization and de-initialization functions
- 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Initialization and Configuration functions
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** @verbatim
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ===============================================================================
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ##### Initialization and Configuration functions #####
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ===============================================================================
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..]
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** This subsection provides a set of functions allowing to initialize the USARTx or the UARTy
- 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** in asynchronous mode.
- 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) For the asynchronous mode only these parameters can be configured:
- 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (++) Baud Rate
- 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (++) Word Length
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (++) Stop Bit
- 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (++) Parity: If the parity is enabled, then the MSB bit of the data written
- 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** in the data register is transmitted but is changed by the parity bit.
- 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Depending on the frame length defined by the M bit (8-bits or 9-bits),
- 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** please refer to Reference manual for possible UART frame formats.
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (++) Hardware flow control
- 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (++) Receiver/transmitter modes
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (++) Over Sampling Method
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..]
- 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** The HAL_UART_Init(), HAL_HalfDuplex_Init(), HAL_LIN_Init() and HAL_MultiProcessor_Init() APIs
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** follow respectively the UART asynchronous, UART Half duplex, LIN and Multi-Processor configurat
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** procedures (details for the procedures are available in reference manuals
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (RM0008 for STM32F10Xxx MCUs and RM0041 for STM32F100xx MCUs)).
- 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** @endverbatim
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @{
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Initializes the UART mode according to the specified parameters in
- 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the UART_InitTypeDef and create the associated handle.
- 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
- 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
- 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_Init(UART_HandleTypeDef *huart)
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart == NULL)
- 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_ERROR;
-ARM GAS /tmp/ccFcN4UJ.s page 7
-
-
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the parameters */
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.HwFlowCtl != UART_HWCONTROL_NONE)
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* The hardware flow control is available only for USART1, USART2 and USART3 */
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_HWFLOW_INSTANCE(huart->Instance));
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_HARDWARE_FLOW_CONTROL(huart->Init.HwFlowCtl));
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_INSTANCE(huart->Instance));
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_WORD_LENGTH(huart->Init.WordLength));
- 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if defined(USART_CR1_OVER8)
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_OVERSAMPLING(huart->Init.OverSampling));
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USART_CR1_OVER8 */
- 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->gState == HAL_UART_STATE_RESET)
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Allocate lock resource and initialize it */
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Lock = HAL_UNLOCKED;
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_InitCallbacksToDefault(huart);
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->MspInitCallback == NULL)
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspInitCallback = HAL_UART_MspInit;
- 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Init the low level hardware */
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspInitCallback(huart);
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
- 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Init the low level hardware : GPIO, CLOCK */
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_MspInit(huart);
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY;
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the peripheral */
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_DISABLE(huart);
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART Communication parameters */
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_SetConfig(huart);
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* In asynchronous mode, the following bits must be kept cleared:
- 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** - LINEN and CLKEN bits in the USART_CR2 register,
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** - SCEN, HDSEL and IREN bits in the USART_CR3 register.*/
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN));
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN));
- 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the peripheral */
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_ENABLE(huart);
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Initialize the UART state */
-ARM GAS /tmp/ccFcN4UJ.s page 8
-
-
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE;
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Initializes the half-duplex mode according to the specified
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * parameters in the UART_InitTypeDef and create the associated handle.
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
- 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_HalfDuplex_Init(UART_HandleTypeDef *huart)
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart == NULL)
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_ERROR;
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the parameters */
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_HALFDUPLEX_INSTANCE(huart->Instance));
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_WORD_LENGTH(huart->Init.WordLength));
- 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if defined(USART_CR1_OVER8)
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_OVERSAMPLING(huart->Init.OverSampling));
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USART_CR1_OVER8 */
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->gState == HAL_UART_STATE_RESET)
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Allocate lock resource and initialize it */
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Lock = HAL_UNLOCKED;
- 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_InitCallbacksToDefault(huart);
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->MspInitCallback == NULL)
- 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspInitCallback = HAL_UART_MspInit;
- 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Init the low level hardware */
- 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspInitCallback(huart);
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Init the low level hardware : GPIO, CLOCK */
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_MspInit(huart);
- 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY;
- 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the peripheral */
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_DISABLE(huart);
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART Communication parameters */
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_SetConfig(huart);
-ARM GAS /tmp/ccFcN4UJ.s page 9
-
-
- 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* In half-duplex mode, the following bits must be kept cleared:
- 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** - LINEN and CLKEN bits in the USART_CR2 register,
- 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** - SCEN and IREN bits in the USART_CR3 register.*/
- 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN));
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, (USART_CR3_IREN | USART_CR3_SCEN));
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the Half-Duplex mode by setting the HDSEL bit in the CR3 register */
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR3, USART_CR3_HDSEL);
- 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the peripheral */
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_ENABLE(huart);
- 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Initialize the UART state*/
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE;
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
- 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
- 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
- 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Initializes the LIN mode according to the specified
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * parameters in the UART_InitTypeDef and create the associated handle.
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param BreakDetectLength Specifies the LIN break detection length.
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * This parameter can be one of the following values:
- 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg UART_LINBREAKDETECTLENGTH_10B: 10-bit break detection
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg UART_LINBREAKDETECTLENGTH_11B: 11-bit break detection
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_LIN_Init(UART_HandleTypeDef *huart, uint32_t BreakDetectLength)
- 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */
- 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart == NULL)
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_ERROR;
- 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the LIN UART instance */
- 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_LIN_INSTANCE(huart->Instance));
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the Break detection length parameter */
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_LIN_BREAK_DETECT_LENGTH(BreakDetectLength));
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_LIN_WORD_LENGTH(huart->Init.WordLength));
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if defined(USART_CR1_OVER8)
- 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_LIN_OVERSAMPLING(huart->Init.OverSampling));
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USART_CR1_OVER8 */
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->gState == HAL_UART_STATE_RESET)
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Allocate lock resource and initialize it */
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Lock = HAL_UNLOCKED;
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
- 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_InitCallbacksToDefault(huart);
-ARM GAS /tmp/ccFcN4UJ.s page 10
-
-
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->MspInitCallback == NULL)
- 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspInitCallback = HAL_UART_MspInit;
- 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Init the low level hardware */
- 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspInitCallback(huart);
- 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
- 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Init the low level hardware : GPIO, CLOCK */
- 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_MspInit(huart);
- 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY;
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the peripheral */
- 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_DISABLE(huart);
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART Communication parameters */
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_SetConfig(huart);
- 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* In LIN mode, the following bits must be kept cleared:
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** - CLKEN bits in the USART_CR2 register,
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** - SCEN, HDSEL and IREN bits in the USART_CR3 register.*/
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR2, (USART_CR2_CLKEN));
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, (USART_CR3_HDSEL | USART_CR3_IREN | USART_CR3_SCEN));
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the LIN mode by setting the LINEN bit in the CR2 register */
- 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR2, USART_CR2_LINEN);
- 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the USART LIN Break detection length. */
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR2, USART_CR2_LBDL);
- 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR2, BreakDetectLength);
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the peripheral */
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_ENABLE(huart);
- 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Initialize the UART state*/
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE;
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Initializes the Multi-Processor mode according to the specified
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * parameters in the UART_InitTypeDef and create the associated handle.
- 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
- 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
- 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Address USART address
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param WakeUpMethod specifies the USART wake-up method.
- 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * This parameter can be one of the following values:
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg UART_WAKEUPMETHOD_IDLELINE: Wake-up by an idle line detection
- 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg UART_WAKEUPMETHOD_ADDRESSMARK: Wake-up by an address mark
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-ARM GAS /tmp/ccFcN4UJ.s page 11
-
-
- 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_MultiProcessor_Init(UART_HandleTypeDef *huart, uint8_t Address, uint32_t Wake
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart == NULL)
- 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_ERROR;
- 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the parameters */
- 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_INSTANCE(huart->Instance));
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the Address & wake up method parameters */
- 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_WAKEUPMETHOD(WakeUpMethod));
- 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_ADDRESS(Address));
- 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_WORD_LENGTH(huart->Init.WordLength));
- 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if defined(USART_CR1_OVER8)
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_OVERSAMPLING(huart->Init.OverSampling));
- 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USART_CR1_OVER8 */
- 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->gState == HAL_UART_STATE_RESET)
- 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Allocate lock resource and initialize it */
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Lock = HAL_UNLOCKED;
- 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
- 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_InitCallbacksToDefault(huart);
- 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->MspInitCallback == NULL)
- 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspInitCallback = HAL_UART_MspInit;
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Init the low level hardware */
- 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspInitCallback(huart);
- 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
- 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Init the low level hardware : GPIO, CLOCK */
- 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_MspInit(huart);
- 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY;
- 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the peripheral */
- 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_DISABLE(huart);
- 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART Communication parameters */
- 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_SetConfig(huart);
- 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* In Multi-Processor mode, the following bits must be kept cleared:
- 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** - LINEN and CLKEN bits in the USART_CR2 register,
- 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** - SCEN, HDSEL and IREN bits in the USART_CR3 register */
- 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN));
- 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN));
- 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the USART address node */
- 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR2, USART_CR2_ADD);
-ARM GAS /tmp/ccFcN4UJ.s page 12
-
-
- 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR2, Address);
- 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the wake up method by setting the WAKE bit in the CR1 register */
- 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, USART_CR1_WAKE);
- 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR1, WakeUpMethod);
- 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the peripheral */
- 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_ENABLE(huart);
- 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Initialize the UART state */
- 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE;
- 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
- 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief DeInitializes the UART peripheral.
- 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
- 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
- 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
- 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
- 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_DeInit(UART_HandleTypeDef *huart)
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */
- 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart == NULL)
- 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_ERROR;
- 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the parameters */
- 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_INSTANCE(huart->Instance));
- 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY;
- 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the Peripheral */
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_DISABLE(huart);
- 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
- 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->MspDeInitCallback == NULL)
- 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspDeInitCallback = HAL_UART_MspDeInit;
- 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* DeInit the low level hardware */
- 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspDeInitCallback(huart);
- 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
- 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* DeInit the low level hardware */
- 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_MspDeInit(huart);
- 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */
- 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE;
- 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_RESET;
- 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_RESET;
- 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlock */
- 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart);
-ARM GAS /tmp/ccFcN4UJ.s page 13
-
-
- 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
- 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
- 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief UART MSP Init.
- 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
- 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
- 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None
- 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
- 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __weak void HAL_UART_MspInit(UART_HandleTypeDef *huart)
- 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */
- 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UNUSED(huart);
- 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE: This function should not be modified, when the callback is needed,
- 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_UART_MspInit could be implemented in the user file
- 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
- 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
- 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief UART MSP DeInit.
- 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
- 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
- 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None
- 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
- 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __weak void HAL_UART_MspDeInit(UART_HandleTypeDef *huart)
- 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */
- 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UNUSED(huart);
- 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE: This function should not be modified, when the callback is needed,
- 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_UART_MspDeInit could be implemented in the user file
- 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
- 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
- 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Register a User UART Callback
- 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * To be used instead of the weak predefined callback
- 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart uart handle
- 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param CallbackID ID of the callback to be registered
- 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * This parameter can be one of the following values:
- 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_TX_HALFCOMPLETE_CB_ID Tx Half Complete Callback ID
- 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_TX_COMPLETE_CB_ID Tx Complete Callback ID
- 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_RX_HALFCOMPLETE_CB_ID Rx Half Complete Callback ID
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_RX_COMPLETE_CB_ID Rx Complete Callback ID
- 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_ERROR_CB_ID Error Callback ID
- 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_ABORT_COMPLETE_CB_ID Abort Complete Callback ID
- 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_ABORT_TRANSMIT_COMPLETE_CB_ID Abort Transmit Complete Callback ID
- 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_ABORT_RECEIVE_COMPLETE_CB_ID Abort Receive Complete Callback ID
- 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_MSPINIT_CB_ID MspInit Callback ID
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_MSPDEINIT_CB_ID MspDeInit Callback ID
- 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param pCallback pointer to the Callback function
- 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
- 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
- 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_RegisterCallback(UART_HandleTypeDef *huart, HAL_UART_CallbackIDTypeDef C
- 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef status = HAL_OK;
-ARM GAS /tmp/ccFcN4UJ.s page 14
-
-
- 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (pCallback == NULL)
- 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Update the error code */
- 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode |= HAL_UART_ERROR_INVALID_CALLBACK;
- 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_ERROR;
- 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process locked */
- 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart);
- 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->gState == HAL_UART_STATE_READY)
- 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** switch (CallbackID)
- 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_TX_HALFCOMPLETE_CB_ID :
- 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxHalfCpltCallback = pCallback;
- 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_TX_COMPLETE_CB_ID :
- 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxCpltCallback = pCallback;
- 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_RX_HALFCOMPLETE_CB_ID :
- 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxHalfCpltCallback = pCallback;
- 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_RX_COMPLETE_CB_ID :
- 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxCpltCallback = pCallback;
- 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_ERROR_CB_ID :
- 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCallback = pCallback;
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_ABORT_COMPLETE_CB_ID :
- 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortCpltCallback = pCallback;
- 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_ABORT_TRANSMIT_COMPLETE_CB_ID :
- 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortTransmitCpltCallback = pCallback;
- 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_ABORT_RECEIVE_COMPLETE_CB_ID :
- 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortReceiveCpltCallback = pCallback;
- 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_MSPINIT_CB_ID :
- 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspInitCallback = pCallback;
- 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_MSPDEINIT_CB_ID :
- 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspDeInitCallback = pCallback;
- 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** default :
- 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Update the error code */
-ARM GAS /tmp/ccFcN4UJ.s page 15
-
-
- 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode |= HAL_UART_ERROR_INVALID_CALLBACK;
- 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Return error status */
- 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** status = HAL_ERROR;
- 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else if (huart->gState == HAL_UART_STATE_RESET)
- 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** switch (CallbackID)
- 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_MSPINIT_CB_ID :
- 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspInitCallback = pCallback;
- 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_MSPDEINIT_CB_ID :
- 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspDeInitCallback = pCallback;
- 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** default :
- 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Update the error code */
- 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode |= HAL_UART_ERROR_INVALID_CALLBACK;
- 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Return error status */
- 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** status = HAL_ERROR;
- 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Update the error code */
- 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode |= HAL_UART_ERROR_INVALID_CALLBACK;
- 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Return error status */
- 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** status = HAL_ERROR;
- 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Release Lock */
- 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart);
- 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return status;
- 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
- 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Unregister an UART Callback
- 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * UART callaback is redirected to the weak predefined callback
- 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart uart handle
- 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param CallbackID ID of the callback to be unregistered
- 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * This parameter can be one of the following values:
- 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_TX_HALFCOMPLETE_CB_ID Tx Half Complete Callback ID
- 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_TX_COMPLETE_CB_ID Tx Complete Callback ID
- 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_RX_HALFCOMPLETE_CB_ID Rx Half Complete Callback ID
- 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_RX_COMPLETE_CB_ID Rx Complete Callback ID
- 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_ERROR_CB_ID Error Callback ID
- 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_ABORT_COMPLETE_CB_ID Abort Complete Callback ID
- 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_ABORT_TRANSMIT_COMPLETE_CB_ID Abort Transmit Complete Callback ID
- 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_ABORT_RECEIVE_COMPLETE_CB_ID Abort Receive Complete Callback ID
-ARM GAS /tmp/ccFcN4UJ.s page 16
-
-
- 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_MSPINIT_CB_ID MspInit Callback ID
- 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @arg @ref HAL_UART_MSPDEINIT_CB_ID MspDeInit Callback ID
- 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
- 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
- 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_UnRegisterCallback(UART_HandleTypeDef *huart, HAL_UART_CallbackIDTypeDef
- 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef status = HAL_OK;
- 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process locked */
- 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart);
- 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_UART_STATE_READY == huart->gState)
- 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** switch (CallbackID)
- 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_TX_HALFCOMPLETE_CB_ID :
- 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxHalfCpltCallback = HAL_UART_TxHalfCpltCallback; /* Legacy weak TxHa
- 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_TX_COMPLETE_CB_ID :
- 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxCpltCallback = HAL_UART_TxCpltCallback; /* Legacy weak TxCpl
- 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_RX_HALFCOMPLETE_CB_ID :
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxHalfCpltCallback = HAL_UART_RxHalfCpltCallback; /* Legacy weak RxHal
- 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_RX_COMPLETE_CB_ID :
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxCpltCallback = HAL_UART_RxCpltCallback; /* Legacy weak RxCpl
- 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_ERROR_CB_ID :
- 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCallback = HAL_UART_ErrorCallback; /* Legacy weak Error
- 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_ABORT_COMPLETE_CB_ID :
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortCpltCallback = HAL_UART_AbortCpltCallback; /* Legacy weak Abort
- 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_ABORT_TRANSMIT_COMPLETE_CB_ID :
- 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortTransmitCpltCallback = HAL_UART_AbortTransmitCpltCallback; /* Legacy weak Abort
- 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_ABORT_RECEIVE_COMPLETE_CB_ID :
- 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortReceiveCpltCallback = HAL_UART_AbortReceiveCpltCallback; /* Legacy weak Abort
- 878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_MSPINIT_CB_ID :
- 881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspInitCallback = HAL_UART_MspInit; /* Legacy weak MspIn
- 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_MSPDEINIT_CB_ID :
- 885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspDeInitCallback = HAL_UART_MspDeInit; /* Legacy weak MspDe
- 886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** default :
- 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Update the error code */
-ARM GAS /tmp/ccFcN4UJ.s page 17
-
-
- 890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode |= HAL_UART_ERROR_INVALID_CALLBACK;
- 891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Return error status */
- 893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** status = HAL_ERROR;
- 894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else if (HAL_UART_STATE_RESET == huart->gState)
- 898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** switch (CallbackID)
- 900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_MSPINIT_CB_ID :
- 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspInitCallback = HAL_UART_MspInit;
- 903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** case HAL_UART_MSPDEINIT_CB_ID :
- 906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->MspDeInitCallback = HAL_UART_MspDeInit;
- 907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** default :
- 910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Update the error code */
- 911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode |= HAL_UART_ERROR_INVALID_CALLBACK;
- 912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Return error status */
- 914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** status = HAL_ERROR;
- 915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** break;
- 916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
- 919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Update the error code */
- 921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode |= HAL_UART_ERROR_INVALID_CALLBACK;
- 922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Return error status */
- 924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** status = HAL_ERROR;
- 925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Release Lock */
- 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart);
- 929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return status;
- 931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
- 933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
- 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @}
- 936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
- 937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** @defgroup UART_Exported_Functions_Group2 IO operation functions
- 939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief UART Transmit and Receive functions
- 940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *
- 941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** @verbatim
- 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ===============================================================================
- 943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ##### IO operation functions #####
- 944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ===============================================================================
- 945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** This subsection provides a set of functions allowing to manage the UART asynchronous
- 946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** and Half duplex data transfers.
-ARM GAS /tmp/ccFcN4UJ.s page 18
-
-
- 947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) There are two modes of transfer:
- 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Blocking mode: The communication is performed in polling mode.
- 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** The HAL status of all data processing is returned by the same function
- 951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** after finishing transfer.
- 952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Non-Blocking mode: The communication is performed using Interrupts
- 953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** or DMA, these API's return the HAL status.
- 954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** The end of the data processing will be indicated through the
- 955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** dedicated UART IRQ when using Interrupt mode or the DMA IRQ when
- 956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** using DMA mode.
- 957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** The HAL_UART_TxCpltCallback(), HAL_UART_RxCpltCallback() user callbacks
- 958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** will be executed respectively at the end of the transmit or receive process
- 959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** The HAL_UART_ErrorCallback()user callback will be executed when a communication error is
- 960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) Blocking mode API's are :
- 962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_Transmit()
- 963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_Receive()
- 964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) Non-Blocking mode API's with Interrupt are :
- 966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_Transmit_IT()
- 967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_Receive_IT()
- 968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_IRQHandler()
- 969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) Non-Blocking mode API's with DMA are :
- 971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_Transmit_DMA()
- 972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_Receive_DMA()
- 973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_DMAPause()
- 974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_DMAResume()
- 975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_DMAStop()
- 976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) A set of Transfer Complete Callbacks are provided in Non_Blocking mode:
- 978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_TxHalfCpltCallback()
- 979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_TxCpltCallback()
- 980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_RxHalfCpltCallback()
- 981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_RxCpltCallback()
- 982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_ErrorCallback()
- 983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) Non-Blocking mode transfers could be aborted using Abort API's :
- 985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_Abort()
- 986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_AbortTransmit()
- 987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_AbortReceive()
- 988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_Abort_IT()
- 989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_AbortTransmit_IT()
- 990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_AbortReceive_IT()
- 991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) For Abort services based on interrupts (HAL_UART_Abortxxx_IT), a set of Abort Complete Call
- 993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_AbortCpltCallback()
- 994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_AbortTransmitCpltCallback()
- 995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_AbortReceiveCpltCallback()
- 996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (#) In Non-Blocking mode transfers, possible errors are split into 2 categories.
- 998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Errors are handled as follows :
- 999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Error is considered as Recoverable and non blocking : Transfer could go till end, but er
-1000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** to be evaluated by user : this concerns Frame Error, Parity Error or Noise Error in Inte
-1001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Received character is then retrieved and stored in Rx buffer, Error code is set to allow
-1002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** and HAL_UART_ErrorCallback() user callback is executed. Transfer is kept ongoing on UART
-1003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** If user wants to abort it, Abort services should be called by user.
-ARM GAS /tmp/ccFcN4UJ.s page 19
-
-
-1004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) Error is considered as Blocking : Transfer could not be completed properly and is aborte
-1005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** This concerns Overrun Error In Interrupt mode reception and all errors in DMA mode.
-1006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Error code is set to allow user to identify error type, and HAL_UART_ErrorCallback() use
-1007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** -@- In the Half duplex communication, it is forbidden to run the transmit
-1009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** and receive process in parallel, the UART state HAL_UART_STATE_BUSY_TX_RX can't be useful.
-1010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** @endverbatim
-1012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @{
-1013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-1014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-1016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Sends an amount of data in blocking mode.
-1017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note When UART parity is not enabled (PCE = 0), and Word Length is configured to 9 bits (M1-
-1018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the sent data is handled as a set of u16. In this case, Size must indicate the number
-1019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * of u16 provided through pData.
-1020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-1021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-1022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param pData Pointer to data buffer (u8 or u16 data elements).
-1023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Size Amount of data elements (u8 or u16) to be sent
-1024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Timeout Timeout duration
-1025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-1026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-1027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint3
-1028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint8_t *pdata8bits;
-1030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint16_t *pdata16bits;
-1031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t tickstart = 0U;
-1032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check that a Tx process is not already ongoing */
-1034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->gState == HAL_UART_STATE_READY)
-1035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((pData == NULL) || (Size == 0U))
-1037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_ERROR;
-1039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */
-1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart);
-1043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE;
-1045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY_TX;
-1046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Init tickstart for timeout managment */
-1048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tickstart = HAL_GetTick();
-1049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferSize = Size;
-1051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = Size;
-1052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* In case of 9bits/No Parity transfer, pData needs to be handled as a uint16_t pointer */
-1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->Init.WordLength == UART_WORDLENGTH_9B) && (huart->Init.Parity == UART_PARITY_NONE))
-1055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pdata8bits = NULL;
-1057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pdata16bits = (uint16_t *) pData;
-1058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-1060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-ARM GAS /tmp/ccFcN4UJ.s page 20
-
-
-1061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pdata8bits = pData;
-1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pdata16bits = NULL;
-1063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */
-1066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart);
-1067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** while (huart->TxXferCount > 0U)
-1069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_TXE, RESET, tickstart, Timeout) != HAL_OK)
-1071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_TIMEOUT;
-1073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (pdata8bits == NULL)
-1075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Instance->DR = (uint16_t)(*pdata16bits & 0x01FFU);
-1077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pdata16bits++;
-1078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-1080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Instance->DR = (uint8_t)(*pdata8bits & 0xFFU);
-1082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pdata8bits++;
-1083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount--;
-1085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_TC, RESET, tickstart, Timeout) != HAL_OK)
-1088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_TIMEOUT;
-1090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* At end of Tx process, restore huart->gState to Ready */
-1093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
-1094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-1096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-1098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_BUSY;
-1100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-1104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Receives an amount of data in blocking mode.
-1105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note When UART parity is not enabled (PCE = 0), and Word Length is configured to 9 bits (M1-
-1106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the received data is handled as a set of u16. In this case, Size must indicate the numb
-1107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * of u16 available through pData.
-1108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-1109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-1110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param pData Pointer to data buffer (u8 or u16 data elements).
-1111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Size Amount of data elements (u8 or u16) to be received.
-1112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Timeout Timeout duration
-1113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-1114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-1115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_Receive(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32
-1116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint8_t *pdata8bits;
-ARM GAS /tmp/ccFcN4UJ.s page 21
-
-
-1118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint16_t *pdata16bits;
-1119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t tickstart = 0U;
-1120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check that a Rx process is not already ongoing */
-1122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->RxState == HAL_UART_STATE_READY)
-1123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((pData == NULL) || (Size == 0U))
-1125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_ERROR;
-1127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */
-1130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart);
-1131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE;
-1133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_BUSY_RX;
-1134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Init tickstart for timeout managment */
-1136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tickstart = HAL_GetTick();
-1137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferSize = Size;
-1139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = Size;
-1140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* In case of 9bits/No Parity transfer, pRxData needs to be handled as a uint16_t pointer */
-1142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->Init.WordLength == UART_WORDLENGTH_9B) && (huart->Init.Parity == UART_PARITY_NONE))
-1143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pdata8bits = NULL;
-1145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pdata16bits = (uint16_t *) pData;
-1146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-1148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pdata8bits = pData;
-1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pdata16bits = NULL;
-1151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */
-1154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart);
-1155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the remain data to be received */
-1157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** while (huart->RxXferCount > 0U)
-1158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_RXNE, RESET, tickstart, Timeout) != HAL_OK)
-1160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_TIMEOUT;
-1162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (pdata8bits == NULL)
-1164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *pdata16bits = (uint16_t)(huart->Instance->DR & 0x01FF);
-1166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pdata16bits++;
-1167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-1169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->Init.WordLength == UART_WORDLENGTH_9B) || ((huart->Init.WordLength == UART_WORD
-1171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *pdata8bits = (uint8_t)(huart->Instance->DR & (uint8_t)0x00FF);
-1173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-ARM GAS /tmp/ccFcN4UJ.s page 22
-
-
-1175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *pdata8bits = (uint8_t)(huart->Instance->DR & (uint8_t)0x007F);
-1177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pdata8bits++;
-1179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount--;
-1181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* At end of Rx process, restore huart->RxState to Ready */
-1184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
-1185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-1187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-1189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_BUSY;
-1191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-1195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Sends an amount of data in non blocking mode.
-1196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note When UART parity is not enabled (PCE = 0), and Word Length is configured to 9 bits (M1-
-1197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the sent data is handled as a set of u16. In this case, Size must indicate the number
-1198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * of u16 provided through pData.
-1199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-1200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-1201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param pData Pointer to data buffer (u8 or u16 data elements).
-1202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Size Amount of data elements (u8 or u16) to be sent
-1203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-1204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-1205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_Transmit_IT(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size)
-1206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check that a Tx process is not already ongoing */
-1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->gState == HAL_UART_STATE_READY)
-1209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((pData == NULL) || (Size == 0U))
-1211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_ERROR;
-1213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */
-1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart);
-1217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pTxBuffPtr = pData;
-1219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferSize = Size;
-1220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = Size;
-1221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE;
-1223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY_TX;
-1224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */
-1226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart);
-1227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the UART Transmit data register empty Interrupt */
-1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_ENABLE_IT(huart, UART_IT_TXE);
-1230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-ARM GAS /tmp/ccFcN4UJ.s page 23
-
-
-1232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-1234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_BUSY;
-1236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-1240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Receives an amount of data in non blocking mode.
-1241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note When UART parity is not enabled (PCE = 0), and Word Length is configured to 9 bits (M1-
-1242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the received data is handled as a set of u16. In this case, Size must indicate the numb
-1243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * of u16 available through pData.
-1244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-1245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-1246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param pData Pointer to data buffer (u8 or u16 data elements).
-1247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Size Amount of data elements (u8 or u16) to be received.
-1248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-1249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-1250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_Receive_IT(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size)
-1251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check that a Rx process is not already ongoing */
-1253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->RxState == HAL_UART_STATE_READY)
-1254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((pData == NULL) || (Size == 0U))
-1256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_ERROR;
-1258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */
-1261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart);
-1262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pRxBuffPtr = pData;
-1264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferSize = Size;
-1265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = Size;
-1266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE;
-1268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_BUSY_RX;
-1269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */
-1271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart);
-1272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the UART Parity Error Interrupt */
-1274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_ENABLE_IT(huart, UART_IT_PE);
-1275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the UART Error Interrupt: (Frame error, noise error, overrun error) */
-1277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_ENABLE_IT(huart, UART_IT_ERR);
-1278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the UART Data Register not empty Interrupt */
-1280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_ENABLE_IT(huart, UART_IT_RXNE);
-1281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-1283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-1285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_BUSY;
-1287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-ARM GAS /tmp/ccFcN4UJ.s page 24
-
-
-1289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-1291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Sends an amount of data in DMA mode.
-1292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note When UART parity is not enabled (PCE = 0), and Word Length is configured to 9 bits (M1-
-1293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the sent data is handled as a set of u16. In this case, Size must indicate the number
-1294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * of u16 provided through pData.
-1295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-1296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-1297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param pData Pointer to data buffer (u8 or u16 data elements).
-1298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Size Amount of data elements (u8 or u16) to be sent
-1299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-1300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-1301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_Transmit_DMA(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size)
-1302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t *tmp;
-1304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check that a Tx process is not already ongoing */
-1306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->gState == HAL_UART_STATE_READY)
-1307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((pData == NULL) || (Size == 0U))
-1309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_ERROR;
-1311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */
-1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart);
-1315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pTxBuffPtr = pData;
-1317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferSize = Size;
-1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = Size;
-1319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE;
-1321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY_TX;
-1322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART DMA transfer complete callback */
-1324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmatx->XferCpltCallback = UART_DMATransmitCplt;
-1325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART DMA Half transfer complete callback */
-1327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmatx->XferHalfCpltCallback = UART_DMATxHalfCplt;
-1328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the DMA error callback */
-1330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmatx->XferErrorCallback = UART_DMAError;
-1331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the DMA abort callback */
-1333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmatx->XferAbortCallback = NULL;
-1334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the UART transmit DMA channel */
-1336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmp = (uint32_t *)&pData;
-1337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_DMA_Start_IT(huart->hdmatx, *(uint32_t *)tmp, (uint32_t)&huart->Instance->DR, Size);
-1338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Clear the TC flag in the SR register by writing 0 to it */
-1340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_CLEAR_FLAG(huart, UART_FLAG_TC);
-1341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */
-1343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart);
-1344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the DMA transfer for transmit request by setting the DMAT bit
-ARM GAS /tmp/ccFcN4UJ.s page 25
-
-
-1346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** in the UART CR3 register */
-1347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR3, USART_CR3_DMAT);
-1348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-1350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-1352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_BUSY;
-1354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-1358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Receives an amount of data in DMA mode.
-1359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note When UART parity is not enabled (PCE = 0), and Word Length is configured to 9 bits (M1-
-1360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the received data is handled as a set of u16. In this case, Size must indicate the numb
-1361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * of u16 available through pData.
-1362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-1363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-1364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param pData Pointer to data buffer (u8 or u16 data elements).
-1365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Size Amount of data elements (u8 or u16) to be received.
-1366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note When the UART parity is enabled (PCE = 1) the received data contains the parity bit.
-1367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-1368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-1369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_Receive_DMA(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size)
-1370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t *tmp;
-1372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check that a Rx process is not already ongoing */
-1374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->RxState == HAL_UART_STATE_READY)
-1375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((pData == NULL) || (Size == 0U))
-1377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_ERROR;
-1379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */
-1382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart);
-1383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pRxBuffPtr = pData;
-1385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferSize = Size;
-1386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE;
-1388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_BUSY_RX;
-1389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART DMA transfer complete callback */
-1391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferCpltCallback = UART_DMAReceiveCplt;
-1392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART DMA Half transfer complete callback */
-1394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferHalfCpltCallback = UART_DMARxHalfCplt;
-1395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the DMA error callback */
-1397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferErrorCallback = UART_DMAError;
-1398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the DMA abort callback */
-1400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferAbortCallback = NULL;
-1401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the DMA channel */
-ARM GAS /tmp/ccFcN4UJ.s page 26
-
-
-1403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmp = (uint32_t *)&pData;
-1404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_DMA_Start_IT(huart->hdmarx, (uint32_t)&huart->Instance->DR, *(uint32_t *)tmp, Size);
-1405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Clear the Overrun flag just before enabling the DMA Rx request: can be mandatory for the sec
-1407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_CLEAR_OREFLAG(huart);
-1408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */
-1410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart);
-1411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the UART Parity Error Interrupt */
-1413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR1, USART_CR1_PEIE);
-1414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the UART Error Interrupt: (Frame error, noise error, overrun error) */
-1416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR3, USART_CR3_EIE);
-1417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the DMA transfer for the receiver request by setting the DMAR bit
-1419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** in the UART CR3 register */
-1420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR3, USART_CR3_DMAR);
-1421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-1423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-1425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_BUSY;
-1427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-1431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Pauses the DMA Transfer.
-1432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-1433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-1434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-1435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-1436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_DMAPause(UART_HandleTypeDef *huart)
-1437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t dmarequest = 0x00U;
-1439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */
-1441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart);
-1442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** dmarequest = HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAT);
-1444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->gState == HAL_UART_STATE_BUSY_TX) && dmarequest)
-1445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART DMA Tx request */
-1447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT);
-1448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** dmarequest = HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR);
-1451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->RxState == HAL_UART_STATE_BUSY_RX) && dmarequest)
-1452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */
-1454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, USART_CR1_PEIE);
-1455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE);
-1456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART DMA Rx request */
-1458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR);
-1459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-ARM GAS /tmp/ccFcN4UJ.s page 27
-
-
-1460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */
-1462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart);
-1463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-1465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-1468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Resumes the DMA Transfer.
-1469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-1470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-1471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-1472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-1473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_DMAResume(UART_HandleTypeDef *huart)
-1474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */
-1476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart);
-1477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->gState == HAL_UART_STATE_BUSY_TX)
-1479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the UART DMA Tx request */
-1481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR3, USART_CR3_DMAT);
-1482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->RxState == HAL_UART_STATE_BUSY_RX)
-1485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Clear the Overrun flag before resuming the Rx transfer*/
-1487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_CLEAR_OREFLAG(huart);
-1488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reenable PE and ERR (Frame error, noise error, overrun error) interrupts */
-1490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR1, USART_CR1_PEIE);
-1491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR3, USART_CR3_EIE);
-1492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the UART DMA Rx request */
-1494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR3, USART_CR3_DMAR);
-1495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */
-1498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart);
-1499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-1501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-1504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Stops the DMA Transfer.
-1505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-1506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-1507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-1508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-1509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_DMAStop(UART_HandleTypeDef *huart)
-1510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t dmarequest = 0x00U;
-1512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* The Lock is not implemented on this API to allow the user application
-1513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** to call the HAL UART API under callbacks HAL_UART_TxCpltCallback() / HAL_UART_RxCpltCallback()
-1514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** when calling HAL_DMA_Abort() API the DMA TX/RX Transfer complete interrupt is generated
-1515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** and the correspond call back is executed HAL_UART_TxCpltCallback() / HAL_UART_RxCpltCallback()
-1516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-ARM GAS /tmp/ccFcN4UJ.s page 28
-
-
-1517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Stop UART DMA Tx request if ongoing */
-1519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** dmarequest = HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAT);
-1520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->gState == HAL_UART_STATE_BUSY_TX) && dmarequest)
-1521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT);
-1523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort the UART DMA Tx channel */
-1525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmatx != NULL)
-1526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_DMA_Abort(huart->hdmatx);
-1528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_EndTxTransfer(huart);
-1530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Stop UART DMA Rx request if ongoing */
-1533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** dmarequest = HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR);
-1534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->RxState == HAL_UART_STATE_BUSY_RX) && dmarequest)
-1535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR);
-1537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort the UART DMA Rx channel */
-1539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmarx != NULL)
-1540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_DMA_Abort(huart->hdmarx);
-1542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_EndRxTransfer(huart);
-1544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-1547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-1550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Abort ongoing transfers (blocking mode).
-1551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart UART handle.
-1552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note This procedure could be used for aborting any ongoing transfer started in Interrupt or
-1553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * This procedure performs following operations :
-1554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Disable UART Interrupts (Tx and Rx)
-1555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Disable the DMA transfer in the peripheral register (if enabled)
-1556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Abort DMA transfer by calling HAL_DMA_Abort (in case of transfer in DMA mode)
-1557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Set handle State to READY
-1558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note This procedure is executed in blocking mode : when exiting function, Abort is considere
-1559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-1560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-1561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_Abort(UART_HandleTypeDef *huart)
-1562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable TXEIE, TCIE, RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */
-1564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE | USART_CR1_TXEIE | USART_CR1_
-1565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE);
-1566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART DMA Tx request if enabled */
-1568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAT))
-1569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT);
-1571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort the UART DMA Tx channel: use blocking DMA Abort API (no callback) */
-1573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmatx != NULL)
-ARM GAS /tmp/ccFcN4UJ.s page 29
-
-
-1574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART DMA Abort callback to Null.
-1576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** No call back execution at end of DMA abort procedure */
-1577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmatx->XferAbortCallback = NULL;
-1578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_Abort(huart->hdmatx) != HAL_OK)
-1580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_GetError(huart->hdmatx) == HAL_DMA_ERROR_TIMEOUT)
-1582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set error code to DMA */
-1584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_DMA;
-1585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_TIMEOUT;
-1587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART DMA Rx request if enabled */
-1593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR))
-1594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR);
-1596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort the UART DMA Rx channel: use blocking DMA Abort API (no callback) */
-1598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmarx != NULL)
-1599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART DMA Abort callback to Null.
-1601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** No call back execution at end of DMA abort procedure */
-1602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferAbortCallback = NULL;
-1603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_Abort(huart->hdmarx) != HAL_OK)
-1605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_GetError(huart->hdmarx) == HAL_DMA_ERROR_TIMEOUT)
-1607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set error code to DMA */
-1609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_DMA;
-1610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_TIMEOUT;
-1612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reset Tx and Rx transfer counters */
-1618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U;
-1619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U;
-1620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reset ErrorCode */
-1622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE;
-1623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Restore huart->RxState and huart->gState to Ready */
-1625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
-1626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
-1627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-1629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-ARM GAS /tmp/ccFcN4UJ.s page 30
-
-
-1631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-1632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Abort ongoing Transmit transfer (blocking mode).
-1633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart UART handle.
-1634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note This procedure could be used for aborting any ongoing Tx transfer started in Interrupt
-1635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * This procedure performs following operations :
-1636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Disable UART Interrupts (Tx)
-1637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Disable the DMA transfer in the peripheral register (if enabled)
-1638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Abort DMA transfer by calling HAL_DMA_Abort (in case of transfer in DMA mode)
-1639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Set handle State to READY
-1640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note This procedure is executed in blocking mode : when exiting function, Abort is considere
-1641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-1642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-1643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_AbortTransmit(UART_HandleTypeDef *huart)
-1644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable TXEIE and TCIE interrupts */
-1646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, (USART_CR1_TXEIE | USART_CR1_TCIE));
-1647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART DMA Tx request if enabled */
-1649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAT))
-1650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT);
-1652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort the UART DMA Tx channel : use blocking DMA Abort API (no callback) */
-1654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmatx != NULL)
-1655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART DMA Abort callback to Null.
-1657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** No call back execution at end of DMA abort procedure */
-1658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmatx->XferAbortCallback = NULL;
-1659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_Abort(huart->hdmatx) != HAL_OK)
-1661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_GetError(huart->hdmatx) == HAL_DMA_ERROR_TIMEOUT)
-1663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set error code to DMA */
-1665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_DMA;
-1666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_TIMEOUT;
-1668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reset Tx transfer counter */
-1674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U;
-1675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Restore huart->gState to Ready */
-1677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
-1678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-1680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-1683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Abort ongoing Receive transfer (blocking mode).
-1684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart UART handle.
-1685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note This procedure could be used for aborting any ongoing Rx transfer started in Interrupt
-1686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * This procedure performs following operations :
-1687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Disable UART Interrupts (Rx)
-ARM GAS /tmp/ccFcN4UJ.s page 31
-
-
-1688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Disable the DMA transfer in the peripheral register (if enabled)
-1689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Abort DMA transfer by calling HAL_DMA_Abort (in case of transfer in DMA mode)
-1690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Set handle State to READY
-1691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note This procedure is executed in blocking mode : when exiting function, Abort is considere
-1692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-1693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-1694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_AbortReceive(UART_HandleTypeDef *huart)
-1695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */
-1697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE));
-1698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE);
-1699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART DMA Rx request if enabled */
-1701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR))
-1702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR);
-1704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort the UART DMA Rx channel : use blocking DMA Abort API (no callback) */
-1706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmarx != NULL)
-1707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART DMA Abort callback to Null.
-1709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** No call back execution at end of DMA abort procedure */
-1710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferAbortCallback = NULL;
-1711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_Abort(huart->hdmarx) != HAL_OK)
-1713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_GetError(huart->hdmarx) == HAL_DMA_ERROR_TIMEOUT)
-1715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set error code to DMA */
-1717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_DMA;
-1718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_TIMEOUT;
-1720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reset Rx transfer counter */
-1726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U;
-1727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Restore huart->RxState to Ready */
-1729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
-1730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-1732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-1735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Abort ongoing transfers (Interrupt mode).
-1736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart UART handle.
-1737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note This procedure could be used for aborting any ongoing transfer started in Interrupt or
-1738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * This procedure performs following operations :
-1739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Disable UART Interrupts (Tx and Rx)
-1740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Disable the DMA transfer in the peripheral register (if enabled)
-1741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Abort DMA transfer by calling HAL_DMA_Abort_IT (in case of transfer in DMA mode)
-1742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Set handle State to READY
-1743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - At abort completion, call user abort complete callback
-1744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note This procedure is executed in Interrupt mode, meaning that abort procedure could be
-ARM GAS /tmp/ccFcN4UJ.s page 32
-
-
-1745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * considered as completed only when user abort complete callback is executed (not when ex
-1746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-1747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-1748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_Abort_IT(UART_HandleTypeDef *huart)
-1749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t AbortCplt = 0x01U;
-1751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable TXEIE, TCIE, RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */
-1753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE | USART_CR1_TXEIE | USART_CR1_
-1754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE);
-1755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* If DMA Tx and/or DMA Rx Handles are associated to UART Handle, DMA Abort complete callbacks sh
-1757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** before any call to DMA Abort functions */
-1758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* DMA Tx Handle is valid */
-1759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmatx != NULL)
-1760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set DMA Abort Complete callback if UART DMA Tx request if enabled.
-1762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Otherwise, set it to NULL */
-1763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAT))
-1764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmatx->XferAbortCallback = UART_DMATxAbortCallback;
-1766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-1768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmatx->XferAbortCallback = NULL;
-1770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* DMA Rx Handle is valid */
-1773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmarx != NULL)
-1774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set DMA Abort Complete callback if UART DMA Rx request if enabled.
-1776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Otherwise, set it to NULL */
-1777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR))
-1778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferAbortCallback = UART_DMARxAbortCallback;
-1780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-1782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferAbortCallback = NULL;
-1784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART DMA Tx request if enabled */
-1788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAT))
-1789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable DMA Tx at UART level */
-1791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT);
-1792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort the UART DMA Tx channel : use non blocking DMA Abort API (callback) */
-1794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmatx != NULL)
-1795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* UART Tx DMA Abort callback has already been initialised :
-1797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** will lead to call HAL_UART_AbortCpltCallback() at end of DMA abort procedure */
-1798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort DMA TX */
-1800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_Abort_IT(huart->hdmatx) != HAL_OK)
-1801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-ARM GAS /tmp/ccFcN4UJ.s page 33
-
-
-1802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmatx->XferAbortCallback = NULL;
-1803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-1805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** AbortCplt = 0x00U;
-1807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART DMA Rx request if enabled */
-1812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR))
-1813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR);
-1815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort the UART DMA Rx channel : use non blocking DMA Abort API (callback) */
-1817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmarx != NULL)
-1818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* UART Rx DMA Abort callback has already been initialised :
-1820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** will lead to call HAL_UART_AbortCpltCallback() at end of DMA abort procedure */
-1821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort DMA RX */
-1823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_Abort_IT(huart->hdmarx) != HAL_OK)
-1824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferAbortCallback = NULL;
-1826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** AbortCplt = 0x01U;
-1827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-1829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** AbortCplt = 0x00U;
-1831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* if no DMA abort complete callback execution is required => call user Abort Complete callback *
-1836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (AbortCplt == 0x01U)
-1837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reset Tx and Rx transfer counters */
-1839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U;
-1840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U;
-1841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reset ErrorCode */
-1843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE;
-1844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Restore huart->gState and huart->RxState to Ready */
-1846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
-1847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
-1848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* As no DMA to be aborted, call directly user Abort complete callback */
-1850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
-1851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call registered Abort complete callback */
-1852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortCpltCallback(huart);
-1853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
-1854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call legacy weak Abort complete callback */
-1855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_AbortCpltCallback(huart);
-1856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
-1857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-ARM GAS /tmp/ccFcN4UJ.s page 34
-
-
-1859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-1860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-1863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Abort ongoing Transmit transfer (Interrupt mode).
-1864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart UART handle.
-1865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note This procedure could be used for aborting any ongoing Tx transfer started in Interrupt
-1866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * This procedure performs following operations :
-1867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Disable UART Interrupts (Tx)
-1868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Disable the DMA transfer in the peripheral register (if enabled)
-1869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Abort DMA transfer by calling HAL_DMA_Abort_IT (in case of transfer in DMA mode)
-1870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Set handle State to READY
-1871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - At abort completion, call user abort complete callback
-1872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note This procedure is executed in Interrupt mode, meaning that abort procedure could be
-1873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * considered as completed only when user abort complete callback is executed (not when ex
-1874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-1875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-1876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_AbortTransmit_IT(UART_HandleTypeDef *huart)
-1877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable TXEIE and TCIE interrupts */
-1879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, (USART_CR1_TXEIE | USART_CR1_TCIE));
-1880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART DMA Tx request if enabled */
-1882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAT))
-1883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT);
-1885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort the UART DMA Tx channel : use blocking DMA Abort API (no callback) */
-1887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmatx != NULL)
-1888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART DMA Abort callback :
-1890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** will lead to call HAL_UART_AbortCpltCallback() at end of DMA abort procedure */
-1891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmatx->XferAbortCallback = UART_DMATxOnlyAbortCallback;
-1892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort DMA TX */
-1894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_Abort_IT(huart->hdmatx) != HAL_OK)
-1895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call Directly huart->hdmatx->XferAbortCallback function in case of error */
-1897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmatx->XferAbortCallback(huart->hdmatx);
-1898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-1901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reset Tx transfer counter */
-1903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U;
-1904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Restore huart->gState to Ready */
-1906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
-1907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* As no DMA to be aborted, call directly user Abort complete callback */
-1909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
-1910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call registered Abort Transmit Complete Callback */
-1911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortTransmitCpltCallback(huart);
-1912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
-1913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call legacy weak Abort Transmit Complete Callback */
-1914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_AbortTransmitCpltCallback(huart);
-1915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
-ARM GAS /tmp/ccFcN4UJ.s page 35
-
-
-1916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-1919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reset Tx transfer counter */
-1921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U;
-1922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Restore huart->gState to Ready */
-1924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
-1925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* As no DMA to be aborted, call directly user Abort complete callback */
-1927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
-1928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call registered Abort Transmit Complete Callback */
-1929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortTransmitCpltCallback(huart);
-1930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
-1931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call legacy weak Abort Transmit Complete Callback */
-1932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_AbortTransmitCpltCallback(huart);
-1933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
-1934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-1937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-1940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Abort ongoing Receive transfer (Interrupt mode).
-1941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart UART handle.
-1942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note This procedure could be used for aborting any ongoing Rx transfer started in Interrupt
-1943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * This procedure performs following operations :
-1944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Disable UART Interrupts (Rx)
-1945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Disable the DMA transfer in the peripheral register (if enabled)
-1946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Abort DMA transfer by calling HAL_DMA_Abort_IT (in case of transfer in DMA mode)
-1947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - Set handle State to READY
-1948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * - At abort completion, call user abort complete callback
-1949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note This procedure is executed in Interrupt mode, meaning that abort procedure could be
-1950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * considered as completed only when user abort complete callback is executed (not when ex
-1951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-1952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-1953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_UART_AbortReceive_IT(UART_HandleTypeDef *huart)
-1954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */
-1956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE));
-1957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE);
-1958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART DMA Rx request if enabled */
-1960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR))
-1961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR);
-1963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort the UART DMA Rx channel : use blocking DMA Abort API (no callback) */
-1965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmarx != NULL)
-1966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART DMA Abort callback :
-1968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** will lead to call HAL_UART_AbortCpltCallback() at end of DMA abort procedure */
-1969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferAbortCallback = UART_DMARxOnlyAbortCallback;
-1970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort DMA RX */
-1972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_Abort_IT(huart->hdmarx) != HAL_OK)
-ARM GAS /tmp/ccFcN4UJ.s page 36
-
-
-1973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call Directly huart->hdmarx->XferAbortCallback function in case of error */
-1975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferAbortCallback(huart->hdmarx);
-1976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-1979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reset Rx transfer counter */
-1981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U;
-1982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Restore huart->RxState to Ready */
-1984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
-1985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-1986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* As no DMA to be aborted, call directly user Abort complete callback */
-1987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
-1988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call registered Abort Receive Complete Callback */
-1989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortReceiveCpltCallback(huart);
-1990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
-1991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call legacy weak Abort Receive Complete Callback */
-1992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_AbortReceiveCpltCallback(huart);
-1993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
-1994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-1996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-1997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-1998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reset Rx transfer counter */
-1999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U;
-2000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Restore huart->RxState to Ready */
-2002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
-2003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* As no DMA to be aborted, call directly user Abort complete callback */
-2005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
-2006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call registered Abort Receive Complete Callback */
-2007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortReceiveCpltCallback(huart);
-2008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
-2009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call legacy weak Abort Receive Complete Callback */
-2010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_AbortReceiveCpltCallback(huart);
-2011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
-2012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-2015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief This function handles UART interrupt request.
-2019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-2020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-2021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None
-2022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** void HAL_UART_IRQHandler(UART_HandleTypeDef *huart)
-2024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t isrflags = READ_REG(huart->Instance->SR);
-2026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t cr1its = READ_REG(huart->Instance->CR1);
-2027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t cr3its = READ_REG(huart->Instance->CR3);
-2028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t errorflags = 0x00U;
-2029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t dmarequest = 0x00U;
-ARM GAS /tmp/ccFcN4UJ.s page 37
-
-
-2030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* If no error occurs */
-2032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** errorflags = (isrflags & (uint32_t)(USART_SR_PE | USART_SR_FE | USART_SR_ORE | USART_SR_NE));
-2033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (errorflags == RESET)
-2034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* UART in mode Receiver -------------------------------------------------*/
-2036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (((isrflags & USART_SR_RXNE) != RESET) && ((cr1its & USART_CR1_RXNEIE) != RESET))
-2037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_Receive_IT(huart);
-2039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return;
-2040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* If some errors occur */
-2044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((errorflags != RESET) && (((cr3its & USART_CR3_EIE) != RESET) || ((cr1its & (USART_CR1_RXNEIE
-2045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* UART parity error interrupt occurred ----------------------------------*/
-2047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (((isrflags & USART_SR_PE) != RESET) && ((cr1its & USART_CR1_PEIE) != RESET))
-2048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode |= HAL_UART_ERROR_PE;
-2050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* UART noise error interrupt occurred -----------------------------------*/
-2053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (((isrflags & USART_SR_NE) != RESET) && ((cr3its & USART_CR3_EIE) != RESET))
-2054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode |= HAL_UART_ERROR_NE;
-2056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* UART frame error interrupt occurred -----------------------------------*/
-2059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (((isrflags & USART_SR_FE) != RESET) && ((cr3its & USART_CR3_EIE) != RESET))
-2060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode |= HAL_UART_ERROR_FE;
-2062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* UART Over-Run interrupt occurred --------------------------------------*/
-2065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (((isrflags & USART_SR_ORE) != RESET) && (((cr1its & USART_CR1_RXNEIE) != RESET) || ((cr3its
-2066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode |= HAL_UART_ERROR_ORE;
-2068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call UART Error Call back function if need be --------------------------*/
-2071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->ErrorCode != HAL_UART_ERROR_NONE)
-2072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* UART in mode Receiver -----------------------------------------------*/
-2074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (((isrflags & USART_SR_RXNE) != RESET) && ((cr1its & USART_CR1_RXNEIE) != RESET))
-2075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_Receive_IT(huart);
-2077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* If Overrun error occurs, or if any error occurs in DMA mode reception,
-2080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** consider error as blocking */
-2081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** dmarequest = HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR);
-2082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (((huart->ErrorCode & HAL_UART_ERROR_ORE) != RESET) || dmarequest)
-2083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Blocking error : transfer is aborted
-2085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Set the UART state ready to be able to start again the process,
-2086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Disable Rx Interrupts, and disable Rx DMA request, if ongoing */
-ARM GAS /tmp/ccFcN4UJ.s page 38
-
-
-2087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_EndRxTransfer(huart);
-2088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART DMA Rx request if enabled */
-2090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR))
-2091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR);
-2093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Abort the UART DMA Rx channel */
-2095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmarx != NULL)
-2096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Set the UART DMA Abort callback :
-2098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** will lead to call HAL_UART_ErrorCallback() at end of DMA abort procedure */
-2099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferAbortCallback = UART_DMAAbortOnError;
-2100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_Abort_IT(huart->hdmarx) != HAL_OK)
-2101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call Directly XferAbortCallback function in case of error */
-2103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferAbortCallback(huart->hdmarx);
-2104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-2107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call user error callback */
-2109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
-2110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call registered error callback*/
-2111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCallback(huart);
-2112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
-2113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call legacy weak error callback*/
-2114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_ErrorCallback(huart);
-2115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
-2116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-2119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call user error callback */
-2121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
-2122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call registered error callback*/
-2123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCallback(huart);
-2124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
-2125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call legacy weak error callback*/
-2126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_ErrorCallback(huart);
-2127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
-2128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-2131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Non Blocking error : transfer could go on.
-2133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Error is notified to user through user error callback */
-2134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
-2135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call registered error callback*/
-2136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCallback(huart);
-2137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
-2138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call legacy weak error callback*/
-2139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_ErrorCallback(huart);
-2140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
-2141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE;
-2143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-ARM GAS /tmp/ccFcN4UJ.s page 39
-
-
-2144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return;
-2146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** } /* End if some error occurs */
-2147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* UART in mode Transmitter ------------------------------------------------*/
-2149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (((isrflags & USART_SR_TXE) != RESET) && ((cr1its & USART_CR1_TXEIE) != RESET))
-2150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_Transmit_IT(huart);
-2152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return;
-2153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* UART in mode Transmitter end --------------------------------------------*/
-2156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (((isrflags & USART_SR_TC) != RESET) && ((cr1its & USART_CR1_TCIE) != RESET))
-2157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_EndTransmit_IT(huart);
-2159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return;
-2160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Tx Transfer completed callbacks.
-2165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-2166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-2167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None
-2168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __weak void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart)
-2170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */
-2172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UNUSED(huart);
-2173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE: This function should not be modified, when the callback is needed,
-2174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_UART_TxCpltCallback could be implemented in the user file
-2175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Tx Half Transfer completed callbacks.
-2180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-2181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-2182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None
-2183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __weak void HAL_UART_TxHalfCpltCallback(UART_HandleTypeDef *huart)
-2185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */
-2187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UNUSED(huart);
-2188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE: This function should not be modified, when the callback is needed,
-2189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_UART_TxHalfCpltCallback could be implemented in the user file
-2190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Rx Transfer completed callbacks.
-2195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-2196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-2197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None
-2198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __weak void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
-2200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-ARM GAS /tmp/ccFcN4UJ.s page 40
-
-
-2201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */
-2202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UNUSED(huart);
-2203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE: This function should not be modified, when the callback is needed,
-2204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_UART_RxCpltCallback could be implemented in the user file
-2205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Rx Half Transfer completed callbacks.
-2210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-2211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-2212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None
-2213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __weak void HAL_UART_RxHalfCpltCallback(UART_HandleTypeDef *huart)
-2215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */
-2217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UNUSED(huart);
-2218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE: This function should not be modified, when the callback is needed,
-2219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_UART_RxHalfCpltCallback could be implemented in the user file
-2220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief UART error callbacks.
-2225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-2226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-2227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None
-2228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __weak void HAL_UART_ErrorCallback(UART_HandleTypeDef *huart)
-2230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */
-2232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UNUSED(huart);
-2233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE: This function should not be modified, when the callback is needed,
-2234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_UART_ErrorCallback could be implemented in the user file
-2235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief UART Abort Complete callback.
-2240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart UART handle.
-2241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None
-2242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __weak void HAL_UART_AbortCpltCallback(UART_HandleTypeDef *huart)
-2244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */
-2246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UNUSED(huart);
-2247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE : This function should not be modified, when the callback is needed,
-2249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_UART_AbortCpltCallback can be implemented in the user file.
-2250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief UART Abort Complete callback.
-2255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart UART handle.
-2256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None
-2257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-ARM GAS /tmp/ccFcN4UJ.s page 41
-
-
-2258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __weak void HAL_UART_AbortTransmitCpltCallback(UART_HandleTypeDef *huart)
-2259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */
-2261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UNUSED(huart);
-2262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE : This function should not be modified, when the callback is needed,
-2264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_UART_AbortTransmitCpltCallback can be implemented in the user file.
-2265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief UART Abort Receive Complete callback.
-2270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart UART handle.
-2271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None
-2272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __weak void HAL_UART_AbortReceiveCpltCallback(UART_HandleTypeDef *huart)
-2274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */
-2276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UNUSED(huart);
-2277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* NOTE : This function should not be modified, when the callback is needed,
-2279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** the HAL_UART_AbortReceiveCpltCallback can be implemented in the user file.
-2280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @}
-2285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** @defgroup UART_Exported_Functions_Group3 Peripheral Control functions
-2288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief UART control functions
-2289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *
-2290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** @verbatim
-2291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ==============================================================================
-2292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ##### Peripheral Control functions #####
-2293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ==============================================================================
-2294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..]
-2295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** This subsection provides a set of functions allowing to control the UART:
-2296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_LIN_SendBreak() API can be helpful to transmit the break character.
-2297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_MultiProcessor_EnterMuteMode() API can be helpful to enter the UART in mute mode.
-2298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_MultiProcessor_ExitMuteMode() API can be helpful to exit the UART mute mode by software
-2299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_HalfDuplex_EnableTransmitter() API to enable the UART transmitter and disables the UART
-2300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_HalfDuplex_EnableReceiver() API to enable the UART receiver and disables the UART trans
-2301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** @endverbatim
-2303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @{
-2304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Transmits break characters.
-2308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-2309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-2310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-2311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_LIN_SendBreak(UART_HandleTypeDef *huart)
-2313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the parameters */
-ARM GAS /tmp/ccFcN4UJ.s page 42
-
-
-2315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_INSTANCE(huart->Instance));
-2316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */
-2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart);
-2319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY;
-2321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Send break characters */
-2323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR1, USART_CR1_SBK);
-2324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
-2326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */
-2328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart);
-2329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-2331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Enters the UART in mute mode.
-2335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-2336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-2337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-2338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_MultiProcessor_EnterMuteMode(UART_HandleTypeDef *huart)
-2340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the parameters */
-2342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_INSTANCE(huart->Instance));
-2343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */
-2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart);
-2346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY;
-2348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the USART mute mode by setting the RWU bit in the CR1 register */
-2350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR1, USART_CR1_RWU);
-2351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
-2353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */
-2355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart);
-2356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-2358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Exits the UART mute mode: wake up software.
-2362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-2363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-2364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-2365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_MultiProcessor_ExitMuteMode(UART_HandleTypeDef *huart)
-2367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the parameters */
-2369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_INSTANCE(huart->Instance));
-2370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */
-ARM GAS /tmp/ccFcN4UJ.s page 43
-
-
-2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart);
-2373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY;
-2375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the USART mute mode by clearing the RWU bit in the CR1 register */
-2377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, USART_CR1_RWU);
-2378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
-2380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */
-2382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart);
-2383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-2385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Enables the UART transmitter and disables the UART receiver.
-2389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-2390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-2391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-2392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_HalfDuplex_EnableTransmitter(UART_HandleTypeDef *huart)
-2394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t tmpreg = 0x00U;
-2396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */
-2398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart);
-2399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY;
-2401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*-------------------------- USART CR1 Configuration -----------------------*/
-2403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmpreg = huart->Instance->CR1;
-2404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Clear TE and RE bits */
-2406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmpreg &= (uint32_t)~((uint32_t)(USART_CR1_TE | USART_CR1_RE));
-2407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the USART's transmit interface by setting the TE bit in the USART CR1 register */
-2409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmpreg |= (uint32_t)USART_CR1_TE;
-2410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Write to USART CR1 */
-2412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** WRITE_REG(huart->Instance->CR1, (uint32_t)tmpreg);
-2413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
-2415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */
-2417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart);
-2418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-2420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Enables the UART receiver and disables the UART transmitter.
-2424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-2425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-2426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-2427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_StatusTypeDef HAL_HalfDuplex_EnableReceiver(UART_HandleTypeDef *huart)
-ARM GAS /tmp/ccFcN4UJ.s page 44
-
-
-2429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t tmpreg = 0x00U;
-2431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */
-2433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_LOCK(huart);
-2434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY;
-2436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*-------------------------- USART CR1 Configuration -----------------------*/
-2438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmpreg = huart->Instance->CR1;
-2439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Clear TE and RE bits */
-2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmpreg &= (uint32_t)~((uint32_t)(USART_CR1_TE | USART_CR1_RE));
-2442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the USART's receive interface by setting the RE bit in the USART CR1 register */
-2444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmpreg |= (uint32_t)USART_CR1_RE;
-2445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Write to USART CR1 */
-2447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** WRITE_REG(huart->Instance->CR1, (uint32_t)tmpreg);
-2448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
-2450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */
-2452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart);
-2453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-2455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @}
-2459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** @defgroup UART_Exported_Functions_Group4 Peripheral State and Errors functions
-2462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief UART State and Errors functions
-2463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *
-2464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** @verbatim
-2465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ==============================================================================
-2466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ##### Peripheral State and Errors functions #####
-2467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** ==============================================================================
-2468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** [..]
-2469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** This subsection provides a set of functions allowing to return the State of
-2470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART communication process, return Peripheral Errors occurred during communication
-2471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** process
-2472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_GetState() API can be helpful to check in run-time the state of the UART peripheral
-2473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (+) HAL_UART_GetError() check in run-time errors that could be occurred during communication.
-2474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** @endverbatim
-2476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @{
-2477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Returns the UART state.
-2481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-2482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-2483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL state
-2484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_StateTypeDef HAL_UART_GetState(UART_HandleTypeDef *huart)
-ARM GAS /tmp/ccFcN4UJ.s page 45
-
-
-2486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t temp1 = 0x00U, temp2 = 0x00U;
-2488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** temp1 = huart->gState;
-2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** temp2 = huart->RxState;
-2490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return (HAL_UART_StateTypeDef)(temp1 | temp2);
-2492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Return the UART error code
-2496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-2497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART.
-2498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval UART Error Code
-2499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t HAL_UART_GetError(UART_HandleTypeDef *huart)
-2501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return huart->ErrorCode;
-2503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @}
-2507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @}
-2511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /** @defgroup UART_Private_Functions UART Private Functions
-2514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @{
-2515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Initialize the callbacks to their default values.
-2519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart UART handle.
-2520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval none
-2521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
-2523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** void UART_InitCallbacksToDefault(UART_HandleTypeDef *huart)
-2524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Init the UART Callback settings */
-2526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxHalfCpltCallback = HAL_UART_TxHalfCpltCallback; /* Legacy weak TxHalfCpltC
-2527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxCpltCallback = HAL_UART_TxCpltCallback; /* Legacy weak TxCpltCallb
-2528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxHalfCpltCallback = HAL_UART_RxHalfCpltCallback; /* Legacy weak RxHalfCpltC
-2529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxCpltCallback = HAL_UART_RxCpltCallback; /* Legacy weak RxCpltCallb
-2530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCallback = HAL_UART_ErrorCallback; /* Legacy weak ErrorCallba
-2531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortCpltCallback = HAL_UART_AbortCpltCallback; /* Legacy weak AbortCpltCa
-2532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortTransmitCpltCallback = HAL_UART_AbortTransmitCpltCallback; /* Legacy weak AbortTransm
-2533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortReceiveCpltCallback = HAL_UART_AbortReceiveCpltCallback; /* Legacy weak AbortReceiv
-2534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
-2537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief DMA UART transmit process complete callback.
-2540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains
-2541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified DMA module.
-2542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None
-ARM GAS /tmp/ccFcN4UJ.s page 46
-
-
-2543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMATransmitCplt(DMA_HandleTypeDef *hdma)
-2545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
-2547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* DMA Normal mode*/
-2548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((hdma->Instance->CCR & DMA_CCR_CIRC) == 0U)
-2549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U;
-2551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the DMA transfer for transmit request by setting the DMAT bit
-2553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** in the UART CR3 register */
-2554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT);
-2555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the UART Transmit Complete Interrupt */
-2557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR1, USART_CR1_TCIE);
-2558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* DMA Circular mode */
-2561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-2562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
-2564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call registered Tx complete callback*/
-2565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxCpltCallback(huart);
-2566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
-2567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call legacy weak Tx complete callback*/
-2568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_TxCpltCallback(huart);
-2569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
-2570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief DMA UART transmit process half complete callback
-2575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains
-2576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified DMA module.
-2577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None
-2578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMATxHalfCplt(DMA_HandleTypeDef *hdma)
-2580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
-2582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
-2584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call registered Tx complete callback*/
-2585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxHalfCpltCallback(huart);
-2586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
-2587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call legacy weak Tx complete callback*/
-2588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_TxHalfCpltCallback(huart);
-2589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
-2590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief DMA UART receive process complete callback.
-2594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains
-2595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified DMA module.
-2596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None
-2597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMAReceiveCplt(DMA_HandleTypeDef *hdma)
-2599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-ARM GAS /tmp/ccFcN4UJ.s page 47
-
-
-2600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
-2601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* DMA Normal mode*/
-2602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((hdma->Instance->CCR & DMA_CCR_CIRC) == 0U)
-2603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0U;
-2605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */
-2607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, USART_CR1_PEIE);
-2608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE);
-2609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the DMA transfer for the receiver request by setting the DMAR bit
-2611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** in the UART CR3 register */
-2612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR);
-2613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* At end of Rx process, restore huart->RxState to Ready */
-2615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
-2616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
-2618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call registered Rx complete callback*/
-2619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxCpltCallback(huart);
-2620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
-2621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call legacy weak Rx complete callback*/
-2622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_RxCpltCallback(huart);
-2623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
-2624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief DMA UART receive process half complete callback
-2628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains
-2629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified DMA module.
-2630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None
-2631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMARxHalfCplt(DMA_HandleTypeDef *hdma)
-2633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
-2635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
-2637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call registered Rx Half complete callback*/
-2638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxHalfCpltCallback(huart);
-2639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
-2640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call legacy weak Rx Half complete callback*/
-2641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_RxHalfCpltCallback(huart);
-2642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
-2643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief DMA UART communication error callback.
-2647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains
-2648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified DMA module.
-2649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None
-2650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMAError(DMA_HandleTypeDef *hdma)
-2652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t dmarequest = 0x00U;
-2654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
-2655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Stop UART DMA Tx request if ongoing */
-ARM GAS /tmp/ccFcN4UJ.s page 48
-
-
-2657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** dmarequest = HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAT);
-2658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->gState == HAL_UART_STATE_BUSY_TX) && dmarequest)
-2659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U;
-2661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_EndTxTransfer(huart);
-2662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Stop UART DMA Rx request if ongoing */
-2665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** dmarequest = HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR);
-2666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->RxState == HAL_UART_STATE_BUSY_RX) && dmarequest)
-2667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U;
-2669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_EndRxTransfer(huart);
-2670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode |= HAL_UART_ERROR_DMA;
-2673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
-2674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call registered error callback*/
-2675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCallback(huart);
-2676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
-2677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call legacy weak error callback*/
-2678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_ErrorCallback(huart);
-2679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
-2680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief This function handles UART Communication Timeout.
-2684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-2685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-2686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Flag specifies the UART flag to check.
-2687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Status The new Flag status (SET or RESET).
-2688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Tickstart Tick start value
-2689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param Timeout Timeout duration
-2690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-2691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static HAL_StatusTypeDef UART_WaitOnFlagUntilTimeout(UART_HandleTypeDef *huart, uint32_t Flag, Flag
-2693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Wait until flag is set */
-2695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** while ((__HAL_UART_GET_FLAG(huart, Flag) ? SET : RESET) == Status)
-2696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check for the Timeout */
-2698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (Timeout != HAL_MAX_DELAY)
-2699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((Timeout == 0U) || ((HAL_GetTick() - Tickstart) > Timeout))
-2701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable TXE, RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts for t
-2703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE | USART_CR1_TXEIE));
-2704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE);
-2705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
-2707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
-2708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Unlocked */
-2710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UNLOCK(huart);
-2711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_TIMEOUT;
-2713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-ARM GAS /tmp/ccFcN4UJ.s page 49
-
-
-2714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-2717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief End ongoing Tx transfer on UART peripheral (following error detection or Transmit compl
-2721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart UART handle.
-2722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None
-2723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_EndTxTransfer(UART_HandleTypeDef *huart)
-2725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 25 .loc 1 2725 0
- 26 .cfi_startproc
- 27 @ args = 0, pretend = 0, frame = 0
- 28 @ frame_needed = 0, uses_anonymous_args = 0
- 29 @ link register save eliminated.
- 30 .LVL0:
-2726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable TXEIE and TCIE interrupts */
-2727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, (USART_CR1_TXEIE | USART_CR1_TCIE));
- 31 .loc 1 2727 0
- 32 0000 0268 ldr r2, [r0]
- 33 0002 D368 ldr r3, [r2, #12]
- 34 0004 23F0C003 bic r3, r3, #192
- 35 0008 D360 str r3, [r2, #12]
-2728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* At end of Tx process, restore huart->gState to Ready */
-2730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
- 36 .loc 1 2730 0
- 37 000a 2023 movs r3, #32
- 38 000c 80F83930 strb r3, [r0, #57]
- 39 0010 7047 bx lr
- 40 .cfi_endproc
- 41 .LFE109:
- 43 .section .text.UART_EndRxTransfer,"ax",%progbits
- 44 .align 1
- 45 .syntax unified
- 46 .thumb
- 47 .thumb_func
- 48 .fpu softvfp
- 50 UART_EndRxTransfer:
- 51 .LFB110:
-2731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief End ongoing Rx transfer on UART peripheral (following error detection or Reception comp
-2735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart UART handle.
-2736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None
-2737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
-2739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 52 .loc 1 2739 0
- 53 .cfi_startproc
- 54 @ args = 0, pretend = 0, frame = 0
- 55 @ frame_needed = 0, uses_anonymous_args = 0
- 56 @ link register save eliminated.
- 57 .LVL1:
-ARM GAS /tmp/ccFcN4UJ.s page 50
-
-
-2740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */
-2741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE));
- 58 .loc 1 2741 0
- 59 0000 0268 ldr r2, [r0]
- 60 0002 D368 ldr r3, [r2, #12]
- 61 0004 23F49073 bic r3, r3, #288
- 62 0008 D360 str r3, [r2, #12]
-2742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE);
- 63 .loc 1 2742 0
- 64 000a 0268 ldr r2, [r0]
- 65 000c 5369 ldr r3, [r2, #20]
- 66 000e 23F00103 bic r3, r3, #1
- 67 0012 5361 str r3, [r2, #20]
-2743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* At end of Rx process, restore huart->RxState to Ready */
-2745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
- 68 .loc 1 2745 0
- 69 0014 2023 movs r3, #32
- 70 0016 80F83A30 strb r3, [r0, #58]
- 71 001a 7047 bx lr
- 72 .cfi_endproc
- 73 .LFE110:
- 75 .section .text.UART_Transmit_IT,"ax",%progbits
- 76 .align 1
- 77 .syntax unified
- 78 .thumb
- 79 .thumb_func
- 80 .fpu softvfp
- 82 UART_Transmit_IT:
- 83 .LFB116:
-2746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief DMA UART communication abort callback, when initiated by HAL services on Error
-2750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * (To be called at end of DMA Abort procedure following error occurrence).
-2751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains
-2752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified DMA module.
-2753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None
-2754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMAAbortOnError(DMA_HandleTypeDef *hdma)
-2756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
-2758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U;
-2759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U;
-2760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
-2762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call registered error callback*/
-2763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCallback(huart);
-2764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
-2765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call legacy weak error callback*/
-2766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_ErrorCallback(huart);
-2767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
-2768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief DMA UART Tx communication abort callback, when initiated by user
-2772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * (To be called at end of DMA Tx Abort procedure following user abort request).
-ARM GAS /tmp/ccFcN4UJ.s page 51
-
-
-2773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note When this callback is executed, User Abort complete call back is called only if no
-2774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * Abort still ongoing for Rx DMA Handle.
-2775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains
-2776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified DMA module.
-2777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None
-2778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMATxAbortCallback(DMA_HandleTypeDef *hdma)
-2780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
-2782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmatx->XferAbortCallback = NULL;
-2784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check if an Abort process is still ongoing */
-2786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmarx != NULL)
-2787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmarx->XferAbortCallback != NULL)
-2789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return;
-2791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* No Abort process still ongoing : All DMA channels are aborted, call user Abort Complete callba
-2795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U;
-2796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U;
-2797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reset ErrorCode */
-2799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE;
-2800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Restore huart->gState and huart->RxState to Ready */
-2802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
-2803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
-2804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call user Abort complete callback */
-2806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
-2807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call registered Abort complete callback */
-2808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortCpltCallback(huart);
-2809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
-2810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call legacy weak Abort complete callback */
-2811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_AbortCpltCallback(huart);
-2812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
-2813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief DMA UART Rx communication abort callback, when initiated by user
-2817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * (To be called at end of DMA Rx Abort procedure following user abort request).
-2818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @note When this callback is executed, User Abort complete call back is called only if no
-2819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * Abort still ongoing for Tx DMA Handle.
-2820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains
-2821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified DMA module.
-2822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None
-2823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMARxAbortCallback(DMA_HandleTypeDef *hdma)
-2825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
-2827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->hdmarx->XferAbortCallback = NULL;
-2829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-ARM GAS /tmp/ccFcN4UJ.s page 52
-
-
-2830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check if an Abort process is still ongoing */
-2831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmatx != NULL)
-2832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->hdmatx->XferAbortCallback != NULL)
-2834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return;
-2836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* No Abort process still ongoing : All DMA channels are aborted, call user Abort Complete callba
-2840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U;
-2841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U;
-2842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Reset ErrorCode */
-2844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->ErrorCode = HAL_UART_ERROR_NONE;
-2845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Restore huart->gState and huart->RxState to Ready */
-2847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
-2848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
-2849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call user Abort complete callback */
-2851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
-2852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call registered Abort complete callback */
-2853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortCpltCallback(huart);
-2854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
-2855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call legacy weak Abort complete callback */
-2856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_AbortCpltCallback(huart);
-2857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
-2858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief DMA UART Tx communication abort callback, when initiated by user by a call to
-2862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * HAL_UART_AbortTransmit_IT API (Abort only Tx transfer)
-2863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * (This callback is executed at end of DMA Tx Abort procedure following user abort reques
-2864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * and leads to user Tx Abort Complete callback execution).
-2865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains
-2866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified DMA module.
-2867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None
-2868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMATxOnlyAbortCallback(DMA_HandleTypeDef *hdma)
-2870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
-2872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U;
-2874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Restore huart->gState to Ready */
-2876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
-2877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call user Abort complete callback */
-2879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
-2880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call registered Abort Transmit Complete Callback */
-2881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortTransmitCpltCallback(huart);
-2882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
-2883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call legacy weak Abort Transmit Complete Callback */
-2884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_AbortTransmitCpltCallback(huart);
-2885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
-2886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-ARM GAS /tmp/ccFcN4UJ.s page 53
-
-
-2887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief DMA UART Rx communication abort callback, when initiated by user by a call to
-2890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * HAL_UART_AbortReceive_IT API (Abort only Rx transfer)
-2891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * (This callback is executed at end of DMA Rx Abort procedure following user abort reques
-2892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * and leads to user Rx Abort Complete callback execution).
-2893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param hdma Pointer to a DMA_HandleTypeDef structure that contains
-2894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified DMA module.
-2895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None
-2896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_DMARxOnlyAbortCallback(DMA_HandleTypeDef *hdma)
-2898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
-2900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U;
-2902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Restore huart->RxState to Ready */
-2904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
-2905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call user Abort complete callback */
-2907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
-2908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call registered Abort Receive Complete Callback */
-2909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->AbortReceiveCpltCallback(huart);
-2910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
-2911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Call legacy weak Abort Receive Complete Callback */
-2912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_AbortReceiveCpltCallback(huart);
-2913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
-2914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Sends an amount of data in non blocking mode.
-2918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-2919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-2920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-2921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static HAL_StatusTypeDef UART_Transmit_IT(UART_HandleTypeDef *huart)
-2923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 84 .loc 1 2923 0
- 85 .cfi_startproc
- 86 @ args = 0, pretend = 0, frame = 0
- 87 @ frame_needed = 0, uses_anonymous_args = 0
- 88 @ link register save eliminated.
- 89 .LVL2:
-2924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint16_t *tmp;
-2925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check that a Tx process is ongoing */
-2927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->gState == HAL_UART_STATE_BUSY_TX)
- 90 .loc 1 2927 0
- 91 0000 90F83930 ldrb r3, [r0, #57] @ zero_extendqisi2
- 92 0004 DBB2 uxtb r3, r3
- 93 0006 212B cmp r3, #33
- 94 0008 01D0 beq .L9
-2928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->Init.WordLength == UART_WORDLENGTH_9B) && (huart->Init.Parity == UART_PARITY_NONE))
-2930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmp = (uint16_t *) huart->pTxBuffPtr;
-2932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Instance->DR = (uint16_t)(*tmp & (uint16_t)0x01FF);
-ARM GAS /tmp/ccFcN4UJ.s page 54
-
-
-2933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pTxBuffPtr += 2U;
-2934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-2936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Instance->DR = (uint8_t)(*huart->pTxBuffPtr++ & (uint8_t)0x00FF);
-2938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (--huart->TxXferCount == 0U)
-2941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART Transmit Complete Interrupt */
-2943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_DISABLE_IT(huart, UART_IT_TXE);
-2944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Enable the UART Transmit Complete Interrupt */
-2946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_ENABLE_IT(huart, UART_IT_TC);
-2947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-2949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-2951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_BUSY;
- 95 .loc 1 2952 0
- 96 000a 0220 movs r0, #2
- 97 .LVL3:
- 98 000c 7047 bx lr
- 99 .LVL4:
- 100 .L9:
-2929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 101 .loc 1 2929 0
- 102 000e 8368 ldr r3, [r0, #8]
- 103 0010 B3F5805F cmp r3, #4096
- 104 0014 17D0 beq .L10
- 105 .L5:
-2937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 106 .loc 1 2937 0
- 107 0016 0268 ldr r2, [r0]
- 108 0018 036A ldr r3, [r0, #32]
- 109 001a 591C adds r1, r3, #1
- 110 001c 0162 str r1, [r0, #32]
- 111 001e 1B78 ldrb r3, [r3] @ zero_extendqisi2
- 112 0020 5360 str r3, [r2, #4]
- 113 .L6:
-2940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 114 .loc 1 2940 0
- 115 0022 C38C ldrh r3, [r0, #38]
- 116 0024 9BB2 uxth r3, r3
- 117 0026 013B subs r3, r3, #1
- 118 0028 9BB2 uxth r3, r3
- 119 002a C384 strh r3, [r0, #38] @ movhi
- 120 002c C3B9 cbnz r3, .L8
-2943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 121 .loc 1 2943 0
- 122 002e 0268 ldr r2, [r0]
- 123 0030 D368 ldr r3, [r2, #12]
- 124 0032 23F08003 bic r3, r3, #128
- 125 0036 D360 str r3, [r2, #12]
-2946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 126 .loc 1 2946 0
-ARM GAS /tmp/ccFcN4UJ.s page 55
-
-
- 127 0038 0268 ldr r2, [r0]
- 128 003a D368 ldr r3, [r2, #12]
- 129 003c 43F04003 orr r3, r3, #64
- 130 0040 D360 str r3, [r2, #12]
-2948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 131 .loc 1 2948 0
- 132 0042 0020 movs r0, #0
- 133 .LVL5:
- 134 0044 7047 bx lr
- 135 .LVL6:
- 136 .L10:
-2929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 137 .loc 1 2929 0 discriminator 1
- 138 0046 0369 ldr r3, [r0, #16]
- 139 0048 002B cmp r3, #0
- 140 004a E4D1 bne .L5
-2931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Instance->DR = (uint16_t)(*tmp & (uint16_t)0x01FF);
- 141 .loc 1 2931 0
- 142 004c 036A ldr r3, [r0, #32]
- 143 .LVL7:
-2932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pTxBuffPtr += 2U;
- 144 .loc 1 2932 0
- 145 004e 0268 ldr r2, [r0]
- 146 0050 1B88 ldrh r3, [r3]
- 147 .LVL8:
- 148 0052 C3F30803 ubfx r3, r3, #0, #9
- 149 0056 5360 str r3, [r2, #4]
- 150 .LVL9:
-2933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 151 .loc 1 2933 0
- 152 0058 036A ldr r3, [r0, #32]
- 153 005a 0233 adds r3, r3, #2
- 154 005c 0362 str r3, [r0, #32]
- 155 005e E0E7 b .L6
- 156 .L8:
-2948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 157 .loc 1 2948 0
- 158 0060 0020 movs r0, #0
- 159 .LVL10:
-2953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 160 .loc 1 2954 0
- 161 0062 7047 bx lr
- 162 .cfi_endproc
- 163 .LFE116:
- 165 .section .text.UART_SetConfig,"ax",%progbits
- 166 .align 1
- 167 .syntax unified
- 168 .thumb
- 169 .thumb_func
- 170 .fpu softvfp
- 172 UART_SetConfig:
- 173 .LFB119:
-2955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Wraps up transmission in non blocking mode.
-2958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-ARM GAS /tmp/ccFcN4UJ.s page 56
-
-
-2959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-2960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-2961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static HAL_StatusTypeDef UART_EndTransmit_IT(UART_HandleTypeDef *huart)
-2963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART Transmit Complete Interrupt */
-2965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_DISABLE_IT(huart, UART_IT_TC);
-2966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Tx process is ended, restore huart->gState to Ready */
-2968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
-2969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
-2971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call registered Tx complete callback*/
-2972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxCpltCallback(huart);
-2973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
-2974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call legacy weak Tx complete callback*/
-2975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_TxCpltCallback(huart);
-2976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
-2977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-2979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-2980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-2982:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Receives an amount of data in non blocking mode
-2983:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-2984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-2985:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval HAL status
-2986:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-2987:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static HAL_StatusTypeDef UART_Receive_IT(UART_HandleTypeDef *huart)
-2988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2989:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint8_t *pdata8bits;
-2990:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint16_t *pdata16bits;
-2991:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-2992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check that a Rx process is ongoing */
-2993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->RxState == HAL_UART_STATE_BUSY_RX)
-2994:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->Init.WordLength == UART_WORDLENGTH_9B) && (huart->Init.Parity == UART_PARITY_NONE))
-2996:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-2997:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pdata8bits = NULL;
-2998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pdata16bits = (uint16_t *) huart->pRxBuffPtr;
-2999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *pdata16bits = (uint16_t)(huart->Instance->DR & (uint16_t)0x01FF);
-3000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pRxBuffPtr += 2U;
-3001:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-3002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-3003:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-3004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pdata8bits = (uint8_t *) huart->pRxBuffPtr;
-3005:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pdata16bits = NULL;
-3006:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-3007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->Init.WordLength == UART_WORDLENGTH_9B) || ((huart->Init.WordLength == UART_WORDLE
-3008:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-3009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *pdata8bits = (uint8_t)(huart->Instance->DR & (uint8_t)0x00FF);
-3010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-3011:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-3012:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-3013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *pdata8bits = (uint8_t)(huart->Instance->DR & (uint8_t)0x007F);
-3014:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-3015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pRxBuffPtr += 1U;
-ARM GAS /tmp/ccFcN4UJ.s page 57
-
-
-3016:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-3017:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-3018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (--huart->RxXferCount == 0U)
-3019:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-3020:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART Data Register not empty Interrupt */
-3021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_DISABLE_IT(huart, UART_IT_RXNE);
-3022:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-3023:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART Parity Error Interrupt */
-3024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_DISABLE_IT(huart, UART_IT_PE);
-3025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-3026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART Error Interrupt: (Frame error, noise error, overrun error) */
-3027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** __HAL_UART_DISABLE_IT(huart, UART_IT_ERR);
-3028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-3029:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Rx process is completed, restore huart->RxState to Ready */
-3030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
-3031:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-3032:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
-3033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call registered Rx complete callback*/
-3034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxCpltCallback(huart);
-3035:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
-3036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*Call legacy weak Rx complete callback*/
-3037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** HAL_UART_RxCpltCallback(huart);
-3038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
-3039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-3040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-3041:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-3042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_OK;
-3043:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-3044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-3045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-3046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return HAL_BUSY;
-3047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-3048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-3049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-3050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /**
-3051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @brief Configures the UART peripheral.
-3052:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @param huart Pointer to a UART_HandleTypeDef structure that contains
-3053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * the configuration information for the specified UART module.
-3054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** * @retval None
-3055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** */
-3056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** static void UART_SetConfig(UART_HandleTypeDef *huart)
-3057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 174 .loc 1 3057 0
- 175 .cfi_startproc
- 176 @ args = 0, pretend = 0, frame = 0
- 177 @ frame_needed = 0, uses_anonymous_args = 0
- 178 .LVL11:
- 179 0000 38B5 push {r3, r4, r5, lr}
- 180 .LCFI0:
- 181 .cfi_def_cfa_offset 16
- 182 .cfi_offset 3, -16
- 183 .cfi_offset 4, -12
- 184 .cfi_offset 5, -8
- 185 .cfi_offset 14, -4
- 186 0002 0446 mov r4, r0
-3058:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t tmpreg;
-3059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t pclk;
-ARM GAS /tmp/ccFcN4UJ.s page 58
-
-
-3060:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-3061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the parameters */
-3062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_BAUDRATE(huart->Init.BaudRate));
-3063:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_STOPBITS(huart->Init.StopBits));
-3064:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_PARITY(huart->Init.Parity));
-3065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** assert_param(IS_UART_MODE(huart->Init.Mode));
-3066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-3067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*-------------------------- USART CR2 Configuration -----------------------*/
-3068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Configure the UART Stop Bits: Set STOP[13:12] bits
-3069:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** according to huart->Init.StopBits value */
-3070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** MODIFY_REG(huart->Instance->CR2, USART_CR2_STOP, huart->Init.StopBits);
- 187 .loc 1 3070 0
- 188 0004 0268 ldr r2, [r0]
- 189 0006 1369 ldr r3, [r2, #16]
- 190 0008 23F44053 bic r3, r3, #12288
- 191 000c C168 ldr r1, [r0, #12]
- 192 000e 0B43 orrs r3, r3, r1
- 193 0010 1361 str r3, [r2, #16]
-3071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-3072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*-------------------------- USART CR1 Configuration -----------------------*/
-3073:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Configure the UART Word Length, Parity and mode:
-3074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Set the M bits according to huart->Init.WordLength value
-3075:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Set PCE and PS bits according to huart->Init.Parity value
-3076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Set TE and RE bits according to huart->Init.Mode value
-3077:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** Set OVER8 bit according to huart->Init.OverSampling value */
-3078:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-3079:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if defined(USART_CR1_OVER8)
-3080:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmpreg = (uint32_t)huart->Init.WordLength | huart->Init.Parity | huart->Init.Mode | huart->Init.O
-3081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** MODIFY_REG(huart->Instance->CR1,
-3082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (uint32_t)(USART_CR1_M | USART_CR1_PCE | USART_CR1_PS | USART_CR1_TE | USART_CR1_RE |
-3083:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmpreg);
-3084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
-3085:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmpreg = (uint32_t)huart->Init.WordLength | huart->Init.Parity | huart->Init.Mode;
- 194 .loc 1 3085 0
- 195 0012 8368 ldr r3, [r0, #8]
- 196 0014 0269 ldr r2, [r0, #16]
- 197 0016 1343 orrs r3, r3, r2
- 198 0018 4269 ldr r2, [r0, #20]
- 199 001a 1343 orrs r3, r3, r2
- 200 .LVL12:
-3086:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** MODIFY_REG(huart->Instance->CR1,
- 201 .loc 1 3086 0
- 202 001c 0168 ldr r1, [r0]
- 203 001e CA68 ldr r2, [r1, #12]
- 204 0020 22F4B052 bic r2, r2, #5632
- 205 0024 22F00C02 bic r2, r2, #12
- 206 0028 1343 orrs r3, r3, r2
- 207 .LVL13:
- 208 002a CB60 str r3, [r1, #12]
- 209 .LVL14:
-3087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** (uint32_t)(USART_CR1_M | USART_CR1_PCE | USART_CR1_PS | USART_CR1_TE | USART_CR1_RE),
-3088:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** tmpreg);
-3089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USART_CR1_OVER8 */
-3090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-3091:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*-------------------------- USART CR3 Configuration -----------------------*/
-3092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Configure the UART HFC: Set CTSE and RTSE bits according to huart->Init.HwFlowCtl value */
-3093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** MODIFY_REG(huart->Instance->CR3, (USART_CR3_RTSE | USART_CR3_CTSE), huart->Init.HwFlowCtl);
-ARM GAS /tmp/ccFcN4UJ.s page 59
-
-
- 210 .loc 1 3093 0
- 211 002c 0268 ldr r2, [r0]
- 212 002e 5369 ldr r3, [r2, #20]
- 213 0030 23F44073 bic r3, r3, #768
- 214 0034 8169 ldr r1, [r0, #24]
- 215 0036 0B43 orrs r3, r3, r1
- 216 0038 5361 str r3, [r2, #20]
-3094:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-3095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-3096:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if(huart->Instance == USART1)
- 217 .loc 1 3096 0
- 218 003a 0268 ldr r2, [r0]
- 219 003c 124B ldr r3, .L16
- 220 003e 9A42 cmp r2, r3
- 221 0040 1FD0 beq .L15
-3097:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-3098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pclk = HAL_RCC_GetPCLK2Freq();
-3099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-3100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-3101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-3102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pclk = HAL_RCC_GetPCLK1Freq();
- 222 .loc 1 3102 0
- 223 0042 FFF7FEFF bl HAL_RCC_GetPCLK1Freq
- 224 .LVL15:
- 225 .L13:
-3103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-3104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-3105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /*-------------------------- USART BRR Configuration ---------------------*/
-3106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if defined(USART_CR1_OVER8)
-3107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (huart->Init.OverSampling == UART_OVERSAMPLING_8)
-3108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-3109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Instance->BRR = UART_BRR_SAMPLING8(pclk, huart->Init.BaudRate);
-3110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-3111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** else
-3112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-3113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Instance->BRR = UART_BRR_SAMPLING16(pclk, huart->Init.BaudRate);
-3114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-3115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #else
-3116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->Instance->BRR = UART_BRR_SAMPLING16(pclk, huart->Init.BaudRate);
- 226 .loc 1 3116 0
- 227 0046 2168 ldr r1, [r4]
- 228 0048 00EB8000 add r0, r0, r0, lsl #2
- 229 .LVL16:
- 230 004c 00EB8000 add r0, r0, r0, lsl #2
- 231 0050 6368 ldr r3, [r4, #4]
- 232 0052 9B00 lsls r3, r3, #2
- 233 0054 B0FBF3F0 udiv r0, r0, r3
- 234 0058 0C4D ldr r5, .L16+4
- 235 005a A5FB0032 umull r3, r2, r5, r0
- 236 005e 5409 lsrs r4, r2, #5
- 237 .LVL17:
- 238 0060 6422 movs r2, #100
- 239 0062 02FB1402 mls r2, r2, r4, r0
- 240 0066 1301 lsls r3, r2, #4
- 241 0068 3233 adds r3, r3, #50
- 242 006a A5FB0323 umull r2, r3, r5, r3
- 243 006e 5B09 lsrs r3, r3, #5
-ARM GAS /tmp/ccFcN4UJ.s page 60
-
-
- 244 0070 03F0F002 and r2, r3, #240
- 245 0074 02EB0412 add r2, r2, r4, lsl #4
- 246 0078 03F00F03 and r3, r3, #15
- 247 007c 1344 add r3, r3, r2
- 248 007e 8B60 str r3, [r1, #8]
- 249 0080 38BD pop {r3, r4, r5, pc}
- 250 .LVL18:
- 251 .L15:
-3098:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 252 .loc 1 3098 0
- 253 0082 FFF7FEFF bl HAL_RCC_GetPCLK2Freq
- 254 .LVL19:
- 255 0086 DEE7 b .L13
- 256 .L17:
- 257 .align 2
- 258 .L16:
- 259 0088 00380140 .word 1073821696
- 260 008c 1F85EB51 .word 1374389535
- 261 .cfi_endproc
- 262 .LFE119:
- 264 .section .text.UART_WaitOnFlagUntilTimeout,"ax",%progbits
- 265 .align 1
- 266 .syntax unified
- 267 .thumb
- 268 .thumb_func
- 269 .fpu softvfp
- 271 UART_WaitOnFlagUntilTimeout:
- 272 .LFB108:
-2693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Wait until flag is set */
- 273 .loc 1 2693 0
- 274 .cfi_startproc
- 275 @ args = 4, pretend = 0, frame = 0
- 276 @ frame_needed = 0, uses_anonymous_args = 0
- 277 .LVL20:
- 278 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr}
- 279 .LCFI1:
- 280 .cfi_def_cfa_offset 24
- 281 .cfi_offset 4, -24
- 282 .cfi_offset 5, -20
- 283 .cfi_offset 6, -16
- 284 .cfi_offset 7, -12
- 285 .cfi_offset 8, -8
- 286 .cfi_offset 14, -4
- 287 0004 0546 mov r5, r0
- 288 0006 0F46 mov r7, r1
- 289 0008 1646 mov r6, r2
- 290 000a 9846 mov r8, r3
- 291 000c 069C ldr r4, [sp, #24]
- 292 .LVL21:
- 293 .L20:
-2695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 294 .loc 1 2695 0
- 295 000e 2B68 ldr r3, [r5]
- 296 0010 1B68 ldr r3, [r3]
- 297 0012 37EA0303 bics r3, r7, r3
- 298 0016 0CBF ite eq
- 299 0018 0123 moveq r3, #1
-ARM GAS /tmp/ccFcN4UJ.s page 61
-
-
- 300 001a 0023 movne r3, #0
- 301 001c B342 cmp r3, r6
- 302 001e 1ED1 bne .L25
-2698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 303 .loc 1 2698 0
- 304 0020 B4F1FF3F cmp r4, #-1
- 305 0024 F3D0 beq .L20
-2700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 306 .loc 1 2700 0
- 307 0026 2CB1 cbz r4, .L21
-2700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 308 .loc 1 2700 0 is_stmt 0 discriminator 1
- 309 0028 FFF7FEFF bl HAL_GetTick
- 310 .LVL22:
- 311 002c A0EB0800 sub r0, r0, r8
- 312 0030 8442 cmp r4, r0
- 313 0032 ECD2 bcs .L20
- 314 .L21:
-2703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE);
- 315 .loc 1 2703 0 is_stmt 1
- 316 0034 2A68 ldr r2, [r5]
- 317 0036 D368 ldr r3, [r2, #12]
- 318 0038 23F4D073 bic r3, r3, #416
- 319 003c D360 str r3, [r2, #12]
-2704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 320 .loc 1 2704 0
- 321 003e 2A68 ldr r2, [r5]
- 322 0040 5369 ldr r3, [r2, #20]
- 323 0042 23F00103 bic r3, r3, #1
- 324 0046 5361 str r3, [r2, #20]
-2706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
- 325 .loc 1 2706 0
- 326 0048 2023 movs r3, #32
- 327 004a 85F83930 strb r3, [r5, #57]
-2707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 328 .loc 1 2707 0
- 329 004e 85F83A30 strb r3, [r5, #58]
-2710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 330 .loc 1 2710 0
- 331 0052 0023 movs r3, #0
- 332 0054 85F83830 strb r3, [r5, #56]
-2712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 333 .loc 1 2712 0
- 334 0058 0320 movs r0, #3
- 335 005a BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 336 .LVL23:
- 337 .L25:
-2716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 338 .loc 1 2716 0
- 339 005e 0020 movs r0, #0
-2717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 340 .loc 1 2717 0
- 341 0060 BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 342 .cfi_endproc
- 343 .LFE108:
- 345 .section .text.HAL_UART_MspInit,"ax",%progbits
- 346 .align 1
-ARM GAS /tmp/ccFcN4UJ.s page 62
-
-
- 347 .weak HAL_UART_MspInit
- 348 .syntax unified
- 349 .thumb
- 350 .thumb_func
- 351 .fpu softvfp
- 353 HAL_UART_MspInit:
- 354 .LFB70:
- 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */
- 355 .loc 1 673 0
- 356 .cfi_startproc
- 357 @ args = 0, pretend = 0, frame = 0
- 358 @ frame_needed = 0, uses_anonymous_args = 0
- 359 @ link register save eliminated.
- 360 .LVL24:
- 361 0000 7047 bx lr
- 362 .cfi_endproc
- 363 .LFE70:
- 365 .section .text.HAL_UART_Init,"ax",%progbits
- 366 .align 1
- 367 .global HAL_UART_Init
- 368 .syntax unified
- 369 .thumb
- 370 .thumb_func
- 371 .fpu softvfp
- 373 HAL_UART_Init:
- 374 .LFB65:
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */
- 375 .loc 1 315 0
- 376 .cfi_startproc
- 377 @ args = 0, pretend = 0, frame = 0
- 378 @ frame_needed = 0, uses_anonymous_args = 0
- 379 .LVL25:
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 380 .loc 1 317 0
- 381 0000 58B3 cbz r0, .L30
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */
- 382 .loc 1 315 0
- 383 0002 10B5 push {r4, lr}
- 384 .LCFI2:
- 385 .cfi_def_cfa_offset 8
- 386 .cfi_offset 4, -8
- 387 .cfi_offset 14, -4
- 388 0004 0446 mov r4, r0
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 389 .loc 1 338 0
- 390 0006 90F83930 ldrb r3, [r0, #57] @ zero_extendqisi2
- 391 000a 0BB3 cbz r3, .L35
- 392 .LVL26:
- 393 .L29:
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 394 .loc 1 359 0
- 395 000c 2423 movs r3, #36
- 396 000e 84F83930 strb r3, [r4, #57]
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 397 .loc 1 362 0
- 398 0012 2268 ldr r2, [r4]
- 399 0014 D368 ldr r3, [r2, #12]
-ARM GAS /tmp/ccFcN4UJ.s page 63
-
-
- 400 0016 23F40053 bic r3, r3, #8192
- 401 001a D360 str r3, [r2, #12]
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 402 .loc 1 365 0
- 403 001c 2046 mov r0, r4
- 404 001e FFF7FEFF bl UART_SetConfig
- 405 .LVL27:
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN));
- 406 .loc 1 370 0
- 407 0022 2268 ldr r2, [r4]
- 408 0024 1369 ldr r3, [r2, #16]
- 409 0026 23F49043 bic r3, r3, #18432
- 410 002a 1361 str r3, [r2, #16]
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 411 .loc 1 371 0
- 412 002c 2268 ldr r2, [r4]
- 413 002e 5369 ldr r3, [r2, #20]
- 414 0030 23F02A03 bic r3, r3, #42
- 415 0034 5361 str r3, [r2, #20]
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 416 .loc 1 374 0
- 417 0036 2268 ldr r2, [r4]
- 418 0038 D368 ldr r3, [r2, #12]
- 419 003a 43F40053 orr r3, r3, #8192
- 420 003e D360 str r3, [r2, #12]
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
- 421 .loc 1 377 0
- 422 0040 0020 movs r0, #0
- 423 0042 E063 str r0, [r4, #60]
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
- 424 .loc 1 378 0
- 425 0044 2023 movs r3, #32
- 426 0046 84F83930 strb r3, [r4, #57]
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 427 .loc 1 379 0
- 428 004a 84F83A30 strb r3, [r4, #58]
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 429 .loc 1 381 0
- 430 004e 10BD pop {r4, pc}
- 431 .LVL28:
- 432 .L35:
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 433 .loc 1 341 0
- 434 0050 80F83830 strb r3, [r0, #56]
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */
- 435 .loc 1 355 0
- 436 0054 FFF7FEFF bl HAL_UART_MspInit
- 437 .LVL29:
- 438 0058 D8E7 b .L29
- 439 .LVL30:
- 440 .L30:
- 441 .LCFI3:
- 442 .cfi_def_cfa_offset 0
- 443 .cfi_restore 4
- 444 .cfi_restore 14
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 445 .loc 1 319 0
-ARM GAS /tmp/ccFcN4UJ.s page 64
-
-
- 446 005a 0120 movs r0, #1
- 447 .LVL31:
- 448 005c 7047 bx lr
- 449 .cfi_endproc
- 450 .LFE65:
- 452 .section .text.HAL_HalfDuplex_Init,"ax",%progbits
- 453 .align 1
- 454 .global HAL_HalfDuplex_Init
- 455 .syntax unified
- 456 .thumb
- 457 .thumb_func
- 458 .fpu softvfp
- 460 HAL_HalfDuplex_Init:
- 461 .LFB66:
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */
- 462 .loc 1 392 0
- 463 .cfi_startproc
- 464 @ args = 0, pretend = 0, frame = 0
- 465 @ frame_needed = 0, uses_anonymous_args = 0
- 466 .LVL32:
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 467 .loc 1 394 0
- 468 0000 0028 cmp r0, #0
- 469 0002 30D0 beq .L39
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */
- 470 .loc 1 392 0
- 471 0004 10B5 push {r4, lr}
- 472 .LCFI4:
- 473 .cfi_def_cfa_offset 8
- 474 .cfi_offset 4, -8
- 475 .cfi_offset 14, -4
- 476 0006 0446 mov r4, r0
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 477 .loc 1 406 0
- 478 0008 90F83930 ldrb r3, [r0, #57] @ zero_extendqisi2
- 479 000c 33B3 cbz r3, .L44
- 480 .LVL33:
- 481 .L38:
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 482 .loc 1 427 0
- 483 000e 2423 movs r3, #36
- 484 0010 84F83930 strb r3, [r4, #57]
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 485 .loc 1 430 0
- 486 0014 2268 ldr r2, [r4]
- 487 0016 D368 ldr r3, [r2, #12]
- 488 0018 23F40053 bic r3, r3, #8192
- 489 001c D360 str r3, [r2, #12]
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 490 .loc 1 433 0
- 491 001e 2046 mov r0, r4
- 492 0020 FFF7FEFF bl UART_SetConfig
- 493 .LVL34:
- 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, (USART_CR3_IREN | USART_CR3_SCEN));
- 494 .loc 1 438 0
- 495 0024 2268 ldr r2, [r4]
- 496 0026 1369 ldr r3, [r2, #16]
-ARM GAS /tmp/ccFcN4UJ.s page 65
-
-
- 497 0028 23F49043 bic r3, r3, #18432
- 498 002c 1361 str r3, [r2, #16]
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 499 .loc 1 439 0
- 500 002e 2268 ldr r2, [r4]
- 501 0030 5369 ldr r3, [r2, #20]
- 502 0032 23F02203 bic r3, r3, #34
- 503 0036 5361 str r3, [r2, #20]
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 504 .loc 1 442 0
- 505 0038 2268 ldr r2, [r4]
- 506 003a 5369 ldr r3, [r2, #20]
- 507 003c 43F00803 orr r3, r3, #8
- 508 0040 5361 str r3, [r2, #20]
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 509 .loc 1 445 0
- 510 0042 2268 ldr r2, [r4]
- 511 0044 D368 ldr r3, [r2, #12]
- 512 0046 43F40053 orr r3, r3, #8192
- 513 004a D360 str r3, [r2, #12]
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
- 514 .loc 1 448 0
- 515 004c 0020 movs r0, #0
- 516 004e E063 str r0, [r4, #60]
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
- 517 .loc 1 449 0
- 518 0050 2023 movs r3, #32
- 519 0052 84F83930 strb r3, [r4, #57]
- 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 520 .loc 1 450 0
- 521 0056 84F83A30 strb r3, [r4, #58]
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 522 .loc 1 452 0
- 523 005a 10BD pop {r4, pc}
- 524 .LVL35:
- 525 .L44:
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 526 .loc 1 409 0
- 527 005c 80F83830 strb r3, [r0, #56]
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */
- 528 .loc 1 423 0
- 529 0060 FFF7FEFF bl HAL_UART_MspInit
- 530 .LVL36:
- 531 0064 D3E7 b .L38
- 532 .LVL37:
- 533 .L39:
- 534 .LCFI5:
- 535 .cfi_def_cfa_offset 0
- 536 .cfi_restore 4
- 537 .cfi_restore 14
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 538 .loc 1 396 0
- 539 0066 0120 movs r0, #1
- 540 .LVL38:
- 541 0068 7047 bx lr
- 542 .cfi_endproc
- 543 .LFE66:
-ARM GAS /tmp/ccFcN4UJ.s page 66
-
-
- 545 .section .text.HAL_LIN_Init,"ax",%progbits
- 546 .align 1
- 547 .global HAL_LIN_Init
- 548 .syntax unified
- 549 .thumb
- 550 .thumb_func
- 551 .fpu softvfp
- 553 HAL_LIN_Init:
- 554 .LFB67:
- 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */
- 555 .loc 1 467 0
- 556 .cfi_startproc
- 557 @ args = 0, pretend = 0, frame = 0
- 558 @ frame_needed = 0, uses_anonymous_args = 0
- 559 .LVL39:
- 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 560 .loc 1 469 0
- 561 0000 0028 cmp r0, #0
- 562 0002 3BD0 beq .L48
- 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */
- 563 .loc 1 467 0
- 564 0004 38B5 push {r3, r4, r5, lr}
- 565 .LCFI6:
- 566 .cfi_def_cfa_offset 16
- 567 .cfi_offset 3, -16
- 568 .cfi_offset 4, -12
- 569 .cfi_offset 5, -8
- 570 .cfi_offset 14, -4
- 571 0006 0446 mov r4, r0
- 572 0008 0D46 mov r5, r1
- 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 573 .loc 1 484 0
- 574 000a 90F83930 ldrb r3, [r0, #57] @ zero_extendqisi2
- 575 000e 002B cmp r3, #0
- 576 0010 2FD0 beq .L53
- 577 .LVL40:
- 578 .L47:
- 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 579 .loc 1 505 0
- 580 0012 2423 movs r3, #36
- 581 0014 84F83930 strb r3, [r4, #57]
- 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 582 .loc 1 508 0
- 583 0018 2268 ldr r2, [r4]
- 584 001a D368 ldr r3, [r2, #12]
- 585 001c 23F40053 bic r3, r3, #8192
- 586 0020 D360 str r3, [r2, #12]
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 587 .loc 1 511 0
- 588 0022 2046 mov r0, r4
- 589 0024 FFF7FEFF bl UART_SetConfig
- 590 .LVL41:
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, (USART_CR3_HDSEL | USART_CR3_IREN | USART_CR3_SCEN));
- 591 .loc 1 516 0
- 592 0028 2268 ldr r2, [r4]
- 593 002a 1369 ldr r3, [r2, #16]
- 594 002c 23F40063 bic r3, r3, #2048
-ARM GAS /tmp/ccFcN4UJ.s page 67
-
-
- 595 0030 1361 str r3, [r2, #16]
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 596 .loc 1 517 0
- 597 0032 2268 ldr r2, [r4]
- 598 0034 5369 ldr r3, [r2, #20]
- 599 0036 23F02A03 bic r3, r3, #42
- 600 003a 5361 str r3, [r2, #20]
- 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 601 .loc 1 520 0
- 602 003c 2268 ldr r2, [r4]
- 603 003e 1369 ldr r3, [r2, #16]
- 604 0040 43F48043 orr r3, r3, #16384
- 605 0044 1361 str r3, [r2, #16]
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR2, BreakDetectLength);
- 606 .loc 1 523 0
- 607 0046 2268 ldr r2, [r4]
- 608 0048 1369 ldr r3, [r2, #16]
- 609 004a 23F02003 bic r3, r3, #32
- 610 004e 1361 str r3, [r2, #16]
- 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 611 .loc 1 524 0
- 612 0050 2368 ldr r3, [r4]
- 613 0052 1969 ldr r1, [r3, #16]
- 614 0054 0D43 orrs r5, r5, r1
- 615 .LVL42:
- 616 0056 1D61 str r5, [r3, #16]
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 617 .loc 1 527 0
- 618 0058 2268 ldr r2, [r4]
- 619 005a D368 ldr r3, [r2, #12]
- 620 005c 43F40053 orr r3, r3, #8192
- 621 0060 D360 str r3, [r2, #12]
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
- 622 .loc 1 530 0
- 623 0062 0020 movs r0, #0
- 624 0064 E063 str r0, [r4, #60]
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
- 625 .loc 1 531 0
- 626 0066 2023 movs r3, #32
- 627 0068 84F83930 strb r3, [r4, #57]
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 628 .loc 1 532 0
- 629 006c 84F83A30 strb r3, [r4, #58]
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 630 .loc 1 534 0
- 631 0070 38BD pop {r3, r4, r5, pc}
- 632 .LVL43:
- 633 .L53:
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 634 .loc 1 487 0
- 635 0072 80F83830 strb r3, [r0, #56]
- 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */
- 636 .loc 1 501 0
- 637 0076 FFF7FEFF bl HAL_UART_MspInit
- 638 .LVL44:
- 639 007a CAE7 b .L47
- 640 .LVL45:
-ARM GAS /tmp/ccFcN4UJ.s page 68
-
-
- 641 .L48:
- 642 .LCFI7:
- 643 .cfi_def_cfa_offset 0
- 644 .cfi_restore 3
- 645 .cfi_restore 4
- 646 .cfi_restore 5
- 647 .cfi_restore 14
- 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 648 .loc 1 471 0
- 649 007c 0120 movs r0, #1
- 650 .LVL46:
- 651 007e 7047 bx lr
- 652 .cfi_endproc
- 653 .LFE67:
- 655 .section .text.HAL_MultiProcessor_Init,"ax",%progbits
- 656 .align 1
- 657 .global HAL_MultiProcessor_Init
- 658 .syntax unified
- 659 .thumb
- 660 .thumb_func
- 661 .fpu softvfp
- 663 HAL_MultiProcessor_Init:
- 664 .LFB68:
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */
- 665 .loc 1 550 0
- 666 .cfi_startproc
- 667 @ args = 0, pretend = 0, frame = 0
- 668 @ frame_needed = 0, uses_anonymous_args = 0
- 669 .LVL47:
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 670 .loc 1 552 0
- 671 0000 0028 cmp r0, #0
- 672 0002 40D0 beq .L57
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */
- 673 .loc 1 550 0
- 674 0004 70B5 push {r4, r5, r6, lr}
- 675 .LCFI8:
- 676 .cfi_def_cfa_offset 16
- 677 .cfi_offset 4, -16
- 678 .cfi_offset 5, -12
- 679 .cfi_offset 6, -8
- 680 .cfi_offset 14, -4
- 681 0006 0446 mov r4, r0
- 682 0008 1646 mov r6, r2
- 683 000a 0D46 mov r5, r1
- 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 684 .loc 1 568 0
- 685 000c 90F83930 ldrb r3, [r0, #57] @ zero_extendqisi2
- 686 0010 002B cmp r3, #0
- 687 0012 33D0 beq .L62
- 688 .LVL48:
- 689 .L56:
- 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 690 .loc 1 589 0
- 691 0014 2423 movs r3, #36
- 692 0016 84F83930 strb r3, [r4, #57]
- 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-ARM GAS /tmp/ccFcN4UJ.s page 69
-
-
- 693 .loc 1 592 0
- 694 001a 2268 ldr r2, [r4]
- 695 001c D368 ldr r3, [r2, #12]
- 696 001e 23F40053 bic r3, r3, #8192
- 697 0022 D360 str r3, [r2, #12]
- 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 698 .loc 1 595 0
- 699 0024 2046 mov r0, r4
- 700 0026 FFF7FEFF bl UART_SetConfig
- 701 .LVL49:
- 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN));
- 702 .loc 1 600 0
- 703 002a 2268 ldr r2, [r4]
- 704 002c 1369 ldr r3, [r2, #16]
- 705 002e 23F49043 bic r3, r3, #18432
- 706 0032 1361 str r3, [r2, #16]
- 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 707 .loc 1 601 0
- 708 0034 2268 ldr r2, [r4]
- 709 0036 5369 ldr r3, [r2, #20]
- 710 0038 23F02A03 bic r3, r3, #42
- 711 003c 5361 str r3, [r2, #20]
- 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR2, Address);
- 712 .loc 1 604 0
- 713 003e 2268 ldr r2, [r4]
- 714 0040 1369 ldr r3, [r2, #16]
- 715 0042 23F00F03 bic r3, r3, #15
- 716 0046 1361 str r3, [r2, #16]
- 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 717 .loc 1 605 0
- 718 0048 2368 ldr r3, [r4]
- 719 004a 1969 ldr r1, [r3, #16]
- 720 004c 0D43 orrs r5, r5, r1
- 721 004e 1D61 str r5, [r3, #16]
- 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR1, WakeUpMethod);
- 722 .loc 1 608 0
- 723 0050 2268 ldr r2, [r4]
- 724 0052 D368 ldr r3, [r2, #12]
- 725 0054 23F40063 bic r3, r3, #2048
- 726 0058 D360 str r3, [r2, #12]
- 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 727 .loc 1 609 0
- 728 005a 2168 ldr r1, [r4]
- 729 005c CB68 ldr r3, [r1, #12]
- 730 005e 3343 orrs r3, r3, r6
- 731 0060 CB60 str r3, [r1, #12]
- 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 732 .loc 1 612 0
- 733 0062 2268 ldr r2, [r4]
- 734 0064 D368 ldr r3, [r2, #12]
- 735 0066 43F40053 orr r3, r3, #8192
- 736 006a D360 str r3, [r2, #12]
- 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
- 737 .loc 1 615 0
- 738 006c 0020 movs r0, #0
- 739 006e E063 str r0, [r4, #60]
- 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
-ARM GAS /tmp/ccFcN4UJ.s page 70
-
-
- 740 .loc 1 616 0
- 741 0070 2023 movs r3, #32
- 742 0072 84F83930 strb r3, [r4, #57]
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 743 .loc 1 617 0
- 744 0076 84F83A30 strb r3, [r4, #58]
- 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 745 .loc 1 619 0
- 746 007a 70BD pop {r4, r5, r6, pc}
- 747 .LVL50:
- 748 .L62:
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 749 .loc 1 571 0
- 750 007c 80F83830 strb r3, [r0, #56]
- 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */
- 751 .loc 1 585 0
- 752 0080 FFF7FEFF bl HAL_UART_MspInit
- 753 .LVL51:
- 754 0084 C6E7 b .L56
- 755 .LVL52:
- 756 .L57:
- 757 .LCFI9:
- 758 .cfi_def_cfa_offset 0
- 759 .cfi_restore 4
- 760 .cfi_restore 5
- 761 .cfi_restore 6
- 762 .cfi_restore 14
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 763 .loc 1 554 0
- 764 0086 0120 movs r0, #1
- 765 .LVL53:
- 766 0088 7047 bx lr
- 767 .cfi_endproc
- 768 .LFE68:
- 770 .section .text.HAL_UART_MspDeInit,"ax",%progbits
- 771 .align 1
- 772 .weak HAL_UART_MspDeInit
- 773 .syntax unified
- 774 .thumb
- 775 .thumb_func
- 776 .fpu softvfp
- 778 HAL_UART_MspDeInit:
- 779 .LFB71:
- 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */
- 780 .loc 1 688 0
- 781 .cfi_startproc
- 782 @ args = 0, pretend = 0, frame = 0
- 783 @ frame_needed = 0, uses_anonymous_args = 0
- 784 @ link register save eliminated.
- 785 .LVL54:
- 786 0000 7047 bx lr
- 787 .cfi_endproc
- 788 .LFE71:
- 790 .section .text.HAL_UART_DeInit,"ax",%progbits
- 791 .align 1
- 792 .global HAL_UART_DeInit
- 793 .syntax unified
-ARM GAS /tmp/ccFcN4UJ.s page 71
-
-
- 794 .thumb
- 795 .thumb_func
- 796 .fpu softvfp
- 798 HAL_UART_DeInit:
- 799 .LFB69:
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */
- 800 .loc 1 629 0
- 801 .cfi_startproc
- 802 @ args = 0, pretend = 0, frame = 0
- 803 @ frame_needed = 0, uses_anonymous_args = 0
- 804 .LVL55:
- 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 805 .loc 1 631 0
- 806 0000 A0B1 cbz r0, .L66
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the UART handle allocation */
- 807 .loc 1 629 0
- 808 0002 10B5 push {r4, lr}
- 809 .LCFI10:
- 810 .cfi_def_cfa_offset 8
- 811 .cfi_offset 4, -8
- 812 .cfi_offset 14, -4
- 813 0004 0446 mov r4, r0
- 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 814 .loc 1 639 0
- 815 0006 2423 movs r3, #36
- 816 0008 80F83930 strb r3, [r0, #57]
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 817 .loc 1 642 0
- 818 000c 0268 ldr r2, [r0]
- 819 000e D368 ldr r3, [r2, #12]
- 820 0010 23F40053 bic r3, r3, #8192
- 821 0014 D360 str r3, [r2, #12]
- 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */
- 822 .loc 1 653 0
- 823 0016 FFF7FEFF bl HAL_UART_MspDeInit
- 824 .LVL56:
- 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_RESET;
- 825 .loc 1 656 0
- 826 001a 0020 movs r0, #0
- 827 001c E063 str r0, [r4, #60]
- 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_RESET;
- 828 .loc 1 657 0
- 829 001e 84F83900 strb r0, [r4, #57]
- 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 830 .loc 1 658 0
- 831 0022 84F83A00 strb r0, [r4, #58]
- 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 832 .loc 1 661 0
- 833 0026 84F83800 strb r0, [r4, #56]
- 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 834 .loc 1 663 0
- 835 002a 10BD pop {r4, pc}
- 836 .LVL57:
- 837 .L66:
- 838 .LCFI11:
- 839 .cfi_def_cfa_offset 0
- 840 .cfi_restore 4
-ARM GAS /tmp/ccFcN4UJ.s page 72
-
-
- 841 .cfi_restore 14
- 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 842 .loc 1 633 0
- 843 002c 0120 movs r0, #1
- 844 .LVL58:
- 845 002e 7047 bx lr
- 846 .cfi_endproc
- 847 .LFE69:
- 849 .section .text.HAL_UART_Transmit,"ax",%progbits
- 850 .align 1
- 851 .global HAL_UART_Transmit
- 852 .syntax unified
- 853 .thumb
- 854 .thumb_func
- 855 .fpu softvfp
- 857 HAL_UART_Transmit:
- 858 .LFB72:
-1028:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint8_t *pdata8bits;
- 859 .loc 1 1028 0
- 860 .cfi_startproc
- 861 @ args = 0, pretend = 0, frame = 0
- 862 @ frame_needed = 0, uses_anonymous_args = 0
- 863 .LVL59:
- 864 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr}
- 865 .LCFI12:
- 866 .cfi_def_cfa_offset 24
- 867 .cfi_offset 4, -24
- 868 .cfi_offset 5, -20
- 869 .cfi_offset 6, -16
- 870 .cfi_offset 7, -12
- 871 .cfi_offset 8, -8
- 872 .cfi_offset 14, -4
- 873 0004 82B0 sub sp, sp, #8
- 874 .LCFI13:
- 875 .cfi_def_cfa_offset 32
- 876 0006 1E46 mov r6, r3
- 877 .LVL60:
-1034:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 878 .loc 1 1034 0
- 879 0008 90F83930 ldrb r3, [r0, #57] @ zero_extendqisi2
- 880 .LVL61:
- 881 000c DBB2 uxtb r3, r3
- 882 000e 202B cmp r3, #32
- 883 0010 04D0 beq .L87
-1099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 884 .loc 1 1099 0
- 885 0012 0223 movs r3, #2
- 886 .LVL62:
- 887 .L72:
-1101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 888 .loc 1 1101 0
- 889 0014 1846 mov r0, r3
- 890 0016 02B0 add sp, sp, #8
- 891 .LCFI14:
- 892 .cfi_remember_state
- 893 .cfi_def_cfa_offset 24
- 894 @ sp needed
-ARM GAS /tmp/ccFcN4UJ.s page 73
-
-
- 895 0018 BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 896 .LVL63:
- 897 .L87:
- 898 .LCFI15:
- 899 .cfi_restore_state
- 900 001c 0446 mov r4, r0
- 901 001e 0D46 mov r5, r1
- 902 0020 9046 mov r8, r2
-1036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 903 .loc 1 1036 0
- 904 0022 0029 cmp r1, #0
- 905 0024 54D0 beq .L79
-1036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 906 .loc 1 1036 0 is_stmt 0 discriminator 1
- 907 0026 002A cmp r2, #0
- 908 0028 54D0 beq .L80
-1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 909 .loc 1 1042 0 is_stmt 1
- 910 002a 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2
- 911 002e 012B cmp r3, #1
- 912 0030 01D1 bne .L88
- 913 0032 0223 movs r3, #2
- 914 0034 EEE7 b .L72
- 915 .L88:
-1042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 916 .loc 1 1042 0 is_stmt 0 discriminator 2
- 917 0036 0123 movs r3, #1
- 918 0038 80F83830 strb r3, [r0, #56]
-1044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY_TX;
- 919 .loc 1 1044 0 is_stmt 1 discriminator 2
- 920 003c 0023 movs r3, #0
- 921 003e C363 str r3, [r0, #60]
-1045:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 922 .loc 1 1045 0 discriminator 2
- 923 0040 2123 movs r3, #33
- 924 0042 80F83930 strb r3, [r0, #57]
-1048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 925 .loc 1 1048 0 discriminator 2
- 926 0046 FFF7FEFF bl HAL_GetTick
- 927 .LVL64:
- 928 004a 0746 mov r7, r0
- 929 .LVL65:
-1050:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = Size;
- 930 .loc 1 1050 0 discriminator 2
- 931 004c A4F82480 strh r8, [r4, #36] @ movhi
-1051:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 932 .loc 1 1051 0 discriminator 2
- 933 0050 A4F82680 strh r8, [r4, #38] @ movhi
-1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 934 .loc 1 1054 0 discriminator 2
- 935 0054 A368 ldr r3, [r4, #8]
- 936 0056 B3F5805F cmp r3, #4096
- 937 005a 05D0 beq .L89
-1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 938 .loc 1 1062 0
- 939 005c 4FF00008 mov r8, #0
- 940 .LVL66:
-ARM GAS /tmp/ccFcN4UJ.s page 74
-
-
- 941 .L73:
-1066:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 942 .loc 1 1066 0
- 943 0060 0023 movs r3, #0
- 944 0062 84F83830 strb r3, [r4, #56]
-1068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 945 .loc 1 1068 0
- 946 0066 12E0 b .L74
- 947 .LVL67:
- 948 .L89:
-1054:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 949 .loc 1 1054 0 discriminator 1
- 950 0068 2369 ldr r3, [r4, #16]
- 951 006a 13B1 cbz r3, .L83
-1062:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 952 .loc 1 1062 0
- 953 006c 4FF00008 mov r8, #0
- 954 0070 F6E7 b .L73
- 955 .L83:
-1057:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 956 .loc 1 1057 0
- 957 0072 A846 mov r8, r5
-1056:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pdata16bits = (uint16_t *) pData;
- 958 .loc 1 1056 0
- 959 0074 0025 movs r5, #0
- 960 .LVL68:
- 961 0076 F3E7 b .L73
- 962 .LVL69:
- 963 .L91:
-1076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pdata16bits++;
- 964 .loc 1 1076 0
- 965 0078 2268 ldr r2, [r4]
- 966 007a 38F8023B ldrh r3, [r8], #2
- 967 .LVL70:
- 968 007e C3F30803 ubfx r3, r3, #0, #9
- 969 0082 5360 str r3, [r2, #4]
- 970 .LVL71:
- 971 .L76:
-1084:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 972 .loc 1 1084 0
- 973 0084 E38C ldrh r3, [r4, #38]
- 974 0086 9BB2 uxth r3, r3
- 975 0088 013B subs r3, r3, #1
- 976 008a 9BB2 uxth r3, r3
- 977 008c E384 strh r3, [r4, #38] @ movhi
- 978 .L74:
-1068:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 979 .loc 1 1068 0
- 980 008e E38C ldrh r3, [r4, #38]
- 981 0090 9BB2 uxth r3, r3
- 982 0092 73B1 cbz r3, .L90
-1070:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 983 .loc 1 1070 0
- 984 0094 0096 str r6, [sp]
- 985 0096 3B46 mov r3, r7
- 986 0098 0022 movs r2, #0
- 987 009a 8021 movs r1, #128
-ARM GAS /tmp/ccFcN4UJ.s page 75
-
-
- 988 009c 2046 mov r0, r4
- 989 009e FFF7FEFF bl UART_WaitOnFlagUntilTimeout
- 990 .LVL72:
- 991 00a2 C8B9 cbnz r0, .L84
-1074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 992 .loc 1 1074 0
- 993 00a4 002D cmp r5, #0
- 994 00a6 E7D0 beq .L91
-1081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pdata8bits++;
- 995 .loc 1 1081 0
- 996 00a8 2368 ldr r3, [r4]
- 997 00aa 15F8012B ldrb r2, [r5], #1 @ zero_extendqisi2
- 998 .LVL73:
- 999 00ae 5A60 str r2, [r3, #4]
- 1000 .LVL74:
- 1001 00b0 E8E7 b .L76
- 1002 .L90:
-1087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1003 .loc 1 1087 0
- 1004 00b2 0096 str r6, [sp]
- 1005 00b4 3B46 mov r3, r7
- 1006 00b6 0022 movs r2, #0
- 1007 00b8 4021 movs r1, #64
- 1008 00ba 2046 mov r0, r4
- 1009 00bc FFF7FEFF bl UART_WaitOnFlagUntilTimeout
- 1010 .LVL75:
- 1011 00c0 0346 mov r3, r0
- 1012 00c2 08B1 cbz r0, .L92
-1089:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1013 .loc 1 1089 0
- 1014 00c4 0323 movs r3, #3
- 1015 00c6 A5E7 b .L72
- 1016 .L92:
-1093:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1017 .loc 1 1093 0
- 1018 00c8 2022 movs r2, #32
- 1019 00ca 84F83920 strb r2, [r4, #57]
-1095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1020 .loc 1 1095 0
- 1021 00ce A1E7 b .L72
- 1022 .LVL76:
- 1023 .L79:
-1038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1024 .loc 1 1038 0
- 1025 00d0 0123 movs r3, #1
- 1026 00d2 9FE7 b .L72
- 1027 .L80:
- 1028 00d4 0123 movs r3, #1
- 1029 00d6 9DE7 b .L72
- 1030 .LVL77:
- 1031 .L84:
-1072:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1032 .loc 1 1072 0
- 1033 00d8 0323 movs r3, #3
- 1034 00da 9BE7 b .L72
- 1035 .cfi_endproc
- 1036 .LFE72:
-ARM GAS /tmp/ccFcN4UJ.s page 76
-
-
- 1038 .section .text.HAL_UART_Receive,"ax",%progbits
- 1039 .align 1
- 1040 .global HAL_UART_Receive
- 1041 .syntax unified
- 1042 .thumb
- 1043 .thumb_func
- 1044 .fpu softvfp
- 1046 HAL_UART_Receive:
- 1047 .LFB73:
-1116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint8_t *pdata8bits;
- 1048 .loc 1 1116 0
- 1049 .cfi_startproc
- 1050 @ args = 0, pretend = 0, frame = 0
- 1051 @ frame_needed = 0, uses_anonymous_args = 0
- 1052 .LVL78:
- 1053 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr}
- 1054 .LCFI16:
- 1055 .cfi_def_cfa_offset 24
- 1056 .cfi_offset 4, -24
- 1057 .cfi_offset 5, -20
- 1058 .cfi_offset 6, -16
- 1059 .cfi_offset 7, -12
- 1060 .cfi_offset 8, -8
- 1061 .cfi_offset 14, -4
- 1062 0004 82B0 sub sp, sp, #8
- 1063 .LCFI17:
- 1064 .cfi_def_cfa_offset 32
- 1065 0006 1E46 mov r6, r3
- 1066 .LVL79:
-1122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1067 .loc 1 1122 0
- 1068 0008 90F83A30 ldrb r3, [r0, #58] @ zero_extendqisi2
- 1069 .LVL80:
- 1070 000c DBB2 uxtb r3, r3
- 1071 000e 202B cmp r3, #32
- 1072 0010 03D0 beq .L111
-1190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1073 .loc 1 1190 0
- 1074 0012 0220 movs r0, #2
- 1075 .LVL81:
- 1076 .L94:
-1192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1077 .loc 1 1192 0
- 1078 0014 02B0 add sp, sp, #8
- 1079 .LCFI18:
- 1080 .cfi_remember_state
- 1081 .cfi_def_cfa_offset 24
- 1082 @ sp needed
- 1083 0016 BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 1084 .LVL82:
- 1085 .L111:
- 1086 .LCFI19:
- 1087 .cfi_restore_state
- 1088 001a 0446 mov r4, r0
- 1089 001c 0D46 mov r5, r1
- 1090 001e 9046 mov r8, r2
-1124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-ARM GAS /tmp/ccFcN4UJ.s page 77
-
-
- 1091 .loc 1 1124 0
- 1092 0020 0029 cmp r1, #0
- 1093 0022 59D0 beq .L104
-1124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1094 .loc 1 1124 0 is_stmt 0 discriminator 1
- 1095 0024 002A cmp r2, #0
- 1096 0026 59D0 beq .L105
-1130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1097 .loc 1 1130 0 is_stmt 1
- 1098 0028 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2
- 1099 002c 012B cmp r3, #1
- 1100 002e 01D1 bne .L112
- 1101 0030 0220 movs r0, #2
- 1102 .LVL83:
- 1103 0032 EFE7 b .L94
- 1104 .LVL84:
- 1105 .L112:
-1130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1106 .loc 1 1130 0 is_stmt 0 discriminator 2
- 1107 0034 0123 movs r3, #1
- 1108 0036 80F83830 strb r3, [r0, #56]
-1132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_BUSY_RX;
- 1109 .loc 1 1132 0 is_stmt 1 discriminator 2
- 1110 003a 0023 movs r3, #0
- 1111 003c C363 str r3, [r0, #60]
-1133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1112 .loc 1 1133 0 discriminator 2
- 1113 003e 2223 movs r3, #34
- 1114 0040 80F83A30 strb r3, [r0, #58]
-1136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1115 .loc 1 1136 0 discriminator 2
- 1116 0044 FFF7FEFF bl HAL_GetTick
- 1117 .LVL85:
- 1118 0048 0746 mov r7, r0
- 1119 .LVL86:
-1138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = Size;
- 1120 .loc 1 1138 0 discriminator 2
- 1121 004a A4F82C80 strh r8, [r4, #44] @ movhi
-1139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1122 .loc 1 1139 0 discriminator 2
- 1123 004e A4F82E80 strh r8, [r4, #46] @ movhi
-1142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1124 .loc 1 1142 0 discriminator 2
- 1125 0052 A368 ldr r3, [r4, #8]
- 1126 0054 B3F5805F cmp r3, #4096
- 1127 0058 05D0 beq .L113
-1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1128 .loc 1 1150 0
- 1129 005a 4FF00008 mov r8, #0
- 1130 .LVL87:
- 1131 .L95:
-1154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1132 .loc 1 1154 0
- 1133 005e 0023 movs r3, #0
- 1134 0060 84F83830 strb r3, [r4, #56]
-1157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1135 .loc 1 1157 0
-ARM GAS /tmp/ccFcN4UJ.s page 78
-
-
- 1136 0064 19E0 b .L96
- 1137 .LVL88:
- 1138 .L113:
-1142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1139 .loc 1 1142 0 discriminator 1
- 1140 0066 2369 ldr r3, [r4, #16]
- 1141 0068 13B1 cbz r3, .L108
-1150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1142 .loc 1 1150 0
- 1143 006a 4FF00008 mov r8, #0
- 1144 006e F6E7 b .L95
- 1145 .L108:
-1145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1146 .loc 1 1145 0
- 1147 0070 A846 mov r8, r5
-1144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pdata16bits = (uint16_t *) pData;
- 1148 .loc 1 1144 0
- 1149 0072 0025 movs r5, #0
- 1150 .LVL89:
- 1151 0074 F3E7 b .L95
- 1152 .LVL90:
- 1153 .L115:
-1165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pdata16bits++;
- 1154 .loc 1 1165 0
- 1155 0076 2368 ldr r3, [r4]
- 1156 0078 5B68 ldr r3, [r3, #4]
- 1157 007a C3F30803 ubfx r3, r3, #0, #9
- 1158 007e 28F8023B strh r3, [r8], #2 @ movhi
- 1159 .LVL91:
- 1160 0082 05E0 b .L98
- 1161 .L100:
-1176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1162 .loc 1 1176 0
- 1163 0084 2368 ldr r3, [r4]
- 1164 0086 5B68 ldr r3, [r3, #4]
- 1165 0088 03F07F03 and r3, r3, #127
- 1166 008c 2B70 strb r3, [r5]
- 1167 .L101:
-1178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1168 .loc 1 1178 0
- 1169 008e 0135 adds r5, r5, #1
- 1170 .LVL92:
- 1171 .L98:
-1180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1172 .loc 1 1180 0
- 1173 0090 E38D ldrh r3, [r4, #46]
- 1174 0092 9BB2 uxth r3, r3
- 1175 0094 013B subs r3, r3, #1
- 1176 0096 9BB2 uxth r3, r3
- 1177 0098 E385 strh r3, [r4, #46] @ movhi
- 1178 .L96:
-1157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1179 .loc 1 1157 0
- 1180 009a E38D ldrh r3, [r4, #46]
- 1181 009c 9BB2 uxth r3, r3
- 1182 009e B3B1 cbz r3, .L114
-1159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-ARM GAS /tmp/ccFcN4UJ.s page 79
-
-
- 1183 .loc 1 1159 0
- 1184 00a0 0096 str r6, [sp]
- 1185 00a2 3B46 mov r3, r7
- 1186 00a4 0022 movs r2, #0
- 1187 00a6 2021 movs r1, #32
- 1188 00a8 2046 mov r0, r4
- 1189 00aa FFF7FEFF bl UART_WaitOnFlagUntilTimeout
- 1190 .LVL93:
- 1191 00ae B8B9 cbnz r0, .L109
-1163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1192 .loc 1 1163 0
- 1193 00b0 002D cmp r5, #0
- 1194 00b2 E0D0 beq .L115
-1170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1195 .loc 1 1170 0
- 1196 00b4 A368 ldr r3, [r4, #8]
- 1197 00b6 B3F5805F cmp r3, #4096
- 1198 00ba 04D0 beq .L99
-1170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1199 .loc 1 1170 0 is_stmt 0 discriminator 1
- 1200 00bc 002B cmp r3, #0
- 1201 00be E1D1 bne .L100
-1170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1202 .loc 1 1170 0 discriminator 2
- 1203 00c0 2369 ldr r3, [r4, #16]
- 1204 00c2 002B cmp r3, #0
- 1205 00c4 DED1 bne .L100
- 1206 .L99:
-1172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1207 .loc 1 1172 0 is_stmt 1
- 1208 00c6 2368 ldr r3, [r4]
- 1209 00c8 5B68 ldr r3, [r3, #4]
- 1210 00ca 2B70 strb r3, [r5]
- 1211 00cc DFE7 b .L101
- 1212 .L114:
-1184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1213 .loc 1 1184 0
- 1214 00ce 2023 movs r3, #32
- 1215 00d0 84F83A30 strb r3, [r4, #58]
-1186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1216 .loc 1 1186 0
- 1217 00d4 0020 movs r0, #0
- 1218 00d6 9DE7 b .L94
- 1219 .LVL94:
- 1220 .L104:
-1126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1221 .loc 1 1126 0
- 1222 00d8 0120 movs r0, #1
- 1223 .LVL95:
- 1224 00da 9BE7 b .L94
- 1225 .LVL96:
- 1226 .L105:
- 1227 00dc 0120 movs r0, #1
- 1228 .LVL97:
- 1229 00de 99E7 b .L94
- 1230 .LVL98:
- 1231 .L109:
-ARM GAS /tmp/ccFcN4UJ.s page 80
-
-
-1161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1232 .loc 1 1161 0
- 1233 00e0 0320 movs r0, #3
- 1234 00e2 97E7 b .L94
- 1235 .cfi_endproc
- 1236 .LFE73:
- 1238 .section .text.HAL_UART_Transmit_IT,"ax",%progbits
- 1239 .align 1
- 1240 .global HAL_UART_Transmit_IT
- 1241 .syntax unified
- 1242 .thumb
- 1243 .thumb_func
- 1244 .fpu softvfp
- 1246 HAL_UART_Transmit_IT:
- 1247 .LFB74:
-1206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check that a Tx process is not already ongoing */
- 1248 .loc 1 1206 0
- 1249 .cfi_startproc
- 1250 @ args = 0, pretend = 0, frame = 0
- 1251 @ frame_needed = 0, uses_anonymous_args = 0
- 1252 @ link register save eliminated.
- 1253 .LVL99:
-1208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1254 .loc 1 1208 0
- 1255 0000 90F83930 ldrb r3, [r0, #57] @ zero_extendqisi2
- 1256 0004 DBB2 uxtb r3, r3
- 1257 0006 202B cmp r3, #32
- 1258 0008 01D0 beq .L122
-1235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1259 .loc 1 1235 0
- 1260 000a 0220 movs r0, #2
- 1261 .LVL100:
- 1262 000c 7047 bx lr
- 1263 .LVL101:
- 1264 .L122:
-1210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1265 .loc 1 1210 0
- 1266 000e A9B1 cbz r1, .L119
-1210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1267 .loc 1 1210 0 is_stmt 0 discriminator 1
- 1268 0010 B2B1 cbz r2, .L120
-1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1269 .loc 1 1216 0 is_stmt 1
- 1270 0012 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2
- 1271 0016 012B cmp r3, #1
- 1272 0018 14D0 beq .L121
-1218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferSize = Size;
- 1273 .loc 1 1218 0 discriminator 2
- 1274 001a 0162 str r1, [r0, #32]
-1219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = Size;
- 1275 .loc 1 1219 0 discriminator 2
- 1276 001c 8284 strh r2, [r0, #36] @ movhi
-1220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1277 .loc 1 1220 0 discriminator 2
- 1278 001e C284 strh r2, [r0, #38] @ movhi
-1222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY_TX;
- 1279 .loc 1 1222 0 discriminator 2
-ARM GAS /tmp/ccFcN4UJ.s page 81
-
-
- 1280 0020 0023 movs r3, #0
- 1281 0022 C363 str r3, [r0, #60]
-1223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1282 .loc 1 1223 0 discriminator 2
- 1283 0024 2122 movs r2, #33
- 1284 .LVL102:
- 1285 0026 80F83920 strb r2, [r0, #57]
-1226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1286 .loc 1 1226 0 discriminator 2
- 1287 002a 80F83830 strb r3, [r0, #56]
-1229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1288 .loc 1 1229 0 discriminator 2
- 1289 002e 0168 ldr r1, [r0]
- 1290 .LVL103:
- 1291 0030 CA68 ldr r2, [r1, #12]
- 1292 0032 42F08002 orr r2, r2, #128
- 1293 0036 CA60 str r2, [r1, #12]
- 1294 .LVL104:
-1231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1295 .loc 1 1231 0 discriminator 2
- 1296 0038 1846 mov r0, r3
- 1297 .LVL105:
- 1298 003a 7047 bx lr
- 1299 .LVL106:
- 1300 .L119:
-1212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1301 .loc 1 1212 0
- 1302 003c 0120 movs r0, #1
- 1303 .LVL107:
- 1304 003e 7047 bx lr
- 1305 .LVL108:
- 1306 .L120:
- 1307 0040 0120 movs r0, #1
- 1308 .LVL109:
- 1309 0042 7047 bx lr
- 1310 .LVL110:
- 1311 .L121:
-1216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1312 .loc 1 1216 0
- 1313 0044 0220 movs r0, #2
- 1314 .LVL111:
-1237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1315 .loc 1 1237 0
- 1316 0046 7047 bx lr
- 1317 .cfi_endproc
- 1318 .LFE74:
- 1320 .section .text.HAL_UART_Receive_IT,"ax",%progbits
- 1321 .align 1
- 1322 .global HAL_UART_Receive_IT
- 1323 .syntax unified
- 1324 .thumb
- 1325 .thumb_func
- 1326 .fpu softvfp
- 1328 HAL_UART_Receive_IT:
- 1329 .LFB75:
-1251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check that a Rx process is not already ongoing */
- 1330 .loc 1 1251 0
-ARM GAS /tmp/ccFcN4UJ.s page 82
-
-
- 1331 .cfi_startproc
- 1332 @ args = 0, pretend = 0, frame = 0
- 1333 @ frame_needed = 0, uses_anonymous_args = 0
- 1334 @ link register save eliminated.
- 1335 .LVL112:
-1253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1336 .loc 1 1253 0
- 1337 0000 90F83A30 ldrb r3, [r0, #58] @ zero_extendqisi2
- 1338 0004 DBB2 uxtb r3, r3
- 1339 0006 202B cmp r3, #32
- 1340 0008 01D0 beq .L129
-1286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1341 .loc 1 1286 0
- 1342 000a 0220 movs r0, #2
- 1343 .LVL113:
- 1344 000c 7047 bx lr
- 1345 .LVL114:
- 1346 .L129:
-1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1347 .loc 1 1255 0
- 1348 000e F9B1 cbz r1, .L126
-1255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1349 .loc 1 1255 0 is_stmt 0 discriminator 1
- 1350 0010 02B3 cbz r2, .L127
-1261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1351 .loc 1 1261 0 is_stmt 1
- 1352 0012 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2
- 1353 0016 012B cmp r3, #1
- 1354 0018 1ED0 beq .L128
-1263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferSize = Size;
- 1355 .loc 1 1263 0 discriminator 2
- 1356 001a 8162 str r1, [r0, #40]
-1264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = Size;
- 1357 .loc 1 1264 0 discriminator 2
- 1358 001c 8285 strh r2, [r0, #44] @ movhi
-1265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1359 .loc 1 1265 0 discriminator 2
- 1360 001e C285 strh r2, [r0, #46] @ movhi
-1267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_BUSY_RX;
- 1361 .loc 1 1267 0 discriminator 2
- 1362 0020 0023 movs r3, #0
- 1363 0022 C363 str r3, [r0, #60]
-1268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1364 .loc 1 1268 0 discriminator 2
- 1365 0024 2222 movs r2, #34
- 1366 .LVL115:
- 1367 0026 80F83A20 strb r2, [r0, #58]
-1271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1368 .loc 1 1271 0 discriminator 2
- 1369 002a 80F83830 strb r3, [r0, #56]
-1274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1370 .loc 1 1274 0 discriminator 2
- 1371 002e 0168 ldr r1, [r0]
- 1372 .LVL116:
- 1373 0030 CA68 ldr r2, [r1, #12]
- 1374 0032 42F48072 orr r2, r2, #256
- 1375 0036 CA60 str r2, [r1, #12]
-ARM GAS /tmp/ccFcN4UJ.s page 83
-
-
- 1376 .LVL117:
-1277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1377 .loc 1 1277 0 discriminator 2
- 1378 0038 0168 ldr r1, [r0]
- 1379 003a 4A69 ldr r2, [r1, #20]
- 1380 003c 42F00102 orr r2, r2, #1
- 1381 0040 4A61 str r2, [r1, #20]
-1280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1382 .loc 1 1280 0 discriminator 2
- 1383 0042 0168 ldr r1, [r0]
- 1384 0044 CA68 ldr r2, [r1, #12]
- 1385 0046 42F02002 orr r2, r2, #32
- 1386 004a CA60 str r2, [r1, #12]
-1282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1387 .loc 1 1282 0 discriminator 2
- 1388 004c 1846 mov r0, r3
- 1389 .LVL118:
- 1390 004e 7047 bx lr
- 1391 .LVL119:
- 1392 .L126:
-1257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1393 .loc 1 1257 0
- 1394 0050 0120 movs r0, #1
- 1395 .LVL120:
- 1396 0052 7047 bx lr
- 1397 .LVL121:
- 1398 .L127:
- 1399 0054 0120 movs r0, #1
- 1400 .LVL122:
- 1401 0056 7047 bx lr
- 1402 .LVL123:
- 1403 .L128:
-1261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1404 .loc 1 1261 0
- 1405 0058 0220 movs r0, #2
- 1406 .LVL124:
-1288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1407 .loc 1 1288 0
- 1408 005a 7047 bx lr
- 1409 .cfi_endproc
- 1410 .LFE75:
- 1412 .section .text.HAL_UART_Transmit_DMA,"ax",%progbits
- 1413 .align 1
- 1414 .global HAL_UART_Transmit_DMA
- 1415 .syntax unified
- 1416 .thumb
- 1417 .thumb_func
- 1418 .fpu softvfp
- 1420 HAL_UART_Transmit_DMA:
- 1421 .LFB76:
-1302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t *tmp;
- 1422 .loc 1 1302 0
- 1423 .cfi_startproc
- 1424 @ args = 0, pretend = 0, frame = 0
- 1425 @ frame_needed = 0, uses_anonymous_args = 0
- 1426 .LVL125:
- 1427 0000 38B5 push {r3, r4, r5, lr}
-ARM GAS /tmp/ccFcN4UJ.s page 84
-
-
- 1428 .LCFI20:
- 1429 .cfi_def_cfa_offset 16
- 1430 .cfi_offset 3, -16
- 1431 .cfi_offset 4, -12
- 1432 .cfi_offset 5, -8
- 1433 .cfi_offset 14, -4
-1306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1434 .loc 1 1306 0
- 1435 0002 90F83940 ldrb r4, [r0, #57] @ zero_extendqisi2
- 1436 0006 E4B2 uxtb r4, r4
- 1437 0008 202C cmp r4, #32
- 1438 000a 01D0 beq .L137
-1353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1439 .loc 1 1353 0
- 1440 000c 0220 movs r0, #2
- 1441 .LVL126:
- 1442 000e 38BD pop {r3, r4, r5, pc}
- 1443 .LVL127:
- 1444 .L137:
-1308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1445 .loc 1 1308 0
- 1446 0010 0029 cmp r1, #0
- 1447 0012 31D0 beq .L133
-1308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1448 .loc 1 1308 0 is_stmt 0 discriminator 1
- 1449 0014 002A cmp r2, #0
- 1450 0016 31D0 beq .L134
-1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1451 .loc 1 1314 0 is_stmt 1
- 1452 0018 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2
- 1453 001c 012B cmp r3, #1
- 1454 001e 01D1 bne .L138
- 1455 0020 0220 movs r0, #2
- 1456 .LVL128:
-1355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1457 .loc 1 1355 0
- 1458 0022 38BD pop {r3, r4, r5, pc}
- 1459 .LVL129:
- 1460 .L138:
- 1461 0024 1346 mov r3, r2
- 1462 0026 0446 mov r4, r0
-1314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1463 .loc 1 1314 0 discriminator 2
- 1464 0028 0122 movs r2, #1
- 1465 .LVL130:
- 1466 002a 80F83820 strb r2, [r0, #56]
-1316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferSize = Size;
- 1467 .loc 1 1316 0 discriminator 2
- 1468 002e 0162 str r1, [r0, #32]
-1317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = Size;
- 1469 .loc 1 1317 0 discriminator 2
- 1470 0030 8384 strh r3, [r0, #36] @ movhi
-1318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1471 .loc 1 1318 0 discriminator 2
- 1472 0032 C384 strh r3, [r0, #38] @ movhi
-1320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_BUSY_TX;
- 1473 .loc 1 1320 0 discriminator 2
-ARM GAS /tmp/ccFcN4UJ.s page 85
-
-
- 1474 0034 0025 movs r5, #0
- 1475 0036 C563 str r5, [r0, #60]
-1321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1476 .loc 1 1321 0 discriminator 2
- 1477 0038 2122 movs r2, #33
- 1478 003a 80F83920 strb r2, [r0, #57]
-1324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1479 .loc 1 1324 0 discriminator 2
- 1480 003e 026B ldr r2, [r0, #48]
- 1481 0040 0F48 ldr r0, .L139
- 1482 .LVL131:
- 1483 0042 9062 str r0, [r2, #40]
-1327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1484 .loc 1 1327 0 discriminator 2
- 1485 0044 226B ldr r2, [r4, #48]
- 1486 0046 0F48 ldr r0, .L139+4
- 1487 0048 D062 str r0, [r2, #44]
-1330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1488 .loc 1 1330 0 discriminator 2
- 1489 004a 226B ldr r2, [r4, #48]
- 1490 004c 0E48 ldr r0, .L139+8
- 1491 004e 1063 str r0, [r2, #48]
-1333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1492 .loc 1 1333 0 discriminator 2
- 1493 0050 226B ldr r2, [r4, #48]
- 1494 0052 5563 str r5, [r2, #52]
- 1495 .LVL132:
-1337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1496 .loc 1 1337 0 discriminator 2
- 1497 0054 2268 ldr r2, [r4]
- 1498 0056 0432 adds r2, r2, #4
- 1499 0058 206B ldr r0, [r4, #48]
- 1500 005a FFF7FEFF bl HAL_DMA_Start_IT
- 1501 .LVL133:
-1340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1502 .loc 1 1340 0 discriminator 2
- 1503 005e 2368 ldr r3, [r4]
- 1504 0060 6FF04002 mvn r2, #64
- 1505 0064 1A60 str r2, [r3]
-1343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1506 .loc 1 1343 0 discriminator 2
- 1507 0066 84F83850 strb r5, [r4, #56]
-1347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1508 .loc 1 1347 0 discriminator 2
- 1509 006a 2268 ldr r2, [r4]
- 1510 006c 5369 ldr r3, [r2, #20]
- 1511 006e 43F08003 orr r3, r3, #128
- 1512 0072 5361 str r3, [r2, #20]
-1349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1513 .loc 1 1349 0 discriminator 2
- 1514 0074 2846 mov r0, r5
- 1515 0076 38BD pop {r3, r4, r5, pc}
- 1516 .LVL134:
- 1517 .L133:
-1310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1518 .loc 1 1310 0
- 1519 0078 0120 movs r0, #1
-ARM GAS /tmp/ccFcN4UJ.s page 86
-
-
- 1520 .LVL135:
- 1521 007a 38BD pop {r3, r4, r5, pc}
- 1522 .LVL136:
- 1523 .L134:
- 1524 007c 0120 movs r0, #1
- 1525 .LVL137:
- 1526 007e 38BD pop {r3, r4, r5, pc}
- 1527 .L140:
- 1528 .align 2
- 1529 .L139:
- 1530 0080 00000000 .word UART_DMATransmitCplt
- 1531 0084 00000000 .word UART_DMATxHalfCplt
- 1532 0088 00000000 .word UART_DMAError
- 1533 .cfi_endproc
- 1534 .LFE76:
- 1536 .section .text.HAL_UART_Receive_DMA,"ax",%progbits
- 1537 .align 1
- 1538 .global HAL_UART_Receive_DMA
- 1539 .syntax unified
- 1540 .thumb
- 1541 .thumb_func
- 1542 .fpu softvfp
- 1544 HAL_UART_Receive_DMA:
- 1545 .LFB77:
-1370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t *tmp;
- 1546 .loc 1 1370 0
- 1547 .cfi_startproc
- 1548 @ args = 0, pretend = 0, frame = 8
- 1549 @ frame_needed = 0, uses_anonymous_args = 0
- 1550 .LVL138:
- 1551 0000 30B5 push {r4, r5, lr}
- 1552 .LCFI21:
- 1553 .cfi_def_cfa_offset 12
- 1554 .cfi_offset 4, -12
- 1555 .cfi_offset 5, -8
- 1556 .cfi_offset 14, -4
- 1557 0002 83B0 sub sp, sp, #12
- 1558 .LCFI22:
- 1559 .cfi_def_cfa_offset 24
-1374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1560 .loc 1 1374 0
- 1561 0004 90F83A40 ldrb r4, [r0, #58] @ zero_extendqisi2
- 1562 0008 E4B2 uxtb r4, r4
- 1563 000a 202C cmp r4, #32
- 1564 000c 02D0 beq .L148
-1426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1565 .loc 1 1426 0
- 1566 000e 0220 movs r0, #2
- 1567 .LVL139:
- 1568 .L142:
-1428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1569 .loc 1 1428 0
- 1570 0010 03B0 add sp, sp, #12
- 1571 .LCFI23:
- 1572 .cfi_remember_state
- 1573 .cfi_def_cfa_offset 12
- 1574 @ sp needed
-ARM GAS /tmp/ccFcN4UJ.s page 87
-
-
- 1575 0012 30BD pop {r4, r5, pc}
- 1576 .LVL140:
- 1577 .L148:
- 1578 .LCFI24:
- 1579 .cfi_restore_state
-1376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1580 .loc 1 1376 0
- 1581 0014 0029 cmp r1, #0
- 1582 0016 3DD0 beq .L144
-1376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1583 .loc 1 1376 0 is_stmt 0 discriminator 1
- 1584 0018 002A cmp r2, #0
- 1585 001a 3DD0 beq .L145
-1382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1586 .loc 1 1382 0 is_stmt 1
- 1587 001c 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2
- 1588 0020 012B cmp r3, #1
- 1589 0022 01D1 bne .L149
- 1590 0024 0220 movs r0, #2
- 1591 .LVL141:
- 1592 0026 F3E7 b .L142
- 1593 .LVL142:
- 1594 .L149:
- 1595 0028 1346 mov r3, r2
- 1596 002a 0A46 mov r2, r1
- 1597 .LVL143:
- 1598 002c 0446 mov r4, r0
-1382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1599 .loc 1 1382 0 is_stmt 0 discriminator 2
- 1600 002e 0121 movs r1, #1
- 1601 .LVL144:
- 1602 0030 80F83810 strb r1, [r0, #56]
-1384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferSize = Size;
- 1603 .loc 1 1384 0 is_stmt 1 discriminator 2
- 1604 0034 8262 str r2, [r0, #40]
-1385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1605 .loc 1 1385 0 discriminator 2
- 1606 0036 8385 strh r3, [r0, #44] @ movhi
-1387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_BUSY_RX;
- 1607 .loc 1 1387 0 discriminator 2
- 1608 0038 0025 movs r5, #0
- 1609 003a C563 str r5, [r0, #60]
-1388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1610 .loc 1 1388 0 discriminator 2
- 1611 003c 2221 movs r1, #34
- 1612 003e 80F83A10 strb r1, [r0, #58]
-1391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1613 .loc 1 1391 0 discriminator 2
- 1614 0042 416B ldr r1, [r0, #52]
- 1615 0044 1548 ldr r0, .L150
- 1616 .LVL145:
- 1617 0046 8862 str r0, [r1, #40]
-1394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1618 .loc 1 1394 0 discriminator 2
- 1619 0048 616B ldr r1, [r4, #52]
- 1620 004a 1548 ldr r0, .L150+4
- 1621 004c C862 str r0, [r1, #44]
-ARM GAS /tmp/ccFcN4UJ.s page 88
-
-
-1397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1622 .loc 1 1397 0 discriminator 2
- 1623 004e 616B ldr r1, [r4, #52]
- 1624 0050 1448 ldr r0, .L150+8
- 1625 0052 0863 str r0, [r1, #48]
-1400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1626 .loc 1 1400 0 discriminator 2
- 1627 0054 616B ldr r1, [r4, #52]
- 1628 0056 4D63 str r5, [r1, #52]
- 1629 .LVL146:
-1404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1630 .loc 1 1404 0 discriminator 2
- 1631 0058 2168 ldr r1, [r4]
- 1632 005a 0431 adds r1, r1, #4
- 1633 005c 606B ldr r0, [r4, #52]
- 1634 005e FFF7FEFF bl HAL_DMA_Start_IT
- 1635 .LVL147:
- 1636 .LBB2:
-1407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1637 .loc 1 1407 0 discriminator 2
- 1638 0062 0195 str r5, [sp, #4]
- 1639 0064 2368 ldr r3, [r4]
- 1640 0066 1A68 ldr r2, [r3]
- 1641 0068 0192 str r2, [sp, #4]
- 1642 006a 5A68 ldr r2, [r3, #4]
- 1643 006c 0192 str r2, [sp, #4]
- 1644 006e 019A ldr r2, [sp, #4]
- 1645 .LBE2:
-1410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1646 .loc 1 1410 0 discriminator 2
- 1647 0070 84F83850 strb r5, [r4, #56]
-1413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1648 .loc 1 1413 0 discriminator 2
- 1649 0074 DA68 ldr r2, [r3, #12]
- 1650 0076 42F48072 orr r2, r2, #256
- 1651 007a DA60 str r2, [r3, #12]
-1416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1652 .loc 1 1416 0 discriminator 2
- 1653 007c 2268 ldr r2, [r4]
- 1654 007e 5369 ldr r3, [r2, #20]
- 1655 0080 43F00103 orr r3, r3, #1
- 1656 0084 5361 str r3, [r2, #20]
-1420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1657 .loc 1 1420 0 discriminator 2
- 1658 0086 2268 ldr r2, [r4]
- 1659 0088 5369 ldr r3, [r2, #20]
- 1660 008a 43F04003 orr r3, r3, #64
- 1661 008e 5361 str r3, [r2, #20]
-1422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1662 .loc 1 1422 0 discriminator 2
- 1663 0090 2846 mov r0, r5
- 1664 0092 BDE7 b .L142
- 1665 .LVL148:
- 1666 .L144:
-1378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1667 .loc 1 1378 0
- 1668 0094 0120 movs r0, #1
-ARM GAS /tmp/ccFcN4UJ.s page 89
-
-
- 1669 .LVL149:
- 1670 0096 BBE7 b .L142
- 1671 .LVL150:
- 1672 .L145:
- 1673 0098 0120 movs r0, #1
- 1674 .LVL151:
- 1675 009a B9E7 b .L142
- 1676 .L151:
- 1677 .align 2
- 1678 .L150:
- 1679 009c 00000000 .word UART_DMAReceiveCplt
- 1680 00a0 00000000 .word UART_DMARxHalfCplt
- 1681 00a4 00000000 .word UART_DMAError
- 1682 .cfi_endproc
- 1683 .LFE77:
- 1685 .section .text.HAL_UART_DMAPause,"ax",%progbits
- 1686 .align 1
- 1687 .global HAL_UART_DMAPause
- 1688 .syntax unified
- 1689 .thumb
- 1690 .thumb_func
- 1691 .fpu softvfp
- 1693 HAL_UART_DMAPause:
- 1694 .LFB78:
-1437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t dmarequest = 0x00U;
- 1695 .loc 1 1437 0
- 1696 .cfi_startproc
- 1697 @ args = 0, pretend = 0, frame = 0
- 1698 @ frame_needed = 0, uses_anonymous_args = 0
- 1699 @ link register save eliminated.
- 1700 .LVL152:
-1441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1701 .loc 1 1441 0
- 1702 0000 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2
- 1703 0004 012B cmp r3, #1
- 1704 0006 31D0 beq .L156
-1441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1705 .loc 1 1441 0 is_stmt 0 discriminator 2
- 1706 0008 0123 movs r3, #1
- 1707 000a 80F83830 strb r3, [r0, #56]
-1443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->gState == HAL_UART_STATE_BUSY_TX) && dmarequest)
- 1708 .loc 1 1443 0 is_stmt 1 discriminator 2
- 1709 000e 0168 ldr r1, [r0]
- 1710 0010 4A69 ldr r2, [r1, #20]
- 1711 0012 02F08002 and r2, r2, #128
- 1712 .LVL153:
-1444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1713 .loc 1 1444 0 discriminator 2
- 1714 0016 90F83930 ldrb r3, [r0, #57] @ zero_extendqisi2
- 1715 001a DBB2 uxtb r3, r3
- 1716 001c 212B cmp r3, #33
- 1717 001e 0DD0 beq .L157
- 1718 .L154:
-1450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->RxState == HAL_UART_STATE_BUSY_RX) && dmarequest)
- 1719 .loc 1 1450 0
- 1720 0020 0168 ldr r1, [r0]
- 1721 0022 4A69 ldr r2, [r1, #20]
-ARM GAS /tmp/ccFcN4UJ.s page 90
-
-
- 1722 .LVL154:
- 1723 0024 02F04002 and r2, r2, #64
- 1724 .LVL155:
-1451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1725 .loc 1 1451 0
- 1726 0028 90F83A30 ldrb r3, [r0, #58] @ zero_extendqisi2
- 1727 002c DBB2 uxtb r3, r3
- 1728 002e 222B cmp r3, #34
- 1729 0030 0BD0 beq .L158
- 1730 .LVL156:
- 1731 .L155:
-1462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1732 .loc 1 1462 0
- 1733 0032 0023 movs r3, #0
- 1734 0034 80F83830 strb r3, [r0, #56]
-1464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1735 .loc 1 1464 0
- 1736 0038 1846 mov r0, r3
- 1737 .LVL157:
- 1738 003a 7047 bx lr
- 1739 .LVL158:
- 1740 .L157:
-1444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1741 .loc 1 1444 0 discriminator 1
- 1742 003c 002A cmp r2, #0
- 1743 003e EFD0 beq .L154
-1447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1744 .loc 1 1447 0
- 1745 0040 4B69 ldr r3, [r1, #20]
- 1746 0042 23F08003 bic r3, r3, #128
- 1747 0046 4B61 str r3, [r1, #20]
- 1748 0048 EAE7 b .L154
- 1749 .L158:
-1451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1750 .loc 1 1451 0 discriminator 1
- 1751 004a 002A cmp r2, #0
- 1752 004c F1D0 beq .L155
-1454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE);
- 1753 .loc 1 1454 0
- 1754 004e CB68 ldr r3, [r1, #12]
- 1755 0050 23F48073 bic r3, r3, #256
- 1756 0054 CB60 str r3, [r1, #12]
-1455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1757 .loc 1 1455 0
- 1758 0056 0268 ldr r2, [r0]
- 1759 .LVL159:
- 1760 0058 5369 ldr r3, [r2, #20]
- 1761 005a 23F00103 bic r3, r3, #1
- 1762 005e 5361 str r3, [r2, #20]
-1458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1763 .loc 1 1458 0
- 1764 0060 0268 ldr r2, [r0]
- 1765 0062 5369 ldr r3, [r2, #20]
- 1766 0064 23F04003 bic r3, r3, #64
- 1767 0068 5361 str r3, [r2, #20]
- 1768 006a E2E7 b .L155
- 1769 .LVL160:
-ARM GAS /tmp/ccFcN4UJ.s page 91
-
-
- 1770 .L156:
-1441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1771 .loc 1 1441 0
- 1772 006c 0220 movs r0, #2
- 1773 .LVL161:
-1465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1774 .loc 1 1465 0
- 1775 006e 7047 bx lr
- 1776 .cfi_endproc
- 1777 .LFE78:
- 1779 .section .text.HAL_UART_DMAResume,"ax",%progbits
- 1780 .align 1
- 1781 .global HAL_UART_DMAResume
- 1782 .syntax unified
- 1783 .thumb
- 1784 .thumb_func
- 1785 .fpu softvfp
- 1787 HAL_UART_DMAResume:
- 1788 .LFB79:
-1474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */
- 1789 .loc 1 1474 0
- 1790 .cfi_startproc
- 1791 @ args = 0, pretend = 0, frame = 8
- 1792 @ frame_needed = 0, uses_anonymous_args = 0
- 1793 @ link register save eliminated.
- 1794 .LVL162:
-1476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1795 .loc 1 1476 0
- 1796 0000 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2
- 1797 0004 012B cmp r3, #1
- 1798 0006 34D0 beq .L163
-1476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1799 .loc 1 1476 0 is_stmt 0 discriminator 2
- 1800 0008 0123 movs r3, #1
- 1801 000a 80F83830 strb r3, [r0, #56]
-1478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1802 .loc 1 1478 0 is_stmt 1 discriminator 2
- 1803 000e 90F83930 ldrb r3, [r0, #57] @ zero_extendqisi2
- 1804 0012 DBB2 uxtb r3, r3
- 1805 0014 212B cmp r3, #33
- 1806 0016 09D0 beq .L169
- 1807 .L161:
-1484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1808 .loc 1 1484 0
- 1809 0018 90F83A30 ldrb r3, [r0, #58] @ zero_extendqisi2
- 1810 001c DBB2 uxtb r3, r3
- 1811 001e 222B cmp r3, #34
- 1812 0020 0AD0 beq .L170
-1498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1813 .loc 1 1498 0
- 1814 0022 0023 movs r3, #0
- 1815 0024 80F83830 strb r3, [r0, #56]
-1500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1816 .loc 1 1500 0
- 1817 0028 1846 mov r0, r3
- 1818 .LVL163:
-1501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
-ARM GAS /tmp/ccFcN4UJ.s page 92
-
-
- 1819 .loc 1 1501 0
- 1820 002a 7047 bx lr
- 1821 .LVL164:
- 1822 .L169:
-1481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1823 .loc 1 1481 0
- 1824 002c 0268 ldr r2, [r0]
- 1825 002e 5369 ldr r3, [r2, #20]
- 1826 0030 43F08003 orr r3, r3, #128
- 1827 0034 5361 str r3, [r2, #20]
- 1828 0036 EFE7 b .L161
- 1829 .L170:
-1474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Process Locked */
- 1830 .loc 1 1474 0
- 1831 0038 82B0 sub sp, sp, #8
- 1832 .LCFI25:
- 1833 .cfi_def_cfa_offset 8
- 1834 .LBB3:
-1487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1835 .loc 1 1487 0
- 1836 003a 0023 movs r3, #0
- 1837 003c 0193 str r3, [sp, #4]
- 1838 003e 0368 ldr r3, [r0]
- 1839 0040 1A68 ldr r2, [r3]
- 1840 0042 0192 str r2, [sp, #4]
- 1841 0044 5A68 ldr r2, [r3, #4]
- 1842 0046 0192 str r2, [sp, #4]
- 1843 0048 019A ldr r2, [sp, #4]
- 1844 .LBE3:
-1490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** SET_BIT(huart->Instance->CR3, USART_CR3_EIE);
- 1845 .loc 1 1490 0
- 1846 004a DA68 ldr r2, [r3, #12]
- 1847 004c 42F48072 orr r2, r2, #256
- 1848 0050 DA60 str r2, [r3, #12]
-1491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1849 .loc 1 1491 0
- 1850 0052 0268 ldr r2, [r0]
- 1851 0054 5369 ldr r3, [r2, #20]
- 1852 0056 43F00103 orr r3, r3, #1
- 1853 005a 5361 str r3, [r2, #20]
-1494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1854 .loc 1 1494 0
- 1855 005c 0268 ldr r2, [r0]
- 1856 005e 5369 ldr r3, [r2, #20]
- 1857 0060 43F04003 orr r3, r3, #64
- 1858 0064 5361 str r3, [r2, #20]
-1498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1859 .loc 1 1498 0
- 1860 0066 0023 movs r3, #0
- 1861 0068 80F83830 strb r3, [r0, #56]
-1500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1862 .loc 1 1500 0
- 1863 006c 1846 mov r0, r3
- 1864 .LVL165:
-1501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1865 .loc 1 1501 0
- 1866 006e 02B0 add sp, sp, #8
-ARM GAS /tmp/ccFcN4UJ.s page 93
-
-
- 1867 .LCFI26:
- 1868 .cfi_def_cfa_offset 0
- 1869 @ sp needed
- 1870 0070 7047 bx lr
- 1871 .LVL166:
- 1872 .L163:
-1476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1873 .loc 1 1476 0
- 1874 0072 0220 movs r0, #2
- 1875 .LVL167:
- 1876 0074 7047 bx lr
- 1877 .cfi_endproc
- 1878 .LFE79:
- 1880 .section .text.HAL_UART_DMAStop,"ax",%progbits
- 1881 .align 1
- 1882 .global HAL_UART_DMAStop
- 1883 .syntax unified
- 1884 .thumb
- 1885 .thumb_func
- 1886 .fpu softvfp
- 1888 HAL_UART_DMAStop:
- 1889 .LFB80:
-1510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t dmarequest = 0x00U;
- 1890 .loc 1 1510 0
- 1891 .cfi_startproc
- 1892 @ args = 0, pretend = 0, frame = 0
- 1893 @ frame_needed = 0, uses_anonymous_args = 0
- 1894 .LVL168:
- 1895 0000 10B5 push {r4, lr}
- 1896 .LCFI27:
- 1897 .cfi_def_cfa_offset 8
- 1898 .cfi_offset 4, -8
- 1899 .cfi_offset 14, -4
- 1900 0002 0446 mov r4, r0
- 1901 .LVL169:
-1519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->gState == HAL_UART_STATE_BUSY_TX) && dmarequest)
- 1902 .loc 1 1519 0
- 1903 0004 0168 ldr r1, [r0]
- 1904 0006 4A69 ldr r2, [r1, #20]
- 1905 .LVL170:
-1520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1906 .loc 1 1520 0
- 1907 0008 90F83930 ldrb r3, [r0, #57] @ zero_extendqisi2
- 1908 000c DBB2 uxtb r3, r3
- 1909 000e 212B cmp r3, #33
- 1910 0010 0AD0 beq .L177
- 1911 .LVL171:
- 1912 .L172:
-1533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->RxState == HAL_UART_STATE_BUSY_RX) && dmarequest)
- 1913 .loc 1 1533 0
- 1914 0012 2168 ldr r1, [r4]
- 1915 0014 4A69 ldr r2, [r1, #20]
- 1916 0016 02F04002 and r2, r2, #64
- 1917 .LVL172:
-1534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1918 .loc 1 1534 0
- 1919 001a 94F83A30 ldrb r3, [r4, #58] @ zero_extendqisi2
-ARM GAS /tmp/ccFcN4UJ.s page 94
-
-
- 1920 001e DBB2 uxtb r3, r3
- 1921 0020 222B cmp r3, #34
- 1922 0022 11D0 beq .L178
- 1923 .LVL173:
- 1924 .L174:
-1547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1925 .loc 1 1547 0
- 1926 0024 0020 movs r0, #0
- 1927 0026 10BD pop {r4, pc}
- 1928 .LVL174:
- 1929 .L177:
- 1930 0028 02F08002 and r2, r2, #128
- 1931 .LVL175:
-1520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1932 .loc 1 1520 0 discriminator 1
- 1933 002c 002A cmp r2, #0
- 1934 002e F0D0 beq .L172
-1522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1935 .loc 1 1522 0
- 1936 0030 4B69 ldr r3, [r1, #20]
- 1937 0032 23F08003 bic r3, r3, #128
- 1938 0036 4B61 str r3, [r1, #20]
-1525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1939 .loc 1 1525 0
- 1940 0038 006B ldr r0, [r0, #48]
- 1941 .LVL176:
- 1942 003a 08B1 cbz r0, .L173
-1527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1943 .loc 1 1527 0
- 1944 003c FFF7FEFF bl HAL_DMA_Abort
- 1945 .LVL177:
- 1946 .L173:
-1529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1947 .loc 1 1529 0
- 1948 0040 2046 mov r0, r4
- 1949 0042 FFF7FEFF bl UART_EndTxTransfer
- 1950 .LVL178:
- 1951 0046 E4E7 b .L172
- 1952 .LVL179:
- 1953 .L178:
-1534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1954 .loc 1 1534 0 discriminator 1
- 1955 0048 002A cmp r2, #0
- 1956 004a EBD0 beq .L174
-1536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 1957 .loc 1 1536 0
- 1958 004c 4B69 ldr r3, [r1, #20]
- 1959 004e 23F04003 bic r3, r3, #64
- 1960 0052 4B61 str r3, [r1, #20]
-1539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 1961 .loc 1 1539 0
- 1962 0054 606B ldr r0, [r4, #52]
- 1963 0056 08B1 cbz r0, .L175
-1541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1964 .loc 1 1541 0
- 1965 0058 FFF7FEFF bl HAL_DMA_Abort
- 1966 .LVL180:
-ARM GAS /tmp/ccFcN4UJ.s page 95
-
-
- 1967 .L175:
-1543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 1968 .loc 1 1543 0
- 1969 005c 2046 mov r0, r4
- 1970 005e FFF7FEFF bl UART_EndRxTransfer
- 1971 .LVL181:
- 1972 0062 DFE7 b .L174
- 1973 .cfi_endproc
- 1974 .LFE80:
- 1976 .section .text.HAL_UART_Abort,"ax",%progbits
- 1977 .align 1
- 1978 .global HAL_UART_Abort
- 1979 .syntax unified
- 1980 .thumb
- 1981 .thumb_func
- 1982 .fpu softvfp
- 1984 HAL_UART_Abort:
- 1985 .LFB81:
-1562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable TXEIE, TCIE, RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */
- 1986 .loc 1 1562 0
- 1987 .cfi_startproc
- 1988 @ args = 0, pretend = 0, frame = 0
- 1989 @ frame_needed = 0, uses_anonymous_args = 0
- 1990 .LVL182:
- 1991 0000 10B5 push {r4, lr}
- 1992 .LCFI28:
- 1993 .cfi_def_cfa_offset 8
- 1994 .cfi_offset 4, -8
- 1995 .cfi_offset 14, -4
- 1996 0002 0446 mov r4, r0
-1564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE);
- 1997 .loc 1 1564 0
- 1998 0004 0268 ldr r2, [r0]
- 1999 0006 D368 ldr r3, [r2, #12]
- 2000 0008 23F4F073 bic r3, r3, #480
- 2001 000c D360 str r3, [r2, #12]
-1565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2002 .loc 1 1565 0
- 2003 000e 0268 ldr r2, [r0]
- 2004 0010 5369 ldr r3, [r2, #20]
- 2005 0012 23F00103 bic r3, r3, #1
- 2006 0016 5361 str r3, [r2, #20]
-1568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2007 .loc 1 1568 0
- 2008 0018 0368 ldr r3, [r0]
- 2009 001a 5A69 ldr r2, [r3, #20]
- 2010 001c 12F0800F tst r2, #128
- 2011 0020 0BD0 beq .L180
-1570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2012 .loc 1 1570 0
- 2013 0022 5A69 ldr r2, [r3, #20]
- 2014 0024 22F08002 bic r2, r2, #128
- 2015 0028 5A61 str r2, [r3, #20]
-1573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2016 .loc 1 1573 0
- 2017 002a 036B ldr r3, [r0, #48]
- 2018 002c 2BB1 cbz r3, .L180
-ARM GAS /tmp/ccFcN4UJ.s page 96
-
-
-1577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2019 .loc 1 1577 0
- 2020 002e 0022 movs r2, #0
- 2021 0030 5A63 str r2, [r3, #52]
-1579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2022 .loc 1 1579 0
- 2023 0032 006B ldr r0, [r0, #48]
- 2024 .LVL183:
- 2025 0034 FFF7FEFF bl HAL_DMA_Abort
- 2026 .LVL184:
- 2027 0038 D0B9 cbnz r0, .L184
- 2028 .L180:
-1593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2029 .loc 1 1593 0
- 2030 003a 2368 ldr r3, [r4]
- 2031 003c 5A69 ldr r2, [r3, #20]
- 2032 003e 12F0400F tst r2, #64
- 2033 0042 0BD0 beq .L182
-1595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2034 .loc 1 1595 0
- 2035 0044 5A69 ldr r2, [r3, #20]
- 2036 0046 22F04002 bic r2, r2, #64
- 2037 004a 5A61 str r2, [r3, #20]
-1598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2038 .loc 1 1598 0
- 2039 004c 636B ldr r3, [r4, #52]
- 2040 004e 2BB1 cbz r3, .L182
-1602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2041 .loc 1 1602 0
- 2042 0050 0022 movs r2, #0
- 2043 0052 5A63 str r2, [r3, #52]
-1604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2044 .loc 1 1604 0
- 2045 0054 606B ldr r0, [r4, #52]
- 2046 0056 FFF7FEFF bl HAL_DMA_Abort
- 2047 .LVL185:
- 2048 005a 90B9 cbnz r0, .L185
- 2049 .L182:
-1618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U;
- 2050 .loc 1 1618 0
- 2051 005c 0020 movs r0, #0
- 2052 005e E084 strh r0, [r4, #38] @ movhi
-1619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2053 .loc 1 1619 0
- 2054 0060 E085 strh r0, [r4, #46] @ movhi
-1622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2055 .loc 1 1622 0
- 2056 0062 E063 str r0, [r4, #60]
-1625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->gState = HAL_UART_STATE_READY;
- 2057 .loc 1 1625 0
- 2058 0064 2023 movs r3, #32
- 2059 0066 84F83A30 strb r3, [r4, #58]
-1626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2060 .loc 1 1626 0
- 2061 006a 84F83930 strb r3, [r4, #57]
-1629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2062 .loc 1 1629 0
-ARM GAS /tmp/ccFcN4UJ.s page 97
-
-
- 2063 006e 10BD pop {r4, pc}
- 2064 .LVL186:
- 2065 .L184:
-1581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2066 .loc 1 1581 0
- 2067 0070 206B ldr r0, [r4, #48]
- 2068 0072 FFF7FEFF bl HAL_DMA_GetError
- 2069 .LVL187:
- 2070 0076 2028 cmp r0, #32
- 2071 0078 DFD1 bne .L180
-1584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2072 .loc 1 1584 0
- 2073 007a 1023 movs r3, #16
- 2074 007c E363 str r3, [r4, #60]
-1586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 2075 .loc 1 1586 0
- 2076 007e 0320 movs r0, #3
- 2077 0080 10BD pop {r4, pc}
- 2078 .LVL188:
- 2079 .L185:
-1606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2080 .loc 1 1606 0
- 2081 0082 606B ldr r0, [r4, #52]
- 2082 0084 FFF7FEFF bl HAL_DMA_GetError
- 2083 .LVL189:
- 2084 0088 2028 cmp r0, #32
- 2085 008a E7D1 bne .L182
-1609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2086 .loc 1 1609 0
- 2087 008c 1023 movs r3, #16
- 2088 008e E363 str r3, [r4, #60]
-1611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 2089 .loc 1 1611 0
- 2090 0090 0320 movs r0, #3
- 2091 0092 10BD pop {r4, pc}
- 2092 .cfi_endproc
- 2093 .LFE81:
- 2095 .section .text.HAL_UART_AbortTransmit,"ax",%progbits
- 2096 .align 1
- 2097 .global HAL_UART_AbortTransmit
- 2098 .syntax unified
- 2099 .thumb
- 2100 .thumb_func
- 2101 .fpu softvfp
- 2103 HAL_UART_AbortTransmit:
- 2104 .LFB82:
-1644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable TXEIE and TCIE interrupts */
- 2105 .loc 1 1644 0
- 2106 .cfi_startproc
- 2107 @ args = 0, pretend = 0, frame = 0
- 2108 @ frame_needed = 0, uses_anonymous_args = 0
- 2109 .LVL190:
- 2110 0000 10B5 push {r4, lr}
- 2111 .LCFI29:
- 2112 .cfi_def_cfa_offset 8
- 2113 .cfi_offset 4, -8
- 2114 .cfi_offset 14, -4
-ARM GAS /tmp/ccFcN4UJ.s page 98
-
-
- 2115 0002 0446 mov r4, r0
-1646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2116 .loc 1 1646 0
- 2117 0004 0268 ldr r2, [r0]
- 2118 0006 D368 ldr r3, [r2, #12]
- 2119 0008 23F0C003 bic r3, r3, #192
- 2120 000c D360 str r3, [r2, #12]
-1649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2121 .loc 1 1649 0
- 2122 000e 0368 ldr r3, [r0]
- 2123 0010 5A69 ldr r2, [r3, #20]
- 2124 0012 12F0800F tst r2, #128
- 2125 0016 0BD0 beq .L187
-1651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2126 .loc 1 1651 0
- 2127 0018 5A69 ldr r2, [r3, #20]
- 2128 001a 22F08002 bic r2, r2, #128
- 2129 001e 5A61 str r2, [r3, #20]
-1654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2130 .loc 1 1654 0
- 2131 0020 036B ldr r3, [r0, #48]
- 2132 0022 2BB1 cbz r3, .L187
-1658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2133 .loc 1 1658 0
- 2134 0024 0022 movs r2, #0
- 2135 0026 5A63 str r2, [r3, #52]
-1660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2136 .loc 1 1660 0
- 2137 0028 006B ldr r0, [r0, #48]
- 2138 .LVL191:
- 2139 002a FFF7FEFF bl HAL_DMA_Abort
- 2140 .LVL192:
- 2141 002e 28B9 cbnz r0, .L190
- 2142 .L187:
-1674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2143 .loc 1 1674 0
- 2144 0030 0020 movs r0, #0
- 2145 0032 E084 strh r0, [r4, #38] @ movhi
-1677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2146 .loc 1 1677 0
- 2147 0034 2023 movs r3, #32
- 2148 0036 84F83930 strb r3, [r4, #57]
-1680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2149 .loc 1 1680 0
- 2150 003a 10BD pop {r4, pc}
- 2151 .LVL193:
- 2152 .L190:
-1662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2153 .loc 1 1662 0
- 2154 003c 206B ldr r0, [r4, #48]
- 2155 003e FFF7FEFF bl HAL_DMA_GetError
- 2156 .LVL194:
- 2157 0042 2028 cmp r0, #32
- 2158 0044 F4D1 bne .L187
-1665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2159 .loc 1 1665 0
- 2160 0046 1023 movs r3, #16
-ARM GAS /tmp/ccFcN4UJ.s page 99
-
-
- 2161 0048 E363 str r3, [r4, #60]
-1667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 2162 .loc 1 1667 0
- 2163 004a 0320 movs r0, #3
- 2164 004c 10BD pop {r4, pc}
- 2165 .cfi_endproc
- 2166 .LFE82:
- 2168 .section .text.HAL_UART_AbortReceive,"ax",%progbits
- 2169 .align 1
- 2170 .global HAL_UART_AbortReceive
- 2171 .syntax unified
- 2172 .thumb
- 2173 .thumb_func
- 2174 .fpu softvfp
- 2176 HAL_UART_AbortReceive:
- 2177 .LFB83:
-1695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */
- 2178 .loc 1 1695 0
- 2179 .cfi_startproc
- 2180 @ args = 0, pretend = 0, frame = 0
- 2181 @ frame_needed = 0, uses_anonymous_args = 0
- 2182 .LVL195:
- 2183 0000 10B5 push {r4, lr}
- 2184 .LCFI30:
- 2185 .cfi_def_cfa_offset 8
- 2186 .cfi_offset 4, -8
- 2187 .cfi_offset 14, -4
- 2188 0002 0446 mov r4, r0
-1697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE);
- 2189 .loc 1 1697 0
- 2190 0004 0268 ldr r2, [r0]
- 2191 0006 D368 ldr r3, [r2, #12]
- 2192 0008 23F49073 bic r3, r3, #288
- 2193 000c D360 str r3, [r2, #12]
-1698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2194 .loc 1 1698 0
- 2195 000e 0268 ldr r2, [r0]
- 2196 0010 5369 ldr r3, [r2, #20]
- 2197 0012 23F00103 bic r3, r3, #1
- 2198 0016 5361 str r3, [r2, #20]
-1701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2199 .loc 1 1701 0
- 2200 0018 0368 ldr r3, [r0]
- 2201 001a 5A69 ldr r2, [r3, #20]
- 2202 001c 12F0400F tst r2, #64
- 2203 0020 0BD0 beq .L192
-1703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2204 .loc 1 1703 0
- 2205 0022 5A69 ldr r2, [r3, #20]
- 2206 0024 22F04002 bic r2, r2, #64
- 2207 0028 5A61 str r2, [r3, #20]
-1706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2208 .loc 1 1706 0
- 2209 002a 436B ldr r3, [r0, #52]
- 2210 002c 2BB1 cbz r3, .L192
-1710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2211 .loc 1 1710 0
-ARM GAS /tmp/ccFcN4UJ.s page 100
-
-
- 2212 002e 0022 movs r2, #0
- 2213 0030 5A63 str r2, [r3, #52]
-1712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2214 .loc 1 1712 0
- 2215 0032 406B ldr r0, [r0, #52]
- 2216 .LVL196:
- 2217 0034 FFF7FEFF bl HAL_DMA_Abort
- 2218 .LVL197:
- 2219 0038 28B9 cbnz r0, .L195
- 2220 .L192:
-1726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2221 .loc 1 1726 0
- 2222 003a 0020 movs r0, #0
- 2223 003c E085 strh r0, [r4, #46] @ movhi
-1729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2224 .loc 1 1729 0
- 2225 003e 2023 movs r3, #32
- 2226 0040 84F83A30 strb r3, [r4, #58]
-1732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2227 .loc 1 1732 0
- 2228 0044 10BD pop {r4, pc}
- 2229 .LVL198:
- 2230 .L195:
-1714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2231 .loc 1 1714 0
- 2232 0046 606B ldr r0, [r4, #52]
- 2233 0048 FFF7FEFF bl HAL_DMA_GetError
- 2234 .LVL199:
- 2235 004c 2028 cmp r0, #32
- 2236 004e F4D1 bne .L192
-1717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2237 .loc 1 1717 0
- 2238 0050 1023 movs r3, #16
- 2239 0052 E363 str r3, [r4, #60]
-1719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 2240 .loc 1 1719 0
- 2241 0054 0320 movs r0, #3
- 2242 0056 10BD pop {r4, pc}
- 2243 .cfi_endproc
- 2244 .LFE83:
- 2246 .section .text.HAL_UART_TxCpltCallback,"ax",%progbits
- 2247 .align 1
- 2248 .weak HAL_UART_TxCpltCallback
- 2249 .syntax unified
- 2250 .thumb
- 2251 .thumb_func
- 2252 .fpu softvfp
- 2254 HAL_UART_TxCpltCallback:
- 2255 .LFB88:
-2170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */
- 2256 .loc 1 2170 0
- 2257 .cfi_startproc
- 2258 @ args = 0, pretend = 0, frame = 0
- 2259 @ frame_needed = 0, uses_anonymous_args = 0
- 2260 @ link register save eliminated.
- 2261 .LVL200:
- 2262 0000 7047 bx lr
-ARM GAS /tmp/ccFcN4UJ.s page 101
-
-
- 2263 .cfi_endproc
- 2264 .LFE88:
- 2266 .section .text.UART_DMATransmitCplt,"ax",%progbits
- 2267 .align 1
- 2268 .syntax unified
- 2269 .thumb
- 2270 .thumb_func
- 2271 .fpu softvfp
- 2273 UART_DMATransmitCplt:
- 2274 .LFB103:
-2545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 2275 .loc 1 2545 0
- 2276 .cfi_startproc
- 2277 @ args = 0, pretend = 0, frame = 0
- 2278 @ frame_needed = 0, uses_anonymous_args = 0
- 2279 .LVL201:
-2545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 2280 .loc 1 2545 0
- 2281 0000 08B5 push {r3, lr}
- 2282 .LCFI31:
- 2283 .cfi_def_cfa_offset 8
- 2284 .cfi_offset 3, -8
- 2285 .cfi_offset 14, -4
-2546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* DMA Normal mode*/
- 2286 .loc 1 2546 0
- 2287 0002 436A ldr r3, [r0, #36]
- 2288 .LVL202:
-2548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2289 .loc 1 2548 0
- 2290 0004 0268 ldr r2, [r0]
- 2291 0006 1268 ldr r2, [r2]
- 2292 0008 12F0200F tst r2, #32
- 2293 000c 0CD1 bne .L198
-2550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2294 .loc 1 2550 0
- 2295 000e 0022 movs r2, #0
- 2296 0010 DA84 strh r2, [r3, #38] @ movhi
-2554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2297 .loc 1 2554 0
- 2298 0012 1968 ldr r1, [r3]
- 2299 0014 4A69 ldr r2, [r1, #20]
- 2300 0016 22F08002 bic r2, r2, #128
- 2301 001a 4A61 str r2, [r1, #20]
-2557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2302 .loc 1 2557 0
- 2303 001c 1A68 ldr r2, [r3]
- 2304 001e D368 ldr r3, [r2, #12]
- 2305 .LVL203:
- 2306 0020 43F04003 orr r3, r3, #64
- 2307 0024 D360 str r3, [r2, #12]
- 2308 0026 08BD pop {r3, pc}
- 2309 .LVL204:
- 2310 .L198:
-2568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
- 2311 .loc 1 2568 0
- 2312 0028 1846 mov r0, r3
- 2313 .LVL205:
-ARM GAS /tmp/ccFcN4UJ.s page 102
-
-
- 2314 002a FFF7FEFF bl HAL_UART_TxCpltCallback
- 2315 .LVL206:
- 2316 002e 08BD pop {r3, pc}
- 2317 .cfi_endproc
- 2318 .LFE103:
- 2320 .section .text.UART_EndTransmit_IT,"ax",%progbits
- 2321 .align 1
- 2322 .syntax unified
- 2323 .thumb
- 2324 .thumb_func
- 2325 .fpu softvfp
- 2327 UART_EndTransmit_IT:
- 2328 .LFB117:
-2963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable the UART Transmit Complete Interrupt */
- 2329 .loc 1 2963 0
- 2330 .cfi_startproc
- 2331 @ args = 0, pretend = 0, frame = 0
- 2332 @ frame_needed = 0, uses_anonymous_args = 0
- 2333 .LVL207:
- 2334 0000 08B5 push {r3, lr}
- 2335 .LCFI32:
- 2336 .cfi_def_cfa_offset 8
- 2337 .cfi_offset 3, -8
- 2338 .cfi_offset 14, -4
-2965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2339 .loc 1 2965 0
- 2340 0002 0168 ldr r1, [r0]
- 2341 0004 CB68 ldr r3, [r1, #12]
- 2342 0006 23F04003 bic r3, r3, #64
- 2343 000a CB60 str r3, [r1, #12]
-2968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2344 .loc 1 2968 0
- 2345 000c 2023 movs r3, #32
- 2346 000e 80F83930 strb r3, [r0, #57]
-2975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
- 2347 .loc 1 2975 0
- 2348 0012 FFF7FEFF bl HAL_UART_TxCpltCallback
- 2349 .LVL208:
-2979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2350 .loc 1 2979 0
- 2351 0016 0020 movs r0, #0
- 2352 0018 08BD pop {r3, pc}
- 2353 .cfi_endproc
- 2354 .LFE117:
- 2356 .section .text.HAL_UART_TxHalfCpltCallback,"ax",%progbits
- 2357 .align 1
- 2358 .weak HAL_UART_TxHalfCpltCallback
- 2359 .syntax unified
- 2360 .thumb
- 2361 .thumb_func
- 2362 .fpu softvfp
- 2364 HAL_UART_TxHalfCpltCallback:
- 2365 .LFB89:
-2185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */
- 2366 .loc 1 2185 0
- 2367 .cfi_startproc
- 2368 @ args = 0, pretend = 0, frame = 0
-ARM GAS /tmp/ccFcN4UJ.s page 103
-
-
- 2369 @ frame_needed = 0, uses_anonymous_args = 0
- 2370 @ link register save eliminated.
- 2371 .LVL209:
- 2372 0000 7047 bx lr
- 2373 .cfi_endproc
- 2374 .LFE89:
- 2376 .section .text.UART_DMATxHalfCplt,"ax",%progbits
- 2377 .align 1
- 2378 .syntax unified
- 2379 .thumb
- 2380 .thumb_func
- 2381 .fpu softvfp
- 2383 UART_DMATxHalfCplt:
- 2384 .LFB104:
-2580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 2385 .loc 1 2580 0
- 2386 .cfi_startproc
- 2387 @ args = 0, pretend = 0, frame = 0
- 2388 @ frame_needed = 0, uses_anonymous_args = 0
- 2389 .LVL210:
-2580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 2390 .loc 1 2580 0
- 2391 0000 08B5 push {r3, lr}
- 2392 .LCFI33:
- 2393 .cfi_def_cfa_offset 8
- 2394 .cfi_offset 3, -8
- 2395 .cfi_offset 14, -4
- 2396 .LVL211:
-2588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
- 2397 .loc 1 2588 0
- 2398 0002 406A ldr r0, [r0, #36]
- 2399 .LVL212:
- 2400 0004 FFF7FEFF bl HAL_UART_TxHalfCpltCallback
- 2401 .LVL213:
- 2402 0008 08BD pop {r3, pc}
- 2403 .cfi_endproc
- 2404 .LFE104:
- 2406 .section .text.HAL_UART_RxCpltCallback,"ax",%progbits
- 2407 .align 1
- 2408 .weak HAL_UART_RxCpltCallback
- 2409 .syntax unified
- 2410 .thumb
- 2411 .thumb_func
- 2412 .fpu softvfp
- 2414 HAL_UART_RxCpltCallback:
- 2415 .LFB90:
-2200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */
- 2416 .loc 1 2200 0
- 2417 .cfi_startproc
- 2418 @ args = 0, pretend = 0, frame = 0
- 2419 @ frame_needed = 0, uses_anonymous_args = 0
- 2420 @ link register save eliminated.
- 2421 .LVL214:
- 2422 0000 7047 bx lr
- 2423 .cfi_endproc
- 2424 .LFE90:
- 2426 .section .text.UART_DMAReceiveCplt,"ax",%progbits
-ARM GAS /tmp/ccFcN4UJ.s page 104
-
-
- 2427 .align 1
- 2428 .syntax unified
- 2429 .thumb
- 2430 .thumb_func
- 2431 .fpu softvfp
- 2433 UART_DMAReceiveCplt:
- 2434 .LFB105:
-2599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 2435 .loc 1 2599 0
- 2436 .cfi_startproc
- 2437 @ args = 0, pretend = 0, frame = 0
- 2438 @ frame_needed = 0, uses_anonymous_args = 0
- 2439 .LVL215:
-2599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 2440 .loc 1 2599 0
- 2441 0000 08B5 push {r3, lr}
- 2442 .LCFI34:
- 2443 .cfi_def_cfa_offset 8
- 2444 .cfi_offset 3, -8
- 2445 .cfi_offset 14, -4
-2600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* DMA Normal mode*/
- 2446 .loc 1 2600 0
- 2447 0002 436A ldr r3, [r0, #36]
- 2448 .LVL216:
-2602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2449 .loc 1 2602 0
- 2450 0004 0268 ldr r2, [r0]
- 2451 0006 1268 ldr r2, [r2]
- 2452 0008 12F0200F tst r2, #32
- 2453 000c 13D1 bne .L208
-2604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2454 .loc 1 2604 0
- 2455 000e 0022 movs r2, #0
- 2456 0010 DA85 strh r2, [r3, #46] @ movhi
-2607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE);
- 2457 .loc 1 2607 0
- 2458 0012 1968 ldr r1, [r3]
- 2459 0014 CA68 ldr r2, [r1, #12]
- 2460 0016 22F48072 bic r2, r2, #256
- 2461 001a CA60 str r2, [r1, #12]
-2608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2462 .loc 1 2608 0
- 2463 001c 1968 ldr r1, [r3]
- 2464 001e 4A69 ldr r2, [r1, #20]
- 2465 0020 22F00102 bic r2, r2, #1
- 2466 0024 4A61 str r2, [r1, #20]
-2612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2467 .loc 1 2612 0
- 2468 0026 1968 ldr r1, [r3]
- 2469 0028 4A69 ldr r2, [r1, #20]
- 2470 002a 22F04002 bic r2, r2, #64
- 2471 002e 4A61 str r2, [r1, #20]
-2615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 2472 .loc 1 2615 0
- 2473 0030 2022 movs r2, #32
- 2474 0032 83F83A20 strb r2, [r3, #58]
- 2475 .L208:
-ARM GAS /tmp/ccFcN4UJ.s page 105
-
-
-2622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
- 2476 .loc 1 2622 0
- 2477 0036 1846 mov r0, r3
- 2478 .LVL217:
- 2479 0038 FFF7FEFF bl HAL_UART_RxCpltCallback
- 2480 .LVL218:
- 2481 003c 08BD pop {r3, pc}
- 2482 .cfi_endproc
- 2483 .LFE105:
- 2485 .section .text.UART_Receive_IT,"ax",%progbits
- 2486 .align 1
- 2487 .syntax unified
- 2488 .thumb
- 2489 .thumb_func
- 2490 .fpu softvfp
- 2492 UART_Receive_IT:
- 2493 .LFB118:
-2988:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint8_t *pdata8bits;
- 2494 .loc 1 2988 0
- 2495 .cfi_startproc
- 2496 @ args = 0, pretend = 0, frame = 0
- 2497 @ frame_needed = 0, uses_anonymous_args = 0
- 2498 .LVL219:
- 2499 0000 08B5 push {r3, lr}
- 2500 .LCFI35:
- 2501 .cfi_def_cfa_offset 8
- 2502 .cfi_offset 3, -8
- 2503 .cfi_offset 14, -4
-2993:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2504 .loc 1 2993 0
- 2505 0002 90F83A30 ldrb r3, [r0, #58] @ zero_extendqisi2
- 2506 0006 DBB2 uxtb r3, r3
- 2507 0008 222B cmp r3, #34
- 2508 000a 01D0 beq .L220
-3046:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 2509 .loc 1 3046 0
- 2510 000c 0220 movs r0, #2
- 2511 .LVL220:
- 2512 000e 08BD pop {r3, pc}
- 2513 .LVL221:
- 2514 .L220:
-2995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2515 .loc 1 2995 0
- 2516 0010 8368 ldr r3, [r0, #8]
- 2517 0012 B3F5805F cmp r3, #4096
- 2518 0016 0AD0 beq .L221
- 2519 .L212:
-3004:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** pdata16bits = NULL;
- 2520 .loc 1 3004 0
- 2521 0018 826A ldr r2, [r0, #40]
- 2522 .LVL222:
-3007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2523 .loc 1 3007 0
- 2524 001a B3F5805F cmp r3, #4096
- 2525 001e 02D0 beq .L214
-3007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2526 .loc 1 3007 0 is_stmt 0 discriminator 1
-ARM GAS /tmp/ccFcN4UJ.s page 106
-
-
- 2527 0020 93B9 cbnz r3, .L215
-3007:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2528 .loc 1 3007 0 discriminator 2
- 2529 0022 0369 ldr r3, [r0, #16]
- 2530 0024 83B9 cbnz r3, .L215
- 2531 .L214:
-3009:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 2532 .loc 1 3009 0 is_stmt 1
- 2533 0026 0368 ldr r3, [r0]
- 2534 0028 5B68 ldr r3, [r3, #4]
- 2535 002a 1370 strb r3, [r2]
- 2536 002c 11E0 b .L216
- 2537 .LVL223:
- 2538 .L221:
-2995:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2539 .loc 1 2995 0 discriminator 1
- 2540 002e 0269 ldr r2, [r0, #16]
- 2541 0030 002A cmp r2, #0
- 2542 0032 F1D1 bne .L212
- 2543 .LVL224:
-2998:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** *pdata16bits = (uint16_t)(huart->Instance->DR & (uint16_t)0x01FF);
- 2544 .loc 1 2998 0
- 2545 0034 826A ldr r2, [r0, #40]
- 2546 .LVL225:
-2999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->pRxBuffPtr += 2U;
- 2547 .loc 1 2999 0
- 2548 0036 0368 ldr r3, [r0]
- 2549 0038 5B68 ldr r3, [r3, #4]
- 2550 003a C3F30803 ubfx r3, r3, #0, #9
- 2551 003e 1380 strh r3, [r2] @ movhi
-3000:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 2552 .loc 1 3000 0
- 2553 0040 836A ldr r3, [r0, #40]
- 2554 0042 0233 adds r3, r3, #2
- 2555 0044 8362 str r3, [r0, #40]
- 2556 0046 07E0 b .L213
- 2557 .LVL226:
- 2558 .L215:
-3013:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 2559 .loc 1 3013 0
- 2560 0048 0368 ldr r3, [r0]
- 2561 004a 5B68 ldr r3, [r3, #4]
- 2562 004c 03F07F03 and r3, r3, #127
- 2563 0050 1370 strb r3, [r2]
- 2564 .L216:
-3015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 2565 .loc 1 3015 0
- 2566 0052 836A ldr r3, [r0, #40]
- 2567 0054 0133 adds r3, r3, #1
- 2568 0056 8362 str r3, [r0, #40]
- 2569 .LVL227:
- 2570 .L213:
-3018:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2571 .loc 1 3018 0
- 2572 0058 C38D ldrh r3, [r0, #46]
- 2573 005a 9BB2 uxth r3, r3
- 2574 005c 013B subs r3, r3, #1
-ARM GAS /tmp/ccFcN4UJ.s page 107
-
-
- 2575 005e 9BB2 uxth r3, r3
- 2576 0060 C385 strh r3, [r0, #46] @ movhi
- 2577 0062 0BB1 cbz r3, .L222
-3042:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 2578 .loc 1 3042 0
- 2579 0064 0020 movs r0, #0
- 2580 .LVL228:
-3048:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2581 .loc 1 3048 0
- 2582 0066 08BD pop {r3, pc}
- 2583 .LVL229:
- 2584 .L222:
-3021:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2585 .loc 1 3021 0
- 2586 0068 0268 ldr r2, [r0]
- 2587 006a D368 ldr r3, [r2, #12]
- 2588 006c 23F02003 bic r3, r3, #32
- 2589 0070 D360 str r3, [r2, #12]
-3024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2590 .loc 1 3024 0
- 2591 0072 0268 ldr r2, [r0]
- 2592 0074 D368 ldr r3, [r2, #12]
- 2593 0076 23F48073 bic r3, r3, #256
- 2594 007a D360 str r3, [r2, #12]
-3027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2595 .loc 1 3027 0
- 2596 007c 0268 ldr r2, [r0]
- 2597 007e 5369 ldr r3, [r2, #20]
- 2598 0080 23F00103 bic r3, r3, #1
- 2599 0084 5361 str r3, [r2, #20]
-3030:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2600 .loc 1 3030 0
- 2601 0086 2023 movs r3, #32
- 2602 0088 80F83A30 strb r3, [r0, #58]
-3037:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
- 2603 .loc 1 3037 0
- 2604 008c FFF7FEFF bl HAL_UART_RxCpltCallback
- 2605 .LVL230:
-3040:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 2606 .loc 1 3040 0
- 2607 0090 0020 movs r0, #0
- 2608 0092 08BD pop {r3, pc}
- 2609 .cfi_endproc
- 2610 .LFE118:
- 2612 .section .text.HAL_UART_RxHalfCpltCallback,"ax",%progbits
- 2613 .align 1
- 2614 .weak HAL_UART_RxHalfCpltCallback
- 2615 .syntax unified
- 2616 .thumb
- 2617 .thumb_func
- 2618 .fpu softvfp
- 2620 HAL_UART_RxHalfCpltCallback:
- 2621 .LFB91:
-2215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */
- 2622 .loc 1 2215 0
- 2623 .cfi_startproc
- 2624 @ args = 0, pretend = 0, frame = 0
-ARM GAS /tmp/ccFcN4UJ.s page 108
-
-
- 2625 @ frame_needed = 0, uses_anonymous_args = 0
- 2626 @ link register save eliminated.
- 2627 .LVL231:
- 2628 0000 7047 bx lr
- 2629 .cfi_endproc
- 2630 .LFE91:
- 2632 .section .text.UART_DMARxHalfCplt,"ax",%progbits
- 2633 .align 1
- 2634 .syntax unified
- 2635 .thumb
- 2636 .thumb_func
- 2637 .fpu softvfp
- 2639 UART_DMARxHalfCplt:
- 2640 .LFB106:
-2633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 2641 .loc 1 2633 0
- 2642 .cfi_startproc
- 2643 @ args = 0, pretend = 0, frame = 0
- 2644 @ frame_needed = 0, uses_anonymous_args = 0
- 2645 .LVL232:
-2633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 2646 .loc 1 2633 0
- 2647 0000 08B5 push {r3, lr}
- 2648 .LCFI36:
- 2649 .cfi_def_cfa_offset 8
- 2650 .cfi_offset 3, -8
- 2651 .cfi_offset 14, -4
- 2652 .LVL233:
-2641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
- 2653 .loc 1 2641 0
- 2654 0002 406A ldr r0, [r0, #36]
- 2655 .LVL234:
- 2656 0004 FFF7FEFF bl HAL_UART_RxHalfCpltCallback
- 2657 .LVL235:
- 2658 0008 08BD pop {r3, pc}
- 2659 .cfi_endproc
- 2660 .LFE106:
- 2662 .section .text.HAL_UART_ErrorCallback,"ax",%progbits
- 2663 .align 1
- 2664 .weak HAL_UART_ErrorCallback
- 2665 .syntax unified
- 2666 .thumb
- 2667 .thumb_func
- 2668 .fpu softvfp
- 2670 HAL_UART_ErrorCallback:
- 2671 .LFB92:
-2230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */
- 2672 .loc 1 2230 0
- 2673 .cfi_startproc
- 2674 @ args = 0, pretend = 0, frame = 0
- 2675 @ frame_needed = 0, uses_anonymous_args = 0
- 2676 @ link register save eliminated.
- 2677 .LVL236:
- 2678 0000 7047 bx lr
- 2679 .cfi_endproc
- 2680 .LFE92:
- 2682 .section .text.UART_DMAError,"ax",%progbits
-ARM GAS /tmp/ccFcN4UJ.s page 109
-
-
- 2683 .align 1
- 2684 .syntax unified
- 2685 .thumb
- 2686 .thumb_func
- 2687 .fpu softvfp
- 2689 UART_DMAError:
- 2690 .LFB107:
-2652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t dmarequest = 0x00U;
- 2691 .loc 1 2652 0
- 2692 .cfi_startproc
- 2693 @ args = 0, pretend = 0, frame = 0
- 2694 @ frame_needed = 0, uses_anonymous_args = 0
- 2695 .LVL237:
-2652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t dmarequest = 0x00U;
- 2696 .loc 1 2652 0
- 2697 0000 10B5 push {r4, lr}
- 2698 .LCFI37:
- 2699 .cfi_def_cfa_offset 8
- 2700 .cfi_offset 4, -8
- 2701 .cfi_offset 14, -4
- 2702 .LVL238:
-2654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2703 .loc 1 2654 0
- 2704 0002 446A ldr r4, [r0, #36]
- 2705 .LVL239:
-2657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->gState == HAL_UART_STATE_BUSY_TX) && dmarequest)
- 2706 .loc 1 2657 0
- 2707 0004 2368 ldr r3, [r4]
- 2708 0006 5A69 ldr r2, [r3, #20]
- 2709 .LVL240:
-2658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2710 .loc 1 2658 0
- 2711 0008 94F83930 ldrb r3, [r4, #57] @ zero_extendqisi2
- 2712 000c DBB2 uxtb r3, r3
- 2713 000e 212B cmp r3, #33
- 2714 0010 10D0 beq .L231
- 2715 .LVL241:
- 2716 .L228:
-2665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if ((huart->RxState == HAL_UART_STATE_BUSY_RX) && dmarequest)
- 2717 .loc 1 2665 0
- 2718 0012 2368 ldr r3, [r4]
- 2719 0014 5A69 ldr r2, [r3, #20]
- 2720 0016 02F04002 and r2, r2, #64
- 2721 .LVL242:
-2666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2722 .loc 1 2666 0
- 2723 001a 94F83A30 ldrb r3, [r4, #58] @ zero_extendqisi2
- 2724 001e DBB2 uxtb r3, r3
- 2725 0020 222B cmp r3, #34
- 2726 0022 11D0 beq .L232
- 2727 .LVL243:
- 2728 .L229:
-2672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
- 2729 .loc 1 2672 0
- 2730 0024 E36B ldr r3, [r4, #60]
- 2731 0026 43F01003 orr r3, r3, #16
- 2732 002a E363 str r3, [r4, #60]
-ARM GAS /tmp/ccFcN4UJ.s page 110
-
-
-2678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
- 2733 .loc 1 2678 0
- 2734 002c 2046 mov r0, r4
- 2735 002e FFF7FEFF bl HAL_UART_ErrorCallback
- 2736 .LVL244:
- 2737 0032 10BD pop {r4, pc}
- 2738 .LVL245:
- 2739 .L231:
- 2740 0034 02F08002 and r2, r2, #128
- 2741 .LVL246:
-2658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2742 .loc 1 2658 0 discriminator 1
- 2743 0038 002A cmp r2, #0
- 2744 003a EAD0 beq .L228
-2660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_EndTxTransfer(huart);
- 2745 .loc 1 2660 0
- 2746 003c 0023 movs r3, #0
- 2747 003e E384 strh r3, [r4, #38] @ movhi
-2661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 2748 .loc 1 2661 0
- 2749 0040 2046 mov r0, r4
- 2750 .LVL247:
- 2751 0042 FFF7FEFF bl UART_EndTxTransfer
- 2752 .LVL248:
- 2753 0046 E4E7 b .L228
- 2754 .LVL249:
- 2755 .L232:
-2666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2756 .loc 1 2666 0 discriminator 1
- 2757 0048 002A cmp r2, #0
- 2758 004a EBD0 beq .L229
-2668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_EndRxTransfer(huart);
- 2759 .loc 1 2668 0
- 2760 004c 0023 movs r3, #0
- 2761 004e E385 strh r3, [r4, #46] @ movhi
-2669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 2762 .loc 1 2669 0
- 2763 0050 2046 mov r0, r4
- 2764 0052 FFF7FEFF bl UART_EndRxTransfer
- 2765 .LVL250:
- 2766 0056 E5E7 b .L229
- 2767 .cfi_endproc
- 2768 .LFE107:
- 2770 .section .text.HAL_UART_IRQHandler,"ax",%progbits
- 2771 .align 1
- 2772 .global HAL_UART_IRQHandler
- 2773 .syntax unified
- 2774 .thumb
- 2775 .thumb_func
- 2776 .fpu softvfp
- 2778 HAL_UART_IRQHandler:
- 2779 .LFB87:
-2024:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t isrflags = READ_REG(huart->Instance->SR);
- 2780 .loc 1 2024 0
- 2781 .cfi_startproc
- 2782 @ args = 0, pretend = 0, frame = 0
- 2783 @ frame_needed = 0, uses_anonymous_args = 0
-ARM GAS /tmp/ccFcN4UJ.s page 111
-
-
- 2784 .LVL251:
- 2785 0000 10B5 push {r4, lr}
- 2786 .LCFI38:
- 2787 .cfi_def_cfa_offset 8
- 2788 .cfi_offset 4, -8
- 2789 .cfi_offset 14, -4
- 2790 0002 0446 mov r4, r0
-2025:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t cr1its = READ_REG(huart->Instance->CR1);
- 2791 .loc 1 2025 0
- 2792 0004 0268 ldr r2, [r0]
- 2793 0006 1368 ldr r3, [r2]
- 2794 .LVL252:
-2026:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t cr3its = READ_REG(huart->Instance->CR3);
- 2795 .loc 1 2026 0
- 2796 0008 D168 ldr r1, [r2, #12]
- 2797 .LVL253:
-2027:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t errorflags = 0x00U;
- 2798 .loc 1 2027 0
- 2799 000a 5269 ldr r2, [r2, #20]
- 2800 .LVL254:
-2033:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2801 .loc 1 2033 0
- 2802 000c 13F00F00 ands r0, r3, #15
- 2803 .LVL255:
- 2804 0010 05D1 bne .L234
-2036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2805 .loc 1 2036 0
- 2806 0012 13F0200F tst r3, #32
- 2807 0016 02D0 beq .L234
-2036:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2808 .loc 1 2036 0 is_stmt 0 discriminator 1
- 2809 0018 11F0200F tst r1, #32
- 2810 001c 56D1 bne .L250
- 2811 .L234:
-2044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2812 .loc 1 2044 0 is_stmt 1
- 2813 001e 0028 cmp r0, #0
- 2814 0020 6AD0 beq .L236
-2044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2815 .loc 1 2044 0 is_stmt 0 discriminator 1
- 2816 0022 12F00102 ands r2, r2, #1
- 2817 .LVL256:
- 2818 0026 02D1 bne .L237
-2044:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2819 .loc 1 2044 0 discriminator 2
- 2820 0028 11F4907F tst r1, #288
- 2821 002c 64D0 beq .L236
- 2822 .L237:
-2047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2823 .loc 1 2047 0 is_stmt 1
- 2824 002e 13F0010F tst r3, #1
- 2825 0032 06D0 beq .L238
-2047:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2826 .loc 1 2047 0 is_stmt 0 discriminator 1
- 2827 0034 11F4807F tst r1, #256
- 2828 0038 03D0 beq .L238
-2049:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
-ARM GAS /tmp/ccFcN4UJ.s page 112
-
-
- 2829 .loc 1 2049 0 is_stmt 1
- 2830 003a E06B ldr r0, [r4, #60]
- 2831 .LVL257:
- 2832 003c 40F00100 orr r0, r0, #1
- 2833 0040 E063 str r0, [r4, #60]
- 2834 .L238:
-2053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2835 .loc 1 2053 0
- 2836 0042 13F0040F tst r3, #4
- 2837 0046 04D0 beq .L239
-2053:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2838 .loc 1 2053 0 is_stmt 0 discriminator 1
- 2839 0048 1AB1 cbz r2, .L239
-2055:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 2840 .loc 1 2055 0 is_stmt 1
- 2841 004a E06B ldr r0, [r4, #60]
- 2842 004c 40F00200 orr r0, r0, #2
- 2843 0050 E063 str r0, [r4, #60]
- 2844 .L239:
-2059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2845 .loc 1 2059 0
- 2846 0052 13F0020F tst r3, #2
- 2847 0056 04D0 beq .L240
-2059:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2848 .loc 1 2059 0 is_stmt 0 discriminator 1
- 2849 0058 1AB1 cbz r2, .L240
-2061:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 2850 .loc 1 2061 0 is_stmt 1
- 2851 005a E06B ldr r0, [r4, #60]
- 2852 005c 40F00400 orr r0, r0, #4
- 2853 0060 E063 str r0, [r4, #60]
- 2854 .L240:
-2065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2855 .loc 1 2065 0
- 2856 0062 13F0080F tst r3, #8
- 2857 0066 07D0 beq .L241
-2065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2858 .loc 1 2065 0 is_stmt 0 discriminator 1
- 2859 0068 11F0200F tst r1, #32
- 2860 006c 00D1 bne .L242
-2065:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2861 .loc 1 2065 0 discriminator 2
- 2862 006e 1AB1 cbz r2, .L241
- 2863 .L242:
-2067:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 2864 .loc 1 2067 0 is_stmt 1
- 2865 0070 E26B ldr r2, [r4, #60]
- 2866 0072 42F00802 orr r2, r2, #8
- 2867 0076 E263 str r2, [r4, #60]
- 2868 .L241:
-2071:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2869 .loc 1 2071 0
- 2870 0078 E26B ldr r2, [r4, #60]
- 2871 007a 002A cmp r2, #0
- 2872 007c 48D0 beq .L233
-2074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2873 .loc 1 2074 0
-ARM GAS /tmp/ccFcN4UJ.s page 113
-
-
- 2874 007e 13F0200F tst r3, #32
- 2875 0082 02D0 beq .L243
-2074:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2876 .loc 1 2074 0 is_stmt 0 discriminator 1
- 2877 0084 11F0200F tst r1, #32
- 2878 0088 24D1 bne .L251
- 2879 .LVL258:
- 2880 .L243:
-2081:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (((huart->ErrorCode & HAL_UART_ERROR_ORE) != RESET) || dmarequest)
- 2881 .loc 1 2081 0 is_stmt 1
- 2882 008a 2368 ldr r3, [r4]
- 2883 008c 5B69 ldr r3, [r3, #20]
- 2884 008e 03F04003 and r3, r3, #64
- 2885 .LVL259:
-2082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2886 .loc 1 2082 0
- 2887 0092 E26B ldr r2, [r4, #60]
- 2888 0094 12F0080F tst r2, #8
- 2889 0098 00D1 bne .L244
-2082:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2890 .loc 1 2082 0 is_stmt 0 discriminator 1
- 2891 009a 3BB3 cbz r3, .L245
- 2892 .L244:
-2087:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2893 .loc 1 2087 0 is_stmt 1
- 2894 009c 2046 mov r0, r4
- 2895 009e FFF7FEFF bl UART_EndRxTransfer
- 2896 .LVL260:
-2090:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2897 .loc 1 2090 0
- 2898 00a2 2368 ldr r3, [r4]
- 2899 00a4 5A69 ldr r2, [r3, #20]
- 2900 00a6 12F0400F tst r2, #64
- 2901 00aa 1BD0 beq .L246
-2092:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 2902 .loc 1 2092 0
- 2903 00ac 5A69 ldr r2, [r3, #20]
- 2904 00ae 22F04002 bic r2, r2, #64
- 2905 00b2 5A61 str r2, [r3, #20]
-2095:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2906 .loc 1 2095 0
- 2907 00b4 636B ldr r3, [r4, #52]
- 2908 00b6 8BB1 cbz r3, .L247
-2099:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** if (HAL_DMA_Abort_IT(huart->hdmarx) != HAL_OK)
- 2909 .loc 1 2099 0
- 2910 00b8 1A4A ldr r2, .L254
- 2911 00ba 5A63 str r2, [r3, #52]
-2100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2912 .loc 1 2100 0
- 2913 00bc 606B ldr r0, [r4, #52]
- 2914 00be FFF7FEFF bl HAL_DMA_Abort_IT
- 2915 .LVL261:
- 2916 00c2 28B3 cbz r0, .L233
-2103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 2917 .loc 1 2103 0
- 2918 00c4 606B ldr r0, [r4, #52]
- 2919 00c6 436B ldr r3, [r0, #52]
-ARM GAS /tmp/ccFcN4UJ.s page 114
-
-
- 2920 00c8 9847 blx r3
- 2921 .LVL262:
- 2922 00ca 10BD pop {r4, pc}
- 2923 .LVL263:
- 2924 .L250:
-2038:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return;
- 2925 .loc 1 2038 0
- 2926 00cc 2046 mov r0, r4
- 2927 .LVL264:
- 2928 00ce FFF7FEFF bl UART_Receive_IT
- 2929 .LVL265:
-2039:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 2930 .loc 1 2039 0
- 2931 00d2 10BD pop {r4, pc}
- 2932 .LVL266:
- 2933 .L251:
-2076:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 2934 .loc 1 2076 0
- 2935 00d4 2046 mov r0, r4
- 2936 00d6 FFF7FEFF bl UART_Receive_IT
- 2937 .LVL267:
- 2938 00da D6E7 b .L243
- 2939 .LVL268:
- 2940 .L247:
-2114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
- 2941 .loc 1 2114 0
- 2942 00dc 2046 mov r0, r4
- 2943 00de FFF7FEFF bl HAL_UART_ErrorCallback
- 2944 .LVL269:
- 2945 00e2 10BD pop {r4, pc}
- 2946 .LVL270:
- 2947 .L246:
-2126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
- 2948 .loc 1 2126 0
- 2949 00e4 2046 mov r0, r4
- 2950 00e6 FFF7FEFF bl HAL_UART_ErrorCallback
- 2951 .LVL271:
- 2952 00ea 10BD pop {r4, pc}
- 2953 .LVL272:
- 2954 .L245:
-2139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
- 2955 .loc 1 2139 0
- 2956 00ec 2046 mov r0, r4
- 2957 00ee FFF7FEFF bl HAL_UART_ErrorCallback
- 2958 .LVL273:
-2142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 2959 .loc 1 2142 0
- 2960 00f2 0023 movs r3, #0
- 2961 00f4 E363 str r3, [r4, #60]
- 2962 00f6 10BD pop {r4, pc}
- 2963 .LVL274:
- 2964 .L236:
-2149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2965 .loc 1 2149 0
- 2966 00f8 13F0800F tst r3, #128
- 2967 00fc 02D0 beq .L248
-2149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
-ARM GAS /tmp/ccFcN4UJ.s page 115
-
-
- 2968 .loc 1 2149 0 is_stmt 0 discriminator 1
- 2969 00fe 11F0800F tst r1, #128
- 2970 0102 06D1 bne .L252
- 2971 .L248:
-2156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2972 .loc 1 2156 0 is_stmt 1
- 2973 0104 13F0400F tst r3, #64
- 2974 0108 02D0 beq .L233
-2156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 2975 .loc 1 2156 0 is_stmt 0 discriminator 1
- 2976 010a 11F0400F tst r1, #64
- 2977 010e 04D1 bne .L253
- 2978 .LVL275:
- 2979 .L233:
- 2980 0110 10BD pop {r4, pc}
- 2981 .LVL276:
- 2982 .L252:
-2151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return;
- 2983 .loc 1 2151 0 is_stmt 1
- 2984 0112 2046 mov r0, r4
- 2985 .LVL277:
- 2986 0114 FFF7FEFF bl UART_Transmit_IT
- 2987 .LVL278:
-2152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 2988 .loc 1 2152 0
- 2989 0118 10BD pop {r4, pc}
- 2990 .LVL279:
- 2991 .L253:
-2158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return;
- 2992 .loc 1 2158 0
- 2993 011a 2046 mov r0, r4
- 2994 .LVL280:
- 2995 011c FFF7FEFF bl UART_EndTransmit_IT
- 2996 .LVL281:
-2159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 2997 .loc 1 2159 0
- 2998 0120 F6E7 b .L233
- 2999 .L255:
- 3000 0122 00BF .align 2
- 3001 .L254:
- 3002 0124 00000000 .word UART_DMAAbortOnError
- 3003 .cfi_endproc
- 3004 .LFE87:
- 3006 .section .text.UART_DMAAbortOnError,"ax",%progbits
- 3007 .align 1
- 3008 .syntax unified
- 3009 .thumb
- 3010 .thumb_func
- 3011 .fpu softvfp
- 3013 UART_DMAAbortOnError:
- 3014 .LFB111:
-2756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 3015 .loc 1 2756 0
- 3016 .cfi_startproc
- 3017 @ args = 0, pretend = 0, frame = 0
- 3018 @ frame_needed = 0, uses_anonymous_args = 0
- 3019 .LVL282:
-ARM GAS /tmp/ccFcN4UJ.s page 116
-
-
- 3020 0000 08B5 push {r3, lr}
- 3021 .LCFI39:
- 3022 .cfi_def_cfa_offset 8
- 3023 .cfi_offset 3, -8
- 3024 .cfi_offset 14, -4
-2757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U;
- 3025 .loc 1 2757 0
- 3026 0002 406A ldr r0, [r0, #36]
- 3027 .LVL283:
-2758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->TxXferCount = 0x00U;
- 3028 .loc 1 2758 0
- 3029 0004 0023 movs r3, #0
- 3030 0006 C385 strh r3, [r0, #46] @ movhi
-2759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3031 .loc 1 2759 0
- 3032 0008 C384 strh r3, [r0, #38] @ movhi
-2766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
- 3033 .loc 1 2766 0
- 3034 000a FFF7FEFF bl HAL_UART_ErrorCallback
- 3035 .LVL284:
- 3036 000e 08BD pop {r3, pc}
- 3037 .cfi_endproc
- 3038 .LFE111:
- 3040 .section .text.HAL_UART_AbortCpltCallback,"ax",%progbits
- 3041 .align 1
- 3042 .weak HAL_UART_AbortCpltCallback
- 3043 .syntax unified
- 3044 .thumb
- 3045 .thumb_func
- 3046 .fpu softvfp
- 3048 HAL_UART_AbortCpltCallback:
- 3049 .LFB93:
-2244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */
- 3050 .loc 1 2244 0
- 3051 .cfi_startproc
- 3052 @ args = 0, pretend = 0, frame = 0
- 3053 @ frame_needed = 0, uses_anonymous_args = 0
- 3054 @ link register save eliminated.
- 3055 .LVL285:
- 3056 0000 7047 bx lr
- 3057 .cfi_endproc
- 3058 .LFE93:
- 3060 .section .text.HAL_UART_Abort_IT,"ax",%progbits
- 3061 .align 1
- 3062 .global HAL_UART_Abort_IT
- 3063 .syntax unified
- 3064 .thumb
- 3065 .thumb_func
- 3066 .fpu softvfp
- 3068 HAL_UART_Abort_IT:
- 3069 .LFB84:
-1749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t AbortCplt = 0x01U;
- 3070 .loc 1 1749 0
- 3071 .cfi_startproc
- 3072 @ args = 0, pretend = 0, frame = 0
- 3073 @ frame_needed = 0, uses_anonymous_args = 0
- 3074 .LVL286:
-ARM GAS /tmp/ccFcN4UJ.s page 117
-
-
-1749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t AbortCplt = 0x01U;
- 3075 .loc 1 1749 0
- 3076 0000 10B5 push {r4, lr}
- 3077 .LCFI40:
- 3078 .cfi_def_cfa_offset 8
- 3079 .cfi_offset 4, -8
- 3080 .cfi_offset 14, -4
- 3081 0002 0446 mov r4, r0
- 3082 .LVL287:
-1753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE);
- 3083 .loc 1 1753 0
- 3084 0004 0268 ldr r2, [r0]
- 3085 0006 D368 ldr r3, [r2, #12]
- 3086 0008 23F4F073 bic r3, r3, #480
- 3087 000c D360 str r3, [r2, #12]
-1754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3088 .loc 1 1754 0
- 3089 000e 0268 ldr r2, [r0]
- 3090 0010 5369 ldr r3, [r2, #20]
- 3091 0012 23F00103 bic r3, r3, #1
- 3092 0016 5361 str r3, [r2, #20]
-1759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 3093 .loc 1 1759 0
- 3094 0018 036B ldr r3, [r0, #48]
- 3095 001a 33B1 cbz r3, .L260
-1763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 3096 .loc 1 1763 0
- 3097 001c 0268 ldr r2, [r0]
- 3098 001e 5269 ldr r2, [r2, #20]
- 3099 0020 12F0800F tst r2, #128
- 3100 0024 1DD0 beq .L261
-1765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 3101 .loc 1 1765 0
- 3102 0026 264A ldr r2, .L273
- 3103 0028 5A63 str r2, [r3, #52]
- 3104 .L260:
-1773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 3105 .loc 1 1773 0
- 3106 002a 636B ldr r3, [r4, #52]
- 3107 002c 33B1 cbz r3, .L262
-1777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 3108 .loc 1 1777 0
- 3109 002e 2268 ldr r2, [r4]
- 3110 0030 5269 ldr r2, [r2, #20]
- 3111 0032 12F0400F tst r2, #64
- 3112 0036 17D0 beq .L263
-1779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 3113 .loc 1 1779 0
- 3114 0038 224A ldr r2, .L273+4
- 3115 003a 5A63 str r2, [r3, #52]
- 3116 .L262:
-1788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 3117 .loc 1 1788 0
- 3118 003c 2368 ldr r3, [r4]
- 3119 003e 5A69 ldr r2, [r3, #20]
- 3120 0040 12F0800F tst r2, #128
- 3121 0044 13D0 beq .L267
-ARM GAS /tmp/ccFcN4UJ.s page 118
-
-
-1791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3122 .loc 1 1791 0
- 3123 0046 5A69 ldr r2, [r3, #20]
- 3124 0048 22F08002 bic r2, r2, #128
- 3125 004c 5A61 str r2, [r3, #20]
-1794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 3126 .loc 1 1794 0
- 3127 004e 206B ldr r0, [r4, #48]
- 3128 .LVL288:
- 3129 0050 18B3 cbz r0, .L268
-1800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 3130 .loc 1 1800 0
- 3131 0052 FFF7FEFF bl HAL_DMA_Abort_IT
- 3132 .LVL289:
- 3133 0056 10B3 cbz r0, .L269
-1802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 3134 .loc 1 1802 0
- 3135 0058 236B ldr r3, [r4, #48]
- 3136 005a 0022 movs r2, #0
- 3137 005c 5A63 str r2, [r3, #52]
-1750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3138 .loc 1 1750 0
- 3139 005e 0122 movs r2, #1
- 3140 0060 06E0 b .L264
- 3141 .LVL290:
- 3142 .L261:
-1769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 3143 .loc 1 1769 0
- 3144 0062 0022 movs r2, #0
- 3145 0064 5A63 str r2, [r3, #52]
- 3146 0066 E0E7 b .L260
- 3147 .L263:
-1783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 3148 .loc 1 1783 0
- 3149 0068 0022 movs r2, #0
- 3150 006a 5A63 str r2, [r3, #52]
- 3151 006c E6E7 b .L262
- 3152 .L267:
-1750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3153 .loc 1 1750 0
- 3154 006e 0122 movs r2, #1
- 3155 .LVL291:
- 3156 .L264:
-1812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 3157 .loc 1 1812 0
- 3158 0070 2368 ldr r3, [r4]
- 3159 0072 5969 ldr r1, [r3, #20]
- 3160 0074 11F0400F tst r1, #64
- 3161 0078 0CD0 beq .L265
-1814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3162 .loc 1 1814 0
- 3163 007a 5969 ldr r1, [r3, #20]
- 3164 007c 21F04001 bic r1, r1, #64
- 3165 0080 5961 str r1, [r3, #20]
-1817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 3166 .loc 1 1817 0
- 3167 0082 606B ldr r0, [r4, #52]
-ARM GAS /tmp/ccFcN4UJ.s page 119
-
-
- 3168 0084 30B1 cbz r0, .L265
-1823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 3169 .loc 1 1823 0
- 3170 0086 FFF7FEFF bl HAL_DMA_Abort_IT
- 3171 .LVL292:
- 3172 008a 50B1 cbz r0, .L270
-1825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** AbortCplt = 0x01U;
- 3173 .loc 1 1825 0
- 3174 008c 636B ldr r3, [r4, #52]
- 3175 008e 0022 movs r2, #0
- 3176 0090 5A63 str r2, [r3, #52]
- 3177 .LVL293:
-1826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 3178 .loc 1 1826 0
- 3179 0092 0122 movs r2, #1
- 3180 .LVL294:
- 3181 .L265:
-1836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 3182 .loc 1 1836 0
- 3183 0094 3AB9 cbnz r2, .L272
- 3184 .LVL295:
- 3185 .L266:
-1860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3186 .loc 1 1860 0
- 3187 0096 0020 movs r0, #0
- 3188 0098 10BD pop {r4, pc}
- 3189 .LVL296:
- 3190 .L268:
-1750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3191 .loc 1 1750 0
- 3192 009a 0122 movs r2, #1
- 3193 009c E8E7 b .L264
- 3194 .L269:
-1806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 3195 .loc 1 1806 0
- 3196 009e 0022 movs r2, #0
- 3197 00a0 E6E7 b .L264
- 3198 .LVL297:
- 3199 .L270:
-1830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 3200 .loc 1 1830 0
- 3201 00a2 0022 movs r2, #0
- 3202 00a4 F6E7 b .L265
- 3203 .LVL298:
- 3204 .L272:
-1839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U;
- 3205 .loc 1 1839 0
- 3206 00a6 0023 movs r3, #0
- 3207 00a8 E384 strh r3, [r4, #38] @ movhi
-1840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3208 .loc 1 1840 0
- 3209 00aa E385 strh r3, [r4, #46] @ movhi
-1843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3210 .loc 1 1843 0
- 3211 00ac E363 str r3, [r4, #60]
-1846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
- 3212 .loc 1 1846 0
-ARM GAS /tmp/ccFcN4UJ.s page 120
-
-
- 3213 00ae 2023 movs r3, #32
- 3214 00b0 84F83930 strb r3, [r4, #57]
-1847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3215 .loc 1 1847 0
- 3216 00b4 84F83A30 strb r3, [r4, #58]
-1855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
- 3217 .loc 1 1855 0
- 3218 00b8 2046 mov r0, r4
- 3219 00ba FFF7FEFF bl HAL_UART_AbortCpltCallback
- 3220 .LVL299:
- 3221 00be EAE7 b .L266
- 3222 .L274:
- 3223 .align 2
- 3224 .L273:
- 3225 00c0 00000000 .word UART_DMATxAbortCallback
- 3226 00c4 00000000 .word UART_DMARxAbortCallback
- 3227 .cfi_endproc
- 3228 .LFE84:
- 3230 .section .text.UART_DMARxAbortCallback,"ax",%progbits
- 3231 .align 1
- 3232 .syntax unified
- 3233 .thumb
- 3234 .thumb_func
- 3235 .fpu softvfp
- 3237 UART_DMARxAbortCallback:
- 3238 .LFB113:
-2825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 3239 .loc 1 2825 0
- 3240 .cfi_startproc
- 3241 @ args = 0, pretend = 0, frame = 0
- 3242 @ frame_needed = 0, uses_anonymous_args = 0
- 3243 .LVL300:
- 3244 0000 08B5 push {r3, lr}
- 3245 .LCFI41:
- 3246 .cfi_def_cfa_offset 8
- 3247 .cfi_offset 3, -8
- 3248 .cfi_offset 14, -4
-2826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3249 .loc 1 2826 0
- 3250 0002 406A ldr r0, [r0, #36]
- 3251 .LVL301:
-2828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3252 .loc 1 2828 0
- 3253 0004 436B ldr r3, [r0, #52]
- 3254 0006 0022 movs r2, #0
- 3255 0008 5A63 str r2, [r3, #52]
-2831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 3256 .loc 1 2831 0
- 3257 000a 036B ldr r3, [r0, #48]
- 3258 000c 13B1 cbz r3, .L276
-2833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 3259 .loc 1 2833 0
- 3260 000e 5B6B ldr r3, [r3, #52]
- 3261 0010 03B1 cbz r3, .L276
- 3262 .LVL302:
- 3263 .L275:
- 3264 0012 08BD pop {r3, pc}
-ARM GAS /tmp/ccFcN4UJ.s page 121
-
-
- 3265 .LVL303:
- 3266 .L276:
-2840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U;
- 3267 .loc 1 2840 0
- 3268 0014 0023 movs r3, #0
- 3269 0016 C384 strh r3, [r0, #38] @ movhi
-2841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3270 .loc 1 2841 0
- 3271 0018 C385 strh r3, [r0, #46] @ movhi
-2844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3272 .loc 1 2844 0
- 3273 001a C363 str r3, [r0, #60]
-2847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
- 3274 .loc 1 2847 0
- 3275 001c 2023 movs r3, #32
- 3276 001e 80F83930 strb r3, [r0, #57]
-2848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3277 .loc 1 2848 0
- 3278 0022 80F83A30 strb r3, [r0, #58]
-2856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
- 3279 .loc 1 2856 0
- 3280 0026 FFF7FEFF bl HAL_UART_AbortCpltCallback
- 3281 .LVL304:
- 3282 002a F2E7 b .L275
- 3283 .cfi_endproc
- 3284 .LFE113:
- 3286 .section .text.UART_DMATxAbortCallback,"ax",%progbits
- 3287 .align 1
- 3288 .syntax unified
- 3289 .thumb
- 3290 .thumb_func
- 3291 .fpu softvfp
- 3293 UART_DMATxAbortCallback:
- 3294 .LFB112:
-2780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 3295 .loc 1 2780 0
- 3296 .cfi_startproc
- 3297 @ args = 0, pretend = 0, frame = 0
- 3298 @ frame_needed = 0, uses_anonymous_args = 0
- 3299 .LVL305:
- 3300 0000 08B5 push {r3, lr}
- 3301 .LCFI42:
- 3302 .cfi_def_cfa_offset 8
- 3303 .cfi_offset 3, -8
- 3304 .cfi_offset 14, -4
-2781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3305 .loc 1 2781 0
- 3306 0002 406A ldr r0, [r0, #36]
- 3307 .LVL306:
-2783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3308 .loc 1 2783 0
- 3309 0004 036B ldr r3, [r0, #48]
- 3310 0006 0022 movs r2, #0
- 3311 0008 5A63 str r2, [r3, #52]
-2786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 3312 .loc 1 2786 0
- 3313 000a 436B ldr r3, [r0, #52]
-ARM GAS /tmp/ccFcN4UJ.s page 122
-
-
- 3314 000c 13B1 cbz r3, .L280
-2788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 3315 .loc 1 2788 0
- 3316 000e 5B6B ldr r3, [r3, #52]
- 3317 0010 03B1 cbz r3, .L280
- 3318 .LVL307:
- 3319 .L279:
- 3320 0012 08BD pop {r3, pc}
- 3321 .LVL308:
- 3322 .L280:
-2795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxXferCount = 0x00U;
- 3323 .loc 1 2795 0
- 3324 0014 0023 movs r3, #0
- 3325 0016 C384 strh r3, [r0, #38] @ movhi
-2796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3326 .loc 1 2796 0
- 3327 0018 C385 strh r3, [r0, #46] @ movhi
-2799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3328 .loc 1 2799 0
- 3329 001a C363 str r3, [r0, #60]
-2802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** huart->RxState = HAL_UART_STATE_READY;
- 3330 .loc 1 2802 0
- 3331 001c 2023 movs r3, #32
- 3332 001e 80F83930 strb r3, [r0, #57]
-2803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3333 .loc 1 2803 0
- 3334 0022 80F83A30 strb r3, [r0, #58]
-2811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
- 3335 .loc 1 2811 0
- 3336 0026 FFF7FEFF bl HAL_UART_AbortCpltCallback
- 3337 .LVL309:
- 3338 002a F2E7 b .L279
- 3339 .cfi_endproc
- 3340 .LFE112:
- 3342 .section .text.HAL_UART_AbortTransmitCpltCallback,"ax",%progbits
- 3343 .align 1
- 3344 .weak HAL_UART_AbortTransmitCpltCallback
- 3345 .syntax unified
- 3346 .thumb
- 3347 .thumb_func
- 3348 .fpu softvfp
- 3350 HAL_UART_AbortTransmitCpltCallback:
- 3351 .LFB94:
-2259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */
- 3352 .loc 1 2259 0
- 3353 .cfi_startproc
- 3354 @ args = 0, pretend = 0, frame = 0
- 3355 @ frame_needed = 0, uses_anonymous_args = 0
- 3356 @ link register save eliminated.
- 3357 .LVL310:
- 3358 0000 7047 bx lr
- 3359 .cfi_endproc
- 3360 .LFE94:
- 3362 .section .text.HAL_UART_AbortTransmit_IT,"ax",%progbits
- 3363 .align 1
- 3364 .global HAL_UART_AbortTransmit_IT
- 3365 .syntax unified
-ARM GAS /tmp/ccFcN4UJ.s page 123
-
-
- 3366 .thumb
- 3367 .thumb_func
- 3368 .fpu softvfp
- 3370 HAL_UART_AbortTransmit_IT:
- 3371 .LFB85:
-1877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable TXEIE and TCIE interrupts */
- 3372 .loc 1 1877 0
- 3373 .cfi_startproc
- 3374 @ args = 0, pretend = 0, frame = 0
- 3375 @ frame_needed = 0, uses_anonymous_args = 0
- 3376 .LVL311:
-1877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable TXEIE and TCIE interrupts */
- 3377 .loc 1 1877 0
- 3378 0000 10B5 push {r4, lr}
- 3379 .LCFI43:
- 3380 .cfi_def_cfa_offset 8
- 3381 .cfi_offset 4, -8
- 3382 .cfi_offset 14, -4
- 3383 0002 0446 mov r4, r0
-1879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3384 .loc 1 1879 0
- 3385 0004 0268 ldr r2, [r0]
- 3386 0006 D368 ldr r3, [r2, #12]
- 3387 0008 23F0C003 bic r3, r3, #192
- 3388 000c D360 str r3, [r2, #12]
-1882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 3389 .loc 1 1882 0
- 3390 000e 0368 ldr r3, [r0]
- 3391 0010 5A69 ldr r2, [r3, #20]
- 3392 0012 12F0800F tst r2, #128
- 3393 0016 19D0 beq .L285
-1884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3394 .loc 1 1884 0
- 3395 0018 5A69 ldr r2, [r3, #20]
- 3396 001a 22F08002 bic r2, r2, #128
- 3397 001e 5A61 str r2, [r3, #20]
-1887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 3398 .loc 1 1887 0
- 3399 0020 036B ldr r3, [r0, #48]
- 3400 0022 5BB1 cbz r3, .L286
-1891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3401 .loc 1 1891 0
- 3402 0024 0D4A ldr r2, .L290
- 3403 0026 5A63 str r2, [r3, #52]
-1894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 3404 .loc 1 1894 0
- 3405 0028 006B ldr r0, [r0, #48]
- 3406 .LVL312:
- 3407 002a FFF7FEFF bl HAL_DMA_Abort_IT
- 3408 .LVL313:
- 3409 002e 08B9 cbnz r0, .L289
- 3410 .L287:
-1937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3411 .loc 1 1937 0
- 3412 0030 0020 movs r0, #0
- 3413 0032 10BD pop {r4, pc}
- 3414 .LVL314:
-ARM GAS /tmp/ccFcN4UJ.s page 124
-
-
- 3415 .L289:
-1897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 3416 .loc 1 1897 0
- 3417 0034 206B ldr r0, [r4, #48]
- 3418 0036 436B ldr r3, [r0, #52]
- 3419 0038 9847 blx r3
- 3420 .LVL315:
- 3421 003a F9E7 b .L287
- 3422 .LVL316:
- 3423 .L286:
-1903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3424 .loc 1 1903 0
- 3425 003c 0023 movs r3, #0
- 3426 003e C384 strh r3, [r0, #38] @ movhi
-1906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3427 .loc 1 1906 0
- 3428 0040 2023 movs r3, #32
- 3429 0042 80F83930 strb r3, [r0, #57]
-1914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
- 3430 .loc 1 1914 0
- 3431 0046 FFF7FEFF bl HAL_UART_AbortTransmitCpltCallback
- 3432 .LVL317:
- 3433 004a F1E7 b .L287
- 3434 .LVL318:
- 3435 .L285:
-1921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3436 .loc 1 1921 0
- 3437 004c 0023 movs r3, #0
- 3438 004e C384 strh r3, [r0, #38] @ movhi
-1924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3439 .loc 1 1924 0
- 3440 0050 2023 movs r3, #32
- 3441 0052 80F83930 strb r3, [r0, #57]
-1932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
- 3442 .loc 1 1932 0
- 3443 0056 FFF7FEFF bl HAL_UART_AbortTransmitCpltCallback
- 3444 .LVL319:
- 3445 005a E9E7 b .L287
- 3446 .L291:
- 3447 .align 2
- 3448 .L290:
- 3449 005c 00000000 .word UART_DMATxOnlyAbortCallback
- 3450 .cfi_endproc
- 3451 .LFE85:
- 3453 .section .text.UART_DMATxOnlyAbortCallback,"ax",%progbits
- 3454 .align 1
- 3455 .syntax unified
- 3456 .thumb
- 3457 .thumb_func
- 3458 .fpu softvfp
- 3460 UART_DMATxOnlyAbortCallback:
- 3461 .LFB114:
-2870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 3462 .loc 1 2870 0
- 3463 .cfi_startproc
- 3464 @ args = 0, pretend = 0, frame = 0
- 3465 @ frame_needed = 0, uses_anonymous_args = 0
-ARM GAS /tmp/ccFcN4UJ.s page 125
-
-
- 3466 .LVL320:
- 3467 0000 08B5 push {r3, lr}
- 3468 .LCFI44:
- 3469 .cfi_def_cfa_offset 8
- 3470 .cfi_offset 3, -8
- 3471 .cfi_offset 14, -4
-2871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3472 .loc 1 2871 0
- 3473 0002 406A ldr r0, [r0, #36]
- 3474 .LVL321:
-2873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3475 .loc 1 2873 0
- 3476 0004 0023 movs r3, #0
- 3477 0006 C384 strh r3, [r0, #38] @ movhi
-2876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3478 .loc 1 2876 0
- 3479 0008 2023 movs r3, #32
- 3480 000a 80F83930 strb r3, [r0, #57]
-2884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
- 3481 .loc 1 2884 0
- 3482 000e FFF7FEFF bl HAL_UART_AbortTransmitCpltCallback
- 3483 .LVL322:
- 3484 0012 08BD pop {r3, pc}
- 3485 .cfi_endproc
- 3486 .LFE114:
- 3488 .section .text.HAL_UART_AbortReceiveCpltCallback,"ax",%progbits
- 3489 .align 1
- 3490 .weak HAL_UART_AbortReceiveCpltCallback
- 3491 .syntax unified
- 3492 .thumb
- 3493 .thumb_func
- 3494 .fpu softvfp
- 3496 HAL_UART_AbortReceiveCpltCallback:
- 3497 .LFB95:
-2274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Prevent unused argument(s) compilation warning */
- 3498 .loc 1 2274 0
- 3499 .cfi_startproc
- 3500 @ args = 0, pretend = 0, frame = 0
- 3501 @ frame_needed = 0, uses_anonymous_args = 0
- 3502 @ link register save eliminated.
- 3503 .LVL323:
- 3504 0000 7047 bx lr
- 3505 .cfi_endproc
- 3506 .LFE95:
- 3508 .section .text.HAL_UART_AbortReceive_IT,"ax",%progbits
- 3509 .align 1
- 3510 .global HAL_UART_AbortReceive_IT
- 3511 .syntax unified
- 3512 .thumb
- 3513 .thumb_func
- 3514 .fpu softvfp
- 3516 HAL_UART_AbortReceive_IT:
- 3517 .LFB86:
-1954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */
- 3518 .loc 1 1954 0
- 3519 .cfi_startproc
- 3520 @ args = 0, pretend = 0, frame = 0
-ARM GAS /tmp/ccFcN4UJ.s page 126
-
-
- 3521 @ frame_needed = 0, uses_anonymous_args = 0
- 3522 .LVL324:
-1954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */
- 3523 .loc 1 1954 0
- 3524 0000 10B5 push {r4, lr}
- 3525 .LCFI45:
- 3526 .cfi_def_cfa_offset 8
- 3527 .cfi_offset 4, -8
- 3528 .cfi_offset 14, -4
- 3529 0002 0446 mov r4, r0
-1956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE);
- 3530 .loc 1 1956 0
- 3531 0004 0268 ldr r2, [r0]
- 3532 0006 D368 ldr r3, [r2, #12]
- 3533 0008 23F49073 bic r3, r3, #288
- 3534 000c D360 str r3, [r2, #12]
-1957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3535 .loc 1 1957 0
- 3536 000e 0268 ldr r2, [r0]
- 3537 0010 5369 ldr r3, [r2, #20]
- 3538 0012 23F00103 bic r3, r3, #1
- 3539 0016 5361 str r3, [r2, #20]
-1960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 3540 .loc 1 1960 0
- 3541 0018 0368 ldr r3, [r0]
- 3542 001a 5A69 ldr r2, [r3, #20]
- 3543 001c 12F0400F tst r2, #64
- 3544 0020 19D0 beq .L296
-1962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3545 .loc 1 1962 0
- 3546 0022 5A69 ldr r2, [r3, #20]
- 3547 0024 22F04002 bic r2, r2, #64
- 3548 0028 5A61 str r2, [r3, #20]
-1965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 3549 .loc 1 1965 0
- 3550 002a 436B ldr r3, [r0, #52]
- 3551 002c 5BB1 cbz r3, .L297
-1969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3552 .loc 1 1969 0
- 3553 002e 0E4A ldr r2, .L301
- 3554 0030 5A63 str r2, [r3, #52]
-1972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** {
- 3555 .loc 1 1972 0
- 3556 0032 406B ldr r0, [r0, #52]
- 3557 .LVL325:
- 3558 0034 FFF7FEFF bl HAL_DMA_Abort_IT
- 3559 .LVL326:
- 3560 0038 08B9 cbnz r0, .L300
- 3561 .L298:
-2015:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3562 .loc 1 2015 0
- 3563 003a 0020 movs r0, #0
- 3564 003c 10BD pop {r4, pc}
- 3565 .LVL327:
- 3566 .L300:
-1975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 3567 .loc 1 1975 0
-ARM GAS /tmp/ccFcN4UJ.s page 127
-
-
- 3568 003e 606B ldr r0, [r4, #52]
- 3569 0040 436B ldr r3, [r0, #52]
- 3570 0042 9847 blx r3
- 3571 .LVL328:
- 3572 0044 F9E7 b .L298
- 3573 .LVL329:
- 3574 .L297:
-1981:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3575 .loc 1 1981 0
- 3576 0046 0023 movs r3, #0
- 3577 0048 C385 strh r3, [r0, #46] @ movhi
-1984:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3578 .loc 1 1984 0
- 3579 004a 2023 movs r3, #32
- 3580 004c 80F83A30 strb r3, [r0, #58]
-1992:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
- 3581 .loc 1 1992 0
- 3582 0050 FFF7FEFF bl HAL_UART_AbortReceiveCpltCallback
- 3583 .LVL330:
- 3584 0054 F1E7 b .L298
- 3585 .LVL331:
- 3586 .L296:
-1999:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3587 .loc 1 1999 0
- 3588 0056 0023 movs r3, #0
- 3589 0058 C385 strh r3, [r0, #46] @ movhi
-2002:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3590 .loc 1 2002 0
- 3591 005a 2023 movs r3, #32
- 3592 005c 80F83A30 strb r3, [r0, #58]
-2010:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
- 3593 .loc 1 2010 0
- 3594 0060 FFF7FEFF bl HAL_UART_AbortReceiveCpltCallback
- 3595 .LVL332:
- 3596 0064 E9E7 b .L298
- 3597 .L302:
- 3598 0066 00BF .align 2
- 3599 .L301:
- 3600 0068 00000000 .word UART_DMARxOnlyAbortCallback
- 3601 .cfi_endproc
- 3602 .LFE86:
- 3604 .section .text.UART_DMARxOnlyAbortCallback,"ax",%progbits
- 3605 .align 1
- 3606 .syntax unified
- 3607 .thumb
- 3608 .thumb_func
- 3609 .fpu softvfp
- 3611 UART_DMARxOnlyAbortCallback:
- 3612 .LFB115:
-2898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent;
- 3613 .loc 1 2898 0
- 3614 .cfi_startproc
- 3615 @ args = 0, pretend = 0, frame = 0
- 3616 @ frame_needed = 0, uses_anonymous_args = 0
- 3617 .LVL333:
- 3618 0000 08B5 push {r3, lr}
- 3619 .LCFI46:
-ARM GAS /tmp/ccFcN4UJ.s page 128
-
-
- 3620 .cfi_def_cfa_offset 8
- 3621 .cfi_offset 3, -8
- 3622 .cfi_offset 14, -4
-2899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3623 .loc 1 2899 0
- 3624 0002 406A ldr r0, [r0, #36]
- 3625 .LVL334:
-2901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3626 .loc 1 2901 0
- 3627 0004 0023 movs r3, #0
- 3628 0006 C385 strh r3, [r0, #46] @ movhi
-2904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3629 .loc 1 2904 0
- 3630 0008 2023 movs r3, #32
- 3631 000a 80F83A30 strb r3, [r0, #58]
-2912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** #endif /* USE_HAL_UART_REGISTER_CALLBACKS */
- 3632 .loc 1 2912 0
- 3633 000e FFF7FEFF bl HAL_UART_AbortReceiveCpltCallback
- 3634 .LVL335:
- 3635 0012 08BD pop {r3, pc}
- 3636 .cfi_endproc
- 3637 .LFE115:
- 3639 .section .text.HAL_LIN_SendBreak,"ax",%progbits
- 3640 .align 1
- 3641 .global HAL_LIN_SendBreak
- 3642 .syntax unified
- 3643 .thumb
- 3644 .thumb_func
- 3645 .fpu softvfp
- 3647 HAL_LIN_SendBreak:
- 3648 .LFB96:
-2313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the parameters */
- 3649 .loc 1 2313 0
- 3650 .cfi_startproc
- 3651 @ args = 0, pretend = 0, frame = 0
- 3652 @ frame_needed = 0, uses_anonymous_args = 0
- 3653 @ link register save eliminated.
- 3654 .LVL336:
-2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3655 .loc 1 2318 0
- 3656 0000 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2
- 3657 0004 012B cmp r3, #1
- 3658 0006 12D0 beq .L307
-2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3659 .loc 1 2318 0 is_stmt 0 discriminator 2
- 3660 0008 0123 movs r3, #1
- 3661 000a 80F83830 strb r3, [r0, #56]
-2320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3662 .loc 1 2320 0 is_stmt 1 discriminator 2
- 3663 000e 2423 movs r3, #36
- 3664 0010 80F83930 strb r3, [r0, #57]
-2323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3665 .loc 1 2323 0 discriminator 2
- 3666 0014 0268 ldr r2, [r0]
- 3667 0016 D368 ldr r3, [r2, #12]
- 3668 0018 43F00103 orr r3, r3, #1
- 3669 001c D360 str r3, [r2, #12]
-ARM GAS /tmp/ccFcN4UJ.s page 129
-
-
-2325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3670 .loc 1 2325 0 discriminator 2
- 3671 001e 2023 movs r3, #32
- 3672 0020 80F83930 strb r3, [r0, #57]
-2328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3673 .loc 1 2328 0 discriminator 2
- 3674 0024 0023 movs r3, #0
- 3675 0026 80F83830 strb r3, [r0, #56]
-2330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 3676 .loc 1 2330 0 discriminator 2
- 3677 002a 1846 mov r0, r3
- 3678 .LVL337:
- 3679 002c 7047 bx lr
- 3680 .LVL338:
- 3681 .L307:
-2318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3682 .loc 1 2318 0
- 3683 002e 0220 movs r0, #2
- 3684 .LVL339:
-2331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3685 .loc 1 2331 0
- 3686 0030 7047 bx lr
- 3687 .cfi_endproc
- 3688 .LFE96:
- 3690 .section .text.HAL_MultiProcessor_EnterMuteMode,"ax",%progbits
- 3691 .align 1
- 3692 .global HAL_MultiProcessor_EnterMuteMode
- 3693 .syntax unified
- 3694 .thumb
- 3695 .thumb_func
- 3696 .fpu softvfp
- 3698 HAL_MultiProcessor_EnterMuteMode:
- 3699 .LFB97:
-2340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the parameters */
- 3700 .loc 1 2340 0
- 3701 .cfi_startproc
- 3702 @ args = 0, pretend = 0, frame = 0
- 3703 @ frame_needed = 0, uses_anonymous_args = 0
- 3704 @ link register save eliminated.
- 3705 .LVL340:
-2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3706 .loc 1 2345 0
- 3707 0000 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2
- 3708 0004 012B cmp r3, #1
- 3709 0006 12D0 beq .L310
-2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3710 .loc 1 2345 0 is_stmt 0 discriminator 2
- 3711 0008 0123 movs r3, #1
- 3712 000a 80F83830 strb r3, [r0, #56]
-2347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3713 .loc 1 2347 0 is_stmt 1 discriminator 2
- 3714 000e 2423 movs r3, #36
- 3715 0010 80F83930 strb r3, [r0, #57]
-2350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3716 .loc 1 2350 0 discriminator 2
- 3717 0014 0268 ldr r2, [r0]
- 3718 0016 D368 ldr r3, [r2, #12]
-ARM GAS /tmp/ccFcN4UJ.s page 130
-
-
- 3719 0018 43F00203 orr r3, r3, #2
- 3720 001c D360 str r3, [r2, #12]
-2352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3721 .loc 1 2352 0 discriminator 2
- 3722 001e 2023 movs r3, #32
- 3723 0020 80F83930 strb r3, [r0, #57]
-2355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3724 .loc 1 2355 0 discriminator 2
- 3725 0024 0023 movs r3, #0
- 3726 0026 80F83830 strb r3, [r0, #56]
-2357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 3727 .loc 1 2357 0 discriminator 2
- 3728 002a 1846 mov r0, r3
- 3729 .LVL341:
- 3730 002c 7047 bx lr
- 3731 .LVL342:
- 3732 .L310:
-2345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3733 .loc 1 2345 0
- 3734 002e 0220 movs r0, #2
- 3735 .LVL343:
-2358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3736 .loc 1 2358 0
- 3737 0030 7047 bx lr
- 3738 .cfi_endproc
- 3739 .LFE97:
- 3741 .section .text.HAL_MultiProcessor_ExitMuteMode,"ax",%progbits
- 3742 .align 1
- 3743 .global HAL_MultiProcessor_ExitMuteMode
- 3744 .syntax unified
- 3745 .thumb
- 3746 .thumb_func
- 3747 .fpu softvfp
- 3749 HAL_MultiProcessor_ExitMuteMode:
- 3750 .LFB98:
-2367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** /* Check the parameters */
- 3751 .loc 1 2367 0
- 3752 .cfi_startproc
- 3753 @ args = 0, pretend = 0, frame = 0
- 3754 @ frame_needed = 0, uses_anonymous_args = 0
- 3755 @ link register save eliminated.
- 3756 .LVL344:
-2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3757 .loc 1 2372 0
- 3758 0000 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2
- 3759 0004 012B cmp r3, #1
- 3760 0006 12D0 beq .L313
-2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3761 .loc 1 2372 0 is_stmt 0 discriminator 2
- 3762 0008 0123 movs r3, #1
- 3763 000a 80F83830 strb r3, [r0, #56]
-2374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3764 .loc 1 2374 0 is_stmt 1 discriminator 2
- 3765 000e 2423 movs r3, #36
- 3766 0010 80F83930 strb r3, [r0, #57]
-2377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3767 .loc 1 2377 0 discriminator 2
-ARM GAS /tmp/ccFcN4UJ.s page 131
-
-
- 3768 0014 0268 ldr r2, [r0]
- 3769 0016 D368 ldr r3, [r2, #12]
- 3770 0018 23F00203 bic r3, r3, #2
- 3771 001c D360 str r3, [r2, #12]
-2379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3772 .loc 1 2379 0 discriminator 2
- 3773 001e 2023 movs r3, #32
- 3774 0020 80F83930 strb r3, [r0, #57]
-2382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3775 .loc 1 2382 0 discriminator 2
- 3776 0024 0023 movs r3, #0
- 3777 0026 80F83830 strb r3, [r0, #56]
-2384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 3778 .loc 1 2384 0 discriminator 2
- 3779 002a 1846 mov r0, r3
- 3780 .LVL345:
- 3781 002c 7047 bx lr
- 3782 .LVL346:
- 3783 .L313:
-2372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3784 .loc 1 2372 0
- 3785 002e 0220 movs r0, #2
- 3786 .LVL347:
-2385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3787 .loc 1 2385 0
- 3788 0030 7047 bx lr
- 3789 .cfi_endproc
- 3790 .LFE98:
- 3792 .section .text.HAL_HalfDuplex_EnableTransmitter,"ax",%progbits
- 3793 .align 1
- 3794 .global HAL_HalfDuplex_EnableTransmitter
- 3795 .syntax unified
- 3796 .thumb
- 3797 .thumb_func
- 3798 .fpu softvfp
- 3800 HAL_HalfDuplex_EnableTransmitter:
- 3801 .LFB99:
-2394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t tmpreg = 0x00U;
- 3802 .loc 1 2394 0
- 3803 .cfi_startproc
- 3804 @ args = 0, pretend = 0, frame = 0
- 3805 @ frame_needed = 0, uses_anonymous_args = 0
- 3806 @ link register save eliminated.
- 3807 .LVL348:
-2398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3808 .loc 1 2398 0
- 3809 0000 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2
- 3810 0004 012B cmp r3, #1
- 3811 0006 14D0 beq .L316
-2398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3812 .loc 1 2398 0 is_stmt 0 discriminator 2
- 3813 0008 0123 movs r3, #1
- 3814 000a 80F83830 strb r3, [r0, #56]
-2400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3815 .loc 1 2400 0 is_stmt 1 discriminator 2
- 3816 000e 2423 movs r3, #36
- 3817 0010 80F83930 strb r3, [r0, #57]
-ARM GAS /tmp/ccFcN4UJ.s page 132
-
-
-2403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3818 .loc 1 2403 0 discriminator 2
- 3819 0014 0268 ldr r2, [r0]
- 3820 0016 D368 ldr r3, [r2, #12]
- 3821 .LVL349:
-2406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3822 .loc 1 2406 0 discriminator 2
- 3823 0018 23F00C03 bic r3, r3, #12
- 3824 .LVL350:
-2409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3825 .loc 1 2409 0 discriminator 2
- 3826 001c 43F00803 orr r3, r3, #8
- 3827 .LVL351:
-2412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3828 .loc 1 2412 0 discriminator 2
- 3829 0020 D360 str r3, [r2, #12]
-2414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3830 .loc 1 2414 0 discriminator 2
- 3831 0022 2023 movs r3, #32
- 3832 .LVL352:
- 3833 0024 80F83930 strb r3, [r0, #57]
- 3834 .LVL353:
-2417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3835 .loc 1 2417 0 discriminator 2
- 3836 0028 0023 movs r3, #0
- 3837 002a 80F83830 strb r3, [r0, #56]
-2419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 3838 .loc 1 2419 0 discriminator 2
- 3839 002e 1846 mov r0, r3
- 3840 .LVL354:
- 3841 0030 7047 bx lr
- 3842 .LVL355:
- 3843 .L316:
-2398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3844 .loc 1 2398 0
- 3845 0032 0220 movs r0, #2
- 3846 .LVL356:
-2420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3847 .loc 1 2420 0
- 3848 0034 7047 bx lr
- 3849 .cfi_endproc
- 3850 .LFE99:
- 3852 .section .text.HAL_HalfDuplex_EnableReceiver,"ax",%progbits
- 3853 .align 1
- 3854 .global HAL_HalfDuplex_EnableReceiver
- 3855 .syntax unified
- 3856 .thumb
- 3857 .thumb_func
- 3858 .fpu softvfp
- 3860 HAL_HalfDuplex_EnableReceiver:
- 3861 .LFB100:
-2429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t tmpreg = 0x00U;
- 3862 .loc 1 2429 0
- 3863 .cfi_startproc
- 3864 @ args = 0, pretend = 0, frame = 0
- 3865 @ frame_needed = 0, uses_anonymous_args = 0
- 3866 @ link register save eliminated.
-ARM GAS /tmp/ccFcN4UJ.s page 133
-
-
- 3867 .LVL357:
-2433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3868 .loc 1 2433 0
- 3869 0000 90F83830 ldrb r3, [r0, #56] @ zero_extendqisi2
- 3870 0004 012B cmp r3, #1
- 3871 0006 14D0 beq .L319
-2433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3872 .loc 1 2433 0 is_stmt 0 discriminator 2
- 3873 0008 0123 movs r3, #1
- 3874 000a 80F83830 strb r3, [r0, #56]
-2435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3875 .loc 1 2435 0 is_stmt 1 discriminator 2
- 3876 000e 2423 movs r3, #36
- 3877 0010 80F83930 strb r3, [r0, #57]
-2438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3878 .loc 1 2438 0 discriminator 2
- 3879 0014 0268 ldr r2, [r0]
- 3880 0016 D368 ldr r3, [r2, #12]
- 3881 .LVL358:
-2441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3882 .loc 1 2441 0 discriminator 2
- 3883 0018 23F00C03 bic r3, r3, #12
- 3884 .LVL359:
-2444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3885 .loc 1 2444 0 discriminator 2
- 3886 001c 43F00403 orr r3, r3, #4
- 3887 .LVL360:
-2447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3888 .loc 1 2447 0 discriminator 2
- 3889 0020 D360 str r3, [r2, #12]
-2449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3890 .loc 1 2449 0 discriminator 2
- 3891 0022 2023 movs r3, #32
- 3892 .LVL361:
- 3893 0024 80F83930 strb r3, [r0, #57]
- 3894 .LVL362:
-2452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3895 .loc 1 2452 0 discriminator 2
- 3896 0028 0023 movs r3, #0
- 3897 002a 80F83830 strb r3, [r0, #56]
-2454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 3898 .loc 1 2454 0 discriminator 2
- 3899 002e 1846 mov r0, r3
- 3900 .LVL363:
- 3901 0030 7047 bx lr
- 3902 .LVL364:
- 3903 .L319:
-2433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3904 .loc 1 2433 0
- 3905 0032 0220 movs r0, #2
- 3906 .LVL365:
-2455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3907 .loc 1 2455 0
- 3908 0034 7047 bx lr
- 3909 .cfi_endproc
- 3910 .LFE100:
- 3912 .section .text.HAL_UART_GetState,"ax",%progbits
-ARM GAS /tmp/ccFcN4UJ.s page 134
-
-
- 3913 .align 1
- 3914 .global HAL_UART_GetState
- 3915 .syntax unified
- 3916 .thumb
- 3917 .thumb_func
- 3918 .fpu softvfp
- 3920 HAL_UART_GetState:
- 3921 .LFB101:
-2486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** uint32_t temp1 = 0x00U, temp2 = 0x00U;
- 3922 .loc 1 2486 0
- 3923 .cfi_startproc
- 3924 @ args = 0, pretend = 0, frame = 0
- 3925 @ frame_needed = 0, uses_anonymous_args = 0
- 3926 @ link register save eliminated.
- 3927 .LVL366:
-2488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** temp2 = huart->RxState;
- 3928 .loc 1 2488 0
- 3929 0000 90F83930 ldrb r3, [r0, #57] @ zero_extendqisi2
- 3930 .LVL367:
-2489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3931 .loc 1 2489 0
- 3932 0004 90F83A00 ldrb r0, [r0, #58] @ zero_extendqisi2
- 3933 .LVL368:
-2492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3934 .loc 1 2492 0
- 3935 0008 1843 orrs r0, r0, r3
- 3936 .LVL369:
- 3937 000a 7047 bx lr
- 3938 .cfi_endproc
- 3939 .LFE101:
- 3941 .section .text.HAL_UART_GetError,"ax",%progbits
- 3942 .align 1
- 3943 .global HAL_UART_GetError
- 3944 .syntax unified
- 3945 .thumb
- 3946 .thumb_func
- 3947 .fpu softvfp
- 3949 HAL_UART_GetError:
- 3950 .LFB102:
-2501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** return huart->ErrorCode;
- 3951 .loc 1 2501 0
- 3952 .cfi_startproc
- 3953 @ args = 0, pretend = 0, frame = 0
- 3954 @ frame_needed = 0, uses_anonymous_args = 0
- 3955 @ link register save eliminated.
- 3956 .LVL370:
-2502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c **** }
- 3957 .loc 1 2502 0
- 3958 0000 C06B ldr r0, [r0, #60]
- 3959 .LVL371:
-2503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_uart.c ****
- 3960 .loc 1 2503 0
- 3961 0002 7047 bx lr
- 3962 .cfi_endproc
- 3963 .LFE102:
- 3965 .text
- 3966 .Letext0:
-ARM GAS /tmp/ccFcN4UJ.s page 135
-
-
- 3967 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 3968 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 3969 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 3970 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 3971 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 3972 .file 7 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h"
- 3973 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 3974 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
- 3975 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h"
- 3976 .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
- 3977 .file 12 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h"
-ARM GAS /tmp/ccFcN4UJ.s page 136
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_hal_uart.c
- /tmp/ccFcN4UJ.s:16 .text.UART_EndTxTransfer:0000000000000000 $t
- /tmp/ccFcN4UJ.s:22 .text.UART_EndTxTransfer:0000000000000000 UART_EndTxTransfer
- /tmp/ccFcN4UJ.s:44 .text.UART_EndRxTransfer:0000000000000000 $t
- /tmp/ccFcN4UJ.s:50 .text.UART_EndRxTransfer:0000000000000000 UART_EndRxTransfer
- /tmp/ccFcN4UJ.s:76 .text.UART_Transmit_IT:0000000000000000 $t
- /tmp/ccFcN4UJ.s:82 .text.UART_Transmit_IT:0000000000000000 UART_Transmit_IT
- /tmp/ccFcN4UJ.s:166 .text.UART_SetConfig:0000000000000000 $t
- /tmp/ccFcN4UJ.s:172 .text.UART_SetConfig:0000000000000000 UART_SetConfig
- /tmp/ccFcN4UJ.s:259 .text.UART_SetConfig:0000000000000088 $d
- /tmp/ccFcN4UJ.s:265 .text.UART_WaitOnFlagUntilTimeout:0000000000000000 $t
- /tmp/ccFcN4UJ.s:271 .text.UART_WaitOnFlagUntilTimeout:0000000000000000 UART_WaitOnFlagUntilTimeout
- /tmp/ccFcN4UJ.s:346 .text.HAL_UART_MspInit:0000000000000000 $t
- /tmp/ccFcN4UJ.s:353 .text.HAL_UART_MspInit:0000000000000000 HAL_UART_MspInit
- /tmp/ccFcN4UJ.s:366 .text.HAL_UART_Init:0000000000000000 $t
- /tmp/ccFcN4UJ.s:373 .text.HAL_UART_Init:0000000000000000 HAL_UART_Init
- /tmp/ccFcN4UJ.s:453 .text.HAL_HalfDuplex_Init:0000000000000000 $t
- /tmp/ccFcN4UJ.s:460 .text.HAL_HalfDuplex_Init:0000000000000000 HAL_HalfDuplex_Init
- /tmp/ccFcN4UJ.s:546 .text.HAL_LIN_Init:0000000000000000 $t
- /tmp/ccFcN4UJ.s:553 .text.HAL_LIN_Init:0000000000000000 HAL_LIN_Init
- /tmp/ccFcN4UJ.s:656 .text.HAL_MultiProcessor_Init:0000000000000000 $t
- /tmp/ccFcN4UJ.s:663 .text.HAL_MultiProcessor_Init:0000000000000000 HAL_MultiProcessor_Init
- /tmp/ccFcN4UJ.s:771 .text.HAL_UART_MspDeInit:0000000000000000 $t
- /tmp/ccFcN4UJ.s:778 .text.HAL_UART_MspDeInit:0000000000000000 HAL_UART_MspDeInit
- /tmp/ccFcN4UJ.s:791 .text.HAL_UART_DeInit:0000000000000000 $t
- /tmp/ccFcN4UJ.s:798 .text.HAL_UART_DeInit:0000000000000000 HAL_UART_DeInit
- /tmp/ccFcN4UJ.s:850 .text.HAL_UART_Transmit:0000000000000000 $t
- /tmp/ccFcN4UJ.s:857 .text.HAL_UART_Transmit:0000000000000000 HAL_UART_Transmit
- /tmp/ccFcN4UJ.s:1039 .text.HAL_UART_Receive:0000000000000000 $t
- /tmp/ccFcN4UJ.s:1046 .text.HAL_UART_Receive:0000000000000000 HAL_UART_Receive
- /tmp/ccFcN4UJ.s:1239 .text.HAL_UART_Transmit_IT:0000000000000000 $t
- /tmp/ccFcN4UJ.s:1246 .text.HAL_UART_Transmit_IT:0000000000000000 HAL_UART_Transmit_IT
- /tmp/ccFcN4UJ.s:1321 .text.HAL_UART_Receive_IT:0000000000000000 $t
- /tmp/ccFcN4UJ.s:1328 .text.HAL_UART_Receive_IT:0000000000000000 HAL_UART_Receive_IT
- /tmp/ccFcN4UJ.s:1413 .text.HAL_UART_Transmit_DMA:0000000000000000 $t
- /tmp/ccFcN4UJ.s:1420 .text.HAL_UART_Transmit_DMA:0000000000000000 HAL_UART_Transmit_DMA
- /tmp/ccFcN4UJ.s:1530 .text.HAL_UART_Transmit_DMA:0000000000000080 $d
- /tmp/ccFcN4UJ.s:2273 .text.UART_DMATransmitCplt:0000000000000000 UART_DMATransmitCplt
- /tmp/ccFcN4UJ.s:2383 .text.UART_DMATxHalfCplt:0000000000000000 UART_DMATxHalfCplt
- /tmp/ccFcN4UJ.s:2689 .text.UART_DMAError:0000000000000000 UART_DMAError
- /tmp/ccFcN4UJ.s:1537 .text.HAL_UART_Receive_DMA:0000000000000000 $t
- /tmp/ccFcN4UJ.s:1544 .text.HAL_UART_Receive_DMA:0000000000000000 HAL_UART_Receive_DMA
- /tmp/ccFcN4UJ.s:1679 .text.HAL_UART_Receive_DMA:000000000000009c $d
- /tmp/ccFcN4UJ.s:2433 .text.UART_DMAReceiveCplt:0000000000000000 UART_DMAReceiveCplt
- /tmp/ccFcN4UJ.s:2639 .text.UART_DMARxHalfCplt:0000000000000000 UART_DMARxHalfCplt
- /tmp/ccFcN4UJ.s:1686 .text.HAL_UART_DMAPause:0000000000000000 $t
- /tmp/ccFcN4UJ.s:1693 .text.HAL_UART_DMAPause:0000000000000000 HAL_UART_DMAPause
- /tmp/ccFcN4UJ.s:1780 .text.HAL_UART_DMAResume:0000000000000000 $t
- /tmp/ccFcN4UJ.s:1787 .text.HAL_UART_DMAResume:0000000000000000 HAL_UART_DMAResume
- /tmp/ccFcN4UJ.s:1881 .text.HAL_UART_DMAStop:0000000000000000 $t
- /tmp/ccFcN4UJ.s:1888 .text.HAL_UART_DMAStop:0000000000000000 HAL_UART_DMAStop
- /tmp/ccFcN4UJ.s:1977 .text.HAL_UART_Abort:0000000000000000 $t
- /tmp/ccFcN4UJ.s:1984 .text.HAL_UART_Abort:0000000000000000 HAL_UART_Abort
- /tmp/ccFcN4UJ.s:2096 .text.HAL_UART_AbortTransmit:0000000000000000 $t
- /tmp/ccFcN4UJ.s:2103 .text.HAL_UART_AbortTransmit:0000000000000000 HAL_UART_AbortTransmit
- /tmp/ccFcN4UJ.s:2169 .text.HAL_UART_AbortReceive:0000000000000000 $t
-ARM GAS /tmp/ccFcN4UJ.s page 137
-
-
- /tmp/ccFcN4UJ.s:2176 .text.HAL_UART_AbortReceive:0000000000000000 HAL_UART_AbortReceive
- /tmp/ccFcN4UJ.s:2247 .text.HAL_UART_TxCpltCallback:0000000000000000 $t
- /tmp/ccFcN4UJ.s:2254 .text.HAL_UART_TxCpltCallback:0000000000000000 HAL_UART_TxCpltCallback
- /tmp/ccFcN4UJ.s:2267 .text.UART_DMATransmitCplt:0000000000000000 $t
- /tmp/ccFcN4UJ.s:2321 .text.UART_EndTransmit_IT:0000000000000000 $t
- /tmp/ccFcN4UJ.s:2327 .text.UART_EndTransmit_IT:0000000000000000 UART_EndTransmit_IT
- /tmp/ccFcN4UJ.s:2357 .text.HAL_UART_TxHalfCpltCallback:0000000000000000 $t
- /tmp/ccFcN4UJ.s:2364 .text.HAL_UART_TxHalfCpltCallback:0000000000000000 HAL_UART_TxHalfCpltCallback
- /tmp/ccFcN4UJ.s:2377 .text.UART_DMATxHalfCplt:0000000000000000 $t
- /tmp/ccFcN4UJ.s:2407 .text.HAL_UART_RxCpltCallback:0000000000000000 $t
- /tmp/ccFcN4UJ.s:2414 .text.HAL_UART_RxCpltCallback:0000000000000000 HAL_UART_RxCpltCallback
- /tmp/ccFcN4UJ.s:2427 .text.UART_DMAReceiveCplt:0000000000000000 $t
- /tmp/ccFcN4UJ.s:2486 .text.UART_Receive_IT:0000000000000000 $t
- /tmp/ccFcN4UJ.s:2492 .text.UART_Receive_IT:0000000000000000 UART_Receive_IT
- /tmp/ccFcN4UJ.s:2613 .text.HAL_UART_RxHalfCpltCallback:0000000000000000 $t
- /tmp/ccFcN4UJ.s:2620 .text.HAL_UART_RxHalfCpltCallback:0000000000000000 HAL_UART_RxHalfCpltCallback
- /tmp/ccFcN4UJ.s:2633 .text.UART_DMARxHalfCplt:0000000000000000 $t
- /tmp/ccFcN4UJ.s:2663 .text.HAL_UART_ErrorCallback:0000000000000000 $t
- /tmp/ccFcN4UJ.s:2670 .text.HAL_UART_ErrorCallback:0000000000000000 HAL_UART_ErrorCallback
- /tmp/ccFcN4UJ.s:2683 .text.UART_DMAError:0000000000000000 $t
- /tmp/ccFcN4UJ.s:2771 .text.HAL_UART_IRQHandler:0000000000000000 $t
- /tmp/ccFcN4UJ.s:2778 .text.HAL_UART_IRQHandler:0000000000000000 HAL_UART_IRQHandler
- /tmp/ccFcN4UJ.s:3002 .text.HAL_UART_IRQHandler:0000000000000124 $d
- /tmp/ccFcN4UJ.s:3013 .text.UART_DMAAbortOnError:0000000000000000 UART_DMAAbortOnError
- /tmp/ccFcN4UJ.s:3007 .text.UART_DMAAbortOnError:0000000000000000 $t
- /tmp/ccFcN4UJ.s:3041 .text.HAL_UART_AbortCpltCallback:0000000000000000 $t
- /tmp/ccFcN4UJ.s:3048 .text.HAL_UART_AbortCpltCallback:0000000000000000 HAL_UART_AbortCpltCallback
- /tmp/ccFcN4UJ.s:3061 .text.HAL_UART_Abort_IT:0000000000000000 $t
- /tmp/ccFcN4UJ.s:3068 .text.HAL_UART_Abort_IT:0000000000000000 HAL_UART_Abort_IT
- /tmp/ccFcN4UJ.s:3225 .text.HAL_UART_Abort_IT:00000000000000c0 $d
- /tmp/ccFcN4UJ.s:3293 .text.UART_DMATxAbortCallback:0000000000000000 UART_DMATxAbortCallback
- /tmp/ccFcN4UJ.s:3237 .text.UART_DMARxAbortCallback:0000000000000000 UART_DMARxAbortCallback
- /tmp/ccFcN4UJ.s:3231 .text.UART_DMARxAbortCallback:0000000000000000 $t
- /tmp/ccFcN4UJ.s:3287 .text.UART_DMATxAbortCallback:0000000000000000 $t
- /tmp/ccFcN4UJ.s:3343 .text.HAL_UART_AbortTransmitCpltCallback:0000000000000000 $t
- /tmp/ccFcN4UJ.s:3350 .text.HAL_UART_AbortTransmitCpltCallback:0000000000000000 HAL_UART_AbortTransmitCpltCallback
- /tmp/ccFcN4UJ.s:3363 .text.HAL_UART_AbortTransmit_IT:0000000000000000 $t
- /tmp/ccFcN4UJ.s:3370 .text.HAL_UART_AbortTransmit_IT:0000000000000000 HAL_UART_AbortTransmit_IT
- /tmp/ccFcN4UJ.s:3449 .text.HAL_UART_AbortTransmit_IT:000000000000005c $d
- /tmp/ccFcN4UJ.s:3460 .text.UART_DMATxOnlyAbortCallback:0000000000000000 UART_DMATxOnlyAbortCallback
- /tmp/ccFcN4UJ.s:3454 .text.UART_DMATxOnlyAbortCallback:0000000000000000 $t
- /tmp/ccFcN4UJ.s:3489 .text.HAL_UART_AbortReceiveCpltCallback:0000000000000000 $t
- /tmp/ccFcN4UJ.s:3496 .text.HAL_UART_AbortReceiveCpltCallback:0000000000000000 HAL_UART_AbortReceiveCpltCallback
- /tmp/ccFcN4UJ.s:3509 .text.HAL_UART_AbortReceive_IT:0000000000000000 $t
- /tmp/ccFcN4UJ.s:3516 .text.HAL_UART_AbortReceive_IT:0000000000000000 HAL_UART_AbortReceive_IT
- /tmp/ccFcN4UJ.s:3600 .text.HAL_UART_AbortReceive_IT:0000000000000068 $d
- /tmp/ccFcN4UJ.s:3611 .text.UART_DMARxOnlyAbortCallback:0000000000000000 UART_DMARxOnlyAbortCallback
- /tmp/ccFcN4UJ.s:3605 .text.UART_DMARxOnlyAbortCallback:0000000000000000 $t
- /tmp/ccFcN4UJ.s:3640 .text.HAL_LIN_SendBreak:0000000000000000 $t
- /tmp/ccFcN4UJ.s:3647 .text.HAL_LIN_SendBreak:0000000000000000 HAL_LIN_SendBreak
- /tmp/ccFcN4UJ.s:3691 .text.HAL_MultiProcessor_EnterMuteMode:0000000000000000 $t
- /tmp/ccFcN4UJ.s:3698 .text.HAL_MultiProcessor_EnterMuteMode:0000000000000000 HAL_MultiProcessor_EnterMuteMode
- /tmp/ccFcN4UJ.s:3742 .text.HAL_MultiProcessor_ExitMuteMode:0000000000000000 $t
- /tmp/ccFcN4UJ.s:3749 .text.HAL_MultiProcessor_ExitMuteMode:0000000000000000 HAL_MultiProcessor_ExitMuteMode
- /tmp/ccFcN4UJ.s:3793 .text.HAL_HalfDuplex_EnableTransmitter:0000000000000000 $t
- /tmp/ccFcN4UJ.s:3800 .text.HAL_HalfDuplex_EnableTransmitter:0000000000000000 HAL_HalfDuplex_EnableTransmitter
- /tmp/ccFcN4UJ.s:3853 .text.HAL_HalfDuplex_EnableReceiver:0000000000000000 $t
-ARM GAS /tmp/ccFcN4UJ.s page 138
-
-
- /tmp/ccFcN4UJ.s:3860 .text.HAL_HalfDuplex_EnableReceiver:0000000000000000 HAL_HalfDuplex_EnableReceiver
- /tmp/ccFcN4UJ.s:3913 .text.HAL_UART_GetState:0000000000000000 $t
- /tmp/ccFcN4UJ.s:3920 .text.HAL_UART_GetState:0000000000000000 HAL_UART_GetState
- /tmp/ccFcN4UJ.s:3942 .text.HAL_UART_GetError:0000000000000000 $t
- /tmp/ccFcN4UJ.s:3949 .text.HAL_UART_GetError:0000000000000000 HAL_UART_GetError
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-HAL_RCC_GetPCLK1Freq
-HAL_RCC_GetPCLK2Freq
-HAL_GetTick
-HAL_DMA_Start_IT
-HAL_DMA_Abort
-HAL_DMA_GetError
-HAL_DMA_Abort_IT
diff --git a/build/stm32f1xx_hal_uart.o b/build/stm32f1xx_hal_uart.o
deleted file mode 100644
index 223c440..0000000
Binary files a/build/stm32f1xx_hal_uart.o and /dev/null differ
diff --git a/build/stm32f1xx_it.d b/build/stm32f1xx_it.d
deleted file mode 100644
index 197ca3d..0000000
--- a/build/stm32f1xx_it.d
+++ /dev/null
@@ -1,99 +0,0 @@
-build/stm32f1xx_it.o: Core/Src/stm32f1xx_it.c Core/Inc/main.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h \
- Core/Inc/stm32f1xx_it.h Core/Inc/User/user_isr.h
-
-Core/Inc/main.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
-
-Core/Inc/stm32f1xx_it.h:
-
-Core/Inc/User/user_isr.h:
diff --git a/build/stm32f1xx_it.lst b/build/stm32f1xx_it.lst
deleted file mode 100644
index faa5f7c..0000000
--- a/build/stm32f1xx_it.lst
+++ /dev/null
@@ -1,498 +0,0 @@
-ARM GAS /tmp/cc1f7NlA.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "stm32f1xx_it.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.NMI_Handler,"ax",%progbits
- 16 .align 1
- 17 .global NMI_Handler
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 NMI_Handler:
- 24 .LFB65:
- 25 .file 1 "Core/Src/stm32f1xx_it.c"
- 1:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN Header */
- 2:Core/Src/stm32f1xx_it.c **** /**
- 3:Core/Src/stm32f1xx_it.c **** ******************************************************************************
- 4:Core/Src/stm32f1xx_it.c **** * @file stm32f1xx_it.c
- 5:Core/Src/stm32f1xx_it.c **** * @brief Interrupt Service Routines.
- 6:Core/Src/stm32f1xx_it.c **** ******************************************************************************
- 7:Core/Src/stm32f1xx_it.c **** * @attention
- 8:Core/Src/stm32f1xx_it.c **** *
- 9:Core/Src/stm32f1xx_it.c **** * © Copyright (c) 2021 STMicroelectronics.
- 10:Core/Src/stm32f1xx_it.c **** * All rights reserved.
- 11:Core/Src/stm32f1xx_it.c **** *
- 12:Core/Src/stm32f1xx_it.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 13:Core/Src/stm32f1xx_it.c **** * the "License"; You may not use this file except in compliance with the
- 14:Core/Src/stm32f1xx_it.c **** * License. You may obtain a copy of the License at:
- 15:Core/Src/stm32f1xx_it.c **** * opensource.org/licenses/BSD-3-Clause
- 16:Core/Src/stm32f1xx_it.c **** *
- 17:Core/Src/stm32f1xx_it.c **** ******************************************************************************
- 18:Core/Src/stm32f1xx_it.c **** */
- 19:Core/Src/stm32f1xx_it.c **** /* USER CODE END Header */
- 20:Core/Src/stm32f1xx_it.c ****
- 21:Core/Src/stm32f1xx_it.c **** /* Includes ------------------------------------------------------------------*/
- 22:Core/Src/stm32f1xx_it.c **** #include "main.h"
- 23:Core/Src/stm32f1xx_it.c **** #include "stm32f1xx_it.h"
- 24:Core/Src/stm32f1xx_it.c **** /* Private includes ----------------------------------------------------------*/
- 25:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN Includes */
- 26:Core/Src/stm32f1xx_it.c **** #include "user_isr.h"
- 27:Core/Src/stm32f1xx_it.c **** /* USER CODE END Includes */
- 28:Core/Src/stm32f1xx_it.c ****
- 29:Core/Src/stm32f1xx_it.c **** /* Private typedef -----------------------------------------------------------*/
- 30:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN TD */
- 31:Core/Src/stm32f1xx_it.c ****
- 32:Core/Src/stm32f1xx_it.c **** /* USER CODE END TD */
- 33:Core/Src/stm32f1xx_it.c ****
-ARM GAS /tmp/cc1f7NlA.s page 2
-
-
- 34:Core/Src/stm32f1xx_it.c **** /* Private define ------------------------------------------------------------*/
- 35:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN PD */
- 36:Core/Src/stm32f1xx_it.c ****
- 37:Core/Src/stm32f1xx_it.c **** /* USER CODE END PD */
- 38:Core/Src/stm32f1xx_it.c ****
- 39:Core/Src/stm32f1xx_it.c **** /* Private macro -------------------------------------------------------------*/
- 40:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN PM */
- 41:Core/Src/stm32f1xx_it.c ****
- 42:Core/Src/stm32f1xx_it.c **** /* USER CODE END PM */
- 43:Core/Src/stm32f1xx_it.c ****
- 44:Core/Src/stm32f1xx_it.c **** /* Private variables ---------------------------------------------------------*/
- 45:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN PV */
- 46:Core/Src/stm32f1xx_it.c ****
- 47:Core/Src/stm32f1xx_it.c **** /* USER CODE END PV */
- 48:Core/Src/stm32f1xx_it.c ****
- 49:Core/Src/stm32f1xx_it.c **** /* Private function prototypes -----------------------------------------------*/
- 50:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN PFP */
- 51:Core/Src/stm32f1xx_it.c ****
- 52:Core/Src/stm32f1xx_it.c **** /* USER CODE END PFP */
- 53:Core/Src/stm32f1xx_it.c ****
- 54:Core/Src/stm32f1xx_it.c **** /* Private user code ---------------------------------------------------------*/
- 55:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN 0 */
- 56:Core/Src/stm32f1xx_it.c ****
- 57:Core/Src/stm32f1xx_it.c **** /* USER CODE END 0 */
- 58:Core/Src/stm32f1xx_it.c ****
- 59:Core/Src/stm32f1xx_it.c **** /* External variables --------------------------------------------------------*/
- 60:Core/Src/stm32f1xx_it.c **** extern TIM_HandleTypeDef htim4;
- 61:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN EV */
- 62:Core/Src/stm32f1xx_it.c ****
- 63:Core/Src/stm32f1xx_it.c **** /* USER CODE END EV */
- 64:Core/Src/stm32f1xx_it.c ****
- 65:Core/Src/stm32f1xx_it.c **** /******************************************************************************/
- 66:Core/Src/stm32f1xx_it.c **** /* Cortex-M3 Processor Interruption and Exception Handlers */
- 67:Core/Src/stm32f1xx_it.c **** /******************************************************************************/
- 68:Core/Src/stm32f1xx_it.c **** /**
- 69:Core/Src/stm32f1xx_it.c **** * @brief This function handles Non maskable interrupt.
- 70:Core/Src/stm32f1xx_it.c **** */
- 71:Core/Src/stm32f1xx_it.c **** void NMI_Handler(void)
- 72:Core/Src/stm32f1xx_it.c **** {
- 26 .loc 1 72 0
- 27 .cfi_startproc
- 28 @ Volatile: function does not return.
- 29 @ args = 0, pretend = 0, frame = 0
- 30 @ frame_needed = 0, uses_anonymous_args = 0
- 31 @ link register save eliminated.
- 32 .L2:
- 33 0000 FEE7 b .L2
- 34 .cfi_endproc
- 35 .LFE65:
- 37 .section .text.HardFault_Handler,"ax",%progbits
- 38 .align 1
- 39 .global HardFault_Handler
- 40 .syntax unified
- 41 .thumb
- 42 .thumb_func
- 43 .fpu softvfp
- 45 HardFault_Handler:
-ARM GAS /tmp/cc1f7NlA.s page 3
-
-
- 46 .LFB66:
- 73:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN NonMaskableInt_IRQn 0 */
- 74:Core/Src/stm32f1xx_it.c ****
- 75:Core/Src/stm32f1xx_it.c **** /* USER CODE END NonMaskableInt_IRQn 0 */
- 76:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN NonMaskableInt_IRQn 1 */
- 77:Core/Src/stm32f1xx_it.c **** while (1)
- 78:Core/Src/stm32f1xx_it.c **** {
- 79:Core/Src/stm32f1xx_it.c **** }
- 80:Core/Src/stm32f1xx_it.c **** /* USER CODE END NonMaskableInt_IRQn 1 */
- 81:Core/Src/stm32f1xx_it.c **** }
- 82:Core/Src/stm32f1xx_it.c ****
- 83:Core/Src/stm32f1xx_it.c **** /**
- 84:Core/Src/stm32f1xx_it.c **** * @brief This function handles Hard fault interrupt.
- 85:Core/Src/stm32f1xx_it.c **** */
- 86:Core/Src/stm32f1xx_it.c **** void HardFault_Handler(void)
- 87:Core/Src/stm32f1xx_it.c **** {
- 47 .loc 1 87 0
- 48 .cfi_startproc
- 49 @ Volatile: function does not return.
- 50 @ args = 0, pretend = 0, frame = 0
- 51 @ frame_needed = 0, uses_anonymous_args = 0
- 52 @ link register save eliminated.
- 53 .L4:
- 54 0000 FEE7 b .L4
- 55 .cfi_endproc
- 56 .LFE66:
- 58 .section .text.MemManage_Handler,"ax",%progbits
- 59 .align 1
- 60 .global MemManage_Handler
- 61 .syntax unified
- 62 .thumb
- 63 .thumb_func
- 64 .fpu softvfp
- 66 MemManage_Handler:
- 67 .LFB67:
- 88:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN HardFault_IRQn 0 */
- 89:Core/Src/stm32f1xx_it.c ****
- 90:Core/Src/stm32f1xx_it.c **** /* USER CODE END HardFault_IRQn 0 */
- 91:Core/Src/stm32f1xx_it.c **** while (1)
- 92:Core/Src/stm32f1xx_it.c **** {
- 93:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN W1_HardFault_IRQn 0 */
- 94:Core/Src/stm32f1xx_it.c **** /* USER CODE END W1_HardFault_IRQn 0 */
- 95:Core/Src/stm32f1xx_it.c **** }
- 96:Core/Src/stm32f1xx_it.c **** }
- 97:Core/Src/stm32f1xx_it.c ****
- 98:Core/Src/stm32f1xx_it.c **** /**
- 99:Core/Src/stm32f1xx_it.c **** * @brief This function handles Memory management fault.
- 100:Core/Src/stm32f1xx_it.c **** */
- 101:Core/Src/stm32f1xx_it.c **** void MemManage_Handler(void)
- 102:Core/Src/stm32f1xx_it.c **** {
- 68 .loc 1 102 0
- 69 .cfi_startproc
- 70 @ Volatile: function does not return.
- 71 @ args = 0, pretend = 0, frame = 0
- 72 @ frame_needed = 0, uses_anonymous_args = 0
- 73 @ link register save eliminated.
- 74 .L6:
-ARM GAS /tmp/cc1f7NlA.s page 4
-
-
- 75 0000 FEE7 b .L6
- 76 .cfi_endproc
- 77 .LFE67:
- 79 .section .text.BusFault_Handler,"ax",%progbits
- 80 .align 1
- 81 .global BusFault_Handler
- 82 .syntax unified
- 83 .thumb
- 84 .thumb_func
- 85 .fpu softvfp
- 87 BusFault_Handler:
- 88 .LFB68:
- 103:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN MemoryManagement_IRQn 0 */
- 104:Core/Src/stm32f1xx_it.c ****
- 105:Core/Src/stm32f1xx_it.c **** /* USER CODE END MemoryManagement_IRQn 0 */
- 106:Core/Src/stm32f1xx_it.c **** while (1)
- 107:Core/Src/stm32f1xx_it.c **** {
- 108:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN W1_MemoryManagement_IRQn 0 */
- 109:Core/Src/stm32f1xx_it.c **** /* USER CODE END W1_MemoryManagement_IRQn 0 */
- 110:Core/Src/stm32f1xx_it.c **** }
- 111:Core/Src/stm32f1xx_it.c **** }
- 112:Core/Src/stm32f1xx_it.c ****
- 113:Core/Src/stm32f1xx_it.c **** /**
- 114:Core/Src/stm32f1xx_it.c **** * @brief This function handles Prefetch fault, memory access fault.
- 115:Core/Src/stm32f1xx_it.c **** */
- 116:Core/Src/stm32f1xx_it.c **** void BusFault_Handler(void)
- 117:Core/Src/stm32f1xx_it.c **** {
- 89 .loc 1 117 0
- 90 .cfi_startproc
- 91 @ Volatile: function does not return.
- 92 @ args = 0, pretend = 0, frame = 0
- 93 @ frame_needed = 0, uses_anonymous_args = 0
- 94 @ link register save eliminated.
- 95 .L8:
- 96 0000 FEE7 b .L8
- 97 .cfi_endproc
- 98 .LFE68:
- 100 .section .text.UsageFault_Handler,"ax",%progbits
- 101 .align 1
- 102 .global UsageFault_Handler
- 103 .syntax unified
- 104 .thumb
- 105 .thumb_func
- 106 .fpu softvfp
- 108 UsageFault_Handler:
- 109 .LFB69:
- 118:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN BusFault_IRQn 0 */
- 119:Core/Src/stm32f1xx_it.c ****
- 120:Core/Src/stm32f1xx_it.c **** /* USER CODE END BusFault_IRQn 0 */
- 121:Core/Src/stm32f1xx_it.c **** while (1)
- 122:Core/Src/stm32f1xx_it.c **** {
- 123:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN W1_BusFault_IRQn 0 */
- 124:Core/Src/stm32f1xx_it.c **** /* USER CODE END W1_BusFault_IRQn 0 */
- 125:Core/Src/stm32f1xx_it.c **** }
- 126:Core/Src/stm32f1xx_it.c **** }
- 127:Core/Src/stm32f1xx_it.c ****
- 128:Core/Src/stm32f1xx_it.c **** /**
-ARM GAS /tmp/cc1f7NlA.s page 5
-
-
- 129:Core/Src/stm32f1xx_it.c **** * @brief This function handles Undefined instruction or illegal state.
- 130:Core/Src/stm32f1xx_it.c **** */
- 131:Core/Src/stm32f1xx_it.c **** void UsageFault_Handler(void)
- 132:Core/Src/stm32f1xx_it.c **** {
- 110 .loc 1 132 0
- 111 .cfi_startproc
- 112 @ Volatile: function does not return.
- 113 @ args = 0, pretend = 0, frame = 0
- 114 @ frame_needed = 0, uses_anonymous_args = 0
- 115 @ link register save eliminated.
- 116 .L10:
- 117 0000 FEE7 b .L10
- 118 .cfi_endproc
- 119 .LFE69:
- 121 .section .text.SVC_Handler,"ax",%progbits
- 122 .align 1
- 123 .global SVC_Handler
- 124 .syntax unified
- 125 .thumb
- 126 .thumb_func
- 127 .fpu softvfp
- 129 SVC_Handler:
- 130 .LFB70:
- 133:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN UsageFault_IRQn 0 */
- 134:Core/Src/stm32f1xx_it.c ****
- 135:Core/Src/stm32f1xx_it.c **** /* USER CODE END UsageFault_IRQn 0 */
- 136:Core/Src/stm32f1xx_it.c **** while (1)
- 137:Core/Src/stm32f1xx_it.c **** {
- 138:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN W1_UsageFault_IRQn 0 */
- 139:Core/Src/stm32f1xx_it.c **** /* USER CODE END W1_UsageFault_IRQn 0 */
- 140:Core/Src/stm32f1xx_it.c **** }
- 141:Core/Src/stm32f1xx_it.c **** }
- 142:Core/Src/stm32f1xx_it.c ****
- 143:Core/Src/stm32f1xx_it.c **** /**
- 144:Core/Src/stm32f1xx_it.c **** * @brief This function handles System service call via SWI instruction.
- 145:Core/Src/stm32f1xx_it.c **** */
- 146:Core/Src/stm32f1xx_it.c **** void SVC_Handler(void)
- 147:Core/Src/stm32f1xx_it.c **** {
- 131 .loc 1 147 0
- 132 .cfi_startproc
- 133 @ args = 0, pretend = 0, frame = 0
- 134 @ frame_needed = 0, uses_anonymous_args = 0
- 135 @ link register save eliminated.
- 136 0000 7047 bx lr
- 137 .cfi_endproc
- 138 .LFE70:
- 140 .section .text.DebugMon_Handler,"ax",%progbits
- 141 .align 1
- 142 .global DebugMon_Handler
- 143 .syntax unified
- 144 .thumb
- 145 .thumb_func
- 146 .fpu softvfp
- 148 DebugMon_Handler:
- 149 .LFB71:
- 148:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN SVCall_IRQn 0 */
- 149:Core/Src/stm32f1xx_it.c ****
-ARM GAS /tmp/cc1f7NlA.s page 6
-
-
- 150:Core/Src/stm32f1xx_it.c **** /* USER CODE END SVCall_IRQn 0 */
- 151:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN SVCall_IRQn 1 */
- 152:Core/Src/stm32f1xx_it.c ****
- 153:Core/Src/stm32f1xx_it.c **** /* USER CODE END SVCall_IRQn 1 */
- 154:Core/Src/stm32f1xx_it.c **** }
- 155:Core/Src/stm32f1xx_it.c ****
- 156:Core/Src/stm32f1xx_it.c **** /**
- 157:Core/Src/stm32f1xx_it.c **** * @brief This function handles Debug monitor.
- 158:Core/Src/stm32f1xx_it.c **** */
- 159:Core/Src/stm32f1xx_it.c **** void DebugMon_Handler(void)
- 160:Core/Src/stm32f1xx_it.c **** {
- 150 .loc 1 160 0
- 151 .cfi_startproc
- 152 @ args = 0, pretend = 0, frame = 0
- 153 @ frame_needed = 0, uses_anonymous_args = 0
- 154 @ link register save eliminated.
- 155 0000 7047 bx lr
- 156 .cfi_endproc
- 157 .LFE71:
- 159 .section .text.PendSV_Handler,"ax",%progbits
- 160 .align 1
- 161 .global PendSV_Handler
- 162 .syntax unified
- 163 .thumb
- 164 .thumb_func
- 165 .fpu softvfp
- 167 PendSV_Handler:
- 168 .LFB72:
- 161:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN DebugMonitor_IRQn 0 */
- 162:Core/Src/stm32f1xx_it.c ****
- 163:Core/Src/stm32f1xx_it.c **** /* USER CODE END DebugMonitor_IRQn 0 */
- 164:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN DebugMonitor_IRQn 1 */
- 165:Core/Src/stm32f1xx_it.c ****
- 166:Core/Src/stm32f1xx_it.c **** /* USER CODE END DebugMonitor_IRQn 1 */
- 167:Core/Src/stm32f1xx_it.c **** }
- 168:Core/Src/stm32f1xx_it.c ****
- 169:Core/Src/stm32f1xx_it.c **** /**
- 170:Core/Src/stm32f1xx_it.c **** * @brief This function handles Pendable request for system service.
- 171:Core/Src/stm32f1xx_it.c **** */
- 172:Core/Src/stm32f1xx_it.c **** void PendSV_Handler(void)
- 173:Core/Src/stm32f1xx_it.c **** {
- 169 .loc 1 173 0
- 170 .cfi_startproc
- 171 @ args = 0, pretend = 0, frame = 0
- 172 @ frame_needed = 0, uses_anonymous_args = 0
- 173 @ link register save eliminated.
- 174 0000 7047 bx lr
- 175 .cfi_endproc
- 176 .LFE72:
- 178 .section .text.SysTick_Handler,"ax",%progbits
- 179 .align 1
- 180 .global SysTick_Handler
- 181 .syntax unified
- 182 .thumb
- 183 .thumb_func
- 184 .fpu softvfp
- 186 SysTick_Handler:
-ARM GAS /tmp/cc1f7NlA.s page 7
-
-
- 187 .LFB73:
- 174:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN PendSV_IRQn 0 */
- 175:Core/Src/stm32f1xx_it.c ****
- 176:Core/Src/stm32f1xx_it.c **** /* USER CODE END PendSV_IRQn 0 */
- 177:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN PendSV_IRQn 1 */
- 178:Core/Src/stm32f1xx_it.c ****
- 179:Core/Src/stm32f1xx_it.c **** /* USER CODE END PendSV_IRQn 1 */
- 180:Core/Src/stm32f1xx_it.c **** }
- 181:Core/Src/stm32f1xx_it.c ****
- 182:Core/Src/stm32f1xx_it.c **** /**
- 183:Core/Src/stm32f1xx_it.c **** * @brief This function handles System tick timer.
- 184:Core/Src/stm32f1xx_it.c **** */
- 185:Core/Src/stm32f1xx_it.c **** void SysTick_Handler(void)
- 186:Core/Src/stm32f1xx_it.c **** {
- 188 .loc 1 186 0
- 189 .cfi_startproc
- 190 @ args = 0, pretend = 0, frame = 0
- 191 @ frame_needed = 0, uses_anonymous_args = 0
- 192 .loc 1 186 0
- 193 0000 08B5 push {r3, lr}
- 194 .LCFI0:
- 195 .cfi_def_cfa_offset 8
- 196 .cfi_offset 3, -8
- 197 .cfi_offset 14, -4
- 187:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN SysTick_IRQn 0 */
- 188:Core/Src/stm32f1xx_it.c ****
- 189:Core/Src/stm32f1xx_it.c **** /* USER CODE END SysTick_IRQn 0 */
- 190:Core/Src/stm32f1xx_it.c **** HAL_IncTick();
- 198 .loc 1 190 0
- 199 0002 FFF7FEFF bl HAL_IncTick
- 200 .LVL0:
- 201 0006 08BD pop {r3, pc}
- 202 .cfi_endproc
- 203 .LFE73:
- 205 .section .text.TIM4_IRQHandler,"ax",%progbits
- 206 .align 1
- 207 .global TIM4_IRQHandler
- 208 .syntax unified
- 209 .thumb
- 210 .thumb_func
- 211 .fpu softvfp
- 213 TIM4_IRQHandler:
- 214 .LFB74:
- 191:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN SysTick_IRQn 1 */
- 192:Core/Src/stm32f1xx_it.c ****
- 193:Core/Src/stm32f1xx_it.c **** /* USER CODE END SysTick_IRQn 1 */
- 194:Core/Src/stm32f1xx_it.c **** }
- 195:Core/Src/stm32f1xx_it.c ****
- 196:Core/Src/stm32f1xx_it.c **** /******************************************************************************/
- 197:Core/Src/stm32f1xx_it.c **** /* STM32F1xx Peripheral Interrupt Handlers */
- 198:Core/Src/stm32f1xx_it.c **** /* Add here the Interrupt Handlers for the used peripherals. */
- 199:Core/Src/stm32f1xx_it.c **** /* For the available peripheral interrupt handler names, */
- 200:Core/Src/stm32f1xx_it.c **** /* please refer to the startup file (startup_stm32f1xx.s). */
- 201:Core/Src/stm32f1xx_it.c **** /******************************************************************************/
- 202:Core/Src/stm32f1xx_it.c ****
- 203:Core/Src/stm32f1xx_it.c **** /**
- 204:Core/Src/stm32f1xx_it.c **** * @brief This function handles TIM4 global interrupt.
-ARM GAS /tmp/cc1f7NlA.s page 8
-
-
- 205:Core/Src/stm32f1xx_it.c **** */
- 206:Core/Src/stm32f1xx_it.c **** void TIM4_IRQHandler(void)
- 207:Core/Src/stm32f1xx_it.c **** {
- 215 .loc 1 207 0
- 216 .cfi_startproc
- 217 @ args = 0, pretend = 0, frame = 0
- 218 @ frame_needed = 0, uses_anonymous_args = 0
- 219 0000 08B5 push {r3, lr}
- 220 .LCFI1:
- 221 .cfi_def_cfa_offset 8
- 222 .cfi_offset 3, -8
- 223 .cfi_offset 14, -4
- 208:Core/Src/stm32f1xx_it.c **** /* USER CODE BEGIN TIM4_IRQn 0 */
- 209:Core/Src/stm32f1xx_it.c **** timer4_isr();
- 224 .loc 1 209 0
- 225 0002 FFF7FEFF bl timer4_isr
- 226 .LVL1:
- 210:Core/Src/stm32f1xx_it.c **** /* USER CODE END TIM4_IRQn 0 */
- 211:Core/Src/stm32f1xx_it.c **** HAL_TIM_IRQHandler(&htim4);
- 227 .loc 1 211 0
- 228 0006 0248 ldr r0, .L18
- 229 0008 FFF7FEFF bl HAL_TIM_IRQHandler
- 230 .LVL2:
- 231 000c 08BD pop {r3, pc}
- 232 .L19:
- 233 000e 00BF .align 2
- 234 .L18:
- 235 0010 00000000 .word htim4
- 236 .cfi_endproc
- 237 .LFE74:
- 239 .text
- 240 .Letext0:
- 241 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 242 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 243 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 244 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 245 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 246 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 247 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
- 248 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h"
- 249 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
- 250 .file 11 "Core/Inc/User/user_isr.h"
-ARM GAS /tmp/cc1f7NlA.s page 9
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_it.c
- /tmp/cc1f7NlA.s:16 .text.NMI_Handler:0000000000000000 $t
- /tmp/cc1f7NlA.s:23 .text.NMI_Handler:0000000000000000 NMI_Handler
- /tmp/cc1f7NlA.s:38 .text.HardFault_Handler:0000000000000000 $t
- /tmp/cc1f7NlA.s:45 .text.HardFault_Handler:0000000000000000 HardFault_Handler
- /tmp/cc1f7NlA.s:59 .text.MemManage_Handler:0000000000000000 $t
- /tmp/cc1f7NlA.s:66 .text.MemManage_Handler:0000000000000000 MemManage_Handler
- /tmp/cc1f7NlA.s:80 .text.BusFault_Handler:0000000000000000 $t
- /tmp/cc1f7NlA.s:87 .text.BusFault_Handler:0000000000000000 BusFault_Handler
- /tmp/cc1f7NlA.s:101 .text.UsageFault_Handler:0000000000000000 $t
- /tmp/cc1f7NlA.s:108 .text.UsageFault_Handler:0000000000000000 UsageFault_Handler
- /tmp/cc1f7NlA.s:122 .text.SVC_Handler:0000000000000000 $t
- /tmp/cc1f7NlA.s:129 .text.SVC_Handler:0000000000000000 SVC_Handler
- /tmp/cc1f7NlA.s:141 .text.DebugMon_Handler:0000000000000000 $t
- /tmp/cc1f7NlA.s:148 .text.DebugMon_Handler:0000000000000000 DebugMon_Handler
- /tmp/cc1f7NlA.s:160 .text.PendSV_Handler:0000000000000000 $t
- /tmp/cc1f7NlA.s:167 .text.PendSV_Handler:0000000000000000 PendSV_Handler
- /tmp/cc1f7NlA.s:179 .text.SysTick_Handler:0000000000000000 $t
- /tmp/cc1f7NlA.s:186 .text.SysTick_Handler:0000000000000000 SysTick_Handler
- /tmp/cc1f7NlA.s:206 .text.TIM4_IRQHandler:0000000000000000 $t
- /tmp/cc1f7NlA.s:213 .text.TIM4_IRQHandler:0000000000000000 TIM4_IRQHandler
- /tmp/cc1f7NlA.s:235 .text.TIM4_IRQHandler:0000000000000010 $d
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-HAL_IncTick
-timer4_isr
-HAL_TIM_IRQHandler
-htim4
diff --git a/build/stm32f1xx_it.o b/build/stm32f1xx_it.o
deleted file mode 100644
index a6a58c5..0000000
Binary files a/build/stm32f1xx_it.o and /dev/null differ
diff --git a/build/stm32f1xx_ll_fsmc.d b/build/stm32f1xx_ll_fsmc.d
deleted file mode 100644
index 5882e2b..0000000
--- a/build/stm32f1xx_ll_fsmc.d
+++ /dev/null
@@ -1,99 +0,0 @@
-build/stm32f1xx_ll_fsmc.o: \
- Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_sram.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_fsmc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_sram.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_fsmc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/stm32f1xx_ll_fsmc.lst b/build/stm32f1xx_ll_fsmc.lst
deleted file mode 100644
index adc1c08..0000000
--- a/build/stm32f1xx_ll_fsmc.lst
+++ /dev/null
@@ -1,2122 +0,0 @@
-ARM GAS /tmp/ccQnhEmd.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "stm32f1xx_ll_fsmc.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.FSMC_NORSRAM_Init,"ax",%progbits
- 16 .align 1
- 17 .global FSMC_NORSRAM_Init
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 FSMC_NORSRAM_Init:
- 24 .LFB65:
- 25 .file 1 "Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c"
- 1:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 2:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ******************************************************************************
- 3:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @file stm32f1xx_ll_fsmc.c
- 4:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @author MCD Application Team
- 5:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief FSMC Low Layer HAL module driver.
- 6:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** *
- 7:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * This file provides firmware functions to manage the following
- 8:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * functionalities of the Flexible Memory Controller (FSMC) peripheral memories:
- 9:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * + Initialization/de-initialization functions
- 10:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * + Peripheral Control functions
- 11:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * + Peripheral State functions
- 12:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** *
- 13:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** @verbatim
- 14:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ==============================================================================
- 15:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ##### FSMC peripheral features #####
- 16:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ==============================================================================
- 17:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** [..] The Flexible memory controller (FSMC) includes following memory controllers:
- 18:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) The NOR/PSRAM memory controller
- 19:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) The NAND/PC Card memory controller
- 20:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 21:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** [..] The FSMC functional block makes the interface with synchronous and asynchronous static
- 22:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** memories and 16-bit PC memory cards. Its main purposes are:
- 23:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) to translate AHB transactions into the appropriate external device protocol
- 24:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) to meet the access time requirements of the external memory devices
- 25:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 26:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** [..] All external memories share the addresses, data and control signals with the controller.
- 27:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Each external device is accessed by means of a unique Chip Select. The FSMC performs
- 28:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** only one access at a time to an external device.
- 29:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** The main features of the FSMC controller are the following:
- 30:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) Interface with static-memory mapped devices including:
- 31:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (++) Static random access memory (SRAM)
- 32:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (++) Read-only memory (ROM)
- 33:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (++) NOR Flash memory/OneNAND Flash memory
-ARM GAS /tmp/ccQnhEmd.s page 2
-
-
- 34:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (++) PSRAM (4 memory banks)
- 35:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (++) 16-bit PC Card compatible devices
- 36:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (++) Two banks of NAND Flash memory with ECC hardware to check up to 8 Kbytes of
- 37:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** data
- 38:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) Independent Chip Select control for each memory bank
- 39:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) Independent configuration for each memory bank
- 40:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 41:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** @endverbatim
- 42:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ******************************************************************************
- 43:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @attention
- 44:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** *
- 45:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * © Copyright (c) 2016 STMicroelectronics.
- 46:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * All rights reserved.
- 47:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** *
- 48:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 49:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * the "License"; You may not use this file except in compliance with the
- 50:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * License. You may obtain a copy of the License at:
- 51:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * opensource.org/licenses/BSD-3-Clause
- 52:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** *
- 53:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ******************************************************************************
- 54:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 55:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 56:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Includes ------------------------------------------------------------------*/
- 57:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #include "stm32f1xx_hal.h"
- 58:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 59:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /** @addtogroup STM32F1xx_HAL_Driver
- 60:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @{
- 61:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 62:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #if (((defined HAL_NOR_MODULE_ENABLED || defined HAL_SRAM_MODULE_ENABLED)) || defined HAL_NAND_MODU
- 63:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 64:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /** @defgroup FSMC_LL FSMC Low Layer
- 65:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief FSMC driver modules
- 66:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @{
- 67:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 68:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 69:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Private typedef -----------------------------------------------------------*/
- 70:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Private define ------------------------------------------------------------*/
- 71:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 72:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /** @defgroup FSMC_LL_Private_Constants FSMC Low Layer Private Constants
- 73:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @{
- 74:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 75:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 76:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* ----------------------- FSMC registers bit mask --------------------------- */
- 77:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 78:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #if defined FSMC_BANK1
- 79:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* --- BCR Register ---*/
- 80:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* BCR register clear mask */
- 81:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 82:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* --- BTR Register ---*/
- 83:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* BTR register clear mask */
- 84:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #define BTR_CLEAR_MASK ((uint32_t)(FSMC_BTRx_ADDSET | FSMC_BTRx_ADDHLD |\
- 85:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_BTRx_DATAST | FSMC_BTRx_BUSTURN |\
- 86:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_BTRx_CLKDIV | FSMC_BTRx_DATLAT |\
- 87:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_BTRx_ACCMOD))
- 88:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 89:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* --- BWTR Register ---*/
- 90:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* BWTR register clear mask */
-ARM GAS /tmp/ccQnhEmd.s page 3
-
-
- 91:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #if defined(FSMC_BWTRx_BUSTURN)
- 92:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #define BWTR_CLEAR_MASK ((uint32_t)(FSMC_BWTRx_ADDSET | FSMC_BWTRx_ADDHLD |\
- 93:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_BWTRx_DATAST | FSMC_BWTRx_BUSTURN |\
- 94:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_BWTRx_ACCMOD))
- 95:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #else
- 96:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #define BWTR_CLEAR_MASK ((uint32_t)(FSMC_BWTRx_ADDSET | FSMC_BWTRx_ADDHLD |\
- 97:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_BWTRx_DATAST | FSMC_BWTRx_ACCMOD))
- 98:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #endif /* FSMC_BWTRx_BUSTURN */
- 99:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #endif /* FSMC_BANK1 */
- 100:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #if defined(FSMC_BANK3)
- 101:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 102:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* --- PCR Register ---*/
- 103:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* PCR register clear mask */
- 104:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #define PCR_CLEAR_MASK ((uint32_t)(FSMC_PCRx_PWAITEN | FSMC_PCRx_PBKEN | \
- 105:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_PCRx_PTYP | FSMC_PCRx_PWID | \
- 106:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_PCRx_ECCEN | FSMC_PCRx_TCLR | \
- 107:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_PCRx_TAR | FSMC_PCRx_ECCPS))
- 108:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* --- PMEM Register ---*/
- 109:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* PMEM register clear mask */
- 110:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #define PMEM_CLEAR_MASK ((uint32_t)(FSMC_PMEMx_MEMSETx | FSMC_PMEMx_MEMWAITx |\
- 111:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_PMEMx_MEMHOLDx | FSMC_PMEMx_MEMHIZx))
- 112:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 113:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* --- PATT Register ---*/
- 114:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* PATT register clear mask */
- 115:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #define PATT_CLEAR_MASK ((uint32_t)(FSMC_PATTx_ATTSETx | FSMC_PATTx_ATTWAITx |\
- 116:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_PATTx_ATTHOLDx | FSMC_PATTx_ATTHIZx))
- 117:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 118:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #endif /* FSMC_BANK3 */
- 119:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #if defined(FSMC_BANK4)
- 120:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* --- PCR Register ---*/
- 121:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* PCR register clear mask */
- 122:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #define PCR4_CLEAR_MASK ((uint32_t)(FSMC_PCR4_PWAITEN | FSMC_PCR4_PBKEN | \
- 123:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_PCR4_PTYP | FSMC_PCR4_PWID | \
- 124:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_PCR4_ECCEN | FSMC_PCR4_TCLR | \
- 125:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_PCR4_TAR | FSMC_PCR4_ECCPS))
- 126:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* --- PMEM Register ---*/
- 127:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* PMEM register clear mask */
- 128:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #define PMEM4_CLEAR_MASK ((uint32_t)(FSMC_PMEM4_MEMSET4 | FSMC_PMEM4_MEMWAIT4 |\
- 129:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_PMEM4_MEMHOLD4 | FSMC_PMEM4_MEMHIZ4))
- 130:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 131:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* --- PATT Register ---*/
- 132:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* PATT register clear mask */
- 133:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #define PATT4_CLEAR_MASK ((uint32_t)(FSMC_PATT4_ATTSET4 | FSMC_PATT4_ATTWAIT4 |\
- 134:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_PATT4_ATTHOLD4 | FSMC_PATT4_ATTHIZ4))
- 135:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 136:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* --- PIO4 Register ---*/
- 137:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* PIO4 register clear mask */
- 138:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #define PIO4_CLEAR_MASK ((uint32_t)(FSMC_PIO4_IOSET4 | FSMC_PIO4_IOWAIT4 | \
- 139:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_PIO4_IOHOLD4 | FSMC_PIO4_IOHIZ4))
- 140:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 141:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #endif /* FSMC_BANK4 */
- 142:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 143:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 144:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @}
- 145:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 146:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 147:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Private macro -------------------------------------------------------------*/
-ARM GAS /tmp/ccQnhEmd.s page 4
-
-
- 148:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Private variables ---------------------------------------------------------*/
- 149:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Private function prototypes -----------------------------------------------*/
- 150:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Exported functions --------------------------------------------------------*/
- 151:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 152:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /** @defgroup FSMC_LL_Exported_Functions FSMC Low Layer Exported Functions
- 153:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @{
- 154:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 155:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 156:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #if defined FSMC_BANK1
- 157:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 158:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /** @defgroup FSMC_LL_Exported_Functions_NORSRAM FSMC Low Layer NOR SRAM Exported Functions
- 159:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief NORSRAM Controller functions
- 160:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** *
- 161:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** @verbatim
- 162:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ==============================================================================
- 163:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ##### How to use NORSRAM device driver #####
- 164:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ==============================================================================
- 165:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 166:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** [..]
- 167:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** This driver contains a set of APIs to interface with the FSMC NORSRAM banks in order
- 168:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** to run the NORSRAM external devices.
- 169:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 170:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) FSMC NORSRAM bank reset using the function FSMC_NORSRAM_DeInit()
- 171:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) FSMC NORSRAM bank control configuration using the function FSMC_NORSRAM_Init()
- 172:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) FSMC NORSRAM bank timing configuration using the function FSMC_NORSRAM_Timing_Init()
- 173:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) FSMC NORSRAM bank extended timing configuration using the function
- 174:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_NORSRAM_Extended_Timing_Init()
- 175:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) FSMC NORSRAM bank enable/disable write operation using the functions
- 176:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_NORSRAM_WriteOperation_Enable()/FSMC_NORSRAM_WriteOperation_Disable()
- 177:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 178:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** @endverbatim
- 179:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @{
- 180:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 181:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 182:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /** @defgroup FSMC_LL_NORSRAM_Exported_Functions_Group1 Initialization and de-initialization functi
- 183:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief Initialization and Configuration functions
- 184:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** *
- 185:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** @verbatim
- 186:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ==============================================================================
- 187:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ##### Initialization and de_initialization functions #####
- 188:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ==============================================================================
- 189:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** [..]
- 190:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** This section provides functions allowing to:
- 191:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) Initialize and configure the FSMC NORSRAM interface
- 192:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) De-initialize the FSMC NORSRAM interface
- 193:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) Configure the FSMC clock and associated GPIOs
- 194:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 195:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** @endverbatim
- 196:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @{
- 197:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 198:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 199:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 200:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief Initialize the FSMC_NORSRAM device according to the specified
- 201:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * control parameters in the FSMC_NORSRAM_InitTypeDef
- 202:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Device Pointer to NORSRAM device instance
- 203:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Init Pointer to NORSRAM Initialization structure
- 204:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @retval HAL status
-ARM GAS /tmp/ccQnhEmd.s page 5
-
-
- 205:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 206:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** HAL_StatusTypeDef FSMC_NORSRAM_Init(FSMC_NORSRAM_TypeDef *Device,
- 207:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_NORSRAM_InitTypeDef *Init)
- 208:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 26 .loc 1 208 0
- 27 .cfi_startproc
- 28 @ args = 0, pretend = 0, frame = 0
- 29 @ frame_needed = 0, uses_anonymous_args = 0
- 30 @ link register save eliminated.
- 31 .LVL0:
- 32 0000 10B4 push {r4}
- 33 .LCFI0:
- 34 .cfi_def_cfa_offset 4
- 35 .cfi_offset 4, -4
- 209:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** uint32_t flashaccess;
- 210:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** uint32_t btcr_reg;
- 211:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** uint32_t mask;
- 212:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 213:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Check the parameters */
- 214:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NORSRAM_DEVICE(Device));
- 215:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NORSRAM_BANK(Init->NSBank));
- 216:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_MUX(Init->DataAddressMux));
- 217:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_MEMORY(Init->MemoryType));
- 218:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NORSRAM_MEMORY_WIDTH(Init->MemoryDataWidth));
- 219:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_BURSTMODE(Init->BurstAccessMode));
- 220:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_WAIT_POLARITY(Init->WaitSignalPolarity));
- 221:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_WRAP_MODE(Init->WrapMode));
- 222:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_WAIT_SIGNAL_ACTIVE(Init->WaitSignalActive));
- 223:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_WRITE_OPERATION(Init->WriteOperation));
- 224:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_WAITE_SIGNAL(Init->WaitSignal));
- 225:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_EXTENDED_MODE(Init->ExtendedMode));
- 226:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_ASYNWAIT(Init->AsynchronousWait));
- 227:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_WRITE_BURST(Init->WriteBurst));
- 228:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_PAGESIZE(Init->PageSize));
- 229:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 230:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Disable NORSRAM Device */
- 231:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** __FSMC_NORSRAM_DISABLE(Device, Init->NSBank);
- 36 .loc 1 231 0
- 37 0002 0A68 ldr r2, [r1]
- 38 0004 50F82230 ldr r3, [r0, r2, lsl #2]
- 39 0008 23F00103 bic r3, r3, #1
- 40 000c 40F82230 str r3, [r0, r2, lsl #2]
- 232:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 233:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Set NORSRAM device control parameters */
- 234:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** if (Init->MemoryType == FSMC_MEMORY_TYPE_NOR)
- 41 .loc 1 234 0
- 42 0010 8B68 ldr r3, [r1, #8]
- 43 0012 082B cmp r3, #8
- 44 0014 24D0 beq .L5
- 235:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** flashaccess = FSMC_NORSRAM_FLASH_ACCESS_ENABLE;
- 237:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 238:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** else
- 239:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 240:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** flashaccess = FSMC_NORSRAM_FLASH_ACCESS_DISABLE;
- 45 .loc 1 240 0
- 46 0016 0022 movs r2, #0
-ARM GAS /tmp/ccQnhEmd.s page 6
-
-
- 47 .L2:
- 48 .LVL1:
- 241:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 242:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** btcr_reg = (flashaccess | \
- 244:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->DataAddressMux | \
- 49 .loc 1 244 0
- 50 0018 4C68 ldr r4, [r1, #4]
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->DataAddressMux | \
- 51 .loc 1 243 0
- 52 001a 2243 orrs r2, r2, r4
- 53 .LVL2:
- 54 .loc 1 244 0
- 55 001c 1343 orrs r3, r3, r2
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->MemoryType | \
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->MemoryDataWidth | \
- 56 .loc 1 246 0
- 57 001e CA68 ldr r2, [r1, #12]
- 245:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->MemoryType | \
- 58 .loc 1 245 0
- 59 0020 1343 orrs r3, r3, r2
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->BurstAccessMode | \
- 60 .loc 1 247 0
- 61 0022 0A69 ldr r2, [r1, #16]
- 246:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->BurstAccessMode | \
- 62 .loc 1 246 0
- 63 0024 1343 orrs r3, r3, r2
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->WaitSignalPolarity | \
- 64 .loc 1 248 0
- 65 0026 4A69 ldr r2, [r1, #20]
- 247:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->BurstAccessMode | \
- 66 .loc 1 247 0
- 67 0028 1343 orrs r3, r3, r2
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->WaitSignalActive | \
- 68 .loc 1 249 0
- 69 002a CA69 ldr r2, [r1, #28]
- 248:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->WaitSignalPolarity | \
- 70 .loc 1 248 0
- 71 002c 1343 orrs r3, r3, r2
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->WriteOperation | \
- 72 .loc 1 250 0
- 73 002e 0A6A ldr r2, [r1, #32]
- 249:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->WaitSignalActive | \
- 74 .loc 1 249 0
- 75 0030 1343 orrs r3, r3, r2
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->WaitSignal | \
- 76 .loc 1 251 0
- 77 0032 4A6A ldr r2, [r1, #36]
- 250:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->WriteOperation | \
- 78 .loc 1 250 0
- 79 0034 1343 orrs r3, r3, r2
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->ExtendedMode | \
- 80 .loc 1 252 0
- 81 0036 8A6A ldr r2, [r1, #40]
- 251:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->WaitSignal | \
- 82 .loc 1 251 0
- 83 0038 1343 orrs r3, r3, r2
-ARM GAS /tmp/ccQnhEmd.s page 7
-
-
- 253:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->AsynchronousWait | \
- 84 .loc 1 253 0
- 85 003a CA6A ldr r2, [r1, #44]
- 252:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->ExtendedMode | \
- 86 .loc 1 252 0
- 87 003c 1343 orrs r3, r3, r2
- 254:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->WriteBurst);
- 88 .loc 1 254 0
- 89 003e 0A6B ldr r2, [r1, #48]
- 243:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->DataAddressMux | \
- 90 .loc 1 243 0
- 91 0040 1343 orrs r3, r3, r2
- 92 .LVL3:
- 255:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 256:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** btcr_reg |= Init->WrapMode;
- 93 .loc 1 256 0
- 94 0042 8A69 ldr r2, [r1, #24]
- 95 0044 1343 orrs r3, r3, r2
- 96 .LVL4:
- 257:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** btcr_reg |= Init->PageSize;
- 97 .loc 1 257 0
- 98 0046 4A6B ldr r2, [r1, #52]
- 99 0048 1343 orrs r3, r3, r2
- 100 .LVL5:
- 258:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 259:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** mask = (FSMC_BCRx_MBKEN |
- 260:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_BCRx_MUXEN |
- 261:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_BCRx_MTYP |
- 262:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_BCRx_MWID |
- 263:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_BCRx_FACCEN |
- 264:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_BCRx_BURSTEN |
- 265:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_BCRx_WAITPOL |
- 266:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_BCRx_WAITCFG |
- 267:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_BCRx_WREN |
- 268:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_BCRx_WAITEN |
- 269:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_BCRx_EXTMOD |
- 270:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_BCRx_ASYNCWAIT |
- 271:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_BCRx_CBURSTRW);
- 272:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 273:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** mask |= FSMC_BCRx_WRAPMOD;
- 274:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** mask |= 0x00070000U; /* CPSIZE to be defined in CMSIS file */
- 275:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 276:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** MODIFY_REG(Device->BTCR[Init->NSBank], mask, btcr_reg);
- 101 .loc 1 276 0
- 102 004a 0968 ldr r1, [r1]
- 103 .LVL6:
- 104 004c 50F82140 ldr r4, [r0, r1, lsl #2]
- 105 0050 044A ldr r2, .L6
- 106 0052 2240 ands r2, r2, r4
- 107 0054 1343 orrs r3, r3, r2
- 108 .LVL7:
- 109 0056 40F82130 str r3, [r0, r1, lsl #2]
- 277:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 278:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 279:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** return HAL_OK;
- 280:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 110 .loc 1 280 0
-ARM GAS /tmp/ccQnhEmd.s page 8
-
-
- 111 005a 0020 movs r0, #0
- 112 .LVL8:
- 113 005c 10BC pop {r4}
- 114 .LCFI1:
- 115 .cfi_remember_state
- 116 .cfi_restore 4
- 117 .cfi_def_cfa_offset 0
- 118 005e 7047 bx lr
- 119 .LVL9:
- 120 .L5:
- 121 .LCFI2:
- 122 .cfi_restore_state
- 236:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 123 .loc 1 236 0
- 124 0060 4022 movs r2, #64
- 125 0062 D9E7 b .L2
- 126 .L7:
- 127 .align 2
- 128 .L6:
- 129 0064 8000F0FF .word -1048448
- 130 .cfi_endproc
- 131 .LFE65:
- 133 .section .text.FSMC_NORSRAM_DeInit,"ax",%progbits
- 134 .align 1
- 135 .global FSMC_NORSRAM_DeInit
- 136 .syntax unified
- 137 .thumb
- 138 .thumb_func
- 139 .fpu softvfp
- 141 FSMC_NORSRAM_DeInit:
- 142 .LFB66:
- 281:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 282:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 283:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief DeInitialize the FSMC_NORSRAM peripheral
- 284:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Device Pointer to NORSRAM device instance
- 285:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param ExDevice Pointer to NORSRAM extended mode device instance
- 286:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Bank NORSRAM bank number
- 287:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @retval HAL status
- 288:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 289:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** HAL_StatusTypeDef FSMC_NORSRAM_DeInit(FSMC_NORSRAM_TypeDef *Device,
- 290:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_NORSRAM_EXTENDED_TypeDef *ExDevice, uint32_t Bank)
- 291:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 143 .loc 1 291 0
- 144 .cfi_startproc
- 145 @ args = 0, pretend = 0, frame = 0
- 146 @ frame_needed = 0, uses_anonymous_args = 0
- 147 @ link register save eliminated.
- 148 .LVL10:
- 149 0000 10B4 push {r4}
- 150 .LCFI3:
- 151 .cfi_def_cfa_offset 4
- 152 .cfi_offset 4, -4
- 292:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Check the parameters */
- 293:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NORSRAM_DEVICE(Device));
- 294:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NORSRAM_EXTENDED_DEVICE(ExDevice));
- 295:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NORSRAM_BANK(Bank));
- 296:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
-ARM GAS /tmp/ccQnhEmd.s page 9
-
-
- 297:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Disable the FSMC_NORSRAM device */
- 298:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** __FSMC_NORSRAM_DISABLE(Device, Bank);
- 153 .loc 1 298 0
- 154 0002 50F82230 ldr r3, [r0, r2, lsl #2]
- 155 0006 23F00103 bic r3, r3, #1
- 156 000a 40F82230 str r3, [r0, r2, lsl #2]
- 299:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 300:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* De-initialize the FSMC_NORSRAM device */
- 301:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* FSMC_NORSRAM_BANK1 */
- 302:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** if (Bank == FSMC_NORSRAM_BANK1)
- 157 .loc 1 302 0
- 158 000e 6AB1 cbz r2, .L12
- 303:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Device->BTCR[Bank] = 0x000030DBU;
- 305:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 306:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* FSMC_NORSRAM_BANK2, FSMC_NORSRAM_BANK3 or FSMC_NORSRAM_BANK4 */
- 307:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** else
- 308:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 309:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Device->BTCR[Bank] = 0x000030D2U;
- 159 .loc 1 309 0
- 160 0010 43F2D203 movw r3, #12498
- 161 0014 40F82230 str r3, [r0, r2, lsl #2]
- 162 .L10:
- 310:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 311:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 312:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Device->BTCR[Bank + 1U] = 0x0FFFFFFFU;
- 163 .loc 1 312 0
- 164 0018 541C adds r4, r2, #1
- 165 001a 6FF07043 mvn r3, #-268435456
- 166 001e 40F82430 str r3, [r0, r4, lsl #2]
- 313:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ExDevice->BWTR[Bank] = 0x0FFFFFFFU;
- 167 .loc 1 313 0
- 168 0022 41F82230 str r3, [r1, r2, lsl #2]
- 314:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 315:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** return HAL_OK;
- 316:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 169 .loc 1 316 0
- 170 0026 0020 movs r0, #0
- 171 .LVL11:
- 172 0028 10BC pop {r4}
- 173 .LCFI4:
- 174 .cfi_remember_state
- 175 .cfi_restore 4
- 176 .cfi_def_cfa_offset 0
- 177 002a 7047 bx lr
- 178 .LVL12:
- 179 .L12:
- 180 .LCFI5:
- 181 .cfi_restore_state
- 304:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 182 .loc 1 304 0
- 183 002c 43F2DB03 movw r3, #12507
- 184 0030 40F82230 str r3, [r0, r2, lsl #2]
- 185 0034 F0E7 b .L10
- 186 .cfi_endproc
- 187 .LFE66:
- 189 .section .text.FSMC_NORSRAM_Timing_Init,"ax",%progbits
-ARM GAS /tmp/ccQnhEmd.s page 10
-
-
- 190 .align 1
- 191 .global FSMC_NORSRAM_Timing_Init
- 192 .syntax unified
- 193 .thumb
- 194 .thumb_func
- 195 .fpu softvfp
- 197 FSMC_NORSRAM_Timing_Init:
- 198 .LFB67:
- 317:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 318:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 319:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief Initialize the FSMC_NORSRAM Timing according to the specified
- 320:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * parameters in the FSMC_NORSRAM_TimingTypeDef
- 321:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Device Pointer to NORSRAM device instance
- 322:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Timing Pointer to NORSRAM Timing structure
- 323:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Bank NORSRAM bank number
- 324:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @retval HAL status
- 325:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 326:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** HAL_StatusTypeDef FSMC_NORSRAM_Timing_Init(FSMC_NORSRAM_TypeDef *Device,
- 327:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_NORSRAM_TimingTypeDef *Timing, uint32_t Bank)
- 328:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 199 .loc 1 328 0
- 200 .cfi_startproc
- 201 @ args = 0, pretend = 0, frame = 0
- 202 @ frame_needed = 0, uses_anonymous_args = 0
- 203 @ link register save eliminated.
- 204 .LVL13:
- 205 0000 30B4 push {r4, r5}
- 206 .LCFI6:
- 207 .cfi_def_cfa_offset 8
- 208 .cfi_offset 4, -8
- 209 .cfi_offset 5, -4
- 329:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 330:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Check the parameters */
- 331:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NORSRAM_DEVICE(Device));
- 332:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_ADDRESS_SETUP_TIME(Timing->AddressSetupTime));
- 333:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_ADDRESS_HOLD_TIME(Timing->AddressHoldTime));
- 334:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_DATASETUP_TIME(Timing->DataSetupTime));
- 335:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_TURNAROUND_TIME(Timing->BusTurnAroundDuration));
- 336:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_CLK_DIV(Timing->CLKDivision));
- 337:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_DATA_LATENCY(Timing->DataLatency));
- 338:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_ACCESS_MODE(Timing->AccessMode));
- 339:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NORSRAM_BANK(Bank));
- 340:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 341:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Set FSMC_NORSRAM device timing parameters */
- 342:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** MODIFY_REG(Device->BTCR[Bank + 1U], BTR_CLEAR_MASK, (Timing->AddressSetupTime
- 210 .loc 1 342 0
- 211 0002 0132 adds r2, r2, #1
- 212 .LVL14:
- 213 0004 50F82240 ldr r4, [r0, r2, lsl #2]
- 214 0008 04F04044 and r4, r4, #-1073741824
- 215 000c 0B68 ldr r3, [r1]
- 216 000e 4D68 ldr r5, [r1, #4]
- 217 0010 43EA0513 orr r3, r3, r5, lsl #4
- 218 0014 8D68 ldr r5, [r1, #8]
- 219 0016 43EA0523 orr r3, r3, r5, lsl #8
- 220 001a CD68 ldr r5, [r1, #12]
- 221 001c 43EA0543 orr r3, r3, r5, lsl #16
-ARM GAS /tmp/ccQnhEmd.s page 11
-
-
- 222 0020 0D69 ldr r5, [r1, #16]
- 223 0022 013D subs r5, r5, #1
- 224 0024 43EA0553 orr r3, r3, r5, lsl #20
- 225 0028 4D69 ldr r5, [r1, #20]
- 226 002a 023D subs r5, r5, #2
- 227 002c 43EA0563 orr r3, r3, r5, lsl #24
- 228 0030 8969 ldr r1, [r1, #24]
- 229 .LVL15:
- 230 0032 0B43 orrs r3, r3, r1
- 231 0034 2343 orrs r3, r3, r4
- 232 0036 40F82230 str r3, [r0, r2, lsl #2]
- 343:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->AddressHoldTime) << FSMC_BT
- 344:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->DataSetupTime) << FSMC_BT
- 345:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->BusTurnAroundDuration) << FSMC_BT
- 346:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (((Timing->CLKDivision) - 1U) << FSMC_BT
- 347:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (((Timing->DataLatency) - 2U) << FSMC_BT
- 348:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (Timing->AccessMode)));
- 349:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 350:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** return HAL_OK;
- 351:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 233 .loc 1 351 0
- 234 003a 0020 movs r0, #0
- 235 .LVL16:
- 236 003c 30BC pop {r4, r5}
- 237 .LCFI7:
- 238 .cfi_restore 5
- 239 .cfi_restore 4
- 240 .cfi_def_cfa_offset 0
- 241 003e 7047 bx lr
- 242 .cfi_endproc
- 243 .LFE67:
- 245 .section .text.FSMC_NORSRAM_Extended_Timing_Init,"ax",%progbits
- 246 .align 1
- 247 .global FSMC_NORSRAM_Extended_Timing_Init
- 248 .syntax unified
- 249 .thumb
- 250 .thumb_func
- 251 .fpu softvfp
- 253 FSMC_NORSRAM_Extended_Timing_Init:
- 254 .LFB68:
- 352:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 353:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 354:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief Initialize the FSMC_NORSRAM Extended mode Timing according to the specified
- 355:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * parameters in the FSMC_NORSRAM_TimingTypeDef
- 356:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Device Pointer to NORSRAM device instance
- 357:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Timing Pointer to NORSRAM Timing structure
- 358:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Bank NORSRAM bank number
- 359:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param ExtendedMode FSMC Extended Mode
- 360:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * This parameter can be one of the following values:
- 361:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @arg FSMC_EXTENDED_MODE_DISABLE
- 362:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @arg FSMC_EXTENDED_MODE_ENABLE
- 363:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @retval HAL status
- 364:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 365:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** HAL_StatusTypeDef FSMC_NORSRAM_Extended_Timing_Init(FSMC_NORSRAM_EXTENDED_TypeDef *Device,
- 366:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_NORSRAM_TimingTypeDef *Timing, uint32_t Ban
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 255 .loc 1 367 0
-ARM GAS /tmp/ccQnhEmd.s page 12
-
-
- 256 .cfi_startproc
- 257 @ args = 0, pretend = 0, frame = 0
- 258 @ frame_needed = 0, uses_anonymous_args = 0
- 259 @ link register save eliminated.
- 260 .LVL17:
- 368:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Check the parameters */
- 369:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_EXTENDED_MODE(ExtendedMode));
- 370:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 371:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Set NORSRAM device timing register for write configuration, if extended mode is used */
- 372:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** if (ExtendedMode == FSMC_EXTENDED_MODE_ENABLE)
- 261 .loc 1 372 0
- 262 0000 B3F5804F cmp r3, #16384
- 263 0004 05D0 beq .L22
- 373:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 374:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Check the parameters */
- 375:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NORSRAM_EXTENDED_DEVICE(Device));
- 376:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_ADDRESS_SETUP_TIME(Timing->AddressSetupTime));
- 377:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_ADDRESS_HOLD_TIME(Timing->AddressHoldTime));
- 378:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_DATASETUP_TIME(Timing->DataSetupTime));
- 379:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #if defined(STM32F101xE) || defined(STM32F103xE) || defined(STM32F101xG) || defined(STM32F103xG)
- 380:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_TURNAROUND_TIME(Timing->BusTurnAroundDuration));
- 381:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #else
- 382:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_CLK_DIV(Timing->CLKDivision));
- 383:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_DATA_LATENCY(Timing->DataLatency));
- 384:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #endif /* STM32F101xE || STM32F103xE || STM32F101xG || STM32F103xG */
- 385:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_ACCESS_MODE(Timing->AccessMode));
- 386:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NORSRAM_BANK(Bank));
- 387:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 388:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Set NORSRAM device timing register for write configuration, if extended mode is used */
- 389:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #if defined(STM32F101xE) || defined(STM32F103xE) || defined(STM32F101xG) || defined(STM32F103xG)
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** MODIFY_REG(Device->BWTR[Bank], BWTR_CLEAR_MASK, (Timing->AddressSetupTime
- 391:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->AddressHoldTime) << FSMC_BWTR
- 392:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->DataSetupTime) << FSMC_BWTR
- 393:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Timing->AccessMode
- 394:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->BusTurnAroundDuration) << FSMC_BWTR
- 395:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #else
- 396:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** MODIFY_REG(Device->BWTR[Bank], BWTR_CLEAR_MASK, (Timing->AddressSetupTime
- 397:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->AddressHoldTime) << FSMC_BWTR
- 398:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->DataSetupTime) << FSMC_BWTR
- 399:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Timing->AccessMode
- 400:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (((Timing->CLKDivision) - 1U) << FSMC_BTRx
- 401:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (((Timing->DataLatency) - 2U) << FSMC_BWTR
- 402:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #endif /* STM32F101xE || STM32F103xE || STM32F101xG || STM32F103xG */
- 403:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 404:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** else
- 405:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 406:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Device->BWTR[Bank] = 0x0FFFFFFFU;
- 264 .loc 1 406 0
- 265 0006 6FF07043 mvn r3, #-268435456
- 266 .LVL18:
- 267 000a 40F82230 str r3, [r0, r2, lsl #2]
- 407:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 408:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 409:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** return HAL_OK;
- 410:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 268 .loc 1 410 0
- 269 000e 0020 movs r0, #0
-ARM GAS /tmp/ccQnhEmd.s page 13
-
-
- 270 .LVL19:
- 271 0010 7047 bx lr
- 272 .LVL20:
- 273 .L22:
- 367:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Check the parameters */
- 274 .loc 1 367 0
- 275 0012 30B4 push {r4, r5}
- 276 .LCFI8:
- 277 .cfi_def_cfa_offset 8
- 278 .cfi_offset 4, -8
- 279 .cfi_offset 5, -4
- 390:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->AddressHoldTime) << FSMC_BWTR
- 280 .loc 1 390 0
- 281 0014 50F82230 ldr r3, [r0, r2, lsl #2]
- 282 .LVL21:
- 283 0018 094C ldr r4, .L23
- 284 001a 1C40 ands r4, r4, r3
- 285 001c 0B68 ldr r3, [r1]
- 286 001e 4D68 ldr r5, [r1, #4]
- 287 0020 43EA0513 orr r3, r3, r5, lsl #4
- 288 0024 8D68 ldr r5, [r1, #8]
- 289 0026 43EA0523 orr r3, r3, r5, lsl #8
- 290 002a 8D69 ldr r5, [r1, #24]
- 291 002c 2B43 orrs r3, r3, r5
- 292 002e C968 ldr r1, [r1, #12]
- 293 .LVL22:
- 294 0030 43EA0143 orr r3, r3, r1, lsl #16
- 295 0034 2343 orrs r3, r3, r4
- 296 0036 40F82230 str r3, [r0, r2, lsl #2]
- 297 .loc 1 410 0
- 298 003a 0020 movs r0, #0
- 299 .LVL23:
- 300 003c 30BC pop {r4, r5}
- 301 .LCFI9:
- 302 .cfi_restore 5
- 303 .cfi_restore 4
- 304 .cfi_def_cfa_offset 0
- 305 003e 7047 bx lr
- 306 .L24:
- 307 .align 2
- 308 .L23:
- 309 0040 0000F0CF .word -806354944
- 310 .cfi_endproc
- 311 .LFE68:
- 313 .section .text.FSMC_NORSRAM_WriteOperation_Enable,"ax",%progbits
- 314 .align 1
- 315 .global FSMC_NORSRAM_WriteOperation_Enable
- 316 .syntax unified
- 317 .thumb
- 318 .thumb_func
- 319 .fpu softvfp
- 321 FSMC_NORSRAM_WriteOperation_Enable:
- 322 .LFB69:
- 411:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 412:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @}
- 413:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 414:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
-ARM GAS /tmp/ccQnhEmd.s page 14
-
-
- 415:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /** @addtogroup FSMC_LL_NORSRAM_Private_Functions_Group2
- 416:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief management functions
- 417:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** *
- 418:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** @verbatim
- 419:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ==============================================================================
- 420:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ##### FSMC_NORSRAM Control functions #####
- 421:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ==============================================================================
- 422:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** [..]
- 423:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** This subsection provides a set of functions allowing to control dynamically
- 424:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** the FSMC NORSRAM interface.
- 425:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 426:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** @endverbatim
- 427:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @{
- 428:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 429:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 430:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 431:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief Enables dynamically FSMC_NORSRAM write operation.
- 432:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Device Pointer to NORSRAM device instance
- 433:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Bank NORSRAM bank number
- 434:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @retval HAL status
- 435:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 436:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** HAL_StatusTypeDef FSMC_NORSRAM_WriteOperation_Enable(FSMC_NORSRAM_TypeDef *Device, uint32_t Bank)
- 437:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 323 .loc 1 437 0
- 324 .cfi_startproc
- 325 @ args = 0, pretend = 0, frame = 0
- 326 @ frame_needed = 0, uses_anonymous_args = 0
- 327 @ link register save eliminated.
- 328 .LVL24:
- 438:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Check the parameters */
- 439:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NORSRAM_DEVICE(Device));
- 440:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NORSRAM_BANK(Bank));
- 441:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 442:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Enable write operation */
- 443:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** SET_BIT(Device->BTCR[Bank], FSMC_WRITE_OPERATION_ENABLE);
- 329 .loc 1 443 0
- 330 0000 50F82130 ldr r3, [r0, r1, lsl #2]
- 331 0004 43F48053 orr r3, r3, #4096
- 332 0008 40F82130 str r3, [r0, r1, lsl #2]
- 444:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 445:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** return HAL_OK;
- 446:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 333 .loc 1 446 0
- 334 000c 0020 movs r0, #0
- 335 .LVL25:
- 336 000e 7047 bx lr
- 337 .cfi_endproc
- 338 .LFE69:
- 340 .section .text.FSMC_NORSRAM_WriteOperation_Disable,"ax",%progbits
- 341 .align 1
- 342 .global FSMC_NORSRAM_WriteOperation_Disable
- 343 .syntax unified
- 344 .thumb
- 345 .thumb_func
- 346 .fpu softvfp
- 348 FSMC_NORSRAM_WriteOperation_Disable:
- 349 .LFB70:
-ARM GAS /tmp/ccQnhEmd.s page 15
-
-
- 447:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 448:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 449:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief Disables dynamically FSMC_NORSRAM write operation.
- 450:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Device Pointer to NORSRAM device instance
- 451:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Bank NORSRAM bank number
- 452:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @retval HAL status
- 453:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 454:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** HAL_StatusTypeDef FSMC_NORSRAM_WriteOperation_Disable(FSMC_NORSRAM_TypeDef *Device, uint32_t Bank)
- 455:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 350 .loc 1 455 0
- 351 .cfi_startproc
- 352 @ args = 0, pretend = 0, frame = 0
- 353 @ frame_needed = 0, uses_anonymous_args = 0
- 354 @ link register save eliminated.
- 355 .LVL26:
- 456:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Check the parameters */
- 457:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NORSRAM_DEVICE(Device));
- 458:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NORSRAM_BANK(Bank));
- 459:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 460:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Disable write operation */
- 461:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** CLEAR_BIT(Device->BTCR[Bank], FSMC_WRITE_OPERATION_ENABLE);
- 356 .loc 1 461 0
- 357 0000 50F82130 ldr r3, [r0, r1, lsl #2]
- 358 0004 23F48053 bic r3, r3, #4096
- 359 0008 40F82130 str r3, [r0, r1, lsl #2]
- 462:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 463:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** return HAL_OK;
- 464:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 360 .loc 1 464 0
- 361 000c 0020 movs r0, #0
- 362 .LVL27:
- 363 000e 7047 bx lr
- 364 .cfi_endproc
- 365 .LFE70:
- 367 .section .text.FSMC_NAND_Init,"ax",%progbits
- 368 .align 1
- 369 .global FSMC_NAND_Init
- 370 .syntax unified
- 371 .thumb
- 372 .thumb_func
- 373 .fpu softvfp
- 375 FSMC_NAND_Init:
- 376 .LFB71:
- 465:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 466:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 467:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @}
- 468:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 469:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 470:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 471:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @}
- 472:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 473:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #endif /* FSMC_BANK1 */
- 474:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 475:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #if defined(FSMC_BANK3)
- 476:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 477:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /** @defgroup FSMC_LL_Exported_Functions_NAND FSMC Low Layer NAND Exported Functions
- 478:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief NAND Controller functions
-ARM GAS /tmp/ccQnhEmd.s page 16
-
-
- 479:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** *
- 480:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** @verbatim
- 481:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ==============================================================================
- 482:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ##### How to use NAND device driver #####
- 483:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ==============================================================================
- 484:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** [..]
- 485:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** This driver contains a set of APIs to interface with the FSMC NAND banks in order
- 486:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** to run the NAND external devices.
- 487:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 488:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) FSMC NAND bank reset using the function FSMC_NAND_DeInit()
- 489:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) FSMC NAND bank control configuration using the function FSMC_NAND_Init()
- 490:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) FSMC NAND bank common space timing configuration using the function
- 491:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_NAND_CommonSpace_Timing_Init()
- 492:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) FSMC NAND bank attribute space timing configuration using the function
- 493:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_NAND_AttributeSpace_Timing_Init()
- 494:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) FSMC NAND bank enable/disable ECC correction feature using the functions
- 495:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_NAND_ECC_Enable()/FSMC_NAND_ECC_Disable()
- 496:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) FSMC NAND bank get ECC correction code using the function FSMC_NAND_GetECC()
- 497:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 498:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** @endverbatim
- 499:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @{
- 500:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 501:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 502:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /** @defgroup FSMC_LL_NAND_Exported_Functions_Group1 Initialization and de-initialization functions
- 503:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief Initialization and Configuration functions
- 504:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** *
- 505:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** @verbatim
- 506:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ==============================================================================
- 507:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ##### Initialization and de_initialization functions #####
- 508:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ==============================================================================
- 509:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** [..]
- 510:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** This section provides functions allowing to:
- 511:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) Initialize and configure the FSMC NAND interface
- 512:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) De-initialize the FSMC NAND interface
- 513:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) Configure the FSMC clock and associated GPIOs
- 514:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 515:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** @endverbatim
- 516:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @{
- 517:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 518:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 519:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 520:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief Initializes the FSMC_NAND device according to the specified
- 521:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * control parameters in the FSMC_NAND_HandleTypeDef
- 522:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Device Pointer to NAND device instance
- 523:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Init Pointer to NAND Initialization structure
- 524:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @retval HAL status
- 525:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 526:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** HAL_StatusTypeDef FSMC_NAND_Init(FSMC_NAND_TypeDef *Device, FSMC_NAND_InitTypeDef *Init)
- 527:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 377 .loc 1 527 0
- 378 .cfi_startproc
- 379 @ args = 0, pretend = 0, frame = 0
- 380 @ frame_needed = 0, uses_anonymous_args = 0
- 381 @ link register save eliminated.
- 382 .LVL28:
- 383 0000 10B4 push {r4}
- 384 .LCFI10:
-ARM GAS /tmp/ccQnhEmd.s page 17
-
-
- 385 .cfi_def_cfa_offset 4
- 386 .cfi_offset 4, -4
- 528:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Check the parameters */
- 529:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NAND_DEVICE(Device));
- 530:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NAND_BANK(Init->NandBank));
- 531:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_WAIT_FEATURE(Init->Waitfeature));
- 532:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NAND_MEMORY_WIDTH(Init->MemoryDataWidth));
- 533:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_ECC_STATE(Init->EccComputation));
- 534:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_ECCPAGE_SIZE(Init->ECCPageSize));
- 535:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_TCLR_TIME(Init->TCLRSetupTime));
- 536:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_TAR_TIME(Init->TARSetupTime));
- 537:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 538:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Set NAND device control parameters */
- 539:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** if (Init->NandBank == FSMC_NAND_BANK2)
- 387 .loc 1 539 0
- 388 0002 0B68 ldr r3, [r1]
- 389 0004 102B cmp r3, #16
- 390 0006 16D0 beq .L31
- 540:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 541:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* NAND bank 2 registers configuration */
- 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** MODIFY_REG(Device->PCR2, PCR_CLEAR_MASK, (Init->Waitfeature
- 543:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_PCR_MEMORY_TYPE_NAND
- 544:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->MemoryDataWidth
- 545:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->EccComputation
- 546:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->ECCPageSize
- 547:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Init->TCLRSetupTime) << FSMC_PCRx_TCLR_Pos) |
- 548:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Init->TARSetupTime) << FSMC_PCRx_TAR_Pos)));
- 549:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 550:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** else
- 551:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 552:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* NAND bank 3 registers configuration */
- 553:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** MODIFY_REG(Device->PCR3, PCR_CLEAR_MASK, (Init->Waitfeature
- 391 .loc 1 553 0
- 392 0008 036A ldr r3, [r0, #32]
- 393 000a 154A ldr r2, .L32
- 394 000c 1A40 ands r2, r2, r3
- 395 000e 4B68 ldr r3, [r1, #4]
- 396 0010 8C68 ldr r4, [r1, #8]
- 397 0012 2343 orrs r3, r3, r4
- 398 0014 CC68 ldr r4, [r1, #12]
- 399 0016 2343 orrs r3, r3, r4
- 400 0018 0C69 ldr r4, [r1, #16]
- 401 001a 2343 orrs r3, r3, r4
- 402 001c 4C69 ldr r4, [r1, #20]
- 403 001e 43EA4423 orr r3, r3, r4, lsl #9
- 404 0022 8969 ldr r1, [r1, #24]
- 405 .LVL29:
- 406 0024 43EA4133 orr r3, r3, r1, lsl #13
- 407 0028 1343 orrs r3, r3, r2
- 408 002a 43F00803 orr r3, r3, #8
- 409 002e 0362 str r3, [r0, #32]
- 410 .L29:
- 554:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_PCR_MEMORY_TYPE_NAND
- 555:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->MemoryDataWidth
- 556:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->EccComputation
- 557:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->ECCPageSize
- 558:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Init->TCLRSetupTime) << FSMC_PCRx_TCLR_Pos) |
-ARM GAS /tmp/ccQnhEmd.s page 18
-
-
- 559:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Init->TARSetupTime) << FSMC_PCRx_TAR_Pos)));
- 560:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 561:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 562:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** return HAL_OK;
- 563:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 411 .loc 1 563 0
- 412 0030 0020 movs r0, #0
- 413 .LVL30:
- 414 0032 10BC pop {r4}
- 415 .LCFI11:
- 416 .cfi_remember_state
- 417 .cfi_restore 4
- 418 .cfi_def_cfa_offset 0
- 419 0034 7047 bx lr
- 420 .LVL31:
- 421 .L31:
- 422 .LCFI12:
- 423 .cfi_restore_state
- 542:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_PCR_MEMORY_TYPE_NAND
- 424 .loc 1 542 0
- 425 0036 0368 ldr r3, [r0]
- 426 0038 094A ldr r2, .L32
- 427 003a 1A40 ands r2, r2, r3
- 428 003c 4B68 ldr r3, [r1, #4]
- 429 003e 8C68 ldr r4, [r1, #8]
- 430 0040 2343 orrs r3, r3, r4
- 431 0042 CC68 ldr r4, [r1, #12]
- 432 0044 2343 orrs r3, r3, r4
- 433 0046 0C69 ldr r4, [r1, #16]
- 434 0048 2343 orrs r3, r3, r4
- 435 004a 4C69 ldr r4, [r1, #20]
- 436 004c 43EA4423 orr r3, r3, r4, lsl #9
- 437 0050 8969 ldr r1, [r1, #24]
- 438 .LVL32:
- 439 0052 43EA4133 orr r3, r3, r1, lsl #13
- 440 0056 1343 orrs r3, r3, r2
- 441 0058 43F00803 orr r3, r3, #8
- 442 005c 0360 str r3, [r0]
- 443 005e E7E7 b .L29
- 444 .L33:
- 445 .align 2
- 446 .L32:
- 447 0060 8101F0FF .word -1048191
- 448 .cfi_endproc
- 449 .LFE71:
- 451 .section .text.FSMC_NAND_CommonSpace_Timing_Init,"ax",%progbits
- 452 .align 1
- 453 .global FSMC_NAND_CommonSpace_Timing_Init
- 454 .syntax unified
- 455 .thumb
- 456 .thumb_func
- 457 .fpu softvfp
- 459 FSMC_NAND_CommonSpace_Timing_Init:
- 460 .LFB72:
- 564:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 565:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 566:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief Initializes the FSMC_NAND Common space Timing according to the specified
-ARM GAS /tmp/ccQnhEmd.s page 19
-
-
- 567:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * parameters in the FSMC_NAND_PCC_TimingTypeDef
- 568:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Device Pointer to NAND device instance
- 569:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Timing Pointer to NAND timing structure
- 570:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Bank NAND bank number
- 571:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @retval HAL status
- 572:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 573:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** HAL_StatusTypeDef FSMC_NAND_CommonSpace_Timing_Init(FSMC_NAND_TypeDef *Device,
- 574:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_NAND_PCC_TimingTypeDef *Timing, uint32_t Ba
- 575:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 461 .loc 1 575 0
- 462 .cfi_startproc
- 463 @ args = 0, pretend = 0, frame = 0
- 464 @ frame_needed = 0, uses_anonymous_args = 0
- 465 @ link register save eliminated.
- 466 .LVL33:
- 576:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Check the parameters */
- 577:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NAND_DEVICE(Device));
- 578:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_SETUP_TIME(Timing->SetupTime));
- 579:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_WAIT_TIME(Timing->WaitSetupTime));
- 580:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_HOLD_TIME(Timing->HoldSetupTime));
- 581:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_HIZ_TIME(Timing->HiZSetupTime));
- 582:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NAND_BANK(Bank));
- 583:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 584:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Set FSMC_NAND device timing parameters */
- 585:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** if (Bank == FSMC_NAND_BANK2)
- 467 .loc 1 585 0
- 468 0000 102A cmp r2, #16
- 469 0002 0DD0 beq .L37
- 586:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 587:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* NAND bank 2 registers configuration */
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** MODIFY_REG(Device->PMEM2, PMEM_CLEAR_MASK, (Timing->SetupTime
- 589:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->WaitSetupTime) << FSMC_PMEMx_MEMWAITx_Pos
- 590:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->HoldSetupTime) << FSMC_PMEMx_MEMHOLDx_Pos
- 591:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->HiZSetupTime) << FSMC_PMEMx_MEMHIZx_Pos)
- 592:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 593:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** else
- 594:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 595:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* NAND bank 3 registers configuration */
- 596:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** MODIFY_REG(Device->PMEM3, PMEM_CLEAR_MASK, (Timing->SetupTime
- 470 .loc 1 596 0
- 471 0004 836A ldr r3, [r0, #40]
- 472 0006 0B68 ldr r3, [r1]
- 473 0008 4A68 ldr r2, [r1, #4]
- 474 .LVL34:
- 475 000a 43EA0223 orr r3, r3, r2, lsl #8
- 476 000e 8A68 ldr r2, [r1, #8]
- 477 0010 43EA0243 orr r3, r3, r2, lsl #16
- 478 0014 CA68 ldr r2, [r1, #12]
- 479 0016 43EA0263 orr r3, r3, r2, lsl #24
- 480 001a 8362 str r3, [r0, #40]
- 481 .L36:
- 597:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->WaitSetupTime) << FSMC_PMEMx_MEMWAITx_Pos
- 598:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->HoldSetupTime) << FSMC_PMEMx_MEMHOLDx_Pos
- 599:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->HiZSetupTime) << FSMC_PMEMx_MEMHIZx_Pos)
- 600:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 601:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 602:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** return HAL_OK;
-ARM GAS /tmp/ccQnhEmd.s page 20
-
-
- 603:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 482 .loc 1 603 0
- 483 001c 0020 movs r0, #0
- 484 .LVL35:
- 485 001e 7047 bx lr
- 486 .LVL36:
- 487 .L37:
- 588:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->WaitSetupTime) << FSMC_PMEMx_MEMWAITx_Pos
- 488 .loc 1 588 0
- 489 0020 8368 ldr r3, [r0, #8]
- 490 0022 0B68 ldr r3, [r1]
- 491 0024 4A68 ldr r2, [r1, #4]
- 492 .LVL37:
- 493 0026 43EA0223 orr r3, r3, r2, lsl #8
- 494 002a 8A68 ldr r2, [r1, #8]
- 495 002c 43EA0243 orr r3, r3, r2, lsl #16
- 496 0030 CA68 ldr r2, [r1, #12]
- 497 0032 43EA0263 orr r3, r3, r2, lsl #24
- 498 0036 8360 str r3, [r0, #8]
- 499 0038 F0E7 b .L36
- 500 .cfi_endproc
- 501 .LFE72:
- 503 .section .text.FSMC_NAND_AttributeSpace_Timing_Init,"ax",%progbits
- 504 .align 1
- 505 .global FSMC_NAND_AttributeSpace_Timing_Init
- 506 .syntax unified
- 507 .thumb
- 508 .thumb_func
- 509 .fpu softvfp
- 511 FSMC_NAND_AttributeSpace_Timing_Init:
- 512 .LFB73:
- 604:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 605:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 606:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief Initializes the FSMC_NAND Attribute space Timing according to the specified
- 607:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * parameters in the FSMC_NAND_PCC_TimingTypeDef
- 608:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Device Pointer to NAND device instance
- 609:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Timing Pointer to NAND timing structure
- 610:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Bank NAND bank number
- 611:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @retval HAL status
- 612:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 613:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** HAL_StatusTypeDef FSMC_NAND_AttributeSpace_Timing_Init(FSMC_NAND_TypeDef *Device,
- 614:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_NAND_PCC_TimingTypeDef *Timing, uint32_t
- 615:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 513 .loc 1 615 0
- 514 .cfi_startproc
- 515 @ args = 0, pretend = 0, frame = 0
- 516 @ frame_needed = 0, uses_anonymous_args = 0
- 517 @ link register save eliminated.
- 518 .LVL38:
- 616:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Check the parameters */
- 617:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NAND_DEVICE(Device));
- 618:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_SETUP_TIME(Timing->SetupTime));
- 619:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_WAIT_TIME(Timing->WaitSetupTime));
- 620:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_HOLD_TIME(Timing->HoldSetupTime));
- 621:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_HIZ_TIME(Timing->HiZSetupTime));
- 622:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NAND_BANK(Bank));
- 623:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
-ARM GAS /tmp/ccQnhEmd.s page 21
-
-
- 624:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Set FSMC_NAND device timing parameters */
- 625:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** if (Bank == FSMC_NAND_BANK2)
- 519 .loc 1 625 0
- 520 0000 102A cmp r2, #16
- 521 0002 0DD0 beq .L41
- 626:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 627:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* NAND bank 2 registers configuration */
- 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** MODIFY_REG(Device->PATT2, PATT_CLEAR_MASK, (Timing->SetupTime
- 629:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->WaitSetupTime) << FSMC_PATTx_ATTWAITx_Pos
- 630:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->HoldSetupTime) << FSMC_PATTx_ATTHOLDx_Pos
- 631:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->HiZSetupTime) << FSMC_PATTx_ATTHIZx_Pos)
- 632:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 633:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** else
- 634:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 635:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* NAND bank 3 registers configuration */
- 636:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** MODIFY_REG(Device->PATT3, PATT_CLEAR_MASK, (Timing->SetupTime
- 522 .loc 1 636 0
- 523 0004 C36A ldr r3, [r0, #44]
- 524 0006 0B68 ldr r3, [r1]
- 525 0008 4A68 ldr r2, [r1, #4]
- 526 .LVL39:
- 527 000a 43EA0223 orr r3, r3, r2, lsl #8
- 528 000e 8A68 ldr r2, [r1, #8]
- 529 0010 43EA0243 orr r3, r3, r2, lsl #16
- 530 0014 CA68 ldr r2, [r1, #12]
- 531 0016 43EA0263 orr r3, r3, r2, lsl #24
- 532 001a C362 str r3, [r0, #44]
- 533 .L40:
- 637:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->WaitSetupTime) << FSMC_PATTx_ATTWAITx_Pos
- 638:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->HoldSetupTime) << FSMC_PATTx_ATTHOLDx_Pos
- 639:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->HiZSetupTime) << FSMC_PATTx_ATTHIZx_Pos)
- 640:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 641:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 642:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** return HAL_OK;
- 643:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 534 .loc 1 643 0
- 535 001c 0020 movs r0, #0
- 536 .LVL40:
- 537 001e 7047 bx lr
- 538 .LVL41:
- 539 .L41:
- 628:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->WaitSetupTime) << FSMC_PATTx_ATTWAITx_Pos
- 540 .loc 1 628 0
- 541 0020 C368 ldr r3, [r0, #12]
- 542 0022 0B68 ldr r3, [r1]
- 543 0024 4A68 ldr r2, [r1, #4]
- 544 .LVL42:
- 545 0026 43EA0223 orr r3, r3, r2, lsl #8
- 546 002a 8A68 ldr r2, [r1, #8]
- 547 002c 43EA0243 orr r3, r3, r2, lsl #16
- 548 0030 CA68 ldr r2, [r1, #12]
- 549 0032 43EA0263 orr r3, r3, r2, lsl #24
- 550 0036 C360 str r3, [r0, #12]
- 551 0038 F0E7 b .L40
- 552 .cfi_endproc
- 553 .LFE73:
- 555 .section .text.FSMC_NAND_DeInit,"ax",%progbits
-ARM GAS /tmp/ccQnhEmd.s page 22
-
-
- 556 .align 1
- 557 .global FSMC_NAND_DeInit
- 558 .syntax unified
- 559 .thumb
- 560 .thumb_func
- 561 .fpu softvfp
- 563 FSMC_NAND_DeInit:
- 564 .LFB74:
- 644:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 645:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 646:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief DeInitializes the FSMC_NAND device
- 647:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Device Pointer to NAND device instance
- 648:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Bank NAND bank number
- 649:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @retval HAL status
- 650:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 651:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** HAL_StatusTypeDef FSMC_NAND_DeInit(FSMC_NAND_TypeDef *Device, uint32_t Bank)
- 652:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 565 .loc 1 652 0
- 566 .cfi_startproc
- 567 @ args = 0, pretend = 0, frame = 0
- 568 @ frame_needed = 0, uses_anonymous_args = 0
- 569 @ link register save eliminated.
- 570 .LVL43:
- 653:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Check the parameters */
- 654:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NAND_DEVICE(Device));
- 655:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NAND_BANK(Bank));
- 656:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 657:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Disable the NAND Bank */
- 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** __FSMC_NAND_DISABLE(Device, Bank);
- 571 .loc 1 658 0
- 572 0000 1029 cmp r1, #16
- 573 0002 0FD0 beq .L47
- 574 .loc 1 658 0 is_stmt 0 discriminator 2
- 575 0004 036A ldr r3, [r0, #32]
- 576 0006 23F00403 bic r3, r3, #4
- 577 000a 0362 str r3, [r0, #32]
- 578 .L44:
- 659:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 660:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* De-initialize the NAND Bank */
- 661:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** if (Bank == FSMC_NAND_BANK2)
- 579 .loc 1 661 0 is_stmt 1
- 580 000c 1029 cmp r1, #16
- 581 000e 0ED0 beq .L48
- 662:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 663:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Set the FSMC_NAND_BANK2 registers to their reset values */
- 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** WRITE_REG(Device->PCR2, 0x00000018U);
- 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** WRITE_REG(Device->SR2, 0x00000040U);
- 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** WRITE_REG(Device->PMEM2, 0xFCFCFCFCU);
- 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** WRITE_REG(Device->PATT2, 0xFCFCFCFCU);
- 668:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 669:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* FSMC_Bank3_NAND */
- 670:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** else
- 671:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 672:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Set the FSMC_NAND_BANK3 registers to their reset values */
- 673:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** WRITE_REG(Device->PCR3, 0x00000018U);
- 582 .loc 1 673 0
- 583 0010 1823 movs r3, #24
-ARM GAS /tmp/ccQnhEmd.s page 23
-
-
- 584 0012 0362 str r3, [r0, #32]
- 674:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** WRITE_REG(Device->SR3, 0x00000040U);
- 585 .loc 1 674 0
- 586 0014 4023 movs r3, #64
- 587 0016 4362 str r3, [r0, #36]
- 675:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** WRITE_REG(Device->PMEM3, 0xFCFCFCFCU);
- 588 .loc 1 675 0
- 589 0018 4FF0FC33 mov r3, #-50529028
- 590 001c 8362 str r3, [r0, #40]
- 676:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** WRITE_REG(Device->PATT3, 0xFCFCFCFCU);
- 591 .loc 1 676 0
- 592 001e C362 str r3, [r0, #44]
- 593 .L46:
- 677:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 678:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 679:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** return HAL_OK;
- 680:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 594 .loc 1 680 0
- 595 0020 0020 movs r0, #0
- 596 .LVL44:
- 597 0022 7047 bx lr
- 598 .LVL45:
- 599 .L47:
- 658:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 600 .loc 1 658 0 discriminator 1
- 601 0024 0368 ldr r3, [r0]
- 602 0026 23F00403 bic r3, r3, #4
- 603 002a 0360 str r3, [r0]
- 604 002c EEE7 b .L44
- 605 .L48:
- 664:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** WRITE_REG(Device->SR2, 0x00000040U);
- 606 .loc 1 664 0
- 607 002e 1823 movs r3, #24
- 608 0030 0360 str r3, [r0]
- 665:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** WRITE_REG(Device->PMEM2, 0xFCFCFCFCU);
- 609 .loc 1 665 0
- 610 0032 4023 movs r3, #64
- 611 0034 4360 str r3, [r0, #4]
- 666:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** WRITE_REG(Device->PATT2, 0xFCFCFCFCU);
- 612 .loc 1 666 0
- 613 0036 4FF0FC33 mov r3, #-50529028
- 614 003a 8360 str r3, [r0, #8]
- 667:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 615 .loc 1 667 0
- 616 003c C360 str r3, [r0, #12]
- 617 003e EFE7 b .L46
- 618 .cfi_endproc
- 619 .LFE74:
- 621 .section .text.FSMC_NAND_ECC_Enable,"ax",%progbits
- 622 .align 1
- 623 .global FSMC_NAND_ECC_Enable
- 624 .syntax unified
- 625 .thumb
- 626 .thumb_func
- 627 .fpu softvfp
- 629 FSMC_NAND_ECC_Enable:
- 630 .LFB75:
-ARM GAS /tmp/ccQnhEmd.s page 24
-
-
- 681:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 682:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 683:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @}
- 684:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 685:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 686:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /** @defgroup HAL_FSMC_NAND_Group2 Peripheral Control functions
- 687:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief management functions
- 688:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** *
- 689:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** @verbatim
- 690:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ==============================================================================
- 691:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ##### FSMC_NAND Control functions #####
- 692:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ==============================================================================
- 693:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** [..]
- 694:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** This subsection provides a set of functions allowing to control dynamically
- 695:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** the FSMC NAND interface.
- 696:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 697:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** @endverbatim
- 698:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @{
- 699:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 700:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 701:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 702:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 703:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief Enables dynamically FSMC_NAND ECC feature.
- 704:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Device Pointer to NAND device instance
- 705:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Bank NAND bank number
- 706:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @retval HAL status
- 707:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 708:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** HAL_StatusTypeDef FSMC_NAND_ECC_Enable(FSMC_NAND_TypeDef *Device, uint32_t Bank)
- 709:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 631 .loc 1 709 0
- 632 .cfi_startproc
- 633 @ args = 0, pretend = 0, frame = 0
- 634 @ frame_needed = 0, uses_anonymous_args = 0
- 635 @ link register save eliminated.
- 636 .LVL46:
- 710:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Check the parameters */
- 711:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NAND_DEVICE(Device));
- 712:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NAND_BANK(Bank));
- 713:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 714:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Enable ECC feature */
- 715:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** if (Bank == FSMC_NAND_BANK2)
- 637 .loc 1 715 0
- 638 0000 1029 cmp r1, #16
- 639 0002 05D0 beq .L52
- 716:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** SET_BIT(Device->PCR2, FSMC_PCRx_ECCEN);
- 718:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 719:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** else
- 720:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 721:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** SET_BIT(Device->PCR3, FSMC_PCRx_ECCEN);
- 640 .loc 1 721 0
- 641 0004 036A ldr r3, [r0, #32]
- 642 0006 43F04003 orr r3, r3, #64
- 643 000a 0362 str r3, [r0, #32]
- 644 .L51:
- 722:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 723:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
-ARM GAS /tmp/ccQnhEmd.s page 25
-
-
- 724:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** return HAL_OK;
- 725:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 645 .loc 1 725 0
- 646 000c 0020 movs r0, #0
- 647 .LVL47:
- 648 000e 7047 bx lr
- 649 .LVL48:
- 650 .L52:
- 717:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 651 .loc 1 717 0
- 652 0010 0368 ldr r3, [r0]
- 653 0012 43F04003 orr r3, r3, #64
- 654 0016 0360 str r3, [r0]
- 655 0018 F8E7 b .L51
- 656 .cfi_endproc
- 657 .LFE75:
- 659 .section .text.FSMC_NAND_ECC_Disable,"ax",%progbits
- 660 .align 1
- 661 .global FSMC_NAND_ECC_Disable
- 662 .syntax unified
- 663 .thumb
- 664 .thumb_func
- 665 .fpu softvfp
- 667 FSMC_NAND_ECC_Disable:
- 668 .LFB76:
- 726:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 727:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 728:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 729:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief Disables dynamically FSMC_NAND ECC feature.
- 730:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Device Pointer to NAND device instance
- 731:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Bank NAND bank number
- 732:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @retval HAL status
- 733:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 734:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** HAL_StatusTypeDef FSMC_NAND_ECC_Disable(FSMC_NAND_TypeDef *Device, uint32_t Bank)
- 735:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 669 .loc 1 735 0
- 670 .cfi_startproc
- 671 @ args = 0, pretend = 0, frame = 0
- 672 @ frame_needed = 0, uses_anonymous_args = 0
- 673 @ link register save eliminated.
- 674 .LVL49:
- 736:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Check the parameters */
- 737:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NAND_DEVICE(Device));
- 738:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NAND_BANK(Bank));
- 739:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 740:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Disable ECC feature */
- 741:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** if (Bank == FSMC_NAND_BANK2)
- 675 .loc 1 741 0
- 676 0000 1029 cmp r1, #16
- 677 0002 05D0 beq .L56
- 742:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** CLEAR_BIT(Device->PCR2, FSMC_PCRx_ECCEN);
- 744:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 745:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** else
- 746:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 747:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** CLEAR_BIT(Device->PCR3, FSMC_PCRx_ECCEN);
- 678 .loc 1 747 0
-ARM GAS /tmp/ccQnhEmd.s page 26
-
-
- 679 0004 036A ldr r3, [r0, #32]
- 680 0006 23F04003 bic r3, r3, #64
- 681 000a 0362 str r3, [r0, #32]
- 682 .L55:
- 748:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 749:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 750:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** return HAL_OK;
- 751:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 683 .loc 1 751 0
- 684 000c 0020 movs r0, #0
- 685 .LVL50:
- 686 000e 7047 bx lr
- 687 .LVL51:
- 688 .L56:
- 743:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 689 .loc 1 743 0
- 690 0010 0368 ldr r3, [r0]
- 691 0012 23F04003 bic r3, r3, #64
- 692 0016 0360 str r3, [r0]
- 693 0018 F8E7 b .L55
- 694 .cfi_endproc
- 695 .LFE76:
- 697 .section .text.FSMC_NAND_GetECC,"ax",%progbits
- 698 .align 1
- 699 .global FSMC_NAND_GetECC
- 700 .syntax unified
- 701 .thumb
- 702 .thumb_func
- 703 .fpu softvfp
- 705 FSMC_NAND_GetECC:
- 706 .LFB77:
- 752:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 753:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 754:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief Disables dynamically FSMC_NAND ECC feature.
- 755:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Device Pointer to NAND device instance
- 756:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param ECCval Pointer to ECC value
- 757:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Bank NAND bank number
- 758:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Timeout Timeout wait value
- 759:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @retval HAL status
- 760:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 761:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** HAL_StatusTypeDef FSMC_NAND_GetECC(FSMC_NAND_TypeDef *Device, uint32_t *ECCval, uint32_t Bank,
- 762:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** uint32_t Timeout)
- 763:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 707 .loc 1 763 0
- 708 .cfi_startproc
- 709 @ args = 0, pretend = 0, frame = 0
- 710 @ frame_needed = 0, uses_anonymous_args = 0
- 711 .LVL52:
- 712 0000 2DE9F041 push {r4, r5, r6, r7, r8, lr}
- 713 .LCFI13:
- 714 .cfi_def_cfa_offset 24
- 715 .cfi_offset 4, -24
- 716 .cfi_offset 5, -20
- 717 .cfi_offset 6, -16
- 718 .cfi_offset 7, -12
- 719 .cfi_offset 8, -8
- 720 .cfi_offset 14, -4
-ARM GAS /tmp/ccQnhEmd.s page 27
-
-
- 721 0004 0446 mov r4, r0
- 722 0006 0F46 mov r7, r1
- 723 0008 1546 mov r5, r2
- 724 000a 1E46 mov r6, r3
- 764:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** uint32_t tickstart;
- 765:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 766:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Check the parameters */
- 767:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NAND_DEVICE(Device));
- 768:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_NAND_BANK(Bank));
- 769:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 770:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Get tick */
- 771:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** tickstart = HAL_GetTick();
- 725 .loc 1 771 0
- 726 000c FFF7FEFF bl HAL_GetTick
- 727 .LVL53:
- 728 0010 8046 mov r8, r0
- 729 .LVL54:
- 772:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 773:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Wait until FIFO is empty */
- 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** while (__FSMC_NAND_GET_FLAG(Device, Bank, FSMC_FLAG_FEMPT) == RESET)
- 730 .loc 1 774 0
- 731 0012 13E0 b .L59
- 732 .LVL55:
- 733 .L69:
- 775:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 776:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Check for the Timeout */
- 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** if (Timeout != HAL_MAX_DELAY)
- 778:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 779:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0U))
- 734 .loc 1 779 0
- 735 0014 FFF7FEFF bl HAL_GetTick
- 736 .LVL56:
- 737 0018 A0EB0800 sub r0, r0, r8
- 738 001c 8642 cmp r6, r0
- 739 001e 22D3 bcc .L65
- 740 .loc 1 779 0 is_stmt 0 discriminator 1
- 741 0020 66B9 cbnz r6, .L59
- 780:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** return HAL_TIMEOUT;
- 742 .loc 1 781 0 is_stmt 1
- 743 0022 0320 movs r0, #3
- 782:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 783:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 784:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 785:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** if (Bank == FSMC_NAND_BANK2)
- 787:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 788:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Get the ECCR2 register value */
- 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** *ECCval = (uint32_t)Device->ECCR2;
- 790:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 791:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** else
- 792:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 793:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Get the ECCR3 register value */
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** *ECCval = (uint32_t)Device->ECCR3;
- 795:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 796:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** return HAL_OK;
-ARM GAS /tmp/ccQnhEmd.s page 28
-
-
- 798:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 744 .loc 1 798 0
- 745 0024 BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 746 .LVL57:
- 747 .L70:
- 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 748 .loc 1 774 0 discriminator 1
- 749 0028 6368 ldr r3, [r4, #4]
- 750 002a 13F0400F tst r3, #64
- 751 002e 0CBF ite eq
- 752 0030 0123 moveq r3, #1
- 753 0032 0023 movne r3, #0
- 754 .L62:
- 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 755 .loc 1 774 0 is_stmt 0 discriminator 4
- 756 0034 5BB1 cbz r3, .L68
- 777:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 757 .loc 1 777 0 is_stmt 1
- 758 0036 B6F1FF3F cmp r6, #-1
- 759 003a EBD1 bne .L69
- 760 .L59:
- 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 761 .loc 1 774 0
- 762 003c 102D cmp r5, #16
- 763 003e F3D0 beq .L70
- 774:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 764 .loc 1 774 0 is_stmt 0 discriminator 2
- 765 0040 636A ldr r3, [r4, #36]
- 766 0042 13F0400F tst r3, #64
- 767 0046 0CBF ite eq
- 768 0048 0123 moveq r3, #1
- 769 004a 0023 movne r3, #0
- 770 004c F2E7 b .L62
- 771 .L68:
- 786:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 772 .loc 1 786 0 is_stmt 1
- 773 004e 102D cmp r5, #16
- 774 0050 04D0 beq .L71
- 794:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 775 .loc 1 794 0
- 776 0052 636B ldr r3, [r4, #52]
- 777 0054 3B60 str r3, [r7]
- 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 778 .loc 1 797 0
- 779 0056 0020 movs r0, #0
- 780 0058 BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 781 .LVL58:
- 782 .L71:
- 789:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 783 .loc 1 789 0
- 784 005c 6369 ldr r3, [r4, #20]
- 785 005e 3B60 str r3, [r7]
- 797:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 786 .loc 1 797 0
- 787 0060 0020 movs r0, #0
- 788 0062 BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 789 .LVL59:
-ARM GAS /tmp/ccQnhEmd.s page 29
-
-
- 790 .L65:
- 781:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 791 .loc 1 781 0
- 792 0066 0320 movs r0, #3
- 793 0068 BDE8F081 pop {r4, r5, r6, r7, r8, pc}
- 794 .cfi_endproc
- 795 .LFE77:
- 797 .section .text.FSMC_PCCARD_Init,"ax",%progbits
- 798 .align 1
- 799 .global FSMC_PCCARD_Init
- 800 .syntax unified
- 801 .thumb
- 802 .thumb_func
- 803 .fpu softvfp
- 805 FSMC_PCCARD_Init:
- 806 .LFB78:
- 799:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 800:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 801:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @}
- 802:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 803:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #endif /* FSMC_BANK3 */
- 804:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 805:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** #if defined(FSMC_BANK4)
- 806:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 807:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /** @addtogroup FSMC_LL_PCCARD
- 808:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief PCCARD Controller functions
- 809:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** *
- 810:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** @verbatim
- 811:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ==============================================================================
- 812:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ##### How to use PCCARD device driver #####
- 813:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ==============================================================================
- 814:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** [..]
- 815:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** This driver contains a set of APIs to interface with the FSMC PCCARD bank in order
- 816:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** to run the PCCARD/compact flash external devices.
- 817:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 818:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) FSMC PCCARD bank reset using the function FSMC_PCCARD_DeInit()
- 819:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) FSMC PCCARD bank control configuration using the function FSMC_PCCARD_Init()
- 820:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) FSMC PCCARD bank common space timing configuration using the function
- 821:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_PCCARD_CommonSpace_Timing_Init()
- 822:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) FSMC PCCARD bank attribute space timing configuration using the function
- 823:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_PCCARD_AttributeSpace_Timing_Init()
- 824:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) FSMC PCCARD bank IO space timing configuration using the function
- 825:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_PCCARD_IOSpace_Timing_Init()
- 826:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** @endverbatim
- 827:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @{
- 828:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 829:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 830:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /** @addtogroup FSMC_LL_PCCARD_Private_Functions_Group1
- 831:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief Initialization and Configuration functions
- 832:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** *
- 833:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** @verbatim
- 834:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ==============================================================================
- 835:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ##### Initialization and de_initialization functions #####
- 836:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ==============================================================================
- 837:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** [..]
- 838:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** This section provides functions allowing to:
- 839:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) Initialize and configure the FSMC PCCARD interface
-ARM GAS /tmp/ccQnhEmd.s page 30
-
-
- 840:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) De-initialize the FSMC PCCARD interface
- 841:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (+) Configure the FSMC clock and associated GPIOs
- 842:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 843:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** @endverbatim
- 844:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @{
- 845:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 846:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 847:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 848:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief Initializes the FSMC_PCCARD device according to the specified
- 849:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * control parameters in the FSMC_PCCARD_HandleTypeDef
- 850:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Device Pointer to PCCARD device instance
- 851:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Init Pointer to PCCARD Initialization structure
- 852:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @retval HAL status
- 853:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 854:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** HAL_StatusTypeDef FSMC_PCCARD_Init(FSMC_PCCARD_TypeDef *Device, FSMC_PCCARD_InitTypeDef *Init)
- 855:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 807 .loc 1 855 0
- 808 .cfi_startproc
- 809 @ args = 0, pretend = 0, frame = 0
- 810 @ frame_needed = 0, uses_anonymous_args = 0
- 811 @ link register save eliminated.
- 812 .LVL60:
- 813 0000 10B4 push {r4}
- 814 .LCFI14:
- 815 .cfi_def_cfa_offset 4
- 816 .cfi_offset 4, -4
- 856:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Check the parameters */
- 857:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_PCCARD_DEVICE(Device));
- 858:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_WAIT_FEATURE(Init->Waitfeature));
- 859:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_TCLR_TIME(Init->TCLRSetupTime));
- 860:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_TAR_TIME(Init->TARSetupTime));
- 861:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 862:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Set FSMC_PCCARD device control parameters */
- 863:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** MODIFY_REG(Device->PCR4,
- 817 .loc 1 863 0
- 818 0002 0368 ldr r3, [r0]
- 819 0004 23F4FF33 bic r3, r3, #130560
- 820 0008 23F03A03 bic r3, r3, #58
- 821 000c 0A68 ldr r2, [r1]
- 822 000e 4C68 ldr r4, [r1, #4]
- 823 0010 42EA4422 orr r2, r2, r4, lsl #9
- 824 0014 8968 ldr r1, [r1, #8]
- 825 .LVL61:
- 826 0016 42EA4132 orr r2, r2, r1, lsl #13
- 827 001a 1343 orrs r3, r3, r2
- 828 001c 43F01003 orr r3, r3, #16
- 829 0020 0360 str r3, [r0]
- 864:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (FSMC_PCRx_PTYP |
- 865:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_PCRx_PWAITEN |
- 866:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_PCRx_PWID |
- 867:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_PCRx_TCLR |
- 868:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_PCRx_TAR),
- 869:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (FSMC_PCR_MEMORY_TYPE_PCCARD |
- 870:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Init->Waitfeature |
- 871:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_NAND_PCC_MEM_BUS_WIDTH_16 |
- 872:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (Init->TCLRSetupTime << FSMC_PCRx_TCLR_Pos) |
- 873:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (Init->TARSetupTime << FSMC_PCRx_TAR_Pos)));
-ARM GAS /tmp/ccQnhEmd.s page 31
-
-
- 874:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 875:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** return HAL_OK;
- 876:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 830 .loc 1 876 0
- 831 0022 0020 movs r0, #0
- 832 .LVL62:
- 833 0024 10BC pop {r4}
- 834 .LCFI15:
- 835 .cfi_restore 4
- 836 .cfi_def_cfa_offset 0
- 837 0026 7047 bx lr
- 838 .cfi_endproc
- 839 .LFE78:
- 841 .section .text.FSMC_PCCARD_CommonSpace_Timing_Init,"ax",%progbits
- 842 .align 1
- 843 .global FSMC_PCCARD_CommonSpace_Timing_Init
- 844 .syntax unified
- 845 .thumb
- 846 .thumb_func
- 847 .fpu softvfp
- 849 FSMC_PCCARD_CommonSpace_Timing_Init:
- 850 .LFB79:
- 877:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 878:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 879:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief Initializes the FSMC_PCCARD Common space Timing according to the specified
- 880:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * parameters in the FSMC_NAND_PCC_TimingTypeDef
- 881:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Device Pointer to PCCARD device instance
- 882:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Timing Pointer to PCCARD timing structure
- 883:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @retval HAL status
- 884:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 885:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** HAL_StatusTypeDef FSMC_PCCARD_CommonSpace_Timing_Init(FSMC_PCCARD_TypeDef *Device,
- 886:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_NAND_PCC_TimingTypeDef *Timing)
- 887:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 851 .loc 1 887 0
- 852 .cfi_startproc
- 853 @ args = 0, pretend = 0, frame = 0
- 854 @ frame_needed = 0, uses_anonymous_args = 0
- 855 @ link register save eliminated.
- 856 .LVL63:
- 888:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Check the parameters */
- 889:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_PCCARD_DEVICE(Device));
- 890:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_SETUP_TIME(Timing->SetupTime));
- 891:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_WAIT_TIME(Timing->WaitSetupTime));
- 892:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_HOLD_TIME(Timing->HoldSetupTime));
- 893:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_HIZ_TIME(Timing->HiZSetupTime));
- 894:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 895:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Set PCCARD timing parameters */
- 896:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** MODIFY_REG(Device->PMEM4, PMEM_CLEAR_MASK,
- 857 .loc 1 896 0
- 858 0000 8368 ldr r3, [r0, #8]
- 859 0002 0B68 ldr r3, [r1]
- 860 0004 4A68 ldr r2, [r1, #4]
- 861 0006 43EA0223 orr r3, r3, r2, lsl #8
- 862 000a 8A68 ldr r2, [r1, #8]
- 863 000c 43EA0243 orr r3, r3, r2, lsl #16
- 864 0010 CA68 ldr r2, [r1, #12]
- 865 0012 43EA0263 orr r3, r3, r2, lsl #24
-ARM GAS /tmp/ccQnhEmd.s page 32
-
-
- 866 0016 8360 str r3, [r0, #8]
- 897:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (Timing->SetupTime |
- 898:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->WaitSetupTime) << FSMC_PMEMx_MEMWAITx_Pos) |
- 899:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->HoldSetupTime) << FSMC_PMEMx_MEMHOLDx_Pos) |
- 900:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->HiZSetupTime) << FSMC_PMEMx_MEMHIZx_Pos)));
- 901:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 902:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** return HAL_OK;
- 903:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 867 .loc 1 903 0
- 868 0018 0020 movs r0, #0
- 869 .LVL64:
- 870 001a 7047 bx lr
- 871 .cfi_endproc
- 872 .LFE79:
- 874 .section .text.FSMC_PCCARD_AttributeSpace_Timing_Init,"ax",%progbits
- 875 .align 1
- 876 .global FSMC_PCCARD_AttributeSpace_Timing_Init
- 877 .syntax unified
- 878 .thumb
- 879 .thumb_func
- 880 .fpu softvfp
- 882 FSMC_PCCARD_AttributeSpace_Timing_Init:
- 883 .LFB80:
- 904:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 905:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 906:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief Initializes the FSMC_PCCARD Attribute space Timing according to the specified
- 907:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * parameters in the FSMC_NAND_PCC_TimingTypeDef
- 908:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Device Pointer to PCCARD device instance
- 909:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Timing Pointer to PCCARD timing structure
- 910:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @retval HAL status
- 911:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 912:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** HAL_StatusTypeDef FSMC_PCCARD_AttributeSpace_Timing_Init(FSMC_PCCARD_TypeDef *Device,
- 913:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_NAND_PCC_TimingTypeDef *Timin
- 914:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 884 .loc 1 914 0
- 885 .cfi_startproc
- 886 @ args = 0, pretend = 0, frame = 0
- 887 @ frame_needed = 0, uses_anonymous_args = 0
- 888 @ link register save eliminated.
- 889 .LVL65:
- 915:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Check the parameters */
- 916:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_PCCARD_DEVICE(Device));
- 917:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_SETUP_TIME(Timing->SetupTime));
- 918:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_WAIT_TIME(Timing->WaitSetupTime));
- 919:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_HOLD_TIME(Timing->HoldSetupTime));
- 920:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_HIZ_TIME(Timing->HiZSetupTime));
- 921:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 922:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Set PCCARD timing parameters */
- 923:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** MODIFY_REG(Device->PATT4, PATT_CLEAR_MASK,
- 890 .loc 1 923 0
- 891 0000 C368 ldr r3, [r0, #12]
- 892 0002 0B68 ldr r3, [r1]
- 893 0004 4A68 ldr r2, [r1, #4]
- 894 0006 43EA0223 orr r3, r3, r2, lsl #8
- 895 000a 8A68 ldr r2, [r1, #8]
- 896 000c 43EA0243 orr r3, r3, r2, lsl #16
- 897 0010 CA68 ldr r2, [r1, #12]
-ARM GAS /tmp/ccQnhEmd.s page 33
-
-
- 898 0012 43EA0263 orr r3, r3, r2, lsl #24
- 899 0016 C360 str r3, [r0, #12]
- 924:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (Timing->SetupTime |
- 925:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->WaitSetupTime) << FSMC_PATTx_ATTWAITx_Pos) |
- 926:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->HoldSetupTime) << FSMC_PATTx_ATTHOLDx_Pos) |
- 927:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** ((Timing->HiZSetupTime) << FSMC_PATTx_ATTHIZx_Pos)));
- 928:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 929:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** return HAL_OK;
- 930:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 900 .loc 1 930 0
- 901 0018 0020 movs r0, #0
- 902 .LVL66:
- 903 001a 7047 bx lr
- 904 .cfi_endproc
- 905 .LFE80:
- 907 .section .text.FSMC_PCCARD_IOSpace_Timing_Init,"ax",%progbits
- 908 .align 1
- 909 .global FSMC_PCCARD_IOSpace_Timing_Init
- 910 .syntax unified
- 911 .thumb
- 912 .thumb_func
- 913 .fpu softvfp
- 915 FSMC_PCCARD_IOSpace_Timing_Init:
- 916 .LFB81:
- 931:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 932:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 933:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief Initializes the FSMC_PCCARD IO space Timing according to the specified
- 934:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * parameters in the FSMC_NAND_PCC_TimingTypeDef
- 935:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Device Pointer to PCCARD device instance
- 936:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Timing Pointer to PCCARD timing structure
- 937:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @retval HAL status
- 938:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 939:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** HAL_StatusTypeDef FSMC_PCCARD_IOSpace_Timing_Init(FSMC_PCCARD_TypeDef *Device,
- 940:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** FSMC_NAND_PCC_TimingTypeDef *Timing)
- 941:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 917 .loc 1 941 0
- 918 .cfi_startproc
- 919 @ args = 0, pretend = 0, frame = 0
- 920 @ frame_needed = 0, uses_anonymous_args = 0
- 921 @ link register save eliminated.
- 922 .LVL67:
- 942:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Check the parameters */
- 943:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_PCCARD_DEVICE(Device));
- 944:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_SETUP_TIME(Timing->SetupTime));
- 945:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_WAIT_TIME(Timing->WaitSetupTime));
- 946:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_HOLD_TIME(Timing->HoldSetupTime));
- 947:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_HIZ_TIME(Timing->HiZSetupTime));
- 948:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 949:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Set FSMC_PCCARD device timing parameters */
- 950:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** MODIFY_REG(Device->PIO4, PIO4_CLEAR_MASK,
- 923 .loc 1 950 0
- 924 0000 0369 ldr r3, [r0, #16]
- 925 0002 0B68 ldr r3, [r1]
- 926 0004 4A68 ldr r2, [r1, #4]
- 927 0006 43EA0223 orr r3, r3, r2, lsl #8
- 928 000a 8A68 ldr r2, [r1, #8]
- 929 000c 43EA0243 orr r3, r3, r2, lsl #16
-ARM GAS /tmp/ccQnhEmd.s page 34
-
-
- 930 0010 CA68 ldr r2, [r1, #12]
- 931 0012 43EA0263 orr r3, r3, r2, lsl #24
- 932 0016 0361 str r3, [r0, #16]
- 951:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (Timing->SetupTime |
- 952:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (Timing->WaitSetupTime << FSMC_PIO4_IOWAIT4_Pos) |
- 953:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (Timing->HoldSetupTime << FSMC_PIO4_IOHOLD4_Pos) |
- 954:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** (Timing->HiZSetupTime << FSMC_PIO4_IOHIZ4_Pos)));
- 955:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 956:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** return HAL_OK;
- 957:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 933 .loc 1 957 0
- 934 0018 0020 movs r0, #0
- 935 .LVL68:
- 936 001a 7047 bx lr
- 937 .cfi_endproc
- 938 .LFE81:
- 940 .section .text.FSMC_PCCARD_DeInit,"ax",%progbits
- 941 .align 1
- 942 .global FSMC_PCCARD_DeInit
- 943 .syntax unified
- 944 .thumb
- 945 .thumb_func
- 946 .fpu softvfp
- 948 FSMC_PCCARD_DeInit:
- 949 .LFB82:
- 958:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 959:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /**
- 960:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @brief DeInitializes the FSMC_PCCARD device
- 961:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @param Device Pointer to PCCARD device instance
- 962:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** * @retval HAL status
- 963:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** */
- 964:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** HAL_StatusTypeDef FSMC_PCCARD_DeInit(FSMC_PCCARD_TypeDef *Device)
- 965:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** {
- 950 .loc 1 965 0
- 951 .cfi_startproc
- 952 @ args = 0, pretend = 0, frame = 0
- 953 @ frame_needed = 0, uses_anonymous_args = 0
- 954 @ link register save eliminated.
- 955 .LVL69:
- 966:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Check the parameters */
- 967:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** assert_param(IS_FSMC_PCCARD_DEVICE(Device));
- 968:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 969:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* Disable the FSMC_PCCARD device */
- 970:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** __FSMC_PCCARD_DISABLE(Device);
- 956 .loc 1 970 0
- 957 0000 0368 ldr r3, [r0]
- 958 0002 23F00403 bic r3, r3, #4
- 959 0006 0360 str r3, [r0]
- 971:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 972:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** /* De-initialize the FSMC_PCCARD device */
- 973:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Device->PCR4 = 0x00000018U;
- 960 .loc 1 973 0
- 961 0008 1823 movs r3, #24
- 962 000a 0360 str r3, [r0]
- 974:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Device->SR4 = 0x00000040U;
- 963 .loc 1 974 0
- 964 000c 4023 movs r3, #64
-ARM GAS /tmp/ccQnhEmd.s page 35
-
-
- 965 000e 4360 str r3, [r0, #4]
- 975:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Device->PMEM4 = 0xFCFCFCFCU;
- 966 .loc 1 975 0
- 967 0010 4FF0FC33 mov r3, #-50529028
- 968 0014 8360 str r3, [r0, #8]
- 976:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Device->PATT4 = 0xFCFCFCFCU;
- 969 .loc 1 976 0
- 970 0016 C360 str r3, [r0, #12]
- 977:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** Device->PIO4 = 0xFCFCFCFCU;
- 971 .loc 1 977 0
- 972 0018 0361 str r3, [r0, #16]
- 978:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c ****
- 979:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** return HAL_OK;
- 980:Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.c **** }
- 973 .loc 1 980 0
- 974 001a 0020 movs r0, #0
- 975 .LVL70:
- 976 001c 7047 bx lr
- 977 .cfi_endproc
- 978 .LFE82:
- 980 .text
- 981 .Letext0:
- 982 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 983 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 984 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 985 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 986 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 987 .file 7 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h"
- 988 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 989 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_fsmc.h"
- 990 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
-ARM GAS /tmp/ccQnhEmd.s page 36
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 stm32f1xx_ll_fsmc.c
- /tmp/ccQnhEmd.s:16 .text.FSMC_NORSRAM_Init:0000000000000000 $t
- /tmp/ccQnhEmd.s:23 .text.FSMC_NORSRAM_Init:0000000000000000 FSMC_NORSRAM_Init
- /tmp/ccQnhEmd.s:129 .text.FSMC_NORSRAM_Init:0000000000000064 $d
- /tmp/ccQnhEmd.s:134 .text.FSMC_NORSRAM_DeInit:0000000000000000 $t
- /tmp/ccQnhEmd.s:141 .text.FSMC_NORSRAM_DeInit:0000000000000000 FSMC_NORSRAM_DeInit
- /tmp/ccQnhEmd.s:190 .text.FSMC_NORSRAM_Timing_Init:0000000000000000 $t
- /tmp/ccQnhEmd.s:197 .text.FSMC_NORSRAM_Timing_Init:0000000000000000 FSMC_NORSRAM_Timing_Init
- /tmp/ccQnhEmd.s:246 .text.FSMC_NORSRAM_Extended_Timing_Init:0000000000000000 $t
- /tmp/ccQnhEmd.s:253 .text.FSMC_NORSRAM_Extended_Timing_Init:0000000000000000 FSMC_NORSRAM_Extended_Timing_Init
- /tmp/ccQnhEmd.s:309 .text.FSMC_NORSRAM_Extended_Timing_Init:0000000000000040 $d
- /tmp/ccQnhEmd.s:314 .text.FSMC_NORSRAM_WriteOperation_Enable:0000000000000000 $t
- /tmp/ccQnhEmd.s:321 .text.FSMC_NORSRAM_WriteOperation_Enable:0000000000000000 FSMC_NORSRAM_WriteOperation_Enable
- /tmp/ccQnhEmd.s:341 .text.FSMC_NORSRAM_WriteOperation_Disable:0000000000000000 $t
- /tmp/ccQnhEmd.s:348 .text.FSMC_NORSRAM_WriteOperation_Disable:0000000000000000 FSMC_NORSRAM_WriteOperation_Disable
- /tmp/ccQnhEmd.s:368 .text.FSMC_NAND_Init:0000000000000000 $t
- /tmp/ccQnhEmd.s:375 .text.FSMC_NAND_Init:0000000000000000 FSMC_NAND_Init
- /tmp/ccQnhEmd.s:447 .text.FSMC_NAND_Init:0000000000000060 $d
- /tmp/ccQnhEmd.s:452 .text.FSMC_NAND_CommonSpace_Timing_Init:0000000000000000 $t
- /tmp/ccQnhEmd.s:459 .text.FSMC_NAND_CommonSpace_Timing_Init:0000000000000000 FSMC_NAND_CommonSpace_Timing_Init
- /tmp/ccQnhEmd.s:504 .text.FSMC_NAND_AttributeSpace_Timing_Init:0000000000000000 $t
- /tmp/ccQnhEmd.s:511 .text.FSMC_NAND_AttributeSpace_Timing_Init:0000000000000000 FSMC_NAND_AttributeSpace_Timing_Init
- /tmp/ccQnhEmd.s:556 .text.FSMC_NAND_DeInit:0000000000000000 $t
- /tmp/ccQnhEmd.s:563 .text.FSMC_NAND_DeInit:0000000000000000 FSMC_NAND_DeInit
- /tmp/ccQnhEmd.s:622 .text.FSMC_NAND_ECC_Enable:0000000000000000 $t
- /tmp/ccQnhEmd.s:629 .text.FSMC_NAND_ECC_Enable:0000000000000000 FSMC_NAND_ECC_Enable
- /tmp/ccQnhEmd.s:660 .text.FSMC_NAND_ECC_Disable:0000000000000000 $t
- /tmp/ccQnhEmd.s:667 .text.FSMC_NAND_ECC_Disable:0000000000000000 FSMC_NAND_ECC_Disable
- /tmp/ccQnhEmd.s:698 .text.FSMC_NAND_GetECC:0000000000000000 $t
- /tmp/ccQnhEmd.s:705 .text.FSMC_NAND_GetECC:0000000000000000 FSMC_NAND_GetECC
- /tmp/ccQnhEmd.s:798 .text.FSMC_PCCARD_Init:0000000000000000 $t
- /tmp/ccQnhEmd.s:805 .text.FSMC_PCCARD_Init:0000000000000000 FSMC_PCCARD_Init
- /tmp/ccQnhEmd.s:842 .text.FSMC_PCCARD_CommonSpace_Timing_Init:0000000000000000 $t
- /tmp/ccQnhEmd.s:849 .text.FSMC_PCCARD_CommonSpace_Timing_Init:0000000000000000 FSMC_PCCARD_CommonSpace_Timing_Init
- /tmp/ccQnhEmd.s:875 .text.FSMC_PCCARD_AttributeSpace_Timing_Init:0000000000000000 $t
- /tmp/ccQnhEmd.s:882 .text.FSMC_PCCARD_AttributeSpace_Timing_Init:0000000000000000 FSMC_PCCARD_AttributeSpace_Timing_Init
- /tmp/ccQnhEmd.s:908 .text.FSMC_PCCARD_IOSpace_Timing_Init:0000000000000000 $t
- /tmp/ccQnhEmd.s:915 .text.FSMC_PCCARD_IOSpace_Timing_Init:0000000000000000 FSMC_PCCARD_IOSpace_Timing_Init
- /tmp/ccQnhEmd.s:941 .text.FSMC_PCCARD_DeInit:0000000000000000 $t
- /tmp/ccQnhEmd.s:948 .text.FSMC_PCCARD_DeInit:0000000000000000 FSMC_PCCARD_DeInit
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-HAL_GetTick
diff --git a/build/stm32f1xx_ll_fsmc.o b/build/stm32f1xx_ll_fsmc.o
deleted file mode 100644
index e6d063c..0000000
Binary files a/build/stm32f1xx_ll_fsmc.o and /dev/null differ
diff --git a/build/system_stm32f1xx.d b/build/system_stm32f1xx.d
deleted file mode 100644
index 34fffd9..0000000
--- a/build/system_stm32f1xx.d
+++ /dev/null
@@ -1,92 +0,0 @@
-build/system_stm32f1xx.o: Core/Src/system_stm32f1xx.c \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/system_stm32f1xx.lst b/build/system_stm32f1xx.lst
deleted file mode 100644
index 71d3aa6..0000000
--- a/build/system_stm32f1xx.lst
+++ /dev/null
@@ -1,593 +0,0 @@
-ARM GAS /tmp/ccRQ8JVV.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "system_stm32f1xx.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.SystemInit,"ax",%progbits
- 16 .align 1
- 17 .global SystemInit
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 SystemInit:
- 24 .LFB65:
- 25 .file 1 "Core/Src/system_stm32f1xx.c"
- 1:Core/Src/system_stm32f1xx.c **** /**
- 2:Core/Src/system_stm32f1xx.c **** ******************************************************************************
- 3:Core/Src/system_stm32f1xx.c **** * @file system_stm32f1xx.c
- 4:Core/Src/system_stm32f1xx.c **** * @author MCD Application Team
- 5:Core/Src/system_stm32f1xx.c **** * @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Source File.
- 6:Core/Src/system_stm32f1xx.c **** *
- 7:Core/Src/system_stm32f1xx.c **** * 1. This file provides two functions and one global variable to be called from
- 8:Core/Src/system_stm32f1xx.c **** * user application:
- 9:Core/Src/system_stm32f1xx.c **** * - SystemInit(): Setups the system clock (System clock source, PLL Multiplier
- 10:Core/Src/system_stm32f1xx.c **** * factors, AHB/APBx prescalers and Flash settings).
- 11:Core/Src/system_stm32f1xx.c **** * This function is called at startup just after reset and
- 12:Core/Src/system_stm32f1xx.c **** * before branch to main program. This call is made inside
- 13:Core/Src/system_stm32f1xx.c **** * the "startup_stm32f1xx_xx.s" file.
- 14:Core/Src/system_stm32f1xx.c **** *
- 15:Core/Src/system_stm32f1xx.c **** * - SystemCoreClock variable: Contains the core clock (HCLK), it can be used
- 16:Core/Src/system_stm32f1xx.c **** * by the user application to setup the SysTick
- 17:Core/Src/system_stm32f1xx.c **** * timer or configure other parameters.
- 18:Core/Src/system_stm32f1xx.c **** *
- 19:Core/Src/system_stm32f1xx.c **** * - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
- 20:Core/Src/system_stm32f1xx.c **** * be called whenever the core clock is changed
- 21:Core/Src/system_stm32f1xx.c **** * during program execution.
- 22:Core/Src/system_stm32f1xx.c **** *
- 23:Core/Src/system_stm32f1xx.c **** * 2. After each device reset the HSI (8 MHz) is used as system clock source.
- 24:Core/Src/system_stm32f1xx.c **** * Then SystemInit() function is called, in "startup_stm32f1xx_xx.s" file, to
- 25:Core/Src/system_stm32f1xx.c **** * configure the system clock before to branch to main program.
- 26:Core/Src/system_stm32f1xx.c **** *
- 27:Core/Src/system_stm32f1xx.c **** * 4. The default value of HSE crystal is set to 8 MHz (or 25 MHz, depending on
- 28:Core/Src/system_stm32f1xx.c **** * the product used), refer to "HSE_VALUE".
- 29:Core/Src/system_stm32f1xx.c **** * When HSE is used as system clock source, directly or through PLL, and you
- 30:Core/Src/system_stm32f1xx.c **** * are using different crystal you have to adapt the HSE value to your own
- 31:Core/Src/system_stm32f1xx.c **** * configuration.
- 32:Core/Src/system_stm32f1xx.c **** *
- 33:Core/Src/system_stm32f1xx.c **** ******************************************************************************
-ARM GAS /tmp/ccRQ8JVV.s page 2
-
-
- 34:Core/Src/system_stm32f1xx.c **** * @attention
- 35:Core/Src/system_stm32f1xx.c **** *
- 36:Core/Src/system_stm32f1xx.c **** * © Copyright (c) 2017 STMicroelectronics.
- 37:Core/Src/system_stm32f1xx.c **** * All rights reserved.
- 38:Core/Src/system_stm32f1xx.c **** *
- 39:Core/Src/system_stm32f1xx.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 40:Core/Src/system_stm32f1xx.c **** * the "License"; You may not use this file except in compliance with the
- 41:Core/Src/system_stm32f1xx.c **** * License. You may obtain a copy of the License at:
- 42:Core/Src/system_stm32f1xx.c **** * opensource.org/licenses/BSD-3-Clause
- 43:Core/Src/system_stm32f1xx.c **** *
- 44:Core/Src/system_stm32f1xx.c **** ******************************************************************************
- 45:Core/Src/system_stm32f1xx.c **** */
- 46:Core/Src/system_stm32f1xx.c ****
- 47:Core/Src/system_stm32f1xx.c **** /** @addtogroup CMSIS
- 48:Core/Src/system_stm32f1xx.c **** * @{
- 49:Core/Src/system_stm32f1xx.c **** */
- 50:Core/Src/system_stm32f1xx.c ****
- 51:Core/Src/system_stm32f1xx.c **** /** @addtogroup stm32f1xx_system
- 52:Core/Src/system_stm32f1xx.c **** * @{
- 53:Core/Src/system_stm32f1xx.c **** */
- 54:Core/Src/system_stm32f1xx.c ****
- 55:Core/Src/system_stm32f1xx.c **** /** @addtogroup STM32F1xx_System_Private_Includes
- 56:Core/Src/system_stm32f1xx.c **** * @{
- 57:Core/Src/system_stm32f1xx.c **** */
- 58:Core/Src/system_stm32f1xx.c ****
- 59:Core/Src/system_stm32f1xx.c **** #include "stm32f1xx.h"
- 60:Core/Src/system_stm32f1xx.c ****
- 61:Core/Src/system_stm32f1xx.c **** /**
- 62:Core/Src/system_stm32f1xx.c **** * @}
- 63:Core/Src/system_stm32f1xx.c **** */
- 64:Core/Src/system_stm32f1xx.c ****
- 65:Core/Src/system_stm32f1xx.c **** /** @addtogroup STM32F1xx_System_Private_TypesDefinitions
- 66:Core/Src/system_stm32f1xx.c **** * @{
- 67:Core/Src/system_stm32f1xx.c **** */
- 68:Core/Src/system_stm32f1xx.c ****
- 69:Core/Src/system_stm32f1xx.c **** /**
- 70:Core/Src/system_stm32f1xx.c **** * @}
- 71:Core/Src/system_stm32f1xx.c **** */
- 72:Core/Src/system_stm32f1xx.c ****
- 73:Core/Src/system_stm32f1xx.c **** /** @addtogroup STM32F1xx_System_Private_Defines
- 74:Core/Src/system_stm32f1xx.c **** * @{
- 75:Core/Src/system_stm32f1xx.c **** */
- 76:Core/Src/system_stm32f1xx.c ****
- 77:Core/Src/system_stm32f1xx.c **** #if !defined (HSE_VALUE)
- 78:Core/Src/system_stm32f1xx.c **** #define HSE_VALUE 8000000U /*!< Default value of the External oscillator in Hz.
- 79:Core/Src/system_stm32f1xx.c **** This value can be provided and adapted by the user
- 80:Core/Src/system_stm32f1xx.c **** #endif /* HSE_VALUE */
- 81:Core/Src/system_stm32f1xx.c ****
- 82:Core/Src/system_stm32f1xx.c **** #if !defined (HSI_VALUE)
- 83:Core/Src/system_stm32f1xx.c **** #define HSI_VALUE 8000000U /*!< Default value of the Internal oscillator in Hz.
- 84:Core/Src/system_stm32f1xx.c **** This value can be provided and adapted by the user
- 85:Core/Src/system_stm32f1xx.c **** #endif /* HSI_VALUE */
- 86:Core/Src/system_stm32f1xx.c ****
- 87:Core/Src/system_stm32f1xx.c **** /*!< Uncomment the following line if you need to use external SRAM */
- 88:Core/Src/system_stm32f1xx.c **** #if defined(STM32F100xE) || defined(STM32F101xE) || defined(STM32F101xG) || defined(STM32F103xE) ||
- 89:Core/Src/system_stm32f1xx.c **** /* #define DATA_IN_ExtSRAM */
- 90:Core/Src/system_stm32f1xx.c **** #endif /* STM32F100xE || STM32F101xE || STM32F101xG || STM32F103xE || STM32F103xG */
-ARM GAS /tmp/ccRQ8JVV.s page 3
-
-
- 91:Core/Src/system_stm32f1xx.c ****
- 92:Core/Src/system_stm32f1xx.c **** /* Note: Following vector table addresses must be defined in line with linker
- 93:Core/Src/system_stm32f1xx.c **** configuration. */
- 94:Core/Src/system_stm32f1xx.c **** /*!< Uncomment the following line if you need to relocate the vector table
- 95:Core/Src/system_stm32f1xx.c **** anywhere in Flash or Sram, else the vector table is kept at the automatic
- 96:Core/Src/system_stm32f1xx.c **** remap of boot address selected */
- 97:Core/Src/system_stm32f1xx.c **** /* #define USER_VECT_TAB_ADDRESS */
- 98:Core/Src/system_stm32f1xx.c ****
- 99:Core/Src/system_stm32f1xx.c **** #if defined(USER_VECT_TAB_ADDRESS)
- 100:Core/Src/system_stm32f1xx.c **** /*!< Uncomment the following line if you need to relocate your vector Table
- 101:Core/Src/system_stm32f1xx.c **** in Sram else user remap will be done in Flash. */
- 102:Core/Src/system_stm32f1xx.c **** /* #define VECT_TAB_SRAM */
- 103:Core/Src/system_stm32f1xx.c **** #if defined(VECT_TAB_SRAM)
- 104:Core/Src/system_stm32f1xx.c **** #define VECT_TAB_BASE_ADDRESS SRAM_BASE /*!< Vector Table base address field.
- 105:Core/Src/system_stm32f1xx.c **** This value must be a multiple of 0x200. */
- 106:Core/Src/system_stm32f1xx.c **** #define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table base offset field.
- 107:Core/Src/system_stm32f1xx.c **** This value must be a multiple of 0x200. */
- 108:Core/Src/system_stm32f1xx.c **** #else
- 109:Core/Src/system_stm32f1xx.c **** #define VECT_TAB_BASE_ADDRESS FLASH_BASE /*!< Vector Table base address field.
- 110:Core/Src/system_stm32f1xx.c **** This value must be a multiple of 0x200. */
- 111:Core/Src/system_stm32f1xx.c **** #define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table base offset field.
- 112:Core/Src/system_stm32f1xx.c **** This value must be a multiple of 0x200. */
- 113:Core/Src/system_stm32f1xx.c **** #endif /* VECT_TAB_SRAM */
- 114:Core/Src/system_stm32f1xx.c **** #endif /* USER_VECT_TAB_ADDRESS */
- 115:Core/Src/system_stm32f1xx.c ****
- 116:Core/Src/system_stm32f1xx.c **** /******************************************************************************/
- 117:Core/Src/system_stm32f1xx.c ****
- 118:Core/Src/system_stm32f1xx.c **** /**
- 119:Core/Src/system_stm32f1xx.c **** * @}
- 120:Core/Src/system_stm32f1xx.c **** */
- 121:Core/Src/system_stm32f1xx.c ****
- 122:Core/Src/system_stm32f1xx.c **** /** @addtogroup STM32F1xx_System_Private_Macros
- 123:Core/Src/system_stm32f1xx.c **** * @{
- 124:Core/Src/system_stm32f1xx.c **** */
- 125:Core/Src/system_stm32f1xx.c ****
- 126:Core/Src/system_stm32f1xx.c **** /**
- 127:Core/Src/system_stm32f1xx.c **** * @}
- 128:Core/Src/system_stm32f1xx.c **** */
- 129:Core/Src/system_stm32f1xx.c ****
- 130:Core/Src/system_stm32f1xx.c **** /** @addtogroup STM32F1xx_System_Private_Variables
- 131:Core/Src/system_stm32f1xx.c **** * @{
- 132:Core/Src/system_stm32f1xx.c **** */
- 133:Core/Src/system_stm32f1xx.c ****
- 134:Core/Src/system_stm32f1xx.c **** /* This variable is updated in three ways:
- 135:Core/Src/system_stm32f1xx.c **** 1) by calling CMSIS function SystemCoreClockUpdate()
- 136:Core/Src/system_stm32f1xx.c **** 2) by calling HAL API function HAL_RCC_GetHCLKFreq()
- 137:Core/Src/system_stm32f1xx.c **** 3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
- 138:Core/Src/system_stm32f1xx.c **** Note: If you use this function to configure the system clock; then there
- 139:Core/Src/system_stm32f1xx.c **** is no need to call the 2 first functions listed above, since SystemCoreClock
- 140:Core/Src/system_stm32f1xx.c **** variable is updated automatically.
- 141:Core/Src/system_stm32f1xx.c **** */
- 142:Core/Src/system_stm32f1xx.c **** uint32_t SystemCoreClock = 16000000;
- 143:Core/Src/system_stm32f1xx.c **** const uint8_t AHBPrescTable[16U] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9};
- 144:Core/Src/system_stm32f1xx.c **** const uint8_t APBPrescTable[8U] = {0, 0, 0, 0, 1, 2, 3, 4};
- 145:Core/Src/system_stm32f1xx.c ****
- 146:Core/Src/system_stm32f1xx.c **** /**
- 147:Core/Src/system_stm32f1xx.c **** * @}
-ARM GAS /tmp/ccRQ8JVV.s page 4
-
-
- 148:Core/Src/system_stm32f1xx.c **** */
- 149:Core/Src/system_stm32f1xx.c ****
- 150:Core/Src/system_stm32f1xx.c **** /** @addtogroup STM32F1xx_System_Private_FunctionPrototypes
- 151:Core/Src/system_stm32f1xx.c **** * @{
- 152:Core/Src/system_stm32f1xx.c **** */
- 153:Core/Src/system_stm32f1xx.c ****
- 154:Core/Src/system_stm32f1xx.c **** #if defined(STM32F100xE) || defined(STM32F101xE) || defined(STM32F101xG) || defined(STM32F103xE) ||
- 155:Core/Src/system_stm32f1xx.c **** #ifdef DATA_IN_ExtSRAM
- 156:Core/Src/system_stm32f1xx.c **** static void SystemInit_ExtMemCtl(void);
- 157:Core/Src/system_stm32f1xx.c **** #endif /* DATA_IN_ExtSRAM */
- 158:Core/Src/system_stm32f1xx.c **** #endif /* STM32F100xE || STM32F101xE || STM32F101xG || STM32F103xE || STM32F103xG */
- 159:Core/Src/system_stm32f1xx.c ****
- 160:Core/Src/system_stm32f1xx.c **** /**
- 161:Core/Src/system_stm32f1xx.c **** * @}
- 162:Core/Src/system_stm32f1xx.c **** */
- 163:Core/Src/system_stm32f1xx.c ****
- 164:Core/Src/system_stm32f1xx.c **** /** @addtogroup STM32F1xx_System_Private_Functions
- 165:Core/Src/system_stm32f1xx.c **** * @{
- 166:Core/Src/system_stm32f1xx.c **** */
- 167:Core/Src/system_stm32f1xx.c ****
- 168:Core/Src/system_stm32f1xx.c **** /**
- 169:Core/Src/system_stm32f1xx.c **** * @brief Setup the microcontroller system
- 170:Core/Src/system_stm32f1xx.c **** * Initialize the Embedded Flash Interface, the PLL and update the
- 171:Core/Src/system_stm32f1xx.c **** * SystemCoreClock variable.
- 172:Core/Src/system_stm32f1xx.c **** * @note This function should be used only after reset.
- 173:Core/Src/system_stm32f1xx.c **** * @param None
- 174:Core/Src/system_stm32f1xx.c **** * @retval None
- 175:Core/Src/system_stm32f1xx.c **** */
- 176:Core/Src/system_stm32f1xx.c **** void SystemInit (void)
- 177:Core/Src/system_stm32f1xx.c **** {
- 26 .loc 1 177 0
- 27 .cfi_startproc
- 28 @ args = 0, pretend = 0, frame = 0
- 29 @ frame_needed = 0, uses_anonymous_args = 0
- 30 @ link register save eliminated.
- 31 0000 7047 bx lr
- 32 .cfi_endproc
- 33 .LFE65:
- 35 .section .text.SystemCoreClockUpdate,"ax",%progbits
- 36 .align 1
- 37 .global SystemCoreClockUpdate
- 38 .syntax unified
- 39 .thumb
- 40 .thumb_func
- 41 .fpu softvfp
- 43 SystemCoreClockUpdate:
- 44 .LFB66:
- 178:Core/Src/system_stm32f1xx.c **** #if defined(STM32F100xE) || defined(STM32F101xE) || defined(STM32F101xG) || defined(STM32F103xE) ||
- 179:Core/Src/system_stm32f1xx.c **** #ifdef DATA_IN_ExtSRAM
- 180:Core/Src/system_stm32f1xx.c **** SystemInit_ExtMemCtl();
- 181:Core/Src/system_stm32f1xx.c **** #endif /* DATA_IN_ExtSRAM */
- 182:Core/Src/system_stm32f1xx.c **** #endif
- 183:Core/Src/system_stm32f1xx.c ****
- 184:Core/Src/system_stm32f1xx.c **** /* Configure the Vector Table location -------------------------------------*/
- 185:Core/Src/system_stm32f1xx.c **** #if defined(USER_VECT_TAB_ADDRESS)
- 186:Core/Src/system_stm32f1xx.c **** SCB->VTOR = VECT_TAB_BASE_ADDRESS | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM.
- 187:Core/Src/system_stm32f1xx.c **** #endif /* USER_VECT_TAB_ADDRESS */
-ARM GAS /tmp/ccRQ8JVV.s page 5
-
-
- 188:Core/Src/system_stm32f1xx.c **** }
- 189:Core/Src/system_stm32f1xx.c ****
- 190:Core/Src/system_stm32f1xx.c **** /**
- 191:Core/Src/system_stm32f1xx.c **** * @brief Update SystemCoreClock variable according to Clock Register Values.
- 192:Core/Src/system_stm32f1xx.c **** * The SystemCoreClock variable contains the core clock (HCLK), it can
- 193:Core/Src/system_stm32f1xx.c **** * be used by the user application to setup the SysTick timer or configure
- 194:Core/Src/system_stm32f1xx.c **** * other parameters.
- 195:Core/Src/system_stm32f1xx.c **** *
- 196:Core/Src/system_stm32f1xx.c **** * @note Each time the core clock (HCLK) changes, this function must be called
- 197:Core/Src/system_stm32f1xx.c **** * to update SystemCoreClock variable value. Otherwise, any configuration
- 198:Core/Src/system_stm32f1xx.c **** * based on this variable will be incorrect.
- 199:Core/Src/system_stm32f1xx.c **** *
- 200:Core/Src/system_stm32f1xx.c **** * @note - The system frequency computed by this function is not the real
- 201:Core/Src/system_stm32f1xx.c **** * frequency in the chip. It is calculated based on the predefined
- 202:Core/Src/system_stm32f1xx.c **** * constant and the selected clock source:
- 203:Core/Src/system_stm32f1xx.c **** *
- 204:Core/Src/system_stm32f1xx.c **** * - If SYSCLK source is HSI, SystemCoreClock will contain the HSI_VALUE(*)
- 205:Core/Src/system_stm32f1xx.c **** *
- 206:Core/Src/system_stm32f1xx.c **** * - If SYSCLK source is HSE, SystemCoreClock will contain the HSE_VALUE(**)
- 207:Core/Src/system_stm32f1xx.c **** *
- 208:Core/Src/system_stm32f1xx.c **** * - If SYSCLK source is PLL, SystemCoreClock will contain the HSE_VALUE(**)
- 209:Core/Src/system_stm32f1xx.c **** * or HSI_VALUE(*) multiplied by the PLL factors.
- 210:Core/Src/system_stm32f1xx.c **** *
- 211:Core/Src/system_stm32f1xx.c **** * (*) HSI_VALUE is a constant defined in stm32f1xx.h file (default value
- 212:Core/Src/system_stm32f1xx.c **** * 8 MHz) but the real value may vary depending on the variations
- 213:Core/Src/system_stm32f1xx.c **** * in voltage and temperature.
- 214:Core/Src/system_stm32f1xx.c **** *
- 215:Core/Src/system_stm32f1xx.c **** * (**) HSE_VALUE is a constant defined in stm32f1xx.h file (default value
- 216:Core/Src/system_stm32f1xx.c **** * 8 MHz or 25 MHz, depending on the product used), user has to ensure
- 217:Core/Src/system_stm32f1xx.c **** * that HSE_VALUE is same as the real frequency of the crystal used.
- 218:Core/Src/system_stm32f1xx.c **** * Otherwise, this function may have wrong result.
- 219:Core/Src/system_stm32f1xx.c **** *
- 220:Core/Src/system_stm32f1xx.c **** * - The result of this function could be not correct when using fractional
- 221:Core/Src/system_stm32f1xx.c **** * value for HSE crystal.
- 222:Core/Src/system_stm32f1xx.c **** * @param None
- 223:Core/Src/system_stm32f1xx.c **** * @retval None
- 224:Core/Src/system_stm32f1xx.c **** */
- 225:Core/Src/system_stm32f1xx.c **** void SystemCoreClockUpdate (void)
- 226:Core/Src/system_stm32f1xx.c **** {
- 45 .loc 1 226 0
- 46 .cfi_startproc
- 47 @ args = 0, pretend = 0, frame = 0
- 48 @ frame_needed = 0, uses_anonymous_args = 0
- 49 @ link register save eliminated.
- 50 .LVL0:
- 227:Core/Src/system_stm32f1xx.c **** uint32_t tmp = 0U, pllmull = 0U, pllsource = 0U;
- 228:Core/Src/system_stm32f1xx.c ****
- 229:Core/Src/system_stm32f1xx.c **** #if defined(STM32F105xC) || defined(STM32F107xC)
- 230:Core/Src/system_stm32f1xx.c **** uint32_t prediv1source = 0U, prediv1factor = 0U, prediv2factor = 0U, pll2mull = 0U;
- 231:Core/Src/system_stm32f1xx.c **** #endif /* STM32F105xC */
- 232:Core/Src/system_stm32f1xx.c ****
- 233:Core/Src/system_stm32f1xx.c **** #if defined(STM32F100xB) || defined(STM32F100xE)
- 234:Core/Src/system_stm32f1xx.c **** uint32_t prediv1factor = 0U;
- 235:Core/Src/system_stm32f1xx.c **** #endif /* STM32F100xB or STM32F100xE */
- 236:Core/Src/system_stm32f1xx.c ****
- 237:Core/Src/system_stm32f1xx.c **** /* Get SYSCLK source -------------------------------------------------------*/
- 238:Core/Src/system_stm32f1xx.c **** tmp = RCC->CFGR & RCC_CFGR_SWS;
-ARM GAS /tmp/ccRQ8JVV.s page 6
-
-
- 51 .loc 1 238 0
- 52 0000 1F4B ldr r3, .L13
- 53 0002 5B68 ldr r3, [r3, #4]
- 54 0004 03F00C03 and r3, r3, #12
- 55 .LVL1:
- 239:Core/Src/system_stm32f1xx.c ****
- 240:Core/Src/system_stm32f1xx.c **** switch (tmp)
- 56 .loc 1 240 0
- 57 0008 042B cmp r3, #4
- 58 000a 14D0 beq .L4
- 59 000c 082B cmp r3, #8
- 60 000e 16D0 beq .L5
- 61 0010 1BB1 cbz r3, .L11
- 241:Core/Src/system_stm32f1xx.c **** {
- 242:Core/Src/system_stm32f1xx.c **** case 0x00U: /* HSI used as system clock */
- 243:Core/Src/system_stm32f1xx.c **** SystemCoreClock = HSI_VALUE;
- 244:Core/Src/system_stm32f1xx.c **** break;
- 245:Core/Src/system_stm32f1xx.c **** case 0x04U: /* HSE used as system clock */
- 246:Core/Src/system_stm32f1xx.c **** SystemCoreClock = HSE_VALUE;
- 247:Core/Src/system_stm32f1xx.c **** break;
- 248:Core/Src/system_stm32f1xx.c **** case 0x08U: /* PLL used as system clock */
- 249:Core/Src/system_stm32f1xx.c ****
- 250:Core/Src/system_stm32f1xx.c **** /* Get PLL clock source and multiplication factor ----------------------*/
- 251:Core/Src/system_stm32f1xx.c **** pllmull = RCC->CFGR & RCC_CFGR_PLLMULL;
- 252:Core/Src/system_stm32f1xx.c **** pllsource = RCC->CFGR & RCC_CFGR_PLLSRC;
- 253:Core/Src/system_stm32f1xx.c ****
- 254:Core/Src/system_stm32f1xx.c **** #if !defined(STM32F105xC) && !defined(STM32F107xC)
- 255:Core/Src/system_stm32f1xx.c **** pllmull = ( pllmull >> 18U) + 2U;
- 256:Core/Src/system_stm32f1xx.c ****
- 257:Core/Src/system_stm32f1xx.c **** if (pllsource == 0x00U)
- 258:Core/Src/system_stm32f1xx.c **** {
- 259:Core/Src/system_stm32f1xx.c **** /* HSI oscillator clock divided by 2 selected as PLL clock entry */
- 260:Core/Src/system_stm32f1xx.c **** SystemCoreClock = (HSI_VALUE >> 1U) * pllmull;
- 261:Core/Src/system_stm32f1xx.c **** }
- 262:Core/Src/system_stm32f1xx.c **** else
- 263:Core/Src/system_stm32f1xx.c **** {
- 264:Core/Src/system_stm32f1xx.c **** #if defined(STM32F100xB) || defined(STM32F100xE)
- 265:Core/Src/system_stm32f1xx.c **** prediv1factor = (RCC->CFGR2 & RCC_CFGR2_PREDIV1) + 1U;
- 266:Core/Src/system_stm32f1xx.c **** /* HSE oscillator clock selected as PREDIV1 clock entry */
- 267:Core/Src/system_stm32f1xx.c **** SystemCoreClock = (HSE_VALUE / prediv1factor) * pllmull;
- 268:Core/Src/system_stm32f1xx.c **** #else
- 269:Core/Src/system_stm32f1xx.c **** /* HSE selected as PLL clock entry */
- 270:Core/Src/system_stm32f1xx.c **** if ((RCC->CFGR & RCC_CFGR_PLLXTPRE) != (uint32_t)RESET)
- 271:Core/Src/system_stm32f1xx.c **** {/* HSE oscillator clock divided by 2 */
- 272:Core/Src/system_stm32f1xx.c **** SystemCoreClock = (HSE_VALUE >> 1U) * pllmull;
- 273:Core/Src/system_stm32f1xx.c **** }
- 274:Core/Src/system_stm32f1xx.c **** else
- 275:Core/Src/system_stm32f1xx.c **** {
- 276:Core/Src/system_stm32f1xx.c **** SystemCoreClock = HSE_VALUE * pllmull;
- 277:Core/Src/system_stm32f1xx.c **** }
- 278:Core/Src/system_stm32f1xx.c **** #endif
- 279:Core/Src/system_stm32f1xx.c **** }
- 280:Core/Src/system_stm32f1xx.c **** #else
- 281:Core/Src/system_stm32f1xx.c **** pllmull = pllmull >> 18U;
- 282:Core/Src/system_stm32f1xx.c ****
- 283:Core/Src/system_stm32f1xx.c **** if (pllmull != 0x0DU)
- 284:Core/Src/system_stm32f1xx.c **** {
-ARM GAS /tmp/ccRQ8JVV.s page 7
-
-
- 285:Core/Src/system_stm32f1xx.c **** pllmull += 2U;
- 286:Core/Src/system_stm32f1xx.c **** }
- 287:Core/Src/system_stm32f1xx.c **** else
- 288:Core/Src/system_stm32f1xx.c **** { /* PLL multiplication factor = PLL input clock * 6.5 */
- 289:Core/Src/system_stm32f1xx.c **** pllmull = 13U / 2U;
- 290:Core/Src/system_stm32f1xx.c **** }
- 291:Core/Src/system_stm32f1xx.c ****
- 292:Core/Src/system_stm32f1xx.c **** if (pllsource == 0x00U)
- 293:Core/Src/system_stm32f1xx.c **** {
- 294:Core/Src/system_stm32f1xx.c **** /* HSI oscillator clock divided by 2 selected as PLL clock entry */
- 295:Core/Src/system_stm32f1xx.c **** SystemCoreClock = (HSI_VALUE >> 1U) * pllmull;
- 296:Core/Src/system_stm32f1xx.c **** }
- 297:Core/Src/system_stm32f1xx.c **** else
- 298:Core/Src/system_stm32f1xx.c **** {/* PREDIV1 selected as PLL clock entry */
- 299:Core/Src/system_stm32f1xx.c ****
- 300:Core/Src/system_stm32f1xx.c **** /* Get PREDIV1 clock source and division factor */
- 301:Core/Src/system_stm32f1xx.c **** prediv1source = RCC->CFGR2 & RCC_CFGR2_PREDIV1SRC;
- 302:Core/Src/system_stm32f1xx.c **** prediv1factor = (RCC->CFGR2 & RCC_CFGR2_PREDIV1) + 1U;
- 303:Core/Src/system_stm32f1xx.c ****
- 304:Core/Src/system_stm32f1xx.c **** if (prediv1source == 0U)
- 305:Core/Src/system_stm32f1xx.c **** {
- 306:Core/Src/system_stm32f1xx.c **** /* HSE oscillator clock selected as PREDIV1 clock entry */
- 307:Core/Src/system_stm32f1xx.c **** SystemCoreClock = (HSE_VALUE / prediv1factor) * pllmull;
- 308:Core/Src/system_stm32f1xx.c **** }
- 309:Core/Src/system_stm32f1xx.c **** else
- 310:Core/Src/system_stm32f1xx.c **** {/* PLL2 clock selected as PREDIV1 clock entry */
- 311:Core/Src/system_stm32f1xx.c ****
- 312:Core/Src/system_stm32f1xx.c **** /* Get PREDIV2 division factor and PLL2 multiplication factor */
- 313:Core/Src/system_stm32f1xx.c **** prediv2factor = ((RCC->CFGR2 & RCC_CFGR2_PREDIV2) >> 4U) + 1U;
- 314:Core/Src/system_stm32f1xx.c **** pll2mull = ((RCC->CFGR2 & RCC_CFGR2_PLL2MUL) >> 8U) + 2U;
- 315:Core/Src/system_stm32f1xx.c **** SystemCoreClock = (((HSE_VALUE / prediv2factor) * pll2mull) / prediv1factor) * pllmull;
- 316:Core/Src/system_stm32f1xx.c **** }
- 317:Core/Src/system_stm32f1xx.c **** }
- 318:Core/Src/system_stm32f1xx.c **** #endif /* STM32F105xC */
- 319:Core/Src/system_stm32f1xx.c **** break;
- 320:Core/Src/system_stm32f1xx.c ****
- 321:Core/Src/system_stm32f1xx.c **** default:
- 322:Core/Src/system_stm32f1xx.c **** SystemCoreClock = HSI_VALUE;
- 62 .loc 1 322 0
- 63 0012 1C4A ldr r2, .L13+4
- 64 0014 1C4B ldr r3, .L13+8
- 65 .LVL2:
- 66 0016 1A60 str r2, [r3]
- 323:Core/Src/system_stm32f1xx.c **** break;
- 67 .loc 1 323 0
- 68 0018 02E0 b .L7
- 69 .LVL3:
- 70 .L11:
- 243:Core/Src/system_stm32f1xx.c **** break;
- 71 .loc 1 243 0
- 72 001a 1A4A ldr r2, .L13+4
- 73 001c 1A4B ldr r3, .L13+8
- 74 .LVL4:
- 75 001e 1A60 str r2, [r3]
- 76 .LVL5:
- 77 .L7:
- 324:Core/Src/system_stm32f1xx.c **** }
-ARM GAS /tmp/ccRQ8JVV.s page 8
-
-
- 325:Core/Src/system_stm32f1xx.c ****
- 326:Core/Src/system_stm32f1xx.c **** /* Compute HCLK clock frequency ----------------*/
- 327:Core/Src/system_stm32f1xx.c **** /* Get HCLK prescaler */
- 328:Core/Src/system_stm32f1xx.c **** tmp = AHBPrescTable[((RCC->CFGR & RCC_CFGR_HPRE) >> 4U)];
- 78 .loc 1 328 0
- 79 0020 174B ldr r3, .L13
- 80 0022 5B68 ldr r3, [r3, #4]
- 81 0024 C3F30313 ubfx r3, r3, #4, #4
- 82 0028 184A ldr r2, .L13+12
- 83 002a D15C ldrb r1, [r2, r3] @ zero_extendqisi2
- 84 .LVL6:
- 329:Core/Src/system_stm32f1xx.c **** /* HCLK clock frequency */
- 330:Core/Src/system_stm32f1xx.c **** SystemCoreClock >>= tmp;
- 85 .loc 1 330 0
- 86 002c 164A ldr r2, .L13+8
- 87 002e 1368 ldr r3, [r2]
- 88 0030 CB40 lsrs r3, r3, r1
- 89 0032 1360 str r3, [r2]
- 90 0034 7047 bx lr
- 91 .LVL7:
- 92 .L4:
- 246:Core/Src/system_stm32f1xx.c **** break;
- 93 .loc 1 246 0
- 94 0036 134A ldr r2, .L13+4
- 95 0038 134B ldr r3, .L13+8
- 96 .LVL8:
- 97 003a 1A60 str r2, [r3]
- 247:Core/Src/system_stm32f1xx.c **** case 0x08U: /* PLL used as system clock */
- 98 .loc 1 247 0
- 99 003c F0E7 b .L7
- 100 .LVL9:
- 101 .L5:
- 251:Core/Src/system_stm32f1xx.c **** pllsource = RCC->CFGR & RCC_CFGR_PLLSRC;
- 102 .loc 1 251 0
- 103 003e 104A ldr r2, .L13
- 104 0040 5368 ldr r3, [r2, #4]
- 105 .LVL10:
- 252:Core/Src/system_stm32f1xx.c ****
- 106 .loc 1 252 0
- 107 0042 5268 ldr r2, [r2, #4]
- 108 .LVL11:
- 255:Core/Src/system_stm32f1xx.c ****
- 109 .loc 1 255 0
- 110 0044 C3F38343 ubfx r3, r3, #18, #4
- 111 .LVL12:
- 112 0048 0233 adds r3, r3, #2
- 113 .LVL13:
- 257:Core/Src/system_stm32f1xx.c **** {
- 114 .loc 1 257 0
- 115 004a 12F4803F tst r2, #65536
- 116 004e 0AD0 beq .L12
- 270:Core/Src/system_stm32f1xx.c **** {/* HSE oscillator clock divided by 2 */
- 117 .loc 1 270 0
- 118 0050 0B4A ldr r2, .L13
- 119 .LVL14:
- 120 0052 5268 ldr r2, [r2, #4]
- 121 0054 12F4003F tst r2, #131072
-ARM GAS /tmp/ccRQ8JVV.s page 9
-
-
- 122 0058 0BD0 beq .L9
- 272:Core/Src/system_stm32f1xx.c **** }
- 123 .loc 1 272 0
- 124 005a 0D4A ldr r2, .L13+16
- 125 005c 02FB03F3 mul r3, r2, r3
- 126 .LVL15:
- 127 0060 094A ldr r2, .L13+8
- 128 0062 1360 str r3, [r2]
- 129 0064 DCE7 b .L7
- 130 .LVL16:
- 131 .L12:
- 260:Core/Src/system_stm32f1xx.c **** }
- 132 .loc 1 260 0
- 133 0066 0A4A ldr r2, .L13+16
- 134 .LVL17:
- 135 0068 02FB03F3 mul r3, r2, r3
- 136 .LVL18:
- 137 006c 064A ldr r2, .L13+8
- 138 006e 1360 str r3, [r2]
- 139 0070 D6E7 b .L7
- 140 .LVL19:
- 141 .L9:
- 276:Core/Src/system_stm32f1xx.c **** }
- 142 .loc 1 276 0
- 143 0072 044A ldr r2, .L13+4
- 144 0074 02FB03F3 mul r3, r2, r3
- 145 .LVL20:
- 146 0078 034A ldr r2, .L13+8
- 147 007a 1360 str r3, [r2]
- 148 007c D0E7 b .L7
- 149 .L14:
- 150 007e 00BF .align 2
- 151 .L13:
- 152 0080 00100240 .word 1073876992
- 153 0084 00127A00 .word 8000000
- 154 0088 00000000 .word .LANCHOR0
- 155 008c 00000000 .word .LANCHOR1
- 156 0090 00093D00 .word 4000000
- 157 .cfi_endproc
- 158 .LFE66:
- 160 .global APBPrescTable
- 161 .global AHBPrescTable
- 162 .global SystemCoreClock
- 163 .section .data.SystemCoreClock,"aw",%progbits
- 164 .align 2
- 165 .set .LANCHOR0,. + 0
- 168 SystemCoreClock:
- 169 0000 0024F400 .word 16000000
- 170 .section .rodata.AHBPrescTable,"a",%progbits
- 171 .align 2
- 172 .set .LANCHOR1,. + 0
- 175 AHBPrescTable:
- 176 0000 00 .byte 0
- 177 0001 00 .byte 0
- 178 0002 00 .byte 0
- 179 0003 00 .byte 0
- 180 0004 00 .byte 0
-ARM GAS /tmp/ccRQ8JVV.s page 10
-
-
- 181 0005 00 .byte 0
- 182 0006 00 .byte 0
- 183 0007 00 .byte 0
- 184 0008 01 .byte 1
- 185 0009 02 .byte 2
- 186 000a 03 .byte 3
- 187 000b 04 .byte 4
- 188 000c 06 .byte 6
- 189 000d 07 .byte 7
- 190 000e 08 .byte 8
- 191 000f 09 .byte 9
- 192 .section .rodata.APBPrescTable,"a",%progbits
- 193 .align 2
- 196 APBPrescTable:
- 197 0000 00 .byte 0
- 198 0001 00 .byte 0
- 199 0002 00 .byte 0
- 200 0003 00 .byte 0
- 201 0004 01 .byte 1
- 202 0005 02 .byte 2
- 203 0006 03 .byte 3
- 204 0007 04 .byte 4
- 205 .text
- 206 .Letext0:
- 207 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 208 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 209 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 210 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 211 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 212 .file 7 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h"
- 213 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
-ARM GAS /tmp/ccRQ8JVV.s page 11
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 system_stm32f1xx.c
- /tmp/ccRQ8JVV.s:16 .text.SystemInit:0000000000000000 $t
- /tmp/ccRQ8JVV.s:23 .text.SystemInit:0000000000000000 SystemInit
- /tmp/ccRQ8JVV.s:36 .text.SystemCoreClockUpdate:0000000000000000 $t
- /tmp/ccRQ8JVV.s:43 .text.SystemCoreClockUpdate:0000000000000000 SystemCoreClockUpdate
- /tmp/ccRQ8JVV.s:152 .text.SystemCoreClockUpdate:0000000000000080 $d
- /tmp/ccRQ8JVV.s:196 .rodata.APBPrescTable:0000000000000000 APBPrescTable
- /tmp/ccRQ8JVV.s:175 .rodata.AHBPrescTable:0000000000000000 AHBPrescTable
- /tmp/ccRQ8JVV.s:168 .data.SystemCoreClock:0000000000000000 SystemCoreClock
- /tmp/ccRQ8JVV.s:164 .data.SystemCoreClock:0000000000000000 $d
- /tmp/ccRQ8JVV.s:171 .rodata.AHBPrescTable:0000000000000000 $d
- /tmp/ccRQ8JVV.s:193 .rodata.APBPrescTable:0000000000000000 $d
- .debug_frame:0000000000000010 $d
-
-NO UNDEFINED SYMBOLS
diff --git a/build/system_stm32f1xx.o b/build/system_stm32f1xx.o
deleted file mode 100644
index b8b6b33..0000000
Binary files a/build/system_stm32f1xx.o and /dev/null differ
diff --git a/build/tim.d b/build/tim.d
deleted file mode 100644
index a424443..0000000
--- a/build/tim.d
+++ /dev/null
@@ -1,96 +0,0 @@
-build/tim.o: Core/Src/tim.c Core/Inc/tim.h Core/Inc/main.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Core/Inc/tim.h:
-
-Core/Inc/main.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/tim.lst b/build/tim.lst
deleted file mode 100644
index f4f1d59..0000000
--- a/build/tim.lst
+++ /dev/null
@@ -1,1316 +0,0 @@
-ARM GAS /tmp/ccdvEcnP.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "tim.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.MX_TIM4_Init,"ax",%progbits
- 16 .align 1
- 17 .global MX_TIM4_Init
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 MX_TIM4_Init:
- 24 .LFB66:
- 25 .file 1 "Core/Src/tim.c"
- 1:Core/Src/tim.c **** /**
- 2:Core/Src/tim.c **** ******************************************************************************
- 3:Core/Src/tim.c **** * @file tim.c
- 4:Core/Src/tim.c **** * @brief This file provides code for the configuration
- 5:Core/Src/tim.c **** * of the TIM instances.
- 6:Core/Src/tim.c **** ******************************************************************************
- 7:Core/Src/tim.c **** * @attention
- 8:Core/Src/tim.c **** *
- 9:Core/Src/tim.c **** * © Copyright (c) 2021 STMicroelectronics.
- 10:Core/Src/tim.c **** * All rights reserved.
- 11:Core/Src/tim.c **** *
- 12:Core/Src/tim.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 13:Core/Src/tim.c **** * the "License"; You may not use this file except in compliance with the
- 14:Core/Src/tim.c **** * License. You may obtain a copy of the License at:
- 15:Core/Src/tim.c **** * opensource.org/licenses/BSD-3-Clause
- 16:Core/Src/tim.c **** *
- 17:Core/Src/tim.c **** ******************************************************************************
- 18:Core/Src/tim.c **** */
- 19:Core/Src/tim.c ****
- 20:Core/Src/tim.c **** /* Includes ------------------------------------------------------------------*/
- 21:Core/Src/tim.c **** #include "tim.h"
- 22:Core/Src/tim.c ****
- 23:Core/Src/tim.c **** /* USER CODE BEGIN 0 */
- 24:Core/Src/tim.c ****
- 25:Core/Src/tim.c **** /* USER CODE END 0 */
- 26:Core/Src/tim.c ****
- 27:Core/Src/tim.c **** TIM_HandleTypeDef htim3;
- 28:Core/Src/tim.c **** TIM_HandleTypeDef htim4;
- 29:Core/Src/tim.c **** TIM_HandleTypeDef htim8;
- 30:Core/Src/tim.c ****
- 31:Core/Src/tim.c **** /* TIM3 init function */
- 32:Core/Src/tim.c **** void MX_TIM3_Init(void)
- 33:Core/Src/tim.c **** {
-ARM GAS /tmp/ccdvEcnP.s page 2
-
-
- 34:Core/Src/tim.c ****
- 35:Core/Src/tim.c **** /* USER CODE BEGIN TIM3_Init 0 */
- 36:Core/Src/tim.c ****
- 37:Core/Src/tim.c **** /* USER CODE END TIM3_Init 0 */
- 38:Core/Src/tim.c ****
- 39:Core/Src/tim.c **** TIM_MasterConfigTypeDef sMasterConfig = {0};
- 40:Core/Src/tim.c **** TIM_OC_InitTypeDef sConfigOC = {0};
- 41:Core/Src/tim.c ****
- 42:Core/Src/tim.c **** /* USER CODE BEGIN TIM3_Init 1 */
- 43:Core/Src/tim.c ****
- 44:Core/Src/tim.c **** /* USER CODE END TIM3_Init 1 */
- 45:Core/Src/tim.c **** htim3.Instance = TIM3;
- 46:Core/Src/tim.c **** htim3.Init.Prescaler = 71;
- 47:Core/Src/tim.c **** htim3.Init.CounterMode = TIM_COUNTERMODE_UP;
- 48:Core/Src/tim.c **** htim3.Init.Period = 999;
- 49:Core/Src/tim.c **** htim3.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
- 50:Core/Src/tim.c **** htim3.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
- 51:Core/Src/tim.c **** if (HAL_TIM_PWM_Init(&htim3) != HAL_OK)
- 52:Core/Src/tim.c **** {
- 53:Core/Src/tim.c **** Error_Handler();
- 54:Core/Src/tim.c **** }
- 55:Core/Src/tim.c **** sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET;
- 56:Core/Src/tim.c **** sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE;
- 57:Core/Src/tim.c **** if (HAL_TIMEx_MasterConfigSynchronization(&htim3, &sMasterConfig) != HAL_OK)
- 58:Core/Src/tim.c **** {
- 59:Core/Src/tim.c **** Error_Handler();
- 60:Core/Src/tim.c **** }
- 61:Core/Src/tim.c **** sConfigOC.OCMode = TIM_OCMODE_PWM1;
- 62:Core/Src/tim.c **** sConfigOC.Pulse = 0;
- 63:Core/Src/tim.c **** sConfigOC.OCPolarity = TIM_OCPOLARITY_HIGH;
- 64:Core/Src/tim.c **** sConfigOC.OCFastMode = TIM_OCFAST_DISABLE;
- 65:Core/Src/tim.c **** if (HAL_TIM_PWM_ConfigChannel(&htim3, &sConfigOC, TIM_CHANNEL_1) != HAL_OK)
- 66:Core/Src/tim.c **** {
- 67:Core/Src/tim.c **** Error_Handler();
- 68:Core/Src/tim.c **** }
- 69:Core/Src/tim.c **** if (HAL_TIM_PWM_ConfigChannel(&htim3, &sConfigOC, TIM_CHANNEL_2) != HAL_OK)
- 70:Core/Src/tim.c **** {
- 71:Core/Src/tim.c **** Error_Handler();
- 72:Core/Src/tim.c **** }
- 73:Core/Src/tim.c **** /* USER CODE BEGIN TIM3_Init 2 */
- 74:Core/Src/tim.c ****
- 75:Core/Src/tim.c **** /* USER CODE END TIM3_Init 2 */
- 76:Core/Src/tim.c **** HAL_TIM_MspPostInit(&htim3);
- 77:Core/Src/tim.c ****
- 78:Core/Src/tim.c **** }
- 79:Core/Src/tim.c **** /* TIM4 init function */
- 80:Core/Src/tim.c **** void MX_TIM4_Init(void)
- 81:Core/Src/tim.c **** {
- 26 .loc 1 81 0
- 27 .cfi_startproc
- 28 @ args = 0, pretend = 0, frame = 24
- 29 @ frame_needed = 0, uses_anonymous_args = 0
- 30 0000 00B5 push {lr}
- 31 .LCFI0:
- 32 .cfi_def_cfa_offset 4
- 33 .cfi_offset 14, -4
- 34 0002 87B0 sub sp, sp, #28
-ARM GAS /tmp/ccdvEcnP.s page 3
-
-
- 35 .LCFI1:
- 36 .cfi_def_cfa_offset 32
- 82:Core/Src/tim.c ****
- 83:Core/Src/tim.c **** /* USER CODE BEGIN TIM4_Init 0 */
- 84:Core/Src/tim.c ****
- 85:Core/Src/tim.c **** /* USER CODE END TIM4_Init 0 */
- 86:Core/Src/tim.c ****
- 87:Core/Src/tim.c **** TIM_ClockConfigTypeDef sClockSourceConfig = {0};
- 37 .loc 1 87 0
- 38 0004 0023 movs r3, #0
- 39 0006 0293 str r3, [sp, #8]
- 40 0008 0393 str r3, [sp, #12]
- 41 000a 0493 str r3, [sp, #16]
- 42 000c 0593 str r3, [sp, #20]
- 88:Core/Src/tim.c **** TIM_MasterConfigTypeDef sMasterConfig = {0};
- 43 .loc 1 88 0
- 44 000e 0093 str r3, [sp]
- 45 0010 0193 str r3, [sp, #4]
- 89:Core/Src/tim.c ****
- 90:Core/Src/tim.c **** /* USER CODE BEGIN TIM4_Init 1 */
- 91:Core/Src/tim.c ****
- 92:Core/Src/tim.c **** /* USER CODE END TIM4_Init 1 */
- 93:Core/Src/tim.c **** htim4.Instance = TIM4;
- 46 .loc 1 93 0
- 47 0012 1548 ldr r0, .L9
- 48 0014 154A ldr r2, .L9+4
- 49 0016 0260 str r2, [r0]
- 94:Core/Src/tim.c **** htim4.Init.Prescaler = 71;
- 50 .loc 1 94 0
- 51 0018 4722 movs r2, #71
- 52 001a 4260 str r2, [r0, #4]
- 95:Core/Src/tim.c **** htim4.Init.CounterMode = TIM_COUNTERMODE_UP;
- 53 .loc 1 95 0
- 54 001c 8360 str r3, [r0, #8]
- 96:Core/Src/tim.c **** htim4.Init.Period = 999;
- 55 .loc 1 96 0
- 56 001e 40F2E732 movw r2, #999
- 57 0022 C260 str r2, [r0, #12]
- 97:Core/Src/tim.c **** htim4.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
- 58 .loc 1 97 0
- 59 0024 0361 str r3, [r0, #16]
- 98:Core/Src/tim.c **** htim4.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
- 60 .loc 1 98 0
- 61 0026 8361 str r3, [r0, #24]
- 99:Core/Src/tim.c **** if (HAL_TIM_Base_Init(&htim4) != HAL_OK)
- 62 .loc 1 99 0
- 63 0028 FFF7FEFF bl HAL_TIM_Base_Init
- 64 .LVL0:
- 65 002c 98B9 cbnz r0, .L6
- 66 .L2:
- 100:Core/Src/tim.c **** {
- 101:Core/Src/tim.c **** Error_Handler();
- 102:Core/Src/tim.c **** }
- 103:Core/Src/tim.c **** sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL;
- 67 .loc 1 103 0
- 68 002e 06A9 add r1, sp, #24
- 69 0030 4FF48053 mov r3, #4096
-ARM GAS /tmp/ccdvEcnP.s page 4
-
-
- 70 0034 41F8103D str r3, [r1, #-16]!
- 104:Core/Src/tim.c **** if (HAL_TIM_ConfigClockSource(&htim4, &sClockSourceConfig) != HAL_OK)
- 71 .loc 1 104 0
- 72 0038 0B48 ldr r0, .L9
- 73 003a FFF7FEFF bl HAL_TIM_ConfigClockSource
- 74 .LVL1:
- 75 003e 68B9 cbnz r0, .L7
- 76 .L3:
- 105:Core/Src/tim.c **** {
- 106:Core/Src/tim.c **** Error_Handler();
- 107:Core/Src/tim.c **** }
- 108:Core/Src/tim.c **** sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET;
- 77 .loc 1 108 0
- 78 0040 0023 movs r3, #0
- 79 0042 0093 str r3, [sp]
- 109:Core/Src/tim.c **** sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE;
- 80 .loc 1 109 0
- 81 0044 0193 str r3, [sp, #4]
- 110:Core/Src/tim.c **** if (HAL_TIMEx_MasterConfigSynchronization(&htim4, &sMasterConfig) != HAL_OK)
- 82 .loc 1 110 0
- 83 0046 6946 mov r1, sp
- 84 0048 0748 ldr r0, .L9
- 85 004a FFF7FEFF bl HAL_TIMEx_MasterConfigSynchronization
- 86 .LVL2:
- 87 004e 40B9 cbnz r0, .L8
- 88 .L1:
- 111:Core/Src/tim.c **** {
- 112:Core/Src/tim.c **** Error_Handler();
- 113:Core/Src/tim.c **** }
- 114:Core/Src/tim.c **** /* USER CODE BEGIN TIM4_Init 2 */
- 115:Core/Src/tim.c ****
- 116:Core/Src/tim.c **** /* USER CODE END TIM4_Init 2 */
- 117:Core/Src/tim.c ****
- 118:Core/Src/tim.c **** }
- 89 .loc 1 118 0
- 90 0050 07B0 add sp, sp, #28
- 91 .LCFI2:
- 92 .cfi_remember_state
- 93 .cfi_def_cfa_offset 4
- 94 @ sp needed
- 95 0052 5DF804FB ldr pc, [sp], #4
- 96 .L6:
- 97 .LCFI3:
- 98 .cfi_restore_state
- 101:Core/Src/tim.c **** }
- 99 .loc 1 101 0
- 100 0056 FFF7FEFF bl Error_Handler
- 101 .LVL3:
- 102 005a E8E7 b .L2
- 103 .L7:
- 106:Core/Src/tim.c **** }
- 104 .loc 1 106 0
- 105 005c FFF7FEFF bl Error_Handler
- 106 .LVL4:
- 107 0060 EEE7 b .L3
- 108 .L8:
- 112:Core/Src/tim.c **** }
-ARM GAS /tmp/ccdvEcnP.s page 5
-
-
- 109 .loc 1 112 0
- 110 0062 FFF7FEFF bl Error_Handler
- 111 .LVL5:
- 112 .loc 1 118 0
- 113 0066 F3E7 b .L1
- 114 .L10:
- 115 .align 2
- 116 .L9:
- 117 0068 00000000 .word htim4
- 118 006c 00080040 .word 1073743872
- 119 .cfi_endproc
- 120 .LFE66:
- 122 .section .text.HAL_TIM_PWM_MspInit,"ax",%progbits
- 123 .align 1
- 124 .global HAL_TIM_PWM_MspInit
- 125 .syntax unified
- 126 .thumb
- 127 .thumb_func
- 128 .fpu softvfp
- 130 HAL_TIM_PWM_MspInit:
- 131 .LFB68:
- 119:Core/Src/tim.c **** /* TIM8 init function */
- 120:Core/Src/tim.c **** void MX_TIM8_Init(void)
- 121:Core/Src/tim.c **** {
- 122:Core/Src/tim.c ****
- 123:Core/Src/tim.c **** /* USER CODE BEGIN TIM8_Init 0 */
- 124:Core/Src/tim.c ****
- 125:Core/Src/tim.c **** /* USER CODE END TIM8_Init 0 */
- 126:Core/Src/tim.c ****
- 127:Core/Src/tim.c **** TIM_MasterConfigTypeDef sMasterConfig = {0};
- 128:Core/Src/tim.c **** TIM_OC_InitTypeDef sConfigOC = {0};
- 129:Core/Src/tim.c **** TIM_BreakDeadTimeConfigTypeDef sBreakDeadTimeConfig = {0};
- 130:Core/Src/tim.c ****
- 131:Core/Src/tim.c **** /* USER CODE BEGIN TIM8_Init 1 */
- 132:Core/Src/tim.c ****
- 133:Core/Src/tim.c **** /* USER CODE END TIM8_Init 1 */
- 134:Core/Src/tim.c **** htim8.Instance = TIM8;
- 135:Core/Src/tim.c **** htim8.Init.Prescaler = 0;
- 136:Core/Src/tim.c **** htim8.Init.CounterMode = TIM_COUNTERMODE_UP;
- 137:Core/Src/tim.c **** htim8.Init.Period = 65535;
- 138:Core/Src/tim.c **** htim8.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
- 139:Core/Src/tim.c **** htim8.Init.RepetitionCounter = 0;
- 140:Core/Src/tim.c **** htim8.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
- 141:Core/Src/tim.c **** if (HAL_TIM_PWM_Init(&htim8) != HAL_OK)
- 142:Core/Src/tim.c **** {
- 143:Core/Src/tim.c **** Error_Handler();
- 144:Core/Src/tim.c **** }
- 145:Core/Src/tim.c **** sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET;
- 146:Core/Src/tim.c **** sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE;
- 147:Core/Src/tim.c **** if (HAL_TIMEx_MasterConfigSynchronization(&htim8, &sMasterConfig) != HAL_OK)
- 148:Core/Src/tim.c **** {
- 149:Core/Src/tim.c **** Error_Handler();
- 150:Core/Src/tim.c **** }
- 151:Core/Src/tim.c **** sConfigOC.OCMode = TIM_OCMODE_PWM1;
- 152:Core/Src/tim.c **** sConfigOC.Pulse = 0;
- 153:Core/Src/tim.c **** sConfigOC.OCPolarity = TIM_OCPOLARITY_HIGH;
- 154:Core/Src/tim.c **** sConfigOC.OCNPolarity = TIM_OCNPOLARITY_HIGH;
-ARM GAS /tmp/ccdvEcnP.s page 6
-
-
- 155:Core/Src/tim.c **** sConfigOC.OCFastMode = TIM_OCFAST_DISABLE;
- 156:Core/Src/tim.c **** sConfigOC.OCIdleState = TIM_OCIDLESTATE_RESET;
- 157:Core/Src/tim.c **** sConfigOC.OCNIdleState = TIM_OCNIDLESTATE_RESET;
- 158:Core/Src/tim.c **** if (HAL_TIM_PWM_ConfigChannel(&htim8, &sConfigOC, TIM_CHANNEL_3) != HAL_OK)
- 159:Core/Src/tim.c **** {
- 160:Core/Src/tim.c **** Error_Handler();
- 161:Core/Src/tim.c **** }
- 162:Core/Src/tim.c **** if (HAL_TIM_PWM_ConfigChannel(&htim8, &sConfigOC, TIM_CHANNEL_4) != HAL_OK)
- 163:Core/Src/tim.c **** {
- 164:Core/Src/tim.c **** Error_Handler();
- 165:Core/Src/tim.c **** }
- 166:Core/Src/tim.c **** sBreakDeadTimeConfig.OffStateRunMode = TIM_OSSR_DISABLE;
- 167:Core/Src/tim.c **** sBreakDeadTimeConfig.OffStateIDLEMode = TIM_OSSI_DISABLE;
- 168:Core/Src/tim.c **** sBreakDeadTimeConfig.LockLevel = TIM_LOCKLEVEL_OFF;
- 169:Core/Src/tim.c **** sBreakDeadTimeConfig.DeadTime = 0;
- 170:Core/Src/tim.c **** sBreakDeadTimeConfig.BreakState = TIM_BREAK_DISABLE;
- 171:Core/Src/tim.c **** sBreakDeadTimeConfig.BreakPolarity = TIM_BREAKPOLARITY_HIGH;
- 172:Core/Src/tim.c **** sBreakDeadTimeConfig.AutomaticOutput = TIM_AUTOMATICOUTPUT_DISABLE;
- 173:Core/Src/tim.c **** if (HAL_TIMEx_ConfigBreakDeadTime(&htim8, &sBreakDeadTimeConfig) != HAL_OK)
- 174:Core/Src/tim.c **** {
- 175:Core/Src/tim.c **** Error_Handler();
- 176:Core/Src/tim.c **** }
- 177:Core/Src/tim.c **** /* USER CODE BEGIN TIM8_Init 2 */
- 178:Core/Src/tim.c ****
- 179:Core/Src/tim.c **** /* USER CODE END TIM8_Init 2 */
- 180:Core/Src/tim.c **** HAL_TIM_MspPostInit(&htim8);
- 181:Core/Src/tim.c ****
- 182:Core/Src/tim.c **** }
- 183:Core/Src/tim.c ****
- 184:Core/Src/tim.c **** void HAL_TIM_PWM_MspInit(TIM_HandleTypeDef* tim_pwmHandle)
- 185:Core/Src/tim.c **** {
- 132 .loc 1 185 0
- 133 .cfi_startproc
- 134 @ args = 0, pretend = 0, frame = 8
- 135 @ frame_needed = 0, uses_anonymous_args = 0
- 136 @ link register save eliminated.
- 137 .LVL6:
- 138 0000 82B0 sub sp, sp, #8
- 139 .LCFI4:
- 140 .cfi_def_cfa_offset 8
- 186:Core/Src/tim.c ****
- 187:Core/Src/tim.c **** if(tim_pwmHandle->Instance==TIM3)
- 141 .loc 1 187 0
- 142 0002 0368 ldr r3, [r0]
- 143 0004 0E4A ldr r2, .L17
- 144 0006 9342 cmp r3, r2
- 145 0008 04D0 beq .L15
- 188:Core/Src/tim.c **** {
- 189:Core/Src/tim.c **** /* USER CODE BEGIN TIM3_MspInit 0 */
- 190:Core/Src/tim.c ****
- 191:Core/Src/tim.c **** /* USER CODE END TIM3_MspInit 0 */
- 192:Core/Src/tim.c **** /* TIM3 clock enable */
- 193:Core/Src/tim.c **** __HAL_RCC_TIM3_CLK_ENABLE();
- 194:Core/Src/tim.c **** /* USER CODE BEGIN TIM3_MspInit 1 */
- 195:Core/Src/tim.c ****
- 196:Core/Src/tim.c **** /* USER CODE END TIM3_MspInit 1 */
- 197:Core/Src/tim.c **** }
-ARM GAS /tmp/ccdvEcnP.s page 7
-
-
- 198:Core/Src/tim.c **** else if(tim_pwmHandle->Instance==TIM8)
- 146 .loc 1 198 0
- 147 000a 0E4A ldr r2, .L17+4
- 148 000c 9342 cmp r3, r2
- 149 000e 0CD0 beq .L16
- 150 .L11:
- 199:Core/Src/tim.c **** {
- 200:Core/Src/tim.c **** /* USER CODE BEGIN TIM8_MspInit 0 */
- 201:Core/Src/tim.c ****
- 202:Core/Src/tim.c **** /* USER CODE END TIM8_MspInit 0 */
- 203:Core/Src/tim.c **** /* TIM8 clock enable */
- 204:Core/Src/tim.c **** __HAL_RCC_TIM8_CLK_ENABLE();
- 205:Core/Src/tim.c **** /* USER CODE BEGIN TIM8_MspInit 1 */
- 206:Core/Src/tim.c ****
- 207:Core/Src/tim.c **** /* USER CODE END TIM8_MspInit 1 */
- 208:Core/Src/tim.c **** }
- 209:Core/Src/tim.c **** }
- 151 .loc 1 209 0
- 152 0010 02B0 add sp, sp, #8
- 153 .LCFI5:
- 154 .cfi_remember_state
- 155 .cfi_def_cfa_offset 0
- 156 @ sp needed
- 157 0012 7047 bx lr
- 158 .L15:
- 159 .LCFI6:
- 160 .cfi_restore_state
- 161 .LBB2:
- 193:Core/Src/tim.c **** /* USER CODE BEGIN TIM3_MspInit 1 */
- 162 .loc 1 193 0
- 163 0014 0C4B ldr r3, .L17+8
- 164 0016 DA69 ldr r2, [r3, #28]
- 165 0018 42F00202 orr r2, r2, #2
- 166 001c DA61 str r2, [r3, #28]
- 167 001e DB69 ldr r3, [r3, #28]
- 168 0020 03F00203 and r3, r3, #2
- 169 0024 0093 str r3, [sp]
- 170 0026 009B ldr r3, [sp]
- 171 .LBE2:
- 172 0028 F2E7 b .L11
- 173 .L16:
- 174 .LBB3:
- 204:Core/Src/tim.c **** /* USER CODE BEGIN TIM8_MspInit 1 */
- 175 .loc 1 204 0
- 176 002a 074B ldr r3, .L17+8
- 177 002c 9A69 ldr r2, [r3, #24]
- 178 002e 42F40052 orr r2, r2, #8192
- 179 0032 9A61 str r2, [r3, #24]
- 180 0034 9B69 ldr r3, [r3, #24]
- 181 0036 03F40053 and r3, r3, #8192
- 182 003a 0193 str r3, [sp, #4]
- 183 003c 019B ldr r3, [sp, #4]
- 184 .LBE3:
- 185 .loc 1 209 0
- 186 003e E7E7 b .L11
- 187 .L18:
- 188 .align 2
-ARM GAS /tmp/ccdvEcnP.s page 8
-
-
- 189 .L17:
- 190 0040 00040040 .word 1073742848
- 191 0044 00340140 .word 1073820672
- 192 0048 00100240 .word 1073876992
- 193 .cfi_endproc
- 194 .LFE68:
- 196 .section .text.HAL_TIM_Base_MspInit,"ax",%progbits
- 197 .align 1
- 198 .global HAL_TIM_Base_MspInit
- 199 .syntax unified
- 200 .thumb
- 201 .thumb_func
- 202 .fpu softvfp
- 204 HAL_TIM_Base_MspInit:
- 205 .LFB69:
- 210:Core/Src/tim.c ****
- 211:Core/Src/tim.c **** void HAL_TIM_Base_MspInit(TIM_HandleTypeDef* tim_baseHandle)
- 212:Core/Src/tim.c **** {
- 206 .loc 1 212 0
- 207 .cfi_startproc
- 208 @ args = 0, pretend = 0, frame = 8
- 209 @ frame_needed = 0, uses_anonymous_args = 0
- 210 .LVL7:
- 213:Core/Src/tim.c ****
- 214:Core/Src/tim.c **** if(tim_baseHandle->Instance==TIM4)
- 211 .loc 1 214 0
- 212 0000 0268 ldr r2, [r0]
- 213 0002 0E4B ldr r3, .L26
- 214 0004 9A42 cmp r2, r3
- 215 0006 00D0 beq .L25
- 216 0008 7047 bx lr
- 217 .L25:
- 212:Core/Src/tim.c ****
- 218 .loc 1 212 0
- 219 000a 00B5 push {lr}
- 220 .LCFI7:
- 221 .cfi_def_cfa_offset 4
- 222 .cfi_offset 14, -4
- 223 000c 83B0 sub sp, sp, #12
- 224 .LCFI8:
- 225 .cfi_def_cfa_offset 16
- 226 .LBB4:
- 215:Core/Src/tim.c **** {
- 216:Core/Src/tim.c **** /* USER CODE BEGIN TIM4_MspInit 0 */
- 217:Core/Src/tim.c ****
- 218:Core/Src/tim.c **** /* USER CODE END TIM4_MspInit 0 */
- 219:Core/Src/tim.c **** /* TIM4 clock enable */
- 220:Core/Src/tim.c **** __HAL_RCC_TIM4_CLK_ENABLE();
- 227 .loc 1 220 0
- 228 000e 03F50233 add r3, r3, #133120
- 229 0012 DA69 ldr r2, [r3, #28]
- 230 0014 42F00402 orr r2, r2, #4
- 231 0018 DA61 str r2, [r3, #28]
- 232 001a DB69 ldr r3, [r3, #28]
- 233 001c 03F00403 and r3, r3, #4
- 234 0020 0193 str r3, [sp, #4]
- 235 0022 019B ldr r3, [sp, #4]
-ARM GAS /tmp/ccdvEcnP.s page 9
-
-
- 236 .LBE4:
- 221:Core/Src/tim.c ****
- 222:Core/Src/tim.c **** /* TIM4 interrupt Init */
- 223:Core/Src/tim.c **** HAL_NVIC_SetPriority(TIM4_IRQn, 0, 0);
- 237 .loc 1 223 0
- 238 0024 0022 movs r2, #0
- 239 0026 1146 mov r1, r2
- 240 0028 1E20 movs r0, #30
- 241 .LVL8:
- 242 002a FFF7FEFF bl HAL_NVIC_SetPriority
- 243 .LVL9:
- 224:Core/Src/tim.c **** HAL_NVIC_EnableIRQ(TIM4_IRQn);
- 244 .loc 1 224 0
- 245 002e 1E20 movs r0, #30
- 246 0030 FFF7FEFF bl HAL_NVIC_EnableIRQ
- 247 .LVL10:
- 225:Core/Src/tim.c **** /* USER CODE BEGIN TIM4_MspInit 1 */
- 226:Core/Src/tim.c ****
- 227:Core/Src/tim.c **** /* USER CODE END TIM4_MspInit 1 */
- 228:Core/Src/tim.c **** }
- 229:Core/Src/tim.c **** }
- 248 .loc 1 229 0
- 249 0034 03B0 add sp, sp, #12
- 250 .LCFI9:
- 251 .cfi_def_cfa_offset 4
- 252 @ sp needed
- 253 0036 5DF804FB ldr pc, [sp], #4
- 254 .L27:
- 255 003a 00BF .align 2
- 256 .L26:
- 257 003c 00080040 .word 1073743872
- 258 .cfi_endproc
- 259 .LFE69:
- 261 .section .text.HAL_TIM_MspPostInit,"ax",%progbits
- 262 .align 1
- 263 .global HAL_TIM_MspPostInit
- 264 .syntax unified
- 265 .thumb
- 266 .thumb_func
- 267 .fpu softvfp
- 269 HAL_TIM_MspPostInit:
- 270 .LFB70:
- 230:Core/Src/tim.c **** void HAL_TIM_MspPostInit(TIM_HandleTypeDef* timHandle)
- 231:Core/Src/tim.c **** {
- 271 .loc 1 231 0
- 272 .cfi_startproc
- 273 @ args = 0, pretend = 0, frame = 24
- 274 @ frame_needed = 0, uses_anonymous_args = 0
- 275 .LVL11:
- 276 0000 00B5 push {lr}
- 277 .LCFI10:
- 278 .cfi_def_cfa_offset 4
- 279 .cfi_offset 14, -4
- 280 0002 87B0 sub sp, sp, #28
- 281 .LCFI11:
- 282 .cfi_def_cfa_offset 32
- 232:Core/Src/tim.c ****
-ARM GAS /tmp/ccdvEcnP.s page 10
-
-
- 233:Core/Src/tim.c **** GPIO_InitTypeDef GPIO_InitStruct = {0};
- 283 .loc 1 233 0
- 284 0004 0023 movs r3, #0
- 285 0006 0293 str r3, [sp, #8]
- 286 0008 0393 str r3, [sp, #12]
- 287 000a 0493 str r3, [sp, #16]
- 288 000c 0593 str r3, [sp, #20]
- 234:Core/Src/tim.c **** if(timHandle->Instance==TIM3)
- 289 .loc 1 234 0
- 290 000e 0368 ldr r3, [r0]
- 291 0010 1C4A ldr r2, .L34
- 292 0012 9342 cmp r3, r2
- 293 0014 05D0 beq .L32
- 235:Core/Src/tim.c **** {
- 236:Core/Src/tim.c **** /* USER CODE BEGIN TIM3_MspPostInit 0 */
- 237:Core/Src/tim.c ****
- 238:Core/Src/tim.c **** /* USER CODE END TIM3_MspPostInit 0 */
- 239:Core/Src/tim.c **** __HAL_RCC_GPIOC_CLK_ENABLE();
- 240:Core/Src/tim.c **** /**TIM3 GPIO Configuration
- 241:Core/Src/tim.c **** PC6 ------> TIM3_CH1
- 242:Core/Src/tim.c **** PC7 ------> TIM3_CH2
- 243:Core/Src/tim.c **** */
- 244:Core/Src/tim.c **** GPIO_InitStruct.Pin = GPIO_PIN_6|GPIO_PIN_7;
- 245:Core/Src/tim.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- 246:Core/Src/tim.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
- 247:Core/Src/tim.c **** HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
- 248:Core/Src/tim.c ****
- 249:Core/Src/tim.c **** __HAL_AFIO_REMAP_TIM3_ENABLE();
- 250:Core/Src/tim.c ****
- 251:Core/Src/tim.c **** /* USER CODE BEGIN TIM3_MspPostInit 1 */
- 252:Core/Src/tim.c ****
- 253:Core/Src/tim.c **** /* USER CODE END TIM3_MspPostInit 1 */
- 254:Core/Src/tim.c **** }
- 255:Core/Src/tim.c **** else if(timHandle->Instance==TIM8)
- 294 .loc 1 255 0
- 295 0016 1C4A ldr r2, .L34+4
- 296 0018 9342 cmp r3, r2
- 297 001a 1DD0 beq .L33
- 298 .LVL12:
- 299 .L28:
- 256:Core/Src/tim.c **** {
- 257:Core/Src/tim.c **** /* USER CODE BEGIN TIM8_MspPostInit 0 */
- 258:Core/Src/tim.c ****
- 259:Core/Src/tim.c **** /* USER CODE END TIM8_MspPostInit 0 */
- 260:Core/Src/tim.c ****
- 261:Core/Src/tim.c **** __HAL_RCC_GPIOC_CLK_ENABLE();
- 262:Core/Src/tim.c **** /**TIM8 GPIO Configuration
- 263:Core/Src/tim.c **** PC8 ------> TIM8_CH3
- 264:Core/Src/tim.c **** PC9 ------> TIM8_CH4
- 265:Core/Src/tim.c **** */
- 266:Core/Src/tim.c **** GPIO_InitStruct.Pin = GPIO_PIN_8|GPIO_PIN_9;
- 267:Core/Src/tim.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- 268:Core/Src/tim.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
- 269:Core/Src/tim.c **** HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
- 270:Core/Src/tim.c ****
- 271:Core/Src/tim.c **** /* USER CODE BEGIN TIM8_MspPostInit 1 */
- 272:Core/Src/tim.c ****
-ARM GAS /tmp/ccdvEcnP.s page 11
-
-
- 273:Core/Src/tim.c **** /* USER CODE END TIM8_MspPostInit 1 */
- 274:Core/Src/tim.c **** }
- 275:Core/Src/tim.c ****
- 276:Core/Src/tim.c **** }
- 300 .loc 1 276 0
- 301 001c 07B0 add sp, sp, #28
- 302 .LCFI12:
- 303 .cfi_remember_state
- 304 .cfi_def_cfa_offset 4
- 305 @ sp needed
- 306 001e 5DF804FB ldr pc, [sp], #4
- 307 .LVL13:
- 308 .L32:
- 309 .LCFI13:
- 310 .cfi_restore_state
- 311 .LBB5:
- 239:Core/Src/tim.c **** /**TIM3 GPIO Configuration
- 312 .loc 1 239 0
- 313 0022 1A4B ldr r3, .L34+8
- 314 0024 9A69 ldr r2, [r3, #24]
- 315 0026 42F01002 orr r2, r2, #16
- 316 002a 9A61 str r2, [r3, #24]
- 317 002c 9B69 ldr r3, [r3, #24]
- 318 002e 03F01003 and r3, r3, #16
- 319 0032 0093 str r3, [sp]
- 320 0034 009B ldr r3, [sp]
- 321 .LBE5:
- 244:Core/Src/tim.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- 322 .loc 1 244 0
- 323 0036 C023 movs r3, #192
- 324 0038 0293 str r3, [sp, #8]
- 245:Core/Src/tim.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
- 325 .loc 1 245 0
- 326 003a 0223 movs r3, #2
- 327 003c 0393 str r3, [sp, #12]
- 246:Core/Src/tim.c **** HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
- 328 .loc 1 246 0
- 329 003e 0593 str r3, [sp, #20]
- 247:Core/Src/tim.c ****
- 330 .loc 1 247 0
- 331 0040 02A9 add r1, sp, #8
- 332 0042 1348 ldr r0, .L34+12
- 333 .LVL14:
- 334 0044 FFF7FEFF bl HAL_GPIO_Init
- 335 .LVL15:
- 336 .LBB6:
- 249:Core/Src/tim.c ****
- 337 .loc 1 249 0
- 338 0048 124A ldr r2, .L34+16
- 339 004a 5368 ldr r3, [r2, #4]
- 340 .LVL16:
- 341 004c 43F0E063 orr r3, r3, #117440512
- 342 .LVL17:
- 343 0050 43F44063 orr r3, r3, #3072
- 344 .LVL18:
- 345 0054 5360 str r3, [r2, #4]
- 346 .LBE6:
-ARM GAS /tmp/ccdvEcnP.s page 12
-
-
- 347 0056 E1E7 b .L28
- 348 .LVL19:
- 349 .L33:
- 350 .LBB7:
- 261:Core/Src/tim.c **** /**TIM8 GPIO Configuration
- 351 .loc 1 261 0
- 352 0058 0C4B ldr r3, .L34+8
- 353 005a 9A69 ldr r2, [r3, #24]
- 354 005c 42F01002 orr r2, r2, #16
- 355 0060 9A61 str r2, [r3, #24]
- 356 0062 9B69 ldr r3, [r3, #24]
- 357 0064 03F01003 and r3, r3, #16
- 358 0068 0193 str r3, [sp, #4]
- 359 006a 019B ldr r3, [sp, #4]
- 360 .LBE7:
- 266:Core/Src/tim.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- 361 .loc 1 266 0
- 362 006c 4FF44073 mov r3, #768
- 363 0070 0293 str r3, [sp, #8]
- 267:Core/Src/tim.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
- 364 .loc 1 267 0
- 365 0072 0223 movs r3, #2
- 366 0074 0393 str r3, [sp, #12]
- 268:Core/Src/tim.c **** HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
- 367 .loc 1 268 0
- 368 0076 0593 str r3, [sp, #20]
- 269:Core/Src/tim.c ****
- 369 .loc 1 269 0
- 370 0078 02A9 add r1, sp, #8
- 371 007a 0548 ldr r0, .L34+12
- 372 .LVL20:
- 373 007c FFF7FEFF bl HAL_GPIO_Init
- 374 .LVL21:
- 375 .loc 1 276 0
- 376 0080 CCE7 b .L28
- 377 .L35:
- 378 0082 00BF .align 2
- 379 .L34:
- 380 0084 00040040 .word 1073742848
- 381 0088 00340140 .word 1073820672
- 382 008c 00100240 .word 1073876992
- 383 0090 00100140 .word 1073811456
- 384 0094 00000140 .word 1073807360
- 385 .cfi_endproc
- 386 .LFE70:
- 388 .section .text.MX_TIM3_Init,"ax",%progbits
- 389 .align 1
- 390 .global MX_TIM3_Init
- 391 .syntax unified
- 392 .thumb
- 393 .thumb_func
- 394 .fpu softvfp
- 396 MX_TIM3_Init:
- 397 .LFB65:
- 33:Core/Src/tim.c ****
- 398 .loc 1 33 0
- 399 .cfi_startproc
-ARM GAS /tmp/ccdvEcnP.s page 13
-
-
- 400 @ args = 0, pretend = 0, frame = 40
- 401 @ frame_needed = 0, uses_anonymous_args = 0
- 402 0000 00B5 push {lr}
- 403 .LCFI14:
- 404 .cfi_def_cfa_offset 4
- 405 .cfi_offset 14, -4
- 406 0002 8BB0 sub sp, sp, #44
- 407 .LCFI15:
- 408 .cfi_def_cfa_offset 48
- 39:Core/Src/tim.c **** TIM_OC_InitTypeDef sConfigOC = {0};
- 409 .loc 1 39 0
- 410 0004 0023 movs r3, #0
- 411 0006 0893 str r3, [sp, #32]
- 412 0008 0993 str r3, [sp, #36]
- 40:Core/Src/tim.c ****
- 413 .loc 1 40 0
- 414 000a 0193 str r3, [sp, #4]
- 415 000c 0293 str r3, [sp, #8]
- 416 000e 0393 str r3, [sp, #12]
- 417 0010 0493 str r3, [sp, #16]
- 418 0012 0593 str r3, [sp, #20]
- 419 0014 0693 str r3, [sp, #24]
- 420 0016 0793 str r3, [sp, #28]
- 45:Core/Src/tim.c **** htim3.Init.Prescaler = 71;
- 421 .loc 1 45 0
- 422 0018 1C48 ldr r0, .L46
- 423 001a 1D4A ldr r2, .L46+4
- 424 001c 0260 str r2, [r0]
- 46:Core/Src/tim.c **** htim3.Init.CounterMode = TIM_COUNTERMODE_UP;
- 425 .loc 1 46 0
- 426 001e 4722 movs r2, #71
- 427 0020 4260 str r2, [r0, #4]
- 47:Core/Src/tim.c **** htim3.Init.Period = 999;
- 428 .loc 1 47 0
- 429 0022 8360 str r3, [r0, #8]
- 48:Core/Src/tim.c **** htim3.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
- 430 .loc 1 48 0
- 431 0024 40F2E732 movw r2, #999
- 432 0028 C260 str r2, [r0, #12]
- 49:Core/Src/tim.c **** htim3.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
- 433 .loc 1 49 0
- 434 002a 0361 str r3, [r0, #16]
- 50:Core/Src/tim.c **** if (HAL_TIM_PWM_Init(&htim3) != HAL_OK)
- 435 .loc 1 50 0
- 436 002c 8361 str r3, [r0, #24]
- 51:Core/Src/tim.c **** {
- 437 .loc 1 51 0
- 438 002e FFF7FEFF bl HAL_TIM_PWM_Init
- 439 .LVL22:
- 440 0032 F8B9 cbnz r0, .L42
- 441 .L37:
- 55:Core/Src/tim.c **** sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE;
- 442 .loc 1 55 0
- 443 0034 0023 movs r3, #0
- 444 0036 0893 str r3, [sp, #32]
- 56:Core/Src/tim.c **** if (HAL_TIMEx_MasterConfigSynchronization(&htim3, &sMasterConfig) != HAL_OK)
- 445 .loc 1 56 0
-ARM GAS /tmp/ccdvEcnP.s page 14
-
-
- 446 0038 0993 str r3, [sp, #36]
- 57:Core/Src/tim.c **** {
- 447 .loc 1 57 0
- 448 003a 08A9 add r1, sp, #32
- 449 003c 1348 ldr r0, .L46
- 450 003e FFF7FEFF bl HAL_TIMEx_MasterConfigSynchronization
- 451 .LVL23:
- 452 0042 D0B9 cbnz r0, .L43
- 453 .L38:
- 61:Core/Src/tim.c **** sConfigOC.Pulse = 0;
- 454 .loc 1 61 0
- 455 0044 6023 movs r3, #96
- 456 0046 0193 str r3, [sp, #4]
- 62:Core/Src/tim.c **** sConfigOC.OCPolarity = TIM_OCPOLARITY_HIGH;
- 457 .loc 1 62 0
- 458 0048 0022 movs r2, #0
- 459 004a 0292 str r2, [sp, #8]
- 63:Core/Src/tim.c **** sConfigOC.OCFastMode = TIM_OCFAST_DISABLE;
- 460 .loc 1 63 0
- 461 004c 0392 str r2, [sp, #12]
- 64:Core/Src/tim.c **** if (HAL_TIM_PWM_ConfigChannel(&htim3, &sConfigOC, TIM_CHANNEL_1) != HAL_OK)
- 462 .loc 1 64 0
- 463 004e 0592 str r2, [sp, #20]
- 65:Core/Src/tim.c **** {
- 464 .loc 1 65 0
- 465 0050 01A9 add r1, sp, #4
- 466 0052 0E48 ldr r0, .L46
- 467 0054 FFF7FEFF bl HAL_TIM_PWM_ConfigChannel
- 468 .LVL24:
- 469 0058 90B9 cbnz r0, .L44
- 470 .L39:
- 69:Core/Src/tim.c **** {
- 471 .loc 1 69 0
- 472 005a 0422 movs r2, #4
- 473 005c 0DEB0201 add r1, sp, r2
- 474 0060 0A48 ldr r0, .L46
- 475 0062 FFF7FEFF bl HAL_TIM_PWM_ConfigChannel
- 476 .LVL25:
- 477 0066 70B9 cbnz r0, .L45
- 478 .L40:
- 76:Core/Src/tim.c ****
- 479 .loc 1 76 0
- 480 0068 0848 ldr r0, .L46
- 481 006a FFF7FEFF bl HAL_TIM_MspPostInit
- 482 .LVL26:
- 78:Core/Src/tim.c **** /* TIM4 init function */
- 483 .loc 1 78 0
- 484 006e 0BB0 add sp, sp, #44
- 485 .LCFI16:
- 486 .cfi_remember_state
- 487 .cfi_def_cfa_offset 4
- 488 @ sp needed
- 489 0070 5DF804FB ldr pc, [sp], #4
- 490 .L42:
- 491 .LCFI17:
- 492 .cfi_restore_state
- 53:Core/Src/tim.c **** }
-ARM GAS /tmp/ccdvEcnP.s page 15
-
-
- 493 .loc 1 53 0
- 494 0074 FFF7FEFF bl Error_Handler
- 495 .LVL27:
- 496 0078 DCE7 b .L37
- 497 .L43:
- 59:Core/Src/tim.c **** }
- 498 .loc 1 59 0
- 499 007a FFF7FEFF bl Error_Handler
- 500 .LVL28:
- 501 007e E1E7 b .L38
- 502 .L44:
- 67:Core/Src/tim.c **** }
- 503 .loc 1 67 0
- 504 0080 FFF7FEFF bl Error_Handler
- 505 .LVL29:
- 506 0084 E9E7 b .L39
- 507 .L45:
- 71:Core/Src/tim.c **** }
- 508 .loc 1 71 0
- 509 0086 FFF7FEFF bl Error_Handler
- 510 .LVL30:
- 511 008a EDE7 b .L40
- 512 .L47:
- 513 .align 2
- 514 .L46:
- 515 008c 00000000 .word htim3
- 516 0090 00040040 .word 1073742848
- 517 .cfi_endproc
- 518 .LFE65:
- 520 .section .text.MX_TIM8_Init,"ax",%progbits
- 521 .align 1
- 522 .global MX_TIM8_Init
- 523 .syntax unified
- 524 .thumb
- 525 .thumb_func
- 526 .fpu softvfp
- 528 MX_TIM8_Init:
- 529 .LFB67:
- 121:Core/Src/tim.c ****
- 530 .loc 1 121 0
- 531 .cfi_startproc
- 532 @ args = 0, pretend = 0, frame = 72
- 533 @ frame_needed = 0, uses_anonymous_args = 0
- 534 0000 10B5 push {r4, lr}
- 535 .LCFI18:
- 536 .cfi_def_cfa_offset 8
- 537 .cfi_offset 4, -8
- 538 .cfi_offset 14, -4
- 539 0002 92B0 sub sp, sp, #72
- 540 .LCFI19:
- 541 .cfi_def_cfa_offset 80
- 127:Core/Src/tim.c **** TIM_OC_InitTypeDef sConfigOC = {0};
- 542 .loc 1 127 0
- 543 0004 0024 movs r4, #0
- 544 0006 1094 str r4, [sp, #64]
- 545 0008 1194 str r4, [sp, #68]
- 128:Core/Src/tim.c **** TIM_BreakDeadTimeConfigTypeDef sBreakDeadTimeConfig = {0};
-ARM GAS /tmp/ccdvEcnP.s page 16
-
-
- 546 .loc 1 128 0
- 547 000a 0994 str r4, [sp, #36]
- 548 000c 0A94 str r4, [sp, #40]
- 549 000e 0B94 str r4, [sp, #44]
- 550 0010 0C94 str r4, [sp, #48]
- 551 0012 0D94 str r4, [sp, #52]
- 552 0014 0E94 str r4, [sp, #56]
- 553 0016 0F94 str r4, [sp, #60]
- 129:Core/Src/tim.c ****
- 554 .loc 1 129 0
- 555 0018 2022 movs r2, #32
- 556 001a 2146 mov r1, r4
- 557 001c 01A8 add r0, sp, #4
- 558 001e FFF7FEFF bl memset
- 559 .LVL31:
- 134:Core/Src/tim.c **** htim8.Init.Prescaler = 0;
- 560 .loc 1 134 0
- 561 0022 2848 ldr r0, .L60
- 562 0024 284B ldr r3, .L60+4
- 563 0026 0360 str r3, [r0]
- 135:Core/Src/tim.c **** htim8.Init.CounterMode = TIM_COUNTERMODE_UP;
- 564 .loc 1 135 0
- 565 0028 4460 str r4, [r0, #4]
- 136:Core/Src/tim.c **** htim8.Init.Period = 65535;
- 566 .loc 1 136 0
- 567 002a 8460 str r4, [r0, #8]
- 137:Core/Src/tim.c **** htim8.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;
- 568 .loc 1 137 0
- 569 002c 4FF6FF73 movw r3, #65535
- 570 0030 C360 str r3, [r0, #12]
- 138:Core/Src/tim.c **** htim8.Init.RepetitionCounter = 0;
- 571 .loc 1 138 0
- 572 0032 0461 str r4, [r0, #16]
- 139:Core/Src/tim.c **** htim8.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
- 573 .loc 1 139 0
- 574 0034 4461 str r4, [r0, #20]
- 140:Core/Src/tim.c **** if (HAL_TIM_PWM_Init(&htim8) != HAL_OK)
- 575 .loc 1 140 0
- 576 0036 8461 str r4, [r0, #24]
- 141:Core/Src/tim.c **** {
- 577 .loc 1 141 0
- 578 0038 FFF7FEFF bl HAL_TIM_PWM_Init
- 579 .LVL32:
- 580 003c 0028 cmp r0, #0
- 581 003e 31D1 bne .L55
- 582 .L49:
- 145:Core/Src/tim.c **** sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE;
- 583 .loc 1 145 0
- 584 0040 0023 movs r3, #0
- 585 0042 1093 str r3, [sp, #64]
- 146:Core/Src/tim.c **** if (HAL_TIMEx_MasterConfigSynchronization(&htim8, &sMasterConfig) != HAL_OK)
- 586 .loc 1 146 0
- 587 0044 1193 str r3, [sp, #68]
- 147:Core/Src/tim.c **** {
- 588 .loc 1 147 0
- 589 0046 10A9 add r1, sp, #64
- 590 0048 1E48 ldr r0, .L60
-ARM GAS /tmp/ccdvEcnP.s page 17
-
-
- 591 004a FFF7FEFF bl HAL_TIMEx_MasterConfigSynchronization
- 592 .LVL33:
- 593 004e 0028 cmp r0, #0
- 594 0050 2BD1 bne .L56
- 595 .L50:
- 151:Core/Src/tim.c **** sConfigOC.Pulse = 0;
- 596 .loc 1 151 0
- 597 0052 6023 movs r3, #96
- 598 0054 0993 str r3, [sp, #36]
- 152:Core/Src/tim.c **** sConfigOC.OCPolarity = TIM_OCPOLARITY_HIGH;
- 599 .loc 1 152 0
- 600 0056 0023 movs r3, #0
- 601 0058 0A93 str r3, [sp, #40]
- 153:Core/Src/tim.c **** sConfigOC.OCNPolarity = TIM_OCNPOLARITY_HIGH;
- 602 .loc 1 153 0
- 603 005a 0B93 str r3, [sp, #44]
- 154:Core/Src/tim.c **** sConfigOC.OCFastMode = TIM_OCFAST_DISABLE;
- 604 .loc 1 154 0
- 605 005c 0C93 str r3, [sp, #48]
- 155:Core/Src/tim.c **** sConfigOC.OCIdleState = TIM_OCIDLESTATE_RESET;
- 606 .loc 1 155 0
- 607 005e 0D93 str r3, [sp, #52]
- 156:Core/Src/tim.c **** sConfigOC.OCNIdleState = TIM_OCNIDLESTATE_RESET;
- 608 .loc 1 156 0
- 609 0060 0E93 str r3, [sp, #56]
- 157:Core/Src/tim.c **** if (HAL_TIM_PWM_ConfigChannel(&htim8, &sConfigOC, TIM_CHANNEL_3) != HAL_OK)
- 610 .loc 1 157 0
- 611 0062 0F93 str r3, [sp, #60]
- 158:Core/Src/tim.c **** {
- 612 .loc 1 158 0
- 613 0064 0822 movs r2, #8
- 614 0066 09A9 add r1, sp, #36
- 615 0068 1648 ldr r0, .L60
- 616 006a FFF7FEFF bl HAL_TIM_PWM_ConfigChannel
- 617 .LVL34:
- 618 006e F8B9 cbnz r0, .L57
- 619 .L51:
- 162:Core/Src/tim.c **** {
- 620 .loc 1 162 0
- 621 0070 0C22 movs r2, #12
- 622 0072 09A9 add r1, sp, #36
- 623 0074 1348 ldr r0, .L60
- 624 0076 FFF7FEFF bl HAL_TIM_PWM_ConfigChannel
- 625 .LVL35:
- 626 007a E0B9 cbnz r0, .L58
- 627 .L52:
- 166:Core/Src/tim.c **** sBreakDeadTimeConfig.OffStateIDLEMode = TIM_OSSI_DISABLE;
- 628 .loc 1 166 0
- 629 007c 0023 movs r3, #0
- 630 007e 0193 str r3, [sp, #4]
- 167:Core/Src/tim.c **** sBreakDeadTimeConfig.LockLevel = TIM_LOCKLEVEL_OFF;
- 631 .loc 1 167 0
- 632 0080 0293 str r3, [sp, #8]
- 168:Core/Src/tim.c **** sBreakDeadTimeConfig.DeadTime = 0;
- 633 .loc 1 168 0
- 634 0082 0393 str r3, [sp, #12]
- 169:Core/Src/tim.c **** sBreakDeadTimeConfig.BreakState = TIM_BREAK_DISABLE;
-ARM GAS /tmp/ccdvEcnP.s page 18
-
-
- 635 .loc 1 169 0
- 636 0084 0493 str r3, [sp, #16]
- 170:Core/Src/tim.c **** sBreakDeadTimeConfig.BreakPolarity = TIM_BREAKPOLARITY_HIGH;
- 637 .loc 1 170 0
- 638 0086 0593 str r3, [sp, #20]
- 171:Core/Src/tim.c **** sBreakDeadTimeConfig.AutomaticOutput = TIM_AUTOMATICOUTPUT_DISABLE;
- 639 .loc 1 171 0
- 640 0088 4FF40052 mov r2, #8192
- 641 008c 0692 str r2, [sp, #24]
- 172:Core/Src/tim.c **** if (HAL_TIMEx_ConfigBreakDeadTime(&htim8, &sBreakDeadTimeConfig) != HAL_OK)
- 642 .loc 1 172 0
- 643 008e 0893 str r3, [sp, #32]
- 173:Core/Src/tim.c **** {
- 644 .loc 1 173 0
- 645 0090 01A9 add r1, sp, #4
- 646 0092 0C48 ldr r0, .L60
- 647 0094 FFF7FEFF bl HAL_TIMEx_ConfigBreakDeadTime
- 648 .LVL36:
- 649 0098 80B9 cbnz r0, .L59
- 650 .L53:
- 180:Core/Src/tim.c ****
- 651 .loc 1 180 0
- 652 009a 0A48 ldr r0, .L60
- 653 009c FFF7FEFF bl HAL_TIM_MspPostInit
- 654 .LVL37:
- 182:Core/Src/tim.c ****
- 655 .loc 1 182 0
- 656 00a0 12B0 add sp, sp, #72
- 657 .LCFI20:
- 658 .cfi_remember_state
- 659 .cfi_def_cfa_offset 8
- 660 @ sp needed
- 661 00a2 10BD pop {r4, pc}
- 662 .L55:
- 663 .LCFI21:
- 664 .cfi_restore_state
- 143:Core/Src/tim.c **** }
- 665 .loc 1 143 0
- 666 00a4 FFF7FEFF bl Error_Handler
- 667 .LVL38:
- 668 00a8 CAE7 b .L49
- 669 .L56:
- 149:Core/Src/tim.c **** }
- 670 .loc 1 149 0
- 671 00aa FFF7FEFF bl Error_Handler
- 672 .LVL39:
- 673 00ae D0E7 b .L50
- 674 .L57:
- 160:Core/Src/tim.c **** }
- 675 .loc 1 160 0
- 676 00b0 FFF7FEFF bl Error_Handler
- 677 .LVL40:
- 678 00b4 DCE7 b .L51
- 679 .L58:
- 164:Core/Src/tim.c **** }
- 680 .loc 1 164 0
- 681 00b6 FFF7FEFF bl Error_Handler
-ARM GAS /tmp/ccdvEcnP.s page 19
-
-
- 682 .LVL41:
- 683 00ba DFE7 b .L52
- 684 .L59:
- 175:Core/Src/tim.c **** }
- 685 .loc 1 175 0
- 686 00bc FFF7FEFF bl Error_Handler
- 687 .LVL42:
- 688 00c0 EBE7 b .L53
- 689 .L61:
- 690 00c2 00BF .align 2
- 691 .L60:
- 692 00c4 00000000 .word htim8
- 693 00c8 00340140 .word 1073820672
- 694 .cfi_endproc
- 695 .LFE67:
- 697 .section .text.HAL_TIM_PWM_MspDeInit,"ax",%progbits
- 698 .align 1
- 699 .global HAL_TIM_PWM_MspDeInit
- 700 .syntax unified
- 701 .thumb
- 702 .thumb_func
- 703 .fpu softvfp
- 705 HAL_TIM_PWM_MspDeInit:
- 706 .LFB71:
- 277:Core/Src/tim.c ****
- 278:Core/Src/tim.c **** void HAL_TIM_PWM_MspDeInit(TIM_HandleTypeDef* tim_pwmHandle)
- 279:Core/Src/tim.c **** {
- 707 .loc 1 279 0
- 708 .cfi_startproc
- 709 @ args = 0, pretend = 0, frame = 0
- 710 @ frame_needed = 0, uses_anonymous_args = 0
- 711 @ link register save eliminated.
- 712 .LVL43:
- 280:Core/Src/tim.c ****
- 281:Core/Src/tim.c **** if(tim_pwmHandle->Instance==TIM3)
- 713 .loc 1 281 0
- 714 0000 0368 ldr r3, [r0]
- 715 0002 0A4A ldr r2, .L67
- 716 0004 9342 cmp r3, r2
- 717 0006 03D0 beq .L65
- 282:Core/Src/tim.c **** {
- 283:Core/Src/tim.c **** /* USER CODE BEGIN TIM3_MspDeInit 0 */
- 284:Core/Src/tim.c ****
- 285:Core/Src/tim.c **** /* USER CODE END TIM3_MspDeInit 0 */
- 286:Core/Src/tim.c **** /* Peripheral clock disable */
- 287:Core/Src/tim.c **** __HAL_RCC_TIM3_CLK_DISABLE();
- 288:Core/Src/tim.c **** /* USER CODE BEGIN TIM3_MspDeInit 1 */
- 289:Core/Src/tim.c ****
- 290:Core/Src/tim.c **** /* USER CODE END TIM3_MspDeInit 1 */
- 291:Core/Src/tim.c **** }
- 292:Core/Src/tim.c **** else if(tim_pwmHandle->Instance==TIM8)
- 718 .loc 1 292 0
- 719 0008 094A ldr r2, .L67+4
- 720 000a 9342 cmp r3, r2
- 721 000c 07D0 beq .L66
- 722 .L62:
- 723 000e 7047 bx lr
-ARM GAS /tmp/ccdvEcnP.s page 20
-
-
- 724 .L65:
- 287:Core/Src/tim.c **** /* USER CODE BEGIN TIM3_MspDeInit 1 */
- 725 .loc 1 287 0
- 726 0010 02F50332 add r2, r2, #134144
- 727 0014 D369 ldr r3, [r2, #28]
- 728 0016 23F00203 bic r3, r3, #2
- 729 001a D361 str r3, [r2, #28]
- 730 001c 7047 bx lr
- 731 .L66:
- 293:Core/Src/tim.c **** {
- 294:Core/Src/tim.c **** /* USER CODE BEGIN TIM8_MspDeInit 0 */
- 295:Core/Src/tim.c ****
- 296:Core/Src/tim.c **** /* USER CODE END TIM8_MspDeInit 0 */
- 297:Core/Src/tim.c **** /* Peripheral clock disable */
- 298:Core/Src/tim.c **** __HAL_RCC_TIM8_CLK_DISABLE();
- 732 .loc 1 298 0
- 733 001e 02F55C42 add r2, r2, #56320
- 734 0022 9369 ldr r3, [r2, #24]
- 735 0024 23F40053 bic r3, r3, #8192
- 736 0028 9361 str r3, [r2, #24]
- 299:Core/Src/tim.c **** /* USER CODE BEGIN TIM8_MspDeInit 1 */
- 300:Core/Src/tim.c ****
- 301:Core/Src/tim.c **** /* USER CODE END TIM8_MspDeInit 1 */
- 302:Core/Src/tim.c **** }
- 303:Core/Src/tim.c **** }
- 737 .loc 1 303 0
- 738 002a F0E7 b .L62
- 739 .L68:
- 740 .align 2
- 741 .L67:
- 742 002c 00040040 .word 1073742848
- 743 0030 00340140 .word 1073820672
- 744 .cfi_endproc
- 745 .LFE71:
- 747 .section .text.HAL_TIM_Base_MspDeInit,"ax",%progbits
- 748 .align 1
- 749 .global HAL_TIM_Base_MspDeInit
- 750 .syntax unified
- 751 .thumb
- 752 .thumb_func
- 753 .fpu softvfp
- 755 HAL_TIM_Base_MspDeInit:
- 756 .LFB72:
- 304:Core/Src/tim.c ****
- 305:Core/Src/tim.c **** void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef* tim_baseHandle)
- 306:Core/Src/tim.c **** {
- 757 .loc 1 306 0
- 758 .cfi_startproc
- 759 @ args = 0, pretend = 0, frame = 0
- 760 @ frame_needed = 0, uses_anonymous_args = 0
- 761 .LVL44:
- 762 0000 08B5 push {r3, lr}
- 763 .LCFI22:
- 764 .cfi_def_cfa_offset 8
- 765 .cfi_offset 3, -8
- 766 .cfi_offset 14, -4
- 307:Core/Src/tim.c ****
-ARM GAS /tmp/ccdvEcnP.s page 21
-
-
- 308:Core/Src/tim.c **** if(tim_baseHandle->Instance==TIM4)
- 767 .loc 1 308 0
- 768 0002 0268 ldr r2, [r0]
- 769 0004 064B ldr r3, .L73
- 770 0006 9A42 cmp r2, r3
- 771 0008 00D0 beq .L72
- 772 .LVL45:
- 773 .L69:
- 774 000a 08BD pop {r3, pc}
- 775 .LVL46:
- 776 .L72:
- 309:Core/Src/tim.c **** {
- 310:Core/Src/tim.c **** /* USER CODE BEGIN TIM4_MspDeInit 0 */
- 311:Core/Src/tim.c ****
- 312:Core/Src/tim.c **** /* USER CODE END TIM4_MspDeInit 0 */
- 313:Core/Src/tim.c **** /* Peripheral clock disable */
- 314:Core/Src/tim.c **** __HAL_RCC_TIM4_CLK_DISABLE();
- 777 .loc 1 314 0
- 778 000c 054A ldr r2, .L73+4
- 779 000e D369 ldr r3, [r2, #28]
- 780 0010 23F00403 bic r3, r3, #4
- 781 0014 D361 str r3, [r2, #28]
- 315:Core/Src/tim.c ****
- 316:Core/Src/tim.c **** /* TIM4 interrupt Deinit */
- 317:Core/Src/tim.c **** HAL_NVIC_DisableIRQ(TIM4_IRQn);
- 782 .loc 1 317 0
- 783 0016 1E20 movs r0, #30
- 784 .LVL47:
- 785 0018 FFF7FEFF bl HAL_NVIC_DisableIRQ
- 786 .LVL48:
- 318:Core/Src/tim.c **** /* USER CODE BEGIN TIM4_MspDeInit 1 */
- 319:Core/Src/tim.c ****
- 320:Core/Src/tim.c **** /* USER CODE END TIM4_MspDeInit 1 */
- 321:Core/Src/tim.c **** }
- 322:Core/Src/tim.c **** }
- 787 .loc 1 322 0
- 788 001c F5E7 b .L69
- 789 .L74:
- 790 001e 00BF .align 2
- 791 .L73:
- 792 0020 00080040 .word 1073743872
- 793 0024 00100240 .word 1073876992
- 794 .cfi_endproc
- 795 .LFE72:
- 797 .comm htim8,72,4
- 798 .comm htim4,72,4
- 799 .comm htim3,72,4
- 800 .text
- 801 .Letext0:
- 802 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 803 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 804 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 805 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 806 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 807 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 808 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h"
- 809 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
-ARM GAS /tmp/ccdvEcnP.s page 22
-
-
- 810 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h"
- 811 .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
- 812 .file 12 "Core/Inc/tim.h"
- 813 .file 13 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h"
- 814 .file 14 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h"
- 815 .file 15 "Core/Inc/main.h"
-ARM GAS /tmp/ccdvEcnP.s page 23
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 tim.c
- /tmp/ccdvEcnP.s:16 .text.MX_TIM4_Init:0000000000000000 $t
- /tmp/ccdvEcnP.s:23 .text.MX_TIM4_Init:0000000000000000 MX_TIM4_Init
- /tmp/ccdvEcnP.s:117 .text.MX_TIM4_Init:0000000000000068 $d
- *COM*:0000000000000048 htim4
- /tmp/ccdvEcnP.s:123 .text.HAL_TIM_PWM_MspInit:0000000000000000 $t
- /tmp/ccdvEcnP.s:130 .text.HAL_TIM_PWM_MspInit:0000000000000000 HAL_TIM_PWM_MspInit
- /tmp/ccdvEcnP.s:190 .text.HAL_TIM_PWM_MspInit:0000000000000040 $d
- /tmp/ccdvEcnP.s:197 .text.HAL_TIM_Base_MspInit:0000000000000000 $t
- /tmp/ccdvEcnP.s:204 .text.HAL_TIM_Base_MspInit:0000000000000000 HAL_TIM_Base_MspInit
- /tmp/ccdvEcnP.s:257 .text.HAL_TIM_Base_MspInit:000000000000003c $d
- /tmp/ccdvEcnP.s:262 .text.HAL_TIM_MspPostInit:0000000000000000 $t
- /tmp/ccdvEcnP.s:269 .text.HAL_TIM_MspPostInit:0000000000000000 HAL_TIM_MspPostInit
- /tmp/ccdvEcnP.s:380 .text.HAL_TIM_MspPostInit:0000000000000084 $d
- /tmp/ccdvEcnP.s:389 .text.MX_TIM3_Init:0000000000000000 $t
- /tmp/ccdvEcnP.s:396 .text.MX_TIM3_Init:0000000000000000 MX_TIM3_Init
- /tmp/ccdvEcnP.s:515 .text.MX_TIM3_Init:000000000000008c $d
- *COM*:0000000000000048 htim3
- /tmp/ccdvEcnP.s:521 .text.MX_TIM8_Init:0000000000000000 $t
- /tmp/ccdvEcnP.s:528 .text.MX_TIM8_Init:0000000000000000 MX_TIM8_Init
- /tmp/ccdvEcnP.s:692 .text.MX_TIM8_Init:00000000000000c4 $d
- *COM*:0000000000000048 htim8
- /tmp/ccdvEcnP.s:698 .text.HAL_TIM_PWM_MspDeInit:0000000000000000 $t
- /tmp/ccdvEcnP.s:705 .text.HAL_TIM_PWM_MspDeInit:0000000000000000 HAL_TIM_PWM_MspDeInit
- /tmp/ccdvEcnP.s:742 .text.HAL_TIM_PWM_MspDeInit:000000000000002c $d
- /tmp/ccdvEcnP.s:748 .text.HAL_TIM_Base_MspDeInit:0000000000000000 $t
- /tmp/ccdvEcnP.s:755 .text.HAL_TIM_Base_MspDeInit:0000000000000000 HAL_TIM_Base_MspDeInit
- /tmp/ccdvEcnP.s:792 .text.HAL_TIM_Base_MspDeInit:0000000000000020 $d
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-HAL_TIM_Base_Init
-HAL_TIM_ConfigClockSource
-HAL_TIMEx_MasterConfigSynchronization
-Error_Handler
-HAL_NVIC_SetPriority
-HAL_NVIC_EnableIRQ
-HAL_GPIO_Init
-HAL_TIM_PWM_Init
-HAL_TIM_PWM_ConfigChannel
-memset
-HAL_TIMEx_ConfigBreakDeadTime
-HAL_NVIC_DisableIRQ
diff --git a/build/tim.o b/build/tim.o
deleted file mode 100644
index 9466af8..0000000
Binary files a/build/tim.o and /dev/null differ
diff --git a/build/usart.d b/build/usart.d
deleted file mode 100644
index 5a24b85..0000000
--- a/build/usart.d
+++ /dev/null
@@ -1,96 +0,0 @@
-build/usart.o: Core/Src/usart.c Core/Inc/usart.h Core/Inc/main.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h
-
-Core/Inc/usart.h:
-
-Core/Inc/main.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
diff --git a/build/usart.lst b/build/usart.lst
deleted file mode 100644
index af1e34e..0000000
--- a/build/usart.lst
+++ /dev/null
@@ -1,649 +0,0 @@
-ARM GAS /tmp/ccjzPv63.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "usart.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.MX_UART4_Init,"ax",%progbits
- 16 .align 1
- 17 .global MX_UART4_Init
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 MX_UART4_Init:
- 24 .LFB65:
- 25 .file 1 "Core/Src/usart.c"
- 1:Core/Src/usart.c **** /**
- 2:Core/Src/usart.c **** ******************************************************************************
- 3:Core/Src/usart.c **** * @file usart.c
- 4:Core/Src/usart.c **** * @brief This file provides code for the configuration
- 5:Core/Src/usart.c **** * of the USART instances.
- 6:Core/Src/usart.c **** ******************************************************************************
- 7:Core/Src/usart.c **** * @attention
- 8:Core/Src/usart.c **** *
- 9:Core/Src/usart.c **** * © Copyright (c) 2021 STMicroelectronics.
- 10:Core/Src/usart.c **** * All rights reserved.
- 11:Core/Src/usart.c **** *
- 12:Core/Src/usart.c **** * This software component is licensed by ST under BSD 3-Clause license,
- 13:Core/Src/usart.c **** * the "License"; You may not use this file except in compliance with the
- 14:Core/Src/usart.c **** * License. You may obtain a copy of the License at:
- 15:Core/Src/usart.c **** * opensource.org/licenses/BSD-3-Clause
- 16:Core/Src/usart.c **** *
- 17:Core/Src/usart.c **** ******************************************************************************
- 18:Core/Src/usart.c **** */
- 19:Core/Src/usart.c ****
- 20:Core/Src/usart.c **** /* Includes ------------------------------------------------------------------*/
- 21:Core/Src/usart.c **** #include "usart.h"
- 22:Core/Src/usart.c ****
- 23:Core/Src/usart.c **** /* USER CODE BEGIN 0 */
- 24:Core/Src/usart.c ****
- 25:Core/Src/usart.c **** /* USER CODE END 0 */
- 26:Core/Src/usart.c ****
- 27:Core/Src/usart.c **** UART_HandleTypeDef huart4;
- 28:Core/Src/usart.c **** UART_HandleTypeDef huart1;
- 29:Core/Src/usart.c ****
- 30:Core/Src/usart.c **** /* UART4 init function */
- 31:Core/Src/usart.c **** void MX_UART4_Init(void)
- 32:Core/Src/usart.c **** {
- 26 .loc 1 32 0
-ARM GAS /tmp/ccjzPv63.s page 2
-
-
- 27 .cfi_startproc
- 28 @ args = 0, pretend = 0, frame = 0
- 29 @ frame_needed = 0, uses_anonymous_args = 0
- 30 0000 08B5 push {r3, lr}
- 31 .LCFI0:
- 32 .cfi_def_cfa_offset 8
- 33 .cfi_offset 3, -8
- 34 .cfi_offset 14, -4
- 33:Core/Src/usart.c ****
- 34:Core/Src/usart.c **** /* USER CODE BEGIN UART4_Init 0 */
- 35:Core/Src/usart.c ****
- 36:Core/Src/usart.c **** /* USER CODE END UART4_Init 0 */
- 37:Core/Src/usart.c ****
- 38:Core/Src/usart.c **** /* USER CODE BEGIN UART4_Init 1 */
- 39:Core/Src/usart.c ****
- 40:Core/Src/usart.c **** /* USER CODE END UART4_Init 1 */
- 41:Core/Src/usart.c **** huart4.Instance = UART4;
- 35 .loc 1 41 0
- 36 0002 0A48 ldr r0, .L5
- 37 0004 0A4B ldr r3, .L5+4
- 38 0006 0360 str r3, [r0]
- 42:Core/Src/usart.c **** huart4.Init.BaudRate = 115200;
- 39 .loc 1 42 0
- 40 0008 4FF4E133 mov r3, #115200
- 41 000c 4360 str r3, [r0, #4]
- 43:Core/Src/usart.c **** huart4.Init.WordLength = UART_WORDLENGTH_8B;
- 42 .loc 1 43 0
- 43 000e 0023 movs r3, #0
- 44 0010 8360 str r3, [r0, #8]
- 44:Core/Src/usart.c **** huart4.Init.StopBits = UART_STOPBITS_1;
- 45 .loc 1 44 0
- 46 0012 C360 str r3, [r0, #12]
- 45:Core/Src/usart.c **** huart4.Init.Parity = UART_PARITY_NONE;
- 47 .loc 1 45 0
- 48 0014 0361 str r3, [r0, #16]
- 46:Core/Src/usart.c **** huart4.Init.Mode = UART_MODE_TX_RX;
- 49 .loc 1 46 0
- 50 0016 0C22 movs r2, #12
- 51 0018 4261 str r2, [r0, #20]
- 47:Core/Src/usart.c **** huart4.Init.HwFlowCtl = UART_HWCONTROL_NONE;
- 52 .loc 1 47 0
- 53 001a 8361 str r3, [r0, #24]
- 48:Core/Src/usart.c **** huart4.Init.OverSampling = UART_OVERSAMPLING_16;
- 54 .loc 1 48 0
- 55 001c C361 str r3, [r0, #28]
- 49:Core/Src/usart.c **** if (HAL_UART_Init(&huart4) != HAL_OK)
- 56 .loc 1 49 0
- 57 001e FFF7FEFF bl HAL_UART_Init
- 58 .LVL0:
- 59 0022 00B9 cbnz r0, .L4
- 60 .L1:
- 61 0024 08BD pop {r3, pc}
- 62 .L4:
- 50:Core/Src/usart.c **** {
- 51:Core/Src/usart.c **** Error_Handler();
- 63 .loc 1 51 0
- 64 0026 FFF7FEFF bl Error_Handler
-ARM GAS /tmp/ccjzPv63.s page 3
-
-
- 65 .LVL1:
- 52:Core/Src/usart.c **** }
- 53:Core/Src/usart.c **** /* USER CODE BEGIN UART4_Init 2 */
- 54:Core/Src/usart.c ****
- 55:Core/Src/usart.c **** /* USER CODE END UART4_Init 2 */
- 56:Core/Src/usart.c ****
- 57:Core/Src/usart.c **** }
- 66 .loc 1 57 0
- 67 002a FBE7 b .L1
- 68 .L6:
- 69 .align 2
- 70 .L5:
- 71 002c 00000000 .word huart4
- 72 0030 004C0040 .word 1073761280
- 73 .cfi_endproc
- 74 .LFE65:
- 76 .section .text.MX_USART1_UART_Init,"ax",%progbits
- 77 .align 1
- 78 .global MX_USART1_UART_Init
- 79 .syntax unified
- 80 .thumb
- 81 .thumb_func
- 82 .fpu softvfp
- 84 MX_USART1_UART_Init:
- 85 .LFB66:
- 58:Core/Src/usart.c **** /* USART1 init function */
- 59:Core/Src/usart.c ****
- 60:Core/Src/usart.c **** void MX_USART1_UART_Init(void)
- 61:Core/Src/usart.c **** {
- 86 .loc 1 61 0
- 87 .cfi_startproc
- 88 @ args = 0, pretend = 0, frame = 0
- 89 @ frame_needed = 0, uses_anonymous_args = 0
- 90 0000 08B5 push {r3, lr}
- 91 .LCFI1:
- 92 .cfi_def_cfa_offset 8
- 93 .cfi_offset 3, -8
- 94 .cfi_offset 14, -4
- 62:Core/Src/usart.c ****
- 63:Core/Src/usart.c **** /* USER CODE BEGIN USART1_Init 0 */
- 64:Core/Src/usart.c ****
- 65:Core/Src/usart.c **** /* USER CODE END USART1_Init 0 */
- 66:Core/Src/usart.c ****
- 67:Core/Src/usart.c **** /* USER CODE BEGIN USART1_Init 1 */
- 68:Core/Src/usart.c ****
- 69:Core/Src/usart.c **** /* USER CODE END USART1_Init 1 */
- 70:Core/Src/usart.c **** huart1.Instance = USART1;
- 95 .loc 1 70 0
- 96 0002 0A48 ldr r0, .L11
- 97 0004 0A4B ldr r3, .L11+4
- 98 0006 0360 str r3, [r0]
- 71:Core/Src/usart.c **** huart1.Init.BaudRate = 115200;
- 99 .loc 1 71 0
- 100 0008 4FF4E133 mov r3, #115200
- 101 000c 4360 str r3, [r0, #4]
- 72:Core/Src/usart.c **** huart1.Init.WordLength = UART_WORDLENGTH_8B;
- 102 .loc 1 72 0
-ARM GAS /tmp/ccjzPv63.s page 4
-
-
- 103 000e 0023 movs r3, #0
- 104 0010 8360 str r3, [r0, #8]
- 73:Core/Src/usart.c **** huart1.Init.StopBits = UART_STOPBITS_1;
- 105 .loc 1 73 0
- 106 0012 C360 str r3, [r0, #12]
- 74:Core/Src/usart.c **** huart1.Init.Parity = UART_PARITY_NONE;
- 107 .loc 1 74 0
- 108 0014 0361 str r3, [r0, #16]
- 75:Core/Src/usart.c **** huart1.Init.Mode = UART_MODE_TX_RX;
- 109 .loc 1 75 0
- 110 0016 0C22 movs r2, #12
- 111 0018 4261 str r2, [r0, #20]
- 76:Core/Src/usart.c **** huart1.Init.HwFlowCtl = UART_HWCONTROL_NONE;
- 112 .loc 1 76 0
- 113 001a 8361 str r3, [r0, #24]
- 77:Core/Src/usart.c **** huart1.Init.OverSampling = UART_OVERSAMPLING_16;
- 114 .loc 1 77 0
- 115 001c C361 str r3, [r0, #28]
- 78:Core/Src/usart.c **** if (HAL_UART_Init(&huart1) != HAL_OK)
- 116 .loc 1 78 0
- 117 001e FFF7FEFF bl HAL_UART_Init
- 118 .LVL2:
- 119 0022 00B9 cbnz r0, .L10
- 120 .L7:
- 121 0024 08BD pop {r3, pc}
- 122 .L10:
- 79:Core/Src/usart.c **** {
- 80:Core/Src/usart.c **** Error_Handler();
- 123 .loc 1 80 0
- 124 0026 FFF7FEFF bl Error_Handler
- 125 .LVL3:
- 81:Core/Src/usart.c **** }
- 82:Core/Src/usart.c **** /* USER CODE BEGIN USART1_Init 2 */
- 83:Core/Src/usart.c ****
- 84:Core/Src/usart.c **** /* USER CODE END USART1_Init 2 */
- 85:Core/Src/usart.c ****
- 86:Core/Src/usart.c **** }
- 126 .loc 1 86 0
- 127 002a FBE7 b .L7
- 128 .L12:
- 129 .align 2
- 130 .L11:
- 131 002c 00000000 .word huart1
- 132 0030 00380140 .word 1073821696
- 133 .cfi_endproc
- 134 .LFE66:
- 136 .section .text.HAL_UART_MspInit,"ax",%progbits
- 137 .align 1
- 138 .global HAL_UART_MspInit
- 139 .syntax unified
- 140 .thumb
- 141 .thumb_func
- 142 .fpu softvfp
- 144 HAL_UART_MspInit:
- 145 .LFB67:
- 87:Core/Src/usart.c ****
- 88:Core/Src/usart.c **** void HAL_UART_MspInit(UART_HandleTypeDef* uartHandle)
-ARM GAS /tmp/ccjzPv63.s page 5
-
-
- 89:Core/Src/usart.c **** {
- 146 .loc 1 89 0
- 147 .cfi_startproc
- 148 @ args = 0, pretend = 0, frame = 32
- 149 @ frame_needed = 0, uses_anonymous_args = 0
- 150 .LVL4:
- 151 0000 10B5 push {r4, lr}
- 152 .LCFI2:
- 153 .cfi_def_cfa_offset 8
- 154 .cfi_offset 4, -8
- 155 .cfi_offset 14, -4
- 156 0002 88B0 sub sp, sp, #32
- 157 .LCFI3:
- 158 .cfi_def_cfa_offset 40
- 90:Core/Src/usart.c ****
- 91:Core/Src/usart.c **** GPIO_InitTypeDef GPIO_InitStruct = {0};
- 159 .loc 1 91 0
- 160 0004 0023 movs r3, #0
- 161 0006 0493 str r3, [sp, #16]
- 162 0008 0593 str r3, [sp, #20]
- 163 000a 0693 str r3, [sp, #24]
- 164 000c 0793 str r3, [sp, #28]
- 92:Core/Src/usart.c **** if(uartHandle->Instance==UART4)
- 165 .loc 1 92 0
- 166 000e 0368 ldr r3, [r0]
- 167 0010 2D4A ldr r2, .L19
- 168 0012 9342 cmp r3, r2
- 169 0014 04D0 beq .L17
- 93:Core/Src/usart.c **** {
- 94:Core/Src/usart.c **** /* USER CODE BEGIN UART4_MspInit 0 */
- 95:Core/Src/usart.c ****
- 96:Core/Src/usart.c **** /* USER CODE END UART4_MspInit 0 */
- 97:Core/Src/usart.c **** /* UART4 clock enable */
- 98:Core/Src/usart.c **** __HAL_RCC_UART4_CLK_ENABLE();
- 99:Core/Src/usart.c ****
- 100:Core/Src/usart.c **** __HAL_RCC_GPIOC_CLK_ENABLE();
- 101:Core/Src/usart.c **** /**UART4 GPIO Configuration
- 102:Core/Src/usart.c **** PC10 ------> UART4_TX
- 103:Core/Src/usart.c **** PC11 ------> UART4_RX
- 104:Core/Src/usart.c **** */
- 105:Core/Src/usart.c **** GPIO_InitStruct.Pin = GPIO_PIN_10;
- 106:Core/Src/usart.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- 107:Core/Src/usart.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- 108:Core/Src/usart.c **** HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
- 109:Core/Src/usart.c ****
- 110:Core/Src/usart.c **** GPIO_InitStruct.Pin = GPIO_PIN_11;
- 111:Core/Src/usart.c **** GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
- 112:Core/Src/usart.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
- 113:Core/Src/usart.c **** HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
- 114:Core/Src/usart.c ****
- 115:Core/Src/usart.c **** /* USER CODE BEGIN UART4_MspInit 1 */
- 116:Core/Src/usart.c ****
- 117:Core/Src/usart.c **** /* USER CODE END UART4_MspInit 1 */
- 118:Core/Src/usart.c **** }
- 119:Core/Src/usart.c **** else if(uartHandle->Instance==USART1)
- 170 .loc 1 119 0
- 171 0016 2D4A ldr r2, .L19+4
-ARM GAS /tmp/ccjzPv63.s page 6
-
-
- 172 0018 9342 cmp r3, r2
- 173 001a 2BD0 beq .L18
- 174 .LVL5:
- 175 .L13:
- 120:Core/Src/usart.c **** {
- 121:Core/Src/usart.c **** /* USER CODE BEGIN USART1_MspInit 0 */
- 122:Core/Src/usart.c ****
- 123:Core/Src/usart.c **** /* USER CODE END USART1_MspInit 0 */
- 124:Core/Src/usart.c **** /* USART1 clock enable */
- 125:Core/Src/usart.c **** __HAL_RCC_USART1_CLK_ENABLE();
- 126:Core/Src/usart.c ****
- 127:Core/Src/usart.c **** __HAL_RCC_GPIOA_CLK_ENABLE();
- 128:Core/Src/usart.c **** /**USART1 GPIO Configuration
- 129:Core/Src/usart.c **** PA9 ------> USART1_TX
- 130:Core/Src/usart.c **** PA10 ------> USART1_RX
- 131:Core/Src/usart.c **** */
- 132:Core/Src/usart.c **** GPIO_InitStruct.Pin = GPIO_PIN_9;
- 133:Core/Src/usart.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- 134:Core/Src/usart.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- 135:Core/Src/usart.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 136:Core/Src/usart.c ****
- 137:Core/Src/usart.c **** GPIO_InitStruct.Pin = GPIO_PIN_10;
- 138:Core/Src/usart.c **** GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
- 139:Core/Src/usart.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
- 140:Core/Src/usart.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 141:Core/Src/usart.c ****
- 142:Core/Src/usart.c **** /* USER CODE BEGIN USART1_MspInit 1 */
- 143:Core/Src/usart.c ****
- 144:Core/Src/usart.c **** /* USER CODE END USART1_MspInit 1 */
- 145:Core/Src/usart.c **** }
- 146:Core/Src/usart.c **** }
- 176 .loc 1 146 0
- 177 001c 08B0 add sp, sp, #32
- 178 .LCFI4:
- 179 .cfi_remember_state
- 180 .cfi_def_cfa_offset 8
- 181 @ sp needed
- 182 001e 10BD pop {r4, pc}
- 183 .LVL6:
- 184 .L17:
- 185 .LCFI5:
- 186 .cfi_restore_state
- 187 .LBB2:
- 98:Core/Src/usart.c ****
- 188 .loc 1 98 0
- 189 0020 2B4B ldr r3, .L19+8
- 190 0022 DA69 ldr r2, [r3, #28]
- 191 0024 42F40022 orr r2, r2, #524288
- 192 0028 DA61 str r2, [r3, #28]
- 193 002a DA69 ldr r2, [r3, #28]
- 194 002c 02F40022 and r2, r2, #524288
- 195 0030 0092 str r2, [sp]
- 196 0032 009A ldr r2, [sp]
- 197 .LBE2:
- 198 .LBB3:
- 100:Core/Src/usart.c **** /**UART4 GPIO Configuration
- 199 .loc 1 100 0
-ARM GAS /tmp/ccjzPv63.s page 7
-
-
- 200 0034 9A69 ldr r2, [r3, #24]
- 201 0036 42F01002 orr r2, r2, #16
- 202 003a 9A61 str r2, [r3, #24]
- 203 003c 9B69 ldr r3, [r3, #24]
- 204 003e 03F01003 and r3, r3, #16
- 205 0042 0193 str r3, [sp, #4]
- 206 0044 019B ldr r3, [sp, #4]
- 207 .LBE3:
- 105:Core/Src/usart.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- 208 .loc 1 105 0
- 209 0046 4FF48063 mov r3, #1024
- 210 004a 0493 str r3, [sp, #16]
- 106:Core/Src/usart.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- 211 .loc 1 106 0
- 212 004c 0223 movs r3, #2
- 213 004e 0593 str r3, [sp, #20]
- 107:Core/Src/usart.c **** HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
- 214 .loc 1 107 0
- 215 0050 0323 movs r3, #3
- 216 0052 0793 str r3, [sp, #28]
- 108:Core/Src/usart.c ****
- 217 .loc 1 108 0
- 218 0054 1F4C ldr r4, .L19+12
- 219 0056 04A9 add r1, sp, #16
- 220 0058 2046 mov r0, r4
- 221 .LVL7:
- 222 005a FFF7FEFF bl HAL_GPIO_Init
- 223 .LVL8:
- 110:Core/Src/usart.c **** GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
- 224 .loc 1 110 0
- 225 005e 4FF40063 mov r3, #2048
- 226 0062 0493 str r3, [sp, #16]
- 111:Core/Src/usart.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
- 227 .loc 1 111 0
- 228 0064 0023 movs r3, #0
- 229 0066 0593 str r3, [sp, #20]
- 112:Core/Src/usart.c **** HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
- 230 .loc 1 112 0
- 231 0068 0693 str r3, [sp, #24]
- 113:Core/Src/usart.c ****
- 232 .loc 1 113 0
- 233 006a 04A9 add r1, sp, #16
- 234 006c 2046 mov r0, r4
- 235 006e FFF7FEFF bl HAL_GPIO_Init
- 236 .LVL9:
- 237 0072 D3E7 b .L13
- 238 .LVL10:
- 239 .L18:
- 240 .LBB4:
- 125:Core/Src/usart.c ****
- 241 .loc 1 125 0
- 242 0074 164B ldr r3, .L19+8
- 243 0076 9A69 ldr r2, [r3, #24]
- 244 0078 42F48042 orr r2, r2, #16384
- 245 007c 9A61 str r2, [r3, #24]
- 246 007e 9A69 ldr r2, [r3, #24]
- 247 0080 02F48042 and r2, r2, #16384
-ARM GAS /tmp/ccjzPv63.s page 8
-
-
- 248 0084 0292 str r2, [sp, #8]
- 249 0086 029A ldr r2, [sp, #8]
- 250 .LBE4:
- 251 .LBB5:
- 127:Core/Src/usart.c **** /**USART1 GPIO Configuration
- 252 .loc 1 127 0
- 253 0088 9A69 ldr r2, [r3, #24]
- 254 008a 42F00402 orr r2, r2, #4
- 255 008e 9A61 str r2, [r3, #24]
- 256 0090 9B69 ldr r3, [r3, #24]
- 257 0092 03F00403 and r3, r3, #4
- 258 0096 0393 str r3, [sp, #12]
- 259 0098 039B ldr r3, [sp, #12]
- 260 .LBE5:
- 132:Core/Src/usart.c **** GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- 261 .loc 1 132 0
- 262 009a 4FF40073 mov r3, #512
- 263 009e 0493 str r3, [sp, #16]
- 133:Core/Src/usart.c **** GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
- 264 .loc 1 133 0
- 265 00a0 0223 movs r3, #2
- 266 00a2 0593 str r3, [sp, #20]
- 134:Core/Src/usart.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 267 .loc 1 134 0
- 268 00a4 0323 movs r3, #3
- 269 00a6 0793 str r3, [sp, #28]
- 135:Core/Src/usart.c ****
- 270 .loc 1 135 0
- 271 00a8 0B4C ldr r4, .L19+16
- 272 00aa 04A9 add r1, sp, #16
- 273 00ac 2046 mov r0, r4
- 274 .LVL11:
- 275 00ae FFF7FEFF bl HAL_GPIO_Init
- 276 .LVL12:
- 137:Core/Src/usart.c **** GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
- 277 .loc 1 137 0
- 278 00b2 4FF48063 mov r3, #1024
- 279 00b6 0493 str r3, [sp, #16]
- 138:Core/Src/usart.c **** GPIO_InitStruct.Pull = GPIO_NOPULL;
- 280 .loc 1 138 0
- 281 00b8 0023 movs r3, #0
- 282 00ba 0593 str r3, [sp, #20]
- 139:Core/Src/usart.c **** HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- 283 .loc 1 139 0
- 284 00bc 0693 str r3, [sp, #24]
- 140:Core/Src/usart.c ****
- 285 .loc 1 140 0
- 286 00be 04A9 add r1, sp, #16
- 287 00c0 2046 mov r0, r4
- 288 00c2 FFF7FEFF bl HAL_GPIO_Init
- 289 .LVL13:
- 290 .loc 1 146 0
- 291 00c6 A9E7 b .L13
- 292 .L20:
- 293 .align 2
- 294 .L19:
- 295 00c8 004C0040 .word 1073761280
-ARM GAS /tmp/ccjzPv63.s page 9
-
-
- 296 00cc 00380140 .word 1073821696
- 297 00d0 00100240 .word 1073876992
- 298 00d4 00100140 .word 1073811456
- 299 00d8 00080140 .word 1073809408
- 300 .cfi_endproc
- 301 .LFE67:
- 303 .section .text.HAL_UART_MspDeInit,"ax",%progbits
- 304 .align 1
- 305 .global HAL_UART_MspDeInit
- 306 .syntax unified
- 307 .thumb
- 308 .thumb_func
- 309 .fpu softvfp
- 311 HAL_UART_MspDeInit:
- 312 .LFB68:
- 147:Core/Src/usart.c ****
- 148:Core/Src/usart.c **** void HAL_UART_MspDeInit(UART_HandleTypeDef* uartHandle)
- 149:Core/Src/usart.c **** {
- 313 .loc 1 149 0
- 314 .cfi_startproc
- 315 @ args = 0, pretend = 0, frame = 0
- 316 @ frame_needed = 0, uses_anonymous_args = 0
- 317 .LVL14:
- 318 0000 08B5 push {r3, lr}
- 319 .LCFI6:
- 320 .cfi_def_cfa_offset 8
- 321 .cfi_offset 3, -8
- 322 .cfi_offset 14, -4
- 150:Core/Src/usart.c ****
- 151:Core/Src/usart.c **** if(uartHandle->Instance==UART4)
- 323 .loc 1 151 0
- 324 0002 0368 ldr r3, [r0]
- 325 0004 0F4A ldr r2, .L27
- 326 0006 9342 cmp r3, r2
- 327 0008 03D0 beq .L25
- 152:Core/Src/usart.c **** {
- 153:Core/Src/usart.c **** /* USER CODE BEGIN UART4_MspDeInit 0 */
- 154:Core/Src/usart.c ****
- 155:Core/Src/usart.c **** /* USER CODE END UART4_MspDeInit 0 */
- 156:Core/Src/usart.c **** /* Peripheral clock disable */
- 157:Core/Src/usart.c **** __HAL_RCC_UART4_CLK_DISABLE();
- 158:Core/Src/usart.c ****
- 159:Core/Src/usart.c **** /**UART4 GPIO Configuration
- 160:Core/Src/usart.c **** PC10 ------> UART4_TX
- 161:Core/Src/usart.c **** PC11 ------> UART4_RX
- 162:Core/Src/usart.c **** */
- 163:Core/Src/usart.c **** HAL_GPIO_DeInit(GPIOC, GPIO_PIN_10|GPIO_PIN_11);
- 164:Core/Src/usart.c ****
- 165:Core/Src/usart.c **** /* USER CODE BEGIN UART4_MspDeInit 1 */
- 166:Core/Src/usart.c ****
- 167:Core/Src/usart.c **** /* USER CODE END UART4_MspDeInit 1 */
- 168:Core/Src/usart.c **** }
- 169:Core/Src/usart.c **** else if(uartHandle->Instance==USART1)
- 328 .loc 1 169 0
- 329 000a 0F4A ldr r2, .L27+4
- 330 000c 9342 cmp r3, r2
- 331 000e 0CD0 beq .L26
-ARM GAS /tmp/ccjzPv63.s page 10
-
-
- 332 .LVL15:
- 333 .L21:
- 334 0010 08BD pop {r3, pc}
- 335 .LVL16:
- 336 .L25:
- 157:Core/Src/usart.c ****
- 337 .loc 1 157 0
- 338 0012 02F5E232 add r2, r2, #115712
- 339 0016 D369 ldr r3, [r2, #28]
- 340 0018 23F40023 bic r3, r3, #524288
- 341 001c D361 str r3, [r2, #28]
- 163:Core/Src/usart.c ****
- 342 .loc 1 163 0
- 343 001e 4FF44061 mov r1, #3072
- 344 0022 0A48 ldr r0, .L27+8
- 345 .LVL17:
- 346 0024 FFF7FEFF bl HAL_GPIO_DeInit
- 347 .LVL18:
- 348 0028 08BD pop {r3, pc}
- 349 .LVL19:
- 350 .L26:
- 170:Core/Src/usart.c **** {
- 171:Core/Src/usart.c **** /* USER CODE BEGIN USART1_MspDeInit 0 */
- 172:Core/Src/usart.c ****
- 173:Core/Src/usart.c **** /* USER CODE END USART1_MspDeInit 0 */
- 174:Core/Src/usart.c **** /* Peripheral clock disable */
- 175:Core/Src/usart.c **** __HAL_RCC_USART1_CLK_DISABLE();
- 351 .loc 1 175 0
- 352 002a 02F55842 add r2, r2, #55296
- 353 002e 9369 ldr r3, [r2, #24]
- 354 0030 23F48043 bic r3, r3, #16384
- 355 0034 9361 str r3, [r2, #24]
- 176:Core/Src/usart.c ****
- 177:Core/Src/usart.c **** /**USART1 GPIO Configuration
- 178:Core/Src/usart.c **** PA9 ------> USART1_TX
- 179:Core/Src/usart.c **** PA10 ------> USART1_RX
- 180:Core/Src/usart.c **** */
- 181:Core/Src/usart.c **** HAL_GPIO_DeInit(GPIOA, GPIO_PIN_9|GPIO_PIN_10);
- 356 .loc 1 181 0
- 357 0036 4FF4C061 mov r1, #1536
- 358 003a 0548 ldr r0, .L27+12
- 359 .LVL20:
- 360 003c FFF7FEFF bl HAL_GPIO_DeInit
- 361 .LVL21:
- 182:Core/Src/usart.c ****
- 183:Core/Src/usart.c **** /* USER CODE BEGIN USART1_MspDeInit 1 */
- 184:Core/Src/usart.c ****
- 185:Core/Src/usart.c **** /* USER CODE END USART1_MspDeInit 1 */
- 186:Core/Src/usart.c **** }
- 187:Core/Src/usart.c **** }
- 362 .loc 1 187 0
- 363 0040 E6E7 b .L21
- 364 .L28:
- 365 0042 00BF .align 2
- 366 .L27:
- 367 0044 004C0040 .word 1073761280
- 368 0048 00380140 .word 1073821696
-ARM GAS /tmp/ccjzPv63.s page 11
-
-
- 369 004c 00100140 .word 1073811456
- 370 0050 00080140 .word 1073809408
- 371 .cfi_endproc
- 372 .LFE68:
- 374 .comm huart1,64,4
- 375 .comm huart4,64,4
- 376 .text
- 377 .Letext0:
- 378 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 379 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 380 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 381 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 382 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 383 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 384 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h"
- 385 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
- 386 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h"
- 387 .file 11 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
- 388 .file 12 "Core/Inc/usart.h"
- 389 .file 13 "Core/Inc/main.h"
-ARM GAS /tmp/ccjzPv63.s page 12
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 usart.c
- /tmp/ccjzPv63.s:16 .text.MX_UART4_Init:0000000000000000 $t
- /tmp/ccjzPv63.s:23 .text.MX_UART4_Init:0000000000000000 MX_UART4_Init
- /tmp/ccjzPv63.s:71 .text.MX_UART4_Init:000000000000002c $d
- *COM*:0000000000000040 huart4
- /tmp/ccjzPv63.s:77 .text.MX_USART1_UART_Init:0000000000000000 $t
- /tmp/ccjzPv63.s:84 .text.MX_USART1_UART_Init:0000000000000000 MX_USART1_UART_Init
- /tmp/ccjzPv63.s:131 .text.MX_USART1_UART_Init:000000000000002c $d
- *COM*:0000000000000040 huart1
- /tmp/ccjzPv63.s:137 .text.HAL_UART_MspInit:0000000000000000 $t
- /tmp/ccjzPv63.s:144 .text.HAL_UART_MspInit:0000000000000000 HAL_UART_MspInit
- /tmp/ccjzPv63.s:295 .text.HAL_UART_MspInit:00000000000000c8 $d
- /tmp/ccjzPv63.s:304 .text.HAL_UART_MspDeInit:0000000000000000 $t
- /tmp/ccjzPv63.s:311 .text.HAL_UART_MspDeInit:0000000000000000 HAL_UART_MspDeInit
- /tmp/ccjzPv63.s:367 .text.HAL_UART_MspDeInit:0000000000000044 $d
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-HAL_UART_Init
-Error_Handler
-HAL_GPIO_Init
-HAL_GPIO_DeInit
diff --git a/build/usart.o b/build/usart.o
deleted file mode 100644
index 8e2dd3f..0000000
Binary files a/build/usart.o and /dev/null differ
diff --git a/build/user_isr.d b/build/user_isr.d
deleted file mode 100644
index 6e5481f..0000000
--- a/build/user_isr.d
+++ /dev/null
@@ -1,104 +0,0 @@
-build/user_isr.o: Core/Src/User/user_isr.c Core/Inc/User/user_isr.h \
- Core/Inc/User/user_main.h Core/Inc/main.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h Core/Inc/tim.h \
- Core/Inc/main.h
-
-Core/Inc/User/user_isr.h:
-
-Core/Inc/User/user_main.h:
-
-Core/Inc/main.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
-
-Core/Inc/tim.h:
-
-Core/Inc/main.h:
diff --git a/build/user_isr.lst b/build/user_isr.lst
deleted file mode 100644
index 5ab8987..0000000
--- a/build/user_isr.lst
+++ /dev/null
@@ -1,115 +0,0 @@
-ARM GAS /tmp/ccg3w4df.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "user_isr.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.timer4_isr,"ax",%progbits
- 16 .align 1
- 17 .global timer4_isr
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 timer4_isr:
- 24 .LFB65:
- 25 .file 1 "Core/Src/User/user_isr.c"
- 1:Core/Src/User/user_isr.c **** #include "user_isr.h"
- 2:Core/Src/User/user_isr.c **** #include "user_main.h"
- 3:Core/Src/User/user_isr.c ****
- 4:Core/Src/User/user_isr.c **** void timer4_isr ()
- 5:Core/Src/User/user_isr.c **** {
- 26 .loc 1 5 0
- 27 .cfi_startproc
- 28 @ args = 0, pretend = 0, frame = 0
- 29 @ frame_needed = 0, uses_anonymous_args = 0
- 30 0000 08B5 push {r3, lr}
- 31 .LCFI0:
- 32 .cfi_def_cfa_offset 8
- 33 .cfi_offset 3, -8
- 34 .cfi_offset 14, -4
- 6:Core/Src/User/user_isr.c **** static uint16_t cnt = 0;
- 7:Core/Src/User/user_isr.c **** if (cnt > 999)
- 35 .loc 1 7 0
- 36 0002 084B ldr r3, .L6
- 37 0004 1B88 ldrh r3, [r3]
- 38 0006 B3F57A7F cmp r3, #1000
- 39 000a 03D2 bcs .L5
- 8:Core/Src/User/user_isr.c **** {
- 9:Core/Src/User/user_isr.c **** HAL_GPIO_TogglePin(LED_GPIO_Port, LED_Pin);
- 10:Core/Src/User/user_isr.c **** cnt = 0;
- 11:Core/Src/User/user_isr.c **** }
- 12:Core/Src/User/user_isr.c **** else
- 13:Core/Src/User/user_isr.c **** {
- 14:Core/Src/User/user_isr.c **** cnt++;
- 40 .loc 1 14 0
- 41 000c 0133 adds r3, r3, #1
- 42 000e 054A ldr r2, .L6
- 43 0010 1380 strh r3, [r2] @ movhi
- 44 0012 08BD pop {r3, pc}
-ARM GAS /tmp/ccg3w4df.s page 2
-
-
- 45 .L5:
- 9:Core/Src/User/user_isr.c **** cnt = 0;
- 46 .loc 1 9 0
- 47 0014 0121 movs r1, #1
- 48 0016 0448 ldr r0, .L6+4
- 49 0018 FFF7FEFF bl HAL_GPIO_TogglePin
- 50 .LVL0:
- 10:Core/Src/User/user_isr.c **** }
- 51 .loc 1 10 0
- 52 001c 0022 movs r2, #0
- 53 001e 014B ldr r3, .L6
- 54 0020 1A80 strh r2, [r3] @ movhi
- 55 0022 08BD pop {r3, pc}
- 56 .L7:
- 57 .align 2
- 58 .L6:
- 59 0024 00000000 .word .LANCHOR0
- 60 0028 00100140 .word 1073811456
- 61 .cfi_endproc
- 62 .LFE65:
- 64 .section .bss.cnt.6802,"aw",%nobits
- 65 .align 1
- 66 .set .LANCHOR0,. + 0
- 69 cnt.6802:
- 70 0000 0000 .space 2
- 71 .text
- 72 .Letext0:
- 73 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 74 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 75 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 76 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 77 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 78 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 79 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
- 80 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h"
- 81 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
- 82 .file 11 "Core/Inc/tim.h"
- 83 .file 12 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h"
-ARM GAS /tmp/ccg3w4df.s page 3
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 user_isr.c
- /tmp/ccg3w4df.s:16 .text.timer4_isr:0000000000000000 $t
- /tmp/ccg3w4df.s:23 .text.timer4_isr:0000000000000000 timer4_isr
- /tmp/ccg3w4df.s:59 .text.timer4_isr:0000000000000024 $d
- /tmp/ccg3w4df.s:65 .bss.cnt.6802:0000000000000000 $d
- /tmp/ccg3w4df.s:69 .bss.cnt.6802:0000000000000000 cnt.6802
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-HAL_GPIO_TogglePin
diff --git a/build/user_isr.o b/build/user_isr.o
deleted file mode 100644
index 261a792..0000000
Binary files a/build/user_isr.o and /dev/null differ
diff --git a/build/user_main.d b/build/user_main.d
deleted file mode 100644
index 47f7e9f..0000000
--- a/build/user_main.d
+++ /dev/null
@@ -1,101 +0,0 @@
-build/user_main.o: Core/Src/User/user_main.c Core/Inc/User/user_main.h \
- Core/Inc/main.h Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
- Core/Inc/stm32f1xx_hal_conf.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h \
- Drivers/CMSIS/Include/core_cm3.h Drivers/CMSIS/Include/cmsis_version.h \
- Drivers/CMSIS/Include/cmsis_compiler.h Drivers/CMSIS/Include/cmsis_gcc.h \
- Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
- Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h Core/Inc/tim.h \
- Core/Inc/main.h
-
-Core/Inc/User/user_main.h:
-
-Core/Inc/main.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h:
-
-Core/Inc/stm32f1xx_hal_conf.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h:
-
-Drivers/CMSIS/Include/core_cm3.h:
-
-Drivers/CMSIS/Include/cmsis_version.h:
-
-Drivers/CMSIS/Include/cmsis_compiler.h:
-
-Drivers/CMSIS/Include/cmsis_gcc.h:
-
-Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_adc_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dac_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
-
-Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_uart.h:
-
-Core/Inc/tim.h:
-
-Core/Inc/main.h:
diff --git a/build/user_main.lst b/build/user_main.lst
deleted file mode 100644
index e546f71..0000000
--- a/build/user_main.lst
+++ /dev/null
@@ -1,103 +0,0 @@
-ARM GAS /tmp/ccocne0v.s page 1
-
-
- 1 .cpu cortex-m3
- 2 .eabi_attribute 20, 1
- 3 .eabi_attribute 21, 1
- 4 .eabi_attribute 23, 3
- 5 .eabi_attribute 24, 1
- 6 .eabi_attribute 25, 1
- 7 .eabi_attribute 26, 1
- 8 .eabi_attribute 30, 1
- 9 .eabi_attribute 34, 1
- 10 .eabi_attribute 18, 4
- 11 .file "user_main.c"
- 12 .text
- 13 .Ltext0:
- 14 .cfi_sections .debug_frame
- 15 .section .text.user_setup,"ax",%progbits
- 16 .align 1
- 17 .global user_setup
- 18 .syntax unified
- 19 .thumb
- 20 .thumb_func
- 21 .fpu softvfp
- 23 user_setup:
- 24 .LFB65:
- 25 .file 1 "Core/Src/User/user_main.c"
- 1:Core/Src/User/user_main.c **** #include "user_main.h"
- 2:Core/Src/User/user_main.c ****
- 3:Core/Src/User/user_main.c **** void user_setup ()
- 4:Core/Src/User/user_main.c **** {
- 26 .loc 1 4 0
- 27 .cfi_startproc
- 28 @ args = 0, pretend = 0, frame = 0
- 29 @ frame_needed = 0, uses_anonymous_args = 0
- 30 0000 08B5 push {r3, lr}
- 31 .LCFI0:
- 32 .cfi_def_cfa_offset 8
- 33 .cfi_offset 3, -8
- 34 .cfi_offset 14, -4
- 5:Core/Src/User/user_main.c **** HAL_TIM_Base_Start_IT(&htim4);
- 35 .loc 1 5 0
- 36 0002 0248 ldr r0, .L3
- 37 0004 FFF7FEFF bl HAL_TIM_Base_Start_IT
- 38 .LVL0:
- 39 0008 08BD pop {r3, pc}
- 40 .L4:
- 41 000a 00BF .align 2
- 42 .L3:
- 43 000c 00000000 .word htim4
- 44 .cfi_endproc
- 45 .LFE65:
- 47 .section .text.user_loop,"ax",%progbits
- 48 .align 1
- 49 .global user_loop
- 50 .syntax unified
- 51 .thumb
- 52 .thumb_func
- 53 .fpu softvfp
- 55 user_loop:
-ARM GAS /tmp/ccocne0v.s page 2
-
-
- 56 .LFB66:
- 6:Core/Src/User/user_main.c **** }
- 7:Core/Src/User/user_main.c ****
- 8:Core/Src/User/user_main.c **** void user_loop ()
- 9:Core/Src/User/user_main.c **** {
- 57 .loc 1 9 0
- 58 .cfi_startproc
- 59 @ args = 0, pretend = 0, frame = 0
- 60 @ frame_needed = 0, uses_anonymous_args = 0
- 61 @ link register save eliminated.
- 62 0000 7047 bx lr
- 63 .cfi_endproc
- 64 .LFE66:
- 66 .text
- 67 .Letext0:
- 68 .file 2 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/machine/_defau
- 69 .file 3 "/home/geekzjk/opt/gcc-arm-none-eabi-6-2017-q2-update/arm-none-eabi/include/sys/_stdint.h"
- 70 .file 4 "Drivers/CMSIS/Include/core_cm3.h"
- 71 .file 5 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h"
- 72 .file 6 "Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xe.h"
- 73 .file 7 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_def.h"
- 74 .file 8 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h"
- 75 .file 9 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h"
- 76 .file 10 "Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h"
- 77 .file 11 "Core/Inc/tim.h"
-ARM GAS /tmp/ccocne0v.s page 3
-
-
-DEFINED SYMBOLS
- *ABS*:0000000000000000 user_main.c
- /tmp/ccocne0v.s:16 .text.user_setup:0000000000000000 $t
- /tmp/ccocne0v.s:23 .text.user_setup:0000000000000000 user_setup
- /tmp/ccocne0v.s:43 .text.user_setup:000000000000000c $d
- /tmp/ccocne0v.s:48 .text.user_loop:0000000000000000 $t
- /tmp/ccocne0v.s:55 .text.user_loop:0000000000000000 user_loop
- .debug_frame:0000000000000010 $d
-
-UNDEFINED SYMBOLS
-HAL_TIM_Base_Start_IT
-htim4
diff --git a/build/user_main.o b/build/user_main.o
deleted file mode 100644
index ee27637..0000000
Binary files a/build/user_main.o and /dev/null differ